@kubex/zinc 1.1.57 → 1.1.58
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/custom-elements.json +123 -123
- package/dist/vscode.html-custom-data.json +15 -15
- package/dist/web-types.json +29 -29
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +6 -6
- package/package.json +1 -1
- package/scss/themes/_light.scss +1 -0
- package/src/components/cols/cols.component.ts +1 -1
- package/src/components/form-group/form-group.scss +4 -0
- package/src/components/toggle/toggle.scss +9 -9
package/package.json
CHANGED
package/scss/themes/_light.scss
CHANGED
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
/* Border radii */
|
|
113
113
|
--zn-border-radius: 6px;
|
|
114
114
|
--zn-border-radius-small: 2px;
|
|
115
|
+
--zn-border-radius-x-large: var(--zn-border-radius); // For backwards compat modal border radius
|
|
115
116
|
--zn-border-radius-circle: 50%;
|
|
116
117
|
--zn-border-radius-pill: 9999px;
|
|
117
118
|
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
border-radius: 12px;
|
|
21
21
|
align-items: center;
|
|
22
|
-
background-color:
|
|
23
|
-
border: 0.92px solid
|
|
22
|
+
background-color: rgb(var(--zn-color-tab));
|
|
23
|
+
border: 0.92px solid rgb(var(--zn-color-tab));
|
|
24
24
|
margin: var(--zn-toggle-margin);
|
|
25
25
|
transition: color .2s ease-in-out, background-color .4s ease-in-out, border-color .2s ease-in-out;
|
|
26
26
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
border-color: rgb(var(--zn-color-primary));
|
|
35
35
|
|
|
36
36
|
.switch__control {
|
|
37
|
-
|
|
37
|
+
left: calc(100% - 20.32px - 0.92px);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
pointer-events: none;
|
|
55
55
|
position: absolute;
|
|
56
56
|
top: 50%;
|
|
57
|
-
left:
|
|
58
|
-
width:
|
|
59
|
-
height:
|
|
57
|
+
left: 0.92px;
|
|
58
|
+
width: 20.32px;
|
|
59
|
+
height: 20.32px;
|
|
60
60
|
border-radius: 50%;
|
|
61
61
|
background: #fff;
|
|
62
|
-
box-shadow:
|
|
62
|
+
box-shadow: 0 2px 4px 0 rgba(var(--zn-color-text), 0.1);
|
|
63
63
|
|
|
64
64
|
transform: translateY(-50%);
|
|
65
|
-
transition:
|
|
65
|
+
transition: left .3s ease-in-out, background-color .4s ease-in-out;
|
|
66
66
|
outline: none;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
|
|
88
88
|
:host([checked]) .switch__wrapper--small .switch__input-wrapper {
|
|
89
89
|
.switch__control {
|
|
90
|
-
|
|
90
|
+
left: calc(100% - 14px - 0.92px);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|