@yenio-pld/blocks 1.2.0-rc.23 → 1.2.0-rc.24

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/theme.css +29 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yenio-pld/blocks",
3
- "version": "1.2.0-rc.23",
3
+ "version": "1.2.0-rc.24",
4
4
  "description": "Shared UI components for Yenio applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
package/src/theme.css CHANGED
@@ -196,10 +196,21 @@
196
196
  --tracking-widest: calc(var(--tracking-normal) + 0.1em);
197
197
  }
198
198
 
199
- /* Global elegant scrollbars — thin overlay thumb, transparent track, theme tokens. */
200
- * {
201
- scrollbar-width: thin;
202
- scrollbar-color: var(--scrollbar-thumb) transparent;
199
+ /*
200
+ * Global elegant scrollbars — thin thumb, transparent track, theme tokens.
201
+ *
202
+ * Chrome 121+ treats standard `scrollbar-width` / `scrollbar-color` as winning
203
+ * over every `::-webkit-scrollbar-*` rule. Applying both on the same element
204
+ * drops the custom thumb and shows classic platform scrollbars with
205
+ * increment/decrement arrows. Keep the standard properties for engines that
206
+ * do not implement `::-webkit-scrollbar` (Firefox); use WebKit pseudos
207
+ * everywhere else so arrows stay hidden.
208
+ */
209
+ @supports not selector(::-webkit-scrollbar) {
210
+ * {
211
+ scrollbar-width: thin;
212
+ scrollbar-color: var(--scrollbar-thumb) transparent;
213
+ }
203
214
  }
204
215
 
205
216
  *::-webkit-scrollbar {
@@ -211,11 +222,24 @@
211
222
  background: transparent;
212
223
  }
213
224
 
214
- /* Hide increment/decrement arrow buttons (Chromium/WebKit on desktop). */
215
225
  *::-webkit-scrollbar-button {
216
226
  display: none;
217
227
  width: 0;
218
228
  height: 0;
229
+ appearance: none;
230
+ -webkit-appearance: none;
231
+ background: transparent;
232
+ border: none;
233
+ }
234
+
235
+ *::-webkit-scrollbar-button:single-button,
236
+ *::-webkit-scrollbar-button:vertical:start:decrement,
237
+ *::-webkit-scrollbar-button:vertical:end:increment,
238
+ *::-webkit-scrollbar-button:horizontal:start:decrement,
239
+ *::-webkit-scrollbar-button:horizontal:end:increment {
240
+ display: none;
241
+ width: 0;
242
+ height: 0;
219
243
  }
220
244
 
221
245
  *::-webkit-scrollbar-thumb {