@yahoo/uds 3.98.0 → 3.100.0-beta.1
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 +9 -1
- package/dist/automated-config/dist/generated/autoVariants.d.cts +8 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +8 -0
- package/dist/automated-config/dist/generated/autoVariants.js +9 -1
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1588 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +378 -189
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +378 -189
- package/dist/automated-config/dist/generated/generatedConfigs.js +1587 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +82 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +82 -0
- package/dist/automated-config/dist/properties.cjs +141 -89
- package/dist/automated-config/dist/properties.d.cts +18 -3
- package/dist/automated-config/dist/properties.d.ts +18 -3
- package/dist/automated-config/dist/properties.js +142 -90
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +5 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +2 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +2 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.js +5 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/automated-config/dist/utils/index.d.cts +2 -1
- package/dist/automated-config/dist/utils/index.d.ts +2 -1
- package/dist/cli/commands/sync.cjs +5 -1
- package/dist/cli/commands/sync.js +5 -1
- package/dist/components/client/Button.js +2 -2
- package/dist/components/client/Tooltip/Tooltip.cjs +37 -0
- package/dist/components/client/Tooltip/Tooltip.d.cts +16 -0
- package/dist/components/client/Tooltip/Tooltip.d.ts +16 -0
- package/dist/components/client/Tooltip/Tooltip.js +35 -0
- package/dist/components/client/Tooltip/TooltipContent.cjs +171 -0
- package/dist/components/client/Tooltip/TooltipContent.d.cts +8 -0
- package/dist/components/client/Tooltip/TooltipContent.d.ts +8 -0
- package/dist/components/client/Tooltip/TooltipContent.js +169 -0
- package/dist/components/client/Tooltip/TooltipTrigger.cjs +20 -0
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +13 -0
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +13 -0
- package/dist/components/client/Tooltip/TooltipTrigger.js +18 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +41 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +29 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +29 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +38 -0
- package/dist/components/client/Tooltip/index.cjs +12 -0
- package/dist/components/client/Tooltip/index.d.cts +7 -0
- package/dist/components/client/Tooltip/index.d.ts +7 -0
- package/dist/components/client/Tooltip/index.js +8 -0
- package/dist/components/client/Tooltip/tooltipContext.cjs +12 -0
- package/dist/components/client/Tooltip/tooltipContext.d.cts +12 -0
- package/dist/components/client/Tooltip/tooltipContext.d.ts +12 -0
- package/dist/components/client/Tooltip/tooltipContext.js +10 -0
- package/dist/components/client/Tooltip/useTooltipContent.cjs +186 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +63 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +63 -0
- package/dist/components/client/Tooltip/useTooltipContent.js +184 -0
- package/dist/components/client/Tooltip/util.cjs +248 -0
- package/dist/components/client/Tooltip/util.d.cts +118 -0
- package/dist/components/client/Tooltip/util.d.ts +118 -0
- package/dist/components/client/Tooltip/util.js +240 -0
- package/dist/components/client/index.cjs +8 -0
- package/dist/components/client/index.d.cts +7 -1
- package/dist/components/client/index.d.ts +7 -1
- package/dist/components/client/index.js +5 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.js +6 -2
- package/dist/components/index.cjs +8 -0
- package/dist/components/index.d.cts +6 -1
- package/dist/components/index.d.ts +6 -1
- package/dist/components/index.js +5 -1
- package/dist/config/dist/index.cjs +83 -1
- package/dist/config/dist/index.d.cts +123 -1
- package/dist/config/dist/index.d.ts +123 -1
- package/dist/config/dist/index.js +83 -1
- package/dist/css-tokens/dist/index.cjs +2 -0
- package/dist/css-tokens/dist/index.d.cts +2 -1
- package/dist/css-tokens/dist/index.d.ts +2 -1
- package/dist/css-tokens/dist/index.js +2 -1
- package/dist/fixtures/dist/arbitrary.d.cts +11 -0
- package/dist/fixtures/dist/arbitrary.d.ts +11 -0
- package/dist/fixtures/dist/index.cjs +28 -2
- package/dist/fixtures/dist/index.d.cts +18 -4
- package/dist/fixtures/dist/index.d.ts +18 -4
- package/dist/fixtures/dist/index.js +27 -3
- package/dist/fixtures/index.cjs +6 -1
- package/dist/fixtures/index.d.cts +4 -2
- package/dist/fixtures/index.d.ts +4 -2
- package/dist/fixtures/index.js +3 -2
- package/dist/fixtures/src/arbitrary.cjs +23 -0
- package/dist/fixtures/src/arbitrary.d.cts +15 -0
- package/dist/fixtures/src/arbitrary.d.ts +15 -0
- package/dist/fixtures/src/arbitrary.js +18 -0
- package/dist/fixtures/src/util.cjs +26 -0
- package/dist/fixtures/src/util.d.cts +9 -0
- package/dist/fixtures/src/util.d.ts +9 -0
- package/dist/fixtures/src/util.js +25 -0
- package/dist/fonts/dist/index.cjs +1 -1
- package/dist/fonts/dist/index.d.cts +1 -1
- package/dist/fonts/dist/index.d.ts +1 -1
- package/dist/fonts/dist/index.js +1 -1
- package/dist/index.cjs +12 -0
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +8 -3
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/tooltipConfig.cjs +36 -0
- package/dist/runtime/tooltipConfig.d.cts +20 -0
- package/dist/runtime/tooltipConfig.d.ts +20 -0
- package/dist/runtime/tooltipConfig.js +35 -0
- package/dist/runtime/udsConfig.cjs +3 -1
- package/dist/runtime/udsConfig.d.cts +2 -0
- package/dist/runtime/udsConfig.d.ts +2 -0
- package/dist/runtime/udsConfig.js +3 -1
- package/dist/styles/styler.d.cts +73 -65
- package/dist/styles/styler.d.ts +73 -65
- package/dist/styles/variants.d.cts +24 -0
- package/dist/styles/variants.d.ts +24 -0
- package/dist/tailwind/plugins/blurBgFallback.cjs +30 -0
- package/dist/tailwind/plugins/blurBgFallback.d.cts +14 -0
- package/dist/tailwind/plugins/blurBgFallback.d.ts +14 -0
- package/dist/tailwind/plugins/blurBgFallback.js +27 -0
- package/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/plugins/components.js +2 -1
- package/dist/tailwind/tailwindPlugin.cjs +2 -1
- package/dist/tailwind/tailwindPlugin.js +2 -1
- package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tailwind/utils/getTailwindAsUdsColors.d.cts +1 -1
- package/dist/tailwind/utils/getTailwindAsUdsColors.d.ts +1 -1
- package/dist/tokens/automation/configs/index.cjs +2 -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 +1 -0
- 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/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.cjs +1 -0
- package/dist/tokens/consts/cssTokens.d.cts +2 -2
- package/dist/tokens/consts/cssTokens.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.js +2 -2
- package/dist/tokens/index.cjs +2 -0
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- 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 +25 -2
- package/dist/types/dist/index.d.ts +25 -2
- package/dist/uds/generated/tailwindPurge.cjs +30 -2
- package/dist/uds/generated/tailwindPurge.js +30 -2
- package/package.json +1 -2
package/dist/styles/styler.d.ts
CHANGED
|
@@ -12,17 +12,17 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
|
15
|
-
avatarSizeIcon?: "
|
|
16
|
-
avatarSizeRoot?: "
|
|
15
|
+
avatarSizeIcon?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
16
|
+
avatarSizeRoot?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
|
18
|
-
badgeSizeIcon?: "
|
|
19
|
-
badgeSizeRoot?: "
|
|
18
|
+
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
19
|
+
badgeSizeRoot?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
20
20
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
|
|
21
21
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
|
|
22
|
-
buttonSizeIcon?: "
|
|
23
|
-
buttonSizeRoot?: "
|
|
24
|
-
buttonVariantIcon?: "primary" | "secondary" | "
|
|
25
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
22
|
+
buttonSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
23
|
+
buttonSizeRoot?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
24
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
25
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
26
26
|
checkboxSizeCheckbox?: "sm" | "md" | undefined;
|
|
27
27
|
checkboxSizeRoot?: "sm" | "md" | undefined;
|
|
28
28
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
|
@@ -44,8 +44,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
44
44
|
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
|
45
45
|
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
|
46
46
|
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
|
47
|
-
iconbuttonSizeIcon?: "
|
|
48
|
-
iconbuttonSizeRoot?: "
|
|
47
|
+
iconbuttonSizeIcon?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
48
|
+
iconbuttonSizeRoot?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
49
49
|
inputSizeEndIcon?: "md" | "lg" | undefined;
|
|
50
50
|
inputSizeHelperIcon?: "md" | "lg" | undefined;
|
|
51
51
|
inputSizeHelperText?: "md" | "lg" | undefined;
|
|
@@ -130,76 +130,84 @@ declare const getStylesInternal: (props?: ({
|
|
|
130
130
|
toastVariantCloseIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
131
131
|
toastVariantIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
132
132
|
toastVariantRoot?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
tooltipSizeBody?: "default" | undefined;
|
|
134
|
+
tooltipSizeIcon?: "default" | undefined;
|
|
135
|
+
tooltipSizeRoot?: "default" | undefined;
|
|
136
|
+
tooltipSizeSvg?: "default" | undefined;
|
|
137
|
+
tooltipSizeTitle?: "default" | undefined;
|
|
138
|
+
tooltipVariantBlur?: "default" | undefined;
|
|
139
|
+
tooltipVariantRoot?: "default" | undefined;
|
|
140
|
+
tooltipVariantSvg?: "default" | undefined;
|
|
141
|
+
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;
|
|
142
|
+
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;
|
|
135
143
|
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;
|
|
136
144
|
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;
|
|
137
|
-
fontWeight?: "
|
|
145
|
+
fontWeight?: "black" | "thin" | "medium" | "light" | "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" | "regular" | "semibold" | "extrabold" | undefined;
|
|
138
146
|
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;
|
|
139
147
|
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;
|
|
140
|
-
textAlign?: "
|
|
141
|
-
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" | "
|
|
142
|
-
spacing?: "0" | "
|
|
143
|
-
spacingHorizontal?: "0" | "
|
|
144
|
-
spacingVertical?: "0" | "
|
|
145
|
-
spacingBottom?: "0" | "
|
|
146
|
-
spacingEnd?: "0" | "
|
|
147
|
-
spacingStart?: "0" | "
|
|
148
|
-
spacingTop?: "0" | "
|
|
149
|
-
offset?: "0" | "
|
|
150
|
-
offsetVertical?: "0" | "
|
|
151
|
-
offsetHorizontal?: "0" | "
|
|
152
|
-
offsetBottom?: "0" | "
|
|
153
|
-
offsetEnd?: "0" | "
|
|
154
|
-
offsetStart?: "0" | "
|
|
155
|
-
offsetTop?: "0" | "
|
|
156
|
-
columnGap?: "0" | "
|
|
157
|
-
rowGap?: "0" | "
|
|
148
|
+
textAlign?: "start" | "end" | "center" | "justify" | undefined;
|
|
149
|
+
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;
|
|
150
|
+
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;
|
|
151
|
+
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;
|
|
152
|
+
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;
|
|
153
|
+
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;
|
|
154
|
+
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;
|
|
155
|
+
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;
|
|
156
|
+
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;
|
|
157
|
+
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;
|
|
158
|
+
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;
|
|
159
|
+
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;
|
|
160
|
+
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;
|
|
161
|
+
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;
|
|
162
|
+
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;
|
|
163
|
+
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;
|
|
164
|
+
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;
|
|
165
|
+
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;
|
|
158
166
|
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;
|
|
159
|
-
borderColor?: "primary" | "secondary" | "
|
|
160
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
161
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
162
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
163
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
164
|
-
borderRadius?: "
|
|
165
|
-
borderTopStartRadius?: "
|
|
166
|
-
borderTopEndRadius?: "
|
|
167
|
-
borderBottomStartRadius?: "
|
|
168
|
-
borderBottomEndRadius?: "
|
|
169
|
-
borderWidth?: "
|
|
170
|
-
borderVerticalWidth?: "
|
|
171
|
-
borderHorizontalWidth?: "
|
|
172
|
-
borderStartWidth?: "
|
|
173
|
-
borderEndWidth?: "
|
|
174
|
-
borderTopWidth?: "
|
|
175
|
-
borderBottomWidth?: "
|
|
176
|
-
avatarSize?: "
|
|
177
|
-
iconSize?: "
|
|
178
|
-
alignContent?: "
|
|
179
|
-
alignItems?: "
|
|
180
|
-
alignSelf?: "
|
|
181
|
-
flex?: "
|
|
167
|
+
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;
|
|
168
|
+
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;
|
|
169
|
+
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;
|
|
170
|
+
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;
|
|
171
|
+
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;
|
|
172
|
+
borderRadius?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "full" | undefined;
|
|
173
|
+
borderTopStartRadius?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "full" | undefined;
|
|
174
|
+
borderTopEndRadius?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "full" | undefined;
|
|
175
|
+
borderBottomStartRadius?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "full" | undefined;
|
|
176
|
+
borderBottomEndRadius?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "full" | undefined;
|
|
177
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
178
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
179
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
180
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
181
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
182
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
183
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
184
|
+
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
|
185
|
+
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
|
186
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
|
187
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
|
188
|
+
alignSelf?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | "auto" | undefined;
|
|
189
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
182
190
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
183
191
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
184
192
|
flexShrink?: "0" | "1" | undefined;
|
|
185
193
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
186
|
-
justifyContent?: "
|
|
194
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
187
195
|
flexBasis?: "min-content" | undefined;
|
|
188
196
|
display?: "flex" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "table" | "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;
|
|
189
|
-
overflow?: "
|
|
190
|
-
overflowX?: "
|
|
191
|
-
overflowY?: "
|
|
197
|
+
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
198
|
+
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
199
|
+
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
192
200
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
193
|
-
contentFit?: "none" | "
|
|
201
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
194
202
|
colorMode?: "light" | "dark" | undefined;
|
|
195
|
-
scaleMode?: "
|
|
203
|
+
scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
196
204
|
width?: "full" | "fit" | "screen" | undefined;
|
|
197
205
|
height?: "full" | "fit" | "screen" | undefined;
|
|
198
|
-
dropShadow?: "
|
|
199
|
-
insetShadow?: "
|
|
200
|
-
nestedBorderRadiusSize?: "
|
|
201
|
-
nestedBorderRadiusWidth?: "
|
|
202
|
-
nestedBorderRadiusSpacing?: "0" | "
|
|
206
|
+
dropShadow?: "sm" | "md" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "lg" | "xl" | "2xl" | undefined;
|
|
207
|
+
insetShadow?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "2xl" | "sm-invert" | "md-invert" | "xs-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
208
|
+
nestedBorderRadiusSize?: "sm" | "md" | "none" | "xs" | "lg" | "xl" | "full" | undefined;
|
|
209
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
210
|
+
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;
|
|
203
211
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
204
212
|
} & {
|
|
205
213
|
className?: string | undefined;
|
|
@@ -610,6 +610,30 @@ declare const variants: {
|
|
|
610
610
|
readonly success: "uds-toast-variant-success-root";
|
|
611
611
|
readonly warning: "uds-toast-variant-warning-root";
|
|
612
612
|
};
|
|
613
|
+
tooltipSizeBody: {
|
|
614
|
+
readonly default: "uds-tooltip-size-default-body";
|
|
615
|
+
};
|
|
616
|
+
tooltipSizeIcon: {
|
|
617
|
+
readonly default: "uds-tooltip-size-default-icon";
|
|
618
|
+
};
|
|
619
|
+
tooltipSizeRoot: {
|
|
620
|
+
readonly default: "uds-tooltip-size-default-root";
|
|
621
|
+
};
|
|
622
|
+
tooltipSizeSvg: {
|
|
623
|
+
readonly default: "uds-tooltip-size-default-svg";
|
|
624
|
+
};
|
|
625
|
+
tooltipSizeTitle: {
|
|
626
|
+
readonly default: "uds-tooltip-size-default-title";
|
|
627
|
+
};
|
|
628
|
+
tooltipVariantBlur: {
|
|
629
|
+
readonly default: "uds-tooltip-variant-default-blur";
|
|
630
|
+
};
|
|
631
|
+
tooltipVariantRoot: {
|
|
632
|
+
readonly default: "uds-tooltip-variant-default-root";
|
|
633
|
+
};
|
|
634
|
+
tooltipVariantSvg: {
|
|
635
|
+
readonly default: "uds-tooltip-variant-default-svg";
|
|
636
|
+
};
|
|
613
637
|
color: {
|
|
614
638
|
accent: string;
|
|
615
639
|
alert: string;
|
|
@@ -610,6 +610,30 @@ declare const variants: {
|
|
|
610
610
|
readonly success: "uds-toast-variant-success-root";
|
|
611
611
|
readonly warning: "uds-toast-variant-warning-root";
|
|
612
612
|
};
|
|
613
|
+
tooltipSizeBody: {
|
|
614
|
+
readonly default: "uds-tooltip-size-default-body";
|
|
615
|
+
};
|
|
616
|
+
tooltipSizeIcon: {
|
|
617
|
+
readonly default: "uds-tooltip-size-default-icon";
|
|
618
|
+
};
|
|
619
|
+
tooltipSizeRoot: {
|
|
620
|
+
readonly default: "uds-tooltip-size-default-root";
|
|
621
|
+
};
|
|
622
|
+
tooltipSizeSvg: {
|
|
623
|
+
readonly default: "uds-tooltip-size-default-svg";
|
|
624
|
+
};
|
|
625
|
+
tooltipSizeTitle: {
|
|
626
|
+
readonly default: "uds-tooltip-size-default-title";
|
|
627
|
+
};
|
|
628
|
+
tooltipVariantBlur: {
|
|
629
|
+
readonly default: "uds-tooltip-variant-default-blur";
|
|
630
|
+
};
|
|
631
|
+
tooltipVariantRoot: {
|
|
632
|
+
readonly default: "uds-tooltip-variant-default-root";
|
|
633
|
+
};
|
|
634
|
+
tooltipVariantSvg: {
|
|
635
|
+
readonly default: "uds-tooltip-variant-default-svg";
|
|
636
|
+
};
|
|
613
637
|
color: {
|
|
614
638
|
accent: string;
|
|
615
639
|
alert: string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3
|
+
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
4
|
+
const require_index = require('../../css-tokens/dist/index.cjs');
|
|
5
|
+
let tailwindcss_plugin_js = require("tailwindcss/plugin.js");
|
|
6
|
+
tailwindcss_plugin_js = require_runtime.__toESM(tailwindcss_plugin_js);
|
|
7
|
+
|
|
8
|
+
//#region src/tailwind/plugins/blurBgFallback.ts
|
|
9
|
+
const blurBgFallbackPlugin = tailwindcss_plugin_js.default.withOptions(() => ({ addUtilities }) => {
|
|
10
|
+
addUtilities({
|
|
11
|
+
".uds-bgBlurFillFallback": { fill: `var(--${require_index.BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX})` },
|
|
12
|
+
"@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))": {
|
|
13
|
+
".uds-bgBlurFillFallback": { fill: `var(--${require_index.BACKGROUND_BLUR_COLOR_PREFIX})` },
|
|
14
|
+
".uds-bgBlurFallback": {
|
|
15
|
+
WebkitBackdropFilter: "var(--uds-backdrop-blur)",
|
|
16
|
+
backdropFilter: "var(--uds-backdrop-blur)"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"@media (prefers-reduced-transparency)": {
|
|
20
|
+
".uds-bgBlurFillFallback": { fill: `var(--${require_index.BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX})` },
|
|
21
|
+
".uds-bgBlurFallback": {
|
|
22
|
+
WebkitBackdropFilter: "none",
|
|
23
|
+
backdropFilter: "none"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.blurBgFallbackPlugin = blurBgFallbackPlugin;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
import { TailwindPluginOptions } from "../utils/composeTailwindPlugins.cjs";
|
|
3
|
+
import * as tailwindcss_types_config0 from "tailwindcss/types/config";
|
|
4
|
+
|
|
5
|
+
//#region src/tailwind/plugins/blurBgFallback.d.ts
|
|
6
|
+
declare const blurBgFallbackPlugin: {
|
|
7
|
+
(options: TailwindPluginOptions): {
|
|
8
|
+
handler: tailwindcss_types_config0.PluginCreator;
|
|
9
|
+
config?: Partial<tailwindcss_types_config0.Config>;
|
|
10
|
+
};
|
|
11
|
+
__isOptionsFunction: true;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { blurBgFallbackPlugin };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
import { TailwindPluginOptions } from "../utils/composeTailwindPlugins.js";
|
|
3
|
+
import * as tailwindcss_types_config0 from "tailwindcss/types/config";
|
|
4
|
+
|
|
5
|
+
//#region src/tailwind/plugins/blurBgFallback.d.ts
|
|
6
|
+
declare const blurBgFallbackPlugin: {
|
|
7
|
+
(options: TailwindPluginOptions): {
|
|
8
|
+
handler: tailwindcss_types_config0.PluginCreator;
|
|
9
|
+
config?: Partial<tailwindcss_types_config0.Config>;
|
|
10
|
+
};
|
|
11
|
+
__isOptionsFunction: true;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { blurBgFallbackPlugin };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
import { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX } from "../../css-tokens/dist/index.js";
|
|
3
|
+
import plugin from "tailwindcss/plugin.js";
|
|
4
|
+
|
|
5
|
+
//#region src/tailwind/plugins/blurBgFallback.ts
|
|
6
|
+
const blurBgFallbackPlugin = plugin.withOptions(() => ({ addUtilities }) => {
|
|
7
|
+
addUtilities({
|
|
8
|
+
".uds-bgBlurFillFallback": { fill: `var(--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX})` },
|
|
9
|
+
"@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))": {
|
|
10
|
+
".uds-bgBlurFillFallback": { fill: `var(--${BACKGROUND_BLUR_COLOR_PREFIX})` },
|
|
11
|
+
".uds-bgBlurFallback": {
|
|
12
|
+
WebkitBackdropFilter: "var(--uds-backdrop-blur)",
|
|
13
|
+
backdropFilter: "var(--uds-backdrop-blur)"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"@media (prefers-reduced-transparency)": {
|
|
17
|
+
".uds-bgBlurFillFallback": { fill: `var(--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX})` },
|
|
18
|
+
".uds-bgBlurFallback": {
|
|
19
|
+
WebkitBackdropFilter: "none",
|
|
20
|
+
backdropFilter: "none"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { blurBgFallbackPlugin };
|
|
@@ -25,6 +25,7 @@ const componentsPlugin = tailwindcss_plugin_js.default.withOptions(({ config, pr
|
|
|
25
25
|
if (config.menuContent) addComponents(require_index.generateStyles(require_generatedConfigs.MenuContentConfig, config.menuContent, theme, previewOptions));
|
|
26
26
|
if (config.input) addComponents(require_index.generateStyles(require_generatedConfigs.InputConfig, config.input, theme, previewOptions));
|
|
27
27
|
if (config?.toast) addComponents(require_index.generateStyles(require_generatedConfigs.ToastConfig, config.toast, theme, previewOptions));
|
|
28
|
+
if (config.tooltip) addComponents(require_index.generateStyles(require_generatedConfigs.TooltipConfig, config.tooltip, theme, previewOptions));
|
|
28
29
|
}, () => ({ theme: { extend: { opacity: _yahoo_uds_fixtures.opacityMap } } }));
|
|
29
30
|
|
|
30
31
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { generateStyles } from "../../automated-config/dist/utils/index.js";
|
|
3
|
-
import { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, SwitchConfig, ToastConfig } from "../../automated-config/dist/generated/generatedConfigs.js";
|
|
3
|
+
import { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, SwitchConfig, ToastConfig, TooltipConfig } from "../../automated-config/dist/generated/generatedConfigs.js";
|
|
4
4
|
import { opacityMap } from "@yahoo/uds/fixtures";
|
|
5
5
|
import plugin from "tailwindcss/plugin.js";
|
|
6
6
|
|
|
@@ -22,6 +22,7 @@ const componentsPlugin = plugin.withOptions(({ config, previewOptions = { genera
|
|
|
22
22
|
if (config.menuContent) addComponents(generateStyles(MenuContentConfig, config.menuContent, theme, previewOptions));
|
|
23
23
|
if (config.input) addComponents(generateStyles(InputConfig, config.input, theme, previewOptions));
|
|
24
24
|
if (config?.toast) addComponents(generateStyles(ToastConfig, config.toast, theme, previewOptions));
|
|
25
|
+
if (config.tooltip) addComponents(generateStyles(TooltipConfig, config.tooltip, theme, previewOptions));
|
|
25
26
|
}, () => ({ theme: { extend: { opacity: opacityMap } } }));
|
|
26
27
|
|
|
27
28
|
//#endregion
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3
3
|
const require_tailwind_defaultTailwindThemeAsUdsConfig = require('./defaultTailwindThemeAsUdsConfig.cjs');
|
|
4
4
|
const require_tailwind_components_getInputStyles = require('./components/getInputStyles.cjs');
|
|
5
5
|
const require_tailwind_plugins_a11y = require('./plugins/a11y.cjs');
|
|
6
|
+
const require_tailwind_plugins_blurBgFallback = require('./plugins/blurBgFallback.cjs');
|
|
6
7
|
const require_tailwind_utils_composeTailwindPlugins = require('./utils/composeTailwindPlugins.cjs');
|
|
7
8
|
const require_tailwind_plugins_borderRadius = require('./plugins/borderRadius.cjs');
|
|
8
9
|
const require_tailwind_plugins_borderWidth = require('./plugins/borderWidth.cjs');
|
|
@@ -21,7 +22,7 @@ const require_tailwind_plugins_spacing = require('./plugins/spacing.cjs');
|
|
|
21
22
|
const require_tailwind_plugins_typography = require('./plugins/typography.cjs');
|
|
22
23
|
|
|
23
24
|
//#region src/tailwind/tailwindPlugin.ts
|
|
24
|
-
const tailwindPlugin = require_tailwind_utils_composeTailwindPlugins.composeTailwindPlugins(require_tailwind_plugins_colors.colorsPlugin, require_tailwind_plugins_icons.iconsPlugin, require_tailwind_plugins_a11y.a11yPlugin, require_tailwind_plugins_breakpoints.breakpointsPlugin, require_tailwind_plugins_typography.typographyPlugin, require_tailwind_plugins_components.componentsPlugin, require_tailwind_plugins_shadows.shadowsPlugin, require_tailwind_plugins_elevation.elevationPlugin, require_tailwind_plugins_motion.motionPlugin, require_tailwind_plugins_spacing.spacingPlugin, require_tailwind_plugins_borderWidth.borderWidthPlugin, require_tailwind_plugins_borderRadius.borderRadiusPlugin, require_tailwind_plugins_nestedBorderRadius.nestedBorderRadiusPlugin, require_tailwind_plugins_sizing.sizingPlugin, require_tailwind_plugins_input.inputPlugin, require_tailwind_plugins_scaleMode.scaleModePlugin);
|
|
25
|
+
const tailwindPlugin = require_tailwind_utils_composeTailwindPlugins.composeTailwindPlugins(require_tailwind_plugins_colors.colorsPlugin, require_tailwind_plugins_icons.iconsPlugin, require_tailwind_plugins_a11y.a11yPlugin, require_tailwind_plugins_breakpoints.breakpointsPlugin, require_tailwind_plugins_typography.typographyPlugin, require_tailwind_plugins_components.componentsPlugin, require_tailwind_plugins_shadows.shadowsPlugin, require_tailwind_plugins_elevation.elevationPlugin, require_tailwind_plugins_motion.motionPlugin, require_tailwind_plugins_spacing.spacingPlugin, require_tailwind_plugins_borderWidth.borderWidthPlugin, require_tailwind_plugins_borderRadius.borderRadiusPlugin, require_tailwind_plugins_nestedBorderRadius.nestedBorderRadiusPlugin, require_tailwind_plugins_blurBgFallback.blurBgFallbackPlugin, require_tailwind_plugins_sizing.sizingPlugin, require_tailwind_plugins_input.inputPlugin, require_tailwind_plugins_scaleMode.scaleModePlugin);
|
|
25
26
|
/**
|
|
26
27
|
* Use in `tailwindConfig.content` to ensure UDS package(s) styles are
|
|
27
28
|
* included in the app.
|
|
@@ -3,6 +3,7 @@ import { __require } from "../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { udsToTailwindMap } from "./defaultTailwindThemeAsUdsConfig.js";
|
|
4
4
|
import { getInputStyles } from "./components/getInputStyles.js";
|
|
5
5
|
import { a11yPlugin } from "./plugins/a11y.js";
|
|
6
|
+
import { blurBgFallbackPlugin } from "./plugins/blurBgFallback.js";
|
|
6
7
|
import { composeTailwindPlugins } from "./utils/composeTailwindPlugins.js";
|
|
7
8
|
import { borderRadiusPlugin } from "./plugins/borderRadius.js";
|
|
8
9
|
import { borderWidthPlugin } from "./plugins/borderWidth.js";
|
|
@@ -21,7 +22,7 @@ import { spacingPlugin } from "./plugins/spacing.js";
|
|
|
21
22
|
import { typographyPlugin } from "./plugins/typography.js";
|
|
22
23
|
|
|
23
24
|
//#region src/tailwind/tailwindPlugin.ts
|
|
24
|
-
const tailwindPlugin = composeTailwindPlugins(colorsPlugin, iconsPlugin, a11yPlugin, breakpointsPlugin, typographyPlugin, componentsPlugin, shadowsPlugin, elevationPlugin, motionPlugin, spacingPlugin, borderWidthPlugin, borderRadiusPlugin, nestedBorderRadiusPlugin, sizingPlugin, inputPlugin, scaleModePlugin);
|
|
25
|
+
const tailwindPlugin = composeTailwindPlugins(colorsPlugin, iconsPlugin, a11yPlugin, breakpointsPlugin, typographyPlugin, componentsPlugin, shadowsPlugin, elevationPlugin, motionPlugin, spacingPlugin, borderWidthPlugin, borderRadiusPlugin, nestedBorderRadiusPlugin, blurBgFallbackPlugin, sizingPlugin, inputPlugin, scaleModePlugin);
|
|
25
26
|
/**
|
|
26
27
|
* Use in `tailwindConfig.content` to ensure UDS package(s) styles are
|
|
27
28
|
* included in the app.
|
|
@@ -4,8 +4,8 @@ import { UniversalTokensConfig } from "../../config/dist/index.cjs";
|
|
|
4
4
|
import "../../tokens/index.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/tailwind/utils/getShadowStyles.d.ts
|
|
7
|
-
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-inset-shadow-
|
|
8
|
-
readonly [x: string]: "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-inset-shadow-
|
|
7
|
+
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-inset-shadow-sm" | ".uds-inset-shadow-md" | ".uds-inset-shadow-none" | ".uds-inset-shadow-xs" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-2xl" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-5" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-md" | ".uds-drop-shadow-none" | ".uds-drop-shadow-xs" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-2xl", {
|
|
8
|
+
readonly [x: string]: "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-xs)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-xs)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
9
9
|
readonly boxShadow: "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
10
10
|
}];
|
|
11
11
|
declare function getShadowStyles({
|
|
@@ -14,8 +14,8 @@ declare function getShadowStyles({
|
|
|
14
14
|
}: {
|
|
15
15
|
config: UniversalTokensConfig;
|
|
16
16
|
shadowType: ShadowType;
|
|
17
|
-
}): Record<".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-inset-shadow-
|
|
18
|
-
readonly [x: string]: "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-inset-shadow-
|
|
17
|
+
}): Record<".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-inset-shadow-sm" | ".uds-inset-shadow-md" | ".uds-inset-shadow-none" | ".uds-inset-shadow-xs" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-2xl" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-5" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-md" | ".uds-drop-shadow-none" | ".uds-drop-shadow-xs" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-2xl", {
|
|
18
|
+
readonly [x: string]: "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-xs)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-xs)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
19
19
|
readonly boxShadow: "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
20
20
|
}>;
|
|
21
21
|
//#endregion
|