@alfalab/core-components-switch 5.0.0-snapshot-95f92d7 → 5.0.0-snapshot-bbf91f6

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_s4vom {
21
+ } .switch__switch_1cwle {
22
22
  background-color: var(--switch-bg-color)
23
- } .switch__switch_s4vom:hover {
23
+ } .switch__switch_1cwle:hover {
24
24
  background-color: var(--switch-hover-bg-color);
25
- } .switch__label_s4vom {
25
+ } .switch__label_1cwle {
26
26
  color: var(--switch-label-color);
27
- } .switch__hint_s4vom {
27
+ } .switch__hint_1cwle {
28
28
  color: var(--switch-hint-color);
29
- } .switch__checked_s4vom .switch__switch_s4vom {
29
+ } .switch__checked_1cwle .switch__switch_1cwle {
30
30
  background-color: var(--switch-checked-bg-color)
31
- } .switch__checked_s4vom .switch__switch_s4vom:hover {
31
+ } .switch__checked_1cwle .switch__switch_1cwle:hover {
32
32
  background-color: var(--switch-checked-hover-bg-color);
33
- } .switch__disabled_s4vom .switch__label_s4vom {
33
+ } .switch__disabled_1cwle .switch__label_1cwle {
34
34
  color: var(--switch-disabled-color);
35
- } .switch__disabled_s4vom .switch__hint_s4vom {
35
+ } .switch__disabled_1cwle .switch__hint_1cwle {
36
36
  color: var(--switch-disabled-color);
37
- } .switch__disabled_s4vom .switch__switch_s4vom {
37
+ } .switch__disabled_1cwle .switch__switch_1cwle {
38
38
  background-color: var(--switch-disabled-bg-color)
39
- } .switch__disabled_s4vom .switch__switch_s4vom:before {
39
+ } .switch__disabled_1cwle .switch__switch_1cwle:before {
40
40
  background-color: var(--switch-icon-disabled-color);
41
- } .switch__disabled_s4vom.switch__checked_s4vom .switch__switch_s4vom {
41
+ } .switch__disabled_1cwle.switch__checked_1cwle .switch__switch_1cwle {
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_s4vom","label":"switch__label_s4vom","hint":"switch__hint_s4vom","checked":"switch__checked_s4vom","disabled":"switch__disabled_s4vom"};
5
+ var defaultStyles = {"switch":"switch__switch_1cwle","label":"switch__label_1cwle","hint":"switch__hint_1cwle","checked":"switch__checked_1cwle","disabled":"switch__disabled_1cwle"};
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_s4vom {
21
+ } .switch__switch_1cwle {
22
22
  background-color: var(--switch-bg-color)
23
- } .switch__switch_s4vom:hover {
23
+ } .switch__switch_1cwle:hover {
24
24
  background-color: var(--switch-hover-bg-color);
25
- } .switch__label_s4vom {
25
+ } .switch__label_1cwle {
26
26
  color: var(--switch-label-color);
27
- } .switch__hint_s4vom {
27
+ } .switch__hint_1cwle {
28
28
  color: var(--switch-hint-color);
29
- } .switch__checked_s4vom .switch__switch_s4vom {
29
+ } .switch__checked_1cwle .switch__switch_1cwle {
30
30
  background-color: var(--switch-checked-bg-color)
31
- } .switch__checked_s4vom .switch__switch_s4vom:hover {
31
+ } .switch__checked_1cwle .switch__switch_1cwle:hover {
32
32
  background-color: var(--switch-checked-hover-bg-color);
33
- } .switch__disabled_s4vom .switch__label_s4vom {
33
+ } .switch__disabled_1cwle .switch__label_1cwle {
34
34
  color: var(--switch-disabled-color);
35
- } .switch__disabled_s4vom .switch__hint_s4vom {
35
+ } .switch__disabled_1cwle .switch__hint_1cwle {
36
36
  color: var(--switch-disabled-color);
37
- } .switch__disabled_s4vom .switch__switch_s4vom {
37
+ } .switch__disabled_1cwle .switch__switch_1cwle {
38
38
  background-color: var(--switch-disabled-bg-color)
39
- } .switch__disabled_s4vom .switch__switch_s4vom:before {
39
+ } .switch__disabled_1cwle .switch__switch_1cwle:before {
40
40
  background-color: var(--switch-icon-disabled-color);
41
- } .switch__disabled_s4vom.switch__checked_s4vom .switch__switch_s4vom {
41
+ } .switch__disabled_1cwle.switch__checked_1cwle .switch__switch_1cwle {
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_s4vom","label":"switch__label_s4vom","hint":"switch__hint_s4vom","checked":"switch__checked_s4vom","disabled":"switch__disabled_s4vom"};
3
+ var defaultStyles = {"switch":"switch__switch_1cwle","label":"switch__label_1cwle","hint":"switch__hint_1cwle","checked":"switch__checked_1cwle","disabled":"switch__disabled_1cwle"};
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_1fhdc {
26
+ } .switch__component_11mam {
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_1fhdc input {
34
+ } .switch__component_11mam input {
35
35
  opacity: 0;
36
36
  position: absolute;
37
- } .switch__start_1fhdc {
37
+ } .switch__start_11mam {
38
38
  align-items: flex-start;
39
- } .switch__center_1fhdc {
39
+ } .switch__center_11mam {
40
40
  align-items: center;
41
- } .switch__addons_1fhdc {
41
+ } .switch__addons_11mam {
42
42
  margin-left: auto;
43
43
  padding-left: var(--gap-16);
44
44
  line-height: 24px;
45
- } .switch__block_1fhdc {
45
+ } .switch__block_11mam {
46
46
  width: 100%;
47
- } .switch__switch_1fhdc {
47
+ } .switch__switch_11mam {
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_1fhdc:before {
57
+ } .switch__switch_11mam: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_1fhdc {
69
+ } .switch__content_11mam {
70
70
  margin-left: var(--gap-12);
71
71
  flex-grow: 1;
72
- } .switch__label_1fhdc {
72
+ } .switch__label_11mam {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 400;
76
76
  display: block;
77
- } .switch__label_1fhdc:not(:only-child) {
77
+ } .switch__label_11mam:not(:only-child) {
78
78
  margin-bottom: var(--gap-4);
79
- } .switch__errorMessage_1fhdc {
79
+ } .switch__errorMessage_11mam {
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_1fhdc {
84
+ } .switch__hint_11mam {
85
85
  font-size: 14px;
86
86
  line-height: 18px;
87
87
  font-weight: 400;
88
88
  display: block;
89
- } .switch__component_1fhdc.switch__reversed_1fhdc {
89
+ } .switch__component_11mam.switch__reversed_11mam {
90
90
  flex-direction: row-reverse;
91
- } .switch__reversed_1fhdc .switch__content_1fhdc {
91
+ } .switch__reversed_11mam .switch__content_11mam {
92
92
  margin-right: var(--gap-16);
93
93
  margin-left: var(--gap-0);
94
- } .switch__reversed_1fhdc .switch__addons_1fhdc {
94
+ } .switch__reversed_11mam .switch__addons_11mam {
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_1fhdc .switch__switch_1fhdc:before {
99
+ } .switch__checked_11mam .switch__switch_11mam:before {
100
100
  transform: translateX(16px);
101
- } .switch__disabled_1fhdc {
101
+ } .switch__disabled_11mam {
102
102
  cursor: var(--disabled-cursor);
103
- } .switch__focused_1fhdc .switch__switch_1fhdc {
103
+ } .switch__focused_11mam .switch__switch_11mam {
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_1fhdc","start":"switch__start_1fhdc","center":"switch__center_1fhdc","addons":"switch__addons_1fhdc","block":"switch__block_1fhdc","switch":"switch__switch_1fhdc","content":"switch__content_1fhdc","label":"switch__label_1fhdc","errorMessage":"switch__errorMessage_1fhdc","hint":"switch__hint_1fhdc","reversed":"switch__reversed_1fhdc","checked":"switch__checked_1fhdc","disabled":"switch__disabled_1fhdc","focused":"switch__focused_1fhdc"};
3
+ var styles = {"component":"switch__component_11mam","start":"switch__start_11mam","center":"switch__center_11mam","addons":"switch__addons_11mam","block":"switch__block_11mam","switch":"switch__switch_11mam","content":"switch__content_11mam","label":"switch__label_11mam","errorMessage":"switch__errorMessage_11mam","hint":"switch__hint_11mam","reversed":"switch__reversed_11mam","checked":"switch__checked_11mam","disabled":"switch__disabled_11mam","focused":"switch__focused_11mam"};
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_r0yvp {
21
+ } .switch__switch_k430w {
22
22
  background-color: var(--switch-bg-inverted-color)
23
- } .switch__switch_r0yvp:hover {
23
+ } .switch__switch_k430w:hover {
24
24
  background-color: var(--switch-hover-bg-inverted-color);
25
- } .switch__label_r0yvp {
25
+ } .switch__label_k430w {
26
26
  color: var(--switch-label-inverted-color);
27
- } .switch__hint_r0yvp {
27
+ } .switch__hint_k430w {
28
28
  color: var(--switch-hint-inverted-color);
29
- } .switch__checked_r0yvp .switch__switch_r0yvp {
29
+ } .switch__checked_k430w .switch__switch_k430w {
30
30
  background-color: var(--switch-checked-bg-inverted-color)
31
- } .switch__checked_r0yvp .switch__switch_r0yvp:hover {
31
+ } .switch__checked_k430w .switch__switch_k430w:hover {
32
32
  background-color: var(--switch-checked-hover-bg-inverted-color);
33
- } .switch__disabled_r0yvp .switch__label_r0yvp {
33
+ } .switch__disabled_k430w .switch__label_k430w {
34
34
  color: var(--switch-disabled-inverted-color);
35
- } .switch__disabled_r0yvp .switch__hint_r0yvp {
35
+ } .switch__disabled_k430w .switch__hint_k430w {
36
36
  color: var(--switch-disabled-inverted-color);
37
- } .switch__disabled_r0yvp .switch__switch_r0yvp {
37
+ } .switch__disabled_k430w .switch__switch_k430w {
38
38
  background-color: var(--switch-disabled-bg-inverted-color)
39
- } .switch__disabled_r0yvp .switch__switch_r0yvp:before {
39
+ } .switch__disabled_k430w .switch__switch_k430w:before {
40
40
  background-color: var(--switch-icon-disabled-inverted-color);
41
- } .switch__disabled_r0yvp.switch__checked_r0yvp .switch__switch_r0yvp {
41
+ } .switch__disabled_k430w.switch__checked_k430w .switch__switch_k430w {
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_r0yvp","label":"switch__label_r0yvp","hint":"switch__hint_r0yvp","checked":"switch__checked_r0yvp","disabled":"switch__disabled_r0yvp"};
3
+ var invertedStyles = {"switch":"switch__switch_k430w","label":"switch__label_k430w","hint":"switch__hint_k430w","checked":"switch__checked_k430w","disabled":"switch__disabled_k430w"};
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_1fhdc {
26
+ } .switch__component_11mam {
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_1fhdc input {
34
+ } .switch__component_11mam input {
35
35
  opacity: 0;
36
36
  position: absolute;
37
- } .switch__start_1fhdc {
37
+ } .switch__start_11mam {
38
38
  align-items: flex-start;
39
- } .switch__center_1fhdc {
39
+ } .switch__center_11mam {
40
40
  align-items: center;
41
- } .switch__addons_1fhdc {
41
+ } .switch__addons_11mam {
42
42
  margin-left: auto;
43
43
  padding-left: var(--gap-16);
44
44
  line-height: 24px;
45
- } .switch__block_1fhdc {
45
+ } .switch__block_11mam {
46
46
  width: 100%;
47
- } .switch__switch_1fhdc {
47
+ } .switch__switch_11mam {
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_1fhdc:before {
57
+ } .switch__switch_11mam: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_1fhdc {
69
+ } .switch__content_11mam {
70
70
  margin-left: var(--gap-12);
71
71
  flex-grow: 1;
72
- } .switch__label_1fhdc {
72
+ } .switch__label_11mam {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 400;
76
76
  display: block;
77
- } .switch__label_1fhdc:not(:only-child) {
77
+ } .switch__label_11mam:not(:only-child) {
78
78
  margin-bottom: var(--gap-4);
79
- } .switch__errorMessage_1fhdc {
79
+ } .switch__errorMessage_11mam {
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_1fhdc {
84
+ } .switch__hint_11mam {
85
85
  font-size: 14px;
86
86
  line-height: 18px;
87
87
  font-weight: 400;
88
88
  display: block;
89
- } .switch__component_1fhdc.switch__reversed_1fhdc {
89
+ } .switch__component_11mam.switch__reversed_11mam {
90
90
  flex-direction: row-reverse;
91
- } .switch__reversed_1fhdc .switch__content_1fhdc {
91
+ } .switch__reversed_11mam .switch__content_11mam {
92
92
  margin-right: var(--gap-16);
93
93
  margin-left: var(--gap-0);
94
- } .switch__reversed_1fhdc .switch__addons_1fhdc {
94
+ } .switch__reversed_11mam .switch__addons_11mam {
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_1fhdc .switch__switch_1fhdc:before {
99
+ } .switch__checked_11mam .switch__switch_11mam:before {
100
100
  transform: translateX(16px);
101
- } .switch__disabled_1fhdc {
101
+ } .switch__disabled_11mam {
102
102
  cursor: var(--disabled-cursor);
103
- } .switch__focused_1fhdc .switch__switch_1fhdc {
103
+ } .switch__focused_11mam .switch__switch_11mam {
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_1fhdc","start":"switch__start_1fhdc","center":"switch__center_1fhdc","addons":"switch__addons_1fhdc","block":"switch__block_1fhdc","switch":"switch__switch_1fhdc","content":"switch__content_1fhdc","label":"switch__label_1fhdc","errorMessage":"switch__errorMessage_1fhdc","hint":"switch__hint_1fhdc","reversed":"switch__reversed_1fhdc","checked":"switch__checked_1fhdc","disabled":"switch__disabled_1fhdc","focused":"switch__focused_1fhdc"};
5
+ var styles = {"component":"switch__component_11mam","start":"switch__start_11mam","center":"switch__center_11mam","addons":"switch__addons_11mam","block":"switch__block_11mam","switch":"switch__switch_11mam","content":"switch__content_11mam","label":"switch__label_11mam","errorMessage":"switch__errorMessage_11mam","hint":"switch__hint_11mam","reversed":"switch__reversed_11mam","checked":"switch__checked_11mam","disabled":"switch__disabled_11mam","focused":"switch__focused_11mam"};
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_r0yvp {
21
+ } .switch__switch_k430w {
22
22
  background-color: var(--switch-bg-inverted-color)
23
- } .switch__switch_r0yvp:hover {
23
+ } .switch__switch_k430w:hover {
24
24
  background-color: var(--switch-hover-bg-inverted-color);
25
- } .switch__label_r0yvp {
25
+ } .switch__label_k430w {
26
26
  color: var(--switch-label-inverted-color);
27
- } .switch__hint_r0yvp {
27
+ } .switch__hint_k430w {
28
28
  color: var(--switch-hint-inverted-color);
29
- } .switch__checked_r0yvp .switch__switch_r0yvp {
29
+ } .switch__checked_k430w .switch__switch_k430w {
30
30
  background-color: var(--switch-checked-bg-inverted-color)
31
- } .switch__checked_r0yvp .switch__switch_r0yvp:hover {
31
+ } .switch__checked_k430w .switch__switch_k430w:hover {
32
32
  background-color: var(--switch-checked-hover-bg-inverted-color);
33
- } .switch__disabled_r0yvp .switch__label_r0yvp {
33
+ } .switch__disabled_k430w .switch__label_k430w {
34
34
  color: var(--switch-disabled-inverted-color);
35
- } .switch__disabled_r0yvp .switch__hint_r0yvp {
35
+ } .switch__disabled_k430w .switch__hint_k430w {
36
36
  color: var(--switch-disabled-inverted-color);
37
- } .switch__disabled_r0yvp .switch__switch_r0yvp {
37
+ } .switch__disabled_k430w .switch__switch_k430w {
38
38
  background-color: var(--switch-disabled-bg-inverted-color)
39
- } .switch__disabled_r0yvp .switch__switch_r0yvp:before {
39
+ } .switch__disabled_k430w .switch__switch_k430w:before {
40
40
  background-color: var(--switch-icon-disabled-inverted-color);
41
- } .switch__disabled_r0yvp.switch__checked_r0yvp .switch__switch_r0yvp {
41
+ } .switch__disabled_k430w.switch__checked_k430w .switch__switch_k430w {
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_r0yvp","label":"switch__label_r0yvp","hint":"switch__hint_r0yvp","checked":"switch__checked_r0yvp","disabled":"switch__disabled_r0yvp"};
5
+ var invertedStyles = {"switch":"switch__switch_k430w","label":"switch__label_k430w","hint":"switch__hint_k430w","checked":"switch__checked_k430w","disabled":"switch__disabled_k430w"};
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_s4vom {
21
+ } .switch__switch_1cwle {
22
22
  background-color: var(--switch-bg-color)
23
- } .switch__switch_s4vom:hover {
23
+ } .switch__switch_1cwle:hover {
24
24
  background-color: var(--switch-hover-bg-color);
25
- } .switch__label_s4vom {
25
+ } .switch__label_1cwle {
26
26
  color: var(--switch-label-color);
27
- } .switch__hint_s4vom {
27
+ } .switch__hint_1cwle {
28
28
  color: var(--switch-hint-color);
29
- } .switch__checked_s4vom .switch__switch_s4vom {
29
+ } .switch__checked_1cwle .switch__switch_1cwle {
30
30
  background-color: var(--switch-checked-bg-color)
31
- } .switch__checked_s4vom .switch__switch_s4vom:hover {
31
+ } .switch__checked_1cwle .switch__switch_1cwle:hover {
32
32
  background-color: var(--switch-checked-hover-bg-color);
33
- } .switch__disabled_s4vom .switch__label_s4vom {
33
+ } .switch__disabled_1cwle .switch__label_1cwle {
34
34
  color: var(--switch-disabled-color);
35
- } .switch__disabled_s4vom .switch__hint_s4vom {
35
+ } .switch__disabled_1cwle .switch__hint_1cwle {
36
36
  color: var(--switch-disabled-color);
37
- } .switch__disabled_s4vom .switch__switch_s4vom {
37
+ } .switch__disabled_1cwle .switch__switch_1cwle {
38
38
  background-color: var(--switch-disabled-bg-color)
39
- } .switch__disabled_s4vom .switch__switch_s4vom:before {
39
+ } .switch__disabled_1cwle .switch__switch_1cwle:before {
40
40
  background-color: var(--switch-icon-disabled-color);
41
- } .switch__disabled_s4vom.switch__checked_s4vom .switch__switch_s4vom {
41
+ } .switch__disabled_1cwle.switch__checked_1cwle .switch__switch_1cwle {
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_s4vom","label":"switch__label_s4vom","hint":"switch__hint_s4vom","checked":"switch__checked_s4vom","disabled":"switch__disabled_s4vom"};
3
+ const defaultStyles = {"switch":"switch__switch_1cwle","label":"switch__label_1cwle","hint":"switch__hint_1cwle","checked":"switch__checked_1cwle","disabled":"switch__disabled_1cwle"};
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_1fhdc {
26
+ } .switch__component_11mam {
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_1fhdc input {
34
+ } .switch__component_11mam input {
35
35
  opacity: 0;
36
36
  position: absolute;
37
- } .switch__start_1fhdc {
37
+ } .switch__start_11mam {
38
38
  align-items: flex-start;
39
- } .switch__center_1fhdc {
39
+ } .switch__center_11mam {
40
40
  align-items: center;
41
- } .switch__addons_1fhdc {
41
+ } .switch__addons_11mam {
42
42
  margin-left: auto;
43
43
  padding-left: var(--gap-16);
44
44
  line-height: 24px;
45
- } .switch__block_1fhdc {
45
+ } .switch__block_11mam {
46
46
  width: 100%;
47
- } .switch__switch_1fhdc {
47
+ } .switch__switch_11mam {
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_1fhdc:before {
57
+ } .switch__switch_11mam: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_1fhdc {
69
+ } .switch__content_11mam {
70
70
  margin-left: var(--gap-12);
71
71
  flex-grow: 1;
72
- } .switch__label_1fhdc {
72
+ } .switch__label_11mam {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 400;
76
76
  display: block;
77
- } .switch__label_1fhdc:not(:only-child) {
77
+ } .switch__label_11mam:not(:only-child) {
78
78
  margin-bottom: var(--gap-4);
79
- } .switch__errorMessage_1fhdc {
79
+ } .switch__errorMessage_11mam {
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_1fhdc {
84
+ } .switch__hint_11mam {
85
85
  font-size: 14px;
86
86
  line-height: 18px;
87
87
  font-weight: 400;
88
88
  display: block;
89
- } .switch__component_1fhdc.switch__reversed_1fhdc {
89
+ } .switch__component_11mam.switch__reversed_11mam {
90
90
  flex-direction: row-reverse;
91
- } .switch__reversed_1fhdc .switch__content_1fhdc {
91
+ } .switch__reversed_11mam .switch__content_11mam {
92
92
  margin-right: var(--gap-16);
93
93
  margin-left: var(--gap-0);
94
- } .switch__reversed_1fhdc .switch__addons_1fhdc {
94
+ } .switch__reversed_11mam .switch__addons_11mam {
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_1fhdc .switch__switch_1fhdc:before {
99
+ } .switch__checked_11mam .switch__switch_11mam:before {
100
100
  transform: translateX(16px);
101
- } .switch__disabled_1fhdc {
101
+ } .switch__disabled_11mam {
102
102
  cursor: var(--disabled-cursor);
103
- } .switch__focused_1fhdc .switch__switch_1fhdc {
103
+ } .switch__focused_11mam .switch__switch_11mam {
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_1fhdc","start":"switch__start_1fhdc","center":"switch__center_1fhdc","addons":"switch__addons_1fhdc","block":"switch__block_1fhdc","switch":"switch__switch_1fhdc","content":"switch__content_1fhdc","label":"switch__label_1fhdc","errorMessage":"switch__errorMessage_1fhdc","hint":"switch__hint_1fhdc","reversed":"switch__reversed_1fhdc","checked":"switch__checked_1fhdc","disabled":"switch__disabled_1fhdc","focused":"switch__focused_1fhdc"};
3
+ const styles = {"component":"switch__component_11mam","start":"switch__start_11mam","center":"switch__center_11mam","addons":"switch__addons_11mam","block":"switch__block_11mam","switch":"switch__switch_11mam","content":"switch__content_11mam","label":"switch__label_11mam","errorMessage":"switch__errorMessage_11mam","hint":"switch__hint_11mam","reversed":"switch__reversed_11mam","checked":"switch__checked_11mam","disabled":"switch__disabled_11mam","focused":"switch__focused_11mam"};
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_r0yvp {
21
+ } .switch__switch_k430w {
22
22
  background-color: var(--switch-bg-inverted-color)
23
- } .switch__switch_r0yvp:hover {
23
+ } .switch__switch_k430w:hover {
24
24
  background-color: var(--switch-hover-bg-inverted-color);
25
- } .switch__label_r0yvp {
25
+ } .switch__label_k430w {
26
26
  color: var(--switch-label-inverted-color);
27
- } .switch__hint_r0yvp {
27
+ } .switch__hint_k430w {
28
28
  color: var(--switch-hint-inverted-color);
29
- } .switch__checked_r0yvp .switch__switch_r0yvp {
29
+ } .switch__checked_k430w .switch__switch_k430w {
30
30
  background-color: var(--switch-checked-bg-inverted-color)
31
- } .switch__checked_r0yvp .switch__switch_r0yvp:hover {
31
+ } .switch__checked_k430w .switch__switch_k430w:hover {
32
32
  background-color: var(--switch-checked-hover-bg-inverted-color);
33
- } .switch__disabled_r0yvp .switch__label_r0yvp {
33
+ } .switch__disabled_k430w .switch__label_k430w {
34
34
  color: var(--switch-disabled-inverted-color);
35
- } .switch__disabled_r0yvp .switch__hint_r0yvp {
35
+ } .switch__disabled_k430w .switch__hint_k430w {
36
36
  color: var(--switch-disabled-inverted-color);
37
- } .switch__disabled_r0yvp .switch__switch_r0yvp {
37
+ } .switch__disabled_k430w .switch__switch_k430w {
38
38
  background-color: var(--switch-disabled-bg-inverted-color)
39
- } .switch__disabled_r0yvp .switch__switch_r0yvp:before {
39
+ } .switch__disabled_k430w .switch__switch_k430w:before {
40
40
  background-color: var(--switch-icon-disabled-inverted-color);
41
- } .switch__disabled_r0yvp.switch__checked_r0yvp .switch__switch_r0yvp {
41
+ } .switch__disabled_k430w.switch__checked_k430w .switch__switch_k430w {
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_r0yvp","label":"switch__label_r0yvp","hint":"switch__hint_r0yvp","checked":"switch__checked_r0yvp","disabled":"switch__disabled_r0yvp"};
3
+ const invertedStyles = {"switch":"switch__switch_k430w","label":"switch__label_k430w","hint":"switch__hint_k430w","checked":"switch__checked_k430w","disabled":"switch__disabled_k430w"};
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-95f92d7",
3
+ "version": "5.0.0-snapshot-bbf91f6",
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-95f92d7",
21
+ "@alfalab/core-components-shared": "1.0.0-snapshot-bbf91f6",
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-95f92d7",
27
- "varsVersion": "10.0.0-snapshot-95f92d7"
26
+ "themesVersion": "14.0.0-snapshot-bbf91f6",
27
+ "varsVersion": "10.0.0-snapshot-bbf91f6"
28
28
  }