@yahoo/uds 3.96.0 → 3.97.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/purge.cjs +26 -0
- package/dist/cli/commands/purge.d.cts +15 -0
- package/dist/cli/commands/purge.d.ts +15 -0
- package/dist/cli/commands/purge.js +25 -0
- package/dist/cli/commands/sync.cjs +96 -0
- package/dist/cli/commands/sync.d.cts +16 -0
- package/dist/cli/commands/sync.d.ts +16 -0
- package/dist/cli/commands/sync.js +93 -0
- package/dist/cli/commands/utils/purgeCSS.cjs +258 -0
- package/dist/cli/commands/utils/purgeCSS.d.cts +59 -0
- package/dist/cli/commands/utils/purgeCSS.d.ts +59 -0
- package/dist/cli/commands/utils/purgeCSS.js +244 -0
- package/dist/cli/commands/utils/sortKeys.cjs +23 -0
- package/dist/cli/commands/utils/sortKeys.d.cts +5 -0
- package/dist/cli/commands/utils/sortKeys.d.ts +5 -0
- package/dist/cli/commands/utils/sortKeys.js +21 -0
- package/dist/cli/commands/version.cjs +21 -0
- package/dist/cli/commands/version.d.cts +7 -0
- package/dist/cli/commands/version.d.ts +7 -0
- package/dist/cli/commands/version.js +18 -0
- package/dist/cli/dist/cli.cjs +78 -0
- package/dist/cli/dist/cli.js +78 -0
- package/dist/cli/dist/commands/codemod/codemod.cjs +81 -0
- package/dist/cli/dist/commands/codemod/codemod.js +79 -0
- package/dist/cli/dist/commands/editor-rules.cjs +107 -0
- package/dist/cli/dist/commands/editor-rules.js +106 -0
- package/dist/cli/dist/lib/args.cjs +32 -0
- package/dist/cli/dist/lib/args.js +31 -0
- package/dist/cli/dist/lib/colors.cjs +26 -0
- package/dist/cli/dist/lib/colors.js +18 -0
- package/dist/cli/dist/lib/print.cjs +13 -0
- package/dist/cli/dist/lib/print.js +12 -0
- package/dist/cli/dist/lib/spinner.cjs +59 -0
- package/dist/cli/dist/lib/spinner.js +57 -0
- package/dist/cli/dist/utils/analytics.cjs +33 -0
- package/dist/cli/dist/utils/analytics.js +32 -0
- package/dist/cli/dist/utils/getCommandHelp.cjs +58 -0
- package/dist/cli/dist/utils/getCommandHelp.js +56 -0
- package/dist/cli/dist/utils/getDirChoices.cjs +27 -0
- package/dist/cli/dist/utils/getDirChoices.js +25 -0
- package/dist/cli/dist/utils/rules/config.cjs +56 -0
- package/dist/cli/dist/utils/rules/config.js +53 -0
- package/dist/cli/runner.cjs +14 -0
- package/dist/cli/runner.d.cts +2 -0
- package/dist/cli/runner.d.ts +2 -0
- package/dist/cli/runner.js +14 -0
- package/dist/styles/styler.d.cts +32 -32
- package/dist/styles/styler.d.ts +32 -32
- package/dist/tailwind/tailwindPlugin.d.cts +1 -1
- package/dist/tailwind/tailwindPlugin.d.ts +1 -1
- package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/uds/scripts/utils/tsMorph.cjs +1 -1
- package/dist/uds/scripts/utils/tsMorph.d.cts +1 -1
- package/dist/uds/scripts/utils/tsMorph.d.ts +1 -1
- package/package.json +5 -8
- package/uds.js +11 -1
- package/dist/cli.mjs +0 -897
|
@@ -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,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
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -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" | "
|
|
25
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
24
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
25
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
26
26
|
checkboxSizeCheckbox?: "sm" | "md" | undefined;
|
|
27
27
|
checkboxSizeRoot?: "sm" | "md" | undefined;
|
|
28
28
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
|
@@ -130,14 +130,14 @@ declare const getStylesInternal: (props?: ({
|
|
|
130
130
|
toastVariantCloseIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
131
131
|
toastVariantIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
132
132
|
toastVariantRoot?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
133
|
-
color?: "primary" | "secondary" | "
|
|
134
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
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;
|
|
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" | "
|
|
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;
|
|
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?: "
|
|
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,49 +156,49 @@ 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" | "
|
|
160
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
161
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
162
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
163
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
164
|
-
borderRadius?: "
|
|
165
|
-
borderTopStartRadius?: "
|
|
166
|
-
borderTopEndRadius?: "
|
|
167
|
-
borderBottomStartRadius?: "
|
|
168
|
-
borderBottomEndRadius?: "
|
|
169
|
-
borderWidth?: "
|
|
170
|
-
borderVerticalWidth?: "
|
|
171
|
-
borderHorizontalWidth?: "
|
|
172
|
-
borderStartWidth?: "
|
|
173
|
-
borderEndWidth?: "
|
|
174
|
-
borderTopWidth?: "
|
|
175
|
-
borderBottomWidth?: "
|
|
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;
|
|
164
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
165
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
166
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
167
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
168
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
169
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
170
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
171
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
172
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
173
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
174
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
175
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
176
176
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
177
177
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
178
178
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
179
179
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
180
|
-
alignSelf?: "center" | "
|
|
181
|
-
flex?: "
|
|
180
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
181
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
182
182
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
183
183
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
184
184
|
flexShrink?: "0" | "1" | undefined;
|
|
185
185
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
186
186
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
187
187
|
flexBasis?: "min-content" | undefined;
|
|
188
|
-
display?: "
|
|
188
|
+
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;
|
|
189
189
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
190
190
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
191
191
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
192
|
-
position?: "
|
|
193
|
-
contentFit?: "
|
|
192
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
193
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
194
194
|
colorMode?: "light" | "dark" | undefined;
|
|
195
195
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
196
196
|
width?: "full" | "fit" | "screen" | undefined;
|
|
197
197
|
height?: "full" | "fit" | "screen" | undefined;
|
|
198
|
-
dropShadow?: "
|
|
199
|
-
insetShadow?: "
|
|
200
|
-
nestedBorderRadiusSize?: "
|
|
201
|
-
nestedBorderRadiusWidth?: "
|
|
198
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
199
|
+
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
200
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
201
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
202
202
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
203
203
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
204
204
|
} & {
|
package/dist/styles/styler.d.ts
CHANGED
|
@@ -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" | "
|
|
25
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
24
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
25
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
26
26
|
checkboxSizeCheckbox?: "sm" | "md" | undefined;
|
|
27
27
|
checkboxSizeRoot?: "sm" | "md" | undefined;
|
|
28
28
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
|
@@ -130,14 +130,14 @@ declare const getStylesInternal: (props?: ({
|
|
|
130
130
|
toastVariantCloseIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
131
131
|
toastVariantIcon?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
132
132
|
toastVariantRoot?: "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
133
|
-
color?: "primary" | "secondary" | "
|
|
134
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
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;
|
|
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" | "
|
|
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;
|
|
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?: "
|
|
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,49 +156,49 @@ 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" | "
|
|
160
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
161
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
162
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
163
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
164
|
-
borderRadius?: "
|
|
165
|
-
borderTopStartRadius?: "
|
|
166
|
-
borderTopEndRadius?: "
|
|
167
|
-
borderBottomStartRadius?: "
|
|
168
|
-
borderBottomEndRadius?: "
|
|
169
|
-
borderWidth?: "
|
|
170
|
-
borderVerticalWidth?: "
|
|
171
|
-
borderHorizontalWidth?: "
|
|
172
|
-
borderStartWidth?: "
|
|
173
|
-
borderEndWidth?: "
|
|
174
|
-
borderTopWidth?: "
|
|
175
|
-
borderBottomWidth?: "
|
|
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;
|
|
164
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
165
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
166
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
167
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
168
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
169
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
170
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
171
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
172
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
173
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
174
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
175
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
176
176
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
177
177
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
178
178
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
179
179
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
180
|
-
alignSelf?: "center" | "
|
|
181
|
-
flex?: "
|
|
180
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
181
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
182
182
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
183
183
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
184
184
|
flexShrink?: "0" | "1" | undefined;
|
|
185
185
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
186
186
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
187
187
|
flexBasis?: "min-content" | undefined;
|
|
188
|
-
display?: "
|
|
188
|
+
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;
|
|
189
189
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
190
190
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
191
191
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
192
|
-
position?: "
|
|
193
|
-
contentFit?: "
|
|
192
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
193
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
194
194
|
colorMode?: "light" | "dark" | undefined;
|
|
195
195
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
196
196
|
width?: "full" | "fit" | "screen" | undefined;
|
|
197
197
|
height?: "full" | "fit" | "screen" | undefined;
|
|
198
|
-
dropShadow?: "
|
|
199
|
-
insetShadow?: "
|
|
200
|
-
nestedBorderRadiusSize?: "
|
|
201
|
-
nestedBorderRadiusWidth?: "
|
|
198
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
199
|
+
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
200
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
201
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
202
202
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
203
203
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
204
204
|
} & {
|