@povio/ui 4.0.3 → 5.0.0-rc.10
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/.rulesync/rules/ui-buttons-and-content.md +56 -0
- package/.rulesync/rules/ui-inputs-and-forms.md +62 -0
- package/.rulesync/rules/ui-overlays-navigation-and-styling.md +49 -0
- package/.rulesync/rules/ui-overview.md +33 -0
- package/README.md +128 -10
- package/dist/{Accordion-CB1F5YAY.js → Accordion-BzwO4_ml.js} +22 -140
- package/dist/{Alert-BALBsBrP.js → Alert-CnvEb1D_.js} +34 -30
- package/dist/{Alert-CbEhRaU5.d.ts → Alert-DfiJbKH0.d.ts} +4 -3
- package/dist/{AlertDialog-PjYM6lDo.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
- package/dist/AppCanvasPage-BEER5hHp.js +2421 -0
- package/dist/AppCanvasPage-BIFYeEeS.d.ts +80 -0
- package/dist/{Autocomplete-DE2lQi5o.d.ts → Autocomplete-C6RRxImn.d.ts} +1 -1
- package/dist/{Badge-CjPpYa50.d.ts → Badge-CBNpj823.d.ts} +8 -6
- package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
- package/dist/{BottomSheet-CVTF1wQe.js → BottomSheet-BXLE3161.js} +15 -14
- package/dist/{BottomSheet-CT0zuola.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-7AwnB4vS.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
- package/dist/{Breadcrumbs-D-3YEuem.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
- package/dist/{Breadcrumbs-C-mZtdCc.js → Breadcrumbs-FF8hMfXd.js} +26 -42
- package/dist/Button-C5rv4Cr2.js +506 -0
- package/dist/{Button-DTNjsGx5.d.ts → Button-D-4qb0IR.d.ts} +3 -3
- package/dist/{ButtonContent-CohuJJzG.js → ButtonContent-c7lJayVQ.js} +12 -10
- package/dist/{Calendar-BYcN64W5.js → Calendar-DRHruqr_.js} +28 -20
- package/dist/{CheckContent-DzWpxKGq.js → CheckContent-D7sZPmzx.js} +4 -5
- package/dist/{Checkbox-DBV_Nxtq.js → Checkbox-D3f2Plbc.js} +6 -6
- package/dist/{Checkbox-CBybJbLm.d.ts → Checkbox-x2MuL477.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-DJue5Aej.js → CheckboxCheckmark-FwKjPVbV.js} +34 -55
- package/dist/{CheckboxGroup-4xoWgmxr.d.ts → CheckboxGroup-Dio2rvF5.d.ts} +3 -3
- package/dist/ComponentGallery-CMFrbwEN.js +3513 -0
- package/dist/{DatePicker-CjmXaZ9T.d.ts → DatePicker-1LJ2LqST.d.ts} +3 -3
- package/dist/{DatePicker-DGlMtlvy.js → DatePicker-xDEqzNJv.js} +12 -11
- package/dist/{DatePickerInput-Nj_rVUyU.js → DatePickerInput-B0fEeCOf.js} +27 -40
- package/dist/{DatePickerInput-CdCtVE9z.d.ts → DatePickerInput-ai4apf8B.d.ts} +3 -3
- package/dist/{DateRangePicker-D1kjkFfS.d.ts → DateRangePicker-Dfptit_Z.d.ts} +3 -3
- package/dist/{DateRangePicker-CE9XvAy9.js → DateRangePicker-DxuVhRaf.js} +25 -22
- package/dist/{DateTimePicker-CtUPjVp1.js → DateTimePicker-4N1Pka07.js} +11 -10
- package/dist/{DateTimePicker-CT_Pm3KB.d.ts → DateTimePicker-DpsfukpQ.d.ts} +3 -3
- package/dist/{Dialog-BE9BSDDl.js → Dialog-9manOgMA.js} +4 -4
- package/dist/{Dialog-CXoVeIkU.js → Dialog-CKLkS00H.js} +10 -2
- package/dist/{Dialog-DEbI_9S-.d.ts → Dialog-CW93T9X1.d.ts} +3 -2
- package/dist/{DropdownMenu-tuf1W-IL.js → DropdownMenu-5jmtgLXd.js} +8 -6
- package/dist/{DropdownMenu-CZQRzOBb.d.ts → DropdownMenu-JNpYT4-3.d.ts} +4 -3
- package/dist/{DropdownMenuDesktop-C9ttysuk.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
- package/dist/{FileInput-BUs7wL0_.js → FileInput-DUyc_sVu.js} +20 -22
- package/dist/{FileInput-CI8D_wf_.d.ts → FileInput-Dt3UDg2s.d.ts} +7 -6
- package/dist/{FileTrigger-CDXcQthK.js → FileTrigger-Cthk5_Wp.js} +1 -30
- package/dist/{FileUpload-BrnJdN3M.d.ts → FileUpload-BXlKtQ4L.d.ts} +1 -1
- package/dist/{FileUpload-C3HzeFeb.js → FileUpload-Cx98L1jz.js} +76 -173
- package/dist/{FileUploadContainer-CkBENy6n.d.ts → FileUploadContainer-BURZAS2M.d.ts} +1 -1
- package/dist/{Form-mzpVGNjX.d.ts → Form-DmcByQts.d.ts} +1 -1
- package/dist/{FormField-DTO2cbXC.js → FormField-9h3JAhaY.js} +40 -38
- package/dist/{FormField-DTDj3F0A.d.ts → FormField-C8_T6by9.d.ts} +1 -1
- package/dist/{FormFieldError-CFg0Wn3i.js → FormFieldError-DeOHHLo2.js} +3 -3
- package/dist/FormFieldHeaderTooltip-BV2Ju4oB.js +17 -0
- package/dist/{IconButton-CYazzM7I.d.ts → IconButton-D4thBurp.d.ts} +2 -2
- package/dist/IconSlot-DSK7qNxc.js +79 -0
- package/dist/{InlineIconButton-Rp5bXWcQ.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-Ct6zi24f.js → InlineTooltipWrapper-BpApaGXV.js} +3 -3
- package/dist/{Input-DSHFNEVl.d.ts → Input-CHD67H4o.d.ts} +3 -3
- package/dist/{InputContent-CvWm6GAv.d.ts → InputContent-B6CIQNnE.d.ts} +3 -3
- package/dist/{InputItem-DAunP0iy.js → InputItem-Cv19Hwnx.js} +11 -11
- package/dist/{Inputs-CHEDcuP0.d.ts → Inputs-C0sUmuPv.d.ts} +1 -1
- package/dist/{Inputs-_IqA6JRE.js → Inputs-D1aE_J9f.js} +1 -1
- package/dist/{Link-DS9-0Ijl.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
- package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
- package/dist/{MenuItem-CROWrE2A.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
- package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
- package/dist/{NumberField-BICDQ2gN.d.ts → NumberField-4SX3R6IR.d.ts} +3 -3
- package/dist/{NumberRangeInput-Bu-3Y0zf.js → NumberRangeInput-Bzfe-RlV.js} +8 -8
- package/dist/{NumberRangeInput-BlGXChNR.d.ts → NumberRangeInput-CKmLfgVD.d.ts} +2 -2
- package/dist/{Pagination-CumQED8X.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
- package/dist/{PaginationList-D79ApWLm.d.ts → PaginationList-DMRUGtf8.d.ts} +2 -2
- package/dist/{PaginationList-CmOJo2r2.js → PaginationList-DtvuP63b.js} +13 -21
- package/dist/{PasswordInput-BdrYD1D3.d.ts → PasswordInput-tLGcHS6H.d.ts} +1 -1
- package/dist/{Popover-C0_-TLl_.d.ts → Popover-BTHPteIh.d.ts} +2 -2
- package/dist/{Progress-_jkt2pQw.js → Progress-B3mY9rIP.js} +6 -7
- package/dist/{Progress-CYfDXJKs.d.ts → Progress-CjWOR38H.d.ts} +3 -2
- package/dist/{QuerySelect-Bpz-qI9h.d.ts → QuerySelect-CgfnA3d-.d.ts} +2 -2
- package/dist/{RadioGroup-WHWosz7K.d.ts → RadioGroup-CvmI9i_U.d.ts} +3 -3
- package/dist/{RadioGroup-DiF7ILto.js → RadioGroup-efBKgTYA.js} +21 -24
- package/dist/{RichTextEditor-eM9d2umr.js → RichTextEditor-Bd7F5D8f.js} +68 -141
- package/dist/{RichTextEditor-CbgjRfiU.d.ts → RichTextEditor-CsDZcgyf.d.ts} +1 -1
- package/dist/{Select-CyBtGHk9.js → Select-CgIhoWgk.js} +10 -15
- package/dist/{Select-wzB2aQ_X.d.ts → Select-DKBPfNUe.d.ts} +1 -1
- package/dist/{SelectBase-DefgAEzh.d.ts → SelectBase-BkIhS9Dg.d.ts} +3 -3
- package/dist/{Slider-CZMNmk6P.d.ts → Slider-BtUXzztJ.d.ts} +1 -1
- package/dist/{Slider-KkWtEm09.js → Slider-CMg0BXJO.js} +12 -12
- package/dist/{Spinner-owSXOEzg.js → Spinner-BeVTUzzx.js} +2 -2
- package/dist/{Spinner-BOgO9bS6.d.ts → Spinner-DbXeDOa2.d.ts} +3 -2
- package/dist/{SplitButton-BPZbQeYC.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
- package/dist/{Stepper-BbO9TlOM.js → Stepper-Cp5vbL5g.js} +9 -125
- package/dist/{Stepper-PcHlxDD5.d.ts → Stepper-TATlHZhQ.d.ts} +13 -12
- package/dist/{Switch-Cylpjatb.js → Switch-CqnGEdeD.js} +17 -25
- package/dist/{Switch-C0S5Juhf.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
- package/dist/Table-BN2_J_Ne.js +636 -0
- package/dist/Tag-AHfV_XSf.d.ts +44 -0
- package/dist/Tag-DPg5sL1Z.js +146 -0
- package/dist/{TextArea-CBWJ7w-p.d.ts → TextArea-D6kcAwGn.d.ts} +2 -2
- package/dist/{TextArea-DvqDGp4M.js → TextArea-uPffb457.js} +9 -9
- package/dist/{TextButton-D7e_YBLe.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
- package/dist/{TimePicker-WirUMDrH.js → TimePicker-DN-i98z5.js} +12 -12
- package/dist/{TimePicker-BZ4WrI5Z.d.ts → TimePicker-Dex9aU7D.d.ts} +2 -2
- package/dist/Toast-DtG3pA61.js +53 -0
- package/dist/{Toast-DIlYlUQk.d.ts → Toast-ruXqONDA.d.ts} +1 -1
- package/dist/{ToastContainer-8X5jGBe7.js → ToastContainer-qgpzMFD4.js} +4 -3
- package/dist/{ToggleButton-D4y2fLmN.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
- package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
- package/dist/{ToggleGroup-BK6Ka7WA.js → ToggleGroup-DmVPNWok.js} +27 -55
- package/dist/{Tooltip--PSxkQA3.js → Tooltip-CpG1nz7Y.js} +7 -49
- package/dist/{Tooltip-B-2AxyjP.d.ts → Tooltip-DHv6vAqW.d.ts} +10 -9
- package/dist/{TooltipWrapper-BVc_Aln-.js → TooltipWrapper-CDHFaUKZ.js} +5 -5
- package/dist/{Typography-AcUd9df8.js → Typography-LU4z2pR1.js} +2 -2
- package/dist/{Typography-BWmZd20e.d.ts → Typography-XljT9s02.d.ts} +1 -1
- package/dist/UIConfigurator-CTlq-hrG.js +6704 -0
- package/dist/accordion.cva-CL1bVscW.js +129 -0
- package/dist/{autocomplete-CaQSVRrw.d.ts → autocomplete-B-JuxTYN.d.ts} +2 -2
- package/dist/badgeButton.cva-B2bgCQP6.d.ts +41 -0
- package/dist/badgeButton.cva-CvN4CTx5.js +300 -0
- package/dist/breadcrumbs.cva-7zzdDhVR.js +27 -0
- package/dist/{button.cva-ChabF4Am.d.ts → button.cva-C7kEhgoA.d.ts} +15 -32
- package/dist/{buttonContent.cva-CP857foM.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
- package/dist/{checkbox-D8CPWRlM.d.ts → checkbox-CRP4QRfP.d.ts} +1 -1
- package/dist/{checkbox-group-BuPUA_Qj.d.ts → checkbox-group-BI_RwIJ4.d.ts} +1 -1
- package/dist/{checkbox.cva-DwnPS5df.d.ts → checkbox.cva-DBqfmYHY.d.ts} +6 -7
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +7 -7
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +6 -5
- package/dist/components/badge-button.d.ts +2 -0
- package/dist/components/{pill-button.js → badge-button.js} +13 -12
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +56 -40
- 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 +6 -6
- 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 +1 -1
- package/dist/components/date-range-picker.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 +4 -4
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- 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/icon-slot.d.ts +2 -0
- package/dist/components/icon-slot.js +2 -0
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +2 -2
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +7 -7
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +32 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +7 -7
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +36 -33
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +6 -5
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +10 -5
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +3 -3
- package/dist/components/radio-group.d.ts +1 -1
- 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/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +3 -3
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-button.js +1 -2
- 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 +2 -2
- 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.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/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/app-canvas-tanstack.d.ts +23 -0
- package/dist/config/app-canvas-tanstack.js +62 -0
- package/dist/config/app-canvas.d.ts +12 -0
- package/dist/config/app-canvas.js +2 -0
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-configurator-theme.d.ts +2 -0
- package/dist/config/ui-configurator-theme.js +2 -0
- package/dist/config/ui-configurator-vite.d.ts +10 -0
- package/dist/config/ui-configurator-vite.js +174 -0
- package/dist/config/ui-configurator.d.ts +15 -0
- package/dist/config/ui-configurator.js +3 -0
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/configuration.context-DP4p1cIe.d.ts +926 -0
- package/dist/{confirmation.context-fKfUTsLF.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
- package/dist/{date-picker-MXt02b7Z.d.ts → date-picker-BhIA01qs.d.ts} +1 -1
- package/dist/{date-range-picker-BjT0t21q.d.ts → date-range-picker-BsuZ2h_3.d.ts} +1 -1
- package/dist/{date-time-picker-CMmIuZtT.d.ts → date-time-picker-Bi-qW6vO.d.ts} +1 -1
- package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
- package/dist/{datePickerValue.utils-1z4mwZZs.js → datePickerValue.utils-QWR2q5Vv.js} +9 -11
- package/dist/{dialog.cva-5qNq9YfM.js → dialog.cva-COhDZaVl.js} +4 -4
- package/dist/{dist-C6GfeeEC.js → dist-CAdwxJbe.js} +1 -256
- package/dist/{dom.utils-D3mELNBA.js → dom.utils-D1AopHx9.js} +1 -1
- package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
- package/dist/{dynamicInputs-CQMTixlW.d.ts → dynamicInputs-DdcsSoYu.d.ts} +112 -111
- package/dist/{fieldAdapter-BYVPxvYi.js → fieldAdapter-DjYls12j.js} +1 -1
- package/dist/{file-input-D-46wS5j.d.ts → file-input-BTYsGgr7.d.ts} +1 -1
- package/dist/{file-upload-BG20Bhrn.d.ts → file-upload-CqGdt1Ue.d.ts} +2 -2
- package/dist/fileUpload.cva-ujmStxB1.js +42 -0
- package/dist/{fileUpload.types-xFzuCT_m.d.ts → fileUpload.types-rIGu4MgY.d.ts} +2 -2
- package/dist/iconSlot.cva-CnpFzAOR.d.ts +21 -0
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +2 -1
- package/dist/index.d.ts +87 -86
- package/dist/index.js +55 -44
- package/dist/info-iUmX3uDk.js +32 -0
- package/dist/{input-CKGPYwfB.d.ts → input-CqNMORk8.d.ts} +1 -1
- package/dist/{input.cva-ByFuAEIS.d.ts → input.cva-CQPV5gW7.d.ts} +6 -9
- package/dist/input.cva-CbMTwuQU.js +227 -0
- package/dist/{link.context-C5ZgwVM5.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
- package/dist/link.cva-DMTHZiJG.js +12 -0
- package/dist/{number-field-CyP6XgJh.d.ts → number-field-BcMnahI8.d.ts} +1 -1
- package/dist/{number-range-input-DMmlk7Bl.d.ts → number-range-input-CLfuacKv.d.ts} +1 -1
- package/dist/{password-input-BWpfQe0G.d.ts → password-input-BV1Amdc8.d.ts} +1 -1
- package/dist/popover.cva-Bhud1wnp.js +5 -0
- package/dist/popoverAnimation-DEZSvKP8.js +4 -0
- package/dist/{query-autocomplete-DV8fEkK2.d.ts → query-autocomplete-CJSJeSXW.d.ts} +2 -2
- package/dist/{query-select-BZ3-5WTu.d.ts → query-select-B-VLz1PW.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-Dm8Ttx4v.d.ts → queryAutocomplete.types-D2w1_hau.d.ts} +2 -2
- package/dist/{radio-group-CmUtsjqP.d.ts → radio-group-DZZdQMub.d.ts} +1 -1
- package/dist/{radio.cva-DAq2M13H.d.ts → radio.cva-DN9VQ3Kb.d.ts} +4 -3
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/autocomplete.js +1 -1
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox-group.js +1 -1
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +2 -2
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +2 -2
- package/dist/rhf/file-input.d.ts +2 -2
- package/dist/rhf/file-input.js +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +2 -2
- package/dist/rhf/input.d.ts +2 -2
- package/dist/rhf/input.js +1 -1
- package/dist/rhf/inputs.d.ts +2 -2
- package/dist/rhf/number-field.d.ts +2 -2
- package/dist/rhf/number-field.js +1 -1
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +2 -2
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/password-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-autocomplete.js +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/query-select.js +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +2 -2
- package/dist/rhf/rich-text-editor.d.ts +2 -2
- package/dist/rhf/rich-text-editor.js +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +2 -2
- package/dist/rhf/switch.d.ts +2 -2
- package/dist/rhf/switch.js +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +2 -2
- package/dist/rhf/toggle-group.d.ts +2 -2
- package/dist/rhf/toggle-group.js +2 -2
- package/dist/{rhf-1_ZO8GhU.js → rhf-t348TCCL.js} +1 -1
- package/dist/rhf.d.ts +87 -86
- package/dist/rhf.js +55 -44
- package/dist/{rich-text-editor-Db3XWWFo.d.ts → rich-text-editor-Cp5dYHQI.d.ts} +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{select-DXGbGkZM.d.ts → select-FjDx5oe4.d.ts} +2 -2
- package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
- package/dist/{slider-JQh0ypfU.d.ts → slider-BVJiBswZ.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-vP2f1woD.js → staticDateTimeSegments-BWea3HAt.js} +34 -33
- package/dist/{staticSelect.utils-DOt6f-ck.js → staticSelect.utils-BfTCi26B.js} +41 -92
- package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
- package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
- package/dist/styles/app-canvas.css +740 -0
- package/dist/styles/color-utilities.css +20 -0
- package/dist/styles/configurator.css +3280 -0
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-Lm3xl1rQ.d.ts → switch-C--iWnY8.d.ts} +1 -1
- package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
- package/dist/table.cva-D5oQ-QvA.js +101 -0
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +1 -1
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +3 -3
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-field.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +1 -1
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +2 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +71 -70
- package/dist/tanstack.js +66 -53
- package/dist/{text-area-I5MNcGp_.d.ts → text-area-DhSVRB6X.d.ts} +1 -1
- package/dist/theme-model-DtYPxNvH.js +406 -0
- package/dist/theme-model-T1zIdBg8.d.ts +12 -0
- package/dist/{time-picker-DdhW8GmD.d.ts → time-picker-DhnDKh97.d.ts} +1 -1
- package/dist/{toast.cva-LU7TGprV.d.ts → toast.cva-By5lvAfr.d.ts} +10 -9
- package/dist/toast.cva-C_L_RffH.js +163 -0
- package/dist/{toast.runtime-QMYrNvoQ.js → toast.runtime-cxex9e4E.js} +2 -1
- package/dist/{toggle-group-CPkKHm1t.d.ts → toggle-group-C1nMDOwz.d.ts} +1 -1
- package/dist/toggleGroup.cva-MbpaEBg1.js +35 -0
- package/dist/{toggleGroup.types-DD6uRI5G.d.ts → toggleGroup.types-Bp43zbSQ.d.ts} +2 -1
- package/dist/tooltip.cva-BIzlOXHH.js +48 -0
- package/dist/{tooltipWrapper.cva-CUu8pI-a.js → tooltipWrapper.cva-BBQ4ic3D.js} +1 -1
- package/dist/typography.cva-D1JOEYl-.d.ts +36 -0
- package/dist/typography.cva-iD15k56p.js +51 -0
- package/dist/{uiConfig.context-RFvaQYzD.js → uiConfig.context-BS3r_kTS.js} +12 -21
- package/dist/{uiConfig.context-CIoMqe1_.d.ts → uiConfig.context-BqKWd_MO.d.ts} +11 -12
- package/dist/{uiOverrides.context-Bfm2n-n8.js → uiOverrides.context-BTCH9y5a.js} +2 -2
- package/dist/{uiOverrides.context-C3xb4Ttq.d.ts → uiOverrides.context-DEp139He.d.ts} +11 -44
- package/dist/underline-66hmELxa.js +81 -0
- package/dist/upload-CXU83BJ4.js +30 -0
- package/dist/{useBreakpoint-3kpqzjoC.js → useBreakpoint-DQoMN-BG.js} +1 -1
- package/dist/{useFieldAccessibility-BTs_WC_5.js → useFieldAccessibility-B-bjtrNw.js} +18 -12
- package/dist/{useFormAutosave-BRlM0nmq.js → useFormAutosave-pmh35PXp.js} +2 -2
- package/dist/{useStaticInputHandoff-_stbpoX4.js → useStaticInputHandoff-B7DEm75m.js} +18 -16
- package/dist/useTableColumnConfig-6zn3zKl3.js +892 -0
- package/dist/{useTableNav-Tu8UZxHA.d.ts → useTableNav-Ckj5PBRk.d.ts} +9 -8
- package/dist/{useToast-NBGlVeFP.d.ts → useToast-yreVCUer.d.ts} +1 -1
- package/package.json +54 -6
- package/rulesync.jsonc +11 -0
- package/scripts/generate-rules.mjs +34 -0
- package/src/configurator/README.md +77 -0
- package/dist/Button-CcZBqoQp.js +0 -761
- package/dist/FormFieldHeaderTooltip-h6e5hq9V.js +0 -45
- package/dist/Link-C5YsZ4pr.js +0 -42
- package/dist/PillButton-CihEPQye.d.ts +0 -15
- package/dist/Tag-CgPeLVXM.d.ts +0 -44
- package/dist/Tag-DNuHvt6J.js +0 -148
- package/dist/components/pill-button.d.ts +0 -2
- package/dist/input.cva-KYGD4Bdz.js +0 -324
- package/dist/pillButton.cva-6tjADUQ6.js +0 -265
- package/dist/pillButton.cva-BVsxGnqF.d.ts +0 -36
- package/dist/popover.cva-CXha_UMQ.js +0 -5
- package/dist/switch.cva-BIioyegR.d.ts +0 -15
- package/dist/typography.cva-BI0FyIqm.js +0 -129
- package/dist/typography.cva-YaO6JLqU.d.ts +0 -51
- package/dist/useTableColumnConfig-CiAr7Dbi.js +0 -1627
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-ai4apf8B.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { CalendarDate, DateValue } from "@internationalized/date";
|
|
8
8
|
import { DatePickerStateOptions } from "react-stately";
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { n as renderDatePickerTodayIcon,
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
|
+
import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-B0fEeCOf.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
6
6
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
7
|
-
import { t as FormField } from "./FormField-
|
|
8
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
9
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
10
|
-
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-
|
|
11
|
-
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-
|
|
12
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
7
|
+
import { t as FormField } from "./FormField-9h3JAhaY.js";
|
|
8
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-CDHFaUKZ.js";
|
|
9
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-B7DEm75m.js";
|
|
10
|
+
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-BWea3HAt.js";
|
|
11
|
+
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-DRHruqr_.js";
|
|
12
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-QWR2q5Vv.js";
|
|
13
13
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
14
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
14
15
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
15
|
-
import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
|
|
17
18
|
import { useDatePicker, useLocale } from "react-aria";
|
|
18
19
|
//#region src/components/inputs/DateTime/DatePicker/DatePicker.tsx
|
|
19
20
|
const DatePickerBase = (props) => {
|
|
@@ -240,7 +241,7 @@ const DatePickerBase = (props) => {
|
|
|
240
241
|
timeZone: effectiveTimeZone,
|
|
241
242
|
onClear: onInputClear,
|
|
242
243
|
onValueCommit
|
|
243
|
-
}), (!disableDropdown || disableManualEntry) &&
|
|
244
|
+
}), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(DateTimeDialog, {
|
|
244
245
|
footer: /* @__PURE__ */ jsx(DateTimeDialogFooter, {
|
|
245
246
|
isDisabled,
|
|
246
247
|
isValid: !dialogState.isInvalid && !!dialogState.value,
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
5
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
6
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
7
7
|
import { IconButton } from "./components/icon-button.js";
|
|
8
8
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
9
9
|
import { n as $a8ea2faf2ebe4d2f$re_export$mergeProps } from "./import-BE0r63d8.js";
|
|
10
|
-
import { r as FormFieldLabel } from "./FormField-
|
|
10
|
+
import { r as FormFieldLabel } from "./FormField-9h3JAhaY.js";
|
|
11
11
|
import "./i18n-CX2EjhJI.js";
|
|
12
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
13
|
-
import { n as InputClear } from "./TooltipWrapper-
|
|
14
|
-
import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-
|
|
12
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-CbMTwuQU.js";
|
|
13
|
+
import { n as InputClear } from "./TooltipWrapper-CDHFaUKZ.js";
|
|
14
|
+
import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-B7DEm75m.js";
|
|
15
15
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
|
|
16
|
-
import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-
|
|
16
|
+
import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-BWea3HAt.js";
|
|
17
17
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
18
18
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
19
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
19
20
|
import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
21
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
20
22
|
import { CalendarDate, CalendarDateTime, DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, getDayOfWeek, getLocalTimeZone, getWeeksInMonth, isEqualCalendar, isSameDay, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, today } from "@internationalized/date";
|
|
21
23
|
import "react-aria/I18nProvider";
|
|
22
24
|
import "react-aria/useNumberFormatter";
|
|
@@ -24,7 +26,6 @@ import "react-aria/useCollator";
|
|
|
24
26
|
import "react-aria/useLocalizedStringFormatter";
|
|
25
27
|
import "react-aria/useFilter";
|
|
26
28
|
import "react-aria/useListFormatter";
|
|
27
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
28
29
|
import { useDateField, useLocale as useLocale$1 } from "react-aria";
|
|
29
30
|
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
30
31
|
import { useTranslation } from "react-i18next";
|
|
@@ -509,7 +510,7 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
509
510
|
}, [onDateHover, selectionState.isSelectingMode]);
|
|
510
511
|
const cellClassName = useMemo(() => {
|
|
511
512
|
const { isSelectedCell, isInRange, isHoverRange, isSelectingMode, isSelectionStart, isSelectionEnd } = selectionState;
|
|
512
|
-
return clsx("mx-auto flex h-10 w-full max-w-10 items-center justify-center rounded-button-rounding-
|
|
513
|
+
return clsx("mx-auto flex h-10 w-full max-w-10 items-center justify-center rounded-button-rounding-default p-2", "focus:outline-none focus-visible:outline-1 focus-visible:outline-interactive-ring focus-visible:outline-offset-1", "border border-transparent border-solid", !isSelectedCell && !isOutsideVisibleRange && "bg-surface-default-card text-surface-default-card-foreground", isOutsideVisibleRange && "bg-surface-default-card text-surface-default-popover-foreground", isSelectedCell && !isOutsideVisibleRange && "bg-interactive-primary-background text-interactive-primary-foreground", isSelectedCell && !isOutsideVisibleRange && rangeSelection && !rangeSelection.isSelecting && isSelectionStart && !isSelectionEnd && "rounded-r-none", isSelectedCell && !isOutsideVisibleRange && rangeSelection && !rangeSelection.isSelecting && isSelectionEnd && !isSelectionStart && "rounded-l-none", isDisabled && !isOutsideVisibleRange && "cursor-default", isDisabled && !isOutsideVisibleRange && !isSelectedCell && "text-state-surface-default-card-foreground/disabled", isDisabled && !isOutsideVisibleRange && isSelectedCell && "bg-state-interactive-primary-background/disabled text-state-interactive-primary-foreground/disabled", !isSelectedCell && !isInRange && !isHoverRange && !isSelectingMode && !isDisabled && !isOutsideVisibleRange && "[@media(pointer:fine)]:hover:border-border-default-subtle [@media(pointer:fine)]:hover:bg-state-surface-default-card/hover [@media(pointer:fine)]:hover:text-state-surface-default-card-foreground/hover", isInRange && !isOutsideVisibleRange && "!rounded-none !bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", isHoverRange && !isOutsideVisibleRange && "!rounded-none !bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", !isInRange && !isSelectedCell && isSelectingMode && !isDisabled && !isOutsideVisibleRange && "hover:bg-state-interactive-primary-background/hover hover:text-interactive-primary-foreground", isSelectingMode && !isSelectedCell && !isInRange && !isHoverRange && !isDisabled && !isOutsideVisibleRange && "transition-all duration-75 hover:border-border-default-subtle", isFocused && !isSelectedCell && !isDisabled && !isOutsideVisibleRange && "ring-2 ring-inset ring-interactive-ring");
|
|
513
514
|
}, [
|
|
514
515
|
selectionState,
|
|
515
516
|
isOutsideVisibleRange,
|
|
@@ -531,7 +532,7 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
531
532
|
onKeyDown: (e) => handleEvent(e, () => onKeyboardNavigation?.(e, props.date)),
|
|
532
533
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
533
534
|
as: "span",
|
|
534
|
-
size: "
|
|
535
|
+
size: "small",
|
|
535
536
|
className: "block w-6 overflow-hidden text-ellipsis text-center",
|
|
536
537
|
children: formattedDate
|
|
537
538
|
})
|
|
@@ -572,16 +573,16 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
572
573
|
...headerProps,
|
|
573
574
|
children: /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
574
575
|
scope: "col",
|
|
575
|
-
className: "w-8 border-
|
|
576
|
+
className: "w-8 border-border-default-subtle border-r",
|
|
576
577
|
"aria-label": t(($) => $.ui.datePicker.weekNumberLabel, { ns: "ui" }),
|
|
577
578
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
578
|
-
size: "
|
|
579
|
-
className: "py-2 text-
|
|
579
|
+
size: "small",
|
|
580
|
+
className: "py-2 text-surface-default-foreground",
|
|
580
581
|
children: t(($) => $.ui.datePicker.weekNumberHeading, { ns: "ui" })
|
|
581
582
|
})
|
|
582
583
|
}), weekDays.map((day) => /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, {
|
|
583
|
-
size: "
|
|
584
|
-
className: "bg-
|
|
584
|
+
size: "small",
|
|
585
|
+
className: "bg-surface-default-card py-2 text-surface-default-foreground",
|
|
585
586
|
children: day.substring(0, 2)
|
|
586
587
|
}) }, day))] })
|
|
587
588
|
}), /* @__PURE__ */ jsx("tbody", { children: WEEK_INDICES.map((weekIndex) => {
|
|
@@ -590,14 +591,14 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
590
591
|
const week = firstDate ? getISOWeekNumber(firstDate) : null;
|
|
591
592
|
return /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
592
593
|
scope: "row",
|
|
593
|
-
className: "w-8 border-
|
|
594
|
+
className: "w-8 border-border-default-subtle border-r",
|
|
594
595
|
"aria-label": week === null ? void 0 : t(($) => $.ui.datePicker.weekNumber, {
|
|
595
596
|
ns: "ui",
|
|
596
597
|
week
|
|
597
598
|
}),
|
|
598
599
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
599
|
-
size: "
|
|
600
|
-
className: "text-
|
|
600
|
+
size: "small",
|
|
601
|
+
className: "text-surface-default-foreground tabular-nums",
|
|
601
602
|
children: week
|
|
602
603
|
})
|
|
603
604
|
}), dates.map((date, i) => date ? /* @__PURE__ */ jsx(CalendarCell, {
|
|
@@ -748,7 +749,7 @@ const DateField = ({ ref, onClearChange, hidePlaceholder, isDisabled, disableMan
|
|
|
748
749
|
hidePlaceholder
|
|
749
750
|
}, i)) });
|
|
750
751
|
if (formattedDisplayValue) fieldContent = /* @__PURE__ */ jsx("span", {
|
|
751
|
-
className:
|
|
752
|
+
className: "select-none text-inherit",
|
|
752
753
|
children: formattedDisplayValue
|
|
753
754
|
});
|
|
754
755
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -763,20 +764,6 @@ const DateField = ({ ref, onClearChange, hidePlaceholder, isDisabled, disableMan
|
|
|
763
764
|
});
|
|
764
765
|
};
|
|
765
766
|
//#endregion
|
|
766
|
-
//#region src/components/inputs/DateTime/shared/datePickerInput.cva.ts
|
|
767
|
-
const datePickerInputContentRowDefinition = UIOverrides.defineConfig({
|
|
768
|
-
base: ["flex items-center gap-input-gap-input-text-to-elements"],
|
|
769
|
-
config: {
|
|
770
|
-
variants: { size: {
|
|
771
|
-
"extra-small": "",
|
|
772
|
-
small: "",
|
|
773
|
-
default: "",
|
|
774
|
-
large: ""
|
|
775
|
-
} },
|
|
776
|
-
defaultVariants: { size: "default" }
|
|
777
|
-
}
|
|
778
|
-
});
|
|
779
|
-
//#endregion
|
|
780
767
|
//#region src/components/inputs/DateTime/shared/datePickerTodayIcon.tsx
|
|
781
768
|
const getDatePickerTodayIcon = (todayIcon) => {
|
|
782
769
|
if (!todayIcon) return null;
|
|
@@ -791,7 +778,7 @@ const getDatePickerTodayIcon = (todayIcon) => {
|
|
|
791
778
|
const renderDatePickerTodayIcon = (todayIcon, options) => {
|
|
792
779
|
const icon = getDatePickerTodayIcon(todayIcon);
|
|
793
780
|
if (!icon) return;
|
|
794
|
-
const { className, isDisabled, onPress, renderStatic, size = "
|
|
781
|
+
const { className, isDisabled, onPress, renderStatic, size = "sm", todayIconButtonComponent = "iconButton" } = options ?? {};
|
|
795
782
|
const buttonProps = {
|
|
796
783
|
label: "",
|
|
797
784
|
icon,
|
|
@@ -811,7 +798,7 @@ const renderDatePickerTodayIcon = (todayIcon, options) => {
|
|
|
811
798
|
};
|
|
812
799
|
//#endregion
|
|
813
800
|
//#region src/components/inputs/DateTime/shared/DatePickerInput.tsx
|
|
814
|
-
const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, fieldValue, endFieldValue, isValueControlled, hasValue, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, shouldShrinkInput, isClearable, isClearableIfDisabled, headerProps, todayIcon, todayIconButtonSize = "
|
|
801
|
+
const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, fieldValue, endFieldValue, isValueControlled, hasValue, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, shouldShrinkInput, isClearable, isClearableIfDisabled, headerProps, todayIcon, todayIconButtonSize = "sm", todayIconButtonComponent, todayIconPlacement = "content", isDirty, isRequired, disableManualEntry, autoFixYear = false, placeholder, displayContent, className, onOpenDropdown, dateGranularity = "day", timeZone: timeZoneProp, isTimeOptional = false, format, onClear: onClearProp, onValueCommit, ...props }) => {
|
|
815
802
|
const uiConfig = UIConfig.useConfig();
|
|
816
803
|
const timeZone = timeZoneProp ?? uiConfig.dateInput.timeZone;
|
|
817
804
|
let effectiveTimeZone = getLocalTimeZone();
|
|
@@ -934,8 +921,8 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
934
921
|
}),
|
|
935
922
|
!shouldRenderTodayIconWithFieldLabel && todayIconButton,
|
|
936
923
|
displayContent ? displayContent : disableManualEntry && placeholder && !fieldProps.value ? /* @__PURE__ */ jsx(Typography, {
|
|
937
|
-
size: "
|
|
938
|
-
className: "text-
|
|
924
|
+
size: "large",
|
|
925
|
+
className: "text-surface-default-popover-foreground",
|
|
939
926
|
children: placeholder
|
|
940
927
|
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DateField, {
|
|
941
928
|
ref: dateFieldRef,
|
|
@@ -952,7 +939,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
952
939
|
timeZone: effectiveTimeZone,
|
|
953
940
|
segmentGroup: normalizedEndFieldProps ? "start" : void 0
|
|
954
941
|
}), normalizedEndFieldProps && /* @__PURE__ */ jsxs(Fragment$1, { children: [!((as === "floating" || as === "filter") && hidePlaceholder) && /* @__PURE__ */ jsx("span", {
|
|
955
|
-
className: clsx("pointer-events-none select-none",
|
|
942
|
+
className: clsx("pointer-events-none select-none", !hasDisplayedValue && "text-surface-default-popover-foreground"),
|
|
956
943
|
children: "–"
|
|
957
944
|
}), /* @__PURE__ */ jsx(DateField, {
|
|
958
945
|
ref: endDateFieldRef,
|
|
@@ -991,4 +978,4 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
991
978
|
});
|
|
992
979
|
};
|
|
993
980
|
//#endregion
|
|
994
|
-
export {
|
|
981
|
+
export { $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 as a, $dd602d3c757202f2$export$a1d3911297b952d7 as c, CalendarGrid as i, $dd602d3c757202f2$export$eac50920cf2fd59a as l, renderDatePickerTodayIcon as n, $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f as o, $1697a7ad3db7b79f$re_export$useDateFormatter as r, $dd602d3c757202f2$export$4f5203c0d889109e as s, DatePickerInput as t, $dd602d3c757202f2$export$f4a51ff076cc9a09 as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "./IconButton-
|
|
2
|
-
import "./FormField-
|
|
3
|
-
import "./input.cva-
|
|
1
|
+
import { n as IconButtonProps } from "./IconButton-D4thBurp.js";
|
|
2
|
+
import "./FormField-C8_T6by9.js";
|
|
3
|
+
import "./input.cva-CQPV5gW7.js";
|
|
4
4
|
import { ReactNode, Ref } from "react";
|
|
5
5
|
import "react-aria";
|
|
6
6
|
//#region src/components/inputs/DateTime/shared/datePicker.types.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-ai4apf8B.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { DateValue } from "react-aria";
|
|
8
8
|
import { CalendarDate } from "@internationalized/date";
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
3
3
|
import { t as ChevronLeft } from "./chevron-left-Dgo_b9wJ.js";
|
|
4
4
|
import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
|
|
5
5
|
import { n as ChevronsLeft, t as ChevronsRight } from "./chevrons-right-DJPPn2fD.js";
|
|
6
|
-
import { a as
|
|
6
|
+
import { a as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, c as $dd602d3c757202f2$export$a1d3911297b952d7, i as CalendarGrid, l as $dd602d3c757202f2$export$eac50920cf2fd59a, n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, r as $1697a7ad3db7b79f$re_export$useDateFormatter, s as $dd602d3c757202f2$export$4f5203c0d889109e, t as DatePickerInput, u as $dd602d3c757202f2$export$f4a51ff076cc9a09 } from "./DatePickerInput-B0fEeCOf.js";
|
|
7
7
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
8
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
8
9
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
9
|
-
import { t as Switch } from "./Switch-
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
10
|
+
import { t as Switch } from "./Switch-CqnGEdeD.js";
|
|
11
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
12
12
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
13
|
-
import {
|
|
13
|
+
import { BadgeButton } from "./components/badge-button.js";
|
|
14
14
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
15
15
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
16
|
-
import { t as FormField } from "./FormField-
|
|
16
|
+
import { t as FormField } from "./FormField-9h3JAhaY.js";
|
|
17
17
|
import "./i18n-CX2EjhJI.js";
|
|
18
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
19
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
18
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-CDHFaUKZ.js";
|
|
19
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-B7DEm75m.js";
|
|
20
20
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
|
|
21
21
|
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-CLDS_LRZ.js";
|
|
22
|
-
import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
22
|
+
import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-BWea3HAt.js";
|
|
23
23
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
24
|
-
import { t as
|
|
24
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
25
|
+
import { t as Select } from "./Select-CgIhoWgk.js";
|
|
25
26
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
26
|
-
import { DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
27
27
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
+
import { DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
28
29
|
import { useDateRangePicker, useLocale } from "react-aria";
|
|
29
30
|
import { useTranslation } from "react-i18next";
|
|
30
31
|
import { useRangeCalendar } from "@react-aria/calendar";
|
|
@@ -458,7 +459,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
|
|
|
458
459
|
onNavigate?.(newDate);
|
|
459
460
|
};
|
|
460
461
|
return /* @__PURE__ */ jsxs("div", {
|
|
461
|
-
className: "flex w-full items-center justify-between gap-3 border-
|
|
462
|
+
className: "flex w-full items-center justify-between gap-3 border-border-default-subtle border-b border-solid px-3 py-2.5",
|
|
462
463
|
children: [
|
|
463
464
|
/* @__PURE__ */ jsxs("div", {
|
|
464
465
|
className: "flex items-center",
|
|
@@ -481,7 +482,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
|
|
|
481
482
|
children: [/* @__PURE__ */ jsx(Select, {
|
|
482
483
|
label: "Month",
|
|
483
484
|
hideLabel: true,
|
|
484
|
-
customTrigger: /* @__PURE__ */ jsx(
|
|
485
|
+
customTrigger: /* @__PURE__ */ jsx(BadgeButton, {
|
|
485
486
|
color: "secondary",
|
|
486
487
|
variant: "subtle",
|
|
487
488
|
iconPosition: "right",
|
|
@@ -499,7 +500,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
|
|
|
499
500
|
}), /* @__PURE__ */ jsx(Select, {
|
|
500
501
|
label: "Year",
|
|
501
502
|
hideLabel: true,
|
|
502
|
-
customTrigger: /* @__PURE__ */ jsx(
|
|
503
|
+
customTrigger: /* @__PURE__ */ jsx(BadgeButton, {
|
|
503
504
|
color: "secondary",
|
|
504
505
|
variant: "subtle",
|
|
505
506
|
iconPosition: "right",
|
|
@@ -574,7 +575,7 @@ const RangeCalendar = ({ showWeekNumbers, className, leftCalendarState, rightCal
|
|
|
574
575
|
return rightPrevDate.year < leftDate.year || rightPrevDate.year === leftDate.year && rightPrevDate.month === leftDate.month;
|
|
575
576
|
}, [leftDate, rightDate]);
|
|
576
577
|
return /* @__PURE__ */ jsx("div", {
|
|
577
|
-
className: clsx("flex flex-col items-center bg-
|
|
578
|
+
className: clsx("flex flex-col items-center bg-surface-default-card", showWeekNumbers ? "w-full max-w-[336px] md:w-fit md:max-w-none" : "w-fit", className),
|
|
578
579
|
children: /* @__PURE__ */ jsxs("div", {
|
|
579
580
|
className: clsx("flex", showWeekNumbers && "w-full"),
|
|
580
581
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -589,6 +590,7 @@ const RangeCalendar = ({ showWeekNumbers, className, leftCalendarState, rightCal
|
|
|
589
590
|
maxDate: rightDate
|
|
590
591
|
}), /* @__PURE__ */ jsx(CalendarGrid, {
|
|
591
592
|
showWeekNumbers,
|
|
593
|
+
firstDayOfWeek: calendarProps.firstDayOfWeek,
|
|
592
594
|
state: leftCalendarState,
|
|
593
595
|
onApply,
|
|
594
596
|
shouldCloseOnSelect: false,
|
|
@@ -613,6 +615,7 @@ const RangeCalendar = ({ showWeekNumbers, className, leftCalendarState, rightCal
|
|
|
613
615
|
minDate: leftDate
|
|
614
616
|
}), /* @__PURE__ */ jsx(CalendarGrid, {
|
|
615
617
|
showWeekNumbers,
|
|
618
|
+
firstDayOfWeek: calendarProps.firstDayOfWeek,
|
|
616
619
|
state: rightCalendarState,
|
|
617
620
|
onApply,
|
|
618
621
|
shouldCloseOnSelect: false,
|
|
@@ -1312,7 +1315,7 @@ const DateRangePickerBase = (props) => {
|
|
|
1312
1315
|
relativeValue
|
|
1313
1316
|
]);
|
|
1314
1317
|
const relativeDisplayValue = activeRelativeOption ? /* @__PURE__ */ jsx(Typography, {
|
|
1315
|
-
size: "
|
|
1318
|
+
size: "large",
|
|
1316
1319
|
children: activeRelativeOption.label
|
|
1317
1320
|
}) : void 0;
|
|
1318
1321
|
return /* @__PURE__ */ jsx(TooltipWrapper, {
|
|
@@ -1382,7 +1385,7 @@ const DateRangePickerBase = (props) => {
|
|
|
1382
1385
|
}), /* @__PURE__ */ jsx(DateTimeDialog, {
|
|
1383
1386
|
hideSidebar,
|
|
1384
1387
|
sidebar: /* @__PURE__ */ jsxs("div", {
|
|
1385
|
-
className: "flex w-full flex-row overflow-auto border-
|
|
1388
|
+
className: "flex w-full flex-row overflow-auto border-border-default-subtle border-solid [-ms-overflow-style:none] [scrollbar-width:none] md:w-[156px] md:flex-col md:border-r [&::-webkit-scrollbar]:hidden",
|
|
1386
1389
|
children: [enableRelativeMode && /* @__PURE__ */ jsx(Switch, {
|
|
1387
1390
|
isSelected: mode === "relative",
|
|
1388
1391
|
onChange: onModeChange,
|
|
@@ -1391,10 +1394,10 @@ const DateRangePickerBase = (props) => {
|
|
|
1391
1394
|
}), presets.map((preset) => /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1392
1395
|
isDisabled: preset.isDisabled,
|
|
1393
1396
|
onClick: () => selectPreset(preset),
|
|
1394
|
-
className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item disabled:text-
|
|
1397
|
+
className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item disabled:text-state-surface-default-foreground/disabled!", activePreset !== (mode === "relative" ? preset.value : preset.label) && "text-surface-default-foreground hover:text-state-surface-default-foreground/hover", activePreset === (mode === "relative" ? preset.value : preset.label) && "bg-interactive-primary-background text-interactive-primary-foreground"),
|
|
1395
1398
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1396
|
-
size: "
|
|
1397
|
-
sizeMobile: "
|
|
1399
|
+
size: "small",
|
|
1400
|
+
sizeMobile: "small",
|
|
1398
1401
|
as: "span",
|
|
1399
1402
|
className: "whitespace-nowrap",
|
|
1400
1403
|
children: preset.label
|
|
@@ -1618,7 +1621,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
|
|
|
1618
1621
|
altText: ""
|
|
1619
1622
|
} : void 0,
|
|
1620
1623
|
children: relativeLabel ? /* @__PURE__ */ jsx(Typography, {
|
|
1621
|
-
size: "
|
|
1624
|
+
size: "large",
|
|
1622
1625
|
children: relativeLabel
|
|
1623
1626
|
}) : staticSegments
|
|
1624
1627
|
});
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { n as renderDatePickerTodayIcon,
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
|
+
import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-B0fEeCOf.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
6
6
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
7
|
-
import { t as FormField } from "./FormField-
|
|
8
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
9
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
10
|
-
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
11
|
-
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-
|
|
12
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
7
|
+
import { t as FormField } from "./FormField-9h3JAhaY.js";
|
|
8
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-CDHFaUKZ.js";
|
|
9
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-B7DEm75m.js";
|
|
10
|
+
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-BWea3HAt.js";
|
|
11
|
+
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-DRHruqr_.js";
|
|
12
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-QWR2q5Vv.js";
|
|
13
13
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
14
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
14
15
|
import { memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
15
|
-
import { Time, createCalendar, getLocalTimeZone, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { Time, createCalendar, getLocalTimeZone, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
17
18
|
import { useDatePicker, useLocale } from "react-aria";
|
|
18
19
|
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.tsx
|
|
19
20
|
const DateTimePickerBase = (props) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-ai4apf8B.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { DateValue } from "react-aria";
|
|
8
8
|
import { DatePickerStateOptions } from "react-stately";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as $
|
|
5
|
-
import { t as
|
|
3
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
|
+
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-CKLkS00H.js";
|
|
5
|
+
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-w60dVQcb.js";
|
|
6
6
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
7
7
|
import "./i18n-CX2EjhJI.js";
|
|
8
|
-
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-
|
|
8
|
+
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-COhDZaVl.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/overlays/Dialog/Dialog.tsx
|
|
@@ -16,7 +16,7 @@ import { useCachedChildren } from "react-aria/private/collections/useCachedChild
|
|
|
16
16
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
17
17
|
import { useHover } from "react-aria/useHover";
|
|
18
18
|
import { Collection } from "react-aria/Collection";
|
|
19
|
-
import { CollectionNode, ItemNode, LoaderNode } from "react-aria/private/collections/BaseCollection";
|
|
19
|
+
import { CollectionNode, HeaderNode, ItemNode, LoaderNode } from "react-aria/private/collections/BaseCollection";
|
|
20
20
|
import { useIsHidden } from "react-aria/private/collections/Hidden";
|
|
21
21
|
import { useId as useId$1 } from "react-aria/useId";
|
|
22
22
|
import { useLocale } from "react-aria/I18nProvider";
|
|
@@ -102,6 +102,14 @@ function $263ab7fc0f95ccdb$export$90e00781bc59d8f9(focusedKey) {
|
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Header.mjs
|
|
104
104
|
const $53e61d82d8b8611d$export$e0e4026c12a8bdbb = /*#__PURE__*/ createContext({});
|
|
105
|
+
const $53e61d82d8b8611d$export$8b251419efc915eb = /*#__PURE__*/ createLeafComponent(HeaderNode, function Header(props, ref) {
|
|
106
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $53e61d82d8b8611d$export$e0e4026c12a8bdbb);
|
|
107
|
+
return /*#__PURE__*/ $ahdqC$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.header, {
|
|
108
|
+
className: "react-aria-Header",
|
|
109
|
+
...props,
|
|
110
|
+
ref
|
|
111
|
+
}, props.children);
|
|
112
|
+
});
|
|
105
113
|
//#endregion
|
|
106
114
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Separator.mjs
|
|
107
115
|
const $e28ab3efe3e87743$export$6615d83f6de245ce = /*#__PURE__*/ createContext({});
|
|
@@ -639,4 +647,4 @@ const $f2ff30fde7b014be$export$3ddf2d174ce01153 = /*#__PURE__*/ forwardRef(funct
|
|
|
639
647
|
] }, renderProps.children));
|
|
640
648
|
});
|
|
641
649
|
//#endregion
|
|
642
|
-
export { $49319ee1285aa241$export$2ce376c2cc3355c8 as a, $542a13ca2fa5b484$export$5b6b19405a83ff9d as c, $53e61d82d8b8611d$export$
|
|
650
|
+
export { $4b38b5b75ecc6208$export$b0d3ecf7112093a7 as _, $49319ee1285aa241$export$2ce376c2cc3355c8 as a, $542a13ca2fa5b484$export$5b6b19405a83ff9d as c, $53e61d82d8b8611d$export$8b251419efc915eb as d, $53e61d82d8b8611d$export$e0e4026c12a8bdbb as f, $4b38b5b75ecc6208$export$698f465ec27e93df as g, $263ab7fc0f95ccdb$export$d40e14dec8b060a8 as h, $49319ee1285aa241$export$27d2ad3c5815583e as i, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4 as l, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5 as m, $f2ff30fde7b014be$export$3ddf2d174ce01153 as n, $49319ee1285aa241$export$d9b273488cd8ce6f as o, $263ab7fc0f95ccdb$export$2dbbd341daed716d as p, $f2ff30fde7b014be$export$d2f961adcb0afbe as r, $49319ee1285aa241$export$ecabc99eeffab7ca as s, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as t, $e28ab3efe3e87743$export$6615d83f6de245ce as u };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
2
3
|
import { PropsWithChildren, RefObject } from "react";
|
|
3
4
|
import { DialogProps } from "react-aria-components";
|
|
4
5
|
//#region src/components/overlays/Dialog/dialog.cva.d.ts
|
|
@@ -30,7 +31,7 @@ declare const dialogMainDefinition: {
|
|
|
30
31
|
readonly aside: {
|
|
31
32
|
readonly left: "entering:animate-drawer-enter-left exiting:animate-drawer-exit-left justify-start";
|
|
32
33
|
readonly right: "entering:animate-drawer-enter-right exiting:animate-drawer-exit-right justify-end";
|
|
33
|
-
readonly center: "justify-center";
|
|
34
|
+
readonly center: ["justify-center", "transition-[opacity,scale] duration-200 ease-out starting:scale-96 starting:opacity-0 entering:scale-96 entering:opacity-0 exiting:scale-96 exiting:opacity-0 exiting:duration-150 motion-reduce:transition-none"];
|
|
34
35
|
};
|
|
35
36
|
}>;
|
|
36
37
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import {
|
|
2
|
+
import { r as MenuItem, t as DropdownMenuDesktop } from "./DropdownMenuDesktop-Cl9gZVq0.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
6
|
+
import { o as $49319ee1285aa241$export$d9b273488cd8ce6f } from "./Dialog-CKLkS00H.js";
|
|
5
7
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
6
|
-
import { t as
|
|
8
|
+
import { n as menuItemDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-DvEmX0bs.js";
|
|
7
9
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
8
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
10
|
+
import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
|
|
9
11
|
import { useRef, useState } from "react";
|
|
10
12
|
import { c } from "react/compiler-runtime";
|
|
11
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -112,7 +114,7 @@ const DropdownMenuMobile = (t0) => {
|
|
|
112
114
|
isMobile: true
|
|
113
115
|
})),
|
|
114
116
|
onPress: onBack,
|
|
115
|
-
children: [/* @__PURE__ */ jsx(
|
|
117
|
+
children: [/* @__PURE__ */ jsx(IconSlot, { icon: ArrowLeft }), activeItem.label]
|
|
116
118
|
}), /* @__PURE__ */ jsx("div", {
|
|
117
119
|
onClickCapture: (e) => {
|
|
118
120
|
lastEventRef.current = e;
|
|
@@ -182,4 +184,4 @@ const DropdownMenu = (props) => {
|
|
|
182
184
|
return t0;
|
|
183
185
|
};
|
|
184
186
|
//#endregion
|
|
185
|
-
export { DropdownMenu as t };
|
|
187
|
+
export { ArrowLeft as n, DropdownMenu as t };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
3
|
+
import { t as BottomSheetProps } from "./BottomSheet-DbQuzfAB.js";
|
|
3
4
|
import { ReactElement } from "react";
|
|
4
5
|
import { Key, MenuItemProps } from "react-aria-components";
|
|
5
6
|
import { Placement } from "react-aria";
|
|
@@ -19,7 +20,7 @@ declare const menuItemDefinition: {
|
|
|
19
20
|
base: string[];
|
|
20
21
|
config: StyleMergeUtils.Config<{
|
|
21
22
|
readonly isMobile: {
|
|
22
|
-
true: ["justify-start! w-full font-
|
|
23
|
+
true: ["justify-start! w-full font-body font-bold"];
|
|
23
24
|
false: [];
|
|
24
25
|
};
|
|
25
26
|
}>;
|