@tenerife.music/ui 1.0.13 → 1.0.16

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,6 @@
1
1
  {
2
2
  "name": "@tenerife.music/ui",
3
- "version": "1.0.13",
3
+ "version": "1.0.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -38,46 +38,6 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "scripts": {
42
- "storybook": "storybook dev -p 6006",
43
- "format": "prettier . --write",
44
- "lint:fix": "./scripts/lint-local.sh",
45
- "typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.vite.json",
46
- "test": "vitest run",
47
- "ci:local": "./scripts/ci-local.sh",
48
- "test:ui": "vitest --ui",
49
- "ci:a11y": "pnpm test:a11y && pnpm a11y:contrast",
50
- "build": "tsup",
51
- "dev": "vite build --watch",
52
- "clean": "rimraf dist",
53
- "format:check": "prettier . --check",
54
- "lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
55
- "lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
56
- "lint:ci": "./scripts/lint-ci.sh",
57
- "lint:strict": "eslint . --ext .ts,.tsx --max-warnings=0 --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
58
- "lint:errors": "eslint . --ext .ts,.tsx --format stylish --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
59
- "precommit:lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
60
- "test:watch": "vitest",
61
- "test:coverage": "vitest run --coverage",
62
- "test:a11y": "vitest run a11y.test",
63
- "a11y:contrast": "tsx scripts/a11y-contrast-check.js",
64
- "build-storybook": "storybook build",
65
- "preview": "vite preview",
66
- "prepublishOnly": "npm run clean && npm run build && npm run typecheck",
67
- "validate": "npm run typecheck && npm run lint:check && npm run format:check",
68
- "theme:create": "tsx scripts/theme-cli.ts create",
69
- "theme:validate": "tsx scripts/theme-validate.ts",
70
- "ui:check": "tsx scripts/check-ui-consistency.ts",
71
- "tokens:export": "npx tsx scripts/export-tokens.ts",
72
- "commitlint": "commitlint",
73
- "prepare": "husky",
74
- "version:patch": "./scripts/publish.sh patch",
75
- "version:minor": "./scripts/publish.sh minor",
76
- "version:major": "./scripts/publish.sh major",
77
- "publish:patch": "./scripts/publish.sh patch",
78
- "publish:minor": "./scripts/publish.sh minor",
79
- "publish:major": "./scripts/publish.sh major"
80
- },
81
41
  "peerDependencies": {
82
42
  "react": "^18 || ^19",
83
43
  "react-dom": "^18 || ^19"
@@ -114,41 +74,46 @@
114
74
  "zustand": "^5.0.0"
115
75
  },
116
76
  "devDependencies": {
77
+ "@chromatic-com/storybook": "^4.1.3",
117
78
  "@commitlint/cli": "^20.1.0",
118
79
  "@commitlint/config-conventional": "^20.0.0",
119
80
  "@eslint/eslintrc": "^3.3.1",
81
+ "@floating-ui/react-dom": "^2.1.0",
120
82
  "@semantic-release/changelog": "^6.0.3",
121
83
  "@semantic-release/commit-analyzer": "^13.0.1",
122
84
  "@semantic-release/git": "^10.0.1",
123
85
  "@semantic-release/github": "^12.0.2",
124
86
  "@semantic-release/npm": "^13.1.2",
125
87
  "@semantic-release/release-notes-generator": "^14.1.0",
126
- "@storybook/addon-a11y": "^8.0.0",
127
- "@storybook/addon-essentials": "^8.0.0",
128
- "@storybook/addon-interactions": "^8.0.0",
129
- "@storybook/addon-links": "^8.0.0",
130
- "@storybook/addon-onboarding": "^8.0.0",
131
- "@storybook/blocks": "^8.0.0",
132
- "@storybook/react": "^8.0.0",
133
- "@storybook/react-vite": "^8.0.0",
134
- "@storybook/test": "^8.0.0",
135
- "@storybook/test-runner": "^0.18.0",
88
+ "@storybook/addon-a11y": "^10.1.9",
89
+ "@storybook/addon-docs": "^10.1.9",
90
+ "@storybook/addon-links": "^10.1.9",
91
+ "@storybook/addon-onboarding": "^10.1.9",
92
+ "@storybook/react": "^10.1.9",
93
+ "@storybook/react-vite": "^10.1.9",
94
+ "@storybook/test": "^8.6.14",
95
+ "@storybook/test-runner": "^0.24.2",
136
96
  "@testing-library/jest-dom": "^6.0.0",
137
97
  "@testing-library/react": "^16.0.0",
138
98
  "@testing-library/user-event": "^14.0.0",
139
99
  "@types/node": "^20.19.25",
140
100
  "@types/react": "^19",
141
101
  "@types/react-dom": "^19",
102
+ "@typescript-eslint/types": "^8.47.0",
103
+ "@typescript-eslint/utils": "^8.47.0",
142
104
  "@vitejs/plugin-react": "^4.0.0",
143
105
  "@vitest/coverage-v8": "^4.0.15",
144
106
  "@vitest/ui": "^4.0.15",
145
107
  "autoprefixer": "^10.0.0",
108
+ "axe-core": "^4.10.0",
109
+ "chromatic": "^13.3.4",
146
110
  "conventional-changelog-conventionalcommits": "^9.1.0",
147
111
  "eslint": "^9.38.0",
148
112
  "eslint-config-prettier": "^9.1.2",
149
113
  "eslint-plugin-react": "^7.37.2",
150
114
  "eslint-plugin-react-hooks": "^5.2.0",
151
115
  "eslint-plugin-simple-import-sort": "^12.1.1",
116
+ "eslint-plugin-storybook": "10.1.9",
152
117
  "eslint-plugin-unused-imports": "^4.3.0",
153
118
  "husky": "^9.1.7",
154
119
  "jsdom": "^27.3.0",
@@ -158,7 +123,7 @@
158
123
  "prettier-plugin-tailwindcss": "^0.7.1",
159
124
  "rimraf": "^6.0.1",
160
125
  "semantic-release": "^25.0.2",
161
- "storybook": "^8.0.0",
126
+ "storybook": "^10.1.9",
162
127
  "tailwindcss": "^3.0.0",
163
128
  "tsup": "^8.5.1",
164
129
  "tsx": "^4.19.2",
@@ -190,5 +155,44 @@
190
155
  "import": "./dist/theme/index.mjs",
191
156
  "require": "./dist/theme/index.cjs"
192
157
  }
158
+ },
159
+ "scripts": {
160
+ "storybook": "storybook dev -p 6006",
161
+ "format": "prettier . --write",
162
+ "lint:fix": "./scripts/lint-local.sh",
163
+ "typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.vite.json",
164
+ "test": "vitest run",
165
+ "ci:local": "./scripts/ci-local.sh",
166
+ "test:ui": "vitest --ui",
167
+ "ci:a11y": "pnpm test:a11y && pnpm a11y:contrast",
168
+ "build": "tsup",
169
+ "dev": "vite build --watch",
170
+ "clean": "rimraf dist",
171
+ "format:check": "prettier . --check",
172
+ "lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
173
+ "lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
174
+ "lint:ci": "./scripts/lint-ci.sh",
175
+ "lint:strict": "eslint . --ext .ts,.tsx --max-warnings=0 --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
176
+ "lint:errors": "eslint . --ext .ts,.tsx --format stylish --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
177
+ "precommit:lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
178
+ "test:watch": "vitest",
179
+ "test:coverage": "vitest run --coverage",
180
+ "test:a11y": "vitest run a11y.test",
181
+ "a11y:contrast": "tsx scripts/a11y-contrast-check.js",
182
+ "build-storybook": "storybook build",
183
+ "chromatic": "./scripts/chromatic.sh",
184
+ "chromatic:ci": "CHROMATIC_CI_MODE=true ./scripts/chromatic.sh",
185
+ "preview": "vite preview",
186
+ "validate": "npm run typecheck && npm run lint:check && npm run format:check",
187
+ "theme:create": "tsx scripts/theme-cli.ts create",
188
+ "theme:validate": "tsx scripts/theme-validate.ts",
189
+ "ui:check": "tsx scripts/check-ui-consistency.ts",
190
+ "tokens:export": "npx tsx scripts/export-tokens.ts",
191
+ "commitlint": "commitlint",
192
+ "publish:patch": "./scripts/publish.sh patch",
193
+ "publish:minor": "./scripts/publish.sh minor",
194
+ "publish:major": "./scripts/publish.sh major",
195
+ "safelist:generate": "tsx scripts/generateTailwindSafelist.ts",
196
+ "verify:interaction-authority": "node scripts/verify-interaction-authority.mjs"
193
197
  }
194
- }
198
+ }