@povio/ui 3.4.0-rc.22 → 3.4.0-rc.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/{Accordion-DT1wcBFP.js → Accordion-BLPm2118.js} +4 -4
- package/dist/{Accordion-CgNQw-pZ.d.ts → Accordion-KHMSEFyK.d.ts} +1 -1
- package/dist/{ActionModal-DLeVinly.d.ts → ActionModal-C4lfhfPx.d.ts} +1 -1
- package/dist/{Autocomplete-CYT1Vk1F.d.ts → Autocomplete-Ce3ygKxG.d.ts} +2 -2
- package/dist/{BottomSheet-Cwci3M8j.js → BottomSheet-DNnVqMw9.js} +4 -4
- package/dist/{Breadcrumbs-DrmLNtmQ.js → Breadcrumbs-DentRJc_.js} +7 -7
- package/dist/{Breadcrumbs-pSLRyeOe.d.ts → Breadcrumbs-JQIFk783.d.ts} +2 -2
- package/dist/{Button-Dlm1NyTJ.js → Button-B8T7AjGP.js} +3 -3
- package/dist/{Button-C_FOjIn-.d.ts → Button-OxjPE7Hf.d.ts} +3 -2
- package/dist/{Button-Cq7t4Xxl.js → Button-oSE-CM83.js} +4 -4
- package/dist/{Calendar-C9Dbdkkl.js → Calendar-B7OLjVV9.js} +15 -15
- package/dist/{Checkbox-DyEipBjR.js → Checkbox-B7f8NgnO.js} +12 -11
- package/dist/{Checkbox-Ee9K3u2J.d.ts → Checkbox-Di3VlWJj.d.ts} +1 -1
- package/dist/{CheckboxGroup-D-sNgUMN.d.ts → CheckboxGroup-5r9b-9qT.d.ts} +2 -2
- package/dist/{DatePicker-DclmenVd.d.ts → DatePicker-EJTAeVRc.d.ts} +3 -3
- package/dist/{DatePicker-DM_tCN-6.js → DatePicker-p5zEtFfc.js} +9 -9
- package/dist/{DatePickerInput-C2z1kgaC.js → DatePickerInput-BLL4-Sqj.js} +11 -10
- package/dist/{DatePickerInput-BC-q8HcY.d.ts → DatePickerInput-CJR-w_b1.d.ts} +3 -3
- package/dist/{DateRangePicker-BmScgvEH.js → DateRangePicker-BELkyFZ3.js} +16 -16
- package/dist/{DateRangePicker-DjkIlnMl.d.ts → DateRangePicker-CjOo8S9R.d.ts} +3 -3
- package/dist/{DateTimePicker-aDvcYnVk.d.ts → DateTimePicker-B9cZ38EY.d.ts} +3 -3
- package/dist/{DateTimePicker-CAFB33ih.js → DateTimePicker-YxEZH7Kk.js} +9 -9
- package/dist/{Dialog-BQN4Z3bO.js → Dialog-DpLXaUXz.js} +40 -134
- package/dist/{FileTrigger-eHfAkdXd.js → FileTrigger-BSzrj50r.js} +17 -13
- package/dist/{FileUpload-CHgnF4Nm.d.ts → FileUpload-Cn2Fel_W.d.ts} +1 -1
- package/dist/{FileUpload-Cb--_Mbk.js → FileUpload-uqaBcMUE.js} +5 -5
- package/dist/{FileUploadContainer-Co33mh7x.d.ts → FileUploadContainer-Cg1UdVE5.d.ts} +1 -1
- package/dist/{Form-B4Sbjn__.d.ts → Form-BO5xLioQ.d.ts} +1 -1
- package/dist/{FormField-DoGaUqFm.js → FormField-ChDNTHr4.js} +4 -4
- package/dist/{FormField-FvutosEE.d.ts → FormField-CpPQoyv_.d.ts} +3 -2
- package/dist/{IconButton-uO0Mjcqw.d.ts → IconButton-Dv45TT1w.d.ts} +2 -2
- package/dist/{InlineIconButton-CLiZzTVJ.d.ts → InlineIconButton-DvsOdnfE.d.ts} +3 -2
- package/dist/{Input-TO1R-KsB.js → Input-B4FVIWxn.js} +3 -3
- package/dist/{InputItem-DYNprOmw.js → InputItem-C_njDXaE.js} +11 -11
- package/dist/{InputUpload-k_RRfoeF.js → InputUpload-BEda9AO8.js} +5 -5
- package/dist/{InputUpload-BqKQcew0.d.ts → InputUpload-CR7mp6ED.d.ts} +2 -2
- package/dist/{Inputs-DncFwdP2.d.ts → Inputs-6bq2_53x.d.ts} +1 -1
- package/dist/{Inputs-BapBcBa7.js → Inputs-CTywD5sa.js} +1 -1
- package/dist/{Label-C0MdchIz.js → Label-a10cLlQM.js} +1 -1
- package/dist/{Link-DwUGkr9s.d.ts → Link-Bz8vOksk.d.ts} +1 -1
- package/dist/{Link-BBMgG7TX.js → Link-iPOFlrxY.js} +7 -7
- package/dist/{Link-BvAKCJcB.js → Link-vPV4s0c3.js} +1 -1
- package/dist/{ListBox-HE5uFtiS.js → ListBox-BCW74bzR.js} +17 -14
- package/dist/{Menu-CLA3gTYc.d.ts → Menu-CVgRPAB3.d.ts} +1 -1
- package/dist/{Menu-Db_stvqw.js → Menu-DTiZS3t_.js} +4 -4
- package/dist/{MenuDesktop-BjK3K8gs.js → MenuDesktop-CEftscnb.js} +1 -1
- package/dist/{MenuItem-ChgmtbQw.d.ts → MenuItem-xJq_qdIf.d.ts} +1 -1
- package/dist/{Modal-BVL1P0ls.d.ts → Modal-9GwkBJOj.d.ts} +1 -1
- package/dist/{Modal-CkSO1C1n.js → Modal-DdKOgTpG.js} +2 -2
- package/dist/{Modal-CYvIKx5Z.js → Modal-HBOqpsZ3.js} +3 -3
- package/dist/{NumberInput-mTYSZkqH.d.ts → NumberInput-Cr_nD98h.d.ts} +2 -2
- package/dist/{NumberRangeInput-DS6_DIEc.d.ts → NumberRangeInput-Dgm-8DFi.d.ts} +2 -2
- package/dist/{NumberRangeInput-BsATw2M1.js → NumberRangeInput-vrceL7KX.js} +12 -12
- package/dist/{OverlayArrow-BrSp26z2.js → OverlayArrow-Bz_8bYjT.js} +4 -3
- package/dist/{Pagination-YrWwwM_f.d.ts → Pagination-BBnE2yzX.d.ts} +1 -1
- package/dist/{PaginationList-71pjqcQ0.d.ts → PaginationList-DhwiyUOh.d.ts} +1 -1
- package/dist/{PaginationList-DJfUpGY9.js → PaginationList-DwPkbMEh.js} +1 -1
- package/dist/{PasswordInput-XI0n5I1s.d.ts → PasswordInput-DjDWoOHW.d.ts} +1 -1
- package/dist/{Pill-DSt6f4Eq.d.ts → Pill-C0Ubkm_y.d.ts} +1 -1
- package/dist/{PillButton-NdrR6uVR.d.ts → PillButton-MeVkDMKW.d.ts} +1 -1
- package/dist/{QuerySelect-W0euIrkL.d.ts → QuerySelect-CuZjxrle.d.ts} +3 -3
- package/dist/{RadioGroup-CNSTNHYN.js → RadioGroup-DopLBNzi.js} +18 -18
- package/dist/{RadioGroup-D6-jU_Hb.d.ts → RadioGroup-iry4UYlW.d.ts} +2 -2
- package/dist/{ResponsivePopover-CokwzUr4.d.ts → ResponsivePopover-C8IriWcI.d.ts} +1 -1
- package/dist/{Segment-Cndlojxv.js → Segment--coTx1BD.js} +3 -3
- package/dist/{Segment-IpdajE4h.d.ts → Segment-D6zpeIiW.d.ts} +2 -2
- package/dist/{Select-CNTaUjfL.d.ts → Select-BQ9YJzFg.d.ts} +2 -2
- package/dist/{Select-CCNQ4Bso.js → Select-T4am7u5p.js} +3 -3
- package/dist/{SelectBase-C4lPY7Hc.d.ts → SelectBase-Ds3nqzVg.d.ts} +2 -2
- package/dist/{SelectionIndicator-qJF4qfyY.js → SelectionIndicator-BiAHPBz2.js} +64 -5
- package/dist/{Slider-HF31GF1t.d.ts → Slider-CdZdFERe.d.ts} +2 -2
- package/dist/{Slider-C2VnHdQq.js → Slider-RhB5Rcwv.js} +22 -169
- package/dist/{SplitButton-CnyLnCrQ.d.ts → SplitButton-Cv9ej6Or.d.ts} +3 -3
- package/dist/{Stepper-yN3fNyGt.js → Stepper-Cc7qNjch.js} +1 -1
- package/dist/{Tag-DCo_fVLl.js → Tag-BspEXTbs.js} +1 -1
- package/dist/{Tag-CXfTBg6q.d.ts → Tag-DkTx1S7H.d.ts} +1 -1
- package/dist/{TextArea-CS-2txl7.js → TextArea-Dqg717Gx.js} +7 -7
- package/dist/{TextArea-8_TYSixS.d.ts → TextArea-WosRv99w.d.ts} +3 -2
- package/dist/{TextButton-BdefN7SL.d.ts → TextButton-CJm2kbLZ.d.ts} +3 -3
- package/dist/{TextEditor-CXDFpX_q.d.ts → TextEditor-CI9MAPyT.d.ts} +1 -1
- package/dist/{TextEditor-p0CqH_71.js → TextEditor-DXFlGnkW.js} +16 -16
- package/dist/{TimePicker-Bspfhoo_.d.ts → TimePicker-DivbHhCw.d.ts} +2 -2
- package/dist/{TimePicker-DLzbOPrC.js → TimePicker-lAn8yzYJ.js} +12 -12
- package/dist/{Toast-4Q3O7cKx.js → Toast-DycxJVq5.js} +1 -1
- package/dist/{Toggle-CgD4ykP4.js → Toggle-BZCEmMGO.js} +5 -5
- package/dist/{Toggle-TDp5YtaQ.d.ts → Toggle-vHKDihtx.d.ts} +1 -1
- package/dist/{ToggleButton-BuEhb8eu.d.ts → ToggleButton-C0aNgZdw.d.ts} +2 -2
- package/dist/{ToggleButton-D94yRla8.js → ToggleButton-DYVFkuEk.js} +6 -6
- package/dist/{Tooltip-zaZ0d1jz.d.ts → Tooltip-BIoJ7tNr.d.ts} +1 -1
- package/dist/{Tooltip-KfGHmXdx.js → Tooltip-CVBOnHy-.js} +10 -9
- package/dist/{TooltipWrapper-CLMp_zj4.js → TooltipWrapper-D8gfa-pC.js} +1 -1
- package/dist/{VisuallyHidden-DjaDVPQT.js → VisuallyHidden-src7PN5r.js} +3 -3
- package/dist/{autocomplete-B2Ol8qjV.d.ts → autocomplete-NiLahf70.d.ts} +3 -3
- package/dist/button-CAOolCjz.d.ts +1 -0
- package/dist/{checkbox-CGea408G.d.ts → checkbox-BYnCRnOf.d.ts} +1 -1
- package/dist/{checkbox-group-BdjjQ24I.d.ts → checkbox-group-CeIFa44k.d.ts} +1 -1
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/action-modal.d.ts +1 -1
- package/dist/components/action-modal.js +2 -2
- package/dist/components/autocomplete/react-aria.js +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +3 -3
- package/dist/components/bottom-sheet.js +1 -1
- package/dist/components/breadcrumb/react-aria.js +2 -2
- package/dist/components/breadcrumbs/react-aria.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/cell/react-aria.js +2 -2
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +5 -5
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/collection/react-aria.js +1 -1
- package/dist/components/color-swatch-picker/react-aria.js +2 -2
- package/dist/components/color-swatch-picker-item/react-aria.js +2 -2
- package/dist/components/column/react-aria.js +2 -2
- package/dist/components/column-resizer/react-aria.js +2 -2
- package/dist/components/combo-box/react-aria.js +2 -2
- package/dist/components/date-picker/react-aria.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/react-aria.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/react-aria.js +1 -1
- package/dist/components/dialog-trigger/react-aria.js +1 -1
- package/dist/components/dom-attributes/react-aria.d.ts +1 -0
- package/dist/components/dom-attributes/react-aria.js +0 -0
- package/dist/components/drawer.js +2 -2
- package/dist/components/file-trigger/react-aria.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/grid-list/react-aria.js +2 -2
- package/dist/components/grid-list-header/react-aria.js +2 -2
- package/dist/components/grid-list-item/react-aria.js +2 -2
- package/dist/components/grid-list-load-more-item/react-aria.js +2 -2
- package/dist/components/grid-list-section/react-aria.js +2 -2
- package/dist/components/header/react-aria.js +2 -2
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +1 -1
- package/dist/components/input-upload.d.ts +1 -1
- package/dist/components/input-upload.js +1 -1
- package/dist/components/key/react-aria.d.ts +1 -0
- package/dist/components/key/react-aria.js +0 -0
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-box/react-aria.js +2 -2
- package/dist/components/list-box-item/react-aria.js +2 -2
- package/dist/components/list-box-load-more-item/react-aria.js +2 -2
- package/dist/components/list-box-section/react-aria.js +2 -2
- package/dist/components/menu/react-aria.js +1 -1
- package/dist/components/menu-item/react-aria.js +2 -2
- package/dist/components/menu-section/react-aria.js +1 -1
- package/dist/components/menu-trigger/react-aria.js +1 -1
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/menu.js +2 -2
- package/dist/components/modal/react-aria.js +1 -1
- package/dist/components/modal-overlay/react-aria.js +1 -1
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-input.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 +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill-button.js +2 -2
- package/dist/components/pill.d.ts +1 -1
- package/dist/components/pill.js +1 -1
- package/dist/components/popover/react-aria.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +1 -1
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +2 -2
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/resizable-table-container/react-aria.js +2 -2
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/responsive-popover.js +2 -2
- package/dist/components/row/react-aria.js +2 -2
- package/dist/components/section/react-aria.js +1 -1
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select/react-aria.js +2 -2
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/selection/react-aria.d.ts +1 -0
- package/dist/components/selection/react-aria.js +0 -0
- package/dist/components/separator/react-aria.js +2 -2
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/stepper.js +1 -1
- package/dist/components/submenu-trigger/react-aria.js +1 -1
- package/dist/components/tab/react-aria.js +2 -2
- package/dist/components/tab-list/react-aria.js +1 -1
- package/dist/components/tab-panels/react-aria.js +1 -1
- package/dist/components/table/react-aria.js +2 -2
- package/dist/components/table-body/react-aria.js +2 -2
- package/dist/components/table-header/react-aria.js +2 -2
- package/dist/components/table-load-more-item/react-aria.js +2 -2
- package/dist/components/tabs/react-aria.js +1 -1
- package/dist/components/tag/react-aria.js +2 -2
- package/dist/components/tag-group/react-aria.js +2 -2
- package/dist/components/tag-list/react-aria.js +2 -2
- 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/text-input.d.ts +1 -1
- package/dist/components/text-input.js +10 -9
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast-region/react-aria.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.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/tree/react-aria.js +2 -2
- package/dist/components/tree-item/react-aria.js +2 -2
- package/dist/components/tree-item-content/react-aria.js +2 -2
- package/dist/components/tree-load-more-item/react-aria.js +2 -2
- package/dist/components/use-focus-visible/react-aria.d.ts +1 -0
- package/dist/components/use-focus-visible/react-aria.js +1 -0
- package/dist/components/use-focus-within/react-aria.d.ts +1 -0
- package/dist/components/use-focus-within/react-aria.js +1 -0
- package/dist/components/use-hover/react-aria.d.ts +1 -0
- package/dist/components/use-hover/react-aria.js +1 -0
- package/dist/components/use-label/react-aria.d.ts +1 -0
- package/dist/components/use-label/react-aria.js +1 -0
- package/dist/components/use-text-field/react-aria.d.ts +1 -0
- package/dist/components/use-text-field/react-aria.js +1 -0
- package/dist/components/use-toast.js +1 -1
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/{confirmation.context-BJ8gTx7U.d.ts → confirmation.context-CLV-kSkd.d.ts} +1 -1
- package/dist/{context-CLFkoJMP.js → context-HV79Qf_F.js} +53 -2
- package/dist/{date-picker-BpSowet-.d.ts → date-picker-42XrbatY.d.ts} +1 -1
- package/dist/{date-range-picker-aO65H4wV.d.ts → date-range-picker-DaLQYShd.d.ts} +1 -1
- package/dist/{date-time-picker-DWo2GFg7.d.ts → date-time-picker-BQp0fmmb.d.ts} +1 -1
- package/dist/{datePickerValue.utils-Dh-nA1Yv.js → datePickerValue.utils-BqdbvGFL.js} +2 -2
- package/dist/{dynamicInputs-BekIlDGf.d.ts → dynamicInputs-BoAqswLw.d.ts} +70 -70
- package/dist/{file-upload-DDIJKLW8.d.ts → file-upload-JIICz2sD.d.ts} +2 -2
- package/dist/{fileUpload.types-CQkPqELk.d.ts → fileUpload.types-DNAlG2R3.d.ts} +3 -3
- package/dist/focusWithoutScrolling-DEPiLwKq.js +49 -0
- package/dist/hooks/use-filters.js +1 -1
- package/dist/import-CuNJ25EP.js +447 -0
- package/dist/index.d.ts +66 -66
- package/dist/index.js +28 -28
- package/dist/{input-upload-Apyx1Mvy.d.ts → input-upload-Bm68Vqws.d.ts} +1 -1
- package/dist/{link.context-BFXwgVLP.d.ts → link.context-BUgF4OQ8.d.ts} +1 -1
- package/dist/{number-input-D0YwMCGh.d.ts → number-input-0eEiBuYH.d.ts} +1 -1
- package/dist/{number-range-input-BtPXUX0k.d.ts → number-range-input-Xe0GcGzn.d.ts} +1 -1
- package/dist/{numberStatic.utils-C9_kWMXJ.js → numberStatic.utils-CWkou4ca.js} +20 -108
- package/dist/openLink-CIHtr0U7.js +95 -0
- package/dist/{password-input-euv4tHdl.d.ts → password-input-Dzt77vHH.d.ts} +1 -1
- package/dist/platform-df1ZXSJE.js +47 -0
- package/dist/{query-autocomplete-BwU-94pi.d.ts → query-autocomplete-B3qBhSDk.d.ts} +2 -2
- package/dist/{query-select-CBgR2Tua.d.ts → query-select-BNNjF0Bc.d.ts} +3 -3
- package/dist/{queryAutocomplete.types-3ezR8y7k.d.ts → queryAutocomplete.types-CpLHyvqN.d.ts} +3 -3
- package/dist/{radio-group-DVGKZRnt.d.ts → radio-group-Bhnx7pCI.d.ts} +1 -1
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/input-upload.d.ts +2 -2
- package/dist/rhf/input-upload.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-input.d.ts +2 -2
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/segment.d.ts +2 -2
- package/dist/rhf/segment.js +1 -1
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/text-editor.d.ts +2 -2
- package/dist/rhf/text-editor.js +1 -1
- package/dist/rhf/text-input.d.ts +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle.d.ts +2 -2
- package/dist/rhf/toggle.js +1 -1
- package/dist/rhf.d.ts +66 -66
- package/dist/rhf.js +28 -28
- package/dist/{router.context-DSE1y7gW.js → router.context-VhvhlIvV.js} +1 -1
- package/dist/{segment-CSZWTNMz.d.ts → segment-CK9gjZ8s.d.ts} +2 -2
- package/dist/{segment.types-POFeFf4n.d.ts → segment.types-CCpnAbOH.d.ts} +1 -1
- package/dist/{select-ZL6iOiG0.d.ts → select-CYuTeweS.d.ts} +3 -3
- package/dist/{slider--ZPodYa6.d.ts → slider-MG-JqKNN.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-CKL9PuGV.js → staticDateTimeSegments-C8AOKnEO.js} +19 -19
- package/dist/{staticSelect.utils-DkiDwfGr.js → staticSelect.utils-CYV-eubF.js} +30 -28
- 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-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-upload.d.ts +1 -1
- package/dist/tanstack/input-upload.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-input.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/segment.d.ts +2 -2
- package/dist/tanstack/segment.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/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/text-editor.d.ts +1 -1
- package/dist/tanstack/text-editor.js +1 -1
- package/dist/tanstack/text-input.d.ts +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle.d.ts +1 -1
- package/dist/tanstack/toggle.js +1 -1
- package/dist/tanstack.d.ts +50 -50
- package/dist/tanstack.js +38 -38
- package/dist/{text-area-BhZAEqfI.d.ts → text-area-BOlfnGaF.d.ts} +1 -1
- package/dist/{text-editor-Dq-YYIuF.d.ts → text-editor-CQGYgGI3.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/text-editor.js +1 -1
- package/dist/{text-input-F-mBSHby.d.ts → text-input-JUX2SUzO.d.ts} +1 -1
- package/dist/{time-picker-5w_eDDNn.d.ts → time-picker-Dm642_yK.d.ts} +1 -1
- package/dist/{toggle-D-Dg5YGf.d.ts → toggle-IhObgudF.d.ts} +1 -1
- package/dist/{types-BV15_DBT.d.ts → types-BSiv-Igp.d.ts} +4 -4
- package/dist/{uiConfig.context-pJj1iUnQ.d.ts → uiConfig.context-DyCOXtaZ.d.ts} +11 -11
- package/dist/{useButton-iUReggbG.js → useButton-STC3gJBt.js} +4 -4
- package/dist/useDescription-D8raJPFb.js +36 -0
- package/dist/useEffectEvent-DAMDuWzz.js +17 -0
- package/dist/{useEvent-BROAXUSg.js → useEvent-5X8yPLOx.js} +1 -1
- package/dist/{useFieldAccessibility-CmbhtqBy.js → useFieldAccessibility-Bdt6GY7h.js} +2 -2
- package/dist/{useFilter-BOG2VldJ.js → useFilter-BQRb0JpC.js} +1 -1
- package/dist/{useFilters-AA70NuXo.js → useFilters-Cc_lW3jH.js} +1 -1
- package/dist/useFocusRing-Cd0lBvKO.js +41 -0
- package/dist/{useFormAutosave-BXqu0xAQ.js → useFormAutosave-CyuAM0Mh.js} +1 -1
- package/dist/{useFormReset-BhJH8XnS.js → useFormReset-CFgV1v57.js} +1 -1
- package/dist/{useFormValidation-DLZqyNVp.js → useFormValidation-DWqb1ZeB.js} +5 -33
- package/dist/useGlobalListeners-DuENtiaD.js +39 -0
- package/dist/{useLabels-B3G1H2cw.js → useLabels-CUjKpeKj.js} +1 -1
- package/dist/{useLocalizedStringFormatter-C2M9mXF2.js → useLocalizedStringFormatter-D9TmTRN_.js} +1 -1
- package/dist/{useNumberFormatter-CTdFIKV_.js → useNumberFormatter-BiWwqIo9.js} +1 -1
- package/dist/{useSpinButton-C3wyKHU7.js → useSpinButton-BxGKzVHd.js} +4 -3
- package/dist/{useStaticInputHandoff-COJdSrME.js → useStaticInputHandoff-pnEcfX_d.js} +2 -2
- package/dist/{useTableColumnConfig-_XJr8Cor.js → useTableColumnConfig-BZ4H6gha.js} +3 -3
- package/dist/{useToggle-DDay--cY.js → useToggle-ingqhLIQ.js} +6 -6
- package/package.json +44 -1
- package/dist/PressResponder-q8UTUsf0.js +0 -63
- package/dist/openLink-BFEMFlhB.js +0 -187
- package/dist/useFocusRing-DuXtCnJj.js +0 -141
- package/dist/useHover-DwfnacVy.js +0 -1210
- package/dist/useLabel-BFvzYK5u.js +0 -27
- package/dist/usePress-CANxCO5-.js +0 -491
- package/dist/useTextField-De01RThI.js +0 -77
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useCallback, useRef, useState } from "react";
|
|
2
|
+
import { isFocusVisible, useFocus, useFocusVisibleListener, useFocusWithin } from "@react-aria/interactions";
|
|
3
|
+
//#region ../../node_modules/.bun/@react-aria+focus@3.21.4+67f6792bdf102c28/node_modules/@react-aria/focus/dist/useFocusRing.mjs
|
|
4
|
+
function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
|
|
5
|
+
let { autoFocus = false, isTextInput, within } = props;
|
|
6
|
+
let state = useRef({
|
|
7
|
+
isFocused: false,
|
|
8
|
+
isFocusVisible: autoFocus || isFocusVisible()
|
|
9
|
+
});
|
|
10
|
+
let [isFocused, setFocused] = useState(false);
|
|
11
|
+
let [isFocusVisibleState, setFocusVisible] = useState(() => state.current.isFocused && state.current.isFocusVisible);
|
|
12
|
+
let updateState = useCallback(() => setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);
|
|
13
|
+
let onFocusChange = useCallback((isFocused) => {
|
|
14
|
+
state.current.isFocused = isFocused;
|
|
15
|
+
state.current.isFocusVisible = isFocusVisible();
|
|
16
|
+
setFocused(isFocused);
|
|
17
|
+
updateState();
|
|
18
|
+
}, [updateState]);
|
|
19
|
+
useFocusVisibleListener((isFocusVisible) => {
|
|
20
|
+
state.current.isFocusVisible = isFocusVisible;
|
|
21
|
+
updateState();
|
|
22
|
+
}, [isTextInput, isFocused], {
|
|
23
|
+
enabled: isFocused,
|
|
24
|
+
isTextInput
|
|
25
|
+
});
|
|
26
|
+
let { focusProps } = useFocus({
|
|
27
|
+
isDisabled: within,
|
|
28
|
+
onFocusChange
|
|
29
|
+
});
|
|
30
|
+
let { focusWithinProps } = useFocusWithin({
|
|
31
|
+
isDisabled: !within,
|
|
32
|
+
onFocusWithinChange: onFocusChange
|
|
33
|
+
});
|
|
34
|
+
return {
|
|
35
|
+
isFocused,
|
|
36
|
+
isFocusVisible: isFocusVisibleState,
|
|
37
|
+
focusProps: within ? focusWithinProps : focusProps
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { $f7dceffc5ad7768b$export$4e328f61c538687f as t };
|
|
@@ -3,7 +3,7 @@ import { t as ZodArray } from "./schemas-BkfyFvBp.js";
|
|
|
3
3
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
4
4
|
import { t as ZodUtils } from "./zod.utils-Nz_Tbo_v.js";
|
|
5
5
|
import { n as getDefaultInputComponentType } from "./dynamicInputs-D8j0ko24.js";
|
|
6
|
-
import { t as InputItem } from "./InputItem-
|
|
6
|
+
import { t as InputItem } from "./InputItem-C_njDXaE.js";
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useEffectEvent-DAMDuWzz.js";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useFormReset.mjs
|
|
4
4
|
function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
|
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as $
|
|
1
|
+
import { S as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./import-CuNJ25EP.js";
|
|
2
|
+
import { t as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useEffectEvent-DAMDuWzz.js";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
|
-
|
|
5
|
-
function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
6
|
-
let { description, errorMessage, isInvalid, validationState } = props;
|
|
7
|
-
let { labelProps, fieldProps } = $d191a55c9702f145$export$8467354a121f1b9f(props);
|
|
8
|
-
let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8([
|
|
9
|
-
Boolean(description),
|
|
10
|
-
Boolean(errorMessage),
|
|
11
|
-
isInvalid,
|
|
12
|
-
validationState
|
|
13
|
-
]);
|
|
14
|
-
let errorMessageId = $bdb11010cef70236$export$b4cc09c592e8fdb8([
|
|
15
|
-
Boolean(description),
|
|
16
|
-
Boolean(errorMessage),
|
|
17
|
-
isInvalid,
|
|
18
|
-
validationState
|
|
19
|
-
]);
|
|
20
|
-
fieldProps = $3ef42575df84b30b$export$9d1611c77c2fe928(fieldProps, { "aria-describedby": [
|
|
21
|
-
descriptionId,
|
|
22
|
-
errorMessageId,
|
|
23
|
-
props["aria-describedby"]
|
|
24
|
-
].filter(Boolean).join(" ") || void 0 });
|
|
25
|
-
return {
|
|
26
|
-
labelProps,
|
|
27
|
-
fieldProps,
|
|
28
|
-
descriptionProps: { id: descriptionId },
|
|
29
|
-
errorMessageProps: { id: errorMessageId }
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
4
|
+
import { setInteractionModality } from "@react-aria/interactions";
|
|
33
5
|
//#region ../../node_modules/.bun/@react-aria+form@3.1.4+67f6792bdf102c28/node_modules/@react-aria/form/dist/useFormValidation.mjs
|
|
34
6
|
function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
|
|
35
7
|
let { validationBehavior, focus } = props;
|
|
@@ -53,7 +25,7 @@ function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
|
|
|
53
25
|
var _ref_current1;
|
|
54
26
|
if (focus) focus();
|
|
55
27
|
else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 || _ref_current1.focus();
|
|
56
|
-
|
|
28
|
+
setInteractionModality("keyboard");
|
|
57
29
|
}
|
|
58
30
|
e.preventDefault();
|
|
59
31
|
});
|
|
@@ -112,4 +84,4 @@ function $e93e671b31057976$var$getFirstInvalidInput(form) {
|
|
|
112
84
|
return null;
|
|
113
85
|
}
|
|
114
86
|
//#endregion
|
|
115
|
-
export { $
|
|
87
|
+
export { $e93e671b31057976$export$b8473d3665f3a75a as t };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef } from "react";
|
|
2
|
+
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs
|
|
3
|
+
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
4
|
+
let globalListeners = useRef(/* @__PURE__ */ new Map());
|
|
5
|
+
let addGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
6
|
+
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
7
|
+
globalListeners.current.delete(listener);
|
|
8
|
+
listener(...args);
|
|
9
|
+
} : listener;
|
|
10
|
+
globalListeners.current.set(listener, {
|
|
11
|
+
type,
|
|
12
|
+
eventTarget,
|
|
13
|
+
fn,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
eventTarget.addEventListener(type, fn, options);
|
|
17
|
+
}, []);
|
|
18
|
+
let removeGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
19
|
+
var _globalListeners_current_get;
|
|
20
|
+
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
21
|
+
eventTarget.removeEventListener(type, fn, options);
|
|
22
|
+
globalListeners.current.delete(listener);
|
|
23
|
+
}, []);
|
|
24
|
+
let removeAllGlobalListeners = useCallback(() => {
|
|
25
|
+
globalListeners.current.forEach((value, key) => {
|
|
26
|
+
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
27
|
+
});
|
|
28
|
+
}, [removeGlobalListener]);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
return removeAllGlobalListeners;
|
|
31
|
+
}, [removeAllGlobalListeners]);
|
|
32
|
+
return {
|
|
33
|
+
addGlobalListener,
|
|
34
|
+
removeGlobalListener,
|
|
35
|
+
removeAllGlobalListeners
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { $03deb23ff14920c4$export$4eaf04e54aa8eed6 as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as $bdb11010cef70236$export$f680877a34711e37 } from "./import-CuNJ25EP.js";
|
|
2
2
|
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useLabels.mjs
|
|
3
3
|
function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
|
|
4
4
|
let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
|
package/dist/{useLocalizedStringFormatter-C2M9mXF2.js → useLocalizedStringFormatter-D9TmTRN_.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-HV79Qf_F.js";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
//#region ../../node_modules/.bun/@internationalized+string@3.2.7/node_modules/@internationalized/string/dist/LocalizedStringDictionary.mjs
|
|
4
4
|
const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-HV79Qf_F.js";
|
|
2
2
|
import { t as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-KUrW7GbE.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
//#region ../../node_modules/.bun/@react-aria+i18n@3.12.15+67f6792bdf102c28/node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./useGlobalListeners-DuENtiaD.js";
|
|
2
|
+
import { t as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useEffectEvent-DAMDuWzz.js";
|
|
3
|
+
import { i as $319e236875307eab$export$d10ae4f68404609a, r as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-oSE-CM83.js";
|
|
4
|
+
import { n as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-D9TmTRN_.js";
|
|
4
5
|
import { t as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-KUrW7GbE.js";
|
|
5
6
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
6
7
|
//#region ../../node_modules/.bun/@internationalized+number@3.6.5/node_modules/@internationalized/number/dist/NumberParser.mjs
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-SBtRegKv.js";
|
|
2
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
2
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-ChDNTHr4.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { t as typographyDefinition } from "./typography.cva-BI0FyIqm.js";
|
|
6
6
|
import { t as Loader } from "./Loader-C6YkWZOO.js";
|
|
7
7
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
8
|
-
import { r as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
8
|
+
import { r as InputClear, t as TooltipWrapper } from "./TooltipWrapper-D8gfa-pC.js";
|
|
9
9
|
import { a as inputSizeDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
|
|
10
10
|
import { isValidElement, useId, useLayoutEffect, useRef, useState } from "react";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ import { t as UIConfig } from "./uiConfig.context-SBtRegKv.js";
|
|
|
3
3
|
import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
4
4
|
import { t as ChevronUp } from "./chevron-up-CHRnDSA3.js";
|
|
5
5
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
6
|
-
import { t as Checkbox } from "./Checkbox-
|
|
6
|
+
import { t as Checkbox } from "./Checkbox-B7f8NgnO.js";
|
|
7
7
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
8
8
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
9
9
|
import { t as Loader } from "./Loader-C6YkWZOO.js";
|
|
@@ -15,11 +15,11 @@ import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
|
15
15
|
import { f as ZodISODateTime, i as ZodEnum, l as ZodString, n as ZodBoolean, o as ZodNumber, s as ZodObject, t as ZodArray } from "./schemas-BkfyFvBp.js";
|
|
16
16
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
17
17
|
import { t as ZodUtils } from "./zod.utils-Nz_Tbo_v.js";
|
|
18
|
-
import { t as Modal } from "./Modal-
|
|
18
|
+
import { t as Modal } from "./Modal-DdKOgTpG.js";
|
|
19
19
|
import { Pagination } from "./components/pagination.js";
|
|
20
20
|
import { t as logger } from "./logger-BPhG2izn.js";
|
|
21
21
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
22
|
-
import { t as UIRouter } from "./router.context-
|
|
22
|
+
import { t as UIRouter } from "./router.context-VhvhlIvV.js";
|
|
23
23
|
import { t as RoutingUtils } from "./routing.utils-UTQonIhB.js";
|
|
24
24
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
25
25
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
3
|
-
import {
|
|
1
|
+
import { g as $3ef42575df84b30b$export$9d1611c77c2fe928, h as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-CuNJ25EP.js";
|
|
2
|
+
import { t as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CFgV1v57.js";
|
|
3
|
+
import { useFocusable, usePress } from "@react-aria/interactions";
|
|
4
4
|
//#region ../../node_modules/.bun/@react-aria+toggle@3.12.4+67f6792bdf102c28/node_modules/@react-aria/toggle/dist/useToggle.mjs
|
|
5
5
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
6
6
|
let { isDisabled = false, isReadOnly = false, value, name, form, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid, onPressStart, onPressEnd, onPressChange, onPress, onPressUp, onClick } = props;
|
|
@@ -9,7 +9,7 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
|
9
9
|
state.setSelected(e.target.checked);
|
|
10
10
|
};
|
|
11
11
|
if (!(children != null) && !(ariaLabel != null || ariaLabelledby != null) && true) console.warn("If you do not provide children, you must specify an aria-label for accessibility");
|
|
12
|
-
let { pressProps, isPressed } =
|
|
12
|
+
let { pressProps, isPressed } = usePress({
|
|
13
13
|
onPressStart,
|
|
14
14
|
onPressEnd,
|
|
15
15
|
onPressChange,
|
|
@@ -18,7 +18,7 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
|
18
18
|
onClick,
|
|
19
19
|
isDisabled
|
|
20
20
|
});
|
|
21
|
-
let { pressProps: labelProps, isPressed: isLabelPressed } =
|
|
21
|
+
let { pressProps: labelProps, isPressed: isLabelPressed } = usePress({
|
|
22
22
|
onPressStart,
|
|
23
23
|
onPressEnd,
|
|
24
24
|
onPressChange,
|
|
@@ -32,7 +32,7 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
|
32
32
|
},
|
|
33
33
|
isDisabled: isDisabled || isReadOnly
|
|
34
34
|
});
|
|
35
|
-
let { focusableProps } =
|
|
35
|
+
let { focusableProps } = useFocusable(props, ref);
|
|
36
36
|
let interactions = $3ef42575df84b30b$export$9d1611c77c2fe928(pressProps, focusableProps);
|
|
37
37
|
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { labelable: true });
|
|
38
38
|
$99facab73266f662$export$5add1d006293d136(ref, state.defaultSelected, state.setSelected);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@povio/ui",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -1008,6 +1008,46 @@
|
|
|
1008
1008
|
"import": "./dist/components/toast-region/react-aria.js",
|
|
1009
1009
|
"default": "./dist/components/toast-region/react-aria.js"
|
|
1010
1010
|
},
|
|
1011
|
+
"./use-text-field/react-aria": {
|
|
1012
|
+
"types": "./dist/components/use-text-field/react-aria.d.ts",
|
|
1013
|
+
"import": "./dist/components/use-text-field/react-aria.js",
|
|
1014
|
+
"default": "./dist/components/use-text-field/react-aria.js"
|
|
1015
|
+
},
|
|
1016
|
+
"./use-focus-visible/react-aria": {
|
|
1017
|
+
"types": "./dist/components/use-focus-visible/react-aria.d.ts",
|
|
1018
|
+
"import": "./dist/components/use-focus-visible/react-aria.js",
|
|
1019
|
+
"default": "./dist/components/use-focus-visible/react-aria.js"
|
|
1020
|
+
},
|
|
1021
|
+
"./use-focus-within/react-aria": {
|
|
1022
|
+
"types": "./dist/components/use-focus-within/react-aria.d.ts",
|
|
1023
|
+
"import": "./dist/components/use-focus-within/react-aria.js",
|
|
1024
|
+
"default": "./dist/components/use-focus-within/react-aria.js"
|
|
1025
|
+
},
|
|
1026
|
+
"./use-hover/react-aria": {
|
|
1027
|
+
"types": "./dist/components/use-hover/react-aria.d.ts",
|
|
1028
|
+
"import": "./dist/components/use-hover/react-aria.js",
|
|
1029
|
+
"default": "./dist/components/use-hover/react-aria.js"
|
|
1030
|
+
},
|
|
1031
|
+
"./use-label/react-aria": {
|
|
1032
|
+
"types": "./dist/components/use-label/react-aria.d.ts",
|
|
1033
|
+
"import": "./dist/components/use-label/react-aria.js",
|
|
1034
|
+
"default": "./dist/components/use-label/react-aria.js"
|
|
1035
|
+
},
|
|
1036
|
+
"./key/react-aria": {
|
|
1037
|
+
"types": "./dist/components/key/react-aria.d.ts",
|
|
1038
|
+
"import": "./dist/components/key/react-aria.js",
|
|
1039
|
+
"default": "./dist/components/key/react-aria.js"
|
|
1040
|
+
},
|
|
1041
|
+
"./selection/react-aria": {
|
|
1042
|
+
"types": "./dist/components/selection/react-aria.d.ts",
|
|
1043
|
+
"import": "./dist/components/selection/react-aria.js",
|
|
1044
|
+
"default": "./dist/components/selection/react-aria.js"
|
|
1045
|
+
},
|
|
1046
|
+
"./dom-attributes/react-aria": {
|
|
1047
|
+
"types": "./dist/components/dom-attributes/react-aria.d.ts",
|
|
1048
|
+
"import": "./dist/components/dom-attributes/react-aria.js",
|
|
1049
|
+
"default": "./dist/components/dom-attributes/react-aria.js"
|
|
1050
|
+
},
|
|
1011
1051
|
"./rhf": {
|
|
1012
1052
|
"types": "./dist/rhf.d.ts",
|
|
1013
1053
|
"import": "./dist/rhf.js",
|
|
@@ -1280,6 +1320,9 @@
|
|
|
1280
1320
|
"@react-aria/button": "^3.14.4",
|
|
1281
1321
|
"@react-aria/focus": "^3.21.4",
|
|
1282
1322
|
"@react-aria/i18n": "^3.12.15",
|
|
1323
|
+
"@react-aria/interactions": "^3.27.0",
|
|
1324
|
+
"@react-aria/label": "^3.7.24",
|
|
1325
|
+
"@react-aria/textfield": "^3.18.4",
|
|
1283
1326
|
"@react-aria/utils": "^3.33.0",
|
|
1284
1327
|
"@react-types/shared": "^3.33.0",
|
|
1285
1328
|
"class-variance-authority": "^0.7.1",
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { M as $e7801be82b4b2a53$export$4debdb1a3f0fa79e, P as $df56164dff5785e2$export$4338b53315abf666, R as $3ef42575df84b30b$export$9d1611c77c2fe928, X as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./useHover-DwfnacVy.js";
|
|
2
|
-
import { n as $ae1eeba8b9eafd08$export$5165eccb35aaadb5 } from "./usePress-CANxCO5-.js";
|
|
3
|
-
import $HgANd$react, { useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useDescription.mjs
|
|
5
|
-
let $ef06256079686ba0$var$descriptionId = 0;
|
|
6
|
-
const $ef06256079686ba0$var$descriptionNodes = /* @__PURE__ */ new Map();
|
|
7
|
-
function $ef06256079686ba0$export$f8aeda7b10753fa1(description) {
|
|
8
|
-
let [id, setId] = useState();
|
|
9
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
10
|
-
if (!description) return;
|
|
11
|
-
let desc = $ef06256079686ba0$var$descriptionNodes.get(description);
|
|
12
|
-
if (!desc) {
|
|
13
|
-
let id = `react-aria-description-${$ef06256079686ba0$var$descriptionId++}`;
|
|
14
|
-
setId(id);
|
|
15
|
-
let node = document.createElement("div");
|
|
16
|
-
node.id = id;
|
|
17
|
-
node.style.display = "none";
|
|
18
|
-
node.textContent = description;
|
|
19
|
-
document.body.appendChild(node);
|
|
20
|
-
desc = {
|
|
21
|
-
refCount: 0,
|
|
22
|
-
element: node
|
|
23
|
-
};
|
|
24
|
-
$ef06256079686ba0$var$descriptionNodes.set(description, desc);
|
|
25
|
-
} else setId(desc.element.id);
|
|
26
|
-
desc.refCount++;
|
|
27
|
-
return () => {
|
|
28
|
-
if (desc && --desc.refCount === 0) {
|
|
29
|
-
desc.element.remove();
|
|
30
|
-
$ef06256079686ba0$var$descriptionNodes.delete(description);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
}, [description]);
|
|
34
|
-
return { "aria-describedby": description ? id : void 0 };
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/PressResponder.mjs
|
|
38
|
-
const $f1ab8c75478c6f73$export$3351871ee4b288b8 = /*#__PURE__*/ $HgANd$react.forwardRef(({ children, ...props }, ref) => {
|
|
39
|
-
let isRegistered = useRef(false);
|
|
40
|
-
let prevContext = useContext($ae1eeba8b9eafd08$export$5165eccb35aaadb5);
|
|
41
|
-
let context = $3ef42575df84b30b$export$9d1611c77c2fe928(prevContext || {}, {
|
|
42
|
-
...props,
|
|
43
|
-
register() {
|
|
44
|
-
isRegistered.current = true;
|
|
45
|
-
if (prevContext) prevContext.register();
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
context.ref = $df56164dff5785e2$export$4338b53315abf666(ref || (prevContext === null || prevContext === void 0 ? void 0 : prevContext.ref));
|
|
49
|
-
$e7801be82b4b2a53$export$4debdb1a3f0fa79e(prevContext, context.ref);
|
|
50
|
-
useEffect(() => {
|
|
51
|
-
if (!isRegistered.current) {
|
|
52
|
-
console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
|
|
53
|
-
isRegistered.current = true;
|
|
54
|
-
}
|
|
55
|
-
}, []);
|
|
56
|
-
return /*#__PURE__*/ $HgANd$react.createElement($ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider, { value: context }, children);
|
|
57
|
-
});
|
|
58
|
-
function $f1ab8c75478c6f73$export$cf75428e0b9ed1ea({ children }) {
|
|
59
|
-
let context = useMemo(() => ({ register: () => {} }), []);
|
|
60
|
-
return /*#__PURE__*/ $HgANd$react.createElement($ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider, { value: context }, children);
|
|
61
|
-
}
|
|
62
|
-
//#endregion
|
|
63
|
-
export { $f1ab8c75478c6f73$export$cf75428e0b9ed1ea as n, $ef06256079686ba0$export$f8aeda7b10753fa1 as r, $f1ab8c75478c6f73$export$3351871ee4b288b8 as t };
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import $HgANd$react, { createContext, useContext, useMemo } from "react";
|
|
2
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs
|
|
3
|
-
function $7215afc6de606d6b$export$de79e2c695e052f3(element) {
|
|
4
|
-
if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({ preventScroll: true });
|
|
5
|
-
else {
|
|
6
|
-
let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);
|
|
7
|
-
element.focus();
|
|
8
|
-
$7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
let $7215afc6de606d6b$var$supportsPreventScrollCached = null;
|
|
12
|
-
function $7215afc6de606d6b$var$supportsPreventScroll() {
|
|
13
|
-
if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {
|
|
14
|
-
$7215afc6de606d6b$var$supportsPreventScrollCached = false;
|
|
15
|
-
try {
|
|
16
|
-
document.createElement("div").focus({ get preventScroll() {
|
|
17
|
-
$7215afc6de606d6b$var$supportsPreventScrollCached = true;
|
|
18
|
-
return true;
|
|
19
|
-
} });
|
|
20
|
-
} catch {}
|
|
21
|
-
}
|
|
22
|
-
return $7215afc6de606d6b$var$supportsPreventScrollCached;
|
|
23
|
-
}
|
|
24
|
-
function $7215afc6de606d6b$var$getScrollableElements(element) {
|
|
25
|
-
let parent = element.parentNode;
|
|
26
|
-
let scrollableElements = [];
|
|
27
|
-
let rootScrollingElement = document.scrollingElement || document.documentElement;
|
|
28
|
-
while (parent instanceof HTMLElement && parent !== rootScrollingElement) {
|
|
29
|
-
if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({
|
|
30
|
-
element: parent,
|
|
31
|
-
scrollTop: parent.scrollTop,
|
|
32
|
-
scrollLeft: parent.scrollLeft
|
|
33
|
-
});
|
|
34
|
-
parent = parent.parentNode;
|
|
35
|
-
}
|
|
36
|
-
if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({
|
|
37
|
-
element: rootScrollingElement,
|
|
38
|
-
scrollTop: rootScrollingElement.scrollTop,
|
|
39
|
-
scrollLeft: rootScrollingElement.scrollLeft
|
|
40
|
-
});
|
|
41
|
-
return scrollableElements;
|
|
42
|
-
}
|
|
43
|
-
function $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements) {
|
|
44
|
-
for (let { element, scrollTop, scrollLeft } of scrollableElements) {
|
|
45
|
-
element.scrollTop = scrollTop;
|
|
46
|
-
element.scrollLeft = scrollLeft;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/platform.mjs
|
|
51
|
-
function $c87311424ea30a05$var$testUserAgent(re) {
|
|
52
|
-
var _window_navigator_userAgentData;
|
|
53
|
-
if (typeof window === "undefined" || window.navigator == null) return false;
|
|
54
|
-
let brands = (_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands;
|
|
55
|
-
return Array.isArray(brands) && brands.some((brand) => re.test(brand.brand)) || re.test(window.navigator.userAgent);
|
|
56
|
-
}
|
|
57
|
-
function $c87311424ea30a05$var$testPlatform(re) {
|
|
58
|
-
var _window_navigator_userAgentData;
|
|
59
|
-
return typeof window !== "undefined" && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;
|
|
60
|
-
}
|
|
61
|
-
function $c87311424ea30a05$var$cached(fn) {
|
|
62
|
-
let res = null;
|
|
63
|
-
return () => {
|
|
64
|
-
if (res == null) res = fn();
|
|
65
|
-
return res;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
const $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {
|
|
69
|
-
return $c87311424ea30a05$var$testPlatform(/^Mac/i);
|
|
70
|
-
});
|
|
71
|
-
const $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {
|
|
72
|
-
return $c87311424ea30a05$var$testPlatform(/^iPhone/i);
|
|
73
|
-
});
|
|
74
|
-
const $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {
|
|
75
|
-
return $c87311424ea30a05$var$testPlatform(/^iPad/i) || $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;
|
|
76
|
-
});
|
|
77
|
-
const $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {
|
|
78
|
-
return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();
|
|
79
|
-
});
|
|
80
|
-
const $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {
|
|
81
|
-
return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();
|
|
82
|
-
});
|
|
83
|
-
const $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {
|
|
84
|
-
return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();
|
|
85
|
-
});
|
|
86
|
-
const $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {
|
|
87
|
-
return $c87311424ea30a05$var$testUserAgent(/Chrome/i);
|
|
88
|
-
});
|
|
89
|
-
const $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {
|
|
90
|
-
return $c87311424ea30a05$var$testUserAgent(/Android/i);
|
|
91
|
-
});
|
|
92
|
-
const $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {
|
|
93
|
-
return $c87311424ea30a05$var$testUserAgent(/Firefox/i);
|
|
94
|
-
});
|
|
95
|
-
//#endregion
|
|
96
|
-
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/openLink.mjs
|
|
97
|
-
const $ea8dcbcb9ea1b556$var$RouterContext = /*#__PURE__*/ createContext({
|
|
98
|
-
isNative: true,
|
|
99
|
-
open: $ea8dcbcb9ea1b556$var$openSyntheticLink,
|
|
100
|
-
useHref: (href) => href
|
|
101
|
-
});
|
|
102
|
-
function $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb(props) {
|
|
103
|
-
let { children, navigate, useHref } = props;
|
|
104
|
-
let ctx = useMemo(() => ({
|
|
105
|
-
isNative: false,
|
|
106
|
-
open: (target, modifiers, href, routerOptions) => {
|
|
107
|
-
$ea8dcbcb9ea1b556$var$getSyntheticLink(target, (link) => {
|
|
108
|
-
if ($ea8dcbcb9ea1b556$export$efa8c9099e530235(link, modifiers)) navigate(href, routerOptions);
|
|
109
|
-
else $ea8dcbcb9ea1b556$export$95185d699e05d4d7(link, modifiers);
|
|
110
|
-
});
|
|
111
|
-
},
|
|
112
|
-
useHref: useHref || ((href) => href)
|
|
113
|
-
}), [navigate, useHref]);
|
|
114
|
-
return /*#__PURE__*/ $HgANd$react.createElement($ea8dcbcb9ea1b556$var$RouterContext.Provider, { value: ctx }, children);
|
|
115
|
-
}
|
|
116
|
-
function $ea8dcbcb9ea1b556$export$9a302a45f65d0572() {
|
|
117
|
-
return useContext($ea8dcbcb9ea1b556$var$RouterContext);
|
|
118
|
-
}
|
|
119
|
-
function $ea8dcbcb9ea1b556$export$efa8c9099e530235(link, modifiers) {
|
|
120
|
-
let target = link.getAttribute("target");
|
|
121
|
-
return (!target || target === "_self") && link.origin === location.origin && !link.hasAttribute("download") && !modifiers.metaKey && !modifiers.ctrlKey && !modifiers.altKey && !modifiers.shiftKey;
|
|
122
|
-
}
|
|
123
|
-
function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening = true) {
|
|
124
|
-
var _window_event_type, _window_event;
|
|
125
|
-
let { metaKey, ctrlKey, altKey, shiftKey } = modifiers;
|
|
126
|
-
if ($c87311424ea30a05$export$b7d78993b74f766d() && ((_window_event = window.event) === null || _window_event === void 0 ? void 0 : (_window_event_type = _window_event.type) === null || _window_event_type === void 0 ? void 0 : _window_event_type.startsWith("key")) && target.target === "_blank") if ($c87311424ea30a05$export$9ac100e40613ea10()) metaKey = true;
|
|
127
|
-
else ctrlKey = true;
|
|
128
|
-
let event = $c87311424ea30a05$export$78551043582a6a98() && $c87311424ea30a05$export$9ac100e40613ea10() && !$c87311424ea30a05$export$7bef049ce92e4224() && true ? new KeyboardEvent("keydown", {
|
|
129
|
-
keyIdentifier: "Enter",
|
|
130
|
-
metaKey,
|
|
131
|
-
ctrlKey,
|
|
132
|
-
altKey,
|
|
133
|
-
shiftKey
|
|
134
|
-
}) : new MouseEvent("click", {
|
|
135
|
-
metaKey,
|
|
136
|
-
ctrlKey,
|
|
137
|
-
altKey,
|
|
138
|
-
shiftKey,
|
|
139
|
-
detail: 1,
|
|
140
|
-
bubbles: true,
|
|
141
|
-
cancelable: true
|
|
142
|
-
});
|
|
143
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = setOpening;
|
|
144
|
-
$7215afc6de606d6b$export$de79e2c695e052f3(target);
|
|
145
|
-
target.dispatchEvent(event);
|
|
146
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;
|
|
147
|
-
}
|
|
148
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;
|
|
149
|
-
function $ea8dcbcb9ea1b556$var$getSyntheticLink(target, open) {
|
|
150
|
-
if (target instanceof HTMLAnchorElement) open(target);
|
|
151
|
-
else if (target.hasAttribute("data-href")) {
|
|
152
|
-
let link = document.createElement("a");
|
|
153
|
-
link.href = target.getAttribute("data-href");
|
|
154
|
-
if (target.hasAttribute("data-target")) link.target = target.getAttribute("data-target");
|
|
155
|
-
if (target.hasAttribute("data-rel")) link.rel = target.getAttribute("data-rel");
|
|
156
|
-
if (target.hasAttribute("data-download")) link.download = target.getAttribute("data-download");
|
|
157
|
-
if (target.hasAttribute("data-ping")) link.ping = target.getAttribute("data-ping");
|
|
158
|
-
if (target.hasAttribute("data-referrer-policy")) link.referrerPolicy = target.getAttribute("data-referrer-policy");
|
|
159
|
-
target.appendChild(link);
|
|
160
|
-
open(link);
|
|
161
|
-
target.removeChild(link);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
function $ea8dcbcb9ea1b556$var$openSyntheticLink(target, modifiers) {
|
|
165
|
-
$ea8dcbcb9ea1b556$var$getSyntheticLink(target, (link) => $ea8dcbcb9ea1b556$export$95185d699e05d4d7(link, modifiers));
|
|
166
|
-
}
|
|
167
|
-
function $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(props) {
|
|
168
|
-
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
169
|
-
var _props_href;
|
|
170
|
-
const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : "");
|
|
171
|
-
return {
|
|
172
|
-
href: (props === null || props === void 0 ? void 0 : props.href) ? href : void 0,
|
|
173
|
-
target: props === null || props === void 0 ? void 0 : props.target,
|
|
174
|
-
rel: props === null || props === void 0 ? void 0 : props.rel,
|
|
175
|
-
download: props === null || props === void 0 ? void 0 : props.download,
|
|
176
|
-
ping: props === null || props === void 0 ? void 0 : props.ping,
|
|
177
|
-
referrerPolicy: props === null || props === void 0 ? void 0 : props.referrerPolicy
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
function $ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f(e, router, href, routerOptions) {
|
|
181
|
-
if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && $ea8dcbcb9ea1b556$export$efa8c9099e530235(e.currentTarget, e) && href) {
|
|
182
|
-
e.preventDefault();
|
|
183
|
-
router.open(e.currentTarget, e, href, routerOptions);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
//#endregion
|
|
187
|
-
export { $ea8dcbcb9ea1b556$export$9a302a45f65d0572 as a, $c87311424ea30a05$export$78551043582a6a98 as c, $c87311424ea30a05$export$a11b0059900ceec8 as d, $c87311424ea30a05$export$b7d78993b74f766d as f, $7215afc6de606d6b$export$de79e2c695e052f3 as h, $ea8dcbcb9ea1b556$export$95185d699e05d4d7 as i, $c87311424ea30a05$export$7bef049ce92e4224 as l, $c87311424ea30a05$export$fedb369cb70207f1 as m, $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb as n, $c87311424ea30a05$export$186c6964ca17d99 as o, $c87311424ea30a05$export$e1865c3bedcd822b as p, $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 as r, $c87311424ea30a05$export$6446a186d09e379e as s, $ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f as t, $c87311424ea30a05$export$9ac100e40613ea10 as u };
|