@povio/ui 3.4.0-rc.45 → 3.4.0-rc.46
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-UtY7wEp-.d.ts → Accordion-Ba1AN8Oh.d.ts} +1 -2
- package/dist/{ActionModal-CzM2hcr0.d.ts → ActionModal-Cr1duuOL.d.ts} +1 -1
- package/dist/{Autocomplete-B9GmXJF4.d.ts → Autocomplete-DP8yKVLd.d.ts} +3 -4
- package/dist/{Breadcrumbs-BLBMJpe1.d.ts → Breadcrumbs-DrBp4vnI.d.ts} +2 -3
- package/dist/{Button-DZZporg_.d.ts → Button-DIy4SCYi.d.ts} +8 -8
- package/dist/{Checkbox-JJwUwUxc.d.ts → Checkbox-BEONSfOL.d.ts} +7 -7
- package/dist/{CheckboxGroup-Cw-SKIqN.d.ts → CheckboxGroup-DYdyX_0H.d.ts} +8 -8
- package/dist/{DatePicker-DAd7ncHf.d.ts → DatePicker-DSa6RE1Z.d.ts} +5 -5
- package/dist/{DatePickerInput-CusTFCKQ.d.ts → DatePickerInput-Cgf12rqY.d.ts} +3 -3
- package/dist/{DateRangePicker-CMbIzR3m.d.ts → DateRangePicker-DduITEx6.d.ts} +10 -10
- package/dist/{DateTimePicker-Dc6_5X1V.d.ts → DateTimePicker-tN-z-tVd.d.ts} +6 -6
- package/dist/{FileUpload-B7gn4UwN.d.ts → FileUpload-vWf9nvu_.d.ts} +2 -2
- package/dist/{FileUploadContainer-C4PRM8Io.d.ts → FileUploadContainer-DQp3ma_5.d.ts} +1 -1
- package/dist/{Form-CQRpe7ZJ.d.ts → Form-ClkPByHS.d.ts} +2 -2
- package/dist/{FormField-BuKYUy28.d.ts → FormField-H4QV55fT.d.ts} +2 -2
- package/dist/{IconButton-Drlnq7ik.d.ts → IconButton-DnEa5FjJ.d.ts} +2 -2
- package/dist/{InlineIconButton-C7_CmWFj.d.ts → InlineIconButton-C1ay6KJI.d.ts} +2 -3
- package/dist/{InputContent-DguS6x2Q.d.ts → InputContent-DCqetjPw.d.ts} +2 -2
- package/dist/{InputUpload-BZqamXus.d.ts → InputUpload-toP6to1k.d.ts} +4 -4
- package/dist/{Inputs-NL0LZbhc.d.ts → Inputs-DnyhKDWY.d.ts} +2 -2
- package/dist/{Link-D85-7S3h.d.ts → Link-DLX0WJRh.d.ts} +8 -6
- package/dist/{Menu-DzTYbIHz.d.ts → Menu-BM9gC3Or.d.ts} +2 -2
- package/dist/{MenuItem-DVFyNRhi.d.ts → MenuItem-Cw_-egy4.d.ts} +1 -1
- package/dist/{Modal-4GP9tQLf.d.ts → Modal--xD51Y24.d.ts} +2 -2
- package/dist/{NumberInput-DjuZmkzv.d.ts → NumberInput-Er4_JOdF.d.ts} +5 -5
- package/dist/{NumberRangeInput-DKVN5j9j.d.ts → NumberRangeInput-Docbid25.d.ts} +4 -4
- package/dist/{Pagination-fLbLp_Ro.d.ts → Pagination-oaAVGqb6.d.ts} +1 -1
- package/dist/{PaginationList-DKYcaO7E.d.ts → PaginationList-WMr1TrNu.d.ts} +1 -1
- package/dist/{PasswordInput-TIBbZOFu.d.ts → PasswordInput-CMuecbth.d.ts} +3 -3
- package/dist/{Pill-BuC3w3xn.d.ts → Pill-Bhp_PzWU.d.ts} +1 -1
- package/dist/{PillButton-JjV_kJ6L.d.ts → PillButton-CENJX_j1.d.ts} +1 -1
- package/dist/{QuerySelect--pihqb-N.d.ts → QuerySelect-spwFI_4I.d.ts} +4 -5
- package/dist/{RadioGroup-Bp77H9AM.d.ts → RadioGroup-DMke8FAY.d.ts} +8 -8
- package/dist/{ResponsivePopover-C76oaVmY.d.ts → ResponsivePopover-C7TatLOZ.d.ts} +1 -1
- package/dist/Segment-Cnmq-yRu.d.ts +7 -0
- package/dist/{Select-ChzbiDjh.d.ts → Select-DKNYrAih.d.ts} +3 -4
- package/dist/{SelectBase-DKJuFnvX.d.ts → SelectBase-BqiKBIUQ.d.ts} +5 -5
- package/dist/{Slider-BmoZiiSt.d.ts → Slider-BSr-DceL.d.ts} +8 -8
- package/dist/{SplitButton-BEYV4IPB.d.ts → SplitButton-Cr_TZk_j.d.ts} +3 -3
- package/dist/{Tag-BfmQ9BIV.d.ts → Tag-Da5X5cTK.d.ts} +1 -1
- package/dist/{TextArea-CbZ9kNwo.d.ts → TextArea-DTnFqwbo.d.ts} +8 -8
- package/dist/{TextButton-BZxhaNnh.d.ts → TextButton-CEueS1ax.d.ts} +3 -3
- package/dist/{TextEditor-KzRofqtx.d.ts → TextEditor-CDgUmfAI.d.ts} +3 -3
- package/dist/{TextInput-ChVYCxjg.d.ts → TextInput-CIR7FMvy.d.ts} +5 -5
- package/dist/{TimePicker-CMhURRER.d.ts → TimePicker-DzEDojxz.d.ts} +4 -4
- package/dist/{Toggle-pQ0-MbwL.d.ts → Toggle-BTyx3bF-.d.ts} +3 -3
- package/dist/ToggleButton-CWCpemW4.d.ts +12 -0
- package/dist/{Tooltip-BxixKjWm.d.ts → Tooltip-DuSQBQG8.d.ts} +4 -4
- package/dist/{autocomplete-BY74KiVw.d.ts → autocomplete-_Z_vjt1R.d.ts} +3 -4
- package/dist/button-bDCNbu2s.d.ts +2 -0
- package/dist/{checkbox-DLczwKKs.d.ts → checkbox-DFNzE8SC.d.ts} +1 -1
- package/dist/{checkbox-group-DT7hMwsc.d.ts → checkbox-group-C9ZNl3az.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 +1 -1
- 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-select.d.ts +1 -1
- 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/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/ui-config.d.ts +2 -2
- package/dist/{confirmation.context-CuufQTQR.d.ts → confirmation.context-CmbxKmXo.d.ts} +1 -1
- package/dist/{date-picker-CuNJV9nJ.d.ts → date-picker-D3U7KFrt.d.ts} +1 -1
- package/dist/{date-range-picker-CJOhtloN.d.ts → date-range-picker-D5SU50_L.d.ts} +1 -1
- package/dist/{date-time-picker-MIDzdeQN.d.ts → date-time-picker-Ce4YSseQ.d.ts} +1 -1
- package/dist/{dynamicInputs-2kB0x8BT.d.ts → dynamicInputs-BeAeCoCp.d.ts} +82 -83
- package/dist/{file-upload-C0kwtd3Z.d.ts → file-upload-DkyiGZ7E.d.ts} +2 -2
- package/dist/{fileUpload.types-DFg9wCbc.d.ts → fileUpload.types-BDhN2rsb.d.ts} +6 -6
- package/dist/{form.binding-Cu03pQ8Y.d.ts → form.binding-K3vP-Nhi.d.ts} +3 -3
- package/dist/{form.types-qEwMTXTZ.d.ts → form.types-BXiBJ8-5.d.ts} +1 -1
- package/dist/icons.d.ts +2 -2
- package/dist/index.d.ts +70 -71
- package/dist/index.js +1 -1
- package/dist/{input-upload-CFcsHAOE.d.ts → input-upload-Dem5wN3q.d.ts} +1 -1
- package/dist/{link.context-BUxUXeo6.d.ts → link.context-BoEOZqJY.d.ts} +1 -1
- package/dist/{number-input-DhLfHuVP.d.ts → number-input-BqozX92g.d.ts} +1 -1
- package/dist/{number-range-input-CLsMdwqJ.d.ts → number-range-input-D7oH1mFY.d.ts} +1 -1
- package/dist/{password-input--nSBPzos.d.ts → password-input-C-vVqZOQ.d.ts} +1 -1
- package/dist/{query-autocomplete-vHRKodn0.d.ts → query-autocomplete-BAAoA4cn.d.ts} +2 -2
- package/dist/{query-select-CvoVhXu1.d.ts → query-select-CC4UIjSF.d.ts} +3 -4
- package/dist/{queryAutocomplete.types-Cn4fe0OX.d.ts → queryAutocomplete.types-B6mZJnhq.d.ts} +4 -4
- package/dist/{radio-group-rmH66jpI.d.ts → radio-group-9Nn3LIbn.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/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/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 +70 -71
- package/dist/rhf.js +1 -1
- package/dist/{segment-e0jd1JbP.d.ts → segment-DnRosWxP.d.ts} +2 -3
- package/dist/{segment.types-DUstTZeA.d.ts → segment.types-11U4nbX6.d.ts} +3 -4
- package/dist/{select-Bvt1d_ly.d.ts → select-B8ei3QXS.d.ts} +3 -4
- package/dist/{slider-CRnAZyb_.d.ts → slider-Vfx_Q9t3.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/input-upload.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- 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 -1
- 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 +56 -56
- package/dist/tanstack.js +1 -1
- package/dist/{text-area-KsaEQpPz.d.ts → text-area-00UEdcjI.d.ts} +1 -1
- package/dist/{text-editor-CYU0teJy.d.ts → text-editor-n_MOxVhe.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/{text-input-dZeNDTtP.d.ts → text-input-C0JhuyKl.d.ts} +1 -1
- package/dist/{time-picker-CcHlAJUk.d.ts → time-picker-Stm-htK8.d.ts} +1 -1
- package/dist/{toggle-BGOUUhAG.d.ts → toggle-BkjWTQJR.d.ts} +1 -1
- package/dist/{uiConfig.context-Bjb9TQ6Y.d.ts → uiConfig.context-D9Aig1NJ.d.ts} +1 -1
- package/dist/{useTableColumnConfig-D2H_RUmX.js → useTableColumnConfig-BGfALpxU.js} +5 -5
- package/dist/{useTableNav-aDO5L4da.d.ts → useTableNav-DUNcrp60.d.ts} +2 -2
- package/dist/useToast-COxVxlxx.d.ts +16 -0
- package/package.json +2 -5
- package/dist/Segment-AtakFKus.d.ts +0 -8
- package/dist/ToggleButton-DRTGhnjR.d.ts +0 -12
- package/dist/button-COs7mrbm.d.ts +0 -1
- package/dist/index-B8r_kiw4.d.ts +0 -193
- package/dist/index-CXUySbXH.d.ts +0 -378
- package/dist/lucide-react-BJRvqSeV.d.ts +0 -23
- package/dist/types-CaqW-yY5.d.ts +0 -816
- package/dist/types-Dugk_Mie.d.ts +0 -581
- package/dist/useToast-q70ayd29.d.ts +0 -16
package/dist/types-Dugk_Mie.d.ts
DELETED
|
@@ -1,581 +0,0 @@
|
|
|
1
|
-
import { _ as AriaLabelingProps, a as PressEvents$1, b as FocusableDOMProps, c as DropEnterEvent, d as DropMoveEvent, f as DropOperation, g as ValidationState, h as ValidationResult, l as DropEvent, o as DragTypes, r as FocusableProps, s as DropActivateEvent, t as RefObject$1, u as DropExitEvent, x as FocusableElement } from "./index-CXUySbXH.js";
|
|
2
|
-
import $HgANd$react, { AnchorHTMLAttributes, AriaAttributes, ButtonHTMLAttributes, DOMAttributes, Dispatch, EffectCallback, ElementType, HTMLAttributes, InputHTMLAttributes, JSX, JSXElementConstructor, LabelHTMLAttributes, MouseEvent, ReactElement, ReactNode, Ref, RefObject } from "react";
|
|
3
|
-
import { DateFormatter } from "@internationalized/date";
|
|
4
|
-
import { HoverEvents } from "@react-aria/interactions";
|
|
5
|
-
import "@react-aria/label";
|
|
6
|
-
import "@react-aria/textfield";
|
|
7
|
-
import "@react-aria/calendar";
|
|
8
|
-
import "@react-stately/datepicker";
|
|
9
|
-
import "@react-aria/breadcrumbs";
|
|
10
|
-
import { AriaCheckboxGroupProps, AriaCheckboxProps } from "@react-types/checkbox";
|
|
11
|
-
import { FormValidationState } from "@react-stately/form";
|
|
12
|
-
import "@react-aria/color";
|
|
13
|
-
import "@react-aria/combobox";
|
|
14
|
-
import { AriaTimeFieldProps, DateValue as DateValue$1, TimeValue } from "@react-types/datepicker";
|
|
15
|
-
import { AriaDialogProps } from "@react-types/dialog";
|
|
16
|
-
import "@react-types/calendar";
|
|
17
|
-
import "@react-aria/disclosure";
|
|
18
|
-
import "@react-stately/dnd";
|
|
19
|
-
import "@react-stately/utils";
|
|
20
|
-
import "@internationalized/message";
|
|
21
|
-
import "@internationalized/string";
|
|
22
|
-
import "@internationalized/number";
|
|
23
|
-
import "@react-aria/gridlist";
|
|
24
|
-
import "@react-aria/landmark";
|
|
25
|
-
import { AriaLinkProps } from "@react-types/link";
|
|
26
|
-
import "@react-aria/listbox";
|
|
27
|
-
import "@react-aria/menu";
|
|
28
|
-
import "@react-aria/meter";
|
|
29
|
-
import { AriaNumberFieldProps } from "@react-types/numberfield";
|
|
30
|
-
import { OverlayTriggerProps, Placement, PlacementAxis, PositionProps, PositionProps as PositionProps$1 } from "@react-types/overlays";
|
|
31
|
-
import "@react-aria/progress";
|
|
32
|
-
import { AriaRadioGroupProps } from "@react-types/radio";
|
|
33
|
-
import "@react-aria/searchfield";
|
|
34
|
-
import "@react-aria/select";
|
|
35
|
-
import "@react-aria/selection";
|
|
36
|
-
import "@react-aria/separator";
|
|
37
|
-
import "@react-aria/ssr";
|
|
38
|
-
import { AriaSliderProps } from "@react-types/slider";
|
|
39
|
-
import { AriaSwitchProps } from "@react-types/switch";
|
|
40
|
-
import "@react-aria/table";
|
|
41
|
-
import "@react-aria/tabs";
|
|
42
|
-
import "@react-aria/tag";
|
|
43
|
-
import "@react-aria/toast";
|
|
44
|
-
import "@react-aria/tooltip";
|
|
45
|
-
import "@react-aria/tree";
|
|
46
|
-
import "@react-aria/visually-hidden";
|
|
47
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/orientation.d.ts
|
|
48
|
-
/*
|
|
49
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
50
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
51
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
52
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
53
|
-
*
|
|
54
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
55
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
56
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
57
|
-
* governing permissions and limitations under the License.
|
|
58
|
-
*/
|
|
59
|
-
type Orientation = 'horizontal' | 'vertical';
|
|
60
|
-
//#endregion
|
|
61
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/key.d.ts
|
|
62
|
-
/*
|
|
63
|
-
* Copyright 2023 Adobe. All rights reserved.
|
|
64
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
65
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
66
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
67
|
-
*
|
|
68
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
69
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
70
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
71
|
-
* governing permissions and limitations under the License.
|
|
72
|
-
*/
|
|
73
|
-
type Key = string | number;
|
|
74
|
-
//#endregion
|
|
75
|
-
//#region ../../node_modules/.bun/@react-types+button@3.15.0+83d5fd7b249dbeef/node_modules/@react-types/button/src/index.d.ts
|
|
76
|
-
interface ButtonProps extends PressEvents$1, FocusableProps {
|
|
77
|
-
/** Whether the button is disabled. */
|
|
78
|
-
isDisabled?: boolean;
|
|
79
|
-
/** The content to display in the button. */
|
|
80
|
-
children?: ReactNode;
|
|
81
|
-
}
|
|
82
|
-
interface ToggleButtonProps extends ButtonProps {
|
|
83
|
-
/** Whether the element should be selected (controlled). */
|
|
84
|
-
isSelected?: boolean;
|
|
85
|
-
/** Whether the element should be selected (uncontrolled). */
|
|
86
|
-
defaultSelected?: boolean;
|
|
87
|
-
/** Handler that is called when the element's selection state changes. */
|
|
88
|
-
onChange?: (isSelected: boolean) => void;
|
|
89
|
-
}
|
|
90
|
-
interface AriaButtonElementTypeProps<T extends ElementType = 'button'> {
|
|
91
|
-
/**
|
|
92
|
-
* The HTML element or React element used to render the button, e.g. 'div', 'a', or `RouterLink`.
|
|
93
|
-
* @default 'button'
|
|
94
|
-
*/
|
|
95
|
-
elementType?: T | JSXElementConstructor<any>;
|
|
96
|
-
}
|
|
97
|
-
interface LinkButtonProps<T extends ElementType = 'button'> extends AriaButtonElementTypeProps<T> {
|
|
98
|
-
/** A URL to link to if elementType="a". */
|
|
99
|
-
href?: string;
|
|
100
|
-
/** The target window for the link. */
|
|
101
|
-
target?: string;
|
|
102
|
-
/** The relationship between the linked resource and the current page. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel). */
|
|
103
|
-
rel?: string;
|
|
104
|
-
}
|
|
105
|
-
interface AriaBaseButtonProps extends FocusableDOMProps, AriaLabelingProps {
|
|
106
|
-
/** Indicates whether the element is disabled to users of assistive technology. */
|
|
107
|
-
'aria-disabled'?: boolean | 'true' | 'false';
|
|
108
|
-
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
109
|
-
'aria-expanded'?: boolean | 'true' | 'false';
|
|
110
|
-
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
111
|
-
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | 'true' | 'false';
|
|
112
|
-
/** Identifies the element (or elements) whose contents or presence are controlled by the current element. */
|
|
113
|
-
'aria-controls'?: string;
|
|
114
|
-
/** Indicates the current "pressed" state of toggle buttons. */
|
|
115
|
-
'aria-pressed'?: boolean | 'true' | 'false' | 'mixed';
|
|
116
|
-
/** Indicates whether this element represents the current item within a container or set of related elements. */
|
|
117
|
-
'aria-current'?: boolean | 'true' | 'false' | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
118
|
-
/**
|
|
119
|
-
* The behavior of the button when used in an HTML form.
|
|
120
|
-
* @default 'button'
|
|
121
|
-
*/
|
|
122
|
-
type?: 'button' | 'submit' | 'reset';
|
|
123
|
-
/**
|
|
124
|
-
* Whether to prevent focus from moving to the button when pressing it.
|
|
125
|
-
*
|
|
126
|
-
* Caution, this can make the button inaccessible and should only be used when alternative keyboard interaction is provided,
|
|
127
|
-
* such as ComboBox's MenuTrigger or a NumberField's increment/decrement control.
|
|
128
|
-
*/
|
|
129
|
-
preventFocusOnPress?: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* The `<form>` element to associate the button with.
|
|
132
|
-
* The value of this attribute must be the id of a `<form>` in the same document.
|
|
133
|
-
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#form).
|
|
134
|
-
*/
|
|
135
|
-
form?: string;
|
|
136
|
-
/**
|
|
137
|
-
* The URL that processes the information submitted by the button.
|
|
138
|
-
* Overrides the action attribute of the button's form owner.
|
|
139
|
-
*/
|
|
140
|
-
formAction?: ButtonHTMLAttributes<HTMLButtonElement>['formAction'];
|
|
141
|
-
/** Indicates how to encode the form data that is submitted. */
|
|
142
|
-
formEncType?: string;
|
|
143
|
-
/** Indicates the HTTP method used to submit the form. */
|
|
144
|
-
formMethod?: string;
|
|
145
|
-
/** Indicates that the form is not to be validated when it is submitted. */
|
|
146
|
-
formNoValidate?: boolean;
|
|
147
|
-
/** Overrides the target attribute of the button's form owner. */
|
|
148
|
-
formTarget?: string;
|
|
149
|
-
/** Submitted as a pair with the button's value as part of the form data. */
|
|
150
|
-
name?: string;
|
|
151
|
-
/** The value associated with the button's name when it's submitted with the form data. */
|
|
152
|
-
value?: string;
|
|
153
|
-
}
|
|
154
|
-
interface AriaButtonProps<T extends ElementType = 'button'> extends ButtonProps, LinkButtonProps<T>, AriaBaseButtonProps {}
|
|
155
|
-
interface AriaToggleButtonProps<T extends ElementType = 'button'> extends ToggleButtonProps, Omit<AriaBaseButtonProps, 'aria-current' | 'form' | 'formAction' | 'formEncType' | 'formMethod' | 'formNoValidate' | 'formTarget' | 'name' | 'value' | 'type'>, AriaButtonElementTypeProps<T> {}
|
|
156
|
-
//#endregion
|
|
157
|
-
//#region ../../node_modules/.bun/@react-stately+toggle@3.9.4+83d5fd7b249dbeef/node_modules/@react-stately/toggle/dist/types.d.ts
|
|
158
|
-
interface ToggleState {
|
|
159
|
-
/** Whether the toggle is selected. */
|
|
160
|
-
readonly isSelected: boolean;
|
|
161
|
-
/** Whether the toggle is selected by default. */
|
|
162
|
-
readonly defaultSelected: boolean;
|
|
163
|
-
/** Updates selection state. */
|
|
164
|
-
setSelected(isSelected: boolean): void;
|
|
165
|
-
/** Toggle the selection state. */
|
|
166
|
-
toggle(): void;
|
|
167
|
-
}
|
|
168
|
-
interface ToggleGroupProps {
|
|
169
|
-
/**
|
|
170
|
-
* Whether single or multiple selection is enabled.
|
|
171
|
-
* @default 'single'
|
|
172
|
-
*/
|
|
173
|
-
selectionMode?: 'single' | 'multiple';
|
|
174
|
-
/** Whether the collection allows empty selection. */
|
|
175
|
-
disallowEmptySelection?: boolean;
|
|
176
|
-
/** The currently selected keys in the collection (controlled). */
|
|
177
|
-
selectedKeys?: Iterable<Key>;
|
|
178
|
-
/** The initial selected keys in the collection (uncontrolled). */
|
|
179
|
-
defaultSelectedKeys?: Iterable<Key>;
|
|
180
|
-
/** Handler that is called when the selection changes. */
|
|
181
|
-
onSelectionChange?: (keys: Set<Key>) => void;
|
|
182
|
-
/** Whether all items are disabled. */
|
|
183
|
-
isDisabled?: boolean;
|
|
184
|
-
}
|
|
185
|
-
interface ToggleGroupState {
|
|
186
|
-
/** Whether single or multiple selection is enabled. */
|
|
187
|
-
readonly selectionMode: 'single' | 'multiple';
|
|
188
|
-
/** Whether all items are disabled. */
|
|
189
|
-
readonly isDisabled: boolean;
|
|
190
|
-
/** A set of keys for items that are selected. */
|
|
191
|
-
readonly selectedKeys: Set<Key>;
|
|
192
|
-
/** Toggles the selected state for an item by its key. */
|
|
193
|
-
toggleKey(key: Key): void;
|
|
194
|
-
/** Sets whether the given key is selected. */
|
|
195
|
-
setSelected(key: Key, isSelected: boolean): void;
|
|
196
|
-
/** Replaces the set of selected keys. */
|
|
197
|
-
setSelectedKeys(keys: Set<Key>): void;
|
|
198
|
-
}
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region ../../node_modules/.bun/@react-aria+button@3.14.4+67f6792bdf102c28/node_modules/@react-aria/button/dist/types.d.ts
|
|
201
|
-
interface AriaToggleButtonGroupProps extends ToggleGroupProps, AriaLabelingProps {
|
|
202
|
-
/**
|
|
203
|
-
* The orientation of the the toggle button group.
|
|
204
|
-
* @default 'horizontal'
|
|
205
|
-
*/
|
|
206
|
-
orientation?: Orientation;
|
|
207
|
-
}
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region ../../node_modules/.bun/@react-stately+checkbox@3.7.4+83d5fd7b249dbeef/node_modules/@react-stately/checkbox/dist/types.d.ts
|
|
210
|
-
interface CheckboxGroupState extends FormValidationState {
|
|
211
|
-
/** Current selected values. */
|
|
212
|
-
readonly value: readonly string[];
|
|
213
|
-
/** Default selected values. */
|
|
214
|
-
readonly defaultValue: readonly string[];
|
|
215
|
-
/** Whether the checkbox group is disabled. */
|
|
216
|
-
readonly isDisabled: boolean;
|
|
217
|
-
/** Whether the checkbox group is read only. */
|
|
218
|
-
readonly isReadOnly: boolean;
|
|
219
|
-
/**
|
|
220
|
-
* The current validation state of the checkbox group.
|
|
221
|
-
* @deprecated Use `isInvalid` instead.
|
|
222
|
-
*/
|
|
223
|
-
readonly validationState: ValidationState | null;
|
|
224
|
-
/** Whether the checkbox group is invalid. */
|
|
225
|
-
readonly isInvalid: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Whether the checkboxes in the group are required.
|
|
228
|
-
* This changes to false once at least one item is selected.
|
|
229
|
-
*/
|
|
230
|
-
readonly isRequired: boolean;
|
|
231
|
-
/** Returns whether the given value is selected. */
|
|
232
|
-
isSelected(value: string): boolean;
|
|
233
|
-
/** Sets the selected values. */
|
|
234
|
-
setValue(value: string[]): void;
|
|
235
|
-
/** Adds a value to the set of selected values. */
|
|
236
|
-
addValue(value: string): void;
|
|
237
|
-
/** Removes a value from the set of selected values. */
|
|
238
|
-
removeValue(value: string): void;
|
|
239
|
-
/** Toggles a value in the set of selected values. */
|
|
240
|
-
toggleValue(value: string): void;
|
|
241
|
-
/** Sets whether one of the checkboxes is invalid. */
|
|
242
|
-
setInvalid(value: string, validation: ValidationResult): void;
|
|
243
|
-
}
|
|
244
|
-
//#endregion
|
|
245
|
-
//#region ../../node_modules/.bun/@react-aria+dnd@3.11.5+67f6792bdf102c28/node_modules/@react-aria/dnd/dist/types.d.ts
|
|
246
|
-
interface DropOptions {
|
|
247
|
-
/** A ref for the droppable element. */
|
|
248
|
-
ref: RefObject$1<FocusableElement | null>;
|
|
249
|
-
/**
|
|
250
|
-
* A function returning the drop operation to be performed when items matching the given types are dropped
|
|
251
|
-
* on the drop target.
|
|
252
|
-
*/
|
|
253
|
-
getDropOperation?: (types: DragTypes, allowedOperations: DropOperation[]) => DropOperation;
|
|
254
|
-
/** A function that returns the drop operation for a specific point within the target. */
|
|
255
|
-
getDropOperationForPoint?: (types: DragTypes, allowedOperations: DropOperation[], x: number, y: number) => DropOperation;
|
|
256
|
-
/** Handler that is called when a valid drag enters the drop target. */
|
|
257
|
-
onDropEnter?: (e: DropEnterEvent) => void;
|
|
258
|
-
/** Handler that is called when a valid drag is moved within the drop target. */
|
|
259
|
-
onDropMove?: (e: DropMoveEvent) => void;
|
|
260
|
-
/**
|
|
261
|
-
* Handler that is called after a valid drag is held over the drop target for a period of time.
|
|
262
|
-
* This typically opens the item so that the user can drop within it.
|
|
263
|
-
*/
|
|
264
|
-
onDropActivate?: (e: DropActivateEvent) => void;
|
|
265
|
-
/** Handler that is called when a valid drag exits the drop target. */
|
|
266
|
-
onDropExit?: (e: DropExitEvent) => void;
|
|
267
|
-
/** Handler that is called when a valid drag is dropped on the drop target. */
|
|
268
|
-
onDrop?: (e: DropEvent) => void;
|
|
269
|
-
/**
|
|
270
|
-
* Whether the item has an explicit focusable drop affordance to initiate accessible drag and drop mode.
|
|
271
|
-
* If true, the dropProps will omit these event handlers, and they will be applied to dropButtonProps instead.
|
|
272
|
-
*/
|
|
273
|
-
hasDropButton?: boolean;
|
|
274
|
-
/**
|
|
275
|
-
* Whether the drop target is disabled. If true, the drop target will not accept any drops.
|
|
276
|
-
*/
|
|
277
|
-
isDisabled?: boolean;
|
|
278
|
-
}
|
|
279
|
-
//#endregion
|
|
280
|
-
//#region ../../node_modules/.bun/@react-aria+link@3.8.8+67f6792bdf102c28/node_modules/@react-aria/link/dist/types.d.ts
|
|
281
|
-
interface AriaLinkOptions extends AriaLinkProps {
|
|
282
|
-
/** Whether the link is disabled. */
|
|
283
|
-
isDisabled?: boolean;
|
|
284
|
-
/**
|
|
285
|
-
* The HTML element used to render the link, e.g. 'a', or 'span'.
|
|
286
|
-
* @default 'a'
|
|
287
|
-
*/
|
|
288
|
-
elementType?: string;
|
|
289
|
-
}
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region ../../node_modules/.bun/@react-stately+numberfield@3.10.4+83d5fd7b249dbeef/node_modules/@react-stately/numberfield/dist/types.d.ts
|
|
292
|
-
interface NumberFieldState extends FormValidationState {
|
|
293
|
-
/**
|
|
294
|
-
* The current text value of the input. Updated as the user types,
|
|
295
|
-
* and formatted according to `formatOptions` on blur.
|
|
296
|
-
*/
|
|
297
|
-
inputValue: string;
|
|
298
|
-
/**
|
|
299
|
-
* The currently parsed number value, or NaN if a valid number could not be parsed.
|
|
300
|
-
* Updated based on the `inputValue` as the user types.
|
|
301
|
-
*/
|
|
302
|
-
numberValue: number;
|
|
303
|
-
/** The default value of the input. */
|
|
304
|
-
defaultNumberValue: number;
|
|
305
|
-
/** The minimum value of the number field. */
|
|
306
|
-
minValue?: number;
|
|
307
|
-
/** The maximum value of the number field. */
|
|
308
|
-
maxValue?: number;
|
|
309
|
-
/** Whether the current value can be incremented according to the maximum value and step. */
|
|
310
|
-
canIncrement: boolean;
|
|
311
|
-
/** Whether the current value can be decremented according to the minimum value and step. */
|
|
312
|
-
canDecrement: boolean;
|
|
313
|
-
/**
|
|
314
|
-
* Validates a user input string according to the current locale and format options.
|
|
315
|
-
* Values can be partially entered, and may be valid even if they cannot currently be parsed to a number.
|
|
316
|
-
* Can be used to implement validation as a user types.
|
|
317
|
-
*/
|
|
318
|
-
validate(value: string): boolean;
|
|
319
|
-
/** Sets the current text value of the input. */
|
|
320
|
-
setInputValue(val: string): void;
|
|
321
|
-
/** Sets the number value. */
|
|
322
|
-
setNumberValue(val: number): void;
|
|
323
|
-
/**
|
|
324
|
-
* Commits the current input value. The value is parsed to a number, clamped according
|
|
325
|
-
* to the minimum and maximum values of the field, and snapped to the nearest step value.
|
|
326
|
-
* This will fire the `onChange` prop with the new value, and if uncontrolled, update the `numberValue`.
|
|
327
|
-
* Typically this is called when the field is blurred.
|
|
328
|
-
*/
|
|
329
|
-
commit(): void;
|
|
330
|
-
/** Increments the current input value to the next step boundary, and fires `onChange`. */
|
|
331
|
-
increment(): void;
|
|
332
|
-
/** Decrements the current input value to the next step boundary, and fires `onChange`. */
|
|
333
|
-
decrement(): void;
|
|
334
|
-
/** Sets the current value to the `maxValue` if any, and fires `onChange`. */
|
|
335
|
-
incrementToMax(): void;
|
|
336
|
-
/** Sets the current value to the `minValue` if any, and fires `onChange`. */
|
|
337
|
-
decrementToMin(): void;
|
|
338
|
-
}
|
|
339
|
-
//#endregion
|
|
340
|
-
//#region ../../node_modules/.bun/@react-aria+overlays@3.31.1+67f6792bdf102c28/node_modules/@react-aria/overlays/dist/types.d.ts
|
|
341
|
-
interface AriaPositionProps extends PositionProps {
|
|
342
|
-
/**
|
|
343
|
-
* Cross size of the overlay arrow in pixels.
|
|
344
|
-
* @default 0
|
|
345
|
-
*/
|
|
346
|
-
arrowSize?: number;
|
|
347
|
-
/**
|
|
348
|
-
* Element that that serves as the positioning boundary.
|
|
349
|
-
* @default document.body
|
|
350
|
-
*/
|
|
351
|
-
boundaryElement?: Element;
|
|
352
|
-
/**
|
|
353
|
-
* The ref for the element which the overlay positions itself with respect to.
|
|
354
|
-
*/
|
|
355
|
-
targetRef: RefObject$1<Element | null>;
|
|
356
|
-
/**
|
|
357
|
-
* The ref for the overlay element.
|
|
358
|
-
*/
|
|
359
|
-
overlayRef: RefObject$1<Element | null>;
|
|
360
|
-
/**
|
|
361
|
-
* The ref for the arrow element.
|
|
362
|
-
*/
|
|
363
|
-
arrowRef?: RefObject$1<Element | null>;
|
|
364
|
-
/**
|
|
365
|
-
* A ref for the scrollable region within the overlay.
|
|
366
|
-
* @default overlayRef
|
|
367
|
-
*/
|
|
368
|
-
scrollRef?: RefObject$1<Element | null>;
|
|
369
|
-
/**
|
|
370
|
-
* Whether the overlay should update its position automatically.
|
|
371
|
-
* @default true
|
|
372
|
-
*/
|
|
373
|
-
shouldUpdatePosition?: boolean;
|
|
374
|
-
/** Handler that is called when the overlay should close. */
|
|
375
|
-
onClose?: (() => void) | null;
|
|
376
|
-
/**
|
|
377
|
-
* The maxHeight specified for the overlay element.
|
|
378
|
-
* By default, it will take all space up to the current viewport height.
|
|
379
|
-
*/
|
|
380
|
-
maxHeight?: number;
|
|
381
|
-
/**
|
|
382
|
-
* The minimum distance the arrow's edge should be from the edge of the overlay element.
|
|
383
|
-
* @default 0
|
|
384
|
-
*/
|
|
385
|
-
arrowBoundaryOffset?: number;
|
|
386
|
-
}
|
|
387
|
-
interface AriaPopoverProps extends Omit<AriaPositionProps, 'isOpen' | 'onClose' | 'targetRef' | 'overlayRef'> {
|
|
388
|
-
/**
|
|
389
|
-
* The ref for the element which the popover positions itself with respect to.
|
|
390
|
-
*/
|
|
391
|
-
triggerRef: RefObject$1<Element | null>;
|
|
392
|
-
/**
|
|
393
|
-
* The ref for the popover element.
|
|
394
|
-
*/
|
|
395
|
-
popoverRef: RefObject$1<Element | null>;
|
|
396
|
-
/** A ref for the popover arrow element. */
|
|
397
|
-
arrowRef?: RefObject$1<Element | null>;
|
|
398
|
-
/**
|
|
399
|
-
* An optional ref for a group of popovers, e.g. submenus.
|
|
400
|
-
* When provided, this element is used to detect outside interactions
|
|
401
|
-
* and hiding elements from assistive technologies instead of the popoverRef.
|
|
402
|
-
*/
|
|
403
|
-
groupRef?: RefObject$1<Element | null>;
|
|
404
|
-
/**
|
|
405
|
-
* Whether the popover is non-modal, i.e. elements outside the popover may be
|
|
406
|
-
* interacted with by assistive technologies.
|
|
407
|
-
*
|
|
408
|
-
* Most popovers should not use this option as it may negatively impact the screen
|
|
409
|
-
* reader experience. Only use with components such as combobox, which are designed
|
|
410
|
-
* to handle this situation carefully.
|
|
411
|
-
*/
|
|
412
|
-
isNonModal?: boolean;
|
|
413
|
-
/**
|
|
414
|
-
* Whether pressing the escape key to close the popover should be disabled.
|
|
415
|
-
*
|
|
416
|
-
* Most popovers should not use this option. When set to true, an alternative
|
|
417
|
-
* way to close the popover with a keyboard must be provided.
|
|
418
|
-
*
|
|
419
|
-
* @default false
|
|
420
|
-
*/
|
|
421
|
-
isKeyboardDismissDisabled?: boolean;
|
|
422
|
-
/**
|
|
423
|
-
* When user interacts with the argument element outside of the popover ref,
|
|
424
|
-
* return true if onClose should be called. This gives you a chance to filter
|
|
425
|
-
* out interaction with elements that should not dismiss the popover.
|
|
426
|
-
* By default, onClose will always be called on interaction outside the popover ref.
|
|
427
|
-
*/
|
|
428
|
-
shouldCloseOnInteractOutside?: (element: Element) => boolean;
|
|
429
|
-
}
|
|
430
|
-
//#endregion
|
|
431
|
-
//#region ../../node_modules/.bun/@react-stately+radio@3.11.4+83d5fd7b249dbeef/node_modules/@react-stately/radio/dist/types.d.ts
|
|
432
|
-
interface RadioGroupState extends FormValidationState {
|
|
433
|
-
/**
|
|
434
|
-
* The name for the group, used for native form submission.
|
|
435
|
-
* @deprecated
|
|
436
|
-
* @private
|
|
437
|
-
*/
|
|
438
|
-
readonly name: string;
|
|
439
|
-
/** Whether the radio group is disabled. */
|
|
440
|
-
readonly isDisabled: boolean;
|
|
441
|
-
/** Whether the radio group is read only. */
|
|
442
|
-
readonly isReadOnly: boolean;
|
|
443
|
-
/** Whether the radio group is required. */
|
|
444
|
-
readonly isRequired: boolean;
|
|
445
|
-
/**
|
|
446
|
-
* Whether the radio group is valid or invalid.
|
|
447
|
-
* @deprecated Use `isInvalid` instead.
|
|
448
|
-
*/
|
|
449
|
-
readonly validationState: ValidationState | null;
|
|
450
|
-
/** Whether the radio group is invalid. */
|
|
451
|
-
readonly isInvalid: boolean;
|
|
452
|
-
/** The currently selected value. */
|
|
453
|
-
readonly selectedValue: string | null;
|
|
454
|
-
/** The default selected value. */
|
|
455
|
-
readonly defaultSelectedValue: string | null;
|
|
456
|
-
/** Sets the selected value. */
|
|
457
|
-
setSelectedValue(value: string | null): void;
|
|
458
|
-
/** The value of the last focused radio. */
|
|
459
|
-
readonly lastFocusedValue: string | null;
|
|
460
|
-
/** Sets the last focused value. */
|
|
461
|
-
setLastFocusedValue(value: string | null): void;
|
|
462
|
-
}
|
|
463
|
-
//#endregion
|
|
464
|
-
//#region ../../node_modules/.bun/@react-stately+slider@3.7.4+83d5fd7b249dbeef/node_modules/@react-stately/slider/dist/types.d.ts
|
|
465
|
-
interface SliderState {
|
|
466
|
-
/**
|
|
467
|
-
* Values managed by the slider by thumb index.
|
|
468
|
-
*/
|
|
469
|
-
readonly values: number[];
|
|
470
|
-
/**
|
|
471
|
-
* The default values for each thumb.
|
|
472
|
-
*/
|
|
473
|
-
readonly defaultValues: number[];
|
|
474
|
-
/**
|
|
475
|
-
* Get the value for the specified thumb.
|
|
476
|
-
* @param index
|
|
477
|
-
*/
|
|
478
|
-
getThumbValue(index: number): number;
|
|
479
|
-
/**
|
|
480
|
-
* Sets the value for the specified thumb.
|
|
481
|
-
* The actual value set will be clamped and rounded according to min/max/step.
|
|
482
|
-
* @param index
|
|
483
|
-
* @param value
|
|
484
|
-
*/
|
|
485
|
-
setThumbValue(index: number, value: number): void;
|
|
486
|
-
/**
|
|
487
|
-
* Sets value for the specified thumb by percent offset (between 0 and 1).
|
|
488
|
-
* @param index
|
|
489
|
-
* @param percent
|
|
490
|
-
*/
|
|
491
|
-
setThumbPercent(index: number, percent: number): void;
|
|
492
|
-
/**
|
|
493
|
-
* Whether the specific thumb is being dragged.
|
|
494
|
-
* @param index
|
|
495
|
-
*/
|
|
496
|
-
isThumbDragging(index: number): boolean;
|
|
497
|
-
/**
|
|
498
|
-
* Set is dragging on the specified thumb.
|
|
499
|
-
* @param index
|
|
500
|
-
* @param dragging
|
|
501
|
-
*/
|
|
502
|
-
setThumbDragging(index: number, dragging: boolean): void;
|
|
503
|
-
/**
|
|
504
|
-
* Currently-focused thumb index.
|
|
505
|
-
*/
|
|
506
|
-
readonly focusedThumb: number | undefined;
|
|
507
|
-
/**
|
|
508
|
-
* Set focused true on specified thumb. This will remove focus from
|
|
509
|
-
* any thumb that had it before.
|
|
510
|
-
* @param index
|
|
511
|
-
*/
|
|
512
|
-
setFocusedThumb(index: number | undefined): void;
|
|
513
|
-
/**
|
|
514
|
-
* Returns the specified thumb's value as a percentage from 0 to 1.
|
|
515
|
-
* @param index
|
|
516
|
-
*/
|
|
517
|
-
getThumbPercent(index: number): number;
|
|
518
|
-
/**
|
|
519
|
-
* Returns the value as a percent between the min and max of the slider.
|
|
520
|
-
* @param index
|
|
521
|
-
*/
|
|
522
|
-
getValuePercent(value: number): number;
|
|
523
|
-
/**
|
|
524
|
-
* Returns the string label for the specified thumb's value, per props.formatOptions.
|
|
525
|
-
* @param index
|
|
526
|
-
*/
|
|
527
|
-
getThumbValueLabel(index: number): string;
|
|
528
|
-
/**
|
|
529
|
-
* Returns the string label for the value, per props.formatOptions.
|
|
530
|
-
* @param index
|
|
531
|
-
*/
|
|
532
|
-
getFormattedValue(value: number): string;
|
|
533
|
-
/**
|
|
534
|
-
* Returns the min allowed value for the specified thumb.
|
|
535
|
-
* @param index
|
|
536
|
-
*/
|
|
537
|
-
getThumbMinValue(index: number): number;
|
|
538
|
-
/**
|
|
539
|
-
* Returns the max allowed value for the specified thumb.
|
|
540
|
-
* @param index
|
|
541
|
-
*/
|
|
542
|
-
getThumbMaxValue(index: number): number;
|
|
543
|
-
/**
|
|
544
|
-
* Converts a percent along track (between 0 and 1) to the corresponding value.
|
|
545
|
-
* @param percent
|
|
546
|
-
*/
|
|
547
|
-
getPercentValue(percent: number): number;
|
|
548
|
-
/**
|
|
549
|
-
* Returns if the specified thumb is editable.
|
|
550
|
-
* @param index
|
|
551
|
-
*/
|
|
552
|
-
isThumbEditable(index: number): boolean;
|
|
553
|
-
/**
|
|
554
|
-
* Set the specified thumb's editable state.
|
|
555
|
-
* @param index
|
|
556
|
-
* @param editable
|
|
557
|
-
*/
|
|
558
|
-
setThumbEditable(index: number, editable: boolean): void;
|
|
559
|
-
/**
|
|
560
|
-
* Increments the value of the thumb by the step or page amount.
|
|
561
|
-
*/
|
|
562
|
-
incrementThumb(index: number, stepSize?: number): void;
|
|
563
|
-
/**
|
|
564
|
-
* Decrements the value of the thumb by the step or page amount.
|
|
565
|
-
*/
|
|
566
|
-
decrementThumb(index: number, stepSize?: number): void;
|
|
567
|
-
/**
|
|
568
|
-
* The step amount for the slider.
|
|
569
|
-
*/
|
|
570
|
-
readonly step: number;
|
|
571
|
-
/**
|
|
572
|
-
* The page size for the slider, used to do a bigger step.
|
|
573
|
-
*/
|
|
574
|
-
readonly pageSize: number;
|
|
575
|
-
/** The orientation of the slider. */
|
|
576
|
-
readonly orientation: Orientation;
|
|
577
|
-
/** Whether the slider is disabled. */
|
|
578
|
-
readonly isDisabled: boolean;
|
|
579
|
-
}
|
|
580
|
-
//#endregion
|
|
581
|
-
export { Orientation as A, CheckboxGroupState as C, AriaButtonProps as D, ToggleState as E, AriaToggleButtonProps as O, AriaCheckboxProps as S, ToggleGroupState as T, AriaDialogProps as _, AriaRadioGroupProps as a, TimeValue as b, AriaPositionProps as c, PositionProps$1 as d, OverlayTriggerProps as f, DropOptions as g, AriaLinkOptions as h, SliderState as i, Key as k, Placement as l, NumberFieldState as m, AriaSwitchProps as n, RadioGroupState as o, AriaNumberFieldProps as p, AriaSliderProps as r, AriaPopoverProps as s, HoverEvents as t, PlacementAxis as u, AriaTimeFieldProps as v, AriaToggleButtonGroupProps as w, AriaCheckboxGroupProps as x, DateValue$1 as y };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { n as ToastOptions$1, r as ToastPosition, t as Id } from "./index-B8r_kiw4.js";
|
|
2
|
-
import { r as ToastProps } from "./Toast-DL8_g0WV.js";
|
|
3
|
-
//#region src/components/status/Toast/useToast.d.ts
|
|
4
|
-
interface ToastParams extends Omit<ToastProps, "color"> {
|
|
5
|
-
position?: ToastPosition;
|
|
6
|
-
}
|
|
7
|
-
type ToastOptions = Omit<ToastOptions$1, "position" | "data">;
|
|
8
|
-
declare const useToast: () => {
|
|
9
|
-
successToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
10
|
-
errorToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
11
|
-
warningToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
12
|
-
neutralToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
13
|
-
closeToast: (id: Id) => void;
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { ToastParams as n, useToast as r, ToastOptions as t };
|