@eluan/core 0.1.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/LICENSE +21 -0
- package/README.md +52 -0
- package/dist/accordion-BbMxlj3j.cjs +1 -0
- package/dist/accordion-CXia5iw_.js +28 -0
- package/dist/accordion.cjs +1 -0
- package/dist/accordion.d.ts +1 -0
- package/dist/accordion.js +8 -0
- package/dist/action-popover-Cbn19EbH.cjs +1 -0
- package/dist/action-popover-eGNn1j7S.js +22 -0
- package/dist/action-popover.cjs +1 -0
- package/dist/action-popover.d.ts +1 -0
- package/dist/action-popover.js +5 -0
- package/dist/aspect-ratio-DLyuGSGy.js +12 -0
- package/dist/aspect-ratio-sDUXILPX.cjs +1 -0
- package/dist/aspect-ratio.cjs +1 -0
- package/dist/aspect-ratio.d.ts +1 -0
- package/dist/aspect-ratio.js +5 -0
- package/dist/avatar-BsiJB5zR.js +134 -0
- package/dist/avatar-Caw6wXQN.cjs +1 -0
- package/dist/avatar.cjs +1 -0
- package/dist/avatar.d.ts +1 -0
- package/dist/avatar.js +10 -0
- package/dist/badge-BZli5zpU.js +117 -0
- package/dist/badge-CnJpMnon.cjs +1 -0
- package/dist/badge.cjs +1 -0
- package/dist/badge.d.ts +1 -0
- package/dist/badge.js +5 -0
- package/dist/banner-CqgXXNRv.js +112 -0
- package/dist/banner-D64jTKV8.cjs +1 -0
- package/dist/banner.cjs +1 -0
- package/dist/banner.d.ts +1 -0
- package/dist/banner.js +5 -0
- package/dist/breadcrumb-BPB6FOAt.js +56 -0
- package/dist/breadcrumb-CUJua1hE.cjs +1 -0
- package/dist/breadcrumb.cjs +1 -0
- package/dist/breadcrumb.d.ts +1 -0
- package/dist/breadcrumb.js +11 -0
- package/dist/button-CT6_HUIx.cjs +1 -0
- package/dist/button-nntae7sN.js +256 -0
- package/dist/button.cjs +1 -0
- package/dist/button.d.ts +1 -0
- package/dist/button.js +5 -0
- package/dist/calendar-BzinprHi.js +272 -0
- package/dist/calendar-DyIe52PQ.cjs +66 -0
- package/dist/calendar.cjs +1 -0
- package/dist/calendar.d.ts +1 -0
- package/dist/calendar.js +5 -0
- package/dist/card-80y0WWWV.js +70 -0
- package/dist/card-D57HaBr_.cjs +1 -0
- package/dist/card.cjs +1 -0
- package/dist/card.d.ts +1 -0
- package/dist/card.js +10 -0
- package/dist/carousel-D8FSc_tM.cjs +1 -0
- package/dist/carousel-UUulZiGR.js +125 -0
- package/dist/carousel.cjs +1 -0
- package/dist/carousel.d.ts +1 -0
- package/dist/carousel.js +9 -0
- package/dist/checkbox-CR6mntVh.js +10 -0
- package/dist/checkbox-Cx5qbEn4.cjs +1 -0
- package/dist/checkbox-group-B-mimaCX.js +81 -0
- package/dist/checkbox-group-iKPfMVTu.cjs +1 -0
- package/dist/checkbox-group.cjs +1 -0
- package/dist/checkbox-group.d.ts +1 -0
- package/dist/checkbox-group.js +7 -0
- package/dist/checkbox.cjs +1 -0
- package/dist/checkbox.d.ts +1 -0
- package/dist/checkbox.js +5 -0
- package/dist/code-block-BXOzo8zX.js +1335 -0
- package/dist/code-block-CH0gswm8.cjs +2 -0
- package/dist/code-block.cjs +1 -0
- package/dist/code-block.d.ts +1 -0
- package/dist/code-block.js +5 -0
- package/dist/collapsible-BUUUXTCi.cjs +1 -0
- package/dist/collapsible-hYY3yFPg.js +8 -0
- package/dist/collapsible.cjs +1 -0
- package/dist/collapsible.d.ts +1 -0
- package/dist/collapsible.js +7 -0
- package/dist/command-BWY863DY.cjs +1 -0
- package/dist/command-ButF6joJ.js +99 -0
- package/dist/command.cjs +1 -0
- package/dist/command.d.ts +1 -0
- package/dist/command.js +13 -0
- package/dist/components/accordion.d.ts +10 -0
- package/dist/components/action-popover.d.ts +20 -0
- package/dist/components/aspect-ratio.d.ts +5 -0
- package/dist/components/avatar.d.ts +26 -0
- package/dist/components/badge.d.ts +12 -0
- package/dist/components/banner.d.ts +13 -0
- package/dist/components/breadcrumb.d.ts +27 -0
- package/dist/components/button.d.ts +19 -0
- package/dist/components/calendar.d.ts +10 -0
- package/dist/components/card.d.ts +16 -0
- package/dist/components/carousel.d.ts +18 -0
- package/dist/components/checkbox-group.d.ts +23 -0
- package/dist/components/checkbox.d.ts +5 -0
- package/dist/components/code-block.d.ts +32 -0
- package/dist/components/collapsible.d.ts +5 -0
- package/dist/components/command.d.ts +57 -0
- package/dist/components/context-menu.d.ts +33 -0
- package/dist/components/credit-card-input.d.ts +27 -0
- package/dist/components/date-picker.d.ts +24 -0
- package/dist/components/datetime-picker.d.ts +11 -0
- package/dist/components/decimal-input.d.ts +41 -0
- package/dist/components/dialog.d.ts +25 -0
- package/dist/components/drawer.d.ts +33 -0
- package/dist/components/dropdown-menu.d.ts +34 -0
- package/dist/components/email-input.d.ts +7 -0
- package/dist/components/fieldset.d.ts +7 -0
- package/dist/components/file-input.d.ts +30 -0
- package/dist/components/footer.d.ts +38 -0
- package/dist/components/form-label.d.ts +16 -0
- package/dist/components/header-navigation.d.ts +18 -0
- package/dist/components/header.d.ts +1 -0
- package/dist/components/hover-card.d.ts +7 -0
- package/dist/components/input-otp.d.ts +23 -0
- package/dist/components/input.d.ts +19 -0
- package/dist/components/kbd.d.ts +20 -0
- package/dist/components/media.d.ts +17 -0
- package/dist/components/menubar.d.ts +36 -0
- package/dist/components/multi-select.d.ts +18 -0
- package/dist/components/navigation-drawer.d.ts +54 -0
- package/dist/components/navigation-menu.d.ts +18 -0
- package/dist/components/number-input.d.ts +13 -0
- package/dist/components/pagination.d.ts +40 -0
- package/dist/components/password-input.d.ts +14 -0
- package/dist/components/phone-input.d.ts +17 -0
- package/dist/components/popover.d.ts +8 -0
- package/dist/components/progress.d.ts +7 -0
- package/dist/components/radio-group.d.ts +7 -0
- package/dist/components/rich-text.d.ts +15 -0
- package/dist/components/scroll-area.d.ts +7 -0
- package/dist/components/search-input.d.ts +39 -0
- package/dist/components/select.d.ts +22 -0
- package/dist/components/separator.d.ts +6 -0
- package/dist/components/sheet.d.ts +27 -0
- package/dist/components/skeleton.d.ts +5 -0
- package/dist/components/slider.d.ts +5 -0
- package/dist/components/spinner.d.ts +7 -0
- package/dist/components/stepper.d.ts +21 -0
- package/dist/components/switch.d.ts +5 -0
- package/dist/components/table.d.ts +22 -0
- package/dist/components/tabs.d.ts +10 -0
- package/dist/components/textarea.d.ts +5 -0
- package/dist/components/time-input.d.ts +21 -0
- package/dist/components/timeline.d.ts +34 -0
- package/dist/components/toast.d.ts +4 -0
- package/dist/components/toggle-group.d.ts +14 -0
- package/dist/components/toggle.d.ts +10 -0
- package/dist/components/tooltip.d.ts +8 -0
- package/dist/components/tree-view.d.ts +19 -0
- package/dist/context-menu-DQh1EvFX.cjs +1 -0
- package/dist/context-menu-Da5JJFgE.js +95 -0
- package/dist/context-menu.cjs +1 -0
- package/dist/context-menu.d.ts +1 -0
- package/dist/context-menu.js +19 -0
- package/dist/credit-card-input-BRv7r_Z_.cjs +1 -0
- package/dist/credit-card-input-YutN_krQ.js +180 -0
- package/dist/credit-card-input.cjs +1 -0
- package/dist/credit-card-input.d.ts +1 -0
- package/dist/credit-card-input.js +8 -0
- package/dist/date-picker-DYsE7_v0.cjs +1 -0
- package/dist/date-picker-ioqGlU1x.js +55 -0
- package/dist/date-picker.cjs +1 -0
- package/dist/date-picker.d.ts +1 -0
- package/dist/date-picker.js +6 -0
- package/dist/datetime-picker-BGa-aOfq.cjs +1 -0
- package/dist/datetime-picker-CRVKsoKc.js +98 -0
- package/dist/datetime-picker.cjs +1 -0
- package/dist/datetime-picker.d.ts +1 -0
- package/dist/datetime-picker.js +5 -0
- package/dist/decimal-input-BAGAfAp7.js +177 -0
- package/dist/decimal-input-CtAZp5ka.cjs +1 -0
- package/dist/decimal-input.cjs +1 -0
- package/dist/decimal-input.d.ts +1 -0
- package/dist/decimal-input.js +9 -0
- package/dist/dialog-DAY0non_.js +59 -0
- package/dist/dialog-DaO5_1FE.cjs +1 -0
- package/dist/dialog.cjs +1 -0
- package/dist/dialog.d.ts +1 -0
- package/dist/dialog.js +14 -0
- package/dist/drawer-ChIEo1Vx.js +161 -0
- package/dist/drawer-DMmAzv-6.cjs +1 -0
- package/dist/drawer.cjs +1 -0
- package/dist/drawer.d.ts +1 -0
- package/dist/drawer.js +14 -0
- package/dist/dropdown-menu-BRhqJFtK.js +110 -0
- package/dist/dropdown-menu-CxRQEecr.cjs +1 -0
- package/dist/dropdown-menu.cjs +1 -0
- package/dist/dropdown-menu.d.ts +1 -0
- package/dist/dropdown-menu.js +19 -0
- package/dist/email-input-CiqmwAYT.cjs +1 -0
- package/dist/email-input-ZRXJoKUn.js +29 -0
- package/dist/email-input.cjs +1 -0
- package/dist/email-input.d.ts +1 -0
- package/dist/email-input.js +5 -0
- package/dist/fieldset-D-hGYILF.js +14 -0
- package/dist/fieldset-DAv2Ggd8.cjs +1 -0
- package/dist/fieldset.cjs +1 -0
- package/dist/fieldset.d.ts +1 -0
- package/dist/fieldset.js +7 -0
- package/dist/file-input-BGTrB0cs.cjs +1 -0
- package/dist/file-input-BLs5K_r2.js +227 -0
- package/dist/file-input.cjs +1 -0
- package/dist/file-input.d.ts +1 -0
- package/dist/file-input.js +9 -0
- package/dist/footer-OvNxNb2K.cjs +1 -0
- package/dist/footer-hjSI-aUh.js +117 -0
- package/dist/footer.cjs +1 -0
- package/dist/footer.d.ts +1 -0
- package/dist/footer.js +19 -0
- package/dist/form-label-5f53LEry.cjs +1 -0
- package/dist/form-label-Yt_CRHVE.js +42 -0
- package/dist/form-label.cjs +1 -0
- package/dist/form-label.d.ts +1 -0
- package/dist/form-label.js +8 -0
- package/dist/header-navigation-Kx7h7lMv.cjs +1 -0
- package/dist/header-navigation-_klqI2OP.js +145 -0
- package/dist/header-navigation.cjs +1 -0
- package/dist/header-navigation.d.ts +1 -0
- package/dist/header-navigation.js +5 -0
- package/dist/header.cjs +1 -0
- package/dist/header.d.ts +1 -0
- package/dist/header.js +5 -0
- package/dist/hover-card-B1c-blFU.js +15 -0
- package/dist/hover-card-DIvfJrUP.cjs +1 -0
- package/dist/hover-card.cjs +1 -0
- package/dist/hover-card.d.ts +1 -0
- package/dist/hover-card.js +7 -0
- package/dist/index.cjs +6 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +520 -0
- package/dist/input-CFzV2DMn.js +128 -0
- package/dist/input-CtFmiB4z.cjs +1 -0
- package/dist/input-otp-DK9DLJkj.cjs +1 -0
- package/dist/input-otp-aX3qLlEW.js +88 -0
- package/dist/input-otp.cjs +1 -0
- package/dist/input-otp.d.ts +1 -0
- package/dist/input-otp.js +8 -0
- package/dist/input.cjs +1 -0
- package/dist/input.d.ts +1 -0
- package/dist/input.js +5 -0
- package/dist/kbd-BDOIULN0.js +153 -0
- package/dist/kbd-CRXHjf__.cjs +1 -0
- package/dist/kbd.cjs +1 -0
- package/dist/kbd.d.ts +1 -0
- package/dist/kbd.js +10 -0
- package/dist/media-CNlM4uDT.cjs +1 -0
- package/dist/media-ChW2bsnq.js +158 -0
- package/dist/media.cjs +1 -0
- package/dist/media.d.ts +1 -0
- package/dist/media.js +7 -0
- package/dist/menubar-BYX0L59g.cjs +1 -0
- package/dist/menubar-Du-kLZh6.js +107 -0
- package/dist/menubar.cjs +1 -0
- package/dist/menubar.d.ts +1 -0
- package/dist/menubar.js +20 -0
- package/dist/multi-select-C3VuEz8X.js +70 -0
- package/dist/multi-select-_DYPhuhp.cjs +1 -0
- package/dist/multi-select.cjs +1 -0
- package/dist/multi-select.d.ts +1 -0
- package/dist/multi-select.js +5 -0
- package/dist/navigation-drawer-D--FbZEd.js +155 -0
- package/dist/navigation-drawer-WGKTRBl_.cjs +1 -0
- package/dist/navigation-drawer.cjs +1 -0
- package/dist/navigation-drawer.d.ts +1 -0
- package/dist/navigation-drawer.js +14 -0
- package/dist/navigation-menu-Cp5Qt84b.cjs +1 -0
- package/dist/navigation-menu-yQHp8kq5.js +49 -0
- package/dist/navigation-menu.cjs +1 -0
- package/dist/navigation-menu.d.ts +1 -0
- package/dist/navigation-menu.js +13 -0
- package/dist/number-input-BdkF_YEo.js +66 -0
- package/dist/number-input-emzdVMCg.cjs +1 -0
- package/dist/number-input.cjs +1 -0
- package/dist/number-input.d.ts +1 -0
- package/dist/number-input.js +5 -0
- package/dist/pagination-BiEchkN6.cjs +1 -0
- package/dist/pagination-CohVWKa8.js +136 -0
- package/dist/pagination.cjs +1 -0
- package/dist/pagination.d.ts +1 -0
- package/dist/pagination.js +11 -0
- package/dist/password-input-CnkiwWVo.cjs +1 -0
- package/dist/password-input-DCg5E__k.js +86 -0
- package/dist/password-input.cjs +1 -0
- package/dist/password-input.d.ts +1 -0
- package/dist/password-input.js +5 -0
- package/dist/phone-input-Brm07Ltw.cjs +1 -0
- package/dist/phone-input-DFq6toxM.js +51 -0
- package/dist/phone-input.cjs +1 -0
- package/dist/phone-input.d.ts +1 -0
- package/dist/phone-input.js +6 -0
- package/dist/popover-5z1it-o9.cjs +1 -0
- package/dist/popover-DQgrg789.js +65 -0
- package/dist/popover.cjs +1 -0
- package/dist/popover.d.ts +1 -0
- package/dist/popover.js +7 -0
- package/dist/progress-DpQjGEyn.cjs +1 -0
- package/dist/progress-Dz_it5I-.js +62 -0
- package/dist/progress.cjs +1 -0
- package/dist/progress.d.ts +1 -0
- package/dist/progress.js +5 -0
- package/dist/providers/create-theme.d.ts +49 -0
- package/dist/providers/eluan-provider.d.ts +56 -0
- package/dist/radio-group-DMocn_bO.cjs +1 -0
- package/dist/radio-group-dLbtpuHm.js +12 -0
- package/dist/radio-group.cjs +1 -0
- package/dist/radio-group.d.ts +1 -0
- package/dist/radio-group.js +6 -0
- package/dist/rich-text-B6Ogqw5B.cjs +73 -0
- package/dist/rich-text-DjthjUyA.js +192 -0
- package/dist/rich-text.cjs +1 -0
- package/dist/rich-text.d.ts +1 -0
- package/dist/rich-text.js +6 -0
- package/dist/scroll-area-CEjpWCN2.js +35 -0
- package/dist/scroll-area-DZbd7b5b.cjs +1 -0
- package/dist/scroll-area.cjs +1 -0
- package/dist/scroll-area.d.ts +1 -0
- package/dist/scroll-area.js +6 -0
- package/dist/search-input-Dme1Kg69.cjs +1 -0
- package/dist/search-input-Dy6kVsR6.js +193 -0
- package/dist/search-input.cjs +1 -0
- package/dist/search-input.d.ts +1 -0
- package/dist/search-input.js +7 -0
- package/dist/select-DikwRWF5.js +114 -0
- package/dist/select-VTNCKmzK.cjs +1 -0
- package/dist/select.cjs +1 -0
- package/dist/select.d.ts +1 -0
- package/dist/select.js +14 -0
- package/dist/separator-DISe3E9K.js +53 -0
- package/dist/separator-DWK3Xd7q.cjs +1 -0
- package/dist/separator.cjs +1 -0
- package/dist/separator.d.ts +1 -0
- package/dist/separator.js +5 -0
- package/dist/sheet-BQy30PDl.js +135 -0
- package/dist/sheet-DSAi4Blo.cjs +1 -0
- package/dist/sheet.cjs +1 -0
- package/dist/sheet.d.ts +1 -0
- package/dist/sheet.js +14 -0
- package/dist/skeleton-BPOckSeF.js +8 -0
- package/dist/skeleton-yXCPli60.cjs +1 -0
- package/dist/skeleton.cjs +1 -0
- package/dist/skeleton.d.ts +1 -0
- package/dist/skeleton.js +5 -0
- package/dist/slider-Bjxl7b91.cjs +1 -0
- package/dist/slider-DXZyL3ev.js +16 -0
- package/dist/slider.cjs +1 -0
- package/dist/slider.d.ts +1 -0
- package/dist/slider.js +5 -0
- package/dist/spinner-BidrZmnV.js +51 -0
- package/dist/spinner-_aMavekm.cjs +1 -0
- package/dist/spinner.cjs +1 -0
- package/dist/spinner.d.ts +1 -0
- package/dist/spinner.js +5 -0
- package/dist/stepper-BtepQViL.cjs +1 -0
- package/dist/stepper-C7g_AewR.js +144 -0
- package/dist/stepper.cjs +1 -0
- package/dist/stepper.d.ts +1 -0
- package/dist/stepper.js +6 -0
- package/dist/styles.css +2776 -0
- package/dist/switch-Bi_OIsAH.cjs +1 -0
- package/dist/switch-wMC6HqKA.js +9 -0
- package/dist/switch.cjs +1 -0
- package/dist/switch.d.ts +1 -0
- package/dist/switch.js +5 -0
- package/dist/table-DopzfXYj.js +101 -0
- package/dist/table-xNu_KUaU.cjs +1 -0
- package/dist/table.cjs +1 -0
- package/dist/table.d.ts +1 -0
- package/dist/table.js +12 -0
- package/dist/tabs-BLFvzL-o.cjs +1 -0
- package/dist/tabs-D-T4lTOx.js +22 -0
- package/dist/tabs.cjs +1 -0
- package/dist/tabs.d.ts +1 -0
- package/dist/tabs.js +8 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/textarea-DXUk1b_-.js +8 -0
- package/dist/textarea-Dl-daLHR.cjs +1 -0
- package/dist/textarea.cjs +1 -0
- package/dist/textarea.d.ts +1 -0
- package/dist/textarea.js +5 -0
- package/dist/time-input-Dhhuxwh1.cjs +1 -0
- package/dist/time-input-DpukiDy9.js +148 -0
- package/dist/time-input.cjs +1 -0
- package/dist/time-input.d.ts +1 -0
- package/dist/time-input.js +6 -0
- package/dist/timeline-1iqp4rUU.js +215 -0
- package/dist/timeline-Dpeps0L2.cjs +1 -0
- package/dist/timeline.cjs +1 -0
- package/dist/timeline.d.ts +1 -0
- package/dist/timeline.js +16 -0
- package/dist/toast-BK0ulAzi.cjs +1 -0
- package/dist/toast-hI3pdZ2X.js +25 -0
- package/dist/toast.cjs +1 -0
- package/dist/toast.d.ts +1 -0
- package/dist/toast.js +5 -0
- package/dist/toggle--M_Xcph3.js +74 -0
- package/dist/toggle-BUmAdWrJ.cjs +1 -0
- package/dist/toggle-group-CSWEdWiB.js +95 -0
- package/dist/toggle-group-CUL20lLE.cjs +1 -0
- package/dist/toggle-group.cjs +1 -0
- package/dist/toggle-group.d.ts +1 -0
- package/dist/toggle-group.js +6 -0
- package/dist/toggle.cjs +1 -0
- package/dist/toggle.d.ts +1 -0
- package/dist/toggle.js +5 -0
- package/dist/tooltip-BZYIVbFE.cjs +1 -0
- package/dist/tooltip-DTOC9Xwd.js +18 -0
- package/dist/tooltip.cjs +1 -0
- package/dist/tooltip.d.ts +1 -0
- package/dist/tooltip.js +8 -0
- package/dist/tree-view-BuhJmfCg.js +84 -0
- package/dist/tree-view-DsrzJV2W.cjs +1 -0
- package/dist/tree-view.cjs +1 -0
- package/dist/tree-view.d.ts +1 -0
- package/dist/tree-view.js +5 -0
- package/package.json +135 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import * as s from "react";
|
|
4
|
+
import { Slot as d } from "@radix-ui/react-slot";
|
|
5
|
+
import { MoreHorizontal as l, ChevronRight as i } from "lucide-react";
|
|
6
|
+
import { B as m } from "./button-nntae7sN.js";
|
|
7
|
+
import { D as c, n as t, b as x, d as u } from "./dropdown-menu-BRhqJFtK.js";
|
|
8
|
+
const p = s.forwardRef(({
|
|
9
|
+
...r
|
|
10
|
+
}, a) => /* @__PURE__ */ e("nav", { ref: a, "aria-label": "breadcrumb", ...r }));
|
|
11
|
+
p.displayName = "Breadcrumb";
|
|
12
|
+
const f = s.forwardRef(({
|
|
13
|
+
...r
|
|
14
|
+
}, a) => /* @__PURE__ */ e("ol", { ref: a, ...r, className: "x6s0dn4 x1uuraw0 x78zum5 x1a02dak x1eqnyfr x1o29ju6 x1mzt3pk x13pp3z7" }));
|
|
15
|
+
f.displayName = "BreadcrumbList";
|
|
16
|
+
const b = s.forwardRef(({
|
|
17
|
+
...r
|
|
18
|
+
}, a) => /* @__PURE__ */ e("li", { ref: a, ...r, className: "x6s0dn4 x3nfvp2 x1o29ju6" }));
|
|
19
|
+
b.displayName = "BreadcrumbItem";
|
|
20
|
+
const h = s.forwardRef(({
|
|
21
|
+
asChild: r,
|
|
22
|
+
...a
|
|
23
|
+
}, o) => /* @__PURE__ */ e(r ? d : "a", { ref: o, ...a, className: "xx6bhzk xt3l3uh xwwtwea x1leyzdx" }));
|
|
24
|
+
h.displayName = "BreadcrumbLink";
|
|
25
|
+
const w = s.forwardRef(({
|
|
26
|
+
...r
|
|
27
|
+
}, a) => /* @__PURE__ */ e("span", { ref: a, role: "link", "aria-disabled": "true", "aria-current": "page", ...r, className: "x1sjp1m2 xo1l8bm" }));
|
|
28
|
+
w.displayName = "BreadcrumbPage";
|
|
29
|
+
const k = ({
|
|
30
|
+
children: r,
|
|
31
|
+
...a
|
|
32
|
+
}) => /* @__PURE__ */ e("li", { role: "presentation", "aria-hidden": "true", ...a, children: r && s.isValidElement(r) ? s.cloneElement(r, {
|
|
33
|
+
className: "x1us9z5t x1vty8ic"
|
|
34
|
+
}) : r ?? /* @__PURE__ */ e(i, { className: "x1us9z5t x1vty8ic" }) });
|
|
35
|
+
k.displayName = "BreadcrumbSeparator";
|
|
36
|
+
const B = ({
|
|
37
|
+
items: r = []
|
|
38
|
+
}) => r.length === 0 ? /* @__PURE__ */ n("span", { role: "presentation", "aria-hidden": "true", className: "x6s0dn4 x78zum5 xwfmp28 xl56j7k x2dhfp8", children: [
|
|
39
|
+
/* @__PURE__ */ e(l, { className: "xkive58 x1vfp87d" }),
|
|
40
|
+
/* @__PURE__ */ e("span", { className: "xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s", children: "More breadcrumbs" })
|
|
41
|
+
] }) : /* @__PURE__ */ n(c, { children: [
|
|
42
|
+
/* @__PURE__ */ e(t, { asChild: !0, children: /* @__PURE__ */ e(m, { variant: "ghost", size: "xsIcon", "aria-label": "Show more breadcrumbs", children: /* @__PURE__ */ e(l, { className: "xkive58 x1vfp87d" }) }) }),
|
|
43
|
+
/* @__PURE__ */ e(x, { align: "start", children: r.map((a, o) => /* @__PURE__ */ e(u, { disabled: !a.href && !a.onClick, onClick: () => {
|
|
44
|
+
a.onClick ? a.onClick() : a.href && (window.location.href = a.href);
|
|
45
|
+
}, children: a.label }, o)) })
|
|
46
|
+
] });
|
|
47
|
+
B.displayName = "BreadcrumbEllipsis";
|
|
48
|
+
export {
|
|
49
|
+
p as B,
|
|
50
|
+
B as a,
|
|
51
|
+
b,
|
|
52
|
+
h as c,
|
|
53
|
+
f as d,
|
|
54
|
+
w as e,
|
|
55
|
+
k as f
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const a=require("react/jsx-runtime"),p=require("react"),f=require("@radix-ui/react-slot"),o=require("lucide-react"),j=require("./button-CT6_HUIx.cjs"),c=require("./dropdown-menu-CxRQEecr.cjs");function B(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const n=B(p),l=n.forwardRef(({...e},r)=>a.jsx("nav",{ref:r,"aria-label":"breadcrumb",...e}));l.displayName="Breadcrumb";const i=n.forwardRef(({...e},r)=>a.jsx("ol",{ref:r,...e,className:"x6s0dn4 x1uuraw0 x78zum5 x1a02dak x1eqnyfr x1o29ju6 x1mzt3pk x13pp3z7"}));i.displayName="BreadcrumbList";const d=n.forwardRef(({...e},r)=>a.jsx("li",{ref:r,...e,className:"x6s0dn4 x3nfvp2 x1o29ju6"}));d.displayName="BreadcrumbItem";const u=n.forwardRef(({asChild:e,...r},s)=>{const t=e?f.Slot:"a";return a.jsx(t,{ref:s,...r,className:"xx6bhzk xt3l3uh xwwtwea x1leyzdx"})});u.displayName="BreadcrumbLink";const x=n.forwardRef(({...e},r)=>a.jsx("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",...e,className:"x1sjp1m2 xo1l8bm"}));x.displayName="BreadcrumbPage";const m=({children:e,...r})=>a.jsx("li",{role:"presentation","aria-hidden":"true",...r,children:e&&n.isValidElement(e)?n.cloneElement(e,{className:"x1us9z5t x1vty8ic"}):e??a.jsx(o.ChevronRight,{className:"x1us9z5t x1vty8ic"})});m.displayName="BreadcrumbSeparator";const b=({items:e=[]})=>e.length===0?a.jsxs("span",{role:"presentation","aria-hidden":"true",className:"x6s0dn4 x78zum5 xwfmp28 xl56j7k x2dhfp8",children:[a.jsx(o.MoreHorizontal,{className:"xkive58 x1vfp87d"}),a.jsx("span",{className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:"More breadcrumbs"})]}):a.jsxs(c.DropdownMenu,{children:[a.jsx(c.DropdownMenuTrigger,{asChild:!0,children:a.jsx(j.Button,{variant:"ghost",size:"xsIcon","aria-label":"Show more breadcrumbs",children:a.jsx(o.MoreHorizontal,{className:"xkive58 x1vfp87d"})})}),a.jsx(c.DropdownMenuContent,{align:"start",children:e.map((r,s)=>a.jsx(c.DropdownMenuItem,{disabled:!r.href&&!r.onClick,onClick:()=>{r.onClick?r.onClick():r.href&&(window.location.href=r.href)},children:r.label},s))})]});b.displayName="BreadcrumbEllipsis";exports.Breadcrumb=l;exports.BreadcrumbEllipsis=b;exports.BreadcrumbItem=d;exports.BreadcrumbLink=u;exports.BreadcrumbList=i;exports.BreadcrumbPage=x;exports.BreadcrumbSeparator=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./breadcrumb-CUJua1hE.cjs");exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbLink=r.BreadcrumbLink;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components/breadcrumb";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { B as e, a as s, b as c, c as m, d as b, e as d, f as u } from "./breadcrumb-BPB6FOAt.js";
|
|
3
|
+
export {
|
|
4
|
+
e as Breadcrumb,
|
|
5
|
+
s as BreadcrumbEllipsis,
|
|
6
|
+
c as BreadcrumbItem,
|
|
7
|
+
m as BreadcrumbLink,
|
|
8
|
+
b as BreadcrumbList,
|
|
9
|
+
d as BreadcrumbPage,
|
|
10
|
+
u as BreadcrumbSeparator
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const g=require("react/jsx-runtime"),l=require("react"),z=require("@radix-ui/react-slot"),$=require("@stylexjs/stylex");function a(e){const k=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const x in e)if(x!=="default"){const s=Object.getOwnPropertyDescriptor(e,x);Object.defineProperty(k,x,s.get?s:{enumerable:!0,get:()=>e[x]})}}return k.default=e,Object.freeze(k)}const w=a(l),m=a($),t={base:{kGNEyG:"x6s0dn4",kMzoRj:"xc342km",ksu8eU:"x1y0btm7",kVAM5u:"x9r1u3d",kaIpWk:"x1brvnfc",kB7OPa:"x9f619",k1xSpc:"x3nfvp2",kGuDYH:"x1eqnyfr",k63SB2:"xo1l8bm",kOIVth:"x10ci2pi",kjj79g:"xl56j7k",kMnn75:"xkrqix3",kIyJzY:"xx6bhzk",k1ekBW:"xfagghw",kAMwcw:"xwwtwea",khDVqt:"xuxw1ft",kZs9gx:"x9hpe06",kiEn40:"x13iak60",k7shQP:"x9v5kkp",kPJHz1:"x4xl6zf",kWCcOm:"xijokvz",k7HAVu:"xaqnwrm",$$css:!0},variantDefault:{kWkggS:"x16e9imx",kGVxlE:"xv186zg",kMwMTN:"xiqjl67",kGzVvX:"xpbv5yk",kwh8RV:"x1tjurhn",kSReZ0:"xm7h292",$$css:!0},variantDestructive:{kWkggS:"x8x6dkn",kMwMTN:"x2lv0vp",kGzVvX:"x1xi5543",kSReZ0:"x187msjq",$$css:!0},variantCaution:{kWkggS:"xmo15d4",kVAM5u:"x9r1u3d",kMwMTN:"xbonnel",kGzVvX:"x1s9mtqr",$$css:!0},variantPositive:{kWkggS:"xb41lrr",kVAM5u:"x9r1u3d",kMwMTN:"x31tm2b",kGzVvX:"x10r5eqd",$$css:!0},variantOutline:{kWkggS:"xjbqb8w",kVAM5u:"x13x5e4c",kMzoRj:"xmkeg23",kMwMTN:"x11s2c99",kGzVvX:"x1hatfrw",kSReZ0:"x1mndqio",kc7ZrP:"xsu37zp",$$css:!0},variantDashed:{kWkggS:"xjbqb8w",kVAM5u:"x13x5e4c",ksu8eU:"xbsl7fq",kMzoRj:"xmkeg23",kMwMTN:"xwa5xuj",kGzVvX:"x1hatfrw",kDPRdz:"x8k5dal",kSReZ0:"x1mndqio",$$css:!0},variantSecondary:{kWkggS:"x10u1gfx",kMwMTN:"x9jv8i",kGzVvX:"x94zbfo",$$css:!0},variantGhost:{kWkggS:"xjbqb8w",kMwMTN:"x1yywp0w",kGzVvX:"xcoizge",kDPRdz:"x1disg9r",$$css:!0},variantMutedGhost:{kWkggS:"xjbqb8w",kMwMTN:"xwa5xuj",kGzVvX:"xcoizge",kDPRdz:"x8k5dal",$$css:!0},variantDangerGhost:{kWkggS:"xjbqb8w",kMwMTN:"x1yywp0w",kGzVvX:"x7s1nhc",kDPRdz:"xiv09dq",$$css:!0},variantFadedGhost:{kWkggS:"xjbqb8w",kMwMTN:"x1yywp0w",kSiTet:"x197sbye",kGzVvX:"xcoizge",kDPRdz:"x1disg9r",kKhh5M:"x1o7uuvo",$$css:!0},variantInput:{kWkggS:"xjbqb8w",kVAM5u:"x1suburk",kMzoRj:"xmkeg23",kMwMTN:"x11s2c99",k63SB2:"xo1l8bm",kGzVvX:"xcoizge",$$css:!0},variantInputMuted:{kWkggS:"xjbqb8w",kVAM5u:"x1suburk",kMzoRj:"xmkeg23",kMwMTN:"x1uuraw0",k63SB2:"xo1l8bm",kGzVvX:"xcoizge",$$css:!0},variantLink:{kWkggS:"xjbqb8w",kGVxlE:"x1gnnqk1",kMwMTN:"xcuvo5l",kZKoxP:"xt7dq6l",kmVPX3:"x1717udv",kcSHmL:"x4hby74",kdSwXR:"x1sur9pj",$$css:!0},sizeDefault:{kZKoxP:"x1h5pcsu",k8WAf4:"xrtip4p",kg3NbH:"x16pzmsl",$$css:!0},sizeSm:{kaIpWk:"x1kcekj6",kGuDYH:"x51wmvv",kZKoxP:"x1k4gd0d",kg3NbH:"x1wu0y3b",$$css:!0},sizeLg:{kaIpWk:"x1brvnfc",kGuDYH:"x1j29vfg",kZKoxP:"xlev6zl",kg3NbH:"x1oh0jwc",$$css:!0},sizeIcon:{kZKoxP:"x1h5pcsu",kzqmXN:"xyp5bzy",$$css:!0},sizeCompactIcon:{kZKoxP:"x1k4gd0d",kzqmXN:"xgszm5s",$$css:!0},sizeXsIcon:{kZKoxP:"x5qp8vs",kmVPX3:"x1717udv",kzqmXN:"x1jch5md",$$css:!0},sizeInlineIcon:{kZKoxP:"xt7dq6l",kmVPX3:"x2k5h2x",kzqmXN:"x14atkfc",$$css:!0},alignStart:{kjj79g:"x1nhvcw1",$$css:!0},fullWidth:{kzqmXN:"xh8yej3",$$css:!0},round:{kaIpWk:"xvowokw",$$css:!0},textLeft:{k9WMMc:"xdpxx8g",$$css:!0},attachmentStart:{kWqL5O:"xgfja2r",ksF3WI:"x1a2w583",kYm2EN:"xjppbhk",$$css:!0},attachmentEnd:{kaZRDh:"xee8mhv",kZ1KPB:"xe0pwq",kIxVMA:"x1ia1hqs",kqGeR4:"xfrllxf",kg3NbH:"x16ic5xr",$$css:!0}},M={default:t.variantDefault,destructive:t.variantDestructive,caution:t.variantCaution,positive:t.variantPositive,outline:t.variantOutline,dashed:t.variantDashed,secondary:t.variantSecondary,ghost:t.variantGhost,mutedGhost:t.variantMutedGhost,dangerGhost:t.variantDangerGhost,fadedGhost:t.variantFadedGhost,input:t.variantInput,inputMuted:t.variantInputMuted,link:t.variantLink},b={default:t.sizeDefault,sm:t.sizeSm,lg:t.sizeLg,icon:t.sizeIcon,compactIcon:t.sizeCompactIcon,xsIcon:t.sizeXsIcon,inlineIcon:t.sizeInlineIcon},n=w.forwardRef(({align:e="center",attachment:k="none",variant:x="default",size:s="default",asChild:r=!1,fullWidth:u=!1,shape:c="default",textAlign:i="center",...o},v)=>{const d=r?z.Slot:"button";return g.jsx(d,{ref:v,...o,...m.props(t.base,b[s],M[x],e==="start"&&t.alignStart,u&&t.fullWidth,c==="round"&&t.round,i==="left"&&t.textLeft,k==="start"&&t.attachmentStart,k==="end"&&t.attachmentEnd)})});n.displayName="Button";exports.Button=n;
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
3
|
+
import * as v from "react";
|
|
4
|
+
import { Slot as d } from "@radix-ui/react-slot";
|
|
5
|
+
import * as g from "@stylexjs/stylex";
|
|
6
|
+
const t = {
|
|
7
|
+
base: {
|
|
8
|
+
kGNEyG: "x6s0dn4",
|
|
9
|
+
kMzoRj: "xc342km",
|
|
10
|
+
ksu8eU: "x1y0btm7",
|
|
11
|
+
kVAM5u: "x9r1u3d",
|
|
12
|
+
kaIpWk: "x1brvnfc",
|
|
13
|
+
kB7OPa: "x9f619",
|
|
14
|
+
k1xSpc: "x3nfvp2",
|
|
15
|
+
kGuDYH: "x1eqnyfr",
|
|
16
|
+
k63SB2: "xo1l8bm",
|
|
17
|
+
kOIVth: "x10ci2pi",
|
|
18
|
+
kjj79g: "xl56j7k",
|
|
19
|
+
kMnn75: "xkrqix3",
|
|
20
|
+
kIyJzY: "xx6bhzk",
|
|
21
|
+
k1ekBW: "xfagghw",
|
|
22
|
+
kAMwcw: "xwwtwea",
|
|
23
|
+
khDVqt: "xuxw1ft",
|
|
24
|
+
kZs9gx: "x9hpe06",
|
|
25
|
+
kiEn40: "x13iak60",
|
|
26
|
+
k7shQP: "x9v5kkp",
|
|
27
|
+
kPJHz1: "x4xl6zf",
|
|
28
|
+
kWCcOm: "xijokvz",
|
|
29
|
+
k7HAVu: "xaqnwrm",
|
|
30
|
+
$$css: !0
|
|
31
|
+
},
|
|
32
|
+
variantDefault: {
|
|
33
|
+
kWkggS: "x16e9imx",
|
|
34
|
+
kGVxlE: "xv186zg",
|
|
35
|
+
kMwMTN: "xiqjl67",
|
|
36
|
+
kGzVvX: "xpbv5yk",
|
|
37
|
+
kwh8RV: "x1tjurhn",
|
|
38
|
+
kSReZ0: "xm7h292",
|
|
39
|
+
$$css: !0
|
|
40
|
+
},
|
|
41
|
+
variantDestructive: {
|
|
42
|
+
kWkggS: "x8x6dkn",
|
|
43
|
+
kMwMTN: "x2lv0vp",
|
|
44
|
+
kGzVvX: "x1xi5543",
|
|
45
|
+
kSReZ0: "x187msjq",
|
|
46
|
+
$$css: !0
|
|
47
|
+
},
|
|
48
|
+
variantCaution: {
|
|
49
|
+
kWkggS: "xmo15d4",
|
|
50
|
+
kVAM5u: "x9r1u3d",
|
|
51
|
+
kMwMTN: "xbonnel",
|
|
52
|
+
kGzVvX: "x1s9mtqr",
|
|
53
|
+
$$css: !0
|
|
54
|
+
},
|
|
55
|
+
variantPositive: {
|
|
56
|
+
kWkggS: "xb41lrr",
|
|
57
|
+
kVAM5u: "x9r1u3d",
|
|
58
|
+
kMwMTN: "x31tm2b",
|
|
59
|
+
kGzVvX: "x10r5eqd",
|
|
60
|
+
$$css: !0
|
|
61
|
+
},
|
|
62
|
+
variantOutline: {
|
|
63
|
+
kWkggS: "xjbqb8w",
|
|
64
|
+
kVAM5u: "x13x5e4c",
|
|
65
|
+
kMzoRj: "xmkeg23",
|
|
66
|
+
kMwMTN: "x11s2c99",
|
|
67
|
+
kGzVvX: "x1hatfrw",
|
|
68
|
+
kSReZ0: "x1mndqio",
|
|
69
|
+
kc7ZrP: "xsu37zp",
|
|
70
|
+
$$css: !0
|
|
71
|
+
},
|
|
72
|
+
variantDashed: {
|
|
73
|
+
kWkggS: "xjbqb8w",
|
|
74
|
+
kVAM5u: "x13x5e4c",
|
|
75
|
+
ksu8eU: "xbsl7fq",
|
|
76
|
+
kMzoRj: "xmkeg23",
|
|
77
|
+
kMwMTN: "xwa5xuj",
|
|
78
|
+
kGzVvX: "x1hatfrw",
|
|
79
|
+
kDPRdz: "x8k5dal",
|
|
80
|
+
kSReZ0: "x1mndqio",
|
|
81
|
+
$$css: !0
|
|
82
|
+
},
|
|
83
|
+
variantSecondary: {
|
|
84
|
+
kWkggS: "x10u1gfx",
|
|
85
|
+
kMwMTN: "x9jv8i",
|
|
86
|
+
kGzVvX: "x94zbfo",
|
|
87
|
+
$$css: !0
|
|
88
|
+
},
|
|
89
|
+
variantGhost: {
|
|
90
|
+
kWkggS: "xjbqb8w",
|
|
91
|
+
kMwMTN: "x1yywp0w",
|
|
92
|
+
kGzVvX: "xcoizge",
|
|
93
|
+
kDPRdz: "x1disg9r",
|
|
94
|
+
$$css: !0
|
|
95
|
+
},
|
|
96
|
+
variantMutedGhost: {
|
|
97
|
+
kWkggS: "xjbqb8w",
|
|
98
|
+
kMwMTN: "xwa5xuj",
|
|
99
|
+
kGzVvX: "xcoizge",
|
|
100
|
+
kDPRdz: "x8k5dal",
|
|
101
|
+
$$css: !0
|
|
102
|
+
},
|
|
103
|
+
variantDangerGhost: {
|
|
104
|
+
kWkggS: "xjbqb8w",
|
|
105
|
+
kMwMTN: "x1yywp0w",
|
|
106
|
+
kGzVvX: "x7s1nhc",
|
|
107
|
+
kDPRdz: "xiv09dq",
|
|
108
|
+
$$css: !0
|
|
109
|
+
},
|
|
110
|
+
variantFadedGhost: {
|
|
111
|
+
kWkggS: "xjbqb8w",
|
|
112
|
+
kMwMTN: "x1yywp0w",
|
|
113
|
+
kSiTet: "x197sbye",
|
|
114
|
+
kGzVvX: "xcoizge",
|
|
115
|
+
kDPRdz: "x1disg9r",
|
|
116
|
+
kKhh5M: "x1o7uuvo",
|
|
117
|
+
$$css: !0
|
|
118
|
+
},
|
|
119
|
+
variantInput: {
|
|
120
|
+
kWkggS: "xjbqb8w",
|
|
121
|
+
kVAM5u: "x1suburk",
|
|
122
|
+
kMzoRj: "xmkeg23",
|
|
123
|
+
kMwMTN: "x11s2c99",
|
|
124
|
+
k63SB2: "xo1l8bm",
|
|
125
|
+
kGzVvX: "xcoizge",
|
|
126
|
+
$$css: !0
|
|
127
|
+
},
|
|
128
|
+
variantInputMuted: {
|
|
129
|
+
kWkggS: "xjbqb8w",
|
|
130
|
+
kVAM5u: "x1suburk",
|
|
131
|
+
kMzoRj: "xmkeg23",
|
|
132
|
+
kMwMTN: "x1uuraw0",
|
|
133
|
+
k63SB2: "xo1l8bm",
|
|
134
|
+
kGzVvX: "xcoizge",
|
|
135
|
+
$$css: !0
|
|
136
|
+
},
|
|
137
|
+
variantLink: {
|
|
138
|
+
kWkggS: "xjbqb8w",
|
|
139
|
+
kGVxlE: "x1gnnqk1",
|
|
140
|
+
kMwMTN: "xcuvo5l",
|
|
141
|
+
kZKoxP: "xt7dq6l",
|
|
142
|
+
kmVPX3: "x1717udv",
|
|
143
|
+
kcSHmL: "x4hby74",
|
|
144
|
+
kdSwXR: "x1sur9pj",
|
|
145
|
+
$$css: !0
|
|
146
|
+
},
|
|
147
|
+
sizeDefault: {
|
|
148
|
+
kZKoxP: "x1h5pcsu",
|
|
149
|
+
k8WAf4: "xrtip4p",
|
|
150
|
+
kg3NbH: "x16pzmsl",
|
|
151
|
+
$$css: !0
|
|
152
|
+
},
|
|
153
|
+
sizeSm: {
|
|
154
|
+
kaIpWk: "x1kcekj6",
|
|
155
|
+
kGuDYH: "x51wmvv",
|
|
156
|
+
kZKoxP: "x1k4gd0d",
|
|
157
|
+
kg3NbH: "x1wu0y3b",
|
|
158
|
+
$$css: !0
|
|
159
|
+
},
|
|
160
|
+
sizeLg: {
|
|
161
|
+
kaIpWk: "x1brvnfc",
|
|
162
|
+
kGuDYH: "x1j29vfg",
|
|
163
|
+
kZKoxP: "xlev6zl",
|
|
164
|
+
kg3NbH: "x1oh0jwc",
|
|
165
|
+
$$css: !0
|
|
166
|
+
},
|
|
167
|
+
sizeIcon: {
|
|
168
|
+
kZKoxP: "x1h5pcsu",
|
|
169
|
+
kzqmXN: "xyp5bzy",
|
|
170
|
+
$$css: !0
|
|
171
|
+
},
|
|
172
|
+
sizeCompactIcon: {
|
|
173
|
+
kZKoxP: "x1k4gd0d",
|
|
174
|
+
kzqmXN: "xgszm5s",
|
|
175
|
+
$$css: !0
|
|
176
|
+
},
|
|
177
|
+
sizeXsIcon: {
|
|
178
|
+
kZKoxP: "x5qp8vs",
|
|
179
|
+
kmVPX3: "x1717udv",
|
|
180
|
+
kzqmXN: "x1jch5md",
|
|
181
|
+
$$css: !0
|
|
182
|
+
},
|
|
183
|
+
sizeInlineIcon: {
|
|
184
|
+
kZKoxP: "xt7dq6l",
|
|
185
|
+
kmVPX3: "x2k5h2x",
|
|
186
|
+
kzqmXN: "x14atkfc",
|
|
187
|
+
$$css: !0
|
|
188
|
+
},
|
|
189
|
+
alignStart: {
|
|
190
|
+
kjj79g: "x1nhvcw1",
|
|
191
|
+
$$css: !0
|
|
192
|
+
},
|
|
193
|
+
fullWidth: {
|
|
194
|
+
kzqmXN: "xh8yej3",
|
|
195
|
+
$$css: !0
|
|
196
|
+
},
|
|
197
|
+
round: {
|
|
198
|
+
kaIpWk: "xvowokw",
|
|
199
|
+
$$css: !0
|
|
200
|
+
},
|
|
201
|
+
textLeft: {
|
|
202
|
+
k9WMMc: "xdpxx8g",
|
|
203
|
+
$$css: !0
|
|
204
|
+
},
|
|
205
|
+
attachmentStart: {
|
|
206
|
+
kWqL5O: "xgfja2r",
|
|
207
|
+
ksF3WI: "x1a2w583",
|
|
208
|
+
kYm2EN: "xjppbhk",
|
|
209
|
+
$$css: !0
|
|
210
|
+
},
|
|
211
|
+
attachmentEnd: {
|
|
212
|
+
kaZRDh: "xee8mhv",
|
|
213
|
+
kZ1KPB: "xe0pwq",
|
|
214
|
+
kIxVMA: "x1ia1hqs",
|
|
215
|
+
kqGeR4: "xfrllxf",
|
|
216
|
+
kg3NbH: "x16ic5xr",
|
|
217
|
+
$$css: !0
|
|
218
|
+
}
|
|
219
|
+
}, z = {
|
|
220
|
+
default: t.variantDefault,
|
|
221
|
+
destructive: t.variantDestructive,
|
|
222
|
+
caution: t.variantCaution,
|
|
223
|
+
positive: t.variantPositive,
|
|
224
|
+
outline: t.variantOutline,
|
|
225
|
+
dashed: t.variantDashed,
|
|
226
|
+
secondary: t.variantSecondary,
|
|
227
|
+
ghost: t.variantGhost,
|
|
228
|
+
mutedGhost: t.variantMutedGhost,
|
|
229
|
+
dangerGhost: t.variantDangerGhost,
|
|
230
|
+
fadedGhost: t.variantFadedGhost,
|
|
231
|
+
input: t.variantInput,
|
|
232
|
+
inputMuted: t.variantInputMuted,
|
|
233
|
+
link: t.variantLink
|
|
234
|
+
}, $ = {
|
|
235
|
+
default: t.sizeDefault,
|
|
236
|
+
sm: t.sizeSm,
|
|
237
|
+
lg: t.sizeLg,
|
|
238
|
+
icon: t.sizeIcon,
|
|
239
|
+
compactIcon: t.sizeCompactIcon,
|
|
240
|
+
xsIcon: t.sizeXsIcon,
|
|
241
|
+
inlineIcon: t.sizeInlineIcon
|
|
242
|
+
}, l = v.forwardRef(({
|
|
243
|
+
align: x = "center",
|
|
244
|
+
attachment: k = "none",
|
|
245
|
+
variant: e = "default",
|
|
246
|
+
size: s = "default",
|
|
247
|
+
asChild: a = !1,
|
|
248
|
+
fullWidth: r = !1,
|
|
249
|
+
shape: n = "default",
|
|
250
|
+
textAlign: u = "center",
|
|
251
|
+
...i
|
|
252
|
+
}, o) => /* @__PURE__ */ c(a ? d : "button", { ref: o, ...i, ...g.props(t.base, $[s], z[e], x === "start" && t.alignStart, r && t.fullWidth, n === "round" && t.round, u === "left" && t.textLeft, k === "start" && t.attachmentStart, k === "end" && t.attachmentEnd) }));
|
|
253
|
+
l.displayName = "Button";
|
|
254
|
+
export {
|
|
255
|
+
l as B
|
|
256
|
+
};
|
package/dist/button.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./button-CT6_HUIx.cjs");exports.Button=t.Button;
|
package/dist/button.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components/button";
|
package/dist/button.js
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import * as N from "react";
|
|
4
|
+
import * as S from "@stylexjs/stylex";
|
|
5
|
+
import { ChevronLeft as z, ChevronRight as C } from "lucide-react";
|
|
6
|
+
import { DayPicker as j } from "react-day-picker";
|
|
7
|
+
import { B as k } from "./button-nntae7sN.js";
|
|
8
|
+
import { S as m, h, i as g, a as v, c as p } from "./select-DikwRWF5.js";
|
|
9
|
+
function q({
|
|
10
|
+
showOutsideDays: x = !0,
|
|
11
|
+
disabled: s,
|
|
12
|
+
components: y,
|
|
13
|
+
...c
|
|
14
|
+
}) {
|
|
15
|
+
const [l, i] = N.useState(c.defaultMonth ?? c.month ?? /* @__PURE__ */ new Date()), b = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], f = Array.from({
|
|
16
|
+
length: 10
|
|
17
|
+
}, (r, n) => (/* @__PURE__ */ new Date()).getFullYear() - 5 + n), $ = () => {
|
|
18
|
+
const r = new Date(l);
|
|
19
|
+
r.setMonth(r.getMonth() - 1), i(r);
|
|
20
|
+
}, w = () => {
|
|
21
|
+
const r = new Date(l);
|
|
22
|
+
r.setMonth(r.getMonth() + 1), i(r);
|
|
23
|
+
}, d = c.selected, M = !!(c.mode === "range" && d && typeof d == "object" && "from" in d && "to" in d && d.from && d.to);
|
|
24
|
+
return /* @__PURE__ */ u("div", { ...{
|
|
25
|
+
0: {
|
|
26
|
+
className: "x6s0dn4 x78zum5 x1o29ju6 xv0kgt4"
|
|
27
|
+
},
|
|
28
|
+
1: {
|
|
29
|
+
className: "x6s0dn4 x78zum5 x1o29ju6 xv0kgt4 xbyyjgo x47corl"
|
|
30
|
+
}
|
|
31
|
+
}[!!s << 0], "aria-disabled": s || void 0, "data-range-complete": M ? "" : void 0, children: [
|
|
32
|
+
/* @__PURE__ */ t("style", { children: I }),
|
|
33
|
+
/* @__PURE__ */ t("span", { className: "x2lah0s xeg409m", children: /* @__PURE__ */ t(k, { variant: "ghost", size: "xsIcon", onClick: $, disabled: s, children: /* @__PURE__ */ t(z, { className: "xkive58 x1vfp87d" }) }) }),
|
|
34
|
+
/* @__PURE__ */ t(j, { showOutsideDays: x, disabled: s || void 0, month: l, onMonthChange: s ? void 0 : i, hideNavigation: !0, ...c, className: e(a.dayPicker), classNames: {
|
|
35
|
+
months: e(a.months),
|
|
36
|
+
month: e(a.month),
|
|
37
|
+
month_caption: e(a.monthCaption),
|
|
38
|
+
caption_label: e(a.captionLabel),
|
|
39
|
+
month_grid: e(a.monthGrid),
|
|
40
|
+
weekdays: e(a.weekdays),
|
|
41
|
+
weekday: e(a.weekday),
|
|
42
|
+
week: e(a.week),
|
|
43
|
+
day: `${e(a.day)} eluan-calendar-day`,
|
|
44
|
+
day_button: `${e(a.dayButton)} eluan-calendar-day-button`,
|
|
45
|
+
range_start: `${e(a.rangeStart)} day-range-start eluan-calendar-range-start`,
|
|
46
|
+
range_end: `${e(a.rangeEnd)} day-range-end eluan-calendar-range-end`,
|
|
47
|
+
selected: `${e(a.selected)} eluan-calendar-selected`,
|
|
48
|
+
today: `${e(a.today)} eluan-calendar-today`,
|
|
49
|
+
outside: `${e(a.outside)} day-outside`,
|
|
50
|
+
disabled: e(a.dayDisabled),
|
|
51
|
+
range_middle: e(a.rangeMiddle),
|
|
52
|
+
hidden: e(a.hidden)
|
|
53
|
+
}, components: {
|
|
54
|
+
...y,
|
|
55
|
+
MonthCaption: ({
|
|
56
|
+
calendarMonth: r
|
|
57
|
+
}) => /* @__PURE__ */ u("div", { className: "x6s0dn4 x78zum5 xpfqfdi xl56j7k xl6wn3m", children: [
|
|
58
|
+
/* @__PURE__ */ u(m, { value: String(r.date.getMonth()), onValueChange: (n) => {
|
|
59
|
+
const o = new Date(l);
|
|
60
|
+
o.setMonth(Number(n)), i(o);
|
|
61
|
+
}, children: [
|
|
62
|
+
/* @__PURE__ */ t(h, { variant: "calendarCaption", children: /* @__PURE__ */ t(g, {}) }),
|
|
63
|
+
/* @__PURE__ */ t(v, { layout: "auto", children: b.map((n, o) => /* @__PURE__ */ t(p, { value: String(o), size: "compact", children: n }, o)) })
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ u(m, { value: String(r.date.getFullYear()), onValueChange: (n) => {
|
|
66
|
+
const o = new Date(l);
|
|
67
|
+
o.setFullYear(Number(n)), i(o);
|
|
68
|
+
}, children: [
|
|
69
|
+
/* @__PURE__ */ t(h, { variant: "calendarCaption", children: /* @__PURE__ */ t(g, {}) }),
|
|
70
|
+
/* @__PURE__ */ t(v, { layout: "auto", children: f.map((n) => /* @__PURE__ */ t(p, { value: String(n), size: "compact", children: n }, n)) })
|
|
71
|
+
] })
|
|
72
|
+
] })
|
|
73
|
+
} }),
|
|
74
|
+
/* @__PURE__ */ t("span", { className: "x2lah0s x1mcl426", children: /* @__PURE__ */ t(k, { variant: "ghost", size: "xsIcon", onClick: w, disabled: s, children: /* @__PURE__ */ t(C, { className: "xkive58 x1vfp87d" }) }) })
|
|
75
|
+
] });
|
|
76
|
+
}
|
|
77
|
+
q.displayName = "Calendar";
|
|
78
|
+
function e(...x) {
|
|
79
|
+
return S.props(...x).className ?? "";
|
|
80
|
+
}
|
|
81
|
+
const a = {
|
|
82
|
+
dayPicker: {
|
|
83
|
+
kmVPX3: "xc7ga6q",
|
|
84
|
+
$$css: !0
|
|
85
|
+
},
|
|
86
|
+
months: {
|
|
87
|
+
k1xSpc: "x78zum5",
|
|
88
|
+
kXwgrk: "xdt5ytf x2kc0e2",
|
|
89
|
+
kOIVth: "x5p2hoq",
|
|
90
|
+
$$css: !0
|
|
91
|
+
},
|
|
92
|
+
month: {
|
|
93
|
+
k1xSpc: "x78zum5",
|
|
94
|
+
kXwgrk: "xdt5ytf",
|
|
95
|
+
kOIVth: "x5p2hoq",
|
|
96
|
+
$$css: !0
|
|
97
|
+
},
|
|
98
|
+
monthCaption: {
|
|
99
|
+
kGNEyG: "x6s0dn4",
|
|
100
|
+
k1xSpc: "x78zum5",
|
|
101
|
+
kOIVth: "x10ci2pi",
|
|
102
|
+
kjj79g: "xl56j7k",
|
|
103
|
+
kLKAdn: "x1dcz4t3",
|
|
104
|
+
$$css: !0
|
|
105
|
+
},
|
|
106
|
+
captionLabel: {
|
|
107
|
+
k1xSpc: "x1s85apg",
|
|
108
|
+
$$css: !0
|
|
109
|
+
},
|
|
110
|
+
monthGrid: {
|
|
111
|
+
kLvRdT: "x1mwwwfo",
|
|
112
|
+
kzqmXN: "xh8yej3",
|
|
113
|
+
$$css: !0
|
|
114
|
+
},
|
|
115
|
+
weekdays: {
|
|
116
|
+
k1xSpc: "x78zum5",
|
|
117
|
+
$$css: !0
|
|
118
|
+
},
|
|
119
|
+
weekday: {
|
|
120
|
+
kaIpWk: "x9nsp9x",
|
|
121
|
+
kMwMTN: "x1uuraw0",
|
|
122
|
+
kGuDYH: "xboafo0",
|
|
123
|
+
k63SB2: "x1iikomf",
|
|
124
|
+
k9WMMc: "x2b8uid",
|
|
125
|
+
kzqmXN: "xyp5bzy",
|
|
126
|
+
$$css: !0
|
|
127
|
+
},
|
|
128
|
+
week: {
|
|
129
|
+
k1xSpc: "x78zum5",
|
|
130
|
+
keoZOQ: "x1gslohp",
|
|
131
|
+
kzqmXN: "xh8yej3",
|
|
132
|
+
$$css: !0
|
|
133
|
+
},
|
|
134
|
+
day: {
|
|
135
|
+
kGuDYH: "x1eqnyfr",
|
|
136
|
+
kZKoxP: "x1h5pcsu",
|
|
137
|
+
kmVPX3: "x1717udv",
|
|
138
|
+
kVAEAm: "x1n2onr6",
|
|
139
|
+
k9WMMc: "x2b8uid",
|
|
140
|
+
kzqmXN: "xyp5bzy",
|
|
141
|
+
$$css: !0
|
|
142
|
+
},
|
|
143
|
+
dayButton: {
|
|
144
|
+
kGNEyG: "x6s0dn4",
|
|
145
|
+
kaIpWk: "x1pjcqnp",
|
|
146
|
+
k1xSpc: "x3nfvp2",
|
|
147
|
+
kMv6JI: "xpw0y0u",
|
|
148
|
+
kGuDYH: "x1eqnyfr",
|
|
149
|
+
k63SB2: "xo1l8bm",
|
|
150
|
+
kZKoxP: "x1h5pcsu",
|
|
151
|
+
kjj79g: "xl56j7k",
|
|
152
|
+
kmVPX3: "x1717udv",
|
|
153
|
+
kIyJzY: "xx6bhzk",
|
|
154
|
+
k1ekBW: "x1uwm30f",
|
|
155
|
+
kAMwcw: "xwji4o3",
|
|
156
|
+
khDVqt: "xuxw1ft",
|
|
157
|
+
kzqmXN: "xyp5bzy",
|
|
158
|
+
kGzVvX: "x3wwfir",
|
|
159
|
+
k4Z53h: "x1u0k1uu",
|
|
160
|
+
$$css: !0
|
|
161
|
+
},
|
|
162
|
+
rangeStart: {
|
|
163
|
+
kWkggS: "x11tn5dx",
|
|
164
|
+
kaIpWk: "x9nsp9x",
|
|
165
|
+
kMwMTN: "x1vmo3ik",
|
|
166
|
+
$$css: !0
|
|
167
|
+
},
|
|
168
|
+
rangeEnd: {
|
|
169
|
+
kWkggS: "x11tn5dx",
|
|
170
|
+
kqGeR4: "xfrllxf",
|
|
171
|
+
kYm2EN: "x171lvyb",
|
|
172
|
+
kIxVMA: "x1ia1hqs",
|
|
173
|
+
ksF3WI: "x1lodlvp",
|
|
174
|
+
kMwMTN: "x1vmo3ik",
|
|
175
|
+
$$css: !0
|
|
176
|
+
},
|
|
177
|
+
selected: {
|
|
178
|
+
kWkggS: "x11tn5dx",
|
|
179
|
+
kaIpWk: "x9nsp9x",
|
|
180
|
+
kMwMTN: "x1vmo3ik",
|
|
181
|
+
$$css: !0
|
|
182
|
+
},
|
|
183
|
+
today: {
|
|
184
|
+
k63SB2: "x1s688f",
|
|
185
|
+
$$css: !0
|
|
186
|
+
},
|
|
187
|
+
outside: {
|
|
188
|
+
kMwMTN: "x1vkukiw",
|
|
189
|
+
$$css: !0
|
|
190
|
+
},
|
|
191
|
+
dayDisabled: {
|
|
192
|
+
kMwMTN: "x1vkukiw",
|
|
193
|
+
kkrTdU: "x1h6gzvc",
|
|
194
|
+
$$css: !0
|
|
195
|
+
},
|
|
196
|
+
rangeMiddle: {
|
|
197
|
+
kaIpWk: "x2u8bby",
|
|
198
|
+
$$css: !0
|
|
199
|
+
},
|
|
200
|
+
hidden: {
|
|
201
|
+
k33iCy: "xlshs6z",
|
|
202
|
+
$$css: !0
|
|
203
|
+
}
|
|
204
|
+
}, I = `
|
|
205
|
+
@media (min-width: 640px) {
|
|
206
|
+
.${e(a.months)} > div + div {
|
|
207
|
+
border-left: 1px solid var(--backgrounds-quaternary);
|
|
208
|
+
padding-left: var(--spacing-lg);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
.eluan-calendar-day:has([aria-selected].day-range-end) {
|
|
212
|
+
border-bottom-right-radius: var(--curves-lg);
|
|
213
|
+
border-top-right-radius: var(--curves-lg);
|
|
214
|
+
}
|
|
215
|
+
.eluan-calendar-day:has([aria-selected].day-range-end) {
|
|
216
|
+
border-bottom-left-radius: 0;
|
|
217
|
+
border-top-left-radius: 0;
|
|
218
|
+
}
|
|
219
|
+
.eluan-calendar-day:has([aria-selected].day-outside) {
|
|
220
|
+
background-color: var(--interactive-bg-alt2);
|
|
221
|
+
}
|
|
222
|
+
.eluan-calendar-day:first-child:has([aria-selected]) {
|
|
223
|
+
border-bottom-left-radius: var(--curves-lg);
|
|
224
|
+
border-top-left-radius: var(--curves-lg);
|
|
225
|
+
}
|
|
226
|
+
.eluan-calendar-day:last-child:has([aria-selected]) {
|
|
227
|
+
border-bottom-right-radius: var(--curves-lg);
|
|
228
|
+
border-top-right-radius: var(--curves-lg);
|
|
229
|
+
}
|
|
230
|
+
.eluan-calendar-day:focus-within {
|
|
231
|
+
position: relative;
|
|
232
|
+
z-index: 20;
|
|
233
|
+
}
|
|
234
|
+
[data-range-complete] .eluan-calendar-range-start {
|
|
235
|
+
border-bottom-left-radius: var(--curves-lg);
|
|
236
|
+
border-bottom-right-radius: 0;
|
|
237
|
+
border-top-left-radius: var(--curves-lg);
|
|
238
|
+
border-top-right-radius: 0;
|
|
239
|
+
}
|
|
240
|
+
.eluan-calendar-selected > button:hover {
|
|
241
|
+
background-color: var(--action-primary-bg-hover);
|
|
242
|
+
color: var(--interactive-fg-selected);
|
|
243
|
+
}
|
|
244
|
+
.eluan-calendar-selected:focus {
|
|
245
|
+
box-shadow: 0 0 0 1px var(--interactive-border);
|
|
246
|
+
}
|
|
247
|
+
.eluan-calendar-today > button {
|
|
248
|
+
position: relative;
|
|
249
|
+
}
|
|
250
|
+
.eluan-calendar-today > button::after {
|
|
251
|
+
background-color: currentColor;
|
|
252
|
+
border-radius: var(--radius-radius-full);
|
|
253
|
+
bottom: 0.5rem;
|
|
254
|
+
content: "";
|
|
255
|
+
height: 0.125rem;
|
|
256
|
+
left: 50%;
|
|
257
|
+
position: absolute;
|
|
258
|
+
transform: translateX(-50%);
|
|
259
|
+
width: 0.75rem;
|
|
260
|
+
}
|
|
261
|
+
.day-outside[aria-selected] {
|
|
262
|
+
background-color: var(--interactive-bg-alt2);
|
|
263
|
+
color: var(--interactive-fg-selected);
|
|
264
|
+
}
|
|
265
|
+
.${e(a.rangeMiddle)}[aria-selected] {
|
|
266
|
+
background-color: var(--interactive-bg-alt2);
|
|
267
|
+
color: var(--interactive-fg-alt);
|
|
268
|
+
}
|
|
269
|
+
`;
|
|
270
|
+
export {
|
|
271
|
+
q as C
|
|
272
|
+
};
|