@alfalab/core-components-switch 5.0.0-snapshot-6a9d3fc → 5.0.0-snapshot-5bcd094

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/default.css CHANGED
@@ -18,26 +18,26 @@
18
18
  --switch-disabled-bg-color: var(--color-light-neutral-translucent-200);
19
19
  --switch-disabled-checked-bg-color: var(--switch-disabled-bg-color);
20
20
  --switch-icon-disabled-color: var(--color-light-neutral-translucent-500);
21
- } .switch__switch_1j72v {
21
+ } .switch__switch_1aiwe {
22
22
  background-color: var(--switch-bg-color)
23
- } .switch__switch_1j72v:hover {
23
+ } .switch__switch_1aiwe:hover {
24
24
  background-color: var(--switch-hover-bg-color);
25
- } .switch__label_1j72v {
25
+ } .switch__label_1aiwe {
26
26
  color: var(--switch-label-color);
27
- } .switch__hint_1j72v {
27
+ } .switch__hint_1aiwe {
28
28
  color: var(--switch-hint-color);
29
- } .switch__checked_1j72v .switch__switch_1j72v {
29
+ } .switch__checked_1aiwe .switch__switch_1aiwe {
30
30
  background-color: var(--switch-checked-bg-color)
31
- } .switch__checked_1j72v .switch__switch_1j72v:hover {
31
+ } .switch__checked_1aiwe .switch__switch_1aiwe:hover {
32
32
  background-color: var(--switch-checked-hover-bg-color);
33
- } .switch__disabled_1j72v .switch__label_1j72v {
33
+ } .switch__disabled_1aiwe .switch__label_1aiwe {
34
34
  color: var(--switch-disabled-color);
35
- } .switch__disabled_1j72v .switch__hint_1j72v {
35
+ } .switch__disabled_1aiwe .switch__hint_1aiwe {
36
36
  color: var(--switch-disabled-color);
37
- } .switch__disabled_1j72v .switch__switch_1j72v {
37
+ } .switch__disabled_1aiwe .switch__switch_1aiwe {
38
38
  background-color: var(--switch-disabled-bg-color)
39
- } .switch__disabled_1j72v .switch__switch_1j72v:before {
39
+ } .switch__disabled_1aiwe .switch__switch_1aiwe:before {
40
40
  background-color: var(--switch-icon-disabled-color);
41
- } .switch__disabled_1j72v.switch__checked_1j72v .switch__switch_1j72v {
41
+ } .switch__disabled_1aiwe.switch__checked_1aiwe .switch__switch_1aiwe {
42
42
  background-color: var(--switch-disabled-checked-bg-color);
43
43
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./default.css');
4
4
 
5
- var defaultStyles = {"switch":"switch__switch_1j72v","label":"switch__label_1j72v","hint":"switch__hint_1j72v","checked":"switch__checked_1j72v","disabled":"switch__disabled_1j72v"};
5
+ var defaultStyles = {"switch":"switch__switch_1aiwe","label":"switch__label_1aiwe","hint":"switch__hint_1aiwe","checked":"switch__checked_1aiwe","disabled":"switch__disabled_1aiwe"};
6
6
 
7
7
  module.exports = defaultStyles;
8
8
  //# sourceMappingURL=default.module.css.js.map
package/esm/default.css CHANGED
@@ -18,26 +18,26 @@
18
18
  --switch-disabled-bg-color: var(--color-light-neutral-translucent-200);
19
19
  --switch-disabled-checked-bg-color: var(--switch-disabled-bg-color);
20
20
  --switch-icon-disabled-color: var(--color-light-neutral-translucent-500);
21
- } .switch__switch_1j72v {
21
+ } .switch__switch_1aiwe {
22
22
  background-color: var(--switch-bg-color)
23
- } .switch__switch_1j72v:hover {
23
+ } .switch__switch_1aiwe:hover {
24
24
  background-color: var(--switch-hover-bg-color);
25
- } .switch__label_1j72v {
25
+ } .switch__label_1aiwe {
26
26
  color: var(--switch-label-color);
27
- } .switch__hint_1j72v {
27
+ } .switch__hint_1aiwe {
28
28
  color: var(--switch-hint-color);
29
- } .switch__checked_1j72v .switch__switch_1j72v {
29
+ } .switch__checked_1aiwe .switch__switch_1aiwe {
30
30
  background-color: var(--switch-checked-bg-color)
31
- } .switch__checked_1j72v .switch__switch_1j72v:hover {
31
+ } .switch__checked_1aiwe .switch__switch_1aiwe:hover {
32
32
  background-color: var(--switch-checked-hover-bg-color);
33
- } .switch__disabled_1j72v .switch__label_1j72v {
33
+ } .switch__disabled_1aiwe .switch__label_1aiwe {
34
34
  color: var(--switch-disabled-color);
35
- } .switch__disabled_1j72v .switch__hint_1j72v {
35
+ } .switch__disabled_1aiwe .switch__hint_1aiwe {
36
36
  color: var(--switch-disabled-color);
37
- } .switch__disabled_1j72v .switch__switch_1j72v {
37
+ } .switch__disabled_1aiwe .switch__switch_1aiwe {
38
38
  background-color: var(--switch-disabled-bg-color)
39
- } .switch__disabled_1j72v .switch__switch_1j72v:before {
39
+ } .switch__disabled_1aiwe .switch__switch_1aiwe:before {
40
40
  background-color: var(--switch-icon-disabled-color);
41
- } .switch__disabled_1j72v.switch__checked_1j72v .switch__switch_1j72v {
41
+ } .switch__disabled_1aiwe.switch__checked_1aiwe .switch__switch_1aiwe {
42
42
  background-color: var(--switch-disabled-checked-bg-color);
43
43
  }
@@ -1,6 +1,6 @@
1
1
  import './default.css';
2
2
 
3
- var defaultStyles = {"switch":"switch__switch_1j72v","label":"switch__label_1j72v","hint":"switch__hint_1j72v","checked":"switch__checked_1j72v","disabled":"switch__disabled_1j72v"};
3
+ var defaultStyles = {"switch":"switch__switch_1aiwe","label":"switch__label_1aiwe","hint":"switch__hint_1aiwe","checked":"switch__checked_1aiwe","disabled":"switch__disabled_1aiwe"};
4
4
 
5
5
  export { defaultStyles as default };
6
6
  //# sourceMappingURL=default.module.css.js.map
package/esm/index.css CHANGED
@@ -23,7 +23,7 @@
23
23
  --switch-border-color: transparent;
24
24
  --switch-error-color: var(--color-light-text-negative);
25
25
  --switch-icon-color: var(--color-static-neutral-0);
26
- } .switch__component_1mboc {
26
+ } .switch__component_16vyn {
27
27
  display: inline-flex;
28
28
  align-items: flex-start;
29
29
  margin: var(--gap-0);
@@ -31,20 +31,20 @@
31
31
  border: 0;
32
32
  cursor: pointer;
33
33
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
34
- } .switch__component_1mboc input {
34
+ } .switch__component_16vyn input {
35
35
  opacity: 0;
36
36
  position: absolute;
37
- } .switch__start_1mboc {
37
+ } .switch__start_16vyn {
38
38
  align-items: flex-start;
39
- } .switch__center_1mboc {
39
+ } .switch__center_16vyn {
40
40
  align-items: center;
41
- } .switch__addons_1mboc {
41
+ } .switch__addons_16vyn {
42
42
  margin-left: auto;
43
43
  padding-left: var(--gap-16);
44
44
  line-height: 24px;
45
- } .switch__block_1mboc {
45
+ } .switch__block_16vyn {
46
46
  width: 100%;
47
- } .switch__switch_1mboc {
47
+ } .switch__switch_16vyn {
48
48
  position: relative;
49
49
  border-radius: var(--border-radius-16);
50
50
  width: 36px;
@@ -54,7 +54,7 @@
54
54
  border: 2px solid var(--switch-border-color);
55
55
  transition: background-color 0.2s ease, border-color 0.2s ease;
56
56
  box-sizing: border-box;
57
- } .switch__switch_1mboc:before {
57
+ } .switch__switch_16vyn:before {
58
58
  content: '';
59
59
  position: absolute;
60
60
  top: var(--gap-0);
@@ -66,41 +66,41 @@
66
66
  background-color: var(--switch-icon-color);
67
67
  box-sizing: border-box;
68
68
  transition: transform 0.2s ease;
69
- } .switch__content_1mboc {
69
+ } .switch__content_16vyn {
70
70
  margin-left: var(--gap-12);
71
71
  flex-grow: 1;
72
- } .switch__label_1mboc {
72
+ } .switch__label_16vyn {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 400;
76
76
  display: block;
77
- } .switch__label_1mboc:not(:only-child) {
77
+ } .switch__label_16vyn:not(:only-child) {
78
78
  margin-bottom: var(--gap-4);
79
- } .switch__errorMessage_1mboc {
79
+ } .switch__errorMessage_16vyn {
80
80
  font-size: 14px;
81
81
  line-height: 18px;
82
82
  font-weight: 400;
83
83
  color: var(--switch-error-color);
84
- } .switch__hint_1mboc {
84
+ } .switch__hint_16vyn {
85
85
  font-size: 14px;
86
86
  line-height: 18px;
87
87
  font-weight: 400;
88
88
  display: block;
89
- } .switch__component_1mboc.switch__reversed_1mboc {
89
+ } .switch__component_16vyn.switch__reversed_16vyn {
90
90
  flex-direction: row-reverse;
91
- } .switch__reversed_1mboc .switch__content_1mboc {
91
+ } .switch__reversed_16vyn .switch__content_16vyn {
92
92
  margin-right: var(--gap-16);
93
93
  margin-left: var(--gap-0);
94
- } .switch__reversed_1mboc .switch__addons_1mboc {
94
+ } .switch__reversed_16vyn .switch__addons_16vyn {
95
95
  margin-left: var(--gap-0);
96
96
  padding-left: var(--gap-0);
97
97
  margin-right: auto;
98
98
  padding-right: var(--gap-16);
99
- } .switch__checked_1mboc .switch__switch_1mboc:before {
99
+ } .switch__checked_16vyn .switch__switch_16vyn:before {
100
100
  transform: translateX(16px);
101
- } .switch__disabled_1mboc {
101
+ } .switch__disabled_16vyn {
102
102
  cursor: var(--disabled-cursor);
103
- } .switch__focused_1mboc .switch__switch_1mboc {
103
+ } .switch__focused_16vyn .switch__switch_16vyn {
104
104
  outline: 2px solid var(--focus-color);
105
105
  outline-offset: 2px;
106
106
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"component":"switch__component_1mboc","start":"switch__start_1mboc","center":"switch__center_1mboc","addons":"switch__addons_1mboc","block":"switch__block_1mboc","switch":"switch__switch_1mboc","content":"switch__content_1mboc","label":"switch__label_1mboc","errorMessage":"switch__errorMessage_1mboc","hint":"switch__hint_1mboc","reversed":"switch__reversed_1mboc","checked":"switch__checked_1mboc","disabled":"switch__disabled_1mboc","focused":"switch__focused_1mboc"};
3
+ var styles = {"component":"switch__component_16vyn","start":"switch__start_16vyn","center":"switch__center_16vyn","addons":"switch__addons_16vyn","block":"switch__block_16vyn","switch":"switch__switch_16vyn","content":"switch__content_16vyn","label":"switch__label_16vyn","errorMessage":"switch__errorMessage_16vyn","hint":"switch__hint_16vyn","reversed":"switch__reversed_16vyn","checked":"switch__checked_16vyn","disabled":"switch__disabled_16vyn","focused":"switch__focused_16vyn"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
package/esm/inverted.css CHANGED
@@ -18,26 +18,26 @@
18
18
  --switch-disabled-bg-inverted-color: var(--color-light-neutral-translucent-200-inverted);
19
19
  --switch-disabled-checked-bg-inverted-color: var(--switch-disabled-bg-inverted-color);
20
20
  --switch-icon-disabled-inverted-color: var(--color-light-neutral-translucent-500-inverted);
21
- } .switch__switch_oz4pg {
21
+ } .switch__switch_1qgyj {
22
22
  background-color: var(--switch-bg-inverted-color)
23
- } .switch__switch_oz4pg:hover {
23
+ } .switch__switch_1qgyj:hover {
24
24
  background-color: var(--switch-hover-bg-inverted-color);
25
- } .switch__label_oz4pg {
25
+ } .switch__label_1qgyj {
26
26
  color: var(--switch-label-inverted-color);
27
- } .switch__hint_oz4pg {
27
+ } .switch__hint_1qgyj {
28
28
  color: var(--switch-hint-inverted-color);
29
- } .switch__checked_oz4pg .switch__switch_oz4pg {
29
+ } .switch__checked_1qgyj .switch__switch_1qgyj {
30
30
  background-color: var(--switch-checked-bg-inverted-color)
31
- } .switch__checked_oz4pg .switch__switch_oz4pg:hover {
31
+ } .switch__checked_1qgyj .switch__switch_1qgyj:hover {
32
32
  background-color: var(--switch-checked-hover-bg-inverted-color);
33
- } .switch__disabled_oz4pg .switch__label_oz4pg {
33
+ } .switch__disabled_1qgyj .switch__label_1qgyj {
34
34
  color: var(--switch-disabled-inverted-color);
35
- } .switch__disabled_oz4pg .switch__hint_oz4pg {
35
+ } .switch__disabled_1qgyj .switch__hint_1qgyj {
36
36
  color: var(--switch-disabled-inverted-color);
37
- } .switch__disabled_oz4pg .switch__switch_oz4pg {
37
+ } .switch__disabled_1qgyj .switch__switch_1qgyj {
38
38
  background-color: var(--switch-disabled-bg-inverted-color)
39
- } .switch__disabled_oz4pg .switch__switch_oz4pg:before {
39
+ } .switch__disabled_1qgyj .switch__switch_1qgyj:before {
40
40
  background-color: var(--switch-icon-disabled-inverted-color);
41
- } .switch__disabled_oz4pg.switch__checked_oz4pg .switch__switch_oz4pg {
41
+ } .switch__disabled_1qgyj.switch__checked_1qgyj .switch__switch_1qgyj {
42
42
  background-color: var(--switch-disabled-checked-bg-inverted-color);
43
43
  }
@@ -1,6 +1,6 @@
1
1
  import './inverted.css';
2
2
 
3
- var invertedStyles = {"switch":"switch__switch_oz4pg","label":"switch__label_oz4pg","hint":"switch__hint_oz4pg","checked":"switch__checked_oz4pg","disabled":"switch__disabled_oz4pg"};
3
+ var invertedStyles = {"switch":"switch__switch_1qgyj","label":"switch__label_1qgyj","hint":"switch__hint_1qgyj","checked":"switch__checked_1qgyj","disabled":"switch__disabled_1qgyj"};
4
4
 
5
5
  export { invertedStyles as default };
6
6
  //# sourceMappingURL=inverted.module.css.js.map
package/index.css CHANGED
@@ -23,7 +23,7 @@
23
23
  --switch-border-color: transparent;
24
24
  --switch-error-color: var(--color-light-text-negative);
25
25
  --switch-icon-color: var(--color-static-neutral-0);
26
- } .switch__component_1mboc {
26
+ } .switch__component_16vyn {
27
27
  display: inline-flex;
28
28
  align-items: flex-start;
29
29
  margin: var(--gap-0);
@@ -31,20 +31,20 @@
31
31
  border: 0;
32
32
  cursor: pointer;
33
33
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
34
- } .switch__component_1mboc input {
34
+ } .switch__component_16vyn input {
35
35
  opacity: 0;
36
36
  position: absolute;
37
- } .switch__start_1mboc {
37
+ } .switch__start_16vyn {
38
38
  align-items: flex-start;
39
- } .switch__center_1mboc {
39
+ } .switch__center_16vyn {
40
40
  align-items: center;
41
- } .switch__addons_1mboc {
41
+ } .switch__addons_16vyn {
42
42
  margin-left: auto;
43
43
  padding-left: var(--gap-16);
44
44
  line-height: 24px;
45
- } .switch__block_1mboc {
45
+ } .switch__block_16vyn {
46
46
  width: 100%;
47
- } .switch__switch_1mboc {
47
+ } .switch__switch_16vyn {
48
48
  position: relative;
49
49
  border-radius: var(--border-radius-16);
50
50
  width: 36px;
@@ -54,7 +54,7 @@
54
54
  border: 2px solid var(--switch-border-color);
55
55
  transition: background-color 0.2s ease, border-color 0.2s ease;
56
56
  box-sizing: border-box;
57
- } .switch__switch_1mboc:before {
57
+ } .switch__switch_16vyn:before {
58
58
  content: '';
59
59
  position: absolute;
60
60
  top: var(--gap-0);
@@ -66,41 +66,41 @@
66
66
  background-color: var(--switch-icon-color);
67
67
  box-sizing: border-box;
68
68
  transition: transform 0.2s ease;
69
- } .switch__content_1mboc {
69
+ } .switch__content_16vyn {
70
70
  margin-left: var(--gap-12);
71
71
  flex-grow: 1;
72
- } .switch__label_1mboc {
72
+ } .switch__label_16vyn {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 400;
76
76
  display: block;
77
- } .switch__label_1mboc:not(:only-child) {
77
+ } .switch__label_16vyn:not(:only-child) {
78
78
  margin-bottom: var(--gap-4);
79
- } .switch__errorMessage_1mboc {
79
+ } .switch__errorMessage_16vyn {
80
80
  font-size: 14px;
81
81
  line-height: 18px;
82
82
  font-weight: 400;
83
83
  color: var(--switch-error-color);
84
- } .switch__hint_1mboc {
84
+ } .switch__hint_16vyn {
85
85
  font-size: 14px;
86
86
  line-height: 18px;
87
87
  font-weight: 400;
88
88
  display: block;
89
- } .switch__component_1mboc.switch__reversed_1mboc {
89
+ } .switch__component_16vyn.switch__reversed_16vyn {
90
90
  flex-direction: row-reverse;
91
- } .switch__reversed_1mboc .switch__content_1mboc {
91
+ } .switch__reversed_16vyn .switch__content_16vyn {
92
92
  margin-right: var(--gap-16);
93
93
  margin-left: var(--gap-0);
94
- } .switch__reversed_1mboc .switch__addons_1mboc {
94
+ } .switch__reversed_16vyn .switch__addons_16vyn {
95
95
  margin-left: var(--gap-0);
96
96
  padding-left: var(--gap-0);
97
97
  margin-right: auto;
98
98
  padding-right: var(--gap-16);
99
- } .switch__checked_1mboc .switch__switch_1mboc:before {
99
+ } .switch__checked_16vyn .switch__switch_16vyn:before {
100
100
  transform: translateX(16px);
101
- } .switch__disabled_1mboc {
101
+ } .switch__disabled_16vyn {
102
102
  cursor: var(--disabled-cursor);
103
- } .switch__focused_1mboc .switch__switch_1mboc {
103
+ } .switch__focused_16vyn .switch__switch_16vyn {
104
104
  outline: 2px solid var(--focus-color);
105
105
  outline-offset: 2px;
106
106
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"component":"switch__component_1mboc","start":"switch__start_1mboc","center":"switch__center_1mboc","addons":"switch__addons_1mboc","block":"switch__block_1mboc","switch":"switch__switch_1mboc","content":"switch__content_1mboc","label":"switch__label_1mboc","errorMessage":"switch__errorMessage_1mboc","hint":"switch__hint_1mboc","reversed":"switch__reversed_1mboc","checked":"switch__checked_1mboc","disabled":"switch__disabled_1mboc","focused":"switch__focused_1mboc"};
5
+ var styles = {"component":"switch__component_16vyn","start":"switch__start_16vyn","center":"switch__center_16vyn","addons":"switch__addons_16vyn","block":"switch__block_16vyn","switch":"switch__switch_16vyn","content":"switch__content_16vyn","label":"switch__label_16vyn","errorMessage":"switch__errorMessage_16vyn","hint":"switch__hint_16vyn","reversed":"switch__reversed_16vyn","checked":"switch__checked_16vyn","disabled":"switch__disabled_16vyn","focused":"switch__focused_16vyn"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
package/inverted.css CHANGED
@@ -18,26 +18,26 @@
18
18
  --switch-disabled-bg-inverted-color: var(--color-light-neutral-translucent-200-inverted);
19
19
  --switch-disabled-checked-bg-inverted-color: var(--switch-disabled-bg-inverted-color);
20
20
  --switch-icon-disabled-inverted-color: var(--color-light-neutral-translucent-500-inverted);
21
- } .switch__switch_oz4pg {
21
+ } .switch__switch_1qgyj {
22
22
  background-color: var(--switch-bg-inverted-color)
23
- } .switch__switch_oz4pg:hover {
23
+ } .switch__switch_1qgyj:hover {
24
24
  background-color: var(--switch-hover-bg-inverted-color);
25
- } .switch__label_oz4pg {
25
+ } .switch__label_1qgyj {
26
26
  color: var(--switch-label-inverted-color);
27
- } .switch__hint_oz4pg {
27
+ } .switch__hint_1qgyj {
28
28
  color: var(--switch-hint-inverted-color);
29
- } .switch__checked_oz4pg .switch__switch_oz4pg {
29
+ } .switch__checked_1qgyj .switch__switch_1qgyj {
30
30
  background-color: var(--switch-checked-bg-inverted-color)
31
- } .switch__checked_oz4pg .switch__switch_oz4pg:hover {
31
+ } .switch__checked_1qgyj .switch__switch_1qgyj:hover {
32
32
  background-color: var(--switch-checked-hover-bg-inverted-color);
33
- } .switch__disabled_oz4pg .switch__label_oz4pg {
33
+ } .switch__disabled_1qgyj .switch__label_1qgyj {
34
34
  color: var(--switch-disabled-inverted-color);
35
- } .switch__disabled_oz4pg .switch__hint_oz4pg {
35
+ } .switch__disabled_1qgyj .switch__hint_1qgyj {
36
36
  color: var(--switch-disabled-inverted-color);
37
- } .switch__disabled_oz4pg .switch__switch_oz4pg {
37
+ } .switch__disabled_1qgyj .switch__switch_1qgyj {
38
38
  background-color: var(--switch-disabled-bg-inverted-color)
39
- } .switch__disabled_oz4pg .switch__switch_oz4pg:before {
39
+ } .switch__disabled_1qgyj .switch__switch_1qgyj:before {
40
40
  background-color: var(--switch-icon-disabled-inverted-color);
41
- } .switch__disabled_oz4pg.switch__checked_oz4pg .switch__switch_oz4pg {
41
+ } .switch__disabled_1qgyj.switch__checked_1qgyj .switch__switch_1qgyj {
42
42
  background-color: var(--switch-disabled-checked-bg-inverted-color);
43
43
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./inverted.css');
4
4
 
5
- var invertedStyles = {"switch":"switch__switch_oz4pg","label":"switch__label_oz4pg","hint":"switch__hint_oz4pg","checked":"switch__checked_oz4pg","disabled":"switch__disabled_oz4pg"};
5
+ var invertedStyles = {"switch":"switch__switch_1qgyj","label":"switch__label_1qgyj","hint":"switch__hint_1qgyj","checked":"switch__checked_1qgyj","disabled":"switch__disabled_1qgyj"};
6
6
 
7
7
  module.exports = invertedStyles;
8
8
  //# sourceMappingURL=inverted.module.css.js.map
@@ -18,26 +18,26 @@
18
18
  --switch-disabled-bg-color: var(--color-light-neutral-translucent-200);
19
19
  --switch-disabled-checked-bg-color: var(--switch-disabled-bg-color);
20
20
  --switch-icon-disabled-color: var(--color-light-neutral-translucent-500);
21
- } .switch__switch_1j72v {
21
+ } .switch__switch_1aiwe {
22
22
  background-color: var(--switch-bg-color)
23
- } .switch__switch_1j72v:hover {
23
+ } .switch__switch_1aiwe:hover {
24
24
  background-color: var(--switch-hover-bg-color);
25
- } .switch__label_1j72v {
25
+ } .switch__label_1aiwe {
26
26
  color: var(--switch-label-color);
27
- } .switch__hint_1j72v {
27
+ } .switch__hint_1aiwe {
28
28
  color: var(--switch-hint-color);
29
- } .switch__checked_1j72v .switch__switch_1j72v {
29
+ } .switch__checked_1aiwe .switch__switch_1aiwe {
30
30
  background-color: var(--switch-checked-bg-color)
31
- } .switch__checked_1j72v .switch__switch_1j72v:hover {
31
+ } .switch__checked_1aiwe .switch__switch_1aiwe:hover {
32
32
  background-color: var(--switch-checked-hover-bg-color);
33
- } .switch__disabled_1j72v .switch__label_1j72v {
33
+ } .switch__disabled_1aiwe .switch__label_1aiwe {
34
34
  color: var(--switch-disabled-color);
35
- } .switch__disabled_1j72v .switch__hint_1j72v {
35
+ } .switch__disabled_1aiwe .switch__hint_1aiwe {
36
36
  color: var(--switch-disabled-color);
37
- } .switch__disabled_1j72v .switch__switch_1j72v {
37
+ } .switch__disabled_1aiwe .switch__switch_1aiwe {
38
38
  background-color: var(--switch-disabled-bg-color)
39
- } .switch__disabled_1j72v .switch__switch_1j72v:before {
39
+ } .switch__disabled_1aiwe .switch__switch_1aiwe:before {
40
40
  background-color: var(--switch-icon-disabled-color);
41
- } .switch__disabled_1j72v.switch__checked_1j72v .switch__switch_1j72v {
41
+ } .switch__disabled_1aiwe.switch__checked_1aiwe .switch__switch_1aiwe {
42
42
  background-color: var(--switch-disabled-checked-bg-color);
43
43
  }
@@ -1,6 +1,6 @@
1
1
  import './default.css';
2
2
 
3
- const defaultStyles = {"switch":"switch__switch_1j72v","label":"switch__label_1j72v","hint":"switch__hint_1j72v","checked":"switch__checked_1j72v","disabled":"switch__disabled_1j72v"};
3
+ const defaultStyles = {"switch":"switch__switch_1aiwe","label":"switch__label_1aiwe","hint":"switch__hint_1aiwe","checked":"switch__checked_1aiwe","disabled":"switch__disabled_1aiwe"};
4
4
 
5
5
  export { defaultStyles as default };
6
6
  //# sourceMappingURL=default.module.css.js.map
package/modern/index.css CHANGED
@@ -23,7 +23,7 @@
23
23
  --switch-border-color: transparent;
24
24
  --switch-error-color: var(--color-light-text-negative);
25
25
  --switch-icon-color: var(--color-static-neutral-0);
26
- } .switch__component_1mboc {
26
+ } .switch__component_16vyn {
27
27
  display: inline-flex;
28
28
  align-items: flex-start;
29
29
  margin: var(--gap-0);
@@ -31,20 +31,20 @@
31
31
  border: 0;
32
32
  cursor: pointer;
33
33
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
34
- } .switch__component_1mboc input {
34
+ } .switch__component_16vyn input {
35
35
  opacity: 0;
36
36
  position: absolute;
37
- } .switch__start_1mboc {
37
+ } .switch__start_16vyn {
38
38
  align-items: flex-start;
39
- } .switch__center_1mboc {
39
+ } .switch__center_16vyn {
40
40
  align-items: center;
41
- } .switch__addons_1mboc {
41
+ } .switch__addons_16vyn {
42
42
  margin-left: auto;
43
43
  padding-left: var(--gap-16);
44
44
  line-height: 24px;
45
- } .switch__block_1mboc {
45
+ } .switch__block_16vyn {
46
46
  width: 100%;
47
- } .switch__switch_1mboc {
47
+ } .switch__switch_16vyn {
48
48
  position: relative;
49
49
  border-radius: var(--border-radius-16);
50
50
  width: 36px;
@@ -54,7 +54,7 @@
54
54
  border: 2px solid var(--switch-border-color);
55
55
  transition: background-color 0.2s ease, border-color 0.2s ease;
56
56
  box-sizing: border-box;
57
- } .switch__switch_1mboc:before {
57
+ } .switch__switch_16vyn:before {
58
58
  content: '';
59
59
  position: absolute;
60
60
  top: var(--gap-0);
@@ -66,41 +66,41 @@
66
66
  background-color: var(--switch-icon-color);
67
67
  box-sizing: border-box;
68
68
  transition: transform 0.2s ease;
69
- } .switch__content_1mboc {
69
+ } .switch__content_16vyn {
70
70
  margin-left: var(--gap-12);
71
71
  flex-grow: 1;
72
- } .switch__label_1mboc {
72
+ } .switch__label_16vyn {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 400;
76
76
  display: block;
77
- } .switch__label_1mboc:not(:only-child) {
77
+ } .switch__label_16vyn:not(:only-child) {
78
78
  margin-bottom: var(--gap-4);
79
- } .switch__errorMessage_1mboc {
79
+ } .switch__errorMessage_16vyn {
80
80
  font-size: 14px;
81
81
  line-height: 18px;
82
82
  font-weight: 400;
83
83
  color: var(--switch-error-color);
84
- } .switch__hint_1mboc {
84
+ } .switch__hint_16vyn {
85
85
  font-size: 14px;
86
86
  line-height: 18px;
87
87
  font-weight: 400;
88
88
  display: block;
89
- } .switch__component_1mboc.switch__reversed_1mboc {
89
+ } .switch__component_16vyn.switch__reversed_16vyn {
90
90
  flex-direction: row-reverse;
91
- } .switch__reversed_1mboc .switch__content_1mboc {
91
+ } .switch__reversed_16vyn .switch__content_16vyn {
92
92
  margin-right: var(--gap-16);
93
93
  margin-left: var(--gap-0);
94
- } .switch__reversed_1mboc .switch__addons_1mboc {
94
+ } .switch__reversed_16vyn .switch__addons_16vyn {
95
95
  margin-left: var(--gap-0);
96
96
  padding-left: var(--gap-0);
97
97
  margin-right: auto;
98
98
  padding-right: var(--gap-16);
99
- } .switch__checked_1mboc .switch__switch_1mboc:before {
99
+ } .switch__checked_16vyn .switch__switch_16vyn:before {
100
100
  transform: translateX(16px);
101
- } .switch__disabled_1mboc {
101
+ } .switch__disabled_16vyn {
102
102
  cursor: var(--disabled-cursor);
103
- } .switch__focused_1mboc .switch__switch_1mboc {
103
+ } .switch__focused_16vyn .switch__switch_16vyn {
104
104
  outline: 2px solid var(--focus-color);
105
105
  outline-offset: 2px;
106
106
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"component":"switch__component_1mboc","start":"switch__start_1mboc","center":"switch__center_1mboc","addons":"switch__addons_1mboc","block":"switch__block_1mboc","switch":"switch__switch_1mboc","content":"switch__content_1mboc","label":"switch__label_1mboc","errorMessage":"switch__errorMessage_1mboc","hint":"switch__hint_1mboc","reversed":"switch__reversed_1mboc","checked":"switch__checked_1mboc","disabled":"switch__disabled_1mboc","focused":"switch__focused_1mboc"};
3
+ const styles = {"component":"switch__component_16vyn","start":"switch__start_16vyn","center":"switch__center_16vyn","addons":"switch__addons_16vyn","block":"switch__block_16vyn","switch":"switch__switch_16vyn","content":"switch__content_16vyn","label":"switch__label_16vyn","errorMessage":"switch__errorMessage_16vyn","hint":"switch__hint_16vyn","reversed":"switch__reversed_16vyn","checked":"switch__checked_16vyn","disabled":"switch__disabled_16vyn","focused":"switch__focused_16vyn"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -18,26 +18,26 @@
18
18
  --switch-disabled-bg-inverted-color: var(--color-light-neutral-translucent-200-inverted);
19
19
  --switch-disabled-checked-bg-inverted-color: var(--switch-disabled-bg-inverted-color);
20
20
  --switch-icon-disabled-inverted-color: var(--color-light-neutral-translucent-500-inverted);
21
- } .switch__switch_oz4pg {
21
+ } .switch__switch_1qgyj {
22
22
  background-color: var(--switch-bg-inverted-color)
23
- } .switch__switch_oz4pg:hover {
23
+ } .switch__switch_1qgyj:hover {
24
24
  background-color: var(--switch-hover-bg-inverted-color);
25
- } .switch__label_oz4pg {
25
+ } .switch__label_1qgyj {
26
26
  color: var(--switch-label-inverted-color);
27
- } .switch__hint_oz4pg {
27
+ } .switch__hint_1qgyj {
28
28
  color: var(--switch-hint-inverted-color);
29
- } .switch__checked_oz4pg .switch__switch_oz4pg {
29
+ } .switch__checked_1qgyj .switch__switch_1qgyj {
30
30
  background-color: var(--switch-checked-bg-inverted-color)
31
- } .switch__checked_oz4pg .switch__switch_oz4pg:hover {
31
+ } .switch__checked_1qgyj .switch__switch_1qgyj:hover {
32
32
  background-color: var(--switch-checked-hover-bg-inverted-color);
33
- } .switch__disabled_oz4pg .switch__label_oz4pg {
33
+ } .switch__disabled_1qgyj .switch__label_1qgyj {
34
34
  color: var(--switch-disabled-inverted-color);
35
- } .switch__disabled_oz4pg .switch__hint_oz4pg {
35
+ } .switch__disabled_1qgyj .switch__hint_1qgyj {
36
36
  color: var(--switch-disabled-inverted-color);
37
- } .switch__disabled_oz4pg .switch__switch_oz4pg {
37
+ } .switch__disabled_1qgyj .switch__switch_1qgyj {
38
38
  background-color: var(--switch-disabled-bg-inverted-color)
39
- } .switch__disabled_oz4pg .switch__switch_oz4pg:before {
39
+ } .switch__disabled_1qgyj .switch__switch_1qgyj:before {
40
40
  background-color: var(--switch-icon-disabled-inverted-color);
41
- } .switch__disabled_oz4pg.switch__checked_oz4pg .switch__switch_oz4pg {
41
+ } .switch__disabled_1qgyj.switch__checked_1qgyj .switch__switch_1qgyj {
42
42
  background-color: var(--switch-disabled-checked-bg-inverted-color);
43
43
  }
@@ -1,6 +1,6 @@
1
1
  import './inverted.css';
2
2
 
3
- const invertedStyles = {"switch":"switch__switch_oz4pg","label":"switch__label_oz4pg","hint":"switch__hint_oz4pg","checked":"switch__checked_oz4pg","disabled":"switch__disabled_oz4pg"};
3
+ const invertedStyles = {"switch":"switch__switch_1qgyj","label":"switch__label_1qgyj","hint":"switch__hint_1qgyj","checked":"switch__checked_1qgyj","disabled":"switch__disabled_1qgyj"};
4
4
 
5
5
  export { invertedStyles as default };
6
6
  //# sourceMappingURL=inverted.module.css.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-switch",
3
- "version": "5.0.0-snapshot-6a9d3fc",
3
+ "version": "5.0.0-snapshot-5bcd094",
4
4
  "description": "",
5
5
  "gitHead": "f054fef20200664c65e2501ef1f916c555cdf05d",
6
6
  "keywords": [],
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@alfalab/hooks": "^1.13.1",
21
- "@alfalab/core-components-shared": "1.0.0-snapshot-6a9d3fc",
21
+ "@alfalab/core-components-shared": "1.0.0-snapshot-5bcd094",
22
22
  "classnames": "^2.5.1",
23
23
  "react-merge-refs": "^1.1.0",
24
24
  "tslib": "^2.4.0"
25
25
  },
26
- "themesVersion": "14.0.0-snapshot-6a9d3fc",
27
- "varsVersion": "10.0.0-snapshot-6a9d3fc"
26
+ "themesVersion": "14.0.0-snapshot-5bcd094",
27
+ "varsVersion": "10.0.0-snapshot-5bcd094"
28
28
  }