@povio/ui 3.4.0-rc.37 → 3.4.0-rc.39
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/dist/{Accordion-KHMSEFyK.d.ts → Accordion-DonRhvvW.d.ts} +1 -1
- package/dist/{ActionModal-C4lfhfPx.d.ts → ActionModal-CKS0t-n3.d.ts} +1 -1
- package/dist/{Autocomplete-0tckACUz.d.ts → Autocomplete-CWiSRejc.d.ts} +3 -3
- package/dist/{Breadcrumbs-JQIFk783.d.ts → Breadcrumbs-C46_H95J.d.ts} +2 -2
- package/dist/{Button-OxjPE7Hf.d.ts → Button-D0M9lMOR.d.ts} +3 -3
- package/dist/{Checkbox-Di3VlWJj.d.ts → Checkbox-BIZoNFiX.d.ts} +3 -3
- package/dist/{CheckboxGroup-5r9b-9qT.d.ts → CheckboxGroup-U4poUqlk.d.ts} +4 -4
- package/dist/{DatePicker-COJoYiqp.d.ts → DatePicker-IZwn9hAk.d.ts} +5 -5
- package/dist/{DatePickerInput-BJi1U0fr.d.ts → DatePickerInput-B7yVoI9Y.d.ts} +3 -3
- package/dist/{DateRangePicker-C8hu6_ms.d.ts → DateRangePicker-DLuRwuw1.d.ts} +6 -5
- package/dist/{DateTimePicker-BPCAME01.d.ts → DateTimePicker-Co6UXSVA.d.ts} +6 -5
- package/dist/{FileUpload-Cn2Fel_W.d.ts → FileUpload-B1L78k7y.d.ts} +2 -2
- package/dist/{FileUploadContainer-Cg1UdVE5.d.ts → FileUploadContainer-CLPREIin.d.ts} +1 -1
- package/dist/{Form-D0y6YSfq.d.ts → Form-fI9WMU9d.d.ts} +7 -7
- package/dist/FormField-Iy2O8A4g.d.ts +37 -0
- package/dist/{IconButton-Dv45TT1w.d.ts → IconButton-CUpL6CsP.d.ts} +2 -2
- package/dist/{InlineIconButton-DvsOdnfE.d.ts → InlineIconButton-AQ8SViM3.d.ts} +3 -3
- package/dist/InputContent-jcMfOzpN.d.ts +27 -0
- package/dist/{InputUpload-CR7mp6ED.d.ts → InputUpload-RPnj3b1Y.d.ts} +4 -4
- package/dist/Inputs-a9CXrVRS.d.ts +13 -0
- package/dist/{Link-Bz8vOksk.d.ts → Link-CKi4C00S.d.ts} +4 -2
- package/dist/{Menu-ucX0h-jq.d.ts → Menu-BHpiqpJ9.d.ts} +5 -2
- package/dist/{MenuItem--lQvt0VV.d.ts → MenuItem-DLKC94Qs.d.ts} +1 -1
- package/dist/{Modal-9GwkBJOj.d.ts → Modal-BfN_MfR-.d.ts} +1 -1
- package/dist/{NumberInput-Cr_nD98h.d.ts → NumberInput-gqs4vYJf.d.ts} +5 -4
- package/dist/{NumberRangeInput-Dgm-8DFi.d.ts → NumberRangeInput-CMHI9yks.d.ts} +4 -4
- package/dist/{Pagination-BBnE2yzX.d.ts → Pagination-uuqyFAu_.d.ts} +1 -1
- package/dist/{PaginationList-DhwiyUOh.d.ts → PaginationList-CmZBILfU.d.ts} +1 -1
- package/dist/{PasswordInput-DjDWoOHW.d.ts → PasswordInput-CcoU8g5c.d.ts} +3 -3
- package/dist/{Pill-C0Ubkm_y.d.ts → Pill-vCBJdOTY.d.ts} +1 -1
- package/dist/{PillButton-MeVkDMKW.d.ts → PillButton-CEF431l4.d.ts} +1 -1
- package/dist/{QuerySelect-tupQOlAT.d.ts → QuerySelect-D_vXxG1S.d.ts} +4 -4
- package/dist/RadioGroup-Cs718lkQ.d.ts +24 -0
- package/dist/{ResponsivePopover-B-Z9sFxq.d.ts → ResponsivePopover-BmURECUv.d.ts} +1 -1
- package/dist/{Segment-D6zpeIiW.d.ts → Segment-C_Vbrl9f.d.ts} +3 -3
- package/dist/{Select-Do5qWHLj.d.ts → Select-DIso4xMG.d.ts} +3 -3
- package/dist/{SelectBase-aSvWd7Cx.d.ts → SelectBase-72enBk-1.d.ts} +36 -37
- package/dist/{Slider-CdZdFERe.d.ts → Slider-Baw84mjN.d.ts} +4 -4
- package/dist/{SplitButton-DxrWH3EX.d.ts → SplitButton-CR4psHKW.d.ts} +3 -3
- package/dist/{Tag-DkTx1S7H.d.ts → Tag-DUvBTljf.d.ts} +1 -1
- package/dist/{TextArea-WosRv99w.d.ts → TextArea-vdp0uSFx.d.ts} +4 -4
- package/dist/{TextButton-CJm2kbLZ.d.ts → TextButton-cigitfeH.d.ts} +3 -3
- package/dist/{TextEditor-CI9MAPyT.d.ts → TextEditor-B7vdoTeN.d.ts} +3 -3
- package/dist/TextInput-Dxq5XKdp.d.ts +27 -0
- package/dist/{TimePicker-DivbHhCw.d.ts → TimePicker-B_atBC0F.d.ts} +4 -4
- package/dist/Toast-DL8_g0WV.d.ts +16 -0
- package/dist/Toggle-CaBvb0l0.d.ts +19 -0
- package/dist/{ToggleButton-C0aNgZdw.d.ts → ToggleButton-3lINwoaV.d.ts} +2 -2
- package/dist/{Tooltip-BIoJ7tNr.d.ts → Tooltip-D1oFPqFF.d.ts} +1 -1
- package/dist/{autocomplete-bNuG6_dG.d.ts → autocomplete-CQqxdk49.d.ts} +3 -3
- package/dist/button-BQmy1LZS.d.ts +1 -0
- package/dist/{checkbox-BYnCRnOf.d.ts → checkbox-Dx7xlf6g.d.ts} +1 -1
- package/dist/{checkbox-group-CeIFa44k.d.ts → checkbox-group-C4afLmyg.d.ts} +1 -1
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/action-modal.d.ts +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/input-upload.d.ts +1 -1
- package/dist/components/link.d.ts +2 -2
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill.d.ts +1 -1
- package/dist/components/query-autocomplete.d.ts +3 -3
- package/dist/components/query-autocomplete.js +4 -3
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +4 -3
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/select.d.ts +2 -2
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/toast.d.ts +2 -1
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/theme-context.d.ts +1 -1
- package/dist/config/theme-context.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/{confirmation.context-CLV-kSkd.d.ts → confirmation.context-D_kJeU8m.d.ts} +1 -1
- package/dist/{date-picker-gLc7aPL7.d.ts → date-picker-BT9DHqNa.d.ts} +1 -1
- package/dist/{date-range-picker-Vk7K6noM.d.ts → date-range-picker-VxlXnCVb.d.ts} +1 -1
- package/dist/{date-time-picker-Db_pMYsD.d.ts → date-time-picker-HxtcGQjQ.d.ts} +1 -1
- package/dist/{dynamicInputs-D8j0ko24.js → dynamicInputs-0GjoOaz5.js} +14 -14
- package/dist/{dynamicInputs-i58CWBjC.d.ts → dynamicInputs-Be0THQ7Z.d.ts} +135 -132
- package/dist/{dynamicInputs-4JB41qRW.js → dynamicInputs-bhlywWDy.js} +4 -4
- package/dist/{file-upload-JIICz2sD.d.ts → file-upload-CNJFJ3Jx.d.ts} +2 -2
- package/dist/{fileUpload.types-DNAlG2R3.d.ts → fileUpload.types-BMs6Zkhr.d.ts} +5 -5
- package/dist/{form.binding-DWlFTecs.d.ts → form.binding-QO3Py45C.d.ts} +6 -3
- package/dist/{form.types-B9Vp8q2g.d.ts → form.types-CefwT7Po.d.ts} +1 -1
- package/dist/hooks/use-filters.d.ts +1 -1
- package/dist/hooks/use-filters.js +1 -1
- package/dist/hooks/use-local-storage.d.ts +1 -1
- package/dist/index-DCUSluLL.d.ts +269 -0
- package/dist/index.d.ts +76 -73
- package/dist/index.js +5 -5
- package/dist/{input-upload-Bm68Vqws.d.ts → input-upload-D3IM2ZuK.d.ts} +1 -1
- package/dist/{link.context-BUgF4OQ8.d.ts → link.context-C1RcdC0i.d.ts} +1 -1
- package/dist/{number-input-0eEiBuYH.d.ts → number-input-nwfbc3kN.d.ts} +1 -1
- package/dist/{number-range-input-Xe0GcGzn.d.ts → number-range-input-BxoPQzi8.d.ts} +1 -1
- package/dist/{password-input-Dzt77vHH.d.ts → password-input-BEneLWqN.d.ts} +1 -1
- package/dist/{query-autocomplete-CHtcx_ND.d.ts → query-autocomplete-rqGMbEP9.d.ts} +2 -2
- package/dist/{query-select-CD0iFQqR.d.ts → query-select-DbQpRcE3.d.ts} +3 -3
- package/dist/{queryAutocomplete.types-DaTDttX5.d.ts → queryAutocomplete.types-Cnn4GjUo.d.ts} +4 -4
- package/dist/{radio-group-Bhnx7pCI.d.ts → radio-group-Cc6b39Jt.d.ts} +1 -1
- package/dist/{RadioGroup-iry4UYlW.d.ts → radio.cva-9lpsise2.d.ts} +1 -23
- 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/date-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/input-upload.d.ts +2 -2
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/inputs.js +1 -1
- package/dist/rhf/number-input.d.ts +2 -2
- package/dist/rhf/number-range-input.d.ts +2 -2
- 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/segment.d.ts +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-editor.d.ts +2 -2
- package/dist/rhf/text-input.d.ts +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/toggle.d.ts +2 -2
- package/dist/rhf.d.ts +76 -73
- package/dist/rhf.js +5 -5
- package/dist/{segment-CK9gjZ8s.d.ts → segment-Csrt70e1.d.ts} +2 -2
- package/dist/{segment.types-CCpnAbOH.d.ts → segment.types-BAFG_n38.d.ts} +3 -3
- package/dist/{select-D80pWSgi.d.ts → select-v-_bJmJ_.d.ts} +3 -3
- package/dist/{slider-MG-JqKNN.d.ts → slider-B2wS9JNA.d.ts} +1 -1
- 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/date-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/form.d.ts +2 -2
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input-upload.d.ts +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/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/segment.d.ts +2 -2
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/table.d.ts +1 -2
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-editor.d.ts +1 -1
- package/dist/tanstack/text-input.d.ts +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/toggle.d.ts +1 -1
- package/dist/tanstack.d.ts +61 -58
- package/dist/tanstack.js +6 -6
- package/dist/{text-area-BOlfnGaF.d.ts → text-area-CYY-d5HB.d.ts} +1 -1
- package/dist/{text-editor-CQGYgGI3.d.ts → text-editor-Bz57chW2.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/{text-input-JUX2SUzO.d.ts → text-input-CkMv3VpB.d.ts} +1 -1
- package/dist/{theme.context-rPpAYJZo.d.ts → theme.context-B10jqjvZ.d.ts} +3 -3
- package/dist/{theme.context-CCXz56lV.js → theme.context-B3wQDJ-i.js} +2 -2
- package/dist/{time-picker-Dm642_yK.d.ts → time-picker-CjqmM5sQ.d.ts} +1 -1
- package/dist/{Toast-JL9yaI35.d.ts → toast.cva-C1ZPw_oP.d.ts} +1 -15
- package/dist/{toggle-IhObgudF.d.ts → toggle-BYNFK_xQ.d.ts} +1 -1
- package/dist/{Toggle-vHKDihtx.d.ts → toggle.cva-2CGLc8aa.d.ts} +1 -18
- package/dist/types-BT18i837.d.ts +69 -0
- package/dist/{types-BSiv-Igp.d.ts → types-ZbFfCz06.d.ts} +16 -343
- package/dist/uiConfig.context-Bjb9TQ6Y.d.ts +126 -0
- package/dist/{useFilters-Cc_lW3jH.js → useFilters-20jpzc29.js} +5 -5
- package/dist/{useFilters-6IOuvBTm.d.ts → useFilters-BxRScJdn.d.ts} +2 -2
- package/dist/{useFormAutosave-MWfz07Xf.js → useFormAutosave-CBtT6V83.js} +4 -4
- package/dist/{useLocalStorage-kcEdRxqC.d.ts → useLocalStorage-DGsBUCT6.d.ts} +2 -2
- package/dist/{useTableColumnConfig-jYZYcSlm.js → useTableColumnConfig-DzdaxZ50.js} +11 -11
- package/dist/{useTableNav-CFHbvYvu.d.ts → useTableNav-DZjPiQUb.d.ts} +36 -19
- package/dist/{useToast-B55ZUvwy.d.ts → useToast-q70ayd29.d.ts} +1 -1
- package/dist/zod.utils-DrrPDT9v.js +24 -0
- package/package.json +4 -4
- package/dist/FormField-CpPQoyv_.d.ts +0 -81
- package/dist/HeaderText-BrZaEuIn.d.ts +0 -19
- package/dist/Inputs-Cuxfe-fC.d.ts +0 -13
- package/dist/button-CAOolCjz.d.ts +0 -1
- package/dist/schemas-BkfyFvBp.js +0 -4004
- package/dist/schemas-CAtYiHoz.d.ts +0 -2127
- package/dist/uiConfig.context-BLXZG1Mu.d.ts +0 -90
- package/dist/zod.utils-Nz_Tbo_v.js +0 -24
|
@@ -1,50 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "@
|
|
1
|
+
import { a as SelectionBehavior, d as InputDOMProps, f as LinkDOMProps, i as PressEvents, l as DOMProps, n as FocusEvents, o as SelectionMode, r as HoverEvents, s as AriaLabelingProps, t as RefObject$1, u as GlobalDOMAttributes } from "./index-DCUSluLL.js";
|
|
2
|
+
import { S as Orientation, _ as PositionProps, a as AriaNumberFieldProps, b as AriaToggleButtonGroupProps, c as AriaRadioGroupProps, g as PlacementAxis, h as Placement, i as AriaLinkOptions, l as AriaSliderProps, m as HoverEvents$1, n as AriaCheckboxProps, o as AriaPopoverProps, p as DropOptions, r as AriaDialogProps, s as AriaPositionProps, t as AriaCheckboxGroupProps, u as AriaSwitchProps, x as AriaToggleButtonProps, y as AriaButtonProps } from "./types-BT18i837.js";
|
|
3
|
+
import $HgANd$react, { AnchorHTMLAttributes, CSSProperties, DetailedHTMLProps, HTMLAttributes, InputHTMLAttributes, JSX, LabelHTMLAttributes, ReactElement, ReactNode, TextareaHTMLAttributes } from "react";
|
|
4
|
+
import { CalendarDate } from "@internationalized/date";
|
|
5
5
|
import { AriaTextFieldProps } from "@react-aria/textfield";
|
|
6
|
-
import "@react-aria/calendar";
|
|
7
6
|
import "@react-stately/calendar";
|
|
8
7
|
import { DatePickerStateOptions, DateRangePickerStateOptions } from "@react-stately/datepicker";
|
|
9
8
|
import "@react-types/form";
|
|
10
|
-
import "@react-
|
|
11
|
-
import
|
|
12
|
-
import { ToggleGroupProps, ToggleGroupState, ToggleState } from "@react-stately/toggle";
|
|
13
|
-
import { AriaCheckboxGroupProps, AriaCheckboxProps } from "@react-aria/checkbox";
|
|
14
|
-
import "@react-aria/color";
|
|
15
|
-
import "@react-aria/combobox";
|
|
16
|
-
import { AriaTimeFieldProps, DateValue as DateValue$1, TimeValue } from "@react-aria/datepicker";
|
|
17
|
-
import { AriaDialogProps } from "@react-aria/dialog";
|
|
18
|
-
import "@react-aria/disclosure";
|
|
19
|
-
import { DropOptions } from "@react-aria/dnd";
|
|
20
|
-
import "@react-stately/utils";
|
|
21
|
-
import "@internationalized/message";
|
|
22
|
-
import "@internationalized/string";
|
|
23
|
-
import "@internationalized/number";
|
|
24
|
-
import "@react-aria/gridlist";
|
|
25
|
-
import "@react-aria/landmark";
|
|
26
|
-
import { AriaLinkOptions } from "@react-aria/link";
|
|
27
|
-
import "@react-aria/listbox";
|
|
28
|
-
import "@react-aria/menu";
|
|
29
|
-
import "@react-aria/meter";
|
|
30
|
-
import { AriaNumberFieldProps } from "@react-aria/numberfield";
|
|
31
|
-
import { AriaPopoverProps, AriaPositionProps, Placement, PlacementAxis, PositionProps } from "@react-aria/overlays";
|
|
32
|
-
import "@react-aria/progress";
|
|
33
|
-
import { AriaRadioGroupProps } from "@react-aria/radio";
|
|
34
|
-
import "@react-aria/searchfield";
|
|
35
|
-
import "@react-aria/select";
|
|
36
|
-
import "@react-aria/selection";
|
|
37
|
-
import "@react-aria/separator";
|
|
38
|
-
import "@react-aria/ssr";
|
|
39
|
-
import { AriaSliderProps } from "@react-aria/slider";
|
|
40
|
-
import { AriaSwitchProps } from "@react-aria/switch";
|
|
41
|
-
import "@react-aria/table";
|
|
42
|
-
import "@react-aria/tabs";
|
|
43
|
-
import "@react-aria/tag";
|
|
44
|
-
import "@react-aria/toast";
|
|
45
|
-
import "@react-aria/tooltip";
|
|
46
|
-
import "@react-aria/tree";
|
|
47
|
-
import "@react-aria/visually-hidden";
|
|
9
|
+
import { ToggleGroupState, ToggleState } from "@react-stately/toggle";
|
|
10
|
+
import "@react-aria/dnd";
|
|
48
11
|
import { CheckboxGroupState } from "@react-stately/checkbox";
|
|
49
12
|
import "@react-stately/color";
|
|
50
13
|
import "@react-stately/combobox";
|
|
@@ -75,287 +38,6 @@ import "@react-stately/virtualizer";
|
|
|
75
38
|
import "@react-stately/layout";
|
|
76
39
|
import "@react-aria/toolbar";
|
|
77
40
|
import "@react-aria/collections";
|
|
78
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/dom.d.ts
|
|
79
|
-
interface AriaLabelingProps {
|
|
80
|
-
/**
|
|
81
|
-
* Defines a string value that labels the current element.
|
|
82
|
-
*/
|
|
83
|
-
'aria-label'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Identifies the element (or elements) that labels the current element.
|
|
86
|
-
*/
|
|
87
|
-
'aria-labelledby'?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Identifies the element (or elements) that describes the object.
|
|
90
|
-
*/
|
|
91
|
-
'aria-describedby'?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Identifies the element (or elements) that provide a detailed, extended description for the object.
|
|
94
|
-
*/
|
|
95
|
-
'aria-details'?: string;
|
|
96
|
-
}
|
|
97
|
-
// A set of common DOM props that are allowed on any component
|
|
98
|
-
// Ensure this is synced with DOMPropNames in filterDOMProps
|
|
99
|
-
interface DOMProps {
|
|
100
|
-
/**
|
|
101
|
-
* The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).
|
|
102
|
-
*/
|
|
103
|
-
id?: string;
|
|
104
|
-
}
|
|
105
|
-
interface InputDOMProps {
|
|
106
|
-
/**
|
|
107
|
-
* The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).
|
|
108
|
-
*/
|
|
109
|
-
name?: string;
|
|
110
|
-
/**
|
|
111
|
-
* The `<form>` element to associate the input with.
|
|
112
|
-
* The value of this attribute must be the id of a `<form>` in the same document.
|
|
113
|
-
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form).
|
|
114
|
-
*/
|
|
115
|
-
form?: string;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* This type allows configuring link props with router options and type-safe URLs via TS module augmentation.
|
|
119
|
-
* By default, this is an empty type. Extend with `href` and `routerOptions` properties to configure your router.
|
|
120
|
-
*/
|
|
121
|
-
interface RouterConfig {}
|
|
122
|
-
type Href = RouterConfig extends {
|
|
123
|
-
href: infer H;
|
|
124
|
-
} ? H : string;
|
|
125
|
-
type RouterOptions = RouterConfig extends {
|
|
126
|
-
routerOptions: infer O;
|
|
127
|
-
} ? O : never;
|
|
128
|
-
// Make sure to update filterDOMProps.ts when updating this.
|
|
129
|
-
interface LinkDOMProps {
|
|
130
|
-
/** A URL to link to. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href). */
|
|
131
|
-
href?: Href;
|
|
132
|
-
/** Hints at the human language of the linked URL. See[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang). */
|
|
133
|
-
hrefLang?: string;
|
|
134
|
-
/** The target window for the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target). */
|
|
135
|
-
target?: HTMLAttributeAnchorTarget;
|
|
136
|
-
/** The relationship between the linked resource and the current page. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel). */
|
|
137
|
-
rel?: string;
|
|
138
|
-
/** Causes the browser to download the linked URL. A string may be provided to suggest a file name. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download). */
|
|
139
|
-
download?: boolean | string;
|
|
140
|
-
/** A space-separated list of URLs to ping when the link is followed. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#ping). */
|
|
141
|
-
ping?: string;
|
|
142
|
-
/** How much of the referrer to send when following the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy). */
|
|
143
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy;
|
|
144
|
-
/** Options for the configured client side router. */
|
|
145
|
-
routerOptions?: RouterOptions;
|
|
146
|
-
}
|
|
147
|
-
/** Any focusable element, including both HTML and SVG elements. */
|
|
148
|
-
interface FocusableElement extends Element, HTMLOrSVGElement {}
|
|
149
|
-
/** All DOM attributes supported across both HTML and SVG elements. */
|
|
150
|
-
interface DOMAttributes$1<T = FocusableElement> extends AriaAttributes, DOMAttributes<T> {
|
|
151
|
-
id?: string | undefined;
|
|
152
|
-
role?: AriaRole | undefined;
|
|
153
|
-
tabIndex?: number | undefined;
|
|
154
|
-
style?: CSSProperties | undefined;
|
|
155
|
-
className?: string | undefined;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Global attributes that can be applied to any DOM element.
|
|
159
|
-
* @private
|
|
160
|
-
*/
|
|
161
|
-
// NOTE: id is handled elsewhere (DOMProps).
|
|
162
|
-
interface GlobalDOMAttributes<T = Element> extends GlobalDOMEvents<T> {
|
|
163
|
-
dir?: string | undefined;
|
|
164
|
-
lang?: string | undefined;
|
|
165
|
-
hidden?: boolean | undefined;
|
|
166
|
-
inert?: boolean | undefined;
|
|
167
|
-
translate?: 'yes' | 'no' | undefined;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Global DOM events that are supported on all DOM elements.
|
|
171
|
-
* @private
|
|
172
|
-
*/
|
|
173
|
-
// NOTES:
|
|
174
|
-
// - Drag and drop events are omitted for now.
|
|
175
|
-
// - Keyboard and focus events are supported directly on focusable elements (FocusableProps).
|
|
176
|
-
// - Text input events (e.g. onInput, onCompositionStart, onCopy) are
|
|
177
|
-
// supported only directly on input elements (TextInputDOMProps).
|
|
178
|
-
// We don't support contentEditable on our components.
|
|
179
|
-
// - Media events should be handled directly on the <video>/<audio><img> element.
|
|
180
|
-
interface GlobalDOMEvents<T = Element> {
|
|
181
|
-
// MouseEvents
|
|
182
|
-
onClick?: MouseEventHandler<T> | undefined;
|
|
183
|
-
onClickCapture?: MouseEventHandler<T> | undefined;
|
|
184
|
-
onAuxClick?: MouseEventHandler<T> | undefined;
|
|
185
|
-
onAuxClickCapture?: MouseEventHandler<T> | undefined;
|
|
186
|
-
onContextMenu?: MouseEventHandler<T> | undefined;
|
|
187
|
-
onContextMenuCapture?: MouseEventHandler<T> | undefined;
|
|
188
|
-
onDoubleClick?: MouseEventHandler<T> | undefined;
|
|
189
|
-
onDoubleClickCapture?: MouseEventHandler<T> | undefined;
|
|
190
|
-
onMouseDown?: MouseEventHandler<T> | undefined;
|
|
191
|
-
onMouseDownCapture?: MouseEventHandler<T> | undefined;
|
|
192
|
-
onMouseEnter?: MouseEventHandler<T> | undefined;
|
|
193
|
-
onMouseLeave?: MouseEventHandler<T> | undefined;
|
|
194
|
-
onMouseMove?: MouseEventHandler<T> | undefined;
|
|
195
|
-
onMouseMoveCapture?: MouseEventHandler<T> | undefined;
|
|
196
|
-
onMouseOut?: MouseEventHandler<T> | undefined;
|
|
197
|
-
onMouseOutCapture?: MouseEventHandler<T> | undefined;
|
|
198
|
-
onMouseOver?: MouseEventHandler<T> | undefined;
|
|
199
|
-
onMouseOverCapture?: MouseEventHandler<T> | undefined;
|
|
200
|
-
onMouseUp?: MouseEventHandler<T> | undefined;
|
|
201
|
-
onMouseUpCapture?: MouseEventHandler<T> | undefined;
|
|
202
|
-
// Touch Events
|
|
203
|
-
onTouchCancel?: TouchEventHandler<T> | undefined;
|
|
204
|
-
onTouchCancelCapture?: TouchEventHandler<T> | undefined;
|
|
205
|
-
onTouchEnd?: TouchEventHandler<T> | undefined;
|
|
206
|
-
onTouchEndCapture?: TouchEventHandler<T> | undefined;
|
|
207
|
-
onTouchMove?: TouchEventHandler<T> | undefined;
|
|
208
|
-
onTouchMoveCapture?: TouchEventHandler<T> | undefined;
|
|
209
|
-
onTouchStart?: TouchEventHandler<T> | undefined;
|
|
210
|
-
onTouchStartCapture?: TouchEventHandler<T> | undefined;
|
|
211
|
-
// Pointer Events
|
|
212
|
-
onPointerDown?: PointerEventHandler<T> | undefined;
|
|
213
|
-
onPointerDownCapture?: PointerEventHandler<T> | undefined;
|
|
214
|
-
onPointerMove?: PointerEventHandler<T> | undefined;
|
|
215
|
-
onPointerMoveCapture?: PointerEventHandler<T> | undefined;
|
|
216
|
-
onPointerUp?: PointerEventHandler<T> | undefined;
|
|
217
|
-
onPointerUpCapture?: PointerEventHandler<T> | undefined;
|
|
218
|
-
onPointerCancel?: PointerEventHandler<T> | undefined;
|
|
219
|
-
onPointerCancelCapture?: PointerEventHandler<T> | undefined;
|
|
220
|
-
onPointerEnter?: PointerEventHandler<T> | undefined;
|
|
221
|
-
onPointerLeave?: PointerEventHandler<T> | undefined;
|
|
222
|
-
onPointerOver?: PointerEventHandler<T> | undefined;
|
|
223
|
-
onPointerOverCapture?: PointerEventHandler<T> | undefined;
|
|
224
|
-
onPointerOut?: PointerEventHandler<T> | undefined;
|
|
225
|
-
onPointerOutCapture?: PointerEventHandler<T> | undefined;
|
|
226
|
-
onGotPointerCapture?: PointerEventHandler<T> | undefined;
|
|
227
|
-
onGotPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
228
|
-
onLostPointerCapture?: PointerEventHandler<T> | undefined;
|
|
229
|
-
onLostPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
230
|
-
// UI Events
|
|
231
|
-
onScroll?: UIEventHandler<T> | undefined;
|
|
232
|
-
onScrollCapture?: UIEventHandler<T> | undefined;
|
|
233
|
-
// Wheel Events
|
|
234
|
-
onWheel?: WheelEventHandler<T> | undefined;
|
|
235
|
-
onWheelCapture?: WheelEventHandler<T> | undefined;
|
|
236
|
-
// Animation Events
|
|
237
|
-
onAnimationStart?: AnimationEventHandler<T> | undefined;
|
|
238
|
-
onAnimationStartCapture?: AnimationEventHandler<T> | undefined;
|
|
239
|
-
onAnimationEnd?: AnimationEventHandler<T> | undefined;
|
|
240
|
-
onAnimationEndCapture?: AnimationEventHandler<T> | undefined;
|
|
241
|
-
onAnimationIteration?: AnimationEventHandler<T> | undefined;
|
|
242
|
-
onAnimationIterationCapture?: AnimationEventHandler<T> | undefined;
|
|
243
|
-
// Transition Events
|
|
244
|
-
onTransitionCancel?: TransitionEventHandler<T> | undefined;
|
|
245
|
-
onTransitionCancelCapture?: TransitionEventHandler<T> | undefined;
|
|
246
|
-
onTransitionEnd?: TransitionEventHandler<T> | undefined;
|
|
247
|
-
onTransitionEndCapture?: TransitionEventHandler<T> | undefined;
|
|
248
|
-
onTransitionRun?: TransitionEventHandler<T> | undefined;
|
|
249
|
-
onTransitionRunCapture?: TransitionEventHandler<T> | undefined;
|
|
250
|
-
onTransitionStart?: TransitionEventHandler<T> | undefined;
|
|
251
|
-
onTransitionStartCapture?: TransitionEventHandler<T> | undefined;
|
|
252
|
-
}
|
|
253
|
-
//#endregion
|
|
254
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/selection.d.ts
|
|
255
|
-
type SelectionMode = 'none' | 'single' | 'multiple';
|
|
256
|
-
type SelectionBehavior = 'toggle' | 'replace';
|
|
257
|
-
//#endregion
|
|
258
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/events.d.ts
|
|
259
|
-
type PointerType = 'mouse' | 'pen' | 'touch' | 'keyboard' | 'virtual';
|
|
260
|
-
interface PressEvent$1 {
|
|
261
|
-
/** The type of press event being fired. */
|
|
262
|
-
type: 'pressstart' | 'pressend' | 'pressup' | 'press';
|
|
263
|
-
/** The pointer type that triggered the press event. */
|
|
264
|
-
pointerType: PointerType;
|
|
265
|
-
/** The target element of the press event. */
|
|
266
|
-
target: Element;
|
|
267
|
-
/** Whether the shift keyboard modifier was held during the press event. */
|
|
268
|
-
shiftKey: boolean;
|
|
269
|
-
/** Whether the ctrl keyboard modifier was held during the press event. */
|
|
270
|
-
ctrlKey: boolean;
|
|
271
|
-
/** Whether the meta keyboard modifier was held during the press event. */
|
|
272
|
-
metaKey: boolean;
|
|
273
|
-
/** Whether the alt keyboard modifier was held during the press event. */
|
|
274
|
-
altKey: boolean;
|
|
275
|
-
/** X position relative to the target. */
|
|
276
|
-
x: number;
|
|
277
|
-
/** Y position relative to the target. */
|
|
278
|
-
y: number;
|
|
279
|
-
/**
|
|
280
|
-
* The key that triggered the press event, if it was triggered by a keyboard interaction.
|
|
281
|
-
* This is useful for differentiating between Space and Enter key presses.
|
|
282
|
-
*/
|
|
283
|
-
key?: string;
|
|
284
|
-
/**
|
|
285
|
-
* By default, press events stop propagation to parent elements.
|
|
286
|
-
* In cases where a handler decides not to handle a specific event,
|
|
287
|
-
* it can call `continuePropagation()` to allow a parent to handle it.
|
|
288
|
-
*/
|
|
289
|
-
continuePropagation(): void;
|
|
290
|
-
}
|
|
291
|
-
interface HoverEvent$1 {
|
|
292
|
-
/** The type of hover event being fired. */
|
|
293
|
-
type: 'hoverstart' | 'hoverend';
|
|
294
|
-
/** The pointer type that triggered the hover event. */
|
|
295
|
-
pointerType: 'mouse' | 'pen';
|
|
296
|
-
/** The target element of the hover event. */
|
|
297
|
-
target: HTMLElement;
|
|
298
|
-
}
|
|
299
|
-
interface FocusEvents$1<Target = Element> {
|
|
300
|
-
/** Handler that is called when the element receives focus. */
|
|
301
|
-
onFocus?: (e: FocusEvent<Target>) => void;
|
|
302
|
-
/** Handler that is called when the element loses focus. */
|
|
303
|
-
onBlur?: (e: FocusEvent<Target>) => void;
|
|
304
|
-
/** Handler that is called when the element's focus status changes. */
|
|
305
|
-
onFocusChange?: (isFocused: boolean) => void;
|
|
306
|
-
}
|
|
307
|
-
interface HoverEvents$1 {
|
|
308
|
-
/** Handler that is called when a hover interaction starts. */
|
|
309
|
-
onHoverStart?: (e: HoverEvent$1) => void;
|
|
310
|
-
/** Handler that is called when a hover interaction ends. */
|
|
311
|
-
onHoverEnd?: (e: HoverEvent$1) => void;
|
|
312
|
-
/** Handler that is called when the hover state changes. */
|
|
313
|
-
onHoverChange?: (isHovering: boolean) => void;
|
|
314
|
-
}
|
|
315
|
-
interface PressEvents$1 {
|
|
316
|
-
/** Handler that is called when the press is released over the target. */
|
|
317
|
-
onPress?: (e: PressEvent$1) => void;
|
|
318
|
-
/** Handler that is called when a press interaction starts. */
|
|
319
|
-
onPressStart?: (e: PressEvent$1) => void;
|
|
320
|
-
/**
|
|
321
|
-
* Handler that is called when a press interaction ends, either
|
|
322
|
-
* over the target or when the pointer leaves the target.
|
|
323
|
-
*/
|
|
324
|
-
onPressEnd?: (e: PressEvent$1) => void;
|
|
325
|
-
/** Handler that is called when the press state changes. */
|
|
326
|
-
onPressChange?: (isPressed: boolean) => void;
|
|
327
|
-
/**
|
|
328
|
-
* Handler that is called when a press is released over the target, regardless of
|
|
329
|
-
* whether it started on the target or not.
|
|
330
|
-
*/
|
|
331
|
-
onPressUp?: (e: PressEvent$1) => void;
|
|
332
|
-
/**
|
|
333
|
-
* **Not recommended – use `onPress` instead.** `onClick` is an alias for `onPress`
|
|
334
|
-
* provided for compatibility with other libraries. `onPress` provides
|
|
335
|
-
* additional event details for non-mouse interactions.
|
|
336
|
-
*/
|
|
337
|
-
onClick?: (e: MouseEvent<FocusableElement>) => void;
|
|
338
|
-
}
|
|
339
|
-
//#endregion
|
|
340
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/refs.d.ts
|
|
341
|
-
interface RefObject$1<T> {
|
|
342
|
-
current: T;
|
|
343
|
-
}
|
|
344
|
-
//#endregion
|
|
345
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/orientation.d.ts
|
|
346
|
-
/*
|
|
347
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
348
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
349
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
350
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
351
|
-
*
|
|
352
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
353
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
354
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
355
|
-
* governing permissions and limitations under the License.
|
|
356
|
-
*/
|
|
357
|
-
type Orientation = 'horizontal' | 'vertical';
|
|
358
|
-
//#endregion
|
|
359
41
|
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/key.d.ts
|
|
360
42
|
/*
|
|
361
43
|
* Copyright 2023 Adobe. All rights reserved.
|
|
@@ -370,15 +52,6 @@ type Orientation = 'horizontal' | 'vertical';
|
|
|
370
52
|
*/
|
|
371
53
|
type Key = string | number;
|
|
372
54
|
//#endregion
|
|
373
|
-
//#region ../../node_modules/.bun/@react-aria+button@3.14.4+67f6792bdf102c28/node_modules/@react-aria/button/dist/types.d.ts
|
|
374
|
-
interface AriaToggleButtonGroupProps extends ToggleGroupProps, AriaLabelingProps {
|
|
375
|
-
/**
|
|
376
|
-
* The orientation of the the toggle button group.
|
|
377
|
-
* @default 'horizontal'
|
|
378
|
-
*/
|
|
379
|
-
orientation?: Orientation;
|
|
380
|
-
}
|
|
381
|
-
//#endregion
|
|
382
55
|
//#region ../../node_modules/.bun/react-aria-components@1.15.1+67f6792bdf102c28/node_modules/react-aria-components/dist/types.d.ts
|
|
383
56
|
interface StyleProps {
|
|
384
57
|
/** The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. */
|
|
@@ -460,7 +133,7 @@ interface CheckboxGroupProps extends Omit<AriaCheckboxGroupProps, 'children' | '
|
|
|
460
133
|
*/
|
|
461
134
|
className?: ClassNameOrFunction<CheckboxGroupRenderProps>;
|
|
462
135
|
}
|
|
463
|
-
interface CheckboxProps extends Omit<AriaCheckboxProps, 'children' | 'validationState' | 'validationBehavior'>, HoverEvents, RACValidation, RenderProps<CheckboxRenderProps, 'label'>, SlotProps, Omit<GlobalDOMAttributes<HTMLLabelElement>, 'onClick'> {
|
|
136
|
+
interface CheckboxProps extends Omit<AriaCheckboxProps, 'children' | 'validationState' | 'validationBehavior'>, HoverEvents$1, RACValidation, RenderProps<CheckboxRenderProps, 'label'>, SlotProps, Omit<GlobalDOMAttributes<HTMLLabelElement>, 'onClick'> {
|
|
464
137
|
/**
|
|
465
138
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
466
139
|
* @default 'react-aria-Checkbox'
|
|
@@ -576,7 +249,7 @@ interface InputRenderProps {
|
|
|
576
249
|
*/
|
|
577
250
|
isInvalid: boolean;
|
|
578
251
|
}
|
|
579
|
-
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'style'>, HoverEvents, StyleRenderProps<InputRenderProps, 'input'> {
|
|
252
|
+
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'style'>, HoverEvents$1, StyleRenderProps<InputRenderProps, 'input'> {
|
|
580
253
|
/**
|
|
581
254
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
582
255
|
* @default 'react-aria-Input'
|
|
@@ -673,7 +346,7 @@ interface ItemRenderProps {
|
|
|
673
346
|
*/
|
|
674
347
|
isDropTarget?: boolean;
|
|
675
348
|
}
|
|
676
|
-
interface LinkProps extends Omit<AriaLinkOptions, 'elementType'>, HoverEvents, Omit<RenderProps<LinkRenderProps>, 'render'>, PossibleLinkDOMRenderProps<'span', LinkRenderProps>, SlotProps, DOMProps, Omit<GlobalDOMAttributes<HTMLAnchorElement>, 'onClick'> {
|
|
349
|
+
interface LinkProps extends Omit<AriaLinkOptions, 'elementType'>, HoverEvents$1, Omit<RenderProps<LinkRenderProps>, 'render'>, PossibleLinkDOMRenderProps<'span', LinkRenderProps>, SlotProps, DOMProps, Omit<GlobalDOMAttributes<HTMLAnchorElement>, 'onClick'> {
|
|
677
350
|
/**
|
|
678
351
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
679
352
|
* @default 'react-aria-Link'
|
|
@@ -744,7 +417,7 @@ interface ButtonRenderProps {
|
|
|
744
417
|
*/
|
|
745
418
|
isPending: boolean;
|
|
746
419
|
}
|
|
747
|
-
interface ButtonProps extends Omit<AriaButtonProps, 'children' | 'href' | 'target' | 'rel' | 'elementType'>, HoverEvents, SlotProps, RenderProps<ButtonRenderProps, 'button'>, Omit<GlobalDOMAttributes<HTMLButtonElement>, 'onClick'> {
|
|
420
|
+
interface ButtonProps extends Omit<AriaButtonProps, 'children' | 'href' | 'target' | 'rel' | 'elementType'>, HoverEvents$1, SlotProps, RenderProps<ButtonRenderProps, 'button'>, Omit<GlobalDOMAttributes<HTMLButtonElement>, 'onClick'> {
|
|
748
421
|
/**
|
|
749
422
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
750
423
|
* @default 'react-aria-Button'
|
|
@@ -832,7 +505,7 @@ interface MenuItemRenderProps extends ItemRenderProps {
|
|
|
832
505
|
*/
|
|
833
506
|
isOpen: boolean;
|
|
834
507
|
}
|
|
835
|
-
interface MenuItemProps<T = object> extends Omit<RenderProps<MenuItemRenderProps>, 'render'>, PossibleLinkDOMRenderProps<'div', MenuItemRenderProps>, LinkDOMProps, HoverEvents
|
|
508
|
+
interface MenuItemProps<T = object> extends Omit<RenderProps<MenuItemRenderProps>, 'render'>, PossibleLinkDOMRenderProps<'div', MenuItemRenderProps>, LinkDOMProps, HoverEvents, FocusEvents, PressEvents, Omit<GlobalDOMAttributes<HTMLDivElement>, 'onClick'> {
|
|
836
509
|
/**
|
|
837
510
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
838
511
|
* @default 'react-aria-MenuItem'
|
|
@@ -892,7 +565,7 @@ interface DropZoneRenderProps {
|
|
|
892
565
|
*/
|
|
893
566
|
isDisabled: boolean;
|
|
894
567
|
}
|
|
895
|
-
interface DropZoneProps extends Omit<DropOptions, 'getDropOperationForPoint' | 'ref' | 'hasDropButton'>, HoverEvents
|
|
568
|
+
interface DropZoneProps extends Omit<DropOptions, 'getDropOperationForPoint' | 'ref' | 'hasDropButton'>, HoverEvents, RenderProps<DropZoneRenderProps>, SlotProps, AriaLabelingProps, GlobalDOMAttributes<HTMLDivElement> {
|
|
896
569
|
/**
|
|
897
570
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
898
571
|
* @default 'react-aria-DropZone'
|
|
@@ -991,7 +664,7 @@ interface RadioGroupRenderProps {
|
|
|
991
664
|
*/
|
|
992
665
|
state: RadioGroupState;
|
|
993
666
|
}
|
|
994
|
-
interface SwitchProps extends Omit<AriaSwitchProps, 'children'>, HoverEvents, RenderProps<SwitchRenderProps, 'label'>, SlotProps, Omit<GlobalDOMAttributes<HTMLLabelElement>, 'onClick'> {
|
|
667
|
+
interface SwitchProps extends Omit<AriaSwitchProps, 'children'>, HoverEvents$1, RenderProps<SwitchRenderProps, 'label'>, SlotProps, Omit<GlobalDOMAttributes<HTMLLabelElement>, 'onClick'> {
|
|
995
668
|
/**
|
|
996
669
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
997
670
|
* @default 'react-aria-Switch'
|
|
@@ -1043,7 +716,7 @@ interface SwitchRenderProps {
|
|
|
1043
716
|
*/
|
|
1044
717
|
state: ToggleState;
|
|
1045
718
|
}
|
|
1046
|
-
interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'style'>, HoverEvents, StyleRenderProps<InputRenderProps, 'textarea'> {
|
|
719
|
+
interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'style'>, HoverEvents$1, StyleRenderProps<InputRenderProps, 'textarea'> {
|
|
1047
720
|
/**
|
|
1048
721
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
1049
722
|
* @default 'react-aria-TextArea'
|
|
@@ -1084,7 +757,7 @@ interface ToggleButtonRenderProps extends Omit<ButtonRenderProps, 'isPending'> {
|
|
|
1084
757
|
*/
|
|
1085
758
|
state: ToggleState;
|
|
1086
759
|
}
|
|
1087
|
-
interface ToggleButtonProps extends Omit<AriaToggleButtonProps, 'children' | 'elementType' | 'id'>, HoverEvents, SlotProps, RenderProps<ToggleButtonRenderProps, 'button'>, Omit<GlobalDOMAttributes<HTMLDivElement>, 'onClick'> {
|
|
760
|
+
interface ToggleButtonProps extends Omit<AriaToggleButtonProps, 'children' | 'elementType' | 'id'>, HoverEvents$1, SlotProps, RenderProps<ToggleButtonRenderProps, 'button'>, Omit<GlobalDOMAttributes<HTMLDivElement>, 'onClick'> {
|
|
1088
761
|
/**
|
|
1089
762
|
* The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
|
|
1090
763
|
* @default 'react-aria-ToggleButton'
|
|
@@ -1147,4 +820,4 @@ interface TooltipRenderProps {
|
|
|
1147
820
|
state: TooltipTriggerState;
|
|
1148
821
|
}
|
|
1149
822
|
//#endregion
|
|
1150
|
-
export {
|
|
823
|
+
export { ToggleButtonProps as _, DropZoneProps as a, DateRangePickerStateOptions as b, LinkProps as c, PopoverProps as d, RadioGroupProps as f, ToggleButtonGroupProps as g, TextAreaProps as h, DialogProps as i, MenuItemProps as l, SwitchProps as m, CheckboxGroupProps as n, FileTriggerProps as o, SliderProps as p, CheckboxProps as r, InputProps as s, ButtonProps as t, NumberFieldProps as u, TooltipProps as v, Key as x, DatePickerStateOptions as y };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { t as TypographyVariantProps } from "./typography.cva-7RYwLrA7.js";
|
|
2
|
+
import { n as ButtonVariantProps } from "./button.cva-zMNkoZH8.js";
|
|
3
|
+
import { t as CheckboxVariantProps } from "./checkbox.cva-Caaf2Ysq.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CfgCOIQW.js";
|
|
5
|
+
import { t as RadioVariantProps } from "./radio.cva-9lpsise2.js";
|
|
6
|
+
import { t as ToggleVariantProps } from "./toggle.cva-2CGLc8aa.js";
|
|
7
|
+
import { r as TypographyPropsCva } from "./Typography-BiHrVFpz.js";
|
|
8
|
+
import { r as ToastPosition } from "./index-B8r_kiw4.js";
|
|
9
|
+
import { t as ToastVariantProps } from "./toast.cva-C1ZPw_oP.js";
|
|
10
|
+
import { FC, PropsWithChildren, ReactElement, SVGProps } from "react";
|
|
11
|
+
//#region src/config/uiConfig.types.d.ts
|
|
12
|
+
type Breakpoint = "sm" | "md" | "lg" | "xl";
|
|
13
|
+
interface DateRangeRelativeOption {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
getValue: () => {
|
|
17
|
+
start: string;
|
|
18
|
+
end: string;
|
|
19
|
+
};
|
|
20
|
+
isDisabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
type DatePickerIcon = boolean | FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
23
|
+
interface UIConfigOptions {
|
|
24
|
+
renderStaticInput: boolean;
|
|
25
|
+
responsive: {
|
|
26
|
+
ssrMatches: Partial<Record<Breakpoint, boolean>>;
|
|
27
|
+
};
|
|
28
|
+
input: Pick<InputVariantProps, "variant" | "as" | "size"> & {
|
|
29
|
+
isClearable?: boolean;
|
|
30
|
+
hideLabel?: boolean;
|
|
31
|
+
alwaysShowClear?: boolean;
|
|
32
|
+
};
|
|
33
|
+
button: Pick<ButtonVariantProps, "variant" | "size">;
|
|
34
|
+
numberInput: {
|
|
35
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
36
|
+
};
|
|
37
|
+
radioGroup: Pick<RadioVariantProps, "variant"> & {
|
|
38
|
+
hideLabel?: boolean;
|
|
39
|
+
fireBlurOnChange?: boolean;
|
|
40
|
+
};
|
|
41
|
+
checkbox: Pick<CheckboxVariantProps, "variant"> & {
|
|
42
|
+
fireBlurOnChange?: boolean;
|
|
43
|
+
};
|
|
44
|
+
select: {
|
|
45
|
+
selectionMode?: "single" | "multiple";
|
|
46
|
+
isSearchable?: boolean;
|
|
47
|
+
collapseAfter?: number;
|
|
48
|
+
selectedTagsType?: "tags" | "list";
|
|
49
|
+
hideSearchIcon?: boolean;
|
|
50
|
+
multiSelectAutoConfirm?: boolean;
|
|
51
|
+
searchDebounceDelay?: number;
|
|
52
|
+
fireBlurOnChange?: boolean;
|
|
53
|
+
renderStaticInput?: boolean;
|
|
54
|
+
};
|
|
55
|
+
queryAutocomplete: {
|
|
56
|
+
isInitialQueryDisabled?: boolean;
|
|
57
|
+
renderStaticInput?: boolean;
|
|
58
|
+
resolveSelectedItemsWithIds?: boolean;
|
|
59
|
+
searchDebounceDelay?: number;
|
|
60
|
+
};
|
|
61
|
+
querySelect: {
|
|
62
|
+
isInitialQueryDisabled?: boolean;
|
|
63
|
+
renderStaticInput?: boolean;
|
|
64
|
+
resolveSelectedItemsWithIds?: boolean;
|
|
65
|
+
searchDebounceDelay?: number;
|
|
66
|
+
};
|
|
67
|
+
toggle: Pick<ToggleVariantProps, "variant"> & {
|
|
68
|
+
fireBlurOnChange?: boolean;
|
|
69
|
+
};
|
|
70
|
+
slider: {
|
|
71
|
+
minValue?: number;
|
|
72
|
+
maxValue?: number;
|
|
73
|
+
};
|
|
74
|
+
dateInput: {
|
|
75
|
+
todayIcon?: DatePickerIcon;
|
|
76
|
+
todayIconButtonSize?: ButtonVariantProps["size"] | "none";
|
|
77
|
+
todayIconButtonComponent?: "iconButton" | "inlineIconButton";
|
|
78
|
+
todayIconPlacement?: "content" | "fieldLabel";
|
|
79
|
+
shouldForceLeadingZeros?: boolean;
|
|
80
|
+
disableManualEntry?: boolean;
|
|
81
|
+
shouldUpdateDateOnMonthYearChange?: boolean;
|
|
82
|
+
granularity?: "day" | "month" | "year";
|
|
83
|
+
autoFixYear?: boolean;
|
|
84
|
+
calendarIcon?: ReactElement;
|
|
85
|
+
dateTimeIcon?: ReactElement;
|
|
86
|
+
timeIcon?: ReactElement;
|
|
87
|
+
setDateValueOnDateSelection?: boolean;
|
|
88
|
+
timeZone?: string;
|
|
89
|
+
allowPartialRange?: boolean;
|
|
90
|
+
fireBlurOnChange?: boolean;
|
|
91
|
+
dateRangeOptions?: DateRangeRelativeOption[];
|
|
92
|
+
};
|
|
93
|
+
actionModal: {
|
|
94
|
+
titleTypography?: TypographyPropsCva;
|
|
95
|
+
descriptionTypography?: TypographyPropsCva;
|
|
96
|
+
};
|
|
97
|
+
bottomSheet: {
|
|
98
|
+
closeDragThreshold?: number;
|
|
99
|
+
closeVelocityThreshold?: number;
|
|
100
|
+
hideThumb?: boolean;
|
|
101
|
+
headerTypography?: TypographyVariantProps;
|
|
102
|
+
};
|
|
103
|
+
tableHeaderText: Pick<TypographyPropsCva, "variant" | "size">;
|
|
104
|
+
tableCellText: Pick<TypographyPropsCva, "variant" | "size">;
|
|
105
|
+
tag: {
|
|
106
|
+
textVariant?: TypographyVariantProps["variant"];
|
|
107
|
+
textSize?: TypographyVariantProps["size"];
|
|
108
|
+
};
|
|
109
|
+
toast: Pick<ToastVariantProps, "variant"> & {
|
|
110
|
+
position: ToastPosition;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
type DeepRequired<T> = { [P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : Exclude<T[P], null | undefined>; };
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/config/uiConfig.context.d.ts
|
|
116
|
+
declare namespace UIConfig {
|
|
117
|
+
export type Options = UIConfigOptions;
|
|
118
|
+
interface ProviderProps {
|
|
119
|
+
config?: Partial<Options>;
|
|
120
|
+
}
|
|
121
|
+
export const Provider: ({ config, children }: PropsWithChildren<ProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
122
|
+
export const useConfig: () => DeepRequired<UIConfigOptions>;
|
|
123
|
+
export {};
|
|
124
|
+
}
|
|
125
|
+
//#endregion
|
|
126
|
+
export { UIConfig as t };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as ZodNullable, c as ZodOptional, l as ZodString, n as ZodBoolean, o as ZodNumber } from "./schemas-BkfyFvBp.js";
|
|
2
1
|
import { t as UIRouter } from "./router.context-VhvhlIvV.js";
|
|
3
2
|
import { t as RoutingUtils } from "./routing.utils-UTQonIhB.js";
|
|
4
3
|
import { useEffect, useState } from "react";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { z } from "zod";
|
|
6
6
|
//#region src/hooks/useFilters.ts
|
|
7
7
|
function getFieldType(schema, fieldKey) {
|
|
8
8
|
if (!schema || !schema.shape) return "unknown";
|
|
9
9
|
let fieldSchema = schema.shape[fieldKey];
|
|
10
|
-
while (fieldSchema) if (fieldSchema instanceof ZodOptional || fieldSchema instanceof ZodNullable) fieldSchema = fieldSchema.unwrap();
|
|
10
|
+
while (fieldSchema) if (fieldSchema instanceof z.ZodOptional || fieldSchema instanceof z.ZodNullable) fieldSchema = fieldSchema.unwrap();
|
|
11
11
|
else break;
|
|
12
12
|
if (!fieldSchema) return "unknown";
|
|
13
|
-
if (fieldSchema instanceof ZodNumber) return "number";
|
|
14
|
-
if (fieldSchema instanceof ZodBoolean) return "boolean";
|
|
15
|
-
if (fieldSchema instanceof ZodString) return "string";
|
|
13
|
+
if (fieldSchema instanceof z.ZodNumber) return "number";
|
|
14
|
+
if (fieldSchema instanceof z.ZodBoolean) return "boolean";
|
|
15
|
+
if (fieldSchema instanceof z.ZodString) return "string";
|
|
16
16
|
return "unknown";
|
|
17
17
|
}
|
|
18
18
|
const serializeFiltersToQuery = (filterData, prefix) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
//#region src/hooks/useFilters.d.ts
|
|
3
3
|
interface FilterStore<TFilterData> {
|
|
4
4
|
filterData: TFilterData;
|
|
@@ -6,6 +6,6 @@ interface FilterStore<TFilterData> {
|
|
|
6
6
|
getFilterValue: (keys: (keyof TFilterData)[]) => Partial<TFilterData>;
|
|
7
7
|
clearAllFilters: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const useFilters: <TFilterData>(defaultFilterValues?: TFilterData, prefix?: string, schema?: ZodObject<any>) => FilterStore<TFilterData>;
|
|
9
|
+
declare const useFilters: <TFilterData>(defaultFilterValues?: TFilterData, prefix?: string, schema?: z.ZodObject<any>) => FilterStore<TFilterData>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { useFilters as n, FilterStore as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as isEqual, o as ObjectUtils } from "./uiConfig.context-BG4jfp9p.js";
|
|
2
|
-
import { t as ZodArray } from "./schemas-BkfyFvBp.js";
|
|
3
2
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
4
|
-
import { t as ZodUtils } from "./zod.utils-
|
|
5
|
-
import { n as getDefaultInputComponentType } from "./dynamicInputs-
|
|
3
|
+
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
4
|
+
import { n as getDefaultInputComponentType } from "./dynamicInputs-0GjoOaz5.js";
|
|
6
5
|
import { t as InputItem } from "./InputItem-BmdkOG5-.js";
|
|
7
6
|
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
9
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { z } from "zod";
|
|
10
10
|
import { useForm, useStore } from "@tanstack/react-form";
|
|
11
11
|
//#region src/components/inputs/Inputs/Form.tsx
|
|
12
12
|
const createFieldComponent = (field, schemaKeyType, form) => {
|
|
@@ -17,7 +17,7 @@ const createFieldComponent = (field, schemaKeyType, form) => {
|
|
|
17
17
|
label,
|
|
18
18
|
placeholder,
|
|
19
19
|
props: {
|
|
20
|
-
...ZodUtils.unwrapZodType(schemaKeyType) instanceof ZodArray ? { selectionMode: "multiple" } : {},
|
|
20
|
+
...ZodUtils.unwrapZodType(schemaKeyType) instanceof z.ZodArray ? { selectionMode: "multiple" } : {},
|
|
21
21
|
...inputProps
|
|
22
22
|
}
|
|
23
23
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
//#region src/hooks/useLocalStorage.d.ts
|
|
3
3
|
interface IProps<ZOutput, ZInput> {
|
|
4
4
|
key: string;
|
|
5
|
-
schema: ZodType<ZOutput, ZInput>;
|
|
5
|
+
schema: z.ZodType<ZOutput, ZInput>;
|
|
6
6
|
}
|
|
7
7
|
declare const useLocalStorage: <ZOutput, ZInput>({ key, schema }: IProps<ZOutput, ZInput>) => {
|
|
8
8
|
value: ZOutput | null;
|