cetec-design-system 0.0.2 → 0.0.4
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/package.json +12 -2
- package/styled-system/css/conditions.js +36 -0
- package/styled-system/css/conditions.mjs +36 -0
- package/styled-system/css/css.d.ts +22 -0
- package/styled-system/css/css.js +45 -0
- package/styled-system/css/css.mjs +45 -0
- package/styled-system/css/cva.d.ts +6 -0
- package/styled-system/css/cva.js +87 -0
- package/styled-system/css/cva.mjs +87 -0
- package/styled-system/css/cx.d.ts +5 -0
- package/styled-system/css/cx.js +15 -0
- package/styled-system/css/cx.mjs +15 -0
- package/styled-system/css/index.d.ts +5 -0
- package/styled-system/css/index.js +4 -0
- package/styled-system/css/index.mjs +4 -0
- package/styled-system/css/sva.d.ts +4 -0
- package/styled-system/css/sva.js +41 -0
- package/styled-system/css/sva.mjs +41 -0
- package/styled-system/debug/config.json +8379 -0
- package/styled-system/debug/src__App.ast.json +1291 -0
- package/styled-system/debug/src__App.css +830 -0
- package/styled-system/debug/src__components__Button__Button.stories.ast.json +244 -0
- package/styled-system/debug/src__components__Button__Button.stories.css +372 -0
- package/styled-system/debug/src__components__Code__Code.ast.json +32 -0
- package/styled-system/debug/src__components__Code__Code.css +25 -0
- package/styled-system/debug/src__components__Code__Pre.ast.json +53 -0
- package/styled-system/debug/src__components__Code__Pre.css +45 -0
- package/styled-system/debug/src__components__Code__copy-to-clipboard-button.ast.json +68 -0
- package/styled-system/debug/src__components__Code__copy-to-clipboard-button.css +167 -0
- package/styled-system/debug/src__components__Heading__Heading.ast.json +59 -0
- package/styled-system/debug/src__components__Heading__Heading.css +25 -0
- package/styled-system/debug/src__components__Icon__Icon.ast.json +28 -0
- package/styled-system/debug/src__components__Icon__Icon.css +9 -0
- package/styled-system/debug/src__components__Icon__iconStyle.ast.json +27 -0
- package/styled-system/debug/src__components__Icon__iconStyle.css +5 -0
- package/styled-system/debug/src__components__Input__Input.ast.json +50 -0
- package/styled-system/debug/src__components__Input__Input.css +79 -0
- package/styled-system/debug/src__components__Label__Label.ast.json +45 -0
- package/styled-system/debug/src__components__Label__Label.css +40 -0
- package/styled-system/debug/src__components__Link__Link.ast.json +72 -0
- package/styled-system/debug/src__components__Link__Link.css +39 -0
- package/styled-system/debug/src__components__Link__linkStyles.ast.json +59 -0
- package/styled-system/debug/src__components__Link__linkStyles.css +77 -0
- package/styled-system/debug/src__components__Spinner__spinnerStyles.ast.json +56 -0
- package/styled-system/debug/src__components__Spinner__spinnerStyles.css +69 -0
- package/styled-system/debug/src__components__Text__Text.ast.json +57 -0
- package/styled-system/debug/src__components__Text__Text.css +22 -0
- package/styled-system/debug/src__components__Text__Text.stories.ast.json +60 -0
- package/styled-system/debug/src__components__Text__Text.stories.css +40 -0
- package/styled-system/debug/src__components__Textarea__Textarea.ast.json +50 -0
- package/styled-system/debug/src__components__Textarea__Textarea.css +92 -0
- package/styled-system/debug/src__components__ThemeSwitcher__ThemeSwitcher.ast.json +42 -0
- package/styled-system/debug/src__components__ThemeSwitcher__ThemeSwitcher.css +101 -0
- package/styled-system/helpers.js +336 -0
- package/styled-system/helpers.mjs +336 -0
- package/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/styled-system/jsx/aspect-ratio.js +14 -0
- package/styled-system/jsx/aspect-ratio.mjs +14 -0
- package/styled-system/jsx/bleed.d.ts +10 -0
- package/styled-system/jsx/bleed.js +14 -0
- package/styled-system/jsx/bleed.mjs +14 -0
- package/styled-system/jsx/box.d.ts +10 -0
- package/styled-system/jsx/box.mjs +14 -0
- package/styled-system/jsx/center.d.ts +10 -0
- package/styled-system/jsx/center.js +14 -0
- package/styled-system/jsx/center.mjs +14 -0
- package/styled-system/jsx/circle.d.ts +10 -0
- package/styled-system/jsx/circle.js +14 -0
- package/styled-system/jsx/circle.mjs +14 -0
- package/styled-system/jsx/container.d.ts +10 -0
- package/styled-system/jsx/container.js +14 -0
- package/styled-system/jsx/container.mjs +14 -0
- package/styled-system/jsx/cq.d.ts +10 -0
- package/styled-system/jsx/cq.js +14 -0
- package/styled-system/jsx/cq.mjs +14 -0
- package/styled-system/jsx/divider.d.ts +10 -0
- package/styled-system/jsx/divider.mjs +14 -0
- package/styled-system/jsx/factory-helper.js +22 -0
- package/styled-system/jsx/factory-helper.mjs +22 -0
- package/styled-system/jsx/factory.d.ts +3 -0
- package/styled-system/jsx/factory.js +80 -0
- package/styled-system/jsx/factory.mjs +80 -0
- package/styled-system/jsx/flex.d.ts +10 -0
- package/styled-system/jsx/flex.js +14 -0
- package/styled-system/jsx/flex.mjs +14 -0
- package/styled-system/jsx/float.d.ts +10 -0
- package/styled-system/jsx/float.js +14 -0
- package/styled-system/jsx/float.mjs +14 -0
- package/styled-system/jsx/grid-item.d.ts +10 -0
- package/styled-system/jsx/grid-item.js +14 -0
- package/styled-system/jsx/grid-item.mjs +14 -0
- package/styled-system/jsx/grid.d.ts +10 -0
- package/styled-system/jsx/grid.js +14 -0
- package/styled-system/jsx/grid.mjs +14 -0
- package/styled-system/jsx/hstack.d.ts +10 -0
- package/styled-system/jsx/hstack.js +14 -0
- package/styled-system/jsx/hstack.mjs +14 -0
- package/styled-system/jsx/icon.d.ts +10 -0
- package/styled-system/jsx/icon.js +14 -0
- package/styled-system/jsx/icon.mjs +14 -0
- package/styled-system/jsx/index.d.ts +23 -0
- package/styled-system/jsx/index.js +21 -0
- package/styled-system/jsx/index.mjs +21 -0
- package/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/styled-system/jsx/is-valid-prop.js +17 -0
- package/styled-system/jsx/is-valid-prop.mjs +17 -0
- package/styled-system/jsx/link-overlay.d.ts +10 -0
- package/styled-system/jsx/link-overlay.js +14 -0
- package/styled-system/jsx/link-overlay.mjs +14 -0
- package/styled-system/jsx/spacer.d.ts +10 -0
- package/styled-system/jsx/spacer.js +14 -0
- package/styled-system/jsx/spacer.mjs +14 -0
- package/styled-system/jsx/square.d.ts +10 -0
- package/styled-system/jsx/square.js +14 -0
- package/styled-system/jsx/square.mjs +14 -0
- package/styled-system/jsx/stack.d.ts +10 -0
- package/styled-system/jsx/stack.js +14 -0
- package/styled-system/jsx/stack.mjs +14 -0
- package/styled-system/jsx/visually-hidden.d.ts +10 -0
- package/styled-system/jsx/visually-hidden.js +14 -0
- package/styled-system/jsx/visually-hidden.mjs +14 -0
- package/styled-system/jsx/vstack.d.ts +10 -0
- package/styled-system/jsx/vstack.js +14 -0
- package/styled-system/jsx/vstack.mjs +14 -0
- package/styled-system/jsx/wrap.d.ts +10 -0
- package/styled-system/jsx/wrap.js +14 -0
- package/styled-system/jsx/wrap.mjs +14 -0
- package/styled-system/patterns/aspect-ratio.d.ts +21 -0
- package/styled-system/patterns/aspect-ratio.js +38 -0
- package/styled-system/patterns/aspect-ratio.mjs +38 -0
- package/styled-system/patterns/bleed.d.ts +22 -0
- package/styled-system/patterns/bleed.js +24 -0
- package/styled-system/patterns/bleed.mjs +24 -0
- package/styled-system/patterns/box.d.ts +21 -0
- package/styled-system/patterns/box.mjs +15 -0
- package/styled-system/patterns/center.d.ts +21 -0
- package/styled-system/patterns/center.js +21 -0
- package/styled-system/patterns/center.mjs +21 -0
- package/styled-system/patterns/circle.d.ts +21 -0
- package/styled-system/patterns/circle.js +25 -0
- package/styled-system/patterns/circle.mjs +25 -0
- package/styled-system/patterns/container.d.ts +21 -0
- package/styled-system/patterns/container.js +24 -0
- package/styled-system/patterns/container.mjs +24 -0
- package/styled-system/patterns/cq.d.ts +22 -0
- package/styled-system/patterns/cq.js +21 -0
- package/styled-system/patterns/cq.mjs +21 -0
- package/styled-system/patterns/divider.d.ts +23 -0
- package/styled-system/patterns/divider.mjs +25 -0
- package/styled-system/patterns/flex.d.ts +27 -0
- package/styled-system/patterns/flex.js +26 -0
- package/styled-system/patterns/flex.mjs +26 -0
- package/styled-system/patterns/float.d.ts +24 -0
- package/styled-system/patterns/float.js +52 -0
- package/styled-system/patterns/float.mjs +52 -0
- package/styled-system/patterns/grid-item.d.ts +26 -0
- package/styled-system/patterns/grid-item.js +25 -0
- package/styled-system/patterns/grid-item.mjs +25 -0
- package/styled-system/patterns/grid.d.ts +25 -0
- package/styled-system/patterns/grid.js +27 -0
- package/styled-system/patterns/grid.mjs +27 -0
- package/styled-system/patterns/hstack.d.ts +22 -0
- package/styled-system/patterns/hstack.js +24 -0
- package/styled-system/patterns/hstack.mjs +24 -0
- package/styled-system/patterns/icon.d.ts +21 -0
- package/styled-system/patterns/icon.js +20 -0
- package/styled-system/patterns/icon.mjs +20 -0
- package/styled-system/patterns/index.d.ts +20 -0
- package/styled-system/patterns/index.js +19 -0
- package/styled-system/patterns/index.mjs +19 -0
- package/styled-system/patterns/link-overlay.d.ts +21 -0
- package/styled-system/patterns/link-overlay.js +24 -0
- package/styled-system/patterns/link-overlay.mjs +24 -0
- package/styled-system/patterns/spacer.d.ts +21 -0
- package/styled-system/patterns/spacer.js +21 -0
- package/styled-system/patterns/spacer.mjs +21 -0
- package/styled-system/patterns/square.d.ts +21 -0
- package/styled-system/patterns/square.js +24 -0
- package/styled-system/patterns/square.mjs +24 -0
- package/styled-system/patterns/stack.d.ts +24 -0
- package/styled-system/patterns/stack.js +24 -0
- package/styled-system/patterns/stack.mjs +24 -0
- package/styled-system/patterns/visually-hidden.d.ts +21 -0
- package/styled-system/patterns/visually-hidden.js +18 -0
- package/styled-system/patterns/visually-hidden.mjs +18 -0
- package/styled-system/patterns/vstack.d.ts +22 -0
- package/styled-system/patterns/vstack.js +24 -0
- package/styled-system/patterns/vstack.mjs +24 -0
- package/styled-system/patterns/wrap.d.ts +25 -0
- package/styled-system/patterns/wrap.js +25 -0
- package/styled-system/patterns/wrap.mjs +25 -0
- package/styled-system/recipes/box.d.ts +28 -0
- package/styled-system/recipes/box.js +24 -0
- package/styled-system/recipes/box.mjs +24 -0
- package/styled-system/recipes/button.d.ts +35 -0
- package/styled-system/recipes/button.js +41 -0
- package/styled-system/recipes/button.mjs +41 -0
- package/styled-system/recipes/checkbox.d.ts +28 -0
- package/styled-system/recipes/checkbox.js +40 -0
- package/styled-system/recipes/checkbox.mjs +40 -0
- package/styled-system/recipes/code.d.ts +28 -0
- package/styled-system/recipes/code.js +24 -0
- package/styled-system/recipes/code.mjs +24 -0
- package/styled-system/recipes/create-recipe.js +82 -0
- package/styled-system/recipes/create-recipe.mjs +82 -0
- package/styled-system/recipes/divider.d.ts +35 -0
- package/styled-system/recipes/divider.js +38 -0
- package/styled-system/recipes/divider.mjs +38 -0
- package/styled-system/recipes/heading.d.ts +31 -0
- package/styled-system/recipes/heading.js +33 -0
- package/styled-system/recipes/heading.mjs +33 -0
- package/styled-system/recipes/icon-button.d.ts +35 -0
- package/styled-system/recipes/icon-button.js +41 -0
- package/styled-system/recipes/icon-button.mjs +41 -0
- package/styled-system/recipes/index.d.ts +16 -0
- package/styled-system/recipes/index.js +15 -0
- package/styled-system/recipes/index.mjs +15 -0
- package/styled-system/recipes/input.d.ts +31 -0
- package/styled-system/recipes/input.js +31 -0
- package/styled-system/recipes/input.mjs +31 -0
- package/styled-system/recipes/label.d.ts +38 -0
- package/styled-system/recipes/label.js +83 -0
- package/styled-system/recipes/label.mjs +83 -0
- package/styled-system/recipes/link.d.ts +38 -0
- package/styled-system/recipes/link.js +83 -0
- package/styled-system/recipes/link.mjs +83 -0
- package/styled-system/recipes/pre.d.ts +28 -0
- package/styled-system/recipes/pre.js +24 -0
- package/styled-system/recipes/pre.mjs +24 -0
- package/styled-system/recipes/radio.d.ts +28 -0
- package/styled-system/recipes/radio.js +40 -0
- package/styled-system/recipes/radio.mjs +40 -0
- package/styled-system/recipes/spinner.d.ts +31 -0
- package/styled-system/recipes/spinner.js +32 -0
- package/styled-system/recipes/spinner.mjs +32 -0
- package/styled-system/recipes/switchbox.d.ts +28 -0
- package/styled-system/recipes/switchbox.mjs +40 -0
- package/styled-system/recipes/text.d.ts +37 -0
- package/styled-system/recipes/text.js +80 -0
- package/styled-system/recipes/text.mjs +80 -0
- package/styled-system/recipes/textarea.d.ts +31 -0
- package/styled-system/recipes/textarea.js +32 -0
- package/styled-system/recipes/textarea.mjs +32 -0
- package/styled-system/recipes/textinput.d.ts +32 -0
- package/styled-system/recipes/textinput.mjs +35 -0
- package/styled-system/styles.css +672 -0
- package/styled-system/tokens/index.d.ts +9 -0
- package/styled-system/tokens/index.js +1480 -0
- package/styled-system/tokens/index.mjs +1480 -0
- package/styled-system/tokens/tokens.d.ts +60 -0
- package/styled-system/types/composition.d.ts +164 -0
- package/styled-system/types/conditions.d.ts +306 -0
- package/styled-system/types/csstype.d.ts +21298 -0
- package/styled-system/types/global.d.ts +20 -0
- package/styled-system/types/index.d.ts +8 -0
- package/styled-system/types/jsx.d.ts +52 -0
- package/styled-system/types/parts.d.ts +8 -0
- package/styled-system/types/pattern.d.ts +78 -0
- package/styled-system/types/prop-type.d.ts +235 -0
- package/styled-system/types/recipe.d.ts +181 -0
- package/styled-system/types/selectors.d.ts +59 -0
- package/styled-system/types/static-css.d.ts +56 -0
- package/styled-system/types/style-props.d.ts +7468 -0
- package/styled-system/types/system-types.d.ts +109 -0
- package/.github/CODEOWNERS +0 -1
- package/.husky/task-runner.json +0 -10
- package/.nvmrc +0 -1
- package/.prettierrc +0 -8
- package/.storybook/main.ts +0 -18
- package/.storybook/preview-body.html +0 -0
- package/.storybook/preview-head.tsx +0 -1
- package/.storybook/preview.tsx +0 -21
- package/index.html +0 -13
- package/panda.config.ts +0 -201
- package/postcss.config.cjs +0 -5
- package/src/App.tsx +0 -429
- package/src/contexts/ThemeContext.tsx +0 -77
- package/src/main.tsx +0 -10
- package/src/recipes/box.ts +0 -16
- package/src/recipes/button.ts +0 -220
- package/src/recipes/checkbox.ts +0 -88
- package/src/recipes/code.ts +0 -37
- package/src/recipes/divider.ts +0 -40
- package/src/recipes/index.ts +0 -10
- package/src/recipes/input.ts +0 -56
- package/src/recipes/radio.ts +0 -71
- package/src/recipes/spinner.ts +0 -42
- package/src/recipes/text.ts +0 -185
- package/src/recipes/textarea.ts +0 -77
- package/src/styles/conditions.ts +0 -108
- package/src/styles/font-imports.css +0 -35
- package/src/styles/globalStyle.ts +0 -85
- package/src/styles/index.css +0 -3
- package/src/styles/semanticTokens.ts +0 -110
- package/src/styles/tokens.ts +0 -580
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -33
- package/vite.config.ts +0 -39
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": [
|
|
3
|
+
{
|
|
4
|
+
"type": "css",
|
|
5
|
+
"name": "css",
|
|
6
|
+
"box": {
|
|
7
|
+
"type": "map",
|
|
8
|
+
"value": {},
|
|
9
|
+
"node": "CallExpression",
|
|
10
|
+
"line": 51,
|
|
11
|
+
"column": 9
|
|
12
|
+
},
|
|
13
|
+
"data": [
|
|
14
|
+
{}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"cva": [],
|
|
19
|
+
"sva": [],
|
|
20
|
+
"jsx": [
|
|
21
|
+
{
|
|
22
|
+
"type": "jsx",
|
|
23
|
+
"name": "Icon",
|
|
24
|
+
"box": {
|
|
25
|
+
"type": "map",
|
|
26
|
+
"value": {},
|
|
27
|
+
"node": "JsxSelfClosingElement",
|
|
28
|
+
"line": 56,
|
|
29
|
+
"column": 20
|
|
30
|
+
},
|
|
31
|
+
"data": [
|
|
32
|
+
{}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"recipe": {
|
|
37
|
+
"link": [
|
|
38
|
+
{
|
|
39
|
+
"type": "recipe",
|
|
40
|
+
"name": "link",
|
|
41
|
+
"box": {
|
|
42
|
+
"type": "map",
|
|
43
|
+
"value": {},
|
|
44
|
+
"node": "CallExpression",
|
|
45
|
+
"line": 50,
|
|
46
|
+
"column": 9
|
|
47
|
+
},
|
|
48
|
+
"data": [
|
|
49
|
+
{}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"pattern": {
|
|
55
|
+
"Box": [
|
|
56
|
+
{
|
|
57
|
+
"type": "jsx-pattern",
|
|
58
|
+
"name": "Box",
|
|
59
|
+
"box": {
|
|
60
|
+
"type": "map",
|
|
61
|
+
"value": {},
|
|
62
|
+
"node": "JsxOpeningElement",
|
|
63
|
+
"line": 39,
|
|
64
|
+
"column": 5
|
|
65
|
+
},
|
|
66
|
+
"data": [
|
|
67
|
+
{}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@layer recipes {
|
|
2
|
+
@layer _base {
|
|
3
|
+
.link {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
gap: var(--spacing-1);
|
|
6
|
+
color: var(--colors-blue-50);
|
|
7
|
+
text-decoration: none;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
align-items: center;
|
|
11
|
+
font-weight: var(--font-weights-medium);
|
|
12
|
+
background-image: linear-gradient(90deg, transparent 0% 100%);
|
|
13
|
+
background-size: 100% 1px;
|
|
14
|
+
background-repeat: no-repeat;
|
|
15
|
+
background-position-y: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-color-mode=dark] .link {
|
|
19
|
+
color: var(--colors-blue-40);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.link:is(:hover, [data-hover]) {
|
|
23
|
+
color: var(--colors-blue-40);
|
|
24
|
+
background-image: linear-gradient(90deg, currentColor 0% 100%);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-color-mode=dark] .link:is(:hover, [data-hover]) {
|
|
28
|
+
color: var(--colors-blue-30);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.link--level_16 {
|
|
33
|
+
font-size: var(--font-sizes-16);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.link--font_sans {
|
|
37
|
+
font-family: var(--fonts-sans);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": [],
|
|
3
|
+
"cva": [
|
|
4
|
+
{
|
|
5
|
+
"type": "cva",
|
|
6
|
+
"name": "cva",
|
|
7
|
+
"box": {
|
|
8
|
+
"type": "map",
|
|
9
|
+
"value": {},
|
|
10
|
+
"node": "CallExpression",
|
|
11
|
+
"line": 3,
|
|
12
|
+
"column": 26
|
|
13
|
+
},
|
|
14
|
+
"data": [
|
|
15
|
+
{
|
|
16
|
+
"base": {
|
|
17
|
+
"display": "inline-flex",
|
|
18
|
+
"alignItems": "center",
|
|
19
|
+
"gap": "1",
|
|
20
|
+
"color": {
|
|
21
|
+
"base": "slate.90",
|
|
22
|
+
"_dark": "slate.5"
|
|
23
|
+
},
|
|
24
|
+
"textDecoration": "none",
|
|
25
|
+
"backgroundImage": "linear-gradient(90deg, currentColor 0% 100%)",
|
|
26
|
+
"backgroundSize": "100% 1px",
|
|
27
|
+
"backgroundRepeat": "no-repeat",
|
|
28
|
+
"backgroundPositionY": "100%",
|
|
29
|
+
"width": "fit-content",
|
|
30
|
+
"cursor": "pointer",
|
|
31
|
+
"_hover": {
|
|
32
|
+
"color": {
|
|
33
|
+
"base": "cyan.50",
|
|
34
|
+
"_dark": "cyan.40"
|
|
35
|
+
},
|
|
36
|
+
"backgroundColor": {
|
|
37
|
+
"base": "cyan.5",
|
|
38
|
+
"_dark": "cyan.4"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"variants": {
|
|
43
|
+
"disabled": {
|
|
44
|
+
"true": {
|
|
45
|
+
"cursor": "not-allowed",
|
|
46
|
+
"opacity": 0.7,
|
|
47
|
+
"pointerEvents": "none"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"sva": [],
|
|
56
|
+
"jsx": [],
|
|
57
|
+
"recipe": {},
|
|
58
|
+
"pattern": {}
|
|
59
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.d_inline-flex {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.gap_1 {
|
|
7
|
+
gap: var(--spacing-1);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.c_slate\.90 {
|
|
11
|
+
color: var(--colors-slate-90);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.td_none {
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.w_fit-content {
|
|
19
|
+
width: fit-content;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.cursor_pointer {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.cursor_not-allowed {
|
|
27
|
+
cursor: not-allowed;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.op_0\.7 {
|
|
31
|
+
opacity: 0.7;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pointer-events_none {
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ai_center {
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bg-i_linear-gradient\(90deg\,_currentColor_0\%_100\%\) {
|
|
43
|
+
background-image: linear-gradient(90deg, currentColor 0% 100%);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bg-s_100\%_1px {
|
|
47
|
+
background-size: 100% 1px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bg-r_no-repeat {
|
|
51
|
+
background-repeat: no-repeat;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.bg-p-y_100\% {
|
|
55
|
+
background-position-y: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-color-mode=dark] .dark\:c_slate\.5 {
|
|
59
|
+
color: var(--colors-slate-5);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.hover\:c_cyan\.50:is(:hover, [data-hover]) {
|
|
63
|
+
color: var(--colors-cyan-50);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.hover\:bg-c_cyan\.5:is(:hover, [data-hover]) {
|
|
67
|
+
background-color: var(--colors-cyan-5);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-color-mode=dark] .hover\:dark\:c_cyan\.40:is(:hover, [data-hover]) {
|
|
71
|
+
color: var(--colors-cyan-40);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[data-color-mode=dark] .hover\:dark\:bg-c_cyan\.4:is(:hover, [data-hover]) {
|
|
75
|
+
background-color: cyan.4;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": [],
|
|
3
|
+
"cva": [
|
|
4
|
+
{
|
|
5
|
+
"type": "cva",
|
|
6
|
+
"name": "cva",
|
|
7
|
+
"box": {
|
|
8
|
+
"type": "map",
|
|
9
|
+
"value": {},
|
|
10
|
+
"node": "CallExpression",
|
|
11
|
+
"line": 3,
|
|
12
|
+
"column": 29
|
|
13
|
+
},
|
|
14
|
+
"data": [
|
|
15
|
+
{
|
|
16
|
+
"base": {
|
|
17
|
+
"aspectRatio": "1/1",
|
|
18
|
+
"borderRadius": "50%",
|
|
19
|
+
"borderWidth": "3",
|
|
20
|
+
"borderStyle": "solid",
|
|
21
|
+
"borderColor": "transparent",
|
|
22
|
+
"borderTopColor": "slate.90",
|
|
23
|
+
"borderBottomColor": "slate.90",
|
|
24
|
+
"animation": "spin 1s infinite linear",
|
|
25
|
+
"filter": "invert(1)",
|
|
26
|
+
"mixBlendMode": "difference",
|
|
27
|
+
"isolation": "isolate"
|
|
28
|
+
},
|
|
29
|
+
"variants": {
|
|
30
|
+
"size": {
|
|
31
|
+
"standard": {
|
|
32
|
+
"height": "24",
|
|
33
|
+
"minHeight": "24"
|
|
34
|
+
},
|
|
35
|
+
"small": {
|
|
36
|
+
"height": "16",
|
|
37
|
+
"minHeight": "16"
|
|
38
|
+
},
|
|
39
|
+
"large": {
|
|
40
|
+
"height": "32",
|
|
41
|
+
"minHeight": "32"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"defaultVariants": {
|
|
46
|
+
"size": "standard"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"sva": [],
|
|
53
|
+
"jsx": [],
|
|
54
|
+
"recipe": {},
|
|
55
|
+
"pattern": {}
|
|
56
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.asp_1\/1 {
|
|
3
|
+
aspect-ratio: 1/1;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.bdr_50\% {
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.anim_spin_1s_infinite_linear {
|
|
11
|
+
animation: spin 1s infinite linear;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.filter_invert\(1\) {
|
|
15
|
+
filter: invert(1);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mix-bm_difference {
|
|
19
|
+
mix-blend-mode: difference;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.isolation_isolate {
|
|
23
|
+
isolation: isolate;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.h_24 {
|
|
27
|
+
height: var(--sizes-24);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.min-h_24 {
|
|
31
|
+
min-height: var(--sizes-24);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.h_16 {
|
|
35
|
+
height: var(--sizes-16);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.min-h_16 {
|
|
39
|
+
min-height: var(--sizes-16);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.h_32 {
|
|
43
|
+
height: var(--sizes-32);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.min-h_32 {
|
|
47
|
+
min-height: var(--sizes-32);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bd-w_3 {
|
|
51
|
+
border-width: 3px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.border-style_solid {
|
|
55
|
+
border-style: solid;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.bd-c_transparent {
|
|
59
|
+
border-color: var(--colors-transparent);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.bd-t-c_slate\.90 {
|
|
63
|
+
border-top-color: var(--colors-slate-90);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bd-b-c_slate\.90 {
|
|
67
|
+
border-bottom-color: var(--colors-slate-90);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": [
|
|
3
|
+
{
|
|
4
|
+
"type": "css",
|
|
5
|
+
"name": "css",
|
|
6
|
+
"box": {
|
|
7
|
+
"type": "map",
|
|
8
|
+
"value": {},
|
|
9
|
+
"node": "CallExpression",
|
|
10
|
+
"line": 38,
|
|
11
|
+
"column": 9
|
|
12
|
+
},
|
|
13
|
+
"data": [
|
|
14
|
+
{}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"cva": [],
|
|
19
|
+
"sva": [],
|
|
20
|
+
"jsx": [],
|
|
21
|
+
"recipe": {
|
|
22
|
+
"text": [
|
|
23
|
+
{
|
|
24
|
+
"type": "recipe",
|
|
25
|
+
"name": "text",
|
|
26
|
+
"box": {
|
|
27
|
+
"type": "map",
|
|
28
|
+
"value": {},
|
|
29
|
+
"node": "CallExpression",
|
|
30
|
+
"line": 37,
|
|
31
|
+
"column": 9
|
|
32
|
+
},
|
|
33
|
+
"data": [
|
|
34
|
+
{}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"pattern": {
|
|
40
|
+
"Box": [
|
|
41
|
+
{
|
|
42
|
+
"type": "jsx-pattern",
|
|
43
|
+
"name": "Box",
|
|
44
|
+
"box": {
|
|
45
|
+
"type": "map",
|
|
46
|
+
"value": {},
|
|
47
|
+
"node": "JsxOpeningElement",
|
|
48
|
+
"line": 34,
|
|
49
|
+
"column": 5
|
|
50
|
+
},
|
|
51
|
+
"data": [
|
|
52
|
+
{}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@layer recipes {
|
|
2
|
+
@layer _base {
|
|
3
|
+
.text {
|
|
4
|
+
margin: var(--spacing-0);
|
|
5
|
+
color: var(--colors-slate-70);
|
|
6
|
+
line-height: var(--line-heights-default);
|
|
7
|
+
font-weight: var(--font-weights-normal);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-color-mode=dark] .text {
|
|
11
|
+
color: var(--colors-slate-20);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.text--level_16 {
|
|
16
|
+
font-size: var(--font-sizes-16);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.text--font_sans {
|
|
20
|
+
font-family: var(--fonts-sans);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": [],
|
|
3
|
+
"cva": [],
|
|
4
|
+
"sva": [],
|
|
5
|
+
"jsx": [],
|
|
6
|
+
"recipe": {
|
|
7
|
+
"text": [
|
|
8
|
+
{
|
|
9
|
+
"type": "jsx-recipe",
|
|
10
|
+
"name": "Text",
|
|
11
|
+
"box": {
|
|
12
|
+
"type": "map",
|
|
13
|
+
"value": {},
|
|
14
|
+
"node": "JsxOpeningElement",
|
|
15
|
+
"line": 79,
|
|
16
|
+
"column": 7
|
|
17
|
+
},
|
|
18
|
+
"data": [
|
|
19
|
+
{
|
|
20
|
+
"font": "mono",
|
|
21
|
+
"color": "slate.90"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "jsx-recipe",
|
|
27
|
+
"name": "Text",
|
|
28
|
+
"box": {
|
|
29
|
+
"type": "map",
|
|
30
|
+
"value": {},
|
|
31
|
+
"node": "JsxOpeningElement",
|
|
32
|
+
"line": 80,
|
|
33
|
+
"column": 7
|
|
34
|
+
},
|
|
35
|
+
"data": [
|
|
36
|
+
{
|
|
37
|
+
"color": "gold.50"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "jsx-recipe",
|
|
43
|
+
"name": "Text",
|
|
44
|
+
"box": {
|
|
45
|
+
"type": "map",
|
|
46
|
+
"value": {},
|
|
47
|
+
"node": "JsxOpeningElement",
|
|
48
|
+
"line": 81,
|
|
49
|
+
"column": 7
|
|
50
|
+
},
|
|
51
|
+
"data": [
|
|
52
|
+
{
|
|
53
|
+
"color": "blue.50"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"pattern": {}
|
|
60
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@layer recipes {
|
|
2
|
+
@layer _base {
|
|
3
|
+
.text {
|
|
4
|
+
margin: var(--spacing-0);
|
|
5
|
+
color: var(--colors-slate-70);
|
|
6
|
+
line-height: var(--line-heights-default);
|
|
7
|
+
font-weight: var(--font-weights-normal);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-color-mode=dark] .text {
|
|
11
|
+
color: var(--colors-slate-20);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.text--level_16 {
|
|
16
|
+
font-size: var(--font-sizes-16);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.text--font_mono {
|
|
20
|
+
font-family: var(--fonts-mono);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.text--font_sans {
|
|
24
|
+
font-family: var(--fonts-sans);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@layer utilities {
|
|
29
|
+
.c_slate\.90 {
|
|
30
|
+
color: var(--colors-slate-90);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.c_gold\.50 {
|
|
34
|
+
color: var(--colors-gold-50);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.c_blue\.50 {
|
|
38
|
+
color: var(--colors-blue-50);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css": [],
|
|
3
|
+
"cva": [],
|
|
4
|
+
"sva": [],
|
|
5
|
+
"jsx": [
|
|
6
|
+
{
|
|
7
|
+
"type": "jsx",
|
|
8
|
+
"name": "Label",
|
|
9
|
+
"box": {
|
|
10
|
+
"type": "map",
|
|
11
|
+
"value": {},
|
|
12
|
+
"node": "JsxOpeningElement",
|
|
13
|
+
"line": 27,
|
|
14
|
+
"column": 7
|
|
15
|
+
},
|
|
16
|
+
"data": [
|
|
17
|
+
{}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"recipe": {
|
|
22
|
+
"textarea": [
|
|
23
|
+
{
|
|
24
|
+
"type": "recipe",
|
|
25
|
+
"name": "textarea",
|
|
26
|
+
"box": {},
|
|
27
|
+
"data": [
|
|
28
|
+
{}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"text": [
|
|
33
|
+
{
|
|
34
|
+
"type": "jsx-recipe",
|
|
35
|
+
"name": "Text",
|
|
36
|
+
"box": {
|
|
37
|
+
"type": "map",
|
|
38
|
+
"value": {},
|
|
39
|
+
"node": "JsxOpeningElement",
|
|
40
|
+
"line": 34,
|
|
41
|
+
"column": 19
|
|
42
|
+
},
|
|
43
|
+
"data": [
|
|
44
|
+
{}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"pattern": {}
|
|
50
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@layer recipes {
|
|
2
|
+
@layer _base {
|
|
3
|
+
.textarea {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: inline-grid;
|
|
6
|
+
vertical-align: top;
|
|
7
|
+
padding: var(--spacing-0);
|
|
8
|
+
color: var(--colors-slate-90);
|
|
9
|
+
border-radius: var(--radii-8);
|
|
10
|
+
align-items: center;
|
|
11
|
+
font-family: var(--fonts-sans);
|
|
12
|
+
font-size: var(--font-sizes-16);
|
|
13
|
+
font-weight: var(--font-weights-normal);
|
|
14
|
+
line-height: normal;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.textarea::after,.textarea textarea {
|
|
18
|
+
width: auto;
|
|
19
|
+
min-width: var(--sizes-16);
|
|
20
|
+
max-width: var(--sizes-full);
|
|
21
|
+
font: inherit;
|
|
22
|
+
padding-block: var(--spacing-4);
|
|
23
|
+
padding-inline: var(--spacing-8);
|
|
24
|
+
margin: var(--spacing-0);
|
|
25
|
+
resize: none;
|
|
26
|
+
appearance: none;
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
border-radius: var(--radii-4);
|
|
29
|
+
border-width: 1px;
|
|
30
|
+
border-style: solid;
|
|
31
|
+
border-color: var(--colors-transparent);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.textarea::after {
|
|
35
|
+
outline: 1px solid olive;
|
|
36
|
+
white-space: pre-wrap;
|
|
37
|
+
transform: translate(4px, 4px);
|
|
38
|
+
opacity: 0.3;
|
|
39
|
+
content: attr(data-value) " ";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.text {
|
|
43
|
+
margin: var(--spacing-0);
|
|
44
|
+
color: var(--colors-slate-70);
|
|
45
|
+
line-height: var(--line-heights-default);
|
|
46
|
+
font-weight: var(--font-weights-normal);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-color-mode=dark] .text {
|
|
50
|
+
color: var(--colors-slate-20);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (prefers-color-scheme: dark) {
|
|
54
|
+
.textarea {
|
|
55
|
+
color: var(--colors-slate-5);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.textarea--stacked_true {
|
|
61
|
+
grid-template-rows: auto 1fr;
|
|
62
|
+
align-items: stretch;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.textarea--stacked_true::after,.textarea--stacked_true textarea {
|
|
66
|
+
grid-area: 2 / 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.textarea--stacked_true textarea {
|
|
70
|
+
background: var(--colors-slate-0);
|
|
71
|
+
border-color: var(--colors-slate-40);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.textarea--autoGrow_false {
|
|
75
|
+
width: var(--sizes-full);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.text--level_16 {
|
|
79
|
+
font-size: var(--font-sizes-16);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.text--font_sans {
|
|
83
|
+
font-family: var(--fonts-sans);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (prefers-color-scheme: dark) {
|
|
87
|
+
.textarea--stacked_true textarea {
|
|
88
|
+
background: var(--colors-slate-90);
|
|
89
|
+
border-color: var(--colors-slate-50);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|