react-aria-components 1.0.0-alpha.4 → 1.0.0-alpha.5
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/import.mjs +534 -136
- package/dist/main.js +538 -133
- package/dist/main.js.map +1 -1
- package/dist/module.js +534 -136
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +174 -59
- package/dist/types.d.ts.map +1 -1
- package/package.json +12 -10
- package/src/Button.tsx +2 -2
- package/src/Calendar.tsx +5 -6
- package/src/Checkbox.tsx +8 -6
- package/src/Collection.tsx +22 -8
- package/src/DateField.tsx +2 -2
- package/src/Dialog.tsx +3 -3
- package/src/DropZone.tsx +108 -0
- package/src/FileTrigger.tsx +71 -0
- package/src/GridList.tsx +8 -6
- package/src/Link.tsx +2 -2
- package/src/ListBox.tsx +43 -19
- package/src/Meter.tsx +2 -2
- package/src/Modal.tsx +12 -11
- package/src/NumberField.tsx +2 -2
- package/src/OverlayArrow.tsx +2 -2
- package/src/Popover.tsx +18 -7
- package/src/RadioGroup.tsx +9 -5
- package/src/SearchField.tsx +2 -2
- package/src/Select.tsx +1 -2
- package/src/Slider.tsx +3 -3
- package/src/Switch.tsx +8 -4
- package/src/Table.tsx +17 -9
- package/src/Tabs.tsx +64 -74
- package/src/TagGroup.tsx +249 -0
- package/src/ToggleButton.tsx +2 -2
- package/src/Tooltip.tsx +2 -2
- package/src/index.ts +8 -2
- package/src/utils.tsx +12 -8
package/dist/import.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {DIRECTORY_DRAG_TYPE as $67da31f5140672c4$re_export$DIRECTORY_DRAG_TYPE, isDirectoryDropItem as $67da31f5140672c4$re_export$isDirectoryDropItem, isFileDropItem as $67da31f5140672c4$re_export$isFileDropItem, isTextDropItem as $67da31f5140672c4$re_export$isTextDropItem, SSRProvider as $67da31f5140672c4$re_export$SSRProvider, useBreadcrumbs as $dGqE5$useBreadcrumbs, useIsSSR as $dGqE5$useIsSSR, mergeProps as $dGqE5$mergeProps, useLink as $dGqE5$useLink, useHover as $dGqE5$useHover, useFocusRing as $dGqE5$useFocusRing, useButton as $dGqE5$useButton, useLocale as $dGqE5$useLocale, useCalendar as $dGqE5$useCalendar, VisuallyHidden as $dGqE5$VisuallyHidden, useRangeCalendar as $dGqE5$useRangeCalendar, useCalendarGrid as $dGqE5$useCalendarGrid, useCalendarCell as $dGqE5$useCalendarCell, useCheckboxGroup as $dGqE5$useCheckboxGroup, useCheckboxGroupItem as $dGqE5$useCheckboxGroupItem, useCheckbox as $dGqE5$useCheckbox, usePress as $dGqE5$usePress, useFilter as $dGqE5$useFilter, useComboBox as $dGqE5$useComboBox,
|
|
2
|
-
import {filterDOMProps as $dGqE5$filterDOMProps, useObjectRef as $dGqE5$useObjectRef, mergeRefs as $dGqE5$mergeRefs, mergeProps as $dGqE5$mergeProps1, useLayoutEffect as $dGqE5$useLayoutEffect, useResizeObserver as $dGqE5$useResizeObserver, useViewportSize as $dGqE5$useViewportSize, isWebKit as $dGqE5$isWebKit, isIOS as $dGqE5$isIOS} from "@react-aria/utils";
|
|
1
|
+
import {DIRECTORY_DRAG_TYPE as $67da31f5140672c4$re_export$DIRECTORY_DRAG_TYPE, isDirectoryDropItem as $67da31f5140672c4$re_export$isDirectoryDropItem, isFileDropItem as $67da31f5140672c4$re_export$isFileDropItem, isTextDropItem as $67da31f5140672c4$re_export$isTextDropItem, SSRProvider as $67da31f5140672c4$re_export$SSRProvider, useBreadcrumbs as $dGqE5$useBreadcrumbs, useIsSSR as $dGqE5$useIsSSR, mergeProps as $dGqE5$mergeProps, useLink as $dGqE5$useLink, useHover as $dGqE5$useHover, useFocusRing as $dGqE5$useFocusRing, useButton as $dGqE5$useButton, useLocale as $dGqE5$useLocale, useCalendar as $dGqE5$useCalendar, VisuallyHidden as $dGqE5$VisuallyHidden, useRangeCalendar as $dGqE5$useRangeCalendar, useCalendarGrid as $dGqE5$useCalendarGrid, useCalendarCell as $dGqE5$useCalendarCell, useCheckboxGroup as $dGqE5$useCheckboxGroup, useCheckboxGroupItem as $dGqE5$useCheckboxGroupItem, useCheckbox as $dGqE5$useCheckbox, usePress as $dGqE5$usePress, useFilter as $dGqE5$useFilter, useComboBox as $dGqE5$useComboBox, ListKeyboardDelegate as $dGqE5$ListKeyboardDelegate, useListBox as $dGqE5$useListBox, FocusScope as $dGqE5$FocusScope, useListBoxSection as $dGqE5$useListBoxSection, useOption as $dGqE5$useOption, useDraggableCollection as $dGqE5$useDraggableCollection, useDraggableItem as $dGqE5$useDraggableItem, DragPreview as $dGqE5$DragPreview, useDroppableItem as $dGqE5$useDroppableItem, useDroppableCollection as $dGqE5$useDroppableCollection, useDropIndicator as $dGqE5$useDropIndicator, ListDropTargetDelegate as $dGqE5$ListDropTargetDelegate, useSeparator as $dGqE5$useSeparator, usePopover as $dGqE5$usePopover, Overlay as $dGqE5$Overlay, DismissButton as $dGqE5$DismissButton, useDateField as $dGqE5$useDateField, useTimeField as $dGqE5$useTimeField, useDateSegment as $dGqE5$useDateSegment, useDatePicker as $dGqE5$useDatePicker, useDateRangePicker as $dGqE5$useDateRangePicker, useOverlayTrigger as $dGqE5$useOverlayTrigger, useDialog as $dGqE5$useDialog, useModalOverlay as $dGqE5$useModalOverlay, useDrop as $dGqE5$useDrop, useId as $dGqE5$useId, useClipboard as $dGqE5$useClipboard, useGridList as $dGqE5$useGridList, useGridListItem as $dGqE5$useGridListItem, useGridListSelectionCheckbox as $dGqE5$useGridListSelectionCheckbox, useVisuallyHidden as $dGqE5$useVisuallyHidden, useMenuTrigger as $dGqE5$useMenuTrigger, useMenu as $dGqE5$useMenu, useMenuSection as $dGqE5$useMenuSection, useMenuItem as $dGqE5$useMenuItem, useMeter as $dGqE5$useMeter, useNumberField as $dGqE5$useNumberField, useProgressBar as $dGqE5$useProgressBar, useRadioGroup as $dGqE5$useRadioGroup, useRadio as $dGqE5$useRadio, useSearchField as $dGqE5$useSearchField, useSelect as $dGqE5$useSelect, HiddenSelect as $dGqE5$HiddenSelect, useNumberFormatter as $dGqE5$useNumberFormatter, useSlider as $dGqE5$useSlider, useSliderThumb as $dGqE5$useSliderThumb, useSwitch as $dGqE5$useSwitch, useTable as $dGqE5$useTable, useTableRowGroup as $dGqE5$useTableRowGroup, useTableHeaderRow as $dGqE5$useTableHeaderRow, useTableSelectAllCheckbox as $dGqE5$useTableSelectAllCheckbox, useTableColumnHeader as $dGqE5$useTableColumnHeader, useTableRow as $dGqE5$useTableRow, useTableSelectionCheckbox as $dGqE5$useTableSelectionCheckbox, useTableCell as $dGqE5$useTableCell, useTabList as $dGqE5$useTabList, useTab as $dGqE5$useTab, useTabPanel as $dGqE5$useTabPanel, useTagGroup as $dGqE5$useTagGroup, useTag as $dGqE5$useTag, useTextField as $dGqE5$useTextField, useToggleButton as $dGqE5$useToggleButton, useTooltipTrigger as $dGqE5$useTooltipTrigger, OverlayContainer as $dGqE5$OverlayContainer, useOverlayPosition as $dGqE5$useOverlayPosition, useTooltip as $dGqE5$useTooltip} from "react-aria";
|
|
2
|
+
import {filterDOMProps as $dGqE5$filterDOMProps, useObjectRef as $dGqE5$useObjectRef, mergeRefs as $dGqE5$mergeRefs, mergeProps as $dGqE5$mergeProps1, useLayoutEffect as $dGqE5$useLayoutEffect, useResizeObserver as $dGqE5$useResizeObserver, useViewportSize as $dGqE5$useViewportSize, useLabels as $dGqE5$useLabels, isWebKit as $dGqE5$isWebKit, isIOS as $dGqE5$isIOS} from "@react-aria/utils";
|
|
3
3
|
import $dGqE5$react, {createContext as $dGqE5$createContext, forwardRef as $dGqE5$forwardRef, useMemo as $dGqE5$useMemo, cloneElement as $dGqE5$cloneElement, useCallback as $dGqE5$useCallback, useContext as $dGqE5$useContext, useEffect as $dGqE5$useEffect, useState as $dGqE5$useState, useRef as $dGqE5$useRef} from "react";
|
|
4
|
-
import $dGqE5$swchelperssrc_define_propertymjs from "@swc/helpers/src/_define_property.mjs";
|
|
5
4
|
import $dGqE5$reactdom, {createPortal as $dGqE5$createPortal} from "react-dom";
|
|
6
5
|
import {useSyncExternalStore as $dGqE5$useSyncExternalStore} from "use-sync-external-store/shim/index.js";
|
|
7
6
|
import {createCalendar as $dGqE5$createCalendar, endOfMonth as $dGqE5$endOfMonth, getWeeksInMonth as $dGqE5$getWeeksInMonth, isSameMonth as $dGqE5$isSameMonth, isSameDay as $dGqE5$isSameDay} from "@internationalized/date";
|
|
8
|
-
import {useCalendarState as $dGqE5$useCalendarState, useRangeCalendarState as $dGqE5$useRangeCalendarState, useCheckboxGroupState as $dGqE5$useCheckboxGroupState, useToggleState as $dGqE5$useToggleState, useComboBoxState as $dGqE5$useComboBoxState, useListState as $dGqE5$useListState, useDraggableCollectionState as $dGqE5$useDraggableCollectionState, useDroppableCollectionState as $dGqE5$useDroppableCollectionState, useDateFieldState as $dGqE5$useDateFieldState, useTimeFieldState as $dGqE5$useTimeFieldState, useDatePickerState as $dGqE5$useDatePickerState, useDateRangePickerState as $dGqE5$useDateRangePickerState,
|
|
7
|
+
import {useCalendarState as $dGqE5$useCalendarState, useRangeCalendarState as $dGqE5$useRangeCalendarState, useCheckboxGroupState as $dGqE5$useCheckboxGroupState, useToggleState as $dGqE5$useToggleState, useComboBoxState as $dGqE5$useComboBoxState, useListState as $dGqE5$useListState, useDraggableCollectionState as $dGqE5$useDraggableCollectionState, useDroppableCollectionState as $dGqE5$useDroppableCollectionState, useOverlayTriggerState as $dGqE5$useOverlayTriggerState, useDateFieldState as $dGqE5$useDateFieldState, useTimeFieldState as $dGqE5$useTimeFieldState, useDatePickerState as $dGqE5$useDatePickerState, useDateRangePickerState as $dGqE5$useDateRangePickerState, useMenuTriggerState as $dGqE5$useMenuTriggerState, useTreeState as $dGqE5$useTreeState, useNumberFieldState as $dGqE5$useNumberFieldState, useRadioGroupState as $dGqE5$useRadioGroupState, useSearchFieldState as $dGqE5$useSearchFieldState, useSelectState as $dGqE5$useSelectState, useSliderState as $dGqE5$useSliderState, useTableState as $dGqE5$useTableState, useTabListState as $dGqE5$useTabListState, useTooltipTriggerState as $dGqE5$useTooltipTriggerState} from "react-stately";
|
|
8
|
+
import {PressResponder as $dGqE5$PressResponder} from "@react-aria/interactions";
|
|
9
9
|
import {buildHeaderRows as $dGqE5$buildHeaderRows} from "@react-stately/table";
|
|
10
10
|
import {FocusableProvider as $dGqE5$FocusableProvider} from "@react-aria/focus";
|
|
11
11
|
|
|
@@ -44,7 +44,6 @@ import {FocusableProvider as $dGqE5$FocusableProvider} from "@react-aria/focus";
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
|
|
48
47
|
class $7135fc7d473fd974$export$f5d856d854e74713 {
|
|
49
48
|
get childNodes() {
|
|
50
49
|
throw new Error("childNodes is not supported");
|
|
@@ -67,29 +66,28 @@ class $7135fc7d473fd974$export$f5d856d854e74713 {
|
|
|
67
66
|
return node;
|
|
68
67
|
}
|
|
69
68
|
constructor(type, key){
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
69
|
+
this.value = null;
|
|
70
|
+
this.level = 0;
|
|
71
|
+
this.hasChildNodes = false;
|
|
72
|
+
this.rendered = null;
|
|
73
|
+
this.textValue = "";
|
|
74
|
+
this["aria-label"] = undefined;
|
|
75
|
+
this.index = 0;
|
|
76
|
+
this.parentKey = null;
|
|
77
|
+
this.prevKey = null;
|
|
78
|
+
this.nextKey = null;
|
|
79
|
+
this.firstChildKey = null;
|
|
80
|
+
this.lastChildKey = null;
|
|
81
|
+
this.props = {};
|
|
83
82
|
this.type = type;
|
|
84
83
|
this.key = key;
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
|
-
let $7135fc7d473fd974$var$_Symbol_iterator = Symbol.iterator;
|
|
88
86
|
/**
|
|
89
87
|
* A mutable node in the fake DOM tree. When mutated, it marks itself as dirty
|
|
90
88
|
* and queues an update with the owner document.
|
|
91
89
|
*/ class $7135fc7d473fd974$var$BaseNode {
|
|
92
|
-
*[
|
|
90
|
+
*[Symbol.iterator]() {
|
|
93
91
|
let node = this.firstChild;
|
|
94
92
|
while(node){
|
|
95
93
|
yield node;
|
|
@@ -196,11 +194,11 @@ let $7135fc7d473fd974$var$_Symbol_iterator = Symbol.iterator;
|
|
|
196
194
|
addEventListener() {}
|
|
197
195
|
removeEventListener() {}
|
|
198
196
|
constructor(ownerDocument){
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
197
|
+
this._firstChild = null;
|
|
198
|
+
this._lastChild = null;
|
|
199
|
+
this._previousSibling = null;
|
|
200
|
+
this._nextSibling = null;
|
|
201
|
+
this._parentNode = null;
|
|
204
202
|
this.ownerDocument = ownerDocument;
|
|
205
203
|
}
|
|
206
204
|
}
|
|
@@ -263,10 +261,10 @@ class $7135fc7d473fd974$export$dc064fe9e59310fd extends $7135fc7d473fd974$var$Ba
|
|
|
263
261
|
removeAttribute() {}
|
|
264
262
|
constructor(type, ownerDocument){
|
|
265
263
|
super(ownerDocument);
|
|
266
|
-
|
|
264
|
+
this.nodeType = 8 // COMMENT_NODE (we'd use ELEMENT_NODE but React DevTools will fail to get its dimensions)
|
|
267
265
|
;
|
|
268
|
-
|
|
269
|
-
|
|
266
|
+
this._index = 0;
|
|
267
|
+
this.hasSetProps = false;
|
|
270
268
|
this.node = new $7135fc7d473fd974$export$f5d856d854e74713(type, `react-aria-${++$7135fc7d473fd974$var$id}`);
|
|
271
269
|
// Start a transaction so that no updates are emitted from the collection
|
|
272
270
|
// until the props for this node are set. We don't know the real id for the
|
|
@@ -274,7 +272,6 @@ class $7135fc7d473fd974$export$dc064fe9e59310fd extends $7135fc7d473fd974$var$Ba
|
|
|
274
272
|
this.ownerDocument.startTransaction();
|
|
275
273
|
}
|
|
276
274
|
}
|
|
277
|
-
let $7135fc7d473fd974$var$_Symbol_iterator1 = Symbol.iterator;
|
|
278
275
|
class $7135fc7d473fd974$export$408d25a4e12db025 {
|
|
279
276
|
get size() {
|
|
280
277
|
return this.keyMap.size;
|
|
@@ -282,7 +279,7 @@ class $7135fc7d473fd974$export$408d25a4e12db025 {
|
|
|
282
279
|
getKeys() {
|
|
283
280
|
return this.keyMap.keys();
|
|
284
281
|
}
|
|
285
|
-
*[
|
|
282
|
+
*[Symbol.iterator]() {
|
|
286
283
|
let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;
|
|
287
284
|
while(node){
|
|
288
285
|
yield node;
|
|
@@ -366,10 +363,10 @@ class $7135fc7d473fd974$export$408d25a4e12db025 {
|
|
|
366
363
|
this.frozen = true;
|
|
367
364
|
}
|
|
368
365
|
constructor(){
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
366
|
+
this.keyMap = new Map();
|
|
367
|
+
this.firstKey = null;
|
|
368
|
+
this.lastKey = null;
|
|
369
|
+
this.frozen = false;
|
|
373
370
|
}
|
|
374
371
|
}
|
|
375
372
|
class $7135fc7d473fd974$export$b34a105447964f9f extends $7135fc7d473fd974$var$BaseNode {
|
|
@@ -429,7 +426,7 @@ class $7135fc7d473fd974$export$b34a105447964f9f extends $7135fc7d473fd974$var$Ba
|
|
|
429
426
|
if (this.mutatedNodes.size) {
|
|
430
427
|
var _this_firstChild, _this_lastChild;
|
|
431
428
|
let collection = this.getMutableCollection();
|
|
432
|
-
for (let
|
|
429
|
+
for (let element of this.mutatedNodes)if (element.parentNode) collection.addNode(element.node);
|
|
433
430
|
var _this_firstChild_node_key, _this_lastChild_node_key;
|
|
434
431
|
collection.commit((_this_firstChild_node_key = (_this_firstChild = this.firstChild) === null || _this_firstChild === void 0 ? void 0 : _this_firstChild.node.key) !== null && _this_firstChild_node_key !== void 0 ? _this_firstChild_node_key : null, (_this_lastChild_node_key = (_this_lastChild = this.lastChild) === null || _this_lastChild === void 0 ? void 0 : _this_lastChild.node.key) !== null && _this_lastChild_node_key !== void 0 ? _this_lastChild_node_key : null);
|
|
435
432
|
this.mutatedNodes.clear();
|
|
@@ -450,13 +447,13 @@ class $7135fc7d473fd974$export$b34a105447964f9f extends $7135fc7d473fd974$var$Ba
|
|
|
450
447
|
constructor(collection){
|
|
451
448
|
// @ts-ignore
|
|
452
449
|
super(null);
|
|
453
|
-
|
|
450
|
+
this.nodeType = 11 // DOCUMENT_FRAGMENT_NODE
|
|
454
451
|
;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
452
|
+
this.ownerDocument = this;
|
|
453
|
+
this.dirtyNodes = new Set();
|
|
454
|
+
this.mutatedNodes = new Set();
|
|
455
|
+
this.subscriptions = new Set();
|
|
456
|
+
this.transactionCount = 0;
|
|
460
457
|
this.collection = collection;
|
|
461
458
|
this.collectionMutated = true;
|
|
462
459
|
}
|
|
@@ -493,7 +490,7 @@ function $7135fc7d473fd974$export$727c8fc270210f13(props) {
|
|
|
493
490
|
res.push(rendered);
|
|
494
491
|
}
|
|
495
492
|
return res;
|
|
496
|
-
} else return children;
|
|
493
|
+
} else if (typeof children !== "function") return children;
|
|
497
494
|
}, [
|
|
498
495
|
children,
|
|
499
496
|
items,
|
|
@@ -510,6 +507,14 @@ function $7135fc7d473fd974$export$901dbff4e54a6dd0(props) {
|
|
|
510
507
|
}
|
|
511
508
|
const $7135fc7d473fd974$var$ShallowRenderContext = /*#__PURE__*/ (0, $dGqE5$createContext)(false);
|
|
512
509
|
function $7135fc7d473fd974$export$6cd28814d92fa9c9(props, initialCollection) {
|
|
510
|
+
let { collection: collection , document: document } = $7135fc7d473fd974$export$7cd71aa5ddd6dc4e(initialCollection);
|
|
511
|
+
let portal = $7135fc7d473fd974$export$ad42d5efb4461b31(props, document);
|
|
512
|
+
return {
|
|
513
|
+
portal: portal,
|
|
514
|
+
collection: collection
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function $7135fc7d473fd974$export$7cd71aa5ddd6dc4e(initialCollection) {
|
|
513
518
|
// The document instance is mutable, and should never change between renders.
|
|
514
519
|
// useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.
|
|
515
520
|
let document = (0, $dGqE5$useMemo)(()=>new $7135fc7d473fd974$export$b34a105447964f9f(initialCollection || new $7135fc7d473fd974$export$408d25a4e12db025()), [
|
|
@@ -522,17 +527,19 @@ function $7135fc7d473fd974$export$6cd28814d92fa9c9(props, initialCollection) {
|
|
|
522
527
|
document
|
|
523
528
|
]);
|
|
524
529
|
let collection = (0, $dGqE5$useSyncExternalStore)(subscribe, getSnapshot, getSnapshot);
|
|
530
|
+
return {
|
|
531
|
+
collection: collection,
|
|
532
|
+
document: document
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function $7135fc7d473fd974$export$ad42d5efb4461b31(props, document) {
|
|
525
536
|
let children = $7135fc7d473fd974$export$901dbff4e54a6dd0(props);
|
|
526
537
|
let wrappedChildren = (0, $dGqE5$useMemo)(()=>/*#__PURE__*/ (0, $dGqE5$react).createElement($7135fc7d473fd974$var$ShallowRenderContext.Provider, {
|
|
527
538
|
value: true
|
|
528
539
|
}, children), [
|
|
529
540
|
children
|
|
530
541
|
]);
|
|
531
|
-
|
|
532
|
-
return {
|
|
533
|
-
portal: portal,
|
|
534
|
-
collection: collection
|
|
535
|
-
};
|
|
542
|
+
return (0, $dGqE5$useIsSSR)() ? null : /*#__PURE__*/ (0, $dGqE5$createPortal)(wrappedChildren, document);
|
|
536
543
|
}
|
|
537
544
|
function $7135fc7d473fd974$export$aeba0b1fb3dcd8b8(Element, props, ref) {
|
|
538
545
|
let isShallow = (0, $dGqE5$useContext)($7135fc7d473fd974$var$ShallowRenderContext);
|
|
@@ -640,7 +647,10 @@ function $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {
|
|
|
640
647
|
}
|
|
641
648
|
// @ts-ignore - TS says "Type 'unique symbol' cannot be used as an index type." but not sure why.
|
|
642
649
|
let { ref: contextRef , [$64fa3d84918910a7$export$91172ebb93c441a2]: callback , ...contextProps } = ctx;
|
|
643
|
-
let mergedRef = (0, $dGqE5$useObjectRef)((0, $dGqE5$mergeRefs)(ref, contextRef)
|
|
650
|
+
let mergedRef = (0, $dGqE5$useObjectRef)((0, $dGqE5$useMemo)(()=>(0, $dGqE5$mergeRefs)(ref, contextRef), [
|
|
651
|
+
ref,
|
|
652
|
+
contextRef
|
|
653
|
+
]));
|
|
644
654
|
let mergedProps = (0, $dGqE5$mergeProps1)(contextProps, props);
|
|
645
655
|
// A parent component might need the props from a child, so call slot callback if needed.
|
|
646
656
|
(0, $dGqE5$useEffect)(()=>{
|
|
@@ -682,24 +692,28 @@ function $64fa3d84918910a7$export$45fda7c47f93fd48(ref, isOpen) {
|
|
|
682
692
|
// State to trigger a re-render after animation is complete, which causes the element to be removed from the DOM.
|
|
683
693
|
// Ref to track the state we're in, so we don't immediately reset isExiting to true after the animation.
|
|
684
694
|
let [isExiting, setExiting] = (0, $dGqE5$useState)(false);
|
|
685
|
-
let exitState = (0, $dGqE5$
|
|
695
|
+
let [exitState, setExitState] = (0, $dGqE5$useState)("idle");
|
|
686
696
|
// If isOpen becomes false, set isExiting to true.
|
|
687
|
-
if (!isOpen && ref.current && exitState
|
|
697
|
+
if (!isOpen && ref.current && exitState === "idle") {
|
|
688
698
|
isExiting = true;
|
|
689
699
|
setExiting(true);
|
|
690
|
-
|
|
700
|
+
setExitState("exiting");
|
|
691
701
|
}
|
|
692
702
|
// If we exited, and the element has been removed, reset exit state to idle.
|
|
693
|
-
if (!ref.current && exitState
|
|
703
|
+
if (!ref.current && exitState === "exited") setExitState("idle");
|
|
694
704
|
$64fa3d84918910a7$var$useAnimation(ref, isExiting, (0, $dGqE5$useCallback)(()=>{
|
|
695
|
-
|
|
705
|
+
setExitState("exited");
|
|
696
706
|
setExiting(false);
|
|
697
707
|
}, []));
|
|
698
708
|
return isExiting;
|
|
699
709
|
}
|
|
700
710
|
function $64fa3d84918910a7$var$useAnimation(ref, isActive, onEnd) {
|
|
701
711
|
let prevAnimation = (0, $dGqE5$useRef)(null);
|
|
702
|
-
if (isActive && ref.current)
|
|
712
|
+
if (isActive && ref.current) // This is ok because we only read it in the layout effect below, immediately after the commit phase.
|
|
713
|
+
// We could move this to another effect that runs every render, but this would be unnecessarily slow.
|
|
714
|
+
// We only need the computed style right before the animation becomes active.
|
|
715
|
+
// eslint-disable-next-line rulesdir/pure-render
|
|
716
|
+
prevAnimation.current = window.getComputedStyle(ref.current).animation;
|
|
703
717
|
(0, $dGqE5$useLayoutEffect)(()=>{
|
|
704
718
|
if (isActive && ref.current) {
|
|
705
719
|
// Make sure there's actually an animation, and it wasn't there before we triggered the update.
|
|
@@ -947,7 +961,6 @@ function $d2b4bc8c273e7be6$var$Button(props, ref) {
|
|
|
947
961
|
|
|
948
962
|
|
|
949
963
|
|
|
950
|
-
|
|
951
964
|
/*
|
|
952
965
|
* Copyright 2022 Adobe. All rights reserved.
|
|
953
966
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -1337,8 +1350,13 @@ function $bc237834342dbd75$var$Checkbox(props, ref) {
|
|
|
1337
1350
|
// Value is optional for standalone checkboxes, but required for CheckboxGroup items;
|
|
1338
1351
|
// it's passed explicitly here to avoid typescript error (requires ignore).
|
|
1339
1352
|
// @ts-ignore
|
|
1340
|
-
value: props.value
|
|
1341
|
-
|
|
1353
|
+
value: props.value,
|
|
1354
|
+
// ReactNode type doesn't allow function children.
|
|
1355
|
+
children: typeof props.children === "function" ? true : props.children
|
|
1356
|
+
}, groupState, ref) : (0, $dGqE5$useCheckbox)({
|
|
1357
|
+
...props,
|
|
1358
|
+
children: typeof props.children === "function" ? true : props.children
|
|
1359
|
+
}, (0, $dGqE5$useToggleState)(props), ref);
|
|
1342
1360
|
let { isFocused: isFocused , isFocusVisible: isFocusVisible , focusProps: focusProps } = (0, $dGqE5$useFocusRing)();
|
|
1343
1361
|
let isInteractionDisabled = isDisabled || isReadOnly;
|
|
1344
1362
|
// Handle press state for full label. Keyboard press state is returned by useCheckbox
|
|
@@ -1389,7 +1407,9 @@ function $bc237834342dbd75$var$Checkbox(props, ref) {
|
|
|
1389
1407
|
"data-readonly": isReadOnly || undefined,
|
|
1390
1408
|
"data-validation-state": props.validationState || (groupState === null || groupState === void 0 ? void 0 : groupState.validationState) || undefined,
|
|
1391
1409
|
"data-required": props.isRequired || undefined
|
|
1392
|
-
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden),
|
|
1410
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden), {
|
|
1411
|
+
elementType: "span"
|
|
1412
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement("input", {
|
|
1393
1413
|
...inputProps,
|
|
1394
1414
|
...focusProps,
|
|
1395
1415
|
ref: ref
|
|
@@ -1648,13 +1668,33 @@ function $eed445e0843c11d0$var$ListBoxPortal({ props: props , listBoxRef: listBo
|
|
|
1648
1668
|
* A listbox displays a list of options and allows a user to select one or more of them.
|
|
1649
1669
|
*/ const $eed445e0843c11d0$export$41f133550aa26f48 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($eed445e0843c11d0$var$ListBox);
|
|
1650
1670
|
function $eed445e0843c11d0$var$ListBoxInner({ state: state , props: props , listBoxRef: listBoxRef }) {
|
|
1651
|
-
let { dragAndDropHooks: dragAndDropHooks } = props;
|
|
1671
|
+
let { dragAndDropHooks: dragAndDropHooks , layout: layout = "stack" , orientation: orientation = "vertical" } = props;
|
|
1652
1672
|
let { collection: collection , selectionManager: selectionManager } = state;
|
|
1653
1673
|
let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
1654
1674
|
let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);
|
|
1675
|
+
let { direction: direction } = (0, $dGqE5$useLocale)();
|
|
1676
|
+
let { disabledBehavior: disabledBehavior , disabledKeys: disabledKeys } = selectionManager;
|
|
1677
|
+
let keyboardDelegate = (0, $dGqE5$useMemo)(()=>props.keyboardDelegate || new (0, $dGqE5$ListKeyboardDelegate)({
|
|
1678
|
+
collection: collection,
|
|
1679
|
+
ref: listBoxRef,
|
|
1680
|
+
disabledKeys: disabledBehavior === "selection" ? new Set() : disabledKeys,
|
|
1681
|
+
layout: layout,
|
|
1682
|
+
orientation: orientation,
|
|
1683
|
+
direction: direction
|
|
1684
|
+
}), [
|
|
1685
|
+
collection,
|
|
1686
|
+
listBoxRef,
|
|
1687
|
+
disabledBehavior,
|
|
1688
|
+
disabledKeys,
|
|
1689
|
+
orientation,
|
|
1690
|
+
direction,
|
|
1691
|
+
props.keyboardDelegate,
|
|
1692
|
+
layout
|
|
1693
|
+
]);
|
|
1655
1694
|
let { listBoxProps: listBoxProps } = (0, $dGqE5$useListBox)({
|
|
1656
1695
|
...props,
|
|
1657
|
-
shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp
|
|
1696
|
+
shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp,
|
|
1697
|
+
keyboardDelegate: keyboardDelegate
|
|
1658
1698
|
}, state, listBoxRef);
|
|
1659
1699
|
let children = (0, $7135fc7d473fd974$export$727c8fc270210f13)({
|
|
1660
1700
|
items: collection,
|
|
@@ -1677,8 +1717,13 @@ function $eed445e0843c11d0$var$ListBoxInner({ state: state , props: props , list
|
|
|
1677
1717
|
});
|
|
1678
1718
|
let dragHooksProvided = (0, $dGqE5$useRef)(isListDraggable);
|
|
1679
1719
|
let dropHooksProvided = (0, $dGqE5$useRef)(isListDroppable);
|
|
1680
|
-
|
|
1681
|
-
|
|
1720
|
+
(0, $dGqE5$useEffect)(()=>{
|
|
1721
|
+
if (dragHooksProvided.current !== isListDraggable) console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
1722
|
+
if (dropHooksProvided.current !== isListDroppable) console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
1723
|
+
}, [
|
|
1724
|
+
isListDraggable,
|
|
1725
|
+
isListDroppable
|
|
1726
|
+
]);
|
|
1682
1727
|
let dragState = undefined;
|
|
1683
1728
|
let dropState = undefined;
|
|
1684
1729
|
let droppableCollection = undefined;
|
|
@@ -1702,8 +1747,11 @@ function $eed445e0843c11d0$var$ListBoxInner({ state: state , props: props , list
|
|
|
1702
1747
|
collection: collection,
|
|
1703
1748
|
selectionManager: selectionManager
|
|
1704
1749
|
});
|
|
1705
|
-
let
|
|
1706
|
-
|
|
1750
|
+
let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection, listBoxRef, {
|
|
1751
|
+
orientation: orientation,
|
|
1752
|
+
layout: layout,
|
|
1753
|
+
direction: direction
|
|
1754
|
+
});
|
|
1707
1755
|
droppableCollection = dragAndDropHooks.useDroppableCollection({
|
|
1708
1756
|
keyboardDelegate: keyboardDelegate,
|
|
1709
1757
|
dropTargetDelegate: dropTargetDelegate
|
|
@@ -1741,7 +1789,9 @@ function $eed445e0843c11d0$var$ListBoxInner({ state: state , props: props , list
|
|
|
1741
1789
|
"data-drop-target": isRootDropTarget || undefined,
|
|
1742
1790
|
"data-empty": state.collection.size === 0 || undefined,
|
|
1743
1791
|
"data-focused": isFocused || undefined,
|
|
1744
|
-
"data-focus-visible": isFocusVisible || undefined
|
|
1792
|
+
"data-focus-visible": isFocusVisible || undefined,
|
|
1793
|
+
"data-layout": props.layout || "stack",
|
|
1794
|
+
"data-orientation": props.orientation || "vertical"
|
|
1745
1795
|
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {
|
|
1746
1796
|
values: [
|
|
1747
1797
|
[
|
|
@@ -1983,17 +2033,28 @@ function $44f671af83e7d9e0$var$OverlayArrow(props, ref) {
|
|
|
1983
2033
|
|
|
1984
2034
|
|
|
1985
2035
|
|
|
2036
|
+
|
|
1986
2037
|
const $07b14b47974efb58$export$9b9a0cd73afb7ca4 = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
1987
2038
|
function $07b14b47974efb58$var$Popover(props, ref) {
|
|
1988
2039
|
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $07b14b47974efb58$export$9b9a0cd73afb7ca4);
|
|
1989
|
-
let
|
|
2040
|
+
let ctx = props;
|
|
2041
|
+
let localState = (0, $dGqE5$useOverlayTriggerState)(props);
|
|
2042
|
+
let state = props.isOpen != null || props.defaultOpen != null || !(ctx === null || ctx === void 0 ? void 0 : ctx.state) ? localState : ctx.state;
|
|
1990
2043
|
let isExiting = (0, $64fa3d84918910a7$export$45fda7c47f93fd48)(ref, state.isOpen);
|
|
1991
|
-
if (state && !state.isOpen && !isExiting)
|
|
1992
|
-
|
|
1993
|
-
|
|
2044
|
+
if (state && !state.isOpen && !isExiting) {
|
|
2045
|
+
let children = props.children;
|
|
2046
|
+
if (typeof children === "function") children = children({
|
|
2047
|
+
placement: "bottom",
|
|
2048
|
+
isEntering: false,
|
|
2049
|
+
isExiting: false
|
|
2050
|
+
});
|
|
2051
|
+
return ctx.preserveChildren ? /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $64fa3d84918910a7$export$94b6d0abf7d33e8c).Provider, {
|
|
2052
|
+
value: true
|
|
2053
|
+
}, children) : null;
|
|
2054
|
+
}
|
|
1994
2055
|
return /*#__PURE__*/ (0, $dGqE5$react).createElement($07b14b47974efb58$var$PopoverInner, {
|
|
1995
2056
|
...props,
|
|
1996
|
-
triggerRef: triggerRef,
|
|
2057
|
+
triggerRef: ctx.triggerRef,
|
|
1997
2058
|
state: state,
|
|
1998
2059
|
popoverRef: ref,
|
|
1999
2060
|
isExiting: isExiting
|
|
@@ -2446,7 +2507,6 @@ function $40825cdb76e74f70$var$DateSegment({ segment: segment , ...otherProps },
|
|
|
2446
2507
|
|
|
2447
2508
|
|
|
2448
2509
|
|
|
2449
|
-
|
|
2450
2510
|
const $f3f84453ead64de5$export$ab57792b9b6974a6 = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
2451
2511
|
const $f3f84453ead64de5$var$InternalModalContext = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
2452
2512
|
function $f3f84453ead64de5$var$Modal(props, ref) {
|
|
@@ -2470,11 +2530,10 @@ function $f3f84453ead64de5$var$Modal(props, ref) {
|
|
|
2470
2530
|
/**
|
|
2471
2531
|
* A modal is an overlay element which blocks interaction with elements outside it.
|
|
2472
2532
|
*/ const $f3f84453ead64de5$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($f3f84453ead64de5$var$Modal);
|
|
2473
|
-
|
|
2533
|
+
function $f3f84453ead64de5$var$ModalOverlayWithForwardRef(props, ref) {
|
|
2474
2534
|
let ctx = (0, $dGqE5$useContext)($f3f84453ead64de5$export$ab57792b9b6974a6);
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
let state = (_ctx_state = ctx === null || ctx === void 0 ? void 0 : ctx.state) !== null && _ctx_state !== void 0 ? _ctx_state : (0, $dGqE5$useOverlayTriggerState)(props);
|
|
2535
|
+
let localState = (0, $dGqE5$useOverlayTriggerState)(props);
|
|
2536
|
+
let state = props.isOpen != null || props.defaultOpen != null || !(ctx === null || ctx === void 0 ? void 0 : ctx.state) ? localState : ctx.state;
|
|
2478
2537
|
let objectRef = (0, $dGqE5$useObjectRef)(ref);
|
|
2479
2538
|
let modalRef = (0, $dGqE5$useRef)(null);
|
|
2480
2539
|
let isOverlayExiting = (0, $64fa3d84918910a7$export$45fda7c47f93fd48)(objectRef, state.isOpen);
|
|
@@ -2488,7 +2547,8 @@ const $f3f84453ead64de5$export$8948f78d83984c69 = /*#__PURE__*/ (0, $dGqE5$forwa
|
|
|
2488
2547
|
overlayRef: objectRef,
|
|
2489
2548
|
modalRef: modalRef
|
|
2490
2549
|
});
|
|
2491
|
-
}
|
|
2550
|
+
}
|
|
2551
|
+
const $f3f84453ead64de5$export$8948f78d83984c69 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($f3f84453ead64de5$var$ModalOverlayWithForwardRef);
|
|
2492
2552
|
function $f3f84453ead64de5$var$ModalOverlayInner(props) {
|
|
2493
2553
|
let modalRef = props.modalRef;
|
|
2494
2554
|
let { state: state } = props;
|
|
@@ -2894,6 +2954,148 @@ function $06d5b8ec9ee5d538$var$DateRangePicker(props, ref) {
|
|
|
2894
2954
|
|
|
2895
2955
|
|
|
2896
2956
|
|
|
2957
|
+
/*
|
|
2958
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
2959
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2960
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2961
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2962
|
+
*
|
|
2963
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2964
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2965
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2966
|
+
* governing permissions and limitations under the License.
|
|
2967
|
+
*/
|
|
2968
|
+
|
|
2969
|
+
/*
|
|
2970
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
2971
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2972
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2973
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2974
|
+
*
|
|
2975
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2976
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2977
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2978
|
+
* governing permissions and limitations under the License.
|
|
2979
|
+
*/
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
|
|
2984
|
+
const $1e2864c73f66a4da$export$9106743a055caed1 = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
2985
|
+
function $1e2864c73f66a4da$var$FileTrigger(props, ref) {
|
|
2986
|
+
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $1e2864c73f66a4da$export$9106743a055caed1);
|
|
2987
|
+
let { onChange: onChange , acceptedFileTypes: acceptedFileTypes , className: className , allowsMultiple: allowsMultiple , defaultCamera: defaultCamera , children: children , ...otherProps } = props;
|
|
2988
|
+
let inputRef = (0, $dGqE5$useRef)(null);
|
|
2989
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement("div", {
|
|
2990
|
+
className: className || "react-aria-FileTrigger",
|
|
2991
|
+
...(0, $dGqE5$filterDOMProps)(otherProps),
|
|
2992
|
+
ref: ref,
|
|
2993
|
+
slot: props.slot
|
|
2994
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$PressResponder), {
|
|
2995
|
+
onPress: ()=>{
|
|
2996
|
+
var _inputRef_current;
|
|
2997
|
+
return (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.click();
|
|
2998
|
+
}
|
|
2999
|
+
}, children), /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $3985021b0ad6602f$export$f5b8910cec6cf069), {
|
|
3000
|
+
type: "file",
|
|
3001
|
+
ref: inputRef,
|
|
3002
|
+
style: {
|
|
3003
|
+
display: "none"
|
|
3004
|
+
},
|
|
3005
|
+
accept: acceptedFileTypes === null || acceptedFileTypes === void 0 ? void 0 : acceptedFileTypes.toString(),
|
|
3006
|
+
onChange: (e)=>{
|
|
3007
|
+
return onChange === null || onChange === void 0 ? void 0 : onChange(e.target.files);
|
|
3008
|
+
},
|
|
3009
|
+
capture: defaultCamera,
|
|
3010
|
+
multiple: allowsMultiple
|
|
3011
|
+
}));
|
|
3012
|
+
}
|
|
3013
|
+
/**
|
|
3014
|
+
* A FileTrigger allows a user to access the file system with either a Button or Link.
|
|
3015
|
+
*/ const $1e2864c73f66a4da$export$6fb4a10d2c950550 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($1e2864c73f66a4da$var$FileTrigger);
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
|
|
3021
|
+
const $cb088e721efb9218$export$14a72053295ff9a6 = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
3022
|
+
function $cb088e721efb9218$var$DropZone(props, ref) {
|
|
3023
|
+
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $cb088e721efb9218$export$14a72053295ff9a6);
|
|
3024
|
+
let buttonRef = (0, $dGqE5$useRef)(null);
|
|
3025
|
+
let { dropProps: dropProps , dropButtonProps: dropButtonProps , isDropTarget: isDropTarget } = (0, $dGqE5$useDrop)({
|
|
3026
|
+
...props,
|
|
3027
|
+
ref: buttonRef,
|
|
3028
|
+
hasDropButton: true
|
|
3029
|
+
});
|
|
3030
|
+
let { hoverProps: hoverProps , isHovered: isHovered } = (0, $dGqE5$useHover)({});
|
|
3031
|
+
let { focusProps: focusProps , isFocused: isFocused , isFocusVisible: isFocusVisible } = (0, $dGqE5$useFocusRing)();
|
|
3032
|
+
let textId = (0, $dGqE5$useId)();
|
|
3033
|
+
let labelProps = (0, $dGqE5$useLabels)({
|
|
3034
|
+
"aria-labelledby": textId
|
|
3035
|
+
});
|
|
3036
|
+
let { clipboardProps: clipboardProps } = (0, $dGqE5$useClipboard)({
|
|
3037
|
+
onPaste: (items)=>{
|
|
3038
|
+
var _props_onDrop;
|
|
3039
|
+
return (_props_onDrop = props.onDrop) === null || _props_onDrop === void 0 ? void 0 : _props_onDrop.call(props, {
|
|
3040
|
+
type: "drop",
|
|
3041
|
+
items: items,
|
|
3042
|
+
x: 0,
|
|
3043
|
+
y: 0,
|
|
3044
|
+
dropOperation: "copy"
|
|
3045
|
+
});
|
|
3046
|
+
}
|
|
3047
|
+
});
|
|
3048
|
+
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
3049
|
+
...props,
|
|
3050
|
+
values: {
|
|
3051
|
+
isHovered: isHovered,
|
|
3052
|
+
isFocused: isFocused,
|
|
3053
|
+
isFocusVisible: isFocusVisible,
|
|
3054
|
+
isDropTarget: isDropTarget
|
|
3055
|
+
},
|
|
3056
|
+
defaultClassName: "react-aria-DropZone"
|
|
3057
|
+
});
|
|
3058
|
+
let DOMProps = (0, $dGqE5$filterDOMProps)(props);
|
|
3059
|
+
delete DOMProps.id;
|
|
3060
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {
|
|
3061
|
+
values: [
|
|
3062
|
+
[
|
|
3063
|
+
(0, $1e2864c73f66a4da$export$9106743a055caed1),
|
|
3064
|
+
{}
|
|
3065
|
+
],
|
|
3066
|
+
[
|
|
3067
|
+
(0, $514c0188e459b4c0$export$9afb8bc826b033ea),
|
|
3068
|
+
{
|
|
3069
|
+
id: textId,
|
|
3070
|
+
slot: "heading"
|
|
3071
|
+
}
|
|
3072
|
+
]
|
|
3073
|
+
]
|
|
3074
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement("div", {
|
|
3075
|
+
...(0, $dGqE5$mergeProps)(dropProps, hoverProps, DOMProps),
|
|
3076
|
+
...renderProps,
|
|
3077
|
+
slot: props.slot,
|
|
3078
|
+
onClick: ()=>{
|
|
3079
|
+
var _buttonRef_current;
|
|
3080
|
+
return (_buttonRef_current = buttonRef.current) === null || _buttonRef_current === void 0 ? void 0 : _buttonRef_current.focus();
|
|
3081
|
+
},
|
|
3082
|
+
"data-hovered": isHovered || undefined,
|
|
3083
|
+
"data-focused": isFocused || undefined,
|
|
3084
|
+
"data-focus-visible": isFocusVisible || undefined,
|
|
3085
|
+
"data-drop-target": isDropTarget || undefined
|
|
3086
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden), null, /*#__PURE__*/ (0, $dGqE5$react).createElement("button", {
|
|
3087
|
+
...(0, $dGqE5$mergeProps)(dropButtonProps, focusProps, clipboardProps, labelProps),
|
|
3088
|
+
"aria-label": "DropZone" // will need to update with string formatter
|
|
3089
|
+
,
|
|
3090
|
+
ref: buttonRef
|
|
3091
|
+
})), renderProps.children));
|
|
3092
|
+
}
|
|
3093
|
+
/**
|
|
3094
|
+
* A dropzone is an area into which one or multiple objects can be dragged and dropped.
|
|
3095
|
+
*/ const $cb088e721efb9218$export$3c6489d84dc98b6 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($cb088e721efb9218$var$DropZone);
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
|
|
2897
3099
|
/*
|
|
2898
3100
|
* Copyright 2022 Adobe. All rights reserved.
|
|
2899
3101
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -2944,8 +3146,13 @@ function $72e60046c03fbe42$var$GridList(props, ref) {
|
|
|
2944
3146
|
let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);
|
|
2945
3147
|
let dragHooksProvided = (0, $dGqE5$useRef)(isListDraggable);
|
|
2946
3148
|
let dropHooksProvided = (0, $dGqE5$useRef)(isListDroppable);
|
|
2947
|
-
|
|
2948
|
-
|
|
3149
|
+
(0, $dGqE5$useEffect)(()=>{
|
|
3150
|
+
if (dragHooksProvided.current !== isListDraggable) console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
3151
|
+
if (dropHooksProvided.current !== isListDroppable) console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
3152
|
+
}, [
|
|
3153
|
+
isListDraggable,
|
|
3154
|
+
isListDroppable
|
|
3155
|
+
]);
|
|
2949
3156
|
let dragState = undefined;
|
|
2950
3157
|
let dropState = undefined;
|
|
2951
3158
|
let droppableCollection = undefined;
|
|
@@ -3757,7 +3964,11 @@ function $b6c3ddc6086f204d$var$RadioGroup(props, ref) {
|
|
|
3757
3964
|
function $b6c3ddc6086f204d$var$Radio(props, ref) {
|
|
3758
3965
|
let state = (0, $dGqE5$react).useContext($b6c3ddc6086f204d$var$InternalRadioContext);
|
|
3759
3966
|
let domRef = (0, $dGqE5$useObjectRef)(ref);
|
|
3760
|
-
let { inputProps: inputProps , isSelected: isSelected , isDisabled: isDisabled , isPressed: isPressedKeyboard } = (0, $dGqE5$useRadio)(
|
|
3967
|
+
let { inputProps: inputProps , isSelected: isSelected , isDisabled: isDisabled , isPressed: isPressedKeyboard } = (0, $dGqE5$useRadio)({
|
|
3968
|
+
...props,
|
|
3969
|
+
// ReactNode type doesn't allow function children.
|
|
3970
|
+
children: typeof props.children === "function" ? true : props.children
|
|
3971
|
+
}, state, domRef);
|
|
3761
3972
|
let { isFocused: isFocused , isFocusVisible: isFocusVisible , focusProps: focusProps } = (0, $dGqE5$useFocusRing)();
|
|
3762
3973
|
let interactionDisabled = isDisabled || state.isReadOnly;
|
|
3763
3974
|
// Handle press state for full label. Keyboard press state is returned by useCheckbox
|
|
@@ -3804,7 +4015,9 @@ function $b6c3ddc6086f204d$var$Radio(props, ref) {
|
|
|
3804
4015
|
"data-readonly": state.isReadOnly || undefined,
|
|
3805
4016
|
"data-validation-state": state.validationState || undefined,
|
|
3806
4017
|
"data-required": state.isRequired || undefined
|
|
3807
|
-
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden),
|
|
4018
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden), {
|
|
4019
|
+
elementType: "span"
|
|
4020
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement("input", {
|
|
3808
4021
|
...inputProps,
|
|
3809
4022
|
...focusProps,
|
|
3810
4023
|
ref: domRef
|
|
@@ -3918,7 +4131,6 @@ function $440f4836bcb56932$var$SearchField(props, ref) {
|
|
|
3918
4131
|
|
|
3919
4132
|
|
|
3920
4133
|
|
|
3921
|
-
|
|
3922
4134
|
const $82d7e5349645de74$export$7540cee5be7dc19b = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
3923
4135
|
const $82d7e5349645de74$var$InternalSelectContext = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
3924
4136
|
function $82d7e5349645de74$var$Select(props, ref) {
|
|
@@ -4277,7 +4489,11 @@ const $8e59e948500a8fe1$export$8699e3b644d5a28a = /*#__PURE__*/ (0, $dGqE5$creat
|
|
|
4277
4489
|
function $8e59e948500a8fe1$var$Switch(props, ref) {
|
|
4278
4490
|
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $8e59e948500a8fe1$export$8699e3b644d5a28a);
|
|
4279
4491
|
let state = (0, $dGqE5$useToggleState)(props);
|
|
4280
|
-
let { inputProps: inputProps , isSelected: isSelected , isDisabled: isDisabled , isReadOnly: isReadOnly , isPressed: isPressedKeyboard } = (0, $dGqE5$useSwitch)(
|
|
4492
|
+
let { inputProps: inputProps , isSelected: isSelected , isDisabled: isDisabled , isReadOnly: isReadOnly , isPressed: isPressedKeyboard } = (0, $dGqE5$useSwitch)({
|
|
4493
|
+
...props,
|
|
4494
|
+
// ReactNode type doesn't allow function children.
|
|
4495
|
+
children: typeof props.children === "function" ? true : props.children
|
|
4496
|
+
}, state, ref);
|
|
4281
4497
|
let { isFocused: isFocused , isFocusVisible: isFocusVisible , focusProps: focusProps } = (0, $dGqE5$useFocusRing)();
|
|
4282
4498
|
let isInteractionDisabled = props.isDisabled || props.isReadOnly;
|
|
4283
4499
|
// Handle press state for full label. Keyboard press state is returned by useSwitch
|
|
@@ -4321,7 +4537,9 @@ function $8e59e948500a8fe1$var$Switch(props, ref) {
|
|
|
4321
4537
|
"data-focus-visible": isFocusVisible || undefined,
|
|
4322
4538
|
"data-disabled": isDisabled || undefined,
|
|
4323
4539
|
"data-readonly": isReadOnly || undefined
|
|
4324
|
-
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden),
|
|
4540
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$VisuallyHidden), {
|
|
4541
|
+
elementType: "span"
|
|
4542
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement("input", {
|
|
4325
4543
|
...inputProps,
|
|
4326
4544
|
...focusProps,
|
|
4327
4545
|
ref: ref
|
|
@@ -4342,8 +4560,6 @@ function $8e59e948500a8fe1$var$Switch(props, ref) {
|
|
|
4342
4560
|
|
|
4343
4561
|
|
|
4344
4562
|
|
|
4345
|
-
|
|
4346
|
-
let $1910c06f0ca9905e$var$_Symbol_iterator = Symbol.iterator;
|
|
4347
4563
|
class $1910c06f0ca9905e$var$TableCollection extends (0, $7135fc7d473fd974$export$408d25a4e12db025) {
|
|
4348
4564
|
addNode(node) {
|
|
4349
4565
|
super.addNode(node);
|
|
@@ -4386,7 +4602,7 @@ class $1910c06f0ca9905e$var$TableCollection extends (0, $7135fc7d473fd974$export
|
|
|
4386
4602
|
...this.getChildren(this.body.key)
|
|
4387
4603
|
];
|
|
4388
4604
|
}
|
|
4389
|
-
*[
|
|
4605
|
+
*[Symbol.iterator]() {
|
|
4390
4606
|
yield* this.getChildren(this.body.key);
|
|
4391
4607
|
}
|
|
4392
4608
|
get size() {
|
|
@@ -4454,12 +4670,12 @@ class $1910c06f0ca9905e$var$TableCollection extends (0, $7135fc7d473fd974$export
|
|
|
4454
4670
|
}
|
|
4455
4671
|
constructor(...args){
|
|
4456
4672
|
super(...args);
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4673
|
+
this.headerRows = [];
|
|
4674
|
+
this.columns = [];
|
|
4675
|
+
this.rowHeaderColumnKeys = new Set();
|
|
4676
|
+
this.head = new (0, $7135fc7d473fd974$export$f5d856d854e74713)("tableheader", -1);
|
|
4677
|
+
this.body = new (0, $7135fc7d473fd974$export$f5d856d854e74713)("tablebody", -2);
|
|
4678
|
+
this.columnsDirty = true;
|
|
4463
4679
|
}
|
|
4464
4680
|
}
|
|
4465
4681
|
const $1910c06f0ca9905e$export$93e4b0b2cc49b648 = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
@@ -4480,8 +4696,13 @@ function $1910c06f0ca9905e$var$Table(props, ref) {
|
|
|
4480
4696
|
let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);
|
|
4481
4697
|
let dragHooksProvided = (0, $dGqE5$useRef)(isListDraggable);
|
|
4482
4698
|
let dropHooksProvided = (0, $dGqE5$useRef)(isListDroppable);
|
|
4483
|
-
|
|
4484
|
-
|
|
4699
|
+
(0, $dGqE5$useEffect)(()=>{
|
|
4700
|
+
if (dragHooksProvided.current !== isListDraggable) console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
4701
|
+
if (dropHooksProvided.current !== isListDroppable) console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
|
|
4702
|
+
}, [
|
|
4703
|
+
isListDraggable,
|
|
4704
|
+
isListDroppable
|
|
4705
|
+
]);
|
|
4485
4706
|
let dragState = undefined;
|
|
4486
4707
|
let dropState = undefined;
|
|
4487
4708
|
let droppableCollection = undefined;
|
|
@@ -4599,7 +4820,9 @@ function $1910c06f0ca9905e$var$TableHeader(props, ref) {
|
|
|
4599
4820
|
*/ const $1910c06f0ca9905e$export$f850895b287ef28e = /*#__PURE__*/ (0, $dGqE5$forwardRef)($1910c06f0ca9905e$var$TableHeader);
|
|
4600
4821
|
function $1910c06f0ca9905e$var$Column(props, ref) {
|
|
4601
4822
|
let render = (0, $dGqE5$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));
|
|
4602
|
-
let childColumns
|
|
4823
|
+
let childColumns;
|
|
4824
|
+
if (typeof render === "function") childColumns = render;
|
|
4825
|
+
else if (typeof props.children !== "function") childColumns = props.children;
|
|
4603
4826
|
let children = (0, $7135fc7d473fd974$export$901dbff4e54a6dd0)({
|
|
4604
4827
|
children: props.title || props.childColumns ? childColumns : null,
|
|
4605
4828
|
items: props.childColumns
|
|
@@ -5040,13 +5263,18 @@ const $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f = /*#__PURE__*/ (0, $dGqE5$creat
|
|
|
5040
5263
|
const $5e8ad37a45e1c704$var$InternalTabsContext = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
5041
5264
|
function $5e8ad37a45e1c704$var$Tabs(props, ref) {
|
|
5042
5265
|
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);
|
|
5043
|
-
let { orientation: orientation = "horizontal" } = props;
|
|
5266
|
+
let { orientation: orientation = "horizontal" , keyboardActivation: keyboardActivation = "automatic" } = props;
|
|
5044
5267
|
let values = (0, $dGqE5$useMemo)(()=>({
|
|
5045
5268
|
orientation: orientation
|
|
5046
5269
|
}), [
|
|
5047
5270
|
orientation
|
|
5048
5271
|
]);
|
|
5049
|
-
let
|
|
5272
|
+
let { collection: collection , document: document } = (0, $7135fc7d473fd974$export$7cd71aa5ddd6dc4e)();
|
|
5273
|
+
let state = (0, $dGqE5$useTabListState)({
|
|
5274
|
+
...props,
|
|
5275
|
+
collection: collection,
|
|
5276
|
+
children: undefined
|
|
5277
|
+
});
|
|
5050
5278
|
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
5051
5279
|
...props,
|
|
5052
5280
|
defaultClassName: "react-aria-Tabs",
|
|
@@ -5061,8 +5289,9 @@ function $5e8ad37a45e1c704$var$Tabs(props, ref) {
|
|
|
5061
5289
|
}, /*#__PURE__*/ (0, $dGqE5$react).createElement($5e8ad37a45e1c704$var$InternalTabsContext.Provider, {
|
|
5062
5290
|
value: {
|
|
5063
5291
|
state: state,
|
|
5064
|
-
|
|
5065
|
-
orientation: orientation
|
|
5292
|
+
document: document,
|
|
5293
|
+
orientation: orientation,
|
|
5294
|
+
keyboardActivation: keyboardActivation
|
|
5066
5295
|
}
|
|
5067
5296
|
}, renderProps.children));
|
|
5068
5297
|
}
|
|
@@ -5070,25 +5299,14 @@ function $5e8ad37a45e1c704$var$Tabs(props, ref) {
|
|
|
5070
5299
|
* Tabs organize content into multiple sections and allow users to navigate between them.
|
|
5071
5300
|
*/ const $5e8ad37a45e1c704$export$b2539bed5023c21c = /*#__PURE__*/ (0, $dGqE5$forwardRef)($5e8ad37a45e1c704$var$Tabs);
|
|
5072
5301
|
function $5e8ad37a45e1c704$var$TabList(props, ref) {
|
|
5073
|
-
let {
|
|
5302
|
+
let { state: state , document: document , orientation: orientation , keyboardActivation: keyboardActivation } = (0, $dGqE5$useContext)($5e8ad37a45e1c704$var$InternalTabsContext);
|
|
5074
5303
|
let objectRef = (0, $dGqE5$useObjectRef)(ref);
|
|
5075
|
-
let
|
|
5076
|
-
let state = (0, $dGqE5$useTabListState)({
|
|
5077
|
-
...props,
|
|
5078
|
-
collection: collection,
|
|
5079
|
-
children: undefined
|
|
5080
|
-
});
|
|
5304
|
+
let portal = (0, $7135fc7d473fd974$export$ad42d5efb4461b31)(props, document);
|
|
5081
5305
|
let { tabListProps: tabListProps } = (0, $dGqE5$useTabList)({
|
|
5082
5306
|
...props,
|
|
5083
|
-
orientation: orientation
|
|
5307
|
+
orientation: orientation,
|
|
5308
|
+
keyboardActivation: keyboardActivation
|
|
5084
5309
|
}, state, objectRef);
|
|
5085
|
-
(0, $dGqE5$useEffect)(()=>{
|
|
5086
|
-
setState(state);
|
|
5087
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
5088
|
-
}, [
|
|
5089
|
-
collection,
|
|
5090
|
-
state.selectedKey
|
|
5091
|
-
]);
|
|
5092
5310
|
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
5093
5311
|
...props,
|
|
5094
5312
|
children: null,
|
|
@@ -5159,44 +5377,224 @@ function $5e8ad37a45e1c704$var$TabInner({ item: item , state: state }) {
|
|
|
5159
5377
|
"data-hovered": isHovered || undefined
|
|
5160
5378
|
});
|
|
5161
5379
|
}
|
|
5162
|
-
function $5e8ad37a45e1c704$
|
|
5380
|
+
function $5e8ad37a45e1c704$var$TabPanel(props, forwardedRef) {
|
|
5163
5381
|
const { state: state } = (0, $dGqE5$useContext)($5e8ad37a45e1c704$var$InternalTabsContext);
|
|
5164
|
-
let
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
}
|
|
5170
|
-
function $5e8ad37a45e1c704$var$TabPanel(props, ref) {
|
|
5171
|
-
return /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $7135fc7d473fd974$export$6d08773d2e66f8f2), {
|
|
5382
|
+
let ref = (0, $dGqE5$useObjectRef)(forwardedRef);
|
|
5383
|
+
let { tabPanelProps: tabPanelProps } = (0, $dGqE5$useTabPanel)(props, state, ref);
|
|
5384
|
+
let { focusProps: focusProps , isFocused: isFocused , isFocusVisible: isFocusVisible } = (0, $dGqE5$useFocusRing)();
|
|
5385
|
+
let isSelected = state.selectedKey === props.id;
|
|
5386
|
+
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
5172
5387
|
...props,
|
|
5173
|
-
|
|
5388
|
+
defaultClassName: "react-aria-TabPanel",
|
|
5389
|
+
values: {
|
|
5390
|
+
isFocused: isFocused,
|
|
5391
|
+
isFocusVisible: isFocusVisible,
|
|
5392
|
+
isInert: !isSelected
|
|
5393
|
+
}
|
|
5394
|
+
});
|
|
5395
|
+
if (!isSelected && !props.shouldForceMount) return null;
|
|
5396
|
+
let DOMProps = (0, $dGqE5$filterDOMProps)(props);
|
|
5397
|
+
delete DOMProps.id;
|
|
5398
|
+
let domProps = isSelected ? (0, $dGqE5$mergeProps)(DOMProps, tabPanelProps, focusProps, renderProps) : renderProps;
|
|
5399
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement("div", {
|
|
5400
|
+
...domProps,
|
|
5401
|
+
ref: ref,
|
|
5402
|
+
"data-focus-visible": isFocusVisible || undefined,
|
|
5403
|
+
// @ts-ignore
|
|
5404
|
+
inert: !isSelected ? "true" : undefined
|
|
5174
5405
|
});
|
|
5175
5406
|
}
|
|
5176
5407
|
/**
|
|
5177
5408
|
* A TabPanel provides the content for a tab.
|
|
5178
5409
|
*/ const $5e8ad37a45e1c704$export$3d96ec278d3efce4 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($5e8ad37a45e1c704$var$TabPanel);
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5410
|
+
|
|
5411
|
+
|
|
5412
|
+
/*
|
|
5413
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
5414
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
5415
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5416
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
5417
|
+
*
|
|
5418
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
5419
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
5420
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
5421
|
+
* governing permissions and limitations under the License.
|
|
5422
|
+
*/
|
|
5423
|
+
|
|
5424
|
+
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
|
|
5431
|
+
const $eaf9e70818b436db$export$5b07b5dd2cbd96e3 = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
5432
|
+
const $eaf9e70818b436db$var$InternalTagGroupContext = /*#__PURE__*/ (0, $dGqE5$createContext)(null);
|
|
5433
|
+
function $eaf9e70818b436db$var$TagGroup(props, ref) {
|
|
5434
|
+
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $eaf9e70818b436db$export$5b07b5dd2cbd96e3);
|
|
5435
|
+
let tagListRef = (0, $dGqE5$useRef)(null);
|
|
5436
|
+
let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();
|
|
5437
|
+
let { collection: collection , document: document } = (0, $7135fc7d473fd974$export$7cd71aa5ddd6dc4e)();
|
|
5438
|
+
let state = (0, $dGqE5$useListState)({
|
|
5439
|
+
...props,
|
|
5440
|
+
children: undefined,
|
|
5441
|
+
collection: collection
|
|
5442
|
+
});
|
|
5443
|
+
// Prevent DOM props from going to two places.
|
|
5444
|
+
let domProps = (0, $dGqE5$filterDOMProps)(props);
|
|
5445
|
+
let domPropOverrides = Object.fromEntries(Object.entries(domProps).map(([k])=>[
|
|
5446
|
+
k,
|
|
5447
|
+
undefined
|
|
5448
|
+
]));
|
|
5449
|
+
let { gridProps: gridProps , labelProps: labelProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = (0, $dGqE5$useTagGroup)({
|
|
5450
|
+
...props,
|
|
5451
|
+
...domPropOverrides,
|
|
5452
|
+
label: label
|
|
5453
|
+
}, state, tagListRef);
|
|
5454
|
+
var _props_className;
|
|
5455
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement("div", {
|
|
5456
|
+
...domProps,
|
|
5457
|
+
ref: ref,
|
|
5458
|
+
slot: props.slot,
|
|
5459
|
+
className: (_props_className = props.className) !== null && _props_className !== void 0 ? _props_className : "react-aria-TagGroup",
|
|
5460
|
+
style: props.style
|
|
5461
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {
|
|
5462
|
+
values: [
|
|
5463
|
+
[
|
|
5464
|
+
(0, $01b77f81d0f07f68$export$75b6ee27786ba447),
|
|
5465
|
+
{
|
|
5466
|
+
...labelProps,
|
|
5467
|
+
elementType: "span",
|
|
5468
|
+
ref: labelRef
|
|
5469
|
+
}
|
|
5470
|
+
],
|
|
5471
|
+
[
|
|
5472
|
+
$eaf9e70818b436db$var$InternalTagGroupContext,
|
|
5473
|
+
{
|
|
5474
|
+
state: state,
|
|
5475
|
+
document: document,
|
|
5476
|
+
gridProps: gridProps,
|
|
5477
|
+
tagListRef: tagListRef
|
|
5478
|
+
}
|
|
5479
|
+
],
|
|
5480
|
+
[
|
|
5481
|
+
(0, $514c0188e459b4c0$export$9afb8bc826b033ea),
|
|
5482
|
+
{
|
|
5483
|
+
slots: {
|
|
5484
|
+
description: descriptionProps,
|
|
5485
|
+
errorMessage: errorMessageProps
|
|
5486
|
+
}
|
|
5487
|
+
}
|
|
5488
|
+
]
|
|
5489
|
+
]
|
|
5490
|
+
}, props.children));
|
|
5491
|
+
}
|
|
5492
|
+
/**
|
|
5493
|
+
* A tag group is a focusable list of labels, categories, keywords, filters, or other items, with support for keyboard navigation, selection, and removal.
|
|
5494
|
+
*/ const $eaf9e70818b436db$export$67ea30858aaf75e3 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($eaf9e70818b436db$var$TagGroup);
|
|
5495
|
+
function $eaf9e70818b436db$var$TagList(props, forwardedRef) {
|
|
5496
|
+
let { state: state , document: document , gridProps: gridProps , tagListRef: tagListRef } = (0, $dGqE5$useContext)($eaf9e70818b436db$var$InternalTagGroupContext);
|
|
5497
|
+
let portal = (0, $7135fc7d473fd974$export$ad42d5efb4461b31)(props, document);
|
|
5498
|
+
let ref = (0, $dGqE5$mergeRefs)(tagListRef, forwardedRef);
|
|
5499
|
+
let children = (0, $7135fc7d473fd974$export$727c8fc270210f13)({
|
|
5500
|
+
items: state.collection,
|
|
5501
|
+
children: (item)=>{
|
|
5502
|
+
switch(item.type){
|
|
5503
|
+
case "item":
|
|
5504
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement($eaf9e70818b436db$var$TagItem, {
|
|
5505
|
+
item: item
|
|
5506
|
+
});
|
|
5507
|
+
default:
|
|
5508
|
+
throw new Error("Unsupported node type in TagList: " + item.type);
|
|
5509
|
+
}
|
|
5510
|
+
}
|
|
5511
|
+
});
|
|
5183
5512
|
let { focusProps: focusProps , isFocused: isFocused , isFocusVisible: isFocusVisible } = (0, $dGqE5$useFocusRing)();
|
|
5184
5513
|
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
defaultClassName: "react-aria-
|
|
5514
|
+
className: props.className,
|
|
5515
|
+
style: props.style,
|
|
5516
|
+
defaultClassName: "react-aria-TagList",
|
|
5188
5517
|
values: {
|
|
5518
|
+
isEmpty: state.collection.size === 0,
|
|
5189
5519
|
isFocused: isFocused,
|
|
5190
5520
|
isFocusVisible: isFocusVisible
|
|
5191
5521
|
}
|
|
5192
5522
|
});
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
...(0, $dGqE5$
|
|
5523
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $dGqE5$react).Fragment, null, /*#__PURE__*/ (0, $dGqE5$react).createElement("div", {
|
|
5524
|
+
...(0, $dGqE5$mergeProps1)(gridProps, focusProps),
|
|
5525
|
+
...renderProps,
|
|
5526
|
+
...(0, $dGqE5$filterDOMProps)(props),
|
|
5197
5527
|
ref: ref,
|
|
5528
|
+
"data-empty": state.collection.size === 0 || undefined,
|
|
5529
|
+
"data-focused": isFocused || undefined,
|
|
5198
5530
|
"data-focus-visible": isFocusVisible || undefined
|
|
5531
|
+
}, state.collection.size === 0 && props.renderEmptyState ? props.renderEmptyState() : children), portal);
|
|
5532
|
+
}
|
|
5533
|
+
/**
|
|
5534
|
+
* A tag list is a container for tags within a TagGroup.
|
|
5535
|
+
*/ const $eaf9e70818b436db$export$f9fef0f55402315b = /*#__PURE__*/ (0, $dGqE5$forwardRef)($eaf9e70818b436db$var$TagList);
|
|
5536
|
+
function $eaf9e70818b436db$var$Tag(props, ref) {
|
|
5537
|
+
// @ts-ignore
|
|
5538
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $7135fc7d473fd974$export$6d08773d2e66f8f2), {
|
|
5539
|
+
...props,
|
|
5540
|
+
ref: ref
|
|
5541
|
+
});
|
|
5542
|
+
}
|
|
5543
|
+
/**
|
|
5544
|
+
* A Tag is an individual item within a TagList.
|
|
5545
|
+
*/ const $eaf9e70818b436db$export$3288d34c523a1192 = /*#__PURE__*/ (0, $dGqE5$forwardRef)($eaf9e70818b436db$var$Tag);
|
|
5546
|
+
function $eaf9e70818b436db$var$TagItem({ item: item }) {
|
|
5547
|
+
let { state: state } = (0, $dGqE5$useContext)($eaf9e70818b436db$var$InternalTagGroupContext);
|
|
5548
|
+
let ref = (0, $dGqE5$useObjectRef)(item.props.ref);
|
|
5549
|
+
let { focusProps: focusProps , isFocusVisible: isFocusVisible } = (0, $dGqE5$useFocusRing)({
|
|
5550
|
+
within: true
|
|
5551
|
+
});
|
|
5552
|
+
let { rowProps: rowProps , gridCellProps: gridCellProps , removeButtonProps: removeButtonProps , ...states } = (0, $dGqE5$useTag)({
|
|
5553
|
+
item: item
|
|
5554
|
+
}, state, ref);
|
|
5555
|
+
let { hoverProps: hoverProps , isHovered: isHovered } = (0, $dGqE5$useHover)({
|
|
5556
|
+
isDisabled: !states.allowsSelection
|
|
5557
|
+
});
|
|
5558
|
+
let props = item.props;
|
|
5559
|
+
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
5560
|
+
...props,
|
|
5561
|
+
id: undefined,
|
|
5562
|
+
children: item.rendered,
|
|
5563
|
+
defaultClassName: "react-aria-Tag",
|
|
5564
|
+
values: {
|
|
5565
|
+
...states,
|
|
5566
|
+
isFocusVisible: isFocusVisible,
|
|
5567
|
+
isHovered: isHovered,
|
|
5568
|
+
selectionMode: state.selectionManager.selectionMode,
|
|
5569
|
+
selectionBehavior: state.selectionManager.selectionBehavior
|
|
5570
|
+
}
|
|
5199
5571
|
});
|
|
5572
|
+
(0, $dGqE5$useEffect)(()=>{
|
|
5573
|
+
if (!item.textValue) console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.");
|
|
5574
|
+
}, [
|
|
5575
|
+
item.textValue
|
|
5576
|
+
]);
|
|
5577
|
+
return /*#__PURE__*/ (0, $dGqE5$react).createElement("div", {
|
|
5578
|
+
ref: ref,
|
|
5579
|
+
...renderProps,
|
|
5580
|
+
...(0, $dGqE5$mergeProps1)((0, $dGqE5$filterDOMProps)(props), rowProps, focusProps, hoverProps),
|
|
5581
|
+
"data-hovered": isHovered || undefined,
|
|
5582
|
+
"data-focused": states.isFocused || undefined,
|
|
5583
|
+
"data-focus-visible": isFocusVisible || undefined,
|
|
5584
|
+
"data-pressed": states.isPressed || undefined,
|
|
5585
|
+
"data-allows-removing": states.allowsRemoving || undefined
|
|
5586
|
+
}, /*#__PURE__*/ (0, $dGqE5$react).createElement("div", gridCellProps, /*#__PURE__*/ (0, $dGqE5$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {
|
|
5587
|
+
values: [
|
|
5588
|
+
[
|
|
5589
|
+
(0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),
|
|
5590
|
+
{
|
|
5591
|
+
slots: {
|
|
5592
|
+
remove: removeButtonProps
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5595
|
+
]
|
|
5596
|
+
]
|
|
5597
|
+
}, renderProps.children)));
|
|
5200
5598
|
}
|
|
5201
5599
|
|
|
5202
5600
|
|
|
@@ -5409,5 +5807,5 @@ function $4e3b923658d69c60$var$TooltipInner(props) {
|
|
|
5409
5807
|
|
|
5410
5808
|
|
|
5411
5809
|
|
|
5412
|
-
export {$778035c5624f61e7$export$2dc68d50d56fbbd as Breadcrumbs, $778035c5624f61e7$export$65596d3621b0a4a0 as BreadcrumbsContext, $d2b4bc8c273e7be6$export$353f5b6fc5456de1 as Button, $d2b4bc8c273e7be6$export$24d547caef80ccd1 as ButtonContext, $dfd62f934fc76fed$export$e1aef45b828286de as Calendar, $dfd62f934fc76fed$export$5bd780d491cfc46c as CalendarGrid, $dfd62f934fc76fed$export$22e2d15eaa4d2377 as CalendarGridHeader, $dfd62f934fc76fed$export$e11f8ba65d857bff as CalendarGridBody, $dfd62f934fc76fed$export$ad2135cac3a11b3d as CalendarHeaderCell, $dfd62f934fc76fed$export$5d847498420df57b as CalendarCell, $dfd62f934fc76fed$export$a4f5c8b89d277a8d as RangeCalendar, $dfd62f934fc76fed$export$3b805cea1f178355 as CalendarContext, $dfd62f934fc76fed$export$233dd9682e1ad64b as RangeCalendarContext, $bc237834342dbd75$export$48513f6b9f8ce62d as Checkbox, $bc237834342dbd75$export$4aa08d5625cb8ead as CheckboxGroup, $bc237834342dbd75$export$baf37c4be89255b8 as CheckboxGroupContext, $bc237834342dbd75$export$b085522c77523c51 as CheckboxContext, $d01f2c01039c0eec$export$72b9695b8216309a as ComboBox, $d01f2c01039c0eec$export$d414ccceff7063c3 as ComboBoxContext, $40825cdb76e74f70$export$d9781c7894a82487 as DateField, $40825cdb76e74f70$export$7edc06cf1783b30f as DateInput, $40825cdb76e74f70$export$336ab7fa954c4b5f as DateSegment, $40825cdb76e74f70$export$5eaee2322dd727eb as TimeField, $40825cdb76e74f70$export$7b3e670c86da5fe8 as DateFieldContext, $40825cdb76e74f70$export$8e17ddc448e87c1e as TimeFieldContext, $06d5b8ec9ee5d538$export$5109c6dd95d8fb00 as DatePicker, $06d5b8ec9ee5d538$export$17334619f3ac2224 as DateRangePicker, $06d5b8ec9ee5d538$export$cf316c7f3b44c11e as DatePickerContext, $06d5b8ec9ee5d538$export$8282edba42ee28a as DateRangePickerContext, $de32f1b87079253c$export$2e1e1122cf0cba88 as DialogTrigger, $de32f1b87079253c$export$3ddf2d174ce01153 as Dialog, $de32f1b87079253c$export$8b93a07348a7730c as DialogContext, $72e60046c03fbe42$export$a7bfbda1311ca015 as GridList, $72e60046c03fbe42$export$54fe942636b6416d as GridListContext, $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as Group, $a049562f99e7db0e$export$f9c6924e160136d1 as GroupContext, $72a5793c14baf454$export$8b251419efc915eb as Header, $5cb03073d3f54797$export$a8a3e93435678ff9 as Heading, $5cb03073d3f54797$export$d688439359537581 as HeadingContext, $3985021b0ad6602f$export$f5b8910cec6cf069 as Input, $3985021b0ad6602f$export$37fb8590cf2c088c as InputContext, $7135fc7d473fd974$export$6d08773d2e66f8f2 as Item, $7135fc7d473fd974$export$6e2c8f0811a474ce as Section, $7135fc7d473fd974$export$fb8073518f34e6ec as Collection, $63df2425e2108aa8$export$16e4d70cc375e707 as Keyboard, $63df2425e2108aa8$export$744d98a3b8a94e1c as KeyboardContext, $01b77f81d0f07f68$export$b04be29aa201d4f5 as Label, $01b77f81d0f07f68$export$75b6ee27786ba447 as LabelContext, $4f118338184dc1d9$export$a6c7ac8248d6e38a as Link, $4f118338184dc1d9$export$e2509388b49734e7 as LinkContext, $eed445e0843c11d0$export$41f133550aa26f48 as ListBox, $eed445e0843c11d0$export$7ff8f37d2d81a48d as ListBoxContext, $3674c52c6b3c5bce$export$d9b273488cd8ce6f as Menu, $3674c52c6b3c5bce$export$27d2ad3c5815583e as MenuTrigger, $3674c52c6b3c5bce$export$c7e742effb1c51e2 as MenuContext, $c0c9ced265f3594c$export$62e3ae2a4090b879 as Meter, $c0c9ced265f3594c$export$8b645da15a96b44f as MeterContext, $f3f84453ead64de5$export$2b77a92f1a5ad772 as Modal, $f3f84453ead64de5$export$8948f78d83984c69 as ModalOverlay, $f3f84453ead64de5$export$ab57792b9b6974a6 as ModalContext, $b91743d66a0ed188$export$63c5fa0b2fdccd2e as NumberField, $b91743d66a0ed188$export$b414a48cf5dcbc11 as NumberFieldContext, $44f671af83e7d9e0$export$746d02f47f4d381 as OverlayArrow, $07b14b47974efb58$export$5b6b19405a83ff9d as Popover, $07b14b47974efb58$export$9b9a0cd73afb7ca4 as PopoverContext, $0393f8ab869a0f1a$export$c17561cb55d4db30 as ProgressBar, $0393f8ab869a0f1a$export$e9f3bf65a26ce129 as ProgressBarContext, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $b6c3ddc6086f204d$export$a98f0dcb43a68a25 as RadioGroup, $b6c3ddc6086f204d$export$d7b12c4107be0d61 as Radio, $b6c3ddc6086f204d$export$a79eda4ff50e30b6 as RadioGroupContext, $440f4836bcb56932$export$b94867ecbd698f21 as SearchField, $440f4836bcb56932$export$d1c4e4c63cb03a11 as SearchFieldContext, $82d7e5349645de74$export$ef9b1a59e592288f as Select, $82d7e5349645de74$export$e288731fd71264f0 as SelectValue, $82d7e5349645de74$export$7540cee5be7dc19b as SelectContext, $431f98aba6844401$export$1ff3c3f08ae963c0 as Separator, $431f98aba6844401$export$6615d83f6de245ce as SeparatorContext, $6f909507e6374d18$export$472062a354075cee as Slider, $6f909507e6374d18$export$a590f758a961cb5b as SliderOutput, $6f909507e6374d18$export$105594979f116971 as SliderTrack, $6f909507e6374d18$export$2c1b491743890dec as SliderThumb, $6f909507e6374d18$export$e99164f0030f3bff as SliderContext, $8e59e948500a8fe1$export$b5d5cf8927ab7262 as Switch, $8e59e948500a8fe1$export$8699e3b644d5a28a as SwitchContext, $1910c06f0ca9905e$export$54ec01a60f47d33d as Table, $1910c06f0ca9905e$export$b59bdbef9ce70de2 as Row, $1910c06f0ca9905e$export$f6f0c3fe4ec306ea as Cell, $1910c06f0ca9905e$export$816b5d811295e6bc as Column, $1910c06f0ca9905e$export$f850895b287ef28e as TableHeader, $1910c06f0ca9905e$export$76ccd210b9029917 as TableBody, $1910c06f0ca9905e$export$93e4b0b2cc49b648 as TableContext, $1910c06f0ca9905e$export$fddc468cd8cb4db9 as useTableOptions, $5e8ad37a45e1c704$export$b2539bed5023c21c as Tabs, $5e8ad37a45e1c704$export$e51a686c67fdaa2d as TabList, $5e8ad37a45e1c704$export$
|
|
5810
|
+
export {$778035c5624f61e7$export$2dc68d50d56fbbd as Breadcrumbs, $778035c5624f61e7$export$65596d3621b0a4a0 as BreadcrumbsContext, $d2b4bc8c273e7be6$export$353f5b6fc5456de1 as Button, $d2b4bc8c273e7be6$export$24d547caef80ccd1 as ButtonContext, $dfd62f934fc76fed$export$e1aef45b828286de as Calendar, $dfd62f934fc76fed$export$5bd780d491cfc46c as CalendarGrid, $dfd62f934fc76fed$export$22e2d15eaa4d2377 as CalendarGridHeader, $dfd62f934fc76fed$export$e11f8ba65d857bff as CalendarGridBody, $dfd62f934fc76fed$export$ad2135cac3a11b3d as CalendarHeaderCell, $dfd62f934fc76fed$export$5d847498420df57b as CalendarCell, $dfd62f934fc76fed$export$a4f5c8b89d277a8d as RangeCalendar, $dfd62f934fc76fed$export$3b805cea1f178355 as CalendarContext, $dfd62f934fc76fed$export$233dd9682e1ad64b as RangeCalendarContext, $bc237834342dbd75$export$48513f6b9f8ce62d as Checkbox, $bc237834342dbd75$export$4aa08d5625cb8ead as CheckboxGroup, $bc237834342dbd75$export$baf37c4be89255b8 as CheckboxGroupContext, $bc237834342dbd75$export$b085522c77523c51 as CheckboxContext, $d01f2c01039c0eec$export$72b9695b8216309a as ComboBox, $d01f2c01039c0eec$export$d414ccceff7063c3 as ComboBoxContext, $40825cdb76e74f70$export$d9781c7894a82487 as DateField, $40825cdb76e74f70$export$7edc06cf1783b30f as DateInput, $40825cdb76e74f70$export$336ab7fa954c4b5f as DateSegment, $40825cdb76e74f70$export$5eaee2322dd727eb as TimeField, $40825cdb76e74f70$export$7b3e670c86da5fe8 as DateFieldContext, $40825cdb76e74f70$export$8e17ddc448e87c1e as TimeFieldContext, $06d5b8ec9ee5d538$export$5109c6dd95d8fb00 as DatePicker, $06d5b8ec9ee5d538$export$17334619f3ac2224 as DateRangePicker, $06d5b8ec9ee5d538$export$cf316c7f3b44c11e as DatePickerContext, $06d5b8ec9ee5d538$export$8282edba42ee28a as DateRangePickerContext, $de32f1b87079253c$export$2e1e1122cf0cba88 as DialogTrigger, $de32f1b87079253c$export$3ddf2d174ce01153 as Dialog, $de32f1b87079253c$export$8b93a07348a7730c as DialogContext, $cb088e721efb9218$export$3c6489d84dc98b6 as DropZone, $cb088e721efb9218$export$14a72053295ff9a6 as DropZoneContext, $1e2864c73f66a4da$export$6fb4a10d2c950550 as FileTrigger, $1e2864c73f66a4da$export$9106743a055caed1 as FileTriggerContext, $72e60046c03fbe42$export$a7bfbda1311ca015 as GridList, $72e60046c03fbe42$export$54fe942636b6416d as GridListContext, $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as Group, $a049562f99e7db0e$export$f9c6924e160136d1 as GroupContext, $72a5793c14baf454$export$8b251419efc915eb as Header, $5cb03073d3f54797$export$a8a3e93435678ff9 as Heading, $5cb03073d3f54797$export$d688439359537581 as HeadingContext, $3985021b0ad6602f$export$f5b8910cec6cf069 as Input, $3985021b0ad6602f$export$37fb8590cf2c088c as InputContext, $7135fc7d473fd974$export$6d08773d2e66f8f2 as Item, $7135fc7d473fd974$export$6e2c8f0811a474ce as Section, $7135fc7d473fd974$export$fb8073518f34e6ec as Collection, $63df2425e2108aa8$export$16e4d70cc375e707 as Keyboard, $63df2425e2108aa8$export$744d98a3b8a94e1c as KeyboardContext, $01b77f81d0f07f68$export$b04be29aa201d4f5 as Label, $01b77f81d0f07f68$export$75b6ee27786ba447 as LabelContext, $4f118338184dc1d9$export$a6c7ac8248d6e38a as Link, $4f118338184dc1d9$export$e2509388b49734e7 as LinkContext, $eed445e0843c11d0$export$41f133550aa26f48 as ListBox, $eed445e0843c11d0$export$7ff8f37d2d81a48d as ListBoxContext, $3674c52c6b3c5bce$export$d9b273488cd8ce6f as Menu, $3674c52c6b3c5bce$export$27d2ad3c5815583e as MenuTrigger, $3674c52c6b3c5bce$export$c7e742effb1c51e2 as MenuContext, $c0c9ced265f3594c$export$62e3ae2a4090b879 as Meter, $c0c9ced265f3594c$export$8b645da15a96b44f as MeterContext, $f3f84453ead64de5$export$2b77a92f1a5ad772 as Modal, $f3f84453ead64de5$export$8948f78d83984c69 as ModalOverlay, $f3f84453ead64de5$export$ab57792b9b6974a6 as ModalContext, $b91743d66a0ed188$export$63c5fa0b2fdccd2e as NumberField, $b91743d66a0ed188$export$b414a48cf5dcbc11 as NumberFieldContext, $44f671af83e7d9e0$export$746d02f47f4d381 as OverlayArrow, $07b14b47974efb58$export$5b6b19405a83ff9d as Popover, $07b14b47974efb58$export$9b9a0cd73afb7ca4 as PopoverContext, $0393f8ab869a0f1a$export$c17561cb55d4db30 as ProgressBar, $0393f8ab869a0f1a$export$e9f3bf65a26ce129 as ProgressBarContext, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $b6c3ddc6086f204d$export$a98f0dcb43a68a25 as RadioGroup, $b6c3ddc6086f204d$export$d7b12c4107be0d61 as Radio, $b6c3ddc6086f204d$export$a79eda4ff50e30b6 as RadioGroupContext, $440f4836bcb56932$export$b94867ecbd698f21 as SearchField, $440f4836bcb56932$export$d1c4e4c63cb03a11 as SearchFieldContext, $82d7e5349645de74$export$ef9b1a59e592288f as Select, $82d7e5349645de74$export$e288731fd71264f0 as SelectValue, $82d7e5349645de74$export$7540cee5be7dc19b as SelectContext, $431f98aba6844401$export$1ff3c3f08ae963c0 as Separator, $431f98aba6844401$export$6615d83f6de245ce as SeparatorContext, $6f909507e6374d18$export$472062a354075cee as Slider, $6f909507e6374d18$export$a590f758a961cb5b as SliderOutput, $6f909507e6374d18$export$105594979f116971 as SliderTrack, $6f909507e6374d18$export$2c1b491743890dec as SliderThumb, $6f909507e6374d18$export$e99164f0030f3bff as SliderContext, $8e59e948500a8fe1$export$b5d5cf8927ab7262 as Switch, $8e59e948500a8fe1$export$8699e3b644d5a28a as SwitchContext, $1910c06f0ca9905e$export$54ec01a60f47d33d as Table, $1910c06f0ca9905e$export$b59bdbef9ce70de2 as Row, $1910c06f0ca9905e$export$f6f0c3fe4ec306ea as Cell, $1910c06f0ca9905e$export$816b5d811295e6bc as Column, $1910c06f0ca9905e$export$f850895b287ef28e as TableHeader, $1910c06f0ca9905e$export$76ccd210b9029917 as TableBody, $1910c06f0ca9905e$export$93e4b0b2cc49b648 as TableContext, $1910c06f0ca9905e$export$fddc468cd8cb4db9 as useTableOptions, $5e8ad37a45e1c704$export$b2539bed5023c21c as Tabs, $5e8ad37a45e1c704$export$e51a686c67fdaa2d as TabList, $5e8ad37a45e1c704$export$3d96ec278d3efce4 as TabPanel, $5e8ad37a45e1c704$export$3e41faf802a29e71 as Tab, $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f as TabsContext, $eaf9e70818b436db$export$67ea30858aaf75e3 as TagGroup, $eaf9e70818b436db$export$5b07b5dd2cbd96e3 as TagGroupContext, $eaf9e70818b436db$export$f9fef0f55402315b as TagList, $eaf9e70818b436db$export$3288d34c523a1192 as Tag, $514c0188e459b4c0$export$5f1af8db9871e1d6 as Text, $514c0188e459b4c0$export$9afb8bc826b033ea as TextContext, $bcdf0525bf22703d$export$2c73285ae9390cec as TextField, $bcdf0525bf22703d$export$2129e27b3ef0d483 as TextFieldContext, $efde0372d7a700fe$export$d2b052e7b4be1756 as ToggleButton, $efde0372d7a700fe$export$43506d75ebd2e218 as ToggleButtonContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip, $d8f176866e6dc039$export$2cfc5be7a55829f6 as useDragAndDrop, $d8f176866e6dc039$export$62ed72bc21f6b8a6 as DropIndicator, $d8f176866e6dc039$export$f55761759794cf55 as DropIndicatorContext, $67da31f5140672c4$re_export$DIRECTORY_DRAG_TYPE as DIRECTORY_DRAG_TYPE, $67da31f5140672c4$re_export$isDirectoryDropItem as isDirectoryDropItem, $67da31f5140672c4$re_export$isFileDropItem as isFileDropItem, $67da31f5140672c4$re_export$isTextDropItem as isTextDropItem, $67da31f5140672c4$re_export$SSRProvider as SSRProvider};
|
|
5413
5811
|
//# sourceMappingURL=module.js.map
|