@kubex/zinc 1.1.112 → 1.1.113

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubex/zinc",
3
- "version": "1.1.112",
3
+ "version": "1.1.113",
4
4
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
5
5
  "keywords": [
6
6
  "web components",
@@ -23,7 +23,7 @@ select {
23
23
  width: 100%;
24
24
  border-radius: 5px;
25
25
  border-style: solid;
26
- border-width: 1px !important;
26
+ border-width: 1px;
27
27
  border-color: rgb(var(--zn-border-color));
28
28
  background-color: rgb(var(--zn-input-bg));
29
29
  outline: none;
@@ -254,27 +254,27 @@
254
254
 
255
255
  .zn-border {
256
256
  border-style: solid;
257
- border-width: 1px !important;
257
+ border-width: 1px;
258
258
  }
259
259
 
260
260
  .zn-bt {
261
261
  border-top-style: solid;
262
- border-top-width: 1px !important;
262
+ border-top-width: 1px;
263
263
  }
264
264
 
265
265
  .zn-bb {
266
266
  border-bottom-style: solid;
267
- border-bottom-width: 1px !important;
267
+ border-bottom-width: 1px;
268
268
  }
269
269
 
270
270
  .zn-bl {
271
271
  border-left-style: solid;
272
- border-left-width: 1px !important;
272
+ border-left-width: 1px;
273
273
  }
274
274
 
275
275
  .zn-br {
276
276
  border-right-style: solid;
277
- border-right-width: 1px !important;
277
+ border-right-width: 1px;
278
278
  }
279
279
 
280
280
  .unifi-action {
package/src/wc.scss CHANGED
@@ -13,13 +13,16 @@
13
13
  -webkit-font-smoothing: antialiased;
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
  text-transform: none;
16
+ }
16
17
 
17
- *, *::before, *::after {
18
- box-sizing: border-box;
19
- border-width: 0;
20
- border-style: solid;
21
- border-color: rgb(var(--zn-border-color));
22
- }
18
+ // Must stay at zero specificity: shadow roots that re-adopt the global sheet
19
+ // (zn-tabs, zn-data-table, editor toolbar) load it before this one, so a `:host *`
20
+ // reset would win the tie and strip borders off every global class.
21
+ *, *::before, *::after {
22
+ box-sizing: border-box;
23
+ border-width: 0;
24
+ border-style: solid;
25
+ border-color: rgb(var(--zn-border-color));
23
26
  }
24
27
 
25
28
  [hidden] {