quantum-component-library 1.4.46-qa → 1.4.47-dev.1

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/README.md CHANGED
@@ -1,115 +1,115 @@
1
- # Quantum Component Library
2
-
3
- A modular React component library built with TypeScript and Vite, featuring code splitting for optimal bundle sizes.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install quantum-component-library
9
- ```
10
-
11
- ## Usage
12
-
13
- ### Full Library Import (Default)
14
-
15
- ```typescript
16
- // Import everything (not recommended for production)
17
- import * from 'quantum-component-library';
18
- ```
19
-
20
- ### Modular Imports (Recommended)
21
-
22
- The library is split into several modules for optimal tree-shaking and bundle sizes:
23
-
24
- #### Components
25
- ```typescript
26
- // Import only UI components
27
- import { UpsertActivityForm, ParameterEditList } from 'quantum-component-library/components';
28
- ```
29
-
30
- #### Hooks
31
- ```typescript
32
- // Import only custom hooks
33
- import { useGraphqlClient, useJointsForLimbIds } from 'quantum-component-library/hooks';
34
- ```
35
-
36
- #### Types
37
- ```typescript
38
- // Import only type definitions
39
- import type { Activity, Analysis, Human } from 'quantum-component-library/types';
40
- ```
41
-
42
- #### Authentication
43
- ```typescript
44
- // Import only auth utilities
45
- import { useAuthContext, useIsAuthenticated } from 'quantum-component-library/auth';
46
- ```
47
-
48
- #### GraphQL
49
- ```typescript
50
- // Import only GraphQL fragments and operations
51
- import { ActivityFragment, SessionQueries } from 'quantum-component-library/graphql';
52
- ```
53
-
54
- #### Generated GraphQL Code
55
- ```typescript
56
- // Import only generated GraphQL types and utilities
57
- import { FragmentMasking, gql } from 'quantum-component-library/generated';
58
- ```
59
-
60
- #### Utilities
61
- ```typescript
62
- // Import only utility functions
63
- import { convertUnits, memoizeWithExpiry } from 'quantum-component-library/utils';
64
- ```
65
-
66
- #### Services
67
- ```typescript
68
- // Import only service functions
69
- import { humanService } from 'quantum-component-library/services';
70
- ```
71
-
72
- ## Code Splitting Benefits
73
-
74
- - **Reduced Bundle Size**: Import only what you need
75
- - **Better Tree Shaking**: Webpack and other bundlers can eliminate unused code more effectively
76
- - **Faster Loading**: Smaller initial bundles load faster
77
- - **Better Caching**: Changes to one module don't invalidate others
78
-
79
- ## Build Configuration
80
-
81
- This library uses Vite with multiple entry points and manual chunk splitting:
82
-
83
- - **Multiple Entry Points**: Each module has its own entry point for granular imports
84
- - **Manual Chunk Splitting**: Vendor dependencies are split into logical chunks (UI, GraphQL, React, etc.)
85
- - **Automatic Type Generation**: TypeScript definitions are generated for all entry points
86
-
87
- ### Available Modules
88
-
89
- | Module | Entry Point | Description |
90
- |--------|-------------|-------------|
91
- | `components` | `src/components/index.ts` | UI components |
92
- | `hooks` | `src/lib/hooks/index.ts` | Custom React hooks |
93
- | `types` | `src/lib/types/index.ts` | TypeScript type definitions |
94
- | `auth` | `src/lib/auth/index.ts` | Authentication utilities |
95
- | `graphql` | `src/graphql/index.ts` | GraphQL fragments and operations |
96
- | `generated` | `src/generated/index.ts` | Generated GraphQL code |
97
- | `utils` | `src/lib/utils/index.ts` | Utility functions |
98
- | `services` | `src/lib/services/index.ts` | Service functions |
99
-
100
- ## Development
101
-
102
- ```bash
103
- # Install dependencies
104
- npm install
105
-
106
- # Start development server
107
- npm run dev
108
-
109
- # Build the library
110
- npm run build
111
-
112
- # Build for specific environments
113
- npm run build:admin-prod
114
- npm run build:client-qa
115
- ```
1
+ # Quantum Component Library
2
+
3
+ A modular React component library built with TypeScript and Vite, featuring code splitting for optimal bundle sizes.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install quantum-component-library
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ### Full Library Import (Default)
14
+
15
+ ```typescript
16
+ // Import everything (not recommended for production)
17
+ import * from 'quantum-component-library';
18
+ ```
19
+
20
+ ### Modular Imports (Recommended)
21
+
22
+ The library is split into several modules for optimal tree-shaking and bundle sizes:
23
+
24
+ #### Components
25
+ ```typescript
26
+ // Import only UI components
27
+ import { UpsertActivityForm, ParameterEditList } from 'quantum-component-library/components';
28
+ ```
29
+
30
+ #### Hooks
31
+ ```typescript
32
+ // Import only custom hooks
33
+ import { useGraphqlClient, useJointsForLimbIds } from 'quantum-component-library/hooks';
34
+ ```
35
+
36
+ #### Types
37
+ ```typescript
38
+ // Import only type definitions
39
+ import type { Activity, Analysis, Human } from 'quantum-component-library/types';
40
+ ```
41
+
42
+ #### Authentication
43
+ ```typescript
44
+ // Import only auth utilities
45
+ import { useAuthContext, useIsAuthenticated } from 'quantum-component-library/auth';
46
+ ```
47
+
48
+ #### GraphQL
49
+ ```typescript
50
+ // Import only GraphQL fragments and operations
51
+ import { ActivityFragment, SessionQueries } from 'quantum-component-library/graphql';
52
+ ```
53
+
54
+ #### Generated GraphQL Code
55
+ ```typescript
56
+ // Import only generated GraphQL types and utilities
57
+ import { FragmentMasking, gql } from 'quantum-component-library/generated';
58
+ ```
59
+
60
+ #### Utilities
61
+ ```typescript
62
+ // Import only utility functions
63
+ import { convertUnits, memoizeWithExpiry } from 'quantum-component-library/utils';
64
+ ```
65
+
66
+ #### Services
67
+ ```typescript
68
+ // Import only service functions
69
+ import { humanService } from 'quantum-component-library/services';
70
+ ```
71
+
72
+ ## Code Splitting Benefits
73
+
74
+ - **Reduced Bundle Size**: Import only what you need
75
+ - **Better Tree Shaking**: Webpack and other bundlers can eliminate unused code more effectively
76
+ - **Faster Loading**: Smaller initial bundles load faster
77
+ - **Better Caching**: Changes to one module don't invalidate others
78
+
79
+ ## Build Configuration
80
+
81
+ This library uses Vite with multiple entry points and manual chunk splitting:
82
+
83
+ - **Multiple Entry Points**: Each module has its own entry point for granular imports
84
+ - **Manual Chunk Splitting**: Vendor dependencies are split into logical chunks (UI, GraphQL, React, etc.)
85
+ - **Automatic Type Generation**: TypeScript definitions are generated for all entry points
86
+
87
+ ### Available Modules
88
+
89
+ | Module | Entry Point | Description |
90
+ |--------|-------------|-------------|
91
+ | `components` | `src/components/index.ts` | UI components |
92
+ | `hooks` | `src/lib/hooks/index.ts` | Custom React hooks |
93
+ | `types` | `src/lib/types/index.ts` | TypeScript type definitions |
94
+ | `auth` | `src/lib/auth/index.ts` | Authentication utilities |
95
+ | `graphql` | `src/graphql/index.ts` | GraphQL fragments and operations |
96
+ | `generated` | `src/generated/index.ts` | Generated GraphQL code |
97
+ | `utils` | `src/lib/utils/index.ts` | Utility functions |
98
+ | `services` | `src/lib/services/index.ts` | Service functions |
99
+
100
+ ## Development
101
+
102
+ ```bash
103
+ # Install dependencies
104
+ npm install
105
+
106
+ # Start development server
107
+ npm run dev
108
+
109
+ # Build the library
110
+ npm run build
111
+
112
+ # Build for specific environments
113
+ npm run build:admin-prod
114
+ npm run build:client-qa
115
+ ```
@@ -1,226 +1,226 @@
1
- declare const _default: {
2
- "LeftAnkle": {
3
- "sagittal": {
4
- "__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
5
- "min": -20,
6
- "max": 30
7
- },
8
- "frontal": {
9
- "__COMMENT__": "-Inversion, +Eversion",
10
- "min": -30,
11
- "max": 20
12
- },
13
- "transverse": {
14
- "__COMMENT__": "-Pronation, +Supination",
15
- "min": -10,
16
- "max": 10
17
- }
18
- },
19
- "RightAnkle": {
20
- "sagittal": {
21
- "__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
22
- "min": -20,
23
- "max": 30
24
- },
25
- "frontal": {
26
- "__COMMENT__": "-Inversion, +Eversion",
27
- "min": -30,
28
- "max": 20
29
- },
30
- "transverse": {
31
- "__COMMENT__": "-Pronation, +Supination",
32
- "min": -10,
33
- "max": 10
34
- }
35
- },
36
- "LeftKnee": {
37
- "sagittal": {
38
- "__COMMENT__": "-Extension, +Flexion",
39
- "min": -5,
40
- "max": 142
41
- },
42
- "frontal": {
43
- "__COMMENT__": "N/A",
44
- "min": 0,
45
- "max": 0
46
- },
47
- "transverse": {
48
- "__COMMENT__": "N/A",
49
- "min": 0,
50
- "max": 0
51
- }
52
- },
53
- "RightKnee": {
54
- "sagittal": {
55
- "__COMMENT__": "-Extension, +Flexion",
56
- "min": -5,
57
- "max": 142
58
- },
59
- "frontal": {
60
- "__COMMENT__": "N/A",
61
- "min": 0,
62
- "max": 0
63
- },
64
- "transverse": {
65
- "__COMMENT__": "N/A",
66
- "min": 0,
67
- "max": 0
68
- }
69
- },
70
- "LeftHip": {
71
- "sagittal": {
72
- "__COMMENT__": "-Extension, +Flexion",
73
- "min": -18,
74
- "max": 134
75
- },
76
- "frontal": {
77
- "__COMMENT__": "-Adduction, +Abduction",
78
- "min": -20,
79
- "max": 40
80
- },
81
- "transverse": {
82
- "__COMMENT__": "-Internal Rotation, +External Rotation",
83
- "min": -40,
84
- "max": 50
85
- }
86
- },
87
- "RightHip": {
88
- "sagittal": {
89
- "__COMMENT__": "-Extension, +Flexion",
90
- "min": -18,
91
- "max": 134
92
- },
93
- "frontal": {
94
- "__COMMENT__": "-Adduction, +Abduction",
95
- "min": -20,
96
- "max": 40
97
- },
98
- "transverse": {
99
- "__COMMENT__": "-Internal Rotation, +External Rotation",
100
- "min": -40,
101
- "max": 50
102
- }
103
- },
104
- "NavalSpine": {
105
- "sagittal": {
106
- "__COMMENT__": "-Extension, +Flexion",
107
- "min": -75,
108
- "max": 60
109
- },
110
- "frontal": {
111
- "__COMMENT__": "-Bend Right, +Bend Left",
112
- "min": -45,
113
- "max": 45
114
- },
115
- "transverse": {
116
- "__COMMENT__": "-Twist Right, +Twist Left",
117
- "min": -80,
118
- "max": 80
119
- }
120
- },
121
- "ChestSpine": {
122
- "sagittal": {
123
- "__COMMENT__": "-Extension, +Flexion",
124
- "min": -25,
125
- "max": 50
126
- },
127
- "frontal": {
128
- "__COMMENT__": "-Bend Right, +Bend Left",
129
- "min": -25,
130
- "max": 25
131
- },
132
- "transverse": {
133
- "__COMMENT__": "-Twist Right, +Twist Left",
134
- "min": -30,
135
- "max": 30
136
- }
137
- },
138
- "TotalSpine": {
139
- "__COMMENT__": "This is the sum of the ChestSpine and NavalSpine",
140
- "sagittal": {
141
- "__COMMENT__": "-Extension, +Flexion",
142
- "min": -100,
143
- "max": 110
144
- },
145
- "frontal": {
146
- "__COMMENT__": "-Bend Right, +Bend Left",
147
- "min": -70,
148
- "max": 70
149
- },
150
- "transverse": {
151
- "__COMMENT__": "-Twist Right, +Twist Left",
152
- "min": -110,
153
- "max": 110
154
- }
155
- },
156
- "LeftShoulder": {
157
- "sagittal": {
158
- "__COMMENT__": "-Extension, +Flexion",
159
- "min": -50,
160
- "max": 180
161
- },
162
- "frontal": {
163
- "__COMMENT__": "-Adduction, +Abduction",
164
- "min": -50,
165
- "max": 180
166
- },
167
- "transverse": {
168
- "__COMMENT__": "-Internal Rotation, +External Rotation",
169
- "min": -90,
170
- "max": 90
171
- }
172
- },
173
- "RightShoulder": {
174
- "sagittal": {
175
- "__COMMENT__": "-Extension, +Flexion",
176
- "min": -50,
177
- "max": 180
178
- },
179
- "frontal": {
180
- "__COMMENT__": "-Adduction, +Abduction",
181
- "min": -50,
182
- "max": 180
183
- },
184
- "transverse": {
185
- "__COMMENT__": "-Internal Rotation, +External Rotation",
186
- "min": -90,
187
- "max": 90
188
- }
189
- },
190
- "LeftElbow": {
191
- "sagittal": {
192
- "__COMMENT__": "-Extension, +Flexion",
193
- "min": 0,
194
- "max": 140
195
- },
196
- "frontal": {
197
- "__COMMENT__": "N/A",
198
- "min": 0,
199
- "max": 0
200
- },
201
- "transverse": {
202
- "__COMMENT__": "-Pronation/+Supination (of forearm)",
203
- "min": -80,
204
- "max": 80
205
- }
206
- },
207
- "RightElbow": {
208
- "sagittal": {
209
- "__COMMENT__": "-Extension, +Flexion",
210
- "min": 0,
211
- "max": 140
212
- },
213
- "frontal": {
214
- "__COMMENT__": "N/A",
215
- "min": 0,
216
- "max": 0
217
- },
218
- "transverse": {
219
- "__COMMENT__": "-Pronation/+Supination (of forearm)",
220
- "min": -80,
221
- "max": 80
222
- }
223
- }
1
+ declare const _default: {
2
+ "LeftAnkle": {
3
+ "sagittal": {
4
+ "__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
5
+ "min": -20,
6
+ "max": 30
7
+ },
8
+ "frontal": {
9
+ "__COMMENT__": "-Inversion, +Eversion",
10
+ "min": -30,
11
+ "max": 20
12
+ },
13
+ "transverse": {
14
+ "__COMMENT__": "-Pronation, +Supination",
15
+ "min": -10,
16
+ "max": 10
17
+ }
18
+ },
19
+ "RightAnkle": {
20
+ "sagittal": {
21
+ "__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
22
+ "min": -20,
23
+ "max": 30
24
+ },
25
+ "frontal": {
26
+ "__COMMENT__": "-Inversion, +Eversion",
27
+ "min": -30,
28
+ "max": 20
29
+ },
30
+ "transverse": {
31
+ "__COMMENT__": "-Pronation, +Supination",
32
+ "min": -10,
33
+ "max": 10
34
+ }
35
+ },
36
+ "LeftKnee": {
37
+ "sagittal": {
38
+ "__COMMENT__": "-Extension, +Flexion",
39
+ "min": -5,
40
+ "max": 142
41
+ },
42
+ "frontal": {
43
+ "__COMMENT__": "N/A",
44
+ "min": 0,
45
+ "max": 0
46
+ },
47
+ "transverse": {
48
+ "__COMMENT__": "N/A",
49
+ "min": 0,
50
+ "max": 0
51
+ }
52
+ },
53
+ "RightKnee": {
54
+ "sagittal": {
55
+ "__COMMENT__": "-Extension, +Flexion",
56
+ "min": -5,
57
+ "max": 142
58
+ },
59
+ "frontal": {
60
+ "__COMMENT__": "N/A",
61
+ "min": 0,
62
+ "max": 0
63
+ },
64
+ "transverse": {
65
+ "__COMMENT__": "N/A",
66
+ "min": 0,
67
+ "max": 0
68
+ }
69
+ },
70
+ "LeftHip": {
71
+ "sagittal": {
72
+ "__COMMENT__": "-Extension, +Flexion",
73
+ "min": -18,
74
+ "max": 134
75
+ },
76
+ "frontal": {
77
+ "__COMMENT__": "-Adduction, +Abduction",
78
+ "min": -20,
79
+ "max": 40
80
+ },
81
+ "transverse": {
82
+ "__COMMENT__": "-Internal Rotation, +External Rotation",
83
+ "min": -40,
84
+ "max": 50
85
+ }
86
+ },
87
+ "RightHip": {
88
+ "sagittal": {
89
+ "__COMMENT__": "-Extension, +Flexion",
90
+ "min": -18,
91
+ "max": 134
92
+ },
93
+ "frontal": {
94
+ "__COMMENT__": "-Adduction, +Abduction",
95
+ "min": -20,
96
+ "max": 40
97
+ },
98
+ "transverse": {
99
+ "__COMMENT__": "-Internal Rotation, +External Rotation",
100
+ "min": -40,
101
+ "max": 50
102
+ }
103
+ },
104
+ "NavalSpine": {
105
+ "sagittal": {
106
+ "__COMMENT__": "-Extension, +Flexion",
107
+ "min": -75,
108
+ "max": 60
109
+ },
110
+ "frontal": {
111
+ "__COMMENT__": "-Bend Right, +Bend Left",
112
+ "min": -45,
113
+ "max": 45
114
+ },
115
+ "transverse": {
116
+ "__COMMENT__": "-Twist Right, +Twist Left",
117
+ "min": -80,
118
+ "max": 80
119
+ }
120
+ },
121
+ "ChestSpine": {
122
+ "sagittal": {
123
+ "__COMMENT__": "-Extension, +Flexion",
124
+ "min": -25,
125
+ "max": 50
126
+ },
127
+ "frontal": {
128
+ "__COMMENT__": "-Bend Right, +Bend Left",
129
+ "min": -25,
130
+ "max": 25
131
+ },
132
+ "transverse": {
133
+ "__COMMENT__": "-Twist Right, +Twist Left",
134
+ "min": -30,
135
+ "max": 30
136
+ }
137
+ },
138
+ "TotalSpine": {
139
+ "__COMMENT__": "This is the sum of the ChestSpine and NavalSpine",
140
+ "sagittal": {
141
+ "__COMMENT__": "-Extension, +Flexion",
142
+ "min": -100,
143
+ "max": 110
144
+ },
145
+ "frontal": {
146
+ "__COMMENT__": "-Bend Right, +Bend Left",
147
+ "min": -70,
148
+ "max": 70
149
+ },
150
+ "transverse": {
151
+ "__COMMENT__": "-Twist Right, +Twist Left",
152
+ "min": -110,
153
+ "max": 110
154
+ }
155
+ },
156
+ "LeftShoulder": {
157
+ "sagittal": {
158
+ "__COMMENT__": "-Extension, +Flexion",
159
+ "min": -50,
160
+ "max": 180
161
+ },
162
+ "frontal": {
163
+ "__COMMENT__": "-Adduction, +Abduction",
164
+ "min": -50,
165
+ "max": 180
166
+ },
167
+ "transverse": {
168
+ "__COMMENT__": "-Internal Rotation, +External Rotation",
169
+ "min": -90,
170
+ "max": 90
171
+ }
172
+ },
173
+ "RightShoulder": {
174
+ "sagittal": {
175
+ "__COMMENT__": "-Extension, +Flexion",
176
+ "min": -50,
177
+ "max": 180
178
+ },
179
+ "frontal": {
180
+ "__COMMENT__": "-Adduction, +Abduction",
181
+ "min": -50,
182
+ "max": 180
183
+ },
184
+ "transverse": {
185
+ "__COMMENT__": "-Internal Rotation, +External Rotation",
186
+ "min": -90,
187
+ "max": 90
188
+ }
189
+ },
190
+ "LeftElbow": {
191
+ "sagittal": {
192
+ "__COMMENT__": "-Extension, +Flexion",
193
+ "min": 0,
194
+ "max": 140
195
+ },
196
+ "frontal": {
197
+ "__COMMENT__": "N/A",
198
+ "min": 0,
199
+ "max": 0
200
+ },
201
+ "transverse": {
202
+ "__COMMENT__": "-Pronation/+Supination (of forearm)",
203
+ "min": -80,
204
+ "max": 80
205
+ }
206
+ },
207
+ "RightElbow": {
208
+ "sagittal": {
209
+ "__COMMENT__": "-Extension, +Flexion",
210
+ "min": 0,
211
+ "max": 140
212
+ },
213
+ "frontal": {
214
+ "__COMMENT__": "N/A",
215
+ "min": 0,
216
+ "max": 0
217
+ },
218
+ "transverse": {
219
+ "__COMMENT__": "-Pronation/+Supination (of forearm)",
220
+ "min": -80,
221
+ "max": 80
222
+ }
223
+ }
224
224
  };
225
225
 
226
226
  export default _default;
package/package.json CHANGED
@@ -1,123 +1,123 @@
1
- {
2
- "name": "quantum-component-library",
3
- "version": "1.4.46-qa",
4
- "type": "module",
5
- "types": "./dist/index.d.ts",
6
- "main": "./dist/index.cjs",
7
- "module": "./dist/index.js",
8
- "files": [
9
- "dist"
10
- ],
11
- "exports": {
12
- ".": {
13
- "types": "./dist/index.d.ts",
14
- "import": "./dist/index.js",
15
- "require": "./dist/index.cjs"
16
- },
17
- "./components": {
18
- "types": "./dist/components/index.d.ts",
19
- "import": "./dist/components.js",
20
- "require": "./dist/components.cjs"
21
- },
22
- "./hooks": {
23
- "types": "./dist/lib/hooks/index.d.ts",
24
- "import": "./dist/hooks.js",
25
- "require": "./dist/hooks.cjs"
26
- },
27
- "./types": {
28
- "types": "./dist/lib/types/index.d.ts",
29
- "import": "./dist/types.js",
30
- "require": "./dist/types.cjs"
31
- },
32
- "./utils": {
33
- "types": "./dist/lib/utils/index.d.ts",
34
- "import": "./dist/utils.js",
35
- "require": "./dist/utils.cjs"
36
- },
37
- "./services": {
38
- "types": "./dist/lib/services/index.d.ts",
39
- "import": "./dist/services.js",
40
- "require": "./dist/services.cjs"
41
- },
42
- "./providers": {
43
- "types": "./dist/lib/providers/index.d.ts",
44
- "import": "./dist/providers.js",
45
- "require": "./dist/providers.cjs"
46
- },
47
- "./dist/index.css": {
48
- "import": "./dist/quantum-component-library.css",
49
- "require": "./dist/quantum-component-library.css"
50
- }
51
- },
52
- "scripts": {
53
- "dev": "vite",
54
- "copy:admin": "copyfiles package.json ../admin/node_modules/quantum-component-library",
55
- "copy:client": "copyfiles package.json ../client/ui/node_modules/quantum-component-library",
56
- "build": "tsc -b && vite build",
57
- "lint": "eslint .",
58
- "preview": "vite preview",
59
- "build:qa": "tsc -b && vite build --mode publish-qa",
60
- "build:prod": "tsc -b && vite build --mode publish-prod",
61
- "build:admin": "tsc -b && vite build --mode admin && npm run copy:admin",
62
- "build:client": "tsc -b && vite build --mode client && npm run copy:client",
63
- "build:admin-qa": "tsc -b && vite build --mode admin-qa && npm run copy:admin",
64
- "build:admin-prod": "tsc -b && vite build --mode admin-prod && npm run copy:admin",
65
- "build:client-qa": "tsc -b && vite build --mode client-qa && npm run copy:client",
66
- "build:client-prod": "tsc -b && vite build --mode client-prod && npm run copy:client",
67
- "codegen": "graphql-codegen --config codegen.yml",
68
- "codegen:qa": "graphql-codegen --config codegen.qa.yml",
69
- "codegen:prod": "graphql-codegen --config codegen.prod.yml",
70
- "storybook": "storybook dev -p 6006",
71
- "build-storybook": "storybook build"
72
- },
73
- "dependencies": {
74
- "@chakra-ui/react": "^2.10.9",
75
- "@emotion/react": "^11.14.0",
76
- "@emotion/styled": "^11.14.0",
77
- "@leeoniya/ufuzzy": "^1.0.19",
78
- "@tailwindcss/vite": "^4.1.12",
79
- "@urql/exchange-auth": "^2.2.0",
80
- "@urql/exchange-graphcache": "^7.2.2",
81
- "ajv": "^8.17.1",
82
- "chakra-react-select": "^4.10.1",
83
- "class-variance-authority": "^0.7.1",
84
- "clsx": "^2.1.1",
85
- "framer-motion": "^12.23.12",
86
- "graphql": "^16.11.0",
87
- "hoist-non-react-statics": "^3.3.2",
88
- "lucide-react": "^0.541.0",
89
- "moment": "^2.30.1",
90
- "react": "^19.1.1",
91
- "react-dnd": "^16.0.1",
92
- "react-dnd-html5-backend": "^16.0.1",
93
- "react-dom": "^19.1.1",
94
- "react-icons": "^5.5.0",
95
- "tailwind-merge": "^3.3.1",
96
- "tailwindcss": "^4.1.12",
97
- "urql": "4.2.1"
98
- },
99
- "devDependencies": {
100
- "@eslint/js": "^9.33.0",
101
- "@graphql-codegen/cli": "^6.0.0",
102
- "@graphql-codegen/introspection": "^4.0.3",
103
- "@storybook/react-vite": "^9.1.4",
104
- "@types/hoist-non-react-statics": "^3.3.7",
105
- "@types/node": "^24.3.0",
106
- "@types/react": "^19.1.10",
107
- "@types/react-dom": "^19.1.7",
108
- "@vitejs/plugin-react": "^5.0.0",
109
- "copyfiles": "^2.1.0",
110
- "eslint": "^9.33.0",
111
- "eslint-plugin-react-hooks": "^5.2.0",
112
- "eslint-plugin-react-refresh": "^0.4.20",
113
- "eslint-plugin-storybook": "^9.1.4",
114
- "globals": "^16.3.0",
115
- "storybook": "^9.1.4",
116
- "tw-animate-css": "^1.3.7",
117
- "typescript": "~5.8.3",
118
- "typescript-eslint": "^8.39.1",
119
- "vite": "^7.1.2",
120
- "vite-plugin-dts": "^4.5.4",
121
- "vite-plugin-graphql-codegen": "^3.6.3"
122
- }
123
- }
1
+ {
2
+ "name": "quantum-component-library",
3
+ "version": "1.4.47-dev.1",
4
+ "type": "module",
5
+ "types": "./dist/index.d.ts",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./components": {
18
+ "types": "./dist/components/index.d.ts",
19
+ "import": "./dist/components.js",
20
+ "require": "./dist/components.cjs"
21
+ },
22
+ "./hooks": {
23
+ "types": "./dist/lib/hooks/index.d.ts",
24
+ "import": "./dist/hooks.js",
25
+ "require": "./dist/hooks.cjs"
26
+ },
27
+ "./types": {
28
+ "types": "./dist/lib/types/index.d.ts",
29
+ "import": "./dist/types.js",
30
+ "require": "./dist/types.cjs"
31
+ },
32
+ "./utils": {
33
+ "types": "./dist/lib/utils/index.d.ts",
34
+ "import": "./dist/utils.js",
35
+ "require": "./dist/utils.cjs"
36
+ },
37
+ "./services": {
38
+ "types": "./dist/lib/services/index.d.ts",
39
+ "import": "./dist/services.js",
40
+ "require": "./dist/services.cjs"
41
+ },
42
+ "./providers": {
43
+ "types": "./dist/lib/providers/index.d.ts",
44
+ "import": "./dist/providers.js",
45
+ "require": "./dist/providers.cjs"
46
+ },
47
+ "./dist/index.css": {
48
+ "import": "./dist/quantum-component-library.css",
49
+ "require": "./dist/quantum-component-library.css"
50
+ }
51
+ },
52
+ "scripts": {
53
+ "dev": "vite",
54
+ "copy:admin": "copyfiles package.json ../admin/node_modules/quantum-component-library",
55
+ "copy:client": "copyfiles package.json ../client/ui/node_modules/quantum-component-library",
56
+ "build": "tsc -b && vite build",
57
+ "lint": "eslint .",
58
+ "preview": "vite preview",
59
+ "build:qa": "tsc -b && vite build --mode publish-qa",
60
+ "build:prod": "tsc -b && vite build --mode publish-prod",
61
+ "build:admin": "tsc -b && vite build --mode admin && npm run copy:admin",
62
+ "build:client": "tsc -b && vite build --mode client && npm run copy:client",
63
+ "build:admin-qa": "tsc -b && vite build --mode admin-qa && npm run copy:admin",
64
+ "build:admin-prod": "tsc -b && vite build --mode admin-prod && npm run copy:admin",
65
+ "build:client-qa": "tsc -b && vite build --mode client-qa && npm run copy:client",
66
+ "build:client-prod": "tsc -b && vite build --mode client-prod && npm run copy:client",
67
+ "codegen": "graphql-codegen --config codegen.yml",
68
+ "codegen:qa": "graphql-codegen --config codegen.qa.yml",
69
+ "codegen:prod": "graphql-codegen --config codegen.prod.yml",
70
+ "storybook": "storybook dev -p 6006",
71
+ "build-storybook": "storybook build"
72
+ },
73
+ "dependencies": {
74
+ "@chakra-ui/react": "^2.10.9",
75
+ "@emotion/react": "^11.14.0",
76
+ "@emotion/styled": "^11.14.0",
77
+ "@leeoniya/ufuzzy": "^1.0.19",
78
+ "@tailwindcss/vite": "^4.1.12",
79
+ "@urql/exchange-auth": "^2.2.0",
80
+ "@urql/exchange-graphcache": "^7.2.2",
81
+ "ajv": "^8.17.1",
82
+ "chakra-react-select": "^4.10.1",
83
+ "class-variance-authority": "^0.7.1",
84
+ "clsx": "^2.1.1",
85
+ "framer-motion": "^12.23.12",
86
+ "graphql": "^16.11.0",
87
+ "hoist-non-react-statics": "^3.3.2",
88
+ "lucide-react": "^0.541.0",
89
+ "moment": "^2.30.1",
90
+ "react": "^19.1.1",
91
+ "react-dnd": "^16.0.1",
92
+ "react-dnd-html5-backend": "^16.0.1",
93
+ "react-dom": "^19.1.1",
94
+ "react-icons": "^5.5.0",
95
+ "tailwind-merge": "^3.3.1",
96
+ "tailwindcss": "^4.1.12",
97
+ "urql": "4.2.1"
98
+ },
99
+ "devDependencies": {
100
+ "@eslint/js": "^9.33.0",
101
+ "@graphql-codegen/cli": "^6.0.0",
102
+ "@graphql-codegen/introspection": "^4.0.3",
103
+ "@storybook/react-vite": "^9.1.4",
104
+ "@types/hoist-non-react-statics": "^3.3.7",
105
+ "@types/node": "^24.3.0",
106
+ "@types/react": "^19.1.10",
107
+ "@types/react-dom": "^19.1.7",
108
+ "@vitejs/plugin-react": "^5.0.0",
109
+ "copyfiles": "^2.1.0",
110
+ "eslint": "^9.33.0",
111
+ "eslint-plugin-react-hooks": "^5.2.0",
112
+ "eslint-plugin-react-refresh": "^0.4.20",
113
+ "eslint-plugin-storybook": "^9.1.4",
114
+ "globals": "^16.3.0",
115
+ "storybook": "^9.1.4",
116
+ "tw-animate-css": "^1.3.7",
117
+ "typescript": "~5.8.3",
118
+ "typescript-eslint": "^8.39.1",
119
+ "vite": "^7.1.2",
120
+ "vite-plugin-dts": "^4.5.4",
121
+ "vite-plugin-graphql-codegen": "^3.6.3"
122
+ }
123
+ }