Skip to content

pantoken / renderers/pendo/src / BuildPendoCssOptions

Interface: BuildPendoCssOptions

Beta

Indstillinger for buildPendoCss.

Egenskaber

theme?

optional theme?: Theme

Beta

Tema at hente --instui-* laget fra (standard "rebrand").


scopeSelector?

optional scopeSelector?: string

Beta

Den @scope rod-selektor (standard [class*="instui"]._pendo-step-container).


scope?

optional scope?: boolean

Beta

Omslut komponentregler i @scope til DOM-indeslutning (standard true).


important?

optional important?: boolean

Beta

Tilføj !important til komponentdeklarationer, så de slår Pendos stilarter (standard true).


prune?

optional prune?: boolean

Beta

Tree-shake ubrugte --instui-* tokens (standard true; slukket leverer det fulde token-sæt).


flatten?

optional flatten?: boolean | FlattenPropertyOptions

Beta

Konverter @property at-regler til almindelige custom-property-deklarationer via flattenProperty (standard false). true bruger plugin-standarder med injectSelector: ":scope" så deklarationerne lander inde i @scope blokken. Giv et FlattenPropertyOptions objekt for at tilsidesætte individuelle standarder.


mangle?

optional mangle?: boolean | MangleCustomPropsOptions

Beta

Blanding af --instui-* navne til minimale base-26-identifikatorer via mangleCustomProps (standard false). Sikker her, fordi det fulde token + komponentstylesheet er en selvstyret bundle. Giv et MangleCustomPropsOptions objekt for at tilsidesætte standarder.