@povio/ui 3.4.0-rc.22 → 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 +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-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.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-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 +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
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { S as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./import-CuNJ25EP.js";
|
|
2
|
+
import { a as $f4e2df6bd15f8569$export$98658e8c59125e6a, i as $d4ee10de306f2510$export$e58f029f0fbfdb29, n as $d4ee10de306f2510$export$4282f70798064fe0, o as $431fbd86ca7dc216$export$b204af158042fbac, r as $d4ee10de306f2510$export$cd4e5573fbe2b576, s as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./context-HV79Qf_F.js";
|
|
3
|
+
import { n as $c87311424ea30a05$export$6446a186d09e379e, o as $c87311424ea30a05$export$a11b0059900ceec8 } from "./platform-df1ZXSJE.js";
|
|
3
4
|
import $HgANd$react, { createContext, useContext, useEffect, useMemo, useRef } from "react";
|
|
4
5
|
import "react-dom";
|
|
6
|
+
import { focusSafely, getInteractionModality } from "@react-aria/interactions";
|
|
5
7
|
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/ShadowTreeWalker.mjs
|
|
6
8
|
var $dfc540311bf7f109$export$63eb3ababa9c55c4 = class {
|
|
7
9
|
get currentNode() {
|
|
@@ -160,6 +162,63 @@ function $dfc540311bf7f109$export$4d0f8be8b12a7ef6(doc, root, whatToShow, filter
|
|
|
160
162
|
return doc.createTreeWalker(root, whatToShow, filter);
|
|
161
163
|
}
|
|
162
164
|
//#endregion
|
|
165
|
+
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/isElementVisible.mjs
|
|
166
|
+
const $7d2416ea0959daaa$var$supportsCheckVisibility = typeof Element !== "undefined" && "checkVisibility" in Element.prototype;
|
|
167
|
+
function $7d2416ea0959daaa$var$isStyleVisible(element) {
|
|
168
|
+
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
169
|
+
if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;
|
|
170
|
+
let { display, visibility } = element.style;
|
|
171
|
+
let isVisible = display !== "none" && visibility !== "hidden" && visibility !== "collapse";
|
|
172
|
+
if (isVisible) {
|
|
173
|
+
const { getComputedStyle } = element.ownerDocument.defaultView;
|
|
174
|
+
let { display: computedDisplay, visibility: computedVisibility } = getComputedStyle(element);
|
|
175
|
+
isVisible = computedDisplay !== "none" && computedVisibility !== "hidden" && computedVisibility !== "collapse";
|
|
176
|
+
}
|
|
177
|
+
return isVisible;
|
|
178
|
+
}
|
|
179
|
+
function $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) {
|
|
180
|
+
return !element.hasAttribute("hidden") && !element.hasAttribute("data-react-aria-prevent-focus") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
|
|
181
|
+
}
|
|
182
|
+
function $7d2416ea0959daaa$export$e989c0fffaa6b27a(element, childElement) {
|
|
183
|
+
if ($7d2416ea0959daaa$var$supportsCheckVisibility) return element.checkVisibility({ visibilityProperty: true }) && !element.closest("[data-react-aria-prevent-focus]");
|
|
184
|
+
return element.nodeName !== "#comment" && $7d2416ea0959daaa$var$isStyleVisible(element) && $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) && (!element.parentElement || $7d2416ea0959daaa$export$e989c0fffaa6b27a(element.parentElement, element));
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/isFocusable.mjs
|
|
188
|
+
const $b4b717babfbb907b$var$focusableElements = [
|
|
189
|
+
"input:not([disabled]):not([type=hidden])",
|
|
190
|
+
"select:not([disabled])",
|
|
191
|
+
"textarea:not([disabled])",
|
|
192
|
+
"button:not([disabled])",
|
|
193
|
+
"a[href]",
|
|
194
|
+
"area[href]",
|
|
195
|
+
"summary",
|
|
196
|
+
"iframe",
|
|
197
|
+
"object",
|
|
198
|
+
"embed",
|
|
199
|
+
"audio[controls]",
|
|
200
|
+
"video[controls]",
|
|
201
|
+
"[contenteditable]:not([contenteditable^=\"false\"])",
|
|
202
|
+
"permission"
|
|
203
|
+
];
|
|
204
|
+
const $b4b717babfbb907b$var$FOCUSABLE_ELEMENT_SELECTOR = $b4b717babfbb907b$var$focusableElements.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
205
|
+
$b4b717babfbb907b$var$focusableElements.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
|
|
206
|
+
const $b4b717babfbb907b$var$TABBABLE_ELEMENT_SELECTOR = $b4b717babfbb907b$var$focusableElements.join(":not([hidden]):not([tabindex=\"-1\"]),");
|
|
207
|
+
function $b4b717babfbb907b$export$4c063cf1350e6fed(element) {
|
|
208
|
+
return element.matches($b4b717babfbb907b$var$FOCUSABLE_ELEMENT_SELECTOR) && $7d2416ea0959daaa$export$e989c0fffaa6b27a(element) && !$b4b717babfbb907b$var$isInert(element);
|
|
209
|
+
}
|
|
210
|
+
function $b4b717babfbb907b$export$bebd5a1431fec25d(element) {
|
|
211
|
+
return element.matches($b4b717babfbb907b$var$TABBABLE_ELEMENT_SELECTOR) && $7d2416ea0959daaa$export$e989c0fffaa6b27a(element) && !$b4b717babfbb907b$var$isInert(element);
|
|
212
|
+
}
|
|
213
|
+
function $b4b717babfbb907b$var$isInert(element) {
|
|
214
|
+
let node = element;
|
|
215
|
+
while (node != null) {
|
|
216
|
+
if (node instanceof node.ownerDocument.defaultView.HTMLElement && node.inert) return true;
|
|
217
|
+
node = node.parentElement;
|
|
218
|
+
}
|
|
219
|
+
return false;
|
|
220
|
+
}
|
|
221
|
+
//#endregion
|
|
163
222
|
//#region ../../node_modules/.bun/@react-aria+focus@3.21.4+67f6792bdf102c28/node_modules/@react-aria/focus/dist/FocusScope.mjs
|
|
164
223
|
const $9bf71ea28793e738$var$FocusContext = /*#__PURE__*/ $HgANd$react.createContext(null);
|
|
165
224
|
const $9bf71ea28793e738$var$RESTORE_FOCUS_EVENT = "react-aria-focus-scope-restore";
|
|
@@ -365,7 +424,7 @@ function $9bf71ea28793e738$var$useFocusContainment(scopeRef, contain) {
|
|
|
365
424
|
let onBlur = (e) => {
|
|
366
425
|
if (raf.current) cancelAnimationFrame(raf.current);
|
|
367
426
|
raf.current = requestAnimationFrame(() => {
|
|
368
|
-
let modality =
|
|
427
|
+
let modality = getInteractionModality();
|
|
369
428
|
let shouldSkipFocusRestore = (modality === "virtual" || modality === null) && $c87311424ea30a05$export$a11b0059900ceec8() && $c87311424ea30a05$export$6446a186d09e379e();
|
|
370
429
|
let activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
371
430
|
if (!shouldSkipFocusRestore && activeElement && $9bf71ea28793e738$var$shouldContainFocus(scopeRef) && !$9bf71ea28793e738$var$isElementInChildScope(activeElement, scopeRef)) {
|
|
@@ -423,7 +482,7 @@ function $9bf71ea28793e738$var$isAncestorScope(ancestor, scope) {
|
|
|
423
482
|
}
|
|
424
483
|
function $9bf71ea28793e738$var$focusElement(element, scroll = false) {
|
|
425
484
|
if (element != null && !scroll) try {
|
|
426
|
-
|
|
485
|
+
focusSafely(element);
|
|
427
486
|
} catch {}
|
|
428
487
|
else if (element != null) try {
|
|
429
488
|
element.focus();
|
|
@@ -755,4 +814,4 @@ function $c8a5a149f625efcf$export$758399f318e6385a(props) {
|
|
|
755
814
|
//#region ../../node_modules/.bun/react-aria-components@1.15.1+67f6792bdf102c28/node_modules/react-aria-components/dist/SelectionIndicator.mjs
|
|
756
815
|
const $1d5b8b8664671ef2$export$c9549807523555e0 = /*#__PURE__*/ createContext({ isSelected: false });
|
|
757
816
|
//#endregion
|
|
758
|
-
export { $9bf71ea28793e738$export$2d6ec8fc375ceafa as a, $9bf71ea28793e738$export$20e40289641fbbb6 as i, $c8a5a149f625efcf$export$758399f318e6385a as n, $9bf71ea28793e738$export$c5251b9e124bf29 as o, $9bf71ea28793e738$export$1258395f99bf9cbf as r, $1d5b8b8664671ef2$export$c9549807523555e0 as t };
|
|
817
|
+
export { $9bf71ea28793e738$export$2d6ec8fc375ceafa as a, $b4b717babfbb907b$export$bebd5a1431fec25d as c, $9bf71ea28793e738$export$20e40289641fbbb6 as i, $c8a5a149f625efcf$export$758399f318e6385a as n, $9bf71ea28793e738$export$c5251b9e124bf29 as o, $9bf71ea28793e738$export$1258395f99bf9cbf as r, $b4b717babfbb907b$export$4c063cf1350e6fed as s, $1d5b8b8664671ef2$export$c9549807523555e0 as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as SliderProps$1 } from "./types-
|
|
1
|
+
import { p as SliderProps$1 } from "./types-BSiv-Igp.js";
|
|
2
2
|
import { n as FieldValues } from "./form.binding-DWlFTecs.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-B9Vp8q2g.js";
|
|
4
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
+
import { n as FormFieldProps } from "./FormField-DYbqlEZ_.js";
|
|
5
5
|
import { FocusEvent, Ref } from "react";
|
|
6
6
|
//#region src/components/inputs/Slider/Slider.d.ts
|
|
7
7
|
type SliderValue<IsRange extends boolean = false> = IsRange extends false ? number : number[];
|
|
@@ -1,171 +1,24 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-SBtRegKv.js";
|
|
2
|
-
import { t as FormField } from "./FormField-
|
|
2
|
+
import { t as FormField } from "./FormField-ChDNTHr4.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as $
|
|
4
|
+
import { _ as $5dc95899b306f630$export$c9058316764c140e, a as $64fa3d84918910a7$export$2881499e37b75b9a, c as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, d as $64fa3d84918910a7$export$df3a06d6289f983e, g as $3ef42575df84b30b$export$9d1611c77c2fe928, h as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, i as useHover$1, o as $64fa3d84918910a7$export$29f1550f4b0d4415, p as $64fa3d84918910a7$export$fabf2dc03a41866e, s as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./import-CuNJ25EP.js";
|
|
5
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-HV79Qf_F.js";
|
|
6
|
+
import { t as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./focusWithoutScrolling-DEPiLwKq.js";
|
|
7
|
+
import { t as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./useGlobalListeners-DuENtiaD.js";
|
|
8
|
+
import { l as $9446cca9a3875146$export$cb6e0bb50bc19463, s as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./OverlayArrow-Bz_8bYjT.js";
|
|
9
|
+
import { t as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CFgV1v57.js";
|
|
8
10
|
import { t as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-Bk39gTui.js";
|
|
9
|
-
import { t as $
|
|
10
|
-
import { t as $
|
|
11
|
-
import {
|
|
12
|
-
import { t as $
|
|
13
|
-
import { t as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-BFvzYK5u.js";
|
|
14
|
-
import { t as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-C0MdchIz.js";
|
|
11
|
+
import { t as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-BiWwqIo9.js";
|
|
12
|
+
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
13
|
+
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-src7PN5r.js";
|
|
14
|
+
import { t as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-a10cLlQM.js";
|
|
15
15
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
16
16
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
17
17
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
18
18
|
import $HgANd$react, { createContext, forwardRef, memo, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
19
|
+
import { setInteractionModality, useFocusable, useKeyboard, useMove } from "@react-aria/interactions";
|
|
20
|
+
import { useLabel } from "@react-aria/label";
|
|
19
21
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
20
|
-
//#region ../../node_modules/.bun/@react-aria+interactions@3.27.0+67f6792bdf102c28/node_modules/@react-aria/interactions/dist/useMove.mjs
|
|
21
|
-
function $e8a7022cf87cba2a$export$36da96379f79f245(props) {
|
|
22
|
-
let { onMoveStart, onMove, onMoveEnd } = props;
|
|
23
|
-
let state = useRef({
|
|
24
|
-
didMove: false,
|
|
25
|
-
lastPosition: null,
|
|
26
|
-
id: null
|
|
27
|
-
});
|
|
28
|
-
let { addGlobalListener, removeGlobalListener } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
29
|
-
let move = useCallback((originalEvent, pointerType, deltaX, deltaY) => {
|
|
30
|
-
if (deltaX === 0 && deltaY === 0) return;
|
|
31
|
-
if (!state.current.didMove) {
|
|
32
|
-
state.current.didMove = true;
|
|
33
|
-
onMoveStart === null || onMoveStart === void 0 || onMoveStart({
|
|
34
|
-
type: "movestart",
|
|
35
|
-
pointerType,
|
|
36
|
-
shiftKey: originalEvent.shiftKey,
|
|
37
|
-
metaKey: originalEvent.metaKey,
|
|
38
|
-
ctrlKey: originalEvent.ctrlKey,
|
|
39
|
-
altKey: originalEvent.altKey
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
onMove === null || onMove === void 0 || onMove({
|
|
43
|
-
type: "move",
|
|
44
|
-
pointerType,
|
|
45
|
-
deltaX,
|
|
46
|
-
deltaY,
|
|
47
|
-
shiftKey: originalEvent.shiftKey,
|
|
48
|
-
metaKey: originalEvent.metaKey,
|
|
49
|
-
ctrlKey: originalEvent.ctrlKey,
|
|
50
|
-
altKey: originalEvent.altKey
|
|
51
|
-
});
|
|
52
|
-
}, [
|
|
53
|
-
onMoveStart,
|
|
54
|
-
onMove,
|
|
55
|
-
state
|
|
56
|
-
]);
|
|
57
|
-
let moveEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(move);
|
|
58
|
-
let end = useCallback((originalEvent, pointerType) => {
|
|
59
|
-
$14c0b72509d70225$export$b0d6fa1ab32e3295();
|
|
60
|
-
if (state.current.didMove) onMoveEnd === null || onMoveEnd === void 0 || onMoveEnd({
|
|
61
|
-
type: "moveend",
|
|
62
|
-
pointerType,
|
|
63
|
-
shiftKey: originalEvent.shiftKey,
|
|
64
|
-
metaKey: originalEvent.metaKey,
|
|
65
|
-
ctrlKey: originalEvent.ctrlKey,
|
|
66
|
-
altKey: originalEvent.altKey
|
|
67
|
-
});
|
|
68
|
-
}, [onMoveEnd, state]);
|
|
69
|
-
let endEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(end);
|
|
70
|
-
let [pointerDown, setPointerDown] = useState(null);
|
|
71
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
72
|
-
if (pointerDown === "pointer") {
|
|
73
|
-
let onPointerMove = (e) => {
|
|
74
|
-
if (e.pointerId === state.current.id) {
|
|
75
|
-
var _state_current_lastPosition, _state_current_lastPosition1;
|
|
76
|
-
let pointerType = e.pointerType || "mouse";
|
|
77
|
-
var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;
|
|
78
|
-
moveEvent(e, pointerType, e.pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), e.pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));
|
|
79
|
-
state.current.lastPosition = {
|
|
80
|
-
pageX: e.pageX,
|
|
81
|
-
pageY: e.pageY
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
let onPointerUp = (e) => {
|
|
86
|
-
if (e.pointerId === state.current.id) {
|
|
87
|
-
let pointerType = e.pointerType || "mouse";
|
|
88
|
-
endEvent(e, pointerType);
|
|
89
|
-
state.current.id = null;
|
|
90
|
-
removeGlobalListener(window, "pointermove", onPointerMove, false);
|
|
91
|
-
removeGlobalListener(window, "pointerup", onPointerUp, false);
|
|
92
|
-
removeGlobalListener(window, "pointercancel", onPointerUp, false);
|
|
93
|
-
setPointerDown(null);
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
addGlobalListener(window, "pointermove", onPointerMove, false);
|
|
97
|
-
addGlobalListener(window, "pointerup", onPointerUp, false);
|
|
98
|
-
addGlobalListener(window, "pointercancel", onPointerUp, false);
|
|
99
|
-
return () => {
|
|
100
|
-
removeGlobalListener(window, "pointermove", onPointerMove, false);
|
|
101
|
-
removeGlobalListener(window, "pointerup", onPointerUp, false);
|
|
102
|
-
removeGlobalListener(window, "pointercancel", onPointerUp, false);
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
}, [
|
|
106
|
-
pointerDown,
|
|
107
|
-
addGlobalListener,
|
|
108
|
-
removeGlobalListener
|
|
109
|
-
]);
|
|
110
|
-
return { moveProps: useMemo(() => {
|
|
111
|
-
let moveProps = {};
|
|
112
|
-
let start = () => {
|
|
113
|
-
$14c0b72509d70225$export$16a4697467175487();
|
|
114
|
-
state.current.didMove = false;
|
|
115
|
-
};
|
|
116
|
-
moveProps.onPointerDown = (e) => {
|
|
117
|
-
if (e.button === 0 && state.current.id == null) {
|
|
118
|
-
start();
|
|
119
|
-
e.stopPropagation();
|
|
120
|
-
e.preventDefault();
|
|
121
|
-
state.current.lastPosition = {
|
|
122
|
-
pageX: e.pageX,
|
|
123
|
-
pageY: e.pageY
|
|
124
|
-
};
|
|
125
|
-
state.current.id = e.pointerId;
|
|
126
|
-
setPointerDown("pointer");
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
let triggerKeyboardMove = (e, deltaX, deltaY) => {
|
|
130
|
-
start();
|
|
131
|
-
move(e, "keyboard", deltaX, deltaY);
|
|
132
|
-
end(e, "keyboard");
|
|
133
|
-
};
|
|
134
|
-
moveProps.onKeyDown = (e) => {
|
|
135
|
-
switch (e.key) {
|
|
136
|
-
case "Left":
|
|
137
|
-
case "ArrowLeft":
|
|
138
|
-
e.preventDefault();
|
|
139
|
-
e.stopPropagation();
|
|
140
|
-
triggerKeyboardMove(e, -1, 0);
|
|
141
|
-
break;
|
|
142
|
-
case "Right":
|
|
143
|
-
case "ArrowRight":
|
|
144
|
-
e.preventDefault();
|
|
145
|
-
e.stopPropagation();
|
|
146
|
-
triggerKeyboardMove(e, 1, 0);
|
|
147
|
-
break;
|
|
148
|
-
case "Up":
|
|
149
|
-
case "ArrowUp":
|
|
150
|
-
e.preventDefault();
|
|
151
|
-
e.stopPropagation();
|
|
152
|
-
triggerKeyboardMove(e, 0, -1);
|
|
153
|
-
break;
|
|
154
|
-
case "Down":
|
|
155
|
-
case "ArrowDown":
|
|
156
|
-
e.preventDefault();
|
|
157
|
-
e.stopPropagation();
|
|
158
|
-
triggerKeyboardMove(e, 0, 1);
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
return moveProps;
|
|
162
|
-
}, [
|
|
163
|
-
state,
|
|
164
|
-
move,
|
|
165
|
-
end
|
|
166
|
-
]) };
|
|
167
|
-
}
|
|
168
|
-
//#endregion
|
|
169
22
|
//#region ../../node_modules/.bun/@react-stately+slider@3.7.4+83d5fd7b249dbeef/node_modules/@react-stately/slider/dist/useSliderState.mjs
|
|
170
23
|
const $28f99e3e86e6ec45$var$DEFAULT_MIN_VALUE = 0;
|
|
171
24
|
const $28f99e3e86e6ec45$var$DEFAULT_MAX_VALUE = 100;
|
|
@@ -324,7 +177,7 @@ function $aa519ee6cf463259$export$68e648cbec363a18(state, index) {
|
|
|
324
177
|
//#endregion
|
|
325
178
|
//#region ../../node_modules/.bun/@react-aria+slider@3.8.4+67f6792bdf102c28/node_modules/@react-aria/slider/dist/useSlider.mjs
|
|
326
179
|
function $bcca50147b47f54d$export$56b2c08e277f365(props, state, trackRef) {
|
|
327
|
-
let { labelProps, fieldProps } =
|
|
180
|
+
let { labelProps, fieldProps } = useLabel(props);
|
|
328
181
|
let isVertical = props.orientation === "vertical";
|
|
329
182
|
var _labelProps_id;
|
|
330
183
|
$aa519ee6cf463259$export$d6c8d9636a3dc49c.set(state, {
|
|
@@ -337,7 +190,7 @@ function $bcca50147b47f54d$export$56b2c08e277f365(props, state, trackRef) {
|
|
|
337
190
|
const realTimeTrackDraggingIndex = useRef(null);
|
|
338
191
|
const reverseX = direction === "rtl";
|
|
339
192
|
const currentPosition = useRef(null);
|
|
340
|
-
const { moveProps } =
|
|
193
|
+
const { moveProps } = useMove({
|
|
341
194
|
onMoveStart() {
|
|
342
195
|
currentPosition.current = null;
|
|
343
196
|
},
|
|
@@ -410,7 +263,7 @@ function $bcca50147b47f54d$export$56b2c08e277f365(props, state, trackRef) {
|
|
|
410
263
|
labelProps.onClick = () => {
|
|
411
264
|
var _document_getElementById;
|
|
412
265
|
(_document_getElementById = document.getElementById($aa519ee6cf463259$export$68e648cbec363a18(state, 0))) === null || _document_getElementById === void 0 || _document_getElementById.focus();
|
|
413
|
-
|
|
266
|
+
setInteractionModality("keyboard");
|
|
414
267
|
};
|
|
415
268
|
}
|
|
416
269
|
return {
|
|
@@ -452,7 +305,7 @@ function $47b897dc8cdb026b$export$8d15029008292ae(opts, state) {
|
|
|
452
305
|
let { addGlobalListener, removeGlobalListener } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
453
306
|
let data = $aa519ee6cf463259$export$d6c8d9636a3dc49c.get(state);
|
|
454
307
|
var _opts_arialabelledby;
|
|
455
|
-
const { labelProps, fieldProps } =
|
|
308
|
+
const { labelProps, fieldProps } = useLabel({
|
|
456
309
|
...opts,
|
|
457
310
|
id: $aa519ee6cf463259$export$68e648cbec363a18(state, index),
|
|
458
311
|
"aria-labelledby": `${data.id} ${(_opts_arialabelledby = opts["aria-labelledby"]) !== null && _opts_arialabelledby !== void 0 ? _opts_arialabelledby : ""}`.trim()
|
|
@@ -467,7 +320,7 @@ function $47b897dc8cdb026b$export$8d15029008292ae(opts, state) {
|
|
|
467
320
|
}, [isFocused, focusInput]);
|
|
468
321
|
let reverseX = direction === "rtl";
|
|
469
322
|
let currentPosition = useRef(null);
|
|
470
|
-
let { keyboardProps } =
|
|
323
|
+
let { keyboardProps } = useKeyboard({ onKeyDown(e) {
|
|
471
324
|
let { getThumbMaxValue, getThumbMinValue, decrementThumb, incrementThumb, setThumbValue, setThumbDragging, pageSize } = state;
|
|
472
325
|
if (!/^(PageUp|PageDown|Home|End)$/.test(e.key)) {
|
|
473
326
|
e.continuePropagation();
|
|
@@ -489,7 +342,7 @@ function $47b897dc8cdb026b$export$8d15029008292ae(opts, state) {
|
|
|
489
342
|
}
|
|
490
343
|
setThumbDragging(index, false);
|
|
491
344
|
} });
|
|
492
|
-
let { moveProps } =
|
|
345
|
+
let { moveProps } = useMove({
|
|
493
346
|
onMoveStart() {
|
|
494
347
|
currentPosition.current = null;
|
|
495
348
|
state.setThumbDragging(index, true);
|
|
@@ -514,7 +367,7 @@ function $47b897dc8cdb026b$export$8d15029008292ae(opts, state) {
|
|
|
514
367
|
}
|
|
515
368
|
});
|
|
516
369
|
state.setThumbEditable(index, !isDisabled);
|
|
517
|
-
const { focusableProps } =
|
|
370
|
+
const { focusableProps } = useFocusable($3ef42575df84b30b$export$9d1611c77c2fe928(opts, {
|
|
518
371
|
onFocus: () => state.setFocusedThumb(index),
|
|
519
372
|
onBlur: () => state.setFocusedThumb(void 0)
|
|
520
373
|
}), inputRef);
|
|
@@ -646,7 +499,7 @@ const $6f909507e6374d18$export$105594979f116971 = /*#__PURE__*/ forwardRef(funct
|
|
|
646
499
|
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $6f909507e6374d18$export$f1fce0420cc6d8ee);
|
|
647
500
|
let state = useContext($6f909507e6374d18$export$1e7083018727fa60);
|
|
648
501
|
let { onHoverStart, onHoverEnd, onHoverChange, ...otherProps } = props;
|
|
649
|
-
let { hoverProps, isHovered } = $
|
|
502
|
+
let { hoverProps, isHovered } = useHover$1({
|
|
650
503
|
onHoverStart,
|
|
651
504
|
onHoverEnd,
|
|
652
505
|
onHoverChange
|
|
@@ -686,7 +539,7 @@ const $6f909507e6374d18$export$2c1b491743890dec = /*#__PURE__*/ forwardRef(funct
|
|
|
686
539
|
label
|
|
687
540
|
}, state);
|
|
688
541
|
let { focusProps, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f();
|
|
689
|
-
let { hoverProps, isHovered } = $
|
|
542
|
+
let { hoverProps, isHovered } = useHover$1(props);
|
|
690
543
|
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
691
544
|
...props,
|
|
692
545
|
defaultClassName: "react-aria-SliderThumb",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as ButtonProps } from "./types-
|
|
2
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
1
|
+
import { t as ButtonProps } from "./types-BSiv-Igp.js";
|
|
2
|
+
import { n as LinkNavigationProps } from "./Link-Bz8vOksk.js";
|
|
3
3
|
import { n as ButtonVariantProps } from "./button.cva-zMNkoZH8.js";
|
|
4
|
-
import { n as MenuItem } from "./Menu-
|
|
4
|
+
import { n as MenuItem } from "./Menu-CVgRPAB3.js";
|
|
5
5
|
//#region src/components/buttons/SplitButton/SplitButton.d.ts
|
|
6
6
|
interface SplitButtonProps extends ButtonVariantProps, Omit<ButtonProps, "children"> {
|
|
7
7
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Check } from "./check-M2G7r3oH.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
3
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-oSE-CM83.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
6
6
|
import { Fragment } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-SBtRegKv.js";
|
|
2
2
|
import { t as X } from "./x-BYOEO0gW.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
4
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-oSE-CM83.js";
|
|
5
5
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
7
7
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ButtonProps } from "./types-
|
|
1
|
+
import { t as ButtonProps } from "./types-BSiv-Igp.js";
|
|
2
2
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-BdokYcGO.js";
|
|
3
3
|
import { n as TypographyProps } from "./Typography-BiHrVFpz.js";
|
|
4
4
|
import { Ref } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
import {
|
|
5
|
-
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
6
|
-
import { t as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-De01RThI.js";
|
|
4
|
+
import { _ as $5dc95899b306f630$export$c9058316764c140e, d as $64fa3d84918910a7$export$df3a06d6289f983e, g as $3ef42575df84b30b$export$9d1611c77c2fe928, i as useHover, o as $64fa3d84918910a7$export$29f1550f4b0d4415, s as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./import-CuNJ25EP.js";
|
|
5
|
+
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
7
6
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
8
7
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
9
|
-
import { r as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
8
|
+
import { r as InputClear, t as TooltipWrapper } from "./TooltipWrapper-D8gfa-pC.js";
|
|
10
9
|
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
|
|
11
10
|
import $HgANd$react, { createContext, forwardRef, memo, useRef } from "react";
|
|
11
|
+
import { useTextField } from "@react-aria/textfield";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region ../../node_modules/.bun/react-aria-components@1.15.1+67f6792bdf102c28/node_modules/react-aria-components/dist/TextArea.mjs
|
|
14
14
|
const $216918bed6669f72$export$2dc6166a7e65358c = /*#__PURE__*/ createContext({});
|
|
@@ -18,7 +18,7 @@ let $216918bed6669f72$var$filterHoverProps = (props) => {
|
|
|
18
18
|
};
|
|
19
19
|
const $216918bed6669f72$export$f5c9f3c2c4054eec = /*#__PURE__*/ forwardRef(function TextArea(props, ref) {
|
|
20
20
|
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $216918bed6669f72$export$2dc6166a7e65358c);
|
|
21
|
-
let { hoverProps, isHovered } =
|
|
21
|
+
let { hoverProps, isHovered } = useHover(props);
|
|
22
22
|
let { isFocused, isFocusVisible, focusProps } = $f7dceffc5ad7768b$export$4e328f61c538687f({
|
|
23
23
|
isTextInput: true,
|
|
24
24
|
autoFocus: props.autoFocus
|
|
@@ -73,7 +73,7 @@ const TextAreaBase = (props) => {
|
|
|
73
73
|
onChange,
|
|
74
74
|
onBlur
|
|
75
75
|
};
|
|
76
|
-
const { labelProps, inputProps } =
|
|
76
|
+
const { labelProps, inputProps } = useTextField(textFieldProps, textFieldRef);
|
|
77
77
|
const formFieldProps = {
|
|
78
78
|
error,
|
|
79
79
|
label,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { h as TextAreaProps$1
|
|
1
|
+
import { h as TextAreaProps$1 } from "./types-BSiv-Igp.js";
|
|
2
2
|
import { n as FieldValues } from "./form.binding-DWlFTecs.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-B9Vp8q2g.js";
|
|
4
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
+
import { n as FormFieldProps } from "./FormField-DYbqlEZ_.js";
|
|
5
5
|
import { n as InputVariantProps } from "./input.cva-CfgCOIQW.js";
|
|
6
6
|
import { Ref } from "react";
|
|
7
|
+
import { AriaTextFieldProps } from "@react-aria/textfield";
|
|
7
8
|
//#region src/components/inputs/Input/TextArea/TextArea.d.ts
|
|
8
9
|
interface TextAreaBaseProps extends FormFieldProps, InputVariantProps, Omit<TextAreaProps$1, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLTextAreaElement>, "label"> {
|
|
9
10
|
ref?: Ref<HTMLTextAreaElement>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as ButtonProps } from "./types-
|
|
2
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
1
|
+
import { t as ButtonProps } from "./types-BSiv-Igp.js";
|
|
2
|
+
import { n as LinkNavigationProps } from "./Link-Bz8vOksk.js";
|
|
3
3
|
import { n as ButtonVariantProps } from "./button.cva-zMNkoZH8.js";
|
|
4
4
|
import { t as ButtonContentVariantProps } from "./buttonContent.cva-CIOaLH0a.js";
|
|
5
|
-
import { n as ButtonIconProps } from "./Button-
|
|
5
|
+
import { n as ButtonIconProps } from "./Button-B5WLIURl.js";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
//#region src/components/buttons/TextButton/TextButton.d.ts
|
|
8
8
|
type TextButtonProps = Omit<ButtonVariantProps, "variant"> & ButtonContentVariantProps & ButtonProps & ButtonIconProps<true | false> & {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-CskCrR9z.js";
|
|
2
2
|
import { a as isEqual } from "./uiConfig.context-SBtRegKv.js";
|
|
3
3
|
import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
4
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
4
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-ChDNTHr4.js";
|
|
5
5
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { c as $
|
|
9
|
-
import {
|
|
6
|
+
import { _ as $5dc95899b306f630$export$c9058316764c140e, b as $bdb11010cef70236$export$f680877a34711e37, d as $64fa3d84918910a7$export$df3a06d6289f983e, g as $3ef42575df84b30b$export$9d1611c77c2fe928, h as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, l as $64fa3d84918910a7$export$c245e6201fed2f75, o as $64fa3d84918910a7$export$29f1550f4b0d4415, s as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./import-CuNJ25EP.js";
|
|
7
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-HV79Qf_F.js";
|
|
8
|
+
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-DpLXaUXz.js";
|
|
9
|
+
import { c as $9446cca9a3875146$export$b6268554fba451f, s as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./OverlayArrow-Bz_8bYjT.js";
|
|
10
|
+
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-BCW74bzR.js";
|
|
10
11
|
import { t as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-Bk39gTui.js";
|
|
11
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
12
|
-
import {
|
|
13
|
-
import { i as $5b160d28a433310d$export$c17fa47878dc55b6, n as $fca6afa0e843324b$export$f12b703ca79dfbb1, r as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-C2M9mXF2.js";
|
|
12
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-oSE-CM83.js";
|
|
13
|
+
import { i as $5b160d28a433310d$export$c17fa47878dc55b6, n as $fca6afa0e843324b$export$f12b703ca79dfbb1, r as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-D9TmTRN_.js";
|
|
14
14
|
import { t as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-KUrW7GbE.js";
|
|
15
|
-
import { n as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-DuXtCnJj.js";
|
|
16
|
-
import { t as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-BFvzYK5u.js";
|
|
17
15
|
import { t as $df39c1238ae2b5f3$exports } from "./intlStrings-DrQB127v.js";
|
|
18
16
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
19
17
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
20
18
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
21
|
-
import { t as Button } from "./Button-
|
|
19
|
+
import { t as Button } from "./Button-B8T7AjGP.js";
|
|
22
20
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
23
21
|
import "./i18n-C2TBJvnh.js";
|
|
24
22
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
25
23
|
import { i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
|
|
26
24
|
import { t as popoverDefinition } from "./popover.cva-CXha_UMQ.js";
|
|
27
25
|
import { TextInput } from "./components/text-input.js";
|
|
28
|
-
import { t as Select } from "./Select-
|
|
26
|
+
import { t as Select } from "./Select-T4am7u5p.js";
|
|
29
27
|
import { ResponsivePopover } from "./components/responsive-popover.js";
|
|
30
28
|
import $HgANd$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
29
|
+
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
30
|
+
import { useLabel } from "@react-aria/label";
|
|
31
31
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
32
32
|
import { useTranslation } from "react-i18next";
|
|
33
33
|
import { Color } from "@tiptap/extension-color";
|
|
@@ -3320,10 +3320,10 @@ const extensions = [
|
|
|
3320
3320
|
];
|
|
3321
3321
|
const TextEditorBase = ({ ref, as = "default", placeholder, label, hideLabel, tooltipText, helperText, isRequired, rightContent, isDisabled, headerClassName, errorClassName, isHeaderHidden, error, value, className, editorClassName, isDirty, onChange, onBlur }) => {
|
|
3322
3322
|
const contentRef = useRef(null);
|
|
3323
|
-
const { hoverProps, isHovered } =
|
|
3323
|
+
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
3324
3324
|
const [isFocused, setIsFocused] = useState(false);
|
|
3325
|
-
const { focusWithinProps } =
|
|
3326
|
-
const { isFocusVisible } =
|
|
3325
|
+
const { focusWithinProps } = useFocusWithin({ onFocusWithinChange: setIsFocused });
|
|
3326
|
+
const { isFocusVisible } = useFocusVisible();
|
|
3327
3327
|
const inputSideCva = UIOverrides.useCva("input.sideCva", inputSideDefinition);
|
|
3328
3328
|
const formFieldProps = {
|
|
3329
3329
|
error,
|
|
@@ -3338,7 +3338,7 @@ const TextEditorBase = ({ ref, as = "default", placeholder, label, hideLabel, to
|
|
|
3338
3338
|
headerClassName,
|
|
3339
3339
|
errorClassName
|
|
3340
3340
|
};
|
|
3341
|
-
const { labelProps, fieldProps } =
|
|
3341
|
+
const { labelProps, fieldProps } = useLabel({ label });
|
|
3342
3342
|
const editor = useEditor({
|
|
3343
3343
|
extensions: [...extensions, Placeholder.configure({ placeholder: as === "floating" ? "" : placeholder })],
|
|
3344
3344
|
editorProps: { attributes: { class: clsx("min-h-40 rounded-b-sm p-2 outline-none", editorClassName) } },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DWlFTecs.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-B9Vp8q2g.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-DYbqlEZ_.js";
|
|
4
4
|
import { Ref } from "react";
|
|
5
5
|
import { JSONContent } from "@tiptap/react";
|
|
6
6
|
//#region src/components/inputs/TextEditor/TextEditor.d.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-DuXtCnJj.js";
|
|
4
|
+
import { _ as $5dc95899b306f630$export$c9058316764c140e } from "./import-CuNJ25EP.js";
|
|
5
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-HV79Qf_F.js";
|
|
6
|
+
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, g as useTimeFieldState, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $16f0b7bb276bc17e$export$4c842f6a241dc825 } from "./staticDateTimeSegments-C8AOKnEO.js";
|
|
7
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-oSE-CM83.js";
|
|
9
8
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
10
9
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
11
10
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
12
11
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
13
|
-
import { r as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
12
|
+
import { r as InputClear, t as TooltipWrapper } from "./TooltipWrapper-D8gfa-pC.js";
|
|
14
13
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
|
|
15
|
-
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
16
|
-
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
14
|
+
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-pnEcfX_d.js";
|
|
15
|
+
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-BqdbvGFL.js";
|
|
17
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
18
17
|
import { memo, useEffect, useRef, useState } from "react";
|
|
19
18
|
import { getLocalTimeZone, now, toTime } from "@internationalized/date";
|
|
19
|
+
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
20
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
21
|
//#region src/components/inputs/DateTime/shared/TimeField.tsx
|
|
22
22
|
const TimeField = ({ ref, fieldProps, state, isDisabled, hidePlaceholder }) => {
|
|
@@ -39,10 +39,10 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
39
39
|
const uiConfig = UIConfig.useConfig();
|
|
40
40
|
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
41
41
|
const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
|
|
42
|
-
const { hoverProps, isHovered } =
|
|
42
|
+
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
43
43
|
const [isFocused, setIsFocused] = useState(false);
|
|
44
|
-
const { focusWithinProps } =
|
|
45
|
-
const { isFocusVisible } =
|
|
44
|
+
const { focusWithinProps } = useFocusWithin({ onFocusWithinChange: setIsFocused });
|
|
45
|
+
const { isFocusVisible } = useFocusVisible();
|
|
46
46
|
const containerRef = useRef(null);
|
|
47
47
|
useFirefoxDateSegmentSelectionGuard(containerRef);
|
|
48
48
|
const hidePlaceholder = as === "floating" && !state.value && !isFocused;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as TimeValue, x as AriaTimeFieldProps } from "./types-BSiv-Igp.js";
|
|
2
2
|
import { n as FieldValues } from "./form.binding-DWlFTecs.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-B9Vp8q2g.js";
|
|
4
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
+
import { n as FormFieldProps } from "./FormField-DYbqlEZ_.js";
|
|
5
5
|
import { n as InputVariantProps } from "./input.cva-CfgCOIQW.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
//#region src/components/inputs/DateTime/TimePicker/TimePicker.d.ts
|