@povio/ui 4.0.2-rc.1 → 5.0.0-rc.1
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 +37 -0
- package/dist/{Accordion-CB1F5YAY.js → Accordion-CzFKi8Bp.js} +14 -16
- package/dist/{Alert-BALBsBrP.js → Alert-T25LY8ZL.js} +22 -22
- package/dist/{Alert-CbEhRaU5.d.ts → Alert-f1dG-4Uy.d.ts} +2 -2
- package/dist/{AlertDialog-PjYM6lDo.d.ts → AlertDialog-B6R2MbNg.d.ts} +2 -2
- package/dist/{Autocomplete-DE2lQi5o.d.ts → Autocomplete-CQ63Cynd.d.ts} +1 -1
- package/dist/{Badge-CjPpYa50.d.ts → Badge-YKlKz-Jy.d.ts} +3 -4
- package/dist/{BottomSheet-CVTF1wQe.js → BottomSheet-DvqBvth_.js} +11 -11
- package/dist/{BottomSheet-CT0zuola.d.ts → BottomSheet-xaymO7aQ.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-7AwnB4vS.d.ts → BottomSheet.lazy-CGBRPve_.d.ts} +1 -1
- package/dist/{Breadcrumbs-BibAIBhY.js → Breadcrumbs-DiIYJAWf.js} +10 -12
- package/dist/{Breadcrumbs-D-3YEuem.d.ts → Breadcrumbs-DyriI-Bi.d.ts} +1 -1
- package/dist/{Button-DTNjsGx5.d.ts → Button-BZ3is6IU.d.ts} +3 -3
- package/dist/Button-sn52l1Yv.js +506 -0
- package/dist/{ButtonContent-CohuJJzG.js → ButtonContent-B2_dZ6vA.js} +4 -4
- package/dist/{Calendar-kSEji28A.js → Calendar-DzQApBCy.js} +14 -14
- package/dist/{CheckContent-DzWpxKGq.js → CheckContent-DZ7Gk8GS.js} +3 -4
- package/dist/{Checkbox-DBV_Nxtq.js → Checkbox-BepzfVfK.js} +4 -4
- package/dist/{Checkbox-CBybJbLm.d.ts → Checkbox-CHpgW3fI.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-DJue5Aej.js → CheckboxCheckmark-B3lnOjsU.js} +24 -48
- package/dist/{CheckboxGroup-4xoWgmxr.d.ts → CheckboxGroup-CXrR3A-c.d.ts} +3 -3
- package/dist/{DatePicker-CjmXaZ9T.d.ts → DatePicker-B3l9TEjW.d.ts} +3 -3
- package/dist/{DatePicker-BbdtBAGN.js → DatePicker-CI87jC4_.js} +8 -8
- package/dist/{DatePickerInput-CdCtVE9z.d.ts → DatePickerInput-CZTEsrS0.d.ts} +3 -3
- package/dist/{DatePickerInput-eyHwzKPm.js → DatePickerInput-UBZcTmdv.js} +24 -26
- package/dist/{DateRangePicker-Ct182qur.js → DateRangePicker-BX2O5zA8.js} +17 -17
- package/dist/{DateRangePicker-D1kjkFfS.d.ts → DateRangePicker-DKkc2B3n.d.ts} +3 -3
- package/dist/{DateTimePicker-taYHMMYi.js → DateTimePicker-CVfkp45w.js} +8 -8
- package/dist/{DateTimePicker-CT_Pm3KB.d.ts → DateTimePicker-IHr-wPq8.d.ts} +3 -3
- package/dist/{Dialog-BE9BSDDl.js → Dialog-DdRP4YFC.js} +1 -1
- package/dist/{DropdownMenu-CZQRzOBb.d.ts → DropdownMenu-CWDhk3XA.d.ts} +2 -2
- package/dist/{DropdownMenu-tuf1W-IL.js → DropdownMenu-zrodtd44.js} +2 -2
- package/dist/{DropdownMenuDesktop-C9ttysuk.js → DropdownMenuDesktop-CGYxsavQ.js} +9 -9
- package/dist/{FileInput-CI8D_wf_.d.ts → FileInput-BQbn77bE.d.ts} +5 -5
- package/dist/{FileInput-B-ADr0B3.js → FileInput-Dz1eESr_.js} +16 -20
- package/dist/{FileUpload-3-4Vt4f1.js → FileUpload-D3Io7Is5.js} +48 -58
- package/dist/{FileUpload-BrnJdN3M.d.ts → FileUpload-qySCMcLn.d.ts} +1 -1
- package/dist/{FileUploadContainer-CkBENy6n.d.ts → FileUploadContainer-qOyGvb5J.d.ts} +1 -1
- package/dist/{Form-mzpVGNjX.d.ts → Form-u_N_6mwo.d.ts} +1 -1
- package/dist/{FormField-DTDj3F0A.d.ts → FormField-B0miX3gu.d.ts} +1 -1
- package/dist/{FormField-CAcDJ4HC.js → FormField-CHD4OJOt.js} +38 -37
- package/dist/{FormFieldError-CFg0Wn3i.js → FormFieldError-QRAFHUTt.js} +2 -2
- package/dist/{FormFieldHeaderTooltip-C2IDI4ac.js → FormFieldHeaderTooltip-Dl24v4_j.js} +2 -2
- package/dist/{IconButton-CYazzM7I.d.ts → IconButton-KXecZgYX.d.ts} +2 -2
- package/dist/{InlineIconButton-Rp5bXWcQ.d.ts → InlineIconButton-CbKZ2U_a.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-7HG-g2X3.js → InlineTooltipWrapper-g5yoeH1B.js} +1 -1
- package/dist/{Input-DSHFNEVl.d.ts → Input-efmPwk8f.d.ts} +3 -3
- package/dist/{InputContent-CvWm6GAv.d.ts → InputContent-DuBa9FuI.d.ts} +3 -3
- package/dist/{InputItem-B3PlrjuD.js → InputItem-2zf6QI5L.js} +11 -11
- package/dist/{Inputs-WZmrBWrL.js → Inputs-BceDTmdT.js} +1 -1
- package/dist/{Inputs-CHEDcuP0.d.ts → Inputs-C-w03Q_F.d.ts} +1 -1
- package/dist/{Link-C5YsZ4pr.js → Link-Btxj2gzg.js} +1 -1
- package/dist/{Link-DS9-0Ijl.d.ts → Link-QYpprkN1.d.ts} +1 -1
- package/dist/{MenuItem-CROWrE2A.d.ts → MenuItem--Mjd_yK8.d.ts} +1 -1
- package/dist/{NumberField-BICDQ2gN.d.ts → NumberField-z2JatYK0.d.ts} +3 -3
- package/dist/{NumberRangeInput-X8G1zfNM.js → NumberRangeInput-BxVrHq8R.js} +7 -7
- package/dist/{NumberRangeInput-BlGXChNR.d.ts → NumberRangeInput-Chai3iEi.d.ts} +2 -2
- package/dist/{Pagination-CumQED8X.d.ts → Pagination-CXtIDclf.d.ts} +1 -1
- package/dist/{PaginationList-CmOJo2r2.js → PaginationList-0bAmvXC0.js} +12 -20
- package/dist/{PaginationList-D79ApWLm.d.ts → PaginationList-CXG4jWFD.d.ts} +2 -2
- package/dist/{PasswordInput-BdrYD1D3.d.ts → PasswordInput-ub2TQxef.d.ts} +1 -1
- package/dist/{PillButton-CihEPQye.d.ts → PillButton-DASBXLFB.d.ts} +2 -2
- package/dist/{Popover-C0_-TLl_.d.ts → Popover-DUKH0q9u.d.ts} +2 -2
- package/dist/{Progress-_jkt2pQw.js → Progress-DQWiFP0L.js} +5 -6
- package/dist/{Progress-CYfDXJKs.d.ts → Progress-Dho39FDs.d.ts} +1 -1
- package/dist/{QuerySelect-Bpz-qI9h.d.ts → QuerySelect-Bo1K6gi_.d.ts} +2 -2
- package/dist/{RadioGroup-WHWosz7K.d.ts → RadioGroup-B_zJdn4y.d.ts} +3 -3
- package/dist/{RadioGroup-DW_OQQDu.js → RadioGroup-SSZYch-J.js} +19 -22
- package/dist/{RichTextEditor-CbgjRfiU.d.ts → RichTextEditor-B_JX3nor.d.ts} +1 -1
- package/dist/{RichTextEditor-BOTitK7E.js → RichTextEditor-D6RewmRj.js} +25 -17
- package/dist/{Select-DmLkOMr1.js → Select-CuZDkeQs.js} +8 -14
- package/dist/{Select-wzB2aQ_X.d.ts → Select-DeapZMYx.d.ts} +1 -1
- package/dist/{SelectBase-DefgAEzh.d.ts → SelectBase-7SE9Za2r.d.ts} +3 -3
- package/dist/{Slider-CZMNmk6P.d.ts → Slider-BFViQmM3.d.ts} +1 -1
- package/dist/{Slider-Q87Hg_V2.js → Slider-DJ9K_a-x.js} +10 -10
- package/dist/{Spinner-owSXOEzg.js → Spinner-BEYBu85B.js} +1 -1
- package/dist/{Spinner-BOgO9bS6.d.ts → Spinner-BbcI6IOb.d.ts} +1 -1
- package/dist/{SplitButton-BPZbQeYC.d.ts → SplitButton-lL87EcBL.d.ts} +3 -3
- package/dist/{Stepper-BbO9TlOM.js → Stepper-C1YPgTBG.js} +26 -29
- package/dist/{Stepper-PcHlxDD5.d.ts → Stepper-hlhViuaK.d.ts} +11 -11
- package/dist/{Switch-C0S5Juhf.d.ts → Switch-DPftmB1b.d.ts} +1 -1
- package/dist/{Switch-Cylpjatb.js → Switch-JxRmH1dX.js} +15 -23
- package/dist/Tag-Cch_68QO.d.ts +43 -0
- package/dist/Tag-HiDH438e.js +145 -0
- package/dist/{TextArea-CBWJ7w-p.d.ts → TextArea-BhrCBGbq.d.ts} +2 -2
- package/dist/{TextArea-DZv6XaT0.js → TextArea-gikUKKDl.js} +6 -6
- package/dist/{TextButton-D7e_YBLe.d.ts → TextButton-DnXRykhF.d.ts} +4 -4
- package/dist/{TimePicker-BZ4WrI5Z.d.ts → TimePicker-CmT89X7v.d.ts} +2 -2
- package/dist/{TimePicker-DAoHgk8U.js → TimePicker-DtNTOOGr.js} +10 -10
- package/dist/{Toast-DIlYlUQk.d.ts → Toast-B4cXs2rj.d.ts} +1 -1
- package/dist/{ToastContainer-8X5jGBe7.js → ToastContainer-BbsMIwtC.js} +2 -2
- package/dist/{ToggleButton-D4y2fLmN.d.ts → ToggleButton-BGuzPJDO.d.ts} +2 -2
- package/dist/{ToggleGroup-Cho_oRZh.js → ToggleGroup-Cl0NS3fe.js} +16 -11
- package/dist/{Tooltip-B-2AxyjP.d.ts → Tooltip-D7dNwGy9.d.ts} +8 -8
- package/dist/{Tooltip-D94a1IQl.js → Tooltip-aE1Vswxz.js} +11 -12
- package/dist/{TooltipWrapper-S2JC-w4e.js → TooltipWrapper-CRf-JFeo.js} +4 -4
- package/dist/{Typography-AcUd9df8.js → Typography-B0Gp1lpc.js} +1 -1
- package/dist/{Typography-BWmZd20e.d.ts → Typography-BiuidzDC.d.ts} +1 -1
- package/dist/{autocomplete-CaQSVRrw.d.ts → autocomplete-BJ7rqWa4.d.ts} +2 -2
- package/dist/{button.cva-ChabF4Am.d.ts → button.cva-BvRI-3Gn.d.ts} +11 -29
- package/dist/{buttonContent.cva-CP857foM.d.ts → buttonContent.cva-BDT_CReI.d.ts} +1 -1
- package/dist/{checkbox-D8CPWRlM.d.ts → checkbox-BfcE8J5P.d.ts} +1 -1
- package/dist/{checkbox-group-BuPUA_Qj.d.ts → checkbox-group-CHs2wFHS.d.ts} +1 -1
- package/dist/{checkbox.cva-DwnPS5df.d.ts → checkbox.cva-gv87kr1W.d.ts} +3 -5
- 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 +4 -4
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +19 -22
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +1 -1
- 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 +5 -5
- 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.js +1 -1
- package/dist/components/drawer.js +2 -2
- 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/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 +6 -6
- 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 +6 -6
- 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 +5 -6
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill-button.js +2 -2
- 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/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +2 -2
- 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 +2 -2
- 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.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/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/{confirmation.context-fKfUTsLF.d.ts → confirmation.context-DPAKsLYl.d.ts} +1 -1
- package/dist/{date-picker-MXt02b7Z.d.ts → date-picker-BYFWSbN8.d.ts} +1 -1
- package/dist/{date-range-picker-BjT0t21q.d.ts → date-range-picker-BaaXOObm.d.ts} +1 -1
- package/dist/{date-time-picker-CMmIuZtT.d.ts → date-time-picker-D42cTCgx.d.ts} +1 -1
- package/dist/{datePickerValue.utils-GADbSu7a.js → datePickerValue.utils-CFCY-fRJ.js} +8 -10
- package/dist/{dialog.cva-5qNq9YfM.js → dialog.cva---xiOXMQ.js} +1 -1
- package/dist/{dist-C6GfeeEC.js → dist-B8h0VT0E.js} +35 -83
- package/dist/{dom.utils-D3mELNBA.js → dom.utils-DjuRTR6U.js} +1 -1
- package/dist/{dynamicInputs-CQMTixlW.d.ts → dynamicInputs-wEEikYeg.d.ts} +104 -105
- package/dist/{fieldAdapter-BYVPxvYi.js → fieldAdapter-C0lCFmf0.js} +1 -1
- package/dist/{file-input-D-46wS5j.d.ts → file-input-C56GXRwz.d.ts} +1 -1
- package/dist/{file-upload-BG20Bhrn.d.ts → file-upload-Bx0X534g.d.ts} +2 -2
- package/dist/{fileUpload.types-xFzuCT_m.d.ts → fileUpload.types-DWuQKA2l.d.ts} +2 -2
- package/dist/index.d.ts +81 -81
- package/dist/index.js +40 -40
- package/dist/{input-CKGPYwfB.d.ts → input-D2kGX0hW.d.ts} +1 -1
- package/dist/input.cva-BcXyC1vZ.js +208 -0
- package/dist/{input.cva-ByFuAEIS.d.ts → input.cva-BhDJxc7r.d.ts} +4 -8
- package/dist/{link.context-C5ZgwVM5.d.ts → link.context-CDZn6oL2.d.ts} +1 -1
- package/dist/{number-field-CyP6XgJh.d.ts → number-field-Bw2GKr0s.d.ts} +1 -1
- package/dist/{number-range-input-DMmlk7Bl.d.ts → number-range-input-Dqe6x2dR.d.ts} +1 -1
- package/dist/{password-input-BWpfQe0G.d.ts → password-input-DepKyhh3.d.ts} +1 -1
- package/dist/{pillButton.cva-BVsxGnqF.d.ts → pillButton.cva-BEWuu0qm.d.ts} +1 -3
- package/dist/pillButton.cva-DlP5tOT5.js +197 -0
- package/dist/{popover.cva-CXha_UMQ.js → popover.cva-BJSkLndY.js} +1 -1
- package/dist/{query-autocomplete-DV8fEkK2.d.ts → query-autocomplete-BSpHin_R.d.ts} +2 -2
- package/dist/{query-select-BZ3-5WTu.d.ts → query-select-m1DCp4UF.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-Dm8Ttx4v.d.ts → queryAutocomplete.types-CrbVUmvl.d.ts} +2 -2
- package/dist/{radio-group-CmUtsjqP.d.ts → radio-group-Civ3Fb70.d.ts} +1 -1
- package/dist/{radio.cva-DAq2M13H.d.ts → radio.cva-BlOrmxzf.d.ts} +2 -2
- 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.js +2 -2
- package/dist/{rhf-1_ZO8GhU.js → rhf-D8B7mLO1.js} +1 -1
- package/dist/rhf.d.ts +81 -81
- package/dist/rhf.js +40 -40
- package/dist/{rich-text-editor-Db3XWWFo.d.ts → rich-text-editor-DvNEOIux.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-DY5QtwqI.d.ts} +2 -2
- package/dist/{slider-JQh0ypfU.d.ts → slider-CrB-Gkcv.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-BQoA94W-.js → staticDateTimeSegments-DR8bJw-F.js} +12 -10
- package/dist/{staticSelect.utils-ad60elvT.js → staticSelect.utils-Cm7MoDVG.js} +45 -37
- package/dist/styles/color-utilities.css +32 -0
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-Lm3xl1rQ.d.ts → switch-8WzXfTS8.d.ts} +1 -1
- package/dist/switch.cva-8T0fw31t.d.ts +15 -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 +1 -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.js +1 -1
- package/dist/tanstack.d.ts +65 -65
- package/dist/tanstack.js +49 -49
- package/dist/{text-area-I5MNcGp_.d.ts → text-area-CqnKRWKq.d.ts} +1 -1
- package/dist/{time-picker-DdhW8GmD.d.ts → time-picker-Cz1GIzpF.d.ts} +1 -1
- package/dist/{toast.cva-LU7TGprV.d.ts → toast.cva-Cj6o2Rmu.d.ts} +8 -8
- package/dist/{toast.runtime-QMYrNvoQ.js → toast.runtime-CIKvmkjo.js} +1 -1
- package/dist/typography.cva-CJZZSGXW.js +51 -0
- package/dist/typography.cva-jtp6WWUH.d.ts +35 -0
- package/dist/{uiConfig.context-RFvaQYzD.js → uiConfig.context-D2eUIPHn.js} +11 -20
- package/dist/{uiConfig.context-CIoMqe1_.d.ts → uiConfig.context-aoarCLYX.d.ts} +11 -12
- package/dist/{useBreakpoint-3kpqzjoC.js → useBreakpoint-BOA-MyoT.js} +1 -1
- package/dist/{useFieldAccessibility-CtTdRX2u.js → useFieldAccessibility-D2_Qm26-.js} +10 -11
- package/dist/{useFormAutosave-DqP6lB4l.js → useFormAutosave-BYFn3LH8.js} +2 -2
- package/dist/{useStaticInputHandoff-BAaDW_0z.js → useStaticInputHandoff-DB9PgioW.js} +11 -12
- package/dist/{useTableColumnConfig-DVI_jVHz.js → useTableColumnConfig-CcJxu14U.js} +26 -28
- package/dist/{useTableNav-Tu8UZxHA.d.ts → useTableNav-D9mICzNW.d.ts} +7 -7
- package/dist/{useToast-NBGlVeFP.d.ts → useToast-DMSm59Y6.d.ts} +1 -1
- package/package.json +2 -1
- package/dist/Button-CcZBqoQp.js +0 -761
- package/dist/Tag-CgPeLVXM.d.ts +0 -44
- package/dist/Tag-DNuHvt6J.js +0 -148
- package/dist/input.cva-KYGD4Bdz.js +0 -324
- package/dist/pillButton.cva-6tjADUQ6.js +0 -265
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { c as checkboxIndicatorClass, l as checkboxTypography, n as checkboxContentClassName, t as CheckboxCheckmark } from "./CheckboxCheckmark-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
|
+
import { c as checkboxIndicatorClass, l as checkboxTypography, n as checkboxContentClassName, t as CheckboxCheckmark } from "./CheckboxCheckmark-B3lnOjsU.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
5
5
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B2-B-uFY.js";
|
|
@@ -8,8 +8,8 @@ import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$
|
|
|
8
8
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
9
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
10
10
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
11
|
-
import { t as FormFieldError } from "./FormFieldError-
|
|
12
|
-
import { t as CheckContent } from "./CheckContent-
|
|
11
|
+
import { t as FormFieldError } from "./FormFieldError-QRAFHUTt.js";
|
|
12
|
+
import { t as CheckContent } from "./CheckContent-DZ7Gk8GS.js";
|
|
13
13
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
|
|
14
14
|
import { mergeProps } from "react-aria/mergeProps";
|
|
15
15
|
import { mergeRefs } from "react-aria/mergeRefs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-
|
|
2
|
+
import { t as CheckboxVariantProps } from "./checkbox.cva-gv87kr1W.js";
|
|
3
3
|
import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
|
|
4
4
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
5
5
|
import { ComponentType, ReactNode, Ref, SVGProps } from "react";
|
|
@@ -31,51 +31,39 @@ const checkboxDefinition = UIOverrides.defineConfig({
|
|
|
31
31
|
],
|
|
32
32
|
config: {
|
|
33
33
|
variants: { variant: { default: [
|
|
34
|
-
"m-1 border-interactive-
|
|
35
|
-
"text-interactive-
|
|
36
|
-
"group-
|
|
37
|
-
"group-
|
|
38
|
-
"group-disabled:
|
|
39
|
-
"group-disabled:border-interactive-
|
|
40
|
-
"group-
|
|
41
|
-
"group-
|
|
42
|
-
"group-selected:
|
|
43
|
-
"group-selected:bg-interactive-
|
|
44
|
-
"group-selected:group-
|
|
45
|
-
"group-
|
|
46
|
-
"group-
|
|
47
|
-
"group-
|
|
48
|
-
"group-
|
|
49
|
-
"group-selected:group-disabled:border-interactive-contained-primary-disabled",
|
|
50
|
-
"group-indeterminate:border-interactive-contained-primary-idle",
|
|
51
|
-
"group-indeterminate:bg-interactive-contained-primary-idle",
|
|
52
|
-
"group-indeterminate:group-hover:bg-interactive-contained-primary-hover",
|
|
53
|
-
"group-indeterminate:group-hover:border-interactive-contained-primary-hover",
|
|
54
|
-
"group-indeterminate:group-pressed:bg-interactive-contained-primary-pressed",
|
|
55
|
-
"group-indeterminate:group-pressed:border-interactive-contained-primary-pressed",
|
|
56
|
-
"group-invalid:border-interactive-outlined-error-on-idle",
|
|
57
|
-
"group-focus-visible:outline-interactive-contained-primary-focus"
|
|
34
|
+
"m-1 border-interactive-primary-background bg-support-transparent-outline",
|
|
35
|
+
"text-interactive-primary-foreground",
|
|
36
|
+
"group-focus-visible:outline-interactive-ring",
|
|
37
|
+
"group-not-disabled:group-invalid:border-border-destructive-base",
|
|
38
|
+
"group-disabled:border-tint-interactive-primary-background/50",
|
|
39
|
+
"group-not-disabled:group-not-invalid:group-hover:border-tint-interactive-primary-background/80",
|
|
40
|
+
"group-not-disabled:group-not-invalid:group-pressed:border-tint-interactive-primary-background/70",
|
|
41
|
+
"group-selected:bg-interactive-primary-background",
|
|
42
|
+
"group-selected:group-not-disabled:group-hover:bg-tint-interactive-primary-background/80",
|
|
43
|
+
"group-selected:group-not-disabled:group-pressed:bg-tint-interactive-primary-background/70",
|
|
44
|
+
"group-selected:group-disabled:bg-tint-interactive-primary-background/50",
|
|
45
|
+
"group-indeterminate:bg-interactive-primary-background",
|
|
46
|
+
"group-indeterminate:group-not-disabled:group-hover:bg-tint-interactive-primary-background/80",
|
|
47
|
+
"group-indeterminate:group-not-disabled:group-pressed:bg-tint-interactive-primary-background/70",
|
|
48
|
+
"group-indeterminate:group-disabled:bg-tint-interactive-primary-background/50"
|
|
58
49
|
] } },
|
|
59
50
|
defaultVariants: { variant: "default" }
|
|
60
51
|
}
|
|
61
52
|
});
|
|
62
53
|
const checkboxIndicatorClass = "group flex items-center gap-2";
|
|
63
54
|
const checkboxTypography = compoundMapper({ default: {
|
|
64
|
-
size: "
|
|
65
|
-
sizeMobile: "
|
|
66
|
-
variant: "default"
|
|
55
|
+
size: "large",
|
|
56
|
+
sizeMobile: "large"
|
|
67
57
|
} });
|
|
68
|
-
const checkboxContentClassName = compoundMapper({ default: "text-
|
|
58
|
+
const checkboxContentClassName = compoundMapper({ default: "text-surface-default-foreground" });
|
|
69
59
|
const checkboxContentWrapperDefinition = UIOverrides.defineConfig({
|
|
70
60
|
base: ["relative flex"],
|
|
71
61
|
config: {
|
|
72
62
|
variants: {
|
|
73
63
|
variant: { default: "" },
|
|
74
64
|
size: {
|
|
75
|
-
"extra-small": "",
|
|
76
65
|
small: "",
|
|
77
|
-
default: ""
|
|
78
|
-
large: ""
|
|
66
|
+
default: ""
|
|
79
67
|
},
|
|
80
68
|
as: {
|
|
81
69
|
default: "flex-col",
|
|
@@ -92,31 +80,19 @@ const checkboxContentWrapperDefinition = UIOverrides.defineConfig({
|
|
|
92
80
|
{
|
|
93
81
|
as: "floating",
|
|
94
82
|
hasInputFrame: true,
|
|
95
|
-
className: ["pb-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-bottom))]", "pt-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-top)+var(--text-
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
as: "floating",
|
|
99
|
-
size: "extra-small",
|
|
100
|
-
hasInputFrame: true,
|
|
101
|
-
className: "px-input-side-xs"
|
|
83
|
+
className: ["pb-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-bottom))]", "pt-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-top)+var(--text-small--line-height)*var(--text-small)+var(--spacing-input-gap-input-text-to-elements))]"]
|
|
102
84
|
},
|
|
103
85
|
{
|
|
104
86
|
as: "floating",
|
|
105
87
|
size: "small",
|
|
106
88
|
hasInputFrame: true,
|
|
107
|
-
className: "px-input-side-
|
|
89
|
+
className: "px-input-side-small"
|
|
108
90
|
},
|
|
109
91
|
{
|
|
110
92
|
as: "floating",
|
|
111
93
|
size: "default",
|
|
112
94
|
hasInputFrame: true,
|
|
113
|
-
className: "px-input-side-
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
as: "floating",
|
|
117
|
-
size: "large",
|
|
118
|
-
hasInputFrame: true,
|
|
119
|
-
className: "px-input-side-l"
|
|
95
|
+
className: "px-input-side-default"
|
|
120
96
|
}
|
|
121
97
|
],
|
|
122
98
|
defaultVariants: {
|
|
@@ -135,9 +111,9 @@ const checkboxGroupLabelDefinition = UIOverrides.defineConfig({
|
|
|
135
111
|
floating: [
|
|
136
112
|
"pointer-events-none absolute",
|
|
137
113
|
"top-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-top))]",
|
|
138
|
-
"text-
|
|
114
|
+
"text-surface-default-card-foreground",
|
|
139
115
|
"font-semibold!",
|
|
140
|
-
"text-
|
|
116
|
+
"text-small!"
|
|
141
117
|
],
|
|
142
118
|
filter: "",
|
|
143
119
|
inline: ""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-
|
|
2
|
+
import { t as CheckboxVariantProps } from "./checkbox.cva-gv87kr1W.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
4
|
-
import { n as FormFieldProps } from "./FormField-
|
|
5
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
4
|
+
import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
|
|
5
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
6
6
|
import { ReactElement, Ref } from "react";
|
|
7
7
|
import { CheckboxGroupProps } from "react-aria-components";
|
|
8
8
|
//#region src/components/inputs/Checkbox/CheckboxGroup.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-B0miX3gu.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
5
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-CZTEsrS0.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { CalendarDate, DateValue } from "@internationalized/date";
|
|
8
8
|
import { DatePickerStateOptions } from "react-stately";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
|
+
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-UBZcTmdv.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-DQxX6LMN.js";
|
|
6
|
-
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-
|
|
7
|
-
import { i as $6902a2bb26917a07$export$42df105a73306d51, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-
|
|
6
|
+
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-DR8bJw-F.js";
|
|
7
|
+
import { i as $6902a2bb26917a07$export$42df105a73306d51, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-DzQApBCy.js";
|
|
8
8
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
9
9
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
10
|
-
import { t as FormField } from "./FormField-
|
|
11
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
12
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
13
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
10
|
+
import { t as FormField } from "./FormField-CHD4OJOt.js";
|
|
11
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
|
|
12
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-DB9PgioW.js";
|
|
13
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CFCY-fRJ.js";
|
|
14
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
15
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
16
16
|
import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
|
|
@@ -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-KXecZgYX.js";
|
|
2
|
+
import "./FormField-B0miX3gu.js";
|
|
3
|
+
import "./input.cva-BhDJxc7r.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,19 +1,19 @@
|
|
|
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-D2eUIPHn.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
5
5
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
|
|
7
|
-
import { b as $7541913c0284d84b$export$5591b0b878c1a989, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-
|
|
8
|
-
import { t as Typography } from "./Typography-
|
|
7
|
+
import { b as $7541913c0284d84b$export$5591b0b878c1a989, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-DR8bJw-F.js";
|
|
8
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
9
9
|
import { IconButton } from "./components/icon-button.js";
|
|
10
10
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
11
11
|
import { n as $a8ea2faf2ebe4d2f$re_export$mergeProps } from "./import-BE0r63d8.js";
|
|
12
|
-
import { r as FormFieldLabel } from "./FormField-
|
|
12
|
+
import { r as FormFieldLabel } from "./FormField-CHD4OJOt.js";
|
|
13
13
|
import "./i18n-CX2EjhJI.js";
|
|
14
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
15
|
-
import { n as InputClear } from "./TooltipWrapper-
|
|
16
|
-
import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-
|
|
14
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-BcXyC1vZ.js";
|
|
15
|
+
import { n as InputClear } from "./TooltipWrapper-CRf-JFeo.js";
|
|
16
|
+
import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-DB9PgioW.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
19
|
import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
@@ -508,7 +508,7 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
508
508
|
}, [onDateHover, selectionState.isSelectingMode]);
|
|
509
509
|
const cellClassName = useMemo(() => {
|
|
510
510
|
const { isSelectedCell, isInRange, isHoverRange, isSelectingMode, isSelectionStart, isSelectionEnd } = selectionState;
|
|
511
|
-
return clsx("mx-auto flex h-10 w-full max-w-10 items-center justify-center rounded-button-rounding-
|
|
511
|
+
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", !isSelectedCell && 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 && !isSelectedCell && "text-tint-surface-default-card-foreground/50", isDisabled && isSelectedCell && "bg-tint-interactive-primary-background/50 text-tint-interactive-primary-foreground/50", !isSelectedCell && !isInRange && !isHoverRange && !isSelectingMode && !isDisabled && !isOutsideVisibleRange && "[@media(pointer:fine)]:hover:border-border-default-subtle [@media(pointer:fine)]:hover:bg-tint-surface-default-card/80 [@media(pointer:fine)]:hover:text-tint-surface-default-card-foreground/80", 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 && "hover:bg-tint-interactive-primary-background/80 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");
|
|
512
512
|
}, [
|
|
513
513
|
selectionState,
|
|
514
514
|
isOutsideVisibleRange,
|
|
@@ -530,7 +530,7 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
530
530
|
onKeyDown: (e) => handleEvent(e, () => onKeyboardNavigation?.(e, props.date)),
|
|
531
531
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
532
532
|
as: "span",
|
|
533
|
-
size: "
|
|
533
|
+
size: "small",
|
|
534
534
|
className: "block w-6 overflow-hidden text-ellipsis text-center",
|
|
535
535
|
children: formattedDate
|
|
536
536
|
})
|
|
@@ -571,16 +571,16 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
571
571
|
...headerProps,
|
|
572
572
|
children: /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
573
573
|
scope: "col",
|
|
574
|
-
className: "w-8 border-
|
|
574
|
+
className: "w-8 border-border-default-subtle border-r",
|
|
575
575
|
"aria-label": t(($) => $.ui.datePicker.weekNumberLabel, { ns: "ui" }),
|
|
576
576
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
577
|
-
size: "
|
|
578
|
-
className: "py-2 text-
|
|
577
|
+
size: "small",
|
|
578
|
+
className: "py-2 text-surface-default-foreground",
|
|
579
579
|
children: t(($) => $.ui.datePicker.weekNumberHeading, { ns: "ui" })
|
|
580
580
|
})
|
|
581
581
|
}), weekDays.map((day) => /* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, {
|
|
582
|
-
size: "
|
|
583
|
-
className: "bg-
|
|
582
|
+
size: "small",
|
|
583
|
+
className: "bg-surface-default-card py-2 text-surface-default-foreground",
|
|
584
584
|
children: day.substring(0, 2)
|
|
585
585
|
}) }, day))] })
|
|
586
586
|
}), /* @__PURE__ */ jsx("tbody", { children: WEEK_INDICES.map((weekIndex) => {
|
|
@@ -589,14 +589,14 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
589
589
|
const week = firstDate ? getISOWeekNumber(firstDate) : null;
|
|
590
590
|
return /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
591
591
|
scope: "row",
|
|
592
|
-
className: "w-8 border-
|
|
592
|
+
className: "w-8 border-border-default-subtle border-r",
|
|
593
593
|
"aria-label": week === null ? void 0 : t(($) => $.ui.datePicker.weekNumber, {
|
|
594
594
|
ns: "ui",
|
|
595
595
|
week
|
|
596
596
|
}),
|
|
597
597
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
598
|
-
size: "
|
|
599
|
-
className: "text-
|
|
598
|
+
size: "small",
|
|
599
|
+
className: "text-surface-default-foreground tabular-nums",
|
|
600
600
|
children: week
|
|
601
601
|
})
|
|
602
602
|
}), dates.map((date, i) => date ? /* @__PURE__ */ jsx(CalendarCell, {
|
|
@@ -747,7 +747,7 @@ const DateField = ({ ref, onClearChange, hidePlaceholder, isDisabled, disableMan
|
|
|
747
747
|
hidePlaceholder
|
|
748
748
|
}, i)) });
|
|
749
749
|
if (formattedDisplayValue) fieldContent = /* @__PURE__ */ jsx("span", {
|
|
750
|
-
className:
|
|
750
|
+
className: "select-none text-inherit",
|
|
751
751
|
children: formattedDisplayValue
|
|
752
752
|
});
|
|
753
753
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -767,10 +767,8 @@ const datePickerInputContentRowDefinition = UIOverrides.defineConfig({
|
|
|
767
767
|
base: ["flex items-center gap-input-gap-input-text-to-elements"],
|
|
768
768
|
config: {
|
|
769
769
|
variants: { size: {
|
|
770
|
-
"extra-small": "",
|
|
771
770
|
small: "",
|
|
772
|
-
default: ""
|
|
773
|
-
large: ""
|
|
771
|
+
default: ""
|
|
774
772
|
} },
|
|
775
773
|
defaultVariants: { size: "default" }
|
|
776
774
|
}
|
|
@@ -790,7 +788,7 @@ const getDatePickerTodayIcon = (todayIcon) => {
|
|
|
790
788
|
const renderDatePickerTodayIcon = (todayIcon, options) => {
|
|
791
789
|
const icon = getDatePickerTodayIcon(todayIcon);
|
|
792
790
|
if (!icon) return;
|
|
793
|
-
const { className, isDisabled, onPress, renderStatic, size = "
|
|
791
|
+
const { className, isDisabled, onPress, renderStatic, size = "sm", todayIconButtonComponent = "iconButton" } = options ?? {};
|
|
794
792
|
const buttonProps = {
|
|
795
793
|
label: "",
|
|
796
794
|
icon,
|
|
@@ -810,7 +808,7 @@ const renderDatePickerTodayIcon = (todayIcon, options) => {
|
|
|
810
808
|
};
|
|
811
809
|
//#endregion
|
|
812
810
|
//#region src/components/inputs/DateTime/shared/DatePickerInput.tsx
|
|
813
|
-
const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, fieldValue, endFieldValue, isValueControlled, hasValue, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, shouldShrinkInput, isClearable, isClearableIfDisabled, headerProps, todayIcon, todayIconButtonSize = "
|
|
811
|
+
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 }) => {
|
|
814
812
|
const uiConfig = UIConfig.useConfig();
|
|
815
813
|
const timeZone = timeZoneProp ?? uiConfig.dateInput.timeZone;
|
|
816
814
|
let effectiveTimeZone = getLocalTimeZone();
|
|
@@ -933,8 +931,8 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
933
931
|
}),
|
|
934
932
|
!shouldRenderTodayIconWithFieldLabel && todayIconButton,
|
|
935
933
|
displayContent ? displayContent : disableManualEntry && placeholder && !fieldProps.value ? /* @__PURE__ */ jsx(Typography, {
|
|
936
|
-
size: "
|
|
937
|
-
className: "text-
|
|
934
|
+
size: "large",
|
|
935
|
+
className: "text-surface-default-popover-foreground",
|
|
938
936
|
children: placeholder
|
|
939
937
|
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DateField, {
|
|
940
938
|
ref: dateFieldRef,
|
|
@@ -951,7 +949,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
951
949
|
timeZone: effectiveTimeZone,
|
|
952
950
|
segmentGroup: normalizedEndFieldProps ? "start" : void 0
|
|
953
951
|
}), normalizedEndFieldProps && /* @__PURE__ */ jsxs(Fragment$1, { children: [!((as === "floating" || as === "filter") && hidePlaceholder) && /* @__PURE__ */ jsx("span", {
|
|
954
|
-
className: clsx("pointer-events-none select-none"
|
|
952
|
+
className: clsx("pointer-events-none select-none"),
|
|
955
953
|
children: "–"
|
|
956
954
|
}), /* @__PURE__ */ jsx(DateField, {
|
|
957
955
|
ref: endDateFieldRef,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.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 CalendarGrid, c as $dd602d3c757202f2$export$4f5203c0d889109e, d as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $1697a7ad3db7b79f$re_export$useDateFormatter, l as $dd602d3c757202f2$export$a1d3911297b952d7, n as renderDatePickerTodayIcon, o as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput, u as $dd602d3c757202f2$export$eac50920cf2fd59a } from "./DatePickerInput-
|
|
6
|
+
import { a as CalendarGrid, c as $dd602d3c757202f2$export$4f5203c0d889109e, d as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $1697a7ad3db7b79f$re_export$useDateFormatter, l as $dd602d3c757202f2$export$a1d3911297b952d7, n as renderDatePickerTodayIcon, o as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput, u as $dd602d3c757202f2$export$eac50920cf2fd59a } from "./DatePickerInput-UBZcTmdv.js";
|
|
7
7
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
8
8
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
9
|
-
import { t as Switch } from "./Switch-
|
|
9
|
+
import { t as Switch } from "./Switch-JxRmH1dX.js";
|
|
10
10
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
11
11
|
import { n as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useLayoutEffect-B2-1tbPJ.js";
|
|
12
12
|
import { a as $390e54f620492c70$export$f680877a34711e37, r as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./useSyncRef-RGMv0rXK.js";
|
|
13
13
|
import { c as $191c9b6d48a0a4e2$export$294aa081a6c6f55d, m as $cf2482eff2eeeec2$export$f12b703ca79dfbb1, r as $fd2148440a13ec26$export$fc1a364ae1f3ff10, s as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFormValidationState-D3z-gafz.js";
|
|
14
14
|
import { n as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
|
|
15
|
-
import { C as $0014db39426443c5$exports, S as $6a440d0e2d99dd46$export$4a931266a3838b86, 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, v as $7541913c0284d84b$export$300019f83c56d282, w as $121970af65029459$export$f8aeda7b10753fa1, x as $7541913c0284d84b$export$7b3062cd49e80452 } from "./staticDateTimeSegments-
|
|
15
|
+
import { C as $0014db39426443c5$exports, S as $6a440d0e2d99dd46$export$4a931266a3838b86, 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, v as $7541913c0284d84b$export$300019f83c56d282, w as $121970af65029459$export$f8aeda7b10753fa1, x as $7541913c0284d84b$export$7b3062cd49e80452 } from "./staticDateTimeSegments-DR8bJw-F.js";
|
|
16
16
|
import { n as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-CO9oJ1sc.js";
|
|
17
|
-
import { t as Typography } from "./Typography-
|
|
17
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
18
18
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
19
19
|
import { PillButton } from "./components/pill-button.js";
|
|
20
20
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
21
21
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
22
|
-
import { t as FormField } from "./FormField-
|
|
22
|
+
import { t as FormField } from "./FormField-CHD4OJOt.js";
|
|
23
23
|
import "./i18n-CX2EjhJI.js";
|
|
24
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
25
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
24
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
|
|
25
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-DB9PgioW.js";
|
|
26
26
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
27
|
-
import { t as Select } from "./Select-
|
|
27
|
+
import { t as Select } from "./Select-CuZDkeQs.js";
|
|
28
28
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
29
29
|
import { DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
30
30
|
import { DEFAULT_VALIDATION_RESULT, mergeValidation, privateValidationStateProp } from "react-stately/private/form/useFormValidationState";
|
|
@@ -630,7 +630,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
|
|
|
630
630
|
onNavigate?.(newDate);
|
|
631
631
|
};
|
|
632
632
|
return /* @__PURE__ */ jsxs("div", {
|
|
633
|
-
className: "flex w-full items-center justify-between gap-3 border-
|
|
633
|
+
className: "flex w-full items-center justify-between gap-3 border-border-default-subtle border-b border-solid px-3 py-2.5",
|
|
634
634
|
children: [
|
|
635
635
|
/* @__PURE__ */ jsxs("div", {
|
|
636
636
|
className: "flex items-center",
|
|
@@ -746,7 +746,7 @@ const RangeCalendar = ({ showWeekNumbers, className, leftCalendarState, rightCal
|
|
|
746
746
|
return rightPrevDate.year < leftDate.year || rightPrevDate.year === leftDate.year && rightPrevDate.month === leftDate.month;
|
|
747
747
|
}, [leftDate, rightDate]);
|
|
748
748
|
return /* @__PURE__ */ jsx("div", {
|
|
749
|
-
className: clsx("flex flex-col items-center bg-
|
|
749
|
+
className: clsx("flex flex-col items-center bg-surface-default-card", showWeekNumbers ? "w-full md:w-fit" : "w-fit", className),
|
|
750
750
|
children: /* @__PURE__ */ jsxs("div", {
|
|
751
751
|
className: clsx("flex", showWeekNumbers && "w-full"),
|
|
752
752
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -1484,7 +1484,7 @@ const DateRangePickerBase = (props) => {
|
|
|
1484
1484
|
relativeValue
|
|
1485
1485
|
]);
|
|
1486
1486
|
const relativeDisplayValue = activeRelativeOption ? /* @__PURE__ */ jsx(Typography, {
|
|
1487
|
-
size: "
|
|
1487
|
+
size: "large",
|
|
1488
1488
|
children: activeRelativeOption.label
|
|
1489
1489
|
}) : void 0;
|
|
1490
1490
|
return /* @__PURE__ */ jsx(TooltipWrapper, {
|
|
@@ -1554,7 +1554,7 @@ const DateRangePickerBase = (props) => {
|
|
|
1554
1554
|
}), /* @__PURE__ */ jsx(DateTimeDialog, {
|
|
1555
1555
|
hideSidebar,
|
|
1556
1556
|
sidebar: /* @__PURE__ */ jsxs("div", {
|
|
1557
|
-
className: "flex w-full flex-row overflow-auto border-
|
|
1557
|
+
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",
|
|
1558
1558
|
children: [enableRelativeMode && /* @__PURE__ */ jsx(Switch, {
|
|
1559
1559
|
isSelected: mode === "relative",
|
|
1560
1560
|
onChange: onModeChange,
|
|
@@ -1563,10 +1563,10 @@ const DateRangePickerBase = (props) => {
|
|
|
1563
1563
|
}), presets.map((preset) => /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1564
1564
|
isDisabled: preset.isDisabled,
|
|
1565
1565
|
onClick: () => selectPreset(preset),
|
|
1566
|
-
className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item disabled:text-
|
|
1566
|
+
className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item disabled:text-tint-surface-default-foreground/50!", activePreset !== (mode === "relative" ? preset.value : preset.label) && "text-surface-default-foreground hover:text-tint-surface-default-foreground/80", activePreset === (mode === "relative" ? preset.value : preset.label) && "bg-interactive-primary-background text-interactive-primary-foreground"),
|
|
1567
1567
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1568
|
-
size: "
|
|
1569
|
-
sizeMobile: "
|
|
1568
|
+
size: "small",
|
|
1569
|
+
sizeMobile: "small",
|
|
1570
1570
|
as: "span",
|
|
1571
1571
|
className: "whitespace-nowrap",
|
|
1572
1572
|
children: preset.label
|
|
@@ -1790,7 +1790,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
|
|
|
1790
1790
|
altText: ""
|
|
1791
1791
|
} : void 0,
|
|
1792
1792
|
children: relativeLabel ? /* @__PURE__ */ jsx(Typography, {
|
|
1793
|
-
size: "
|
|
1793
|
+
size: "large",
|
|
1794
1794
|
children: relativeLabel
|
|
1795
1795
|
}) : staticSegments
|
|
1796
1796
|
});
|
|
@@ -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-B0miX3gu.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
5
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-CZTEsrS0.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { DateValue } from "react-aria";
|
|
8
8
|
import { CalendarDate } from "@internationalized/date";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
|
+
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-UBZcTmdv.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-DQxX6LMN.js";
|
|
6
|
-
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
7
|
-
import { i as $6902a2bb26917a07$export$42df105a73306d51, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-
|
|
6
|
+
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-DR8bJw-F.js";
|
|
7
|
+
import { i as $6902a2bb26917a07$export$42df105a73306d51, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-DzQApBCy.js";
|
|
8
8
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
9
9
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
10
|
-
import { t as FormField } from "./FormField-
|
|
11
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
12
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
13
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
10
|
+
import { t as FormField } from "./FormField-CHD4OJOt.js";
|
|
11
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
|
|
12
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-DB9PgioW.js";
|
|
13
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CFCY-fRJ.js";
|
|
14
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
15
|
import { memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
16
16
|
import { Time, createCalendar, getLocalTimeZone, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
@@ -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-B0miX3gu.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
5
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-CZTEsrS0.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { DateValue } from "react-aria";
|
|
8
8
|
import { DatePickerStateOptions } from "react-stately";
|
|
@@ -5,7 +5,7 @@ import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$
|
|
|
5
5
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.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---xiOXMQ.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-C3xb4Ttq.js";
|
|
2
|
-
import { t as BottomSheetProps } from "./BottomSheet-
|
|
2
|
+
import { t as BottomSheetProps } from "./BottomSheet-xaymO7aQ.js";
|
|
3
3
|
import { ReactElement } from "react";
|
|
4
4
|
import { Key, MenuItemProps } from "react-aria-components";
|
|
5
5
|
import { Placement } from "react-aria";
|
|
@@ -19,7 +19,7 @@ declare const menuItemDefinition: {
|
|
|
19
19
|
base: string[];
|
|
20
20
|
config: StyleMergeUtils.Config<{
|
|
21
21
|
readonly isMobile: {
|
|
22
|
-
true: ["justify-start! w-full font-
|
|
22
|
+
true: ["justify-start! w-full font-body font-bold"];
|
|
23
23
|
false: [];
|
|
24
24
|
};
|
|
25
25
|
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { a as menuItemDefinition, i as dropdownMenuDefinition, r as MenuItem, t as DropdownMenuDesktop } from "./DropdownMenuDesktop-
|
|
2
|
+
import { a as menuItemDefinition, i as dropdownMenuDefinition, r as MenuItem, t as DropdownMenuDesktop } from "./DropdownMenuDesktop-CGYxsavQ.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { o as $49319ee1285aa241$export$d9b273488cd8ce6f } from "./Dialog-CXoVeIkU.js";
|
|
5
5
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
6
6
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
7
7
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
8
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
8
|
+
import { t as useBreakpoint } from "./useBreakpoint-BOA-MyoT.js";
|
|
9
9
|
import { useRef, useState } from "react";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -39,24 +39,24 @@ const dropdownMenuDefinition = UIOverrides.defineConfig({
|
|
|
39
39
|
});
|
|
40
40
|
const menuItemDefinition = UIOverrides.defineConfig({
|
|
41
41
|
base: [
|
|
42
|
-
"flex cursor-pointer items-center justify-between gap-list-gap-
|
|
43
|
-
"border-b border-b-
|
|
44
|
-
"bg-
|
|
45
|
-
"disabled:cursor-default disabled:text-
|
|
46
|
-
"hover:bg-
|
|
47
|
-
"open:cursor-default open:bg-interactive-
|
|
48
|
-
"focus-visible:bg-
|
|
42
|
+
"flex cursor-pointer items-center justify-between gap-list-gap-icon-to-label px-list-side-item-left py-list-height-item has-submenu:pr-list-side-item-right",
|
|
43
|
+
"border-b border-b-border-default-subtle outline-none last:border-b-0",
|
|
44
|
+
"bg-surface-default-card text-surface-default-foreground",
|
|
45
|
+
"disabled:cursor-default disabled:text-tint-surface-default-foreground/50",
|
|
46
|
+
"not-disabled:not-open:not-focus-visible:hover:bg-tint-interactive-subtle-secondary-background/80 not-disabled:not-open:not-focus-visible:hover:text-tint-surface-default-foreground/80",
|
|
47
|
+
"open:cursor-default not-disabled:open:bg-interactive-primary-background not-disabled:open:text-interactive-primary-foreground",
|
|
48
|
+
"not-disabled:not-open:focus-visible:bg-tint-interactive-subtle-secondary-background/60 not-disabled:not-open:focus-visible:text-tint-surface-default-foreground/60 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-interactive-ring"
|
|
49
49
|
],
|
|
50
50
|
config: {
|
|
51
51
|
variants: { isMobile: {
|
|
52
|
-
true: ["justify-start! w-full font-
|
|
52
|
+
true: ["justify-start! w-full font-body font-bold"],
|
|
53
53
|
false: []
|
|
54
54
|
} },
|
|
55
55
|
defaultVariants: { isMobile: false }
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
const menuPopoverDefinition = UIOverrides.defineConfig({ base: ["pt-2 outline-none"] });
|
|
59
|
-
const menuPopoverWrapperDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden rounded-list-rounding-dropdown border border-
|
|
59
|
+
const menuPopoverWrapperDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden rounded-list-rounding-dropdown border border-border-default-subtle bg-surface-default-card shadow-5 outline-none"] });
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/components/DropdownMenu/MenuItem.tsx
|
|
62
62
|
const MenuItem = (t0) => {
|