@appdirect/design-system 0.0.25 → 0.0.28

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 (34) hide show
  1. package/README.md +11 -0
  2. package/dist/ComplexComponents/DashboardWidget/DashboardWidget.js +1 -1
  3. package/dist/ComplexComponents/DashboardWidget/DashboardWidget.tsx +9 -7
  4. package/dist/ComplexComponents/DataTable/CustomTopToolbar/DateRangeSelectorFilter/index.js +1 -1
  5. package/dist/ComplexComponents/DataTable/CustomTopToolbar/DateRangeSelectorFilter/index.tsx +1 -1
  6. package/dist/ComplexComponents/KeyInsight/KeyInsights.js +6 -1
  7. package/dist/ComplexComponents/KeyInsight/KeyInsights.tsx +12 -2
  8. package/dist/ComplexComponents/PageContentHeader/PageContentHeader.js +1 -1
  9. package/dist/ComplexComponents/PageContentHeader/PageContentHeader.tsx +16 -11
  10. package/dist/ComplexComponents/Slat/Slat.js +14 -7
  11. package/dist/ComplexComponents/Slat/Slat.tsx +31 -19
  12. package/dist/DESIGN.md +4 -0
  13. package/dist/DataDisplay/Alert.js +2 -2
  14. package/dist/DataDisplay/Alert.tsx +7 -0
  15. package/dist/DataDisplay/Card.js +5 -4
  16. package/dist/DataDisplay/Card.tsx +5 -11
  17. package/dist/Overlays/Modal.js +2 -2
  18. package/dist/Overlays/Modal.tsx +4 -4
  19. package/dist/contracts/Alert.json +5 -0
  20. package/dist/contracts/index.json +1 -1
  21. package/dist/css/mantine.css +120 -12
  22. package/dist/css/tokens.css +52 -14
  23. package/dist/hooks/index.js +18 -0
  24. package/dist/hooks/index.ts +28 -0
  25. package/dist/hooks/useSelectedRowsText.js +73 -0
  26. package/dist/hooks/useSelectedRowsText.ts +74 -0
  27. package/dist/stories/ComplexComponents/DashboardWidget/DashboardWidget.stories.tsx +7 -0
  28. package/dist/stories/ComplexComponents/PageContentHeader/PageContentHeader.stories.tsx +21 -21
  29. package/dist/stories/DataDisplay/Progress.stories.tsx +11 -27
  30. package/dist/stories/Navigation/Stepper.stories.tsx +25 -21
  31. package/dist/stories/Overlays/Drawer.stories.tsx +6 -6
  32. package/dist/stories/Overlays/Modal.stories.tsx +31 -11
  33. package/dist/stories/index.json +4 -3
  34. package/package.json +97 -3
@@ -114,8 +114,8 @@ export const WithKeyInsights: Story = {
114
114
  }
115
115
  ]}
116
116
  actions={[
117
- { label: 'Export Data', onClick: () => console.log('Export'), variant: 'outline' },
118
- { label: 'Refresh', onClick: () => console.log('Refresh'), variant: 'primary' }
117
+ { label: 'Refresh', onClick: () => console.log('Refresh'), variant: 'primary' },
118
+ { label: 'Export Data', onClick: () => console.log('Export'), variant: 'outline' }
119
119
  ]}
120
120
  />
121
121
  </Stack>
@@ -152,9 +152,9 @@ export const UserProfile: Story = {
152
152
  ]}
153
153
  nameValueColumns={2}
154
154
  actions={[
155
- { label: 'Edit Profile', onClick: () => console.log('Edit'), variant: 'outline' },
155
+ { label: 'Send Message', onClick: () => console.log('Message'), variant: 'primary' },
156
156
  { label: 'View Calendar', onClick: () => console.log('Calendar'), variant: 'default' },
157
- { label: 'Send Message', onClick: () => console.log('Message'), variant: 'primary' }
157
+ { label: 'Edit Profile', onClick: () => console.log('Edit'), variant: 'outline' }
158
158
  ]}
159
159
  />
160
160
  </Stack>
@@ -181,8 +181,8 @@ export const ProjectOverview: Story = {
181
181
  description="A modern e-commerce platform built with React, Node.js, and PostgreSQL. This project includes user authentication, product catalog, shopping cart, payment processing, and admin dashboard. <a href='/docs/project'>View documentation</a> for more details."
182
182
  allowLinks={true}
183
183
  actions={[
184
- { label: 'View Repository', onClick: () => console.log('Repo'), variant: 'outline' },
185
- { label: 'Deploy', onClick: () => console.log('Deploy'), variant: 'primary' }
184
+ { label: 'Deploy', onClick: () => console.log('Deploy'), variant: 'primary' },
185
+ { label: 'View Repository', onClick: () => console.log('Repo'), variant: 'outline' }
186
186
  ]}
187
187
  />
188
188
  </Stack>
@@ -230,8 +230,8 @@ export const SystemStatus: Story = {
230
230
  />
231
231
  }
232
232
  actions={[
233
- { label: 'View Logs', onClick: () => console.log('Logs'), variant: 'outline' },
234
- { label: 'Restart Services', onClick: () => console.log('Restart'), variant: 'danger' }
233
+ { label: 'Restart Services', onClick: () => console.log('Restart'), variant: 'danger' },
234
+ { label: 'View Logs', onClick: () => console.log('Logs'), variant: 'outline' }
235
235
  ]}
236
236
  />
237
237
  </Stack>
@@ -273,9 +273,9 @@ export const TeamDashboard: Story = {
273
273
  }
274
274
  ]}
275
275
  actions={[
276
- { label: 'Add Member', onClick: () => console.log('Add'), variant: 'outline' },
276
+ { label: 'Start Standup', onClick: () => console.log('Standup'), variant: 'primary' },
277
277
  { label: 'Sprint Planning', onClick: () => console.log('Sprint'), variant: 'default' },
278
- { label: 'Start Standup', onClick: () => console.log('Standup'), variant: 'primary' }
278
+ { label: 'Add Member', onClick: () => console.log('Add'), variant: 'outline' }
279
279
  ]}
280
280
  />
281
281
  </Stack>
@@ -310,9 +310,9 @@ export const DatabaseManagement: Story = {
310
310
  ]}
311
311
  nameValueColumns={2}
312
312
  actions={[
313
- { label: 'Create Backup', onClick: () => console.log('Backup'), variant: 'outline' },
313
+ { label: 'Monitor', onClick: () => console.log('Monitor'), variant: 'primary' },
314
314
  { label: 'View Logs', onClick: () => console.log('Logs'), variant: 'default' },
315
- { label: 'Monitor', onClick: () => console.log('Monitor'), variant: 'primary' }
315
+ { label: 'Create Backup', onClick: () => console.log('Backup'), variant: 'outline' }
316
316
  ]}
317
317
  />
318
318
  </Stack>
@@ -338,9 +338,9 @@ export const ApplicationSettings: Story = {
338
338
  description="Manage your application settings, environment variables, and feature flags. Changes made here will affect the production environment and require careful review."
339
339
  allowLinks={false}
340
340
  actions={[
341
- { label: 'Reset to Default', onClick: () => console.log('Reset'), variant: 'outline' },
341
+ { label: 'Save Changes', onClick: () => console.log('Save'), variant: 'primary' },
342
342
  { label: 'Export Config', onClick: () => console.log('Export'), variant: 'default' },
343
- { label: 'Save Changes', onClick: () => console.log('Save'), variant: 'primary' }
343
+ { label: 'Reset to Default', onClick: () => console.log('Reset'), variant: 'outline' }
344
344
  ]}
345
345
  />
346
346
  </Stack>
@@ -367,9 +367,9 @@ export const APIDocumentation: Story = {
367
367
  description="Welcome to our REST API documentation. This API provides access to user data, product information, and order management. <a href='/api/auth'>Authentication</a> is required for most endpoints. Check out our <a href='/api/examples'>code examples</a> to get started quickly."
368
368
  allowLinks={true}
369
369
  actions={[
370
- { label: 'View Examples', onClick: () => console.log('Examples'), variant: 'outline' },
370
+ { label: 'Get API Key', onClick: () => console.log('API Key'), variant: 'primary' },
371
371
  { label: 'Test API', onClick: () => console.log('Test'), variant: 'default' },
372
- { label: 'Get API Key', onClick: () => console.log('API Key'), variant: 'primary' }
372
+ { label: 'View Examples', onClick: () => console.log('Examples'), variant: 'outline' }
373
373
  ]}
374
374
  />
375
375
  </Stack>
@@ -415,9 +415,9 @@ export const CloudInfrastructure: Story = {
415
415
  }
416
416
  ]}
417
417
  actions={[
418
- { label: 'View Costs', onClick: () => console.log('Costs'), variant: 'outline' },
418
+ { label: 'Deploy', onClick: () => console.log('Deploy'), variant: 'primary' },
419
419
  { label: 'Scale Resources', onClick: () => console.log('Scale'), variant: 'default' },
420
- { label: 'Deploy', onClick: () => console.log('Deploy'), variant: 'primary' }
420
+ { label: 'View Costs', onClick: () => console.log('Costs'), variant: 'outline' }
421
421
  ]}
422
422
  />
423
423
  </Stack>
@@ -446,9 +446,9 @@ export const DocumentationPage: Story = {
446
446
  description="A comprehensive React component library built with TypeScript and Mantine. Includes over 50 components with full TypeScript support, Storybook documentation, and automated testing. Perfect for building consistent user interfaces across your applications."
447
447
  allowLinks={false}
448
448
  actions={[
449
- { label: 'View Components', onClick: () => console.log('Components'), variant: 'outline' },
449
+ { label: 'Get Started', onClick: () => console.log('Start'), variant: 'primary' },
450
450
  { label: 'Download', onClick: () => console.log('Download'), variant: 'default' },
451
- { label: 'Get Started', onClick: () => console.log('Start'), variant: 'primary' }
451
+ { label: 'View Components', onClick: () => console.log('Components'), variant: 'outline' }
452
452
  ]}
453
453
  />
454
454
  </Stack>
@@ -493,7 +493,7 @@ export const HeaderOnly: Story = {
493
493
  subhead="No content section"
494
494
  icon={<RiSettingsLine />}
495
495
  actions={[
496
- { label: 'Primary Action', onClick: () => console.log('Action'), variant: 'primary' },
496
+ { label: 'Primary Action', onClick: () => console.log('Action'), variant: 'primary' }
497
497
  ]}
498
498
  />
499
499
  </Stack>
@@ -1,6 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/nextjs-vite';
2
2
  import { Stack } from '@mantine/core';
3
- import { Inline, Progress, Title, Text } from '@appdirect/design-system';
3
+ import { Inline, Progress, Title, Text, Button } from '@appdirect/design-system';
4
4
  import { useState, useEffect } from 'react';
5
5
 
6
6
  const meta: Meta<typeof Progress> = {
@@ -292,32 +292,16 @@ export const ProgressWithSteps: Story = {
292
292
  </div>
293
293
 
294
294
  <Inline gap="xs">
295
- <button
296
- onClick={() => setCurrentStep(Math.max(1, currentStep - 1))}
297
- disabled={currentStep === 1}
298
- style={{
299
- padding: '8px 16px',
300
- border: '1px solid #ccc',
301
- borderRadius: '4px',
302
- background: currentStep === 1 ? '#f5f5f5' : 'white',
303
- cursor: currentStep === 1 ? 'not-allowed' : 'pointer'
304
- }}
305
- >
306
- Previous
307
- </button>
308
- <button
309
- onClick={() => setCurrentStep(Math.min(totalSteps, currentStep + 1))}
310
- disabled={currentStep === totalSteps}
311
- style={{
312
- padding: '8px 16px',
313
- border: '1px solid #ccc',
314
- borderRadius: '4px',
315
- background: currentStep === totalSteps ? '#f5f5f5' : 'white',
316
- cursor: currentStep === totalSteps ? 'not-allowed' : 'pointer'
317
- }}
318
- >
319
- Next
320
- </button>
295
+ {currentStep > 1 && (
296
+ <Button variant="outline" onClick={() => setCurrentStep(Math.max(1, currentStep - 1))}>
297
+ Previous
298
+ </Button>
299
+ )}
300
+ {currentStep < totalSteps && (
301
+ <Button variant="outline" onClick={() => setCurrentStep(Math.min(totalSteps, currentStep + 1))}>
302
+ Next
303
+ </Button>
304
+ )}
321
305
  </Inline>
322
306
  </Stack>
323
307
  );
@@ -148,19 +148,21 @@ export const InteractiveStepper: Story = {
148
148
  </Stepper>
149
149
 
150
150
  <Inline justify="center" gap="md">
151
- <Button
152
- variant="outline"
153
- onClick={() => setActiveStep((s) => Math.max(0, s - 1))}
154
- disabled={activeStep === 0}
155
- >
156
- Previous
157
- </Button>
158
- <Button
159
- onClick={() => setActiveStep((s) => Math.min(totalSteps - 1, s + 1))}
160
- disabled={activeStep === totalSteps - 1}
161
- >
162
- Next
163
- </Button>
151
+ {activeStep > 0 && (
152
+ <Button
153
+ variant="outline"
154
+ onClick={() => setActiveStep((s) => Math.max(0, s - 1))}
155
+ >
156
+ Previous
157
+ </Button>
158
+ )}
159
+ {activeStep < totalSteps - 1 && (
160
+ <Button
161
+ onClick={() => setActiveStep((s) => Math.min(totalSteps - 1, s + 1))}
162
+ >
163
+ Next
164
+ </Button>
165
+ )}
164
166
  </Inline>
165
167
 
166
168
  <Text size="sm" ta="center" c="dimmed">
@@ -261,13 +263,16 @@ export const FormWizard: Story = {
261
263
  </Stepper>
262
264
 
263
265
  <Inline justify="space-between" mt="lg">
264
- <Button
265
- variant="outline"
266
- onClick={() => setWizardStep(s => Math.max(0, s - 1))}
267
- disabled={wizardStep === 0}
268
- >
269
- Back
270
- </Button>
266
+ {wizardStep > 0 ? (
267
+ <Button
268
+ variant="outline"
269
+ onClick={() => setWizardStep(s => Math.max(0, s - 1))}
270
+ >
271
+ Back
272
+ </Button>
273
+ ) : (
274
+ <div />
275
+ )}
271
276
 
272
277
  <Text size="sm" c="dimmed">
273
278
  Step {wizardStep + 1} of {totalSteps}
@@ -275,7 +280,6 @@ export const FormWizard: Story = {
275
280
 
276
281
  <Button
277
282
  onClick={() => setWizardStep(s => Math.min(totalSteps - 1, s + 1))}
278
- disabled={wizardStep === totalSteps - 1}
279
283
  >
280
284
  {wizardStep === totalSteps - 1 ? 'Submit' : 'Continue'}
281
285
  </Button>
@@ -305,12 +305,12 @@ export const SettingsDrawer: Story = {
305
305
  <Divider />
306
306
 
307
307
  <Inline gap="sm" justify="flex-start">
308
- <Button variant="outline" onClick={() => setOpened(false)}>
309
- Cancel
310
- </Button>
311
308
  <Button variant="primary" onClick={() => setOpened(false)}>
312
309
  Save Changes
313
310
  </Button>
311
+ <Button variant="outline" onClick={() => setOpened(false)}>
312
+ Cancel
313
+ </Button>
314
314
  </Inline>
315
315
  </Stack>
316
316
  </Drawer>
@@ -743,12 +743,12 @@ export const UseCases: Story = {
743
743
  <Divider />
744
744
 
745
745
  <Inline gap="sm" justify="flex-start">
746
- <Button variant="outline" onClick={() => setProfileOpened(false)}>
747
- Cancel
748
- </Button>
749
746
  <Button variant="primary" onClick={() => setProfileOpened(false)}>
750
747
  Save Changes
751
748
  </Button>
749
+ <Button variant="outline" onClick={() => setProfileOpened(false)}>
750
+ Cancel
751
+ </Button>
752
752
  </Inline>
753
753
  </Stack>
754
754
  </Drawer>
@@ -1,6 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/nextjs-vite';
2
2
  import { useState } from 'react';
3
- import { Inline, Stack, Modal, ConfirmationModal, Title, Text, TextInput, TextArea, Switch, Button } from '@appdirect/design-system';
3
+ import { Inline, Stack, Modal, ConfirmationModal, Text, TextInput, TextArea, Switch, Button } from '@appdirect/design-system';
4
4
 
5
5
  const meta: Meta<typeof Modal> = {
6
6
  title: 'Design System/Overlays/Modal',
@@ -110,12 +110,12 @@ export const ComposedConfirmation: Story = {
110
110
  <Stack gap="md">
111
111
  <Text>This action cannot be undone. Are you sure you want to delete this item?</Text>
112
112
  <Inline justify="flex-start" gap="sm">
113
- <Button variant="outline" onClick={() => setOpened(false)}>
114
- Cancel
115
- </Button>
116
113
  <Button variant="danger" onClick={() => setOpened(false)}>
117
114
  Delete
118
115
  </Button>
116
+ <Button variant="outline" onClick={() => setOpened(false)}>
117
+ Cancel
118
+ </Button>
119
119
  </Inline>
120
120
  </Stack>
121
121
  </Modal>
@@ -132,6 +132,16 @@ export const FormModal: Story = {
132
132
  description: '',
133
133
  active: false,
134
134
  });
135
+ const [nameError, setNameError] = useState<string | undefined>();
136
+
137
+ // The submit button is never disabled. An incomplete form is reported on click instead.
138
+ const handleCreate = () => {
139
+ if (!formData.name.trim()) {
140
+ setNameError('Name is required');
141
+ return;
142
+ }
143
+ setOpened(false);
144
+ };
135
145
 
136
146
  return (
137
147
  <>
@@ -143,7 +153,11 @@ export const FormModal: Story = {
143
153
  label="Name"
144
154
  placeholder="Enter item name..."
145
155
  value={formData.name}
146
- onChange={(event) => setFormData((prev) => ({ ...prev, name: event.target.value }))}
156
+ onChange={(event) => {
157
+ setFormData((prev) => ({ ...prev, name: event.target.value }));
158
+ setNameError(undefined);
159
+ }}
160
+ error={nameError}
147
161
  required
148
162
  />
149
163
  <TextArea
@@ -163,17 +177,23 @@ export const FormModal: Story = {
163
177
  }
164
178
  />
165
179
  <Inline justify="space-between" gap="sm">
166
- <Button variant="default" onClick={() => setFormData({ name: '', description: '', active: false })}>
167
- Reset Form
168
- </Button>
169
180
  <Inline justify="flex-start" gap="sm">
181
+ <Button variant="primary" onClick={handleCreate}>
182
+ Create Item
183
+ </Button>
170
184
  <Button variant="outline" onClick={() => setOpened(false)}>
171
185
  Cancel
172
186
  </Button>
173
- <Button variant="primary" disabled={!formData.name.trim()} onClick={() => setOpened(false)}>
174
- Create Item
175
- </Button>
176
187
  </Inline>
188
+ <Button
189
+ variant="default"
190
+ onClick={() => {
191
+ setFormData({ name: '', description: '', active: false });
192
+ setNameError(undefined);
193
+ }}
194
+ >
195
+ Reset
196
+ </Button>
177
197
  </Inline>
178
198
  </Stack>
179
199
  </Modal>
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.25",
2
+ "version": "0.0.28",
3
3
  "stories": [
4
4
  {
5
5
  "title": "Design System/Buttons/ActionIcon",
@@ -215,6 +215,7 @@
215
215
  "description": "A flexible dashboard widget container that supports: - **Header**: Title, optional switch, and actions menu - **Content Area**: Any React content (charts, tables, text, etc.) - **Optional Controls**: Header select for filtering/selection - **Footer**: Optional action links with arrows Built on top of our Card component with consistent Design System styling.",
216
216
  "stories": [
217
217
  "Basic",
218
+ "WithPanelNotification",
218
219
  "WithSwitch",
219
220
  "WithActionsMenu",
220
221
  "WithHeaderSelect",
@@ -693,6 +694,7 @@
693
694
  ],
694
695
  "file": "DataDisplay/Progress.stories.tsx",
695
696
  "designSystem": [
697
+ "Button",
696
698
  "Inline",
697
699
  "Progress",
698
700
  "Text",
@@ -1310,8 +1312,7 @@
1310
1312
  "Switch",
1311
1313
  "Text",
1312
1314
  "TextArea",
1313
- "TextInput",
1314
- "Title"
1315
+ "TextInput"
1315
1316
  ],
1316
1317
  "mantine": []
1317
1318
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appdirect/design-system",
3
- "version": "0.0.25",
3
+ "version": "0.0.28",
4
4
  "description": "AppDirect Design System components. Wraps Mantine v9 with standardized props, variants, and tokens.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.ts",
@@ -31,7 +31,99 @@
31
31
  "./contracts/*": "./dist/contracts/*",
32
32
  "./stories": "./dist/stories/index.json",
33
33
  "./stories/*": "./dist/stories/*",
34
- "./agent-kit/*": "./dist/agent-kit/*"
34
+ "./agent-kit/*": "./dist/agent-kit/*",
35
+ "./Buttons": {
36
+ "types": "./dist/Buttons/index.ts",
37
+ "default": "./dist/Buttons/index.js"
38
+ },
39
+ "./Buttons/*": {
40
+ "types": "./dist/Buttons/*.tsx",
41
+ "default": "./dist/Buttons/*.js"
42
+ },
43
+ "./Combobox": {
44
+ "types": "./dist/Combobox/index.ts",
45
+ "default": "./dist/Combobox/index.js"
46
+ },
47
+ "./Combobox/*": {
48
+ "types": "./dist/Combobox/*.tsx",
49
+ "default": "./dist/Combobox/*.js"
50
+ },
51
+ "./ComplexComponents/*": {
52
+ "types": "./dist/ComplexComponents/*/index.ts",
53
+ "default": "./dist/ComplexComponents/*/index.js"
54
+ },
55
+ "./DataDisplay": {
56
+ "types": "./dist/DataDisplay/index.ts",
57
+ "default": "./dist/DataDisplay/index.js"
58
+ },
59
+ "./DataDisplay/*": {
60
+ "types": "./dist/DataDisplay/*.tsx",
61
+ "default": "./dist/DataDisplay/*.js"
62
+ },
63
+ "./Inputs": {
64
+ "types": "./dist/Inputs/index.ts",
65
+ "default": "./dist/Inputs/index.js"
66
+ },
67
+ "./Inputs/*": {
68
+ "types": "./dist/Inputs/*.tsx",
69
+ "default": "./dist/Inputs/*.js"
70
+ },
71
+ "./Layout": {
72
+ "types": "./dist/Layout/index.ts",
73
+ "default": "./dist/Layout/index.js"
74
+ },
75
+ "./Layout/*": {
76
+ "types": "./dist/Layout/*.tsx",
77
+ "default": "./dist/Layout/*.js"
78
+ },
79
+ "./Misc": {
80
+ "types": "./dist/Misc/index.ts",
81
+ "default": "./dist/Misc/index.js"
82
+ },
83
+ "./Misc/*": {
84
+ "types": "./dist/Misc/*.tsx",
85
+ "default": "./dist/Misc/*.js"
86
+ },
87
+ "./Navigation": {
88
+ "types": "./dist/Navigation/index.ts",
89
+ "default": "./dist/Navigation/index.js"
90
+ },
91
+ "./Navigation/*": {
92
+ "types": "./dist/Navigation/*.tsx",
93
+ "default": "./dist/Navigation/*.js"
94
+ },
95
+ "./Overlays": {
96
+ "types": "./dist/Overlays/index.ts",
97
+ "default": "./dist/Overlays/index.js"
98
+ },
99
+ "./Overlays/*": {
100
+ "types": "./dist/Overlays/*.tsx",
101
+ "default": "./dist/Overlays/*.js"
102
+ },
103
+ "./Shell": {
104
+ "types": "./dist/Shell/index.ts",
105
+ "default": "./dist/Shell/index.js"
106
+ },
107
+ "./Shell/*": {
108
+ "types": "./dist/Shell/*.tsx",
109
+ "default": "./dist/Shell/*.js"
110
+ },
111
+ "./Typography": {
112
+ "types": "./dist/Typography/index.ts",
113
+ "default": "./dist/Typography/index.js"
114
+ },
115
+ "./Typography/*": {
116
+ "types": "./dist/Typography/*.tsx",
117
+ "default": "./dist/Typography/*.js"
118
+ },
119
+ "./hooks": {
120
+ "types": "./dist/hooks/index.ts",
121
+ "default": "./dist/hooks/index.js"
122
+ },
123
+ "./hooks/*": {
124
+ "types": "./dist/hooks/*.ts",
125
+ "default": "./dist/hooks/*.js"
126
+ }
35
127
  },
36
128
  "files": [
37
129
  "bin/ad-sync-design-md.mjs",
@@ -43,13 +135,15 @@
43
135
  "clean": "rm -rf dist",
44
136
  "build": "node scripts/build.js",
45
137
  "tarball": "npm run build && npm pack",
138
+ "test": "npm run test:sync-design-md && npm run test:sync-agents && npm run test:build",
46
139
  "test:sync-design-md": "node --test bin/ad-sync-design-md.test.mjs",
47
140
  "test:sync-agents": "node --test bin/ad-sync-agents.test.mjs",
141
+ "test:build": "node --test scripts/build.test.mjs",
48
142
  "verify:package": "npm pack --dry-run --ignore-scripts",
49
143
  "prepublishOnly": "npm run build"
50
144
  },
51
145
  "dependencies": {
52
- "@appdirect/ad-design-tokens": "0.0.25",
146
+ "@appdirect/ad-design-tokens": "0.0.28",
53
147
  "@remixicon/react": "^4.6.0",
54
148
  "@tabler/icons-react": "^3.33.0",
55
149
  "@tanstack/react-table": "^9.2.4",