Skip to content

pantoken-root / renderers/pendo/src / BuildPendoCssOptions

Interface: BuildPendoCssOptions ​

Bèta

Opties voor buildPendoCss.

Eigenschappen ​

theme? ​

optional theme?: Theme

Bèta

Thema om de --instui-*-laag uit te halen (standaard "rebrand").


scopeSelector? ​

optional scopeSelector?: string

Bèta

De @scope root-selector (standaard [class*="instui"]._pendo-step-container).


scope? ​

optional scope?: boolean

Bèta

Wikkel componentregels in @scope voor DOM-isolatie (standaard true).


important? ​

optional important?: boolean

Bèta

Voeg !important toe aan componentdeclaraties zodat ze Pendo's stijlen overrulen (standaard true).


prune? ​

optional prune?: boolean

Bèta

Tree-shake ongebruikte --instui-*-tokens (standaard true; uit levert de volledige tokenset).


flatten? ​

optional flatten?: boolean | FlattenPropertyOptions

Bèta

Converteer @property at-rules naar gewone custom-property declaraties via flattenProperty (standaard false). true gebruikt plugin-standaarden met injectSelector: ":scope" zodat de declaraties in het @scope-blok terechtkomen. Geef een FlattenPropertyOptions object mee om individuele standaardwaarden te overschrijven.


mangle? ​

optional mangle?: boolean | MangleCustomPropsOptions

Bèta

Verklein --instui-*-namen naar minimale base-26-identificatoren via mangleCustomProps (standaard false). Dit is veilig omdat de volledige token- + component-stylesheet een zelfstandig pakket is. Geef een MangleCustomPropsOptions object mee om de standaardwaarden te overschrijven.