nk_jtb 0.27.2 → 0.27.3

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.
@@ -295,7 +295,7 @@ Files parked in `docs/review/` — purpose or audience unclear.
295
295
  | `components/menu.md` | review | |
296
296
  | `components/navbar.md` | review | |
297
297
  | `components/table.md` | review | |
298
- | `components/loaders-and-spinners.md` | review | New split from animation.md |
298
+ | `components/loaders-and-spinners.md` | partial | Spinners section confirmed (SVG Arc utility approach). Loader Container still pending. |
299
299
  | `components/example-navigations.md` | stub | Bare HTML, no explanation |
300
300
 
301
301
  ### Utilities
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nk_jtb",
3
3
  "description": "Yet another utility based framework.",
4
- "version": "0.27.2",
4
+ "version": "0.27.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/naykel76/nk_jtb.git"
@@ -37,13 +37,6 @@
37
37
  opacity: 0.5;
38
38
  }
39
39
 
40
- // ICON SUPPORT
41
- > svg,
42
- > i {
43
- flex-shrink: 0; // prevent the icon from shrinking when button resizes or text wraps
44
- height: var(--icon-size, 1em); // match the icon height to the button's font-size for automatic scaling
45
- width: var(--icon-size, 1em); // match the icon width to the button's font-size for consistent sizing
46
- }
47
40
 
48
41
  &:where(.xs) {
49
42
  padding-inline: 0.625rem;
@@ -80,6 +73,14 @@
80
73
  }
81
74
  }
82
75
 
76
+ // ICON SUPPORT — :where() gives zero specificity so wh-* utilities can override
77
+ :where(.#{$button-prefix}) > svg,
78
+ :where(.#{$button-prefix}) > i {
79
+ flex-shrink: 0;
80
+ height: var(--icon-size, 1em);
81
+ width: var(--icon-size, 1em);
82
+ }
83
+
83
84
  // ============================================================================
84
85
  // -- THEMES AND VARIATIONS --
85
86
  // ============================================================================