@povio/ui 6.0.0-rc.12 → 6.0.0-rc.13
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 +469 -42
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/{Accordion-ORBin0EZ.js → Accordion-gUW7u1Zn.js} +41 -41
- package/dist/Alert-DwnALnFY.d.ts +36 -0
- package/dist/AlertDialog-BcRiqY_n.d.ts +70 -0
- package/dist/Autocomplete-CV4Aa1Ok.js +319 -0
- package/dist/Autocomplete-DRwQxx0U.d.ts +123 -0
- package/dist/Badge-CO-ZsmbR.d.ts +67 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-APVu5TUd.js} +8 -8
- package/dist/BottomSheet-Be0HtQzP.d.ts +65 -0
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-NNB7ivkW.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-Bn3fqVYx.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-Cd75RPbS.js} +33 -17
- package/dist/{Button-C1YB5dOw.js → Button-BJJkLVNj.js} +1 -5
- package/dist/{Button-BaODzvZd.js → Button-CzEs3tcV.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-Hk8zm9q_.d.ts} +2 -2
- package/dist/ButtonBase-Cp1w00t2.d.ts +47 -0
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-aGz6DYum.js} +10 -18
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-yaQubCWK.js → Calendar-DN-i_b-_.js} +19 -17
- package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-CqmyDSND.js} +4 -4
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-CzKXZw_w.js} +35 -9
- package/dist/Checkbox-D32MOIhF.d.ts +49 -0
- package/dist/CheckboxCheckmark-DDU_Ie7-.js +42 -0
- package/dist/CheckboxGroup-B5Mn1G3u.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-BqWt09kZ.js} +75 -35
- package/dist/DatePicker-CmoVbapu.d.ts +80 -0
- package/dist/{DatePicker-bme8zGBo.js → DatePicker-DQewd1By.js} +80 -41
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-B9VnExeA.d.ts} +3 -3
- package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-Bp9ZIN5E.js} +37 -26
- package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-DRZ1hLlR.js} +86 -158
- package/dist/DateRangePicker-LX1VJlnD.d.ts +102 -0
- package/dist/DateTimePicker-D9pODhAj.d.ts +83 -0
- package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-DWtKPaE6.js} +70 -35
- package/dist/{Dialog-C9H9_BmK.js → Dialog-BJ13KRQo.js} +1 -1
- package/dist/{Dialog-DN5703sy.js → Dialog-BzQYDPJ9.js} +23 -19
- package/dist/Dialog-D0SeePPz.d.ts +66 -0
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-Bjm5IOpg.js} +1 -1
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-DTr7b-XO.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-DrshB60h.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-DxGA0yvx.js} +14 -8
- package/dist/FileInput-Bokcp9nH.d.ts +61 -0
- package/dist/{FileInput-BUwtAF2-.js → FileInput-LMhFxlqB.js} +75 -80
- package/dist/FileUpload-BqXd4_nz.d.ts +181 -0
- package/dist/FileUpload-CJZrkr_U.js +679 -0
- package/dist/{FormField-dduTMkNH.js → FormField-TI8Vx5aC.js} +10 -10
- package/dist/FormField-XQbjfGSv.d.ts +70 -0
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DB7KrrcD.js +22 -0
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-CQLHX8-Y.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CjDUsi2I.js} +1 -1
- package/dist/{Input-CG5LQ0zs.js → Input-CeRJeAoR.js} +94 -59
- package/dist/Input-onUj0DKg.d.ts +56 -0
- package/dist/{InputContent-Fx2E4UXl.js → InputContent-B8OCdbVP.js} +15 -13
- package/dist/InputContent-D5ZkB9hO.d.ts +39 -0
- package/dist/Link-BdnWVYL9.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-gR4iSV7N.js} +3 -3
- package/dist/{Modal-DcLWF9cB.js → Modal-DAMsCwzb.js} +1 -1
- package/dist/{NumberField-DxuikBcr.js → NumberField-6Q9LHGSo.js} +91 -62
- package/dist/NumberField-Sb30Qao3.d.ts +41 -0
- package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BDSkcHVJ.js} +152 -101
- package/dist/NumberRangeInput-Dvq8mOUY.d.ts +89 -0
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-eJk6GNK6.d.ts} +6 -5
- package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-BcHpV0Ie.js} +6 -6
- package/dist/PasswordInput-VHzP4VPU.d.ts +16 -0
- package/dist/Popover-qplPGDnR.d.ts +51 -0
- package/dist/Progress-DH-w99MU.d.ts +26 -0
- package/dist/Progress-WzWvbvtp.js +180 -0
- package/dist/ProgressBar-BsSimmJF.js +46 -0
- package/dist/RadioGroup-CC8bKtBN.d.ts +52 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-PKqFHoKP.js} +66 -26
- package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DqCTlIuy.js} +12 -10
- package/dist/Select-CSyfDyxG.d.ts +248 -0
- package/dist/{Select-BM8PNrjC.js → Select-D3fuXwVt.js} +435 -184
- package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-DqAxkT1f.js} +46 -37
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-BGl_PIsH.js} +280 -363
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-CdtK2M-C.d.ts} +31 -17
- package/dist/{Slider-DCsCCPFx.js → Slider-BCUiALjE.js} +69 -12
- package/dist/Slider-DxalZD3o.d.ts +57 -0
- package/dist/Spinner-BTrEbNFy.d.ts +13 -0
- package/dist/SplitButton-Dv5l8p5t.d.ts +25 -0
- package/dist/Stepper-B1IOUcSI.d.ts +49 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-DA2G546I.js} +116 -88
- package/dist/{Switch-BfpSMMpv.js → Switch-Ce-bJOVw.js} +54 -12
- package/dist/Switch-urNrop0P.d.ts +42 -0
- package/dist/{TabsFilters-DybNturW.js → TabsFilters-Cweij8He.js} +44 -33
- package/dist/TabsFilters-M5Ld7eb8.d.ts +59 -0
- package/dist/Tag-BKR1AZFa.d.ts +26 -0
- package/dist/TextArea-D7YVclaz.d.ts +33 -0
- package/dist/{TextArea-Blsip3ZC.js → TextArea-P8F0oD_A.js} +59 -32
- package/dist/TimePicker-Ai1M2TGW.d.ts +63 -0
- package/dist/{TimePicker-4hV5zbgd.js → TimePicker-l4Ysk2AX.js} +99 -50
- package/dist/{TimePickerForm-DD9VA_td.js → TimePickerForm-BMqNpDPT.js} +5 -5
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-BeklfvlK.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-DWw53pTt.d.ts} +2 -2
- package/dist/ToggleGroup-BQk3k0at.d.ts +95 -0
- package/dist/ToggleGroup-BdIgqoqA.js +500 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-BkXPEBqw.js} +2 -2
- package/dist/Tooltip-H8OB7CqY.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-ubbBHHVD.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-Cx1oRGxd.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-BpoxNggB.js} +20 -22
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-Dyy_RUZU.d.ts} +1 -1
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog.js +174 -128
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +17 -15
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +159 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +4 -4
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +4 -41
- package/dist/components/date-range-picker.js +4 -2
- package/dist/components/date-range-presets.d.ts +2 -0
- package/dist/components/date-range-presets.js +3 -0
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +16 -80
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +2 -3
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +2 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +3 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +22 -25
- package/dist/components/icon-slot.d.ts +1 -2
- package/dist/components/icon-slot.js +2 -2
- package/dist/components/input-frame.d.ts +6 -10
- package/dist/components/input-frame.js +29 -26
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +2 -2
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +5 -5
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +1 -22
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +105 -87
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +71 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +15 -4
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +2 -2
- package/dist/components/style-definitions.js +33 -18
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +50 -64
- package/dist/components/text-area.d.ts +2 -2
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -3
- package/dist/components/toast.js +4 -3
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.d.ts +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/use-toast.d.ts +2 -2
- package/dist/components/use-toast.js +1 -41
- package/dist/config/component-configuration.d.ts +1 -1
- package/dist/config/component-configuration.js +53 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +3 -3
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-BflM4Vxg.js +93 -0
- package/dist/confirmation.context-C_js9qNv.d.ts +32 -0
- package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
- package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
- package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
- package/dist/{dist-DEZzXa0W.js → dist-DZOoWaZz.js} +63 -38
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
- package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
- package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
- package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
- package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
- package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-MH5ziWUe.js} +2 -2
- package/dist/form-field-Bw7U_ZPI.d.ts +1 -0
- package/dist/form.binding-Brdjq2yr.js +161 -0
- package/dist/form.binding-DSXB2AOD.d.ts +127 -0
- package/dist/form.types-a2WVJDQX.d.ts +43 -0
- package/dist/formReset-CnZl_yze.js +35 -0
- package/dist/hints-B09_WDhL.d.ts +17 -0
- package/dist/hooks/use-async-list.d.ts +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +3 -0
- package/dist/hooks/use-breakpoint.js +2 -0
- package/dist/hooks/use-filters.d.ts +2 -2
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-B3PeqBM7.d.ts} +100 -4
- package/dist/{i18n-D8vXIoiq.js → i18n-DQs7jPjv.js} +99 -9
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-C7W0Wv2r.js → import-C73fI3WD.js} +2 -2
- package/dist/index.d.ts +64 -83
- package/dist/index.js +55 -90
- package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
- package/dist/inputLayout-CIVpuUBq.js +7 -0
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BcBuP9ZT.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-D6L1c2wq.d.ts +2157 -0
- package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
- package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
- package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
- package/dist/rich-text-editor.d.ts +44 -2
- package/dist/rich-text-editor.js +733 -1
- package/dist/router.context-B6j_M4cN.js +151 -0
- package/dist/router.context-CSd9JYQ4.d.ts +33 -0
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BYk1tcxs.js} +43 -13
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack-ABeiJISz.js +10 -0
- package/dist/tanstack-bLXoUPDY.d.ts +165 -0
- package/dist/tanstack.d.ts +64 -83
- package/dist/tanstack.js +55 -90
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-C3oA7He3.js} +8 -8
- package/dist/toast.runtime-BHXdSTXV.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/uiConfig.context-CN_QgxGO.d.ts +19 -0
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-CjnLnQOo.js} +5 -7
- package/dist/{uiConfig.context-BnCORTNm.d.ts → uiConfig.types-B0sPL7nN.d.ts} +34 -34
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-CQgkDfjW.js} +140 -35
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-BrJrvp9_.js} +5 -1
- package/dist/useBreakpoint-D-SVcBeQ.d.ts +9 -0
- package/dist/useDebounceCallback-BjePw6y4.js +90 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BN-zueci.js +419 -0
- package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
- package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
- package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-B7qGzySj.js} +103 -2
- package/dist/useRemoveButton-B6-IGvpY.js +98 -0
- package/dist/useResolveDateRangePreset-C_L-doA6.js +26 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-C8chM7c-.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/{useTableColumnConfig-CXYgj5xi.js → useTableColumnConfig-B9cYBKo3.js} +956 -535
- package/dist/useTableNav-rP1wDkhV.d.ts +372 -0
- package/dist/useToast-D2C9pROU.d.ts +78 -0
- package/dist/useToast-DSoOiSw0.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/utils/logger.js +1 -1
- package/llms.txt +3116 -0
- package/package.json +13 -121
- package/MIGRATION.md +0 -655
- package/dist/Alert-D4X7OWiv.d.ts +0 -34
- package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
- package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
- package/dist/Autocomplete-Bn13u0zu.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-Dwh__y-Z.js +0 -28
- package/dist/Badge-Db1ndK67.d.ts +0 -30
- package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
- package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
- package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
- package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
- package/dist/Checkbox.bound-D2nBglJz.js +0 -33
- package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
- package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
- package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
- package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
- package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
- package/dist/ComboBox-ChsdI0lt.js +0 -212
- package/dist/DatePicker-QzfQf21b.d.ts +0 -56
- package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
- package/dist/DatePicker.bound-M2cjR37s.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
- package/dist/Dialog-CO9xljD3.d.ts +0 -21
- package/dist/Drawer-D1cHiBFO.d.ts +0 -18
- package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
- package/dist/FileInput-BEaECoBS.d.ts +0 -75
- package/dist/FileInput.bound-C12mOKpg.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-D7FMYm-k.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-DmkuulOi.js +0 -30
- package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
- package/dist/FormField-DGyCDxOp.d.ts +0 -42
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
- package/dist/IconButton-shH_9wcl.d.ts +0 -25
- package/dist/Input-CTp_9mS9.d.ts +0 -34
- package/dist/Input.bound-B9a62ylL.d.ts +0 -9
- package/dist/Input.bound-DYoXyRGy.js +0 -31
- package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
- package/dist/Link-PvYB_M-j.d.ts +0 -30
- package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
- package/dist/NumberField-WXebfxjK.d.ts +0 -34
- package/dist/NumberField.bound-ChJnNyJS.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
- package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
- package/dist/Popover-D_t1XDPA.d.ts +0 -20
- package/dist/Progress-Ckfpi_-M.d.ts +0 -45
- package/dist/Progress-RiEGGxNG.js +0 -119
- package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
- package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
- package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
- package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
- package/dist/RichTextEditor-DfwVdm45.js +0 -651
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound--Az1Xwgm.js +0 -34
- package/dist/Select.bound-qOihchei.d.ts +0 -17
- package/dist/Slider-DRg8zKRM.d.ts +0 -23
- package/dist/Slider.bound-CByTXPTr.js +0 -31
- package/dist/Slider.bound-CaEF19um.d.ts +0 -9
- package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
- package/dist/Spinner-DqjP06T1.js +0 -101
- package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
- package/dist/Stepper-k91x_m-E.d.ts +0 -114
- package/dist/Switch-ELVPkPx0.d.ts +0 -24
- package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
- package/dist/Switch.bound-Dv0cHsMM.js +0 -33
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
- package/dist/TabsFilters-DePddjCk.d.ts +0 -30
- package/dist/Tag-B2_ZiSE-.d.ts +0 -44
- package/dist/TextArea-iqUeB2QY.d.ts +0 -26
- package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
- package/dist/TextArea.bound-DeaskY6r.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-BFSXJvE_.js +0 -32
- package/dist/Toast-D9pdadZ4.d.ts +0 -16
- package/dist/ToggleGroup-CrDoeLN0.js +0 -333
- package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
- package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
- package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
- package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
- package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
- package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
- package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
- package/dist/components/badge-button.d.ts +0 -2
- package/dist/components/badge-button.js +0 -74
- package/dist/components/file-upload-container.d.ts +0 -3
- package/dist/components/file-upload-container.js +0 -15
- package/dist/confirmation.context-Bc2yEVp_.js +0 -114
- package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
- package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
- package/dist/form.binding-DOR5gIQf.js +0 -49
- package/dist/form.types-C8P4sznq.d.ts +0 -22
- package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
- package/dist/icons.d.ts +0 -4
- package/dist/icons.js +0 -3
- package/dist/input.cva-BjuHsDGy.d.ts +0 -80
- package/dist/inputLayout-KdAtunGk.js +0 -5
- package/dist/link.context-BCHn7NSy.d.ts +0 -12
- package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
- package/dist/router.context-CtafjXV7.d.ts +0 -16
- package/dist/router.context-MckTbHw9.js +0 -63
- package/dist/routing.utils-DfxEt0_Y.js +0 -30
- package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
- package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
- package/dist/tanstack/autocomplete.d.ts +0 -3
- package/dist/tanstack/autocomplete.js +0 -2
- package/dist/tanstack/checkbox-group.d.ts +0 -3
- package/dist/tanstack/checkbox-group.js +0 -2
- package/dist/tanstack/checkbox.d.ts +0 -3
- package/dist/tanstack/checkbox.js +0 -2
- package/dist/tanstack/date-picker.d.ts +0 -3
- package/dist/tanstack/date-picker.js +0 -2
- package/dist/tanstack/date-range-picker.d.ts +0 -3
- package/dist/tanstack/date-range-picker.js +0 -2
- package/dist/tanstack/date-time-picker.d.ts +0 -3
- package/dist/tanstack/date-time-picker.js +0 -2
- package/dist/tanstack/file-input.d.ts +0 -3
- package/dist/tanstack/file-input.js +0 -2
- package/dist/tanstack/file-upload.d.ts +0 -4
- package/dist/tanstack/file-upload.js +0 -2
- package/dist/tanstack/input.d.ts +0 -3
- package/dist/tanstack/input.js +0 -2
- package/dist/tanstack/number-field.d.ts +0 -3
- package/dist/tanstack/number-field.js +0 -2
- package/dist/tanstack/number-range-input.d.ts +0 -3
- package/dist/tanstack/number-range-input.js +0 -2
- package/dist/tanstack/password-input.d.ts +0 -2
- package/dist/tanstack/password-input.js +0 -2
- package/dist/tanstack/radio-group.d.ts +0 -3
- package/dist/tanstack/radio-group.js +0 -2
- package/dist/tanstack/rich-text-editor.d.ts +0 -9
- package/dist/tanstack/rich-text-editor.js +0 -28
- package/dist/tanstack/select.d.ts +0 -3
- package/dist/tanstack/select.js +0 -2
- package/dist/tanstack/slider.d.ts +0 -3
- package/dist/tanstack/slider.js +0 -2
- package/dist/tanstack/switch.d.ts +0 -3
- package/dist/tanstack/switch.js +0 -2
- package/dist/tanstack/text-area.d.ts +0 -3
- package/dist/tanstack/text-area.js +0 -2
- package/dist/tanstack/time-picker.d.ts +0 -3
- package/dist/tanstack/time-picker.js +0 -2
- package/dist/tanstack/toggle-group.d.ts +0 -3
- package/dist/tanstack/toggle-group.js +0 -2
- package/dist/tanstack-Bgdv0qU1.js +0 -19
- package/dist/tanstack-wNbE6b-h.d.ts +0 -566
- package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
- package/dist/toast.runtime-Drd2IJ_j.js +0 -17
- package/dist/toastActivation.store-BELtcr76.js +0 -16
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
- package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
- package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
- package/dist/useFilters-BxRScJdn.d.ts +0 -11
- package/dist/useFilters-DMi94RZK.js +0 -190
- package/dist/useForm-Cb7KWLds.js +0 -217
- package/dist/useForm-I6z23FXf.d.ts +0 -51
- package/dist/useFormAutosave-BPGlChiY.js +0 -216
- package/dist/useTableNav-BusSFEVC.d.ts +0 -197
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
package/dist/components/badge.js
CHANGED
|
@@ -1,114 +1,192 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "../uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { t as IconSlot } from "../IconSlot-
|
|
4
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-
|
|
3
|
+
import { t as IconSlot } from "../IconSlot-TAWTJ6iK.js";
|
|
4
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-BJJkLVNj.js";
|
|
5
|
+
import { t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "../ToggleButton-P1z1pxzT.js";
|
|
5
6
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import "../
|
|
9
|
-
import {
|
|
7
|
+
import { t as ButtonContent } from "../ButtonContent-2KsbdWRO.js";
|
|
8
|
+
import { t as UIConfig } from "../uiConfig.context-CjnLnQOo.js";
|
|
9
|
+
import { t as useRemoveButton } from "../useRemoveButton-B6-IGvpY.js";
|
|
10
|
+
import { a as badgeButtonTypography, i as badgeButtonIconSize, r as badgeButtonDefinition, t as badgeButtonContent } from "../badge.cva-BpoxNggB.js";
|
|
10
11
|
import { c } from "react/compiler-runtime";
|
|
11
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
+
import { X } from "lucide-react";
|
|
13
14
|
//#region src/components/text/Badge/Badge.tsx
|
|
14
|
-
const
|
|
15
|
-
const $ = c(
|
|
16
|
-
const {
|
|
15
|
+
const PressableBadge = (t0) => {
|
|
16
|
+
const $ = c(16);
|
|
17
|
+
const { as, children, icon, iconPosition, contentRef, className, ...props } = t0;
|
|
18
|
+
const badgeButtonCva = UIOverrides.useCva("badgeButton.cva", badgeButtonDefinition);
|
|
19
|
+
const badgeButtonTypographyMap = UIOverrides.useMapper("badgeButton.typography", badgeButtonTypography);
|
|
20
|
+
const hasIcon = !!icon && iconPosition !== "none";
|
|
21
|
+
const variant = props.variant ?? (as === "toggle" ? "outlined" : "contained");
|
|
22
|
+
const rootClassName = clsx(badgeButtonCva({
|
|
23
|
+
...props,
|
|
24
|
+
variant,
|
|
25
|
+
hasIcon,
|
|
26
|
+
className
|
|
27
|
+
}), badgeButtonContent({ iconPosition: icon ? iconPosition : "none" }));
|
|
28
|
+
const T0 = ButtonContent;
|
|
29
|
+
const t1 = badgeButtonIconSize;
|
|
30
|
+
const t2 = badgeButtonTypographyMap({
|
|
31
|
+
...props,
|
|
32
|
+
variant
|
|
33
|
+
});
|
|
34
|
+
let t3;
|
|
35
|
+
if ($[0] !== T0 || $[1] !== children || $[2] !== contentRef || $[3] !== icon || $[4] !== iconPosition || $[5] !== t1 || $[6] !== t2) {
|
|
36
|
+
t3 = /* @__PURE__ */ jsx(T0, {
|
|
37
|
+
ref: contentRef,
|
|
38
|
+
content: children,
|
|
39
|
+
icon,
|
|
40
|
+
iconPosition,
|
|
41
|
+
iconClassName: t1,
|
|
42
|
+
typography: t2
|
|
43
|
+
});
|
|
44
|
+
$[0] = T0;
|
|
45
|
+
$[1] = children;
|
|
46
|
+
$[2] = contentRef;
|
|
47
|
+
$[3] = icon;
|
|
48
|
+
$[4] = iconPosition;
|
|
49
|
+
$[5] = t1;
|
|
50
|
+
$[6] = t2;
|
|
51
|
+
$[7] = t3;
|
|
52
|
+
} else t3 = $[7];
|
|
53
|
+
const content = t3;
|
|
54
|
+
if (as === "toggle") {
|
|
55
|
+
const t4 = props;
|
|
56
|
+
let t5;
|
|
57
|
+
if ($[8] !== content || $[9] !== rootClassName || $[10] !== t4) {
|
|
58
|
+
t5 = /* @__PURE__ */ jsx($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
|
|
59
|
+
...t4,
|
|
60
|
+
className: rootClassName,
|
|
61
|
+
children: content
|
|
62
|
+
});
|
|
63
|
+
$[8] = content;
|
|
64
|
+
$[9] = rootClassName;
|
|
65
|
+
$[10] = t4;
|
|
66
|
+
$[11] = t5;
|
|
67
|
+
} else t5 = $[11];
|
|
68
|
+
return t5;
|
|
69
|
+
}
|
|
70
|
+
const t4 = props;
|
|
71
|
+
let t5;
|
|
72
|
+
if ($[12] !== content || $[13] !== rootClassName || $[14] !== t4) {
|
|
73
|
+
t5 = /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
74
|
+
...t4,
|
|
75
|
+
className: rootClassName,
|
|
76
|
+
children: content
|
|
77
|
+
});
|
|
78
|
+
$[12] = content;
|
|
79
|
+
$[13] = rootClassName;
|
|
80
|
+
$[14] = t4;
|
|
81
|
+
$[15] = t5;
|
|
82
|
+
} else t5 = $[15];
|
|
83
|
+
return t5;
|
|
84
|
+
};
|
|
85
|
+
const StaticBadge = (t0) => {
|
|
86
|
+
const $ = c(22);
|
|
87
|
+
const { className, children, isDisabled, isSelected, icon: Icon, onRemove, removeButtonProps, excludeFromTabOrder, contentRef, variant: t1, textSize: textSizeProp, ...appearanceProps } = t0;
|
|
17
88
|
const variant = t1 === void 0 ? "subtle" : t1;
|
|
18
89
|
const uiConfig = UIConfig.useConfig();
|
|
19
90
|
const textSize = textSizeProp ?? uiConfig.tag.textSize;
|
|
20
|
-
const isDismissible = dismissible ?? dismissable ?? false;
|
|
21
|
-
const resolvedIsDisabled = isDisabled ?? disabled;
|
|
22
91
|
const badgeButtonCva = UIOverrides.useCva("badgeButton.cva", badgeButtonDefinition);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
$[0] = t;
|
|
29
|
-
$[1] = t3;
|
|
30
|
-
} else t3 = $[1];
|
|
31
|
-
let t4;
|
|
32
|
-
if ($[2] !== dismissButtonProps || $[3] !== excludeFromTabOrder || $[4] !== resolvedIsDisabled || $[5] !== t2 || $[6] !== t3) {
|
|
33
|
-
t4 = {
|
|
34
|
-
...dismissButtonProps,
|
|
92
|
+
let t2;
|
|
93
|
+
if ($[0] !== excludeFromTabOrder || $[1] !== isDisabled || $[2] !== onRemove || $[3] !== removeButtonProps) {
|
|
94
|
+
t2 = {
|
|
95
|
+
onRemove,
|
|
96
|
+
removeButtonProps,
|
|
35
97
|
excludeFromTabOrder,
|
|
36
|
-
isDisabled
|
|
37
|
-
onPress: t2,
|
|
38
|
-
"aria-label": t3
|
|
98
|
+
isDisabled
|
|
39
99
|
};
|
|
40
|
-
$[
|
|
41
|
-
$[
|
|
42
|
-
$[
|
|
43
|
-
$[
|
|
44
|
-
$[
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const t7 = badgeButtonCva({
|
|
100
|
+
$[0] = excludeFromTabOrder;
|
|
101
|
+
$[1] = isDisabled;
|
|
102
|
+
$[2] = onRemove;
|
|
103
|
+
$[3] = removeButtonProps;
|
|
104
|
+
$[4] = t2;
|
|
105
|
+
} else t2 = $[4];
|
|
106
|
+
const { textId, buttonProps } = useRemoveButton(t2);
|
|
107
|
+
const t3 = isSelected || void 0;
|
|
108
|
+
const t4 = isDisabled || void 0;
|
|
109
|
+
const t5 = badgeButtonCva({
|
|
51
110
|
...appearanceProps,
|
|
52
111
|
variant,
|
|
53
|
-
hasIcon:
|
|
112
|
+
hasIcon: !!onRemove || !!Icon,
|
|
54
113
|
className: clsx("pointer-events-none", className)
|
|
55
114
|
});
|
|
115
|
+
let t6;
|
|
116
|
+
if ($[5] !== Icon) {
|
|
117
|
+
t6 = Icon && /* @__PURE__ */ jsx(IconSlot, { icon: Icon });
|
|
118
|
+
$[5] = Icon;
|
|
119
|
+
$[6] = t6;
|
|
120
|
+
} else t6 = $[6];
|
|
121
|
+
const t7 = contentRef;
|
|
56
122
|
let t8;
|
|
57
|
-
if ($[8] !==
|
|
58
|
-
t8 =
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} else t8 = $[9];
|
|
62
|
-
const t9 = contentRef;
|
|
63
|
-
let t10;
|
|
64
|
-
if ($[10] !== children || $[11] !== t9 || $[12] !== textSize) {
|
|
65
|
-
t10 = /* @__PURE__ */ jsx(Typography, {
|
|
66
|
-
ref: t9,
|
|
123
|
+
if ($[7] !== children || $[8] !== t7 || $[9] !== textId || $[10] !== textSize) {
|
|
124
|
+
t8 = /* @__PURE__ */ jsx(Typography, {
|
|
125
|
+
ref: t7,
|
|
126
|
+
id: textId,
|
|
67
127
|
size: textSize,
|
|
68
128
|
as: "span",
|
|
69
129
|
className: "truncate",
|
|
70
130
|
children
|
|
71
131
|
});
|
|
72
|
-
$[
|
|
73
|
-
$[
|
|
74
|
-
$[
|
|
75
|
-
$[
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
132
|
+
$[7] = children;
|
|
133
|
+
$[8] = t7;
|
|
134
|
+
$[9] = textId;
|
|
135
|
+
$[10] = textSize;
|
|
136
|
+
$[11] = t8;
|
|
137
|
+
} else t8 = $[11];
|
|
138
|
+
let t9;
|
|
139
|
+
if ($[12] !== buttonProps || $[13] !== onRemove) {
|
|
140
|
+
t9 = onRemove && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
80
141
|
...buttonProps,
|
|
81
142
|
className: "pointer-events-auto shrink-0 rounded-sm opacity-70 outline-none transition-opacity hover:opacity-100 disabled:pointer-events-none disabled:opacity-50",
|
|
82
143
|
children: /* @__PURE__ */ jsx(IconSlot, { icon: X })
|
|
83
144
|
});
|
|
84
|
-
$[
|
|
85
|
-
$[
|
|
86
|
-
$[
|
|
87
|
-
} else
|
|
88
|
-
let
|
|
89
|
-
if ($[
|
|
90
|
-
|
|
91
|
-
"data-selected":
|
|
92
|
-
"data-disabled":
|
|
93
|
-
className:
|
|
145
|
+
$[12] = buttonProps;
|
|
146
|
+
$[13] = onRemove;
|
|
147
|
+
$[14] = t9;
|
|
148
|
+
} else t9 = $[14];
|
|
149
|
+
let t10;
|
|
150
|
+
if ($[15] !== t3 || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 || $[19] !== t8 || $[20] !== t9) {
|
|
151
|
+
t10 = /* @__PURE__ */ jsxs("div", {
|
|
152
|
+
"data-selected": t3,
|
|
153
|
+
"data-disabled": t4,
|
|
154
|
+
className: t5,
|
|
94
155
|
children: [
|
|
156
|
+
t6,
|
|
95
157
|
t8,
|
|
96
|
-
|
|
97
|
-
t11
|
|
158
|
+
t9
|
|
98
159
|
]
|
|
99
160
|
});
|
|
100
|
-
$[
|
|
101
|
-
$[
|
|
102
|
-
$[
|
|
103
|
-
$[
|
|
104
|
-
$[
|
|
105
|
-
$[
|
|
106
|
-
$[
|
|
107
|
-
} else
|
|
108
|
-
return
|
|
161
|
+
$[15] = t3;
|
|
162
|
+
$[16] = t4;
|
|
163
|
+
$[17] = t5;
|
|
164
|
+
$[18] = t6;
|
|
165
|
+
$[19] = t8;
|
|
166
|
+
$[20] = t9;
|
|
167
|
+
$[21] = t10;
|
|
168
|
+
} else t10 = $[21];
|
|
169
|
+
return t10;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* A compact label. Display-only by default; `as="button"` or `as="toggle"` makes the whole badge
|
|
173
|
+
* interactive.
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* <Badge color="success">Active</Badge>
|
|
177
|
+
* <Badge onRemove={removeFilter}>Status: open</Badge>
|
|
178
|
+
* <Badge as="button" color="error" onPress={deleteSelected}>Delete</Badge>
|
|
179
|
+
* <Badge as="toggle" isSelected={isPinned} onChange={setIsPinned}>Pinned</Badge>
|
|
180
|
+
*/
|
|
181
|
+
const Badge = (props) => {
|
|
182
|
+
const $ = c(2);
|
|
183
|
+
let t0;
|
|
184
|
+
if ($[0] !== props) {
|
|
185
|
+
t0 = props.as ? /* @__PURE__ */ jsx(PressableBadge, { ...props }) : /* @__PURE__ */ jsx(StaticBadge, { ...props });
|
|
186
|
+
$[0] = props;
|
|
187
|
+
$[1] = t0;
|
|
188
|
+
} else t0 = $[1];
|
|
189
|
+
return t0;
|
|
109
190
|
};
|
|
110
|
-
function _temp($) {
|
|
111
|
-
return $.ui.tag.dismiss;
|
|
112
|
-
}
|
|
113
191
|
//#endregion
|
|
114
192
|
export { Badge };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { En as TypographyVariantProps } from "../link.cva-D6L1c2wq.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { DragControls } from "motion/react";
|
|
4
4
|
//#region src/components/overlays/BottomSheet/BottomSheetHeader.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
-
import { t as IconSlot } from "../IconSlot-
|
|
3
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-
|
|
2
|
+
import { t as IconSlot } from "../IconSlot-TAWTJ6iK.js";
|
|
3
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-BJJkLVNj.js";
|
|
4
4
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
5
|
+
import "../i18n-DQs7jPjv.js";
|
|
5
6
|
import { n as uiOutlineClass } from "../outline.clsx-DGGQQRkM.js";
|
|
6
|
-
import "../i18n-D8vXIoiq.js";
|
|
7
|
-
import { X } from "lucide-react";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { X } from "lucide-react";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/overlays/BottomSheet/BottomSheetHeader.tsx
|
|
12
12
|
const BottomSheetHeader = (t0) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as BottomSheetProps } from "../BottomSheet-
|
|
2
|
-
import { t as BottomSheet } from "../BottomSheet.lazy-
|
|
1
|
+
import { t as BottomSheetProps } from "../BottomSheet-Be0HtQzP.js";
|
|
2
|
+
import { t as BottomSheet } from "../BottomSheet.lazy-NNB7ivkW.js";
|
|
3
3
|
export { BottomSheet, type BottomSheetProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-
|
|
1
|
+
import { t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-BJ13KRQo.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { Suspense, lazy, useEffect, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/overlays/BottomSheet/BottomSheet.lazy.tsx
|
|
6
|
-
const BottomSheetRenderer = lazy(() => import("../BottomSheet-
|
|
6
|
+
const BottomSheetRenderer = lazy(() => import("../BottomSheet-APVu5TUd.js").then(({ BottomSheet }) => ({ default: BottomSheet })));
|
|
7
7
|
const BottomSheet = (t0) => {
|
|
8
8
|
const $ = c(26);
|
|
9
9
|
let isOpen;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Breadcrumbs, r as BreadcrumbsProps, t as BreadcrumbItem } from "../Breadcrumbs-
|
|
1
|
+
import { n as Breadcrumbs, r as BreadcrumbsProps, t as BreadcrumbItem } from "../Breadcrumbs-Bn3fqVYx.js";
|
|
2
2
|
export { BreadcrumbItem, Breadcrumbs, BreadcrumbsProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Breadcrumbs } from "../Breadcrumbs-
|
|
1
|
+
import { t as Breadcrumbs } from "../Breadcrumbs-Cd75RPbS.js";
|
|
2
2
|
export { Breadcrumbs };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ButtonProps, t as Button } from "../Button-
|
|
1
|
+
import { xn as ButtonVariantProps } from "../link.cva-D6L1c2wq.js";
|
|
2
|
+
import { n as ButtonProps, t as Button } from "../Button-Hk8zm9q_.js";
|
|
3
3
|
export { Button, type ButtonProps, type ButtonVariantProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Button } from "../Button-
|
|
1
|
+
import { t as Button } from "../Button-CzEs3tcV.js";
|
|
2
2
|
export { Button };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
export { CheckboxGroup, type
|
|
1
|
+
import { a as StandaloneCheckboxGroupProps, i as ControlledCheckboxGroupProps, n as CheckboxGroupItem, r as CheckboxGroupProps, t as CheckboxGroup } from "../CheckboxGroup-B5Mn1G3u.js";
|
|
2
|
+
export { CheckboxGroup, type CheckboxGroupItem, type CheckboxGroupProps, type ControlledCheckboxGroupProps, type StandaloneCheckboxGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CheckboxGroup } from "../CheckboxGroup-
|
|
1
|
+
import { t as CheckboxGroup } from "../CheckboxGroup-BqWt09kZ.js";
|
|
2
2
|
export { CheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { Checkbox, type
|
|
1
|
+
import { i as StandaloneCheckboxProps, n as CheckboxProps, r as ControlledCheckboxProps, t as Checkbox } from "../Checkbox-D32MOIhF.js";
|
|
2
|
+
export { Checkbox, type CheckboxProps, type ControlledCheckboxProps, type StandaloneCheckboxProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Checkbox } from "../Checkbox-
|
|
1
|
+
import { t as Checkbox } from "../Checkbox-CzKXZw_w.js";
|
|
2
2
|
export { Checkbox };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
export {
|
|
1
|
+
import { i as StandaloneDatePickerProps, n as DatePicker, r as DatePickerProps, t as ControlledDatePickerProps } from "../DatePicker-CmoVbapu.js";
|
|
2
|
+
export { type ControlledDatePickerProps, DatePicker, type DatePickerProps, type StandaloneDatePickerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DatePicker } from "../DatePicker-
|
|
1
|
+
import { t as DatePicker } from "../DatePicker-DQewd1By.js";
|
|
2
2
|
export { DatePicker };
|
|
@@ -1,41 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
declare const dateRangePresetValues: readonly ["thisWeek", "lastWeek", "thisAndLastWeek", "thisMonth", "thisAndLastMonth", "thisYear", "lastYear", "thisAndLastYear", "soFar"];
|
|
6
|
-
type DateRangePresetValue = (typeof dateRangePresetValues)[number];
|
|
7
|
-
interface DateRangePreset {
|
|
8
|
-
start: CalendarDate;
|
|
9
|
-
end: CalendarDate;
|
|
10
|
-
}
|
|
11
|
-
interface ResolvedDateRangePreset {
|
|
12
|
-
start: string;
|
|
13
|
-
end: string;
|
|
14
|
-
}
|
|
15
|
-
interface StoredRelativeDateRangeValue {
|
|
16
|
-
relativeValue: string;
|
|
17
|
-
}
|
|
18
|
-
interface RelativeDateRangeValue extends StoredRelativeDateRangeValue {
|
|
19
|
-
resolvedValue: ResolvedDateRangePreset;
|
|
20
|
-
}
|
|
21
|
-
/** Whole-day distance of each range boundary from today; negative is past, positive is future. */
|
|
22
|
-
interface RelativeDaysOffset {
|
|
23
|
-
start: number;
|
|
24
|
-
end: number;
|
|
25
|
-
}
|
|
26
|
-
/** Whole days from `currentDate` to `date`; negative when `date` is in the past. */
|
|
27
|
-
declare const getRelativeDaysOffset: (date: DateValue, currentDate: CalendarDate) => number;
|
|
28
|
-
/** Display form of a single offset, e.g. `-7`, `0` or `+3`. */
|
|
29
|
-
declare const formatRelativeDaysOffset: (days: number) => string;
|
|
30
|
-
/** Serializes day offsets into a stable `relativeValue`, e.g. `days:-7:+3`. */
|
|
31
|
-
declare const formatRelativeDaysValue: ({ start, end }: RelativeDaysOffset) => string;
|
|
32
|
-
/** Returns undefined when the value is not a day-offset value or its start is after its end. */
|
|
33
|
-
declare const parseRelativeDaysValue: (value: string) => RelativeDaysOffset | undefined;
|
|
34
|
-
declare const isStoredRelativeDateRangeValue: (value: unknown) => value is StoredRelativeDateRangeValue;
|
|
35
|
-
declare const isRelativeDateRangeValue: (value: unknown) => value is RelativeDateRangeValue;
|
|
36
|
-
declare const isDateRangePresetValue: (value: string) => value is DateRangePresetValue;
|
|
37
|
-
declare const getDateRangePreset: (value: string, currentDate?: CalendarDate, locale?: string) => DateRangePreset | undefined;
|
|
38
|
-
declare const resolveDateRangePreset: (value: string, currentDate?: CalendarDate, locale?: string) => ResolvedDateRangePreset | undefined;
|
|
39
|
-
declare const hydrateRelativeDateRangeValue: (value: StoredRelativeDateRangeValue, currentDate?: CalendarDate, locale?: string) => RelativeDateRangeValue | undefined;
|
|
40
|
-
//#endregion
|
|
41
|
-
export { type AbsoluteDateRangePickerValue, DateRangePicker, type DateRangePickerComponent, type DateRangePickerInner, type DateRangePickerProps, type DateRangePreset, type DateRangePresetValue, type DateRangeRelativeOption, type DateRangeResolvedValue, type RelativeDateRangeValue, type RelativeDaysOffset, type ResolvedDateRangePreset, type StoredRelativeDateRangeValue, dateRangePresetValues, formatRelativeDaysOffset, formatRelativeDaysValue, getDateRangePreset, getRelativeDaysOffset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, parseRelativeDaysValue, resolveDateRangePreset };
|
|
1
|
+
import { n as DateRangeRelativeOption, r as DateRangeResolvedValue } from "../uiConfig.types-B0sPL7nN.js";
|
|
2
|
+
import { a as StandaloneDateRangePickerProps, i as DateRangePickerValue, n as DateRangePicker, r as DateRangePickerProps, t as ControlledDateRangePickerProps } from "../DateRangePicker-LX1VJlnD.js";
|
|
3
|
+
import { _ as isStoredRelativeDateRangeValue, a as RelativeDateRangeValue, c as StoredRelativeDateRangeValue, d as formatRelativeDaysValue, f as getDateRangePreset, g as isRelativeDateRangeValue, h as isDateRangePresetValue, i as DateRangePresetValue, l as dateRangePresetValues, m as hydrateRelativeDateRangeValue, n as useResolveDateRangePreset, o as RelativeDaysOffset, p as getRelativeDaysOffset, r as DateRangePreset, s as ResolvedDateRangePreset, t as UseResolveDateRangePresetOptions, u as formatRelativeDaysOffset, v as parseRelativeDaysValue, y as resolveDateRangePreset } from "../useResolveDateRangePreset-DOSzJR-N.js";
|
|
4
|
+
export { type ControlledDateRangePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePickerValue, type DateRangePreset, type DateRangePresetValue, type DateRangeRelativeOption, type DateRangeResolvedValue, type RelativeDateRangeValue, type RelativeDaysOffset, type ResolvedDateRangePreset, type StandaloneDateRangePickerProps, type StoredRelativeDateRangeValue, type UseResolveDateRangePresetOptions, dateRangePresetValues, formatRelativeDaysOffset, formatRelativeDaysValue, getDateRangePreset, getRelativeDaysOffset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, parseRelativeDaysValue, resolveDateRangePreset, useResolveDateRangePreset };
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as DateRangePicker } from "../DateRangePicker-DRZ1hLlR.js";
|
|
2
|
+
import { a as getDateRangePreset, c as isDateRangePresetValue, d as parseRelativeDaysValue, f as resolveDateRangePreset, i as formatRelativeDaysValue, l as isRelativeDateRangeValue, o as getRelativeDaysOffset, r as formatRelativeDaysOffset, s as hydrateRelativeDateRangeValue, t as dateRangePresetValues, u as isStoredRelativeDateRangeValue } from "../dateRangePreset.utils-Bnb-rjTt.js";
|
|
3
|
+
import { t as useResolveDateRangePreset } from "../useResolveDateRangePreset-C_L-doA6.js";
|
|
4
|
+
export { DateRangePicker, dateRangePresetValues, formatRelativeDaysOffset, formatRelativeDaysValue, getDateRangePreset, getRelativeDaysOffset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, parseRelativeDaysValue, resolveDateRangePreset, useResolveDateRangePreset };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as isStoredRelativeDateRangeValue, a as RelativeDateRangeValue, c as StoredRelativeDateRangeValue, d as formatRelativeDaysValue, f as getDateRangePreset, g as isRelativeDateRangeValue, h as isDateRangePresetValue, i as DateRangePresetValue, l as dateRangePresetValues, m as hydrateRelativeDateRangeValue, n as useResolveDateRangePreset, o as RelativeDaysOffset, p as getRelativeDaysOffset, r as DateRangePreset, s as ResolvedDateRangePreset, t as UseResolveDateRangePresetOptions, u as formatRelativeDaysOffset, v as parseRelativeDaysValue, y as resolveDateRangePreset } from "../useResolveDateRangePreset-DOSzJR-N.js";
|
|
2
|
+
export { type DateRangePreset, type DateRangePresetValue, type RelativeDateRangeValue, type RelativeDaysOffset, type ResolvedDateRangePreset, type StoredRelativeDateRangeValue, type UseResolveDateRangePresetOptions, dateRangePresetValues, formatRelativeDaysOffset, formatRelativeDaysValue, getDateRangePreset, getRelativeDaysOffset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, parseRelativeDaysValue, resolveDateRangePreset, useResolveDateRangePreset };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as getDateRangePreset, c as isDateRangePresetValue, d as parseRelativeDaysValue, f as resolveDateRangePreset, i as formatRelativeDaysValue, l as isRelativeDateRangeValue, o as getRelativeDaysOffset, r as formatRelativeDaysOffset, s as hydrateRelativeDateRangeValue, t as dateRangePresetValues, u as isStoredRelativeDateRangeValue } from "../dateRangePreset.utils-Bnb-rjTt.js";
|
|
2
|
+
import { t as useResolveDateRangePreset } from "../useResolveDateRangePreset-C_L-doA6.js";
|
|
3
|
+
export { dateRangePresetValues, formatRelativeDaysOffset, formatRelativeDaysValue, getDateRangePreset, getRelativeDaysOffset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, parseRelativeDaysValue, resolveDateRangePreset, useResolveDateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
export {
|
|
1
|
+
import { i as StandaloneDateTimePickerProps, n as DateTimePicker, r as DateTimePickerProps, t as ControlledDateTimePickerProps } from "../DateTimePicker-D9pODhAj.js";
|
|
2
|
+
export { type ControlledDateTimePickerProps, DateTimePicker, type DateTimePickerProps, type StandaloneDateTimePickerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DateTimePicker } from "../DateTimePicker-
|
|
1
|
+
import { t as DateTimePicker } from "../DateTimePicker-DWtKPaE6.js";
|
|
2
2
|
export { DateTimePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as DialogProps, t as Dialog } from "../Dialog-D0SeePPz.js";
|
|
2
2
|
export { Dialog, type DialogProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Dialog } from "../Dialog-
|
|
1
|
+
import { t as Dialog } from "../Dialog-BzQYDPJ9.js";
|
|
2
2
|
export { Dialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DrawerProps, t as Drawer } from "../Drawer-
|
|
1
|
+
import { n as DrawerProps, t as Drawer } from "../Drawer-o018RqIt.js";
|
|
2
2
|
export { Drawer, DrawerProps };
|
|
@@ -1,96 +1,32 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
-
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-
|
|
3
|
-
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "../Modal-
|
|
4
|
-
import { r as dialogOverlay } from "../dialog.cva-
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-BJ13KRQo.js";
|
|
3
|
+
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "../Modal-DAMsCwzb.js";
|
|
4
|
+
import { r as dialogOverlay } from "../dialog.cva-BjVggO5l.js";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
//#region src/components/overlays/Drawer/Drawer.tsx
|
|
8
|
-
const Drawer = (
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
let t1;
|
|
13
|
-
if ($[0] !== children || $[1] !== className || $[2] !== dialogClassName || $[3] !== isDismissable || $[4] !== label || $[5] !== overlayClassName || $[6] !== portalContainerRef || $[7] !== shouldCloseOnInteractOutside) {
|
|
14
|
-
t1 = /* @__PURE__ */ jsx(DrawerOverlay, {
|
|
15
|
-
label,
|
|
16
|
-
portalContainerRef,
|
|
17
|
-
isDismissable,
|
|
18
|
-
overlayClassName,
|
|
19
|
-
dialogClassName,
|
|
20
|
-
className,
|
|
21
|
-
shouldCloseOnInteractOutside,
|
|
22
|
-
children
|
|
23
|
-
});
|
|
24
|
-
$[0] = children;
|
|
25
|
-
$[1] = className;
|
|
26
|
-
$[2] = dialogClassName;
|
|
27
|
-
$[3] = isDismissable;
|
|
28
|
-
$[4] = label;
|
|
29
|
-
$[5] = overlayClassName;
|
|
30
|
-
$[6] = portalContainerRef;
|
|
31
|
-
$[7] = shouldCloseOnInteractOutside;
|
|
32
|
-
$[8] = t1;
|
|
33
|
-
} else t1 = $[8];
|
|
34
|
-
let t2;
|
|
35
|
-
if ($[9] !== isOpen || $[10] !== onOpenChange || $[11] !== t1 || $[12] !== trigger) {
|
|
36
|
-
t2 = /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
37
|
-
isOpen,
|
|
38
|
-
onOpenChange,
|
|
39
|
-
children: [trigger, t1]
|
|
40
|
-
});
|
|
41
|
-
$[9] = isOpen;
|
|
42
|
-
$[10] = onOpenChange;
|
|
43
|
-
$[11] = t1;
|
|
44
|
-
$[12] = trigger;
|
|
45
|
-
$[13] = t2;
|
|
46
|
-
} else t2 = $[13];
|
|
47
|
-
return t2;
|
|
48
|
-
}
|
|
49
|
-
let t1;
|
|
50
|
-
if ($[14] !== children || $[15] !== className || $[16] !== dialogClassName || $[17] !== isDismissable || $[18] !== isOpen || $[19] !== label || $[20] !== onOpenChange || $[21] !== overlayClassName || $[22] !== portalContainerRef || $[23] !== shouldCloseOnInteractOutside) {
|
|
51
|
-
t1 = /* @__PURE__ */ jsx(DrawerOverlay, {
|
|
52
|
-
isOpen,
|
|
53
|
-
onOpenChange,
|
|
54
|
-
portalContainerRef,
|
|
55
|
-
isDismissable,
|
|
56
|
-
overlayClassName,
|
|
57
|
-
dialogClassName,
|
|
58
|
-
className,
|
|
59
|
-
label,
|
|
60
|
-
shouldCloseOnInteractOutside,
|
|
61
|
-
children
|
|
62
|
-
});
|
|
63
|
-
$[14] = children;
|
|
64
|
-
$[15] = className;
|
|
65
|
-
$[16] = dialogClassName;
|
|
66
|
-
$[17] = isDismissable;
|
|
67
|
-
$[18] = isOpen;
|
|
68
|
-
$[19] = label;
|
|
69
|
-
$[20] = onOpenChange;
|
|
70
|
-
$[21] = overlayClassName;
|
|
71
|
-
$[22] = portalContainerRef;
|
|
72
|
-
$[23] = shouldCloseOnInteractOutside;
|
|
73
|
-
$[24] = t1;
|
|
74
|
-
} else t1 = $[24];
|
|
75
|
-
return t1;
|
|
76
|
-
};
|
|
77
|
-
const DrawerOverlay = ({ label, isOpen, onOpenChange, portalContainerRef, children, isDismissable, overlayClassName, dialogClassName, className, shouldCloseOnInteractOutside }) => {
|
|
78
|
-
return /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
|
|
79
|
-
isOpen,
|
|
80
|
-
onOpenChange,
|
|
7
|
+
const Drawer = ({ label, isOpen, portalContainerRef, onOpenChange, trigger, children, isDismissable = true, overlayClassName, contentClassName, className, shouldCloseOnInteractOutside }) => {
|
|
8
|
+
const overlay = /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$8948f78d83984c69, {
|
|
9
|
+
isOpen: trigger ? void 0 : isOpen,
|
|
10
|
+
onOpenChange: trigger ? void 0 : onOpenChange,
|
|
81
11
|
UNSTABLE_portalContainer: portalContainerRef?.current,
|
|
82
12
|
className: clsx(dialogOverlay(), "z-drawer", overlayClassName),
|
|
83
13
|
isDismissable,
|
|
84
14
|
shouldCloseOnInteractOutside,
|
|
85
15
|
children: /* @__PURE__ */ jsx($8b8d26808cb8cb53$export$2b77a92f1a5ad772, {
|
|
86
|
-
className: clsx("fixed inset-y-0 right-0 z-drawer
|
|
16
|
+
className: clsx("fixed inset-y-0 right-0 z-drawer entering:animate-drawer-enter-right exiting:animate-drawer-exit-right border-l bg-background text-foreground shadow-lg", className),
|
|
87
17
|
children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
88
18
|
"aria-label": label,
|
|
89
|
-
className: clsx("outline-none",
|
|
90
|
-
children: ({ close }) => children(close)
|
|
19
|
+
className: clsx("outline-none", contentClassName),
|
|
20
|
+
children: ({ close }) => typeof children === "function" ? children(close) : children
|
|
91
21
|
})
|
|
92
22
|
})
|
|
93
23
|
});
|
|
24
|
+
if (trigger) return /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
25
|
+
isOpen,
|
|
26
|
+
onOpenChange,
|
|
27
|
+
children: [trigger, overlay]
|
|
28
|
+
});
|
|
29
|
+
return overlay;
|
|
94
30
|
};
|
|
95
31
|
//#endregion
|
|
96
32
|
export { Drawer };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
export { DropdownMenu, type DropdownMenuProps, MenuItem, type MenuItem$1 as MenuItemDefinition, type MenuListItemProps };
|
|
1
|
+
import { n as DropdownMenuItem, r as DropdownMenuProps, t as DropdownMenu } from "../DropdownMenu-DTr7b-XO.js";
|
|
2
|
+
export { DropdownMenu, type DropdownMenuItem, type DropdownMenuProps };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { DropdownMenu, MenuItem };
|
|
1
|
+
import { t as DropdownMenu } from "../DropdownMenu-DrshB60h.js";
|
|
2
|
+
export { DropdownMenu };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { i as StandaloneFileInputProps, n as ControlledFileInputProps, r as FileInputProps, t as FileInput } from "../FileInput-Bokcp9nH.js";
|
|
2
|
+
export { type ControlledFileInputProps, FileInput, type FileInputProps, type StandaloneFileInputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileInput } from "../FileInput-
|
|
1
|
+
import { t as FileInput } from "../FileInput-LMhFxlqB.js";
|
|
2
2
|
export { FileInput };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
export { type DefaultFile, FileUpload, type FileUploadBase, type FileUploadBaseProps, type FileUploadButtonProps, type FileUploadComponent, type FileUploadError, type FileUploadProps, type FileUploadRequest, type FileUploadResponse, type FileUploadState };
|
|
1
|
+
import { a as FileUploadItem, c as FileUploadProps, d as UploadedFile, f as UploadedFileItem, i as FileUploadChildrenProps, l as FileUploadResult, n as ControlledFileUploadProps, o as FileUploadOptions, p as UploadingFileItem, r as FileUploadButtonProps, s as FileUploadProgress, t as FileUpload, u as StandaloneFileUploadProps } from "../FileUpload-BqXd4_nz.js";
|
|
2
|
+
export { type ControlledFileUploadProps, FileUpload, type FileUploadButtonProps, type FileUploadChildrenProps, type FileUploadItem, type FileUploadOptions, type FileUploadProgress, type FileUploadProps, type FileUploadResult, type StandaloneFileUploadProps, type UploadedFile, type UploadedFileItem, type UploadingFileItem };
|