@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,343 +0,0 @@
|
|
|
1
|
-
import { c as $d447af545b77c9f1$export$f21a1ffae260145a, n as $23f2114a1b82827e$export$4282f70798064fe0, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, s as $d447af545b77c9f1$export$b204af158042fbac } from "./useLayoutEffect-B2-1tbPJ.js";
|
|
2
|
-
import { f as $3b8b240c1bf84ab9$export$4c063cf1350e6fed, p as $3b8b240c1bf84ab9$export$bebd5a1431fec25d, t as $f192c2f16961cbe0$export$80f3e147d781571c } from "./focusSafely-DCGrr2bb.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { shadowDOM } from "react-stately/private/flags/flags";
|
|
5
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
|
|
6
|
-
var $654b97e09f2a30c1$export$63eb3ababa9c55c4 = class {
|
|
7
|
-
constructor(doc, root, whatToShow, filter) {
|
|
8
|
-
this._walkerStack = [];
|
|
9
|
-
this._currentSetFor = /* @__PURE__ */ new Set();
|
|
10
|
-
this._acceptNode = (node) => {
|
|
11
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
12
|
-
const shadowRoot = node.shadowRoot;
|
|
13
|
-
if (shadowRoot) {
|
|
14
|
-
const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, { acceptNode: this._acceptNode });
|
|
15
|
-
this._walkerStack.unshift(walker);
|
|
16
|
-
return NodeFilter.FILTER_ACCEPT;
|
|
17
|
-
} else if (typeof this.filter === "function") return this.filter(node);
|
|
18
|
-
else if (this.filter?.acceptNode) return this.filter.acceptNode(node);
|
|
19
|
-
else if (this.filter === null) return NodeFilter.FILTER_ACCEPT;
|
|
20
|
-
}
|
|
21
|
-
return NodeFilter.FILTER_SKIP;
|
|
22
|
-
};
|
|
23
|
-
this._doc = doc;
|
|
24
|
-
this.root = root;
|
|
25
|
-
this.filter = filter ?? null;
|
|
26
|
-
this.whatToShow = whatToShow ?? NodeFilter.SHOW_ALL;
|
|
27
|
-
this._currentNode = root;
|
|
28
|
-
this._walkerStack.unshift(doc.createTreeWalker(root, whatToShow, this._acceptNode));
|
|
29
|
-
const shadowRoot = root.shadowRoot;
|
|
30
|
-
if (shadowRoot) {
|
|
31
|
-
const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, { acceptNode: this._acceptNode });
|
|
32
|
-
this._walkerStack.unshift(walker);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
get currentNode() {
|
|
36
|
-
return this._currentNode;
|
|
37
|
-
}
|
|
38
|
-
set currentNode(node) {
|
|
39
|
-
if (!$23f2114a1b82827e$export$4282f70798064fe0(this.root, node)) throw new Error("Cannot set currentNode to a node that is not contained by the root node.");
|
|
40
|
-
const walkers = [];
|
|
41
|
-
let curNode = node;
|
|
42
|
-
let currentWalkerCurrentNode = node;
|
|
43
|
-
this._currentNode = node;
|
|
44
|
-
while (curNode && curNode !== this.root) if (curNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
45
|
-
const shadowRoot = curNode;
|
|
46
|
-
const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, { acceptNode: this._acceptNode });
|
|
47
|
-
walkers.push(walker);
|
|
48
|
-
walker.currentNode = currentWalkerCurrentNode;
|
|
49
|
-
this._currentSetFor.add(walker);
|
|
50
|
-
curNode = currentWalkerCurrentNode = shadowRoot.host;
|
|
51
|
-
} else curNode = curNode.parentNode;
|
|
52
|
-
const walker = this._doc.createTreeWalker(this.root, this.whatToShow, { acceptNode: this._acceptNode });
|
|
53
|
-
walkers.push(walker);
|
|
54
|
-
walker.currentNode = currentWalkerCurrentNode;
|
|
55
|
-
this._currentSetFor.add(walker);
|
|
56
|
-
this._walkerStack = walkers;
|
|
57
|
-
}
|
|
58
|
-
get doc() {
|
|
59
|
-
return this._doc;
|
|
60
|
-
}
|
|
61
|
-
firstChild() {
|
|
62
|
-
let currentNode = this.currentNode;
|
|
63
|
-
let newNode = this.nextNode();
|
|
64
|
-
if (!$23f2114a1b82827e$export$4282f70798064fe0(currentNode, newNode)) {
|
|
65
|
-
this.currentNode = currentNode;
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
if (newNode) this.currentNode = newNode;
|
|
69
|
-
return newNode;
|
|
70
|
-
}
|
|
71
|
-
lastChild() {
|
|
72
|
-
let newNode = this._walkerStack[0].lastChild();
|
|
73
|
-
if (newNode) this.currentNode = newNode;
|
|
74
|
-
return newNode;
|
|
75
|
-
}
|
|
76
|
-
nextNode() {
|
|
77
|
-
const nextNode = this._walkerStack[0].nextNode();
|
|
78
|
-
if (nextNode) {
|
|
79
|
-
if (nextNode.shadowRoot) {
|
|
80
|
-
let nodeResult;
|
|
81
|
-
if (typeof this.filter === "function") nodeResult = this.filter(nextNode);
|
|
82
|
-
else if (this.filter?.acceptNode) nodeResult = this.filter.acceptNode(nextNode);
|
|
83
|
-
if (nodeResult === NodeFilter.FILTER_ACCEPT) {
|
|
84
|
-
this.currentNode = nextNode;
|
|
85
|
-
return nextNode;
|
|
86
|
-
}
|
|
87
|
-
let newNode = this.nextNode();
|
|
88
|
-
if (newNode) this.currentNode = newNode;
|
|
89
|
-
return newNode;
|
|
90
|
-
}
|
|
91
|
-
if (nextNode) this.currentNode = nextNode;
|
|
92
|
-
return nextNode;
|
|
93
|
-
} else if (this._walkerStack.length > 1) {
|
|
94
|
-
this._walkerStack.shift();
|
|
95
|
-
let newNode = this.nextNode();
|
|
96
|
-
if (newNode) this.currentNode = newNode;
|
|
97
|
-
return newNode;
|
|
98
|
-
} else return null;
|
|
99
|
-
}
|
|
100
|
-
previousNode() {
|
|
101
|
-
const currentWalker = this._walkerStack[0];
|
|
102
|
-
if (currentWalker.currentNode === currentWalker.root) {
|
|
103
|
-
if (this._currentSetFor.has(currentWalker)) {
|
|
104
|
-
this._currentSetFor.delete(currentWalker);
|
|
105
|
-
if (this._walkerStack.length > 1) {
|
|
106
|
-
this._walkerStack.shift();
|
|
107
|
-
let newNode = this.previousNode();
|
|
108
|
-
if (newNode) this.currentNode = newNode;
|
|
109
|
-
return newNode;
|
|
110
|
-
} else return null;
|
|
111
|
-
}
|
|
112
|
-
return null;
|
|
113
|
-
}
|
|
114
|
-
const previousNode = currentWalker.previousNode();
|
|
115
|
-
if (previousNode) {
|
|
116
|
-
if (previousNode.shadowRoot) {
|
|
117
|
-
let nodeResult;
|
|
118
|
-
if (typeof this.filter === "function") nodeResult = this.filter(previousNode);
|
|
119
|
-
else if (this.filter?.acceptNode) nodeResult = this.filter.acceptNode(previousNode);
|
|
120
|
-
if (nodeResult === NodeFilter.FILTER_ACCEPT) {
|
|
121
|
-
if (previousNode) this.currentNode = previousNode;
|
|
122
|
-
return previousNode;
|
|
123
|
-
}
|
|
124
|
-
let newNode = this.lastChild();
|
|
125
|
-
if (newNode) this.currentNode = newNode;
|
|
126
|
-
return newNode;
|
|
127
|
-
}
|
|
128
|
-
if (previousNode) this.currentNode = previousNode;
|
|
129
|
-
return previousNode;
|
|
130
|
-
} else if (this._walkerStack.length > 1) {
|
|
131
|
-
this._walkerStack.shift();
|
|
132
|
-
let newNode = this.previousNode();
|
|
133
|
-
if (newNode) this.currentNode = newNode;
|
|
134
|
-
return newNode;
|
|
135
|
-
} else return null;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* @deprecated
|
|
139
|
-
*/ nextSibling() {
|
|
140
|
-
return null;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* @deprecated
|
|
144
|
-
*/ previousSibling() {
|
|
145
|
-
return null;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* @deprecated
|
|
149
|
-
*/ parentNode() {
|
|
150
|
-
return null;
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
function $654b97e09f2a30c1$export$4d0f8be8b12a7ef6(doc, root, whatToShow, filter) {
|
|
154
|
-
if (shadowDOM()) return new $654b97e09f2a30c1$export$63eb3ababa9c55c4(doc, root, whatToShow, filter);
|
|
155
|
-
return doc.createTreeWalker(root, whatToShow, filter);
|
|
156
|
-
}
|
|
157
|
-
//#endregion
|
|
158
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/focus/FocusScope.mjs
|
|
159
|
-
function $535772f9d2c1f38d$var$getRadiosInGroup(element) {
|
|
160
|
-
if (!element.form) return Array.from($d447af545b77c9f1$export$b204af158042fbac(element).querySelectorAll(`input[type="radio"][name="${CSS.escape(element.name)}"]`)).filter((radio) => !radio.form);
|
|
161
|
-
const radioList = element.form.elements.namedItem(element.name);
|
|
162
|
-
let ownerWindow = $d447af545b77c9f1$export$f21a1ffae260145a(element);
|
|
163
|
-
if (radioList instanceof ownerWindow.RadioNodeList) return Array.from(radioList).filter((el) => el instanceof ownerWindow.HTMLInputElement);
|
|
164
|
-
if (radioList instanceof ownerWindow.HTMLInputElement) return [radioList];
|
|
165
|
-
return [];
|
|
166
|
-
}
|
|
167
|
-
function $535772f9d2c1f38d$var$isTabbableRadio(element) {
|
|
168
|
-
if (element.checked) return true;
|
|
169
|
-
const radios = $535772f9d2c1f38d$var$getRadiosInGroup(element);
|
|
170
|
-
return radios.length > 0 && !radios.some((radio) => radio.checked);
|
|
171
|
-
}
|
|
172
|
-
function $535772f9d2c1f38d$var$isElementInScope(element, scope) {
|
|
173
|
-
if (!element) return false;
|
|
174
|
-
if (!scope) return false;
|
|
175
|
-
return scope.some((node) => $23f2114a1b82827e$export$4282f70798064fe0(node, element));
|
|
176
|
-
}
|
|
177
|
-
function $535772f9d2c1f38d$var$focusElement(element, scroll = false) {
|
|
178
|
-
if (element != null && !scroll) try {
|
|
179
|
-
$f192c2f16961cbe0$export$80f3e147d781571c(element);
|
|
180
|
-
} catch {}
|
|
181
|
-
else if (element != null) try {
|
|
182
|
-
element.focus();
|
|
183
|
-
} catch {}
|
|
184
|
-
}
|
|
185
|
-
function $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, opts, scope) {
|
|
186
|
-
let filter = opts?.tabbable ? $3b8b240c1bf84ab9$export$bebd5a1431fec25d : $3b8b240c1bf84ab9$export$4c063cf1350e6fed;
|
|
187
|
-
let rootElement = root?.nodeType === Node.ELEMENT_NODE ? root : null;
|
|
188
|
-
let doc = $d447af545b77c9f1$export$b204af158042fbac(rootElement);
|
|
189
|
-
let walker = $654b97e09f2a30c1$export$4d0f8be8b12a7ef6(doc, root || doc, NodeFilter.SHOW_ELEMENT, { acceptNode(node) {
|
|
190
|
-
if ($23f2114a1b82827e$export$4282f70798064fe0(opts?.from, node)) return NodeFilter.FILTER_REJECT;
|
|
191
|
-
if (opts?.tabbable && node.tagName === "INPUT" && node.getAttribute("type") === "radio") {
|
|
192
|
-
if (!$535772f9d2c1f38d$var$isTabbableRadio(node)) return NodeFilter.FILTER_REJECT;
|
|
193
|
-
if (walker.currentNode.tagName === "INPUT" && walker.currentNode.type === "radio" && walker.currentNode.name === node.name) return NodeFilter.FILTER_REJECT;
|
|
194
|
-
}
|
|
195
|
-
if (filter(node) && (!scope || $535772f9d2c1f38d$var$isElementInScope(node, scope)) && (!opts?.accept || opts.accept(node))) return NodeFilter.FILTER_ACCEPT;
|
|
196
|
-
return NodeFilter.FILTER_SKIP;
|
|
197
|
-
} });
|
|
198
|
-
if (opts?.from) walker.currentNode = opts.from;
|
|
199
|
-
return walker;
|
|
200
|
-
}
|
|
201
|
-
function $535772f9d2c1f38d$export$c5251b9e124bf29(ref, defaultOptions = {}) {
|
|
202
|
-
return {
|
|
203
|
-
focusNext(opts = {}) {
|
|
204
|
-
let root = ref.current;
|
|
205
|
-
if (!root) return null;
|
|
206
|
-
let { from, tabbable = defaultOptions.tabbable, wrap = defaultOptions.wrap, accept = defaultOptions.accept } = opts;
|
|
207
|
-
let node = from || $23f2114a1b82827e$export$cd4e5573fbe2b576($d447af545b77c9f1$export$b204af158042fbac(root));
|
|
208
|
-
let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {
|
|
209
|
-
tabbable,
|
|
210
|
-
accept
|
|
211
|
-
});
|
|
212
|
-
if ($23f2114a1b82827e$export$4282f70798064fe0(root, node)) walker.currentNode = node;
|
|
213
|
-
let nextNode = walker.nextNode();
|
|
214
|
-
if (!nextNode && wrap) {
|
|
215
|
-
walker.currentNode = root;
|
|
216
|
-
nextNode = walker.nextNode();
|
|
217
|
-
}
|
|
218
|
-
if (nextNode) $535772f9d2c1f38d$var$focusElement(nextNode, true);
|
|
219
|
-
return nextNode;
|
|
220
|
-
},
|
|
221
|
-
focusPrevious(opts = defaultOptions) {
|
|
222
|
-
let root = ref.current;
|
|
223
|
-
if (!root) return null;
|
|
224
|
-
let { from, tabbable = defaultOptions.tabbable, wrap = defaultOptions.wrap, accept = defaultOptions.accept } = opts;
|
|
225
|
-
let node = from || $23f2114a1b82827e$export$cd4e5573fbe2b576($d447af545b77c9f1$export$b204af158042fbac(root));
|
|
226
|
-
let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {
|
|
227
|
-
tabbable,
|
|
228
|
-
accept
|
|
229
|
-
});
|
|
230
|
-
if ($23f2114a1b82827e$export$4282f70798064fe0(root, node)) walker.currentNode = node;
|
|
231
|
-
else {
|
|
232
|
-
let next = $535772f9d2c1f38d$var$last(walker);
|
|
233
|
-
if (next) $535772f9d2c1f38d$var$focusElement(next, true);
|
|
234
|
-
return next ?? null;
|
|
235
|
-
}
|
|
236
|
-
let previousNode = walker.previousNode();
|
|
237
|
-
if (!previousNode && wrap) {
|
|
238
|
-
walker.currentNode = root;
|
|
239
|
-
let lastNode = $535772f9d2c1f38d$var$last(walker);
|
|
240
|
-
if (!lastNode) return null;
|
|
241
|
-
previousNode = lastNode;
|
|
242
|
-
}
|
|
243
|
-
if (previousNode) $535772f9d2c1f38d$var$focusElement(previousNode, true);
|
|
244
|
-
return previousNode ?? null;
|
|
245
|
-
},
|
|
246
|
-
focusFirst(opts = defaultOptions) {
|
|
247
|
-
let root = ref.current;
|
|
248
|
-
if (!root) return null;
|
|
249
|
-
let { tabbable = defaultOptions.tabbable, accept = defaultOptions.accept } = opts;
|
|
250
|
-
let nextNode = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {
|
|
251
|
-
tabbable,
|
|
252
|
-
accept
|
|
253
|
-
}).nextNode();
|
|
254
|
-
if (nextNode) $535772f9d2c1f38d$var$focusElement(nextNode, true);
|
|
255
|
-
return nextNode;
|
|
256
|
-
},
|
|
257
|
-
focusLast(opts = defaultOptions) {
|
|
258
|
-
let root = ref.current;
|
|
259
|
-
if (!root) return null;
|
|
260
|
-
let { tabbable = defaultOptions.tabbable, accept = defaultOptions.accept } = opts;
|
|
261
|
-
let next = $535772f9d2c1f38d$var$last($535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {
|
|
262
|
-
tabbable,
|
|
263
|
-
accept
|
|
264
|
-
}));
|
|
265
|
-
if (next) $535772f9d2c1f38d$var$focusElement(next, true);
|
|
266
|
-
return next ?? null;
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
function $535772f9d2c1f38d$var$last(walker) {
|
|
271
|
-
let next = void 0;
|
|
272
|
-
let last;
|
|
273
|
-
do {
|
|
274
|
-
last = walker.lastChild();
|
|
275
|
-
if (last) next = last;
|
|
276
|
-
} while (last);
|
|
277
|
-
return next;
|
|
278
|
-
}
|
|
279
|
-
var $535772f9d2c1f38d$var$Tree = class $535772f9d2c1f38d$var$Tree {
|
|
280
|
-
constructor() {
|
|
281
|
-
this.fastMap = /* @__PURE__ */ new Map();
|
|
282
|
-
this.root = new $535772f9d2c1f38d$var$TreeNode({ scopeRef: null });
|
|
283
|
-
this.fastMap.set(null, this.root);
|
|
284
|
-
}
|
|
285
|
-
get size() {
|
|
286
|
-
return this.fastMap.size;
|
|
287
|
-
}
|
|
288
|
-
getTreeNode(data) {
|
|
289
|
-
return this.fastMap.get(data);
|
|
290
|
-
}
|
|
291
|
-
addTreeNode(scopeRef, parent, nodeToRestore) {
|
|
292
|
-
let parentNode = this.fastMap.get(parent ?? null);
|
|
293
|
-
if (!parentNode) return;
|
|
294
|
-
let node = new $535772f9d2c1f38d$var$TreeNode({ scopeRef });
|
|
295
|
-
parentNode.addChild(node);
|
|
296
|
-
node.parent = parentNode;
|
|
297
|
-
this.fastMap.set(scopeRef, node);
|
|
298
|
-
if (nodeToRestore) node.nodeToRestore = nodeToRestore;
|
|
299
|
-
}
|
|
300
|
-
addNode(node) {
|
|
301
|
-
this.fastMap.set(node.scopeRef, node);
|
|
302
|
-
}
|
|
303
|
-
removeTreeNode(scopeRef) {
|
|
304
|
-
if (scopeRef === null) return;
|
|
305
|
-
let node = this.fastMap.get(scopeRef);
|
|
306
|
-
if (!node) return;
|
|
307
|
-
let parentNode = node.parent;
|
|
308
|
-
for (let current of this.traverse()) if (current !== node && node.nodeToRestore && current.nodeToRestore && node.scopeRef && node.scopeRef.current && $535772f9d2c1f38d$var$isElementInScope(current.nodeToRestore, node.scopeRef.current)) current.nodeToRestore = node.nodeToRestore;
|
|
309
|
-
let children = node.children;
|
|
310
|
-
if (parentNode) {
|
|
311
|
-
parentNode.removeChild(node);
|
|
312
|
-
if (children.size > 0) children.forEach((child) => parentNode && parentNode.addChild(child));
|
|
313
|
-
}
|
|
314
|
-
this.fastMap.delete(node.scopeRef);
|
|
315
|
-
}
|
|
316
|
-
*traverse(node = this.root) {
|
|
317
|
-
if (node.scopeRef != null) yield node;
|
|
318
|
-
if (node.children.size > 0) for (let child of node.children) yield* this.traverse(child);
|
|
319
|
-
}
|
|
320
|
-
clone() {
|
|
321
|
-
let newTree = new $535772f9d2c1f38d$var$Tree();
|
|
322
|
-
for (let node of this.traverse()) newTree.addTreeNode(node.scopeRef, node.parent?.scopeRef ?? null, node.nodeToRestore);
|
|
323
|
-
return newTree;
|
|
324
|
-
}
|
|
325
|
-
};
|
|
326
|
-
var $535772f9d2c1f38d$var$TreeNode = class {
|
|
327
|
-
constructor(props) {
|
|
328
|
-
this.children = /* @__PURE__ */ new Set();
|
|
329
|
-
this.contain = false;
|
|
330
|
-
this.scopeRef = props.scopeRef;
|
|
331
|
-
}
|
|
332
|
-
addChild(node) {
|
|
333
|
-
this.children.add(node);
|
|
334
|
-
node.parent = this;
|
|
335
|
-
}
|
|
336
|
-
removeChild(node) {
|
|
337
|
-
this.children.delete(node);
|
|
338
|
-
node.parent = void 0;
|
|
339
|
-
}
|
|
340
|
-
};
|
|
341
|
-
new $535772f9d2c1f38d$var$Tree();
|
|
342
|
-
//#endregion
|
|
343
|
-
export { $535772f9d2c1f38d$export$c5251b9e124bf29 as n, $535772f9d2c1f38d$export$2d6ec8fc375ceafa as t };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { t as Tooltip } from "./Tooltip-aE1Vswxz.js";
|
|
4
|
-
import { t as $a3be900807531178$re_export$Focusable } from "./exports-BNrTn8Tj.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/info.mjs
|
|
7
|
-
/**
|
|
8
|
-
* @license lucide-react v1.43.0 - ISC
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the ISC license.
|
|
11
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/
|
|
13
|
-
const __iconData = {
|
|
14
|
-
name: "info",
|
|
15
|
-
size: 24,
|
|
16
|
-
node: [
|
|
17
|
-
["circle", {
|
|
18
|
-
cx: "12",
|
|
19
|
-
cy: "12",
|
|
20
|
-
r: "10",
|
|
21
|
-
key: "1mglay"
|
|
22
|
-
}],
|
|
23
|
-
["path", {
|
|
24
|
-
d: "M12 16v-4",
|
|
25
|
-
key: "1dtifu"
|
|
26
|
-
}],
|
|
27
|
-
["path", {
|
|
28
|
-
d: "M12 8h.01",
|
|
29
|
-
key: "e9boi3"
|
|
30
|
-
}]
|
|
31
|
-
]
|
|
32
|
-
};
|
|
33
|
-
__iconData.node;
|
|
34
|
-
const Info = createLucideIcon(__iconData);
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/components/inputs/FormField/FormFieldHeaderTooltip.tsx
|
|
37
|
-
const FormFieldHeaderTooltip = ({ text, isDisabled }) => /* @__PURE__ */ jsx(Tooltip, {
|
|
38
|
-
text,
|
|
39
|
-
children: /* @__PURE__ */ jsx($a3be900807531178$re_export$Focusable, { children: /* @__PURE__ */ jsx(Info, {
|
|
40
|
-
className: clsx("size-6", isDisabled ? "text-tint-surface-default-popover-foreground/50" : "text-surface-default-popover-foreground hover:text-tint-surface-default-popover-foreground/80"),
|
|
41
|
-
tabIndex: 0
|
|
42
|
-
}) })
|
|
43
|
-
});
|
|
44
|
-
//#endregion
|
|
45
|
-
export { FormFieldHeaderTooltip as default };
|
package/dist/Link-Btxj2gzg.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-FupWOW1f.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
3
|
-
import { t as LinkContext } from "./link.context-J7aQtMOr.js";
|
|
4
|
-
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
//#region src/components/text/Link/link.cva.ts
|
|
8
|
-
const linkDefinition = UIOverrides.defineConfig({
|
|
9
|
-
base: ["underline", uiOutlineClass],
|
|
10
|
-
config: {
|
|
11
|
-
variants: { variant: { default: ["text-interactive-primary-background focus-visible:outline-interactive-ring", "hover:text-tint-interactive-primary-background/80 focus-visible:text-tint-interactive-primary-background/60 active:text-tint-interactive-primary-background/70"] } },
|
|
12
|
-
defaultVariants: { variant: "default" }
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/components/text/Link/Link.tsx
|
|
17
|
-
const Link = (t0) => {
|
|
18
|
-
const $ = c(4);
|
|
19
|
-
const { variant, ...props } = t0;
|
|
20
|
-
const linkContext = LinkContext.useLinkContext();
|
|
21
|
-
const linkCva = UIOverrides.useCva("link.cva", linkDefinition);
|
|
22
|
-
const LinkComponent = linkContext?.LinkComponent ?? $984a1fc08f87e4f3$export$a6c7ac8248d6e38a;
|
|
23
|
-
if (!props.to && props.href) props.to = props.href;
|
|
24
|
-
const t1 = linkCva({
|
|
25
|
-
variant,
|
|
26
|
-
className: props.className
|
|
27
|
-
});
|
|
28
|
-
let t2;
|
|
29
|
-
if ($[0] !== LinkComponent || $[1] !== props || $[2] !== t1) {
|
|
30
|
-
t2 = /* @__PURE__ */ jsx(LinkComponent, {
|
|
31
|
-
...props,
|
|
32
|
-
className: t1
|
|
33
|
-
});
|
|
34
|
-
$[0] = LinkComponent;
|
|
35
|
-
$[1] = props;
|
|
36
|
-
$[2] = t1;
|
|
37
|
-
$[3] = t2;
|
|
38
|
-
} else t2 = $[3];
|
|
39
|
-
return t2;
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
export { linkDefinition as n, Link as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-BDT_CReI.js";
|
|
2
|
-
import { t as PillButtonVariants } from "./pillButton.cva-BEWuu0qm.js";
|
|
3
|
-
import { FC, ReactNode, Ref, SVGProps } from "react";
|
|
4
|
-
import { ButtonProps, ToggleButtonProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/buttons/PillButton/PillButton.d.ts
|
|
6
|
-
interface PillButtonProps extends ButtonProps, Omit<ToggleButtonProps, keyof ButtonProps>, ButtonContentVariantProps, PillButtonVariants {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
dismissable?: boolean;
|
|
9
|
-
toggle?: boolean;
|
|
10
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
11
|
-
contentRef?: Ref<HTMLElement>;
|
|
12
|
-
}
|
|
13
|
-
declare const PillButton: ({ children, dismissable, toggle, icon, iconPosition, contentRef, ...props }: PillButtonProps) => import("react").JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { PillButtonProps as n, PillButton as t };
|
package/dist/Tag-Cch_68QO.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-C3xb4Ttq.js";
|
|
2
|
-
import { n as TypographyProps } from "./Typography-BiuidzDC.js";
|
|
3
|
-
import { Ref } from "react";
|
|
4
|
-
import { ButtonProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/text/Tag/tag.cva.d.ts
|
|
6
|
-
declare const tagDefinition: {
|
|
7
|
-
base: string[];
|
|
8
|
-
config: StyleMergeUtils.Config<{
|
|
9
|
-
readonly color: {
|
|
10
|
-
primary: ["bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", "not-disabled:not-pressed:hover:bg-tint-interactive-subtle-primary-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-primary-foreground/80", "not-disabled:pressed:bg-tint-interactive-subtle-primary-background/70 not-disabled:pressed:text-tint-interactive-subtle-primary-foreground/70", "disabled:bg-tint-interactive-subtle-primary-background/50 disabled:text-tint-interactive-subtle-primary-foreground/50", "focus-visible:outline-interactive-ring"];
|
|
11
|
-
secondary: ["bg-interactive-subtle-secondary-background text-interactive-subtle-secondary-foreground", "not-disabled:not-pressed:hover:bg-tint-interactive-subtle-secondary-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-secondary-foreground/80", "not-disabled:pressed:bg-tint-interactive-subtle-secondary-background/70 not-disabled:pressed:text-tint-interactive-subtle-secondary-foreground/70", "disabled:bg-tint-interactive-subtle-secondary-background/50 disabled:text-tint-interactive-subtle-secondary-foreground/50", "focus-visible:outline-interactive-ring"];
|
|
12
|
-
success: ["bg-surface-success-inverted-base text-surface-success-base", "not-disabled:not-pressed:hover:bg-tint-surface-success-inverted-base/80 not-disabled:not-pressed:hover:text-tint-surface-success-base/80", "not-disabled:pressed:bg-tint-surface-success-inverted-base/70 not-disabled:pressed:text-tint-surface-success-base/70", "disabled:bg-tint-surface-success-inverted-base/50 disabled:text-tint-surface-success-base/50", "focus-visible:outline-interactive-ring"];
|
|
13
|
-
warning: ["bg-surface-warning-inverted-base text-surface-warning-base", "not-disabled:not-pressed:hover:bg-tint-surface-warning-inverted-base/80 not-disabled:not-pressed:hover:text-tint-surface-warning-base/80", "not-disabled:pressed:bg-tint-surface-warning-inverted-base/70 not-disabled:pressed:text-tint-surface-warning-base/70", "disabled:bg-tint-surface-warning-inverted-base/50 disabled:text-tint-surface-warning-base/50", "focus-visible:outline-interactive-ring"];
|
|
14
|
-
error: ["bg-interactive-subtle-destructive-background text-interactive-subtle-destructive-foreground", "not-disabled:not-pressed:hover:bg-tint-interactive-subtle-destructive-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-destructive-foreground/80", "not-disabled:pressed:bg-tint-interactive-subtle-destructive-background/70 not-disabled:pressed:text-tint-interactive-subtle-destructive-foreground/70", "disabled:bg-tint-interactive-subtle-destructive-background/50 disabled:text-tint-interactive-subtle-destructive-foreground/50", "focus-visible:outline-interactive-ring"];
|
|
15
|
-
};
|
|
16
|
-
}>;
|
|
17
|
-
};
|
|
18
|
-
type TagConfig = NonNullable<typeof tagDefinition.config>;
|
|
19
|
-
interface TagVariantProps extends UIOverrides.VariantProps<TagConfig> {}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region src/components/text/Tag/Tag.d.ts
|
|
22
|
-
interface TagProps extends TagVariantProps {
|
|
23
|
-
className?: string;
|
|
24
|
-
children: string;
|
|
25
|
-
/** Preferred spelling. `dismissable` remains supported. */
|
|
26
|
-
dismissible?: boolean;
|
|
27
|
-
dismissable?: boolean;
|
|
28
|
-
isDisabled?: boolean;
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
contentRef?: Ref<HTMLElement>;
|
|
31
|
-
textSize?: TypographyProps["size"];
|
|
32
|
-
/** Preferred callback name. */
|
|
33
|
-
onRemove?: () => void;
|
|
34
|
-
onDismiss?: () => void;
|
|
35
|
-
/** Props applied to the actual dismiss button, when one is rendered. */
|
|
36
|
-
dismissButtonProps?: Omit<ButtonProps, "children" | "onPress">;
|
|
37
|
-
excludeFromTabOrder?: boolean;
|
|
38
|
-
/** Compatibility callback for the historical button-like prop surface. */
|
|
39
|
-
onPress?: ButtonProps["onPress"];
|
|
40
|
-
}
|
|
41
|
-
declare const Tag: ({ className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textSize: textSizeProp, ...appearanceProps }: TagProps) => import("react").JSX.Element;
|
|
42
|
-
//#endregion
|
|
43
|
-
export { tagDefinition as i, TagProps as n, TagVariantProps as r, Tag as t };
|
package/dist/chain-DIXr2VAT.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/chain.mjs
|
|
2
|
-
/**
|
|
3
|
-
* Calls all functions in the order they were chained with the same arguments.
|
|
4
|
-
*/ function $a4e76a5424781910$export$e08e3b67e392101e(...callbacks) {
|
|
5
|
-
return (...args) => {
|
|
6
|
-
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { $a4e76a5424781910$export$e08e3b67e392101e as t };
|