@snacky/ui 0.3.8 → 0.3.9

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/README.md +6 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -57,6 +57,12 @@ Callout, List (OrderListItem/NotificationListItem), Accordion, BottomSheet
57
57
  (the shared Modal shell), Section (the shared content-block shell), Avatar,
58
58
  Illustration, ProductImage, ProductCard.
59
59
 
60
+ Plus the icon set, as `SnackyIcons.outline.*` and `SnackyIcons.solid.*` (42
61
+ Outline, 10 Solid). Two things to know: they are **filled** shapes rather than
62
+ stroked paths, so there is no `strokeWidth` to set, and the set is **not
63
+ uniform** - each icon is authored at 16, 20 or 24px and defaults to its own
64
+ natural size, so pass `width`/`height` if you need them to match.
65
+
60
66
  ## Verification status
61
67
 
62
68
  Every component is diffed against `index.html`'s own Live Preview
@@ -85,19 +91,6 @@ what is already in the bundle.
85
91
 
86
92
  ## Known gaps - read before relying on these
87
93
 
88
- - **Icons** (`SnackyIcons.outline.*` / `SnackyIcons.solid.*`): no longer a
89
- gap. The hand-drawn starter set has been replaced by the real thing - all
90
- 42 Outline + 10 Solid icons exported from Figma's own `Icon-outline` (node
91
- `55:2062`) and `Icon-solid` (`8772:5851`) component sets. `src/icons/outline.tsx` and
92
- `solid.tsx` are generated from `../../assets/icons/icons.json` by
93
- `../../scripts/generate-icons.js` (never hand-edit them), the same source
94
- that generates compose-ui's `SnackyIcons.kt`.
95
-
96
- Two things changed versus the old hand-drawn placeholder: the icons are
97
- **filled outline shapes**, not stroked paths (the weight is baked into each
98
- shape, there is no `strokeWidth` to set), and the set is **not uniform** -
99
- icons are authored at 16, 20 or 24px depending on use, so each carries its
100
- own viewBox and defaults to that natural size.
101
94
  - **Illustration** ships no artwork - you supply the image. This is
102
95
  deliberate and normal (Material, Radix and Chakra ship none either); the
103
96
  component owns the documented canvas size for each variant, which is the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snacky/ui",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Snacky App design system - React component library. Generated from the source-of-truth design system at ../../index.html (tokens.json / components.json), pixel-accurate to Figma.",
5
5
  "license": "MIT",
6
6
  "author": "rezatresnas",