@yahoo/uds 3.96.0-beta.3 → 3.97.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
  2. package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
  3. package/dist/cli/commands/purge.cjs +26 -0
  4. package/dist/cli/commands/purge.d.cts +15 -0
  5. package/dist/cli/commands/purge.d.ts +15 -0
  6. package/dist/cli/commands/purge.js +25 -0
  7. package/dist/cli/commands/sync.cjs +96 -0
  8. package/dist/cli/commands/sync.d.cts +16 -0
  9. package/dist/cli/commands/sync.d.ts +16 -0
  10. package/dist/cli/commands/sync.js +93 -0
  11. package/dist/cli/commands/utils/purgeCSS.cjs +258 -0
  12. package/dist/cli/commands/utils/purgeCSS.d.cts +59 -0
  13. package/dist/cli/commands/utils/purgeCSS.d.ts +59 -0
  14. package/dist/cli/commands/utils/purgeCSS.js +244 -0
  15. package/dist/cli/commands/utils/sortKeys.cjs +23 -0
  16. package/dist/cli/commands/utils/sortKeys.d.cts +5 -0
  17. package/dist/cli/commands/utils/sortKeys.d.ts +5 -0
  18. package/dist/cli/commands/utils/sortKeys.js +21 -0
  19. package/dist/cli/commands/version.cjs +21 -0
  20. package/dist/cli/commands/version.d.cts +7 -0
  21. package/dist/cli/commands/version.d.ts +7 -0
  22. package/dist/cli/commands/version.js +18 -0
  23. package/dist/cli/dist/cli.cjs +78 -0
  24. package/dist/cli/dist/cli.js +78 -0
  25. package/dist/cli/dist/commands/codemod/codemod.cjs +81 -0
  26. package/dist/cli/dist/commands/codemod/codemod.js +79 -0
  27. package/dist/cli/dist/commands/editor-rules.cjs +107 -0
  28. package/dist/cli/dist/commands/editor-rules.js +106 -0
  29. package/dist/cli/dist/lib/args.cjs +32 -0
  30. package/dist/cli/dist/lib/args.js +31 -0
  31. package/dist/cli/dist/lib/colors.cjs +26 -0
  32. package/dist/cli/dist/lib/colors.js +18 -0
  33. package/dist/cli/dist/lib/print.cjs +13 -0
  34. package/dist/cli/dist/lib/print.js +12 -0
  35. package/dist/cli/dist/lib/spinner.cjs +59 -0
  36. package/dist/cli/dist/lib/spinner.js +57 -0
  37. package/dist/cli/dist/utils/analytics.cjs +33 -0
  38. package/dist/cli/dist/utils/analytics.js +32 -0
  39. package/dist/cli/dist/utils/getCommandHelp.cjs +58 -0
  40. package/dist/cli/dist/utils/getCommandHelp.js +56 -0
  41. package/dist/cli/dist/utils/getDirChoices.cjs +27 -0
  42. package/dist/cli/dist/utils/getDirChoices.js +25 -0
  43. package/dist/cli/dist/utils/rules/config.cjs +56 -0
  44. package/dist/cli/dist/utils/rules/config.js +53 -0
  45. package/dist/cli/runner.cjs +14 -0
  46. package/dist/cli/runner.d.cts +2 -0
  47. package/dist/cli/runner.d.ts +2 -0
  48. package/dist/cli/runner.js +14 -0
  49. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
  50. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
  51. package/dist/components/experimental/client/Accordion.cjs +2 -2
  52. package/dist/components/experimental/client/Accordion.d.cts +1 -0
  53. package/dist/components/experimental/client/Accordion.d.ts +1 -0
  54. package/dist/components/experimental/client/Accordion.js +2 -2
  55. package/dist/styles/styler.d.cts +15 -15
  56. package/dist/styles/styler.d.ts +15 -15
  57. package/dist/tailwind/tailwindPlugin.d.cts +1 -1
  58. package/dist/tailwind/tailwindPlugin.d.ts +1 -1
  59. package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
  60. package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
  61. package/dist/tailwind/utils/getTailwindAsUdsColors.d.cts +1 -1
  62. package/dist/tailwind/utils/getTailwindAsUdsColors.d.ts +1 -1
  63. package/dist/uds/generated/tailwindPurge.cjs +1 -1
  64. package/dist/uds/generated/tailwindPurge.js +1 -1
  65. package/dist/uds/scripts/utils/tsMorph.cjs +1 -1
  66. package/dist/uds/scripts/utils/tsMorph.d.cts +1 -1
  67. package/dist/uds/scripts/utils/tsMorph.d.ts +1 -1
  68. package/package.json +4 -7
  69. package/uds.js +11 -1
  70. package/dist/cli.mjs +0 -897
@@ -0,0 +1,32 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ import { execSync } from "node:child_process";
3
+
4
+ //#region ../cli/dist/utils/analytics.mjs
5
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
6
+ async function trackEvent(eventName, eventParams) {
7
+ try {
8
+ let userEmail = "unknown";
9
+ if (process.env.CI) userEmail = "CI";
10
+ else try {
11
+ userEmail = execSync("git config user.email", {
12
+ encoding: "utf8",
13
+ stdio: "pipe"
14
+ }).trim();
15
+ } catch {}
16
+ const team = process.env.UDS_TEAM_SLUG;
17
+ const request = new Request("https://config.uds.build/api/cli-analytics", {
18
+ method: "POST",
19
+ body: JSON.stringify({
20
+ userEmail,
21
+ team,
22
+ eventName,
23
+ eventParams
24
+ }),
25
+ headers: { "Content-Type": "application/json" }
26
+ });
27
+ await fetch(request);
28
+ } catch (_error) {}
29
+ }
30
+
31
+ //#endregion
32
+ export { trackEvent };
@@ -0,0 +1,58 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ const require_colors = require('../lib/colors.cjs');
3
+ const require_print = require('../lib/print.cjs');
4
+
5
+ //#region ../cli/dist/utils/getCommandHelp.mjs
6
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
7
+ const CODEMOD_SUBCOMMANDS = [
8
+ {
9
+ name: "sizingProps",
10
+ description: "Convert sizing props to classNames"
11
+ },
12
+ {
13
+ name: "spacingProps",
14
+ description: "Migrate spacing props from old to new values"
15
+ },
16
+ {
17
+ name: "tailwindClassesToProps",
18
+ description: "Convert Tailwind classes to UDS props"
19
+ },
20
+ {
21
+ name: "flattenButtonVariant",
22
+ description: "Flatten Button variant props"
23
+ },
24
+ {
25
+ name: "buttonType",
26
+ description: "Add type attribute to Button components"
27
+ }
28
+ ];
29
+ const banner = `
30
+ █ █ █▀▄ ▄▀▀ ▄▀▀ █ █
31
+ ▀▄█ █▄▀ ▄██ ▀▄▄ █▄▄ █
32
+ Universal Design System
33
+ `.trim();
34
+ async function getCommandHelp(props) {
35
+ const { name, commandPath, notes } = props;
36
+ const category = commandPath?.[0];
37
+ require_print.print(`\n${require_colors.green(banner)}\n`);
38
+ require_print.print(`${require_colors.magenta("Usage:")} ${require_colors.white(`${name} <command>`)}\n`);
39
+ if (category === "codemod") {
40
+ require_print.print(`${require_colors.magenta("Codemods:")}`);
41
+ const widest = Math.max(...CODEMOD_SUBCOMMANDS.map((c) => c.name.length)) + 4;
42
+ for (const cmd of CODEMOD_SUBCOMMANDS) require_print.print(` ${require_colors.cyan(`${name} codemod ${cmd.name}`.padEnd(widest + 12))} ${require_colors.gray(cmd.description)}`);
43
+ }
44
+ if (notes) require_print.print(`\n${require_colors.magenta("Notes:")} ${notes}`);
45
+ require_print.print("");
46
+ }
47
+ async function getSubCommandsChoices(_props) {
48
+ return CODEMOD_SUBCOMMANDS.map((cmd) => ({
49
+ title: `${cmd.name} (${cmd.description})`,
50
+ value: cmd.name,
51
+ selected: true
52
+ }));
53
+ }
54
+
55
+ //#endregion
56
+ exports.CODEMOD_SUBCOMMANDS = CODEMOD_SUBCOMMANDS;
57
+ exports.getCommandHelp = getCommandHelp;
58
+ exports.getSubCommandsChoices = getSubCommandsChoices;
@@ -0,0 +1,56 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ import { cyan, gray, green, magenta, white } from "../lib/colors.js";
3
+ import { print } from "../lib/print.js";
4
+
5
+ //#region ../cli/dist/utils/getCommandHelp.mjs
6
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
7
+ const CODEMOD_SUBCOMMANDS = [
8
+ {
9
+ name: "sizingProps",
10
+ description: "Convert sizing props to classNames"
11
+ },
12
+ {
13
+ name: "spacingProps",
14
+ description: "Migrate spacing props from old to new values"
15
+ },
16
+ {
17
+ name: "tailwindClassesToProps",
18
+ description: "Convert Tailwind classes to UDS props"
19
+ },
20
+ {
21
+ name: "flattenButtonVariant",
22
+ description: "Flatten Button variant props"
23
+ },
24
+ {
25
+ name: "buttonType",
26
+ description: "Add type attribute to Button components"
27
+ }
28
+ ];
29
+ const banner = `
30
+ █ █ █▀▄ ▄▀▀ ▄▀▀ █ █
31
+ ▀▄█ █▄▀ ▄██ ▀▄▄ █▄▄ █
32
+ Universal Design System
33
+ `.trim();
34
+ async function getCommandHelp(props) {
35
+ const { name, commandPath, notes } = props;
36
+ const category = commandPath?.[0];
37
+ print(`\n${green(banner)}\n`);
38
+ print(`${magenta("Usage:")} ${white(`${name} <command>`)}\n`);
39
+ if (category === "codemod") {
40
+ print(`${magenta("Codemods:")}`);
41
+ const widest = Math.max(...CODEMOD_SUBCOMMANDS.map((c) => c.name.length)) + 4;
42
+ for (const cmd of CODEMOD_SUBCOMMANDS) print(` ${cyan(`${name} codemod ${cmd.name}`.padEnd(widest + 12))} ${gray(cmd.description)}`);
43
+ }
44
+ if (notes) print(`\n${magenta("Notes:")} ${notes}`);
45
+ print("");
46
+ }
47
+ async function getSubCommandsChoices(_props) {
48
+ return CODEMOD_SUBCOMMANDS.map((cmd) => ({
49
+ title: `${cmd.name} (${cmd.description})`,
50
+ value: cmd.name,
51
+ selected: true
52
+ }));
53
+ }
54
+
55
+ //#endregion
56
+ export { CODEMOD_SUBCOMMANDS, getCommandHelp, getSubCommandsChoices };
@@ -0,0 +1,27 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
3
+ let node_fs = require("node:fs");
4
+ node_fs = require_runtime.__toESM(node_fs);
5
+
6
+ //#region ../cli/dist/utils/getDirChoices.mjs
7
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
8
+ const lessCommonDirs = [
9
+ "node_modules",
10
+ ".git",
11
+ ".github",
12
+ ".husky",
13
+ ".vscode",
14
+ "dist",
15
+ "build",
16
+ "public"
17
+ ];
18
+ const getDirChoices = (rootDir = ".") => {
19
+ return node_fs.default.readdirSync(rootDir).filter((dir) => node_fs.default.statSync(dir).isDirectory() && dir !== "node_modules" && !dir.startsWith(".")).map((dir) => ({
20
+ title: dir,
21
+ value: dir,
22
+ selected: !lessCommonDirs.includes(dir)
23
+ }));
24
+ };
25
+
26
+ //#endregion
27
+ exports.getDirChoices = getDirChoices;
@@ -0,0 +1,25 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ import fs from "node:fs";
3
+
4
+ //#region ../cli/dist/utils/getDirChoices.mjs
5
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
6
+ const lessCommonDirs = [
7
+ "node_modules",
8
+ ".git",
9
+ ".github",
10
+ ".husky",
11
+ ".vscode",
12
+ "dist",
13
+ "build",
14
+ "public"
15
+ ];
16
+ const getDirChoices = (rootDir = ".") => {
17
+ return fs.readdirSync(rootDir).filter((dir) => fs.statSync(dir).isDirectory() && dir !== "node_modules" && !dir.startsWith(".")).map((dir) => ({
18
+ title: dir,
19
+ value: dir,
20
+ selected: !lessCommonDirs.includes(dir)
21
+ }));
22
+ };
23
+
24
+ //#endregion
25
+ export { getDirChoices };
@@ -0,0 +1,56 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ const require_runtime = require('../../../../_virtual/_rolldown/runtime.cjs');
3
+ let node_fs = require("node:fs");
4
+ let node_path = require("node:path");
5
+ let node_url = require("node:url");
6
+
7
+ //#region ../cli/dist/utils/rules/config.mjs
8
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
9
+ const __dirname$1 = (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
10
+ const EDITOR_CONFIGS = { cursor: {
11
+ name: "Cursor",
12
+ description: "AI-powered coding assistant rules for UDS development",
13
+ rules: [
14
+ {
15
+ name: "UDS Components",
16
+ description: "Component development guidelines and patterns",
17
+ files: [{
18
+ source: "rules/cursor/uds/components.mdc",
19
+ target: ".cursor/rules/uds/components.mdc",
20
+ type: "file"
21
+ }]
22
+ },
23
+ {
24
+ name: "UDS Tailwind",
25
+ description: "Tailwind CSS configuration and setup guidelines",
26
+ files: [{
27
+ source: "rules/cursor/uds/tailwind.mdc",
28
+ target: ".cursor/rules/uds/tailwind.mdc",
29
+ type: "file"
30
+ }]
31
+ },
32
+ {
33
+ name: "UDS Icons",
34
+ description: "Icon usage and documentation guidelines",
35
+ files: [{
36
+ source: "rules/cursor/uds/icons.mdc",
37
+ target: ".cursor/rules/uds/icons.mdc",
38
+ type: "file"
39
+ }]
40
+ }
41
+ ]
42
+ } };
43
+ function getAvailableEditors() {
44
+ return Object.keys(EDITOR_CONFIGS);
45
+ }
46
+ function getEditorConfig(editor) {
47
+ return EDITOR_CONFIGS[editor];
48
+ }
49
+ function getRuleContent(rulePath) {
50
+ return (0, node_fs.readFileSync)((0, node_path.join)(__dirname$1, rulePath), "utf-8");
51
+ }
52
+
53
+ //#endregion
54
+ exports.getAvailableEditors = getAvailableEditors;
55
+ exports.getEditorConfig = getEditorConfig;
56
+ exports.getRuleContent = getRuleContent;
@@ -0,0 +1,53 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ import { readFileSync } from "node:fs";
3
+ import { dirname, join } from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
+
6
+ //#region ../cli/dist/utils/rules/config.mjs
7
+ /*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
8
+ const __dirname = dirname(fileURLToPath(import.meta.url));
9
+ const EDITOR_CONFIGS = { cursor: {
10
+ name: "Cursor",
11
+ description: "AI-powered coding assistant rules for UDS development",
12
+ rules: [
13
+ {
14
+ name: "UDS Components",
15
+ description: "Component development guidelines and patterns",
16
+ files: [{
17
+ source: "rules/cursor/uds/components.mdc",
18
+ target: ".cursor/rules/uds/components.mdc",
19
+ type: "file"
20
+ }]
21
+ },
22
+ {
23
+ name: "UDS Tailwind",
24
+ description: "Tailwind CSS configuration and setup guidelines",
25
+ files: [{
26
+ source: "rules/cursor/uds/tailwind.mdc",
27
+ target: ".cursor/rules/uds/tailwind.mdc",
28
+ type: "file"
29
+ }]
30
+ },
31
+ {
32
+ name: "UDS Icons",
33
+ description: "Icon usage and documentation guidelines",
34
+ files: [{
35
+ source: "rules/cursor/uds/icons.mdc",
36
+ target: ".cursor/rules/uds/icons.mdc",
37
+ type: "file"
38
+ }]
39
+ }
40
+ ]
41
+ } };
42
+ function getAvailableEditors() {
43
+ return Object.keys(EDITOR_CONFIGS);
44
+ }
45
+ function getEditorConfig(editor) {
46
+ return EDITOR_CONFIGS[editor];
47
+ }
48
+ function getRuleContent(rulePath) {
49
+ return readFileSync(join(__dirname, rulePath), "utf-8");
50
+ }
51
+
52
+ //#endregion
53
+ export { getAvailableEditors, getEditorConfig, getRuleContent };
@@ -0,0 +1,14 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ const require_cli = require('./dist/cli.cjs');
3
+ const require_cli_commands_purge = require('./commands/purge.cjs');
4
+ const require_cli_commands_sync = require('./commands/sync.cjs');
5
+ const require_cli_commands_version = require('./commands/version.cjs');
6
+
7
+ //#region src/cli/runner.ts
8
+ require_cli.run([
9
+ require_cli_commands_version.versionCommand,
10
+ require_cli_commands_sync.syncCommand,
11
+ require_cli_commands_purge.purgeCommand
12
+ ]);
13
+
14
+ //#endregion
@@ -0,0 +1,2 @@
1
+
2
+ export { };
@@ -0,0 +1,2 @@
1
+
2
+ export { };
@@ -0,0 +1,14 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ import { run } from "./dist/cli.js";
3
+ import { purgeCommand } from "./commands/purge.js";
4
+ import { syncCommand } from "./commands/sync.js";
5
+ import { versionCommand } from "./commands/version.js";
6
+
7
+ //#region src/cli/runner.ts
8
+ run([
9
+ versionCommand,
10
+ syncCommand,
11
+ purgeCommand
12
+ ]);
13
+
14
+ //#endregion
@@ -88,6 +88,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
88
88
  *
89
89
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
90
90
  **/
91
- declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
91
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & react.RefAttributes<HTMLDivElement>>;
92
92
  //#endregion
93
93
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -88,6 +88,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
88
88
  *
89
89
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
90
90
  **/
91
- declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
91
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & react.RefAttributes<HTMLDivElement>>;
92
92
  //#endregion
93
93
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -13,7 +13,7 @@ let _yahoo_uds_icons = require("@yahoo/uds-icons");
13
13
  let motion_react = require("motion/react");
14
14
 
15
15
  //#region src/components/experimental/client/Accordion.tsx
16
- function Accordion({ label, children, onClick, open, spacingHorizontal = "4", _content, className, textProps, ...props }) {
16
+ function Accordion({ label, children, onClick, open, spacingHorizontal = "4", spacingVertical = "4", _content, className, textProps, ...props }) {
17
17
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_client_SpringMotionConfig.SpringMotionConfig, {
18
18
  layoutVariant: "smooth",
19
19
  layoutSpeed: "3",
@@ -22,7 +22,7 @@ function Accordion({ label, children, onClick, open, spacingHorizontal = "4", _c
22
22
  flexDirection: "row",
23
23
  alignItems: "center",
24
24
  justifyContent: "space-between",
25
- spacingVertical: "4",
25
+ spacingVertical,
26
26
  spacingHorizontal,
27
27
  borderRadius: "md",
28
28
  onClick,
@@ -19,6 +19,7 @@ declare function Accordion({
19
19
  onClick,
20
20
  open,
21
21
  spacingHorizontal,
22
+ spacingVertical,
22
23
  _content,
23
24
  className,
24
25
  textProps,
@@ -19,6 +19,7 @@ declare function Accordion({
19
19
  onClick,
20
20
  open,
21
21
  spacingHorizontal,
22
+ spacingVertical,
22
23
  _content,
23
24
  className,
24
25
  textProps,
@@ -11,7 +11,7 @@ import { ChevronRight } from "@yahoo/uds-icons";
11
11
  import { AnimatePresence, m } from "motion/react";
12
12
 
13
13
  //#region src/components/experimental/client/Accordion.tsx
14
- function Accordion({ label, children, onClick, open, spacingHorizontal = "4", _content, className, textProps, ...props }) {
14
+ function Accordion({ label, children, onClick, open, spacingHorizontal = "4", spacingVertical = "4", _content, className, textProps, ...props }) {
15
15
  return /* @__PURE__ */ jsxs(SpringMotionConfig, {
16
16
  layoutVariant: "smooth",
17
17
  layoutSpeed: "3",
@@ -20,7 +20,7 @@ function Accordion({ label, children, onClick, open, spacingHorizontal = "4", _c
20
20
  flexDirection: "row",
21
21
  alignItems: "center",
22
22
  justifyContent: "space-between",
23
- spacingVertical: "4",
23
+ spacingVertical,
24
24
  spacingHorizontal,
25
25
  borderRadius: "md",
26
26
  onClick,
@@ -21,8 +21,8 @@ declare const getStylesInternal: (props?: ({
21
21
  badgeVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
22
22
  buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | undefined;
23
23
  buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | undefined;
24
- buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
25
- buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
24
+ buttonVariantIcon?: "primary" | "secondary" | "tertiary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "brand-tertiary" | "alert-tertiary" | "positive-tertiary" | "warning-tertiary" | "info-tertiary" | undefined;
25
+ buttonVariantRoot?: "primary" | "secondary" | "tertiary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "brand-tertiary" | "alert-tertiary" | "positive-tertiary" | "warning-tertiary" | "info-tertiary" | undefined;
26
26
  checkboxSizeCheckbox?: "sm" | "md" | undefined;
27
27
  checkboxSizeRoot?: "sm" | "md" | undefined;
28
28
  checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
@@ -126,18 +126,18 @@ declare const getStylesInternal: (props?: ({
126
126
  toastSizeIcon?: "default" | undefined;
127
127
  toastSizeLabel?: "default" | undefined;
128
128
  toastSizeRoot?: "default" | undefined;
129
- toastVariantActionButton?: "warning" | "info" | "error" | "loading" | "success" | undefined;
130
- toastVariantCloseIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
131
- toastVariantIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
132
- toastVariantRoot?: "warning" | "info" | "error" | "loading" | "success" | undefined;
133
- 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;
134
- 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;
129
+ toastVariantActionButton?: "warning" | "info" | "loading" | "error" | "success" | undefined;
130
+ toastVariantCloseIcon?: "warning" | "info" | "loading" | "error" | "success" | undefined;
131
+ toastVariantIcon?: "warning" | "info" | "loading" | "error" | "success" | undefined;
132
+ toastVariantRoot?: "warning" | "info" | "loading" | "error" | "success" | undefined;
133
+ color?: "primary" | "secondary" | "tertiary" | "muted" | "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" | "on-color" | undefined;
134
+ placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "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" | "on-color" | undefined;
135
135
  fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
136
136
  fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
137
- fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "light" | "bold" | "extralight" | "regular" | "semibold" | "extrabold" | undefined;
137
+ 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;
138
138
  lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
139
139
  letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
140
- textAlign?: "center" | "justify" | "start" | "end" | undefined;
140
+ textAlign?: "center" | "start" | "end" | "justify" | undefined;
141
141
  textTransform?: "none" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "uppercase" | "lowercase" | "capitalize" | undefined;
142
142
  spacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
143
143
  spacingHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
@@ -156,11 +156,11 @@ declare const getStylesInternal: (props?: ({
156
156
  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;
157
157
  rowGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
158
158
  backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
159
- borderColor?: "primary" | "secondary" | "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;
160
- 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;
161
- 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;
162
- 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;
163
- 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;
159
+ borderColor?: "primary" | "secondary" | "tertiary" | "muted" | "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;
160
+ borderStartColor?: "primary" | "secondary" | "tertiary" | "muted" | "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;
161
+ borderEndColor?: "primary" | "secondary" | "tertiary" | "muted" | "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;
162
+ borderBottomColor?: "primary" | "secondary" | "tertiary" | "muted" | "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;
163
+ borderTopColor?: "primary" | "secondary" | "tertiary" | "muted" | "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;
164
164
  borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
165
165
  borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
166
166
  borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;