@vendure/dashboard 3.5.0-minor-202510161257 → 3.5.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.
Files changed (57) hide show
  1. package/dist/vite/types.d.ts +39 -0
  2. package/dist/vite/utils/plugin-discovery.js +15 -4
  3. package/dist/vite/vite-plugin-ui-config.d.ts +27 -0
  4. package/dist/vite/vite-plugin-vendure-dashboard.d.ts +18 -1
  5. package/dist/vite/vite-plugin-vendure-dashboard.js +19 -7
  6. package/lingui.config.js +1 -0
  7. package/package.json +172 -172
  8. package/src/app/routes/_authenticated/_collections/components/collection-contents-preview-table.tsx +88 -61
  9. package/src/app/routes/_authenticated/_collections/components/move-collections-dialog.tsx +46 -47
  10. package/src/app/routes/_authenticated/_orders/orders.tsx +2 -0
  11. package/src/app/routes/_authenticated/_product-variants/product-variants.tsx +14 -1
  12. package/src/app/routes/_authenticated/_product-variants/product-variants_.$id.tsx +12 -7
  13. package/src/app/routes/_authenticated/_products/products.tsx +13 -1
  14. package/src/app/routes/_authenticated/_shipping-methods/shipping-methods_.$id.tsx +8 -2
  15. package/src/app/routes/_authenticated/_tax-categories/tax-categories_.$id.tsx +1 -0
  16. package/src/i18n/locales/ar.po +214 -186
  17. package/src/i18n/locales/cs.po +214 -186
  18. package/src/i18n/locales/de.po +214 -186
  19. package/src/i18n/locales/en.po +214 -186
  20. package/src/i18n/locales/es.po +214 -186
  21. package/src/i18n/locales/fa.po +214 -186
  22. package/src/i18n/locales/fr.po +214 -186
  23. package/src/i18n/locales/he.po +214 -186
  24. package/src/i18n/locales/hr.po +214 -186
  25. package/src/i18n/locales/it.po +214 -186
  26. package/src/i18n/locales/ja.po +214 -186
  27. package/src/i18n/locales/nb.po +214 -186
  28. package/src/i18n/locales/ne.po +214 -186
  29. package/src/i18n/locales/pl.po +214 -186
  30. package/src/i18n/locales/pt_BR.po +214 -186
  31. package/src/i18n/locales/pt_PT.po +214 -186
  32. package/src/i18n/locales/ru.po +214 -186
  33. package/src/i18n/locales/sv.po +214 -186
  34. package/src/i18n/locales/tr.po +214 -186
  35. package/src/i18n/locales/uk.po +214 -186
  36. package/src/i18n/locales/zh_Hans.po +214 -186
  37. package/src/i18n/locales/zh_Hant.po +214 -186
  38. package/src/lib/components/data-input/{password-input.stories.tsx → password-form-input.stories.tsx} +9 -9
  39. package/src/lib/components/data-input/{password-input.tsx → password-form-input.tsx} +1 -1
  40. package/src/lib/components/data-table/data-table-pagination.tsx +4 -4
  41. package/src/lib/components/data-table/data-table.stories.tsx +1 -1
  42. package/src/lib/components/data-table/data-table.tsx +1 -1
  43. package/src/lib/components/data-table/use-generated-columns.tsx +5 -1
  44. package/src/lib/components/layout/app-layout.tsx +0 -2
  45. package/src/lib/components/shared/asset/asset-gallery.stories.tsx +1 -1
  46. package/src/lib/components/shared/asset/asset-picker-dialog.stories.tsx +1 -1
  47. package/src/lib/components/shared/detail-page-button.stories.tsx +1 -1
  48. package/src/lib/components/shared/facet-value-selector.stories.tsx +1 -1
  49. package/src/lib/components/shared/paginated-list-data-table.stories.tsx +1 -1
  50. package/src/lib/components/shared/permission-guard.stories.tsx +1 -1
  51. package/src/lib/components/shared/vendure-image.stories.tsx +1 -1
  52. package/src/lib/components/ui/password-input.tsx +3 -7
  53. package/src/lib/framework/alert/alert-item.tsx +2 -2
  54. package/src/lib/framework/extension-api/input-component-extensions.tsx +2 -2
  55. package/src/lib/hooks/use-alerts.ts +2 -2
  56. package/src/lib/index.ts +13 -8
  57. package/src/lib/components/layout/prerelease-popup.tsx +0 -34
@@ -25,6 +25,45 @@ export type TransformTsConfigPathMappingsFn = (params: {
25
25
  * @description
26
26
  * The PathAdapter interface allows customization of how paths are handled
27
27
  * when compiling the Vendure config and its imports.
28
+ *
29
+ * It enables support for more complex repository structures, such as
30
+ * monorepos, where the Vendure server configuration file may not
31
+ * be located in the root directory of the project.
32
+ *
33
+ * If you get compilation errors like "Error loading Vendure config: Cannot find module",
34
+ * you probably need to provide a custom `pathAdapter` to resolve the paths correctly.
35
+ *
36
+ * This can take some trial-and-error. Try logging values from the functions to figure out
37
+ * the exact settings that you need for your repo setup.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * vendureDashboardPlugin({
42
+ * pathAdapter: {
43
+ * getCompiledConfigPath: ({ inputRootDir, outputPath, configFileName }) => {
44
+ * const projectName = inputRootDir.split('/libs/')[1].split('/')[0];
45
+ * const pathAfterProject = inputRootDir.split(`/libs/${projectName}`)[1];
46
+ * const compiledConfigFilePath = `${outputPath}/${projectName}${pathAfterProject}`;
47
+ * return path.join(compiledConfigFilePath, configFileName);
48
+ * },
49
+ * transformTsConfigPathMappings: ({ phase, patterns }) => {
50
+ * // "loading" phase is when the compiled Vendure code is being loaded by
51
+ * // the plugin, in order to introspect the configuration of your app.
52
+ * if (phase === 'loading') {
53
+ * return patterns.map((p) =>
54
+ * p.replace('libs/', '').replace(/.ts$/, '.js'),
55
+ * );
56
+ * }
57
+ * return patterns;
58
+ * },
59
+ * },
60
+ * // ...
61
+ * }),
62
+ * ```
63
+ *
64
+ * @docsCategory vite-plugin
65
+ * @docsPage vendureDashboardPlugin
66
+ * @since 3.4.0
28
67
  */
29
68
  export interface PathAdapter {
30
69
  /**
@@ -39,6 +39,7 @@ export async function discoverPlugins({ vendureConfigPath, transformTsConfigPath
39
39
  // Walk the AST to find the plugin class and its decorator
40
40
  walkSimple(ast, {
41
41
  CallExpression(node) {
42
+ var _a;
42
43
  // Look for __decorate calls
43
44
  const calleeName = node.callee.name;
44
45
  const nodeArgs = node.arguments;
@@ -50,10 +51,20 @@ export async function discoverPlugins({ vendureConfigPath, transformTsConfigPath
50
51
  for (const decorator of decorators.elements) {
51
52
  const props = getDecoratorObjectProps(decorator);
52
53
  for (const prop of props) {
53
- const isDashboardProd = prop.key.name === 'dashboard' && prop.value.type === 'Literal';
54
- if (isDashboardProd) {
55
- dashboardPath = prop.value.value;
56
- hasVendurePlugin = true;
54
+ if (prop.key.name === 'dashboard') {
55
+ if (prop.value.type === 'Literal') {
56
+ // Handle string format: dashboard: './path/to/dashboard'
57
+ dashboardPath = prop.value.value;
58
+ hasVendurePlugin = true;
59
+ }
60
+ else if (prop.value.type === 'ObjectExpression') {
61
+ // Handle object format: dashboard: { location: './path/to/dashboard' }
62
+ const locationProp = (_a = prop.value.properties) === null || _a === void 0 ? void 0 : _a.find((p) => { var _a; return ((_a = p.key) === null || _a === void 0 ? void 0 : _a.name) === 'location'; });
63
+ if (locationProp && locationProp.value.type === 'Literal') {
64
+ dashboardPath = locationProp.value.value;
65
+ hasVendurePlugin = true;
66
+ }
67
+ }
57
68
  }
58
69
  }
59
70
  }
@@ -1,5 +1,14 @@
1
1
  import { LanguageCode } from '@vendure/core';
2
2
  import { Plugin } from 'vite';
3
+ /**
4
+ * @description
5
+ * Options used by the {@link vendureDashboardPlugin} to configure how the Dashboard
6
+ * connects to the Vendure Admin API
7
+ *
8
+ * @docsCategory vite-plugin
9
+ * @docsPage vendureDashboardPlugin
10
+ * @since 3.4.0
11
+ */
3
12
  export interface ApiConfig {
4
13
  /**
5
14
  * @description
@@ -52,6 +61,15 @@ export interface ApiConfig {
52
61
  */
53
62
  channelTokenKey?: string;
54
63
  }
64
+ /**
65
+ * @description
66
+ * Options used by the {@link vendureDashboardPlugin} to configure aspects of the
67
+ * Dashboard UI behaviour.
68
+ *
69
+ * @docsCategory vite-plugin
70
+ * @docsPage vendureDashboardPlugin
71
+ * @since 3.4.0
72
+ */
55
73
  export interface I18nConfig {
56
74
  /**
57
75
  * @description
@@ -85,6 +103,15 @@ export interface I18nConfig {
85
103
  */
86
104
  availableLocales?: string[];
87
105
  }
106
+ /**
107
+ * @description
108
+ * Options used by the {@link vendureDashboardPlugin} to configure aspects of the
109
+ * Dashboard UI behaviour.
110
+ *
111
+ * @docsCategory vite-plugin
112
+ * @docsPage vendureDashboardPlugin
113
+ * @since 3.4.0
114
+ */
88
115
  export interface UiConfigPluginOptions {
89
116
  /**
90
117
  * @description
@@ -6,6 +6,11 @@ import { UiConfigPluginOptions } from './vite-plugin-ui-config.js';
6
6
  /**
7
7
  * @description
8
8
  * Options for the {@link vendureDashboardPlugin} Vite plugin.
9
+ *
10
+ * @docsCategory vite-plugin
11
+ * @docsPage vendureDashboardPlugin
12
+ * @since 3.4.0
13
+ * @docsWeight 1
9
14
  */
10
15
  export type VitePluginVendureDashboardOptions = {
11
16
  /**
@@ -65,7 +70,6 @@ export type VitePluginVendureDashboardOptions = {
65
70
  */
66
71
  gqlOutputPath?: string;
67
72
  tempCompilationDir?: string;
68
- disableTansStackRouterPlugin?: boolean;
69
73
  /**
70
74
  * @description
71
75
  * Allows you to customize the location of node_modules & glob patterns used to scan for potential
@@ -105,6 +109,19 @@ export type VitePluginVendureDashboardOptions = {
105
109
  hmr?: boolean;
106
110
  };
107
111
  } & UiConfigPluginOptions & ThemeVariablesPluginOptions;
112
+ /**
113
+ * @description
114
+ * This is the Vite plugin which powers the Vendure Dashboard, including:
115
+ *
116
+ * - Configuring routing, styling and React support
117
+ * - Analyzing your VendureConfig file and introspecting your schema
118
+ * - Loading your custom Dashboard extensions
119
+ *
120
+ * @docsCategory vite-plugin
121
+ * @docsPage vendureDashboardPlugin
122
+ * @since 3.4.0
123
+ * @docsWeight 0
124
+ */
108
125
  export declare function vendureDashboardPlugin(options: VitePluginVendureDashboardOptions): PluginOption[];
109
126
  /**
110
127
  * Get the normalized path to the Vendure config file given either a string or URL.
@@ -14,6 +14,19 @@ import { themeVariablesPlugin } from './vite-plugin-theme.js';
14
14
  import { transformIndexHtmlPlugin } from './vite-plugin-transform-index.js';
15
15
  import { translationsPlugin } from './vite-plugin-translations.js';
16
16
  import { uiConfigPlugin } from './vite-plugin-ui-config.js';
17
+ /**
18
+ * @description
19
+ * This is the Vite plugin which powers the Vendure Dashboard, including:
20
+ *
21
+ * - Configuring routing, styling and React support
22
+ * - Analyzing your VendureConfig file and introspecting your schema
23
+ * - Loading your custom Dashboard extensions
24
+ *
25
+ * @docsCategory vite-plugin
26
+ * @docsPage vendureDashboardPlugin
27
+ * @since 3.4.0
28
+ * @docsWeight 0
29
+ */
17
30
  export function vendureDashboardPlugin(options) {
18
31
  var _a, _b;
19
32
  const tempDir = (_a = options.tempCompilationDir) !== null && _a !== void 0 ? _a : path.join(import.meta.dirname, './.vendure-dashboard-temp');
@@ -27,13 +40,12 @@ export function vendureDashboardPlugin(options) {
27
40
  const pluginMap = [
28
41
  {
29
42
  key: 'tanstackRouter',
30
- plugin: () => !options.disableTansStackRouterPlugin &&
31
- tanstackRouter({
32
- autoCodeSplitting: true,
33
- routeFileIgnorePattern: '.graphql.ts|components|hooks|utils',
34
- routesDirectory: path.join(packageRoot, 'src/app/routes'),
35
- generatedRouteTree: path.join(packageRoot, 'src/app/routeTree.gen.ts'),
36
- }),
43
+ plugin: () => tanstackRouter({
44
+ autoCodeSplitting: true,
45
+ routeFileIgnorePattern: '.graphql.ts|components|hooks|utils',
46
+ routesDirectory: path.join(packageRoot, 'src/app/routes'),
47
+ generatedRouteTree: path.join(packageRoot, 'src/app/routeTree.gen.ts'),
48
+ }),
37
49
  },
38
50
  {
39
51
  key: 'react',
package/lingui.config.js CHANGED
@@ -30,6 +30,7 @@ export default defineConfig({
30
30
  {
31
31
  path: '<rootDir>/src/i18n/locales/{locale}',
32
32
  include: ['<rootDir>/src'],
33
+ exclude: ['<rootDir>/src/**/*.stories.tsx'],
33
34
  },
34
35
  ],
35
36
  });
package/package.json CHANGED
@@ -1,176 +1,176 @@
1
1
  {
2
- "name": "@vendure/dashboard",
3
- "private": false,
4
- "version": "3.5.0-minor-202510161257",
5
- "type": "module",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/vendure-ecommerce/vendure"
9
- },
10
- "homepage": "https://www.vendure.io",
11
- "funding": "https://github.com/sponsors/michaelbromley",
12
- "publishConfig": {
13
- "access": "public"
14
- },
15
- "scripts": {
16
- "dev": "vite",
17
- "build:standalone": "vite build",
18
- "build:vite": "tsc --project tsconfig.vite.json",
19
- "build:plugin": "tsc --project tsconfig.plugin.json && node scripts/build-plugin.js",
20
- "build": "npm run build:vite && npm run build:plugin",
21
- "watch": "tsc --project tsconfig.vite.json --watch",
22
- "test": "vitest run",
23
- "lint": "eslint .",
24
- "preview": "vite preview",
25
- "generate-index": "node scripts/generate-index.js",
26
- "i18n:extract": "lingui extract && node ./scripts/translate/i18n-tool.js extract",
27
- "i18n:apply": "node ./scripts/translate/i18n-tool.js apply",
28
- "storybook": "storybook dev -p 6006",
29
- "storybook:build": "storybook build",
30
- "storybook:deploy": "npm run build --prefix ../common && npm run build --prefix ../core && npm run build:vite && storybook build"
31
- },
32
- "module": "./src/lib/index.ts",
33
- "main": "./src/lib/index.ts",
34
- "types": "./src/lib/index.d.ts",
35
- "exports": {
36
- ".": {
37
- "types": "./src/lib/index.d.ts",
38
- "import": "./src/lib/index.ts",
39
- "require": "./src/lib/index.ts"
2
+ "name": "@vendure/dashboard",
3
+ "private": false,
4
+ "version": "3.5.0",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/vendure-ecommerce/vendure"
40
9
  },
41
- "./plugin": {
42
- "types": "./dist/plugin/index.d.ts",
43
- "import": "./dist/plugin/index.js",
44
- "require": "./dist/plugin/index.js"
10
+ "homepage": "https://www.vendure.io",
11
+ "funding": "https://github.com/sponsors/michaelbromley",
12
+ "publishConfig": {
13
+ "access": "public"
45
14
  },
46
- "./vite": {
47
- "types": "./dist/vite/index.d.ts",
48
- "import": "./dist/vite/index.js",
49
- "require": "./dist/vite/index.js"
50
- }
51
- },
52
- "files": [
53
- "dist",
54
- "src",
55
- "lingui.config.js",
56
- "index.html"
57
- ],
58
- "dependencies": {
59
- "@dnd-kit/core": "^6.3.1",
60
- "@dnd-kit/modifiers": "^9.0.0",
61
- "@dnd-kit/sortable": "^10.0.0",
62
- "@hookform/resolvers": "^4.1.3",
63
- "@lingui/cli": "^5.5.0",
64
- "@lingui/core": "^5.5.0",
65
- "@lingui/react": "^5.5.0",
66
- "@lingui/swc-plugin": "^5.6.1",
67
- "@lingui/vite-plugin": "^5.5.0",
68
- "@radix-ui/react-accordion": "^1.2.11",
69
- "@radix-ui/react-alert-dialog": "^1.1.14",
70
- "@radix-ui/react-aspect-ratio": "^1.1.7",
71
- "@radix-ui/react-avatar": "^1.1.10",
72
- "@radix-ui/react-checkbox": "^1.3.2",
73
- "@radix-ui/react-collapsible": "^1.1.11",
74
- "@radix-ui/react-context-menu": "^2.2.15",
75
- "@radix-ui/react-dialog": "^1.1.14",
76
- "@radix-ui/react-dropdown-menu": "^2.1.15",
77
- "@radix-ui/react-hover-card": "^1.1.14",
78
- "@radix-ui/react-label": "^2.1.7",
79
- "@radix-ui/react-menubar": "^1.1.15",
80
- "@radix-ui/react-navigation-menu": "^1.2.13",
81
- "@radix-ui/react-popover": "^1.1.14",
82
- "@radix-ui/react-progress": "^1.1.7",
83
- "@radix-ui/react-radio-group": "^1.3.7",
84
- "@radix-ui/react-scroll-area": "^1.2.9",
85
- "@radix-ui/react-select": "^2.2.5",
86
- "@radix-ui/react-separator": "^1.1.7",
87
- "@radix-ui/react-slider": "^1.3.5",
88
- "@radix-ui/react-slot": "^1.2.3",
89
- "@radix-ui/react-switch": "^1.2.5",
90
- "@radix-ui/react-tabs": "^1.1.12",
91
- "@radix-ui/react-toggle": "^1.1.9",
92
- "@radix-ui/react-toggle-group": "^1.1.10",
93
- "@radix-ui/react-tooltip": "^1.2.7",
94
- "@tailwindcss/vite": "^4.1.5",
95
- "@tanstack/eslint-plugin-query": "^5.66.1",
96
- "@tanstack/react-query": "^5.66.7",
97
- "@tanstack/react-query-devtools": "^5.68.0",
98
- "@tanstack/react-router": "^1.105.0",
99
- "@tanstack/react-table": "^8.21.2",
100
- "@tanstack/router-devtools": "^1.105.0",
101
- "@tanstack/router-plugin": "^1.105.0",
102
- "@tiptap/extension-floating-menu": "^3.4.4",
103
- "@tiptap/extension-image": "^3.4.4",
104
- "@tiptap/extension-table": "^3.4.4",
105
- "@tiptap/extension-text-style": "^3.4.4",
106
- "@tiptap/pm": "^3.4.4",
107
- "@tiptap/react": "^3.4.4",
108
- "@tiptap/starter-kit": "^3.4.4",
109
- "@types/react": "^19.0.10",
110
- "@types/react-dom": "^19.0.4",
111
- "@uidotdev/usehooks": "^2.4.1",
112
- "@vitejs/plugin-react": "^5.0.4",
113
- "@vitejs/plugin-react-swc": "^4.1.0",
114
- "acorn": "^8.11.3",
115
- "acorn-walk": "^8.3.2",
116
- "awesome-graphql-client": "^2.1.0",
117
- "class-variance-authority": "^0.7.1",
118
- "clsx": "^2.1.1",
119
- "cmdk": "^1.1.1",
120
- "date-fns": "^4.0.0",
121
- "embla-carousel-react": "^8.6.0",
122
- "express-rate-limit": "^7.5.0",
123
- "fast-glob": "^3.3.2",
124
- "fs-extra": "^11.2.0",
125
- "gql.tada": "^1.8.13",
126
- "graphql": "^16.11.0",
127
- "input-otp": "^1.4.2",
128
- "json-edit-react": "^1.23.1",
129
- "lucide-react": "^0.475.0",
130
- "motion": "^12.6.2",
131
- "next-themes": "^0.4.6",
132
- "react": "^19.0.0",
133
- "react-day-picker": "^9.8.0",
134
- "react-dom": "^19.0.0",
135
- "react-dropzone": "^14.3.8",
136
- "react-hook-form": "^7.60.0",
137
- "react-resizable-panels": "^3.0.3",
138
- "recharts": "^2.15.4",
139
- "sonner": "^2.0.6",
140
- "strip-json-comments": "^5.0.3",
141
- "tailwind-merge": "^3.2.0",
142
- "tailwindcss": "^4.1.5",
143
- "tailwindcss-animate": "^1.0.7",
144
- "tsconfig-paths": "^4.2.0",
145
- "tw-animate-css": "^1.2.9",
146
- "vaul": "^1.1.2",
147
- "vite": "^6.3.6",
148
- "zod": "^3.25.76"
149
- },
150
- "devDependencies": {
151
- "@eslint/js": "^9.19.0",
152
- "@storybook/addon-a11y": "^10.0.0-beta.9",
153
- "@storybook/addon-docs": "^10.0.0-beta.9",
154
- "@storybook/addon-vitest": "^10.0.0-beta.9",
155
- "@storybook/react-vite": "^10.0.0-beta.9",
156
- "@types/node": "^22.13.4",
157
- "@vendure/common": "^3.5.0-minor-202510161257",
158
- "@vendure/core": "^3.5.0-minor-202510161257",
159
- "@vitest/browser": "^3.2.4",
160
- "@vitest/coverage-v8": "^3.2.4",
161
- "eslint": "^9.19.0",
162
- "eslint-plugin-react": "^7.37.4",
163
- "eslint-plugin-react-hooks": "^5.0.0",
164
- "eslint-plugin-react-refresh": "^0.4.18",
165
- "eslint-plugin-storybook": "^10.0.0-beta.9",
166
- "globals": "^15.14.0",
167
- "playwright": "^1.55.1",
168
- "storybook": "^10.0.0-beta.9",
169
- "vite-plugin-dts": "^4.5.4"
170
- },
171
- "optionalDependencies": {
172
- "lightningcss-linux-arm64-musl": "^1.29.3",
173
- "lightningcss-linux-x64-musl": "^1.29.1"
174
- },
175
- "gitHead": "7567509a55b94070b741cf44e432533a12233369"
15
+ "scripts": {
16
+ "dev": "vite",
17
+ "build:standalone": "vite build",
18
+ "build:vite": "tsc --project tsconfig.vite.json",
19
+ "build:plugin": "tsc --project tsconfig.plugin.json && node scripts/build-plugin.js",
20
+ "build": "npm run build:vite && npm run build:plugin",
21
+ "watch": "tsc --project tsconfig.vite.json --watch",
22
+ "test": "vitest run",
23
+ "lint": "eslint .",
24
+ "preview": "vite preview",
25
+ "generate-index": "node scripts/generate-index.js",
26
+ "i18n:extract": "lingui extract && node ./scripts/translate/i18n-tool.js extract",
27
+ "i18n:apply": "node ./scripts/translate/i18n-tool.js apply",
28
+ "storybook": "storybook dev -p 6006",
29
+ "storybook:build": "storybook build",
30
+ "storybook:deploy": "npm run build --prefix ../common && npm run build --prefix ../core && npm run build:vite && storybook build"
31
+ },
32
+ "module": "./src/lib/index.ts",
33
+ "main": "./src/lib/index.ts",
34
+ "types": "./src/lib/index.d.ts",
35
+ "exports": {
36
+ ".": {
37
+ "types": "./src/lib/index.d.ts",
38
+ "import": "./src/lib/index.ts",
39
+ "require": "./src/lib/index.ts"
40
+ },
41
+ "./plugin": {
42
+ "types": "./dist/plugin/index.d.ts",
43
+ "import": "./dist/plugin/index.js",
44
+ "require": "./dist/plugin/index.js"
45
+ },
46
+ "./vite": {
47
+ "types": "./dist/vite/index.d.ts",
48
+ "import": "./dist/vite/index.js",
49
+ "require": "./dist/vite/index.js"
50
+ }
51
+ },
52
+ "files": [
53
+ "dist",
54
+ "src",
55
+ "lingui.config.js",
56
+ "index.html"
57
+ ],
58
+ "dependencies": {
59
+ "@dnd-kit/core": "^6.3.1",
60
+ "@dnd-kit/modifiers": "^9.0.0",
61
+ "@dnd-kit/sortable": "^10.0.0",
62
+ "@hookform/resolvers": "^4.1.3",
63
+ "@lingui/cli": "^5.5.0",
64
+ "@lingui/core": "^5.5.0",
65
+ "@lingui/react": "^5.5.0",
66
+ "@lingui/swc-plugin": "^5.6.1",
67
+ "@lingui/vite-plugin": "^5.5.0",
68
+ "@radix-ui/react-accordion": "^1.2.11",
69
+ "@radix-ui/react-alert-dialog": "^1.1.14",
70
+ "@radix-ui/react-aspect-ratio": "^1.1.7",
71
+ "@radix-ui/react-avatar": "^1.1.10",
72
+ "@radix-ui/react-checkbox": "^1.3.2",
73
+ "@radix-ui/react-collapsible": "^1.1.11",
74
+ "@radix-ui/react-context-menu": "^2.2.15",
75
+ "@radix-ui/react-dialog": "^1.1.14",
76
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
77
+ "@radix-ui/react-hover-card": "^1.1.14",
78
+ "@radix-ui/react-label": "^2.1.7",
79
+ "@radix-ui/react-menubar": "^1.1.15",
80
+ "@radix-ui/react-navigation-menu": "^1.2.13",
81
+ "@radix-ui/react-popover": "^1.1.14",
82
+ "@radix-ui/react-progress": "^1.1.7",
83
+ "@radix-ui/react-radio-group": "^1.3.7",
84
+ "@radix-ui/react-scroll-area": "^1.2.9",
85
+ "@radix-ui/react-select": "^2.2.5",
86
+ "@radix-ui/react-separator": "^1.1.7",
87
+ "@radix-ui/react-slider": "^1.3.5",
88
+ "@radix-ui/react-slot": "^1.2.3",
89
+ "@radix-ui/react-switch": "^1.2.5",
90
+ "@radix-ui/react-tabs": "^1.1.12",
91
+ "@radix-ui/react-toggle": "^1.1.9",
92
+ "@radix-ui/react-toggle-group": "^1.1.10",
93
+ "@radix-ui/react-tooltip": "^1.2.7",
94
+ "@tailwindcss/vite": "^4.1.5",
95
+ "@tanstack/eslint-plugin-query": "^5.66.1",
96
+ "@tanstack/react-query": "^5.66.7",
97
+ "@tanstack/react-query-devtools": "^5.68.0",
98
+ "@tanstack/react-router": "^1.105.0",
99
+ "@tanstack/react-table": "^8.21.2",
100
+ "@tanstack/router-devtools": "^1.105.0",
101
+ "@tanstack/router-plugin": "^1.105.0",
102
+ "@tiptap/extension-floating-menu": "^3.4.4",
103
+ "@tiptap/extension-image": "^3.4.4",
104
+ "@tiptap/extension-table": "^3.4.4",
105
+ "@tiptap/extension-text-style": "^3.4.4",
106
+ "@tiptap/pm": "^3.4.4",
107
+ "@tiptap/react": "^3.4.4",
108
+ "@tiptap/starter-kit": "^3.4.4",
109
+ "@types/react": "^19.0.10",
110
+ "@types/react-dom": "^19.0.4",
111
+ "@uidotdev/usehooks": "^2.4.1",
112
+ "@vitejs/plugin-react": "^5.0.4",
113
+ "@vitejs/plugin-react-swc": "^4.1.0",
114
+ "acorn": "^8.11.3",
115
+ "acorn-walk": "^8.3.2",
116
+ "awesome-graphql-client": "^2.1.0",
117
+ "class-variance-authority": "^0.7.1",
118
+ "clsx": "^2.1.1",
119
+ "cmdk": "^1.1.1",
120
+ "date-fns": "^4.0.0",
121
+ "embla-carousel-react": "^8.6.0",
122
+ "express-rate-limit": "^7.5.0",
123
+ "fast-glob": "^3.3.2",
124
+ "fs-extra": "^11.2.0",
125
+ "gql.tada": "^1.8.13",
126
+ "graphql": "^16.11.0",
127
+ "input-otp": "^1.4.2",
128
+ "json-edit-react": "^1.23.1",
129
+ "lucide-react": "^0.475.0",
130
+ "motion": "^12.6.2",
131
+ "next-themes": "^0.4.6",
132
+ "react": "^19.0.0",
133
+ "react-day-picker": "^9.8.0",
134
+ "react-dom": "^19.0.0",
135
+ "react-dropzone": "^14.3.8",
136
+ "react-hook-form": "^7.60.0",
137
+ "react-resizable-panels": "^3.0.3",
138
+ "recharts": "^2.15.4",
139
+ "sonner": "^2.0.6",
140
+ "strip-json-comments": "^5.0.3",
141
+ "tailwind-merge": "^3.2.0",
142
+ "tailwindcss": "^4.1.5",
143
+ "tailwindcss-animate": "^1.0.7",
144
+ "tsconfig-paths": "^4.2.0",
145
+ "tw-animate-css": "^1.2.9",
146
+ "vaul": "^1.1.2",
147
+ "vite": "^6.3.6",
148
+ "zod": "^3.25.76"
149
+ },
150
+ "devDependencies": {
151
+ "@eslint/js": "^9.19.0",
152
+ "@storybook/addon-a11y": "^10.0.0-beta.9",
153
+ "@storybook/addon-docs": "^10.0.0-beta.9",
154
+ "@storybook/addon-vitest": "^10.0.0-beta.9",
155
+ "@storybook/react-vite": "^10.0.0-beta.9",
156
+ "@types/node": "^22.13.4",
157
+ "@vendure/common": "3.5.0",
158
+ "@vendure/core": "3.5.0",
159
+ "@vitest/browser": "^3.2.4",
160
+ "@vitest/coverage-v8": "^3.2.4",
161
+ "eslint": "^9.19.0",
162
+ "eslint-plugin-react": "^7.37.4",
163
+ "eslint-plugin-react-hooks": "^5.0.0",
164
+ "eslint-plugin-react-refresh": "^0.4.18",
165
+ "eslint-plugin-storybook": "^10.0.0-beta.9",
166
+ "globals": "^15.14.0",
167
+ "playwright": "^1.55.1",
168
+ "storybook": "^10.0.0-beta.9",
169
+ "vite-plugin-dts": "^4.5.4"
170
+ },
171
+ "optionalDependencies": {
172
+ "lightningcss-linux-arm64-musl": "^1.29.3",
173
+ "lightningcss-linux-x64-musl": "^1.29.1"
174
+ },
175
+ "gitHead": "534e6003534f74761e82de1b8c6061cba89945d1"
176
176
  }