@blockle/blocks 0.10.0 → 0.11.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/index.cjs +256 -8
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +257 -8
- package/dist/momotaro.chunk.d.ts +289 -271
- package/dist/reset.css.cjs +2 -0
- package/dist/reset.css.mjs +2 -0
- package/dist/style.css +2851 -0
- package/dist/styles/components/display/Divider/Divider.cjs +1 -0
- package/dist/styles/components/display/Divider/Divider.mjs +1 -0
- package/dist/styles/components/display/Divider/divider.css.cjs +3 -10
- package/dist/styles/components/display/Divider/divider.css.mjs +3 -10
- package/dist/styles/components/form/Button/Button.css.cjs +3 -10
- package/dist/styles/components/form/Button/Button.css.mjs +3 -10
- package/dist/styles/components/form/Button/Button.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Button/Button.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/form/Checkbox/checkbox.css.cjs +5 -24
- package/dist/styles/components/form/Checkbox/checkbox.css.mjs +5 -24
- package/dist/styles/components/form/Checkbox/checkbox.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Checkbox/checkbox.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/form/Input/input.css.cjs +3 -14
- package/dist/styles/components/form/Input/input.css.mjs +3 -14
- package/dist/styles/components/form/Input/input.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Input/input.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/form/Radio/radio.css.cjs +5 -24
- package/dist/styles/components/form/Radio/radio.css.mjs +5 -24
- package/dist/styles/components/form/Radio/radio.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Radio/radio.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/form/Select/Select.cjs +2 -2
- package/dist/styles/components/form/Select/Select.mjs +2 -2
- package/dist/styles/components/form/Select/select.css.cjs +5 -30
- package/dist/styles/components/form/Select/select.css.mjs +5 -30
- package/dist/styles/components/form/Select/select.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Select/select.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/form/Slider/slider.css.cjs +7 -64
- package/dist/styles/components/form/Slider/slider.css.mjs +7 -64
- package/dist/styles/components/form/Slider/slider.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Slider/slider.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/form/Switch/switch.css.cjs +4 -20
- package/dist/styles/components/form/Switch/switch.css.mjs +4 -20
- package/dist/styles/components/form/Switch/switch.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/form/Switch/switch.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/overlay/Dialog/Dialog.cjs +3 -0
- package/dist/styles/components/overlay/Dialog/Dialog.mjs +4 -1
- package/dist/styles/components/overlay/Dialog/dialog.css.cjs +3 -18
- package/dist/styles/components/overlay/Dialog/dialog.css.mjs +3 -18
- package/dist/styles/components/overlay/Dialog/dialog.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/overlay/Dialog/dialog.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/typography/Heading/heading.css.cjs +3 -10
- package/dist/styles/components/typography/Heading/heading.css.mjs +3 -10
- package/dist/styles/components/typography/Heading/heading.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/typography/Heading/heading.css.ts.vanilla.mjs +1 -0
- package/dist/styles/components/typography/Text/text.css.cjs +3 -10
- package/dist/styles/components/typography/Text/text.css.mjs +3 -10
- package/dist/styles/components/typography/Text/text.css.ts.vanilla.cjs +1 -0
- package/dist/styles/components/typography/Text/text.css.ts.vanilla.mjs +1 -0
- package/dist/styles/entries/reset.css.ts.vanilla.cjs +1 -0
- package/dist/styles/entries/reset.css.ts.vanilla.mjs +1 -0
- package/dist/styles/lib/css/atoms/sprinkles.css.cjs +2088 -31
- package/dist/styles/lib/css/atoms/sprinkles.css.mjs +2088 -31
- package/dist/styles/lib/css/atoms/sprinkles.css.ts.vanilla.cjs +1 -0
- package/dist/styles/lib/css/atoms/sprinkles.css.ts.vanilla.mjs +1 -0
- package/dist/styles/lib/css/layers/layers.css.ts.vanilla.cjs +1 -0
- package/dist/styles/lib/css/layers/layers.css.ts.vanilla.mjs +1 -0
- package/dist/styles/lib/css/reset/reset.css.ts.vanilla.cjs +1 -0
- package/dist/styles/lib/css/reset/reset.css.ts.vanilla.mjs +1 -0
- package/dist/styles/lib/theme/makeTheme.cjs +18 -2
- package/dist/styles/lib/theme/makeTheme.mjs +17 -1
- package/dist/styles/lib/theme/vars.css.cjs +76 -4
- package/dist/styles/lib/theme/vars.css.mjs +76 -4
- package/dist/styles/lib/theme/vars.css.ts.vanilla.cjs +1 -0
- package/dist/styles/lib/theme/vars.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/button.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/button.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/checkbox.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/checkbox.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/dialog.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/dialog.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/divider.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/divider.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/dropdown.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/dropdown.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/helpers.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/helpers.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/input.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/input.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/label.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/label.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/link.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/link.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/progress.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/progress.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/radio.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/radio.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/select.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/select.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/slider.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/slider.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/spinner.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/spinner.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/components/switch.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/components/switch.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/momotaro.css.cjs +191 -7
- package/dist/styles/themes/momotaro/momotaro.css.mjs +191 -7
- package/dist/styles/themes/momotaro/momotaro.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/momotaro.css.ts.vanilla.mjs +1 -0
- package/dist/styles/themes/momotaro/tokens.css.ts.vanilla.cjs +1 -0
- package/dist/styles/themes/momotaro/tokens.css.ts.vanilla.mjs +1 -0
- package/package.json +22 -22
- package/dist/styles/lib/css/atoms/atomicProperties.cjs +0 -83
- package/dist/styles/lib/css/atoms/atomicProperties.mjs +0 -84
- package/dist/styles/lib/css/atoms/breakpoints.cjs +0 -11
- package/dist/styles/lib/css/atoms/breakpoints.mjs +0 -12
- package/dist/styles/lib/css/layers/layers.css.cjs +0 -7
- package/dist/styles/lib/css/layers/layers.css.mjs +0 -8
- package/dist/styles/lib/css/style/style.cjs +0 -28
- package/dist/styles/lib/css/style/style.mjs +0 -29
- package/dist/styles/lib/theme/makeComponentTheme.cjs +0 -5
- package/dist/styles/lib/theme/makeComponentTheme.mjs +0 -6
- package/dist/styles/lib/theme/makeVanillaTheme.cjs +0 -19
- package/dist/styles/lib/theme/makeVanillaTheme.mjs +0 -20
- package/dist/styles/lib/theme/tokens.cjs +0 -81
- package/dist/styles/lib/theme/tokens.mjs +0 -82
- package/dist/styles/themes/momotaro/components/button.css.cjs +0 -103
- package/dist/styles/themes/momotaro/components/button.css.mjs +0 -104
- package/dist/styles/themes/momotaro/components/checkbox.css.cjs +0 -59
- package/dist/styles/themes/momotaro/components/checkbox.css.mjs +0 -60
- package/dist/styles/themes/momotaro/components/dialog.css.cjs +0 -68
- package/dist/styles/themes/momotaro/components/dialog.css.mjs +0 -69
- package/dist/styles/themes/momotaro/components/divider.css.cjs +0 -11
- package/dist/styles/themes/momotaro/components/divider.css.mjs +0 -12
- package/dist/styles/themes/momotaro/components/dropdown.css.cjs +0 -54
- package/dist/styles/themes/momotaro/components/dropdown.css.mjs +0 -55
- package/dist/styles/themes/momotaro/components/helpers.css.cjs +0 -43
- package/dist/styles/themes/momotaro/components/helpers.css.mjs +0 -44
- package/dist/styles/themes/momotaro/components/index.cjs +0 -32
- package/dist/styles/themes/momotaro/components/index.mjs +0 -33
- package/dist/styles/themes/momotaro/components/input.css.cjs +0 -41
- package/dist/styles/themes/momotaro/components/input.css.mjs +0 -42
- package/dist/styles/themes/momotaro/components/label.css.cjs +0 -33
- package/dist/styles/themes/momotaro/components/label.css.mjs +0 -34
- package/dist/styles/themes/momotaro/components/link.css.cjs +0 -47
- package/dist/styles/themes/momotaro/components/link.css.mjs +0 -48
- package/dist/styles/themes/momotaro/components/progress.css.cjs +0 -55
- package/dist/styles/themes/momotaro/components/progress.css.mjs +0 -56
- package/dist/styles/themes/momotaro/components/radio.css.cjs +0 -60
- package/dist/styles/themes/momotaro/components/radio.css.mjs +0 -61
- package/dist/styles/themes/momotaro/components/select.css.cjs +0 -35
- package/dist/styles/themes/momotaro/components/select.css.mjs +0 -36
- package/dist/styles/themes/momotaro/components/slider.css.cjs +0 -65
- package/dist/styles/themes/momotaro/components/slider.css.mjs +0 -66
- package/dist/styles/themes/momotaro/components/spinner.css.cjs +0 -43
- package/dist/styles/themes/momotaro/components/spinner.css.mjs +0 -44
- package/dist/styles/themes/momotaro/components/switch.css.cjs +0 -58
- package/dist/styles/themes/momotaro/components/switch.css.mjs +0 -59
- package/dist/styles/themes/momotaro/components/transitions.cjs +0 -3
- package/dist/styles/themes/momotaro/components/transitions.mjs +0 -4
- package/dist/styles/themes/momotaro/tokens.css.cjs +0 -84
- package/dist/styles/themes/momotaro/tokens.css.mjs +0 -85
- /package/dist/styles/{lib/css/reset/reset.css.cjs → components/display/Divider/divider.css.ts.vanilla.cjs} +0 -0
- /package/dist/styles/{lib/css/reset/reset.css.mjs → components/display/Divider/divider.css.ts.vanilla.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const css = require("@vanilla-extract/css");
|
|
3
|
-
const styles_lib_theme_makeVanillaTheme_cjs = require("./makeVanillaTheme.cjs");
|
|
4
3
|
const styles_lib_theme_vars_css_cjs = require("./vars.css.cjs");
|
|
4
|
+
const makeVanillaTheme = (tokens) => {
|
|
5
|
+
return {
|
|
6
|
+
space: tokens.spacing,
|
|
7
|
+
borderRadius: tokens.border.radius,
|
|
8
|
+
color: tokens.color,
|
|
9
|
+
borderWidth: tokens.border.width,
|
|
10
|
+
fontFamily: tokens.typography.fontFamily,
|
|
11
|
+
fontSize: tokens.typography.fontSize,
|
|
12
|
+
fontWeight: tokens.typography.fontWeight,
|
|
13
|
+
lineHeight: tokens.typography.lineHeight,
|
|
14
|
+
transition: tokens.transition,
|
|
15
|
+
shadow: tokens.shadow,
|
|
16
|
+
focus: {
|
|
17
|
+
boxShadow: tokens.focus.boxShadow
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
};
|
|
5
21
|
function makeTheme(theme) {
|
|
6
22
|
return {
|
|
7
23
|
name: theme.name,
|
|
8
|
-
vars: css.createTheme(styles_lib_theme_vars_css_cjs.vars,
|
|
24
|
+
vars: css.createTheme(styles_lib_theme_vars_css_cjs.vars, makeVanillaTheme(theme.tokens)),
|
|
9
25
|
components: theme.components
|
|
10
26
|
};
|
|
11
27
|
}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { createTheme } from "@vanilla-extract/css";
|
|
2
|
-
import { makeVanillaTheme } from "./makeVanillaTheme.mjs";
|
|
3
2
|
import { vars } from "./vars.css.mjs";
|
|
3
|
+
const makeVanillaTheme = (tokens) => {
|
|
4
|
+
return {
|
|
5
|
+
space: tokens.spacing,
|
|
6
|
+
borderRadius: tokens.border.radius,
|
|
7
|
+
color: tokens.color,
|
|
8
|
+
borderWidth: tokens.border.width,
|
|
9
|
+
fontFamily: tokens.typography.fontFamily,
|
|
10
|
+
fontSize: tokens.typography.fontSize,
|
|
11
|
+
fontWeight: tokens.typography.fontWeight,
|
|
12
|
+
lineHeight: tokens.typography.lineHeight,
|
|
13
|
+
transition: tokens.transition,
|
|
14
|
+
shadow: tokens.shadow,
|
|
15
|
+
focus: {
|
|
16
|
+
boxShadow: tokens.focus.boxShadow
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
};
|
|
4
20
|
function makeTheme(theme) {
|
|
5
21
|
return {
|
|
6
22
|
name: theme.name,
|
|
@@ -1,9 +1,81 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
|
|
4
|
-
const styles_lib_theme_makeVanillaTheme_cjs = require("./makeVanillaTheme.cjs");
|
|
5
|
-
const styles_lib_theme_tokens_cjs = require("./tokens.cjs");
|
|
3
|
+
require("./vars.css.ts.vanilla.cjs");
|
|
6
4
|
fileScope.setFileScope("src/lib/theme/vars.css.ts", "@blockle/blocks");
|
|
7
|
-
|
|
5
|
+
var vars = {
|
|
6
|
+
space: {
|
|
7
|
+
none: "var(--d5nt60)",
|
|
8
|
+
gutter: "var(--d5nt61)",
|
|
9
|
+
xsmall: "var(--d5nt62)",
|
|
10
|
+
small: "var(--d5nt63)",
|
|
11
|
+
medium: "var(--d5nt64)",
|
|
12
|
+
large: "var(--d5nt65)",
|
|
13
|
+
xlarge: "var(--d5nt66)"
|
|
14
|
+
},
|
|
15
|
+
borderRadius: {
|
|
16
|
+
small: "var(--d5nt67)",
|
|
17
|
+
medium: "var(--d5nt68)",
|
|
18
|
+
large: "var(--d5nt69)",
|
|
19
|
+
xlarge: "var(--d5nt6a)"
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
black: "var(--d5nt6b)",
|
|
23
|
+
white: "var(--d5nt6c)",
|
|
24
|
+
body: "var(--d5nt6d)",
|
|
25
|
+
primaryLight: "var(--d5nt6e)",
|
|
26
|
+
primary: "var(--d5nt6f)",
|
|
27
|
+
primaryDark: "var(--d5nt6g)",
|
|
28
|
+
secondaryLight: "var(--d5nt6h)",
|
|
29
|
+
secondary: "var(--d5nt6i)",
|
|
30
|
+
secondaryDark: "var(--d5nt6j)",
|
|
31
|
+
text: "var(--d5nt6k)",
|
|
32
|
+
textLight: "var(--d5nt6l)",
|
|
33
|
+
textDark: "var(--d5nt6m)",
|
|
34
|
+
danger: "var(--d5nt6n)",
|
|
35
|
+
link: "var(--d5nt6o)"
|
|
36
|
+
},
|
|
37
|
+
borderWidth: {
|
|
38
|
+
small: "var(--d5nt6p)",
|
|
39
|
+
medium: "var(--d5nt6q)",
|
|
40
|
+
large: "var(--d5nt6r)"
|
|
41
|
+
},
|
|
42
|
+
fontFamily: {
|
|
43
|
+
body: "var(--d5nt6s)",
|
|
44
|
+
primary: "var(--d5nt6t)",
|
|
45
|
+
secondary: "var(--d5nt6u)"
|
|
46
|
+
},
|
|
47
|
+
fontSize: {
|
|
48
|
+
xsmall: "var(--d5nt6v)",
|
|
49
|
+
small: "var(--d5nt6w)",
|
|
50
|
+
medium: "var(--d5nt6x)",
|
|
51
|
+
large: "var(--d5nt6y)",
|
|
52
|
+
xlarge: "var(--d5nt6z)"
|
|
53
|
+
},
|
|
54
|
+
fontWeight: {
|
|
55
|
+
regular: "var(--d5nt610)",
|
|
56
|
+
medium: "var(--d5nt611)",
|
|
57
|
+
strong: "var(--d5nt612)"
|
|
58
|
+
},
|
|
59
|
+
lineHeight: {
|
|
60
|
+
xsmall: "var(--d5nt613)",
|
|
61
|
+
small: "var(--d5nt614)",
|
|
62
|
+
medium: "var(--d5nt615)",
|
|
63
|
+
large: "var(--d5nt616)",
|
|
64
|
+
xlarge: "var(--d5nt617)"
|
|
65
|
+
},
|
|
66
|
+
transition: {
|
|
67
|
+
slow: "var(--d5nt618)",
|
|
68
|
+
normal: "var(--d5nt619)",
|
|
69
|
+
fast: "var(--d5nt61a)"
|
|
70
|
+
},
|
|
71
|
+
shadow: {
|
|
72
|
+
small: "var(--d5nt61b)",
|
|
73
|
+
medium: "var(--d5nt61c)",
|
|
74
|
+
large: "var(--d5nt61d)"
|
|
75
|
+
},
|
|
76
|
+
focus: {
|
|
77
|
+
boxShadow: "var(--d5nt61e)"
|
|
78
|
+
}
|
|
79
|
+
};
|
|
8
80
|
fileScope.endFileScope();
|
|
9
81
|
exports.vars = vars;
|
|
@@ -1,9 +1,81 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import
|
|
3
|
-
import { makeVanillaTheme } from "./makeVanillaTheme.mjs";
|
|
4
|
-
import { tokens } from "./tokens.mjs";
|
|
2
|
+
import "./vars.css.ts.vanilla.mjs";
|
|
5
3
|
setFileScope("src/lib/theme/vars.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
4
|
+
var vars = {
|
|
5
|
+
space: {
|
|
6
|
+
none: "var(--d5nt60)",
|
|
7
|
+
gutter: "var(--d5nt61)",
|
|
8
|
+
xsmall: "var(--d5nt62)",
|
|
9
|
+
small: "var(--d5nt63)",
|
|
10
|
+
medium: "var(--d5nt64)",
|
|
11
|
+
large: "var(--d5nt65)",
|
|
12
|
+
xlarge: "var(--d5nt66)"
|
|
13
|
+
},
|
|
14
|
+
borderRadius: {
|
|
15
|
+
small: "var(--d5nt67)",
|
|
16
|
+
medium: "var(--d5nt68)",
|
|
17
|
+
large: "var(--d5nt69)",
|
|
18
|
+
xlarge: "var(--d5nt6a)"
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
black: "var(--d5nt6b)",
|
|
22
|
+
white: "var(--d5nt6c)",
|
|
23
|
+
body: "var(--d5nt6d)",
|
|
24
|
+
primaryLight: "var(--d5nt6e)",
|
|
25
|
+
primary: "var(--d5nt6f)",
|
|
26
|
+
primaryDark: "var(--d5nt6g)",
|
|
27
|
+
secondaryLight: "var(--d5nt6h)",
|
|
28
|
+
secondary: "var(--d5nt6i)",
|
|
29
|
+
secondaryDark: "var(--d5nt6j)",
|
|
30
|
+
text: "var(--d5nt6k)",
|
|
31
|
+
textLight: "var(--d5nt6l)",
|
|
32
|
+
textDark: "var(--d5nt6m)",
|
|
33
|
+
danger: "var(--d5nt6n)",
|
|
34
|
+
link: "var(--d5nt6o)"
|
|
35
|
+
},
|
|
36
|
+
borderWidth: {
|
|
37
|
+
small: "var(--d5nt6p)",
|
|
38
|
+
medium: "var(--d5nt6q)",
|
|
39
|
+
large: "var(--d5nt6r)"
|
|
40
|
+
},
|
|
41
|
+
fontFamily: {
|
|
42
|
+
body: "var(--d5nt6s)",
|
|
43
|
+
primary: "var(--d5nt6t)",
|
|
44
|
+
secondary: "var(--d5nt6u)"
|
|
45
|
+
},
|
|
46
|
+
fontSize: {
|
|
47
|
+
xsmall: "var(--d5nt6v)",
|
|
48
|
+
small: "var(--d5nt6w)",
|
|
49
|
+
medium: "var(--d5nt6x)",
|
|
50
|
+
large: "var(--d5nt6y)",
|
|
51
|
+
xlarge: "var(--d5nt6z)"
|
|
52
|
+
},
|
|
53
|
+
fontWeight: {
|
|
54
|
+
regular: "var(--d5nt610)",
|
|
55
|
+
medium: "var(--d5nt611)",
|
|
56
|
+
strong: "var(--d5nt612)"
|
|
57
|
+
},
|
|
58
|
+
lineHeight: {
|
|
59
|
+
xsmall: "var(--d5nt613)",
|
|
60
|
+
small: "var(--d5nt614)",
|
|
61
|
+
medium: "var(--d5nt615)",
|
|
62
|
+
large: "var(--d5nt616)",
|
|
63
|
+
xlarge: "var(--d5nt617)"
|
|
64
|
+
},
|
|
65
|
+
transition: {
|
|
66
|
+
slow: "var(--d5nt618)",
|
|
67
|
+
normal: "var(--d5nt619)",
|
|
68
|
+
fast: "var(--d5nt61a)"
|
|
69
|
+
},
|
|
70
|
+
shadow: {
|
|
71
|
+
small: "var(--d5nt61b)",
|
|
72
|
+
medium: "var(--d5nt61c)",
|
|
73
|
+
large: "var(--d5nt61d)"
|
|
74
|
+
},
|
|
75
|
+
focus: {
|
|
76
|
+
boxShadow: "var(--d5nt61e)"
|
|
77
|
+
}
|
|
78
|
+
};
|
|
7
79
|
endFileScope();
|
|
8
80
|
export {
|
|
9
81
|
vars
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,13 +1,197 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
require("./tokens.css.ts.vanilla.cjs");
|
|
4
|
+
require("./components/button.css.ts.vanilla.cjs");
|
|
5
|
+
require("./components/checkbox.css.ts.vanilla.cjs");
|
|
6
|
+
require("./components/dialog.css.ts.vanilla.cjs");
|
|
7
|
+
require("./components/divider.css.ts.vanilla.cjs");
|
|
8
|
+
require("./components/dropdown.css.ts.vanilla.cjs");
|
|
9
|
+
require("./components/input.css.ts.vanilla.cjs");
|
|
10
|
+
require("./components/label.css.ts.vanilla.cjs");
|
|
11
|
+
require("./components/link.css.ts.vanilla.cjs");
|
|
12
|
+
require("./components/progress.css.ts.vanilla.cjs");
|
|
13
|
+
require("./components/radio.css.ts.vanilla.cjs");
|
|
14
|
+
require("./components/select.css.ts.vanilla.cjs");
|
|
15
|
+
require("./components/slider.css.ts.vanilla.cjs");
|
|
16
|
+
require("./components/spinner.css.ts.vanilla.cjs");
|
|
17
|
+
require("./components/switch.css.ts.vanilla.cjs");
|
|
18
|
+
require("./components/helpers.css.ts.vanilla.cjs");
|
|
19
|
+
require("../../lib/css/atoms/sprinkles.css.ts.vanilla.cjs");
|
|
20
|
+
require("./momotaro.css.ts.vanilla.cjs");
|
|
6
21
|
fileScope.setFileScope("src/themes/momotaro/momotaro.css.ts", "@blockle/blocks");
|
|
7
|
-
|
|
22
|
+
var momotaro = {
|
|
8
23
|
name: "momotaro",
|
|
9
|
-
|
|
10
|
-
components:
|
|
11
|
-
|
|
24
|
+
vars: "_1htisiw0",
|
|
25
|
+
components: {
|
|
26
|
+
button: {
|
|
27
|
+
base: "ta7q6b8 ta7q6b2 rvxbw5s ta7q6b3 rvxbw98 rvxbw40 ta7q6b4 rvxbw7w ta7q6b5 rvxbwv ta7q6b6 rvxbw1z ta7q6b7 rvxbw8k _1pwcvlj2 _1pwcvlj1",
|
|
28
|
+
variants: {
|
|
29
|
+
variant: {
|
|
30
|
+
solid: "ta7q6ba ta7q6b9 rvxbw11",
|
|
31
|
+
outline: "ta7q6bc ta7q6bb rvxbwy",
|
|
32
|
+
ghost: "ta7q6bd"
|
|
33
|
+
},
|
|
34
|
+
size: {
|
|
35
|
+
small: "ta7q6bf ta7q6be rvxbwgw",
|
|
36
|
+
medium: "ta7q6bh ta7q6bg rvxbwh0",
|
|
37
|
+
large: "ta7q6bj ta7q6bi rvxbwh0"
|
|
38
|
+
},
|
|
39
|
+
intent: {
|
|
40
|
+
neutral: "ta7q6bk",
|
|
41
|
+
danger: "ta7q6bl"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
compoundVariants: [{
|
|
45
|
+
variants: {
|
|
46
|
+
variant: "solid",
|
|
47
|
+
intent: "neutral"
|
|
48
|
+
},
|
|
49
|
+
style: "ta7q6bm"
|
|
50
|
+
}, {
|
|
51
|
+
variants: {
|
|
52
|
+
variant: "solid",
|
|
53
|
+
intent: "danger"
|
|
54
|
+
},
|
|
55
|
+
style: "ta7q6bn"
|
|
56
|
+
}],
|
|
57
|
+
defaultVariants: {
|
|
58
|
+
size: "small",
|
|
59
|
+
variant: "solid",
|
|
60
|
+
intent: "neutral"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
checkbox: {
|
|
64
|
+
base: "_1cqtsrz1 _1cqtsrz0 rvxbw3 rvxbwu _1pwcvlj1",
|
|
65
|
+
icon: "_1cqtsrz2",
|
|
66
|
+
label: "_1cqtsrz3 rvxbw5o rvxbw6k rvxbwdg rvxbw8o rvxbw1r"
|
|
67
|
+
},
|
|
68
|
+
dialog: {
|
|
69
|
+
dialog: "_6gb0ay1 _6gb0ay0 rvxbw5o rvxbw6s rvxbwdc rvxbw11 rvxbw2n rvxbwv rvxbw1a",
|
|
70
|
+
backdrop: "_6gb0ay2",
|
|
71
|
+
variants: {
|
|
72
|
+
size: {
|
|
73
|
+
small: "_6gb0ay3",
|
|
74
|
+
medium: "_6gb0ay4",
|
|
75
|
+
large: "_6gb0ay5"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
defaultVariants: {
|
|
79
|
+
size: "small"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
divider: {
|
|
83
|
+
defaultVariants: {
|
|
84
|
+
color: "textLight"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
dropdown: {
|
|
88
|
+
base: "dgheqo4 dgheqo0 rvxbw1 dgheqo1 rvxbwu dgheqo2 rvxbw19 dgheqo3 rvxbwdo",
|
|
89
|
+
variants: {
|
|
90
|
+
variant: {
|
|
91
|
+
solid: "dgheqoa dgheqo5 rvxbw1 dgheqo6 rvxbw11 dgheqo7 rvxbw19 dgheqo8 rvxbw1b dgheqo9 rvxbwdo",
|
|
92
|
+
outline: "dgheqod dgheqob rvxbw1b dgheqoc rvxbwdo"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
defaultVariants: {
|
|
96
|
+
variant: "solid"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
input: {
|
|
100
|
+
input: "thlqfd1 thlqfd0 rvxbw1k rvxbwds rvxbw11 rvxbwu",
|
|
101
|
+
container: "thlqfd3 thlqfd2 rvxbw1 rvxbwv rvxbw19"
|
|
102
|
+
},
|
|
103
|
+
label: {
|
|
104
|
+
base: "_1426p3v0",
|
|
105
|
+
variants: {
|
|
106
|
+
size: {
|
|
107
|
+
small: "_1426p3v1",
|
|
108
|
+
medium: "_1426p3v2",
|
|
109
|
+
large: "_1426p3v3"
|
|
110
|
+
},
|
|
111
|
+
required: "_1426p3v4"
|
|
112
|
+
},
|
|
113
|
+
defaultVariants: {
|
|
114
|
+
size: "large"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
link: {
|
|
118
|
+
base: "zujos30 _1pwcvlj1",
|
|
119
|
+
variants: {
|
|
120
|
+
variant: {
|
|
121
|
+
inherit: "zujos31",
|
|
122
|
+
primary: "zujos32 rvxbw1f rvxbw1z",
|
|
123
|
+
secondary: "zujos33 rvxbw1i rvxbw1z"
|
|
124
|
+
},
|
|
125
|
+
underline: "zujos34"
|
|
126
|
+
},
|
|
127
|
+
defaultVariants: {
|
|
128
|
+
variant: "primary"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
progress: {
|
|
132
|
+
base: "_185khh42 _185khh41 rvxbw2d rvxbwu rvxbwa rvxbw1f rvxbw2k",
|
|
133
|
+
bar: "_185khh43",
|
|
134
|
+
variants: {
|
|
135
|
+
indeterminate: "_185khh44"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
radio: {
|
|
139
|
+
base: "fipgc31 fipgc30 rvxbw3 _1pwcvlj1",
|
|
140
|
+
icon: "fipgc32",
|
|
141
|
+
label: "fipgc33 rvxbw5o rvxbw6k rvxbwdg rvxbw8o rvxbw1r"
|
|
142
|
+
},
|
|
143
|
+
select: {
|
|
144
|
+
select: "_1q59vpe7 _1q59vpe0 rvxbw1k _1q59vpe1 rvxbwds _1q59vpe2 rvxbw11 _1q59vpe3 rvxbwd4 _1q59vpe4 rvxbw1 _1q59vpe5 rvxbwv _1q59vpe6 rvxbw19 _1pwcvlj1",
|
|
145
|
+
variants: {
|
|
146
|
+
variant: {
|
|
147
|
+
outline: "_1q59vpea _1q59vpe8 rvxbwy _1q59vpe9 rvxbwj",
|
|
148
|
+
solid: "_1q59vpeb"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
icon: "_1q59vped _1q59vpec rvxbwgw",
|
|
152
|
+
defaultVariants: {
|
|
153
|
+
variant: "solid"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
spinner: {
|
|
157
|
+
base: "ilkbcn1",
|
|
158
|
+
variants: {
|
|
159
|
+
size: {
|
|
160
|
+
small: "ilkbcn2",
|
|
161
|
+
medium: "ilkbcn3",
|
|
162
|
+
large: "ilkbcn4"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
defaultVariants: {
|
|
166
|
+
size: "small"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"switch": {
|
|
170
|
+
base: "pzg9zr3 pzg9zr1 rvxbwx pzg9zr2 rvxbwa _1pwcvlj1",
|
|
171
|
+
slider: "pzg9zr7 pzg9zr4 rvxbwiw pzg9zr5 rvxbw1 pzg9zr6 rvxbwx"
|
|
172
|
+
},
|
|
173
|
+
slider: {
|
|
174
|
+
base: "nczc033",
|
|
175
|
+
track: "nczc035 nczc034 rvxbwu",
|
|
176
|
+
filledTrack: "nczc036",
|
|
177
|
+
thumb: "nczc037 _1pwcvlj1",
|
|
178
|
+
variants: {
|
|
179
|
+
size: {
|
|
180
|
+
small: "nczc038",
|
|
181
|
+
medium: "nczc039",
|
|
182
|
+
large: "nczc03a"
|
|
183
|
+
},
|
|
184
|
+
colorScheme: {
|
|
185
|
+
primary: "nczc03b",
|
|
186
|
+
secondary: "nczc03c"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
defaultVariants: {
|
|
190
|
+
size: "medium",
|
|
191
|
+
colorScheme: "primary"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
};
|
|
12
196
|
fileScope.endFileScope();
|
|
13
197
|
exports.momotaro = momotaro;
|