@travelallfly/ui 0.0.0-stage → 0.2.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/package.json CHANGED
@@ -1,6 +1,118 @@
1
1
  {
2
2
  "name": "@travelallfly/ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "AllFly design system: tokens, Tailwind preset and shared React components",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/travelallfly/allfly-ui.git"
8
+ },
9
+ "license": "MIT",
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "type": "module",
14
+ "sideEffects": [
15
+ "**/*.css"
16
+ ],
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "import": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/index.js"
25
+ },
26
+ "require": {
27
+ "types": "./dist/index.d.cts",
28
+ "default": "./dist/index.cjs"
29
+ }
30
+ },
31
+ "./utils": {
32
+ "import": {
33
+ "types": "./dist/utils.d.ts",
34
+ "default": "./dist/utils.js"
35
+ },
36
+ "require": {
37
+ "types": "./dist/utils.d.cts",
38
+ "default": "./dist/utils.cjs"
39
+ }
40
+ },
41
+ "./tokens": {
42
+ "import": {
43
+ "types": "./dist/tokens.d.ts",
44
+ "default": "./dist/tokens.js"
45
+ },
46
+ "require": {
47
+ "types": "./dist/tokens.d.cts",
48
+ "default": "./dist/tokens.cjs"
49
+ }
50
+ },
51
+ "./tailwind-preset": {
52
+ "import": {
53
+ "types": "./dist/tailwind-preset.d.ts",
54
+ "default": "./dist/tailwind-preset.js"
55
+ },
56
+ "require": {
57
+ "types": "./dist/tailwind-preset.d.cts",
58
+ "default": "./dist/tailwind-preset.cjs"
59
+ }
60
+ },
61
+ "./tokens.css": "./dist/tokens.css"
62
+ },
63
+ "scripts": {
64
+ "storybook": "storybook dev -p 6006",
65
+ "build-storybook": "storybook build",
66
+ "tokens": "tsx scripts/build-tokens.ts",
67
+ "changeset": "changeset",
68
+ "version-packages": "changeset version && npm install --package-lock-only --no-audit --no-fund",
69
+ "release": "npm run build && changeset publish",
70
+ "build": "rm -rf dist && npm run tokens && tsup && cp src/tokens/tokens.css dist/tokens.css",
71
+ "lint": "eslint .",
72
+ "typecheck": "tsc --noEmit",
73
+ "test-unit": "vitest run",
74
+ "test": "npm run test-unit",
75
+ "test-consumers": "node scripts/test-consumers.mjs"
76
+ },
77
+ "peerDependencies": {
78
+ "react": ">=18",
79
+ "react-dom": ">=18",
80
+ "tailwindcss": ">=3.4 <4"
81
+ },
82
+ "dependencies": {
83
+ "@radix-ui/react-slot": "^1.2.0",
84
+ "class-variance-authority": "^0.7.1",
85
+ "clsx": "^2.1.1",
86
+ "tailwind-merge": "^3.0.1"
87
+ },
88
+ "devDependencies": {
89
+ "@changesets/cli": "^3.0.3",
90
+ "@eslint/js": "^9.39.5",
91
+ "@fontsource-variable/figtree": "^5.2.0",
92
+ "@fontsource-variable/geist-mono": "^5.2.0",
93
+ "@fontsource/instrument-serif": "^5.2.0",
94
+ "@storybook/addon-a11y": "^10.6.7",
95
+ "@storybook/addon-docs": "^10.6.7",
96
+ "@storybook/react-vite": "^10.6.7",
97
+ "@testing-library/react": "^16.3.0",
98
+ "@types/node": "^22.10.0",
99
+ "@types/react": "^19.0.0",
100
+ "@types/react-dom": "^19.0.0",
101
+ "autoprefixer": "^10.4.20",
102
+ "eslint": "^9.39.5",
103
+ "eslint-plugin-react-hooks": "^5.2.0",
104
+ "globals": "^17.14.0",
105
+ "jsdom": "^26.0.0",
106
+ "postcss": "^8.4.49",
107
+ "react": "^19.0.1",
108
+ "react-dom": "^19.0.1",
109
+ "storybook": "^10.6.7",
110
+ "tailwindcss": "^3.4.19",
111
+ "tsup": "^8.3.5",
112
+ "tsx": "^4.19.2",
113
+ "typescript": "~5.8.3",
114
+ "typescript-eslint": "^8.73.0",
115
+ "vite": "^6.3.5",
116
+ "vitest": "^4.1.12"
117
+ }
118
+ }