@livelayer/react 0.2.4 → 0.2.5
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/styles.css +9 -2
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -66,7 +66,14 @@
|
|
|
66
66
|
box-sizing: border-box;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
/* Browser button reset, wrapped in :where() so it contributes zero
|
|
70
|
+
specificity. Without this, `.ll-widget button` would have specificity
|
|
71
|
+
(0,1,1) and stomp on every component class (.ll-hbtn, .ll-hpill,
|
|
72
|
+
.ll-tool, etc. — all 0,1,0), forcing every rule to be re-scoped under
|
|
73
|
+
`.ll-widget` to win. With :where() the reset becomes (0,1,0) and a
|
|
74
|
+
later class rule wins on source order, which is what consumers expect
|
|
75
|
+
when they read the CSS top-to-bottom. */
|
|
76
|
+
.ll-widget :where(button) {
|
|
70
77
|
font-family: inherit;
|
|
71
78
|
border: none;
|
|
72
79
|
background: none;
|
|
@@ -75,7 +82,7 @@
|
|
|
75
82
|
color: inherit;
|
|
76
83
|
}
|
|
77
84
|
|
|
78
|
-
.ll-widget button:disabled {
|
|
85
|
+
.ll-widget :where(button):disabled {
|
|
79
86
|
cursor: not-allowed;
|
|
80
87
|
}
|
|
81
88
|
|
package/package.json
CHANGED