Finds the part class a selector starts with.
Normalized selector.
The leading class, such as .AccordionTrigger, or undefined when the selector does not start with one.
.AccordionTrigger
undefined
Finds the part class a selector starts with.