@react-spectrum/switch 3.5.7 → 3.5.9
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/Switch.main.js +1 -1
- package/dist/Switch.mjs +1 -1
- package/dist/Switch.module.js +1 -1
- package/dist/toggle_vars_css.main.js +12 -12
- package/dist/toggle_vars_css.mjs +12 -12
- package/dist/toggle_vars_css.module.js +12 -12
- package/dist/{vars.f7257b6a.css → vars.ee098a37.css} +82 -82
- package/dist/{vars.f7257b6a.css.map → vars.ee098a37.css.map} +1 -1
- package/package.json +9 -9
package/dist/Switch.main.js
CHANGED
package/dist/Switch.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./vars.
|
|
1
|
+
import "./vars.ee098a37.css";
|
|
2
2
|
import $cEq2J$toggle_vars_cssmodulejs from "./toggle_vars_css.mjs";
|
|
3
3
|
import {useStyleProps as $cEq2J$useStyleProps, useFocusableRef as $cEq2J$useFocusableRef, classNames as $cEq2J$classNames} from "@react-spectrum/utils";
|
|
4
4
|
import {FocusRing as $cEq2J$FocusRing} from "@react-aria/focus";
|
package/dist/Switch.module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./vars.
|
|
1
|
+
import "./vars.ee098a37.css";
|
|
2
2
|
import $cEq2J$toggle_vars_cssmodulejs from "./toggle_vars_css.module.js";
|
|
3
3
|
import {useStyleProps as $cEq2J$useStyleProps, useFocusableRef as $cEq2J$useFocusableRef, classNames as $cEq2J$classNames} from "@react-spectrum/utils";
|
|
4
4
|
import {FocusRing as $cEq2J$FocusRing} from "@react-aria/focus";
|
|
@@ -27,18 +27,18 @@ var $faeb9d1b92049ba7$export$ce1b1dcfc10f3df4;
|
|
|
27
27
|
var $faeb9d1b92049ba7$export$38df7ea4ffef819a;
|
|
28
28
|
var $faeb9d1b92049ba7$export$8f1a69021a3897b2;
|
|
29
29
|
var $faeb9d1b92049ba7$export$b82d06d1b520a22f;
|
|
30
|
-
$faeb9d1b92049ba7$export$f39a09f249340e2a = `
|
|
31
|
-
$faeb9d1b92049ba7$export$8c4ee2c50c22c514 = `
|
|
32
|
-
$faeb9d1b92049ba7$export$b8813cd5d7824ce7 = `
|
|
33
|
-
$faeb9d1b92049ba7$export$4109102f950813a6 = `
|
|
34
|
-
$faeb9d1b92049ba7$export$24c7f46a6e3605dd = `
|
|
35
|
-
$faeb9d1b92049ba7$export$2927016961429360 = `
|
|
36
|
-
$faeb9d1b92049ba7$export$89a9162656c0c38c = `
|
|
37
|
-
$faeb9d1b92049ba7$export$dc5a33fddabf5882 = `
|
|
38
|
-
$faeb9d1b92049ba7$export$ce1b1dcfc10f3df4 = `
|
|
39
|
-
$faeb9d1b92049ba7$export$38df7ea4ffef819a = `
|
|
40
|
-
$faeb9d1b92049ba7$export$8f1a69021a3897b2 = `
|
|
41
|
-
$faeb9d1b92049ba7$export$b82d06d1b520a22f = `
|
|
30
|
+
$faeb9d1b92049ba7$export$f39a09f249340e2a = `TIUVWG_focus-ring`;
|
|
31
|
+
$faeb9d1b92049ba7$export$8c4ee2c50c22c514 = `TIUVWG_i18nFontFamily`;
|
|
32
|
+
$faeb9d1b92049ba7$export$b8813cd5d7824ce7 = `TIUVWG_is-hovered`;
|
|
33
|
+
$faeb9d1b92049ba7$export$4109102f950813a6 = `TIUVWG_spectrum-FocusRing-ring`;
|
|
34
|
+
$faeb9d1b92049ba7$export$24c7f46a6e3605dd = `TIUVWG_spectrum-FocusRing ${$faeb9d1b92049ba7$export$4109102f950813a6}`;
|
|
35
|
+
$faeb9d1b92049ba7$export$2927016961429360 = `TIUVWG_spectrum-FocusRing--quiet`;
|
|
36
|
+
$faeb9d1b92049ba7$export$89a9162656c0c38c = `TIUVWG_spectrum-ToggleSwitch`;
|
|
37
|
+
$faeb9d1b92049ba7$export$dc5a33fddabf5882 = `TIUVWG_spectrum-ToggleSwitch--ab`;
|
|
38
|
+
$faeb9d1b92049ba7$export$ce1b1dcfc10f3df4 = `TIUVWG_spectrum-ToggleSwitch--quiet`;
|
|
39
|
+
$faeb9d1b92049ba7$export$38df7ea4ffef819a = `TIUVWG_spectrum-ToggleSwitch-input`;
|
|
40
|
+
$faeb9d1b92049ba7$export$8f1a69021a3897b2 = `TIUVWG_spectrum-ToggleSwitch-label`;
|
|
41
|
+
$faeb9d1b92049ba7$export$b82d06d1b520a22f = `TIUVWG_spectrum-ToggleSwitch-switch`;
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
//# sourceMappingURL=toggle_vars_css.main.js.map
|
package/dist/toggle_vars_css.mjs
CHANGED
|
@@ -28,18 +28,18 @@ var $dfcff93ab25bb9b3$export$ce1b1dcfc10f3df4;
|
|
|
28
28
|
var $dfcff93ab25bb9b3$export$38df7ea4ffef819a;
|
|
29
29
|
var $dfcff93ab25bb9b3$export$8f1a69021a3897b2;
|
|
30
30
|
var $dfcff93ab25bb9b3$export$b82d06d1b520a22f;
|
|
31
|
-
$dfcff93ab25bb9b3$export$f39a09f249340e2a = `
|
|
32
|
-
$dfcff93ab25bb9b3$export$8c4ee2c50c22c514 = `
|
|
33
|
-
$dfcff93ab25bb9b3$export$b8813cd5d7824ce7 = `
|
|
34
|
-
$dfcff93ab25bb9b3$export$4109102f950813a6 = `
|
|
35
|
-
$dfcff93ab25bb9b3$export$24c7f46a6e3605dd = `
|
|
36
|
-
$dfcff93ab25bb9b3$export$2927016961429360 = `
|
|
37
|
-
$dfcff93ab25bb9b3$export$89a9162656c0c38c = `
|
|
38
|
-
$dfcff93ab25bb9b3$export$dc5a33fddabf5882 = `
|
|
39
|
-
$dfcff93ab25bb9b3$export$ce1b1dcfc10f3df4 = `
|
|
40
|
-
$dfcff93ab25bb9b3$export$38df7ea4ffef819a = `
|
|
41
|
-
$dfcff93ab25bb9b3$export$8f1a69021a3897b2 = `
|
|
42
|
-
$dfcff93ab25bb9b3$export$b82d06d1b520a22f = `
|
|
31
|
+
$dfcff93ab25bb9b3$export$f39a09f249340e2a = `TIUVWG_focus-ring`;
|
|
32
|
+
$dfcff93ab25bb9b3$export$8c4ee2c50c22c514 = `TIUVWG_i18nFontFamily`;
|
|
33
|
+
$dfcff93ab25bb9b3$export$b8813cd5d7824ce7 = `TIUVWG_is-hovered`;
|
|
34
|
+
$dfcff93ab25bb9b3$export$4109102f950813a6 = `TIUVWG_spectrum-FocusRing-ring`;
|
|
35
|
+
$dfcff93ab25bb9b3$export$24c7f46a6e3605dd = `TIUVWG_spectrum-FocusRing ${$dfcff93ab25bb9b3$export$4109102f950813a6}`;
|
|
36
|
+
$dfcff93ab25bb9b3$export$2927016961429360 = `TIUVWG_spectrum-FocusRing--quiet`;
|
|
37
|
+
$dfcff93ab25bb9b3$export$89a9162656c0c38c = `TIUVWG_spectrum-ToggleSwitch`;
|
|
38
|
+
$dfcff93ab25bb9b3$export$dc5a33fddabf5882 = `TIUVWG_spectrum-ToggleSwitch--ab`;
|
|
39
|
+
$dfcff93ab25bb9b3$export$ce1b1dcfc10f3df4 = `TIUVWG_spectrum-ToggleSwitch--quiet`;
|
|
40
|
+
$dfcff93ab25bb9b3$export$38df7ea4ffef819a = `TIUVWG_spectrum-ToggleSwitch-input`;
|
|
41
|
+
$dfcff93ab25bb9b3$export$8f1a69021a3897b2 = `TIUVWG_spectrum-ToggleSwitch-label`;
|
|
42
|
+
$dfcff93ab25bb9b3$export$b82d06d1b520a22f = `TIUVWG_spectrum-ToggleSwitch-switch`;
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export {$dfcff93ab25bb9b3$exports as default};
|
|
@@ -28,18 +28,18 @@ var $dfcff93ab25bb9b3$export$ce1b1dcfc10f3df4;
|
|
|
28
28
|
var $dfcff93ab25bb9b3$export$38df7ea4ffef819a;
|
|
29
29
|
var $dfcff93ab25bb9b3$export$8f1a69021a3897b2;
|
|
30
30
|
var $dfcff93ab25bb9b3$export$b82d06d1b520a22f;
|
|
31
|
-
$dfcff93ab25bb9b3$export$f39a09f249340e2a = `
|
|
32
|
-
$dfcff93ab25bb9b3$export$8c4ee2c50c22c514 = `
|
|
33
|
-
$dfcff93ab25bb9b3$export$b8813cd5d7824ce7 = `
|
|
34
|
-
$dfcff93ab25bb9b3$export$4109102f950813a6 = `
|
|
35
|
-
$dfcff93ab25bb9b3$export$24c7f46a6e3605dd = `
|
|
36
|
-
$dfcff93ab25bb9b3$export$2927016961429360 = `
|
|
37
|
-
$dfcff93ab25bb9b3$export$89a9162656c0c38c = `
|
|
38
|
-
$dfcff93ab25bb9b3$export$dc5a33fddabf5882 = `
|
|
39
|
-
$dfcff93ab25bb9b3$export$ce1b1dcfc10f3df4 = `
|
|
40
|
-
$dfcff93ab25bb9b3$export$38df7ea4ffef819a = `
|
|
41
|
-
$dfcff93ab25bb9b3$export$8f1a69021a3897b2 = `
|
|
42
|
-
$dfcff93ab25bb9b3$export$b82d06d1b520a22f = `
|
|
31
|
+
$dfcff93ab25bb9b3$export$f39a09f249340e2a = `TIUVWG_focus-ring`;
|
|
32
|
+
$dfcff93ab25bb9b3$export$8c4ee2c50c22c514 = `TIUVWG_i18nFontFamily`;
|
|
33
|
+
$dfcff93ab25bb9b3$export$b8813cd5d7824ce7 = `TIUVWG_is-hovered`;
|
|
34
|
+
$dfcff93ab25bb9b3$export$4109102f950813a6 = `TIUVWG_spectrum-FocusRing-ring`;
|
|
35
|
+
$dfcff93ab25bb9b3$export$24c7f46a6e3605dd = `TIUVWG_spectrum-FocusRing ${$dfcff93ab25bb9b3$export$4109102f950813a6}`;
|
|
36
|
+
$dfcff93ab25bb9b3$export$2927016961429360 = `TIUVWG_spectrum-FocusRing--quiet`;
|
|
37
|
+
$dfcff93ab25bb9b3$export$89a9162656c0c38c = `TIUVWG_spectrum-ToggleSwitch`;
|
|
38
|
+
$dfcff93ab25bb9b3$export$dc5a33fddabf5882 = `TIUVWG_spectrum-ToggleSwitch--ab`;
|
|
39
|
+
$dfcff93ab25bb9b3$export$ce1b1dcfc10f3df4 = `TIUVWG_spectrum-ToggleSwitch--quiet`;
|
|
40
|
+
$dfcff93ab25bb9b3$export$38df7ea4ffef819a = `TIUVWG_spectrum-ToggleSwitch-input`;
|
|
41
|
+
$dfcff93ab25bb9b3$export$8f1a69021a3897b2 = `TIUVWG_spectrum-ToggleSwitch-label`;
|
|
42
|
+
$dfcff93ab25bb9b3$export$b82d06d1b520a22f = `TIUVWG_spectrum-ToggleSwitch-switch`;
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export {$dfcff93ab25bb9b3$exports as default};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
.
|
|
1
|
+
.TIUVWG_i18nFontFamily {
|
|
2
2
|
font-synthesis: weight;
|
|
3
3
|
font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.TIUVWG_i18nFontFamily:lang(ar) {
|
|
7
7
|
font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.TIUVWG_i18nFontFamily:lang(he) {
|
|
11
11
|
font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.TIUVWG_i18nFontFamily:lang(zh) {
|
|
15
15
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.TIUVWG_i18nFontFamily:lang(zh-Hans) {
|
|
19
19
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.TIUVWG_i18nFontFamily:lang(zh-Hant) {
|
|
23
23
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.TIUVWG_i18nFontFamily:lang(zh-SG), .TIUVWG_i18nFontFamily:lang(zh-CN) {
|
|
27
27
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.TIUVWG_i18nFontFamily:lang(ko) {
|
|
31
31
|
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.TIUVWG_i18nFontFamily:lang(ja) {
|
|
35
35
|
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.
|
|
38
|
+
.TIUVWG_spectrum-FocusRing-ring {
|
|
39
39
|
--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
|
|
40
40
|
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
|
41
41
|
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.TIUVWG_spectrum-FocusRing-ring:after {
|
|
47
47
|
border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
|
|
48
48
|
content: "";
|
|
49
49
|
margin: calc(-1 * var(--spectrum-focus-ring-border-size));
|
|
@@ -54,31 +54,31 @@
|
|
|
54
54
|
inset: 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.TIUVWG_spectrum-FocusRing.TIUVWG_focus-ring:after {
|
|
58
58
|
margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
|
|
59
59
|
box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.TIUVWG_spectrum-FocusRing--quiet:after {
|
|
63
63
|
border-radius: 0;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.TIUVWG_spectrum-FocusRing--quiet.TIUVWG_focus-ring:after {
|
|
67
67
|
margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
|
|
68
68
|
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
@media (forced-colors: active) {
|
|
72
|
-
.
|
|
72
|
+
.TIUVWG_spectrum-FocusRing, .TIUVWG_spectrum-FocusRing-ring, .TIUVWG_spectrum-FocusRing--quiet {
|
|
73
73
|
--spectrum-high-contrast-focus-ring-color: Highlight;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
:is(.
|
|
76
|
+
:is(.TIUVWG_spectrum-FocusRing, .TIUVWG_spectrum-FocusRing-ring, .TIUVWG_spectrum-FocusRing--quiet):after {
|
|
77
77
|
forced-color-adjust: none;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.TIUVWG_spectrum-ToggleSwitch {
|
|
82
82
|
min-block-size: var(--spectrum-switch-height, var(--spectrum-global-dimension-size-400));
|
|
83
83
|
vertical-align: top;
|
|
84
84
|
isolation: isolate;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
position: relative;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.TIUVWG_spectrum-ToggleSwitch-input {
|
|
93
93
|
box-sizing: border-box;
|
|
94
94
|
opacity: .0001;
|
|
95
95
|
z-index: 1;
|
|
@@ -102,39 +102,39 @@
|
|
|
102
102
|
top: 0;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.
|
|
105
|
+
.TIUVWG_spectrum-ToggleSwitch-input:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
106
106
|
left: 0;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.TIUVWG_spectrum-ToggleSwitch-input:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
110
110
|
left: 0;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.TIUVWG_spectrum-ToggleSwitch-input:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
|
|
114
114
|
right: 0;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.
|
|
117
|
+
.TIUVWG_spectrum-ToggleSwitch-input:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
|
|
118
118
|
right: 0;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
[dir="ltr"] :is(.
|
|
121
|
+
[dir="ltr"] :is(.TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch):before {
|
|
122
122
|
transform: translateX(calc(var(--spectrum-switch-track-width) - 100%));
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
[dir="rtl"] :is(.
|
|
125
|
+
[dir="rtl"] :is(.TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch):before {
|
|
126
126
|
transform: translateX(calc(100% - var(--spectrum-switch-track-width)));
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.TIUVWG_spectrum-ToggleSwitch-input:disabled, .TIUVWG_spectrum-ToggleSwitch-input[disabled] {
|
|
130
130
|
cursor: default;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
133
|
+
.TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring + .TIUVWG_spectrum-ToggleSwitch-switch:after {
|
|
134
134
|
margin: calc(var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25)) * -1);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.
|
|
137
|
+
.TIUVWG_spectrum-ToggleSwitch-label {
|
|
138
138
|
text-align: start;
|
|
139
139
|
margin: 0 var(--spectrum-switch-text-gap, var(--spectrum-global-dimension-size-125));
|
|
140
140
|
font-size: var(--spectrum-switch-text-size, var(--spectrum-alias-font-size-default));
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
line-height: 1.49;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.
|
|
146
|
+
.TIUVWG_spectrum-ToggleSwitch-switch {
|
|
147
147
|
box-sizing: border-box;
|
|
148
148
|
inline-size: var(--spectrum-switch-track-width);
|
|
149
149
|
margin: calc((var(--spectrum-switch-height, var(--spectrum-global-dimension-size-400)) - var(--spectrum-switch-track-height, var(--spectrum-global-dimension-size-175))) / 2) 0;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
right: 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.
|
|
163
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
164
164
|
content: "";
|
|
165
165
|
box-sizing: border-box;
|
|
166
166
|
transition: background var(--spectrum-global-animation-duration-100, .13s) ease-in-out, border var(--spectrum-global-animation-duration-100, .13s) ease-in-out, transform var(--spectrum-global-animation-duration-100, .13s) ease-in-out, box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-in-out;
|
|
@@ -174,23 +174,23 @@
|
|
|
174
174
|
top: 0;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.
|
|
177
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):before {
|
|
178
178
|
left: 0;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
.
|
|
181
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):before {
|
|
182
182
|
left: 0;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
.
|
|
185
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)):before {
|
|
186
186
|
right: 0;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.
|
|
189
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)):before {
|
|
190
190
|
right: 0;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.
|
|
193
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:after {
|
|
194
194
|
border-radius: calc(calc(var(--spectrum-switch-track-height, var(--spectrum-global-dimension-size-175)) / 2) + var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25)) * 2);
|
|
195
195
|
content: "";
|
|
196
196
|
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
transform: translateX(0);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.
|
|
204
|
+
.TIUVWG_spectrum-ToggleSwitch {
|
|
205
205
|
--spectrum-switch-emphasized-handle-border-color: var(--spectrum-alias-toggle-color-default);
|
|
206
206
|
--spectrum-switch-emphasized-handle-border-color-hover: var(--spectrum-alias-toggle-color-hover);
|
|
207
207
|
--spectrum-switch-emphasized-handle-border-color-key-focus: var(--spectrum-alias-toggle-color-key-focus);
|
|
@@ -221,174 +221,174 @@
|
|
|
221
221
|
--spectrum-switch-emphasized-handle-border-color-selected-down: var(--spectrum-accent-color-1100);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
.
|
|
224
|
+
.TIUVWG_spectrum-ToggleSwitch-switch {
|
|
225
225
|
background-color: var(--spectrum-switch-emphasized-track-color, var(--spectrum-global-color-gray-300));
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.
|
|
228
|
+
.TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
229
229
|
background-color: var(--spectrum-switch-emphasized-handle-background-color, var(--spectrum-global-color-gray-75));
|
|
230
230
|
border-color: var(--spectrum-switch-emphasized-handle-border-color, var(--spectrum-global-color-gray-600));
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.
|
|
233
|
+
.TIUVWG_spectrum-ToggleSwitch-input ~ .TIUVWG_spectrum-ToggleSwitch-label {
|
|
234
234
|
color: var(--spectrum-switch-emphasized-text-color, var(--spectrum-alias-text-color));
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.
|
|
237
|
+
.TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
238
238
|
background-color: var(--spectrum-switch-emphasized-track-color-selected, var(--spectrum-global-color-blue-500));
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
.
|
|
241
|
+
.TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
242
242
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-selected, var(--spectrum-global-color-blue-500));
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.
|
|
245
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
246
246
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-hover, var(--spectrum-global-color-gray-700));
|
|
247
247
|
box-shadow: none;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.
|
|
250
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input ~ .TIUVWG_spectrum-ToggleSwitch-label {
|
|
251
251
|
color: var(--spectrum-switch-emphasized-text-color-hover, var(--spectrum-alias-text-color-hover));
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
.
|
|
254
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
255
255
|
background-color: var(--spectrum-switch-emphasized-track-color-selected-hover, var(--spectrum-global-color-blue-600));
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
.
|
|
258
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
259
259
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-selected-hover, var(--spectrum-global-color-blue-600));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.
|
|
262
|
+
.TIUVWG_spectrum-ToggleSwitch:active .TIUVWG_spectrum-ToggleSwitch-input + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
263
263
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-down, var(--spectrum-global-color-gray-800));
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.
|
|
266
|
+
.TIUVWG_spectrum-ToggleSwitch:active .TIUVWG_spectrum-ToggleSwitch-input ~ .TIUVWG_spectrum-ToggleSwitch-label {
|
|
267
267
|
color: var(--spectrum-switch-emphasized-text-color-down, var(--spectrum-alias-text-color-down));
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
.
|
|
270
|
+
.TIUVWG_spectrum-ToggleSwitch:active .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
271
271
|
background-color: var(--spectrum-switch-emphasized-track-color-selected-down, var(--spectrum-global-color-blue-700));
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
.
|
|
274
|
+
.TIUVWG_spectrum-ToggleSwitch:active .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
275
275
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-selected-down, var(--spectrum-global-color-blue-700));
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.
|
|
278
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
279
279
|
background-color: var(--spectrum-switch-emphasized-track-color-disabled, var(--spectrum-global-color-gray-300));
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.
|
|
282
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
283
283
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-disabled, var(--spectrum-global-color-gray-400));
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.
|
|
286
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled ~ .TIUVWG_spectrum-ToggleSwitch-label {
|
|
287
287
|
color: var(--spectrum-switch-emphasized-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
.
|
|
290
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
291
291
|
background-color: var(--spectrum-switch-emphasized-track-color-selected-disabled, var(--spectrum-global-color-gray-400));
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
.
|
|
294
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
295
295
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-selected-disabled, var(--spectrum-global-color-gray-400));
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.
|
|
298
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled:checked ~ .TIUVWG_spectrum-ToggleSwitch-label {
|
|
299
299
|
color: var(--spectrum-switch-emphasized-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled));
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.
|
|
302
|
+
.TIUVWG_spectrum-ToggleSwitch--quiet .TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
303
303
|
background-color: var(--spectrum-switch-quiet-track-color-selected, var(--spectrum-global-color-gray-700));
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.
|
|
306
|
+
.TIUVWG_spectrum-ToggleSwitch--quiet .TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
307
307
|
border-color: var(--spectrum-switch-quiet-handle-border-color-selected, var(--spectrum-global-color-gray-700));
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
.
|
|
310
|
+
.TIUVWG_spectrum-ToggleSwitch--quiet.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
311
311
|
background-color: var(--spectrum-switch-quiet-track-color-selected-hover, var(--spectrum-global-color-gray-800));
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.
|
|
314
|
+
.TIUVWG_spectrum-ToggleSwitch--quiet.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
315
315
|
border-color: var(--spectrum-switch-quiet-handle-border-color-selected-hover, var(--spectrum-global-color-gray-800));
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
.
|
|
318
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_spectrum-ToggleSwitch--quiet:active .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
319
319
|
background-color: var(--spectrum-switch-quiet-track-color-selected-down, var(--spectrum-global-color-gray-900));
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
.
|
|
322
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_spectrum-ToggleSwitch--quiet:active .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
323
323
|
border-color: var(--spectrum-switch-quiet-handle-border-color-selected-down, var(--spectrum-global-color-gray-900));
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
:is(.
|
|
326
|
+
:is(.TIUVWG_spectrum-ToggleSwitch, .TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered) .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring + .TIUVWG_spectrum-ToggleSwitch-switch:after {
|
|
327
327
|
box-shadow: 0 0 0 var(--spectrum-switch-focus-ring-size-key-focus, var(--spectrum-alias-focus-ring-size)) var(--spectrum-switch-focus-ring-color-key-focus, var(--spectrum-alias-focus-ring-color));
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
:is(.
|
|
330
|
+
:is(.TIUVWG_spectrum-ToggleSwitch, .TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered) .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
331
331
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-key-focus, var(--spectrum-global-color-gray-700));
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
:is(.
|
|
334
|
+
:is(.TIUVWG_spectrum-ToggleSwitch, .TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered) .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
335
335
|
background-color: var(--spectrum-switch-emphasized-track-color-selected-key-focus, var(--spectrum-global-color-blue-600));
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
:is(.
|
|
338
|
+
:is(.TIUVWG_spectrum-ToggleSwitch, .TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered) .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
339
339
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-selected-key-focus, var(--spectrum-global-color-blue-600));
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
:is(.
|
|
342
|
+
:is(.TIUVWG_spectrum-ToggleSwitch--quiet, .TIUVWG_spectrum-ToggleSwitch--quiet.TIUVWG_is-hovered) .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
343
343
|
background-color: var(--spectrum-switch-quiet-track-color-selected-key-focus, var(--spectrum-global-color-gray-800));
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
:is(.
|
|
346
|
+
:is(.TIUVWG_spectrum-ToggleSwitch--quiet, .TIUVWG_spectrum-ToggleSwitch--quiet.TIUVWG_is-hovered) .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
347
347
|
border-color: var(--spectrum-switch-quiet-handle-border-color-selected-key-focus, var(--spectrum-global-color-gray-800));
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
.
|
|
350
|
+
.TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
351
351
|
background-color: var(--spectrum-switch-track-color, var(--spectrum-global-color-gray-300));
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
.
|
|
354
|
+
.TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
355
355
|
border-color: var(--spectrum-switch-handle-border-color, var(--spectrum-global-color-gray-600));
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
.
|
|
358
|
+
.TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring:checked + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
359
359
|
background-color: var(--spectrum-switch-track-color, var(--spectrum-global-color-gray-300));
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
.
|
|
362
|
+
.TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input.TIUVWG_focus-ring:checked + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
363
363
|
border-color: var(--spectrum-switch-handle-border-color-selected, var(--spectrum-global-color-gray-700));
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
.
|
|
366
|
+
.TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input:disabled:checked + .TIUVWG_spectrum-ToggleSwitch-switch, .TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input:disabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
367
367
|
background-color: var(--spectrum-switch-emphasized-track-color-disabled, var(--spectrum-global-color-gray-300));
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
.
|
|
370
|
+
.TIUVWG_spectrum-ToggleSwitch--ab .TIUVWG_spectrum-ToggleSwitch-input:disabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
371
371
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-disabled, var(--spectrum-global-color-gray-400));
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
.
|
|
374
|
+
.TIUVWG_spectrum-ToggleSwitch--ab.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
375
375
|
background-color: var(--spectrum-switch-emphasized-track-color, var(--spectrum-global-color-gray-300));
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
.
|
|
378
|
+
.TIUVWG_spectrum-ToggleSwitch--ab.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
379
379
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-hover, var(--spectrum-global-color-gray-700));
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
.
|
|
382
|
+
.TIUVWG_spectrum-ToggleSwitch--ab:active .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
383
383
|
background-color: var(--spectrum-switch-emphasized-track-color, var(--spectrum-global-color-gray-300));
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
.
|
|
386
|
+
.TIUVWG_spectrum-ToggleSwitch--ab:active .TIUVWG_spectrum-ToggleSwitch-input:checked:enabled + .TIUVWG_spectrum-ToggleSwitch-switch:before {
|
|
387
387
|
border-color: var(--spectrum-switch-emphasized-handle-border-color-down, var(--spectrum-global-color-gray-800));
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
@media (forced-colors: active) {
|
|
391
|
-
.
|
|
391
|
+
.TIUVWG_spectrum-ToggleSwitch {
|
|
392
392
|
forced-color-adjust: none;
|
|
393
393
|
--spectrum-switch-emphasized-handle-background-color: ButtonFace;
|
|
394
394
|
--spectrum-switch-emphasized-handle-border-color: ButtonText;
|
|
@@ -428,20 +428,20 @@
|
|
|
428
428
|
--spectrum-switch-track-color-disabled: ButtonFace;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
.
|
|
431
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:not(:checked) + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
432
432
|
box-shadow: inset 0 0 0 1px var(--spectrum-switch-handle-border-color, var(--spectrum-global-color-gray-600));
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
.
|
|
435
|
+
.TIUVWG_spectrum-ToggleSwitch.TIUVWG_is-hovered .TIUVWG_spectrum-ToggleSwitch-input:not(:checked) + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
436
436
|
box-shadow: inset 0 0 0 1px var(--spectrum-switch-emphasized-handle-border-color-hover, var(--spectrum-global-color-gray-700));
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
.
|
|
439
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:not(:checked):focus + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
440
440
|
box-shadow: inset 0 0 0 1px var(--spectrum-switch-emphasized-handle-border-color-key-focus, var(--spectrum-global-color-gray-700));
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
-
.
|
|
443
|
+
.TIUVWG_spectrum-ToggleSwitch .TIUVWG_spectrum-ToggleSwitch-input:disabled + .TIUVWG_spectrum-ToggleSwitch-switch {
|
|
444
444
|
box-shadow: inset 0 0 0 1px var(--spectrum-switch-emphasized-handle-border-color-disabled, var(--spectrum-global-color-gray-400));
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
/*# sourceMappingURL=vars.
|
|
447
|
+
/*# sourceMappingURL=vars.ee098a37.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;;;AAgBA;;;;;;;;;;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAqBI;;;;AAGA;;;;AAKF;;;;AAOI;;;;AAON;;;;;;;;;AASA;;;;;;;;;;;;;;;;;AA6BE;;;;;;;;;;;;;;AAQA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAeA;;;;;;;;;;;AA6BF;;;;;;;;;;;;;;;;;;;;AAuBA;;;;AAIE;;;;;AAMF;;;;AAOE;;;;AAEE;;;;AAWE;;;;;AAKF;;;;AAIA;;;;AAEE;;;;AAYA;;;;AAIF;;;;AAIA;;;;AAEE;;;;AAUJ;;;;AAEE;;;;AAIF;;;;AAKE;;;;AAEE;;;;AAIF;;;;AAWF;;;;AAEE;;;;AASF;;;;AAEE;;;;AASF;;;;AAEE;;;;AAYE;;;;AAGA;;;;AAMA;;;;AAEE;;;;AAaF;;;;AAEE;;;;AAUJ;;;;AAKE;;;;AAOA;;;;AAGE;;;;AAOF;;;;AAOE;;;;AASF;;;;AAEE;;;;AASF;;;;AAEE;;;;AAQR;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCE;;;;EAIE;;;;EAIF;;;;EAIA","sources":["packages/@adobe/spectrum-css-temp/components/toggle/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.
|
|
1
|
+
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;;;AAgBA;;;;;;;;;;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAqBI;;;;AAGA;;;;AAKF;;;;AAOI;;;;AAON;;;;;;;;;AASA;;;;;;;;;;;;;;;;;AA6BE;;;;;;;;;;;;;;AAQA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAeA;;;;;;;;;;;AA6BF;;;;;;;;;;;;;;;;;;;;AAuBA;;;;AAIE;;;;;AAMF;;;;AAOE;;;;AAEE;;;;AAWE;;;;;AAKF;;;;AAIA;;;;AAEE;;;;AAYA;;;;AAIF;;;;AAIA;;;;AAEE;;;;AAUJ;;;;AAEE;;;;AAIF;;;;AAKE;;;;AAEE;;;;AAIF;;;;AAWF;;;;AAEE;;;;AASF;;;;AAEE;;;;AASF;;;;AAEE;;;;AAYE;;;;AAGA;;;;AAMA;;;;AAEE;;;;AAaF;;;;AAEE;;;;AAUJ;;;;AAKE;;;;AAOA;;;;AAGE;;;;AAOF;;;;AAOE;;;;AASF;;;;AAEE;;;;AASF;;;;AAEE;;;;AAQR;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCE;;;;EAIE;;;;EAIF;;;;EAIA","sources":["packages/@adobe/spectrum-css-temp/components/toggle/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.ee098a37.css.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/switch",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.9",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/focus": "^3.18.
|
|
40
|
-
"@react-aria/interactions": "^3.22.
|
|
41
|
-
"@react-aria/switch": "^3.6.
|
|
42
|
-
"@react-spectrum/utils": "^3.11.
|
|
43
|
-
"@react-stately/toggle": "^3.7.
|
|
44
|
-
"@react-types/shared": "^3.
|
|
45
|
-
"@react-types/switch": "^3.5.
|
|
39
|
+
"@react-aria/focus": "^3.18.4",
|
|
40
|
+
"@react-aria/interactions": "^3.22.4",
|
|
41
|
+
"@react-aria/switch": "^3.6.9",
|
|
42
|
+
"@react-spectrum/utils": "^3.11.11",
|
|
43
|
+
"@react-stately/toggle": "^3.7.8",
|
|
44
|
+
"@react-types/shared": "^3.25.0",
|
|
45
|
+
"@react-types/switch": "^3.5.6",
|
|
46
46
|
"@swc/helpers": "^0.5.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "8e0a28d188cdbdbd2b32296fa034b1b02ddde229"
|
|
59
59
|
}
|