@yahoo/uds 3.163.2 → 3.165.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/commands/sync.cjs +8 -0
- package/dist/cli/commands/sync.js +8 -0
- package/dist/components/client/Button/Button.cjs +5 -6
- package/dist/components/client/Button/Button.js +5 -6
- package/dist/components/client/Button/ButtonBase.cjs +4 -0
- package/dist/components/client/Button/ButtonBase.d.cts +2 -1
- package/dist/components/client/Button/ButtonBase.d.ts +2 -1
- package/dist/components/client/Button/ButtonBase.js +4 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.cjs +45 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.d.cts +33 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.d.ts +34 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.js +42 -0
- package/dist/components/client/Button/buttonConstants.cjs +1 -1
- package/dist/components/client/Button/buttonConstants.d.cts +3 -3
- package/dist/components/client/Button/buttonConstants.d.ts +3 -3
- package/dist/components/client/Button/buttonConstants.js +1 -1
- package/dist/components/client/Button/index.cjs +3 -0
- package/dist/components/client/Button/index.d.cts +2 -1
- package/dist/components/client/Button/index.d.ts +2 -1
- package/dist/components/client/Button/index.js +2 -1
- package/dist/components/client/IconButton/IconButton.cjs +3 -4
- package/dist/components/client/IconButton/IconButton.js +3 -4
- package/dist/components/client/IconButton/IconButtonBase.cjs +3 -0
- package/dist/components/client/IconButton/IconButtonBase.d.cts +2 -0
- package/dist/components/client/IconButton/IconButtonBase.d.ts +2 -0
- package/dist/components/client/IconButton/IconButtonBase.js +3 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.cjs +46 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.d.cts +34 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.d.ts +35 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.js +43 -0
- package/dist/components/client/IconButton/index.cjs +3 -0
- package/dist/components/client/IconButton/index.d.cts +2 -1
- package/dist/components/client/IconButton/index.d.ts +2 -1
- package/dist/components/client/IconButton/index.js +2 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +1 -1
- package/dist/components/client/index.cjs +6 -0
- package/dist/components/client/index.d.cts +3 -1
- package/dist/components/client/index.d.ts +3 -1
- package/dist/components/client/index.js +3 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +18 -10
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -0
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -0
- package/dist/components/client/providers/UDSConfigProvider.js +18 -10
- package/dist/components/index.cjs +6 -0
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +3 -1
- package/dist/config/dist/index.cjs +51 -141
- package/dist/config/dist/index.js +51 -141
- package/dist/css/dist/css/utils.cjs +12 -0
- package/dist/css/dist/css/utils.js +12 -0
- package/dist/css/dist/packages/config/dist/index.cjs +51 -141
- package/dist/css/dist/packages/config/dist/index.js +51 -141
- package/dist/css/dist/runtimeConfig/hookMetadata.cjs +67 -0
- package/dist/css/dist/runtimeConfig/hookMetadata.js +67 -0
- package/dist/css-animation/Button/Button.cjs +5 -6
- package/dist/css-animation/Button/Button.js +5 -6
- package/dist/css-animation/IconButton/IconButton.cjs +3 -4
- package/dist/css-animation/IconButton/IconButton.js +3 -4
- package/dist/index.cjs +10 -0
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/runtime/buttonConfig.cjs +17 -0
- package/dist/runtime/buttonConfig.d.cts +13 -0
- package/dist/runtime/buttonConfig.d.ts +13 -0
- package/dist/runtime/buttonConfig.js +16 -0
- package/dist/runtime/iconButtonConfig.cjs +18 -0
- package/dist/runtime/iconButtonConfig.d.cts +13 -0
- package/dist/runtime/iconButtonConfig.d.ts +13 -0
- package/dist/runtime/iconButtonConfig.js +17 -0
- package/dist/runtime/index.cjs +4 -0
- package/dist/runtime/index.d.cts +3 -1
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/udsConfig.cjs +4 -0
- package/dist/runtime/udsConfig.d.cts +4 -0
- package/dist/runtime/udsConfig.d.ts +4 -0
- package/dist/runtime/udsConfig.js +4 -0
- package/dist/styles/styler.d.cts +64 -64
- package/dist/styles/styler.d.ts +64 -64
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.cjs +6 -2
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.js +6 -2
- package/dist/tailwind-internal/dist/packages/config/dist/index.cjs +51 -141
- package/dist/tailwind-internal/dist/packages/config/dist/index.js +51 -141
- package/dist/tailwind-internal/dist/packages/types/dist/index.d.cts +1 -0
- package/dist/tailwind-internal/dist/packages/types/dist/index.d.ts +1 -0
- package/dist/types/dist/index.d.cts +1 -0
- package/dist/types/dist/index.d.ts +1 -0
- package/dist/uds/generated/componentData.cjs +156 -128
- package/dist/uds/generated/componentData.js +156 -128
- package/dist/uds/generated/migrationSchemaVersion.cjs +1 -1
- package/dist/uds/generated/migrationSchemaVersion.js +1 -1
- package/dist/uds/generated/tailwindPurge.cjs +9 -1
- package/dist/uds/generated/tailwindPurge.js +9 -1
- package/generated/componentData.json +201 -165
- package/generated/migrationSchemaVersion.ts +1 -1
- package/generated/tailwindPurge.ts +3 -3
- package/package.json +1 -1
package/dist/styles/styler.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
-
avatarSizeIcon?: "
|
|
16
|
-
avatarSizeRoot?: "
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
|
-
badgeSizeIcon?: "
|
|
19
|
-
badgeSizeRoot?: "
|
|
18
|
+
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
|
+
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
20
20
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | undefined;
|
|
21
21
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | undefined;
|
|
22
22
|
bannerSizeClose?: "default" | undefined;
|
|
@@ -31,10 +31,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
31
31
|
bottomsheetVariantHandleIndicator?: "default" | undefined;
|
|
32
32
|
bottomsheetVariantHeader?: "default" | undefined;
|
|
33
33
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
34
|
-
buttonSizeIcon?: "
|
|
35
|
-
buttonSizeRoot?: "
|
|
36
|
-
buttonVariantIcon?: "primary" | "secondary" | "
|
|
37
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
34
|
+
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
35
|
+
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
36
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
37
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
38
38
|
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
39
39
|
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
40
40
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
@@ -56,8 +56,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
56
56
|
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
57
57
|
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
58
58
|
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
59
|
-
iconbuttonSizeIcon?: "
|
|
60
|
-
iconbuttonSizeRoot?: "
|
|
59
|
+
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
60
|
+
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
61
61
|
inputSizeEndIcon?: "md" | "lg" | "default" | undefined;
|
|
62
62
|
inputSizeHelperIcon?: "md" | "lg" | "default" | undefined;
|
|
63
63
|
inputSizeHelperText?: "md" | "lg" | "default" | undefined;
|
|
@@ -129,8 +129,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
129
129
|
modalVariantDescription?: "default" | undefined;
|
|
130
130
|
modalVariantRoot?: "default" | undefined;
|
|
131
131
|
modalVariantTitle?: "default" | undefined;
|
|
132
|
-
paddlenavSizeIcon?: "
|
|
133
|
-
paddlenavSizeRoot?: "
|
|
132
|
+
paddlenavSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
133
|
+
paddlenavSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
134
134
|
paddlenavVariantBackground?: "primary" | "secondary" | "tertiary" | "default" | undefined;
|
|
135
135
|
paddlenavVariantIcon?: "primary" | "secondary" | "tertiary" | "default" | undefined;
|
|
136
136
|
paddlenavVariantRoot?: "primary" | "secondary" | "tertiary" | "default" | undefined;
|
|
@@ -200,10 +200,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
200
200
|
toastSizeIcon?: "default" | undefined;
|
|
201
201
|
toastSizeLabel?: "default" | undefined;
|
|
202
202
|
toastSizeRoot?: "default" | undefined;
|
|
203
|
-
toastVariantActionButton?: "warning" | "info" | "
|
|
204
|
-
toastVariantCloseIcon?: "warning" | "info" | "
|
|
205
|
-
toastVariantIcon?: "warning" | "info" | "
|
|
206
|
-
toastVariantRoot?: "warning" | "info" | "
|
|
203
|
+
toastVariantActionButton?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
204
|
+
toastVariantCloseIcon?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
205
|
+
toastVariantIcon?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
206
|
+
toastVariantRoot?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
207
207
|
tooltipSizeBody?: "default" | undefined;
|
|
208
208
|
tooltipSizeEndContent?: "default" | undefined;
|
|
209
209
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -214,76 +214,76 @@ declare const getStylesInternal: (props?: ({
|
|
|
214
214
|
tooltipVariantIcon?: "default" | undefined;
|
|
215
215
|
tooltipVariantRoot?: "default" | undefined;
|
|
216
216
|
tooltipVariantSvg?: "default" | undefined;
|
|
217
|
-
color?: "primary" | "secondary" | "
|
|
218
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
217
|
+
color?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
218
|
+
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
219
219
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
220
220
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
221
|
-
fontWeight?: "
|
|
221
|
+
fontWeight?: "medium" | "black" | "thin" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "bold" | "extralight" | "light" | "regular" | "semibold" | "extrabold" | undefined;
|
|
222
222
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
223
223
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
224
|
-
textAlign?: "
|
|
225
|
-
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "
|
|
226
|
-
spacing?: "0" | "
|
|
227
|
-
spacingHorizontal?: "0" | "
|
|
228
|
-
spacingVertical?: "0" | "
|
|
229
|
-
spacingBottom?: "0" | "
|
|
230
|
-
spacingEnd?: "0" | "
|
|
231
|
-
spacingStart?: "0" | "
|
|
232
|
-
spacingTop?: "0" | "
|
|
233
|
-
offset?: "0" | "
|
|
234
|
-
offsetVertical?: "0" | "
|
|
235
|
-
offsetHorizontal?: "0" | "
|
|
236
|
-
offsetBottom?: "0" | "
|
|
237
|
-
offsetEnd?: "0" | "
|
|
238
|
-
offsetStart?: "0" | "
|
|
239
|
-
offsetTop?: "0" | "
|
|
240
|
-
columnGap?: "0" | "
|
|
241
|
-
rowGap?: "0" | "
|
|
224
|
+
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
225
|
+
textTransform?: "none" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
|
226
|
+
spacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
227
|
+
spacingHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
228
|
+
spacingVertical?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
229
|
+
spacingBottom?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
230
|
+
spacingEnd?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
231
|
+
spacingStart?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
232
|
+
spacingTop?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
233
|
+
offset?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
234
|
+
offsetVertical?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
235
|
+
offsetHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
236
|
+
offsetBottom?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
237
|
+
offsetEnd?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
238
|
+
offsetStart?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
239
|
+
offsetTop?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
240
|
+
columnGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
241
|
+
rowGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
242
242
|
backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
243
|
-
borderColor?: "primary" | "secondary" | "
|
|
244
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
245
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
246
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
247
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
248
|
-
borderRadius?: "
|
|
249
|
-
borderTopStartRadius?: "
|
|
250
|
-
borderTopEndRadius?: "
|
|
251
|
-
borderBottomStartRadius?: "
|
|
252
|
-
borderBottomEndRadius?: "
|
|
253
|
-
borderWidth?: "medium" | "
|
|
254
|
-
borderVerticalWidth?: "medium" | "
|
|
255
|
-
borderHorizontalWidth?: "medium" | "
|
|
256
|
-
borderStartWidth?: "medium" | "
|
|
257
|
-
borderEndWidth?: "medium" | "
|
|
258
|
-
borderTopWidth?: "medium" | "
|
|
259
|
-
borderBottomWidth?: "medium" | "
|
|
260
|
-
avatarSize?: "
|
|
261
|
-
iconSize?: "
|
|
243
|
+
borderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
244
|
+
borderStartColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
245
|
+
borderEndColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
246
|
+
borderBottomColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
247
|
+
borderTopColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
248
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
249
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
250
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
251
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
252
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
253
|
+
borderWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
254
|
+
borderVerticalWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
255
|
+
borderHorizontalWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
256
|
+
borderStartWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
257
|
+
borderEndWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
258
|
+
borderTopWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
259
|
+
borderBottomWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
260
|
+
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
261
|
+
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
262
262
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
263
263
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
264
264
|
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
265
|
-
flex?: "
|
|
265
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
266
266
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
267
267
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
268
268
|
flexShrink?: "0" | "1" | undefined;
|
|
269
269
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
270
270
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
271
271
|
flexBasis?: "min-content" | undefined;
|
|
272
|
-
display?: "flex" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "
|
|
272
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
273
273
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
274
274
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
275
275
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
276
276
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
277
|
-
contentFit?: "none" | "
|
|
277
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
278
278
|
colorMode?: "light" | "dark" | undefined;
|
|
279
279
|
scaleMode?: "xSmall" | "small" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
280
280
|
width?: "full" | "fit" | "screen" | undefined;
|
|
281
281
|
height?: "full" | "fit" | "screen" | undefined;
|
|
282
|
-
dropShadow?: "
|
|
283
|
-
insetShadow?: "
|
|
284
|
-
nestedBorderRadiusSize?: "
|
|
285
|
-
nestedBorderRadiusWidth?: "medium" | "
|
|
286
|
-
nestedBorderRadiusSpacing?: "0" | "
|
|
282
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
283
|
+
insetShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
284
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
285
|
+
nestedBorderRadiusWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
286
|
+
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
287
287
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
288
288
|
} & {
|
|
289
289
|
className?: string | undefined;
|
|
@@ -52,12 +52,16 @@ const RESPONSIVE_TAILWIND_CONFIG_MAP = {
|
|
|
52
52
|
letterSpacing: tailwindConfigPerVariant(require_index$1.LETTER_SPACING_PREFIX)
|
|
53
53
|
};
|
|
54
54
|
const getBaseTextVars = (config) => {
|
|
55
|
-
|
|
55
|
+
const { breakpoint, applyDefaultBreakpointInCode } = config.globalDefaults;
|
|
56
|
+
return cssVariablesForBreakpoint(config, applyDefaultBreakpointInCode ? breakpoint : "base");
|
|
56
57
|
};
|
|
57
58
|
const getResponsiveTextStyles = (config) => {
|
|
58
59
|
const breakpoints = require_entries.entries(config.breakpoints).sort(([, { value: minWidthA }], [, { value: minWidthB }]) => minWidthA - minWidthB);
|
|
59
60
|
return {
|
|
60
|
-
[`.${require_index$1.TEXT_RESPONSIVE_CLASSNAME}`]:
|
|
61
|
+
[`.${require_index$1.TEXT_RESPONSIVE_CLASSNAME}`]: {
|
|
62
|
+
...config.globalDefaults.applyDefaultBreakpointInCode ? cssVariablesForBreakpoint(config, "base") : {},
|
|
63
|
+
...Object.fromEntries(breakpoints.map(([name, { value: minWidth }]) => [`@media (min-width: ${minWidth}px)`, cssVariablesForBreakpoint(config, name)]))
|
|
64
|
+
},
|
|
61
65
|
[mapClassNames("base")]: cssVariablesForBreakpoint(config, "base"),
|
|
62
66
|
[mapClassNames("defaultBreakpoint")]: cssVariablesForBreakpoint(config, config.globalDefaults.breakpoint),
|
|
63
67
|
...Object.fromEntries(breakpoints.map(([name]) => [mapClassNames(name), cssVariablesForBreakpoint(config, name)]))
|
|
@@ -51,12 +51,16 @@ const RESPONSIVE_TAILWIND_CONFIG_MAP = {
|
|
|
51
51
|
letterSpacing: tailwindConfigPerVariant(LETTER_SPACING_PREFIX)
|
|
52
52
|
};
|
|
53
53
|
const getBaseTextVars = (config) => {
|
|
54
|
-
|
|
54
|
+
const { breakpoint, applyDefaultBreakpointInCode } = config.globalDefaults;
|
|
55
|
+
return cssVariablesForBreakpoint(config, applyDefaultBreakpointInCode ? breakpoint : "base");
|
|
55
56
|
};
|
|
56
57
|
const getResponsiveTextStyles = (config) => {
|
|
57
58
|
const breakpoints = entries$1(config.breakpoints).sort(([, { value: minWidthA }], [, { value: minWidthB }]) => minWidthA - minWidthB);
|
|
58
59
|
return {
|
|
59
|
-
[`.${TEXT_RESPONSIVE_CLASSNAME}`]:
|
|
60
|
+
[`.${TEXT_RESPONSIVE_CLASSNAME}`]: {
|
|
61
|
+
...config.globalDefaults.applyDefaultBreakpointInCode ? cssVariablesForBreakpoint(config, "base") : {},
|
|
62
|
+
...Object.fromEntries(breakpoints.map(([name, { value: minWidth }]) => [`@media (min-width: ${minWidth}px)`, cssVariablesForBreakpoint(config, name)]))
|
|
63
|
+
},
|
|
60
64
|
[mapClassNames("base")]: cssVariablesForBreakpoint(config, "base"),
|
|
61
65
|
[mapClassNames("defaultBreakpoint")]: cssVariablesForBreakpoint(config, config.globalDefaults.breakpoint),
|
|
62
66
|
...Object.fromEntries(breakpoints.map(([name]) => [mapClassNames(name), cssVariablesForBreakpoint(config, name)]))
|