@yahoo/uds 3.116.0-beta.2 → 3.116.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/automated-config/dist/generated/autoVariants.cjs +0 -10
- package/dist/automated-config/dist/generated/autoVariants.d.cts +0 -10
- package/dist/automated-config/dist/generated/autoVariants.d.ts +0 -10
- package/dist/automated-config/dist/generated/autoVariants.js +0 -10
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +0 -1842
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +1 -194
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +1 -194
- package/dist/automated-config/dist/generated/generatedConfigs.js +1 -1842
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +0 -78
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +1 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +1 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +0 -78
- package/dist/cli/commands/sync.cjs +0 -6
- package/dist/cli/commands/sync.js +0 -6
- package/dist/components/client/Toast/Toast.cjs +3 -3
- package/dist/components/client/Toast/Toast.d.cts +1 -1
- package/dist/components/client/Toast/Toast.d.ts +1 -1
- package/dist/components/client/Toast/Toast.js +3 -3
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- package/dist/components/client/Toast/index.d.cts +1 -1
- package/dist/components/client/Toast/index.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.cjs +6 -6
- package/dist/components/client/Tooltip/Tooltip.d.cts +1 -1
- package/dist/components/client/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.js +6 -6
- package/dist/components/client/Tooltip/TooltipContent.cjs +119 -55
- package/dist/components/client/Tooltip/TooltipContent.js +120 -56
- package/dist/components/client/Tooltip/tooltipContext.cjs +1 -0
- package/dist/components/client/Tooltip/tooltipContext.d.cts +2 -1
- package/dist/components/client/Tooltip/tooltipContext.d.ts +2 -1
- package/dist/components/client/Tooltip/tooltipContext.js +1 -0
- package/dist/{hooks/useSvgFloatingContent.cjs → components/client/Tooltip/useTooltipContent.cjs} +48 -81
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +66 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +66 -0
- package/dist/{hooks/useSvgFloatingContent.js → components/client/Tooltip/useTooltipContent.js} +43 -76
- package/dist/components/client/Tooltip/util.cjs +248 -0
- package/dist/{utils/svgFloatingContentUtils.d.cts → components/client/Tooltip/util.d.cts} +62 -25
- package/dist/{utils/svgFloatingContentUtils.d.ts → components/client/Tooltip/util.d.ts} +62 -25
- package/dist/components/client/Tooltip/util.js +240 -0
- package/dist/components/client/index.cjs +0 -8
- package/dist/components/client/index.d.cts +5 -10
- package/dist/components/client/index.d.ts +5 -10
- package/dist/components/client/index.js +1 -5
- package/dist/components/client/providers/UDSConfigProvider.cjs +2 -6
- package/dist/components/client/providers/UDSConfigProvider.d.cts +1 -2
- package/dist/components/client/providers/UDSConfigProvider.d.ts +1 -2
- package/dist/components/client/providers/UDSConfigProvider.js +2 -6
- package/dist/components/experimental/client/{ExperimentalPopover.cjs → Popover.cjs} +1 -10
- package/dist/components/experimental/client/Popover.d.cts +29 -0
- package/dist/components/experimental/client/Popover.d.ts +29 -0
- package/dist/components/experimental/client/{ExperimentalPopover.js → Popover.js} +1 -10
- package/dist/components/experimental/client/index.cjs +10 -10
- package/dist/components/experimental/client/index.d.cts +2 -2
- package/dist/components/experimental/client/index.d.ts +2 -2
- package/dist/components/experimental/client/index.js +1 -1
- package/dist/components/experimental/index.cjs +19 -19
- package/dist/components/experimental/index.d.cts +2 -2
- package/dist/components/experimental/index.d.ts +2 -2
- package/dist/components/experimental/index.js +1 -1
- package/dist/components/index.cjs +0 -12
- package/dist/components/index.d.cts +5 -9
- package/dist/components/index.d.ts +5 -9
- package/dist/components/index.js +1 -9
- package/dist/config/dist/index.cjs +1 -79
- package/dist/config/dist/index.js +1 -79
- package/dist/index.cjs +10 -21
- package/dist/index.d.cts +10 -15
- package/dist/index.d.ts +10 -15
- package/dist/index.js +11 -16
- package/dist/runtime/index.cjs +0 -2
- package/dist/runtime/index.d.cts +2 -3
- package/dist/runtime/index.d.ts +2 -3
- package/dist/runtime/index.js +1 -2
- package/dist/runtime/udsConfig.cjs +1 -3
- package/dist/runtime/udsConfig.d.cts +1 -3
- package/dist/runtime/udsConfig.d.ts +1 -3
- package/dist/runtime/udsConfig.js +1 -3
- package/dist/styles/styler.d.cts +96 -106
- package/dist/styles/styler.d.ts +96 -106
- package/dist/styles/variants.d.cts +0 -30
- package/dist/styles/variants.d.ts +0 -30
- package/dist/tailwind/dist/commands/css.helpers.cjs +6 -2
- package/dist/tailwind/dist/commands/css.helpers.js +6 -2
- package/dist/tailwind/dist/commands/generateComponentData.cjs +2 -0
- package/dist/tailwind/dist/commands/generateComponentData.js +3 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.cjs +3 -8
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js +3 -8
- package/dist/tailwind/dist/commands/purge.cjs +2 -2
- package/dist/tailwind/dist/commands/purge.js +2 -2
- package/dist/tailwind/dist/css/generate.cjs +6 -4
- package/dist/tailwind/dist/css/generate.helpers.cjs +4 -1
- package/dist/tailwind/dist/css/generate.helpers.js +4 -1
- package/dist/tailwind/dist/css/generate.js +7 -5
- package/dist/tailwind/dist/css/nodeUtils.cjs +30 -2
- package/dist/tailwind/dist/css/nodeUtils.js +30 -3
- package/dist/tailwind/dist/css/runner.cjs +52 -19
- package/dist/tailwind/dist/css/runner.helpers.cjs +2 -2
- package/dist/tailwind/dist/css/runner.helpers.js +2 -2
- package/dist/tailwind/dist/css/runner.js +53 -20
- package/dist/tailwind/dist/css/theme.d.cts +2 -2
- package/dist/tailwind/dist/css/theme.d.ts +2 -2
- package/dist/tailwind/dist/purger/legacy/purgeCSS.cjs +19 -8
- package/dist/tailwind/dist/purger/legacy/purgeCSS.js +19 -8
- package/dist/tailwind/dist/purger/optimized/purge.cjs +2 -1
- package/dist/tailwind/dist/purger/optimized/purge.js +2 -1
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.cjs +22 -2
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.js +22 -2
- package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.cjs +5 -4
- package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.js +5 -4
- package/dist/tailwind/dist/purger/optimized/utils/files.cjs +12 -10
- package/dist/tailwind/dist/purger/optimized/utils/files.js +12 -9
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +0 -1
- package/dist/tailwind/dist/tailwind/plugins/components.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.cjs +294 -10
- package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.js +294 -9
- package/dist/tailwind/dist/utils/entryPoints.cjs +63 -0
- package/dist/tailwind/dist/utils/entryPoints.js +55 -0
- package/dist/tokens/automation/configs/index.cjs +0 -1
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +0 -1
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/index.cjs +1 -2
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +3 -3
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +1 -51
- package/dist/types/dist/index.d.ts +1 -51
- package/dist/uds/generated/componentData.cjs +887 -1029
- package/dist/uds/generated/componentData.js +840 -952
- package/dist/uds/generated/tailwindPurge.cjs +221 -247
- package/dist/uds/generated/tailwindPurge.js +221 -247
- package/dist/uds/package.cjs +1 -1
- package/dist/uds/package.js +1 -1
- package/generated/componentData.json +1195 -1337
- package/generated/tailwindPurge.ts +5 -4604
- package/package.json +2 -2
- package/dist/components/SvgFloatingOverlay.cjs +0 -122
- package/dist/components/SvgFloatingOverlay.d.cts +0 -42
- package/dist/components/SvgFloatingOverlay.d.ts +0 -42
- package/dist/components/SvgFloatingOverlay.js +0 -120
- package/dist/components/client/Popover/Popover.cjs +0 -96
- package/dist/components/client/Popover/Popover.d.cts +0 -55
- package/dist/components/client/Popover/Popover.d.ts +0 -55
- package/dist/components/client/Popover/Popover.js +0 -94
- package/dist/components/client/Popover/PopoverContent.cjs +0 -171
- package/dist/components/client/Popover/PopoverContent.d.cts +0 -26
- package/dist/components/client/Popover/PopoverContent.d.ts +0 -26
- package/dist/components/client/Popover/PopoverContent.js +0 -169
- package/dist/components/client/Popover/PopoverContext.cjs +0 -11
- package/dist/components/client/Popover/PopoverContext.d.cts +0 -21
- package/dist/components/client/Popover/PopoverContext.d.ts +0 -21
- package/dist/components/client/Popover/PopoverContext.js +0 -9
- package/dist/components/client/Popover/PopoverTrigger.cjs +0 -26
- package/dist/components/client/Popover/PopoverTrigger.d.cts +0 -14
- package/dist/components/client/Popover/PopoverTrigger.d.ts +0 -14
- package/dist/components/client/Popover/PopoverTrigger.js +0 -24
- package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +0 -40
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +0 -28
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +0 -28
- package/dist/components/client/Popover/UDSPopoverConfigProvider.js +0 -37
- package/dist/components/client/Popover/index.cjs +0 -12
- package/dist/components/client/Popover/index.d.cts +0 -7
- package/dist/components/client/Popover/index.d.ts +0 -7
- package/dist/components/client/Popover/index.js +0 -8
- package/dist/components/experimental/client/ExperimentalPopover.d.cts +0 -40
- package/dist/components/experimental/client/ExperimentalPopover.d.ts +0 -40
- package/dist/hooks/useSvgFloatingContent.d.cts +0 -74
- package/dist/hooks/useSvgFloatingContent.d.ts +0 -74
- package/dist/runtime/popoverConfig.cjs +0 -41
- package/dist/runtime/popoverConfig.d.cts +0 -24
- package/dist/runtime/popoverConfig.d.ts +0 -24
- package/dist/runtime/popoverConfig.js +0 -40
- package/dist/tailwind/dist/.prettierrc.cjs +0 -13
- package/dist/tailwind/dist/.prettierrc.js +0 -12
- package/dist/utils/parseShadow.cjs +0 -120
- package/dist/utils/parseShadow.d.cts +0 -33
- package/dist/utils/parseShadow.d.ts +0 -33
- package/dist/utils/parseShadow.js +0 -118
- package/dist/utils/svgFloatingContentUtils.cjs +0 -121
- package/dist/utils/svgFloatingContentUtils.js +0 -117
package/dist/styles/styler.d.ts
CHANGED
|
@@ -10,52 +10,52 @@ declare function normalizeObject(props: Record<string, unknown>): Record<string,
|
|
|
10
10
|
declare const cx: CX<string>;
|
|
11
11
|
declare const cva: CVA<string>;
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
|
-
avatarIconVariantRoot?: "
|
|
14
|
-
avatarImageVariantRoot?: "
|
|
15
|
-
avatarSizeIcon?: "
|
|
16
|
-
avatarSizeRoot?: "
|
|
17
|
-
avatarTextVariantRoot?: "
|
|
18
|
-
badgeSizeIcon?: "
|
|
19
|
-
badgeSizeRoot?: "
|
|
20
|
-
badgeVariantIcon?: "
|
|
21
|
-
badgeVariantRoot?: "
|
|
13
|
+
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
|
+
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
17
|
+
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
|
+
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
|
+
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
20
|
+
badgeVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | undefined;
|
|
21
|
+
badgeVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | undefined;
|
|
22
22
|
bottomsheetVariantHeader?: "default" | undefined;
|
|
23
23
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
24
|
-
buttonSizeIcon?: "
|
|
25
|
-
buttonSizeRoot?: "
|
|
26
|
-
buttonVariantIcon?: "
|
|
27
|
-
buttonVariantRoot?: "
|
|
28
|
-
checkboxSizeCheckbox?: "
|
|
29
|
-
checkboxSizeRoot?: "
|
|
30
|
-
checkboxVariantCheckbox?: "
|
|
31
|
-
checkboxVariantCheckboxIcon?: "
|
|
32
|
-
checkboxVariantRoot?: "
|
|
24
|
+
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
25
|
+
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
26
|
+
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;
|
|
27
|
+
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;
|
|
28
|
+
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
29
|
+
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
30
|
+
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
31
|
+
checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
32
|
+
checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
33
33
|
checkboxVariantValueCheckbox?: "checked" | "indeterminate" | "unchecked" | undefined;
|
|
34
34
|
checkboxVariantValueCheckboxIcon?: "checked" | "indeterminate" | "unchecked" | undefined;
|
|
35
35
|
checkboxVariantValueRoot?: "checked" | "indeterminate" | "unchecked" | undefined;
|
|
36
|
-
chipDismissibleVariantIcon?: "
|
|
37
|
-
chipDismissibleVariantRoot?: "
|
|
38
|
-
chipLinkVariantIcon?: "
|
|
39
|
-
chipLinkVariantRoot?: "
|
|
40
|
-
chipSizeIcon?: "
|
|
41
|
-
chipSizeRoot?: "
|
|
36
|
+
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "default" | undefined;
|
|
37
|
+
chipDismissibleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "default" | undefined;
|
|
38
|
+
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "default" | undefined;
|
|
39
|
+
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "default" | undefined;
|
|
40
|
+
chipSizeIcon?: "sm" | "md" | "default" | undefined;
|
|
41
|
+
chipSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
42
42
|
chipToggleVariantActiveIcon?: "off" | "on" | undefined;
|
|
43
43
|
chipToggleVariantActiveRoot?: "off" | "on" | undefined;
|
|
44
|
-
chipToggleVariantIcon?: "
|
|
45
|
-
chipToggleVariantRoot?: "
|
|
46
|
-
dividerVariantLabel?: "
|
|
47
|
-
dividerVariantLine?: "
|
|
48
|
-
dividerVariantRoot?: "
|
|
49
|
-
iconbuttonSizeIcon?: "
|
|
50
|
-
iconbuttonSizeRoot?: "
|
|
51
|
-
inputSizeEndIcon?: "
|
|
52
|
-
inputSizeHelperIcon?: "
|
|
53
|
-
inputSizeHelperText?: "
|
|
54
|
-
inputSizeInput?: "
|
|
55
|
-
inputSizeInputWrapper?: "
|
|
56
|
-
inputSizeLabel?: "
|
|
57
|
-
inputSizeRoot?: "
|
|
58
|
-
inputSizeStartIcon?: "
|
|
44
|
+
chipToggleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "default" | undefined;
|
|
45
|
+
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "default" | undefined;
|
|
46
|
+
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
47
|
+
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
48
|
+
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
49
|
+
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
50
|
+
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
51
|
+
inputSizeEndIcon?: "md" | "lg" | "default" | undefined;
|
|
52
|
+
inputSizeHelperIcon?: "md" | "lg" | "default" | undefined;
|
|
53
|
+
inputSizeHelperText?: "md" | "lg" | "default" | undefined;
|
|
54
|
+
inputSizeInput?: "md" | "lg" | "default" | undefined;
|
|
55
|
+
inputSizeInputWrapper?: "md" | "lg" | "default" | undefined;
|
|
56
|
+
inputSizeLabel?: "md" | "lg" | "default" | undefined;
|
|
57
|
+
inputSizeRoot?: "md" | "lg" | "default" | undefined;
|
|
58
|
+
inputSizeStartIcon?: "md" | "lg" | "default" | undefined;
|
|
59
59
|
inputVariantEndIcon?: "default" | undefined;
|
|
60
60
|
inputVariantHelperIcon?: "default" | undefined;
|
|
61
61
|
inputVariantHelperText?: "default" | undefined;
|
|
@@ -76,11 +76,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
76
76
|
inputVariantValueLabelRequired?: "empty" | "filled" | undefined;
|
|
77
77
|
inputVariantValueRoot?: "empty" | "filled" | undefined;
|
|
78
78
|
inputVariantValueStartIcon?: "empty" | "filled" | undefined;
|
|
79
|
-
linkTextStyleIcon?: "
|
|
80
|
-
linkTextStyleRoot?: "
|
|
81
|
-
linkVariantIconEnd?: "
|
|
82
|
-
linkVariantIconStart?: "
|
|
83
|
-
linkVariantRoot?: "
|
|
79
|
+
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "default" | undefined;
|
|
80
|
+
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "default" | undefined;
|
|
81
|
+
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | "default" | undefined;
|
|
82
|
+
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | "default" | undefined;
|
|
83
|
+
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | "default" | undefined;
|
|
84
84
|
menucontentSizeRoot?: "default" | undefined;
|
|
85
85
|
menucontentVariantRoot?: "default" | undefined;
|
|
86
86
|
menuitemDividerVariantLine?: "default" | undefined;
|
|
@@ -103,29 +103,19 @@ declare const getStylesInternal: (props?: ({
|
|
|
103
103
|
menuitemSizeEndIcon?: "default" | undefined;
|
|
104
104
|
menuitemSizeRoot?: "default" | undefined;
|
|
105
105
|
menuitemSizeStartIcon?: "default" | undefined;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
popoverVariantBlur?: "default" | undefined;
|
|
112
|
-
popoverVariantCloseIcon?: "default" | undefined;
|
|
113
|
-
popoverVariantRoot?: "default" | undefined;
|
|
114
|
-
popoverVariantSvgBase?: "default" | undefined;
|
|
115
|
-
popoverVariantSvgBorder?: "default" | undefined;
|
|
116
|
-
radioSizeRadio?: "default" | "sm" | "md" | undefined;
|
|
117
|
-
radioSizeRoot?: "default" | "sm" | "md" | undefined;
|
|
118
|
-
radioVariantRadio?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
119
|
-
radioVariantRadioCircle?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
120
|
-
radioVariantRoot?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
106
|
+
radioSizeRadio?: "sm" | "md" | "default" | undefined;
|
|
107
|
+
radioSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
108
|
+
radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
109
|
+
radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
110
|
+
radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
121
111
|
radioVariantValueRadio?: "checked" | "unchecked" | undefined;
|
|
122
112
|
radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
|
|
123
113
|
radioVariantValueRoot?: "checked" | "unchecked" | undefined;
|
|
124
114
|
scrimVariantRoot?: "default" | undefined;
|
|
125
|
-
switchSizeHandle?: "
|
|
126
|
-
switchSizeHandleIcon?: "
|
|
127
|
-
switchSizeRoot?: "
|
|
128
|
-
switchSizeSwitch?: "
|
|
115
|
+
switchSizeHandle?: "sm" | "md" | "default" | undefined;
|
|
116
|
+
switchSizeHandleIcon?: "sm" | "md" | "default" | undefined;
|
|
117
|
+
switchSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
118
|
+
switchSizeSwitch?: "sm" | "md" | "default" | undefined;
|
|
129
119
|
switchVariantActiveHandle?: "off" | "on" | undefined;
|
|
130
120
|
switchVariantActiveHandleIcon?: "off" | "on" | undefined;
|
|
131
121
|
switchVariantActiveRoot?: "off" | "on" | undefined;
|
|
@@ -139,10 +129,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
139
129
|
toastSizeIcon?: "default" | undefined;
|
|
140
130
|
toastSizeLabel?: "default" | undefined;
|
|
141
131
|
toastSizeRoot?: "default" | undefined;
|
|
142
|
-
toastVariantActionButton?: "
|
|
143
|
-
toastVariantCloseIcon?: "
|
|
144
|
-
toastVariantIcon?: "
|
|
145
|
-
toastVariantRoot?: "
|
|
132
|
+
toastVariantActionButton?: "warning" | "info" | "default" | "error" | "loading" | "success" | undefined;
|
|
133
|
+
toastVariantCloseIcon?: "warning" | "info" | "default" | "error" | "loading" | "success" | undefined;
|
|
134
|
+
toastVariantIcon?: "warning" | "info" | "default" | "error" | "loading" | "success" | undefined;
|
|
135
|
+
toastVariantRoot?: "warning" | "info" | "default" | "error" | "loading" | "success" | undefined;
|
|
146
136
|
tooltipSizeBody?: "default" | undefined;
|
|
147
137
|
tooltipSizeEndContent?: "default" | undefined;
|
|
148
138
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -153,76 +143,76 @@ declare const getStylesInternal: (props?: ({
|
|
|
153
143
|
tooltipVariantIcon?: "default" | undefined;
|
|
154
144
|
tooltipVariantRoot?: "default" | undefined;
|
|
155
145
|
tooltipVariantSvg?: "default" | undefined;
|
|
156
|
-
color?: "
|
|
157
|
-
placeholderColor?: "
|
|
146
|
+
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;
|
|
147
|
+
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;
|
|
158
148
|
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;
|
|
159
149
|
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;
|
|
160
|
-
fontWeight?: "black" | "
|
|
150
|
+
fontWeight?: "black" | "thin" | "medium" | "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" | "light" | "extralight" | "regular" | "semibold" | "bold" | "extrabold" | undefined;
|
|
161
151
|
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;
|
|
162
152
|
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;
|
|
163
153
|
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
164
154
|
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;
|
|
165
|
-
spacing?: "0" | "
|
|
166
|
-
spacingHorizontal?: "0" | "
|
|
167
|
-
spacingVertical?: "0" | "
|
|
168
|
-
spacingBottom?: "0" | "
|
|
169
|
-
spacingEnd?: "0" | "
|
|
170
|
-
spacingStart?: "0" | "
|
|
171
|
-
spacingTop?: "0" | "
|
|
172
|
-
offset?: "0" | "
|
|
173
|
-
offsetVertical?: "0" | "
|
|
174
|
-
offsetHorizontal?: "0" | "
|
|
175
|
-
offsetBottom?: "0" | "
|
|
176
|
-
offsetEnd?: "0" | "
|
|
177
|
-
offsetStart?: "0" | "
|
|
178
|
-
offsetTop?: "0" | "
|
|
179
|
-
columnGap?: "0" | "
|
|
180
|
-
rowGap?: "0" | "
|
|
181
|
-
backgroundColor?: "
|
|
182
|
-
borderColor?: "
|
|
183
|
-
borderStartColor?: "
|
|
184
|
-
borderEndColor?: "
|
|
185
|
-
borderBottomColor?: "
|
|
186
|
-
borderTopColor?: "
|
|
155
|
+
spacing?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
156
|
+
spacingHorizontal?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
157
|
+
spacingVertical?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
158
|
+
spacingBottom?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
159
|
+
spacingEnd?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
160
|
+
spacingStart?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
161
|
+
spacingTop?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
162
|
+
offset?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
163
|
+
offsetVertical?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
164
|
+
offsetHorizontal?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
165
|
+
offsetBottom?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
166
|
+
offsetEnd?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
167
|
+
offsetStart?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
168
|
+
offsetTop?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
169
|
+
columnGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
170
|
+
rowGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
171
|
+
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;
|
|
172
|
+
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;
|
|
173
|
+
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;
|
|
174
|
+
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;
|
|
175
|
+
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;
|
|
176
|
+
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;
|
|
187
177
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
188
178
|
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
189
179
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
190
180
|
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
191
181
|
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
192
|
-
borderWidth?: "
|
|
193
|
-
borderVerticalWidth?: "
|
|
194
|
-
borderHorizontalWidth?: "
|
|
195
|
-
borderStartWidth?: "
|
|
196
|
-
borderEndWidth?: "
|
|
197
|
-
borderTopWidth?: "
|
|
198
|
-
borderBottomWidth?: "
|
|
182
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
183
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
184
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
185
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
186
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
187
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
188
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
199
189
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
200
190
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
201
191
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
202
192
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
203
|
-
alignSelf?: "
|
|
204
|
-
flex?: "
|
|
193
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
194
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
205
195
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
206
196
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
207
197
|
flexShrink?: "0" | "1" | undefined;
|
|
208
198
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
209
199
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
210
200
|
flexBasis?: "min-content" | undefined;
|
|
211
|
-
display?: "flex" | "
|
|
201
|
+
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;
|
|
212
202
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
213
203
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
214
204
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
215
|
-
position?: "
|
|
205
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
216
206
|
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
217
207
|
colorMode?: "light" | "dark" | undefined;
|
|
218
208
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
219
209
|
width?: "full" | "fit" | "screen" | undefined;
|
|
220
210
|
height?: "full" | "fit" | "screen" | undefined;
|
|
221
|
-
dropShadow?: "
|
|
211
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
222
212
|
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
223
213
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
224
|
-
nestedBorderRadiusWidth?: "
|
|
225
|
-
nestedBorderRadiusSpacing?: "0" | "
|
|
214
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
215
|
+
nestedBorderRadiusSpacing?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "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;
|
|
226
216
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
227
217
|
} & {
|
|
228
218
|
className?: string | undefined;
|
|
@@ -541,36 +541,6 @@ declare const variants: {
|
|
|
541
541
|
menuitemSizeStartIcon: {
|
|
542
542
|
readonly default: "uds-menuitem-size-default-starticon";
|
|
543
543
|
};
|
|
544
|
-
popoverSizeCloseIcon: {
|
|
545
|
-
readonly default: "uds-popover-size-default-closeicon";
|
|
546
|
-
};
|
|
547
|
-
popoverSizeContentWrapper: {
|
|
548
|
-
readonly default: "uds-popover-size-default-contentwrapper";
|
|
549
|
-
};
|
|
550
|
-
popoverSizeRoot: {
|
|
551
|
-
readonly default: "uds-popover-size-default-root";
|
|
552
|
-
};
|
|
553
|
-
popoverSizeSvgBase: {
|
|
554
|
-
readonly default: "uds-popover-size-default-svgbase";
|
|
555
|
-
};
|
|
556
|
-
popoverSizeSvgBorder: {
|
|
557
|
-
readonly default: "uds-popover-size-default-svgborder";
|
|
558
|
-
};
|
|
559
|
-
popoverVariantBlur: {
|
|
560
|
-
readonly default: "uds-popover-variant-default-blur";
|
|
561
|
-
};
|
|
562
|
-
popoverVariantCloseIcon: {
|
|
563
|
-
readonly default: "uds-popover-variant-default-closeicon";
|
|
564
|
-
};
|
|
565
|
-
popoverVariantRoot: {
|
|
566
|
-
readonly default: "uds-popover-variant-default-root";
|
|
567
|
-
};
|
|
568
|
-
popoverVariantSvgBase: {
|
|
569
|
-
readonly default: "uds-popover-variant-default-svgbase";
|
|
570
|
-
};
|
|
571
|
-
popoverVariantSvgBorder: {
|
|
572
|
-
readonly default: "uds-popover-variant-default-svgborder";
|
|
573
|
-
};
|
|
574
544
|
radioSizeRadio: {
|
|
575
545
|
readonly default: "uds-radio-size-default-radio";
|
|
576
546
|
readonly md: "uds-radio-size-md-radio";
|
|
@@ -541,36 +541,6 @@ declare const variants: {
|
|
|
541
541
|
menuitemSizeStartIcon: {
|
|
542
542
|
readonly default: "uds-menuitem-size-default-starticon";
|
|
543
543
|
};
|
|
544
|
-
popoverSizeCloseIcon: {
|
|
545
|
-
readonly default: "uds-popover-size-default-closeicon";
|
|
546
|
-
};
|
|
547
|
-
popoverSizeContentWrapper: {
|
|
548
|
-
readonly default: "uds-popover-size-default-contentwrapper";
|
|
549
|
-
};
|
|
550
|
-
popoverSizeRoot: {
|
|
551
|
-
readonly default: "uds-popover-size-default-root";
|
|
552
|
-
};
|
|
553
|
-
popoverSizeSvgBase: {
|
|
554
|
-
readonly default: "uds-popover-size-default-svgbase";
|
|
555
|
-
};
|
|
556
|
-
popoverSizeSvgBorder: {
|
|
557
|
-
readonly default: "uds-popover-size-default-svgborder";
|
|
558
|
-
};
|
|
559
|
-
popoverVariantBlur: {
|
|
560
|
-
readonly default: "uds-popover-variant-default-blur";
|
|
561
|
-
};
|
|
562
|
-
popoverVariantCloseIcon: {
|
|
563
|
-
readonly default: "uds-popover-variant-default-closeicon";
|
|
564
|
-
};
|
|
565
|
-
popoverVariantRoot: {
|
|
566
|
-
readonly default: "uds-popover-variant-default-root";
|
|
567
|
-
};
|
|
568
|
-
popoverVariantSvgBase: {
|
|
569
|
-
readonly default: "uds-popover-variant-default-svgbase";
|
|
570
|
-
};
|
|
571
|
-
popoverVariantSvgBorder: {
|
|
572
|
-
readonly default: "uds-popover-variant-default-svgborder";
|
|
573
|
-
};
|
|
574
544
|
radioSizeRadio: {
|
|
575
545
|
readonly default: "uds-radio-size-default-radio";
|
|
576
546
|
readonly md: "uds-radio-size-md-radio";
|
|
@@ -4,12 +4,16 @@
|
|
|
4
4
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
5
5
|
const isTruthyFlag = (value) => value === true || value === "true";
|
|
6
6
|
const stringOption = (value) => typeof value === "string" ? value : void 0;
|
|
7
|
+
const entryOption = (value) => {
|
|
8
|
+
if (typeof value === "string") return value;
|
|
9
|
+
if (Array.isArray(value) && value.every((item) => typeof item === "string")) return value;
|
|
10
|
+
};
|
|
7
11
|
const shouldShowHelp = (options) => isTruthyFlag(options.help) || isTruthyFlag(options.h);
|
|
8
12
|
const isInitCommand = (firstArg) => firstArg === "init";
|
|
9
13
|
const getCssInitOptions = (options) => ({
|
|
10
14
|
force: isTruthyFlag(options.force),
|
|
11
15
|
configPath: stringOption(options.config),
|
|
12
|
-
entry:
|
|
16
|
+
entry: entryOption(options.entry),
|
|
13
17
|
outputPath: stringOption(options.outFile)
|
|
14
18
|
});
|
|
15
19
|
const getCssRunOptions = (workspaceDir, options) => {
|
|
@@ -18,7 +22,7 @@ const getCssRunOptions = (workspaceDir, options) => {
|
|
|
18
22
|
outFile: stringOption(options.outFile) ?? "dist/uds.css",
|
|
19
23
|
themeConfigPath: stringOption(options.theme) ?? "uds.theme.ts",
|
|
20
24
|
scope: stringOption(options.scope),
|
|
21
|
-
entryOption:
|
|
25
|
+
entryOption: entryOption(options.entry),
|
|
22
26
|
configOption: stringOption(options.config),
|
|
23
27
|
watch: isTruthyFlag(options.watch) || isTruthyFlag(options.w),
|
|
24
28
|
silent: isTruthyFlag(options.silent) || isTruthyFlag(options.s)
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
4
4
|
const isTruthyFlag = (value) => value === true || value === "true";
|
|
5
5
|
const stringOption = (value) => typeof value === "string" ? value : void 0;
|
|
6
|
+
const entryOption = (value) => {
|
|
7
|
+
if (typeof value === "string") return value;
|
|
8
|
+
if (Array.isArray(value) && value.every((item) => typeof item === "string")) return value;
|
|
9
|
+
};
|
|
6
10
|
const shouldShowHelp = (options) => isTruthyFlag(options.help) || isTruthyFlag(options.h);
|
|
7
11
|
const isInitCommand = (firstArg) => firstArg === "init";
|
|
8
12
|
const getCssInitOptions = (options) => ({
|
|
9
13
|
force: isTruthyFlag(options.force),
|
|
10
14
|
configPath: stringOption(options.config),
|
|
11
|
-
entry:
|
|
15
|
+
entry: entryOption(options.entry),
|
|
12
16
|
outputPath: stringOption(options.outFile)
|
|
13
17
|
});
|
|
14
18
|
const getCssRunOptions = (workspaceDir, options) => {
|
|
@@ -17,7 +21,7 @@ const getCssRunOptions = (workspaceDir, options) => {
|
|
|
17
21
|
outFile: stringOption(options.outFile) ?? "dist/uds.css",
|
|
18
22
|
themeConfigPath: stringOption(options.theme) ?? "uds.theme.ts",
|
|
19
23
|
scope: stringOption(options.scope),
|
|
20
|
-
entryOption:
|
|
24
|
+
entryOption: entryOption(options.entry),
|
|
21
25
|
configOption: stringOption(options.config),
|
|
22
26
|
watch: isTruthyFlag(options.watch) || isTruthyFlag(options.w),
|
|
23
27
|
silent: isTruthyFlag(options.silent) || isTruthyFlag(options.s)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
const require_print = require('../../../cli/dist/lib/print.cjs');
|
|
4
4
|
const require_componentAnalyzer = require('../purger/optimized/utils/componentAnalyzer.cjs');
|
|
5
|
+
let node_path = require("node:path");
|
|
5
6
|
let node_fs = require("node:fs");
|
|
6
7
|
|
|
7
8
|
//#region ../tailwind/dist/commands/generateComponentData.js
|
|
@@ -34,6 +35,7 @@ const makeGenerateComponentDataCommand = (getContext) => ({
|
|
|
34
35
|
}
|
|
35
36
|
}));
|
|
36
37
|
const componentData = Object.fromEntries(componentDataEntries.filter((entry) => Boolean(entry)));
|
|
38
|
+
(0, node_fs.mkdirSync)((0, node_path.dirname)(outputFile), { recursive: true });
|
|
37
39
|
(0, node_fs.writeFileSync)(outputFile, JSON.stringify(componentData, null, 2));
|
|
38
40
|
require_print.print(`Generated component data for ${Object.keys(componentData).length} components`);
|
|
39
41
|
require_print.print(`Output written to: ${outputFile}`);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { print } from "../../../cli/dist/lib/print.js";
|
|
3
3
|
import { analyzeComponent, scanComponentFiles } from "../purger/optimized/utils/componentAnalyzer.js";
|
|
4
|
-
import {
|
|
4
|
+
import { dirname } from "node:path";
|
|
5
|
+
import { mkdirSync, writeFileSync } from "node:fs";
|
|
5
6
|
|
|
6
7
|
//#region ../tailwind/dist/commands/generateComponentData.js
|
|
7
8
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
@@ -33,6 +34,7 @@ const makeGenerateComponentDataCommand = (getContext) => ({
|
|
|
33
34
|
}
|
|
34
35
|
}));
|
|
35
36
|
const componentData = Object.fromEntries(componentDataEntries.filter((entry) => Boolean(entry)));
|
|
37
|
+
mkdirSync(dirname(outputFile), { recursive: true });
|
|
36
38
|
writeFileSync(outputFile, JSON.stringify(componentData, null, 2));
|
|
37
39
|
print(`Generated component data for ${Object.keys(componentData).length} components`);
|
|
38
40
|
print(`Output written to: ${outputFile}`);
|