@hanzo/ui 8.0.17 → 8.0.18

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/LICENSE.md +21 -0
  2. package/package.json +18 -19
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 hanzo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.0.17",
3
+ "version": "8.0.18",
4
4
  "type": "module",
5
- "description": "Hanzo UI \u2014 the one canonical, backend-flexible component library on @hanzo/gui + @hanzo/tokens. A shared design core (Hanzo dark-first tokens, Geist Sans/Mono typography) with per-backend implementations: the shadcn-compatible web surface (Radix + Tailwind, the API apps import) and the @hanzo/gui product layer (cross-platform web + native + desktop). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
5
+ "description": "Hanzo UI the one canonical, backend-flexible component library on @hanzo/gui + @hanzo/tokens. A shared design core (Hanzo dark-first tokens, Geist Sans/Mono typography) with per-backend implementations: the shadcn-compatible web surface (Radix + Tailwind, the API apps import) and the @hanzo/gui product layer (cross-platform web + native + desktop). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./dist/index.d.ts",
@@ -150,22 +150,8 @@
150
150
  "files": [
151
151
  "dist"
152
152
  ],
153
- "scripts": {
154
- "build": "tsup && tsc -p tsconfig.build.json && mkdir -p dist/styles && cp src/styles/hanzo-motion.css dist/styles/hanzo-motion.css && node scripts/add-use-client.mjs",
155
- "clean": "rm -rf dist types",
156
- "gen:primitives": "node scripts/gen-primitives.mjs",
157
- "prepack": "pnpm run build",
158
- "tc": "tsc --noEmit",
159
- "typecheck": "tsc --noEmit",
160
- "typecheck:ui": "tsc -p tsconfig.check.json",
161
- "check:svelte": "svelte-check --tsconfig ./tsconfig.svelte.json",
162
- "test": "vitest run",
163
- "test:watch": "vitest"
164
- },
165
153
  "dependencies": {
166
154
  "@hanzo/logo": "^1.0.13",
167
- "@hanzo/products": "workspace:*",
168
- "@hanzo/tokens": "workspace:*",
169
155
  "@hanzogui/telemetry": "^0.1.0",
170
156
  "@radix-ui/react-aspect-ratio": "^1.1.8",
171
157
  "@radix-ui/react-avatar": "^1.1.11",
@@ -190,7 +176,9 @@
190
176
  "cmdk": "^1.1.1",
191
177
  "lucide-react": ">=0.456.0",
192
178
  "sonner": "^2.0.7",
193
- "tailwind-merge": "^3.5.0"
179
+ "tailwind-merge": "^3.5.0",
180
+ "@hanzo/tokens": "1.0.0",
181
+ "@hanzo/products": "0.2.0"
194
182
  },
195
183
  "peerDependencies": {
196
184
  "@hanzo/canvas": ">=0.1.0",
@@ -258,5 +246,16 @@
258
246
  "access": "public"
259
247
  },
260
248
  "license": "BSD-3-Clause",
261
- "author": "Hanzo AI <dev@hanzo.ai>"
262
- }
249
+ "author": "Hanzo AI <dev@hanzo.ai>",
250
+ "scripts": {
251
+ "build": "tsup && tsc -p tsconfig.build.json && mkdir -p dist/styles && cp src/styles/hanzo-motion.css dist/styles/hanzo-motion.css && node scripts/add-use-client.mjs",
252
+ "clean": "rm -rf dist types",
253
+ "gen:primitives": "node scripts/gen-primitives.mjs",
254
+ "tc": "tsc --noEmit",
255
+ "typecheck": "tsc --noEmit",
256
+ "typecheck:ui": "tsc -p tsconfig.check.json",
257
+ "check:svelte": "svelte-check --tsconfig ./tsconfig.svelte.json",
258
+ "test": "vitest run",
259
+ "test:watch": "vitest"
260
+ }
261
+ }