@appdirect/design-system 0.0.21 → 0.0.23

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 (36) hide show
  1. package/README.md +1 -1
  2. package/dist/Combobox/Select.js +11 -2
  3. package/dist/Combobox/Select.module.css +8 -0
  4. package/dist/Combobox/Select.tsx +16 -3
  5. package/dist/ComplexComponents/DataTable/CustomBottomToolbar/CustomBottomToolbar.module.css +1 -24
  6. package/dist/ComplexComponents/DataTable/CustomBottomToolbar/index.js +2 -5
  7. package/dist/ComplexComponents/DataTable/CustomBottomToolbar/index.tsx +15 -22
  8. package/dist/ComplexComponents/DataTable/CustomTopToolbar/SearchFilter.js +1 -2
  9. package/dist/ComplexComponents/DataTable/CustomTopToolbar/SearchFilter.module.css +2 -9
  10. package/dist/ComplexComponents/DataTable/CustomTopToolbar/SearchFilter.tsx +4 -5
  11. package/dist/ComplexComponents/DataTable/DataTableGrid/DataTableGrid.module.css +2 -6
  12. package/dist/ComplexComponents/DataTable/DataTableGrid/index.js +1 -1
  13. package/dist/ComplexComponents/DataTable/DataTableGrid/index.tsx +1 -1
  14. package/dist/DESIGN.md +11 -7
  15. package/dist/DataDisplay/Alert.js +3 -2
  16. package/dist/DataDisplay/Alert.tsx +4 -1
  17. package/dist/DataDisplay/Badge.js +37 -12
  18. package/dist/DataDisplay/Badge.tsx +42 -12
  19. package/dist/Inputs/NumberInput.js +28 -27
  20. package/dist/Inputs/NumberInput.tsx +53 -32
  21. package/dist/Inputs/Radio.js +1 -1
  22. package/dist/Inputs/Radio.tsx +1 -1
  23. package/dist/Inputs/RadioGroup.js +1 -1
  24. package/dist/Inputs/RadioGroup.tsx +1 -1
  25. package/dist/Overlays/Modal.js +2 -2
  26. package/dist/Overlays/Modal.tsx +2 -2
  27. package/dist/contracts/index.json +1 -1
  28. package/dist/css/foundations.css +44 -2
  29. package/dist/css/mantine.css +1541 -48
  30. package/dist/css/tokens.css +4 -12
  31. package/dist/stories/Inputs/Radio.stories.tsx +10 -5
  32. package/dist/stories/Inputs/RadioGroup.stories.tsx +122 -80
  33. package/dist/stories/Overlays/Drawer.stories.tsx +2 -2
  34. package/dist/stories/Overlays/Modal.stories.tsx +2 -2
  35. package/dist/stories/index.json +1 -1
  36. package/package.json +10 -6
@@ -849,10 +849,6 @@
849
849
  --ad-input-field-default-border-color: #ced4da;
850
850
  --ad-input-field-hover-border-color: #868e96;
851
851
  --ad-input-field-focus-border-color: #326FDE;
852
- --ad-input-field-focus-outline-color: color-mix(in srgb, #326FDE 35%, transparent);
853
- --ad-input-field-focus-outline-width: 2px;
854
- --ad-input-field-focus-outline-style: solid;
855
- --ad-input-field-focus-outline-offset: 4px;
856
852
  --ad-input-field-disabled-bg: #e9ecef;
857
853
  --ad-input-field-disabled-fg: #adb5bd;
858
854
  --ad-input-field-disabled-border-color: #dee2e6;
@@ -876,7 +872,7 @@
876
872
  --ad-input-section-color: #495057;
877
873
  --ad-input-section-padding-x: 10px;
878
874
  --ad-input-section-sizes-xs-font-size: 12px;
879
- --ad-input-section-sizes-xs-width: 14px;
875
+ --ad-input-section-sizes-xs-width: 16px;
880
876
  --ad-input-section-sizes-sm-font-size: 12px;
881
877
  --ad-input-section-sizes-sm-width: 16px;
882
878
  --ad-input-section-sizes-md-font-size: 14px;
@@ -1484,7 +1480,7 @@
1484
1480
  --ad-table-toolbar-border-color: #ced4da;
1485
1481
  --ad-table-toolbar-border-width: 1px;
1486
1482
  --ad-table-toolbar-action-icon-size: 30px;
1487
- --ad-table-toolbar-page-size-width: 52px;
1483
+ --ad-table-toolbar-page-size-width: 64px;
1488
1484
  --ad-table-toolbar-selection-banner-bg: #326FDE;
1489
1485
  --ad-table-toolbar-selection-banner-fg: #f8f9fa;
1490
1486
  --ad-tabs-list-border-color: #ced4da;
@@ -2447,10 +2443,6 @@
2447
2443
  --ad-input-field-default-border-color: #424242;
2448
2444
  --ad-input-field-hover-border-color: #696969;
2449
2445
  --ad-input-field-focus-border-color: #1971c2;
2450
- --ad-input-field-focus-outline-color: color-mix(in srgb, #326FDE 35%, transparent);
2451
- --ad-input-field-focus-outline-width: 2px;
2452
- --ad-input-field-focus-outline-style: solid;
2453
- --ad-input-field-focus-outline-offset: 4px;
2454
2446
  --ad-input-field-disabled-bg: #2e2e2e;
2455
2447
  --ad-input-field-disabled-fg: #696969;
2456
2448
  --ad-input-field-disabled-border-color: #424242;
@@ -2474,7 +2466,7 @@
2474
2466
  --ad-input-section-color: #828282;
2475
2467
  --ad-input-section-padding-x: 10px;
2476
2468
  --ad-input-section-sizes-xs-font-size: 12px;
2477
- --ad-input-section-sizes-xs-width: 14px;
2469
+ --ad-input-section-sizes-xs-width: 16px;
2478
2470
  --ad-input-section-sizes-sm-font-size: 12px;
2479
2471
  --ad-input-section-sizes-sm-width: 16px;
2480
2472
  --ad-input-section-sizes-md-font-size: 14px;
@@ -3082,7 +3074,7 @@
3082
3074
  --ad-table-toolbar-border-color: #424242;
3083
3075
  --ad-table-toolbar-border-width: 1px;
3084
3076
  --ad-table-toolbar-action-icon-size: 30px;
3085
- --ad-table-toolbar-page-size-width: 52px;
3077
+ --ad-table-toolbar-page-size-width: 64px;
3086
3078
  --ad-table-toolbar-selection-banner-bg: #1971c2;
3087
3079
  --ad-table-toolbar-selection-banner-fg: #212529;
3088
3080
  --ad-tabs-list-border-color: #424242;
@@ -52,6 +52,11 @@ export default meta;
52
52
  type Story = StoryObj<typeof meta>;
53
53
 
54
54
  export const Default: Story = {
55
+ render: args => (
56
+ <Stack gap="xs">
57
+ <Radio {...args} />
58
+ </Stack>
59
+ ),
55
60
  args: {
56
61
  label: 'Select this option',
57
62
  value: 'option1',
@@ -62,8 +67,8 @@ export const Sizes: Story = {
62
67
  render: () => (
63
68
  <Stack gap="md">
64
69
  <Radio size="xs" label="Extra Small" value="xs" />
65
- <Radio size="sm" label="Small" value="sm" />
66
- <Radio size="md" label="Medium (Default)" value="md" />
70
+ <Radio size="sm" label="Small (Default)" value="sm" />
71
+ <Radio size="md" label="Medium" value="md" />
67
72
  <Radio size="lg" label="Large" value="lg" />
68
73
  <Radio size="xl" label="Extra Large" value="xl" />
69
74
  </Stack>
@@ -127,7 +132,7 @@ export const RadioGroupSizes: Story = {
127
132
  </RadioGroup>
128
133
 
129
134
  <RadioGroup
130
- label="Small"
135
+ label="Small (Default)"
131
136
  size="sm"
132
137
  value={value}
133
138
  onChange={(v) => setValue(String(v))}
@@ -139,7 +144,7 @@ export const RadioGroupSizes: Story = {
139
144
  </RadioGroup>
140
145
 
141
146
  <RadioGroup
142
- label="Medium (Default)"
147
+ label="Medium"
143
148
  size="md"
144
149
  value={value}
145
150
  onChange={(v) => setValue(String(v))}
@@ -422,7 +427,7 @@ export const Interactive: Story = {
422
427
  args: {
423
428
  label: 'Interactive Radio',
424
429
  value: 'interactive',
425
- size: 'md',
430
+ size: 'sm',
426
431
  checked: false,
427
432
  disabled: false,
428
433
  required: false,
@@ -49,9 +49,11 @@ export const Default: Story = {
49
49
 
50
50
  return (
51
51
  <RadioGroup label="Choose an option" value={value} onChange={(v) => setValue(String(v))}>
52
- <Radio value="option1" label="First option" />
53
- <Radio value="option2" label="Second option" />
54
- <Radio value="option3" label="Third option" />
52
+ <Stack gap="xs">
53
+ <Radio value="option1" label="First option" />
54
+ <Radio value="option2" label="Second option" />
55
+ <Radio value="option3" label="Third option" />
56
+ </Stack>
55
57
  </RadioGroup>
56
58
  );
57
59
  },
@@ -80,9 +82,11 @@ export const Sizes: Story = {
80
82
  value={values[size]}
81
83
  onChange={(val) => setValues(prev => ({ ...prev, [size]: String(val) }))}
82
84
  >
83
- <Radio value="option1" label="First option" />
84
- <Radio value="option2" label="Second option" />
85
- <Radio value="option3" label="Third option" />
85
+ <Stack gap="xs">
86
+ <Radio value="option1" label="First option" />
87
+ <Radio value="option2" label="Second option" />
88
+ <Radio value="option3" label="Third option" />
89
+ </Stack>
86
90
  </RadioGroup>
87
91
  </div>
88
92
  ))}
@@ -109,9 +113,11 @@ export const WithDescription: Story = {
109
113
  value={value}
110
114
  onChange={(v) => setValue(String(v))}
111
115
  >
112
- <Radio value="basic" label="Basic - $9/month" />
113
- <Radio value="pro" label="Pro - $29/month" />
114
- <Radio value="enterprise" label="Enterprise - $99/month" />
116
+ <Stack gap="xs">
117
+ <Radio value="basic" label="Basic - $9/month" />
118
+ <Radio value="pro" label="Pro - $29/month" />
119
+ <Radio value="enterprise" label="Enterprise - $99/month" />
120
+ </Stack>
115
121
  </RadioGroup>
116
122
  );
117
123
  },
@@ -136,10 +142,12 @@ export const Required: Story = {
136
142
  value={value}
137
143
  onChange={(v) => setValue(String(v))}
138
144
  >
139
- <Radio value="card" label="Credit Card" />
140
- <Radio value="paypal" label="PayPal" />
141
- <Radio value="bank" label="Bank Transfer" />
142
- <Radio value="crypto" label="Cryptocurrency" />
145
+ <Stack gap="xs">
146
+ <Radio value="card" label="Credit Card" />
147
+ <Radio value="paypal" label="PayPal" />
148
+ <Radio value="bank" label="Bank Transfer" />
149
+ <Radio value="crypto" label="Cryptocurrency" />
150
+ </Stack>
143
151
  </RadioGroup>
144
152
  );
145
153
  },
@@ -165,10 +173,12 @@ export const WithError: Story = {
165
173
  value={value}
166
174
  onChange={(v) => setValue(String(v))}
167
175
  >
168
- <Radio value="standard" label="Standard Delivery (5-7 days)" />
169
- <Radio value="express" label="Express Delivery (2-3 days)" />
170
- <Radio value="overnight" label="Overnight Delivery" />
171
- <Radio value="pickup" label="Store Pickup" />
176
+ <Stack gap="xs">
177
+ <Radio value="standard" label="Standard Delivery (5-7 days)" />
178
+ <Radio value="express" label="Express Delivery (2-3 days)" />
179
+ <Radio value="overnight" label="Overnight Delivery" />
180
+ <Radio value="pickup" label="Store Pickup" />
181
+ </Stack>
172
182
  </RadioGroup>
173
183
  );
174
184
  },
@@ -195,10 +205,12 @@ export const DisabledStates: Story = {
195
205
  value={value}
196
206
  onChange={(v) => setValue(String(v))}
197
207
  >
198
- <Radio value="option1" label="Available option" />
199
- <Radio value="option2" label="Selected option" />
200
- <Radio value="option3" label="Disabled option" disabled />
201
- <Radio value="option4" label="Another disabled option" disabled />
208
+ <Stack gap="xs">
209
+ <Radio value="option1" label="Available option" />
210
+ <Radio value="option2" label="Selected option" />
211
+ <Radio value="option3" label="Disabled option" disabled />
212
+ <Radio value="option4" label="Another disabled option" disabled />
213
+ </Stack>
202
214
  </RadioGroup>
203
215
  </div>
204
216
  </Stack>
@@ -250,10 +262,12 @@ export const FormIntegration: Story = {
250
262
  value={formData.priority}
251
263
  onChange={(val) => setFormData(prev => ({ ...prev, priority: String(val) }))}
252
264
  >
253
- <Radio value="low" label="🟢 Low Priority" />
254
- <Radio value="medium" label="🟡 Medium Priority" />
255
- <Radio value="high" label="🟠 High Priority" />
256
- <Radio value="urgent" label="🔴 Urgent" />
265
+ <Stack gap="xs">
266
+ <Radio value="low" label="🟢 Low Priority" />
267
+ <Radio value="medium" label="🟡 Medium Priority" />
268
+ <Radio value="high" label="🟠 High Priority" />
269
+ <Radio value="urgent" label="🔴 Urgent" />
270
+ </Stack>
257
271
  </RadioGroup>
258
272
 
259
273
  <RadioGroup
@@ -264,10 +278,12 @@ export const FormIntegration: Story = {
264
278
  value={formData.category}
265
279
  onChange={(val) => setFormData(prev => ({ ...prev, category: String(val) }))}
266
280
  >
267
- <Radio value="development" label="Development" />
268
- <Radio value="design" label="Design" />
269
- <Radio value="testing" label="Testing" />
270
- <Radio value="documentation" label="Documentation" />
281
+ <Stack gap="xs">
282
+ <Radio value="development" label="Development" />
283
+ <Radio value="design" label="Design" />
284
+ <Radio value="testing" label="Testing" />
285
+ <Radio value="documentation" label="Documentation" />
286
+ </Stack>
271
287
  </RadioGroup>
272
288
 
273
289
  <RadioGroup
@@ -278,9 +294,11 @@ export const FormIntegration: Story = {
278
294
  value={formData.visibility}
279
295
  onChange={(val) => setFormData(prev => ({ ...prev, visibility: String(val) }))}
280
296
  >
281
- <Radio value="private" label="Private (Only me)" />
282
- <Radio value="team" label="Team members" />
283
- <Radio value="public" label="Everyone" />
297
+ <Stack gap="xs">
298
+ <Radio value="private" label="Private (Only me)" />
299
+ <Radio value="team" label="Team members" />
300
+ <Radio value="public" label="Everyone" />
301
+ </Stack>
284
302
  </RadioGroup>
285
303
 
286
304
  <Button variant="primary" onClick={handleSubmit}>
@@ -317,9 +335,11 @@ export const SettingsConfiguration: Story = {
317
335
  value={settings.theme}
318
336
  onChange={(val) => setSettings(prev => ({ ...prev, theme: String(val) }))}
319
337
  >
320
- <Radio value="light" label="☀️ Light Theme" />
321
- <Radio value="dark" label="🌙 Dark Theme" />
322
- <Radio value="auto" label="🔄 Auto (System)" />
338
+ <Stack gap="xs">
339
+ <Radio value="light" label="☀️ Light Theme" />
340
+ <Radio value="dark" label="🌙 Dark Theme" />
341
+ <Radio value="auto" label="🔄 Auto (System)" />
342
+ </Stack>
323
343
  </RadioGroup>
324
344
 
325
345
  <RadioGroup
@@ -328,10 +348,12 @@ export const SettingsConfiguration: Story = {
328
348
  value={settings.notifications}
329
349
  onChange={(val) => setSettings(prev => ({ ...prev, notifications: String(val) }))}
330
350
  >
331
- <Radio value="all" label="All notifications" />
332
- <Radio value="important" label="Important only" />
333
- <Radio value="mentions" label="Mentions and replies" />
334
- <Radio value="none" label="No notifications" />
351
+ <Stack gap="xs">
352
+ <Radio value="all" label="All notifications" />
353
+ <Radio value="important" label="Important only" />
354
+ <Radio value="mentions" label="Mentions and replies" />
355
+ <Radio value="none" label="No notifications" />
356
+ </Stack>
335
357
  </RadioGroup>
336
358
 
337
359
  <RadioGroup
@@ -340,9 +362,11 @@ export const SettingsConfiguration: Story = {
340
362
  value={settings.privacy}
341
363
  onChange={(val) => setSettings(prev => ({ ...prev, privacy: String(val) }))}
342
364
  >
343
- <Radio value="public" label="🌍 Public" />
344
- <Radio value="friends" label="👥 Friends only" />
345
- <Radio value="private" label="🔒 Private" />
365
+ <Stack gap="xs">
366
+ <Radio value="public" label="🌍 Public" />
367
+ <Radio value="friends" label="👥 Friends only" />
368
+ <Radio value="private" label="🔒 Private" />
369
+ </Stack>
346
370
  </RadioGroup>
347
371
 
348
372
  <RadioGroup
@@ -351,10 +375,12 @@ export const SettingsConfiguration: Story = {
351
375
  value={settings.language}
352
376
  onChange={(val) => setSettings(prev => ({ ...prev, language: String(val) }))}
353
377
  >
354
- <Radio value="en" label="🇺🇸 English" />
355
- <Radio value="es" label="🇪🇸 Spanish" />
356
- <Radio value="fr" label="🇫🇷 French" />
357
- <Radio value="de" label="🇩🇪 German" />
378
+ <Stack gap="xs">
379
+ <Radio value="en" label="🇺🇸 English" />
380
+ <Radio value="es" label="🇪🇸 Spanish" />
381
+ <Radio value="fr" label="🇫🇷 French" />
382
+ <Radio value="de" label="🇩🇪 German" />
383
+ </Stack>
358
384
  </RadioGroup>
359
385
  </Stack>
360
386
  );
@@ -387,11 +413,13 @@ export const SurveyQuestions: Story = {
387
413
  value={answers.satisfaction}
388
414
  onChange={(val) => setAnswers(prev => ({ ...prev, satisfaction: String(val) }))}
389
415
  >
390
- <Radio value="very-satisfied" label="😊 Very Satisfied" />
391
- <Radio value="satisfied" label="🙂 Satisfied" />
392
- <Radio value="neutral" label="😐 Neutral" />
393
- <Radio value="dissatisfied" label="🙁 Dissatisfied" />
394
- <Radio value="very-dissatisfied" label="😞 Very Dissatisfied" />
416
+ <Stack gap="xs">
417
+ <Radio value="very-satisfied" label="😊 Very Satisfied" />
418
+ <Radio value="satisfied" label="🙂 Satisfied" />
419
+ <Radio value="neutral" label="😐 Neutral" />
420
+ <Radio value="dissatisfied" label="🙁 Dissatisfied" />
421
+ <Radio value="very-dissatisfied" label="😞 Very Dissatisfied" />
422
+ </Stack>
395
423
  </RadioGroup>
396
424
 
397
425
  <RadioGroup
@@ -414,11 +442,13 @@ export const SurveyQuestions: Story = {
414
442
  value={answers.frequency}
415
443
  onChange={(val) => setAnswers(prev => ({ ...prev, frequency: String(val) }))}
416
444
  >
417
- <Radio value="daily" label="Daily" />
418
- <Radio value="weekly" label="Weekly" />
419
- <Radio value="monthly" label="Monthly" />
420
- <Radio value="rarely" label="Rarely" />
421
- <Radio value="first-time" label="This is my first time" />
445
+ <Stack gap="xs">
446
+ <Radio value="daily" label="Daily" />
447
+ <Radio value="weekly" label="Weekly" />
448
+ <Radio value="monthly" label="Monthly" />
449
+ <Radio value="rarely" label="Rarely" />
450
+ <Radio value="first-time" label="This is my first time" />
451
+ </Stack>
422
452
  </RadioGroup>
423
453
 
424
454
  <RadioGroup
@@ -426,12 +456,14 @@ export const SurveyQuestions: Story = {
426
456
  value={answers.improvement}
427
457
  onChange={(val) => setAnswers(prev => ({ ...prev, improvement: String(val) }))}
428
458
  >
429
- <Radio value="speed" label="Speed and performance" />
430
- <Radio value="features" label="Features and functionality" />
431
- <Radio value="design" label="User interface design" />
432
- <Radio value="support" label="Customer support" />
433
- <Radio value="pricing" label="Pricing" />
434
- <Radio value="other" label="Other" />
459
+ <Stack gap="xs">
460
+ <Radio value="speed" label="Speed and performance" />
461
+ <Radio value="features" label="Features and functionality" />
462
+ <Radio value="design" label="User interface design" />
463
+ <Radio value="support" label="Customer support" />
464
+ <Radio value="pricing" label="Pricing" />
465
+ <Radio value="other" label="Other" />
466
+ </Stack>
435
467
  </RadioGroup>
436
468
  </Stack>
437
469
  );
@@ -453,38 +485,46 @@ export const UseCases: Story = {
453
485
  <div>
454
486
  <Text size="sm" fw={500} mb="sm">1. Payment Methods:</Text>
455
487
  <RadioGroup label="Payment Method" defaultValue="card">
456
- <Radio value="card" label="💳 Credit/Debit Card" />
457
- <Radio value="paypal" label="🅿️ PayPal" />
458
- <Radio value="apple" label="🍎 Apple Pay" />
459
- <Radio value="google" label="🔵 Google Pay" />
488
+ <Stack gap="xs">
489
+ <Radio value="card" label="💳 Credit/Debit Card" />
490
+ <Radio value="paypal" label="🅿️ PayPal" />
491
+ <Radio value="apple" label="🍎 Apple Pay" />
492
+ <Radio value="google" label="🔵 Google Pay" />
493
+ </Stack>
460
494
  </RadioGroup>
461
495
  </div>
462
496
 
463
497
  <div>
464
498
  <Text size="sm" fw={500} mb="sm">2. Shipping Options:</Text>
465
499
  <RadioGroup label="Delivery Speed" defaultValue="standard">
466
- <Radio value="standard" label="📦 Standard (5-7 days) - Free" />
467
- <Radio value="express" label="⚡ Express (2-3 days) - $9.99" />
468
- <Radio value="overnight" label="🚀 Overnight - $24.99" />
500
+ <Stack gap="xs">
501
+ <Radio value="standard" label="📦 Standard (5-7 days) - Free" />
502
+ <Radio value="express" label="⚡ Express (2-3 days) - $9.99" />
503
+ <Radio value="overnight" label="🚀 Overnight - $24.99" />
504
+ </Stack>
469
505
  </RadioGroup>
470
506
  </div>
471
507
 
472
508
  <div>
473
509
  <Text size="sm" fw={500} mb="sm">3. Account Types:</Text>
474
510
  <RadioGroup label="Account Type" defaultValue="personal">
475
- <Radio value="personal" label="👤 Personal Account" />
476
- <Radio value="business" label="🏢 Business Account" />
477
- <Radio value="enterprise" label="🏭 Enterprise Account" />
511
+ <Stack gap="xs">
512
+ <Radio value="personal" label="👤 Personal Account" />
513
+ <Radio value="business" label="🏢 Business Account" />
514
+ <Radio value="enterprise" label="🏭 Enterprise Account" />
515
+ </Stack>
478
516
  </RadioGroup>
479
517
  </div>
480
518
 
481
519
  <div>
482
520
  <Text size="sm" fw={500} mb="sm">4. Contact Preferences:</Text>
483
521
  <RadioGroup label="Preferred Contact Method" defaultValue="email">
484
- <Radio value="email" label="📧 Email" />
485
- <Radio value="phone" label="📞 Phone" />
486
- <Radio value="sms" label="💬 SMS" />
487
- <Radio value="none" label="🚫 Do not contact" />
522
+ <Stack gap="xs">
523
+ <Radio value="email" label="📧 Email" />
524
+ <Radio value="phone" label="📞 Phone" />
525
+ <Radio value="sms" label="💬 SMS" />
526
+ <Radio value="none" label="🚫 Do not contact" />
527
+ </Stack>
488
528
  </RadioGroup>
489
529
  </div>
490
530
  </Stack>
@@ -503,16 +543,18 @@ export const Interactive: Story = {
503
543
  label: 'Interactive RadioGroup',
504
544
  description: 'Use the controls to modify this RadioGroup',
505
545
  required: false,
506
- size: 'md',
546
+ size: 'sm',
507
547
  },
508
548
  render: (args) => {
509
549
  const [value, setValue] = useState<string>('');
510
550
 
511
551
  return (
512
552
  <RadioGroup {...args} value={value} onChange={(v) => setValue(String(v))}>
513
- <Radio value="option1" label="First option" />
514
- <Radio value="option2" label="Second option" />
515
- <Radio value="option3" label="Third option" />
553
+ <Stack gap="xs">
554
+ <Radio value="option1" label="First option" />
555
+ <Radio value="option2" label="Second option" />
556
+ <Radio value="option3" label="Third option" />
557
+ </Stack>
516
558
  </RadioGroup>
517
559
  );
518
560
  },
@@ -304,7 +304,7 @@ export const SettingsDrawer: Story = {
304
304
 
305
305
  <Divider />
306
306
 
307
- <Inline gap="sm" justify="flex-end">
307
+ <Inline gap="sm" justify="flex-start">
308
308
  <Button variant="outline" onClick={() => setOpened(false)}>
309
309
  Cancel
310
310
  </Button>
@@ -742,7 +742,7 @@ export const UseCases: Story = {
742
742
 
743
743
  <Divider />
744
744
 
745
- <Inline gap="sm" justify="flex-end">
745
+ <Inline gap="sm" justify="flex-start">
746
746
  <Button variant="outline" onClick={() => setProfileOpened(false)}>
747
747
  Cancel
748
748
  </Button>
@@ -109,7 +109,7 @@ export const ComposedConfirmation: Story = {
109
109
  <Modal opened={opened} onClose={() => setOpened(false)} title="Delete Item" size="sm">
110
110
  <Stack gap="md">
111
111
  <Text>This action cannot be undone. Are you sure you want to delete this item?</Text>
112
- <Inline justify="flex-end" gap="sm">
112
+ <Inline justify="flex-start" gap="sm">
113
113
  <Button variant="outline" onClick={() => setOpened(false)}>
114
114
  Cancel
115
115
  </Button>
@@ -166,7 +166,7 @@ export const FormModal: Story = {
166
166
  <Button variant="default" onClick={() => setFormData({ name: '', description: '', active: false })}>
167
167
  Reset Form
168
168
  </Button>
169
- <Inline justify="flex-end" gap="sm">
169
+ <Inline justify="flex-start" gap="sm">
170
170
  <Button variant="outline" onClick={() => setOpened(false)}>
171
171
  Cancel
172
172
  </Button>
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.21",
2
+ "version": "0.0.23",
3
3
  "stories": [
4
4
  {
5
5
  "title": "Design System/Buttons/ActionIcon",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appdirect/design-system",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
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",
@@ -49,21 +49,25 @@
49
49
  "prepublishOnly": "npm run build"
50
50
  },
51
51
  "dependencies": {
52
- "@appdirect/ad-design-tokens": "0.0.21",
53
- "@mantine/dropzone": "^9.6.0",
52
+ "@appdirect/ad-design-tokens": "0.0.23",
54
53
  "@remixicon/react": "^4.6.0",
55
54
  "@tabler/icons-react": "^3.33.0",
56
55
  "@tanstack/react-table": "^9.2.4",
57
56
  "clsx": "^2.1.1"
58
57
  },
59
58
  "peerDependencies": {
60
- "@mantine/core": "^9.6.0",
61
- "@mantine/dates": "^9.6.0",
62
- "@mantine/hooks": "^9.6.0",
59
+ "@mantine/core": "^9.8.2",
60
+ "@mantine/dates": "^9.8.2",
61
+ "@mantine/dropzone": "^9.8.2",
62
+ "@mantine/hooks": "^9.8.2",
63
63
  "react": "^19.2.0",
64
64
  "react-dom": "^19.2.0"
65
65
  },
66
66
  "devDependencies": {
67
+ "@mantine/core": "^9.8.2",
68
+ "@mantine/dates": "^9.8.2",
69
+ "@mantine/dropzone": "^9.8.2",
70
+ "@mantine/hooks": "^9.8.2",
67
71
  "typescript": "^5.9.3"
68
72
  },
69
73
  "repository": {