@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,83 +0,0 @@
|
|
|
1
|
-
import $ahdqC$react from "react";
|
|
2
|
-
import { shadowDOM } from "react-stately/private/flags/flags";
|
|
3
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/domHelpers.mjs
|
|
4
|
-
const $d447af545b77c9f1$export$b204af158042fbac = (target) => {
|
|
5
|
-
if ($d447af545b77c9f1$var$isWindow(target)) return target.document;
|
|
6
|
-
if ($d447af545b77c9f1$export$62858bae88b53fd0(target)) return target;
|
|
7
|
-
return target?.ownerDocument ?? (typeof document !== "undefined" ? document : void 0);
|
|
8
|
-
};
|
|
9
|
-
const $d447af545b77c9f1$export$f21a1ffae260145a = (target) => {
|
|
10
|
-
return $d447af545b77c9f1$export$b204af158042fbac(target)?.defaultView ?? (typeof window !== "undefined" ? window : void 0);
|
|
11
|
-
};
|
|
12
|
-
function $d447af545b77c9f1$export$8ee0fc9ee280b4ee(value) {
|
|
13
|
-
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Type guard that checks if a value is a Window. Uses window self reference checks to
|
|
17
|
-
* distinguish Window from other values.
|
|
18
|
-
*/ function $d447af545b77c9f1$var$isWindow(value) {
|
|
19
|
-
return typeof value === "object" && value != null && "window" in value && value.window === value;
|
|
20
|
-
}
|
|
21
|
-
function $d447af545b77c9f1$export$62858bae88b53fd0(value) {
|
|
22
|
-
return $d447af545b77c9f1$export$8ee0fc9ee280b4ee(value) && value.nodeType === 9;
|
|
23
|
-
}
|
|
24
|
-
function $d447af545b77c9f1$export$af51f0f06c0f328a(value) {
|
|
25
|
-
return $d447af545b77c9f1$export$8ee0fc9ee280b4ee(value) && value.nodeType === 11 && "host" in value;
|
|
26
|
-
}
|
|
27
|
-
function $d447af545b77c9f1$export$f531f92e2a15358f(target, event, listener, options) {
|
|
28
|
-
if (listener == null || target == null) return () => {};
|
|
29
|
-
let eventTargets = Array.isArray(target) ? target : [target];
|
|
30
|
-
for (let eventTarget of eventTargets) eventTarget.addEventListener(event, listener, options);
|
|
31
|
-
return () => {
|
|
32
|
-
for (let eventTarget of eventTargets) eventTarget.removeEventListener(event, listener, options);
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function $d447af545b77c9f1$export$37a5fde709c1db82(target, property, value, priority) {
|
|
36
|
-
if (target == null) return () => {};
|
|
37
|
-
let restore = new Array();
|
|
38
|
-
let styleTargets = Array.isArray(target) ? target : [target];
|
|
39
|
-
for (let styleTarget of styleTargets) {
|
|
40
|
-
let initialValue = styleTarget.style.getPropertyValue(property);
|
|
41
|
-
let initialPriority = styleTarget.style.getPropertyPriority(property);
|
|
42
|
-
styleTarget.style.setProperty(property, value, priority);
|
|
43
|
-
restore.unshift(() => {
|
|
44
|
-
if (initialValue) styleTarget.style.setProperty(property, initialValue, initialPriority);
|
|
45
|
-
else styleTarget.style.removeProperty(property);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
return () => {
|
|
49
|
-
for (let cleanup of restore) cleanup();
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
|
|
54
|
-
function $23f2114a1b82827e$export$4282f70798064fe0(node, otherNode) {
|
|
55
|
-
if (!shadowDOM()) return otherNode && node ? node.contains(otherNode) : false;
|
|
56
|
-
if (!node || !otherNode) return false;
|
|
57
|
-
let currentNode = otherNode;
|
|
58
|
-
while (currentNode !== null) {
|
|
59
|
-
if (currentNode === node) return true;
|
|
60
|
-
if (typeof currentNode.assignedElements !== "function" && currentNode.assignedSlot?.parentNode) currentNode = currentNode.assignedSlot.parentNode;
|
|
61
|
-
else if ($d447af545b77c9f1$export$af51f0f06c0f328a(currentNode)) currentNode = currentNode.host;
|
|
62
|
-
else currentNode = currentNode.parentNode;
|
|
63
|
-
}
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
const $23f2114a1b82827e$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
67
|
-
if (!shadowDOM()) return doc.activeElement;
|
|
68
|
-
let activeElement = doc.activeElement;
|
|
69
|
-
while (activeElement && "shadowRoot" in activeElement && activeElement.shadowRoot?.activeElement) activeElement = activeElement.shadowRoot.activeElement;
|
|
70
|
-
return activeElement;
|
|
71
|
-
};
|
|
72
|
-
function $23f2114a1b82827e$export$e58f029f0fbfdb29(event) {
|
|
73
|
-
if (shadowDOM() && event.target instanceof Element && event.target.shadowRoot) {
|
|
74
|
-
if ("composedPath" in event) return event.composedPath()[0] ?? null;
|
|
75
|
-
else if ("composedPath" in event.nativeEvent) return event.nativeEvent.composedPath()[0] ?? null;
|
|
76
|
-
}
|
|
77
|
-
return event.target;
|
|
78
|
-
}
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
|
|
81
|
-
const $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== "undefined" ? $ahdqC$react.useLayoutEffect : () => {};
|
|
82
|
-
//#endregion
|
|
83
|
-
export { $d447af545b77c9f1$export$37a5fde709c1db82 as a, $d447af545b77c9f1$export$f21a1ffae260145a as c, $23f2114a1b82827e$export$e58f029f0fbfdb29 as i, $d447af545b77c9f1$export$f531f92e2a15358f as l, $23f2114a1b82827e$export$4282f70798064fe0 as n, $d447af545b77c9f1$export$af51f0f06c0f328a as o, $23f2114a1b82827e$export$cd4e5573fbe2b576 as r, $d447af545b77c9f1$export$b204af158042fbac as s, $c4867b2f328c2698$export$e5c5a5f917a5871c as t };
|
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
-
import { i as $23f2114a1b82827e$export$e58f029f0fbfdb29, n as $23f2114a1b82827e$export$4282f70798064fe0, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-B2-1tbPJ.js";
|
|
3
|
-
import { a as $c7eafbbe1ea5834e$export$619500959fc48b26 } from "./focusSafely-DCGrr2bb.js";
|
|
4
|
-
import { i as $2add3ce32c6007eb$export$9ac100e40613ea10 } from "./platform-BXNIIAfU.js";
|
|
5
|
-
import { t as $a4e76a5424781910$export$e08e3b67e392101e } from "./chain-DIXr2VAT.js";
|
|
6
|
-
import { useCallback, useEffect, useRef, useState } from "react";
|
|
7
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useValueEffect.mjs
|
|
8
|
-
function $1a716630a9e3a599$export$14d238f342723f25(defaultValue) {
|
|
9
|
-
let [value, setValue] = useState(defaultValue);
|
|
10
|
-
let currValue = useRef(value);
|
|
11
|
-
let effect = useRef(null);
|
|
12
|
-
let nextRef = useRef(() => {
|
|
13
|
-
if (!effect.current) return;
|
|
14
|
-
let newValue = effect.current.next();
|
|
15
|
-
if (newValue.done) {
|
|
16
|
-
effect.current = null;
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
if (currValue.current === newValue.value) nextRef.current();
|
|
20
|
-
else setValue(newValue.value);
|
|
21
|
-
});
|
|
22
|
-
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
23
|
-
currValue.current = value;
|
|
24
|
-
if (effect.current) nextRef.current();
|
|
25
|
-
});
|
|
26
|
-
return [value, useCallback((fn) => {
|
|
27
|
-
effect.current = fn(currValue.current);
|
|
28
|
-
nextRef.current();
|
|
29
|
-
}, [nextRef])];
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useId.mjs
|
|
33
|
-
let $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
34
|
-
let $390e54f620492c70$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
35
|
-
let $390e54f620492c70$var$registry;
|
|
36
|
-
if (typeof FinalizationRegistry !== "undefined") $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue) => {
|
|
37
|
-
$390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);
|
|
38
|
-
});
|
|
39
|
-
let $390e54f620492c70$var$registeredIds = /* @__PURE__ */ new WeakMap();
|
|
40
|
-
function $390e54f620492c70$export$f680877a34711e37(defaultId) {
|
|
41
|
-
let [value, setValue] = useState(defaultId);
|
|
42
|
-
let nextId = useRef(null);
|
|
43
|
-
let res = $c7eafbbe1ea5834e$export$619500959fc48b26(value);
|
|
44
|
-
let cleanupRef = useRef(null);
|
|
45
|
-
let registeredId = $390e54f620492c70$var$registeredIds.get(cleanupRef);
|
|
46
|
-
if ($390e54f620492c70$var$registry && registeredId !== res) {
|
|
47
|
-
if (registeredId != null) $390e54f620492c70$var$registry.unregister(cleanupRef);
|
|
48
|
-
$390e54f620492c70$var$registry.register(cleanupRef, res, cleanupRef);
|
|
49
|
-
$390e54f620492c70$var$registeredIds.set(cleanupRef, res);
|
|
50
|
-
}
|
|
51
|
-
if ($390e54f620492c70$var$canUseDOM) {
|
|
52
|
-
const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);
|
|
53
|
-
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
54
|
-
else $390e54f620492c70$export$d41a04c74483c6ef.set(res, [nextId]);
|
|
55
|
-
}
|
|
56
|
-
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
57
|
-
let r = res;
|
|
58
|
-
return () => {
|
|
59
|
-
if ($390e54f620492c70$var$registry) {
|
|
60
|
-
$390e54f620492c70$var$registry.unregister(cleanupRef);
|
|
61
|
-
$390e54f620492c70$var$registeredIds.delete(cleanupRef);
|
|
62
|
-
}
|
|
63
|
-
$390e54f620492c70$export$d41a04c74483c6ef.delete(r);
|
|
64
|
-
};
|
|
65
|
-
}, [res]);
|
|
66
|
-
useEffect(() => {
|
|
67
|
-
let newId = nextId.current;
|
|
68
|
-
if (newId) setValue(newId);
|
|
69
|
-
return () => {
|
|
70
|
-
if (newId) nextId.current = null;
|
|
71
|
-
};
|
|
72
|
-
});
|
|
73
|
-
return res;
|
|
74
|
-
}
|
|
75
|
-
function $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {
|
|
76
|
-
if (idA === idB) return idA;
|
|
77
|
-
let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef.get(idA);
|
|
78
|
-
if (setIdsA) {
|
|
79
|
-
setIdsA.forEach((ref) => ref.current = idB);
|
|
80
|
-
return idB;
|
|
81
|
-
}
|
|
82
|
-
let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef.get(idB);
|
|
83
|
-
if (setIdsB) {
|
|
84
|
-
setIdsB.forEach((ref) => ref.current = idA);
|
|
85
|
-
return idA;
|
|
86
|
-
}
|
|
87
|
-
return idB;
|
|
88
|
-
}
|
|
89
|
-
function $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {
|
|
90
|
-
let id = $390e54f620492c70$export$f680877a34711e37();
|
|
91
|
-
let [resolvedId, setResolvedId] = $1a716630a9e3a599$export$14d238f342723f25(id);
|
|
92
|
-
let updateId = useCallback(() => {
|
|
93
|
-
setResolvedId(function* () {
|
|
94
|
-
yield id;
|
|
95
|
-
yield document.getElementById(id) ? id : void 0;
|
|
96
|
-
});
|
|
97
|
-
}, [id, setResolvedId]);
|
|
98
|
-
$c4867b2f328c2698$export$e5c5a5f917a5871c(updateId, [
|
|
99
|
-
id,
|
|
100
|
-
updateId,
|
|
101
|
-
...depArray
|
|
102
|
-
]);
|
|
103
|
-
return resolvedId;
|
|
104
|
-
}
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/mergeRefs.mjs
|
|
107
|
-
function $4064df0d6f9620e1$export$c9058316764c140e(...refs) {
|
|
108
|
-
if (refs.length === 1 && refs[0]) return refs[0];
|
|
109
|
-
return (value) => {
|
|
110
|
-
let hasCleanup = false;
|
|
111
|
-
const cleanups = refs.map((ref) => {
|
|
112
|
-
const cleanup = $4064df0d6f9620e1$var$setRef(ref, value);
|
|
113
|
-
hasCleanup ||= typeof cleanup == "function";
|
|
114
|
-
return cleanup;
|
|
115
|
-
});
|
|
116
|
-
if (hasCleanup) return () => {
|
|
117
|
-
cleanups.forEach((cleanup, i) => {
|
|
118
|
-
if (typeof cleanup === "function") cleanup();
|
|
119
|
-
else $4064df0d6f9620e1$var$setRef(refs[i], null);
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
function $4064df0d6f9620e1$var$setRef(ref, value) {
|
|
125
|
-
if (typeof ref === "function") return ref(value);
|
|
126
|
-
else if (ref != null) ref.current = value;
|
|
127
|
-
}
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/mergeProps.mjs
|
|
130
|
-
function $bbaa08b3cd72f041$export$9d1611c77c2fe928(...args) {
|
|
131
|
-
let result = { ...args[0] };
|
|
132
|
-
for (let i = 1; i < args.length; i++) {
|
|
133
|
-
let props = args[i];
|
|
134
|
-
for (let key in props) {
|
|
135
|
-
let a = result[key];
|
|
136
|
-
let b = props[key];
|
|
137
|
-
if (typeof a === "function" && typeof b === "function" && key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= 65 && key.charCodeAt(2) <= 90) result[key] = $a4e76a5424781910$export$e08e3b67e392101e(a, b);
|
|
138
|
-
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = clsx(a, b);
|
|
139
|
-
else if (key === "id" && a && b) result.id = $390e54f620492c70$export$cd8c9cb68f842629(a, b);
|
|
140
|
-
else if (key === "ref" && a && b) result.ref = $4064df0d6f9620e1$export$c9058316764c140e(a, b);
|
|
141
|
-
else result[key] = b !== void 0 ? b : a;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
return result;
|
|
145
|
-
}
|
|
146
|
-
//#endregion
|
|
147
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
|
|
148
|
-
function $8dba16319206abb6$export$48d1ea6320830260(handler) {
|
|
149
|
-
if (!handler) return void 0;
|
|
150
|
-
return (e) => {
|
|
151
|
-
let shouldStopPropagation = true;
|
|
152
|
-
handler({
|
|
153
|
-
...e,
|
|
154
|
-
preventDefault() {
|
|
155
|
-
e.preventDefault();
|
|
156
|
-
},
|
|
157
|
-
isDefaultPrevented() {
|
|
158
|
-
return e.isDefaultPrevented();
|
|
159
|
-
},
|
|
160
|
-
stopPropagation() {
|
|
161
|
-
if (shouldStopPropagation && true) console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
162
|
-
else shouldStopPropagation = true;
|
|
163
|
-
},
|
|
164
|
-
continuePropagation() {
|
|
165
|
-
shouldStopPropagation = false;
|
|
166
|
-
if (typeof e.continuePropagation === "function") e.continuePropagation();
|
|
167
|
-
},
|
|
168
|
-
isPropagationStopped() {
|
|
169
|
-
return shouldStopPropagation;
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
if (shouldStopPropagation && !(typeof e.isPropagationStopped === "function" && e.isPropagationStopped())) e.stopPropagation();
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
//#endregion
|
|
176
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
|
|
177
|
-
/** Modifier names in shortcut strings (case-insensitive). Order in the string does not matter. */ const $cbf729ad7eb217b0$var$MODIFIER_NAMES = /* @__PURE__ */ new Set([
|
|
178
|
-
"shift",
|
|
179
|
-
"alt",
|
|
180
|
-
"control",
|
|
181
|
-
"meta",
|
|
182
|
-
"mod"
|
|
183
|
-
]);
|
|
184
|
-
/** Canonical modifier order for stable keys (sorted, fixed order). */ const $cbf729ad7eb217b0$var$CANONICAL_MODIFIER_ORDER = [
|
|
185
|
-
"Alt",
|
|
186
|
-
"Control",
|
|
187
|
-
"Meta",
|
|
188
|
-
"Shift"
|
|
189
|
-
];
|
|
190
|
-
function $cbf729ad7eb217b0$export$9932402e211e7315(parsed) {
|
|
191
|
-
let set = /* @__PURE__ */ new Set();
|
|
192
|
-
if (parsed.alt) set.add("Alt");
|
|
193
|
-
if (parsed.shift) set.add("Shift");
|
|
194
|
-
if (parsed.ctrl) set.add("Control");
|
|
195
|
-
if (parsed.meta) set.add("Meta");
|
|
196
|
-
if (parsed.mod) set.add($2add3ce32c6007eb$export$9ac100e40613ea10() ? "Meta" : "Control");
|
|
197
|
-
return set;
|
|
198
|
-
}
|
|
199
|
-
function $cbf729ad7eb217b0$export$bf26c410e1f8fe6d(e) {
|
|
200
|
-
let set = /* @__PURE__ */ new Set();
|
|
201
|
-
if (e.altKey) set.add("Alt");
|
|
202
|
-
if (e.ctrlKey) set.add("Control");
|
|
203
|
-
if (e.metaKey) set.add("Meta");
|
|
204
|
-
if (e.shiftKey) set.add("Shift");
|
|
205
|
-
return set;
|
|
206
|
-
}
|
|
207
|
-
function $cbf729ad7eb217b0$var$sortedModifierTokens(set) {
|
|
208
|
-
return $cbf729ad7eb217b0$var$CANONICAL_MODIFIER_ORDER.filter((name) => set.has(name));
|
|
209
|
-
}
|
|
210
|
-
function $cbf729ad7eb217b0$export$d636f01a2eaffd51(spec) {
|
|
211
|
-
let parts = spec.split("+").reduce((prev, part) => {
|
|
212
|
-
let lower = part.toLowerCase();
|
|
213
|
-
if ($cbf729ad7eb217b0$var$MODIFIER_NAMES.has(lower)) {
|
|
214
|
-
if (lower === "shift") prev.shift = true;
|
|
215
|
-
else if (lower === "alt") prev.alt = true;
|
|
216
|
-
else if (lower === "control") prev.ctrl = true;
|
|
217
|
-
else if (lower === "meta") prev.meta = true;
|
|
218
|
-
else if (lower === "mod") prev.mod = true;
|
|
219
|
-
} else prev.key = part;
|
|
220
|
-
return prev;
|
|
221
|
-
}, {
|
|
222
|
-
shift: false,
|
|
223
|
-
alt: false,
|
|
224
|
-
ctrl: false,
|
|
225
|
-
meta: false,
|
|
226
|
-
mod: false,
|
|
227
|
-
key: ""
|
|
228
|
-
});
|
|
229
|
-
if (parts.key === "") throw new Error(`Invalid keyboard shortcut: "${spec}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
|
|
230
|
-
return parts;
|
|
231
|
-
}
|
|
232
|
-
function $cbf729ad7eb217b0$var$normalizeEventKey(key) {
|
|
233
|
-
return key.toLowerCase();
|
|
234
|
-
}
|
|
235
|
-
/** Short aliases for common keys (shortcut side, before match). */ const $cbf729ad7eb217b0$var$KEY_ALIASES = {
|
|
236
|
-
space: " ",
|
|
237
|
-
esc: "escape",
|
|
238
|
-
del: "delete",
|
|
239
|
-
ins: "insert",
|
|
240
|
-
left: "arrowleft",
|
|
241
|
-
right: "arrowright",
|
|
242
|
-
up: "arrowup",
|
|
243
|
-
down: "arrowdown",
|
|
244
|
-
pageup: "pageup",
|
|
245
|
-
pagedown: "pagedown"
|
|
246
|
-
};
|
|
247
|
-
/** Canonical key segment (lowercase); aliases like `down` → `arrowdown`. */ function $cbf729ad7eb217b0$var$canonicalKeyFromSpecKey(specKey) {
|
|
248
|
-
let k = $cbf729ad7eb217b0$var$normalizeEventKey(specKey);
|
|
249
|
-
let aliased = $cbf729ad7eb217b0$var$KEY_ALIASES[k];
|
|
250
|
-
return aliased != null ? aliased : k;
|
|
251
|
-
}
|
|
252
|
-
function $cbf729ad7eb217b0$export$6cfa2ace150c84a5(parsed) {
|
|
253
|
-
let mods = $cbf729ad7eb217b0$var$sortedModifierTokens($cbf729ad7eb217b0$export$9932402e211e7315(parsed));
|
|
254
|
-
let key = $cbf729ad7eb217b0$var$canonicalKeyFromSpecKey(parsed.key);
|
|
255
|
-
return mods.length > 0 ? `${mods.join("+")}+${key}` : key;
|
|
256
|
-
}
|
|
257
|
-
function $cbf729ad7eb217b0$export$786304bda41dd69f(e) {
|
|
258
|
-
let mods = $cbf729ad7eb217b0$var$sortedModifierTokens($cbf729ad7eb217b0$export$bf26c410e1f8fe6d(e));
|
|
259
|
-
let key = $cbf729ad7eb217b0$var$normalizeEventKey(e.key);
|
|
260
|
-
return (mods.length > 0 ? `${mods.join("+")}+` : "") + key;
|
|
261
|
-
}
|
|
262
|
-
function $cbf729ad7eb217b0$export$2fd1fc8039383ae1(bindings) {
|
|
263
|
-
let map = /* @__PURE__ */ new Map();
|
|
264
|
-
for (let [spec, action] of Object.entries(bindings)) {
|
|
265
|
-
let parsed = $cbf729ad7eb217b0$export$d636f01a2eaffd51(spec);
|
|
266
|
-
map.set($cbf729ad7eb217b0$export$6cfa2ace150c84a5(parsed), action);
|
|
267
|
-
}
|
|
268
|
-
return (e) => {
|
|
269
|
-
let canonical = $cbf729ad7eb217b0$export$786304bda41dd69f(e);
|
|
270
|
-
let action = map.get(canonical);
|
|
271
|
-
let result = action?.(e);
|
|
272
|
-
if (result === void 0 && action !== void 0) result = {
|
|
273
|
-
shouldContinuePropagation: false,
|
|
274
|
-
shouldPreventDefault: true
|
|
275
|
-
};
|
|
276
|
-
else if (typeof result === "boolean") result = {
|
|
277
|
-
shouldContinuePropagation: !result,
|
|
278
|
-
shouldPreventDefault: result
|
|
279
|
-
};
|
|
280
|
-
if (result?.shouldPreventDefault) e.preventDefault();
|
|
281
|
-
if (!action || result?.shouldContinuePropagation) e.continuePropagation();
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
//#endregion
|
|
285
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
|
|
286
|
-
function $8296dad1a4c5e0dc$export$8f71654801c2f7cd(props) {
|
|
287
|
-
let { shortcuts, allowRepeats = false, allowComposing = false } = props;
|
|
288
|
-
let onKeyDown;
|
|
289
|
-
let onKeyUp;
|
|
290
|
-
if (shortcuts) {
|
|
291
|
-
let shortcutHandler = $cbf729ad7eb217b0$export$2fd1fc8039383ae1(shortcuts);
|
|
292
|
-
let shortcutOnKeyDown = $8dba16319206abb6$export$48d1ea6320830260((e) => {
|
|
293
|
-
if (!$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) {
|
|
294
|
-
e.continuePropagation();
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
if (e.nativeEvent?.repeat && !allowRepeats || e.nativeEvent?.isComposing && !allowComposing) {
|
|
298
|
-
e.continuePropagation();
|
|
299
|
-
return;
|
|
300
|
-
}
|
|
301
|
-
shortcutHandler(e);
|
|
302
|
-
});
|
|
303
|
-
let shortcutOnKeyUp = $8dba16319206abb6$export$48d1ea6320830260((e) => {
|
|
304
|
-
if (!$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) {
|
|
305
|
-
e.continuePropagation();
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
if (e.nativeEvent?.repeat && !allowRepeats || e.nativeEvent?.isComposing && !allowComposing) {
|
|
309
|
-
e.continuePropagation();
|
|
310
|
-
return;
|
|
311
|
-
}
|
|
312
|
-
e.continuePropagation();
|
|
313
|
-
});
|
|
314
|
-
onKeyDown = props.onKeyDown ? $a4e76a5424781910$export$e08e3b67e392101e(props.onKeyDown, shortcutOnKeyDown) : shortcutOnKeyDown;
|
|
315
|
-
onKeyUp = props.onKeyUp ? $a4e76a5424781910$export$e08e3b67e392101e(props.onKeyUp, shortcutOnKeyUp) : shortcutOnKeyUp;
|
|
316
|
-
} else {
|
|
317
|
-
onKeyDown = $8dba16319206abb6$export$48d1ea6320830260(props.onKeyDown);
|
|
318
|
-
onKeyUp = $8dba16319206abb6$export$48d1ea6320830260(props.onKeyUp);
|
|
319
|
-
}
|
|
320
|
-
return { keyboardProps: props.isDisabled ? {} : {
|
|
321
|
-
onKeyDown,
|
|
322
|
-
onKeyUp
|
|
323
|
-
} };
|
|
324
|
-
}
|
|
325
|
-
//#endregion
|
|
326
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/useSyncRef.mjs
|
|
327
|
-
function $b7115c395c64f7b5$export$4debdb1a3f0fa79e(context, ref) {
|
|
328
|
-
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
329
|
-
if (context && context.ref && ref) {
|
|
330
|
-
context.ref.current = ref.current;
|
|
331
|
-
return () => {
|
|
332
|
-
if (context.ref) context.ref.current = null;
|
|
333
|
-
};
|
|
334
|
-
}
|
|
335
|
-
});
|
|
336
|
-
}
|
|
337
|
-
//#endregion
|
|
338
|
-
export { $390e54f620492c70$export$f680877a34711e37 as a, $390e54f620492c70$export$b4cc09c592e8fdb8 as i, $8296dad1a4c5e0dc$export$8f71654801c2f7cd as n, $bbaa08b3cd72f041$export$9d1611c77c2fe928 as r, $b7115c395c64f7b5$export$4debdb1a3f0fa79e as t };
|