@wealthx/shadcn 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.turbo/turbo-build.log +76 -67
  2. package/CHANGELOG.md +7 -0
  3. package/dist/{chunk-4CX4SBRO.mjs → chunk-A6AAWBPF.mjs} +1 -1
  4. package/dist/{chunk-WOEHFRGB.mjs → chunk-BDYZCBRT.mjs} +4 -4
  5. package/dist/{chunk-PMB3A7V3.mjs → chunk-EI5F6FMT.mjs} +1 -1
  6. package/dist/{chunk-CSDO6VBW.mjs → chunk-LBMRIB3G.mjs} +10 -10
  7. package/dist/{chunk-PG6K5XEC.mjs → chunk-S4QRUQNW.mjs} +1 -1
  8. package/dist/chunk-U4NDAF2P.mjs +207 -0
  9. package/dist/{chunk-DOH3EHX7.mjs → chunk-U5X52X37.mjs} +1 -1
  10. package/dist/{chunk-WA6O6EUR.mjs → chunk-URGMJAE3.mjs} +9 -9
  11. package/dist/{chunk-ZRO5JO3H.mjs → chunk-UT4KJR7V.mjs} +48 -12
  12. package/dist/{chunk-SYOD63OZ.mjs → chunk-VGSESELX.mjs} +2 -2
  13. package/dist/chunk-ZRSDX6OW.mjs +385 -0
  14. package/dist/chunk-ZSHYDDRB.mjs +249 -0
  15. package/dist/components/ui/add-column-modal.mjs +3 -3
  16. package/dist/components/ui/add-lead-modal.mjs +2 -2
  17. package/dist/components/ui/color-picker.js +417 -0
  18. package/dist/components/ui/color-picker.mjs +22 -0
  19. package/dist/components/ui/data-table.js +44 -12
  20. package/dist/components/ui/data-table.mjs +1 -1
  21. package/dist/components/ui/date-picker.mjs +2 -2
  22. package/dist/components/ui/form-primitives.js +4 -4
  23. package/dist/components/ui/form-primitives.mjs +3 -3
  24. package/dist/components/ui/opportunity-edit-modals.js +4 -4
  25. package/dist/components/ui/opportunity-edit-modals.mjs +8 -8
  26. package/dist/components/ui/opportunity-summary-tab.js +4 -4
  27. package/dist/components/ui/opportunity-summary-tab.mjs +9 -9
  28. package/dist/components/ui/pipeline-board.js +4 -4
  29. package/dist/components/ui/pipeline-board.mjs +3 -3
  30. package/dist/components/ui/pipeline-dialogs.js +4 -4
  31. package/dist/components/ui/pipeline-dialogs.mjs +5 -5
  32. package/dist/components/ui/sidebar-nav.js +540 -0
  33. package/dist/components/ui/sidebar-nav.mjs +11 -0
  34. package/dist/components/ui/stepper.js +283 -0
  35. package/dist/components/ui/stepper.mjs +18 -0
  36. package/dist/components/ui/toggle-group.js +4 -4
  37. package/dist/components/ui/toggle-group.mjs +2 -2
  38. package/dist/components/ui/toggle.js +4 -4
  39. package/dist/components/ui/toggle.mjs +1 -1
  40. package/dist/index.js +2141 -1292
  41. package/dist/index.mjs +103 -71
  42. package/dist/lib/typography.js +10 -10
  43. package/dist/lib/typography.mjs +1 -1
  44. package/dist/styles.css +1 -1
  45. package/package.json +16 -1
  46. package/src/components/index.tsx +41 -0
  47. package/src/components/ui/color-picker.tsx +307 -0
  48. package/src/components/ui/data-table.tsx +91 -11
  49. package/src/components/ui/sidebar-nav.tsx +517 -0
  50. package/src/components/ui/stepper.tsx +347 -0
  51. package/src/components/ui/toggle.tsx +4 -4
  52. package/src/lib/typography.ts +11 -11
  53. package/src/styles/globals.css +19 -19
  54. package/src/styles/styles-css.ts +1 -1
  55. package/tsup.config.ts +3 -0
  56. package/dist/{chunk-KUDCQ4FI.mjs → chunk-5MEWU56Z.mjs} +3 -3
  57. package/dist/{chunk-PR6V5XKM.mjs → chunk-CGH4DRNG.mjs} +3 -3
  58. package/dist/{chunk-3WMX6KWS.mjs → chunk-Y4QFWRNR.mjs} +8 -8
package/dist/index.mjs CHANGED
@@ -1,9 +1,3 @@
1
- import {
2
- Tooltip,
3
- TooltipContent,
4
- TooltipProvider,
5
- TooltipTrigger
6
- } from "./chunk-6JQFUE5I.mjs";
7
1
  import {
8
2
  TransactionsExpenseCategoriesDoughnutChart
9
3
  } from "./chunk-OPNQAVVH.mjs";
@@ -13,22 +7,45 @@ import {
13
7
  import {
14
8
  TransactionsLiabilitiesBreakdownChart
15
9
  } from "./chunk-SIZMLSRU.mjs";
10
+ import {
11
+ Toaster
12
+ } from "./chunk-2Y7YJKPE.mjs";
16
13
  import {
17
14
  StageTimeline
18
15
  } from "./chunk-WG6JGJXB.mjs";
16
+ import {
17
+ Step,
18
+ StepContent,
19
+ StepIndicator,
20
+ StepItem,
21
+ StepLabel,
22
+ Stepper
23
+ } from "./chunk-U4NDAF2P.mjs";
19
24
  import {
20
25
  Switch,
21
26
  SwitchCard
22
27
  } from "./chunk-ZU4NV6RG.mjs";
28
+ import {
29
+ PropertyDebtEquityDoughnutChart
30
+ } from "./chunk-RYCLWMZ7.mjs";
23
31
  import {
24
32
  PropertyMobileEstimateLineChart
25
33
  } from "./chunk-7MMXNK3C.mjs";
26
34
  import {
27
- Toaster
28
- } from "./chunk-2Y7YJKPE.mjs";
35
+ SidebarNav
36
+ } from "./chunk-ZRSDX6OW.mjs";
37
+ import {
38
+ Tooltip,
39
+ TooltipContent,
40
+ TooltipProvider,
41
+ TooltipTrigger
42
+ } from "./chunk-6JQFUE5I.mjs";
43
+ import {
44
+ PipelineAlerts
45
+ } from "./chunk-UFYSFDER.mjs";
29
46
  import {
30
47
  PipelineBoard
31
- } from "./chunk-4CX4SBRO.mjs";
48
+ } from "./chunk-A6AAWBPF.mjs";
32
49
  import {
33
50
  PipelineChart
34
51
  } from "./chunk-RGU7HOEC.mjs";
@@ -36,7 +53,7 @@ import {
36
53
  ChangePriorityDialog,
37
54
  DeleteOpportunityDialog,
38
55
  PutOnHoldDialog
39
- } from "./chunk-SYOD63OZ.mjs";
56
+ } from "./chunk-VGSESELX.mjs";
40
57
  import {
41
58
  Progress
42
59
  } from "./chunk-J5UICVJS.mjs";
@@ -44,8 +61,11 @@ import {
44
61
  PropertyCashflowDoughnutChart
45
62
  } from "./chunk-VPBN3WOO.mjs";
46
63
  import {
47
- PropertyDebtEquityDoughnutChart
48
- } from "./chunk-RYCLWMZ7.mjs";
64
+ InputOTP,
65
+ InputOTPGroup,
66
+ InputOTPSeparator,
67
+ InputOTPSlot
68
+ } from "./chunk-7DHU4VGG.mjs";
49
69
  import {
50
70
  KanbanColumn
51
71
  } from "./chunk-VACKZOMY.mjs";
@@ -58,7 +78,7 @@ import {
58
78
  } from "./chunk-FMAXJ2SI.mjs";
59
79
  import {
60
80
  OpportunitySummaryTab
61
- } from "./chunk-PG6K5XEC.mjs";
81
+ } from "./chunk-S4QRUQNW.mjs";
62
82
  import {
63
83
  EditAboutApplicantModal,
64
84
  EditAssetsModal,
@@ -66,7 +86,7 @@ import {
66
86
  EditExpensesModal,
67
87
  EditIncomeModal,
68
88
  EditLoanScenarioModal
69
- } from "./chunk-WA6O6EUR.mjs";
89
+ } from "./chunk-URGMJAE3.mjs";
70
90
  import {
71
91
  Pagination,
72
92
  PaginationContent,
@@ -77,8 +97,17 @@ import {
77
97
  PaginationPrevious
78
98
  } from "./chunk-WNGWBVLV.mjs";
79
99
  import {
80
- PipelineAlerts
81
- } from "./chunk-UFYSFDER.mjs";
100
+ Field,
101
+ FieldContent,
102
+ FieldDescription,
103
+ FieldError,
104
+ FieldGroup,
105
+ FieldLabel,
106
+ FieldLegend,
107
+ FieldSeparator,
108
+ FieldSet,
109
+ FieldTitle
110
+ } from "./chunk-LLVQKSU3.mjs";
82
111
  import {
83
112
  OpportunityDetailsDrawer,
84
113
  SummaryReportDrawer
@@ -129,18 +158,18 @@ import {
129
158
  ConcernScale,
130
159
  CurrencyInputWithSlider,
131
160
  OwnershipSplit
132
- } from "./chunk-DOH3EHX7.mjs";
161
+ } from "./chunk-U5X52X37.mjs";
133
162
  import {
134
163
  Slider
135
164
  } from "./chunk-Y6DWJSKZ.mjs";
136
165
  import {
137
166
  ToggleGroup,
138
167
  ToggleGroupItem
139
- } from "./chunk-PMB3A7V3.mjs";
168
+ } from "./chunk-EI5F6FMT.mjs";
140
169
  import {
141
170
  Toggle,
142
171
  toggleVariants
143
- } from "./chunk-WOEHFRGB.mjs";
172
+ } from "./chunk-BDYZCBRT.mjs";
144
173
  import {
145
174
  IncomeBarChart
146
175
  } from "./chunk-BL3DXM2X.mjs";
@@ -153,11 +182,18 @@ import {
153
182
  InputGroupTextarea
154
183
  } from "./chunk-Q76O3RIQ.mjs";
155
184
  import {
156
- InputOTP,
157
- InputOTPGroup,
158
- InputOTPSeparator,
159
- InputOTPSlot
160
- } from "./chunk-7DHU4VGG.mjs";
185
+ Combobox,
186
+ ComboboxContent,
187
+ ComboboxEmpty,
188
+ ComboboxGroup,
189
+ ComboboxGroupLabel,
190
+ ComboboxInput,
191
+ ComboboxItem,
192
+ ComboboxList,
193
+ ComboboxSeparator,
194
+ ComboboxTrigger,
195
+ ComboboxValue
196
+ } from "./chunk-ERGGHC2V.mjs";
161
197
  import {
162
198
  DataTable,
163
199
  DataTableColumnHeader,
@@ -165,7 +201,7 @@ import {
165
201
  DataTableSkeleton,
166
202
  DataTableToolbar,
167
203
  getSelectionColumn
168
- } from "./chunk-ZRO5JO3H.mjs";
204
+ } from "./chunk-UT4KJR7V.mjs";
169
205
  import {
170
206
  Table,
171
207
  TableBody,
@@ -178,16 +214,7 @@ import {
178
214
  } from "./chunk-66MI7Q4B.mjs";
179
215
  import {
180
216
  DatePicker
181
- } from "./chunk-KUDCQ4FI.mjs";
182
- import {
183
- Popover,
184
- PopoverAnchor,
185
- PopoverContent,
186
- PopoverDescription,
187
- PopoverHeader,
188
- PopoverTitle,
189
- PopoverTrigger
190
- } from "./chunk-3GF7OVTP.mjs";
217
+ } from "./chunk-5MEWU56Z.mjs";
191
218
  import {
192
219
  Drawer,
193
220
  DrawerClose,
@@ -220,18 +247,6 @@ import {
220
247
  import {
221
248
  ExpenseBarChart
222
249
  } from "./chunk-K3JYD4IU.mjs";
223
- import {
224
- Field,
225
- FieldContent,
226
- FieldDescription,
227
- FieldError,
228
- FieldGroup,
229
- FieldLabel,
230
- FieldLegend,
231
- FieldSeparator,
232
- FieldSet,
233
- FieldTitle
234
- } from "./chunk-LLVQKSU3.mjs";
235
250
  import {
236
251
  Calendar,
237
252
  CalendarDayButton
@@ -246,18 +261,22 @@ import {
246
261
  Chip
247
262
  } from "./chunk-RP3SQYA3.mjs";
248
263
  import {
249
- Combobox,
250
- ComboboxContent,
251
- ComboboxEmpty,
252
- ComboboxGroup,
253
- ComboboxGroupLabel,
254
- ComboboxInput,
255
- ComboboxItem,
256
- ComboboxList,
257
- ComboboxSeparator,
258
- ComboboxTrigger,
259
- ComboboxValue
260
- } from "./chunk-ERGGHC2V.mjs";
264
+ COLOR_PICKER_PRESETS,
265
+ ColorPicker,
266
+ ColorPickerContent,
267
+ ColorSwatch,
268
+ isValidHex,
269
+ normalizeHex
270
+ } from "./chunk-ZSHYDDRB.mjs";
271
+ import {
272
+ Popover,
273
+ PopoverAnchor,
274
+ PopoverContent,
275
+ PopoverDescription,
276
+ PopoverHeader,
277
+ PopoverTitle,
278
+ PopoverTrigger
279
+ } from "./chunk-3GF7OVTP.mjs";
261
280
  import {
262
281
  AiAssistantDrawer
263
282
  } from "./chunk-D4ILTPOG.mjs";
@@ -347,7 +366,7 @@ import {
347
366
  TYPOGRAPHY_UTILITY,
348
367
  getResponsiveTypographyCssVars,
349
368
  getTypographyCssVars
350
- } from "./chunk-CSDO6VBW.mjs";
369
+ } from "./chunk-LBMRIB3G.mjs";
351
370
  import {
352
371
  Accordion,
353
372
  AccordionContent,
@@ -356,7 +375,13 @@ import {
356
375
  } from "./chunk-MARPPFOJ.mjs";
357
376
  import {
358
377
  AddColumnModal
359
- } from "./chunk-3WMX6KWS.mjs";
378
+ } from "./chunk-Y4QFWRNR.mjs";
379
+ import {
380
+ Separator
381
+ } from "./chunk-FH6QVUVZ.mjs";
382
+ import {
383
+ Label
384
+ } from "./chunk-NSLMILBT.mjs";
360
385
  import {
361
386
  Select,
362
387
  SelectContent,
@@ -369,15 +394,9 @@ import {
369
394
  SelectTrigger,
370
395
  SelectValue
371
396
  } from "./chunk-7PYJD5JI.mjs";
372
- import {
373
- Separator
374
- } from "./chunk-FH6QVUVZ.mjs";
375
- import {
376
- Label
377
- } from "./chunk-NSLMILBT.mjs";
378
397
  import {
379
398
  AddLeadModal
380
- } from "./chunk-PR6V5XKM.mjs";
399
+ } from "./chunk-CGH4DRNG.mjs";
381
400
  import {
382
401
  Checkbox,
383
402
  CheckboxCard
@@ -386,9 +405,6 @@ import {
386
405
  Spinner,
387
406
  spinnerVariants
388
407
  } from "./chunk-7YAU5CY6.mjs";
389
- import {
390
- Input
391
- } from "./chunk-GYMYRIZP.mjs";
392
408
  import {
393
409
  Dialog,
394
410
  DialogClose,
@@ -401,6 +417,9 @@ import {
401
417
  DialogTitle,
402
418
  DialogTrigger
403
419
  } from "./chunk-XIRTEFKH.mjs";
420
+ import {
421
+ Input
422
+ } from "./chunk-GYMYRIZP.mjs";
404
423
  import {
405
424
  Button,
406
425
  buttonVariants
@@ -450,6 +469,7 @@ export {
450
469
  Badge,
451
470
  BorrowingCapacityLineChart,
452
471
  Button,
472
+ COLOR_PICKER_PRESETS,
453
473
  Calendar,
454
474
  CalendarDayButton,
455
475
  Card,
@@ -465,6 +485,9 @@ export {
465
485
  Checkbox,
466
486
  CheckboxCard,
467
487
  Chip,
488
+ ColorPicker,
489
+ ColorPickerContent,
490
+ ColorSwatch,
468
491
  Combobox,
469
492
  ComboboxContent,
470
493
  ComboboxEmpty,
@@ -628,10 +651,17 @@ export {
628
651
  SheetPortal,
629
652
  SheetTitle,
630
653
  SheetTrigger,
654
+ SidebarNav,
631
655
  Skeleton,
632
656
  Slider,
633
657
  Spinner,
634
658
  StageTimeline,
659
+ Step,
660
+ StepContent,
661
+ StepIndicator,
662
+ StepItem,
663
+ StepLabel,
664
+ Stepper,
635
665
  SummaryReportDrawer,
636
666
  Switch,
637
667
  SwitchCard,
@@ -673,6 +703,8 @@ export {
673
703
  getResponsiveTypographyCssVars,
674
704
  getSelectionColumn,
675
705
  getTypographyCssVars,
706
+ isValidHex,
707
+ normalizeHex,
676
708
  spinnerVariants,
677
709
  tabsListVariants,
678
710
  toggleVariants
@@ -57,12 +57,12 @@ var TYPOGRAPHY_DISPLAY = {
57
57
  small: style(600, "2.125rem", "2.625rem")
58
58
  };
59
59
  var TYPOGRAPHY_HEADING = {
60
- h1: style(700, "2rem", "2.5rem"),
60
+ h1: style(700, "1.875rem", "2.25rem"),
61
61
  h2: style(600, "1.75rem", "2.25rem"),
62
62
  h3: style(600, "1.5rem", "2rem"),
63
- h4: style(600, "1.3125rem", "1.75rem"),
63
+ h4: style(600, "1.25rem", "1.625rem"),
64
64
  h5: style(600, "1.125rem", "1.5rem"),
65
- h6: style(600, "1rem", "1.375rem")
65
+ h6: style(600, "0.9375rem", "1.25rem")
66
66
  };
67
67
  var TYPOGRAPHY_BODY = {
68
68
  large: style(400, "1.125rem", "1.75rem"),
@@ -71,16 +71,16 @@ var TYPOGRAPHY_BODY = {
71
71
  };
72
72
  var TYPOGRAPHY_LABEL = {
73
73
  large: style(600, "1rem", "1.25rem"),
74
- medium: style(600, "0.875rem", "1.125rem"),
75
- small: style(600, "0.75rem", "1rem", { letterSpacing: "0.03125rem" })
74
+ medium: style(600, "0.9375rem", "1.25rem"),
75
+ small: style(600, "0.8125rem", "1.125rem", { letterSpacing: "0.03125rem" })
76
76
  };
77
77
  var TYPOGRAPHY_BUTTON = {
78
- default: style(500, "0.875rem", "1.25rem"),
79
- xs: style(500, "0.75rem", "1.25rem")
78
+ default: style(600, "0.875rem", "1.25rem"),
79
+ xs: style(600, "0.75rem", "1.25rem")
80
80
  };
81
81
  var TYPOGRAPHY_UTILITY = {
82
- caption: style(400, "0.75rem", "1rem"),
83
- overline: style(600, "0.625rem", "0.875rem", {
82
+ caption: style(500, "0.8125rem", "1.125rem"),
83
+ overline: style(600, "0.75rem", "1rem", {
84
84
  letterSpacing: "0.09375rem",
85
85
  textTransform: "uppercase"
86
86
  }),
@@ -107,7 +107,7 @@ var TYPOGRAPHY_RESPONSIVE = {
107
107
  letterSpacing: "-0.03125rem"
108
108
  }),
109
109
  "display-medium": style(700, "2rem", "2.334rem"),
110
- h1: style(700, "1.75rem", "2.1875rem"),
110
+ h1: style(700, "1.625rem", "2rem"),
111
111
  h2: style(600, "1.5rem", "1.93rem")
112
112
  }
113
113
  };
@@ -10,7 +10,7 @@ import {
10
10
  TYPOGRAPHY_UTILITY,
11
11
  getResponsiveTypographyCssVars,
12
12
  getTypographyCssVars
13
- } from "../chunk-CSDO6VBW.mjs";
13
+ } from "../chunk-LBMRIB3G.mjs";
14
14
  import "../chunk-FWCSY2DS.mjs";
15
15
  export {
16
16
  FONT_FAMILY_SANS,