@girumtech/gs-design-system-native 0.1.8 → 0.1.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 +5 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -142,7 +142,7 @@ const spark: readonly IconPath[] = [
142
142
  export function Icons() {
143
143
  return (
144
144
  <>
145
- <NamedIcon name="heart" size={28} color="#FC2B2B" label="Favorite" />
145
+ <NamedIcon name="Heart" size={28} color="#FC2B2B" label="Favorite" />
146
146
  <Icon paths={spark} size={32} color="#2323F7" label="Spark" />
147
147
  </>
148
148
  )
@@ -151,6 +151,10 @@ export function Icons() {
151
151
 
152
152
  Decorative icons may omit `label`; meaningful icons should provide one for accessibility.
153
153
 
154
+ ### Built-in icon names
155
+
156
+ `NamedIcon`'s `name` prop is a PascalCase `IconName`: `ArrowRight`, `Check`, `Heart`, `Plus`, `Menu`, `User`, `ChevronRight`, `ChevronLeft`, `Logout`, `Close`, `Layers`, `Box`, `Edit`, `Eye`, `EyeOff`, `Moon`, `Sun`, `Coin`. Need something outside that set? Pass your own `paths` to `Icon` rather than keeping a one-off icon set in the consuming app.
157
+
154
158
  ## Exports
155
159
 
156
160
  The package exports `GsProvider`, `Theme`, `Button`, `Input`, `Field`, `Text`, `Icon`, `NamedIcon`, tokens, themes, and the curated `Image`, `ScrollView`, `Separator`, `View`, `XStack`, `YStack`, and `ZStack` primitives.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girumtech/gs-design-system-native",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "React Native entry point for GsDesignSystem",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -25,7 +25,7 @@
25
25
  "typecheck": "tsc -p tsconfig.json"
26
26
  },
27
27
  "dependencies": {
28
- "@girumtech/gs-design-system-core": "0.1.8"
28
+ "@girumtech/gs-design-system-core": "0.1.9"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": ">=19",