@akonwi/mica 0.2.0 → 0.2.1

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 (3) hide show
  1. package/README.md +1 -1
  2. package/mica.css +11 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -28,7 +28,7 @@ form validation) comes from the browser, not from a runtime.
28
28
  first-class distribution channel, not a workaround:
29
29
 
30
30
  ```sh
31
- curl -O https://raw.githubusercontent.com/akonwi/mica/v0.2.0/mica.css
31
+ curl -O https://raw.githubusercontent.com/akonwi/mica/v0.2.1/mica.css
32
32
  ```
33
33
 
34
34
  **npm** — for toolchains:
package/mica.css CHANGED
@@ -1443,7 +1443,18 @@
1443
1443
  background: var(--neutral-3);
1444
1444
  border-radius: var(--radius-md);
1445
1445
 
1446
+ /* Graceful collapse: labels never wrap inside a tab — when the rail
1447
+ is narrower than its tabs it scrolls horizontally instead. The
1448
+ thin scrollbar is the overflow affordance on platforms that show
1449
+ one; scroll chaining stays contained. */
1450
+ max-inline-size: 100%;
1451
+ overflow-x: auto;
1452
+ overscroll-behavior-x: contain;
1453
+ scrollbar-width: thin;
1454
+
1446
1455
  & > :where(button) {
1456
+ flex-shrink: 0;
1457
+ white-space: nowrap;
1447
1458
  block-size: var(--control-height-sm);
1448
1459
  padding-inline: var(--space-sm);
1449
1460
  border: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akonwi/mica",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Custom elements. Native behavior. Nearly no JavaScript.",
5
5
  "keywords": [
6
6
  "css",