@povio/ui 6.0.0-rc.13 → 6.0.0-rc.14
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 +55 -1
- package/dist/{Accordion-gUW7u1Zn.js → Accordion-BNHpv7Zj.js} +3 -3
- package/dist/{Alert-DwnALnFY.d.ts → Alert-xHGPLUpt.d.ts} +1 -1
- package/dist/{AlertDialog-BcRiqY_n.d.ts → AlertDialog-CKcUZ6l9.d.ts} +3 -3
- package/dist/{Autocomplete-DRwQxx0U.d.ts → Autocomplete-CkWTSFoj.d.ts} +1 -1
- package/dist/{Autocomplete-CV4Aa1Ok.js → Autocomplete-CrNDRxvg.js} +10 -10
- package/dist/{Badge-CO-ZsmbR.d.ts → Badge-B25YEMEw.d.ts} +3 -3
- package/dist/{BottomSheet-Be0HtQzP.d.ts → BottomSheet-CtcPZG82.d.ts} +1 -1
- package/dist/{BottomSheet-APVu5TUd.js → BottomSheet-tUXH3NjS.js} +4 -4
- package/dist/{BottomSheet.lazy-NNB7ivkW.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
- package/dist/{Breadcrumbs-Bn3fqVYx.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +1 -1
- package/dist/{Breadcrumbs-Cd75RPbS.js → Breadcrumbs-D8WXqOLN.js} +8 -8
- package/dist/{Button-CzEs3tcV.js → Button-C1Jv1Plk.js} +1 -1
- package/dist/{Button-Hk8zm9q_.d.ts → Button-DDuk3hJ3.d.ts} +1 -1
- package/dist/{Button-BJJkLVNj.js → Button-DF6sbTuF.js} +3 -3
- package/dist/{ButtonBase-aGz6DYum.js → ButtonBase-BYJz1JkH.js} +4 -4
- package/dist/{ButtonBase-Cp1w00t2.d.ts → ButtonBase-Bn_FT89h.d.ts} +3 -3
- package/dist/{Calendar-DN-i_b-_.js → Calendar-DdneUEhM.js} +58 -24
- package/dist/{Calendar.lazy-CqmyDSND.js → Calendar.lazy-BY0kLoYH.js} +6 -6
- package/dist/{Checkbox-D32MOIhF.d.ts → Checkbox-Bwl6MA-V.d.ts} +1 -1
- package/dist/{Checkbox-CzKXZw_w.js → Checkbox-E2bns_n0.js} +7 -7
- package/dist/{CheckboxCheckmark-DDU_Ie7-.js → CheckboxCheckmark-Beu8T1g9.js} +2 -2
- package/dist/{CheckboxGroup-B5Mn1G3u.d.ts → CheckboxGroup-0rzsn-bA.d.ts} +2 -2
- package/dist/{CheckboxGroup-BqWt09kZ.js → CheckboxGroup-C7epIEpW.js} +3 -3
- package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
- package/dist/ColumnListContent-Dzze5R7T.js +133 -0
- package/dist/{DatePicker-CmoVbapu.d.ts → DatePicker-B70SCKfT.d.ts} +3 -3
- package/dist/{DatePicker-DQewd1By.js → DatePicker-BU-34fCk.js} +44 -12
- package/dist/{DatePickerInput-B9VnExeA.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
- package/dist/{DatePickerInput-Bp9ZIN5E.js → DatePickerInput-CMEJmZSQ.js} +10 -10
- package/dist/{DateRangePicker-DRZ1hLlR.js → DateRangePicker-D0RtqeBM.js} +13 -13
- package/dist/{DateRangePicker-LX1VJlnD.d.ts → DateRangePicker-jovxcWGk.d.ts} +4 -4
- package/dist/{DateTimePicker-DWtKPaE6.js → DateTimePicker-Cbdt76CL.js} +30 -11
- package/dist/{DateTimePicker-D9pODhAj.d.ts → DateTimePicker-Cfi3ruFy.d.ts} +3 -3
- package/dist/{Dialog-D0SeePPz.d.ts → Dialog-BWNQjIgo.d.ts} +1 -1
- package/dist/{Dialog-BJ13KRQo.js → Dialog-Bpwr1nuy.js} +15 -15
- package/dist/{Dialog-BzQYDPJ9.js → Dialog-ebjPH22i.js} +3 -3
- package/dist/{Disclosure-Bjm5IOpg.js → Disclosure-D_aym2zh.js} +3 -3
- package/dist/{DropdownMenu-DTr7b-XO.d.ts → DropdownMenu-3V-G7fZ7.d.ts} +2 -2
- package/dist/{DropdownMenu-DrshB60h.js → DropdownMenu-C4WitobV.js} +4 -4
- package/dist/{DropdownMenuDesktop-DxGA0yvx.js → DropdownMenuDesktop-BM7659Sk.js} +1 -1
- package/dist/{FileInput-LMhFxlqB.js → FileInput-Bc_E1M1X.js} +5 -5
- package/dist/{FileInput-Bokcp9nH.d.ts → FileInput-CWRW7OzZ.d.ts} +2 -2
- package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
- package/dist/{FileUpload-BqXd4_nz.d.ts → FileUpload-DVnp9xxv.d.ts} +2 -2
- package/dist/{FileUpload-CJZrkr_U.js → FileUpload-Dk6ZmgWF.js} +501 -75
- package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
- package/dist/{FormField-XQbjfGSv.d.ts → FormField-BgiWLGjf.d.ts} +1 -1
- package/dist/{FormField-TI8Vx5aC.js → FormField-DOZ7eXjA.js} +2 -2
- package/dist/{FormFieldHeaderTooltip-DB7KrrcD.js → FormFieldHeaderTooltip-DW9sqJWl.js} +3 -3
- package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
- package/dist/{IconButton-CQLHX8-Y.d.ts → IconButton-Bjjf5cQL.d.ts} +1 -1
- package/dist/{InlineTooltipWrapper-CjDUsi2I.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
- package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
- package/dist/{Input-CeRJeAoR.js → Input-CvYyjMWx.js} +5 -5
- package/dist/{Input-onUj0DKg.d.ts → Input-lppNS8wM.d.ts} +3 -3
- package/dist/{InputContent-B8OCdbVP.js → InputContent-B5YjsLDE.js} +2 -2
- package/dist/{InputContent-D5ZkB9hO.d.ts → InputContent-Bgalf6R1.d.ts} +2 -2
- package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
- package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
- package/dist/{Link-BdnWVYL9.d.ts → Link-HJ4y-xiW.d.ts} +1 -1
- package/dist/{ListBox-gR4iSV7N.js → ListBox-Ck-B1Jae.js} +7 -7
- package/dist/{Modal-DAMsCwzb.js → Modal-xT-Wz5GH.js} +3 -3
- package/dist/{NumberField-6Q9LHGSo.js → NumberField-BXLzNb2T.js} +6 -6
- package/dist/{NumberField-Sb30Qao3.d.ts → NumberField-Q-4y3jpb.d.ts} +3 -3
- package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
- package/dist/{NumberRangeInput-BDSkcHVJ.js → NumberRangeInput-BBzZCC54.js} +6 -6
- package/dist/{NumberRangeInput-Dvq8mOUY.d.ts → NumberRangeInput-DuWOdSdU.d.ts} +2 -2
- package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
- package/dist/{PageHeader-eJk6GNK6.d.ts → PageHeader-jVaC3Z9L.d.ts} +2 -2
- package/dist/{PasswordInput-VHzP4VPU.d.ts → PasswordInput-DtTnGHRD.d.ts} +1 -1
- package/dist/{PasswordInput-BcHpV0Ie.js → PasswordInput-U0QhNsMp.js} +2 -2
- package/dist/{Popover-qplPGDnR.d.ts → Popover-ClCEOP3e.d.ts} +2 -2
- package/dist/{Progress-WzWvbvtp.js → Progress-DlXY0dv_.js} +1 -1
- package/dist/{Progress-DH-w99MU.d.ts → Progress-VkkXbIh7.d.ts} +1 -1
- package/dist/{ProgressBar-BsSimmJF.js → ProgressBar-mpNpV7ow.js} +3 -3
- package/dist/{RadioGroup-PKqFHoKP.js → RadioGroup-BPPJyA1s.js} +8 -8
- package/dist/{RadioGroup-CC8bKtBN.d.ts → RadioGroup-BbcrP56w.d.ts} +2 -2
- package/dist/{RangeCalendar-DqCTlIuy.js → RangeCalendar-DIVjIl0T.js} +4 -4
- package/dist/{Select-CSyfDyxG.d.ts → Select-D1qIWZCv.d.ts} +3 -3
- package/dist/{Select-D3fuXwVt.js → Select-DlbVDCz8.js} +36 -26
- package/dist/{SelectListBox-DqAxkT1f.js → SelectListBox-CCr5YY86.js} +15 -12
- package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
- package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
- package/dist/{SidebarWorkspaces-BGl_PIsH.js → SidebarWorkspaces-CIpFJGOa.js} +10 -10
- package/dist/{SidebarWorkspaces-CdtK2M-C.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +3 -3
- package/dist/{Slider-DxalZD3o.d.ts → Slider-CLViwkE1.d.ts} +1 -1
- package/dist/{Slider-BCUiALjE.js → Slider-_RsgBJcg.js} +5 -5
- package/dist/{Spinner-BTrEbNFy.d.ts → Spinner-GMEauCHv.d.ts} +1 -1
- package/dist/{SplitButton-Dv5l8p5t.d.ts → SplitButton-BdP4xjFQ.d.ts} +3 -3
- package/dist/{Stepper-DA2G546I.js → Stepper-D4z7JNsD.js} +2 -2
- package/dist/{Stepper-B1IOUcSI.d.ts → Stepper-DBb0qfla.d.ts} +1 -1
- package/dist/{Switch-Ce-bJOVw.js → Switch-Bi3_bUw1.js} +3 -3
- package/dist/{Switch-urNrop0P.d.ts → Switch-DCxONL2Q.d.ts} +1 -1
- package/dist/TableDnd-CG1yOlxh.js +238 -0
- package/dist/TableDragHandle-CXApnuUm.js +51 -0
- package/dist/{TabsFilters-Cweij8He.js → TabsFilters-BPogry73.js} +4 -4
- package/dist/{TabsFilters-M5Ld7eb8.d.ts → TabsFilters-CPfGBODw.d.ts} +1 -1
- package/dist/{Tag-BKR1AZFa.d.ts → Tag-xhcJOv_X.d.ts} +2 -2
- package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
- package/dist/{TextArea-D7YVclaz.d.ts → TextArea-BYX9Kk_v.d.ts} +2 -2
- package/dist/{TextArea-P8F0oD_A.js → TextArea-CuJS3-Nv.js} +6 -6
- package/dist/{TimePicker-l4Ysk2AX.js → TimePicker-ByfjqkLp.js} +28 -13
- package/dist/{TimePicker-Ai1M2TGW.d.ts → TimePicker-UTo9C6gz.d.ts} +3 -2
- package/dist/TimePickerForm-CaIHR0PV.js +532 -0
- package/dist/{ToastContainer-BeklfvlK.js → ToastContainer-tr7Zxahc.js} +4 -4
- package/dist/{ToggleButton-DWw53pTt.d.ts → ToggleButton-BX8o7ECO.d.ts} +1 -1
- package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
- package/dist/{ToggleGroup-BdIgqoqA.js → ToggleGroup-18c-FZ_r.js} +5 -5
- package/dist/{ToggleGroup-BQk3k0at.d.ts → ToggleGroup-UazUtgU1.d.ts} +2 -2
- package/dist/{Tooltip-BkXPEBqw.js → Tooltip-Dl3sf8fq.js} +3 -3
- package/dist/{Tooltip-H8OB7CqY.d.ts → Tooltip-FcJ29dhq.d.ts} +1 -1
- package/dist/{TooltipWrapper-ubbBHHVD.js → TooltipWrapper-bvNpM6ku.js} +3 -3
- package/dist/{Typography-Cx1oRGxd.d.ts → Typography-auHWN282.d.ts} +1 -1
- package/dist/{badge.cva-BpoxNggB.js → badge.cva-C9mE8CMf.js} +3 -2
- package/dist/{buttonContent.cva-Dyy_RUZU.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +3 -3
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +37 -30
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +23 -19
- 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 +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +2 -2
- package/dist/components/date-range-picker.js +2 -2
- package/dist/components/date-range-presets.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- 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.js +2 -2
- package/dist/components/dropdown-menu.d.ts +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +2 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/input-frame.d.ts +3 -3
- package/dist/components/input-frame.js +5 -5
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +1 -1
- 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 +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- 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 +32 -5
- package/dist/components/switch.d.ts +1 -1
- 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 +3 -3
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +3 -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 +1 -1
- package/dist/components/toggle-group.js +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 +1 -1
- package/dist/components/use-toast.js +1 -1
- package/dist/config/component-configuration.d.ts +2 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +2 -2
- 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-overrides.d.ts +1 -1
- package/dist/{confirmation.context-BflM4Vxg.js → confirmation.context-C_-uADGJ.js} +1 -1
- package/dist/{confirmation.context-C_js9qNv.d.ts → confirmation.context-DkWyR2aT.d.ts} +1 -1
- package/dist/{dist-DZOoWaZz.js → dist-CP6vV22I.js} +14 -10
- package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
- package/dist/{fileUpload.cva-MH5ziWUe.js → fileUpload.cva-SrF6v406.js} +1 -1
- package/dist/form-field-C735uXsi.d.ts +1 -0
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +2 -2
- package/dist/hooks/use-breakpoint.js +1 -1
- package/dist/{i18n-DQs7jPjv.js → i18n-DaIHnR2n.js} +26 -2
- package/dist/{i18n-B3PeqBM7.d.ts → i18n-xXkHgzet.d.ts} +24 -0
- package/dist/{import-C73fI3WD.js → import-Cz8NlFqm.js} +39 -15
- package/dist/index.d.ts +56 -55
- package/dist/index.js +49 -49
- package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
- package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
- package/dist/{link.context-BcBuP9ZT.d.ts → link.context-BxVK2yQ5.d.ts} +1 -1
- package/dist/{link.cva-D6L1c2wq.d.ts → link.cva-ZhpQz3P0.d.ts} +129 -9
- package/dist/{logger-CW24po62.js → logger-CqZjM-sn.js} +1 -10
- package/dist/rich-text-editor.d.ts +2 -2
- package/dist/rich-text-editor.js +14 -14
- package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/{staticDateTimeSegments-BYk1tcxs.js → staticDateTimeSegments-BgUrcqXD.js} +342 -87
- package/dist/styles/input.d.ts +1 -1
- package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
- package/dist/tableCells.cva-Br0_kgRM.js +18 -0
- package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
- package/dist/tableVirtualStore-whSmFzTV.js +67 -0
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/table-context.d.ts +2 -0
- package/dist/tanstack/table-context.js +2 -0
- package/dist/tanstack/table-types.d.ts +55 -0
- package/dist/tanstack/table.d.ts +5 -5
- package/dist/tanstack/table.js +3 -2
- package/dist/tanstack-JB8VmS9j.js +73 -0
- package/dist/{tanstack-bLXoUPDY.d.ts → tanstack-cQOW9-Q2.d.ts} +50 -50
- package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
- package/dist/tanstack-table-M1M26UQJ.js +5299 -0
- package/dist/tanstack.d.ts +56 -55
- package/dist/tanstack.js +49 -49
- package/dist/{toast.cva-C3oA7He3.js → toast.cva-DusQwZw-.js} +5 -1
- package/dist/{toast.runtime-BHXdSTXV.js → toast.runtime-ZN5q4T9X.js} +1 -1
- package/dist/{uiConfig.context-CjnLnQOo.js → uiConfig.context-NWmBJ2Hc.js} +68 -4
- package/dist/{uiConfig.context-CN_QgxGO.d.ts → uiConfig.context-ykH4E2js.d.ts} +1 -1
- package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
- package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
- package/dist/{useAsyncList-CQgkDfjW.js → useAsyncList-DkIjhlce.js} +2 -2
- package/dist/{useBreakpoint-D-SVcBeQ.d.ts → useBreakpoint-BPrZNuNl.d.ts} +1 -1
- package/dist/{useBreakpoint-BrJrvp9_.js → useBreakpoint-DtYSRweq.js} +2 -2
- package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
- package/dist/{useDebounceCallback-BjePw6y4.js → useDebounceCallback-C7YKfjXW.js} +6 -0
- package/dist/{useFormAutosave-BN-zueci.js → useFormAutosave-BzCGqFqi.js} +2 -2
- package/dist/{useLiveNumberFieldState-B7qGzySj.js → useLiveNumberFieldState-npiqOvyB.js} +4 -4
- package/dist/{useRemoveButton-B6-IGvpY.js → useRemoveButton-zhlA1Pbc.js} +1 -1
- package/dist/{useResolveDateRangePreset-C_L-doA6.js → useResolveDateRangePreset-k_h_XJBG.js} +1 -1
- package/dist/{useScrollableListBox-C8chM7c-.js → useScrollableListBox-4pieApqz.js} +1 -1
- package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
- package/dist/{useToast-D2C9pROU.d.ts → useToast-BHqkSByv.d.ts} +1 -1
- package/dist/{useToast-DSoOiSw0.js → useToast-DgqC6Ta_.js} +2 -2
- package/dist/utils/logger.js +1 -1
- package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
- package/llms.txt +89 -4
- package/package.json +13 -1
- package/dist/TimePickerForm-BMqNpDPT.js +0 -225
- package/dist/form-field-Bw7U_ZPI.d.ts +0 -1
- package/dist/tanstack-ABeiJISz.js +0 -10
- package/dist/uiConfig.types-B0sPL7nN.d.ts +0 -132
- package/dist/useTableColumnConfig-B9cYBKo3.js +0 -2327
- package/dist/useTableNav-rP1wDkhV.d.ts +0 -372
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { t as DragHandleButton } from "./TableDragHandle-CXApnuUm.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
6
|
+
import { SortableContext, sortableKeyboardCoordinates, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
7
|
+
import { CSS } from "@dnd-kit/utilities";
|
|
8
|
+
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
9
|
+
//#region src/components/table/TableDnd.tsx
|
|
10
|
+
const DndProvider = (t0) => {
|
|
11
|
+
const $ = c(8);
|
|
12
|
+
const { children, onDragEnd, onDragStart, onDragCancel } = t0;
|
|
13
|
+
let t1;
|
|
14
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
15
|
+
t1 = { coordinateGetter: sortableKeyboardCoordinates };
|
|
16
|
+
$[0] = t1;
|
|
17
|
+
} else t1 = $[0];
|
|
18
|
+
const sensors = useSensors(useSensor(MouseSensor), useSensor(TouchSensor), useSensor(KeyboardSensor, t1));
|
|
19
|
+
let t2;
|
|
20
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
21
|
+
t2 = [restrictToVerticalAxis];
|
|
22
|
+
$[1] = t2;
|
|
23
|
+
} else t2 = $[1];
|
|
24
|
+
let t3;
|
|
25
|
+
if ($[2] !== children || $[3] !== onDragCancel || $[4] !== onDragEnd || $[5] !== onDragStart || $[6] !== sensors) {
|
|
26
|
+
t3 = /* @__PURE__ */ jsx(DndContext, {
|
|
27
|
+
collisionDetection: closestCenter,
|
|
28
|
+
modifiers: t2,
|
|
29
|
+
onDragStart,
|
|
30
|
+
onDragEnd,
|
|
31
|
+
onDragCancel,
|
|
32
|
+
sensors,
|
|
33
|
+
children
|
|
34
|
+
});
|
|
35
|
+
$[2] = children;
|
|
36
|
+
$[3] = onDragCancel;
|
|
37
|
+
$[4] = onDragEnd;
|
|
38
|
+
$[5] = onDragStart;
|
|
39
|
+
$[6] = sensors;
|
|
40
|
+
$[7] = t3;
|
|
41
|
+
} else t3 = $[7];
|
|
42
|
+
return t3;
|
|
43
|
+
};
|
|
44
|
+
const SortableRows = (t0) => {
|
|
45
|
+
const $ = c(3);
|
|
46
|
+
const { children, items } = t0;
|
|
47
|
+
let t1;
|
|
48
|
+
if ($[0] !== children || $[1] !== items) {
|
|
49
|
+
t1 = /* @__PURE__ */ jsx(SortableContext, {
|
|
50
|
+
items,
|
|
51
|
+
strategy: verticalListSortingStrategy,
|
|
52
|
+
children
|
|
53
|
+
});
|
|
54
|
+
$[0] = children;
|
|
55
|
+
$[1] = items;
|
|
56
|
+
$[2] = t1;
|
|
57
|
+
} else t1 = $[2];
|
|
58
|
+
return t1;
|
|
59
|
+
};
|
|
60
|
+
const SortableRowHandleContext = createContext(null);
|
|
61
|
+
/** Registers a row with the sortable context and hands the drag styling to the element it renders. */
|
|
62
|
+
const SortableRow = (t0) => {
|
|
63
|
+
const $ = c(22);
|
|
64
|
+
const { id, translateOnly: t1, children } = t0;
|
|
65
|
+
const translateOnly = t1 === void 0 ? false : t1;
|
|
66
|
+
let t2;
|
|
67
|
+
if ($[0] !== id) {
|
|
68
|
+
t2 = { id };
|
|
69
|
+
$[0] = id;
|
|
70
|
+
$[1] = t2;
|
|
71
|
+
} else t2 = $[1];
|
|
72
|
+
const { transform, transition, setNodeRef, isDragging, attributes, listeners } = useSortable(t2);
|
|
73
|
+
let t3;
|
|
74
|
+
if ($[2] !== attributes || $[3] !== listeners) {
|
|
75
|
+
t3 = {
|
|
76
|
+
attributes,
|
|
77
|
+
listeners
|
|
78
|
+
};
|
|
79
|
+
$[2] = attributes;
|
|
80
|
+
$[3] = listeners;
|
|
81
|
+
$[4] = t3;
|
|
82
|
+
} else t3 = $[4];
|
|
83
|
+
const dragHandleProps = t3;
|
|
84
|
+
let t4;
|
|
85
|
+
if ($[5] !== attributes || $[6] !== children || $[7] !== dragHandleProps || $[8] !== id || $[9] !== isDragging || $[10] !== listeners || $[11] !== setNodeRef || $[12] !== transform || $[13] !== transition || $[14] !== translateOnly) {
|
|
86
|
+
const style = {
|
|
87
|
+
transform: translateOnly ? CSS.Translate.toString(transform) : CSS.Transform.toString(transform),
|
|
88
|
+
transition,
|
|
89
|
+
opacity: isDragging ? .8 : 1,
|
|
90
|
+
zIndex: isDragging ? 1 : 0,
|
|
91
|
+
position: "relative"
|
|
92
|
+
};
|
|
93
|
+
let t5;
|
|
94
|
+
if ($[16] !== attributes || $[17] !== listeners) {
|
|
95
|
+
t5 = {
|
|
96
|
+
...attributes,
|
|
97
|
+
...listeners
|
|
98
|
+
};
|
|
99
|
+
$[16] = attributes;
|
|
100
|
+
$[17] = listeners;
|
|
101
|
+
$[18] = t5;
|
|
102
|
+
} else t5 = $[18];
|
|
103
|
+
let t6;
|
|
104
|
+
if ($[19] !== id || $[20] !== t5) {
|
|
105
|
+
t6 = {
|
|
106
|
+
id,
|
|
107
|
+
props: t5
|
|
108
|
+
};
|
|
109
|
+
$[19] = id;
|
|
110
|
+
$[20] = t5;
|
|
111
|
+
$[21] = t6;
|
|
112
|
+
} else t6 = $[21];
|
|
113
|
+
t4 = /* @__PURE__ */ jsx(SortableRowHandleContext, {
|
|
114
|
+
value: t6,
|
|
115
|
+
children: children({
|
|
116
|
+
setNodeRef,
|
|
117
|
+
style,
|
|
118
|
+
isDragging,
|
|
119
|
+
dragHandleProps
|
|
120
|
+
})
|
|
121
|
+
});
|
|
122
|
+
$[5] = attributes;
|
|
123
|
+
$[6] = children;
|
|
124
|
+
$[7] = dragHandleProps;
|
|
125
|
+
$[8] = id;
|
|
126
|
+
$[9] = isDragging;
|
|
127
|
+
$[10] = listeners;
|
|
128
|
+
$[11] = setNodeRef;
|
|
129
|
+
$[12] = transform;
|
|
130
|
+
$[13] = transition;
|
|
131
|
+
$[14] = translateOnly;
|
|
132
|
+
$[15] = t4;
|
|
133
|
+
} else t4 = $[15];
|
|
134
|
+
return t4;
|
|
135
|
+
};
|
|
136
|
+
const SortableItem = (t0) => {
|
|
137
|
+
const $ = c(10);
|
|
138
|
+
const { id, children } = t0;
|
|
139
|
+
let t1;
|
|
140
|
+
if ($[0] !== id) {
|
|
141
|
+
t1 = { id };
|
|
142
|
+
$[0] = id;
|
|
143
|
+
$[1] = t1;
|
|
144
|
+
} else t1 = $[1];
|
|
145
|
+
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable(t1);
|
|
146
|
+
let t2;
|
|
147
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== isDragging || $[5] !== listeners || $[6] !== setNodeRef || $[7] !== transform || $[8] !== transition) {
|
|
148
|
+
t2 = children({
|
|
149
|
+
ref: setNodeRef,
|
|
150
|
+
style: {
|
|
151
|
+
transform: CSS.Transform.toString(transform),
|
|
152
|
+
transition,
|
|
153
|
+
zIndex: isDragging ? 1 : 0,
|
|
154
|
+
position: "relative"
|
|
155
|
+
},
|
|
156
|
+
isDragging,
|
|
157
|
+
handleProps: {
|
|
158
|
+
...attributes,
|
|
159
|
+
...listeners
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
$[2] = attributes;
|
|
163
|
+
$[3] = children;
|
|
164
|
+
$[4] = isDragging;
|
|
165
|
+
$[5] = listeners;
|
|
166
|
+
$[6] = setNodeRef;
|
|
167
|
+
$[7] = transform;
|
|
168
|
+
$[8] = transition;
|
|
169
|
+
$[9] = t2;
|
|
170
|
+
} else t2 = $[9];
|
|
171
|
+
return t2;
|
|
172
|
+
};
|
|
173
|
+
const RegisteredDragHandle = (t0) => {
|
|
174
|
+
const $ = c(6);
|
|
175
|
+
const { id, children } = t0;
|
|
176
|
+
let t1;
|
|
177
|
+
if ($[0] !== id) {
|
|
178
|
+
t1 = { id };
|
|
179
|
+
$[0] = id;
|
|
180
|
+
$[1] = t1;
|
|
181
|
+
} else t1 = $[1];
|
|
182
|
+
const { attributes, listeners } = useSortable(t1);
|
|
183
|
+
let t2;
|
|
184
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== listeners) {
|
|
185
|
+
t2 = children({
|
|
186
|
+
...attributes,
|
|
187
|
+
...listeners
|
|
188
|
+
});
|
|
189
|
+
$[2] = attributes;
|
|
190
|
+
$[3] = children;
|
|
191
|
+
$[4] = listeners;
|
|
192
|
+
$[5] = t2;
|
|
193
|
+
} else t2 = $[5];
|
|
194
|
+
return t2;
|
|
195
|
+
};
|
|
196
|
+
const DragHandle = (t0) => {
|
|
197
|
+
const $ = c(4);
|
|
198
|
+
const { id, children } = t0;
|
|
199
|
+
const row = useContext(SortableRowHandleContext);
|
|
200
|
+
let t1;
|
|
201
|
+
if ($[0] !== children || $[1] !== id || $[2] !== row) {
|
|
202
|
+
t1 = row?.id === id ? children(row.props) : /* @__PURE__ */ jsx(RegisteredDragHandle, {
|
|
203
|
+
id,
|
|
204
|
+
children
|
|
205
|
+
});
|
|
206
|
+
$[0] = children;
|
|
207
|
+
$[1] = id;
|
|
208
|
+
$[2] = row;
|
|
209
|
+
$[3] = t1;
|
|
210
|
+
} else t1 = $[3];
|
|
211
|
+
return t1;
|
|
212
|
+
};
|
|
213
|
+
const RowDragHandle = (t0) => {
|
|
214
|
+
const $ = c(5);
|
|
215
|
+
const { rowId, label } = t0;
|
|
216
|
+
let t1;
|
|
217
|
+
if ($[0] !== label) {
|
|
218
|
+
t1 = (dragProps) => /* @__PURE__ */ jsx(DragHandleButton, {
|
|
219
|
+
label,
|
|
220
|
+
handleProps: dragProps
|
|
221
|
+
});
|
|
222
|
+
$[0] = label;
|
|
223
|
+
$[1] = t1;
|
|
224
|
+
} else t1 = $[1];
|
|
225
|
+
let t2;
|
|
226
|
+
if ($[2] !== rowId || $[3] !== t1) {
|
|
227
|
+
t2 = /* @__PURE__ */ jsx(DragHandle, {
|
|
228
|
+
id: rowId,
|
|
229
|
+
children: t1
|
|
230
|
+
});
|
|
231
|
+
$[2] = rowId;
|
|
232
|
+
$[3] = t1;
|
|
233
|
+
$[4] = t2;
|
|
234
|
+
} else t2 = $[4];
|
|
235
|
+
return t2;
|
|
236
|
+
};
|
|
237
|
+
//#endregion
|
|
238
|
+
export { DndProvider, DragHandle, RowDragHandle, SortableItem, SortableRow, SortableRows };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
+
import { t as IconSlot } from "./IconSlot-TAWTJ6iK.js";
|
|
3
|
+
import { t as UIConfig } from "./uiConfig.context-NWmBJ2Hc.js";
|
|
4
|
+
import { s as tableDragHandleDefinition } from "./table.cva-n9TO_vu1.js";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { GripVertical } from "lucide-react";
|
|
8
|
+
//#region src/components/table/TableDragHandle.tsx
|
|
9
|
+
/** The drag handle button. Its icon and size follow `table.dragHandleIcon` and `table.dragHandleSize` from `UIConfig`. */
|
|
10
|
+
const DragHandleButton = (t0) => {
|
|
11
|
+
const $ = c(11);
|
|
12
|
+
const { label, className, handleProps } = t0;
|
|
13
|
+
const dragHandleCva = UIOverrides.useCva("table.dragHandleCva", tableDragHandleDefinition);
|
|
14
|
+
const { dragHandleIcon, dragHandleSize } = UIConfig.useConfig().table;
|
|
15
|
+
let t1;
|
|
16
|
+
if ($[0] !== className || $[1] !== dragHandleCva || $[2] !== dragHandleSize) {
|
|
17
|
+
t1 = dragHandleCva({
|
|
18
|
+
size: dragHandleSize,
|
|
19
|
+
className
|
|
20
|
+
});
|
|
21
|
+
$[0] = className;
|
|
22
|
+
$[1] = dragHandleCva;
|
|
23
|
+
$[2] = dragHandleSize;
|
|
24
|
+
$[3] = t1;
|
|
25
|
+
} else t1 = $[3];
|
|
26
|
+
const t2 = dragHandleIcon ?? GripVertical;
|
|
27
|
+
let t3;
|
|
28
|
+
if ($[4] !== t2) {
|
|
29
|
+
t3 = /* @__PURE__ */ jsx(IconSlot, { icon: t2 });
|
|
30
|
+
$[4] = t2;
|
|
31
|
+
$[5] = t3;
|
|
32
|
+
} else t3 = $[5];
|
|
33
|
+
let t4;
|
|
34
|
+
if ($[6] !== handleProps || $[7] !== label || $[8] !== t1 || $[9] !== t3) {
|
|
35
|
+
t4 = /* @__PURE__ */ jsx("button", {
|
|
36
|
+
...handleProps,
|
|
37
|
+
type: "button",
|
|
38
|
+
"aria-label": label,
|
|
39
|
+
className: t1,
|
|
40
|
+
children: t3
|
|
41
|
+
});
|
|
42
|
+
$[6] = handleProps;
|
|
43
|
+
$[7] = label;
|
|
44
|
+
$[8] = t1;
|
|
45
|
+
$[9] = t3;
|
|
46
|
+
$[10] = t4;
|
|
47
|
+
} else t4 = $[10];
|
|
48
|
+
return t4;
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { DragHandleButton as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
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 $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-
|
|
4
|
-
import { t as $91fe5e721c7f36c1$export$17f80983afe4e444 } from "./SelectionIndicator-
|
|
5
|
-
import "./i18n-
|
|
3
|
+
import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-BkyYit3Q.js";
|
|
4
|
+
import { t as $91fe5e721c7f36c1$export$17f80983afe4e444 } from "./SelectionIndicator-CvuKjZRP.js";
|
|
5
|
+
import "./i18n-DaIHnR2n.js";
|
|
6
6
|
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-C1Jv1Plk.js";
|
|
8
8
|
import { Link } from "./components/link.js";
|
|
9
9
|
import { Badge } from "./components/badge.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
2
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
2
|
+
import { n as LinkNavigationProps } from "./Link-HJ4y-xiW.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/components/navigation/TabsFilters/TabsFilters.d.ts
|
|
5
5
|
interface ListTab {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as TagVariantProps } from "./link.cva-
|
|
1
|
+
import { o as TagVariantProps } from "./link.cva-ZhpQz3P0.js";
|
|
2
2
|
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
3
|
-
import { n as TypographyProps } from "./Typography-
|
|
3
|
+
import { n as TypographyProps } from "./Typography-auHWN282.js";
|
|
4
4
|
import { Ref } from "react";
|
|
5
5
|
import { ButtonProps } from "react-aria-components";
|
|
6
6
|
//#region src/components/text/Tag/Tag.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext } from "react";
|
|
2
2
|
import "react-aria/private/collections/Hidden";
|
|
3
|
-
//#region ../../node_modules/.bun/react-aria-components@1.22.1+
|
|
3
|
+
//#region ../../node_modules/.bun/react-aria-components@1.22.1+6f4b9a1cfb20c0ae/node_modules/react-aria-components/dist/private/Text.mjs
|
|
4
4
|
const $efe09c6d1c304b50$export$9afb8bc826b033ea = /*#__PURE__*/ createContext({});
|
|
5
5
|
//#endregion
|
|
6
6
|
export { $efe09c6d1c304b50$export$9afb8bc826b033ea as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { an as InputVariantProps } from "./link.cva-
|
|
1
|
+
import { an as InputVariantProps } from "./link.cva-ZhpQz3P0.js";
|
|
2
2
|
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
3
|
-
import { r as FormFieldProps } from "./FormField-
|
|
3
|
+
import { r as FormFieldProps } from "./FormField-BgiWLGjf.js";
|
|
4
4
|
import { i as FieldValues } from "./form.binding-DSXB2AOD.js";
|
|
5
5
|
import { n as UnsupportedAriaFieldProps, t as FormControlProps } from "./form.types-a2WVJDQX.js";
|
|
6
6
|
import { Ref } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-
|
|
4
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
3
|
+
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-Q5Oc6oX2.js";
|
|
4
|
+
import { t as UIConfig } from "./uiConfig.context-NWmBJ2Hc.js";
|
|
5
5
|
import { n as FieldController } from "./form.binding-Brdjq2yr.js";
|
|
6
6
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
7
7
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
8
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
8
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-DOZ7eXjA.js";
|
|
9
9
|
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-mm1dnfKP.js";
|
|
10
10
|
import { n as resolveInputLayout, t as isFieldHeaderHiddenByLayout } from "./inputLayout-CIVpuUBq.js";
|
|
11
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
11
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-bvNpM6ku.js";
|
|
12
12
|
import { t as useAutoFocus } from "./useAutoFocus-K-bfNxa2.js";
|
|
13
13
|
import { t as textAreaWrapperDefinition } from "./TextArea.cva-ENXI55ec.js";
|
|
14
14
|
import $ahdqC$react, { createContext, forwardRef, memo, useRef, useState } from "react";
|
|
@@ -17,7 +17,7 @@ import { mergeProps } from "react-aria/mergeProps";
|
|
|
17
17
|
import { useFocusRing } from "react-aria/useFocusRing";
|
|
18
18
|
import { useHover } from "react-aria/useHover";
|
|
19
19
|
import { useTextField } from "@react-aria/textfield";
|
|
20
|
-
//#region ../../node_modules/.bun/react-aria-components@1.22.1+
|
|
20
|
+
//#region ../../node_modules/.bun/react-aria-components@1.22.1+6f4b9a1cfb20c0ae/node_modules/react-aria-components/dist/private/TextArea.mjs
|
|
21
21
|
const $bd263d78e9bf3c56$export$2dc6166a7e65358c = /*#__PURE__*/ createContext({});
|
|
22
22
|
let $bd263d78e9bf3c56$var$filterHoverProps = (props) => {
|
|
23
23
|
let { onHoverStart, onHoverChange, onHoverEnd, ...otherProps } = props;
|
|
@@ -151,7 +151,7 @@ const TextAreaBase = (props) => {
|
|
|
151
151
|
variant,
|
|
152
152
|
size,
|
|
153
153
|
as,
|
|
154
|
-
className: clsx("block h-full min-h-8", as !== "inline" && "[textarea&]:rounded-[min(var(--radius-
|
|
154
|
+
className: clsx("block h-full min-h-8", as !== "inline" && "[textarea&]:rounded-[min(var(--radius-md),1rem)]", inputClassName)
|
|
155
155
|
}),
|
|
156
156
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, textAreaRef)
|
|
157
157
|
}),
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-
|
|
3
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-DF6sbTuF.js";
|
|
4
4
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
5
|
-
import "./i18n-
|
|
6
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
5
|
+
import "./i18n-DaIHnR2n.js";
|
|
6
|
+
import { t as UIConfig } from "./uiConfig.context-NWmBJ2Hc.js";
|
|
7
7
|
import { IconButton } from "./components/icon-button.js";
|
|
8
8
|
import { n as FieldController } from "./form.binding-Brdjq2yr.js";
|
|
9
9
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
10
10
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
11
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
11
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-DOZ7eXjA.js";
|
|
12
12
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-mm1dnfKP.js";
|
|
13
13
|
import { n as resolveInputLayout, t as isFieldHeaderHiddenByLayout } from "./inputLayout-CIVpuUBq.js";
|
|
14
|
-
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-
|
|
15
|
-
import { a as getStaticTimeSegments,
|
|
14
|
+
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-C1-Mt2i0.js";
|
|
15
|
+
import { T as $8e7461aabf74661f$export$60e84778edff6d26, a as getStaticTimeSegments, d as useFirefoxDateSegmentSelectionGuard, f as DateSegmentItem, i as getStaticDateTimeFocusTarget, l as parseIsoDate, o as DateTimeDialogFooter, s as DateTimeDialog, u as parsePickerValue } from "./staticDateTimeSegments-BgUrcqXD.js";
|
|
16
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
17
17
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
18
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
18
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-bvNpM6ku.js";
|
|
19
19
|
import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
20
20
|
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
21
21
|
import { n as shouldRenderInputOnMount, r as useStaticInputHandoff } from "./useStaticInputHandoff-DrNFrvD7.js";
|
|
22
22
|
import { InputFrame } from "./components/input-frame.js";
|
|
23
|
-
import { t as TimePickerForm } from "./TimePickerForm-
|
|
23
|
+
import { t as TimePickerForm } from "./TimePickerForm-CaIHR0PV.js";
|
|
24
24
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
26
|
import { GregorianCalendar, Time, getLocalTimeZone, now, parseTime, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
27
27
|
import { useTranslation } from "react-i18next";
|
|
28
28
|
import { useLocale, useTimeField } from "react-aria";
|
|
29
29
|
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
30
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+
|
|
30
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+62547eec5a2188e3/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.mjs
|
|
31
31
|
function $b822555cf9fe955c$export$fd53cef0cc796101(props) {
|
|
32
32
|
let { placeholderValue = new Time(), minValue, maxValue, defaultValue, granularity, validate } = props;
|
|
33
33
|
let [value, setValue] = $3e6197669829fe11$export$40bfa8c7b0832715(props.value, defaultValue ?? null, props.onChange);
|
|
@@ -223,6 +223,7 @@ const TimePickerBase = (props) => {
|
|
|
223
223
|
const normalizedValue = value ?? null;
|
|
224
224
|
const dialogState = $b822555cf9fe955c$export$fd53cef0cc796101({
|
|
225
225
|
...rest,
|
|
226
|
+
validationBehavior: "aria",
|
|
226
227
|
defaultValue: normalizedValue ?? rest.defaultValue ?? null,
|
|
227
228
|
locale,
|
|
228
229
|
shouldForceLeadingZeros
|
|
@@ -270,6 +271,7 @@ const TimePickerBase = (props) => {
|
|
|
270
271
|
labelProps
|
|
271
272
|
};
|
|
272
273
|
const onApply = () => {
|
|
274
|
+
if (isDisabled || rest.isReadOnly || dialogState.isInvalid) return;
|
|
273
275
|
const newValue = dialogState.value;
|
|
274
276
|
state.setValue(newValue);
|
|
275
277
|
onValueCommit?.();
|
|
@@ -277,10 +279,17 @@ const TimePickerBase = (props) => {
|
|
|
277
279
|
};
|
|
278
280
|
const onOpenChange = (open) => {
|
|
279
281
|
setIsOpen(open);
|
|
280
|
-
if (
|
|
282
|
+
if (open) syncDialog();
|
|
283
|
+
};
|
|
284
|
+
const syncDialog = () => {
|
|
285
|
+
const zone = rest.timeZone && rest.timeZone !== "clientLocal" ? rest.timeZone : getLocalTimeZone();
|
|
286
|
+
dialogState.setValue(state.value ?? now(zone).set({
|
|
287
|
+
second: 0,
|
|
288
|
+
millisecond: 0
|
|
289
|
+
}));
|
|
281
290
|
};
|
|
282
291
|
const onOpen = () => {
|
|
283
|
-
|
|
292
|
+
syncDialog();
|
|
284
293
|
setIsOpen(true);
|
|
285
294
|
};
|
|
286
295
|
const onInputClear = () => {
|
|
@@ -329,7 +338,7 @@ const TimePickerBase = (props) => {
|
|
|
329
338
|
onClear: onInputClear
|
|
330
339
|
}), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(DateTimeDialog, {
|
|
331
340
|
footer: /* @__PURE__ */ jsx(DateTimeDialogFooter, {
|
|
332
|
-
isDisabled,
|
|
341
|
+
isDisabled: isDisabled || rest.isReadOnly,
|
|
333
342
|
onApply,
|
|
334
343
|
isValid: !dialogState.isInvalid && !!dialogState.value
|
|
335
344
|
}),
|
|
@@ -337,7 +346,12 @@ const TimePickerBase = (props) => {
|
|
|
337
346
|
triggerRef: timeFieldRef,
|
|
338
347
|
isOpen: isOpen && !rest.isReadOnly,
|
|
339
348
|
onOpenChange,
|
|
340
|
-
children: /* @__PURE__ */ jsx(TimePickerForm, {
|
|
349
|
+
children: /* @__PURE__ */ jsx(TimePickerForm, {
|
|
350
|
+
state: dialogState,
|
|
351
|
+
shouldForceLeadingZeros,
|
|
352
|
+
isDisabled,
|
|
353
|
+
isReadOnly: rest.isReadOnly
|
|
354
|
+
})
|
|
341
355
|
})]
|
|
342
356
|
})
|
|
343
357
|
});
|
|
@@ -441,6 +455,7 @@ const TimePickerInner = ({ defaultValue: _defaultValue, minValue, maxValue, rend
|
|
|
441
455
|
}
|
|
442
456
|
return /* @__PURE__ */ jsx(TimePickerBase, {
|
|
443
457
|
...props,
|
|
458
|
+
timeZone: effectiveTimeZone,
|
|
444
459
|
minValue: parseTimeLimit(minValue),
|
|
445
460
|
maxValue: parseTimeLimit(maxValue),
|
|
446
461
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, inputRef),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { an as InputVariantProps } from "./link.cva-
|
|
1
|
+
import { an as InputVariantProps } from "./link.cva-ZhpQz3P0.js";
|
|
2
2
|
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
3
|
-
import { r as FormFieldProps } from "./FormField-
|
|
3
|
+
import { r as FormFieldProps } from "./FormField-BgiWLGjf.js";
|
|
4
4
|
import { i as FieldValues } from "./form.binding-DSXB2AOD.js";
|
|
5
5
|
import { n as UnsupportedAriaFieldProps, t as FormControlProps } from "./form.types-a2WVJDQX.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
@@ -16,6 +16,7 @@ interface TimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<Ar
|
|
|
16
16
|
* Once the editable input is mounted, changing this prop re-emits the current time with the new anchor.
|
|
17
17
|
*/
|
|
18
18
|
date?: string | null;
|
|
19
|
+
timeZone?: string;
|
|
19
20
|
/** Shows a clear button while the field has a value. Defaults to `UIConfig.input.isClearable`. */
|
|
20
21
|
isClearable?: boolean;
|
|
21
22
|
/** Keeps the clear button while the field is disabled. */
|