@blockle/blocks 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -42
- package/dist/index.mjs +4 -36
- package/dist/momotaro.chunk.d.ts +266 -266
- package/dist/reset.css.cjs +0 -2
- package/dist/reset.css.mjs +0 -2
- package/dist/styles/components/display/Divider/divider.css.cjs +10 -3
- package/dist/styles/components/display/Divider/divider.css.mjs +10 -3
- package/dist/styles/components/form/Button/Button.css.cjs +10 -3
- package/dist/styles/components/form/Button/Button.css.mjs +10 -3
- package/dist/styles/components/form/Checkbox/checkbox.css.cjs +24 -5
- package/dist/styles/components/form/Checkbox/checkbox.css.mjs +24 -5
- package/dist/styles/components/form/Input/input.css.cjs +14 -3
- package/dist/styles/components/form/Input/input.css.mjs +14 -3
- package/dist/styles/components/form/Radio/radio.css.cjs +24 -5
- package/dist/styles/components/form/Radio/radio.css.mjs +24 -5
- package/dist/styles/components/form/Select/select.css.cjs +30 -5
- package/dist/styles/components/form/Select/select.css.mjs +30 -5
- package/dist/styles/components/form/Slider/slider.css.cjs +64 -7
- package/dist/styles/components/form/Slider/slider.css.mjs +64 -7
- package/dist/styles/components/form/Switch/switch.css.cjs +20 -4
- package/dist/styles/components/form/Switch/switch.css.mjs +20 -4
- package/dist/styles/components/overlay/Dialog/dialog.css.cjs +18 -3
- package/dist/styles/components/overlay/Dialog/dialog.css.mjs +18 -3
- package/dist/styles/components/typography/Heading/heading.css.cjs +10 -3
- package/dist/styles/components/typography/Heading/heading.css.mjs +10 -3
- package/dist/styles/components/typography/Text/text.css.cjs +10 -3
- package/dist/styles/components/typography/Text/text.css.mjs +10 -3
- package/dist/styles/lib/css/atoms/atomicProperties.cjs +83 -0
- package/dist/styles/lib/css/atoms/atomicProperties.mjs +84 -0
- package/dist/styles/lib/css/atoms/breakpoints.cjs +11 -0
- package/dist/styles/lib/css/atoms/breakpoints.mjs +12 -0
- package/dist/styles/lib/css/atoms/sprinkles.css.cjs +31 -2088
- package/dist/styles/lib/css/atoms/sprinkles.css.mjs +31 -2088
- package/dist/styles/lib/css/layers/layers.css.cjs +7 -0
- package/dist/styles/lib/css/layers/layers.css.mjs +8 -0
- package/dist/styles/lib/css/style/style.cjs +28 -0
- package/dist/styles/lib/css/style/style.mjs +29 -0
- package/dist/styles/lib/theme/makeComponentTheme.cjs +5 -0
- package/dist/styles/lib/theme/makeComponentTheme.mjs +6 -0
- package/dist/styles/lib/theme/makeTheme.cjs +2 -18
- package/dist/styles/lib/theme/makeTheme.mjs +1 -17
- package/dist/styles/lib/theme/makeVanillaTheme.cjs +19 -0
- package/dist/styles/lib/theme/makeVanillaTheme.mjs +20 -0
- package/dist/styles/lib/theme/tokens.cjs +81 -0
- package/dist/styles/lib/theme/tokens.mjs +82 -0
- package/dist/styles/lib/theme/vars.css.cjs +4 -76
- package/dist/styles/lib/theme/vars.css.mjs +4 -76
- package/dist/styles/themes/momotaro/components/button.css.cjs +103 -0
- package/dist/styles/themes/momotaro/components/button.css.mjs +104 -0
- package/dist/styles/themes/momotaro/components/checkbox.css.cjs +59 -0
- package/dist/styles/themes/momotaro/components/checkbox.css.mjs +60 -0
- package/dist/styles/themes/momotaro/components/dialog.css.cjs +68 -0
- package/dist/styles/themes/momotaro/components/dialog.css.mjs +69 -0
- package/dist/styles/themes/momotaro/components/divider.css.cjs +11 -0
- package/dist/styles/themes/momotaro/components/divider.css.mjs +12 -0
- package/dist/styles/themes/momotaro/components/dropdown.css.cjs +53 -0
- package/dist/styles/themes/momotaro/components/dropdown.css.mjs +54 -0
- package/dist/styles/themes/momotaro/components/helpers.css.cjs +43 -0
- package/dist/styles/themes/momotaro/components/helpers.css.mjs +44 -0
- package/dist/styles/themes/momotaro/components/index.cjs +32 -0
- package/dist/styles/themes/momotaro/components/index.mjs +33 -0
- package/dist/styles/themes/momotaro/components/input.css.cjs +41 -0
- package/dist/styles/themes/momotaro/components/input.css.mjs +42 -0
- package/dist/styles/themes/momotaro/components/label.css.cjs +33 -0
- package/dist/styles/themes/momotaro/components/label.css.mjs +34 -0
- package/dist/styles/themes/momotaro/components/link.css.cjs +47 -0
- package/dist/styles/themes/momotaro/components/link.css.mjs +48 -0
- package/dist/styles/themes/momotaro/components/progress.css.cjs +55 -0
- package/dist/styles/themes/momotaro/components/progress.css.mjs +56 -0
- package/dist/styles/themes/momotaro/components/radio.css.cjs +60 -0
- package/dist/styles/themes/momotaro/components/radio.css.mjs +61 -0
- package/dist/styles/themes/momotaro/components/select.css.cjs +44 -0
- package/dist/styles/themes/momotaro/components/select.css.mjs +45 -0
- package/dist/styles/themes/momotaro/components/slider.css.cjs +65 -0
- package/dist/styles/themes/momotaro/components/slider.css.mjs +66 -0
- package/dist/styles/themes/momotaro/components/spinner.css.cjs +43 -0
- package/dist/styles/themes/momotaro/components/spinner.css.mjs +44 -0
- package/dist/styles/themes/momotaro/components/switch.css.cjs +58 -0
- package/dist/styles/themes/momotaro/components/switch.css.mjs +59 -0
- package/dist/styles/themes/momotaro/components/transitions.cjs +3 -0
- package/dist/styles/themes/momotaro/components/transitions.mjs +4 -0
- package/dist/styles/themes/momotaro/momotaro.css.cjs +7 -191
- package/dist/styles/themes/momotaro/momotaro.css.mjs +7 -191
- package/dist/styles/themes/momotaro/tokens.css.cjs +84 -0
- package/dist/styles/themes/momotaro/tokens.css.mjs +85 -0
- package/package.json +1 -1
- package/dist/style.css +0 -2851
- package/dist/styles/components/form/Button/Button.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Button/Button.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/form/Checkbox/checkbox.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Checkbox/checkbox.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/form/Input/input.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Input/input.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/form/Radio/radio.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Radio/radio.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/form/Select/select.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Select/select.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/form/Slider/slider.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Slider/slider.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/form/Switch/switch.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/form/Switch/switch.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/overlay/Dialog/dialog.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/overlay/Dialog/dialog.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/typography/Heading/heading.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/typography/Heading/heading.css.ts.vanilla.mjs +0 -1
- package/dist/styles/components/typography/Text/text.css.ts.vanilla.cjs +0 -1
- package/dist/styles/components/typography/Text/text.css.ts.vanilla.mjs +0 -1
- package/dist/styles/entries/reset.css.ts.vanilla.cjs +0 -1
- package/dist/styles/entries/reset.css.ts.vanilla.mjs +0 -1
- package/dist/styles/lib/css/atoms/sprinkles.css.ts.vanilla.cjs +0 -1
- package/dist/styles/lib/css/atoms/sprinkles.css.ts.vanilla.mjs +0 -1
- package/dist/styles/lib/css/layers/layers.css.ts.vanilla.cjs +0 -1
- package/dist/styles/lib/css/layers/layers.css.ts.vanilla.mjs +0 -1
- package/dist/styles/lib/css/reset/reset.css.ts.vanilla.cjs +0 -1
- package/dist/styles/lib/css/reset/reset.css.ts.vanilla.mjs +0 -1
- package/dist/styles/lib/theme/vars.css.ts.vanilla.cjs +0 -1
- package/dist/styles/lib/theme/vars.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/button.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/button.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/checkbox.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/checkbox.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/dialog.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/dialog.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/divider.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/divider.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/dropdown.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/dropdown.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/helpers.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/helpers.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/input.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/input.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/label.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/label.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/link.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/link.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/progress.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/progress.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/radio.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/radio.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/select.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/select.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/slider.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/slider.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/spinner.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/spinner.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/components/switch.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/components/switch.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/momotaro.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/momotaro.css.ts.vanilla.mjs +0 -1
- package/dist/styles/themes/momotaro/tokens.css.ts.vanilla.cjs +0 -1
- package/dist/styles/themes/momotaro/tokens.css.ts.vanilla.mjs +0 -1
- /package/dist/styles/{components/display/Divider/divider.css.ts.vanilla.cjs → lib/css/reset/reset.css.cjs} +0 -0
- /package/dist/styles/{components/display/Divider/divider.css.ts.vanilla.mjs → lib/css/reset/reset.css.mjs} +0 -0
package/dist/reset.css.cjs
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("./styles/lib/css/reset/reset.css.ts.vanilla.cjs");
|
|
4
|
-
require("./styles/entries/reset.css.ts.vanilla.cjs");
|
|
5
3
|
fileScope.setFileScope("src/entries/reset.css.ts", "@blockle/blocks");
|
|
6
4
|
fileScope.endFileScope();
|
package/dist/reset.css.mjs
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/display/Divider/divider.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
6
|
+
const divider = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
clear: "both",
|
|
10
|
+
blockSize: "1px"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "divider");
|
|
7
14
|
fileScope.endFileScope();
|
|
8
15
|
exports.divider = divider;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/display/Divider/divider.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
5
|
+
const divider = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
clear: "both",
|
|
9
|
+
blockSize: "1px"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, "divider");
|
|
6
13
|
endFileScope();
|
|
7
14
|
export {
|
|
8
15
|
divider
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Button/Button.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
6
|
+
const buttonReset = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
all: "unset",
|
|
10
|
+
cursor: "pointer"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "buttonReset");
|
|
7
14
|
fileScope.endFileScope();
|
|
8
15
|
exports.buttonReset = buttonReset;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Button/Button.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
5
|
+
const buttonReset = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
all: "unset",
|
|
9
|
+
cursor: "pointer"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, "buttonReset");
|
|
6
13
|
endFileScope();
|
|
7
14
|
export {
|
|
8
15
|
buttonReset
|
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Checkbox/checkbox.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const container = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
position: "relative",
|
|
10
|
+
cursor: "pointer",
|
|
11
|
+
overflow: "hidden"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}, "container");
|
|
15
|
+
const input = css.style({
|
|
16
|
+
position: "absolute",
|
|
17
|
+
inset: 0,
|
|
18
|
+
opacity: 0,
|
|
19
|
+
"@layer": {
|
|
20
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
21
|
+
all: "unset"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}, "input");
|
|
25
|
+
const icon = css.style({
|
|
26
|
+
pointerEvents: "none"
|
|
27
|
+
}, "icon");
|
|
9
28
|
fileScope.endFileScope();
|
|
10
29
|
exports.container = container;
|
|
11
30
|
exports.icon = icon;
|
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Checkbox/checkbox.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const container = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
position: "relative",
|
|
9
|
+
cursor: "pointer",
|
|
10
|
+
overflow: "hidden"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "container");
|
|
14
|
+
const input = style({
|
|
15
|
+
position: "absolute",
|
|
16
|
+
inset: 0,
|
|
17
|
+
opacity: 0,
|
|
18
|
+
"@layer": {
|
|
19
|
+
[blocksLayer]: {
|
|
20
|
+
all: "unset"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, "input");
|
|
24
|
+
const icon = style({
|
|
25
|
+
pointerEvents: "none"
|
|
26
|
+
}, "icon");
|
|
8
27
|
endFileScope();
|
|
9
28
|
export {
|
|
10
29
|
container,
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Input/input.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
6
|
+
const input = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
appearance: "none",
|
|
10
|
+
selectors: {
|
|
11
|
+
"&:-webkit-autofill": {
|
|
12
|
+
transitionDelay: "9999s"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}, "input");
|
|
7
18
|
fileScope.endFileScope();
|
|
8
19
|
exports.input = input;
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Input/input.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
5
|
+
const input = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
appearance: "none",
|
|
9
|
+
selectors: {
|
|
10
|
+
"&:-webkit-autofill": {
|
|
11
|
+
transitionDelay: "9999s"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}, "input");
|
|
6
17
|
endFileScope();
|
|
7
18
|
export {
|
|
8
19
|
input
|
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Radio/radio.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const container = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
position: "relative",
|
|
10
|
+
cursor: "pointer",
|
|
11
|
+
overflow: "hidden"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}, "container");
|
|
15
|
+
const input = css.style({
|
|
16
|
+
position: "absolute",
|
|
17
|
+
inset: 0,
|
|
18
|
+
opacity: 0,
|
|
19
|
+
"@layer": {
|
|
20
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
21
|
+
all: "unset"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}, "input");
|
|
25
|
+
const icon = css.style({
|
|
26
|
+
pointerEvents: "none"
|
|
27
|
+
}, "icon");
|
|
9
28
|
fileScope.endFileScope();
|
|
10
29
|
exports.container = container;
|
|
11
30
|
exports.icon = icon;
|
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Radio/radio.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const container = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
position: "relative",
|
|
9
|
+
cursor: "pointer",
|
|
10
|
+
overflow: "hidden"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "container");
|
|
14
|
+
const input = style({
|
|
15
|
+
position: "absolute",
|
|
16
|
+
inset: 0,
|
|
17
|
+
opacity: 0,
|
|
18
|
+
"@layer": {
|
|
19
|
+
[blocksLayer]: {
|
|
20
|
+
all: "unset"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, "input");
|
|
24
|
+
const icon = style({
|
|
25
|
+
pointerEvents: "none"
|
|
26
|
+
}, "icon");
|
|
8
27
|
endFileScope();
|
|
9
28
|
export {
|
|
10
29
|
container,
|
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Select/select.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const wrapper = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
position: "relative"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, "wrapper");
|
|
13
|
+
const select = css.style({
|
|
14
|
+
"@layer": {
|
|
15
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
16
|
+
appearance: "none",
|
|
17
|
+
inlineSize: "100%"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}, "select");
|
|
21
|
+
const icon = css.style({
|
|
22
|
+
"@layer": {
|
|
23
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
24
|
+
position: "absolute",
|
|
25
|
+
right: 0,
|
|
26
|
+
top: 0,
|
|
27
|
+
bottom: 0,
|
|
28
|
+
pointerEvents: "none",
|
|
29
|
+
display: "flex",
|
|
30
|
+
alignItems: "center"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, "icon");
|
|
9
34
|
fileScope.endFileScope();
|
|
10
35
|
exports.icon = icon;
|
|
11
36
|
exports.select = select;
|
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Select/select.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const wrapper = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
position: "relative"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}, "wrapper");
|
|
12
|
+
const select = style({
|
|
13
|
+
"@layer": {
|
|
14
|
+
[blocksLayer]: {
|
|
15
|
+
appearance: "none",
|
|
16
|
+
inlineSize: "100%"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, "select");
|
|
20
|
+
const icon = style({
|
|
21
|
+
"@layer": {
|
|
22
|
+
[blocksLayer]: {
|
|
23
|
+
position: "absolute",
|
|
24
|
+
right: 0,
|
|
25
|
+
top: 0,
|
|
26
|
+
bottom: 0,
|
|
27
|
+
pointerEvents: "none",
|
|
28
|
+
display: "flex",
|
|
29
|
+
alignItems: "center"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, "icon");
|
|
8
33
|
endFileScope();
|
|
9
34
|
export {
|
|
10
35
|
icon,
|
|
@@ -1,13 +1,70 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Slider/slider.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
const container = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
position: "relative",
|
|
10
|
+
writingMode: "horizontal-tb"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "container");
|
|
14
|
+
const containerVertical = css.style({
|
|
15
|
+
"@layer": {
|
|
16
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
17
|
+
writingMode: "vertical-lr"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}, "containerVertical");
|
|
21
|
+
const track = css.style({
|
|
22
|
+
"@layer": {
|
|
23
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
24
|
+
cursor: "pointer",
|
|
25
|
+
position: "absolute",
|
|
26
|
+
inlineSize: "100%",
|
|
27
|
+
insetBlockStart: "50%",
|
|
28
|
+
transform: "translateY(-50%)",
|
|
29
|
+
selectors: {
|
|
30
|
+
[`${containerVertical} &`]: {
|
|
31
|
+
transform: "translateX(-50%)"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}, "track");
|
|
37
|
+
const filledTrack = css.style({
|
|
38
|
+
"@layer": {
|
|
39
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
40
|
+
position: "absolute",
|
|
41
|
+
blockSize: "100%",
|
|
42
|
+
borderRadius: "inherit",
|
|
43
|
+
selectors: {
|
|
44
|
+
[`${containerVertical} &`]: {
|
|
45
|
+
insetInlineEnd: "0%"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}, "filledTrack");
|
|
51
|
+
const thumb = css.style({
|
|
52
|
+
"@layer": {
|
|
53
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
54
|
+
cursor: "pointer",
|
|
55
|
+
position: "absolute",
|
|
56
|
+
blockSize: "100%",
|
|
57
|
+
insetBlockStart: "50%",
|
|
58
|
+
transform: "translate(-50%, -50%)",
|
|
59
|
+
touchAction: "none",
|
|
60
|
+
selectors: {
|
|
61
|
+
[`${containerVertical} &`]: {
|
|
62
|
+
transform: "translate(-50%, 50%)"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}, "thumb");
|
|
11
68
|
fileScope.endFileScope();
|
|
12
69
|
exports.container = container;
|
|
13
70
|
exports.containerVertical = containerVertical;
|
|
@@ -1,12 +1,69 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Slider/slider.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
const container = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
position: "relative",
|
|
9
|
+
writingMode: "horizontal-tb"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, "container");
|
|
13
|
+
const containerVertical = style({
|
|
14
|
+
"@layer": {
|
|
15
|
+
[blocksLayer]: {
|
|
16
|
+
writingMode: "vertical-lr"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, "containerVertical");
|
|
20
|
+
const track = style({
|
|
21
|
+
"@layer": {
|
|
22
|
+
[blocksLayer]: {
|
|
23
|
+
cursor: "pointer",
|
|
24
|
+
position: "absolute",
|
|
25
|
+
inlineSize: "100%",
|
|
26
|
+
insetBlockStart: "50%",
|
|
27
|
+
transform: "translateY(-50%)",
|
|
28
|
+
selectors: {
|
|
29
|
+
[`${containerVertical} &`]: {
|
|
30
|
+
transform: "translateX(-50%)"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}, "track");
|
|
36
|
+
const filledTrack = style({
|
|
37
|
+
"@layer": {
|
|
38
|
+
[blocksLayer]: {
|
|
39
|
+
position: "absolute",
|
|
40
|
+
blockSize: "100%",
|
|
41
|
+
borderRadius: "inherit",
|
|
42
|
+
selectors: {
|
|
43
|
+
[`${containerVertical} &`]: {
|
|
44
|
+
insetInlineEnd: "0%"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, "filledTrack");
|
|
50
|
+
const thumb = style({
|
|
51
|
+
"@layer": {
|
|
52
|
+
[blocksLayer]: {
|
|
53
|
+
cursor: "pointer",
|
|
54
|
+
position: "absolute",
|
|
55
|
+
blockSize: "100%",
|
|
56
|
+
insetBlockStart: "50%",
|
|
57
|
+
transform: "translate(-50%, -50%)",
|
|
58
|
+
touchAction: "none",
|
|
59
|
+
selectors: {
|
|
60
|
+
[`${containerVertical} &`]: {
|
|
61
|
+
transform: "translate(-50%, 50%)"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}, "thumb");
|
|
10
67
|
endFileScope();
|
|
11
68
|
export {
|
|
12
69
|
container,
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/form/Switch/switch.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
const container = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
cursor: "pointer",
|
|
10
|
+
userSelect: "none",
|
|
11
|
+
position: "relative"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}, "container");
|
|
15
|
+
const input = css.style({
|
|
16
|
+
"@layer": {
|
|
17
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
18
|
+
opacity: 0,
|
|
19
|
+
maxBlockSize: 0,
|
|
20
|
+
maxInlineSize: 0
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, "input");
|
|
8
24
|
fileScope.endFileScope();
|
|
9
25
|
exports.container = container;
|
|
10
26
|
exports.input = input;
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/form/Switch/switch.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
const container = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
cursor: "pointer",
|
|
9
|
+
userSelect: "none",
|
|
10
|
+
position: "relative"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "container");
|
|
14
|
+
const input = style({
|
|
15
|
+
"@layer": {
|
|
16
|
+
[blocksLayer]: {
|
|
17
|
+
opacity: 0,
|
|
18
|
+
maxBlockSize: 0,
|
|
19
|
+
maxInlineSize: 0
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}, "input");
|
|
7
23
|
endFileScope();
|
|
8
24
|
export {
|
|
9
25
|
container,
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/overlay/Dialog/dialog.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
6
|
+
const backdrop = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
contain: "layout",
|
|
10
|
+
display: "flex",
|
|
11
|
+
placeItems: "center",
|
|
12
|
+
position: "fixed",
|
|
13
|
+
inlineSize: "100%",
|
|
14
|
+
blockSize: "100%",
|
|
15
|
+
insetInlineStart: 0,
|
|
16
|
+
insetBlockStart: 0,
|
|
17
|
+
overflow: "hidden",
|
|
18
|
+
zIndex: 1e3
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}, "backdrop");
|
|
7
22
|
fileScope.endFileScope();
|
|
8
23
|
exports.backdrop = backdrop;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
import { blocksLayer } from "../../../lib/css/layers/layers.css.mjs";
|
|
4
4
|
setFileScope("src/components/overlay/Dialog/dialog.css.ts", "@blockle/blocks");
|
|
5
|
-
|
|
5
|
+
const backdrop = style({
|
|
6
|
+
"@layer": {
|
|
7
|
+
[blocksLayer]: {
|
|
8
|
+
contain: "layout",
|
|
9
|
+
display: "flex",
|
|
10
|
+
placeItems: "center",
|
|
11
|
+
position: "fixed",
|
|
12
|
+
inlineSize: "100%",
|
|
13
|
+
blockSize: "100%",
|
|
14
|
+
insetInlineStart: 0,
|
|
15
|
+
insetBlockStart: 0,
|
|
16
|
+
overflow: "hidden",
|
|
17
|
+
zIndex: 1e3
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}, "backdrop");
|
|
6
21
|
endFileScope();
|
|
7
22
|
export {
|
|
8
23
|
backdrop
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
-
require("
|
|
4
|
-
require("
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
const styles_lib_css_layers_layers_css_cjs = require("../../../lib/css/layers/layers.css.cjs");
|
|
5
5
|
fileScope.setFileScope("src/components/typography/Heading/heading.css.ts", "@blockle/blocks");
|
|
6
|
-
|
|
6
|
+
const heading = css.style({
|
|
7
|
+
"@layer": {
|
|
8
|
+
[styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
|
|
9
|
+
margin: 0,
|
|
10
|
+
padding: 0
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, "heading");
|
|
7
14
|
fileScope.endFileScope();
|
|
8
15
|
exports.heading = heading;
|