@linzjs/lui 24.18.0 → 24.19.0
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/CHANGELOG.md +13 -0
- package/dist/assets/icons/contract.svg +3 -0
- package/dist/assets/icons/no_longer_restricted_hidden_title.svg +7 -5
- package/dist/assets/icons/pause.svg +3 -0
- package/dist/assets/icons/structured_data.svg +3 -0
- package/dist/assets/svg-content.d.ts +1 -1
- package/dist/assets/svg-content.tsx +24 -3
- package/dist/components/LuiSwitchButton/LuiSwitchButton.d.ts +1 -0
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +13 -6
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiSwitchButton/LuiSwitchButton.scss +44 -2
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
width: 40px;
|
|
14
14
|
padding: 2px;
|
|
15
15
|
background: colors.$snow;
|
|
16
|
-
border:
|
|
16
|
+
border: 2px solid colors.$sea;
|
|
17
17
|
border-radius: 40px;
|
|
18
18
|
position: relative;
|
|
19
19
|
transition: background-color 0.2s;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
background: colors.$sea;
|
|
35
35
|
.lui-switch-button {
|
|
36
36
|
transform: translateX(
|
|
37
|
-
|
|
37
|
+
19px
|
|
38
38
|
); // 20px + border + padding + width of switch button = 40px (width of container)
|
|
39
39
|
background: colors.$snow;
|
|
40
40
|
}
|
|
@@ -55,3 +55,45 @@
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
.lui-switch-sm {
|
|
60
|
+
.lui-switch-label {
|
|
61
|
+
width: 24px;
|
|
62
|
+
padding: 1px;
|
|
63
|
+
border-width: 2px;
|
|
64
|
+
border-radius: 20px;
|
|
65
|
+
|
|
66
|
+
.lui-switch-button {
|
|
67
|
+
width: 7px;
|
|
68
|
+
height: 7px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.lui-switch-label-checked {
|
|
73
|
+
.lui-switch-button {
|
|
74
|
+
transform: translateX(11px);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.lui-switch-checkbox:disabled {
|
|
79
|
+
+ .lui-switch-label {
|
|
80
|
+
border-width: 1px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.lui-switch-checkbox:disabled {
|
|
86
|
+
+ .lui-switch-label {
|
|
87
|
+
background: colors.$lily;
|
|
88
|
+
border: 1px solid colors.$gray;
|
|
89
|
+
.lui-switch-button {
|
|
90
|
+
background: colors.$gray;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
+ .lui-switch-label-checked {
|
|
94
|
+
background: colors.$gray;
|
|
95
|
+
.lui-switch-button {
|
|
96
|
+
background: colors.$lily;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
package/package.json
CHANGED