@povio/ui 5.0.0-rc.2 → 5.0.0-rc.4
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 +3 -1
- package/README.md +50 -7
- package/dist/{Accordion-CzFKi8Bp.js → Accordion-BzwO4_ml.js} +20 -136
- package/dist/{Alert-T25LY8ZL.js → Alert-CnvEb1D_.js} +16 -12
- package/dist/{Alert-f1dG-4Uy.d.ts → Alert-DfiJbKH0.d.ts} +2 -1
- package/dist/{AlertDialog-B6R2MbNg.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
- package/dist/{Autocomplete-CQ63Cynd.d.ts → Autocomplete-BwNHp8fy.d.ts} +1 -1
- package/dist/{Badge-YKlKz-Jy.d.ts → Badge-CBNpj823.d.ts} +8 -5
- package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
- package/dist/{BottomSheet-DvqBvth_.js → BottomSheet-BXLE3161.js} +7 -6
- package/dist/{BottomSheet-xaymO7aQ.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-CGBRPve_.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
- package/dist/{Breadcrumbs-DyriI-Bi.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
- package/dist/{Breadcrumbs-DiIYJAWf.js → Breadcrumbs-FF8hMfXd.js} +24 -38
- package/dist/Button-C5rv4Cr2.js +506 -0
- package/dist/{Button-BZ3is6IU.d.ts → Button-D-4qb0IR.d.ts} +3 -3
- package/dist/{ButtonContent-B2_dZ6vA.js → ButtonContent-c7lJayVQ.js} +10 -8
- package/dist/{Calendar-DzQApBCy.js → Calendar-BTjajO6i.js} +25 -148
- package/dist/{CheckContent-DZ7Gk8GS.js → CheckContent-D7sZPmzx.js} +2 -2
- package/dist/{Checkbox-BepzfVfK.js → Checkbox-CV1ILXXO.js} +6 -6
- package/dist/{Checkbox-CHpgW3fI.d.ts → Checkbox-DVTWaMKa.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-B3lnOjsU.js → CheckboxCheckmark-CpC3wlMs.js} +11 -11
- package/dist/{CheckboxGroup-CXrR3A-c.d.ts → CheckboxGroup-DGF12cmB.d.ts} +3 -3
- package/dist/ComponentGallery-BWiPGUL8.js +3665 -0
- package/dist/{DatePicker-B3l9TEjW.d.ts → DatePicker-8xSs_jNd.d.ts} +3 -3
- package/dist/{DatePicker-CI87jC4_.js → DatePicker-DOLL7mkc.js} +17 -16
- package/dist/{DatePickerInput-UBZcTmdv.js → DatePickerInput-BLBcySA2.js} +16 -26
- package/dist/{DatePickerInput-CZTEsrS0.d.ts → DatePickerInput-D81ZJ3fT.d.ts} +3 -3
- package/dist/{DateRangePicker-BX2O5zA8.js → DateRangePicker-BF-1CztH.js} +23 -194
- package/dist/{DateRangePicker-DKkc2B3n.d.ts → DateRangePicker-Bfq-yDm7.d.ts} +3 -3
- package/dist/{DateTimePicker-CVfkp45w.js → DateTimePicker-Cj0qvJUz.js} +16 -15
- package/dist/{DateTimePicker-IHr-wPq8.d.ts → DateTimePicker-D4lHyf6P.d.ts} +3 -3
- package/dist/{Dialog-DdRP4YFC.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-zrodtd44.js → DropdownMenu-5jmtgLXd.js} +8 -6
- package/dist/{DropdownMenu-CWDhk3XA.d.ts → DropdownMenu-JNpYT4-3.d.ts} +3 -2
- package/dist/{DropdownMenuDesktop-CGYxsavQ.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
- package/dist/{FileInput-Dz1eESr_.js → FileInput-Br5DQaGQ.js} +10 -9
- package/dist/{FileInput-BQbn77bE.d.ts → FileInput-C4CE5kuP.d.ts} +5 -4
- package/dist/{FileTrigger-CDXcQthK.js → FileTrigger-Cthk5_Wp.js} +1 -30
- package/dist/{FileUpload-D3Io7Is5.js → FileUpload--7ub3EZO.js} +53 -140
- package/dist/{FileUpload-qySCMcLn.d.ts → FileUpload-CR7bZxV1.d.ts} +1 -1
- package/dist/{FileUploadContainer-qOyGvb5J.d.ts → FileUploadContainer-042ztsaL.d.ts} +1 -1
- package/dist/{Form-u_N_6mwo.d.ts → Form-BJ12MjE-.d.ts} +1 -1
- package/dist/{FormField-CHD4OJOt.js → FormField-B99dLt8o.js} +9 -9
- package/dist/{FormField-B0miX3gu.d.ts → FormField-Byiehm9y.d.ts} +1 -1
- package/dist/{FormFieldError-QRAFHUTt.js → FormFieldError-DeOHHLo2.js} +1 -1
- package/dist/FormFieldHeaderTooltip-BV2Ju4oB.js +17 -0
- package/dist/{IconButton-KXecZgYX.d.ts → IconButton-D4thBurp.d.ts} +2 -2
- package/dist/IconSlot-DSK7qNxc.js +79 -0
- package/dist/{InlineIconButton-CbKZ2U_a.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-g5yoeH1B.js → InlineTooltipWrapper-BpApaGXV.js} +3 -3
- package/dist/{Input-efmPwk8f.d.ts → Input-DOanwj3l.d.ts} +3 -3
- package/dist/{InputContent-DuBa9FuI.d.ts → InputContent-CXuP1ghQ.d.ts} +3 -3
- package/dist/{InputItem-2zf6QI5L.js → InputItem-CIxbTxZu.js} +11 -11
- package/dist/{Inputs-C-w03Q_F.d.ts → Inputs-DA73LmLc.d.ts} +1 -1
- package/dist/{Inputs-BceDTmdT.js → Inputs-DJSKiaWY.js} +1 -1
- package/dist/{Link-QYpprkN1.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
- package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
- package/dist/{MenuItem--Mjd_yK8.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
- package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
- package/dist/{NumberField-z2JatYK0.d.ts → NumberField-Cb9Gf6QJ.d.ts} +3 -3
- package/dist/NumberFormatter-CLDS_LRZ.js +265 -0
- package/dist/{NumberRangeInput-BxVrHq8R.js → NumberRangeInput-B8-LHfg3.js} +9 -8
- package/dist/{NumberRangeInput-Chai3iEi.d.ts → NumberRangeInput-BfbJQqzn.d.ts} +2 -2
- package/dist/{Pagination-CXtIDclf.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
- package/dist/{PaginationList-CXG4jWFD.d.ts → PaginationList-DMRUGtf8.d.ts} +1 -1
- package/dist/{PaginationList-0bAmvXC0.js → PaginationList-DtvuP63b.js} +2 -2
- package/dist/{PasswordInput-ub2TQxef.d.ts → PasswordInput-CLwFUgl0.d.ts} +1 -1
- package/dist/{Popover-DUKH0q9u.d.ts → Popover-BTHPteIh.d.ts} +2 -2
- package/dist/{Progress-DQWiFP0L.js → Progress-B3mY9rIP.js} +2 -2
- package/dist/{Progress-Dho39FDs.d.ts → Progress-CjWOR38H.d.ts} +2 -1
- package/dist/{QuerySelect-Bo1K6gi_.d.ts → QuerySelect-BGxb6Y0K.d.ts} +2 -2
- package/dist/{RadioGroup-B_zJdn4y.d.ts → RadioGroup-CZg2kIMk.d.ts} +3 -3
- package/dist/{RadioGroup-SSZYch-J.js → RadioGroup-DOw3PRoX.js} +13 -13
- package/dist/{RichTextEditor-D6RewmRj.js → RichTextEditor-D4yN7Wj7.js} +52 -133
- package/dist/{RichTextEditor-B_JX3nor.d.ts → RichTextEditor-YxuRUlI7.d.ts} +1 -1
- package/dist/{Select-CuZDkeQs.js → Select-UR0ec2Ux.js} +5 -4
- package/dist/{Select-DeapZMYx.d.ts → Select-pHbyJdZJ.d.ts} +1 -1
- package/dist/{SelectBase-7SE9Za2r.d.ts → SelectBase-Omiq2D3M.d.ts} +3 -3
- package/dist/{Slider-DJ9K_a-x.js → Slider-CzEmKYBF.js} +11 -11
- package/dist/{Slider-BFViQmM3.d.ts → Slider-EYlGCLWe.d.ts} +1 -1
- package/dist/{Spinner-BEYBu85B.js → Spinner-BeVTUzzx.js} +1 -1
- package/dist/{Spinner-BbcI6IOb.d.ts → Spinner-DbXeDOa2.d.ts} +2 -1
- package/dist/{SplitButton-lL87EcBL.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
- package/dist/{Stepper-C1YPgTBG.js → Stepper-Cp5vbL5g.js} +4 -117
- package/dist/{Stepper-hlhViuaK.d.ts → Stepper-TATlHZhQ.d.ts} +9 -8
- package/dist/{Switch-JxRmH1dX.js → Switch-CqnGEdeD.js} +11 -11
- package/dist/{Switch-DPftmB1b.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
- package/dist/Table-piX1SWvN.js +689 -0
- package/dist/Tag-AHfV_XSf.d.ts +44 -0
- package/dist/{Tag-HiDH438e.js → Tag-DPg5sL1Z.js} +22 -21
- package/dist/{TextArea-gikUKKDl.js → TextArea-D8WkKsGn.js} +7 -7
- package/dist/{TextArea-BhrCBGbq.d.ts → TextArea-l_keyLK7.d.ts} +2 -2
- package/dist/{TextButton-DnXRykhF.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
- package/dist/{TimePicker-CmT89X7v.d.ts → TimePicker-B1POvGWs.d.ts} +2 -2
- package/dist/{TimePicker-DtNTOOGr.js → TimePicker-C4taAOFQ.js} +15 -14
- package/dist/Toast-DtG3pA61.js +53 -0
- package/dist/{Toast-B4cXs2rj.d.ts → Toast-ruXqONDA.d.ts} +1 -1
- package/dist/{ToastContainer-BbsMIwtC.js → ToastContainer-qgpzMFD4.js} +4 -3
- package/dist/{ToggleButton-BGuzPJDO.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
- package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
- package/dist/{ToggleGroup-Cl0NS3fe.js → ToggleGroup-DOk27fgI.js} +29 -123
- package/dist/{Tooltip-aE1Vswxz.js → Tooltip-CpG1nz7Y.js} +8 -49
- package/dist/{Tooltip-D7dNwGy9.d.ts → Tooltip-DHv6vAqW.d.ts} +6 -5
- package/dist/{TooltipWrapper-CRf-JFeo.js → TooltipWrapper-3jyN0Wss.js} +4 -4
- package/dist/{Typography-B0Gp1lpc.js → Typography-LU4z2pR1.js} +2 -2
- package/dist/{Typography-BiuidzDC.d.ts → Typography-XljT9s02.d.ts} +1 -1
- package/dist/accordion.cva-CL1bVscW.js +129 -0
- package/dist/{autocomplete-BJ7rqWa4.d.ts → autocomplete-DeERHN8W.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-BvRI-3Gn.d.ts → button.cva-C7kEhgoA.d.ts} +7 -6
- package/dist/{buttonContent.cva-BDT_CReI.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
- package/dist/{checkbox-BfcE8J5P.d.ts → checkbox-DxIPDTK5.d.ts} +1 -1
- package/dist/{checkbox-group-CHs2wFHS.d.ts → checkbox-group-B3BOVshI.d.ts} +1 -1
- package/dist/{checkbox.cva-gv87kr1W.d.ts → checkbox.cva-t1Ox50hy.d.ts} +4 -3
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +4 -4
- 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 +5 -4
- 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 -37
- 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 +3 -3
- 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 +1 -1
- 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 +10 -9
- 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 +34 -30
- 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 +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 +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 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +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/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 +934 -0
- package/dist/config/ui-configurator.js +4555 -0
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/{confirmation.context-DPAKsLYl.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
- package/dist/{date-picker-BYFWSbN8.d.ts → date-picker-DnxDmlOW.d.ts} +1 -1
- package/dist/{date-range-picker-BaaXOObm.d.ts → date-range-picker-DHDOSvHN.d.ts} +1 -1
- package/dist/{date-time-picker-D42cTCgx.d.ts → date-time-picker-UkTa0OJ8.d.ts} +1 -1
- package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
- package/dist/{datePickerValue.utils-CFCY-fRJ.js → datePickerValue.utils-DCgoSrP3.js} +9 -9
- package/dist/{dialog.cva---xiOXMQ.js → dialog.cva-COhDZaVl.js} +4 -4
- package/dist/{dist-B8h0VT0E.js → dist-CAdwxJbe.js} +1 -208
- package/dist/{dom.utils-DjuRTR6U.js → dom.utils-D1AopHx9.js} +1 -1
- package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
- package/dist/{dynamicInputs-wEEikYeg.d.ts → dynamicInputs-iP39lVKf.d.ts} +102 -100
- package/dist/{fieldAdapter-C0lCFmf0.js → fieldAdapter-DjYls12j.js} +1 -1
- package/dist/{file-input-C56GXRwz.d.ts → file-input-DkbkdI7l.d.ts} +1 -1
- package/dist/{file-upload-Bx0X534g.d.ts → file-upload-CTsPhxJk.d.ts} +2 -2
- package/dist/fileUpload.cva-ujmStxB1.js +42 -0
- package/dist/{fileUpload.types-DWuQKA2l.d.ts → fileUpload.types-n5FxK_F-.d.ts} +2 -2
- package/dist/hooks/use-filters.js +1 -1
- 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 +57 -46
- package/dist/info-iUmX3uDk.js +32 -0
- package/dist/{input-D2kGX0hW.d.ts → input-CdQNCPgH.d.ts} +1 -1
- package/dist/{input.cva-BhDJxc7r.d.ts → input.cva-BsHgYa-L.d.ts} +3 -2
- package/dist/{input.cva-BcXyC1vZ.js → input.cva-DJA8ovm_.js} +9 -9
- package/dist/{link.context-CDZn6oL2.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
- package/dist/link.cva-DMTHZiJG.js +12 -0
- package/dist/{number-field-Bw2GKr0s.d.ts → number-field-CUDbenNV.d.ts} +1 -1
- package/dist/{number-range-input-Dqe6x2dR.d.ts → number-range-input-DZGrcvjL.d.ts} +1 -1
- package/dist/numberStatic.utils-BX50PSee.js +421 -0
- package/dist/{password-input-DepKyhh3.d.ts → password-input-fYN20cQO.d.ts} +1 -1
- package/dist/{popover.cva-BJSkLndY.js → popover.cva-Bhud1wnp.js} +1 -1
- package/dist/popoverAnimation-DEZSvKP8.js +4 -0
- package/dist/{query-autocomplete-BSpHin_R.d.ts → query-autocomplete-CfuQeiYG.d.ts} +2 -2
- package/dist/{query-select-m1DCp4UF.d.ts → query-select-CuT_sE6a.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-CrbVUmvl.d.ts → queryAutocomplete.types-tl3r6iaY.d.ts} +2 -2
- package/dist/{radio-group-Civ3Fb70.d.ts → radio-group-B3ccPf0p.d.ts} +1 -1
- package/dist/{radio.cva-BlOrmxzf.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-D8B7mLO1.js → rhf-t348TCCL.js} +1 -1
- package/dist/rhf.d.ts +87 -86
- package/dist/rhf.js +57 -46
- package/dist/{rich-text-editor-DvNEOIux.d.ts → rich-text-editor-B-Onl7T8.d.ts} +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{router.context-B0jTMtE0.js → router.context-B4FvsTim.js} +2 -2
- package/dist/{select-DY5QtwqI.d.ts → select-B4a52eWW.d.ts} +2 -2
- package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
- package/dist/{slider-CrB-Gkcv.d.ts → slider-dNj9jruO.d.ts} +1 -1
- package/dist/staticDateTimeSegments-DtU63_dw.js +1764 -0
- package/dist/{staticSelect.utils-Cm7MoDVG.js → staticSelect.utils-uHa8f_c6.js} +33 -231
- package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
- package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
- package/dist/styles/color-utilities.css +13 -25
- package/dist/styles/configurator.css +2365 -0
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-8WzXfTS8.d.ts → switch-C--iWnY8.d.ts} +1 -1
- package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
- package/dist/table.cva-DlMT-zLD.js +48 -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 +68 -55
- package/dist/{text-area-CqnKRWKq.d.ts → text-area-DQAtpOQp.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-Cz1GIzpF.d.ts → time-picker-DoGfbil6.d.ts} +1 -1
- package/dist/{toast.cva-Cj6o2Rmu.d.ts → toast.cva-By5lvAfr.d.ts} +3 -2
- package/dist/toast.cva-C_L_RffH.js +163 -0
- package/dist/{toast.runtime-CIKvmkjo.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-jtp6WWUH.d.ts → typography.cva-D1JOEYl-.d.ts} +2 -1
- package/dist/{typography.cva-CJZZSGXW.js → typography.cva-iD15k56p.js} +1 -1
- package/dist/{uiConfig.context-D2eUIPHn.js → uiConfig.context-BS3r_kTS.js} +1 -1
- package/dist/{uiConfig.context-aoarCLYX.d.ts → uiConfig.context-DeBX2beU.d.ts} +8 -8
- 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-BOA-MyoT.js → useBreakpoint-DQoMN-BG.js} +1 -1
- package/dist/useControlledState-CzXkZCX8.js +30 -0
- package/dist/{useFieldAccessibility-D2_Qm26-.js → useFieldAccessibility-ScC6Mtd5.js} +15 -8
- package/dist/{useFilters-kkEUFKmQ.js → useFilters-XNH27Md2.js} +1 -1
- package/dist/{useFormAutosave-BYFn3LH8.js → useFormAutosave-DfuP7drj.js} +2 -2
- package/dist/{useStaticInputHandoff-DB9PgioW.js → useStaticInputHandoff-NeZVnci-.js} +14 -11
- package/dist/useTableColumnConfig-BTGZiluz.js +892 -0
- package/dist/{useTableNav-D9mICzNW.d.ts → useTableNav-Ckj5PBRk.d.ts} +3 -2
- package/dist/{useToast-DMSm59Y6.d.ts → useToast-yreVCUer.d.ts} +1 -1
- package/package.json +31 -5
- package/src/configurator/README.md +71 -0
- package/dist/Button-sn52l1Yv.js +0 -506
- package/dist/FocusScope-CO9oJ1sc.js +0 -343
- package/dist/FormFieldHeaderTooltip-Dl24v4_j.js +0 -45
- package/dist/Link-Btxj2gzg.js +0 -42
- package/dist/PillButton-DASBXLFB.d.ts +0 -15
- package/dist/Tag-Cch_68QO.d.ts +0 -43
- package/dist/chain-DIXr2VAT.js +0 -10
- package/dist/components/pill-button.d.ts +0 -2
- package/dist/focusSafely-DCGrr2bb.js +0 -447
- package/dist/getScrollParent-kSR7EtoT.js +0 -47
- package/dist/numberStatic.utils-BMgRzyd3.js +0 -902
- package/dist/openLink-CQhMhfzO.js +0 -121
- package/dist/pillButton.cva-BEWuu0qm.d.ts +0 -34
- package/dist/pillButton.cva-DlP5tOT5.js +0 -197
- package/dist/platform-BXNIIAfU.js +0 -42
- package/dist/staticDateTimeSegments-DR8bJw-F.js +0 -3605
- package/dist/switch.cva-8T0fw31t.d.ts +0 -15
- package/dist/useControlledState-DQxX6LMN.js +0 -189
- package/dist/useFocusable-Bd0UsrQ7.js +0 -63
- package/dist/useFormValidationState-D3z-gafz.js +0 -1341
- package/dist/useLayoutEffect-B2-1tbPJ.js +0 -83
- package/dist/useSyncRef-RGMv0rXK.js +0 -338
- package/dist/useTableColumnConfig-CcJxu14U.js +0 -1625
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as NumberRangeInputProps } from "./NumberRangeInput-
|
|
1
|
+
import { r as NumberRangeInputProps } from "./NumberRangeInput-BfbJQqzn.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { FieldValues } from "react-hook-form";
|
|
4
4
|
//#region src/entries/rhf/number-range-input.d.ts
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
|
|
2
|
+
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-CLDS_LRZ.js";
|
|
3
|
+
import { useCallback, useMemo, useState } from "react";
|
|
4
|
+
//#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/utils/number.mjs
|
|
5
|
+
/**
|
|
6
|
+
* Takes a value and forces it to the closest min/max if it's outside. Also forces it to the closest
|
|
7
|
+
* valid step.
|
|
8
|
+
*/ function $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, min = -Infinity, max = Infinity) {
|
|
9
|
+
return Math.min(Math.max(value, min), max);
|
|
10
|
+
}
|
|
11
|
+
function $240e9101ba2842f5$export$e1a7b8e69ef6c52f(value, step) {
|
|
12
|
+
let roundedValue = value;
|
|
13
|
+
let precision = 0;
|
|
14
|
+
let stepString = step.toString();
|
|
15
|
+
let eIndex = stepString.toLowerCase().indexOf("e-");
|
|
16
|
+
if (eIndex > 0) precision = Math.abs(Math.floor(Math.log10(Math.abs(step)))) + eIndex;
|
|
17
|
+
else {
|
|
18
|
+
let pointIndex = stepString.indexOf(".");
|
|
19
|
+
if (pointIndex >= 0) precision = stepString.length - pointIndex;
|
|
20
|
+
}
|
|
21
|
+
if (precision > 0) {
|
|
22
|
+
let pow = Math.pow(10, precision);
|
|
23
|
+
roundedValue = Math.round(roundedValue * pow) / pow;
|
|
24
|
+
}
|
|
25
|
+
return roundedValue;
|
|
26
|
+
}
|
|
27
|
+
function $240e9101ba2842f5$export$cb6e0bb50bc19463(value, min, max, step) {
|
|
28
|
+
min = Number(min);
|
|
29
|
+
max = Number(max);
|
|
30
|
+
let remainder = (value - (isNaN(min) ? 0 : min)) % step;
|
|
31
|
+
let snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(Math.abs(remainder) * 2 >= step ? value + Math.sign(remainder) * (step - Math.abs(remainder)) : value - remainder, step);
|
|
32
|
+
if (!isNaN(min)) {
|
|
33
|
+
if (snappedValue < min) snappedValue = min;
|
|
34
|
+
else if (!isNaN(max) && snappedValue > max) snappedValue = min + Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f((max - min) / step, step)) * step;
|
|
35
|
+
} else if (!isNaN(max) && snappedValue > max) snappedValue = Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f(max / step, step)) * step;
|
|
36
|
+
snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(snappedValue, step);
|
|
37
|
+
return snappedValue;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region ../../node_modules/.bun/@internationalized+number@3.6.8/node_modules/@internationalized/number/dist/private/NumberParser.mjs
|
|
41
|
+
const $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX = /* @__PURE__ */ new RegExp("^.*\\(.*\\).*$");
|
|
42
|
+
const $eb76cf4feb040f77$var$NUMBERING_SYSTEMS = [
|
|
43
|
+
"latn",
|
|
44
|
+
"arab",
|
|
45
|
+
"hanidec",
|
|
46
|
+
"deva",
|
|
47
|
+
"beng",
|
|
48
|
+
"fullwide"
|
|
49
|
+
];
|
|
50
|
+
var $eb76cf4feb040f77$export$cd11ab140839f11d = class {
|
|
51
|
+
constructor(locale, options = {}) {
|
|
52
|
+
this.locale = locale;
|
|
53
|
+
this.options = options;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Parses the given string to a number. Returns NaN if a valid number could not be parsed.
|
|
57
|
+
*/ parse(value) {
|
|
58
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).parse(value);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns whether the given string could potentially be a valid number. This should be used to
|
|
62
|
+
* validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
|
|
63
|
+
* of the minus/plus sign characters can be checked.
|
|
64
|
+
*/ isValidPartialNumber(value, minValue, maxValue) {
|
|
65
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).isValidPartialNumber(value, minValue, maxValue);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns a numbering system for which the given string is valid in the current locale.
|
|
69
|
+
* If no numbering system could be detected, the default numbering system for the current
|
|
70
|
+
* locale is returned.
|
|
71
|
+
*/ getNumberingSystem(value) {
|
|
72
|
+
return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).options.numberingSystem;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
const $eb76cf4feb040f77$var$numberParserCache = /* @__PURE__ */ new Map();
|
|
76
|
+
function $eb76cf4feb040f77$var$getNumberParserImpl(locale, options, value) {
|
|
77
|
+
let defaultParser = $eb76cf4feb040f77$var$getCachedNumberParser(locale, options);
|
|
78
|
+
if (!locale.includes("-nu-") && !defaultParser.isValidPartialNumber(value)) {
|
|
79
|
+
for (let numberingSystem of $eb76cf4feb040f77$var$NUMBERING_SYSTEMS) if (numberingSystem !== defaultParser.options.numberingSystem) {
|
|
80
|
+
let parser = $eb76cf4feb040f77$var$getCachedNumberParser(locale + (locale.includes("-u-") ? "-nu-" : "-u-nu-") + numberingSystem, options);
|
|
81
|
+
if (parser.isValidPartialNumber(value)) return parser;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return defaultParser;
|
|
85
|
+
}
|
|
86
|
+
function $eb76cf4feb040f77$var$getCachedNumberParser(locale, options) {
|
|
87
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
88
|
+
let parser = $eb76cf4feb040f77$var$numberParserCache.get(cacheKey);
|
|
89
|
+
if (!parser) {
|
|
90
|
+
parser = new $eb76cf4feb040f77$var$NumberParserImpl(locale, options);
|
|
91
|
+
$eb76cf4feb040f77$var$numberParserCache.set(cacheKey, parser);
|
|
92
|
+
}
|
|
93
|
+
return parser;
|
|
94
|
+
}
|
|
95
|
+
var $eb76cf4feb040f77$var$NumberParserImpl = class {
|
|
96
|
+
constructor(locale, options = {}) {
|
|
97
|
+
this.locale = locale;
|
|
98
|
+
if (options.roundingIncrement !== 1 && options.roundingIncrement != null) {
|
|
99
|
+
if (options.maximumFractionDigits == null && options.minimumFractionDigits == null) {
|
|
100
|
+
options.maximumFractionDigits = 0;
|
|
101
|
+
options.minimumFractionDigits = 0;
|
|
102
|
+
} else if (options.maximumFractionDigits == null) options.maximumFractionDigits = options.minimumFractionDigits;
|
|
103
|
+
else if (options.minimumFractionDigits == null) options.minimumFractionDigits = options.maximumFractionDigits;
|
|
104
|
+
}
|
|
105
|
+
this.formatter = new Intl.NumberFormat(locale, options);
|
|
106
|
+
this.options = this.formatter.resolvedOptions();
|
|
107
|
+
this.symbols = $eb76cf4feb040f77$var$getSymbols(locale, this.formatter, this.options, options);
|
|
108
|
+
if (this.options.style === "percent" && ((this.options.minimumFractionDigits ?? 0) > 18 || (this.options.maximumFractionDigits ?? 0) > 18)) console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
|
|
109
|
+
}
|
|
110
|
+
parse(value) {
|
|
111
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
112
|
+
let fullySanitizedValue = this.sanitize(value);
|
|
113
|
+
if (!isGroupSymbolAllowed && this.symbols.group && fullySanitizedValue.includes(this.symbols.group)) return NaN;
|
|
114
|
+
else if (this.symbols.group) fullySanitizedValue = fullySanitizedValue.replaceAll(this.symbols.group, "");
|
|
115
|
+
if (this.symbols.decimal) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.decimal, ".");
|
|
116
|
+
if (this.symbols.minusSign) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.minusSign, "-");
|
|
117
|
+
fullySanitizedValue = fullySanitizedValue.replace(this.symbols.numeral, this.symbols.index);
|
|
118
|
+
if (this.options.style === "percent") {
|
|
119
|
+
let isNegative = fullySanitizedValue.indexOf("-");
|
|
120
|
+
fullySanitizedValue = fullySanitizedValue.replace("-", "");
|
|
121
|
+
fullySanitizedValue = fullySanitizedValue.replace("+", "");
|
|
122
|
+
let index = fullySanitizedValue.indexOf(".");
|
|
123
|
+
if (index === -1) index = fullySanitizedValue.length;
|
|
124
|
+
fullySanitizedValue = fullySanitizedValue.replace(".", "");
|
|
125
|
+
if (index - 2 === 0) fullySanitizedValue = `0.${fullySanitizedValue}`;
|
|
126
|
+
else if (index - 2 === -1) fullySanitizedValue = `0.0${fullySanitizedValue}`;
|
|
127
|
+
else if (index - 2 === -2) fullySanitizedValue = "0.00";
|
|
128
|
+
else fullySanitizedValue = `${fullySanitizedValue.slice(0, index - 2)}.${fullySanitizedValue.slice(index - 2)}`;
|
|
129
|
+
if (isNegative > -1) fullySanitizedValue = `-${fullySanitizedValue}`;
|
|
130
|
+
}
|
|
131
|
+
let newValue = fullySanitizedValue ? +fullySanitizedValue : NaN;
|
|
132
|
+
if (isNaN(newValue)) return NaN;
|
|
133
|
+
if (this.options.style === "percent") {
|
|
134
|
+
let options = {
|
|
135
|
+
...this.options,
|
|
136
|
+
style: "decimal",
|
|
137
|
+
minimumFractionDigits: Math.min((this.options.minimumFractionDigits ?? 0) + 2, 20),
|
|
138
|
+
maximumFractionDigits: Math.min((this.options.maximumFractionDigits ?? 0) + 2, 20)
|
|
139
|
+
};
|
|
140
|
+
return new $eb76cf4feb040f77$export$cd11ab140839f11d(this.locale, options).parse(new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(this.locale, options).format(newValue));
|
|
141
|
+
}
|
|
142
|
+
if (this.options.currencySign === "accounting" && $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX.test(value)) newValue = -1 * newValue;
|
|
143
|
+
return newValue;
|
|
144
|
+
}
|
|
145
|
+
sanitize(value) {
|
|
146
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
147
|
+
if (this.symbols.noNumeralUnits.length > 0 && this.symbols.noNumeralUnits.find((obj) => obj.unit === value)) return this.symbols.noNumeralUnits.find((obj) => obj.unit === value).value.toString();
|
|
148
|
+
value = value.replace(this.symbols.literals, "");
|
|
149
|
+
if (this.symbols.minusSign) value = value.replace("-", this.symbols.minusSign);
|
|
150
|
+
if (this.options.numberingSystem === "arab") {
|
|
151
|
+
if (this.symbols.decimal) {
|
|
152
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, ",", this.symbols.decimal);
|
|
153
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, String.fromCharCode(1548), this.symbols.decimal);
|
|
154
|
+
}
|
|
155
|
+
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, ".", this.symbols.group);
|
|
156
|
+
}
|
|
157
|
+
if (this.symbols.group === "’" && value.includes("'") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "'", this.symbols.group);
|
|
158
|
+
if (this.symbols.group === "'" && value.includes("’") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "’", this.symbols.group);
|
|
159
|
+
if (this.options.locale === "fr-FR" && this.symbols.group && isGroupSymbolAllowed) {
|
|
160
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, " ", this.symbols.group);
|
|
161
|
+
value = $eb76cf4feb040f77$var$replaceAll(value, /\u00A0/g, this.symbols.group);
|
|
162
|
+
}
|
|
163
|
+
return value;
|
|
164
|
+
}
|
|
165
|
+
isValidPartialNumber(value, minValue = -Infinity, maxValue = Infinity) {
|
|
166
|
+
let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
|
|
167
|
+
value = this.sanitize(value);
|
|
168
|
+
if (this.symbols.minusSign && value.startsWith(this.symbols.minusSign) && minValue < 0) value = value.slice(this.symbols.minusSign.length);
|
|
169
|
+
else if (this.symbols.plusSign && value.startsWith(this.symbols.plusSign) && maxValue > 0) value = value.slice(this.symbols.plusSign.length);
|
|
170
|
+
if (this.symbols.decimal && value.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0) return false;
|
|
171
|
+
if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, this.symbols.group, "");
|
|
172
|
+
value = value.replace(this.symbols.numeral, "");
|
|
173
|
+
if (this.symbols.decimal) value = value.replace(this.symbols.decimal, "");
|
|
174
|
+
return value.length === 0;
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
const $eb76cf4feb040f77$var$nonLiteralParts = /* @__PURE__ */ new Set([
|
|
178
|
+
"decimal",
|
|
179
|
+
"fraction",
|
|
180
|
+
"integer",
|
|
181
|
+
"minusSign",
|
|
182
|
+
"plusSign",
|
|
183
|
+
"group"
|
|
184
|
+
]);
|
|
185
|
+
const $eb76cf4feb040f77$var$pluralNumbers = [
|
|
186
|
+
0,
|
|
187
|
+
4,
|
|
188
|
+
2,
|
|
189
|
+
1,
|
|
190
|
+
11,
|
|
191
|
+
20,
|
|
192
|
+
3,
|
|
193
|
+
7,
|
|
194
|
+
100,
|
|
195
|
+
21,
|
|
196
|
+
.1,
|
|
197
|
+
1.1
|
|
198
|
+
];
|
|
199
|
+
function $eb76cf4feb040f77$var$getSymbols(locale, formatter, intlOptions, originalOptions) {
|
|
200
|
+
let symbolFormatter = new Intl.NumberFormat(locale, {
|
|
201
|
+
...intlOptions,
|
|
202
|
+
minimumSignificantDigits: 1,
|
|
203
|
+
maximumSignificantDigits: 21,
|
|
204
|
+
roundingIncrement: 1,
|
|
205
|
+
roundingPriority: "auto",
|
|
206
|
+
roundingMode: "halfExpand",
|
|
207
|
+
useGrouping: true
|
|
208
|
+
});
|
|
209
|
+
let allParts = symbolFormatter.formatToParts(-10000.111);
|
|
210
|
+
let posAllParts = symbolFormatter.formatToParts(10000.111);
|
|
211
|
+
let pluralParts = $eb76cf4feb040f77$var$pluralNumbers.map((n) => symbolFormatter.formatToParts(n));
|
|
212
|
+
let noNumeralUnits = pluralParts.map((p, i) => {
|
|
213
|
+
let unit = p.find((p) => p.type === "unit");
|
|
214
|
+
if (unit && !p.some((p) => p.type === "integer" || p.type === "fraction")) return {
|
|
215
|
+
unit: unit.value,
|
|
216
|
+
value: $eb76cf4feb040f77$var$pluralNumbers[i]
|
|
217
|
+
};
|
|
218
|
+
return null;
|
|
219
|
+
}).filter((p) => !!p);
|
|
220
|
+
let minusSign = allParts.find((p) => p.type === "minusSign")?.value ?? "-";
|
|
221
|
+
let plusSign = posAllParts.find((p) => p.type === "plusSign")?.value;
|
|
222
|
+
if (!plusSign && (originalOptions?.signDisplay === "exceptZero" || originalOptions?.signDisplay === "always")) plusSign = "+";
|
|
223
|
+
let decimal = new Intl.NumberFormat(locale, {
|
|
224
|
+
...intlOptions,
|
|
225
|
+
minimumFractionDigits: 2,
|
|
226
|
+
maximumFractionDigits: 2
|
|
227
|
+
}).formatToParts(.001).find((p) => p.type === "decimal")?.value;
|
|
228
|
+
let group = allParts.find((p) => p.type === "group")?.value;
|
|
229
|
+
let allPartsLiterals = allParts.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value));
|
|
230
|
+
let pluralPartsLiterals = pluralParts.flatMap((p) => p.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value)));
|
|
231
|
+
let sortedLiterals = [.../* @__PURE__ */ new Set([...allPartsLiterals, ...pluralPartsLiterals])].sort((a, b) => b.length - a.length);
|
|
232
|
+
let literals = sortedLiterals.length === 0 ? /* @__PURE__ */ new RegExp("\\p{White_Space}|\\p{Cf}", "gu") : new RegExp(`${sortedLiterals.join("|")}|\\p{White_Space}|\\p{Cf}`, "gu");
|
|
233
|
+
let numerals = [...new Intl.NumberFormat(intlOptions.locale, { useGrouping: false }).format(9876543210)].reverse();
|
|
234
|
+
let indexes = new Map(numerals.map((d, i) => [d, i]));
|
|
235
|
+
let numeral = new RegExp(`[${numerals.join("")}]`, "g");
|
|
236
|
+
let index = (d) => String(indexes.get(d));
|
|
237
|
+
return {
|
|
238
|
+
minusSign,
|
|
239
|
+
plusSign,
|
|
240
|
+
decimal,
|
|
241
|
+
group,
|
|
242
|
+
literals,
|
|
243
|
+
numeral,
|
|
244
|
+
numerals,
|
|
245
|
+
index,
|
|
246
|
+
noNumeralUnits
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
function $eb76cf4feb040f77$var$replaceAll(str, find, replace) {
|
|
250
|
+
if (str.replaceAll) return str.replaceAll(find, replace);
|
|
251
|
+
return str.split(find).join(replace);
|
|
252
|
+
}
|
|
253
|
+
function $eb76cf4feb040f77$var$escapeRegex(string) {
|
|
254
|
+
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
257
|
+
//#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/numberfield/useNumberFieldState.mjs
|
|
258
|
+
function $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(props) {
|
|
259
|
+
let { minValue, maxValue, step, formatOptions, value, defaultValue = NaN, onChange, locale, isDisabled, isReadOnly, commitBehavior = "snap" } = props;
|
|
260
|
+
if (value === null) value = NaN;
|
|
261
|
+
let snapValue = useCallback((value) => {
|
|
262
|
+
return step === void 0 || isNaN(step) ? $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, minValue, maxValue) : $240e9101ba2842f5$export$cb6e0bb50bc19463(value, minValue, maxValue, step);
|
|
263
|
+
}, [
|
|
264
|
+
step,
|
|
265
|
+
minValue,
|
|
266
|
+
maxValue
|
|
267
|
+
]);
|
|
268
|
+
if (value !== void 0 && !isNaN(value) && commitBehavior === "snap") value = snapValue(value);
|
|
269
|
+
if (!isNaN(defaultValue) && commitBehavior === "snap") defaultValue = snapValue(defaultValue);
|
|
270
|
+
let [numberValue, setNumberValue] = $3e6197669829fe11$export$40bfa8c7b0832715(value, isNaN(defaultValue) ? NaN : defaultValue, onChange);
|
|
271
|
+
let [initialValue] = useState(numberValue);
|
|
272
|
+
let [inputValue, setInputValue] = useState(() => isNaN(numberValue) ? "" : new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, formatOptions).format(numberValue));
|
|
273
|
+
let numberParser = useMemo(() => new $eb76cf4feb040f77$export$cd11ab140839f11d(locale, formatOptions), [locale, formatOptions]);
|
|
274
|
+
let numberingSystem = useMemo(() => numberParser.getNumberingSystem(inputValue), [numberParser, inputValue]);
|
|
275
|
+
let formatter = useMemo(() => new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, {
|
|
276
|
+
...formatOptions,
|
|
277
|
+
numberingSystem
|
|
278
|
+
}), [
|
|
279
|
+
locale,
|
|
280
|
+
formatOptions,
|
|
281
|
+
numberingSystem
|
|
282
|
+
]);
|
|
283
|
+
let intlOptions = useMemo(() => formatter.resolvedOptions(), [formatter]);
|
|
284
|
+
let format = useCallback((value) => isNaN(value) || value === null ? "" : formatter.format(value), [formatter]);
|
|
285
|
+
let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
286
|
+
...props,
|
|
287
|
+
value: numberValue
|
|
288
|
+
});
|
|
289
|
+
let clampStep = step !== void 0 && !isNaN(step) ? step : 1;
|
|
290
|
+
if (intlOptions.style === "percent" && (step === void 0 || isNaN(step))) clampStep = .01;
|
|
291
|
+
let [prevValue, setPrevValue] = useState(numberValue);
|
|
292
|
+
let [prevLocale, setPrevLocale] = useState(locale);
|
|
293
|
+
let [prevFormatOptions, setPrevFormatOptions] = useState(formatOptions);
|
|
294
|
+
if (!Object.is(numberValue, prevValue) || locale !== prevLocale || !$3d0ee518c6f3d04f$var$isEqualFormatOptions(formatOptions, prevFormatOptions)) {
|
|
295
|
+
setInputValue(format(numberValue));
|
|
296
|
+
setPrevValue(numberValue);
|
|
297
|
+
setPrevLocale(locale);
|
|
298
|
+
setPrevFormatOptions(formatOptions);
|
|
299
|
+
}
|
|
300
|
+
let parsedValue = useMemo(() => numberParser.parse(inputValue), [numberParser, inputValue]);
|
|
301
|
+
let commit = (overrideValue) => {
|
|
302
|
+
let newInputValue = overrideValue === void 0 ? inputValue : overrideValue;
|
|
303
|
+
let newParsedValue = parsedValue;
|
|
304
|
+
if (overrideValue !== void 0) newParsedValue = numberParser.parse(newInputValue);
|
|
305
|
+
if (!newInputValue.length) {
|
|
306
|
+
setNumberValue(NaN);
|
|
307
|
+
setInputValue(value === void 0 ? "" : format(numberValue));
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
if (isNaN(newParsedValue)) {
|
|
311
|
+
setInputValue(format(numberValue));
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
let clampedValue = commitBehavior === "snap" ? snapValue(newParsedValue) : newParsedValue;
|
|
315
|
+
clampedValue = numberParser.parse(format(clampedValue));
|
|
316
|
+
let shouldValidate = clampedValue !== numberValue;
|
|
317
|
+
setNumberValue(clampedValue);
|
|
318
|
+
setInputValue(format(value === void 0 ? clampedValue : numberValue));
|
|
319
|
+
if (shouldValidate) validation.commitValidation();
|
|
320
|
+
};
|
|
321
|
+
let safeNextStep = (operation, minMax = 0) => {
|
|
322
|
+
let prev = parsedValue;
|
|
323
|
+
if (isNaN(prev)) return $240e9101ba2842f5$export$cb6e0bb50bc19463(isNaN(minMax) ? 0 : minMax, minValue, maxValue, clampStep);
|
|
324
|
+
else {
|
|
325
|
+
let newValue = $240e9101ba2842f5$export$cb6e0bb50bc19463(prev, minValue, maxValue, clampStep);
|
|
326
|
+
if (operation === "+" && newValue > prev || operation === "-" && newValue < prev) return newValue;
|
|
327
|
+
return $240e9101ba2842f5$export$cb6e0bb50bc19463($3d0ee518c6f3d04f$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep);
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
let increment = () => {
|
|
331
|
+
let newValue = safeNextStep("+", minValue);
|
|
332
|
+
if (newValue === numberValue) setInputValue(format(newValue));
|
|
333
|
+
setNumberValue(newValue);
|
|
334
|
+
validation.commitValidation();
|
|
335
|
+
};
|
|
336
|
+
let decrement = () => {
|
|
337
|
+
let newValue = safeNextStep("-", maxValue);
|
|
338
|
+
if (newValue === numberValue) setInputValue(format(newValue));
|
|
339
|
+
setNumberValue(newValue);
|
|
340
|
+
validation.commitValidation();
|
|
341
|
+
};
|
|
342
|
+
let incrementToMax = () => {
|
|
343
|
+
if (maxValue != null) {
|
|
344
|
+
setNumberValue($240e9101ba2842f5$export$cb6e0bb50bc19463(maxValue, minValue, maxValue, clampStep));
|
|
345
|
+
validation.commitValidation();
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
let decrementToMin = () => {
|
|
349
|
+
if (minValue != null) {
|
|
350
|
+
setNumberValue(minValue);
|
|
351
|
+
validation.commitValidation();
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
let canIncrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || maxValue === void 0 || isNaN(maxValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) > parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("+", parsedValue, clampStep) <= maxValue), [
|
|
355
|
+
isDisabled,
|
|
356
|
+
isReadOnly,
|
|
357
|
+
minValue,
|
|
358
|
+
maxValue,
|
|
359
|
+
clampStep,
|
|
360
|
+
parsedValue
|
|
361
|
+
]);
|
|
362
|
+
let canDecrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || minValue === void 0 || isNaN(minValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) < parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("-", parsedValue, clampStep) >= minValue), [
|
|
363
|
+
isDisabled,
|
|
364
|
+
isReadOnly,
|
|
365
|
+
minValue,
|
|
366
|
+
maxValue,
|
|
367
|
+
clampStep,
|
|
368
|
+
parsedValue
|
|
369
|
+
]);
|
|
370
|
+
let validate = (value) => numberParser.isValidPartialNumber(value, minValue, maxValue);
|
|
371
|
+
return {
|
|
372
|
+
...validation,
|
|
373
|
+
validate,
|
|
374
|
+
increment,
|
|
375
|
+
incrementToMax,
|
|
376
|
+
decrement,
|
|
377
|
+
decrementToMin,
|
|
378
|
+
canIncrement,
|
|
379
|
+
canDecrement,
|
|
380
|
+
minValue,
|
|
381
|
+
maxValue,
|
|
382
|
+
numberValue: parsedValue,
|
|
383
|
+
defaultNumberValue: isNaN(defaultValue) ? initialValue : defaultValue,
|
|
384
|
+
setNumberValue,
|
|
385
|
+
setInputValue,
|
|
386
|
+
inputValue,
|
|
387
|
+
commit
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
function $3d0ee518c6f3d04f$var$isEqualFormatOptions(a, b) {
|
|
391
|
+
if (a === b) return true;
|
|
392
|
+
if (!a || !b) return false;
|
|
393
|
+
let aKeys = Object.keys(a);
|
|
394
|
+
let bKeys = Object.keys(b);
|
|
395
|
+
if (aKeys.length !== bKeys.length) return false;
|
|
396
|
+
for (let key of aKeys) if (b[key] !== a[key]) return false;
|
|
397
|
+
return true;
|
|
398
|
+
}
|
|
399
|
+
function $3d0ee518c6f3d04f$var$handleDecimalOperation(operator, value1, value2) {
|
|
400
|
+
let result = operator === "+" ? value1 + value2 : value1 - value2;
|
|
401
|
+
if (value1 % 1 !== 0 || value2 % 1 !== 0) {
|
|
402
|
+
const value1Decimal = value1.toString().split(".");
|
|
403
|
+
const value2Decimal = value2.toString().split(".");
|
|
404
|
+
const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0;
|
|
405
|
+
const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0;
|
|
406
|
+
const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));
|
|
407
|
+
value1 = Math.round(value1 * multiplier);
|
|
408
|
+
value2 = Math.round(value2 * multiplier);
|
|
409
|
+
result = operator === "+" ? value1 + value2 : value1 - value2;
|
|
410
|
+
result /= multiplier;
|
|
411
|
+
}
|
|
412
|
+
return result;
|
|
413
|
+
}
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region src/components/inputs/Input/shared/numberStatic.utils.ts
|
|
416
|
+
const getStaticNumberDisplayValue = (value, formatter) => {
|
|
417
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return null;
|
|
418
|
+
return formatter.format(value);
|
|
419
|
+
};
|
|
420
|
+
//#endregion
|
|
421
|
+
export { $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c as n, getStaticNumberDisplayValue as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as PasswordInputProps } from "./PasswordInput-
|
|
1
|
+
import { r as PasswordInputProps } from "./PasswordInput-CLwFUgl0.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { FieldValues } from "react-hook-form";
|
|
4
4
|
//#region src/entries/rhf/password-input.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
2
|
//#region src/components/shared/popover.cva.ts
|
|
3
3
|
const popoverDefinition = UIOverrides.defineConfig({ base: ["rounded-list-rounding-dropdown border border-border-default-subtle border-solid bg-surface-default-card shadow-5 outline-none"] });
|
|
4
4
|
//#endregion
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/components/shared/popoverAnimation.ts
|
|
2
|
+
const popoverAnimationClassName = "origin-(--trigger-anchor-point) transition-[opacity,scale] duration-150 ease-out starting:scale-96 starting:opacity-0 entering:scale-96 entering:opacity-0 exiting:scale-96 exiting:opacity-0 exiting:duration-100 motion-reduce:transition-none";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { popoverAnimationClassName as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as SelectItem } from "./SelectBase-
|
|
2
|
-
import { n as QueryFn, t as QueryAutocompleteProps$1 } from "./queryAutocomplete.types-
|
|
1
|
+
import { s as SelectItem } from "./SelectBase-Omiq2D3M.js";
|
|
2
|
+
import { n as QueryFn, t as QueryAutocompleteProps$1 } from "./queryAutocomplete.types-tl3r6iaY.js";
|
|
3
3
|
import { n as FormControl } from "./form.types-ZNGbcqJS.js";
|
|
4
4
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
5
5
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DefaultInitialSelectItem } from "./SelectBase-
|
|
2
|
-
import { n as QuerySelectProps$1, t as QuerySelect$1 } from "./QuerySelect-
|
|
1
|
+
import { t as DefaultInitialSelectItem } from "./SelectBase-Omiq2D3M.js";
|
|
2
|
+
import { n as QuerySelectProps$1, t as QuerySelect$1 } from "./QuerySelect-BGxb6Y0K.js";
|
|
3
3
|
import { n as FormControl } from "./form.types-ZNGbcqJS.js";
|
|
4
4
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
5
5
|
import { Key } from "react-aria-components";
|
package/dist/{queryAutocomplete.types-CrbVUmvl.d.ts → queryAutocomplete.types-tl3r6iaY.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { n as GroupedSelectControlProps, r as GroupedSelectProps, s as SelectItem } from "./SelectBase-
|
|
2
|
+
import { n as GroupedSelectControlProps, r as GroupedSelectProps, s as SelectItem } from "./SelectBase-Omiq2D3M.js";
|
|
3
3
|
import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
|
|
4
|
-
import { n as AutocompleteProps } from "./Autocomplete-
|
|
4
|
+
import { n as AutocompleteProps } from "./Autocomplete-BwNHp8fy.js";
|
|
5
5
|
import { Key } from "react-aria-components";
|
|
6
6
|
import { InfiniteData, UseInfiniteQueryResult, UseQueryResult } from "@tanstack/react-query";
|
|
7
7
|
//#region src/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as RadioGroupProps } from "./RadioGroup-
|
|
1
|
+
import { r as RadioGroupProps } from "./RadioGroup-CZg2kIMk.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
3
|
+
import "./typography.cva-D1JOEYl-.js";
|
|
3
4
|
//#region src/components/inputs/RadioGroup/radio.cva.d.ts
|
|
4
5
|
declare const radioDefinition: {
|
|
5
6
|
base: string[];
|
|
6
7
|
config: StyleMergeUtils.Config<{
|
|
7
8
|
readonly variant: {
|
|
8
|
-
default: ["border-interactive-primary-background bg-support-transparent-outline", "before:bg-interactive-primary-foreground group-selected:before:block", "group-focus-visible:outline-interactive-ring", "group-not-disabled:group-invalid:border-border-destructive-base", "group-disabled:border-
|
|
9
|
+
default: ["border-interactive-primary-background bg-support-transparent-outline", "before:bg-interactive-primary-foreground group-selected:before:block", "group-focus-visible:outline-interactive-ring", "group-not-disabled:group-invalid:border-border-destructive-base", "group-disabled:border-state-interactive-primary-background/disabled", "group-not-disabled:group-not-invalid:group-hover:border-state-interactive-primary-background/hover", "group-not-disabled:group-not-invalid:group-pressed:border-state-interactive-primary-background/pressed", "group-selected:bg-interactive-primary-background", "group-selected:group-not-disabled:group-hover:bg-state-interactive-primary-background/hover", "group-selected:group-not-disabled:group-pressed:bg-state-interactive-primary-background/pressed", "group-selected:group-disabled:bg-state-interactive-primary-background/disabled"];
|
|
9
10
|
};
|
|
10
11
|
}>;
|
|
11
12
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as AutocompleteProps } from "../Autocomplete-
|
|
2
|
-
import { n as ControlledAutocompleteProps, t as Autocomplete } from "../autocomplete-
|
|
1
|
+
import { n as AutocompleteProps } from "../Autocomplete-BwNHp8fy.js";
|
|
2
|
+
import { n as ControlledAutocompleteProps, t as Autocomplete } from "../autocomplete-DeERHN8W.js";
|
|
3
3
|
export { Autocomplete, type AutocompleteProps, ControlledAutocompleteProps };
|
package/dist/rhf/autocomplete.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Autocomplete as Autocomplete$1 } from "../components/autocomplete.js";
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
3
3
|
//#region src/entries/rhf/autocomplete.ts
|
|
4
4
|
const Autocomplete = (props) => {
|
|
5
5
|
return renderRHFField(runtime(Autocomplete$1), useFireBlurOnChange(props, "select"));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as CheckboxGroupProps } from "../CheckboxGroup-
|
|
2
|
-
import { n as ControlledCheckboxGroupProps, t as CheckboxGroup } from "../checkbox-group-
|
|
1
|
+
import { n as CheckboxGroupProps } from "../CheckboxGroup-DGF12cmB.js";
|
|
2
|
+
import { n as ControlledCheckboxGroupProps, t as CheckboxGroup } from "../checkbox-group-B3BOVshI.js";
|
|
3
3
|
export { CheckboxGroup, type CheckboxGroupProps, ControlledCheckboxGroupProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
2
|
import { CheckboxGroup as CheckboxGroup$1 } from "../components/checkbox-group.js";
|
|
3
3
|
//#region src/entries/rhf/checkbox-group.ts
|
|
4
4
|
const CheckboxGroup = (props) => {
|
package/dist/rhf/checkbox.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as CheckboxProps } from "../Checkbox-
|
|
2
|
-
import { n as ControlledCheckboxProps, t as Checkbox } from "../checkbox-
|
|
1
|
+
import { i as CheckboxProps } from "../Checkbox-DVTWaMKa.js";
|
|
2
|
+
import { n as ControlledCheckboxProps, t as Checkbox } from "../checkbox-DxIPDTK5.js";
|
|
3
3
|
export { Checkbox, type CheckboxProps, ControlledCheckboxProps };
|
package/dist/rhf/checkbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Checkbox$1 } from "../Checkbox-
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { t as Checkbox$1 } from "../Checkbox-CV1ILXXO.js";
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
3
3
|
//#region src/entries/rhf/checkbox.ts
|
|
4
4
|
const Checkbox = (props) => {
|
|
5
5
|
return renderRHFField(runtime(Checkbox$1), useFireBlurOnChange(props, "checkbox"), "isSelected");
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as DatePickerProps } from "../DatePicker-
|
|
2
|
-
import { n as DatePicker, t as ControlledDatePickerProps } from "../date-picker-
|
|
1
|
+
import { r as DatePickerProps } from "../DatePicker-8xSs_jNd.js";
|
|
2
|
+
import { n as DatePicker, t as ControlledDatePickerProps } from "../date-picker-DnxDmlOW.js";
|
|
3
3
|
export { ControlledDatePickerProps, DatePicker, type DatePickerProps };
|
package/dist/rhf/date-picker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
-
import { t as DatePicker$1 } from "../DatePicker-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
|
+
import { t as DatePicker$1 } from "../DatePicker-DOLL7mkc.js";
|
|
3
3
|
import { t as toCalendarDate } from "../date.transforms-DLg-eFcE.js";
|
|
4
4
|
//#region src/entries/rhf/date-picker.ts
|
|
5
5
|
const DatePicker = (props) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption, r as DateRangePickerProps } from "../DateRangePicker-
|
|
2
|
-
import { n as DateRangePicker, t as ControlledDateRangePickerProps } from "../date-range-picker-
|
|
1
|
+
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption, r as DateRangePickerProps } from "../DateRangePicker-Bfq-yDm7.js";
|
|
2
|
+
import { n as DateRangePicker, t as ControlledDateRangePickerProps } from "../date-range-picker-DHDOSvHN.js";
|
|
3
3
|
export { ControlledDateRangePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangeRelativeOption, type DateRangeResolvedValue };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
|
+
import { t as DateRangePicker$1 } from "../DateRangePicker-BF-1CztH.js";
|
|
3
3
|
import { n as toCalendarDateRange } from "../date.transforms-DLg-eFcE.js";
|
|
4
4
|
//#region src/entries/rhf/date-range-picker.ts
|
|
5
5
|
const DateRangePicker = (props) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as DateTimePickerProps } from "../DateTimePicker-
|
|
2
|
-
import { n as DateTimePicker, t as ControlledDateTimePickerProps } from "../date-time-picker-
|
|
1
|
+
import { r as DateTimePickerProps } from "../DateTimePicker-D4lHyf6P.js";
|
|
2
|
+
import { n as DateTimePicker, t as ControlledDateTimePickerProps } from "../date-time-picker-UkTa0OJ8.js";
|
|
3
3
|
export { ControlledDateTimePickerProps, DateTimePicker, type DateTimePickerProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
2
|
import { r as toCalendarDateTime } from "../date.transforms-DLg-eFcE.js";
|
|
3
|
-
import { t as DateTimePicker$1 } from "../DateTimePicker-
|
|
3
|
+
import { t as DateTimePicker$1 } from "../DateTimePicker-Cj0qvJUz.js";
|
|
4
4
|
//#region src/entries/rhf/date-time-picker.ts
|
|
5
5
|
const DateTimePicker = (props) => {
|
|
6
6
|
return renderRHFField(runtime(DateTimePicker$1), useFireBlurOnChange(props, "dateInput"), "value", toCalendarDateTime);
|
package/dist/rhf/file-input.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as FileInputBaseProps } from "../FileInput-
|
|
2
|
-
import { n as FileInputProps, r as RHFFileInputProps, t as FileInput } from "../file-input-
|
|
1
|
+
import { n as FileInputBaseProps } from "../FileInput-C4CE5kuP.js";
|
|
2
|
+
import { n as FileInputProps, r as RHFFileInputProps, t as FileInput } from "../file-input-DkbkdI7l.js";
|
|
3
3
|
export { FileInput, type FileInputBaseProps, FileInputProps, RHFFileInputProps };
|
package/dist/rhf/file-input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
-
import { t as FileInput$1 } from "../FileInput-
|
|
1
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
2
|
+
import { t as FileInput$1 } from "../FileInput-Br5DQaGQ.js";
|
|
3
3
|
//#region src/entries/rhf/file-input.ts
|
|
4
4
|
const FileInput = (props) => renderRHFField(runtime(FileInput$1), props);
|
|
5
5
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as FileUploadBaseProps } from "../fileUpload.types-
|
|
2
|
-
import { n as FileUploadProps, r as RHFFileUploadProps, t as FileUpload } from "../file-upload-
|
|
1
|
+
import { n as FileUploadBaseProps } from "../fileUpload.types-n5FxK_F-.js";
|
|
2
|
+
import { n as FileUploadProps, r as RHFFileUploadProps, t as FileUpload } from "../file-upload-CTsPhxJk.js";
|
|
3
3
|
export { FileUpload, type FileUploadBaseProps, FileUploadProps, RHFFileUploadProps };
|
package/dist/rhf/file-upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as FileUpload$1 } from "../FileUpload
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { t as FileUpload$1 } from "../FileUpload--7ub3EZO.js";
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DjYls12j.js";
|
|
3
3
|
//#region src/entries/rhf/file-upload.ts
|
|
4
4
|
const FileUpload = (props) => renderRHFField(runtime(FileUpload$1), props);
|
|
5
5
|
//#endregion
|