@povio/ui 3.4.0-rc.20 → 3.4.0-rc.23
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 +10 -6
- 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-BRiZVKsN.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-C_FOjIn-.d.ts → Button-B5WLIURl.d.ts} +2 -2
- package/dist/{Button-Dlm1NyTJ.js → Button-B8T7AjGP.js} +3 -3
- 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-CXHpOl0X.d.ts} +2 -2
- package/dist/{DatePicker-DclmenVd.d.ts → DatePicker-Dt9BkJEl.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-D2A2afXI.d.ts} +3 -3
- package/dist/{DateRangePicker-BmScgvEH.js → DateRangePicker-BELkyFZ3.js} +16 -16
- package/dist/{DateRangePicker-DjkIlnMl.d.ts → DateRangePicker-N6S_yIpq.d.ts} +3 -3
- package/dist/{DateTimePicker-aDvcYnVk.d.ts → DateTimePicker-B83y2Skm.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-CKYDqroD.d.ts} +1 -1
- package/dist/{FileUpload-Cb--_Mbk.js → FileUpload-uqaBcMUE.js} +5 -5
- package/dist/{FileUploadContainer-Co33mh7x.d.ts → FileUploadContainer-CKBzJJx9.d.ts} +1 -1
- package/dist/{Form-B4Sbjn__.d.ts → Form-55145o25.d.ts} +1 -1
- package/dist/{FormField-DoGaUqFm.js → FormField-ChDNTHr4.js} +4 -4
- package/dist/{FormField-FvutosEE.d.ts → FormField-DYbqlEZ_.d.ts} +3 -2
- package/dist/{IconButton-uO0Mjcqw.d.ts → IconButton-Dv45TT1w.d.ts} +2 -2
- package/dist/{InlineIconButton-CLiZzTVJ.d.ts → InlineIconButton-DIpku0ob.d.ts} +2 -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-DzYsyCaU.d.ts} +2 -2
- package/dist/{Inputs-BapBcBa7.js → Inputs-CTywD5sa.js} +1 -1
- package/dist/{Inputs-DncFwdP2.d.ts → Inputs-P0htzZNM.d.ts} +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-BGDecs-_.d.ts} +2 -2
- package/dist/{NumberRangeInput-DS6_DIEc.d.ts → NumberRangeInput-CSCG3XbX.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-faMGUGlG.d.ts} +1 -1
- package/dist/{PaginationList-71pjqcQ0.d.ts → PaginationList-BLN4DD1o.d.ts} +1 -1
- package/dist/{PaginationList-DJfUpGY9.js → PaginationList-DwPkbMEh.js} +1 -1
- package/dist/{PasswordInput-XI0n5I1s.d.ts → PasswordInput-C7V5Z07E.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-Dg25c9cy.d.ts} +3 -3
- package/dist/{RadioGroup-D6-jU_Hb.d.ts → RadioGroup-165j_xj8.d.ts} +2 -2
- package/dist/{RadioGroup-CNSTNHYN.js → RadioGroup-DopLBNzi.js} +18 -18
- 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-BSMtgqFl.d.ts} +2 -2
- package/dist/{Select-CCNQ4Bso.js → Select-T4am7u5p.js} +3 -3
- package/dist/{SelectBase-C4lPY7Hc.d.ts → SelectBase-hXagPi6y.d.ts} +2 -2
- package/dist/{SelectionIndicator-qJF4qfyY.js → SelectionIndicator-BiAHPBz2.js} +64 -5
- package/dist/{Slider-HF31GF1t.d.ts → Slider-DiZoEoc9.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-hh7u5SkK.d.ts} +3 -2
- package/dist/{TextButton-BdefN7SL.d.ts → TextButton-C3yYAnFb.d.ts} +3 -3
- package/dist/{TextEditor-p0CqH_71.js → TextEditor-DXFlGnkW.js} +16 -16
- package/dist/{TextEditor-CXDFpX_q.d.ts → TextEditor-JtwIcBUz.d.ts} +1 -1
- package/dist/{TimePicker-DLzbOPrC.js → TimePicker-lAn8yzYJ.js} +12 -12
- package/dist/{TimePicker-Bspfhoo_.d.ts → TimePicker-lCAqdE3t.d.ts} +2 -2
- 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-C92_q8xJ.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-D5MUSo1k.d.ts} +3 -3
- package/dist/{checkbox-CGea408G.d.ts → checkbox-BYnCRnOf.d.ts} +1 -1
- package/dist/{checkbox-group-BdjjQ24I.d.ts → checkbox-group-bqKwkkMw.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.d.ts +1 -0
- package/dist/components/autocomplete/react-aria.js +1 -0
- 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.d.ts +1 -0
- package/dist/components/breadcrumb/react-aria.js +11 -0
- package/dist/components/breadcrumbs/react-aria.d.ts +1 -0
- package/dist/components/breadcrumbs/react-aria.js +11 -0
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button/react-aria.d.ts +1 -0
- package/dist/components/button/react-aria.js +1 -0
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar/react-aria.d.ts +1 -0
- package/dist/components/calendar/react-aria.js +1 -0
- package/dist/components/calendar-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-cell/react-aria.js +1 -0
- package/dist/components/calendar-grid/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid/react-aria.js +1 -0
- package/dist/components/calendar-grid-body/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-body/react-aria.js +1 -0
- package/dist/components/calendar-grid-header/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-header/react-aria.js +1 -0
- package/dist/components/calendar-header-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-header-cell/react-aria.js +1 -0
- package/dist/components/cell/react-aria.d.ts +1 -0
- package/dist/components/cell/react-aria.js +11 -0
- package/dist/components/checkbox/react-aria.d.ts +1 -0
- package/dist/components/checkbox/react-aria.js +1 -0
- package/dist/components/checkbox-group/react-aria.d.ts +1 -0
- package/dist/components/checkbox-group/react-aria.js +1 -0
- 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.d.ts +1 -0
- package/dist/components/collection/react-aria.js +11 -0
- package/dist/components/color-area/react-aria.d.ts +1 -0
- package/dist/components/color-area/react-aria.js +1 -0
- package/dist/components/color-field/react-aria.d.ts +1 -0
- package/dist/components/color-field/react-aria.js +1 -0
- package/dist/components/color-picker/react-aria.d.ts +1 -0
- package/dist/components/color-picker/react-aria.js +1 -0
- package/dist/components/color-slider/react-aria.d.ts +1 -0
- package/dist/components/color-slider/react-aria.js +1 -0
- package/dist/components/color-swatch/react-aria.d.ts +1 -0
- package/dist/components/color-swatch/react-aria.js +1 -0
- package/dist/components/color-swatch-picker/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker/react-aria.js +11 -0
- package/dist/components/color-swatch-picker-item/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker-item/react-aria.js +11 -0
- package/dist/components/color-thumb/react-aria.d.ts +1 -0
- package/dist/components/color-thumb/react-aria.js +1 -0
- package/dist/components/color-wheel/react-aria.d.ts +1 -0
- package/dist/components/color-wheel/react-aria.js +1 -0
- package/dist/components/color-wheel-track/react-aria.d.ts +1 -0
- package/dist/components/color-wheel-track/react-aria.js +1 -0
- package/dist/components/column/react-aria.d.ts +1 -0
- package/dist/components/column/react-aria.js +11 -0
- package/dist/components/column-resizer/react-aria.d.ts +1 -0
- package/dist/components/column-resizer/react-aria.js +11 -0
- package/dist/components/combo-box/react-aria.d.ts +1 -0
- package/dist/components/combo-box/react-aria.js +11 -0
- package/dist/components/date-field/react-aria.d.ts +1 -0
- package/dist/components/date-field/react-aria.js +1 -0
- package/dist/components/date-input/react-aria.d.ts +1 -0
- package/dist/components/date-input/react-aria.js +1 -0
- package/dist/components/date-picker/react-aria.d.ts +1 -0
- package/dist/components/date-picker/react-aria.js +1 -0
- 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.d.ts +1 -0
- package/dist/components/date-range-picker/react-aria.js +1 -0
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-segment/react-aria.d.ts +1 -0
- package/dist/components/date-segment/react-aria.js +1 -0
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/default-collection-renderer/react-aria.d.ts +1 -0
- package/dist/components/default-collection-renderer/react-aria.js +1 -0
- package/dist/components/dialog/react-aria.d.ts +1 -0
- package/dist/components/dialog/react-aria.js +1 -0
- package/dist/components/dialog-trigger/react-aria.d.ts +1 -0
- package/dist/components/dialog-trigger/react-aria.js +1 -0
- package/dist/components/disclosure/react-aria.d.ts +1 -0
- package/dist/components/disclosure/react-aria.js +1 -0
- package/dist/components/disclosure-group/react-aria.d.ts +1 -0
- package/dist/components/disclosure-group/react-aria.js +1 -0
- package/dist/components/disclosure-panel/react-aria.d.ts +1 -0
- package/dist/components/disclosure-panel/react-aria.js +1 -0
- package/dist/components/dom-attributes/react-aria.d.ts +1 -0
- package/dist/components/drawer.js +2 -2
- package/dist/components/drop-indicator/react-aria.d.ts +1 -0
- package/dist/components/drop-indicator/react-aria.js +1 -0
- package/dist/components/drop-zone/react-aria.d.ts +1 -0
- package/dist/components/drop-zone/react-aria.js +1 -0
- package/dist/components/field-error/react-aria.d.ts +1 -0
- package/dist/components/field-error/react-aria.js +1 -0
- package/dist/components/file-trigger/react-aria.d.ts +1 -0
- package/dist/components/file-trigger/react-aria.js +1 -0
- 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/focusable/react-aria.d.ts +1 -0
- package/dist/components/focusable/react-aria.js +1 -0
- package/dist/components/form/react-aria.d.ts +1 -0
- package/dist/components/form/react-aria.js +1 -0
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/grid-list/react-aria.d.ts +1 -0
- package/dist/components/grid-list/react-aria.js +11 -0
- package/dist/components/grid-list-header/react-aria.d.ts +1 -0
- package/dist/components/grid-list-header/react-aria.js +11 -0
- package/dist/components/grid-list-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-item/react-aria.js +11 -0
- package/dist/components/grid-list-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-load-more-item/react-aria.js +11 -0
- package/dist/components/grid-list-section/react-aria.d.ts +1 -0
- package/dist/components/grid-list-section/react-aria.js +11 -0
- package/dist/components/group/react-aria.d.ts +1 -0
- package/dist/components/group/react-aria.js +1 -0
- package/dist/components/header/react-aria.d.ts +1 -0
- package/dist/components/header/react-aria.js +11 -0
- package/dist/components/heading/react-aria.d.ts +1 -0
- package/dist/components/heading/react-aria.js +1 -0
- package/dist/components/i18n-provider/react-aria.d.ts +1 -0
- package/dist/components/i18n-provider/react-aria.js +1 -0
- 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/react-aria.d.ts +1 -0
- package/dist/components/input/react-aria.js +1 -0
- 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/keyboard/react-aria.d.ts +1 -0
- package/dist/components/keyboard/react-aria.js +1 -0
- package/dist/components/label/react-aria.d.ts +1 -0
- package/dist/components/label/react-aria.js +1 -0
- package/dist/components/link/react-aria.d.ts +1 -0
- package/dist/components/link/react-aria.js +1 -0
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-box/react-aria.d.ts +1 -0
- package/dist/components/list-box/react-aria.js +11 -0
- package/dist/components/list-box-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-item/react-aria.js +11 -0
- package/dist/components/list-box-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-load-more-item/react-aria.js +11 -0
- package/dist/components/list-box-section/react-aria.d.ts +1 -0
- package/dist/components/list-box-section/react-aria.js +11 -0
- package/dist/components/menu/react-aria.d.ts +1 -0
- package/dist/components/menu/react-aria.js +11 -0
- package/dist/components/menu-item/react-aria.d.ts +1 -0
- package/dist/components/menu-item/react-aria.js +11 -0
- package/dist/components/menu-section/react-aria.d.ts +1 -0
- package/dist/components/menu-section/react-aria.js +11 -0
- package/dist/components/menu-trigger/react-aria.d.ts +1 -0
- package/dist/components/menu-trigger/react-aria.js +1 -0
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/menu.js +2 -2
- package/dist/components/meter/react-aria.d.ts +1 -0
- package/dist/components/meter/react-aria.js +1 -0
- package/dist/components/modal/react-aria.d.ts +1 -0
- package/dist/components/modal/react-aria.js +1 -0
- package/dist/components/modal-overlay/react-aria.d.ts +1 -0
- package/dist/components/modal-overlay/react-aria.js +1 -0
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/number-field/react-aria.d.ts +1 -0
- package/dist/components/number-field/react-aria.js +1 -0
- 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/overlay-arrow/react-aria.d.ts +1 -0
- package/dist/components/overlay-arrow/react-aria.js +1 -0
- 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.d.ts +1 -0
- package/dist/components/popover/react-aria.js +1 -0
- package/dist/components/pressable/react-aria.d.ts +1 -0
- package/dist/components/pressable/react-aria.js +1 -0
- package/dist/components/progress-bar/react-aria.d.ts +1 -0
- package/dist/components/progress-bar/react-aria.js +1 -0
- package/dist/components/provider/react-aria.d.ts +1 -0
- package/dist/components/provider/react-aria.js +1 -0
- 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/react-aria.d.ts +1 -0
- package/dist/components/radio/react-aria.js +1 -0
- package/dist/components/radio-group/react-aria.d.ts +1 -0
- package/dist/components/radio-group/react-aria.js +1 -0
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/range-calendar/react-aria.d.ts +1 -0
- package/dist/components/range-calendar/react-aria.js +1 -0
- package/dist/components/resizable-table-container/react-aria.d.ts +1 -0
- package/dist/components/resizable-table-container/react-aria.js +11 -0
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/responsive-popover.js +2 -2
- package/dist/components/router-provider/react-aria.d.ts +1 -0
- package/dist/components/router-provider/react-aria.js +1 -0
- package/dist/components/row/react-aria.d.ts +1 -0
- package/dist/components/row/react-aria.js +11 -0
- package/dist/components/search-field/react-aria.d.ts +1 -0
- package/dist/components/search-field/react-aria.js +1 -0
- package/dist/components/section/react-aria.d.ts +1 -0
- package/dist/components/section/react-aria.js +11 -0
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select/react-aria.d.ts +1 -0
- package/dist/components/select/react-aria.js +11 -0
- package/dist/components/select-value/react-aria.d.ts +1 -0
- package/dist/components/select-value/react-aria.js +1 -0
- 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/selection-indicator/react-aria.d.ts +1 -0
- package/dist/components/selection-indicator/react-aria.js +1 -0
- package/dist/components/separator/react-aria.d.ts +1 -0
- package/dist/components/separator/react-aria.js +11 -0
- package/dist/components/shared-element/react-aria.d.ts +1 -0
- package/dist/components/shared-element/react-aria.js +1 -0
- package/dist/components/shared-element-transition/react-aria.d.ts +1 -0
- package/dist/components/shared-element-transition/react-aria.js +1 -0
- package/dist/components/slider/react-aria.d.ts +1 -0
- package/dist/components/slider/react-aria.js +1 -0
- package/dist/components/slider-output/react-aria.d.ts +1 -0
- package/dist/components/slider-output/react-aria.js +1 -0
- package/dist/components/slider-thumb/react-aria.d.ts +1 -0
- package/dist/components/slider-thumb/react-aria.js +1 -0
- package/dist/components/slider-track/react-aria.d.ts +1 -0
- package/dist/components/slider-track/react-aria.js +1 -0
- 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/ssr-provider/react-aria.d.ts +1 -0
- package/dist/components/ssr-provider/react-aria.js +1 -0
- package/dist/components/stepper.js +1 -1
- package/dist/components/submenu-trigger/react-aria.d.ts +1 -0
- package/dist/components/submenu-trigger/react-aria.js +11 -0
- package/dist/components/switch/react-aria.d.ts +1 -0
- package/dist/components/switch/react-aria.js +1 -0
- package/dist/components/tab/react-aria.d.ts +1 -0
- package/dist/components/tab/react-aria.js +11 -0
- package/dist/components/tab-list/react-aria.d.ts +1 -0
- package/dist/components/tab-list/react-aria.js +11 -0
- package/dist/components/tab-panel/react-aria.d.ts +1 -0
- package/dist/components/tab-panel/react-aria.js +1 -0
- package/dist/components/tab-panels/react-aria.d.ts +1 -0
- package/dist/components/tab-panels/react-aria.js +11 -0
- package/dist/components/table/react-aria.d.ts +1 -0
- package/dist/components/table/react-aria.js +11 -0
- package/dist/components/table-body/react-aria.d.ts +1 -0
- package/dist/components/table-body/react-aria.js +11 -0
- package/dist/components/table-header/react-aria.d.ts +1 -0
- package/dist/components/table-header/react-aria.js +11 -0
- package/dist/components/table-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/table-load-more-item/react-aria.js +11 -0
- package/dist/components/tabs/react-aria.d.ts +1 -0
- package/dist/components/tabs/react-aria.js +11 -0
- package/dist/components/tag/react-aria.d.ts +1 -0
- package/dist/components/tag/react-aria.js +11 -0
- package/dist/components/tag-group/react-aria.d.ts +1 -0
- package/dist/components/tag-group/react-aria.js +11 -0
- package/dist/components/tag-list/react-aria.d.ts +1 -0
- package/dist/components/tag-list/react-aria.js +11 -0
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text/react-aria.d.ts +1 -0
- package/dist/components/text/react-aria.js +1 -0
- package/dist/components/text-area/react-aria.d.ts +1 -0
- package/dist/components/text-area/react-aria.js +1 -0
- 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-field/react-aria.d.ts +1 -0
- package/dist/components/text-field/react-aria.js +1 -0
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/text-input.js +10 -9
- package/dist/components/time-field/react-aria.d.ts +1 -0
- package/dist/components/time-field/react-aria.js +1 -0
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast/react-aria.d.ts +1 -0
- package/dist/components/toast/react-aria.js +1 -0
- package/dist/components/toast-content/react-aria.d.ts +1 -0
- package/dist/components/toast-content/react-aria.js +1 -0
- package/dist/components/toast-list/react-aria.d.ts +1 -0
- package/dist/components/toast-list/react-aria.js +1 -0
- package/dist/components/toast-region/react-aria.d.ts +1 -0
- package/dist/components/toast-region/react-aria.js +1 -0
- package/dist/components/toast.js +1 -1
- package/dist/components/toggle-button/react-aria.d.ts +1 -0
- package/dist/components/toggle-button/react-aria.js +1 -0
- package/dist/components/toggle-button-group/react-aria.d.ts +5 -0
- package/dist/components/toggle-button-group/react-aria.js +1 -0
- 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/toolbar/react-aria.d.ts +1 -0
- package/dist/components/toolbar/react-aria.js +1 -0
- package/dist/components/tooltip/react-aria.d.ts +1 -0
- package/dist/components/tooltip/react-aria.js +1 -0
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip-trigger/react-aria.d.ts +1 -0
- package/dist/components/tooltip-trigger/react-aria.js +1 -0
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree/react-aria.d.ts +1 -0
- package/dist/components/tree/react-aria.js +11 -0
- package/dist/components/tree-item/react-aria.d.ts +1 -0
- package/dist/components/tree-item/react-aria.js +11 -0
- package/dist/components/tree-item-content/react-aria.d.ts +1 -0
- package/dist/components/tree-item-content/react-aria.js +11 -0
- package/dist/components/tree-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/tree-load-more-item/react-aria.js +11 -0
- 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/components/virtualizer/react-aria.d.ts +1 -0
- package/dist/components/virtualizer/react-aria.js +1 -0
- package/dist/components/visually-hidden/react-aria.d.ts +1 -0
- package/dist/components/visually-hidden/react-aria.js +1 -0
- 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-CY46qOil.d.ts} +1 -1
- package/dist/{date-range-picker-aO65H4wV.d.ts → date-range-picker-A1VtIz5Z.d.ts} +1 -1
- package/dist/{date-time-picker-DWo2GFg7.d.ts → date-time-picker-BDzUGiya.d.ts} +1 -1
- package/dist/{datePickerValue.utils-Dh-nA1Yv.js → datePickerValue.utils-BqdbvGFL.js} +2 -2
- package/dist/{dynamicInputs-BekIlDGf.d.ts → dynamicInputs-DeFYIOxM.d.ts} +70 -70
- package/dist/{file-upload-DDIJKLW8.d.ts → file-upload-kMbxPcv0.d.ts} +2 -2
- package/dist/{fileUpload.types-CQkPqELk.d.ts → fileUpload.types-DR6QkhLW.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-DCnJJiD2.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-C5ZJQL-0.d.ts} +1 -1
- package/dist/{number-range-input-BtPXUX0k.d.ts → number-range-input-BzMmIbTa.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-nDjkqRLq.d.ts} +1 -1
- package/dist/platform-df1ZXSJE.js +47 -0
- package/dist/{query-autocomplete-BwU-94pi.d.ts → query-autocomplete-DtwzrlPJ.d.ts} +2 -2
- package/dist/{query-select-CBgR2Tua.d.ts → query-select-uBNkp-hb.d.ts} +3 -3
- package/dist/{queryAutocomplete.types-3ezR8y7k.d.ts → queryAutocomplete.types-Wj7KW6fv.d.ts} +3 -3
- package/dist/{radio-group-DVGKZRnt.d.ts → radio-group-Cb7bw47V.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-jVSUkInu.d.ts} +3 -3
- package/dist/{slider--ZPodYa6.d.ts → slider-BsZQs47F.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-CileGHpH.d.ts} +1 -1
- package/dist/{text-editor-Dq-YYIuF.d.ts → text-editor-BWRMclN2.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-DQsdAirN.d.ts} +1 -1
- package/dist/{time-picker-5w_eDDNn.d.ts → time-picker-CZPPvSId.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-CQubjEvX.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 +673 -25
- package/dist/PressResponder-q8UTUsf0.js +0 -63
- package/dist/openLink-BFEMFlhB.js +0 -187
- package/dist/react-aria/components.d.ts +0 -1
- package/dist/react-aria/components.js +0 -1
- package/dist/react-aria/hooks.d.ts +0 -1
- package/dist/react-aria/hooks.js +0 -1
- package/dist/react-aria/index.d.ts +0 -1
- package/dist/react-aria/index.js +0 -1
- package/dist/react-aria/state.d.ts +0 -1
- package/dist/react-aria/state.js +0 -1
- package/dist/react-aria/types.d.ts +0 -1
- 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
- /package/dist/{react-aria/types.js → components/dom-attributes/react-aria.js} +0 -0
|
@@ -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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-aria-components";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-aria-components";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-aria";
|
package/dist/react-aria/hooks.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-aria";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-aria-components";
|
package/dist/react-aria/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-aria-components";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-stately";
|
package/dist/react-aria/state.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-stately";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type * from "@react-types/shared";
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { B as $d4ee10de306f2510$export$4282f70798064fe0, F as $03deb23ff14920c4$export$4eaf04e54aa8eed6, H as $d4ee10de306f2510$export$e58f029f0fbfdb29, I as $bbed8b41f857bcc0$export$24490316f764c430, V as $d4ee10de306f2510$export$cd4e5573fbe2b576, W as $431fbd86ca7dc216$export$b204af158042fbac, _ as $8a9cb279dc87e130$export$c2b7abe5d61ec696, f as $507fabe10e71c6fb$export$b9b3dfddab17db27, g as $8a9cb279dc87e130$export$715c682d09d639cc, h as $8a9cb279dc87e130$export$525bc4921d56d4a, p as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, s as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-DwfnacVy.js";
|
|
2
|
-
import { m as $c87311424ea30a05$export$fedb369cb70207f1 } from "./openLink-BFEMFlhB.js";
|
|
3
|
-
import { useCallback, useRef, useState } from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/textSelection.mjs
|
|
5
|
-
let $14c0b72509d70225$var$state = "default";
|
|
6
|
-
let $14c0b72509d70225$var$savedUserSelect = "";
|
|
7
|
-
let $14c0b72509d70225$var$modifiedElementMap = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
function $14c0b72509d70225$export$16a4697467175487(target) {
|
|
9
|
-
if ($c87311424ea30a05$export$fedb369cb70207f1()) {
|
|
10
|
-
if ($14c0b72509d70225$var$state === "default") {
|
|
11
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(target);
|
|
12
|
-
$14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;
|
|
13
|
-
documentObject.documentElement.style.webkitUserSelect = "none";
|
|
14
|
-
}
|
|
15
|
-
$14c0b72509d70225$var$state = "disabled";
|
|
16
|
-
} else if (target instanceof HTMLElement || target instanceof SVGElement) {
|
|
17
|
-
let property = "userSelect" in target.style ? "userSelect" : "webkitUserSelect";
|
|
18
|
-
$14c0b72509d70225$var$modifiedElementMap.set(target, target.style[property]);
|
|
19
|
-
target.style[property] = "none";
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
|
|
23
|
-
if ($c87311424ea30a05$export$fedb369cb70207f1()) {
|
|
24
|
-
if ($14c0b72509d70225$var$state !== "disabled") return;
|
|
25
|
-
$14c0b72509d70225$var$state = "restoring";
|
|
26
|
-
setTimeout(() => {
|
|
27
|
-
$bbed8b41f857bcc0$export$24490316f764c430(() => {
|
|
28
|
-
if ($14c0b72509d70225$var$state === "restoring") {
|
|
29
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(target);
|
|
30
|
-
if (documentObject.documentElement.style.webkitUserSelect === "none") documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || "";
|
|
31
|
-
$14c0b72509d70225$var$savedUserSelect = "";
|
|
32
|
-
$14c0b72509d70225$var$state = "default";
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}, 300);
|
|
36
|
-
} else if (target instanceof HTMLElement || target instanceof SVGElement) {
|
|
37
|
-
if (target && $14c0b72509d70225$var$modifiedElementMap.has(target)) {
|
|
38
|
-
let targetOldUserSelect = $14c0b72509d70225$var$modifiedElementMap.get(target);
|
|
39
|
-
let property = "userSelect" in target.style ? "userSelect" : "webkitUserSelect";
|
|
40
|
-
if (target.style[property] === "none") target.style[property] = targetOldUserSelect;
|
|
41
|
-
if (target.getAttribute("style") === "") target.removeAttribute("style");
|
|
42
|
-
$14c0b72509d70225$var$modifiedElementMap.delete(target);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useFocusWithin.mjs
|
|
48
|
-
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
49
|
-
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
50
|
-
let state = useRef({ isFocusWithin: false });
|
|
51
|
-
let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
52
|
-
let onBlur = useCallback((e) => {
|
|
53
|
-
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
|
|
54
|
-
if (state.current.isFocusWithin && !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) {
|
|
55
|
-
state.current.isFocusWithin = false;
|
|
56
|
-
removeAllGlobalListeners();
|
|
57
|
-
if (onBlurWithin) onBlurWithin(e);
|
|
58
|
-
if (onFocusWithinChange) onFocusWithinChange(false);
|
|
59
|
-
}
|
|
60
|
-
}, [
|
|
61
|
-
onBlurWithin,
|
|
62
|
-
onFocusWithinChange,
|
|
63
|
-
state,
|
|
64
|
-
removeAllGlobalListeners
|
|
65
|
-
]);
|
|
66
|
-
let onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
|
|
67
|
-
let onFocus = useCallback((e) => {
|
|
68
|
-
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
|
|
69
|
-
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(e.target);
|
|
70
|
-
const activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
71
|
-
if (!state.current.isFocusWithin && activeElement === $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
|
|
72
|
-
if (onFocusWithin) onFocusWithin(e);
|
|
73
|
-
if (onFocusWithinChange) onFocusWithinChange(true);
|
|
74
|
-
state.current.isFocusWithin = true;
|
|
75
|
-
onSyntheticFocus(e);
|
|
76
|
-
let currentTarget = e.currentTarget;
|
|
77
|
-
addGlobalListener(ownerDocument, "focus", (e) => {
|
|
78
|
-
if (state.current.isFocusWithin && !$d4ee10de306f2510$export$4282f70798064fe0(currentTarget, e.target)) {
|
|
79
|
-
let nativeEvent = new ownerDocument.defaultView.FocusEvent("blur", { relatedTarget: e.target });
|
|
80
|
-
$8a9cb279dc87e130$export$c2b7abe5d61ec696(nativeEvent, currentTarget);
|
|
81
|
-
let event = $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent);
|
|
82
|
-
onBlur(event);
|
|
83
|
-
}
|
|
84
|
-
}, { capture: true });
|
|
85
|
-
}
|
|
86
|
-
}, [
|
|
87
|
-
onFocusWithin,
|
|
88
|
-
onFocusWithinChange,
|
|
89
|
-
onSyntheticFocus,
|
|
90
|
-
addGlobalListener,
|
|
91
|
-
onBlur
|
|
92
|
-
]);
|
|
93
|
-
if (isDisabled) return { focusWithinProps: {
|
|
94
|
-
onFocus: void 0,
|
|
95
|
-
onBlur: void 0
|
|
96
|
-
} };
|
|
97
|
-
return { focusWithinProps: {
|
|
98
|
-
onFocus,
|
|
99
|
-
onBlur
|
|
100
|
-
} };
|
|
101
|
-
}
|
|
102
|
-
//#endregion
|
|
103
|
-
//#region ../../node_modules/.bun/@react-aria+focus@3.21.4+67f6792bdf102c28/node_modules/@react-aria/focus/dist/useFocusRing.mjs
|
|
104
|
-
function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
|
|
105
|
-
let { autoFocus = false, isTextInput, within } = props;
|
|
106
|
-
let state = useRef({
|
|
107
|
-
isFocused: false,
|
|
108
|
-
isFocusVisible: autoFocus || $507fabe10e71c6fb$export$b9b3dfddab17db27()
|
|
109
|
-
});
|
|
110
|
-
let [isFocused, setFocused] = useState(false);
|
|
111
|
-
let [isFocusVisibleState, setFocusVisible] = useState(() => state.current.isFocused && state.current.isFocusVisible);
|
|
112
|
-
let updateState = useCallback(() => setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);
|
|
113
|
-
let onFocusChange = useCallback((isFocused) => {
|
|
114
|
-
state.current.isFocused = isFocused;
|
|
115
|
-
state.current.isFocusVisible = $507fabe10e71c6fb$export$b9b3dfddab17db27();
|
|
116
|
-
setFocused(isFocused);
|
|
117
|
-
updateState();
|
|
118
|
-
}, [updateState]);
|
|
119
|
-
$507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible) => {
|
|
120
|
-
state.current.isFocusVisible = isFocusVisible;
|
|
121
|
-
updateState();
|
|
122
|
-
}, [isTextInput, isFocused], {
|
|
123
|
-
enabled: isFocused,
|
|
124
|
-
isTextInput
|
|
125
|
-
});
|
|
126
|
-
let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6({
|
|
127
|
-
isDisabled: within,
|
|
128
|
-
onFocusChange
|
|
129
|
-
});
|
|
130
|
-
let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
|
|
131
|
-
isDisabled: !within,
|
|
132
|
-
onFocusWithinChange: onFocusChange
|
|
133
|
-
});
|
|
134
|
-
return {
|
|
135
|
-
isFocused,
|
|
136
|
-
isFocusVisible: isFocusVisibleState,
|
|
137
|
-
focusProps: within ? focusWithinProps : focusProps
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
//#endregion
|
|
141
|
-
export { $14c0b72509d70225$export$b0d6fa1ab32e3295 as i, $9ab94262bd0047c7$export$420e68273165f4ec as n, $14c0b72509d70225$export$16a4697467175487 as r, $f7dceffc5ad7768b$export$4e328f61c538687f as t };
|