@blockle/blocks-theme-momotaro 7.3.0 → 7.3.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAkClE,eAAO,MAAM,UAAU,EAAE,qBA2BxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.css.d.ts","sourceRoot":"","sources":["../../src/components/switch.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAC;AAO9B,eAAO,MAAM,WAAW,EAAE,qBAAqB,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"switch.css.d.ts","sourceRoot":"","sources":["../../src/components/switch.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAC;AAO9B,eAAO,MAAM,WAAW,EAAE,qBAAqB,CAAC,QAAQ,CA8DvD,CAAC"}
|
|
@@ -21,7 +21,7 @@ const switchTheme = makeComponentTheme(
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
selectors: {
|
|
24
|
-
|
|
24
|
+
"&:has(input:checked)": {
|
|
25
25
|
backgroundColor: vars.colorRole.secondary.solid
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -52,7 +52,8 @@ const switchTheme = makeComponentTheme(
|
|
|
52
52
|
// Deliberately fixed: the thumb is white in every mode
|
|
53
53
|
backgroundColor: vars.color.white,
|
|
54
54
|
selectors: {
|
|
55
|
-
'
|
|
55
|
+
// The thumb follows the input, so it reads the input's own state
|
|
56
|
+
"input:checked ~ &": {
|
|
56
57
|
transform: `translateX(20px) scale(${activeScaleFactor})`
|
|
57
58
|
}
|
|
58
59
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockle/blocks-theme-momotaro",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2",
|
|
4
4
|
"description": "Momotaro theme for Blocks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@vanilla-extract/css": "^1.18.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@blockle/blocks-core": ">=3.
|
|
37
|
+
"@blockle/blocks-core": ">=3.4.x",
|
|
38
38
|
"@vanilla-extract/css": "^1.18.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|