@datum-cloud/datum-ui 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{action-row-DTvs91_3.mjs → action-row-BEzE9x37.mjs} +2 -3
- package/dist/{adapter-context-h0jCVqGO.mjs → adapter-context-XT749tyT.mjs} +1 -2
- package/dist/alert/index.mjs +1 -2
- package/dist/{alert-SAPwee1h.mjs → alert-CVckvox4.mjs} +2 -3
- package/dist/app-navigation/index.mjs +2 -2
- package/dist/{app-navigation-BB_NLEWv.mjs → app-navigation-Bcx7hr9L.mjs} +10 -16
- package/dist/assistant/index.mjs +49 -56
- package/dist/autocomplete/index.mjs +1 -2
- package/dist/{autocomplete-BxtzndxZ.mjs → autocomplete-fSSmRLYK.mjs} +6 -8
- package/dist/autosearch/index.mjs +8 -10
- package/dist/avatar/index.mjs +2 -3
- package/dist/avatar-stack/index.mjs +1 -2
- package/dist/{avatar-stack-BUcsjhA6.mjs → avatar-stack-2ow672bR.mjs} +3 -4
- package/dist/badge/index.mjs +1 -2
- package/dist/{badge-DOZUr5DV.mjs → badge-D7A6GfWn.mjs} +2 -3
- package/dist/breadcrumb/index.mjs +1 -2
- package/dist/{breadcrumb-DmdhC8bE.mjs → breadcrumb-D97jAZ2N.mjs} +2 -3
- package/dist/button/index.mjs +2 -2
- package/dist/{button-CDPui_Ov.mjs → button-BU8TEbJ5.mjs} +3 -4
- package/dist/{button-CsdF61EI.mjs → button-C57mkFkS.mjs} +2 -3
- package/dist/{button-DoMqfQLu.mjs → button-Dj6cKrWj.mjs} +4 -6
- package/dist/button-group/index.mjs +1 -2
- package/dist/{button-group-DFrTH4L8.mjs → button-group-C3GKo-0p.mjs} +3 -4
- package/dist/calendar/index.mjs +4 -5
- package/dist/{calendar-date-picker-DPvVAW2I.mjs → calendar-date-picker-BUwgVaI1.mjs} +3 -4
- package/dist/card/index.mjs +1 -2
- package/dist/{card-save-bar-BZzNnKYj.mjs → card-save-bar-0XDpAJo_.mjs} +5 -8
- package/dist/chart/index.mjs +1 -2
- package/dist/{chart-EgzTS28l.mjs → chart-BsGsx2jb.mjs} +2 -3
- package/dist/checkbox/index.mjs +1 -2
- package/dist/{checkbox-C6P12fio.mjs → checkbox-CNljVnKj.mjs} +3 -5
- package/dist/{close.icon-DdXKQ4m0.mjs → close.icon-BCPmH4nN.mjs} +2 -3
- package/dist/code-editor/index.mjs +1 -2
- package/dist/{col-BYGWTB4j.mjs → col-CYHIfPJq.mjs} +5 -9
- package/dist/collapsible/index.mjs +1 -2
- package/dist/command/index.mjs +1 -2
- package/dist/{command-C0aGIYnQ.mjs → command-B0be-zU5.mjs} +3 -4
- package/dist/components/features/assistant/components/message/plan-card.d.ts +1 -1
- package/dist/data-table/index.mjs +1 -2
- package/dist/{data-table-CJiQQ6TM.mjs → data-table-s2YrE79S.mjs} +39 -66
- package/dist/date-picker/index.mjs +3 -3
- package/dist/date-time/index.mjs +1 -2
- package/dist/{date-time-lZdefM4H.mjs → date-time-BBRVM9qb.mjs} +4 -6
- package/dist/date-time-picker/index.mjs +1 -2
- package/dist/{date-time-picker-CricsXgF.mjs → date-time-picker-CLdaGiGC.mjs} +3 -4
- package/dist/{date-time-range-picker-DM4AIvQ1.mjs → date-time-range-picker-RZX4CS4b.mjs} +36 -59
- package/dist/dialog/index.mjs +1 -2
- package/dist/{dialog-Gu70fban.mjs → dialog-C8RXIQYm.mjs} +4 -5
- package/dist/{dialog-CmkrpaYy.mjs → dialog-D6sDXaH6.mjs} +2 -3
- package/dist/dropdown/index.mjs +1 -2
- package/dist/{dropdown-Xvduih96.mjs → dropdown-DR9j3Ni_.mjs} +3 -4
- package/dist/{dropdown-menu-b8zY5Cs6.mjs → dropdown-menu-CjgTr8Ab.mjs} +2 -3
- package/dist/dropzone/index.mjs +1 -2
- package/dist/{dropzone-ihksfjN2.mjs → dropzone-Cer9E-VH.mjs} +6 -8
- package/dist/empty-content/index.mjs +1 -2
- package/dist/{empty-content-CmuVcU0P.mjs → empty-content-B2FZ9cyt.mjs} +8 -13
- package/dist/form/adapters/conform/index.mjs +4 -6
- package/dist/form/adapters/rhf/index.mjs +6 -9
- package/dist/form/index.mjs +2 -2
- package/dist/form/stepper/index.mjs +11 -16
- package/dist/{form-D4R6C609.mjs → form-C4XcxxjK.mjs} +54 -86
- package/dist/{form-context-DzB2a-dw.mjs → form-context-BRzt53M5.mjs} +1 -2
- package/dist/grid/index.mjs +1 -2
- package/dist/grouped-table/index.mjs +1 -2
- package/dist/{grouped-table-fHguJz9W.mjs → grouped-table-32RO2v7U.mjs} +16 -24
- package/dist/hooks/index.mjs +4 -4
- package/dist/{hooks-CwZ6hyI1.mjs → hooks-WVJbyhCz.mjs} +1 -2
- package/dist/hover-card/index.mjs +1 -2
- package/dist/{hover-card-BNOE5vT5.mjs → hover-card-DSt1lZGg.mjs} +3 -5
- package/dist/{icon-wrapper-DKfJlJd0.mjs → icon-wrapper-CIk2th6R.mjs} +1 -2
- package/dist/icons/index.mjs +3 -3
- package/dist/index.mjs +79 -79
- package/dist/input/index.mjs +1 -2
- package/dist/{input-j4tbmYYz.mjs → input-DsT5qkJn.mjs} +3 -4
- package/dist/{input-DR-XbgpD.mjs → input-Wl1K48ca.mjs} +2 -3
- package/dist/input-group/index.mjs +1 -2
- package/dist/{input-group-DieA8aBt.mjs → input-group-CCzvJIZM.mjs} +5 -6
- package/dist/input-number/index.mjs +1 -2
- package/dist/{input-number-TXmW-X9o.mjs → input-number-DF-bfIo8.mjs} +5 -6
- package/dist/input-with-addons/index.mjs +2 -3
- package/dist/label/index.mjs +1 -2
- package/dist/{label-Bk6FXsju.mjs → label-BR1V3Imy.mjs} +3 -5
- package/dist/{layers-DWYdrGmC.mjs → layers-XEND2WKv.mjs} +17 -26
- package/dist/loader-overlay/index.mjs +1 -2
- package/dist/{loader-overlay-DD94azZX.mjs → loader-overlay-JvB8IQo3.mjs} +3 -4
- package/dist/logo/index.mjs +2 -2
- package/dist/logo/themed/index.mjs +3 -4
- package/dist/{logo-C3FxD7jb.mjs → logo-CkzKra6H.mjs} +2 -3
- package/dist/{logo-text-Dpm5O6Kg.mjs → logo-text-B54YiEte.mjs} +6 -11
- package/dist/logs/fixtures/index.mjs +2 -4
- package/dist/logs/index.mjs +34 -56
- package/dist/map/index.mjs +1 -2
- package/dist/{map-leaflet-imports-S3kx8Q-S.mjs → map-leaflet-imports-Xdz9Xiaf.mjs} +1 -2
- package/dist/mobile-sheet/index.mjs +1 -2
- package/dist/{mobile-sheet-9TootJGg.mjs → mobile-sheet-1995HYY_.mjs} +6 -9
- package/dist/more-actions/index.mjs +2 -2
- package/dist/{more-actions-C3DYWO0a.mjs → more-actions-D9k1ILzT.mjs} +6 -7
- package/dist/{motion-DvGRWdsm.mjs → motion-DOrRbLmy.mjs} +1 -2
- package/dist/multi-select/index.mjs +1 -2
- package/dist/{multi-select-CF0Yq5yf.mjs → multi-select-BUgx6VZF.mjs} +11 -15
- package/dist/nprogress/index.mjs +1 -2
- package/dist/page-title/index.mjs +1 -2
- package/dist/{page-title-ipRWEOeM.mjs → page-title-Djl3LvPT.mjs} +2 -3
- package/dist/picker/index.mjs +2 -2
- package/dist/{picker-BoKXW6_s.mjs → picker-C0h30DHf.mjs} +14 -25
- package/dist/popover/index.mjs +1 -2
- package/dist/{popover-X82NwhX9.mjs → popover-7YxyP_W0.mjs} +3 -5
- package/dist/radio-group/index.mjs +1 -2
- package/dist/{radio-group-LduBVTnh.mjs → radio-group-0RxTmRnF.mjs} +3 -5
- package/dist/responsive-dropdown/index.mjs +1 -2
- package/dist/{responsive-dropdown-C_KKgLbH.mjs → responsive-dropdown-DsWgpE_i.mjs} +5 -6
- package/dist/responsive-popover/index.mjs +1 -2
- package/dist/{responsive-popover-8VcjBM2d.mjs → responsive-popover-DJYd8lOK.mjs} +5 -6
- package/dist/rich-text-content/index.mjs +1 -2
- package/dist/{rich-text-content-DNonBD39.mjs → rich-text-content-BiIIowBU.mjs} +2 -3
- package/dist/rich-text-editor/index.mjs +2 -2
- package/dist/{rich-text-editor-CP1YyxMR.mjs → rich-text-editor-ibngjhQV.mjs} +14 -22
- package/dist/select/index.mjs +1 -2
- package/dist/{select-D4pk9e2d.mjs → select-DemYhwnG.mjs} +3 -4
- package/dist/{select-daE2Nn0Z.mjs → select-jgK6wyXj.mjs} +2 -3
- package/dist/separator/index.mjs +1 -2
- package/dist/{separator-vbPD_WFQ.mjs → separator-DNiiN2BN.mjs} +2 -3
- package/dist/settings-nav/index.mjs +1 -2
- package/dist/{settings-nav-Hf3GrCGv.mjs → settings-nav-CCZdPD-x.mjs} +2 -3
- package/dist/sheet/index.mjs +2 -2
- package/dist/{sheet-DHn6C_rs.mjs → sheet-DEpEJ_Rk.mjs} +4 -5
- package/dist/{sheet-DXCZyMHI.mjs → sheet-DYPtVIb2.mjs} +2 -3
- package/dist/sidebar/index.mjs +1 -2
- package/dist/{sidebar-sbqOOFii.mjs → sidebar-DWnxQWQ8.mjs} +13 -18
- package/dist/skeleton/index.mjs +3 -4
- package/dist/{skeleton-DFExK4GX.mjs → skeleton-CDPoo7-M.mjs} +2 -3
- package/dist/spinner/index.mjs +1 -2
- package/dist/{spinner-C5Xv-i2C.mjs → spinner-DjEpx6Q3.mjs} +2 -3
- package/dist/{spinner.icon-BYUMQ8H-.mjs → spinner.icon-D0SKuGFG.mjs} +2 -3
- package/dist/stepper/index.mjs +1 -2
- package/dist/{stepper-dNvkipop.mjs → stepper-ZipxpzWY.mjs} +10 -11
- package/dist/switch/index.mjs +1 -2
- package/dist/{switch-BaR-Vna4.mjs → switch-CWvVN9ea.mjs} +2 -3
- package/dist/table/index.mjs +2 -3
- package/dist/tabs/index.mjs +2 -3
- package/dist/tag-input/index.mjs +1 -2
- package/dist/{tag-input-c9OvWTSe.mjs → tag-input-DAMY703F.mjs} +8 -12
- package/dist/task-queue/index.mjs +1 -2
- package/dist/{task-queue-dropdown-CHPP5WIm.mjs → task-queue-dropdown-BgQSGDwg.mjs} +39 -59
- package/dist/textarea/index.mjs +1 -2
- package/dist/{textarea-DiSGxCBO.mjs → textarea-CvhdK6JY.mjs} +3 -4
- package/dist/{textarea-CCxpXJdh.mjs → textarea-D36SE4ki.mjs} +2 -3
- package/dist/theme/index.mjs +1 -2
- package/dist/{themes-Ba2bajuF.mjs → themes-BoxnQbbu.mjs} +8 -10
- package/dist/time-picker/index.mjs +1 -2
- package/dist/{time-picker-DQlc2gKW.mjs → time-picker-DgHjdcMZ.mjs} +3 -4
- package/dist/{to-api-format-QuJ81vQ9.mjs → to-api-format-EZInfj0_.mjs} +15 -23
- package/dist/toast/index.mjs +2 -2
- package/dist/{toast-BUPlDkN3.mjs → toast-CizxCEcK.mjs} +4 -6
- package/dist/tooltip/index.mjs +1 -2
- package/dist/{tooltip-DhbN1BDK.mjs → tooltip-OIySjJWW.mjs} +3 -5
- package/dist/transfer/index.mjs +1 -2
- package/dist/{transfer-DsshYgIk.mjs → transfer-91lwTOhX.mjs} +8 -14
- package/dist/{types-agDpVXBG.mjs → types-ChINrR8H.mjs} +7 -11
- package/dist/typography/index.mjs +1 -2
- package/dist/{typography-B1bpHKmV.mjs → typography-XFfN6PGD.mjs} +2 -3
- package/dist/{use-breakpoint-CwiUJSmk.mjs → use-breakpoint-zY_JYINK.mjs} +1 -2
- package/dist/{use-controllable-state-Dna7u3r9.mjs → use-controllable-state-DLeVgbAb.mjs} +1 -2
- package/dist/{use-copy-to-clipboard-DZDq_85T.mjs → use-copy-to-clipboard-CWKWHLxI.mjs} +1 -2
- package/dist/{use-debounced-search-input-yu_F0QBt.mjs → use-debounced-search-input-B4u28iLx.mjs} +1 -2
- package/dist/{use-deprecation-warning-DXrGc0jX.mjs → use-deprecation-warning-BS1V4IS5.mjs} +1 -2
- package/dist/{use-display-touched-CMEEv7aT.mjs → use-display-touched-BSq0Ninl.mjs} +3 -5
- package/dist/{use-option-picker-s2bUYwXC.mjs → use-option-picker-CBMU72LU.mjs} +6 -9
- package/dist/{use-toast-Bpq0yJIT.mjs → use-toast-CZAZeS95.mjs} +3 -5
- package/dist/utils/index.mjs +3 -3
- package/dist/{utils-CA4QEIJ8.mjs → utils-CPJ5MCfd.mjs} +1 -2
- package/dist/{utils-Bu32wN-x.mjs → utils-CTIuhCOs.mjs} +1 -2
- package/dist/visually-hidden/index.mjs +1 -2
- package/dist/{visuallyhidden-D7L_qs8b.mjs → visuallyhidden-Mg4OsZ-l.mjs} +1 -2
- package/dist/{zod-helpers-YEhVo2S-.mjs → zod-helpers-JcfFVJJd.mjs} +1 -2
- package/package.json +20 -20
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { CircleIcon } from "lucide-react";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
6
|
-
|
|
6
|
+
// ../shadcn/ui/radio-group.tsx
|
|
7
7
|
function RadioGroup$1({ className, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(RadioGroupPrimitive.Root, {
|
|
9
9
|
"data-slot": "radio-group",
|
|
@@ -23,8 +23,7 @@ function RadioGroupItem$1({ className, ...props }) {
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
//#region src/components/base/radio-group/radio-group.tsx
|
|
26
|
+
// src/components/base/radio-group/radio-group.tsx
|
|
28
27
|
function RadioGroup({ ref, className, ...props }) {
|
|
29
28
|
return /* @__PURE__ */ jsx(RadioGroup$1, {
|
|
30
29
|
ref,
|
|
@@ -41,5 +40,4 @@ function RadioGroupItem({ ref, className, ...props }) {
|
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
42
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
44
|
-
//#endregion
|
|
45
43
|
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ResponsiveDropdown };
|
|
1
|
+
export { t as ResponsiveDropdown } from "../responsive-dropdown-DsWgpE_i.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as
|
|
1
|
+
import { t as useBreakpoint } from "./use-breakpoint-zY_JYINK.mjs";
|
|
2
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
3
|
+
import { i as useInSheet, t as ResponsiveSheetTrigger } from "./mobile-sheet-1995HYY_.mjs";
|
|
4
|
+
import { i as PopoverTrigger, r as PopoverContent, t as Popover } from "./popover-7YxyP_W0.mjs";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/base/responsive-dropdown/responsive-dropdown.tsx
|
|
7
7
|
function ResponsiveDropdown({ open, onOpenChange, trigger, children, sheetTitle, sheetDescription, sheetFooter, align = "end", contentClassName, onCloseAutoFocus, responsive = true }) {
|
|
8
8
|
const breakpoint = useBreakpoint();
|
|
9
9
|
const inSheet = useInSheet();
|
|
@@ -31,5 +31,4 @@ function ResponsiveDropdown({ open, onOpenChange, trigger, children, sheetTitle,
|
|
|
31
31
|
})]
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
34
|
export { ResponsiveDropdown as t };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ResponsivePopover };
|
|
1
|
+
export { t as ResponsivePopover } from "../responsive-popover-DJYd8lOK.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as
|
|
1
|
+
import { t as useBreakpoint } from "./use-breakpoint-zY_JYINK.mjs";
|
|
2
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
3
|
+
import { i as useInSheet, t as ResponsiveSheetTrigger } from "./mobile-sheet-1995HYY_.mjs";
|
|
4
|
+
import { i as PopoverTrigger, r as PopoverContent, t as Popover } from "./popover-7YxyP_W0.mjs";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/base/responsive-popover/responsive-popover.tsx
|
|
7
7
|
function ResponsivePopover({ open, onOpenChange, trigger, children, sheetTitle, sheetDescription, sheetFooter, align = "start", side = "bottom", contentClassName, sideOffset, alignOffset, avoidCollisions, onOpenAutoFocus, onCloseAutoFocus, onInteractOutside, onEscapeKeyDown, responsive = true, modal = false }) {
|
|
8
8
|
const breakpoint = useBreakpoint();
|
|
9
9
|
const inSheet = useInSheet();
|
|
@@ -38,5 +38,4 @@ function ResponsivePopover({ open, onOpenChange, trigger, children, sheetTitle,
|
|
|
38
38
|
})]
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
//#endregion
|
|
42
41
|
export { ResponsivePopover as t };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { RichTextContent };
|
|
1
|
+
export { t as RichTextContent } from "../rich-text-content-BiIIowBU.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import DOMPurify from "isomorphic-dompurify";
|
|
4
|
-
|
|
4
|
+
// src/components/features/rich-text-editor/rich-text-content.tsx
|
|
5
5
|
const SANITIZE_CONFIG = {
|
|
6
6
|
ALLOWED_TAGS: [
|
|
7
7
|
"strong",
|
|
@@ -59,5 +59,4 @@ function RichTextContent({ content, className }) {
|
|
|
59
59
|
dangerouslySetInnerHTML: { __html: withSafeLinks }
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
//#endregion
|
|
63
62
|
export { RichTextContent as t };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as RichTextContent } from "../rich-text-content-
|
|
2
|
-
import { n as useRichTextEditor, t as RichTextEditor } from "../rich-text-editor-
|
|
1
|
+
import { t as RichTextContent } from "../rich-text-content-BiIIowBU.mjs";
|
|
2
|
+
import { n as useRichTextEditor, t as RichTextEditor } from "../rich-text-editor-ibngjhQV.mjs";
|
|
3
3
|
export { RichTextContent, RichTextEditor, useRichTextEditor };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as Input } from "./input-
|
|
5
|
-
import { t as ResponsivePopover } from "./responsive-popover-
|
|
6
|
-
import { t as
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
|
+
import { t as Tooltip } from "./tooltip-OIySjJWW.mjs";
|
|
3
|
+
import { t as Button } from "./button-Dj6cKrWj.mjs";
|
|
4
|
+
import { t as Input } from "./input-DsT5qkJn.mjs";
|
|
5
|
+
import { t as ResponsivePopover } from "./responsive-popover-DJYd8lOK.mjs";
|
|
6
|
+
import { t as Icon } from "./icon-wrapper-CIk2th6R.mjs";
|
|
7
7
|
import { BoldIcon, ItalicIcon, LinkIcon, StrikethroughIcon, UnderlineIcon, UnlinkIcon } from "lucide-react";
|
|
8
8
|
import { createContext, use, useCallback, useEffect, useState } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -13,7 +13,7 @@ import Placeholder from "@tiptap/extension-placeholder";
|
|
|
13
13
|
import Underline from "@tiptap/extension-underline";
|
|
14
14
|
import { EditorContent, useEditor } from "@tiptap/react";
|
|
15
15
|
import StarterKit from "@tiptap/starter-kit";
|
|
16
|
-
|
|
16
|
+
// src/components/features/rich-text-editor/toolbar/toolbar-button.tsx
|
|
17
17
|
function ToolbarButton({ ref, active, disabled, onClick, tooltip, children, className }) {
|
|
18
18
|
const button = /* @__PURE__ */ jsx("button", {
|
|
19
19
|
ref,
|
|
@@ -35,8 +35,7 @@ function ToolbarButton({ ref, active, disabled, onClick, tooltip, children, clas
|
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
ToolbarButton.displayName = "ToolbarButton";
|
|
38
|
-
|
|
39
|
-
//#region src/components/features/rich-text-editor/toolbar/bold-toolbar.tsx
|
|
38
|
+
// src/components/features/rich-text-editor/toolbar/bold-toolbar.tsx
|
|
40
39
|
function BoldToolbar() {
|
|
41
40
|
const { editor } = useRichTextEditor();
|
|
42
41
|
return /* @__PURE__ */ jsx(ToolbarButton, {
|
|
@@ -48,8 +47,7 @@ function BoldToolbar() {
|
|
|
48
47
|
children: /* @__PURE__ */ jsx(BoldIcon, { className: "h-4 w-4" })
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
|
-
|
|
52
|
-
//#region src/components/features/rich-text-editor/toolbar/italic-toolbar.tsx
|
|
50
|
+
// src/components/features/rich-text-editor/toolbar/italic-toolbar.tsx
|
|
53
51
|
function ItalicToolbar() {
|
|
54
52
|
const { editor } = useRichTextEditor();
|
|
55
53
|
return /* @__PURE__ */ jsx(ToolbarButton, {
|
|
@@ -61,8 +59,7 @@ function ItalicToolbar() {
|
|
|
61
59
|
children: /* @__PURE__ */ jsx(ItalicIcon, { className: "h-4 w-4" })
|
|
62
60
|
});
|
|
63
61
|
}
|
|
64
|
-
|
|
65
|
-
//#region src/components/features/rich-text-editor/toolbar/link-toolbar.tsx
|
|
62
|
+
// src/components/features/rich-text-editor/toolbar/link-toolbar.tsx
|
|
66
63
|
function normalizeUrl(input) {
|
|
67
64
|
const trimmed = input.trim();
|
|
68
65
|
if (!trimmed) return trimmed;
|
|
@@ -133,8 +130,7 @@ function LinkToolbar() {
|
|
|
133
130
|
})
|
|
134
131
|
});
|
|
135
132
|
}
|
|
136
|
-
|
|
137
|
-
//#region src/components/features/rich-text-editor/toolbar/strike-toolbar.tsx
|
|
133
|
+
// src/components/features/rich-text-editor/toolbar/strike-toolbar.tsx
|
|
138
134
|
function StrikeToolbar() {
|
|
139
135
|
const { editor } = useRichTextEditor();
|
|
140
136
|
return /* @__PURE__ */ jsx(ToolbarButton, {
|
|
@@ -146,8 +142,7 @@ function StrikeToolbar() {
|
|
|
146
142
|
children: /* @__PURE__ */ jsx(StrikethroughIcon, { className: "h-4 w-4" })
|
|
147
143
|
});
|
|
148
144
|
}
|
|
149
|
-
|
|
150
|
-
//#region src/components/features/rich-text-editor/toolbar/toolbar.tsx
|
|
145
|
+
// src/components/features/rich-text-editor/toolbar/toolbar.tsx
|
|
151
146
|
function Toolbar({ children, className }) {
|
|
152
147
|
return /* @__PURE__ */ jsx("div", {
|
|
153
148
|
className: cn("border-input-border flex items-center gap-0.5 border-b px-2 py-1", className),
|
|
@@ -157,8 +152,7 @@ function Toolbar({ children, className }) {
|
|
|
157
152
|
function ToolbarSeparator() {
|
|
158
153
|
return /* @__PURE__ */ jsx("div", { className: "bg-input-border mx-1 h-5 w-px" });
|
|
159
154
|
}
|
|
160
|
-
|
|
161
|
-
//#region src/components/features/rich-text-editor/toolbar/underline-toolbar.tsx
|
|
155
|
+
// src/components/features/rich-text-editor/toolbar/underline-toolbar.tsx
|
|
162
156
|
function UnderlineToolbar() {
|
|
163
157
|
const { editor } = useRichTextEditor();
|
|
164
158
|
return /* @__PURE__ */ jsx(ToolbarButton, {
|
|
@@ -170,8 +164,7 @@ function UnderlineToolbar() {
|
|
|
170
164
|
children: /* @__PURE__ */ jsx(UnderlineIcon, { className: "h-4 w-4" })
|
|
171
165
|
});
|
|
172
166
|
}
|
|
173
|
-
|
|
174
|
-
//#region src/components/features/rich-text-editor/rich-text-editor.tsx
|
|
167
|
+
// src/components/features/rich-text-editor/rich-text-editor.tsx
|
|
175
168
|
const RichTextEditorContext = createContext({ editor: null });
|
|
176
169
|
function useRichTextEditor() {
|
|
177
170
|
return use(RichTextEditorContext);
|
|
@@ -270,5 +263,4 @@ const RichTextEditor = Object.assign(RichTextEditorRoot, {
|
|
|
270
263
|
Link: LinkToolbar,
|
|
271
264
|
Separator: ToolbarSeparator
|
|
272
265
|
});
|
|
273
|
-
//#endregion
|
|
274
266
|
export { useRichTextEditor as n, RichTextEditor as t };
|
package/dist/select/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
1
|
+
export { t as Select, n as SelectContent, r as SelectGroup, i as SelectItem, a as SelectLabel, o as SelectScrollDownButton, s as SelectScrollUpButton, c as SelectSeparator, l as SelectTrigger, u as SelectValue } from "../select-DemYhwnG.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
1
|
+
import { a as SelectLabel$1, c as SelectSeparator$1, i as SelectItem$1, l as SelectTrigger$1, n as SelectContent$1, o as SelectScrollDownButton$1, r as SelectGroup$1, s as SelectScrollUpButton$1, t as Select$1, u as SelectValue$1 } from "./select-jgK6wyXj.mjs";
|
|
2
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/base/select/select.tsx
|
|
6
6
|
const Select = Select$1;
|
|
7
7
|
const SelectValue = SelectValue$1;
|
|
8
8
|
function SelectGroup({ ref, className, ...props }) {
|
|
@@ -69,5 +69,4 @@ function SelectScrollDownButton({ ref, className, ...props }) {
|
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
SelectScrollDownButton.displayName = "SelectScrollDownButton";
|
|
72
|
-
//#endregion
|
|
73
72
|
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
6
|
-
|
|
6
|
+
// ../shadcn/ui/select.tsx
|
|
7
7
|
function Select({ ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(SelectPrimitive.Root, {
|
|
9
9
|
"data-slot": "select",
|
|
@@ -90,5 +90,4 @@ function SelectScrollDownButton({ className, ...props }) {
|
|
|
90
90
|
children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
//#endregion
|
|
94
93
|
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|
package/dist/separator/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Separator };
|
|
1
|
+
export { t as Separator } from "../separator-DNiiN2BN.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
5
|
-
|
|
5
|
+
// ../shadcn/ui/separator.tsx
|
|
6
6
|
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx(SeparatorPrimitive.Root, {
|
|
8
8
|
"data-slot": "separator-root",
|
|
@@ -12,5 +12,4 @@ function Separator({ className, orientation = "horizontal", decorative = true, .
|
|
|
12
12
|
...props
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
-
//#endregion
|
|
16
15
|
export { Separator as t };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SettingsNav, SettingsNavItem, SettingsNavLabel };
|
|
1
|
+
export { t as SettingsNav, n as SettingsNavItem, r as SettingsNavLabel } from "../settings-nav-CCZdPD-x.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Slot } from "@radix-ui/react-slot";
|
|
6
|
-
|
|
6
|
+
// src/components/base/settings-nav/settings-nav.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Compact inset settings navigation for configuration pages.
|
|
9
9
|
*
|
|
@@ -90,5 +90,4 @@ function SettingsNavItem({ className, variant, asChild = false, icon, active = f
|
|
|
90
90
|
children: content
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
//#endregion
|
|
94
93
|
export { SettingsNavItem as n, SettingsNavLabel as r, SettingsNav as t };
|
package/dist/sheet/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger } from "../sheet-
|
|
2
|
-
import { i as SheetOverlay, n as SheetClose, r as SheetContent, t as Sheet } from "../sheet-
|
|
1
|
+
import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger } from "../sheet-DYPtVIb2.mjs";
|
|
2
|
+
import { i as SheetOverlay, n as SheetClose, r as SheetContent, t as Sheet } from "../sheet-DEpEJ_Rk.mjs";
|
|
3
3
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
1
|
+
import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger, t as Sheet$1 } from "./sheet-DYPtVIb2.mjs";
|
|
2
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
3
|
+
import { t as CloseIcon } from "./close.icon-BCPmH4nN.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
7
|
-
|
|
7
|
+
// src/components/base/sheet/sheet.tsx
|
|
8
8
|
const SheetClose = SheetPrimitive.Close;
|
|
9
9
|
function SheetOverlay({ className, ...props }) {
|
|
10
10
|
return /* @__PURE__ */ jsx(SheetPrimitive.Overlay, {
|
|
@@ -39,5 +39,4 @@ const Sheet = Object.assign(Sheet$1, {
|
|
|
39
39
|
Title: SheetTitle,
|
|
40
40
|
Description: SheetDescription
|
|
41
41
|
});
|
|
42
|
-
//#endregion
|
|
43
42
|
export { SheetOverlay as i, SheetClose as n, SheetContent as r, Sheet as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { XIcon } from "lucide-react";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
6
|
-
|
|
6
|
+
// ../shadcn/ui/sheet.tsx
|
|
7
7
|
function Sheet({ ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(SheetPrimitive.Root, {
|
|
9
9
|
"data-slot": "sheet",
|
|
@@ -71,5 +71,4 @@ function SheetDescription({ className, ...props }) {
|
|
|
71
71
|
...props
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
//#endregion
|
|
75
74
|
export { SheetHeader as a, SheetFooter as i, SheetContent as n, SheetTitle as o, SheetDescription as r, SheetTrigger as s, Sheet as t };
|
package/dist/sidebar/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
1
|
+
export { t as Sidebar, n as SidebarContent, r as SidebarFooter, y as SidebarGroup, b as SidebarGroupAction, x as SidebarGroupContent, S as SidebarGroupLabel, i as SidebarHeader, a as SidebarInput, o as SidebarInset, u as SidebarMenu, d as SidebarMenuAction, f as SidebarMenuBadge, p as SidebarMenuButton, m as SidebarMenuItem, h as SidebarMenuSkeleton, g as SidebarMenuSub, _ as SidebarMenuSubButton, v as SidebarMenuSubItem, C as SidebarProvider, s as SidebarRail, c as SidebarSeparator, l as SidebarTrigger, w as useSidebar } from "../sidebar-DWnxQWQ8.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
2
|
-
import { t as Separator } from "./separator-
|
|
3
|
-
import { t as Button } from "./button-
|
|
4
|
-
import { t as Icon } from "./icon-wrapper-
|
|
5
|
-
import { t as Input } from "./input-
|
|
6
|
-
import { a as SheetHeader, n as SheetContent, o as SheetTitle, r as SheetDescription, t as Sheet } from "./sheet-
|
|
7
|
-
import { i as TooltipProvider, t as Tooltip } from "./tooltip-
|
|
8
|
-
import { t as Skeleton } from "./skeleton-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
|
+
import { t as Separator } from "./separator-DNiiN2BN.mjs";
|
|
3
|
+
import { t as Button } from "./button-C57mkFkS.mjs";
|
|
4
|
+
import { t as Icon } from "./icon-wrapper-CIk2th6R.mjs";
|
|
5
|
+
import { t as Input } from "./input-DsT5qkJn.mjs";
|
|
6
|
+
import { a as SheetHeader, n as SheetContent, o as SheetTitle, r as SheetDescription, t as Sheet } from "./sheet-DYPtVIb2.mjs";
|
|
7
|
+
import { i as TooltipProvider, t as Tooltip } from "./tooltip-OIySjJWW.mjs";
|
|
8
|
+
import { t as Skeleton } from "./skeleton-CDPoo7-M.mjs";
|
|
9
9
|
import { cva } from "class-variance-authority";
|
|
10
10
|
import { PanelLeftCloseIcon, PanelLeftOpenIcon } from "lucide-react";
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Slot } from "@radix-ui/react-slot";
|
|
14
|
-
|
|
14
|
+
// ../shadcn/hooks/use-mobile.ts
|
|
15
15
|
const MOBILE_BREAKPOINT = 768;
|
|
16
16
|
function useIsMobile() {
|
|
17
17
|
const [isMobile, setIsMobile] = React.useState(void 0);
|
|
@@ -26,8 +26,7 @@ function useIsMobile() {
|
|
|
26
26
|
}, []);
|
|
27
27
|
return !!isMobile;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
//#region src/components/base/sidebar/context.tsx
|
|
29
|
+
// src/components/base/sidebar/context.tsx
|
|
31
30
|
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
32
31
|
const SIDEBAR_COOKIE_MAX_AGE = 604800;
|
|
33
32
|
const SIDEBAR_WIDTH = "13rem";
|
|
@@ -219,8 +218,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
219
218
|
})
|
|
220
219
|
});
|
|
221
220
|
}
|
|
222
|
-
|
|
223
|
-
//#region src/components/base/sidebar/group.tsx
|
|
221
|
+
// src/components/base/sidebar/group.tsx
|
|
224
222
|
function SidebarGroup({ className, ...props }) {
|
|
225
223
|
return /* @__PURE__ */ jsx("div", {
|
|
226
224
|
"data-slot": "sidebar-group",
|
|
@@ -253,8 +251,7 @@ function SidebarGroupContent({ className, ...props }) {
|
|
|
253
251
|
...props
|
|
254
252
|
});
|
|
255
253
|
}
|
|
256
|
-
|
|
257
|
-
//#region src/components/base/sidebar/menu.tsx
|
|
254
|
+
// src/components/base/sidebar/menu.tsx
|
|
258
255
|
function SidebarMenu({ className, ...props }) {
|
|
259
256
|
return /* @__PURE__ */ jsx("ul", {
|
|
260
257
|
"data-slot": "sidebar-menu",
|
|
@@ -388,8 +385,7 @@ function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false,
|
|
|
388
385
|
...props
|
|
389
386
|
});
|
|
390
387
|
}
|
|
391
|
-
|
|
392
|
-
//#region src/components/base/sidebar/shell.tsx
|
|
388
|
+
// src/components/base/sidebar/shell.tsx
|
|
393
389
|
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }) {
|
|
394
390
|
const { isMobile, state, openMobile, setOpenMobile, expandBehavior, showBackdrop, forceClose } = useSidebar();
|
|
395
391
|
const sidebarRef = React.useRef(null);
|
|
@@ -582,5 +578,4 @@ function SidebarContent({ className, onMouseEnter, onMouseLeave, ...props }) {
|
|
|
582
578
|
...props
|
|
583
579
|
});
|
|
584
580
|
}
|
|
585
|
-
//#endregion
|
|
586
581
|
export { SidebarProvider as C, SidebarGroupLabel as S, SidebarMenuSubButton as _, SidebarInput as a, SidebarGroupAction as b, SidebarSeparator as c, SidebarMenuAction as d, SidebarMenuBadge as f, SidebarMenuSub as g, SidebarMenuSkeleton as h, SidebarHeader as i, SidebarTrigger as l, SidebarMenuItem as m, SidebarContent as n, SidebarInset as o, SidebarMenuButton as p, SidebarFooter as r, SidebarRail as s, Sidebar as t, SidebarMenu as u, SidebarMenuSubItem as v, useSidebar as w, SidebarGroupContent as x, SidebarGroup as y };
|
package/dist/skeleton/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
1
|
+
import { t as Skeleton$1 } from "../skeleton-CDPoo7-M.mjs";
|
|
2
|
+
import { t as cn } from "../utils-CTIuhCOs.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/base/skeleton/skeleton.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Datum Skeleton component – extends shadcn Skeleton with Datum-specific styling.
|
|
8
8
|
*
|
|
@@ -22,5 +22,4 @@ function Skeleton({ ref, className, ...props }) {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
Skeleton.displayName = "Skeleton";
|
|
25
|
-
//#endregion
|
|
26
25
|
export { Skeleton };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// ../shadcn/ui/skeleton.tsx
|
|
4
4
|
function Skeleton({ className, ...props }) {
|
|
5
5
|
return /* @__PURE__ */ jsx("div", {
|
|
6
6
|
className: cn("bg-muted animate-pulse rounded-md", className),
|
|
7
7
|
...props
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { Skeleton as t };
|
package/dist/spinner/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Spinner };
|
|
1
|
+
export { t as Spinner } from "../spinner-DjEpx6Q3.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { Loader2Icon } from "lucide-react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// ../shadcn/ui/spinner.tsx
|
|
5
5
|
function Spinner({ className, ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx(Loader2Icon, {
|
|
7
7
|
role: "status",
|
|
@@ -10,5 +10,4 @@ function Spinner({ className, ...props }) {
|
|
|
10
10
|
...props
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
//#endregion
|
|
14
13
|
export { Spinner as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/icons/spinner.icon.tsx
|
|
5
5
|
const spinnerVariants = cva("animate-spin", {
|
|
6
6
|
variants: { size: {
|
|
7
7
|
"xs": "size-3",
|
|
@@ -44,5 +44,4 @@ function SpinnerIcon({ size, className, trackClassName = "text-border", indicato
|
|
|
44
44
|
})]
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { SpinnerIcon as t };
|
package/dist/stepper/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { defineStepper };
|
|
1
|
+
export { t as defineStepper } from "../stepper-ZipxpzWY.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
1
|
+
import { t as Button } from "./button-C57mkFkS.mjs";
|
|
2
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { Slot } from "@radix-ui/react-slot";
|
|
7
7
|
import * as Stepperize from "@stepperize/react";
|
|
8
|
-
|
|
8
|
+
// src/components/features/stepper/parts.tsx
|
|
9
9
|
const classForSeparator = cva([
|
|
10
10
|
"bg-muted",
|
|
11
11
|
"data-[state=completed]:bg-primary data-[disabled]:opacity-50",
|
|
@@ -103,8 +103,7 @@ function CircleStepIndicator({ currentStep, totalSteps, size = 80, strokeWidth =
|
|
|
103
103
|
})]
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
//#region src/components/features/stepper/utils.ts
|
|
106
|
+
// src/components/features/stepper/utils.ts
|
|
108
107
|
function scrollIntoStepperPanel(node, tracking) {
|
|
109
108
|
if (tracking) node?.scrollIntoView({
|
|
110
109
|
behavior: "smooth",
|
|
@@ -117,9 +116,11 @@ function useStepChildren(children) {
|
|
|
117
116
|
function extractChildren(children) {
|
|
118
117
|
const childrenArray = React.Children.toArray(children);
|
|
119
118
|
const map = /* @__PURE__ */ new Map();
|
|
120
|
-
for (const child of childrenArray) if (React.isValidElement(child))
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
for (const child of childrenArray) if (React.isValidElement(child)) {
|
|
120
|
+
if (child.type === Title) map.set("title", child);
|
|
121
|
+
else if (child.type === Description) map.set("description", child);
|
|
122
|
+
else map.set("panel", child);
|
|
123
|
+
}
|
|
123
124
|
return map;
|
|
124
125
|
}
|
|
125
126
|
function onStepKeyDown(e, nextStep, prevStep, instanceId) {
|
|
@@ -145,8 +146,7 @@ function getStepState(currentIndex, stepIndex) {
|
|
|
145
146
|
if (currentIndex > stepIndex) return "completed";
|
|
146
147
|
return "inactive";
|
|
147
148
|
}
|
|
148
|
-
|
|
149
|
-
//#region src/components/features/stepper/stepper.tsx
|
|
149
|
+
// src/components/features/stepper/stepper.tsx
|
|
150
150
|
const StepperContext = React.createContext(null);
|
|
151
151
|
function useStepperProvider() {
|
|
152
152
|
const context = React.use(StepperContext);
|
|
@@ -337,5 +337,4 @@ function defineStepper(...steps) {
|
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
//#endregion
|
|
341
340
|
export { defineStepper as t };
|
package/dist/switch/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Switch };
|
|
1
|
+
export { t as Switch } from "../switch-CWvVN9ea.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-CTIuhCOs.mjs";
|
|
2
2
|
import { CheckIcon, XIcon } from "lucide-react";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
6
|
-
|
|
6
|
+
// src/components/base/switch/switch.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Switch renders the Radix primitive directly rather than wrapping the shadcn
|
|
9
9
|
* one, because its state glyphs go inside the thumb. Building it here keeps the
|
|
@@ -30,5 +30,4 @@ function Switch({ ref, className, ...props }) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
Switch.displayName = "Switch";
|
|
33
|
-
//#endregion
|
|
34
33
|
export { Switch as t };
|
package/dist/table/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
1
|
+
import { t as cn } from "../utils-CTIuhCOs.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// ../shadcn/ui/table.tsx
|
|
5
5
|
function Table({ className, ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx("div", {
|
|
7
7
|
"data-slot": "table-container",
|
|
@@ -62,5 +62,4 @@ function TableCaption({ className, ...props }) {
|
|
|
62
62
|
...props
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
//#endregion
|
|
66
65
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/tabs/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
1
|
+
import { t as cn } from "../utils-CTIuhCOs.mjs";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
6
6
|
import { motion } from "motion/react";
|
|
7
|
-
|
|
7
|
+
// src/components/base/tabs/tabs.tsx
|
|
8
8
|
const TabsContext = React.createContext({
|
|
9
9
|
value: void 0,
|
|
10
10
|
indicatorId: "tabs"
|
|
@@ -103,5 +103,4 @@ function TabsLinkTrigger({ value, href, linkComponent: LinkComp = "a", children,
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
//#endregion
|
|
107
106
|
export { Tabs, TabsContent, TabsLinkTrigger, TabsList, TabsTrigger };
|