@yahoo/uds 3.68.0 → 3.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Box.d.cts +2 -2
- package/dist/components/Divider/Divider.d.cts +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/HStack.d.cts +2 -2
- package/dist/components/Icon.d.cts +2 -2
- package/dist/components/Image.d.cts +2 -2
- package/dist/components/Link.d.cts +2 -2
- package/dist/components/Text.d.cts +8 -8
- package/dist/components/VStack.d.cts +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.cts +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/Checkbox.d.cts +1 -1
- package/dist/components/client/Checkbox.d.ts +1 -1
- package/dist/components/client/IconButton.d.cts +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.ts +2 -2
- package/dist/components/client/Menu/Menu.Provider.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/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 +2 -2
- package/dist/components/experimental/Spinner.d.ts +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/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.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/defaultTokensConfig.d.cts +3897 -3897
- package/dist/defaultTokensConfig.d.ts +3897 -3897
- package/dist/fixtures.cjs +9 -9
- package/dist/fixtures.js +9 -9
- package/dist/generated/autoVariants.cjs +402 -402
- package/dist/generated/autoVariants.d.cts +103 -103
- package/dist/generated/autoVariants.d.ts +103 -103
- package/dist/generated/autoVariants.js +402 -402
- package/dist/generated/generatedConfigs.cjs +18960 -18960
- package/dist/generated/generatedConfigs.js +18960 -18960
- package/dist/generated/tailwindPurge.cjs +112 -112
- package/dist/generated/tailwindPurge.js +112 -112
- package/dist/generated/universalTokensConfigAuto.cjs +8648 -8648
- package/dist/generated/universalTokensConfigAuto.d.cts +4831 -4831
- package/dist/generated/universalTokensConfigAuto.d.ts +4831 -4831
- package/dist/generated/universalTokensConfigAuto.js +8648 -8648
- 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/styles/styler.d.cts +147 -147
- package/dist/styles/styler.d.ts +147 -147
- package/dist/styles/variants.d.cts +429 -429
- package/dist/styles/variants.d.ts +429 -429
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +3 -3
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +3 -3
- package/dist/tailwind/plugins/a11y.d.cts +3 -3
- package/dist/tailwind/plugins/a11y.d.ts +3 -3
- package/dist/tailwind/plugins/borders.d.cts +3 -3
- package/dist/tailwind/plugins/borders.d.ts +3 -3
- package/dist/tailwind/plugins/colors.d.cts +3 -3
- package/dist/tailwind/plugins/colors.d.ts +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/scaleMode.d.cts +3 -3
- package/dist/tailwind/plugins/shadows.d.cts +3 -3
- package/dist/tailwind/plugins/sizing.d.cts +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/utils/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.cts +3 -3
- package/dist/tailwind/utils/getElevationStyles.d.cts +2 -2
- package/dist/tailwind/utils/getElevationStyles.d.ts +2 -2
- package/dist/tailwind/utils/getMotionStyles.d.cts +1 -1
- package/dist/tailwind/utils/getMotionStyles.d.ts +1 -1
- package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tokens/automation/properties.d.cts +9 -9
- package/dist/tokens/automation/properties.d.ts +9 -9
- 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 +15694 -15694
- package/dist/tokens/configs/yosConfig.d.cts +10007 -10007
- package/dist/tokens/configs/yosConfig.d.ts +10007 -10007
- package/dist/tokens/configs/yosConfig.js +15694 -15694
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
|
@@ -2,8 +2,8 @@ import { ElevationAlias, ShadowType, ShadowVariant, UniversalTokensConfig } from
|
|
|
2
2
|
import "../../tokens/index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tailwind/utils/getShadowStyles.d.ts
|
|
5
|
-
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-elevation-
|
|
6
|
-
readonly [x: string]: "var(--uds-inset-shadow-elevation-
|
|
5
|
+
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-5" | ".uds-inset-shadow-md" | ".uds-inset-shadow-sm" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-none" | ".uds-inset-shadow-2xl" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-xs" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-5" | ".uds-drop-shadow-md" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-none" | ".uds-drop-shadow-2xl" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-xs", {
|
|
6
|
+
readonly [x: string]: "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-xs)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-xs)" | "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)";
|
|
7
7
|
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)";
|
|
8
8
|
}];
|
|
9
9
|
declare function getShadowStyles({
|
|
@@ -12,8 +12,8 @@ declare function getShadowStyles({
|
|
|
12
12
|
}: {
|
|
13
13
|
config: UniversalTokensConfig;
|
|
14
14
|
shadowType: ShadowType;
|
|
15
|
-
}): Record<".uds-inset-shadow-elevation-
|
|
16
|
-
readonly [x: string]: "var(--uds-inset-shadow-elevation-
|
|
15
|
+
}): Record<".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-5" | ".uds-inset-shadow-md" | ".uds-inset-shadow-sm" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-none" | ".uds-inset-shadow-2xl" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-xs" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-5" | ".uds-drop-shadow-md" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-none" | ".uds-drop-shadow-2xl" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-xs", {
|
|
16
|
+
readonly [x: string]: "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-xs)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-xs)" | "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)";
|
|
17
17
|
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)";
|
|
18
18
|
}>;
|
|
19
19
|
//#endregion
|
|
@@ -22,9 +22,9 @@ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
|
|
22
22
|
}
|
|
23
23
|
declare const publicProperties: {
|
|
24
24
|
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
25
|
-
readonly borderWidth: ConfigurableProperty<"
|
|
25
|
+
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
26
26
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
27
|
-
readonly borderColor: ConfigurableProperty<"
|
|
27
|
+
readonly borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
28
28
|
readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
29
29
|
readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
30
30
|
readonly fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
@@ -33,7 +33,7 @@ declare const publicProperties: {
|
|
|
33
33
|
readonly letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
34
34
|
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
35
35
|
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
36
|
-
readonly color: ConfigurableProperty<"
|
|
36
|
+
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
37
37
|
readonly opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
38
38
|
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
39
39
|
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
@@ -48,14 +48,14 @@ declare const publicProperties: {
|
|
|
48
48
|
readonly scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
|
|
49
49
|
};
|
|
50
50
|
declare const configurableProperties: {
|
|
51
|
-
outlineWidth: ConfigurableProperty<"
|
|
52
|
-
outlineColor: ConfigurableProperty<"
|
|
53
|
-
insetOutlineOffset: ConfigurableProperty<"
|
|
51
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
52
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
53
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
54
54
|
solidOutline: ConfigurableProperty<never, unknown>;
|
|
55
55
|
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
56
|
-
borderWidth: ConfigurableProperty<"
|
|
56
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
57
57
|
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
58
|
-
borderColor: ConfigurableProperty<"
|
|
58
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
59
59
|
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
60
60
|
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
61
61
|
fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
@@ -64,7 +64,7 @@ declare const configurableProperties: {
|
|
|
64
64
|
letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
65
65
|
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
66
66
|
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
67
|
-
color: ConfigurableProperty<"
|
|
67
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
68
68
|
opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
69
69
|
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
70
70
|
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
@@ -22,9 +22,9 @@ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
|
|
22
22
|
}
|
|
23
23
|
declare const publicProperties: {
|
|
24
24
|
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
25
|
-
readonly borderWidth: ConfigurableProperty<"
|
|
25
|
+
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
26
26
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
27
|
-
readonly borderColor: ConfigurableProperty<"
|
|
27
|
+
readonly borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
28
28
|
readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
29
29
|
readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
30
30
|
readonly fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
@@ -33,7 +33,7 @@ declare const publicProperties: {
|
|
|
33
33
|
readonly letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
34
34
|
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
35
35
|
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
36
|
-
readonly color: ConfigurableProperty<"
|
|
36
|
+
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
37
37
|
readonly opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
38
38
|
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
39
39
|
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
@@ -48,14 +48,14 @@ declare const publicProperties: {
|
|
|
48
48
|
readonly scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
|
|
49
49
|
};
|
|
50
50
|
declare const configurableProperties: {
|
|
51
|
-
outlineWidth: ConfigurableProperty<"
|
|
52
|
-
outlineColor: ConfigurableProperty<"
|
|
53
|
-
insetOutlineOffset: ConfigurableProperty<"
|
|
51
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
52
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
53
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
54
54
|
solidOutline: ConfigurableProperty<never, unknown>;
|
|
55
55
|
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
56
|
-
borderWidth: ConfigurableProperty<"
|
|
56
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
57
57
|
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
58
|
-
borderColor: ConfigurableProperty<"
|
|
58
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
59
59
|
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
60
60
|
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
61
61
|
fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
@@ -64,7 +64,7 @@ declare const configurableProperties: {
|
|
|
64
64
|
letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
65
65
|
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
66
66
|
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
67
|
-
color: ConfigurableProperty<"
|
|
67
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
68
68
|
opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
69
69
|
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
70
70
|
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
@@ -12,8 +12,8 @@ import "../../index.cjs";
|
|
|
12
12
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
13
13
|
*/
|
|
14
14
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
15
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
16
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"gap" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "color" | "shadow" | "insetShadow" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "opacity" | "scaleEffect" | "width" | "height" | "fontFamily" | "fontSize" | "letterSpacing" | "fontWeight" | "lineHeight" | "textTransform" | "iconSize" | "padding" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | "borderRadii"[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "opacitySteps"[] | "iconSizes"[] | "textDecorationLines"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "scaleEffects"[], readonly (readonly string[])[]>>>;
|
|
16
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"gap" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "color" | "shadow" | "insetShadow" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "opacity" | "scaleEffect" | "width" | "height" | "fontFamily" | "fontSize" | "letterSpacing" | "fontWeight" | "lineHeight" | "textTransform" | "iconSize" | "padding" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | "borderRadii"[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "opacitySteps"[] | "iconSizes"[] | "textDecorationLines"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "scaleEffects"[], readonly (readonly string[])[]>>>;
|
|
17
17
|
} | null;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { getConfigVariantProperties };
|
|
@@ -12,8 +12,8 @@ import "../../index.js";
|
|
|
12
12
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
13
13
|
*/
|
|
14
14
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
15
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
16
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"gap" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "color" | "shadow" | "insetShadow" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "opacity" | "scaleEffect" | "width" | "height" | "fontFamily" | "fontSize" | "letterSpacing" | "fontWeight" | "lineHeight" | "textTransform" | "iconSize" | "padding" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | "borderRadii"[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "opacitySteps"[] | "iconSizes"[] | "textDecorationLines"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "scaleEffects"[], readonly (readonly string[])[]>>>;
|
|
16
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"gap" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "color" | "shadow" | "insetShadow" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "opacity" | "scaleEffect" | "width" | "height" | "fontFamily" | "fontSize" | "letterSpacing" | "fontWeight" | "lineHeight" | "textTransform" | "iconSize" | "padding" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | "borderRadii"[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "opacitySteps"[] | "iconSizes"[] | "textDecorationLines"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "scaleEffects"[], readonly (readonly string[])[]>>>;
|
|
17
17
|
} | null;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { getConfigVariantProperties };
|