@proyecto-viviana/solid-stately 0.3.0 → 0.4.1
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/calendar/IncompleteDate.d.ts +61 -0
- package/dist/calendar/createCalendarState.d.ts +20 -10
- package/dist/calendar/createDateFieldState.d.ts +65 -20
- package/dist/calendar/createRangeCalendarState.d.ts +20 -2
- package/dist/calendar/createTimeFieldState.d.ts +38 -67
- package/dist/calendar/index.d.ts +1 -1
- package/dist/calendar/intl/index.d.ts +10 -0
- package/dist/collections/ListCollection.d.ts +8 -0
- package/dist/collections/createListState.d.ts +16 -1
- package/dist/collections/createSelectionState.d.ts +17 -5
- package/dist/collections/getChildNodes.d.ts +19 -0
- package/dist/collections/index.d.ts +3 -2
- package/dist/collections/types.d.ts +9 -0
- package/dist/color/intl/index.d.ts +14 -0
- package/dist/combobox/createComboBoxState.d.ts +7 -0
- package/dist/dnd/createDroppableCollectionState.d.ts +17 -2
- package/dist/dnd/index.d.ts +1 -1
- package/dist/dnd/types.d.ts +3 -1
- package/dist/grid/types.d.ts +17 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +4372 -1087
- package/dist/index.js.map +1 -1
- package/dist/select/createSelectState.d.ts +6 -0
- package/dist/selection/Selection.d.ts +16 -0
- package/dist/selection/SelectionManager.d.ts +119 -0
- package/dist/selection/createMultipleSelectionState.d.ts +59 -0
- package/dist/selection/index.d.ts +1 -0
- package/dist/table/TableCollection.d.ts +30 -0
- package/dist/table/createTreeGridState.d.ts +15 -0
- package/dist/table/index.d.ts +2 -1
- package/dist/table/types.d.ts +58 -0
- package/dist/toast/createToastState.d.ts +16 -0
- package/dist/toast/index.d.ts +1 -1
- package/dist/tree/types.d.ts +14 -6
- package/package.json +1 -1
- package/src/calendar/IncompleteDate.ts +430 -0
- package/src/calendar/createCalendarState.ts +129 -40
- package/src/calendar/createDateFieldState.ts +633 -477
- package/src/calendar/createRangeCalendarState.ts +343 -30
- package/src/calendar/createTimeFieldState.ts +179 -467
- package/src/calendar/index.ts +2 -0
- package/src/calendar/intl/index.ts +364 -0
- package/src/collections/ListCollection.ts +31 -0
- package/src/collections/createListState.ts +139 -17
- package/src/collections/createMenuState.ts +3 -0
- package/src/collections/createSelectionState.ts +38 -28
- package/src/collections/getChildNodes.ts +129 -0
- package/src/collections/index.ts +12 -0
- package/src/collections/types.ts +10 -0
- package/src/color/Color.ts +104 -133
- package/src/color/intl/index.ts +1409 -0
- package/src/combobox/createComboBoxState.ts +38 -13
- package/src/dnd/createDroppableCollectionState.ts +125 -6
- package/src/dnd/index.d.ts +1 -0
- package/src/dnd/index.ts +1 -0
- package/src/dnd/types.d.ts +3 -1
- package/src/dnd/types.ts +4 -1
- package/src/grid/createGridState.ts +36 -2
- package/src/grid/types.ts +17 -3
- package/src/index.d.ts +1 -0
- package/src/index.ts +14 -0
- package/src/select/createSelectState.ts +15 -2
- package/src/selection/Selection.ts +28 -0
- package/src/selection/SelectionManager.ts +541 -0
- package/src/selection/createMultipleSelectionState.ts +247 -0
- package/src/selection/index.ts +6 -0
- package/src/steplist/createStepListState.ts +27 -4
- package/src/table/TableCollection.ts +213 -43
- package/src/table/createTableState.ts +20 -0
- package/src/table/createTreeGridState.ts +146 -0
- package/src/table/index.ts +3 -0
- package/src/table/types.ts +66 -0
- package/src/tabs/createTabListState.ts +11 -9
- package/src/toast/createToastState.ts +43 -10
- package/src/toast/index.ts +1 -0
- package/src/tree/createTreeState.ts +37 -6
- package/src/tree/types.ts +14 -6
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { type Accessor } from "solid-js";
|
|
7
7
|
import type { DropItem, DropTarget, DropOperation, DragTypes, DroppableCollectionEnterEvent, DroppableCollectionActivateEvent, DroppableCollectionExitEvent, DroppableCollectionDropEvent, DroppableCollectionInsertDropEvent, DroppableCollectionRootDropEvent, DroppableCollectionOnItemDropEvent, DroppableCollectionReorderEvent, ItemDropTarget } from "./types";
|
|
8
|
+
import type { Collection } from "../collections/types";
|
|
8
9
|
export interface DroppableCollectionStateOptions {
|
|
9
10
|
/**
|
|
10
11
|
* The drag types that the droppable collection accepts.
|
|
@@ -35,6 +36,14 @@ export interface DroppableCollectionStateOptions {
|
|
|
35
36
|
onMove?: (e: DroppableCollectionReorderEvent) => void;
|
|
36
37
|
/** A function returning whether a given target is a valid "on" drop target. */
|
|
37
38
|
shouldAcceptItemDrop?: (target: ItemDropTarget, types: DragTypes) => boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The host collection. Used by the default drop-operation feature detection to
|
|
41
|
+
* confirm a reorder stays within the same parent and to prevent dropping an
|
|
42
|
+
* item onto itself or a descendant. Optional: a flat collection (e.g. a plain
|
|
43
|
+
* ListBox) is always "within parent" and has no descendants, so omitting it is
|
|
44
|
+
* faithful for flat hosts.
|
|
45
|
+
*/
|
|
46
|
+
collection?: Collection<unknown>;
|
|
38
47
|
/** Whether the droppable collection is disabled. */
|
|
39
48
|
isDisabled?: boolean;
|
|
40
49
|
}
|
|
@@ -59,8 +68,14 @@ export interface DroppableCollectionState {
|
|
|
59
68
|
activateTarget(x: number, y: number): void;
|
|
60
69
|
/** Perform a drop on the collection. */
|
|
61
70
|
drop(items: DropItem[], dropOperation: DropOperation, isInternal: boolean, draggingKeys?: Set<string | number>): void;
|
|
62
|
-
/**
|
|
63
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Get the drop operation for a target. `isInternal` is true when the active
|
|
73
|
+
* drag originated from this same collection; `draggingKeys` are the keys being
|
|
74
|
+
* dragged. Both feed the handler-aware feature detection that decides whether a
|
|
75
|
+
* given drop position (before/after/on/root) is a valid target — e.g. a
|
|
76
|
+
* reorder-only collection rejects "on" targets, matching React Aria.
|
|
77
|
+
*/
|
|
78
|
+
getDropOperation(target: DropTarget, types: DragTypes, allowedOperations: DropOperation[], isInternal?: boolean, draggingKeys?: Set<string | number>): DropOperation;
|
|
64
79
|
/** Check if an item drop should be accepted. */
|
|
65
80
|
shouldAcceptItemDrop(target: ItemDropTarget, types: DragTypes): boolean;
|
|
66
81
|
}
|
package/dist/dnd/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Exports for DnD functionality.
|
|
5
5
|
*/
|
|
6
|
-
export type { DropOperation, DragItem, DragDropEvent, DragStartEvent, DragMoveEvent, DragEndEvent, DropEnterEvent, DropMoveEvent, DropActivateEvent, DropExitEvent, TextDropItem, FileDropItem, DirectoryDropItem, DropItem, DropEvent, DropPosition, RootDropTarget, ItemDropTarget, DropTarget, DroppableCollectionEnterEvent, DroppableCollectionMoveEvent, DroppableCollectionActivateEvent, DroppableCollectionExitEvent, DroppableCollectionDropEvent, DroppableCollectionInsertDropEvent, DroppableCollectionRootDropEvent, DroppableCollectionOnItemDropEvent, DroppableCollectionReorderEvent, DragTypes, DropTargetDelegate, DraggableCollectionStartEvent, DraggableCollectionMoveEvent, DraggableCollectionEndEvent, DragPreviewRenderer, DroppableCollectionUtilityOptions, DroppableCollectionBaseProps, DroppableCollectionProps, DraggableCollectionProps, } from "./types";
|
|
6
|
+
export type { DropOperation, DragItem, DragDropEvent, DragStartEvent, DragMoveEvent, DragEndEvent, DropEnterEvent, DropMoveEvent, DropActivateEvent, DropExitEvent, TextDropItem, FileDropItem, DirectoryDropItem, DropItem, DropEvent, DropPosition, RootDropTarget, ItemDropTarget, DropTarget, DroppableCollectionEnterEvent, DroppableCollectionMoveEvent, DroppableCollectionActivateEvent, DroppableCollectionExitEvent, DroppableCollectionDropEvent, DroppableCollectionInsertDropEvent, DroppableCollectionRootDropEvent, DroppableCollectionOnItemDropEvent, DroppableCollectionReorderEvent, DragType, DragTypes, DropTargetDelegate, DraggableCollectionStartEvent, DraggableCollectionMoveEvent, DraggableCollectionEndEvent, DragPreviewRenderer, DroppableCollectionUtilityOptions, DroppableCollectionBaseProps, DroppableCollectionProps, DraggableCollectionProps, } from "./types";
|
|
7
7
|
export { createDragState, type DragStateOptions, type DragState } from "./createDragState";
|
|
8
8
|
export { createDropState, type DropStateOptions, type DropState } from "./createDropState";
|
|
9
9
|
export { createDraggableCollectionState, type DraggableCollectionStateOptions, type DraggableCollectionState, } from "./createDraggableCollectionState";
|
package/dist/dnd/types.d.ts
CHANGED
|
@@ -174,10 +174,12 @@ export interface DroppableCollectionReorderEvent {
|
|
|
174
174
|
/** The drop target. */
|
|
175
175
|
target: ItemDropTarget;
|
|
176
176
|
}
|
|
177
|
+
/** A drag type: either a MIME type string or a symbol such as the directory drag type. */
|
|
178
|
+
export type DragType = string | symbol;
|
|
177
179
|
/** Interface for checking drag types. */
|
|
178
180
|
export interface DragTypes {
|
|
179
181
|
/** Returns whether the drag contains data of the given type. */
|
|
180
|
-
has(type:
|
|
182
|
+
has(type: DragType | DragType[]): boolean;
|
|
181
183
|
}
|
|
182
184
|
/** Delegate for determining drop targets within a collection. */
|
|
183
185
|
export interface DropTargetDelegate {
|
package/dist/grid/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Grid collection types for Table and GridList components.
|
|
3
3
|
* Based on @react-types/grid.
|
|
4
4
|
*/
|
|
5
|
-
import type { Key, FocusStrategy } from "../collections/types";
|
|
5
|
+
import type { Key, FocusStrategy, Selection, SelectionBehavior } from "../collections/types";
|
|
6
6
|
/**
|
|
7
7
|
* Represents the type of a grid node.
|
|
8
8
|
*/
|
|
@@ -31,6 +31,10 @@ export interface GridNode<T = unknown> {
|
|
|
31
31
|
prevKey?: Key | null;
|
|
32
32
|
/** Next sibling key (visible order). */
|
|
33
33
|
nextKey?: Key | null;
|
|
34
|
+
/** Key of the first child node, if any (used by tree grids). */
|
|
35
|
+
firstChildKey?: Key | null;
|
|
36
|
+
/** Key of the last child node, if any (used by tree grids). */
|
|
37
|
+
lastChildKey?: Key | null;
|
|
34
38
|
/** Whether this node has child nodes. */
|
|
35
39
|
hasChildNodes: boolean;
|
|
36
40
|
/** Child nodes (cells for rows, rows for sections). */
|
|
@@ -99,6 +103,8 @@ export interface GridState<T, C extends GridCollection<T> = GridCollection<T>> {
|
|
|
99
103
|
readonly collection: C;
|
|
100
104
|
/** Keys of disabled rows. */
|
|
101
105
|
readonly disabledKeys: Set<Key>;
|
|
106
|
+
/** Whether `disabledKeys` applies to all interactions, or only selection. */
|
|
107
|
+
readonly disabledBehavior: "selection" | "all";
|
|
102
108
|
/** Whether keyboard navigation is disabled. */
|
|
103
109
|
readonly isKeyboardNavigationDisabled: boolean;
|
|
104
110
|
/** Currently focused key. */
|
|
@@ -110,7 +116,9 @@ export interface GridState<T, C extends GridCollection<T> = GridCollection<T>> {
|
|
|
110
116
|
/** The selection mode. */
|
|
111
117
|
readonly selectionMode: "none" | "single" | "multiple";
|
|
112
118
|
/** The selection behavior. */
|
|
113
|
-
readonly selectionBehavior:
|
|
119
|
+
readonly selectionBehavior: SelectionBehavior;
|
|
120
|
+
/** Whether empty selection is disallowed. */
|
|
121
|
+
readonly disallowEmptySelection: boolean;
|
|
114
122
|
/** The currently selected keys. */
|
|
115
123
|
readonly selectedKeys: "all" | Set<Key>;
|
|
116
124
|
/** Check if a key is selected. */
|
|
@@ -121,10 +129,14 @@ export interface GridState<T, C extends GridCollection<T> = GridCollection<T>> {
|
|
|
121
129
|
setFocusedKey(key: Key | null, childFocusStrategy?: FocusStrategy): void;
|
|
122
130
|
/** Set focused state. */
|
|
123
131
|
setFocused(isFocused: boolean): void;
|
|
132
|
+
/** Set the selection behavior. */
|
|
133
|
+
setSelectionBehavior(behavior: SelectionBehavior): void;
|
|
124
134
|
/** Toggle selection for a key. */
|
|
125
135
|
toggleSelection(key: Key): void;
|
|
126
136
|
/** Replace selection with a key. */
|
|
127
137
|
replaceSelection(key: Key): void;
|
|
138
|
+
/** Set multiple selected keys. */
|
|
139
|
+
setSelectedKeys(keys: Selection | Iterable<Key>): void;
|
|
128
140
|
/** Extend selection to a key (shift-click). */
|
|
129
141
|
extendSelection(toKey: Key): void;
|
|
130
142
|
/** Select all rows. */
|
|
@@ -144,12 +156,14 @@ export interface GridStateOptions<T, C extends GridCollection<T> = GridCollectio
|
|
|
144
156
|
collection: C;
|
|
145
157
|
/** Keys of disabled rows. */
|
|
146
158
|
disabledKeys?: Iterable<Key>;
|
|
159
|
+
/** Whether `disabledKeys` applies to all interactions, or only selection. @default "all" */
|
|
160
|
+
disabledBehavior?: "selection" | "all";
|
|
147
161
|
/** Focus mode: 'row' or 'cell'. */
|
|
148
162
|
focusMode?: "row" | "cell";
|
|
149
163
|
/** Selection mode. */
|
|
150
164
|
selectionMode?: "none" | "single" | "multiple";
|
|
151
165
|
/** Selection behavior. */
|
|
152
|
-
selectionBehavior?:
|
|
166
|
+
selectionBehavior?: SelectionBehavior;
|
|
153
167
|
/** Whether empty selection is disallowed. */
|
|
154
168
|
disallowEmptySelection?: boolean;
|
|
155
169
|
/** Currently selected keys (controlled). */
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { createTextFieldState, type TextFieldStateOptions, type TextFieldState }
|
|
|
4
4
|
export { createCheckboxGroupState, type CheckboxGroupProps, type CheckboxGroupState, } from "./checkbox";
|
|
5
5
|
export { createRadioGroupState, radioGroupSyncVersion, type RadioGroupProps, type RadioGroupState, } from "./radio";
|
|
6
6
|
export { createOverlayTriggerState, type OverlayTriggerProps, type OverlayTriggerState, } from "./overlays";
|
|
7
|
-
export { type Key, type SelectionMode, type SelectionBehavior, type Selection, type FocusStrategy, type DisabledBehavior, type CollectionNode, type Collection, type ItemProps, type SectionProps, type CollectionBase, type SingleSelection, type MultipleSelection, ListCollection, createListCollection, createSelectionState, type SelectionStateProps, type SelectionState, createListState, createSingleSelectListState, type ListStateProps, type ListState, type SingleSelectListStateProps, type SingleSelectListState, createMenuState, createMenuTriggerState, type MenuStateProps, type MenuState, type MenuTriggerStateProps, type MenuTriggerState, } from "./collections";
|
|
8
|
-
export { useMultipleSelectionState, type MultipleSelectionStateProps, type MultipleSelectionState, } from "./selection";
|
|
7
|
+
export { type Key, type SelectionMode, type SelectionBehavior, type Selection, type FocusStrategy, type DisabledBehavior, type CollectionNode, type Collection, type ItemProps, type SectionProps, type CollectionBase, type SingleSelection, type MultipleSelection, ListCollection, createListCollection, getItemCount, createSelectionState, type SelectionStateProps, type SelectionState, type SelectionPressEvent, createListState, createFilteredListState, createSingleSelectListState, type ListStateProps, type ListState, type ListFilterFn, type SingleSelectListStateProps, type SingleSelectListState, createMenuState, createMenuTriggerState, type MenuStateProps, type MenuState, type MenuTriggerStateProps, type MenuTriggerState, } from "./collections";
|
|
8
|
+
export { useMultipleSelectionState, type MultipleSelectionStateProps, type MultipleSelectionState, SelectionManager, type SelectionManagerOptions, type LayoutDelegate, } from "./selection";
|
|
9
9
|
export { useMenuTriggerState } from "./menu";
|
|
10
10
|
export { useDateFieldState, useDatePickerState, useDateRangePickerState, useTimeFieldState, type DateFieldStateOptions, type DatePickerStateOptions, type DateRangePickerStateOptions, type TimeFieldStateOptions, type SegmentType, } from "./datepicker";
|
|
11
11
|
export { createSelectState, type SelectStateProps, type SelectState } from "./select";
|
|
@@ -15,14 +15,14 @@ export { createNumberFieldState, type NumberFieldStateProps, type NumberFieldSta
|
|
|
15
15
|
export { createSearchFieldState, type SearchFieldStateProps, type SearchFieldState, } from "./searchfield";
|
|
16
16
|
export { createSliderState, type SliderStateProps, type SliderState, type SliderOrientation, } from "./slider";
|
|
17
17
|
export { createTooltipTriggerState, resetTooltipState, type TooltipTriggerProps, type TooltipTriggerState, } from "./tooltip";
|
|
18
|
-
export { createToastState, createToastQueue, ToastQueue, Timer, type ToastOptions, type QueuedToast, type ToastQueueOptions, type ToastStateProps, type ToastState, } from "./toast";
|
|
18
|
+
export { createToastState, createToastQueue, ToastQueue, Timer, type ToastOptions, type QueuedToast, type ToastQueueOptions, type ToastAction, type ToastStateProps, type ToastState, } from "./toast";
|
|
19
19
|
export { createDisclosureState, createDisclosureGroupState, type DisclosureStateProps, type DisclosureState, type DisclosureGroupStateProps, type DisclosureGroupState, type Key as DisclosureKey, } from "./disclosure";
|
|
20
|
-
export { createCalendarState, type CalendarStateProps, type CalendarState, type ValidationState, type CalendarPageBehavior, type CalendarSelectionAlignment, type CalendarDayOfWeek, createRangeCalendarState, type RangeCalendarStateProps, type RangeCalendarState, type DateRange, type RangeValue, createDateFieldState, type DateFieldStateProps, type DateFieldState, type DateSegment, type DateSegmentType, createTimeFieldState, type TimeFieldStateProps, type TimeFieldState, type TimeSegment, type TimeSegmentType, type TimeValue, createDatePickerState, type DatePickerState, type CalendarDate, type CalendarDateTime, type ZonedDateTime, type DateValue, type Time, type Calendar, type CalendarIdentifier, type AnyCalendarDate, createCalendar, GregorianCalendar, today, now, getLocalTimeZone, parseDate, parseDateTime, parseTime, parseAbsolute, parseAbsoluteToLocal, parseZonedDateTime, toCalendarDate, toCalendarDateTime, toZoned, toTime, CalendarDateClass, CalendarDateTimeClass, ZonedDateTimeClass, TimeClass, DateFormatter, isSameDay, isSameMonth, isSameYear, isToday, isWeekend, startOfMonth, endOfMonth, startOfWeek, endOfWeek, startOfYear, endOfYear, getWeeksInMonth, getDayOfWeek, toCalendar, minDate, maxDate, } from "./calendar";
|
|
20
|
+
export { createCalendarState, type CalendarStateProps, type CalendarState, type CalendarSelectionMode, type CalendarValueType, type ValidationState, type CalendarPageBehavior, type CalendarSelectionAlignment, type CalendarDayOfWeek, createRangeCalendarState, type RangeCalendarStateProps, type RangeCalendarState, type DateRange, type RangeValue, createDateFieldState, type DateFieldStateProps, type DateFieldState, type DateSegment, type DateSegmentType, createTimeFieldState, type TimeFieldStateProps, type TimeFieldState, type TimeSegment, type TimeSegmentType, type TimeValue, createDatePickerState, type DatePickerState, type CalendarDate, type CalendarDateTime, type ZonedDateTime, type DateValue, type Time, type Calendar, type CalendarIdentifier, type AnyCalendarDate, createCalendar, GregorianCalendar, today, now, getLocalTimeZone, parseDate, parseDateTime, parseTime, parseAbsolute, parseAbsoluteToLocal, parseZonedDateTime, toCalendarDate, toCalendarDateTime, toZoned, toTime, CalendarDateClass, CalendarDateTimeClass, ZonedDateTimeClass, TimeClass, DateFormatter, isSameDay, isSameMonth, isSameYear, isToday, isWeekend, startOfMonth, endOfMonth, startOfWeek, endOfWeek, startOfYear, endOfYear, getWeeksInMonth, getDayOfWeek, toCalendar, minDate, maxDate, } from "./calendar";
|
|
21
21
|
export { createGridState, type GridState, type GridStateOptions, type GridCollection, type GridNode, type GridNodeType, } from "./grid";
|
|
22
|
-
export { createTableState, createTableColumnResizeState, TableCollection, createTableCollection, type TableState, type TableStateOptions, type ITableCollection, type SortDescriptor, type SortDirection, type Sortable, type ColumnDefinition, type RowDefinition, type TableCollectionOptions, type ColumnSize, type ColumnResizeDefinition, type TableColumnResizeStateProps, type TableColumnResizeState, } from "./table";
|
|
22
|
+
export { createTableState, createTreeGridState, createTableColumnResizeState, TableCollection, createTableCollection, type TableState, type TableStateOptions, type ITableCollection, type TreeGridState, type TreeGridStateOptions, type SortDescriptor, type SortDirection, type Sortable, type ColumnDefinition, type RowDefinition, type TableCollectionOptions, type ColumnSize, type ColumnResizeDefinition, type TableColumnResizeStateProps, type TableColumnResizeState, } from "./table";
|
|
23
23
|
export { createTreeState, TreeCollection, createTreeCollection, type TreeState, type TreeStateOptions, type TreeCollectionInterface, type TreeNode, type TreeItemData, } from "./tree";
|
|
24
24
|
export { type Color, type ColorFormat, type ColorSpace, type ColorChannel, type ColorChannelRange, type ColorAxes, parseColor, normalizeColor, createRGBColor, createHSLColor, createHSBColor, createColorSliderState, type ColorSliderStateOptions, type ColorSliderState, createColorAreaState, type ColorAreaStateOptions, type ColorAreaState, createColorWheelState, type ColorWheelStateOptions, type ColorWheelState, createColorFieldState, type ColorFieldStateOptions, type ColorFieldState, } from "./color";
|
|
25
|
-
export { type DropOperation, type DragItem, type DragDropEvent, type DragStartEvent, type DragMoveEvent, type DragEndEvent, type DropEnterEvent, type DropMoveEvent, type DropActivateEvent, type DropExitEvent, type TextDropItem, type FileDropItem, type DirectoryDropItem, type DropItem, type DropEvent, type DropPosition, type RootDropTarget, type ItemDropTarget, type DropTarget, type DroppableCollectionEnterEvent, type DroppableCollectionMoveEvent, type DroppableCollectionActivateEvent, type DroppableCollectionExitEvent, type DroppableCollectionDropEvent, type DroppableCollectionInsertDropEvent, type DroppableCollectionRootDropEvent, type DroppableCollectionOnItemDropEvent, type DroppableCollectionReorderEvent, type DragTypes, type DropTargetDelegate, type DraggableCollectionStartEvent, type DraggableCollectionMoveEvent, type DraggableCollectionEndEvent, type DragPreviewRenderer, type DroppableCollectionUtilityOptions, type DroppableCollectionBaseProps, type DroppableCollectionProps, type DraggableCollectionProps, createDragState, type DragStateOptions, type DragState, createDropState, type DropStateOptions, type DropState, createDraggableCollectionState, type DraggableCollectionStateOptions, type DraggableCollectionState, createDroppableCollectionState, DIRECTORY_DRAG_TYPE, type DroppableCollectionStateOptions, type DroppableCollectionState, } from "./dnd";
|
|
25
|
+
export { type DropOperation, type DragItem, type DragDropEvent, type DragStartEvent, type DragMoveEvent, type DragEndEvent, type DropEnterEvent, type DropMoveEvent, type DropActivateEvent, type DropExitEvent, type TextDropItem, type FileDropItem, type DirectoryDropItem, type DropItem, type DropEvent, type DropPosition, type RootDropTarget, type ItemDropTarget, type DropTarget, type DroppableCollectionEnterEvent, type DroppableCollectionMoveEvent, type DroppableCollectionActivateEvent, type DroppableCollectionExitEvent, type DroppableCollectionDropEvent, type DroppableCollectionInsertDropEvent, type DroppableCollectionRootDropEvent, type DroppableCollectionOnItemDropEvent, type DroppableCollectionReorderEvent, type DragType, type DragTypes, type DropTargetDelegate, type DraggableCollectionStartEvent, type DraggableCollectionMoveEvent, type DraggableCollectionEndEvent, type DragPreviewRenderer, type DroppableCollectionUtilityOptions, type DroppableCollectionBaseProps, type DroppableCollectionProps, type DraggableCollectionProps, createDragState, type DragStateOptions, type DragState, createDropState, type DropStateOptions, type DropState, createDraggableCollectionState, type DraggableCollectionStateOptions, type DraggableCollectionState, createDroppableCollectionState, DIRECTORY_DRAG_TYPE, type DroppableCollectionStateOptions, type DroppableCollectionState, } from "./dnd";
|
|
26
26
|
export { createFormValidationState, mergeValidation, FormValidationContext, privateValidationStateProp, VALID_VALIDITY_STATE, DEFAULT_VALIDATION_RESULT, type FormValidationState, type FormValidationProps, type ValidationResult, type ValidationErrors, type ValidationFunction, type ValidationBehavior, type ValidityState, } from "./form";
|
|
27
27
|
export { createIsSSR, createId, canUseDOM, isServer } from "./ssr";
|
|
28
28
|
export { createListData, type ListOptions, type ListData, createTreeData, type TreeOptions, type TreeData, type TreeDataNode, createAsyncList, type AsyncListOptions, type AsyncListData, type AsyncListLoadFunction, type AsyncListLoadOptions, type AsyncListStateUpdate, type LoadingState, } from "./data";
|