@proyecto-viviana/solid-stately 0.2.4 → 0.3.0
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/LICENSE +21 -0
- package/README.md +30 -283
- package/dist/autocomplete/createAutocompleteState.d.ts +3 -2
- package/dist/autocomplete/index.d.ts +1 -1
- package/dist/calendar/createCalendarState.d.ts +22 -7
- package/dist/calendar/createDateFieldState.d.ts +30 -7
- package/dist/calendar/createDatePickerState.d.ts +60 -0
- package/dist/calendar/createRangeCalendarState.d.ts +27 -8
- package/dist/calendar/createTimeFieldState.d.ts +34 -7
- package/dist/calendar/index.d.ts +7 -6
- package/dist/checkbox/createCheckboxGroupState.d.ts +12 -3
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/collections/ListCollection.d.ts +1 -1
- package/dist/collections/createListState.d.ts +8 -8
- package/dist/collections/createMenuState.d.ts +7 -7
- package/dist/collections/createSelectionState.d.ts +5 -5
- package/dist/collections/index.d.ts +5 -5
- package/dist/collections/types.d.ts +23 -12
- package/dist/color/Color.d.ts +1 -1
- package/dist/color/createColorAreaState.d.ts +4 -2
- package/dist/color/createColorFieldState.d.ts +38 -12
- package/dist/color/createColorSliderState.d.ts +9 -2
- package/dist/color/createColorWheelState.d.ts +13 -2
- package/dist/color/getColorChannels.d.ts +20 -0
- package/dist/color/index.d.ts +6 -6
- package/dist/color/types.d.ts +4 -4
- package/dist/combobox/createComboBoxState.d.ts +27 -13
- package/dist/combobox/index.d.ts +1 -1
- package/dist/data/createAsyncList.d.ts +111 -0
- package/dist/data/createListData.d.ts +65 -0
- package/dist/data/createTreeData.d.ts +65 -0
- package/dist/data/index.d.ts +3 -0
- package/dist/datepicker/index.d.ts +8 -0
- package/dist/disclosure/createDisclosureState.d.ts +2 -2
- package/dist/disclosure/index.d.ts +1 -1
- package/dist/dnd/createDragState.d.ts +2 -2
- package/dist/dnd/createDraggableCollectionState.d.ts +2 -2
- package/dist/dnd/createDropState.d.ts +2 -2
- package/dist/dnd/createDroppableCollectionState.d.ts +3 -3
- package/dist/dnd/index.d.ts +5 -5
- package/dist/dnd/types.d.ts +16 -16
- package/dist/form/createFormValidationState.d.ts +3 -3
- package/dist/form/index.d.ts +1 -1
- package/dist/grid/createGridState.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/types.d.ts +17 -11
- package/dist/index.d.ts +31 -25
- package/dist/index.js +7990 -6264
- package/dist/index.js.map +1 -7
- package/dist/menu/index.d.ts +8 -0
- package/dist/numberfield/createNumberFieldState.d.ts +2 -2
- package/dist/numberfield/index.d.ts +1 -1
- package/dist/overlays/createOverlayTriggerState.d.ts +2 -2
- package/dist/overlays/index.d.ts +1 -1
- package/dist/radio/createRadioGroupState.d.ts +13 -4
- package/dist/radio/index.d.ts +1 -1
- package/dist/searchfield/createSearchFieldState.d.ts +2 -2
- package/dist/searchfield/index.d.ts +2 -2
- package/dist/select/createSelectState.d.ts +20 -3
- package/dist/select/index.d.ts +1 -1
- package/dist/selection/index.d.ts +11 -0
- package/dist/slider/createSliderState.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/steplist/createStepListState.d.ts +48 -0
- package/dist/steplist/index.d.ts +1 -0
- package/dist/table/TableCollection.d.ts +3 -3
- package/dist/table/createTableColumnResizeState.d.ts +54 -0
- package/dist/table/createTableState.d.ts +2 -2
- package/dist/table/index.d.ts +5 -3
- package/dist/table/types.d.ts +10 -10
- package/dist/tabs/createTabListState.d.ts +5 -5
- package/dist/tabs/index.d.ts +1 -1
- package/dist/textfield/createTextFieldState.d.ts +2 -2
- package/dist/textfield/index.d.ts +1 -1
- package/dist/toast/createToastState.d.ts +15 -3
- package/dist/toast/index.d.ts +1 -1
- package/dist/toggle/createToggleGroupState.d.ts +45 -0
- package/dist/toggle/createToggleState.d.ts +2 -2
- package/dist/toggle/index.d.ts +2 -1
- package/dist/tooltip/createTooltipTriggerState.d.ts +2 -2
- package/dist/tooltip/index.d.ts +1 -1
- package/dist/tree/TreeCollection.d.ts +5 -4
- package/dist/tree/createTreeState.d.ts +2 -2
- package/dist/tree/index.d.ts +3 -3
- package/dist/tree/types.d.ts +19 -13
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/reactivity.d.ts +1 -1
- package/package.json +30 -30
- package/src/autocomplete/createAutocompleteState.d.ts +19 -17
- package/src/autocomplete/createAutocompleteState.ts +25 -32
- package/src/autocomplete/index.d.ts +6 -2
- package/src/autocomplete/index.ts +1 -1
- package/src/calendar/createCalendarState.d.ts +139 -117
- package/src/calendar/createCalendarState.ts +221 -74
- package/src/calendar/createDateFieldState.d.ts +130 -95
- package/src/calendar/createDateFieldState.ts +286 -151
- package/src/calendar/createDatePickerState.ts +347 -0
- package/src/calendar/createRangeCalendarState.d.ts +154 -129
- package/src/calendar/createRangeCalendarState.ts +293 -79
- package/src/calendar/createTimeFieldState.d.ts +81 -79
- package/src/calendar/createTimeFieldState.ts +187 -108
- package/src/calendar/index.d.ts +80 -7
- package/src/calendar/index.ts +21 -12
- package/src/checkbox/createCheckboxGroupState.d.ts +57 -55
- package/src/checkbox/createCheckboxGroupState.ts +57 -30
- package/src/checkbox/index.d.ts +6 -2
- package/src/checkbox/index.ts +1 -1
- package/src/collections/ListCollection.d.ts +25 -22
- package/src/collections/ListCollection.ts +152 -146
- package/src/collections/createListState.d.ts +73 -58
- package/src/collections/createListState.ts +267 -264
- package/src/collections/createMenuState.d.ts +36 -31
- package/src/collections/createMenuState.ts +112 -106
- package/src/collections/createSelectionState.d.ts +78 -65
- package/src/collections/createSelectionState.ts +340 -336
- package/src/collections/index.d.ts +38 -6
- package/src/collections/index.ts +41 -46
- package/src/collections/types.d.ts +101 -101
- package/src/collections/types.ts +181 -169
- package/src/color/Color.d.ts +20 -5
- package/src/color/Color.ts +1054 -951
- package/src/color/createColorAreaState.d.ts +67 -65
- package/src/color/createColorAreaState.ts +301 -293
- package/src/color/createColorFieldState.d.ts +46 -44
- package/src/color/createColorFieldState.ts +428 -292
- package/src/color/createColorSliderState.d.ts +58 -56
- package/src/color/createColorSliderState.ts +272 -241
- package/src/color/createColorWheelState.d.ts +42 -40
- package/src/color/createColorWheelState.ts +248 -211
- package/src/color/getColorChannels.ts +36 -0
- package/src/color/index.d.ts +36 -7
- package/src/color/index.ts +44 -47
- package/src/color/types.d.ts +68 -63
- package/src/color/types.ts +119 -127
- package/src/combobox/createComboBoxState.d.ts +107 -105
- package/src/combobox/createComboBoxState.ts +790 -703
- package/src/combobox/index.d.ts +10 -2
- package/src/combobox/index.ts +13 -13
- package/src/data/createAsyncList.ts +403 -0
- package/src/data/createListData.ts +298 -0
- package/src/data/createTreeData.ts +646 -0
- package/src/data/index.ts +25 -0
- package/src/datepicker/index.ts +32 -0
- package/src/disclosure/createDisclosureState.d.ts +47 -43
- package/src/disclosure/createDisclosureState.ts +9 -23
- package/src/disclosure/index.d.ts +10 -2
- package/src/disclosure/index.ts +1 -1
- package/src/dnd/createDragState.d.ts +51 -42
- package/src/dnd/createDragState.ts +151 -153
- package/src/dnd/createDraggableCollectionState.d.ts +52 -41
- package/src/dnd/createDraggableCollectionState.ts +158 -165
- package/src/dnd/createDropState.d.ts +64 -45
- package/src/dnd/createDropState.ts +202 -212
- package/src/dnd/createDroppableCollectionState.d.ts +88 -59
- package/src/dnd/createDroppableCollectionState.ts +354 -357
- package/src/dnd/index.d.ts +54 -6
- package/src/dnd/index.ts +63 -76
- package/src/dnd/types.d.ts +167 -156
- package/src/dnd/types.ts +316 -317
- package/src/form/createFormValidationState.d.ts +47 -45
- package/src/form/createFormValidationState.ts +356 -389
- package/src/form/index.d.ts +16 -2
- package/src/form/index.ts +15 -15
- package/src/grid/createGridState.d.ts +7 -4
- package/src/grid/createGridState.ts +44 -51
- package/src/grid/index.d.ts +3 -3
- package/src/grid/index.ts +2 -8
- package/src/grid/types.d.ts +136 -129
- package/src/grid/types.ts +24 -17
- package/src/index.d.ts +310 -26
- package/src/index.ts +87 -79
- package/src/menu/index.ts +17 -0
- package/src/numberfield/createNumberFieldState.d.ts +56 -54
- package/src/numberfield/createNumberFieldState.ts +422 -383
- package/src/numberfield/index.d.ts +6 -2
- package/src/numberfield/index.ts +5 -5
- package/src/overlays/createOverlayTriggerState.d.ts +22 -20
- package/src/overlays/createOverlayTriggerState.ts +66 -67
- package/src/overlays/index.d.ts +6 -2
- package/src/overlays/index.ts +5 -5
- package/src/radio/createRadioGroupState.d.ts +54 -52
- package/src/radio/createRadioGroupState.ts +66 -30
- package/src/radio/index.d.ts +7 -2
- package/src/radio/index.ts +1 -1
- package/src/searchfield/createSearchFieldState.d.ts +16 -14
- package/src/searchfield/createSearchFieldState.ts +56 -62
- package/src/searchfield/index.d.ts +3 -3
- package/src/searchfield/index.ts +2 -5
- package/src/select/createSelectState.d.ts +63 -61
- package/src/select/createSelectState.ts +290 -181
- package/src/select/index.d.ts +2 -2
- package/src/select/index.ts +1 -5
- package/src/selection/index.ts +27 -0
- package/src/slider/createSliderState.d.ts +60 -60
- package/src/slider/createSliderState.ts +233 -211
- package/src/slider/index.d.ts +3 -3
- package/src/slider/index.ts +2 -6
- package/src/ssr/index.d.ts +1 -1
- package/src/ssr/index.ts +2 -2
- package/src/steplist/createStepListState.ts +191 -0
- package/src/steplist/index.ts +5 -0
- package/src/table/TableCollection.d.ts +42 -40
- package/src/table/TableCollection.ts +61 -64
- package/src/table/createTableColumnResizeState.ts +242 -0
- package/src/table/createTableState.d.ts +7 -4
- package/src/table/createTableState.ts +10 -7
- package/src/table/index.d.ts +14 -4
- package/src/table/index.ts +10 -3
- package/src/table/types.d.ts +98 -92
- package/src/table/types.ts +17 -13
- package/src/tabs/createTabListState.d.ts +59 -57
- package/src/tabs/createTabListState.ts +58 -39
- package/src/tabs/index.d.ts +8 -2
- package/src/tabs/index.ts +1 -1
- package/src/textfield/createTextFieldState.d.ts +16 -14
- package/src/textfield/createTextFieldState.ts +7 -18
- package/src/textfield/index.d.ts +6 -2
- package/src/textfield/index.ts +1 -1
- package/src/toast/createToastState.d.ts +92 -81
- package/src/toast/createToastState.ts +56 -44
- package/src/toast/index.d.ts +12 -2
- package/src/toast/index.ts +1 -1
- package/src/toggle/createToggleGroupState.ts +117 -0
- package/src/toggle/createToggleState.d.ts +19 -19
- package/src/toggle/createToggleState.ts +2 -16
- package/src/toggle/index.d.ts +2 -2
- package/src/toggle/index.ts +6 -4
- package/src/tooltip/createTooltipTriggerState.d.ts +17 -17
- package/src/tooltip/createTooltipTriggerState.ts +184 -183
- package/src/tooltip/index.d.ts +7 -2
- package/src/tooltip/index.ts +6 -6
- package/src/tree/TreeCollection.d.ts +26 -23
- package/src/tree/TreeCollection.ts +215 -175
- package/src/tree/createTreeState.d.ts +7 -4
- package/src/tree/createTreeState.ts +390 -392
- package/src/tree/index.d.ts +10 -4
- package/src/tree/index.ts +13 -13
- package/src/tree/types.d.ts +131 -126
- package/src/tree/types.ts +183 -174
- package/src/utils/index.d.ts +2 -2
- package/src/utils/index.ts +1 -1
- package/src/utils/reactivity.d.ts +2 -2
- package/src/utils/reactivity.ts +3 -3
package/src/grid/types.ts
CHANGED
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
* Based on @react-types/grid.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Key, FocusStrategy } from
|
|
6
|
+
import type { Key, FocusStrategy } from "../collections/types";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Represents the type of a grid node.
|
|
10
10
|
*/
|
|
11
11
|
export type GridNodeType =
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
12
|
+
| "item" // A selectable row
|
|
13
|
+
| "cell" // A cell within a row
|
|
14
|
+
| "column" // A column header
|
|
15
|
+
| "rowheader" // A cell that acts as a row header
|
|
16
|
+
| "headerrow" // A header row container
|
|
17
|
+
| "section" // A section/group
|
|
18
|
+
| "content" // A collection content placeholder
|
|
19
|
+
| "placeholder"; // A placeholder (e.g., empty row)
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Represents a node in a grid collection.
|
|
@@ -37,6 +38,10 @@ export interface GridNode<T = unknown> {
|
|
|
37
38
|
index: number;
|
|
38
39
|
/** The key of the parent node, if any. */
|
|
39
40
|
parentKey?: Key | null;
|
|
41
|
+
/** Previous sibling key (visible order). */
|
|
42
|
+
prevKey?: Key | null;
|
|
43
|
+
/** Next sibling key (visible order). */
|
|
44
|
+
nextKey?: Key | null;
|
|
40
45
|
/** Whether this node has child nodes. */
|
|
41
46
|
hasChildNodes: boolean;
|
|
42
47
|
/** Child nodes (cells for rows, rows for sections). */
|
|
@@ -44,7 +49,7 @@ export interface GridNode<T = unknown> {
|
|
|
44
49
|
/** Whether this item is disabled. */
|
|
45
50
|
isDisabled?: boolean;
|
|
46
51
|
/** ARIA label for this node. */
|
|
47
|
-
|
|
52
|
+
"aria-label"?: string;
|
|
48
53
|
/** Additional props for the node. */
|
|
49
54
|
props?: Record<string, unknown>;
|
|
50
55
|
/** Column index for cells. */
|
|
@@ -127,9 +132,11 @@ export interface GridState<T, C extends GridCollection<T> = GridCollection<T>> {
|
|
|
127
132
|
/** Whether the grid is focused. */
|
|
128
133
|
readonly isFocused: boolean;
|
|
129
134
|
/** The selection mode. */
|
|
130
|
-
readonly selectionMode:
|
|
135
|
+
readonly selectionMode: "none" | "single" | "multiple";
|
|
136
|
+
/** The selection behavior. */
|
|
137
|
+
readonly selectionBehavior: "toggle" | "replace";
|
|
131
138
|
/** The currently selected keys. */
|
|
132
|
-
readonly selectedKeys:
|
|
139
|
+
readonly selectedKeys: "all" | Set<Key>;
|
|
133
140
|
/** Check if a key is selected. */
|
|
134
141
|
isSelected(key: Key): boolean;
|
|
135
142
|
/** Check if a key is disabled. */
|
|
@@ -163,17 +170,17 @@ export interface GridStateOptions<T, C extends GridCollection<T> = GridCollectio
|
|
|
163
170
|
/** Keys of disabled rows. */
|
|
164
171
|
disabledKeys?: Iterable<Key>;
|
|
165
172
|
/** Focus mode: 'row' or 'cell'. */
|
|
166
|
-
focusMode?:
|
|
173
|
+
focusMode?: "row" | "cell";
|
|
167
174
|
/** Selection mode. */
|
|
168
|
-
selectionMode?:
|
|
175
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
169
176
|
/** Selection behavior. */
|
|
170
|
-
selectionBehavior?:
|
|
177
|
+
selectionBehavior?: "toggle" | "replace";
|
|
171
178
|
/** Whether empty selection is disallowed. */
|
|
172
179
|
disallowEmptySelection?: boolean;
|
|
173
180
|
/** Currently selected keys (controlled). */
|
|
174
|
-
selectedKeys?:
|
|
181
|
+
selectedKeys?: "all" | Iterable<Key>;
|
|
175
182
|
/** Default selected keys (uncontrolled). */
|
|
176
|
-
defaultSelectedKeys?:
|
|
183
|
+
defaultSelectedKeys?: "all" | Iterable<Key>;
|
|
177
184
|
/** Handler for selection changes. */
|
|
178
|
-
onSelectionChange?: (keys:
|
|
185
|
+
onSelectionChange?: (keys: "all" | Set<Key>) => void;
|
|
179
186
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,26 +1,310 @@
|
|
|
1
|
-
export { createToggleState, type ToggleStateOptions, type ToggleState
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
export { createToggleState, type ToggleStateOptions, type ToggleState } from "./toggle";
|
|
2
|
+
export {
|
|
3
|
+
createAutocompleteState,
|
|
4
|
+
type AutocompleteState,
|
|
5
|
+
type AutocompleteStateOptions,
|
|
6
|
+
} from "./autocomplete";
|
|
7
|
+
export { createTextFieldState, type TextFieldStateOptions, type TextFieldState } from "./textfield";
|
|
8
|
+
export {
|
|
9
|
+
createCheckboxGroupState,
|
|
10
|
+
type CheckboxGroupProps,
|
|
11
|
+
type CheckboxGroupState,
|
|
12
|
+
} from "./checkbox";
|
|
13
|
+
export {
|
|
14
|
+
createRadioGroupState,
|
|
15
|
+
radioGroupSyncVersion,
|
|
16
|
+
type RadioGroupProps,
|
|
17
|
+
type RadioGroupState,
|
|
18
|
+
} from "./radio";
|
|
19
|
+
export {
|
|
20
|
+
createOverlayTriggerState,
|
|
21
|
+
type OverlayTriggerProps,
|
|
22
|
+
type OverlayTriggerState,
|
|
23
|
+
} from "./overlays";
|
|
24
|
+
export {
|
|
25
|
+
type Key,
|
|
26
|
+
type SelectionMode,
|
|
27
|
+
type SelectionBehavior,
|
|
28
|
+
type Selection,
|
|
29
|
+
type FocusStrategy,
|
|
30
|
+
type DisabledBehavior,
|
|
31
|
+
type CollectionNode,
|
|
32
|
+
type Collection,
|
|
33
|
+
type ItemProps,
|
|
34
|
+
type SectionProps,
|
|
35
|
+
type CollectionBase,
|
|
36
|
+
type SingleSelection,
|
|
37
|
+
type MultipleSelection,
|
|
38
|
+
ListCollection,
|
|
39
|
+
createListCollection,
|
|
40
|
+
createSelectionState,
|
|
41
|
+
type SelectionStateProps,
|
|
42
|
+
type SelectionState,
|
|
43
|
+
createListState,
|
|
44
|
+
createSingleSelectListState,
|
|
45
|
+
type ListStateProps,
|
|
46
|
+
type ListState,
|
|
47
|
+
type SingleSelectListStateProps,
|
|
48
|
+
type SingleSelectListState,
|
|
49
|
+
createMenuState,
|
|
50
|
+
createMenuTriggerState,
|
|
51
|
+
type MenuStateProps,
|
|
52
|
+
type MenuState,
|
|
53
|
+
type MenuTriggerStateProps,
|
|
54
|
+
type MenuTriggerState,
|
|
55
|
+
} from "./collections";
|
|
56
|
+
export { createSelectState, type SelectStateProps, type SelectState } from "./select";
|
|
57
|
+
export {
|
|
58
|
+
createComboBoxState,
|
|
59
|
+
defaultContainsFilter,
|
|
60
|
+
type ComboBoxState,
|
|
61
|
+
type ComboBoxStateProps,
|
|
62
|
+
type FilterFn,
|
|
63
|
+
type MenuTriggerAction,
|
|
64
|
+
} from "./combobox";
|
|
65
|
+
export {
|
|
66
|
+
createTabListState,
|
|
67
|
+
type TabListStateProps,
|
|
68
|
+
type TabListState,
|
|
69
|
+
type KeyboardActivation,
|
|
70
|
+
type TabOrientation,
|
|
71
|
+
} from "./tabs";
|
|
72
|
+
export {
|
|
73
|
+
createNumberFieldState,
|
|
74
|
+
type NumberFieldStateProps,
|
|
75
|
+
type NumberFieldState,
|
|
76
|
+
} from "./numberfield";
|
|
77
|
+
export {
|
|
78
|
+
createSearchFieldState,
|
|
79
|
+
type SearchFieldStateProps,
|
|
80
|
+
type SearchFieldState,
|
|
81
|
+
} from "./searchfield";
|
|
82
|
+
export {
|
|
83
|
+
createSliderState,
|
|
84
|
+
type SliderStateProps,
|
|
85
|
+
type SliderState,
|
|
86
|
+
type SliderOrientation,
|
|
87
|
+
} from "./slider";
|
|
88
|
+
export {
|
|
89
|
+
createTooltipTriggerState,
|
|
90
|
+
resetTooltipState,
|
|
91
|
+
type TooltipTriggerProps,
|
|
92
|
+
type TooltipTriggerState,
|
|
93
|
+
} from "./tooltip";
|
|
94
|
+
export {
|
|
95
|
+
createToastState,
|
|
96
|
+
createToastQueue,
|
|
97
|
+
ToastQueue,
|
|
98
|
+
Timer,
|
|
99
|
+
type ToastOptions,
|
|
100
|
+
type QueuedToast,
|
|
101
|
+
type ToastQueueOptions,
|
|
102
|
+
type ToastStateProps,
|
|
103
|
+
type ToastState,
|
|
104
|
+
} from "./toast";
|
|
105
|
+
export {
|
|
106
|
+
createDisclosureState,
|
|
107
|
+
createDisclosureGroupState,
|
|
108
|
+
type DisclosureStateProps,
|
|
109
|
+
type DisclosureState,
|
|
110
|
+
type DisclosureGroupStateProps,
|
|
111
|
+
type DisclosureGroupState,
|
|
112
|
+
type Key as DisclosureKey,
|
|
113
|
+
} from "./disclosure";
|
|
114
|
+
export {
|
|
115
|
+
createCalendarState,
|
|
116
|
+
type CalendarStateProps,
|
|
117
|
+
type CalendarState,
|
|
118
|
+
type ValidationState,
|
|
119
|
+
type CalendarPageBehavior,
|
|
120
|
+
type CalendarSelectionAlignment,
|
|
121
|
+
type CalendarDayOfWeek,
|
|
122
|
+
createRangeCalendarState,
|
|
123
|
+
type RangeCalendarStateProps,
|
|
124
|
+
type RangeCalendarState,
|
|
125
|
+
type DateRange,
|
|
126
|
+
type RangeValue,
|
|
127
|
+
createDateFieldState,
|
|
128
|
+
type DateFieldStateProps,
|
|
129
|
+
type DateFieldState,
|
|
130
|
+
type DateSegment,
|
|
131
|
+
type DateSegmentType,
|
|
132
|
+
createTimeFieldState,
|
|
133
|
+
type TimeFieldStateProps,
|
|
134
|
+
type TimeFieldState,
|
|
135
|
+
type TimeSegment,
|
|
136
|
+
type TimeSegmentType,
|
|
137
|
+
type TimeValue,
|
|
138
|
+
type CalendarDate,
|
|
139
|
+
type CalendarDateTime,
|
|
140
|
+
type ZonedDateTime,
|
|
141
|
+
type DateValue,
|
|
142
|
+
type Time,
|
|
143
|
+
type Calendar,
|
|
144
|
+
type CalendarIdentifier,
|
|
145
|
+
type AnyCalendarDate,
|
|
146
|
+
createCalendar,
|
|
147
|
+
GregorianCalendar,
|
|
148
|
+
today,
|
|
149
|
+
now,
|
|
150
|
+
getLocalTimeZone,
|
|
151
|
+
parseDate,
|
|
152
|
+
parseDateTime,
|
|
153
|
+
parseTime,
|
|
154
|
+
parseAbsolute,
|
|
155
|
+
parseAbsoluteToLocal,
|
|
156
|
+
parseZonedDateTime,
|
|
157
|
+
toCalendarDate,
|
|
158
|
+
toCalendarDateTime,
|
|
159
|
+
toZoned,
|
|
160
|
+
toTime,
|
|
161
|
+
CalendarDateClass,
|
|
162
|
+
CalendarDateTimeClass,
|
|
163
|
+
ZonedDateTimeClass,
|
|
164
|
+
TimeClass,
|
|
165
|
+
DateFormatter,
|
|
166
|
+
isSameDay,
|
|
167
|
+
isSameMonth,
|
|
168
|
+
isSameYear,
|
|
169
|
+
isToday,
|
|
170
|
+
isWeekend,
|
|
171
|
+
startOfMonth,
|
|
172
|
+
endOfMonth,
|
|
173
|
+
startOfWeek,
|
|
174
|
+
endOfWeek,
|
|
175
|
+
startOfYear,
|
|
176
|
+
endOfYear,
|
|
177
|
+
getWeeksInMonth,
|
|
178
|
+
getDayOfWeek,
|
|
179
|
+
toCalendar,
|
|
180
|
+
minDate,
|
|
181
|
+
maxDate,
|
|
182
|
+
} from "./calendar";
|
|
183
|
+
export {
|
|
184
|
+
createGridState,
|
|
185
|
+
type GridState,
|
|
186
|
+
type GridStateOptions,
|
|
187
|
+
type GridCollection,
|
|
188
|
+
type GridNode,
|
|
189
|
+
type GridNodeType,
|
|
190
|
+
} from "./grid";
|
|
191
|
+
export {
|
|
192
|
+
createTableState,
|
|
193
|
+
TableCollection,
|
|
194
|
+
createTableCollection,
|
|
195
|
+
type TableState,
|
|
196
|
+
type TableStateOptions,
|
|
197
|
+
type ITableCollection,
|
|
198
|
+
type SortDescriptor,
|
|
199
|
+
type SortDirection,
|
|
200
|
+
type Sortable,
|
|
201
|
+
type ColumnDefinition,
|
|
202
|
+
type RowDefinition,
|
|
203
|
+
type TableCollectionOptions,
|
|
204
|
+
} from "./table";
|
|
205
|
+
export {
|
|
206
|
+
createTreeState,
|
|
207
|
+
TreeCollection,
|
|
208
|
+
createTreeCollection,
|
|
209
|
+
type TreeState,
|
|
210
|
+
type TreeStateOptions,
|
|
211
|
+
type TreeCollectionInterface,
|
|
212
|
+
type TreeNode,
|
|
213
|
+
type TreeItemData,
|
|
214
|
+
} from "./tree";
|
|
215
|
+
export {
|
|
216
|
+
type Color,
|
|
217
|
+
type ColorFormat,
|
|
218
|
+
type ColorSpace,
|
|
219
|
+
type ColorChannel,
|
|
220
|
+
type ColorChannelRange,
|
|
221
|
+
type ColorAxes,
|
|
222
|
+
parseColor,
|
|
223
|
+
normalizeColor,
|
|
224
|
+
createRGBColor,
|
|
225
|
+
createHSLColor,
|
|
226
|
+
createHSBColor,
|
|
227
|
+
createColorSliderState,
|
|
228
|
+
type ColorSliderStateOptions,
|
|
229
|
+
type ColorSliderState,
|
|
230
|
+
createColorAreaState,
|
|
231
|
+
type ColorAreaStateOptions,
|
|
232
|
+
type ColorAreaState,
|
|
233
|
+
createColorWheelState,
|
|
234
|
+
type ColorWheelStateOptions,
|
|
235
|
+
type ColorWheelState,
|
|
236
|
+
createColorFieldState,
|
|
237
|
+
type ColorFieldStateOptions,
|
|
238
|
+
type ColorFieldState,
|
|
239
|
+
} from "./color";
|
|
240
|
+
export {
|
|
241
|
+
type DropOperation,
|
|
242
|
+
type DragItem,
|
|
243
|
+
type DragDropEvent,
|
|
244
|
+
type DragStartEvent,
|
|
245
|
+
type DragMoveEvent,
|
|
246
|
+
type DragEndEvent,
|
|
247
|
+
type DropEnterEvent,
|
|
248
|
+
type DropMoveEvent,
|
|
249
|
+
type DropActivateEvent,
|
|
250
|
+
type DropExitEvent,
|
|
251
|
+
type TextDropItem,
|
|
252
|
+
type FileDropItem,
|
|
253
|
+
type DirectoryDropItem,
|
|
254
|
+
type DropItem,
|
|
255
|
+
type DropEvent,
|
|
256
|
+
type DropPosition,
|
|
257
|
+
type RootDropTarget,
|
|
258
|
+
type ItemDropTarget,
|
|
259
|
+
type DropTarget,
|
|
260
|
+
type DroppableCollectionEnterEvent,
|
|
261
|
+
type DroppableCollectionMoveEvent,
|
|
262
|
+
type DroppableCollectionActivateEvent,
|
|
263
|
+
type DroppableCollectionExitEvent,
|
|
264
|
+
type DroppableCollectionDropEvent,
|
|
265
|
+
type DroppableCollectionInsertDropEvent,
|
|
266
|
+
type DroppableCollectionRootDropEvent,
|
|
267
|
+
type DroppableCollectionOnItemDropEvent,
|
|
268
|
+
type DroppableCollectionReorderEvent,
|
|
269
|
+
type DragTypes,
|
|
270
|
+
type DropTargetDelegate,
|
|
271
|
+
type DraggableCollectionStartEvent,
|
|
272
|
+
type DraggableCollectionMoveEvent,
|
|
273
|
+
type DraggableCollectionEndEvent,
|
|
274
|
+
type DragPreviewRenderer,
|
|
275
|
+
type DroppableCollectionUtilityOptions,
|
|
276
|
+
type DroppableCollectionBaseProps,
|
|
277
|
+
type DroppableCollectionProps,
|
|
278
|
+
type DraggableCollectionProps,
|
|
279
|
+
createDragState,
|
|
280
|
+
type DragStateOptions,
|
|
281
|
+
type DragState,
|
|
282
|
+
createDropState,
|
|
283
|
+
type DropStateOptions,
|
|
284
|
+
type DropState,
|
|
285
|
+
createDraggableCollectionState,
|
|
286
|
+
type DraggableCollectionStateOptions,
|
|
287
|
+
type DraggableCollectionState,
|
|
288
|
+
createDroppableCollectionState,
|
|
289
|
+
DIRECTORY_DRAG_TYPE,
|
|
290
|
+
type DroppableCollectionStateOptions,
|
|
291
|
+
type DroppableCollectionState,
|
|
292
|
+
} from "./dnd";
|
|
293
|
+
export {
|
|
294
|
+
createFormValidationState,
|
|
295
|
+
mergeValidation,
|
|
296
|
+
FormValidationContext,
|
|
297
|
+
privateValidationStateProp,
|
|
298
|
+
VALID_VALIDITY_STATE,
|
|
299
|
+
DEFAULT_VALIDATION_RESULT,
|
|
300
|
+
type FormValidationState,
|
|
301
|
+
type FormValidationProps,
|
|
302
|
+
type ValidationResult,
|
|
303
|
+
type ValidationErrors,
|
|
304
|
+
type ValidationFunction,
|
|
305
|
+
type ValidationBehavior,
|
|
306
|
+
type ValidityState,
|
|
307
|
+
} from "./form";
|
|
308
|
+
export { createIsSSR, createId, canUseDOM, isServer } from "./ssr";
|
|
309
|
+
export { access, isAccessor, type MaybeAccessor, type MaybeAccessorValue } from "./utils";
|
|
310
|
+
//# sourceMappingURL=index.d.ts.map
|