@flipdish/ui-library 0.14.0 → 0.14.2

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.
package/README.md CHANGED
@@ -101,7 +101,10 @@ Native)](https://flipdishbytes.github.io/flipdish-design-system/?path=/docs/gett
101
101
  The summary below covers the essentials.
102
102
 
103
103
  **Available on React Native today:** `Avatar`, plus the `cx`, `testIdUtils` and
104
- `isReactComponent` utilities.
104
+ `isReactComponent` utilities. Storybook is the live reference: each component's docs page
105
+ carries a **React Native** section listing exactly which props that platform supports, and
106
+ the **Platform** switch in the toolbar re-renders its stories with the React Native
107
+ implementation.
105
108
 
106
109
  Import paths are identical across platforms — Metro picks the native build via the
107
110
  `react-native` [export condition](https://metrobundler.dev/docs/package-exports):
@@ -164,8 +167,9 @@ same files Metro does:
164
167
  }
165
168
  ```
166
169
 
167
- Without it you get the **web** type definitions — `Avatar` would appear to accept `src`,
168
- `initials` and `badge`, none of which the native implementation supports.
170
+ Without it you get the **web** type definitions — `Avatar` would appear to accept `src`
171
+ and `badge`, neither of which the native implementation supports (`initials` IS
172
+ supported natively).
169
173
 
170
174
  ### Importing a component that isn't available yet
171
175
 
@@ -32,10 +32,9 @@
32
32
  /*
33
33
  * Scan only the native build output. Resolves relative to this file's real
34
34
  * location, which is `dist/` once shipped — so this is `dist/native`, the tree
35
- * built by rollup.native.config.js, and never the web output beside it. There is
36
- * no in-repo dev equivalent: native variants aren't previewed in Storybook, so
37
- * this file is only ever consumed from the published package. A bare directory
38
- * source avoids brace globs, which Tailwind's CSS parser rejects — even in a
39
- * comment, so don't reintroduce one.
35
+ * built by rollup.native.config.js, and never the web output beside it. Storybook
36
+ * scans the `.native.tsx` sources separately, in .storybook/tailwind.css. A bare
37
+ * directory source avoids brace globs, which Tailwind's CSS parser rejects even
38
+ * in a comment, so don't reintroduce one.
40
39
  */
41
40
  @source "./native";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipdish/ui-library",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Flipdish Design System — atomic-design component library (Tailwind v4 + UntitledUI + React Aria).",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -278,9 +278,10 @@
278
278
  "typecheck": "tsc --noEmit",
279
279
  "test": "vitest run --project unit",
280
280
  "test:watch": "vitest --project unit",
281
- "test:storybook": "vitest run --project storybook",
282
- "test:storybook:watch": "vitest --project storybook",
283
- "test:storybook:coverage": "vitest run --project storybook --coverage",
281
+ "test:storybook": "vitest run --project storybook --project storybook-native",
282
+ "test:storybook:watch": "vitest --project storybook --project storybook-native",
283
+ "test:storybook:native": "vitest run --project storybook-native",
284
+ "test:storybook:coverage": "vitest run --project storybook --project storybook-native --coverage",
284
285
  "typecheck:native": "node scripts/typecheck-native.mjs",
285
286
  "storybook": "storybook dev -p 6006",
286
287
  "build-storybook": "storybook build",