@yahoo/uds 3.147.0-beta.1 → 3.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/commands/sync.cjs +13 -13
- package/dist/cli/commands/sync.js +13 -13
- package/dist/css/dist/packages/fixtures/dist/index.cjs +14 -0
- package/dist/css/dist/packages/fixtures/dist/index.js +14 -0
- package/dist/fixtures/dist/index.cjs +8 -1
- package/dist/fixtures/dist/index.d.cts +1 -1
- package/dist/fixtures/dist/index.d.ts +1 -1
- package/dist/fixtures/dist/index.js +8 -1
- package/dist/styles/styler.d.cts +43 -43
- package/dist/styles/styler.d.ts +43 -43
- package/dist/tailwind/utils/index.d.cts +2 -2
- package/dist/tailwind/utils/index.d.ts +2 -2
- package/dist/tailwind-internal/dist/base/addFontFaceDeclarations.cjs +2 -2
- package/dist/tailwind-internal/dist/base/addFontFaceDeclarations.js +2 -2
- package/dist/tailwind-internal/dist/base/addFontVars.cjs +2 -2
- package/dist/tailwind-internal/dist/base/addFontVars.js +2 -2
- package/dist/tailwind-internal/dist/index.d.cts +1 -1
- package/dist/tailwind-internal/dist/index.d.ts +1 -1
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.cjs +14 -0
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.js +14 -0
- package/dist/tailwind-internal/dist/plugins/typography.cjs +3 -3
- package/dist/tailwind-internal/dist/plugins/typography.js +3 -3
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.cjs +2 -2
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.cts +0 -6
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.ts +0 -6
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.js +2 -2
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.cts +0 -7
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.ts +0 -7
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.cjs +2 -3
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.cts +58 -59
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.ts +58 -59
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.js +2 -3
- package/dist/tailwind-internal/dist/utils/getFontStyles.cjs +2 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.js +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
- package/dist/uds/generated/componentData.cjs +1595 -1595
- package/dist/uds/generated/componentData.js +1595 -1595
- package/dist/utils/dist/serializeToJS.cjs +72 -0
- package/dist/utils/dist/serializeToJS.js +72 -0
- package/generated/componentData.json +2197 -2197
- package/package.json +1 -1
- package/dist/utils/dist/sortKeys.cjs +0 -21
- package/dist/utils/dist/sortKeys.js +0 -21
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
4
4
|
const require_defaultTokensConfig = require("../../defaultTokensConfig.cjs");
|
|
5
|
-
const
|
|
5
|
+
const require_serializeToJS = require("../../utils/dist/serializeToJS.cjs");
|
|
6
6
|
const require_runtime_bottomSheetConfig = require("../../runtime/bottomSheetConfig.cjs");
|
|
7
7
|
const require_runtime_breakpointsConfig = require("../../runtime/breakpointsConfig.cjs");
|
|
8
8
|
const require_runtime_modalConfig = require("../../runtime/modalConfig.cjs");
|
|
@@ -70,24 +70,24 @@ const syncCommand = {
|
|
|
70
70
|
config = (await resp.json()).config;
|
|
71
71
|
}
|
|
72
72
|
if (!config) throw new Error("Config JSON could not be parsed.");
|
|
73
|
-
const
|
|
73
|
+
const serializedConfig = require_serializeToJS.serializeToJS(config);
|
|
74
74
|
const importsTS = [`import type { UniversalTokensConfig } from '@yahoo/uds';`];
|
|
75
|
-
const exportsTS = [`export const config: UniversalTokensConfig = ${
|
|
76
|
-
const exportsJS = [`export const config = ${
|
|
75
|
+
const exportsTS = [`export const config: UniversalTokensConfig = ${serializedConfig} as UniversalTokensConfig;`];
|
|
76
|
+
const exportsJS = [`export const config = ${serializedConfig};`];
|
|
77
77
|
const runtimeConfigs = {
|
|
78
|
-
bottomSheet: [require_runtime_bottomSheetConfig.configToBottomSheetConfigContext(
|
|
79
|
-
breakpoints: [require_runtime_breakpointsConfig.configToBreakpointsConfigContext(
|
|
80
|
-
modal: [require_runtime_modalConfig.configToModalConfigContext(
|
|
81
|
-
popover: [require_runtime_popoverConfig.configToPopoverConfigContext(
|
|
82
|
-
toast: [require_runtime_toastConfig.configToToastConfigContext(
|
|
83
|
-
tooltip: [require_runtime_tooltipConfig.configToTooltipConfigContext(
|
|
78
|
+
bottomSheet: [require_runtime_bottomSheetConfig.configToBottomSheetConfigContext(config), "UDSBottomSheetConfigContextType"],
|
|
79
|
+
breakpoints: [require_runtime_breakpointsConfig.configToBreakpointsConfigContext(config), "UDSBreakpointsConfigContextType"],
|
|
80
|
+
modal: [require_runtime_modalConfig.configToModalConfigContext(config), "UDSModalConfigContextType"],
|
|
81
|
+
popover: [require_runtime_popoverConfig.configToPopoverConfigContext(config), "UDSPopoverConfigContextType"],
|
|
82
|
+
toast: [require_runtime_toastConfig.configToToastConfigContext(config), "UDSToastConfigContextType"],
|
|
83
|
+
tooltip: [require_runtime_tooltipConfig.configToTooltipConfigContext(config), "UDSTooltipConfigContextType"]
|
|
84
84
|
};
|
|
85
85
|
const runtimeTypeImports = [];
|
|
86
86
|
for (const [name, [json, type]] of Object.entries(runtimeConfigs)) {
|
|
87
|
-
const
|
|
87
|
+
const serialized = require_serializeToJS.serializeToJS(json);
|
|
88
88
|
runtimeTypeImports.push(type);
|
|
89
|
-
exportsTS.push(`export const ${name}RuntimeConfig: ${type} = ${
|
|
90
|
-
exportsJS.push(`export const ${name}RuntimeConfig = ${
|
|
89
|
+
exportsTS.push(`export const ${name}RuntimeConfig: ${type} = ${serialized};`);
|
|
90
|
+
exportsJS.push(`export const ${name}RuntimeConfig = ${serialized};`);
|
|
91
91
|
}
|
|
92
92
|
runtimeTypeImports.push("UDSConfigContextType");
|
|
93
93
|
importsTS.push(`import type { ${runtimeTypeImports.sort().join(", ")} } from '@yahoo/uds/runtime';`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { defaultTokensConfig } from "../../defaultTokensConfig.js";
|
|
3
|
-
import {
|
|
3
|
+
import { serializeToJS } from "../../utils/dist/serializeToJS.js";
|
|
4
4
|
import { configToBottomSheetConfigContext } from "../../runtime/bottomSheetConfig.js";
|
|
5
5
|
import { configToBreakpointsConfigContext } from "../../runtime/breakpointsConfig.js";
|
|
6
6
|
import { configToModalConfigContext } from "../../runtime/modalConfig.js";
|
|
@@ -66,24 +66,24 @@ const syncCommand = {
|
|
|
66
66
|
config = (await resp.json()).config;
|
|
67
67
|
}
|
|
68
68
|
if (!config) throw new Error("Config JSON could not be parsed.");
|
|
69
|
-
const
|
|
69
|
+
const serializedConfig = serializeToJS(config);
|
|
70
70
|
const importsTS = [`import type { UniversalTokensConfig } from '@yahoo/uds';`];
|
|
71
|
-
const exportsTS = [`export const config: UniversalTokensConfig = ${
|
|
72
|
-
const exportsJS = [`export const config = ${
|
|
71
|
+
const exportsTS = [`export const config: UniversalTokensConfig = ${serializedConfig} as UniversalTokensConfig;`];
|
|
72
|
+
const exportsJS = [`export const config = ${serializedConfig};`];
|
|
73
73
|
const runtimeConfigs = {
|
|
74
|
-
bottomSheet: [configToBottomSheetConfigContext(
|
|
75
|
-
breakpoints: [configToBreakpointsConfigContext(
|
|
76
|
-
modal: [configToModalConfigContext(
|
|
77
|
-
popover: [configToPopoverConfigContext(
|
|
78
|
-
toast: [configToToastConfigContext(
|
|
79
|
-
tooltip: [configToTooltipConfigContext(
|
|
74
|
+
bottomSheet: [configToBottomSheetConfigContext(config), "UDSBottomSheetConfigContextType"],
|
|
75
|
+
breakpoints: [configToBreakpointsConfigContext(config), "UDSBreakpointsConfigContextType"],
|
|
76
|
+
modal: [configToModalConfigContext(config), "UDSModalConfigContextType"],
|
|
77
|
+
popover: [configToPopoverConfigContext(config), "UDSPopoverConfigContextType"],
|
|
78
|
+
toast: [configToToastConfigContext(config), "UDSToastConfigContextType"],
|
|
79
|
+
tooltip: [configToTooltipConfigContext(config), "UDSTooltipConfigContextType"]
|
|
80
80
|
};
|
|
81
81
|
const runtimeTypeImports = [];
|
|
82
82
|
for (const [name, [json, type]] of Object.entries(runtimeConfigs)) {
|
|
83
|
-
const
|
|
83
|
+
const serialized = serializeToJS(json);
|
|
84
84
|
runtimeTypeImports.push(type);
|
|
85
|
-
exportsTS.push(`export const ${name}RuntimeConfig: ${type} = ${
|
|
86
|
-
exportsJS.push(`export const ${name}RuntimeConfig = ${
|
|
85
|
+
exportsTS.push(`export const ${name}RuntimeConfig: ${type} = ${serialized};`);
|
|
86
|
+
exportsJS.push(`export const ${name}RuntimeConfig = ${serialized};`);
|
|
87
87
|
}
|
|
88
88
|
runtimeTypeImports.push("UDSConfigContextType");
|
|
89
89
|
importsTS.push(`import type { ${runtimeTypeImports.sort().join(", ")} } from '@yahoo/uds/runtime';`);
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
//#region ../css/dist/packages/fixtures/dist/index.mjs
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS CSS v0.0.0-development */
|
|
4
|
+
var breakpointSizeSort = {
|
|
5
|
+
sm: 0,
|
|
6
|
+
md: 1,
|
|
7
|
+
lg: 2,
|
|
8
|
+
xl: 3,
|
|
9
|
+
"2xl": 4
|
|
10
|
+
};
|
|
11
|
+
[
|
|
12
|
+
"sm",
|
|
13
|
+
"md",
|
|
14
|
+
"lg",
|
|
15
|
+
"xl",
|
|
16
|
+
"2xl"
|
|
17
|
+
].sort((a, b) => breakpointSizeSort[a] - breakpointSizeSort[b]);
|
|
4
18
|
var elevationAliases = [
|
|
5
19
|
"elevation-0",
|
|
6
20
|
"elevation-1",
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
//#region ../css/dist/packages/fixtures/dist/index.mjs
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS CSS v0.0.0-development */
|
|
4
|
+
var breakpointSizeSort = {
|
|
5
|
+
sm: 0,
|
|
6
|
+
md: 1,
|
|
7
|
+
lg: 2,
|
|
8
|
+
xl: 3,
|
|
9
|
+
"2xl": 4
|
|
10
|
+
};
|
|
11
|
+
[
|
|
12
|
+
"sm",
|
|
13
|
+
"md",
|
|
14
|
+
"lg",
|
|
15
|
+
"xl",
|
|
16
|
+
"2xl"
|
|
17
|
+
].sort((a, b) => breakpointSizeSort[a] - breakpointSizeSort[b]);
|
|
4
18
|
var elevationAliases = [
|
|
5
19
|
"elevation-0",
|
|
6
20
|
"elevation-1",
|
|
@@ -9,13 +9,20 @@ var positiveIntegers = createArbitraryFixture({
|
|
|
9
9
|
min: 0,
|
|
10
10
|
step: 1
|
|
11
11
|
});
|
|
12
|
+
var breakpointSizeSort = {
|
|
13
|
+
sm: 0,
|
|
14
|
+
md: 1,
|
|
15
|
+
lg: 2,
|
|
16
|
+
xl: 3,
|
|
17
|
+
"2xl": 4
|
|
18
|
+
};
|
|
12
19
|
var breakpoints = [
|
|
13
20
|
"sm",
|
|
14
21
|
"md",
|
|
15
22
|
"lg",
|
|
16
23
|
"xl",
|
|
17
24
|
"2xl"
|
|
18
|
-
];
|
|
25
|
+
].sort((a, b) => breakpointSizeSort[a] - breakpointSizeSort[b]);
|
|
19
26
|
var colorModes = ["light", "dark"];
|
|
20
27
|
var scaleModes = [
|
|
21
28
|
"xSmall",
|
|
@@ -64,7 +64,7 @@ declare const borderWidths: BorderWidth[];
|
|
|
64
64
|
declare const borderWidthsWithElevation: string[];
|
|
65
65
|
declare const iconSizes: IconSize[];
|
|
66
66
|
declare const iconVariants: IconVariant[];
|
|
67
|
-
declare const percentageSteps: (0 | 1 |
|
|
67
|
+
declare const percentageSteps: (0 | 1 | 2 | 3 | 4 | 100 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99)[];
|
|
68
68
|
/** Preserve order we want to display */
|
|
69
69
|
declare const spacingAliases: SpacingAlias[];
|
|
70
70
|
declare const spacingMap: Record<SpacingAlias, number>;
|
|
@@ -64,7 +64,7 @@ declare const borderWidths: BorderWidth[];
|
|
|
64
64
|
declare const borderWidthsWithElevation: string[];
|
|
65
65
|
declare const iconSizes: IconSize[];
|
|
66
66
|
declare const iconVariants: IconVariant[];
|
|
67
|
-
declare const percentageSteps: (0 | 1 |
|
|
67
|
+
declare const percentageSteps: (0 | 1 | 2 | 3 | 4 | 100 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99)[];
|
|
68
68
|
/** Preserve order we want to display */
|
|
69
69
|
declare const spacingAliases: SpacingAlias[];
|
|
70
70
|
declare const spacingMap: Record<SpacingAlias, number>;
|
|
@@ -9,13 +9,20 @@ var positiveIntegers = createArbitraryFixture({
|
|
|
9
9
|
min: 0,
|
|
10
10
|
step: 1
|
|
11
11
|
});
|
|
12
|
+
var breakpointSizeSort = {
|
|
13
|
+
sm: 0,
|
|
14
|
+
md: 1,
|
|
15
|
+
lg: 2,
|
|
16
|
+
xl: 3,
|
|
17
|
+
"2xl": 4
|
|
18
|
+
};
|
|
12
19
|
var breakpoints = [
|
|
13
20
|
"sm",
|
|
14
21
|
"md",
|
|
15
22
|
"lg",
|
|
16
23
|
"xl",
|
|
17
24
|
"2xl"
|
|
18
|
-
];
|
|
25
|
+
].sort((a, b) => breakpointSizeSort[a] - breakpointSizeSort[b]);
|
|
19
26
|
var colorModes = ["light", "dark"];
|
|
20
27
|
var scaleModes = [
|
|
21
28
|
"xSmall",
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -12,8 +12,8 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
-
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
16
|
-
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
18
|
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
19
|
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
@@ -33,8 +33,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
33
33
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
34
34
|
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
35
35
|
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
36
|
-
buttonVariantIcon?: "primary" | "secondary" | "
|
|
37
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
36
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
37
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
38
38
|
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
39
39
|
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
40
40
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
@@ -56,8 +56,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
56
56
|
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
57
57
|
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
58
58
|
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
59
|
-
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
60
|
-
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
59
|
+
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
60
|
+
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
61
61
|
inputSizeEndIcon?: "md" | "lg" | "default" | undefined;
|
|
62
62
|
inputSizeHelperIcon?: "md" | "lg" | "default" | undefined;
|
|
63
63
|
inputSizeHelperText?: "md" | "lg" | "default" | undefined;
|
|
@@ -86,8 +86,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
86
86
|
inputVariantValueLabelRequired?: "empty" | "filled" | undefined;
|
|
87
87
|
inputVariantValueRoot?: "empty" | "filled" | undefined;
|
|
88
88
|
inputVariantValueStartIcon?: "empty" | "filled" | undefined;
|
|
89
|
-
linkTextStyleIcon?: "
|
|
90
|
-
linkTextStyleRoot?: "
|
|
89
|
+
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "default" | undefined;
|
|
90
|
+
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "default" | undefined;
|
|
91
91
|
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | "default" | undefined;
|
|
92
92
|
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | "default" | undefined;
|
|
93
93
|
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | "default" | undefined;
|
|
@@ -127,8 +127,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
127
127
|
modalVariantDescription?: "default" | undefined;
|
|
128
128
|
modalVariantRoot?: "default" | undefined;
|
|
129
129
|
modalVariantTitle?: "default" | undefined;
|
|
130
|
-
paddlenavSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
131
|
-
paddlenavSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
130
|
+
paddlenavSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
131
|
+
paddlenavSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
132
132
|
paddlenavVariantBackground?: "primary" | "secondary" | "tertiary" | "default" | undefined;
|
|
133
133
|
paddlenavVariantIcon?: "primary" | "secondary" | "tertiary" | "default" | undefined;
|
|
134
134
|
paddlenavVariantRoot?: "primary" | "secondary" | "tertiary" | "default" | undefined;
|
|
@@ -176,10 +176,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
176
176
|
toastSizeIcon?: "default" | undefined;
|
|
177
177
|
toastSizeLabel?: "default" | undefined;
|
|
178
178
|
toastSizeRoot?: "default" | undefined;
|
|
179
|
-
toastVariantActionButton?: "warning" | "info" | "
|
|
180
|
-
toastVariantCloseIcon?: "warning" | "info" | "
|
|
181
|
-
toastVariantIcon?: "warning" | "info" | "
|
|
182
|
-
toastVariantRoot?: "warning" | "info" | "
|
|
179
|
+
toastVariantActionButton?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
180
|
+
toastVariantCloseIcon?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
181
|
+
toastVariantIcon?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
182
|
+
toastVariantRoot?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
183
183
|
tooltipSizeBody?: "default" | undefined;
|
|
184
184
|
tooltipSizeEndContent?: "default" | undefined;
|
|
185
185
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -190,11 +190,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
190
190
|
tooltipVariantIcon?: "default" | undefined;
|
|
191
191
|
tooltipVariantRoot?: "default" | undefined;
|
|
192
192
|
tooltipVariantSvg?: "default" | undefined;
|
|
193
|
-
color?: "primary" | "secondary" | "
|
|
194
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
193
|
+
color?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
194
|
+
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
195
195
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
196
196
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
197
|
-
fontWeight?: "black" | "thin" | "medium" | "
|
|
197
|
+
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "bold" | "extralight" | "light" | "regular" | "semibold" | "extrabold" | undefined;
|
|
198
198
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
199
199
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
200
200
|
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
@@ -216,49 +216,49 @@ declare const getStylesInternal: (props?: ({
|
|
|
216
216
|
columnGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
217
217
|
rowGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
218
218
|
backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
219
|
-
borderColor?: "primary" | "secondary" | "
|
|
220
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
221
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
222
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
223
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
224
|
-
borderRadius?: "
|
|
225
|
-
borderTopStartRadius?: "
|
|
226
|
-
borderTopEndRadius?: "
|
|
227
|
-
borderBottomStartRadius?: "
|
|
228
|
-
borderBottomEndRadius?: "
|
|
229
|
-
borderWidth?: "
|
|
230
|
-
borderVerticalWidth?: "
|
|
231
|
-
borderHorizontalWidth?: "
|
|
232
|
-
borderStartWidth?: "
|
|
233
|
-
borderEndWidth?: "
|
|
234
|
-
borderTopWidth?: "
|
|
235
|
-
borderBottomWidth?: "
|
|
219
|
+
borderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
220
|
+
borderStartColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
221
|
+
borderEndColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
222
|
+
borderBottomColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
223
|
+
borderTopColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
224
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
225
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
226
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
227
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
228
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
229
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
230
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
231
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
232
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
233
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
234
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
235
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
236
236
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
237
237
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
238
238
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
239
239
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
240
|
-
alignSelf?: "center" | "
|
|
241
|
-
flex?: "
|
|
240
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
241
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
242
242
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
243
243
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
244
244
|
flexShrink?: "0" | "1" | undefined;
|
|
245
245
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
246
246
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
247
247
|
flexBasis?: "min-content" | undefined;
|
|
248
|
-
display?: "
|
|
248
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
249
249
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
250
250
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
251
251
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
252
|
-
position?: "
|
|
253
|
-
contentFit?: "
|
|
252
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
253
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
254
254
|
colorMode?: "light" | "dark" | undefined;
|
|
255
255
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
256
256
|
width?: "full" | "fit" | "screen" | undefined;
|
|
257
257
|
height?: "full" | "fit" | "screen" | undefined;
|
|
258
|
-
dropShadow?: "
|
|
259
|
-
insetShadow?: "
|
|
260
|
-
nestedBorderRadiusSize?: "
|
|
261
|
-
nestedBorderRadiusWidth?: "
|
|
258
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
259
|
+
insetShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
260
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
261
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
262
262
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
263
263
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
264
264
|
} & {
|