@wealthx/shadcn 1.0.2 → 1.2.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.
- package/.turbo/turbo-build.log +235 -138
- package/CHANGELOG.md +12 -0
- package/README.md +82 -0
- package/dist/{chunk-6OJF6XRN.mjs → chunk-24FUO7TD.mjs} +4 -8
- package/dist/{chunk-4AJ5HWHD.mjs → chunk-2I5S2AMY.mjs} +3 -3
- package/dist/chunk-2SF672SZ.mjs +161 -0
- package/dist/{chunk-GPRJQ24C.mjs → chunk-34NWQURD.mjs} +2 -2
- package/dist/{chunk-MQ72DIBH.mjs → chunk-3GF7OVTP.mjs} +14 -5
- package/dist/chunk-3WMX6KWS.mjs +245 -0
- package/dist/{chunk-PMKODV6M.mjs → chunk-462HMNO4.mjs} +6 -10
- package/dist/chunk-4CX4SBRO.mjs +153 -0
- package/dist/chunk-4MN6UQHG.mjs +443 -0
- package/dist/chunk-5QQVZTVZ.mjs +233 -0
- package/dist/{chunk-BGP2N52Z.mjs → chunk-66MI7Q4B.mjs} +5 -5
- package/dist/chunk-6FCGKSZX.mjs +268 -0
- package/dist/{chunk-CGOKTPXU.mjs → chunk-6JQFUE5I.mjs} +20 -23
- package/dist/{chunk-Z3MK2KKZ.mjs → chunk-7DHU4VGG.mjs} +7 -3
- package/dist/{chunk-VZ2NR7L3.mjs → chunk-7PYJD5JI.mjs} +35 -27
- package/dist/{chunk-JU2RUWHF.mjs → chunk-7XJHLGUV.mjs} +1 -1
- package/dist/{chunk-BMFN37JH.mjs → chunk-7YAU5CY6.mjs} +1 -1
- package/dist/chunk-A56YQQHG.mjs +402 -0
- package/dist/chunk-AH52LG6N.mjs +315 -0
- package/dist/{chunk-SLWCCURD.mjs → chunk-CLIN5525.mjs} +8 -4
- package/dist/{chunk-3VQNJ235.mjs → chunk-CSDO6VBW.mjs} +7 -0
- package/dist/chunk-D4ILTPOG.mjs +293 -0
- package/dist/{chunk-HS7TFG7V.mjs → chunk-D6ID6M4V.mjs} +1 -1
- package/dist/chunk-DOH3EHX7.mjs +378 -0
- package/dist/{chunk-MJIEMGRD.mjs → chunk-EFRENWEJ.mjs} +9 -17
- package/dist/chunk-ERGGHC2V.mjs +185 -0
- package/dist/{chunk-OXQQNQZI.mjs → chunk-FEZKMUCF.mjs} +10 -1
- package/dist/{chunk-55CEW76V.mjs → chunk-FH6QVUVZ.mjs} +1 -1
- package/dist/chunk-FMAXJ2SI.mjs +71 -0
- package/dist/chunk-FZIXGLMV.mjs +173 -0
- package/dist/{chunk-DS2AMHN2.mjs → chunk-GYMYRIZP.mjs} +2 -2
- package/dist/{chunk-KQDD5MU3.mjs → chunk-H45TKD34.mjs} +5 -5
- package/dist/{chunk-BBJBJSXQ.mjs → chunk-J5UICVJS.mjs} +1 -1
- package/dist/{chunk-RL772EH7.mjs → chunk-JHJHG4GO.mjs} +4 -12
- package/dist/chunk-KMCGSZTX.mjs +177 -0
- package/dist/{chunk-FHNT55I5.mjs → chunk-KUDCQ4FI.mjs} +4 -4
- package/dist/chunk-LE6YFY6D.mjs +209 -0
- package/dist/{chunk-HUVTPUV2.mjs → chunk-LLVQKSU3.mjs} +23 -19
- package/dist/{chunk-KKHTJNMM.mjs → chunk-MARPPFOJ.mjs} +8 -4
- package/dist/{chunk-6AFMNC42.mjs → chunk-N2PT566P.mjs} +15 -11
- package/dist/chunk-NLCKVHWB.mjs +161 -0
- package/dist/{chunk-YN5SYTOO.mjs → chunk-NQPOYKAQ.mjs} +9 -5
- package/dist/{chunk-ZZV5JVNW.mjs → chunk-NSLMILBT.mjs} +3 -7
- package/dist/chunk-NXA3CZ7A.mjs +248 -0
- package/dist/chunk-OGOYQ7BG.mjs +150 -0
- package/dist/{chunk-3NQGYJEZ.mjs → chunk-P6AM5V7O.mjs} +10 -18
- package/dist/{chunk-CZ3BW5GL.mjs → chunk-P76HMUI6.mjs} +5 -11
- package/dist/chunk-PCPLO5HT.mjs +671 -0
- package/dist/chunk-PG6K5XEC.mjs +475 -0
- package/dist/chunk-PJHPSRYD.mjs +234 -0
- package/dist/{chunk-DDPA2XXS.mjs → chunk-PMB3A7V3.mjs} +2 -2
- package/dist/chunk-PR6V5XKM.mjs +209 -0
- package/dist/{chunk-46OFHMQA.mjs → chunk-Q76O3RIQ.mjs} +10 -6
- package/dist/chunk-QVKWW6KE.mjs +272 -0
- package/dist/chunk-RGU7HOEC.mjs +140 -0
- package/dist/{chunk-JF4PHPD5.mjs → chunk-RGVKLTLH.mjs} +4 -4
- package/dist/{chunk-VG6UF6UT.mjs → chunk-RP3SQYA3.mjs} +2 -2
- package/dist/chunk-RRBS6D63.mjs +163 -0
- package/dist/chunk-SMQ3DG25.mjs +285 -0
- package/dist/chunk-SPJ5KXW7.mjs +199 -0
- package/dist/chunk-SYOD63OZ.mjs +225 -0
- package/dist/chunk-UFYSFDER.mjs +42 -0
- package/dist/chunk-VACKZOMY.mjs +190 -0
- package/dist/chunk-VLQZANBF.mjs +42 -0
- package/dist/chunk-WA6O6EUR.mjs +1885 -0
- package/dist/{chunk-E3K6O4FZ.mjs → chunk-WAZD7NFU.mjs} +5 -2
- package/dist/chunk-WG6JGJXB.mjs +165 -0
- package/dist/{chunk-I64K754C.mjs → chunk-WNGWBVLV.mjs} +2 -2
- package/dist/{chunk-3U7SD3MS.mjs → chunk-WOEHFRGB.mjs} +3 -3
- package/dist/{chunk-DKZRJOMF.mjs → chunk-XIRTEFKH.mjs} +12 -12
- package/dist/chunk-Y6DWJSKZ.mjs +79 -0
- package/dist/chunk-YKPROFLB.mjs +161 -0
- package/dist/{chunk-K76E2TQU.mjs → chunk-ZRO5JO3H.mjs} +107 -67
- package/dist/{chunk-VYMHBV6D.mjs → chunk-ZU4NV6RG.mjs} +5 -3
- package/dist/components/ui/accordion.js +40 -4
- package/dist/components/ui/accordion.mjs +2 -2
- package/dist/components/ui/add-column-modal.js +789 -0
- package/dist/components/ui/add-column-modal.mjs +17 -0
- package/dist/components/ui/add-lead-modal.js +647 -0
- package/dist/components/ui/add-lead-modal.mjs +16 -0
- package/dist/components/ui/ai-assistant-drawer.js +686 -0
- package/dist/components/ui/ai-assistant-drawer.mjs +16 -0
- package/dist/components/ui/alert-dialog.js +37 -5
- package/dist/components/ui/alert-dialog.mjs +4 -4
- package/dist/components/ui/alert.js +37 -11
- package/dist/components/ui/alert.mjs +2 -2
- package/dist/components/ui/avatar.js +36 -8
- package/dist/components/ui/avatar.mjs +2 -2
- package/dist/components/ui/backoffice-alert-history-chart.js +624 -0
- package/dist/components/ui/backoffice-alert-history-chart.mjs +16 -0
- package/dist/components/ui/backoffice-contact-history-chart.js +687 -0
- package/dist/components/ui/backoffice-contact-history-chart.mjs +16 -0
- package/dist/components/ui/badge.js +37 -2
- package/dist/components/ui/badge.mjs +2 -2
- package/dist/components/ui/borrowing-capacity-line-chart.js +639 -0
- package/dist/components/ui/borrowing-capacity-line-chart.mjs +16 -0
- package/dist/components/ui/button.js +35 -3
- package/dist/components/ui/button.mjs +2 -2
- package/dist/components/ui/calendar.js +43 -19
- package/dist/components/ui/calendar.mjs +3 -3
- package/dist/components/ui/card.js +40 -4
- package/dist/components/ui/card.mjs +2 -2
- package/dist/components/ui/cash-balance-line-chart.js +627 -0
- package/dist/components/ui/cash-balance-line-chart.mjs +16 -0
- package/dist/components/ui/cashflow-bar-chart.js +650 -0
- package/dist/components/ui/cashflow-bar-chart.mjs +16 -0
- package/dist/components/ui/checkbox.js +36 -5
- package/dist/components/ui/checkbox.mjs +2 -3
- package/dist/components/ui/chip.js +37 -2
- package/dist/components/ui/chip.mjs +3 -3
- package/dist/components/ui/combobox.js +280 -0
- package/dist/components/ui/combobox.mjs +28 -0
- package/dist/components/ui/data-table.js +160 -88
- package/dist/components/ui/data-table.mjs +10 -11
- package/dist/components/ui/date-picker.js +44 -20
- package/dist/components/ui/date-picker.mjs +6 -7
- package/dist/components/ui/dialog.js +44 -12
- package/dist/components/ui/dialog.mjs +4 -4
- package/dist/components/ui/drawer.js +46 -10
- package/dist/components/ui/drawer.mjs +3 -3
- package/dist/components/ui/dropdown-menu.js +40 -16
- package/dist/components/ui/dropdown-menu.mjs +3 -3
- package/dist/components/ui/empty.js +41 -5
- package/dist/components/ui/empty.mjs +2 -2
- package/dist/components/ui/expense-bar-chart.js +642 -0
- package/dist/components/ui/expense-bar-chart.mjs +16 -0
- package/dist/components/ui/field.js +53 -21
- package/dist/components/ui/field.mjs +4 -4
- package/dist/components/ui/financial-cards.js +1002 -0
- package/dist/components/ui/financial-cards.mjs +24 -0
- package/dist/components/ui/financial-drawers.js +637 -0
- package/dist/components/ui/financial-drawers.mjs +17 -0
- package/dist/components/ui/financial-primitives.js +218 -0
- package/dist/components/ui/financial-primitives.mjs +22 -0
- package/dist/components/ui/financial-sections.js +1422 -0
- package/dist/components/ui/financial-sections.mjs +30 -0
- package/dist/components/ui/form-primitives.js +682 -0
- package/dist/components/ui/form-primitives.mjs +19 -0
- package/dist/components/ui/income-bar-chart.js +641 -0
- package/dist/components/ui/income-bar-chart.mjs +16 -0
- package/dist/components/ui/input-group.js +43 -7
- package/dist/components/ui/input-group.mjs +5 -5
- package/dist/components/ui/input-otp.js +39 -3
- package/dist/components/ui/input-otp.mjs +2 -2
- package/dist/components/ui/input.js +34 -2
- package/dist/components/ui/input.mjs +2 -2
- package/dist/components/ui/kanban-column.js +1143 -0
- package/dist/components/ui/kanban-column.mjs +20 -0
- package/dist/components/ui/label.js +35 -7
- package/dist/components/ui/label.mjs +2 -2
- package/dist/components/ui/opportunity-card.js +960 -0
- package/dist/components/ui/opportunity-card.mjs +20 -0
- package/dist/components/ui/opportunity-edit-modals.js +3360 -0
- package/dist/components/ui/opportunity-edit-modals.mjs +37 -0
- package/dist/components/ui/opportunity-summary-tab.js +4365 -0
- package/dist/components/ui/opportunity-summary-tab.mjs +34 -0
- package/dist/components/ui/pagination.js +35 -3
- package/dist/components/ui/pagination.mjs +3 -3
- package/dist/components/ui/pipeline-alerts.js +103 -0
- package/dist/components/ui/pipeline-alerts.mjs +8 -0
- package/dist/components/ui/pipeline-board.js +1408 -0
- package/dist/components/ui/pipeline-board.mjs +24 -0
- package/dist/components/ui/pipeline-chart.js +216 -0
- package/dist/components/ui/pipeline-chart.mjs +10 -0
- package/dist/components/ui/pipeline-dialogs.js +1183 -0
- package/dist/components/ui/pipeline-dialogs.mjs +23 -0
- package/dist/components/ui/pipeline-primitives.js +300 -0
- package/dist/components/ui/pipeline-primitives.mjs +11 -0
- package/dist/components/ui/popover.js +45 -4
- package/dist/components/ui/popover.mjs +3 -3
- package/dist/components/ui/progress.js +33 -1
- package/dist/components/ui/progress.mjs +2 -2
- package/dist/components/ui/property-cashflow-doughnut-chart.js +523 -0
- package/dist/components/ui/property-cashflow-doughnut-chart.mjs +16 -0
- package/dist/components/ui/property-debt-equity-doughnut-chart.js +521 -0
- package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +16 -0
- package/dist/components/ui/property-mobile-estimate-line-chart.js +682 -0
- package/dist/components/ui/property-mobile-estimate-line-chart.mjs +16 -0
- package/dist/components/ui/radio-group.js +33 -1
- package/dist/components/ui/radio-group.mjs +2 -2
- package/dist/components/ui/select.js +66 -26
- package/dist/components/ui/select.mjs +3 -3
- package/dist/components/ui/separator.js +33 -1
- package/dist/components/ui/separator.mjs +2 -2
- package/dist/components/ui/sheet.js +37 -9
- package/dist/components/ui/sheet.mjs +3 -3
- package/dist/components/ui/skeleton.js +33 -1
- package/dist/components/ui/skeleton.mjs +2 -2
- package/dist/components/ui/slider.js +86 -102
- package/dist/components/ui/slider.mjs +2 -2
- package/dist/components/ui/spinner.js +33 -1
- package/dist/components/ui/spinner.mjs +2 -2
- package/dist/components/ui/stage-timeline.js +579 -0
- package/dist/components/ui/stage-timeline.mjs +15 -0
- package/dist/components/ui/switch.js +37 -4
- package/dist/components/ui/switch.mjs +2 -3
- package/dist/components/ui/table.js +37 -5
- package/dist/components/ui/table.mjs +2 -2
- package/dist/components/ui/tabs.js +36 -12
- package/dist/components/ui/tabs.mjs +2 -2
- package/dist/components/ui/textarea.js +34 -2
- package/dist/components/ui/textarea.mjs +2 -2
- package/dist/components/ui/toggle-group.js +35 -4
- package/dist/components/ui/toggle-group.mjs +3 -4
- package/dist/components/ui/toggle.js +35 -4
- package/dist/components/ui/toggle.mjs +2 -3
- package/dist/components/ui/tooltip.js +51 -22
- package/dist/components/ui/tooltip.mjs +3 -3
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +528 -0
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +16 -0
- package/dist/components/ui/transactions-income-expense-bar-chart.js +516 -0
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +16 -0
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +528 -0
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +16 -0
- package/dist/index.js +11613 -2868
- package/dist/index.mjs +377 -164
- package/dist/lib/theme-provider.js +10 -1
- package/dist/lib/theme-provider.mjs +1 -1
- package/dist/lib/typography.js +8 -0
- package/dist/lib/typography.mjs +3 -1
- package/dist/lib/utils.js +33 -1
- package/dist/lib/utils.mjs +1 -1
- package/dist/styles.css +1 -1
- package/package.json +169 -6
- package/src/components/index.tsx +323 -13
- package/src/components/ui/accordion.tsx +6 -3
- package/src/components/ui/add-column-modal.tsx +339 -0
- package/src/components/ui/add-lead-modal.tsx +290 -0
- package/src/components/ui/ai-assistant-drawer.tsx +408 -0
- package/src/components/ui/alert-dialog.tsx +80 -54
- package/src/components/ui/alert.tsx +28 -28
- package/src/components/ui/avatar.tsx +30 -29
- package/src/components/ui/backoffice-alert-history-chart.tsx +260 -0
- package/src/components/ui/backoffice-contact-history-chart.tsx +325 -0
- package/src/components/ui/badge.tsx +17 -15
- package/src/components/ui/borrowing-capacity-line-chart.tsx +357 -0
- package/src/components/ui/button.tsx +30 -27
- package/src/components/ui/calendar.tsx +53 -67
- package/src/components/ui/card.tsx +27 -24
- package/src/components/ui/cash-balance-line-chart.tsx +302 -0
- package/src/components/ui/cashflow-bar-chart.tsx +363 -0
- package/src/components/ui/chart-shared.tsx +261 -0
- package/src/components/ui/checkbox.tsx +30 -26
- package/src/components/ui/combobox.tsx +223 -0
- package/src/components/ui/data-table.tsx +160 -99
- package/src/components/ui/date-picker.tsx +0 -2
- package/src/components/ui/dialog.tsx +70 -60
- package/src/components/ui/drawer.tsx +57 -48
- package/src/components/ui/dropdown-menu.tsx +90 -82
- package/src/components/ui/empty.tsx +31 -27
- package/src/components/ui/expense-bar-chart.tsx +296 -0
- package/src/components/ui/field.tsx +70 -62
- package/src/components/ui/financial-cards.tsx +830 -0
- package/src/components/ui/financial-drawers.tsx +339 -0
- package/src/components/ui/financial-primitives.tsx +331 -0
- package/src/components/ui/financial-sections.tsx +672 -0
- package/src/components/ui/form-primitives.tsx +536 -0
- package/src/components/ui/income-bar-chart.tsx +297 -0
- package/src/components/ui/input-group.tsx +41 -34
- package/src/components/ui/input-otp.tsx +29 -24
- package/src/components/ui/input.tsx +8 -8
- package/src/components/ui/kanban-column.tsx +333 -0
- package/src/components/ui/label.tsx +9 -12
- package/src/components/ui/opportunity-card.tsx +616 -0
- package/src/components/ui/opportunity-edit-modals.tsx +2528 -0
- package/src/components/ui/opportunity-summary-tab.tsx +579 -0
- package/src/components/ui/pipeline-alerts.tsx +74 -0
- package/src/components/ui/pipeline-board.tsx +268 -0
- package/src/components/ui/pipeline-chart.tsx +173 -0
- package/src/components/ui/pipeline-dialogs.tsx +303 -0
- package/src/components/ui/pipeline-primitives.tsx +108 -0
- package/src/components/ui/popover.tsx +41 -36
- package/src/components/ui/property-cashflow-doughnut-chart.tsx +188 -0
- package/src/components/ui/property-debt-equity-doughnut-chart.tsx +185 -0
- package/src/components/ui/property-mobile-estimate-line-chart.tsx +393 -0
- package/src/components/ui/select.tsx +65 -52
- package/src/components/ui/sheet.tsx +55 -52
- package/src/components/ui/slider.tsx +54 -77
- package/src/components/ui/stage-timeline.tsx +205 -0
- package/src/components/ui/switch.tsx +42 -29
- package/src/components/ui/table.tsx +28 -28
- package/src/components/ui/tabs.tsx +22 -28
- package/src/components/ui/textarea.tsx +8 -8
- package/src/components/ui/toggle-group.tsx +0 -2
- package/src/components/ui/toggle.tsx +13 -15
- package/src/components/ui/tooltip.tsx +30 -28
- package/src/components/ui/transactions-expense-categories-doughnut-chart.tsx +191 -0
- package/src/components/ui/transactions-income-expense-bar-chart.tsx +205 -0
- package/src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx +191 -0
- package/src/lib/theme-provider.tsx +10 -0
- package/src/lib/typography.ts +9 -0
- package/src/lib/utils.ts +41 -3
- package/src/styles/globals.css +371 -124
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +32 -0
- package/dist/chunk-K74JRTJR.mjs +0 -105
- package/dist/chunk-V7CNWJT3.mjs +0 -10
|
@@ -61,8 +61,40 @@ var import_radio = require("@base-ui/react/radio");
|
|
|
61
61
|
// src/lib/utils.ts
|
|
62
62
|
var import_clsx = require("clsx");
|
|
63
63
|
var import_tailwind_merge = require("tailwind-merge");
|
|
64
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
65
|
+
extend: {
|
|
66
|
+
classGroups: {
|
|
67
|
+
"font-size": [
|
|
68
|
+
{
|
|
69
|
+
text: [
|
|
70
|
+
"display-large",
|
|
71
|
+
"display-medium",
|
|
72
|
+
"display-small",
|
|
73
|
+
"h1",
|
|
74
|
+
"h2",
|
|
75
|
+
"h3",
|
|
76
|
+
"h4",
|
|
77
|
+
"h5",
|
|
78
|
+
"h6",
|
|
79
|
+
"body-large",
|
|
80
|
+
"body-medium",
|
|
81
|
+
"body-small",
|
|
82
|
+
"label-large",
|
|
83
|
+
"label-medium",
|
|
84
|
+
"label-small",
|
|
85
|
+
"button",
|
|
86
|
+
"button-xs",
|
|
87
|
+
"caption",
|
|
88
|
+
"overline",
|
|
89
|
+
"code"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
});
|
|
64
96
|
function cn(...inputs) {
|
|
65
|
-
return
|
|
97
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
66
98
|
}
|
|
67
99
|
|
|
68
100
|
// src/components/ui/radio-group.tsx
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
RadioGroup,
|
|
3
3
|
RadioGroupCard,
|
|
4
4
|
RadioGroupItem
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-7XJHLGUV.mjs";
|
|
6
|
+
import "../../chunk-VLQZANBF.mjs";
|
|
7
7
|
import "../../chunk-FWCSY2DS.mjs";
|
|
8
8
|
export {
|
|
9
9
|
RadioGroup,
|
|
@@ -67,8 +67,40 @@ var import_select = require("@base-ui/react/select");
|
|
|
67
67
|
// src/lib/utils.ts
|
|
68
68
|
var import_clsx = require("clsx");
|
|
69
69
|
var import_tailwind_merge = require("tailwind-merge");
|
|
70
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
71
|
+
extend: {
|
|
72
|
+
classGroups: {
|
|
73
|
+
"font-size": [
|
|
74
|
+
{
|
|
75
|
+
text: [
|
|
76
|
+
"display-large",
|
|
77
|
+
"display-medium",
|
|
78
|
+
"display-small",
|
|
79
|
+
"h1",
|
|
80
|
+
"h2",
|
|
81
|
+
"h3",
|
|
82
|
+
"h4",
|
|
83
|
+
"h5",
|
|
84
|
+
"h6",
|
|
85
|
+
"body-large",
|
|
86
|
+
"body-medium",
|
|
87
|
+
"body-small",
|
|
88
|
+
"label-large",
|
|
89
|
+
"label-medium",
|
|
90
|
+
"label-small",
|
|
91
|
+
"button",
|
|
92
|
+
"button-xs",
|
|
93
|
+
"caption",
|
|
94
|
+
"overline",
|
|
95
|
+
"code"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
});
|
|
70
102
|
function cn(...inputs) {
|
|
71
|
-
return
|
|
103
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
72
104
|
}
|
|
73
105
|
|
|
74
106
|
// src/lib/theme-provider.tsx
|
|
@@ -107,7 +139,7 @@ function SelectTrigger(_a) {
|
|
|
107
139
|
import_select.Select.Trigger,
|
|
108
140
|
__spreadProps(__spreadValues({
|
|
109
141
|
className: cn(
|
|
110
|
-
"flex w-fit items-center justify-between gap-2 border border-input bg-transparent px-3 py-2 text-
|
|
142
|
+
"flex w-fit items-center justify-between gap-2 border border-input bg-transparent px-3 py-2 text-body-medium whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/20 data-popup-open:border-primary data-popup-open:ring-[3px] data-popup-open:ring-primary/20 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-placeholder:font-normal data-placeholder:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
111
143
|
className
|
|
112
144
|
),
|
|
113
145
|
"data-size": size,
|
|
@@ -131,34 +163,42 @@ function SelectContent(_a) {
|
|
|
131
163
|
"style"
|
|
132
164
|
]);
|
|
133
165
|
const themeVars = useThemeVars();
|
|
134
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
135
|
-
import_select.Select.
|
|
136
|
-
|
|
137
|
-
className:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
167
|
+
import_select.Select.Positioner,
|
|
168
|
+
{
|
|
169
|
+
className: "z-[200]",
|
|
170
|
+
align: "start",
|
|
171
|
+
alignItemWithTrigger: false,
|
|
172
|
+
sideOffset: 4,
|
|
173
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
174
|
+
import_select.Select.Popup,
|
|
175
|
+
__spreadProps(__spreadValues({
|
|
176
|
+
className: cn(
|
|
177
|
+
"relative max-h-[var(--available-height)] min-w-[var(--anchor-width,8rem)] overflow-x-hidden overflow-y-auto border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
178
|
+
className
|
|
179
|
+
),
|
|
180
|
+
"data-slot": "select-content",
|
|
181
|
+
style: __spreadValues(__spreadValues({}, themeVars), style)
|
|
182
|
+
}, props), {
|
|
183
|
+
children: [
|
|
184
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SelectScrollUpButton, {}),
|
|
185
|
+
children,
|
|
186
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SelectScrollDownButton, {})
|
|
187
|
+
]
|
|
188
|
+
})
|
|
189
|
+
)
|
|
190
|
+
}
|
|
191
|
+
) });
|
|
151
192
|
}
|
|
152
193
|
function SelectLabel(_a) {
|
|
153
|
-
var _b = _a, {
|
|
154
|
-
className
|
|
155
|
-
} = _b, props = __objRest(_b, [
|
|
156
|
-
"className"
|
|
157
|
-
]);
|
|
194
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
158
195
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
159
196
|
import_select.Select.GroupLabel,
|
|
160
197
|
__spreadValues({
|
|
161
|
-
className: cn(
|
|
198
|
+
className: cn(
|
|
199
|
+
"px-2 py-1.5 text-label-small text-muted-foreground",
|
|
200
|
+
className
|
|
201
|
+
),
|
|
162
202
|
"data-slot": "select-label"
|
|
163
203
|
}, props)
|
|
164
204
|
);
|
|
@@ -175,7 +215,7 @@ function SelectItem(_a) {
|
|
|
175
215
|
import_select.Select.Item,
|
|
176
216
|
__spreadProps(__spreadValues({
|
|
177
217
|
className: cn(
|
|
178
|
-
"relative flex w-full cursor-default items-center gap-2
|
|
218
|
+
"relative flex w-full cursor-default items-center gap-2 py-1.5 pr-8 pl-2 text-body-small outline-hidden select-none data-highlighted:bg-primary/5 data-highlighted:text-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
179
219
|
className
|
|
180
220
|
),
|
|
181
221
|
"data-slot": "select-item"
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
SelectSeparator,
|
|
10
10
|
SelectTrigger,
|
|
11
11
|
SelectValue
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-7PYJD5JI.mjs";
|
|
13
|
+
import "../../chunk-FEZKMUCF.mjs";
|
|
14
14
|
import "../../chunk-QOJ2DQD6.mjs";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-VLQZANBF.mjs";
|
|
16
16
|
import "../../chunk-FWCSY2DS.mjs";
|
|
17
17
|
export {
|
|
18
18
|
Select,
|
|
@@ -54,8 +54,40 @@ var import_separator = require("@base-ui/react/separator");
|
|
|
54
54
|
// src/lib/utils.ts
|
|
55
55
|
var import_clsx = require("clsx");
|
|
56
56
|
var import_tailwind_merge = require("tailwind-merge");
|
|
57
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
58
|
+
extend: {
|
|
59
|
+
classGroups: {
|
|
60
|
+
"font-size": [
|
|
61
|
+
{
|
|
62
|
+
text: [
|
|
63
|
+
"display-large",
|
|
64
|
+
"display-medium",
|
|
65
|
+
"display-small",
|
|
66
|
+
"h1",
|
|
67
|
+
"h2",
|
|
68
|
+
"h3",
|
|
69
|
+
"h4",
|
|
70
|
+
"h5",
|
|
71
|
+
"h6",
|
|
72
|
+
"body-large",
|
|
73
|
+
"body-medium",
|
|
74
|
+
"body-small",
|
|
75
|
+
"label-large",
|
|
76
|
+
"label-medium",
|
|
77
|
+
"label-small",
|
|
78
|
+
"button",
|
|
79
|
+
"button-xs",
|
|
80
|
+
"caption",
|
|
81
|
+
"overline",
|
|
82
|
+
"code"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
});
|
|
57
89
|
function cn(...inputs) {
|
|
58
|
-
return
|
|
90
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
59
91
|
}
|
|
60
92
|
|
|
61
93
|
// src/components/ui/separator.tsx
|
|
@@ -66,8 +66,40 @@ var import_dialog = require("@base-ui/react/dialog");
|
|
|
66
66
|
// src/lib/utils.ts
|
|
67
67
|
var import_clsx = require("clsx");
|
|
68
68
|
var import_tailwind_merge = require("tailwind-merge");
|
|
69
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
70
|
+
extend: {
|
|
71
|
+
classGroups: {
|
|
72
|
+
"font-size": [
|
|
73
|
+
{
|
|
74
|
+
text: [
|
|
75
|
+
"display-large",
|
|
76
|
+
"display-medium",
|
|
77
|
+
"display-small",
|
|
78
|
+
"h1",
|
|
79
|
+
"h2",
|
|
80
|
+
"h3",
|
|
81
|
+
"h4",
|
|
82
|
+
"h5",
|
|
83
|
+
"h6",
|
|
84
|
+
"body-large",
|
|
85
|
+
"body-medium",
|
|
86
|
+
"body-small",
|
|
87
|
+
"label-large",
|
|
88
|
+
"label-medium",
|
|
89
|
+
"label-small",
|
|
90
|
+
"button",
|
|
91
|
+
"button-xs",
|
|
92
|
+
"caption",
|
|
93
|
+
"overline",
|
|
94
|
+
"code"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
});
|
|
69
101
|
function cn(...inputs) {
|
|
70
|
-
return
|
|
102
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
71
103
|
}
|
|
72
104
|
|
|
73
105
|
// src/lib/theme-provider.tsx
|
|
@@ -81,8 +113,8 @@ function useThemeVars() {
|
|
|
81
113
|
// src/components/ui/sheet.tsx
|
|
82
114
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
83
115
|
var SIDE_CLASSES = {
|
|
84
|
-
right: "inset-y-0 right-0 h-full w-
|
|
85
|
-
left: "inset-y-0 left-0 h-full w-
|
|
116
|
+
right: "inset-y-0 right-0 h-full w-1/2 border-l data-ending-style:slide-out-to-right data-open:slide-in-from-right",
|
|
117
|
+
left: "inset-y-0 left-0 h-full w-1/2 border-r data-ending-style:slide-out-to-left data-open:slide-in-from-left",
|
|
86
118
|
top: "inset-x-0 top-0 h-auto border-b data-ending-style:slide-out-to-top data-open:slide-in-from-top",
|
|
87
119
|
bottom: "inset-x-0 bottom-0 h-auto border-t data-ending-style:slide-out-to-bottom data-open:slide-in-from-bottom"
|
|
88
120
|
};
|
|
@@ -186,11 +218,7 @@ function SheetFooter(_a) {
|
|
|
186
218
|
);
|
|
187
219
|
}
|
|
188
220
|
function SheetTitle(_a) {
|
|
189
|
-
var _b = _a, {
|
|
190
|
-
className
|
|
191
|
-
} = _b, props = __objRest(_b, [
|
|
192
|
-
"className"
|
|
193
|
-
]);
|
|
221
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
194
222
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
195
223
|
import_dialog.Dialog.Title,
|
|
196
224
|
__spreadValues({
|
|
@@ -208,7 +236,7 @@ function SheetDescription(_a) {
|
|
|
208
236
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
209
237
|
import_dialog.Dialog.Description,
|
|
210
238
|
__spreadValues({
|
|
211
|
-
className: cn("text-
|
|
239
|
+
className: cn("text-body-small text-muted-foreground", className),
|
|
212
240
|
"data-slot": "sheet-description"
|
|
213
241
|
}, props)
|
|
214
242
|
);
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
SheetPortal,
|
|
9
9
|
SheetTitle,
|
|
10
10
|
SheetTrigger
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-462HMNO4.mjs";
|
|
12
|
+
import "../../chunk-FEZKMUCF.mjs";
|
|
13
13
|
import "../../chunk-QOJ2DQD6.mjs";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-VLQZANBF.mjs";
|
|
15
15
|
import "../../chunk-FWCSY2DS.mjs";
|
|
16
16
|
export {
|
|
17
17
|
Sheet,
|
|
@@ -53,8 +53,40 @@ module.exports = __toCommonJS(skeleton_exports);
|
|
|
53
53
|
// src/lib/utils.ts
|
|
54
54
|
var import_clsx = require("clsx");
|
|
55
55
|
var import_tailwind_merge = require("tailwind-merge");
|
|
56
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
57
|
+
extend: {
|
|
58
|
+
classGroups: {
|
|
59
|
+
"font-size": [
|
|
60
|
+
{
|
|
61
|
+
text: [
|
|
62
|
+
"display-large",
|
|
63
|
+
"display-medium",
|
|
64
|
+
"display-small",
|
|
65
|
+
"h1",
|
|
66
|
+
"h2",
|
|
67
|
+
"h3",
|
|
68
|
+
"h4",
|
|
69
|
+
"h5",
|
|
70
|
+
"h6",
|
|
71
|
+
"body-large",
|
|
72
|
+
"body-medium",
|
|
73
|
+
"body-small",
|
|
74
|
+
"label-large",
|
|
75
|
+
"label-medium",
|
|
76
|
+
"label-small",
|
|
77
|
+
"button",
|
|
78
|
+
"button-xs",
|
|
79
|
+
"caption",
|
|
80
|
+
"overline",
|
|
81
|
+
"code"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
56
88
|
function cn(...inputs) {
|
|
57
|
-
return
|
|
89
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
58
90
|
}
|
|
59
91
|
|
|
60
92
|
// src/components/ui/skeleton.tsx
|
|
@@ -3,34 +3,8 @@ var __create = Object.create;
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __objRest = (source, exclude) => {
|
|
23
|
-
var target = {};
|
|
24
|
-
for (var prop in source)
|
|
25
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
26
|
-
target[prop] = source[prop];
|
|
27
|
-
if (source != null && __getOwnPropSymbols)
|
|
28
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
29
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
30
|
-
target[prop] = source[prop];
|
|
31
|
-
}
|
|
32
|
-
return target;
|
|
33
|
-
};
|
|
34
8
|
var __export = (target, all) => {
|
|
35
9
|
for (var name in all)
|
|
36
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -60,101 +34,111 @@ __export(slider_exports, {
|
|
|
60
34
|
});
|
|
61
35
|
module.exports = __toCommonJS(slider_exports);
|
|
62
36
|
var React = __toESM(require("react"));
|
|
37
|
+
var import_slider = require("@base-ui/react/slider");
|
|
63
38
|
|
|
64
39
|
// src/lib/utils.ts
|
|
65
40
|
var import_clsx = require("clsx");
|
|
66
41
|
var import_tailwind_merge = require("tailwind-merge");
|
|
42
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
43
|
+
extend: {
|
|
44
|
+
classGroups: {
|
|
45
|
+
"font-size": [
|
|
46
|
+
{
|
|
47
|
+
text: [
|
|
48
|
+
"display-large",
|
|
49
|
+
"display-medium",
|
|
50
|
+
"display-small",
|
|
51
|
+
"h1",
|
|
52
|
+
"h2",
|
|
53
|
+
"h3",
|
|
54
|
+
"h4",
|
|
55
|
+
"h5",
|
|
56
|
+
"h6",
|
|
57
|
+
"body-large",
|
|
58
|
+
"body-medium",
|
|
59
|
+
"body-small",
|
|
60
|
+
"label-large",
|
|
61
|
+
"label-medium",
|
|
62
|
+
"label-small",
|
|
63
|
+
"button",
|
|
64
|
+
"button-xs",
|
|
65
|
+
"caption",
|
|
66
|
+
"overline",
|
|
67
|
+
"code"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
});
|
|
67
74
|
function cn(...inputs) {
|
|
68
|
-
return
|
|
75
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
69
76
|
}
|
|
70
77
|
|
|
71
78
|
// src/components/ui/slider.tsx
|
|
72
79
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
73
80
|
var Slider = React.forwardRef(
|
|
74
|
-
(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"value",
|
|
87
|
-
"defaultValue",
|
|
88
|
-
"min",
|
|
89
|
-
"max",
|
|
90
|
-
"step",
|
|
91
|
-
"disabled",
|
|
92
|
-
"onValueChange"
|
|
93
|
-
]);
|
|
94
|
-
const [internalValue, setInternalValue] = React.useState(defaultValue);
|
|
95
|
-
const currentValue = value !== void 0 ? value : internalValue;
|
|
96
|
-
const percentage = (currentValue - min) / (max - min) * 100;
|
|
97
|
-
const handleChange = (e) => {
|
|
98
|
-
const newValue = Number(e.target.value);
|
|
99
|
-
if (value === void 0) {
|
|
100
|
-
setInternalValue(newValue);
|
|
101
|
-
}
|
|
102
|
-
onValueChange == null ? void 0 : onValueChange(newValue);
|
|
103
|
-
};
|
|
104
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
105
|
-
"div",
|
|
81
|
+
({
|
|
82
|
+
className,
|
|
83
|
+
value,
|
|
84
|
+
defaultValue = 0,
|
|
85
|
+
min = 0,
|
|
86
|
+
max = 100,
|
|
87
|
+
step = 1,
|
|
88
|
+
disabled = false,
|
|
89
|
+
onValueChange
|
|
90
|
+
}, ref) => {
|
|
91
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
92
|
+
import_slider.Slider.Root,
|
|
106
93
|
{
|
|
94
|
+
ref,
|
|
95
|
+
value,
|
|
96
|
+
defaultValue,
|
|
97
|
+
min,
|
|
98
|
+
max,
|
|
99
|
+
step,
|
|
100
|
+
disabled,
|
|
101
|
+
thumbAlignment: "edge",
|
|
102
|
+
onValueChange: (val) => onValueChange == null ? void 0 : onValueChange(val),
|
|
107
103
|
"data-slot": "slider",
|
|
108
104
|
className: cn(
|
|
109
|
-
"relative
|
|
105
|
+
"relative w-full touch-none select-none",
|
|
110
106
|
disabled && "opacity-50",
|
|
111
107
|
className
|
|
112
108
|
),
|
|
113
|
-
children:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
109
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
110
|
+
import_slider.Slider.Control,
|
|
111
|
+
{
|
|
112
|
+
className: "relative flex h-5 w-full cursor-pointer items-center",
|
|
113
|
+
"data-slot": "slider-control",
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
116
|
+
import_slider.Slider.Track,
|
|
121
117
|
{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
118
|
+
className: "relative h-2 w-full overflow-hidden rounded-full bg-muted",
|
|
119
|
+
"data-slot": "slider-track",
|
|
120
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
121
|
+
import_slider.Slider.Indicator,
|
|
122
|
+
{
|
|
123
|
+
className: "absolute h-full rounded-full bg-primary",
|
|
124
|
+
"data-slot": "slider-indicator"
|
|
125
|
+
}
|
|
126
|
+
)
|
|
125
127
|
}
|
|
126
|
-
)
|
|
127
|
-
}
|
|
128
|
-
),
|
|
129
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
130
|
-
"input",
|
|
131
|
-
__spreadValues({
|
|
132
|
-
ref,
|
|
133
|
-
type: "range",
|
|
134
|
-
min,
|
|
135
|
-
max,
|
|
136
|
-
step,
|
|
137
|
-
value: currentValue,
|
|
138
|
-
disabled,
|
|
139
|
-
onChange: handleChange,
|
|
140
|
-
className: cn(
|
|
141
|
-
"absolute inset-0 h-full w-full cursor-pointer opacity-0",
|
|
142
|
-
disabled && "cursor-not-allowed"
|
|
143
|
-
)
|
|
144
|
-
}, props)
|
|
145
|
-
),
|
|
146
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
147
|
-
"div",
|
|
148
|
-
{
|
|
149
|
-
"data-slot": "slider-thumb",
|
|
150
|
-
className: cn(
|
|
151
|
-
"pointer-events-none absolute top-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
152
|
-
"block size-5 rounded-full border-2 border-primary bg-background shadow-sm"
|
|
153
128
|
),
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
129
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
130
|
+
import_slider.Slider.Thumb,
|
|
131
|
+
{
|
|
132
|
+
className: cn(
|
|
133
|
+
"block size-5 rounded-full border-2 border-primary bg-background shadow-sm",
|
|
134
|
+
"outline-none"
|
|
135
|
+
),
|
|
136
|
+
"data-slot": "slider-thumb"
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
)
|
|
158
142
|
}
|
|
159
143
|
);
|
|
160
144
|
}
|
|
@@ -56,8 +56,40 @@ var import_lucide_react = require("lucide-react");
|
|
|
56
56
|
// src/lib/utils.ts
|
|
57
57
|
var import_clsx = require("clsx");
|
|
58
58
|
var import_tailwind_merge = require("tailwind-merge");
|
|
59
|
+
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
60
|
+
extend: {
|
|
61
|
+
classGroups: {
|
|
62
|
+
"font-size": [
|
|
63
|
+
{
|
|
64
|
+
text: [
|
|
65
|
+
"display-large",
|
|
66
|
+
"display-medium",
|
|
67
|
+
"display-small",
|
|
68
|
+
"h1",
|
|
69
|
+
"h2",
|
|
70
|
+
"h3",
|
|
71
|
+
"h4",
|
|
72
|
+
"h5",
|
|
73
|
+
"h6",
|
|
74
|
+
"body-large",
|
|
75
|
+
"body-medium",
|
|
76
|
+
"body-small",
|
|
77
|
+
"label-large",
|
|
78
|
+
"label-medium",
|
|
79
|
+
"label-small",
|
|
80
|
+
"button",
|
|
81
|
+
"button-xs",
|
|
82
|
+
"caption",
|
|
83
|
+
"overline",
|
|
84
|
+
"code"
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
});
|
|
59
91
|
function cn(...inputs) {
|
|
60
|
-
return
|
|
92
|
+
return twMerge((0, import_clsx.clsx)(inputs));
|
|
61
93
|
}
|
|
62
94
|
|
|
63
95
|
// src/components/ui/spinner.tsx
|