@douglasneuroinformatics/libui 1.5.0 → 2.0.0-beta.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@douglasneuroinformatics/libui",
3
3
  "type": "module",
4
- "version": "1.5.0",
4
+ "version": "2.0.0-beta.2",
5
5
  "packageManager": "pnpm@8.15.3",
6
6
  "description": "Generic UI components for DNP projects, built using React and TailwindCSS",
7
7
  "author": {
@@ -41,36 +41,32 @@
41
41
  "import": "./dist/utils.js"
42
42
  }
43
43
  },
44
- "main": "index.js",
45
44
  "files": [
46
45
  "dist",
47
46
  "tailwind.config.cjs",
48
47
  "tailwind.config.d.cts"
49
48
  ],
50
- "scripts": {
51
- "build": "tsup && cp -r src/styles dist",
52
- "format": "prettier --write src",
53
- "lint": "tsc && eslint --fix src",
54
- "prepare": "husky",
55
- "storybook": "storybook dev --no-open -p 6006",
56
- "storybook:build": "storybook build",
57
- "test": "vitest",
58
- "test:coverage": "vitest --coverage"
59
- },
60
49
  "peerDependencies": {
61
50
  "react": "^18.2.0",
62
- "react-dom": "^18.2.0",
63
- "tailwindcss": "^3.3.5"
51
+ "react-dom": "^18.2.0"
64
52
  },
65
53
  "dependencies": {
66
54
  "@douglasneuroinformatics/libjs": "^0.0.3",
67
- "@douglasneuroinformatics/libui-form-types": "^0.0.1",
55
+ "@douglasneuroinformatics/libui-form-types": "^0.6.0",
56
+ "@heroicons/react": "^2.1.1",
68
57
  "@radix-ui/react-accordion": "^1.1.2",
58
+ "@radix-ui/react-alert-dialog": "^1.0.5",
69
59
  "@radix-ui/react-avatar": "^1.0.4",
70
60
  "@radix-ui/react-checkbox": "^1.0.4",
61
+ "@radix-ui/react-collapsible": "^1.0.3",
62
+ "@radix-ui/react-context-menu": "^2.1.5",
63
+ "@radix-ui/react-dialog": "^1.0.5",
71
64
  "@radix-ui/react-dropdown-menu": "^2.0.6",
65
+ "@radix-ui/react-hover-card": "^1.0.7",
72
66
  "@radix-ui/react-label": "^2.0.2",
67
+ "@radix-ui/react-menubar": "^1.0.4",
73
68
  "@radix-ui/react-popover": "^1.0.7",
69
+ "@radix-ui/react-progress": "^1.0.3",
74
70
  "@radix-ui/react-radio-group": "^1.1.3",
75
71
  "@radix-ui/react-scroll-area": "^1.0.5",
76
72
  "@radix-ui/react-select": "^2.0.0",
@@ -80,62 +76,80 @@
80
76
  "@radix-ui/react-switch": "^1.0.3",
81
77
  "@radix-ui/react-tabs": "^1.0.4",
82
78
  "@radix-ui/react-tooltip": "^1.0.7",
79
+ "@tailwindcss/container-queries": "^0.1.1",
83
80
  "class-variance-authority": "^0.7.0",
84
81
  "clsx": "^2.1.0",
85
- "framer-motion": "^11.0.13",
82
+ "cmdk": "^1.0.0",
83
+ "framer-motion": "^11.0.14",
86
84
  "i18next": "23.x",
87
85
  "i18next-browser-languagedetector": "^7.2.0",
88
86
  "lodash-es": "^4.17.21",
89
- "lucide-react": "^0.358.0",
87
+ "lucide-react": "^0.359.0",
88
+ "react-error-boundary": "^4.0.13",
90
89
  "react-i18next": "^14.1.0",
91
- "tailwind-merge": "^2.2.1",
90
+ "react-resizable-panels": "^2.0.13",
91
+ "recharts": "^2.12.3",
92
+ "tailwind-merge": "^2.2.2",
92
93
  "tailwindcss-animate": "^1.0.7",
93
94
  "ts-pattern": "^5.0.8",
94
95
  "type-fest": "^4.12.0",
96
+ "vaul": "^0.9.0",
95
97
  "zod": "^3.22.4",
96
98
  "zustand": "^4.5.2"
97
99
  },
98
100
  "devDependencies": {
99
- "@commitlint/cli": "^19.1.0",
101
+ "@commitlint/cli": "^19.2.0",
100
102
  "@commitlint/config-conventional": "^19.1.0",
101
103
  "@commitlint/types": "^19.0.3",
102
- "@douglasneuroinformatics/eslint-config": "^4.1.1",
104
+ "@douglasneuroinformatics/eslint-config": "^4.1.3",
103
105
  "@semantic-release/changelog": "^6.0.3",
104
106
  "@semantic-release/git": "^10.0.1",
105
- "@semantic-release/npm": "^11.0.3",
106
- "@storybook/addon-essentials": "^8.0.0",
107
- "@storybook/addon-interactions": "^8.0.0",
108
- "@storybook/addon-links": "^8.0.0",
109
- "@storybook/blocks": "^8.0.0",
110
- "@storybook/components": "^8.0.0",
107
+ "@semantic-release/npm": "^12.0.0",
108
+ "@storybook/addon-essentials": "^8.0.1",
109
+ "@storybook/addon-interactions": "^8.0.1",
110
+ "@storybook/addon-links": "^8.0.1",
111
+ "@storybook/blocks": "^8.0.1",
112
+ "@storybook/components": "^8.0.1",
111
113
  "@storybook/icons": "^1.2.9",
112
- "@storybook/manager-api": "^8.0.0",
113
- "@storybook/react": "^8.0.0",
114
- "@storybook/react-vite": "^8.0.0",
115
- "@storybook/theming": "^8.0.0",
114
+ "@storybook/manager-api": "^8.0.1",
115
+ "@storybook/react": "^8.0.1",
116
+ "@storybook/react-vite": "^8.0.1",
117
+ "@storybook/theming": "^8.0.1",
116
118
  "@testing-library/jest-dom": "^6.4.2",
117
119
  "@testing-library/react": "14.2.1",
118
120
  "@testing-library/user-event": "^14.5.2",
119
121
  "@types/lodash-es": "^4.17.12",
120
- "@types/node": "^20.11.27",
121
- "@types/react": "^18.2.65",
122
+ "@types/node": "^20.11.29",
123
+ "@types/react": "^18.2.67",
122
124
  "@types/react-dom": "^18.2.22",
123
125
  "@vitejs/plugin-react-swc": "^3.6.0",
124
- "@vitest/coverage-v8": "^1.3.1",
126
+ "@vitest/coverage-v8": "^1.4.0",
125
127
  "autoprefixer": "^10.4.18",
126
128
  "eslint": "^8.57.0",
127
- "happy-dom": "^13.8.2",
129
+ "happy-dom": "^13.10.1",
128
130
  "husky": "^9.0.11",
129
131
  "jsdom": "24.0.0",
130
- "postcss": "^8.4.35",
132
+ "postcss": "^8.4.36",
131
133
  "prettier": "^3.2.5",
132
134
  "prettier-plugin-tailwindcss": "^0.5.12",
133
- "semantic-release": "^23.0.2",
134
- "storybook": "^8.0.0",
135
- "storybook-react-i18next": "^2.1.1",
135
+ "semantic-release": "^23.0.5",
136
+ "sort-json": "^2.0.1",
137
+ "storybook": "^8.0.1",
138
+ "storybook-react-i18next": "^3.0.1",
139
+ "tailwindcss": "^3.4.1",
136
140
  "tsup": "^8.0.2",
137
141
  "typescript": "~5.3.3",
138
142
  "vite": "5.1.6",
139
- "vitest": "^1.3.1"
143
+ "vitest": "^1.4.0"
144
+ },
145
+ "scripts": {
146
+ "build": "tsup && cp -r src/styles dist",
147
+ "format": "prettier --write src",
148
+ "format:translations": "find src/translations -name '*.json' -exec pnpm exec sort-json {} \\;",
149
+ "lint": "tsc && eslint --fix src",
150
+ "storybook": "storybook dev --no-open -p 6006",
151
+ "storybook:build": "storybook build",
152
+ "test": "vitest",
153
+ "test:coverage": "vitest --coverage"
140
154
  }
141
- }
155
+ }
@@ -4,6 +4,7 @@ const fs = require('fs');
4
4
  const path = require('path');
5
5
 
6
6
  const animate = require('tailwindcss-animate');
7
+ const containerQueries = require('@tailwindcss/container-queries');
7
8
  const plugin = require('tailwindcss/plugin');
8
9
 
9
10
  const isDev = fs.existsSync(path.resolve(__dirname, 'src'));
@@ -14,6 +15,7 @@ module.exports = {
14
15
  darkMode: ['class', '[data-mode="dark"]'],
15
16
  plugins: [
16
17
  animate,
18
+ containerQueries,
17
19
  plugin(({ addUtilities }) => {
18
20
  addUtilities({
19
21
  '.scrollbar-none': {