@yahoo/uds 3.70.0 → 3.72.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/cli/FlattenButtonVariant.mock.tsx +17 -0
- package/dist/components/Box.d.cts +2 -2
- package/dist/components/Box.d.ts +2 -2
- package/dist/components/Divider/Divider.d.cts +2 -2
- package/dist/components/Divider/Divider.d.ts +2 -2
- package/dist/components/Divider/DividerCore.d.cts +2 -2
- package/dist/components/Divider/DividerCore.d.ts +2 -2
- package/dist/components/Divider/DividerInternal.d.cts +2 -2
- package/dist/components/Divider/DividerInternal.d.ts +2 -2
- package/dist/components/FormLabel.d.cts +2 -2
- package/dist/components/FormLabel.d.ts +2 -2
- package/dist/components/HStack.d.cts +2 -2
- package/dist/components/HStack.d.ts +2 -2
- package/dist/components/Icon.d.cts +2 -2
- package/dist/components/Icon.d.ts +2 -2
- package/dist/components/Image.d.cts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Link.d.cts +2 -2
- package/dist/components/Link.d.ts +2 -2
- package/dist/components/Text.d.cts +8 -8
- package/dist/components/Text.d.ts +8 -8
- package/dist/components/VStack.d.cts +2 -2
- package/dist/components/VStack.d.ts +2 -2
- package/dist/components/client/AnimateHeightChange.d.cts +2 -2
- package/dist/components/client/AnimateHeightChange.d.ts +2 -2
- package/dist/components/client/Avatar/Avatar.d.cts +2 -2
- package/dist/components/client/Avatar/Avatar.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarImage.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarImage.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarText.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarText.d.ts +2 -2
- package/dist/components/client/IconButton.d.cts +2 -2
- package/dist/components/client/IconButton.d.ts +2 -2
- package/dist/components/client/Input/Input.d.cts +2 -2
- package/dist/components/client/Input/Input.d.ts +2 -2
- package/dist/components/client/Input/InputHelpText.d.cts +2 -2
- package/dist/components/client/Input/InputHelpText.d.ts +2 -2
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +4 -4
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +4 -4
- package/dist/components/client/Menu/Menu.Content.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Content.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Item.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Item.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
- package/dist/components/client/Pressable.d.cts +2 -2
- package/dist/components/client/Pressable.d.ts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
- package/dist/components/client/SpringMotionConfig.d.cts +3 -3
- package/dist/components/client/SpringMotionConfig.d.ts +3 -3
- package/dist/components/experimental/Spinner.d.cts +2 -2
- package/dist/components/experimental/Table.d.cts +2 -2
- package/dist/components/experimental/Table.d.ts +2 -2
- package/dist/components/experimental/client/Accordion.d.cts +2 -2
- package/dist/components/experimental/client/Accordion.d.ts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +2 -2
- package/dist/components/experimental/client/Modal.d.cts +3 -3
- package/dist/components/experimental/client/Modal.d.ts +3 -3
- package/dist/components/experimental/client/Popover.d.cts +3 -3
- package/dist/components/experimental/client/Popover.d.ts +3 -3
- package/dist/components/experimental/client/Tabs.d.cts +6 -6
- package/dist/components/experimental/client/Tabs.d.ts +6 -6
- package/dist/components/experimental/client/Toast.d.cts +2 -2
- package/dist/components/experimental/client/Toast.d.ts +2 -2
- package/dist/fixtures.d.cts +1 -1
- package/dist/fixtures.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/providers/ColorModeProvider.d.cts +4 -4
- package/dist/providers/ColorModeProvider.d.ts +4 -4
- package/dist/providers/ScaleModeProvider.d.cts +4 -4
- package/dist/providers/ScaleModeProvider.d.ts +4 -4
- package/dist/providers/ThemeProvider.d.cts +2 -2
- package/dist/providers/ThemeProvider.d.ts +2 -2
- package/dist/styles/styler.d.cts +35 -35
- package/dist/styles/styler.d.ts +35 -35
- package/dist/tailwind/plugins/a11y.d.cts +3 -3
- package/dist/tailwind/plugins/borders.d.cts +3 -3
- package/dist/tailwind/plugins/colors.d.cts +3 -3
- package/dist/tailwind/plugins/components.d.cts +3 -3
- package/dist/tailwind/plugins/components.d.ts +3 -3
- package/dist/tailwind/plugins/elevation.d.cts +3 -3
- package/dist/tailwind/plugins/elevation.d.ts +3 -3
- package/dist/tailwind/plugins/icons.d.cts +3 -3
- package/dist/tailwind/plugins/icons.d.ts +3 -3
- package/dist/tailwind/plugins/input.d.cts +3 -3
- package/dist/tailwind/plugins/input.d.ts +3 -3
- package/dist/tailwind/plugins/motion.d.cts +3 -3
- package/dist/tailwind/plugins/motion.d.ts +3 -3
- package/dist/tailwind/plugins/nestedBorderRadius.d.cts +3 -3
- package/dist/tailwind/plugins/nestedBorderRadius.d.ts +3 -3
- package/dist/tailwind/plugins/scaleMode.d.cts +3 -3
- package/dist/tailwind/plugins/scaleMode.d.ts +3 -3
- package/dist/tailwind/plugins/shadows.d.cts +3 -3
- package/dist/tailwind/plugins/shadows.d.ts +3 -3
- package/dist/tailwind/plugins/sizing.d.cts +3 -3
- package/dist/tailwind/plugins/sizing.d.ts +3 -3
- package/dist/tailwind/plugins/spacing.d.cts +3 -3
- package/dist/tailwind/plugins/spacing.d.ts +3 -3
- package/dist/tailwind/plugins/typography.d.cts +3 -3
- package/dist/tailwind/plugins/typography.d.ts +3 -3
- package/dist/tailwind/tailwind.config.d.cts +3 -3
- package/dist/tailwind/tailwind.config.d.ts +3 -3
- package/dist/tailwind/tailwindPlugin.d.cts +3 -3
- package/dist/tailwind/tailwindPlugin.d.ts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.cts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.ts +3 -3
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/tokens/configs/yosConfig.cjs +23 -23
- package/dist/tokens/configs/yosConfig.js +23 -23
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/parseTokens.cjs +7 -1
- package/dist/tokens/parseTokens.js +7 -1
- package/dist/tokens/types.d.cts +3 -2
- package/dist/tokens/types.d.ts +3 -2
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/package.json +1 -1
|
@@ -16293,7 +16293,7 @@ const yosConfig = {
|
|
|
16293
16293
|
"2xl-invert": [{
|
|
16294
16294
|
offsetX: "0",
|
|
16295
16295
|
color: {
|
|
16296
|
-
value: "white",
|
|
16296
|
+
value: "always/white",
|
|
16297
16297
|
type: "always"
|
|
16298
16298
|
},
|
|
16299
16299
|
opacity: "25",
|
|
@@ -16330,14 +16330,14 @@ const yosConfig = {
|
|
|
16330
16330
|
offsetY: "px",
|
|
16331
16331
|
color: {
|
|
16332
16332
|
type: "always",
|
|
16333
|
-
value: "white"
|
|
16333
|
+
value: "always/white"
|
|
16334
16334
|
}
|
|
16335
16335
|
}],
|
|
16336
16336
|
"md-invert": [{
|
|
16337
16337
|
offsetY: "1",
|
|
16338
16338
|
color: {
|
|
16339
16339
|
type: "always",
|
|
16340
|
-
value: "white"
|
|
16340
|
+
value: "always/white"
|
|
16341
16341
|
},
|
|
16342
16342
|
offsetX: "0",
|
|
16343
16343
|
spread: "-px",
|
|
@@ -16348,7 +16348,7 @@ const yosConfig = {
|
|
|
16348
16348
|
offsetY: "0.5",
|
|
16349
16349
|
color: {
|
|
16350
16350
|
type: "always",
|
|
16351
|
-
value: "white"
|
|
16351
|
+
value: "always/white"
|
|
16352
16352
|
},
|
|
16353
16353
|
offsetX: "0",
|
|
16354
16354
|
spread: "-0.5",
|
|
@@ -16379,7 +16379,7 @@ const yosConfig = {
|
|
|
16379
16379
|
offsetY: "4",
|
|
16380
16380
|
color: {
|
|
16381
16381
|
type: "always",
|
|
16382
|
-
value: "white"
|
|
16382
|
+
value: "always/white"
|
|
16383
16383
|
},
|
|
16384
16384
|
offsetX: "0",
|
|
16385
16385
|
opacity: "10",
|
|
@@ -16389,7 +16389,7 @@ const yosConfig = {
|
|
|
16389
16389
|
offsetX: "0",
|
|
16390
16390
|
offsetY: "10",
|
|
16391
16391
|
color: {
|
|
16392
|
-
value: "white",
|
|
16392
|
+
value: "always/white",
|
|
16393
16393
|
type: "always"
|
|
16394
16394
|
},
|
|
16395
16395
|
spread: "-2",
|
|
@@ -16400,7 +16400,7 @@ const yosConfig = {
|
|
|
16400
16400
|
"sm-invert": [{
|
|
16401
16401
|
blur: "0.5",
|
|
16402
16402
|
color: {
|
|
16403
|
-
value: "white",
|
|
16403
|
+
value: "always/white",
|
|
16404
16404
|
type: "always"
|
|
16405
16405
|
},
|
|
16406
16406
|
opacity: "10",
|
|
@@ -16414,13 +16414,13 @@ const yosConfig = {
|
|
|
16414
16414
|
spread: "0",
|
|
16415
16415
|
color: {
|
|
16416
16416
|
type: "always",
|
|
16417
|
-
value: "white"
|
|
16417
|
+
value: "always/white"
|
|
16418
16418
|
},
|
|
16419
16419
|
blur: "1"
|
|
16420
16420
|
}],
|
|
16421
16421
|
"lg-invert": [{
|
|
16422
16422
|
color: {
|
|
16423
|
-
value: "white",
|
|
16423
|
+
value: "always/white",
|
|
16424
16424
|
type: "always"
|
|
16425
16425
|
},
|
|
16426
16426
|
blur: "1.5",
|
|
@@ -16431,7 +16431,7 @@ const yosConfig = {
|
|
|
16431
16431
|
}, {
|
|
16432
16432
|
offsetY: "2.5",
|
|
16433
16433
|
color: {
|
|
16434
|
-
value: "white",
|
|
16434
|
+
value: "always/white",
|
|
16435
16435
|
type: "always"
|
|
16436
16436
|
},
|
|
16437
16437
|
offsetX: "0",
|
|
@@ -19549,7 +19549,7 @@ const yosConfig = {
|
|
|
19549
19549
|
} }
|
|
19550
19550
|
}
|
|
19551
19551
|
},
|
|
19552
|
-
version: "v0.
|
|
19552
|
+
version: "v0.69.0",
|
|
19553
19553
|
colorMode: {
|
|
19554
19554
|
light: {
|
|
19555
19555
|
palette: {
|
|
@@ -21722,7 +21722,7 @@ const yosConfig = {
|
|
|
21722
21722
|
layerWithBackgroundFill: true,
|
|
21723
21723
|
surfaceColor: {
|
|
21724
21724
|
type: "always",
|
|
21725
|
-
value: "white",
|
|
21725
|
+
value: "always/white",
|
|
21726
21726
|
opacity: "0"
|
|
21727
21727
|
},
|
|
21728
21728
|
backgroundFill: {
|
|
@@ -21747,7 +21747,7 @@ const yosConfig = {
|
|
|
21747
21747
|
layerWithBackgroundFill: true,
|
|
21748
21748
|
surfaceColor: {
|
|
21749
21749
|
type: "always",
|
|
21750
|
-
value: "white",
|
|
21750
|
+
value: "always/white",
|
|
21751
21751
|
opacity: "0"
|
|
21752
21752
|
},
|
|
21753
21753
|
backgroundFill: {
|
|
@@ -21774,7 +21774,7 @@ const yosConfig = {
|
|
|
21774
21774
|
layerWithBackgroundFill: true,
|
|
21775
21775
|
surfaceColor: {
|
|
21776
21776
|
type: "always",
|
|
21777
|
-
value: "white",
|
|
21777
|
+
value: "always/white",
|
|
21778
21778
|
opacity: "4"
|
|
21779
21779
|
},
|
|
21780
21780
|
backgroundFill: {
|
|
@@ -21799,7 +21799,7 @@ const yosConfig = {
|
|
|
21799
21799
|
layerWithBackgroundFill: true,
|
|
21800
21800
|
surfaceColor: {
|
|
21801
21801
|
type: "always",
|
|
21802
|
-
value: "white",
|
|
21802
|
+
value: "always/white",
|
|
21803
21803
|
opacity: "4"
|
|
21804
21804
|
},
|
|
21805
21805
|
backgroundFill: {
|
|
@@ -21826,7 +21826,7 @@ const yosConfig = {
|
|
|
21826
21826
|
layerWithBackgroundFill: true,
|
|
21827
21827
|
surfaceColor: {
|
|
21828
21828
|
type: "always",
|
|
21829
|
-
value: "white",
|
|
21829
|
+
value: "always/white",
|
|
21830
21830
|
opacity: "6"
|
|
21831
21831
|
},
|
|
21832
21832
|
backgroundFill: {
|
|
@@ -21851,7 +21851,7 @@ const yosConfig = {
|
|
|
21851
21851
|
layerWithBackgroundFill: true,
|
|
21852
21852
|
surfaceColor: {
|
|
21853
21853
|
type: "always",
|
|
21854
|
-
value: "white",
|
|
21854
|
+
value: "always/white",
|
|
21855
21855
|
opacity: "6"
|
|
21856
21856
|
},
|
|
21857
21857
|
backgroundFill: {
|
|
@@ -21878,7 +21878,7 @@ const yosConfig = {
|
|
|
21878
21878
|
layerWithBackgroundFill: true,
|
|
21879
21879
|
surfaceColor: {
|
|
21880
21880
|
type: "always",
|
|
21881
|
-
value: "white",
|
|
21881
|
+
value: "always/white",
|
|
21882
21882
|
opacity: "8"
|
|
21883
21883
|
},
|
|
21884
21884
|
backgroundFill: {
|
|
@@ -21903,7 +21903,7 @@ const yosConfig = {
|
|
|
21903
21903
|
layerWithBackgroundFill: true,
|
|
21904
21904
|
surfaceColor: {
|
|
21905
21905
|
type: "always",
|
|
21906
|
-
value: "white",
|
|
21906
|
+
value: "always/white",
|
|
21907
21907
|
opacity: "8"
|
|
21908
21908
|
},
|
|
21909
21909
|
backgroundFill: {
|
|
@@ -21930,7 +21930,7 @@ const yosConfig = {
|
|
|
21930
21930
|
layerWithBackgroundFill: true,
|
|
21931
21931
|
surfaceColor: {
|
|
21932
21932
|
type: "always",
|
|
21933
|
-
value: "white",
|
|
21933
|
+
value: "always/white",
|
|
21934
21934
|
opacity: "10"
|
|
21935
21935
|
},
|
|
21936
21936
|
backgroundFill: {
|
|
@@ -21955,7 +21955,7 @@ const yosConfig = {
|
|
|
21955
21955
|
layerWithBackgroundFill: true,
|
|
21956
21956
|
surfaceColor: {
|
|
21957
21957
|
type: "always",
|
|
21958
|
-
value: "white",
|
|
21958
|
+
value: "always/white",
|
|
21959
21959
|
opacity: "10"
|
|
21960
21960
|
},
|
|
21961
21961
|
backgroundFill: {
|
|
@@ -21982,7 +21982,7 @@ const yosConfig = {
|
|
|
21982
21982
|
layerWithBackgroundFill: true,
|
|
21983
21983
|
surfaceColor: {
|
|
21984
21984
|
type: "always",
|
|
21985
|
-
value: "white",
|
|
21985
|
+
value: "always/white",
|
|
21986
21986
|
opacity: "12"
|
|
21987
21987
|
},
|
|
21988
21988
|
backgroundFill: {
|
|
@@ -22007,7 +22007,7 @@ const yosConfig = {
|
|
|
22007
22007
|
layerWithBackgroundFill: true,
|
|
22008
22008
|
surfaceColor: {
|
|
22009
22009
|
type: "always",
|
|
22010
|
-
value: "white",
|
|
22010
|
+
value: "always/white",
|
|
22011
22011
|
opacity: "12"
|
|
22012
22012
|
},
|
|
22013
22013
|
backgroundFill: {
|
package/dist/tokens/index.d.cts
CHANGED
|
@@ -20,7 +20,7 @@ import { ALWAYS_PREFIX, alwaysPalette, deprecatedAlwaysPalette, newAlwaysPalette
|
|
|
20
20
|
import "./configs/palette/index.cjs";
|
|
21
21
|
import { AVATAR_SIZE_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME } from "./consts/cssTokens.cjs";
|
|
22
22
|
import { FONT_DECLARATIONS_MAP, FontAxisConfig, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontWeightForFont } from "./consts/fontDeclarationsMap.cjs";
|
|
23
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ConfigurableComponentName, CustomSizingStyleProps, DataAttribute, Display, DividerVariant, ElevationAlias, ElevationConfig, ElevationLevel, ElevationPreset, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig } from "./types.cjs";
|
|
23
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ConfigurableComponentName, CustomSizingStyleProps, DataAttribute, Display, DividerVariant, ElevationAlias, ElevationConfig, ElevationCustomShadows, ElevationLevel, ElevationPreset, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig } from "./types.cjs";
|
|
24
24
|
import { UniversalTokensConfigAuto } from "../generated/universalTokensConfigAuto.cjs";
|
|
25
25
|
import { getConfigDefaultValue, isConfigDefaultValue } from "./automation/utils/defaults.cjs";
|
|
26
26
|
import { generateKeyFromFlatConfigPath } from "./automation/utils/generateKeyFromFlatConfigPath.cjs";
|
|
@@ -41,4 +41,4 @@ import { entries } from "./utils/entries.cjs";
|
|
|
41
41
|
import { fromEntries } from "./utils/fromEntries.cjs";
|
|
42
42
|
import { mapValues } from "./utils/mapValues.cjs";
|
|
43
43
|
import { parseOpacityStep } from "./utils/opacity.cjs";
|
|
44
|
-
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, AutoComponents, AvatarAbbreviationStrategy, AvatarConfig, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeConfig, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxConfig, CheckboxSize, CheckboxValue, CheckboxVariant, ChipConfig, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, Display, DividerConfig, DividerVariant, ElevationAlias, ElevationConfig, ElevationLevel, ElevationPreset, ExtendablePropertiesName, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputConfig, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MenuConfig, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioConfig, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, SchemaStateValue, SelectedConfigurableProperty, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SubComponentConfig, SwitchConfig, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig, UniversalTokensConfigAuto, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, cartesianProduct, coalesceConfigVariant, configurableProperties, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, entries, findFixtureType, fontWeightMap, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, statePseudoMapDocsMode, toMinimalDbConfigObject, variants };
|
|
44
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, AutoComponents, AvatarAbbreviationStrategy, AvatarConfig, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeConfig, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxConfig, CheckboxSize, CheckboxValue, CheckboxVariant, ChipConfig, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, Display, DividerConfig, DividerVariant, ElevationAlias, ElevationConfig, ElevationCustomShadows, ElevationLevel, ElevationPreset, ExtendablePropertiesName, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputConfig, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MenuConfig, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioConfig, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, SchemaStateValue, SelectedConfigurableProperty, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SubComponentConfig, SwitchConfig, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig, UniversalTokensConfigAuto, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, cartesianProduct, coalesceConfigVariant, configurableProperties, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, entries, findFixtureType, fontWeightMap, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, statePseudoMapDocsMode, toMinimalDbConfigObject, variants };
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { ALWAYS_PREFIX, alwaysPalette, deprecatedAlwaysPalette, newAlwaysPalette
|
|
|
20
20
|
import "./configs/palette/index.js";
|
|
21
21
|
import { AVATAR_SIZE_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME } from "./consts/cssTokens.js";
|
|
22
22
|
import { FONT_DECLARATIONS_MAP, FontAxisConfig, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontWeightForFont } from "./consts/fontDeclarationsMap.js";
|
|
23
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ConfigurableComponentName, CustomSizingStyleProps, DataAttribute, Display, DividerVariant, ElevationAlias, ElevationConfig, ElevationLevel, ElevationPreset, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig } from "./types.js";
|
|
23
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ConfigurableComponentName, CustomSizingStyleProps, DataAttribute, Display, DividerVariant, ElevationAlias, ElevationConfig, ElevationCustomShadows, ElevationLevel, ElevationPreset, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig } from "./types.js";
|
|
24
24
|
import { UniversalTokensConfigAuto } from "../generated/universalTokensConfigAuto.js";
|
|
25
25
|
import { getConfigDefaultValue, isConfigDefaultValue } from "./automation/utils/defaults.js";
|
|
26
26
|
import { generateKeyFromFlatConfigPath } from "./automation/utils/generateKeyFromFlatConfigPath.js";
|
|
@@ -41,4 +41,4 @@ import { entries } from "./utils/entries.js";
|
|
|
41
41
|
import { fromEntries } from "./utils/fromEntries.js";
|
|
42
42
|
import { mapValues } from "./utils/mapValues.js";
|
|
43
43
|
import { parseOpacityStep } from "./utils/opacity.js";
|
|
44
|
-
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, AutoComponents, AvatarAbbreviationStrategy, AvatarConfig, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeConfig, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxConfig, CheckboxSize, CheckboxValue, CheckboxVariant, ChipConfig, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, Display, DividerConfig, DividerVariant, ElevationAlias, ElevationConfig, ElevationLevel, ElevationPreset, ExtendablePropertiesName, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputConfig, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MenuConfig, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioConfig, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, SchemaStateValue, SelectedConfigurableProperty, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SubComponentConfig, SwitchConfig, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig, UniversalTokensConfigAuto, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, cartesianProduct, coalesceConfigVariant, configurableProperties, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, entries, findFixtureType, fontWeightMap, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, statePseudoMapDocsMode, toMinimalDbConfigObject, variants };
|
|
44
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, AutoComponents, AvatarAbbreviationStrategy, AvatarConfig, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeConfig, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxConfig, CheckboxSize, CheckboxValue, CheckboxVariant, ChipConfig, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, Display, DividerConfig, DividerVariant, ElevationAlias, ElevationConfig, ElevationCustomShadows, ElevationLevel, ElevationPreset, ExtendablePropertiesName, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputConfig, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MenuConfig, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioConfig, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, SchemaStateValue, SelectedConfigurableProperty, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SubComponentConfig, SwitchConfig, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalTokensConfig, UniversalTokensConfigAuto, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, cartesianProduct, coalesceConfigVariant, configurableProperties, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, entries, findFixtureType, fontWeightMap, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, statePseudoMapDocsMode, toMinimalDbConfigObject, variants };
|
|
@@ -4,6 +4,7 @@ const require_tokens_configs_palette_alwaysPalette = require('./configs/palette/
|
|
|
4
4
|
const require_tokens_utils_entries = require('./utils/entries.cjs');
|
|
5
5
|
const require_tokens_utils_mapValues = require('./utils/mapValues.cjs');
|
|
6
6
|
const require_tokens_utils_opacity = require('./utils/opacity.cjs');
|
|
7
|
+
const require_tailwind_utils_getShadowPresetValues = require('../tailwind/utils/getShadowPresetValues.cjs');
|
|
7
8
|
|
|
8
9
|
//#region src/tokens/parseTokens.ts
|
|
9
10
|
function shouldIncludeOpacity(opacity) {
|
|
@@ -61,7 +62,12 @@ function transformColors(colors, elevationPresets) {
|
|
|
61
62
|
}
|
|
62
63
|
if (key === "dropShadow") {
|
|
63
64
|
const name = `--${require_tokens_consts_cssTokens.DROP_SHADOW_PREFIX}-elevation-${level}`;
|
|
64
|
-
|
|
65
|
+
const configValue = elevationPreset[key];
|
|
66
|
+
rootVars[name] = Array.isArray(configValue) ? configValue.map((preset, index) => require_tailwind_utils_getShadowPresetValues.getShadowLayerValue({
|
|
67
|
+
preset,
|
|
68
|
+
prefix: index > 0 ? `${index + 1}` : void 0,
|
|
69
|
+
shadowType: "drop"
|
|
70
|
+
})).join(", ") : `var(--${require_tokens_consts_cssTokens.DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
|
|
65
71
|
}
|
|
66
72
|
});
|
|
67
73
|
});
|
|
@@ -4,6 +4,7 @@ import { alwaysPalette } from "./configs/palette/alwaysPalette.js";
|
|
|
4
4
|
import { entries } from "./utils/entries.js";
|
|
5
5
|
import { mapValues } from "./utils/mapValues.js";
|
|
6
6
|
import { parseOpacityStep } from "./utils/opacity.js";
|
|
7
|
+
import { getShadowLayerValue } from "../tailwind/utils/getShadowPresetValues.js";
|
|
7
8
|
|
|
8
9
|
//#region src/tokens/parseTokens.ts
|
|
9
10
|
function shouldIncludeOpacity(opacity) {
|
|
@@ -61,7 +62,12 @@ function transformColors(colors, elevationPresets) {
|
|
|
61
62
|
}
|
|
62
63
|
if (key === "dropShadow") {
|
|
63
64
|
const name = `--${DROP_SHADOW_PREFIX}-elevation-${level}`;
|
|
64
|
-
|
|
65
|
+
const configValue = elevationPreset[key];
|
|
66
|
+
rootVars[name] = Array.isArray(configValue) ? configValue.map((preset, index) => getShadowLayerValue({
|
|
67
|
+
preset,
|
|
68
|
+
prefix: index > 0 ? `${index + 1}` : void 0,
|
|
69
|
+
shadowType: "drop"
|
|
70
|
+
})).join(", ") : `var(--${DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
|
|
65
71
|
}
|
|
66
72
|
});
|
|
67
73
|
});
|
package/dist/tokens/types.d.cts
CHANGED
|
@@ -202,6 +202,7 @@ type RGBAUnit = {
|
|
|
202
202
|
b: RGBColorValue;
|
|
203
203
|
a: OpacityStep;
|
|
204
204
|
};
|
|
205
|
+
type ElevationCustomShadows = [ShadowPreset, ShadowPreset, ShadowPreset, ShadowPreset];
|
|
205
206
|
type ElevationPreset = {
|
|
206
207
|
surfaceColor: ElevationSurfaceColor & {
|
|
207
208
|
opacity: OpacityStep;
|
|
@@ -211,7 +212,7 @@ type ElevationPreset = {
|
|
|
211
212
|
finalBackgroundValue: RGBAUnit;
|
|
212
213
|
borderColor: ElevationBorderColor;
|
|
213
214
|
borderWidth: BorderWidth;
|
|
214
|
-
dropShadow: ShadowVariant;
|
|
215
|
+
dropShadow: ShadowVariant | ElevationCustomShadows;
|
|
215
216
|
};
|
|
216
217
|
type ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';
|
|
217
218
|
type ElevationAlias = `elevation-${ElevationLevel}`;
|
|
@@ -1004,4 +1005,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
|
1004
1005
|
}
|
|
1005
1006
|
type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
|
|
1006
1007
|
//#endregion
|
|
1007
|
-
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationLevel, type ElevationPreset, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalTokensConfig, type UniversalTokensConfigAuto };
|
|
1008
|
+
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationCustomShadows, type ElevationLevel, type ElevationPreset, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalTokensConfig, type UniversalTokensConfigAuto };
|
package/dist/tokens/types.d.ts
CHANGED
|
@@ -202,6 +202,7 @@ type RGBAUnit = {
|
|
|
202
202
|
b: RGBColorValue;
|
|
203
203
|
a: OpacityStep;
|
|
204
204
|
};
|
|
205
|
+
type ElevationCustomShadows = [ShadowPreset, ShadowPreset, ShadowPreset, ShadowPreset];
|
|
205
206
|
type ElevationPreset = {
|
|
206
207
|
surfaceColor: ElevationSurfaceColor & {
|
|
207
208
|
opacity: OpacityStep;
|
|
@@ -211,7 +212,7 @@ type ElevationPreset = {
|
|
|
211
212
|
finalBackgroundValue: RGBAUnit;
|
|
212
213
|
borderColor: ElevationBorderColor;
|
|
213
214
|
borderWidth: BorderWidth;
|
|
214
|
-
dropShadow: ShadowVariant;
|
|
215
|
+
dropShadow: ShadowVariant | ElevationCustomShadows;
|
|
215
216
|
};
|
|
216
217
|
type ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';
|
|
217
218
|
type ElevationAlias = `elevation-${ElevationLevel}`;
|
|
@@ -1004,4 +1005,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
|
1004
1005
|
}
|
|
1005
1006
|
type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
|
|
1006
1007
|
//#endregion
|
|
1007
|
-
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationLevel, type ElevationPreset, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalTokensConfig, type UniversalTokensConfigAuto };
|
|
1008
|
+
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationCustomShadows, type ElevationLevel, type ElevationPreset, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalTokensConfig, type UniversalTokensConfigAuto };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react43 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/intersperse.d.ts
|
|
@@ -28,6 +28,6 @@ declare const intersperse: <T>(list: Array<T>, inter: T | ((index: number) => T)
|
|
|
28
28
|
* </div>);
|
|
29
29
|
* }
|
|
30
30
|
*/
|
|
31
|
-
declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number |
|
|
31
|
+
declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number | react43.ReactElement<any, string | react43.JSXElementConstructor<any>> | Iterable<ReactNode> | react43.ReactPortal | null)[];
|
|
32
32
|
//#endregion
|
|
33
33
|
export { intersperse, intersperseReactChildren };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react30 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/intersperse.d.ts
|
|
@@ -28,6 +28,6 @@ declare const intersperse: <T>(list: Array<T>, inter: T | ((index: number) => T)
|
|
|
28
28
|
* </div>);
|
|
29
29
|
* }
|
|
30
30
|
*/
|
|
31
|
-
declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number |
|
|
31
|
+
declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number | react30.ReactElement<any, string | react30.JSXElementConstructor<any>> | Iterable<ReactNode> | react30.ReactPortal | null)[];
|
|
32
32
|
//#endregion
|
|
33
33
|
export { intersperse, intersperseReactChildren };
|