ionbase-ui 0.21.0 → 0.22.0
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/dist/figma-map.json +2047 -0
- package/dist/meta/components.json +1 -1
- package/dist/meta/index.json +1 -1
- package/dist/meta/patterns/index.json +1 -1
- package/llms.txt +5 -1
- package/package.json +5 -3
package/dist/meta/index.json
CHANGED
package/llms.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> IonBase is a React design system for enterprise SaaS, built to be consumed by an agent rather than read by a developer. Every component ships a machine-readable contract carrying the judgement a type signature cannot: when to use it, what to use instead, the anti-patterns, and what it guarantees for accessibility versus what it requires of you.
|
|
4
4
|
|
|
5
|
-
Version 0.
|
|
5
|
+
Version 0.22.0. 35 components.
|
|
6
6
|
|
|
7
7
|
## Read these, in this order
|
|
8
8
|
|
|
@@ -21,6 +21,10 @@ Compositions of the components above, in `dist/meta/patterns/`. Read `dist/meta/
|
|
|
21
21
|
|
|
22
22
|
`DataTable`, `DestructiveConfirm`, `Form`, `PageShell`, `SettingsPanel`, `Wizard`
|
|
23
23
|
|
|
24
|
+
## Coming from a Figma design?
|
|
25
|
+
|
|
26
|
+
`dist/figma-map.json` maps every Figma component and node id in the IonBase library to the React component and the real props — what Code Connect does, without needing an Organization plan. Look up the node id or the component name rather than guessing from a screenshot.
|
|
27
|
+
|
|
24
28
|
## Rules that ship with this package
|
|
25
29
|
|
|
26
30
|
- `ionbase-ui/eslint-plugin` — five rules driven from the contracts: deprecated props, missing accessible names, raw style values, measured contrast failures, competing primary actions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ionbase-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "IonBase Design System — accessible React components, styles and design tokens in one package",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"types": "./dist/tokens-js.d.ts",
|
|
25
25
|
"default": "./dist/tokens-js.js"
|
|
26
26
|
},
|
|
27
|
+
"./figma-map": "./dist/figma-map.json",
|
|
27
28
|
"./llms.txt": "./llms.txt",
|
|
28
29
|
"./stylelint-config": "./stylelint-config.js",
|
|
29
30
|
"./eslint-plugin": "./eslint-plugin/index.js"
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
},
|
|
62
63
|
"scripts": {
|
|
63
64
|
"dev": "tsc --watch",
|
|
64
|
-
"build": "node scripts/sync-tokens.mjs && tsc --build --force && node scripts/copy-css.mjs && node scripts/verify-client-boundaries.mjs && node scripts/verify-contrast.mjs && node scripts/build-meta.mjs && node scripts/verify-meta.mjs && node scripts/build-patterns.mjs && node scripts/build-llms.mjs",
|
|
65
|
+
"build": "node scripts/sync-tokens.mjs && tsc --build --force && node scripts/copy-css.mjs && node scripts/verify-client-boundaries.mjs && node scripts/verify-contrast.mjs && node scripts/build-meta.mjs && node scripts/verify-meta.mjs && node scripts/build-patterns.mjs && node scripts/verify-figma-map.mjs && node scripts/build-llms.mjs",
|
|
65
66
|
"typecheck": "tsc --noEmit",
|
|
66
67
|
"lint": "eslint . && stylelint \"src/styles/*.css\"",
|
|
67
68
|
"format": "prettier --check .",
|
|
@@ -71,7 +72,8 @@
|
|
|
71
72
|
"contrast": "node scripts/verify-contrast.mjs",
|
|
72
73
|
"contrast:list": "node scripts/verify-contrast.mjs --list",
|
|
73
74
|
"llms": "node scripts/build-llms.mjs",
|
|
74
|
-
"patterns": "node scripts/build-patterns.mjs"
|
|
75
|
+
"patterns": "node scripts/build-patterns.mjs",
|
|
76
|
+
"figma:map": "node scripts/verify-figma-map.mjs"
|
|
75
77
|
},
|
|
76
78
|
"peerDependencies": {
|
|
77
79
|
"react": "^18.0.0 || ^19.0.0",
|