@shadow-js/ui 1.0.3 → 1.0.4
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/CHANGELOG.md +6 -0
- package/README.md +4 -4
- package/dist/cli.mjs +1 -1
- package/package.json +11 -11
- package/registry.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ shadow-ui remove <name...> [--force]
|
|
|
108
108
|
shadow-ui completion <bash|zsh|fish> # print a tab-completion script (see below)
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
`add` resolves `registryDependencies` (`alert-dialog` brings `button`, `dialog` brings `icons`; every component
|
|
111
|
+
`add` resolves `registryDependencies` (`alert-dialog` brings `button`, `dialog` brings `icons`; nearly every component
|
|
112
112
|
brings `utils`), rewrites the imports in the copied files to **your** aliases from `components.json`, writes only
|
|
113
113
|
inside the project (an alias or `--path` that points outside is refused, symbolic links are resolved first), and
|
|
114
114
|
installs the npm packages the files import that your `package.json` lacks: other packages at the exact versions the
|
|
@@ -570,15 +570,15 @@ Everything is documented with TSDoc in the sources.
|
|
|
570
570
|
|
|
571
571
|
## Links
|
|
572
572
|
|
|
573
|
-
- [`@shadow-js/primitives`](https://primitives.shadowjs.net): the headless behavior under every component
|
|
573
|
+
- [`@shadow-js/primitives`](https://primitives.shadowjs.net): the headless behavior under nearly every component
|
|
574
574
|
- [`@shadow-js/forms`](https://forms.shadowjs.net): fields for the `form` item
|
|
575
575
|
|
|
576
576
|
## Dependencies
|
|
577
577
|
|
|
578
|
-
- Runtime `@shadow-js/table` `1.0.
|
|
578
|
+
- Runtime `@shadow-js/table` `1.0.4`: imported only as types by the data-table item (`registry/data-table/data-table.tsx`).
|
|
579
579
|
- Runtime `class-variance-authority` `0.7.1`: `cva` and `VariantProps` (`src/index.ts`).
|
|
580
580
|
- Runtime `clsx` `2.1.1` and `tailwind-merge` `3.7.0`: class merging behind `cn` (`registry/utils/utils.ts`).
|
|
581
|
-
- Peers: `@shadow-js/core`, `@shadow-js/primitives`, and `@shadow-js/web` `^1.0.
|
|
581
|
+
- Peers: `@shadow-js/core`, `@shadow-js/primitives`, and `@shadow-js/web` `^1.0.3`: the behavior and rendering under each component.
|
|
582
582
|
|
|
583
583
|
## Types
|
|
584
584
|
|
package/dist/cli.mjs
CHANGED
|
@@ -2443,7 +2443,7 @@ function realContext(cwd) {
|
|
|
2443
2443
|
cwd: resolve(cwd ?? process.cwd()),
|
|
2444
2444
|
fs: nodeFs(),
|
|
2445
2445
|
registry: loadRegistrySource(),
|
|
2446
|
-
version: "1.0.
|
|
2446
|
+
version: "1.0.4",
|
|
2447
2447
|
out: (line) => process.stdout.write(`${line}\n`),
|
|
2448
2448
|
err: (line) => process.stderr.write(`${line}\n`),
|
|
2449
2449
|
async confirm(question) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shadow-js/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "shadcn-style components you add to your project with a CLI, styled with Tailwind v4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"check": "npm run lint && npm run typecheck && npm run build && npm test && npm run test:perf && npm run test:gc"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@shadow-js/core": "^1.0.
|
|
64
|
-
"@shadow-js/primitives": "^1.0.
|
|
65
|
-
"@shadow-js/web": "^1.0.
|
|
63
|
+
"@shadow-js/core": "^1.0.4",
|
|
64
|
+
"@shadow-js/primitives": "^1.0.4",
|
|
65
|
+
"@shadow-js/web": "^1.0.4"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@biomejs/biome": "2.5.15",
|
|
69
|
-
"@shadow-js/compiler": "^1.0.
|
|
70
|
-
"@shadow-js/core": "^1.0.
|
|
71
|
-
"@shadow-js/forms": "^1.0.
|
|
72
|
-
"@shadow-js/primitives": "^1.0.
|
|
73
|
-
"@shadow-js/testing": "^1.0.
|
|
74
|
-
"@shadow-js/web": "^1.0.
|
|
69
|
+
"@shadow-js/compiler": "^1.0.4",
|
|
70
|
+
"@shadow-js/core": "^1.0.4",
|
|
71
|
+
"@shadow-js/forms": "^1.0.4",
|
|
72
|
+
"@shadow-js/primitives": "^1.0.4",
|
|
73
|
+
"@shadow-js/testing": "^1.0.4",
|
|
74
|
+
"@shadow-js/web": "^1.0.4",
|
|
75
75
|
"@tailwindcss/node": "4.3.3",
|
|
76
76
|
"@types/node": "^24.0.0",
|
|
77
77
|
"fast-check": "^4.10.2",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"vitest": "5.0.3"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@shadow-js/table": "1.0.
|
|
87
|
+
"@shadow-js/table": "1.0.4",
|
|
88
88
|
"class-variance-authority": "0.7.1",
|
|
89
89
|
"clsx": "2.1.1",
|
|
90
90
|
"tailwind-merge": "3.7.0"
|
package/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shadow-js/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"frameworkDependencies": [
|
|
5
5
|
"@shadow-js/core",
|
|
6
6
|
"@shadow-js/primitives",
|
|
@@ -1063,7 +1063,7 @@
|
|
|
1063
1063
|
"utils"
|
|
1064
1064
|
],
|
|
1065
1065
|
"dependencies": {
|
|
1066
|
-
"@shadow-js/table": "1.0.
|
|
1066
|
+
"@shadow-js/table": "1.0.4"
|
|
1067
1067
|
},
|
|
1068
1068
|
"exports": [
|
|
1069
1069
|
"DataTable",
|