@eluan/core 0.5.1 → 0.7.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/README.md +41 -3
- package/bin/eluan.mjs +75 -0
- package/bin/lib/check.mjs +271 -0
- package/bin/lib/skill.mjs +123 -0
- package/dist/{action-popover-D6K9aVFk.cjs → action-popover-Bt7U0g8y.cjs} +1 -1
- package/dist/{action-popover-BVJQBuky.js → action-popover-jEeycwXM.js} +2 -2
- package/dist/action-popover.cjs +1 -1
- package/dist/action-popover.js +1 -1
- package/dist/{avatar-CS5f1irF.js → avatar-C1LUOzjw.js} +1 -1
- package/dist/{avatar-Co-k8KqV.cjs → avatar-SwIO4oyt.cjs} +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge-BLInSFM-.cjs +1 -0
- package/dist/{badge-D9NYZFWH.js → badge-Bj7i1Xf5.js} +20 -18
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{banner-CyYFLZXw.js → banner-BqEziMp4.js} +11 -12
- package/dist/banner-C8OECYHz.cjs +1 -0
- package/dist/banner.cjs +1 -1
- package/dist/banner.js +1 -1
- package/dist/box-DG-tkaYi.cjs +1 -0
- package/dist/box-DKbNgGGG.js +17 -0
- package/dist/box.cjs +1 -0
- package/dist/box.d.ts +1 -0
- package/dist/box.js +5 -0
- package/dist/{breadcrumb-NWXeCH5q.cjs → breadcrumb-BGH_YhOZ.cjs} +1 -1
- package/dist/{breadcrumb-Cm1nb9Xj.js → breadcrumb-BVXSOA4Z.js} +2 -2
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button-BUHQOcAo.cjs +1 -0
- package/dist/{button-ANAPDrvs.js → button-fCYiYUPE.js} +69 -60
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar-2s_jGUBa.cjs +76 -0
- package/dist/{calendar-BpBsomy5.js → calendar-BN9BkjO_.js} +22 -22
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.js +1 -1
- package/dist/card-CfSvhkGH.js +81 -0
- package/dist/card-DlP39QSZ.cjs +1 -0
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{carousel-DuP0hvF-.js → carousel-BO6KUdP8.js} +1 -1
- package/dist/{carousel-BfL7oy_q.cjs → carousel-dypuabh8.cjs} +1 -1
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.js +1 -1
- package/dist/{checkbox-Bi0Kmuut.js → checkbox-CGUTGery.js} +1 -1
- package/dist/{checkbox-M8DmWKiC.cjs → checkbox-Cq9sHU_S.cjs} +1 -1
- package/dist/{checkbox-group-KBwPhjmW.cjs → checkbox-group-DGXZ4o2-.cjs} +1 -1
- package/dist/{checkbox-group-CQMEJnhD.js → checkbox-group-Tkio3IhK.js} +1 -1
- package/dist/checkbox-group.cjs +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{code-block-C9u140Ob.js → code-block-CAXUOKNI.js} +10 -10
- package/dist/{code-block-_dFw7Su1.cjs → code-block-Co8uGXiG.cjs} +2 -2
- package/dist/code-block.cjs +1 -1
- package/dist/code-block.js +1 -1
- package/dist/command-C50Jkuv7.js +132 -0
- package/dist/command-DqNgPVsf.cjs +9 -0
- package/dist/command.cjs +1 -1
- package/dist/command.js +1 -1
- package/dist/components/box.d.ts +12 -0
- package/dist/components/card.d.ts +7 -2
- package/dist/components/grid.d.ts +35 -0
- package/dist/components/icon.d.ts +26 -0
- package/dist/components/input.d.ts +1 -1
- package/dist/components/layout-shared.d.ts +307 -0
- package/dist/components/navigation-drawer.d.ts +25 -5
- package/dist/components/row.d.ts +18 -0
- package/dist/components/stack.d.ts +14 -0
- package/dist/components/table.d.ts +8 -4
- package/dist/components/tone-shared.d.ts +39 -0
- package/dist/components/typography.d.ts +22 -2
- package/dist/components/visually-hidden.d.ts +11 -0
- package/dist/{context-menu-Bd6m1RYU.js → context-menu-CTyczUjx.js} +34 -34
- package/dist/context-menu-oQ6xMN6t.cjs +1 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{credit-card-input-CUqA9CX3.cjs → credit-card-input-C6oNQBAl.cjs} +1 -1
- package/dist/{credit-card-input-DN-8vaFj.js → credit-card-input-aYftFdRo.js} +1 -1
- package/dist/credit-card-input.cjs +1 -1
- package/dist/credit-card-input.js +1 -1
- package/dist/{date-picker-ni8td8Ru.js → date-picker-DK-G61Nn.js} +3 -3
- package/dist/{date-picker-DGBsfZXx.cjs → date-picker-D_aU_P3A.cjs} +1 -1
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/{datetime-picker-C1d63MaA.cjs → datetime-picker-897BvwxW.cjs} +1 -1
- package/dist/{datetime-picker-DsnHYRK-.js → datetime-picker-CECtSobs.js} +4 -4
- package/dist/datetime-picker.cjs +1 -1
- package/dist/datetime-picker.js +1 -1
- package/dist/decimal-input-B7IHYVXP.cjs +1 -0
- package/dist/decimal-input-ohejnbQg.js +177 -0
- package/dist/decimal-input.cjs +1 -1
- package/dist/decimal-input.js +1 -1
- package/dist/dialog-DIGW7qln.cjs +1 -0
- package/dist/dialog-DVhnZFqE.js +64 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/dropdown-menu-BV2rX_ow.cjs +1 -0
- package/dist/dropdown-menu-C6NPtU9J.js +115 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/{email-input-pX0hlYV3.js → email-input-CRd87a_c.js} +1 -1
- package/dist/{email-input-DFI4h_KN.cjs → email-input-Dvj1xSzJ.cjs} +1 -1
- package/dist/email-input.cjs +1 -1
- package/dist/email-input.js +1 -1
- package/dist/{fieldset-5V8wx-KE.js → fieldset-BxINrO_H.js} +6 -6
- package/dist/fieldset-C6cahGeV.cjs +1 -0
- package/dist/fieldset.cjs +1 -1
- package/dist/fieldset.js +1 -1
- package/dist/file-input-BzYcnore.cjs +1 -0
- package/dist/{file-input-B_aBgxmT.js → file-input-Ch16hNA1.js} +55 -55
- package/dist/file-input.cjs +1 -1
- package/dist/file-input.js +1 -1
- package/dist/{footer-DB0_-IwN.cjs → footer-B-fRLhqP.cjs} +1 -1
- package/dist/{footer-B3KUIwXW.js → footer-BiiV6-ZD.js} +9 -9
- package/dist/footer.cjs +1 -1
- package/dist/footer.js +1 -1
- package/dist/grid-BDz4Xs6M.cjs +1 -0
- package/dist/grid-BX5vZjDo.js +612 -0
- package/dist/grid.cjs +1 -0
- package/dist/grid.d.ts +1 -0
- package/dist/grid.js +5 -0
- package/dist/header-CvhqGcuo.cjs +1 -0
- package/dist/{header-CDOWlOAR.js → header-DwvyTpRi.js} +22 -22
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/hover-card-BQpzaazK.js +21 -0
- package/dist/{hover-card-C5KsTSZR.cjs → hover-card-V5A1HzEu.cjs} +1 -1
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/icon-BmLOodCQ.cjs +1 -0
- package/dist/icon-BwDfkIdR.js +153 -0
- package/dist/icon.cjs +1 -0
- package/dist/icon.d.ts +1 -0
- package/dist/icon.js +5 -0
- package/dist/index.cjs +10 -5
- package/dist/index.d.ts +6 -0
- package/dist/index.js +593 -516
- package/dist/input-Dtr0tlf7.cjs +1 -0
- package/dist/input-Zs45H33i.js +131 -0
- package/dist/input-otp-D-T32R3O.cjs +1 -0
- package/dist/{input-otp-DmEGB1nu.js → input-otp-DwdX6VlR.js} +33 -33
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.js +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout-shared-B_1iX4Hj.js +319 -0
- package/dist/layout-shared-CsBZcT4V.cjs +1 -0
- package/dist/{menubar-F1_bhmku.js → menubar-CodcV4b7.js} +28 -28
- package/dist/menubar-bOYi1jKo.cjs +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.js +1 -1
- package/dist/multi-select-ChfbxrG3.js +85 -0
- package/dist/multi-select-D573XqUT.cjs +1 -0
- package/dist/multi-select.cjs +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/navigation-drawer-C7YYtBXz.js +198 -0
- package/dist/navigation-drawer-Cu2q1NMn.cjs +1 -0
- package/dist/navigation-drawer.cjs +1 -1
- package/dist/navigation-drawer.js +1 -1
- package/dist/{navigation-menu-BjA-PdMY.js → navigation-menu-BEp603xA.js} +16 -16
- package/dist/{navigation-menu-BtpLfxHN.cjs → navigation-menu-tw5cD7mL.cjs} +2 -2
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.js +1 -1
- package/dist/number-input-C1RS-p2C.js +66 -0
- package/dist/number-input-N3-IvxZT.cjs +1 -0
- package/dist/number-input.cjs +1 -1
- package/dist/number-input.js +1 -1
- package/dist/{pagination-4IuE_APs.cjs → pagination-C6e9oVes.cjs} +1 -1
- package/dist/{pagination-DTWRjiOm.js → pagination-XlaE-Plb.js} +32 -32
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.js +1 -1
- package/dist/{password-input-B9V45d3Q.js → password-input-CR6FT6Rh.js} +2 -2
- package/dist/{password-input-BwnlHPbX.cjs → password-input-CZ19HPZd.cjs} +1 -1
- package/dist/password-input.cjs +1 -1
- package/dist/password-input.js +1 -1
- package/dist/{phone-input-BQjZj5jI.cjs → phone-input-BZhkLmI6.cjs} +1 -1
- package/dist/{phone-input-CSBpGHvI.js → phone-input-CT9W87M7.js} +2 -2
- package/dist/phone-input.cjs +1 -1
- package/dist/phone-input.js +1 -1
- package/dist/popover-CE0n5BQv.cjs +1 -0
- package/dist/popover-CguR4kP7.js +70 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.js +1 -1
- package/dist/{progress-Dz_it5I-.js → progress-BpUNvswZ.js} +8 -7
- package/dist/progress-DSy_jRee.cjs +1 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/providers/create-theme.d.ts +11 -2
- package/dist/providers/eluan-provider.d.ts +8 -6
- package/dist/{radio-group-C--1neiq.cjs → radio-group-9gozRouT.cjs} +1 -1
- package/dist/{radio-group-CNMPZx_2.js → radio-group-Bs9933bk.js} +6 -6
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{rich-text-BZSyuYSo.js → rich-text-CuAa5WkV.js} +21 -21
- package/dist/{rich-text-DerWxzdn.cjs → rich-text-p7H-0qE7.cjs} +2 -2
- package/dist/rich-text.cjs +1 -1
- package/dist/rich-text.js +1 -1
- package/dist/row-BYAk7G5d.js +37 -0
- package/dist/row-Bjn-GQAC.cjs +1 -0
- package/dist/row.cjs +1 -0
- package/dist/row.d.ts +1 -0
- package/dist/row.js +5 -0
- package/dist/{search-input-bFNW6oiE.js → search-input-CxKLBmii.js} +53 -53
- package/dist/{search-input-Dmmo-BEL.cjs → search-input-XmoL2YjY.cjs} +1 -1
- package/dist/search-input.cjs +1 -1
- package/dist/search-input.js +1 -1
- package/dist/select-BCDam7PR.cjs +1 -0
- package/dist/select-QgjG43ye.js +119 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/sheet-BxNmBMti.cjs +1 -0
- package/dist/{sheet-D5HWF66e.js → sheet-D0hVuH9a.js} +7 -7
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/slider-Cv7uIp4z.js +16 -0
- package/dist/slider-Dci7KGjg.cjs +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/stack-Ck1w2iJu.cjs +1 -0
- package/dist/stack-D2btWM1t.js +27 -0
- package/dist/stack.cjs +1 -0
- package/dist/stack.d.ts +1 -0
- package/dist/stack.js +5 -0
- package/dist/{stepper-D5nDwJUz.cjs → stepper-ByYKX7qw.cjs} +1 -1
- package/dist/{stepper-BtlKiHtd.js → stepper-Copsj87A.js} +4 -4
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.js +1 -1
- package/dist/styles.css +1205 -189
- package/dist/switch-DQ4R-gjR.cjs +1 -0
- package/dist/switch-WaESqUuN.js +9 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/table-YKEWGYnI.js +149 -0
- package/dist/table-zbkgP43L.cjs +1 -0
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs-BwNIi7Dl.js +22 -0
- package/dist/tabs-DItFd2o9.cjs +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea-BWAPWDRt.js +8 -0
- package/dist/textarea-CniUTipL.cjs +1 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-input-BPoFvoeM.js → time-input-CeJVQKWO.js} +68 -68
- package/dist/time-input-eVFFYo10.cjs +1 -0
- package/dist/time-input.cjs +1 -1
- package/dist/time-input.js +1 -1
- package/dist/{toast-BK0ulAzi.cjs → toast-84RpQJtn.cjs} +1 -1
- package/dist/{toast-hI3pdZ2X.js → toast-BGKaAZwf.js} +1 -1
- package/dist/toast.cjs +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-Dv1VZ5Le.js → toggle-CxHqX2-V.js} +11 -11
- package/dist/toggle-DrJJAflI.cjs +1 -0
- package/dist/toggle-group-DvoxSJMq.cjs +1 -0
- package/dist/{toggle-group-DE8BPZih.js → toggle-group-k-kiBnEe.js} +21 -21
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.js +1 -1
- package/dist/{tooltip-DZqn4wKl.js → tooltip-1Biy6A0m.js} +3 -3
- package/dist/{tooltip-faf1dIXp.cjs → tooltip-DIerl2vz.cjs} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-view-CyeJR7cW.js → tree-view-Bswh2RGr.js} +37 -37
- package/dist/tree-view-DDX9QjzF.cjs +1 -0
- package/dist/tree-view.cjs +1 -1
- package/dist/tree-view.js +1 -1
- package/dist/visually-hidden-BQMRYGxP.js +14 -0
- package/dist/visually-hidden-DzxxOswl.cjs +1 -0
- package/dist/visually-hidden.cjs +1 -0
- package/dist/visually-hidden.d.ts +1 -0
- package/dist/visually-hidden.js +5 -0
- package/package.json +12 -8
- package/skills/eluan/DESIGN.md +411 -0
- package/skills/eluan/SKILL.md +202 -0
- package/skills/eluan/components/accordion.md +212 -0
- package/skills/eluan/components/action-popover.md +266 -0
- package/skills/eluan/components/aspect-ratio.md +169 -0
- package/skills/eluan/components/avatar.md +277 -0
- package/skills/eluan/components/badge.md +190 -0
- package/skills/eluan/components/banner.md +247 -0
- package/skills/eluan/components/box.md +166 -0
- package/skills/eluan/components/breadcrumb.md +240 -0
- package/skills/eluan/components/button.md +214 -0
- package/skills/eluan/components/calendar.md +192 -0
- package/skills/eluan/components/card.md +271 -0
- package/skills/eluan/components/carousel.md +274 -0
- package/skills/eluan/components/checkbox-group.md +228 -0
- package/skills/eluan/components/checkbox.md +226 -0
- package/skills/eluan/components/code-block.md +193 -0
- package/skills/eluan/components/collapsible.md +240 -0
- package/skills/eluan/components/command.md +359 -0
- package/skills/eluan/components/context-menu.md +296 -0
- package/skills/eluan/components/credit-card-input.md +217 -0
- package/skills/eluan/components/date-picker.md +255 -0
- package/skills/eluan/components/date-time-picker.md +196 -0
- package/skills/eluan/components/decimal-input.md +232 -0
- package/skills/eluan/components/dialog.md +322 -0
- package/skills/eluan/components/drawer.md +292 -0
- package/skills/eluan/components/dropdown-menu.md +450 -0
- package/skills/eluan/components/email-input.md +200 -0
- package/skills/eluan/components/fieldset.md +219 -0
- package/skills/eluan/components/file-input.md +249 -0
- package/skills/eluan/components/footer.md +290 -0
- package/skills/eluan/components/form-label.md +254 -0
- package/skills/eluan/components/grid.md +192 -0
- package/skills/eluan/components/header.md +242 -0
- package/skills/eluan/components/hover-card.md +215 -0
- package/skills/eluan/components/icon.md +161 -0
- package/skills/eluan/components/input-otp.md +227 -0
- package/skills/eluan/components/input.md +249 -0
- package/skills/eluan/components/kbd.md +216 -0
- package/skills/eluan/components/media.md +244 -0
- package/skills/eluan/components/menubar.md +300 -0
- package/skills/eluan/components/multi-select.md +221 -0
- package/skills/eluan/components/navigation-drawer.md +297 -0
- package/skills/eluan/components/navigation-menu.md +291 -0
- package/skills/eluan/components/number-input.md +190 -0
- package/skills/eluan/components/pagination.md +262 -0
- package/skills/eluan/components/password-input.md +218 -0
- package/skills/eluan/components/phone-input.md +205 -0
- package/skills/eluan/components/popover.md +250 -0
- package/skills/eluan/components/progress.md +185 -0
- package/skills/eluan/components/radio-group.md +232 -0
- package/skills/eluan/components/rich-text.md +195 -0
- package/skills/eluan/components/row.md +174 -0
- package/skills/eluan/components/scroll-area.md +203 -0
- package/skills/eluan/components/search-input.md +281 -0
- package/skills/eluan/components/segmented-control.md +201 -0
- package/skills/eluan/components/select.md +296 -0
- package/skills/eluan/components/separator.md +179 -0
- package/skills/eluan/components/sheet.md +326 -0
- package/skills/eluan/components/skeleton.md +202 -0
- package/skills/eluan/components/slider.md +195 -0
- package/skills/eluan/components/spinner.md +187 -0
- package/skills/eluan/components/stack.md +158 -0
- package/skills/eluan/components/stepper.md +236 -0
- package/skills/eluan/components/switch.md +218 -0
- package/skills/eluan/components/table.md +348 -0
- package/skills/eluan/components/tabs.md +277 -0
- package/skills/eluan/components/textarea.md +202 -0
- package/skills/eluan/components/time-input.md +181 -0
- package/skills/eluan/components/toast.md +251 -0
- package/skills/eluan/components/toggle-group.md +241 -0
- package/skills/eluan/components/toggle.md +198 -0
- package/skills/eluan/components/tooltip.md +222 -0
- package/skills/eluan/components/tree-view.md +213 -0
- package/skills/eluan/components/typography.md +210 -0
- package/skills/eluan/components/visually-hidden.md +132 -0
- package/skills/eluan/foundations/colour.md +257 -0
- package/skills/eluan/foundations/elevation.md +86 -0
- package/skills/eluan/foundations/iconography.md +70 -0
- package/skills/eluan/foundations/look.md +135 -0
- package/skills/eluan/foundations/motion.md +60 -0
- package/skills/eluan/foundations/radius.md +73 -0
- package/skills/eluan/foundations/spacing.md +98 -0
- package/skills/eluan/foundations/theming.md +212 -0
- package/skills/eluan/foundations/typography.md +169 -0
- package/skills/eluan/patterns/app-shell.md +222 -0
- package/skills/eluan/patterns/dashboard.md +249 -0
- package/skills/eluan/patterns/empty-states.md +78 -0
- package/skills/eluan/patterns/feedback.md +95 -0
- package/skills/eluan/patterns/forms.md +138 -0
- package/skills/eluan/patterns/navigation.md +96 -0
- package/skills/eluan/patterns/page-layout.md +185 -0
- package/dist/badge-DXKWztL-.cjs +0 -1
- package/dist/banner-COlEFRuK.cjs +0 -1
- package/dist/button-Ny6OF8Un.cjs +0 -1
- package/dist/calendar-7LX5YGGT.cjs +0 -76
- package/dist/card-BC_4C3ns.js +0 -70
- package/dist/card-C88--zB4.cjs +0 -1
- package/dist/command-BCl0seLL.cjs +0 -9
- package/dist/command-Chs5VlBL.js +0 -132
- package/dist/context-menu-1WehRCpR.cjs +0 -1
- package/dist/decimal-input-BLmifKF2.cjs +0 -1
- package/dist/decimal-input-yTk35W_5.js +0 -177
- package/dist/dialog-B8eWKqzS.js +0 -64
- package/dist/dialog-DWYtFhZl.cjs +0 -1
- package/dist/dropdown-menu-_h_fqgvS.cjs +0 -1
- package/dist/dropdown-menu-p0NkOoTP.js +0 -115
- package/dist/fieldset-C3aAINhi.cjs +0 -1
- package/dist/file-input-D62FEnKg.cjs +0 -1
- package/dist/header-CiZQY_7S.cjs +0 -1
- package/dist/hover-card-C_FCzE41.js +0 -21
- package/dist/input-BrGJn-D9.cjs +0 -1
- package/dist/input-Cccufiqn.js +0 -128
- package/dist/input-otp-DcZ7wyjs.cjs +0 -1
- package/dist/menubar-CKWQEl7c.cjs +0 -1
- package/dist/multi-select-B6NBbDCW.js +0 -85
- package/dist/multi-select-kcoUbSwE.cjs +0 -1
- package/dist/navigation-drawer-BbeDYPhu.js +0 -171
- package/dist/navigation-drawer-DOOHfbY3.cjs +0 -1
- package/dist/number-input-Bc7jUsu-.cjs +0 -1
- package/dist/number-input-vICbRc2y.js +0 -66
- package/dist/popover-DPc4rRsR.js +0 -70
- package/dist/popover-Db6VOysz.cjs +0 -1
- package/dist/progress-DpQjGEyn.cjs +0 -1
- package/dist/select-1Eb3NSrR.cjs +0 -1
- package/dist/select-DDSYjKtj.js +0 -119
- package/dist/sheet-7NP1LuHy.cjs +0 -1
- package/dist/slider-CZQBAXup.js +0 -16
- package/dist/slider-DdEOapYP.cjs +0 -1
- package/dist/switch-C7EBLT5H.js +0 -9
- package/dist/switch-KzBijHMJ.cjs +0 -1
- package/dist/table-DopzfXYj.js +0 -101
- package/dist/table-xNu_KUaU.cjs +0 -1
- package/dist/tabs-C9NKBmH0.js +0 -22
- package/dist/tabs-DztJ2iVc.cjs +0 -1
- package/dist/textarea-DXUk1b_-.js +0 -8
- package/dist/textarea-Dl-daLHR.cjs +0 -1
- package/dist/time-input-DR2snTgB.cjs +0 -1
- package/dist/toggle-Bvh1v32T.cjs +0 -1
- package/dist/toggle-group-SyHMwO90.cjs +0 -1
- package/dist/tree-view-CNvEc1TT.cjs +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as n, jsxs as A } from "react/jsx-runtime";
|
|
3
|
+
import * as p from "react";
|
|
4
|
+
import { Minus as B, Plus as K } from "lucide-react";
|
|
5
|
+
import { I as N } from "./input-Zs45H33i.js";
|
|
6
|
+
const M = p.forwardRef(({
|
|
7
|
+
value: c,
|
|
8
|
+
onValueChange: r,
|
|
9
|
+
min: o,
|
|
10
|
+
max: i,
|
|
11
|
+
step: a = 1,
|
|
12
|
+
showControls: z = !0,
|
|
13
|
+
allowNegative: I = !0,
|
|
14
|
+
clampOnBlur: D = !0,
|
|
15
|
+
disabled: u,
|
|
16
|
+
...l
|
|
17
|
+
}, f) => {
|
|
18
|
+
const [x, d] = p.useState(c !== void 0 ? c.toString() : "");
|
|
19
|
+
p.useEffect(() => {
|
|
20
|
+
c !== void 0 && d(c.toString());
|
|
21
|
+
}, [c]);
|
|
22
|
+
const m = (t) => {
|
|
23
|
+
let e = t;
|
|
24
|
+
return o !== void 0 && e < o && (e = o), i !== void 0 && e > i && (e = i), e;
|
|
25
|
+
}, s = (t) => {
|
|
26
|
+
if (t === "" || t === "-") return;
|
|
27
|
+
const e = parseFloat(t);
|
|
28
|
+
return isNaN(e) ? void 0 : e;
|
|
29
|
+
}, w = (t) => {
|
|
30
|
+
let e = t.target.value;
|
|
31
|
+
if (I || (e = e.replace(/-/g, "")), !/^-?\d*\.?\d*$/.test(e))
|
|
32
|
+
return;
|
|
33
|
+
d(e);
|
|
34
|
+
const j = s(e);
|
|
35
|
+
r == null || r(j);
|
|
36
|
+
}, y = () => {
|
|
37
|
+
const t = s(x);
|
|
38
|
+
if (t !== void 0 && D) {
|
|
39
|
+
const e = m(t);
|
|
40
|
+
d(e.toString()), r == null || r(e);
|
|
41
|
+
}
|
|
42
|
+
}, v = () => {
|
|
43
|
+
const t = s(x) ?? 0, e = m(t + a);
|
|
44
|
+
d(e.toString()), r == null || r(e);
|
|
45
|
+
}, b = () => {
|
|
46
|
+
const t = s(x) ?? 0, e = m(t - a);
|
|
47
|
+
d(e.toString()), r == null || r(e);
|
|
48
|
+
}, k = (t) => {
|
|
49
|
+
t.key === "ArrowUp" ? (t.preventDefault(), v()) : t.key === "ArrowDown" && (t.preventDefault(), b());
|
|
50
|
+
}, S = () => {
|
|
51
|
+
const t = s(x) ?? 0;
|
|
52
|
+
return o === void 0 || t > o;
|
|
53
|
+
}, q = () => {
|
|
54
|
+
const t = s(x) ?? 0;
|
|
55
|
+
return i === void 0 || t < i;
|
|
56
|
+
};
|
|
57
|
+
return z ? /* @__PURE__ */ A("div", { className: "x78zum5", children: [
|
|
58
|
+
/* @__PURE__ */ n("button", { type: "button", "aria-label": "Decrease", className: "x6s0dn4 xucfsk5 x7xvpo5 x1y0btm7 xmkeg23 x1yvyprb x1uuraw0 x78zum5 x1h5pcsu xl56j7k xx6bhzk x1qsmvhx xwwtwea xyp5bzy x3wwfir x1leyzdx x1qg2s8m x1s07b3s xaqnwrm xgfja2r x10kefbs x16g0hrh", onClick: b, disabled: !S() || u, tabIndex: -1, children: /* @__PURE__ */ n(B, { "aria-hidden": "true", className: "xkive58 x1vfp87d" }) }),
|
|
59
|
+
/* @__PURE__ */ n(N, { type: "text", inputMode: "decimal", attachment: "middle", textAlign: "center", textStyle: "mono", ref: f, value: x, onChange: w, onBlur: y, onKeyDown: k, disabled: u, ...l }),
|
|
60
|
+
/* @__PURE__ */ n("button", { type: "button", "aria-label": "Increase", className: "x6s0dn4 xucfsk5 x7xvpo5 x1y0btm7 xmkeg23 x1yvyprb x1uuraw0 x78zum5 x1h5pcsu xl56j7k xx6bhzk x1qsmvhx xwwtwea xyp5bzy x3wwfir x1leyzdx x1qg2s8m x1s07b3s xaqnwrm xyj58a3 xywaodx x1gw04aq", onClick: v, disabled: !q() || u, tabIndex: -1, children: /* @__PURE__ */ n(K, { "aria-hidden": "true", className: "xkive58 x1vfp87d" }) })
|
|
61
|
+
] }) : /* @__PURE__ */ n(N, { type: "text", inputMode: "decimal", textStyle: "mono", ref: f, value: x, onChange: w, onBlur: y, onKeyDown: k, disabled: u, ...l });
|
|
62
|
+
});
|
|
63
|
+
M.displayName = "NumberInput";
|
|
64
|
+
export {
|
|
65
|
+
M as N
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const i=require("react/jsx-runtime"),g=require("react"),k=require("lucide-react"),N=require("./input-Dtr0tlf7.cjs");function M(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(r,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return r.default=n,Object.freeze(r)}const l=M(g),q=l.forwardRef(({value:n,onValueChange:r,min:c,max:s,step:p=1,showControls:z=!0,allowNegative:D=!0,clampOnBlur:I=!0,disabled:d,...m},f)=>{const[x,u]=l.useState(n!==void 0?n.toString():"");l.useEffect(()=>{n!==void 0&&u(n.toString())},[n]);const a=t=>{let e=t;return c!==void 0&&e<c&&(e=c),s!==void 0&&e>s&&(e=s),e},o=t=>{if(t===""||t==="-")return;const e=parseFloat(t);return isNaN(e)?void 0:e},y=t=>{let e=t.target.value;if(D||(e=e.replace(/-/g,"")),!/^-?\d*\.?\d*$/.test(e))return;u(e);const R=o(e);r==null||r(R)},b=()=>{const t=o(x);if(t!==void 0&&I){const e=a(t);u(e.toString()),r==null||r(e)}},w=()=>{const t=o(x)??0,e=a(t+p);u(e.toString()),r==null||r(e)},v=()=>{const t=o(x)??0,e=a(t-p);u(e.toString()),r==null||r(e)},j=t=>{t.key==="ArrowUp"?(t.preventDefault(),w()):t.key==="ArrowDown"&&(t.preventDefault(),v())},S=()=>{const t=o(x)??0;return c===void 0||t>c},O=()=>{const t=o(x)??0;return s===void 0||t<s};return z?i.jsxs("div",{className:"x78zum5",children:[i.jsx("button",{type:"button","aria-label":"Decrease",className:"x6s0dn4 xucfsk5 x7xvpo5 x1y0btm7 xmkeg23 x1yvyprb x1uuraw0 x78zum5 x1h5pcsu xl56j7k xx6bhzk x1qsmvhx xwwtwea xyp5bzy x3wwfir x1leyzdx x1qg2s8m x1s07b3s xaqnwrm xgfja2r x10kefbs x16g0hrh",onClick:v,disabled:!S()||d,tabIndex:-1,children:i.jsx(k.Minus,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})}),i.jsx(N.Input,{type:"text",inputMode:"decimal",attachment:"middle",textAlign:"center",textStyle:"mono",ref:f,value:x,onChange:y,onBlur:b,onKeyDown:j,disabled:d,...m}),i.jsx("button",{type:"button","aria-label":"Increase",className:"x6s0dn4 xucfsk5 x7xvpo5 x1y0btm7 xmkeg23 x1yvyprb x1uuraw0 x78zum5 x1h5pcsu xl56j7k xx6bhzk x1qsmvhx xwwtwea xyp5bzy x3wwfir x1leyzdx x1qg2s8m x1s07b3s xaqnwrm xyj58a3 xywaodx x1gw04aq",onClick:w,disabled:!O()||d,tabIndex:-1,children:i.jsx(k.Plus,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})]}):i.jsx(N.Input,{type:"text",inputMode:"decimal",textStyle:"mono",ref:f,value:x,onChange:y,onBlur:b,onKeyDown:j,disabled:d,...m})});q.displayName="NumberInput";exports.NumberInput=q;
|
package/dist/number-input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./number-input-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./number-input-N3-IvxZT.cjs");exports.NumberInput=e.NumberInput;
|
package/dist/number-input.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";const n=require("react/jsx-runtime"),j=require("react"),f=require("@stylexjs/stylex"),o=require("lucide-react"),
|
|
1
|
+
"use client";"use strict";const n=require("react/jsx-runtime"),j=require("react"),f=require("@stylexjs/stylex"),o=require("lucide-react"),h=require("./button-BUHQOcAo.cjs"),x=require("./dropdown-menu-BV2rX_ow.cjs");function c(e){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}return i.default=e,Object.freeze(i)}const u=c(j),z=c(f),l=({...e})=>n.jsx("nav",{role:"navigation","aria-label":"pagination",...e,className:"x78zum5 xl56j7k xvueqy4 xh8yej3"});l.displayName="Pagination";const k=u.forwardRef(({...e},i)=>n.jsx("ul",{ref:i,...e,className:"x6s0dn4 x78zum5 x1q0g3np x1o29ju6"}));k.displayName="PaginationContent";const d=u.forwardRef(({...e},i)=>n.jsx("li",{ref:i,...e}));d.displayName="PaginationItem";const r=({edge:e,isActive:i,size:a="icon",...s})=>n.jsx("a",{"aria-current":i?"page":void 0,...s,...z.props(t.base,v[a],i?t.active:t.inactive,e&&t.edge)});r.displayName="PaginationLink";const g=e=>n.jsxs(r,{"aria-label":"Go to previous page",edge:!0,size:"default",...e,children:[n.jsx(o.ChevronLeft,{"aria-hidden":"true",className:"xkive58 x1vfp87d"}),n.jsx("span",{children:"Previous"})]});g.displayName="PaginationPrevious";const p=e=>n.jsxs(r,{"aria-label":"Go to next page",edge:!0,size:"default",...e,children:[n.jsx("span",{children:"Next"}),n.jsx(o.ChevronRight,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})]});p.displayName="PaginationNext";const m=({pages:e,onPageClick:i})=>!e||e.length===0?n.jsxs("span",{"aria-hidden":!0,className:"x6s0dn4 x1uuraw0 x78zum5 x1h5pcsu xl56j7k xyp5bzy",children:[n.jsx(o.MoreHorizontal,{className:"xkive58 x1vfp87d"}),n.jsx("span",{className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:"More pages"})]}):n.jsxs(x.DropdownMenu,{children:[n.jsx(x.DropdownMenuTrigger,{asChild:!0,children:n.jsx(h.Button,{variant:"ghost",size:"icon","aria-label":"Show more pages",children:n.jsx(o.MoreHorizontal,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),n.jsx(x.DropdownMenuContent,{align:"center",children:e.map(a=>n.jsxs(x.DropdownMenuItem,{onClick:()=>i==null?void 0:i(a),children:["Page ",a]},a))})]});m.displayName="PaginationEllipsis";const t={base:{kGNEyG:"x6s0dn4",kMzoRj:"xc342km",ksu8eU:"x1y0btm7",kVAM5u:"x9r1u3d",kaIpWk:"x1c6t507",kB7OPa:"x9f619",k1xSpc:"x3nfvp2",kGuDYH:"x1eqnyfr",k63SB2:"xo1l8bm",kOIVth:"x10ci2pi",kjj79g:"xl56j7k",kMnn75:"xkrqix3",kIyJzY:"xx6bhzk",k1ekBW:"xfagghw",kAMwcw:"xwwtwea",khDVqt:"xuxw1ft",kZs9gx:"xue4uem",kiEn40:"x13iak60",k7shQP:"x9v5kkp",kPJHz1:"x4xl6zf",$$css:!0},active:{kWkggS:"x11gjnpk",kVAM5u:"xnyxj8h",kMzoRj:"xmkeg23",kMwMTN:"xcgq616",$$css:!0},inactive:{kWkggS:"xjbqb8w",kMwMTN:"x1sjp1m2",kGzVvX:"x3wwfir",kDPRdz:"x1tcazb1",$$css:!0},edge:{kOIVth:"x1o29ju6",kE3dHu:"xo4myec",$$css:!0},sizeDefault:{kZKoxP:"x1h5pcsu",k8WAf4:"xrtip4p",kg3NbH:"x16pzmsl",$$css:!0},sizeSm:{kaIpWk:"x1c6t507",kGuDYH:"x51wmvv",kZKoxP:"x1k4gd0d",kg3NbH:"x1wu0y3b",$$css:!0},sizeLg:{kaIpWk:"x1c6t507",kGuDYH:"x1j29vfg",kZKoxP:"xlev6zl",kg3NbH:"x1oh0jwc",$$css:!0},sizeIcon:{kZKoxP:"x1h5pcsu",kzqmXN:"xyp5bzy",$$css:!0}},v={default:t.sizeDefault,sm:t.sizeSm,lg:t.sizeLg,icon:t.sizeIcon};exports.Pagination=l;exports.PaginationContent=k;exports.PaginationEllipsis=m;exports.PaginationItem=d;exports.PaginationLink=r;exports.PaginationNext=p;exports.PaginationPrevious=g;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
|
-
import * as
|
|
3
|
+
import * as r from "react";
|
|
4
4
|
import * as l from "@stylexjs/stylex";
|
|
5
|
-
import { MoreHorizontal as
|
|
6
|
-
import { B as d } from "./button-
|
|
7
|
-
import { D as p, n as m, b as g, d as
|
|
8
|
-
const
|
|
5
|
+
import { MoreHorizontal as o, ChevronRight as c, ChevronLeft as u } from "lucide-react";
|
|
6
|
+
import { B as d } from "./button-fCYiYUPE.js";
|
|
7
|
+
import { D as p, n as m, b as g, d as h } from "./dropdown-menu-C6NPtU9J.js";
|
|
8
|
+
const f = ({
|
|
9
9
|
...a
|
|
10
10
|
}) => /* @__PURE__ */ e("nav", { role: "navigation", "aria-label": "pagination", ...a, className: "x78zum5 xl56j7k xvueqy4 xh8yej3" });
|
|
11
|
-
|
|
12
|
-
const
|
|
11
|
+
f.displayName = "Pagination";
|
|
12
|
+
const z = r.forwardRef(({
|
|
13
13
|
...a
|
|
14
14
|
}, i) => /* @__PURE__ */ e("ul", { ref: i, ...a, className: "x6s0dn4 x78zum5 x1q0g3np x1o29ju6" }));
|
|
15
|
-
|
|
16
|
-
const
|
|
15
|
+
z.displayName = "PaginationContent";
|
|
16
|
+
const v = r.forwardRef(({
|
|
17
17
|
...a
|
|
18
18
|
}, i) => /* @__PURE__ */ e("li", { ref: i, ...a }));
|
|
19
|
-
|
|
19
|
+
v.displayName = "PaginationItem";
|
|
20
20
|
const x = ({
|
|
21
21
|
edge: a,
|
|
22
22
|
isActive: i,
|
|
@@ -24,37 +24,37 @@ const x = ({
|
|
|
24
24
|
...k
|
|
25
25
|
}) => /* @__PURE__ */ e("a", { "aria-current": i ? "page" : void 0, ...k, ...l.props(n.base, P[s], i ? n.active : n.inactive, a && n.edge) });
|
|
26
26
|
x.displayName = "PaginationLink";
|
|
27
|
-
const
|
|
27
|
+
const N = (a) => /* @__PURE__ */ t(x, { "aria-label": "Go to previous page", edge: !0, size: "default", ...a, children: [
|
|
28
28
|
/* @__PURE__ */ e(u, { "aria-hidden": "true", className: "xkive58 x1vfp87d" }),
|
|
29
29
|
/* @__PURE__ */ e("span", { children: "Previous" })
|
|
30
30
|
] });
|
|
31
|
-
|
|
32
|
-
const
|
|
31
|
+
N.displayName = "PaginationPrevious";
|
|
32
|
+
const w = (a) => /* @__PURE__ */ t(x, { "aria-label": "Go to next page", edge: !0, size: "default", ...a, children: [
|
|
33
33
|
/* @__PURE__ */ e("span", { children: "Next" }),
|
|
34
34
|
/* @__PURE__ */ e(c, { "aria-hidden": "true", className: "xkive58 x1vfp87d" })
|
|
35
35
|
] });
|
|
36
|
-
|
|
37
|
-
const
|
|
36
|
+
w.displayName = "PaginationNext";
|
|
37
|
+
const y = ({
|
|
38
38
|
pages: a,
|
|
39
39
|
onPageClick: i
|
|
40
40
|
}) => !a || a.length === 0 ? /* @__PURE__ */ t("span", { "aria-hidden": !0, className: "x6s0dn4 x1uuraw0 x78zum5 x1h5pcsu xl56j7k xyp5bzy", children: [
|
|
41
|
-
/* @__PURE__ */ e(
|
|
41
|
+
/* @__PURE__ */ e(o, { className: "xkive58 x1vfp87d" }),
|
|
42
42
|
/* @__PURE__ */ e("span", { className: "xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s", children: "More pages" })
|
|
43
43
|
] }) : /* @__PURE__ */ t(p, { children: [
|
|
44
|
-
/* @__PURE__ */ e(m, { asChild: !0, children: /* @__PURE__ */ e(d, { variant: "ghost", size: "icon", "aria-label": "Show more pages", children: /* @__PURE__ */ e(
|
|
45
|
-
/* @__PURE__ */ e(g, { align: "center", children: a.map((s) => /* @__PURE__ */ t(
|
|
44
|
+
/* @__PURE__ */ e(m, { asChild: !0, children: /* @__PURE__ */ e(d, { variant: "ghost", size: "icon", "aria-label": "Show more pages", children: /* @__PURE__ */ e(o, { "aria-hidden": "true", className: "xkive58 x1vfp87d" }) }) }),
|
|
45
|
+
/* @__PURE__ */ e(g, { align: "center", children: a.map((s) => /* @__PURE__ */ t(h, { onClick: () => i == null ? void 0 : i(s), children: [
|
|
46
46
|
"Page ",
|
|
47
47
|
s
|
|
48
48
|
] }, s)) })
|
|
49
49
|
] });
|
|
50
|
-
|
|
50
|
+
y.displayName = "PaginationEllipsis";
|
|
51
51
|
const n = {
|
|
52
52
|
base: {
|
|
53
53
|
kGNEyG: "x6s0dn4",
|
|
54
54
|
kMzoRj: "xc342km",
|
|
55
55
|
ksu8eU: "x1y0btm7",
|
|
56
56
|
kVAM5u: "x9r1u3d",
|
|
57
|
-
kaIpWk: "
|
|
57
|
+
kaIpWk: "x1c6t507",
|
|
58
58
|
kB7OPa: "x9f619",
|
|
59
59
|
k1xSpc: "x3nfvp2",
|
|
60
60
|
kGuDYH: "x1eqnyfr",
|
|
@@ -66,17 +66,17 @@ const n = {
|
|
|
66
66
|
k1ekBW: "xfagghw",
|
|
67
67
|
kAMwcw: "xwwtwea",
|
|
68
68
|
khDVqt: "xuxw1ft",
|
|
69
|
-
kZs9gx: "
|
|
69
|
+
kZs9gx: "xue4uem",
|
|
70
70
|
kiEn40: "x13iak60",
|
|
71
71
|
k7shQP: "x9v5kkp",
|
|
72
72
|
kPJHz1: "x4xl6zf",
|
|
73
73
|
$$css: !0
|
|
74
74
|
},
|
|
75
75
|
active: {
|
|
76
|
-
kWkggS: "
|
|
77
|
-
kVAM5u: "
|
|
76
|
+
kWkggS: "x11gjnpk",
|
|
77
|
+
kVAM5u: "xnyxj8h",
|
|
78
78
|
kMzoRj: "xmkeg23",
|
|
79
|
-
kMwMTN: "
|
|
79
|
+
kMwMTN: "xcgq616",
|
|
80
80
|
$$css: !0
|
|
81
81
|
},
|
|
82
82
|
inactive: {
|
|
@@ -98,14 +98,14 @@ const n = {
|
|
|
98
98
|
$$css: !0
|
|
99
99
|
},
|
|
100
100
|
sizeSm: {
|
|
101
|
-
kaIpWk: "
|
|
101
|
+
kaIpWk: "x1c6t507",
|
|
102
102
|
kGuDYH: "x51wmvv",
|
|
103
103
|
kZKoxP: "x1k4gd0d",
|
|
104
104
|
kg3NbH: "x1wu0y3b",
|
|
105
105
|
$$css: !0
|
|
106
106
|
},
|
|
107
107
|
sizeLg: {
|
|
108
|
-
kaIpWk: "
|
|
108
|
+
kaIpWk: "x1c6t507",
|
|
109
109
|
kGuDYH: "x1j29vfg",
|
|
110
110
|
kZKoxP: "xlev6zl",
|
|
111
111
|
kg3NbH: "x1oh0jwc",
|
|
@@ -123,11 +123,11 @@ const n = {
|
|
|
123
123
|
icon: n.sizeIcon
|
|
124
124
|
};
|
|
125
125
|
export {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
f as P,
|
|
127
|
+
z as a,
|
|
128
|
+
y as b,
|
|
129
|
+
v as c,
|
|
130
130
|
x as d,
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
w as e,
|
|
132
|
+
N as f
|
|
133
133
|
};
|
package/dist/pagination.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./pagination-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./pagination-C6e9oVes.cjs");exports.Pagination=i.Pagination;exports.PaginationContent=i.PaginationContent;exports.PaginationEllipsis=i.PaginationEllipsis;exports.PaginationItem=i.PaginationItem;exports.PaginationLink=i.PaginationLink;exports.PaginationNext=i.PaginationNext;exports.PaginationPrevious=i.PaginationPrevious;
|
package/dist/pagination.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import * as h from "react";
|
|
4
4
|
import { Check as z, X as L } from "lucide-react";
|
|
5
|
-
import { I as y } from "./input-
|
|
6
|
-
import { P } from "./progress-
|
|
5
|
+
import { I as y } from "./input-Zs45H33i.js";
|
|
6
|
+
import { P } from "./progress-BpUNvswZ.js";
|
|
7
7
|
function S(e, c = {}) {
|
|
8
8
|
const {
|
|
9
9
|
minLength: l = 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";const s=require("react/jsx-runtime"),y=require("react"),v=require("lucide-react"),L=require("./input-
|
|
1
|
+
"use client";"use strict";const s=require("react/jsx-runtime"),y=require("react"),v=require("lucide-react"),L=require("./input-Dtr0tlf7.cjs"),O=require("./progress-DSy_jRee.cjs");function P(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const a=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,a.get?a:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const p=P(y);function S(e,t={}){const{minLength:c=8,requireUppercase:a=!0,requireLowercase:o=!0,requireNumbers:d=!0,requireSpecialChars:r=!0}=t,u={length:e.length>=c,uppercase:!a||/[A-Z]/.test(e),lowercase:!o||/[a-z]/.test(e),numbers:!d||/[0-9]/.test(e),specialChars:!r||/[!@#$%^&*(),.?":{}|<>]/.test(e)},i=Object.values(u).filter(Boolean).length,x=Object.keys(u).length;return{score:i/x,checks:u}}const n=({passed:e,children:t})=>s.jsxs("li",{className:"x6s0dn4 x78zum5 x1o29ju6",children:[e?s.jsx(v.Check,{"aria-hidden":"true",className:"xwvkxvr xosxg9m x31tm2b"}):s.jsx(v.X,{"aria-hidden":"true",className:"xwvkxvr xosxg9m x1uuraw0"}),s.jsxs("span",{...{0:{className:"x1uuraw0"},1:{className:"x31tm2b"}}[!!e<<0],children:[t,s.jsx("span",{className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:e?" (met)":" (not met)"})]})]}),k=p.forwardRef(({showStrengthIndicator:e=!1,strengthRequirements:t={},onStrengthChange:c,onChange:a,...o},d)=>{const[r,u]=p.useState(null),[i,x]=p.useState("none"),{minLength:q=8,requireUppercase:b=!0,requireLowercase:N=!0,requireNumbers:w=!0,requireSpecialChars:g=!0}=t,z=h=>{const j=h.target.value;if(e&&j){const m=S(j,t);u(m);let l;m.score<.4?l="weak":m.score<.8?l="medium":l="strong",x(l),c==null||c(l)}else u(null),x("none");a==null||a(h)},f=()=>r?r.score<.4?"Weak":r.score<.8?"Medium":"Strong":"";return s.jsxs("div",{className:"x78zum5 xdt5ytf xpfqfdi",children:[s.jsx("div",{role:"status","aria-live":"polite",className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:e&&r?`Password strength: ${f()}`:""}),s.jsx(L.Input,{type:"password",ref:d,onChange:z,...o}),e&&r&&s.jsxs("div",{className:"x78zum5 xdt5ytf xpfqfdi",children:[s.jsxs("div",{className:"x6s0dn4 x78zum5 xpfqfdi",children:[s.jsx(O.Progress,{value:r.score*100,size:"sm",tone:i==="none"?"default":i}),s.jsx("span",{className:"x1uuraw0 x51wmvv x1hxoosp",children:f()})]}),s.jsxs("ul",{className:"xrvj5dj x51wmvv x10ci2pi xnby9oq x3ct3a4 x1ghz6dp x1717udv",children:[s.jsxs(n,{passed:r.checks.length,children:[q,"+ characters"]}),b&&s.jsx(n,{passed:r.checks.uppercase,children:"Uppercase letter"}),N&&s.jsx(n,{passed:r.checks.lowercase,children:"Lowercase letter"}),w&&s.jsx(n,{passed:r.checks.numbers,children:"Number"}),g&&s.jsx(n,{passed:r.checks.specialChars,children:"Special character"})]})]})]})});k.displayName="PasswordInput";exports.PasswordInput=k;
|
package/dist/password-input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./password-input-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./password-input-CZ19HPZd.cjs");exports.PasswordInput=e.PasswordInput;
|
package/dist/password-input.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";const s=require("react/jsx-runtime"),q=require("react"),x=require("countries-list"),O=require("./input-
|
|
1
|
+
"use client";"use strict";const s=require("react/jsx-runtime"),q=require("react"),x=require("countries-list"),O=require("./input-Dtr0tlf7.cjs"),i=require("./select-BCDam7PR.cjs");function v(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const a=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(n,c,a.get?a:{enumerable:!0,get:()=>e[c]})}}return n.default=e,Object.freeze(n)}const d=v(q),f=Object.entries(x.countries).map(([e,n])=>({code:e,name:n.name,dialCode:`+${n.phone[0]}`,flag:x.getEmojiFlag(e)})).sort((e,n)=>e.name.localeCompare(n.name)),j=d.forwardRef(({countries:e=f,defaultCountry:n="US",value:c,onValueChange:a,onCountryChange:o,disabled:u,...h},b)=>{const[l,N]=d.useState(e.find(t=>t.code===n)||e[0]),[m,p]=d.useState(c||"");d.useEffect(()=>{c!==void 0&&p(c)},[c]);const S=t=>{const r=e.find(g=>g.code===t);r&&(N(r),o==null||o(r),a==null||a(m,r))},P=t=>{const r=t.target.value.replace(/[^\d\s\-()]/g,"");p(r),a==null||a(r,l)};return s.jsxs("div",{className:"x78zum5",children:[s.jsxs(i.Select,{value:l.code,onValueChange:S,disabled:u,children:[s.jsx(i.SelectTrigger,{variant:"countryCode","aria-label":`Country calling code, currently ${l.name} ${l.dialCode}`,children:s.jsxs("span",{className:"x6s0dn4 x78zum5 x1o29ju6",children:[s.jsx("span",{"aria-hidden":"true",children:l.flag}),s.jsx("span",{className:"x1uuraw0",children:l.dialCode})]})}),s.jsx(i.SelectContent,{layout:"country",children:e.map(t=>s.jsx(i.SelectItem,{value:t.code,textValue:`${t.name} ${t.dialCode}`,children:s.jsxs("span",{className:"x6s0dn4 x78zum5 xpfqfdi",children:[s.jsx("span",{children:t.flag}),s.jsx("span",{className:"x98rzlu",children:t.name}),s.jsx("span",{className:"x1uuraw0",children:t.dialCode})]})},t.code))})]}),s.jsx(O.Input,{type:"tel",icon:null,"aria-label":"Phone number",ref:b,attachment:"start",value:m,onChange:P,disabled:u,...h})]})});j.displayName="PhoneInput";exports.PhoneInput=j;exports.defaultCountries=f;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import { countries as b, getEmojiFlag as j } from "countries-list";
|
|
5
|
-
import { I } from "./input-
|
|
6
|
-
import { S as $, h as v, a as w, c as z } from "./select-
|
|
5
|
+
import { I } from "./input-Zs45H33i.js";
|
|
6
|
+
import { S as $, h as v, a as w, c as z } from "./select-QgjG43ye.js";
|
|
7
7
|
const E = Object.entries(b).map(([a, l]) => ({
|
|
8
8
|
code: a,
|
|
9
9
|
name: l.name,
|
package/dist/phone-input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./phone-input-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./phone-input-BZhkLmI6.cjs");exports.PhoneInput=e.PhoneInput;exports.defaultCountries=e.defaultCountries;
|
package/dist/phone-input.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const m=require("react/jsx-runtime"),c=require("react"),b=require("@radix-ui/react-popover"),i=require("./portal-container-C0jBwG4U.cjs");function a(s){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const x in s)if(x!=="default"){const e=Object.getOwnPropertyDescriptor(s,x);Object.defineProperty(t,x,e.get?e:{enumerable:!0,get:()=>s[x]})}}return t.default=s,Object.freeze(t)}const f=a(c),d=a(b),y=d.Root,u=d.Trigger,n=f.forwardRef(({align:s="center",container:t,layout:x="default",sideOffset:e=4,...o},r)=>{const p=i.usePortalContainer();return m.jsx(d.Portal,{container:t??p,children:m.jsx(d.Content,{ref:r,align:s,sideOffset:e,...o,...{0:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt x11omchh x1qyi71f xa9119d"},8:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv x14atkfc"},4:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv x14atkfc"},12:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv x14atkfc"},2:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt x11omchh xa9119d x1pshirs xd5ty8x"},10:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv x1pshirs xd5ty8x"},6:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv x1pshirs xd5ty8x"},14:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv x1pshirs xd5ty8x"},1:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv xd5ty8x"},9:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv xd5ty8x"},5:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv xd5ty8x"},13:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv xd5ty8x"},3:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"},11:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"},7:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"},15:{className:"x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"}}[(x==="calendar")<<3|(x==="calendarSingle")<<2|(x==="calendarSingle")<<1|(x==="matchTrigger")<<0]})})});n.displayName=d.Content.displayName;exports.Popover=y;exports.PopoverContent=n;exports.PopoverTrigger=u;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import * as x from "@radix-ui/react-popover";
|
|
5
|
+
import { u as p } from "./portal-container-BOjF64TG.js";
|
|
6
|
+
const c = x.Root, i = x.Trigger, b = n.forwardRef(({
|
|
7
|
+
align: m = "center",
|
|
8
|
+
container: t,
|
|
9
|
+
layout: d = "default",
|
|
10
|
+
sideOffset: a = 4,
|
|
11
|
+
...e
|
|
12
|
+
}, o) => {
|
|
13
|
+
const r = p();
|
|
14
|
+
return /* @__PURE__ */ s(x.Portal, { container: t ?? r, children: /* @__PURE__ */ s(x.Content, { ref: o, align: m, sideOffset: a, ...e, ...{
|
|
15
|
+
0: {
|
|
16
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt x11omchh x1qyi71f xa9119d"
|
|
17
|
+
},
|
|
18
|
+
8: {
|
|
19
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv x14atkfc"
|
|
20
|
+
},
|
|
21
|
+
4: {
|
|
22
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv x14atkfc"
|
|
23
|
+
},
|
|
24
|
+
12: {
|
|
25
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv x14atkfc"
|
|
26
|
+
},
|
|
27
|
+
2: {
|
|
28
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt x11omchh xa9119d x1pshirs xd5ty8x"
|
|
29
|
+
},
|
|
30
|
+
10: {
|
|
31
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv x1pshirs xd5ty8x"
|
|
32
|
+
},
|
|
33
|
+
6: {
|
|
34
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv x1pshirs xd5ty8x"
|
|
35
|
+
},
|
|
36
|
+
14: {
|
|
37
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv x1pshirs xd5ty8x"
|
|
38
|
+
},
|
|
39
|
+
1: {
|
|
40
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1717udv xd5ty8x"
|
|
41
|
+
},
|
|
42
|
+
9: {
|
|
43
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv xd5ty8x"
|
|
44
|
+
},
|
|
45
|
+
5: {
|
|
46
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv xd5ty8x"
|
|
47
|
+
},
|
|
48
|
+
13: {
|
|
49
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d xeuugli x1717udv xd5ty8x"
|
|
50
|
+
},
|
|
51
|
+
3: {
|
|
52
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"
|
|
53
|
+
},
|
|
54
|
+
11: {
|
|
55
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"
|
|
56
|
+
},
|
|
57
|
+
7: {
|
|
58
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"
|
|
59
|
+
},
|
|
60
|
+
15: {
|
|
61
|
+
className: "x1dyo0bm xsdfdjn x9nsp9x x1y0btm7 xmkeg23 x1bo7fzd x1sjp1m2 x1t137rt xa9119d x1pshirs x1717udv xd5ty8x"
|
|
62
|
+
}
|
|
63
|
+
}[(d === "calendar") << 3 | (d === "calendarSingle") << 2 | (d === "calendarSingle") << 1 | (d === "matchTrigger") << 0] }) });
|
|
64
|
+
});
|
|
65
|
+
b.displayName = x.Content.displayName;
|
|
66
|
+
export {
|
|
67
|
+
c as P,
|
|
68
|
+
b as a,
|
|
69
|
+
i as b
|
|
70
|
+
};
|
package/dist/popover.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./popover-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./popover-CE0n5BQv.cjs");exports.Popover=e.Popover;exports.PopoverContent=e.PopoverContent;exports.PopoverTrigger=e.PopoverTrigger;
|
package/dist/popover.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import * as
|
|
3
|
+
import * as n from "react";
|
|
4
4
|
import * as r from "@radix-ui/react-progress";
|
|
5
5
|
import * as e from "@stylexjs/stylex";
|
|
6
|
-
const
|
|
6
|
+
const c = n.forwardRef(({
|
|
7
7
|
value: a,
|
|
8
8
|
size: m = "default",
|
|
9
9
|
tone: t = "default",
|
|
10
10
|
...x
|
|
11
|
-
},
|
|
11
|
+
}, l) => /* @__PURE__ */ o(r.Root, { ref: l, ...x, ...e.props(s.root, i[m], k[t]), children: /* @__PURE__ */ o(r.Indicator, { ...e.props(s.indicator, k[t]), style: {
|
|
12
12
|
transform: `translateX(-${100 - (a || 0)}%)`
|
|
13
13
|
} }) }));
|
|
14
|
-
|
|
14
|
+
c.displayName = r.Root.displayName;
|
|
15
15
|
const s = {
|
|
16
16
|
root: {
|
|
17
|
-
kWkggS: "
|
|
17
|
+
kWkggS: "xecvtuz",
|
|
18
|
+
kGVxlE: "xuwddlp",
|
|
18
19
|
kaIpWk: "xvowokw",
|
|
19
20
|
kZKoxP: "xl7j9bc",
|
|
20
21
|
kVQacm: "xb3r6kr",
|
|
@@ -48,7 +49,7 @@ const s = {
|
|
|
48
49
|
kWkggS: "x8rh9ze",
|
|
49
50
|
$$css: !0
|
|
50
51
|
}
|
|
51
|
-
},
|
|
52
|
+
}, i = {
|
|
52
53
|
default: null,
|
|
53
54
|
sm: s.sm
|
|
54
55
|
}, k = {
|
|
@@ -58,5 +59,5 @@ const s = {
|
|
|
58
59
|
strong: s.strong
|
|
59
60
|
};
|
|
60
61
|
export {
|
|
61
|
-
|
|
62
|
+
c as P
|
|
62
63
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const a=require("react/jsx-runtime"),x=require("react"),m=require("@radix-ui/react-progress"),g=require("@stylexjs/stylex");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=c(x),n=c(m),u=c(g),l=d.forwardRef(({value:e,size:r="default",tone:t="default",...o},k)=>a.jsx(n.Root,{ref:k,...o,...u.props(s.root,f[r],i[t]),children:a.jsx(n.Indicator,{...u.props(s.indicator,i[t]),style:{transform:`translateX(-${100-(e||0)}%)`}})}));l.displayName=n.Root.displayName;const s={root:{kWkggS:"xecvtuz",kGVxlE:"xuwddlp",kaIpWk:"xvowokw",kZKoxP:"xl7j9bc",kVQacm:"xb3r6kr",kVAEAm:"x1n2onr6",kzqmXN:"xh8yej3",$$css:!0},sm:{kZKoxP:"xhl8ny5",$$css:!0},indicator:{kWkggS:"x1dh41im",kUk6DE:"x98rzlu",kZKoxP:"x5yr21d",kIyJzY:"x1d8287x",k1ekBW:"xfagghw",kAMwcw:"x4ognrn",kzqmXN:"xh8yej3",$$css:!0},weak:{kWkggS:"x3nj2cr",$$css:!0},medium:{kWkggS:"x1s39ta8",$$css:!0},strong:{kWkggS:"x8rh9ze",$$css:!0}},f={default:null,sm:s.sm},i={default:null,weak:s.weak,medium:s.medium,strong:s.strong};exports.Progress=l;
|
package/dist/progress.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./progress-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./progress-DSy_jRee.cjs");exports.Progress=e.Progress;
|
package/dist/progress.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Theme } from "@eluan/tokens";
|
|
1
|
+
import type { Mode, Theme } from "@eluan/tokens";
|
|
2
2
|
/** A semantic token name (CSS custom property), e.g. "--container-bg". */
|
|
3
3
|
export type ThemeTokenName = `--${string}`;
|
|
4
4
|
/**
|
|
@@ -13,12 +13,21 @@ export interface CreateThemeOptions {
|
|
|
13
13
|
name: string;
|
|
14
14
|
/**
|
|
15
15
|
* Built-in theme this custom theme inherits from. Tokens not overridden
|
|
16
|
-
* fall through to this theme. `"
|
|
16
|
+
* fall through to this theme. `"eluan"` is the only built-in theme and
|
|
17
17
|
* the default, so this rarely needs to be set.
|
|
18
18
|
*/
|
|
19
19
|
extends?: Theme;
|
|
20
20
|
/** CSS variables to override. Everything else is inherited from `extends`. */
|
|
21
21
|
tokens: ThemeTokenOverrides;
|
|
22
|
+
/**
|
|
23
|
+
* Per-mode overrides, layered on `tokens` while `data-mode` matches. Use them
|
|
24
|
+
* when a theme needs different values in dark (or dim) mode, as a theme from
|
|
25
|
+
* `@eluan/theme-generator` does; modes you leave out use `tokens`.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* createTheme({ name: "forest", tokens: light, modes: { dark } })
|
|
29
|
+
*/
|
|
30
|
+
modes?: Partial<Record<Mode, ThemeTokenOverrides>>;
|
|
22
31
|
}
|
|
23
32
|
export interface CustomTheme {
|
|
24
33
|
/** Unique theme name. */
|
|
@@ -6,10 +6,12 @@ import { type PortalContainerValue } from "./portal-container";
|
|
|
6
6
|
export type ThemeName = Theme | string;
|
|
7
7
|
/**
|
|
8
8
|
* Typeset axis. `"auto"` (the default) removes the `data-typeset` attribute so
|
|
9
|
-
* the fluid clamp()s in typeset.css follow the viewport;
|
|
10
|
-
*
|
|
9
|
+
* the fluid clamp()s in typeset.css follow the viewport; `"small"`,
|
|
10
|
+
* `"medium"` and `"large"` pin every type step to that column's static size.
|
|
11
|
+
* `"app"` pins the app typeset: whole-pixel sizes on a 4px line grid, for
|
|
12
|
+
* dashboards, tables, settings and other screens people work in.
|
|
11
13
|
*/
|
|
12
|
-
export type TypesetPin = "auto" | TypesetViewport;
|
|
14
|
+
export type TypesetPin = "auto" | TypesetViewport | "app";
|
|
13
15
|
export interface EluanThemeState {
|
|
14
16
|
theme: ThemeName;
|
|
15
17
|
mode: Mode;
|
|
@@ -24,15 +26,15 @@ export interface EluanThemeState {
|
|
|
24
26
|
}
|
|
25
27
|
export interface EluanProviderProps {
|
|
26
28
|
/**
|
|
27
|
-
* Initial theme — the built-in name `"
|
|
28
|
-
* registered via `customThemes`. Default: `"
|
|
29
|
+
* Initial theme — the built-in name `"eluan"`, or a custom theme name
|
|
30
|
+
* registered via `customThemes`. Default: `"eluan"`.
|
|
29
31
|
*/
|
|
30
32
|
defaultTheme?: ThemeName;
|
|
31
33
|
/** Initial mode ("light" | "dark"). Default: "light". */
|
|
32
34
|
defaultMode?: Mode;
|
|
33
35
|
/** Initial spacing scale ("compact" | "standard" | "wide"). Default: "standard". */
|
|
34
36
|
defaultSpacing?: SpacingScale;
|
|
35
|
-
/** Initial curve scale ("sharp" | "slight" | "sweeping"). Default: "
|
|
37
|
+
/** Initial curve scale ("sharp" | "slight" | "sweeping"). Default: "sweeping". */
|
|
36
38
|
defaultCurves?: CurveScale;
|
|
37
39
|
/**
|
|
38
40
|
* Initial typeset pin. `"auto"` (default) leaves `data-typeset` off so type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";const a=require("react/jsx-runtime"),u=require("react"),d=require("@radix-ui/react-radio-group");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const i=s(u),x=s(d),n=i.forwardRef((e,t)=>a.jsx(x.Root,{ref:t,...e,className:"xrvj5dj xpfqfdi x17lm9nj x1ntwtd x13nyb27 x1wjgzod"}));n.displayName=x.Root.displayName;const c=i.forwardRef((e,t)=>a.jsx(x.Item,{ref:t,...e,className:"x1y5e3q9 xjbqb8w x1suburk xvowokw x1y0btm7 xmkeg23 x9f619 x2lah0s xkive58 xx6bhzk x1okb17s xwwtwea x1vfp87d x3wwfir xhlp2gg
|
|
1
|
+
"use client";"use strict";const a=require("react/jsx-runtime"),u=require("react"),d=require("@radix-ui/react-radio-group");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const i=s(u),x=s(d),n=i.forwardRef((e,t)=>a.jsx(x.Root,{ref:t,...e,className:"xrvj5dj xpfqfdi x17lm9nj x1ntwtd x13nyb27 x1wjgzod"}));n.displayName=x.Root.displayName;const c=i.forwardRef((e,t)=>a.jsx(x.Item,{ref:t,...e,className:"x1y5e3q9 xjbqb8w x1suburk xvowokw x1y0btm7 xmkeg23 x9f619 x2lah0s xkive58 xx6bhzk x1okb17s xwwtwea x1vfp87d x3wwfir xhlp2gg xue4uem x13iak60 x9v5kkp x4xl6zf xvp245x x1qg2s8m x1s07b3s xora5h2 x1d13tlg",children:a.jsx(x.Indicator,{forceMount:!0,className:"x6s0dn4 x78zum5 x5yr21d xl56j7k xx6bhzk x19991ni xwwtwea xh8yej3 x18lgjw9 x12ktmbf",children:a.jsx("div",{className:"x1gu80qv xvowokw x5pwsuf x15uyvzi"})})}));c.displayName=x.Item.displayName;exports.RadioGroup=n;exports.RadioGroupItem=c;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import * as x from "@radix-ui/react-radio-group";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
5
|
+
const m = s.forwardRef((o, e) => /* @__PURE__ */ a(x.Root, { ref: e, ...o, className: "xrvj5dj xpfqfdi x17lm9nj x1ntwtd x13nyb27 x1wjgzod" }));
|
|
6
|
+
m.displayName = x.Root.displayName;
|
|
7
|
+
const r = s.forwardRef((o, e) => /* @__PURE__ */ a(x.Item, { ref: e, ...o, className: "x1y5e3q9 xjbqb8w x1suburk xvowokw x1y0btm7 xmkeg23 x9f619 x2lah0s xkive58 xx6bhzk x1okb17s xwwtwea x1vfp87d x3wwfir xhlp2gg xue4uem x13iak60 x9v5kkp x4xl6zf xvp245x x1qg2s8m x1s07b3s xora5h2 x1d13tlg", children: /* @__PURE__ */ a(x.Indicator, { forceMount: !0, className: "x6s0dn4 x78zum5 x5yr21d xl56j7k xx6bhzk x19991ni xwwtwea xh8yej3 x18lgjw9 x12ktmbf", children: /* @__PURE__ */ a("div", { className: "x1gu80qv xvowokw x5pwsuf x15uyvzi" }) }) }));
|
|
8
|
+
r.displayName = x.Item.displayName;
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
m as R,
|
|
11
|
+
r as a
|
|
12
12
|
};
|
package/dist/radio-group.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./radio-group-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./radio-group-9gozRouT.cjs");exports.RadioGroup=o.RadioGroup;exports.RadioGroupItem=o.RadioGroupItem;
|
package/dist/radio-group.js
CHANGED