@react-spectrum/picker 3.9.1-nightly.3598 → 3.9.1-nightly.3600
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/main.css +1 -1
- package/dist/main.js +78 -57
- package/dist/main.js.map +1 -1
- package/dist/module.mjs +78 -57
- package/dist/module.mjs.map +1 -1
- package/package.json +23 -23
package/dist/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.spectrum-Dropdown_6d8ec0{-webkit-user-select:none;user-select:none;max-width:100%;width:var(--spectrum-global-dimension-size-2400);min-width:var(--spectrum-dropdown-min-width,var(--spectrum-global-dimension-size-600));display:inline-block;position:relative}.spectrum-Dropdown_6d8ec0 select{-webkit-appearance:none;appearance:none}.spectrum-Dropdown_6d8ec0 select::-ms-expand{display:none}.spectrum-Dropdown_6d8ec0 select::-ms-value{background-color:#0000}[dir=ltr] .spectrum-Dropdown_6d8ec0 select+.spectrum-Dropdown-chevron_6d8ec0{right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-Dropdown_6d8ec0 select+.spectrum-Dropdown-chevron_6d8ec0{left:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.spectrum-Dropdown_6d8ec0 select+.spectrum-Dropdown-chevron_6d8ec0{margin-top:calc(var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75))/-2);position:absolute;top:50%}.spectrum-Dropdown-trigger_6d8ec0{width:100%;contain:size;justify-content:space-between;align-items:center;display:flex;position:relative}[dir=ltr] .spectrum-Dropdown-label_6d8ec0{text-align:left}[dir=rtl] .spectrum-Dropdown-label_6d8ec0{text-align:right}.spectrum-Dropdown-label_6d8ec0{white-space:nowrap;height:calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2);line-height:calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2);font-size:var(--spectrum-dropdown-text-size,var(--spectrum-alias-font-size-default));text-overflow:ellipsis;flex:auto;overflow:hidden}.spectrum-Dropdown-label_6d8ec0.is-placeholder_6d8ec0{font-weight:var(--spectrum-dropdown-placeholder-text-font-weight,var(--spectrum-global-font-weight-regular));font-style:var(--spectrum-dropdown-placeholder-text-font-style,var(--spectrum-global-font-style-italic));transition:color var(--spectrum-global-animation-duration-100
|
|
1
|
+
.spectrum-Dropdown_6d8ec0{-webkit-user-select:none;user-select:none;max-width:100%;width:var(--spectrum-global-dimension-size-2400);min-width:var(--spectrum-dropdown-min-width,var(--spectrum-global-dimension-size-600));display:inline-block;position:relative}.spectrum-Dropdown_6d8ec0 select{-webkit-appearance:none;appearance:none}.spectrum-Dropdown_6d8ec0 select::-ms-expand{display:none}.spectrum-Dropdown_6d8ec0 select::-ms-value{background-color:#0000}[dir=ltr] .spectrum-Dropdown_6d8ec0 select+.spectrum-Dropdown-chevron_6d8ec0{right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-Dropdown_6d8ec0 select+.spectrum-Dropdown-chevron_6d8ec0{left:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.spectrum-Dropdown_6d8ec0 select+.spectrum-Dropdown-chevron_6d8ec0{margin-top:calc(var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75))/-2);position:absolute;top:50%}.spectrum-Dropdown-trigger_6d8ec0{width:100%;contain:size;justify-content:space-between;align-items:center;display:flex;position:relative}[dir=ltr] .spectrum-Dropdown-label_6d8ec0{text-align:left}[dir=rtl] .spectrum-Dropdown-label_6d8ec0{text-align:right}.spectrum-Dropdown-label_6d8ec0{white-space:nowrap;height:calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2);line-height:calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2);font-size:var(--spectrum-dropdown-text-size,var(--spectrum-alias-font-size-default));text-overflow:ellipsis;flex:auto;overflow:hidden}.spectrum-Dropdown-label_6d8ec0.is-placeholder_6d8ec0{font-weight:var(--spectrum-dropdown-placeholder-text-font-weight,var(--spectrum-global-font-weight-regular));font-style:var(--spectrum-dropdown-placeholder-text-font-style,var(--spectrum-global-font-style-italic));transition:color var(--spectrum-global-animation-duration-100,.13s)ease-in-out}[dir=ltr] .spectrum-Dropdown-label_6d8ec0+.spectrum-Dropdown-chevron_6d8ec0{margin-left:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-Dropdown-label_6d8ec0+.spectrum-Dropdown-chevron_6d8ec0{margin-right:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=ltr] .spectrum-Icon_6d8ec0+.spectrum-Dropdown-label_6d8ec0{margin-left:var(--spectrum-selectlist-thumbnail-image-padding-x,var(--spectrum-global-dimension-size-100))}[dir=rtl] .spectrum-Icon_6d8ec0+.spectrum-Dropdown-label_6d8ec0{margin-right:var(--spectrum-selectlist-thumbnail-image-padding-x,var(--spectrum-global-dimension-size-100))}[dir=ltr] .spectrum-Dropdown-label_6d8ec0~.spectrum-Dropdown-chevron_6d8ec0{margin-left:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-Dropdown-label_6d8ec0~.spectrum-Dropdown-chevron_6d8ec0{margin-right:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.spectrum-Dropdown-chevron_6d8ec0{vertical-align:top;transition:color var(--spectrum-global-animation-duration-100,.13s)ease-out;margin-top:calc((var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2 - var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75)))/2);margin-bottom:calc((var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2 - var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75)))/2);opacity:1;flex-shrink:0;display:inline-block;position:relative}.spectrum-Dropdown-trigger_6d8ec0 .spectrum-Dropdown-invalidIcon_6d8ec0{margin-top:calc((var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2 - var(--spectrum-dropdown-icon-size,var(--spectrum-alias-workflow-icon-size)))/2);margin-bottom:calc((var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2 - var(--spectrum-dropdown-icon-size,var(--spectrum-alias-workflow-icon-size)))/2)}[dir=ltr] .spectrum-Dropdown-trigger_6d8ec0 .spectrum-Dropdown-label_6d8ec0+.spectrum-Dropdown-invalidIcon_6d8ec0{margin-left:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-Dropdown-trigger_6d8ec0 .spectrum-Dropdown-label_6d8ec0+.spectrum-Dropdown-invalidIcon_6d8ec0{margin-right:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=ltr] .spectrum-Dropdown-trigger_6d8ec0 .spectrum-Dropdown-progressCircle_6d8ec0{margin-left:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-Dropdown-trigger_6d8ec0 .spectrum-Dropdown-progressCircle_6d8ec0{margin-right:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}[dir=ltr] .spectrum-Icon_6d8ec0+.spectrum-Dropdown-chevron_6d8ec0{margin-left:var(--spectrum-dropdown-icon-gap,var(--spectrum-global-dimension-size-100))}[dir=rtl] .spectrum-Icon_6d8ec0+.spectrum-Dropdown-chevron_6d8ec0{margin-right:var(--spectrum-dropdown-icon-gap,var(--spectrum-global-dimension-size-100))}.spectrum-Dropdown--quiet_6d8ec0{width:auto;min-width:var(--spectrum-dropdown-quiet-min-width,var(--spectrum-global-dimension-size-600))}.spectrum-Dropdown--quiet_6d8ec0 .spectrum-Dropdown-trigger_6d8ec0{contain:none}[dir=ltr] .spectrum-Dropdown-popover--quiet_6d8ec0{margin-left:calc(var(--spectrum-dropdown-quiet-offset)*-1)}[dir=rtl] .spectrum-Dropdown-popover--quiet_6d8ec0{margin-right:calc(var(--spectrum-dropdown-quiet-offset)*-1)}.spectrum-Dropdown-popover--quiet_6d8ec0{width:var(--spectrum-global-dimension-size-2400);--spectrum-dropdown-quiet-offset:calc(var(--spectrum-dropdown-quiet-popover-offset-x,var(--spectrum-global-dimension-size-150)) + var(--spectrum-popover-border-size,var(--spectrum-alias-border-size-thin)))}.spectrum-Field_6d8ec0.spectrum-Dropdown-fieldWrapper--quiet_6d8ec0{width:auto;flex-direction:column;display:inline-flex}.spectrum-Field_6d8ec0.spectrum-Dropdown-fieldWrapper--quiet_6d8ec0 .spectrum-Dropdown--quiet_6d8ec0{width:auto;min-width:var(--spectrum-dropdown-quiet-min-width,var(--spectrum-global-dimension-size-600))}.spectrum-Field_6d8ec0.spectrum-Dropdown-fieldWrapper--quiet_6d8ec0 .spectrum-Dropdown--quiet_6d8ec0 .spectrum-Dropdown-trigger_6d8ec0{width:auto}.spectrum-Field_6d8ec0.spectrum-Dropdown-fieldWrapper--quiet_6d8ec0.spectrum-Dropdown-fieldWrapper--positionSide_6d8ec0{flex-direction:row}.spectrum-Dropdown_6d8ec0{--spectrum-dropdown-placeholder-text-color:var(--spectrum-global-color-gray-800)}.spectrum-Dropdown_6d8ec0 .spectrum-Dropdown-trigger_6d8ec0.is-selected_6d8ec0 .is-placeholder_6d8ec0{color:var(--spectrum-dropdown-placeholder-text-color-down,var(--spectrum-global-color-gray-900))}.spectrum-Dropdown_6d8ec0.is-invalid_6d8ec0 .spectrum-Dropdown-invalidIcon_6d8ec0.spectrum-Dropdown-invalidIcon_6d8ec0{fill:var(--spectrum-dropdown-validation-icon-color-error,var(--spectrum-semantic-negative-color-icon))}.spectrum-Dropdown_6d8ec0.is-invalid_6d8ec0.is-disabled_6d8ec0 .spectrum-Icon_6d8ec0,.spectrum-Dropdown_6d8ec0.is-invalid_6d8ec0.is-disabled_6d8ec0 .spectrum-Dropdown-invalidIcon_6d8ec0{fill:var(--spectrum-dropdown-icon-color-disabled,var(--spectrum-alias-icon-color-disabled))}.spectrum-Dropdown_6d8ec0.is-disabled_6d8ec0:active .spectrum-Dropdown-label_6d8ec0{color:var(--spectrum-dropdown-text-color-disabled,var(--spectrum-alias-text-color-disabled))}.spectrum-Dropdown_6d8ec0.is-disabled_6d8ec0 .spectrum-Dropdown-label_6d8ec0.is-placeholder_6d8ec0{color:var(--spectrum-dropdown-placeholder-text-color-disabled,var(--spectrum-alias-text-color-disabled))}.spectrum-Dropdown-label_6d8ec0.is-placeholder_6d8ec0{color:var(--spectrum-dropdown-placeholder-text-color,var(--spectrum-alias-placeholder-text-color))}.spectrum-Dropdown-trigger_6d8ec0.is-hovered_6d8ec0 .spectrum-Dropdown-label_6d8ec0{color:var(--spectrum-dropdown-placeholder-text-color-hover,var(--spectrum-alias-placeholder-text-color-hover))}.spectrum-Dropdown-trigger_6d8ec0:active .spectrum-Dropdown-label_6d8ec0{color:var(--spectrum-dropdown-placeholder-text-color-mouse-focus,var(--spectrum-global-color-gray-900))}.spectrum-Dropdown-trigger_6d8ec0.focus-ring_6d8ec0 .spectrum-Dropdown-label_6d8ec0.is-placeholder_6d8ec0{color:var(--spectrum-dropdown-placeholder-text-color-key-focus,var(--spectrum-alias-placeholder-text-color-hover))}@media (forced-colors:active){.spectrum-Dropdown_6d8ec0{--spectrum-dropdown-icon-color:ButtonText;--spectrum-dropdown-icon-color-disabled:GrayText;--spectrum-dropdown-icon-color-hover:ButtonText;--spectrum-dropdown-icon-color-key-focus:ButtonText;--spectrum-dropdown-placeholder-text-color:GrayText;--spectrum-dropdown-placeholder-text-color-disabled:GrayText;--spectrum-dropdown-placeholder-text-color-down:GrayText;--spectrum-dropdown-placeholder-text-color-hover:GrayText;--spectrum-dropdown-placeholder-text-color-key-focus:GrayText;--spectrum-dropdown-placeholder-text-color-mouse-focus:GrayText;--spectrum-dropdown-text-color-disabled:GrayText;--spectrum-dropdown-validation-icon-color-error:ButtonText}.spectrum-Dropdown-trigger_6d8ec0.is-hovered_6d8ec0 .spectrum-Dropdown-label_6d8ec0{color:ButtonText}.spectrum-Dropdown-trigger_6d8ec0.is-hovered_6d8ec0 .spectrum-Dropdown-label_6d8ec0.is-placeholder_6d8ec0{color:GrayText}}
|
package/dist/main.js
CHANGED
|
@@ -27,7 +27,28 @@ function $parcel$interopDefault(a) {
|
|
|
27
27
|
$parcel$export(module.exports, "Picker", () => $902e54cfaa4270a9$export$ba25329847403e11);
|
|
28
28
|
$parcel$export(module.exports, "Item", () => $4FjNO$reactstatelycollections.Item);
|
|
29
29
|
$parcel$export(module.exports, "Section", () => $4FjNO$reactstatelycollections.Section);
|
|
30
|
-
|
|
30
|
+
/*
|
|
31
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
32
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
33
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
34
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
35
|
+
*
|
|
36
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
37
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
38
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
39
|
+
* governing permissions and limitations under the License.
|
|
40
|
+
*/ /// <reference types="css-module-types" />
|
|
41
|
+
/*
|
|
42
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
43
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
44
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
45
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
46
|
+
*
|
|
47
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
48
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
49
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
50
|
+
* governing permissions and limitations under the License.
|
|
51
|
+
*/
|
|
31
52
|
|
|
32
53
|
|
|
33
54
|
|
|
@@ -379,32 +400,32 @@ $b39b306bfc9a5551$export$f39a09f249340e2a = "focus-ring_6d8ec0";
|
|
|
379
400
|
|
|
380
401
|
|
|
381
402
|
function $902e54cfaa4270a9$var$Picker(props, ref) {
|
|
382
|
-
props = $4FjNO$reactspectrumutils.useSlotProps(props,
|
|
383
|
-
props = $4FjNO$reactspectrumprovider.useProviderProps(props);
|
|
384
|
-
let stringFormatter = $4FjNO$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($a3abae81eb7bd5e2$exports)));
|
|
385
|
-
let { autoComplete: autoComplete , isDisabled: isDisabled , direction: direction =
|
|
386
|
-
let state = $4FjNO$reactstatelyselect.useSelectState(props);
|
|
387
|
-
let domRef = $4FjNO$reactspectrumutils.useDOMRef(ref);
|
|
388
|
-
let popoverRef = $4FjNO$react.useRef();
|
|
389
|
-
let triggerRef = $4FjNO$react.useRef();
|
|
390
|
-
let unwrappedTriggerRef = $4FjNO$reactspectrumutils.useUnwrapDOMRef(triggerRef);
|
|
391
|
-
let listboxRef = $4FjNO$react.useRef();
|
|
403
|
+
props = (0, $4FjNO$reactspectrumutils.useSlotProps)(props, "picker");
|
|
404
|
+
props = (0, $4FjNO$reactspectrumprovider.useProviderProps)(props);
|
|
405
|
+
let stringFormatter = (0, $4FjNO$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($a3abae81eb7bd5e2$exports))));
|
|
406
|
+
let { autoComplete: autoComplete , isDisabled: isDisabled , direction: direction = "bottom" , align: align = "start" , shouldFlip: shouldFlip = true , placeholder: placeholder = stringFormatter.format("placeholder") , validationState: validationState , isQuiet: isQuiet , label: label , labelPosition: labelPosition = "top" , menuWidth: menuWidth , name: name , autoFocus: autoFocus } = props;
|
|
407
|
+
let state = (0, $4FjNO$reactstatelyselect.useSelectState)(props);
|
|
408
|
+
let domRef = (0, $4FjNO$reactspectrumutils.useDOMRef)(ref);
|
|
409
|
+
let popoverRef = (0, $4FjNO$react.useRef)();
|
|
410
|
+
let triggerRef = (0, $4FjNO$react.useRef)();
|
|
411
|
+
let unwrappedTriggerRef = (0, $4FjNO$reactspectrumutils.useUnwrapDOMRef)(triggerRef);
|
|
412
|
+
let listboxRef = (0, $4FjNO$react.useRef)();
|
|
392
413
|
// We create the listbox layout in Picker and pass it to ListBoxBase below
|
|
393
414
|
// so that the layout information can be cached even while the listbox is not mounted.
|
|
394
415
|
// We also use the layout as the keyboard delegate for type to select.
|
|
395
|
-
let layout = $4FjNO$reactspectrumlistbox.useListBoxLayout(state);
|
|
396
|
-
let { labelProps: labelProps , triggerProps: triggerProps , valueProps: valueProps , menuProps: menuProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $4FjNO$reactariaselect.useSelect({
|
|
416
|
+
let layout = (0, $4FjNO$reactspectrumlistbox.useListBoxLayout)(state);
|
|
417
|
+
let { labelProps: labelProps , triggerProps: triggerProps , valueProps: valueProps , menuProps: menuProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = (0, $4FjNO$reactariaselect.useSelect)({
|
|
397
418
|
...props,
|
|
398
419
|
keyboardDelegate: layout
|
|
399
420
|
}, state, unwrappedTriggerRef);
|
|
400
|
-
let isMobile = $4FjNO$reactspectrumutils.useIsMobileDevice();
|
|
401
|
-
let { hoverProps: hoverProps , isHovered: isHovered } = $4FjNO$reactariainteractions.useHover({
|
|
421
|
+
let isMobile = (0, $4FjNO$reactspectrumutils.useIsMobileDevice)();
|
|
422
|
+
let { hoverProps: hoverProps , isHovered: isHovered } = (0, $4FjNO$reactariainteractions.useHover)({
|
|
402
423
|
isDisabled: isDisabled
|
|
403
424
|
});
|
|
404
425
|
let isLoadingInitial = props.isLoading && state.collection.size === 0;
|
|
405
426
|
let isLoadingMore = props.isLoading && state.collection.size > 0;
|
|
406
427
|
// On small screen devices, the listbox is rendered in a tray, otherwise a popover.
|
|
407
|
-
let listbox = /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactspectrumlistbox.ListBoxBase, {
|
|
428
|
+
let listbox = /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumlistbox.ListBoxBase), {
|
|
408
429
|
...menuProps,
|
|
409
430
|
ref: listboxRef,
|
|
410
431
|
disallowEmptySelection: true,
|
|
@@ -413,18 +434,18 @@ function $902e54cfaa4270a9$var$Picker(props, ref) {
|
|
|
413
434
|
focusOnPointerEnter: true,
|
|
414
435
|
layout: layout,
|
|
415
436
|
state: state,
|
|
416
|
-
width: isMobile ?
|
|
437
|
+
width: isMobile ? "100%" : undefined,
|
|
417
438
|
// Set max height: inherit so Tray scrolling works
|
|
418
439
|
UNSAFE_style: {
|
|
419
|
-
maxHeight:
|
|
440
|
+
maxHeight: "inherit"
|
|
420
441
|
},
|
|
421
442
|
isLoading: isLoadingMore,
|
|
422
443
|
onLoadMore: props.onLoadMore
|
|
423
444
|
});
|
|
424
445
|
// Measure the width of the button to inform the width of the menu (below).
|
|
425
|
-
let [buttonWidth, setButtonWidth] = $4FjNO$react.useState(null);
|
|
426
|
-
let { scale: scale } = $4FjNO$reactspectrumprovider.useProvider();
|
|
427
|
-
let onResize = $4FjNO$react.useCallback(()=>{
|
|
446
|
+
let [buttonWidth, setButtonWidth] = (0, $4FjNO$react.useState)(null);
|
|
447
|
+
let { scale: scale } = (0, $4FjNO$reactspectrumprovider.useProvider)();
|
|
448
|
+
let onResize = (0, $4FjNO$react.useCallback)(()=>{
|
|
428
449
|
if (!isMobile && unwrappedTriggerRef.current) {
|
|
429
450
|
let width = unwrappedTriggerRef.current.offsetWidth;
|
|
430
451
|
setButtonWidth(width);
|
|
@@ -434,17 +455,17 @@ function $902e54cfaa4270a9$var$Picker(props, ref) {
|
|
|
434
455
|
setButtonWidth,
|
|
435
456
|
isMobile
|
|
436
457
|
]);
|
|
437
|
-
$4FjNO$reactariautils.useResizeObserver({
|
|
458
|
+
(0, $4FjNO$reactariautils.useResizeObserver)({
|
|
438
459
|
ref: unwrappedTriggerRef,
|
|
439
460
|
onResize: onResize
|
|
440
461
|
});
|
|
441
|
-
$4FjNO$reactariautils.useLayoutEffect(onResize, [
|
|
462
|
+
(0, $4FjNO$reactariautils.useLayoutEffect)(onResize, [
|
|
442
463
|
scale,
|
|
443
464
|
state.selectedKey,
|
|
444
465
|
onResize
|
|
445
466
|
]);
|
|
446
467
|
let overlay;
|
|
447
|
-
if (isMobile) overlay = /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactspectrumoverlays.Tray, {
|
|
468
|
+
if (isMobile) overlay = /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumoverlays.Tray), {
|
|
448
469
|
state: state
|
|
449
470
|
}, listbox);
|
|
450
471
|
else {
|
|
@@ -453,13 +474,13 @@ function $902e54cfaa4270a9$var$Picker(props, ref) {
|
|
|
453
474
|
// Not using style props for this because they don't support `calc`.
|
|
454
475
|
let width = isQuiet ? null : buttonWidth;
|
|
455
476
|
let style = {
|
|
456
|
-
width: menuWidth ? $4FjNO$reactspectrumutils.dimensionValue(menuWidth) : width,
|
|
477
|
+
width: menuWidth ? (0, $4FjNO$reactspectrumutils.dimensionValue)(menuWidth) : width,
|
|
457
478
|
minWidth: isQuiet ? `calc(${buttonWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : buttonWidth
|
|
458
479
|
};
|
|
459
|
-
overlay = /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactspectrumoverlays.Popover, {
|
|
480
|
+
overlay = /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumoverlays.Popover), {
|
|
460
481
|
UNSAFE_style: style,
|
|
461
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
462
|
-
|
|
482
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-popover", {
|
|
483
|
+
"spectrum-Dropdown-popover--quiet": isQuiet
|
|
463
484
|
}),
|
|
464
485
|
ref: popoverRef,
|
|
465
486
|
placement: `${direction} ${align}`,
|
|
@@ -471,61 +492,61 @@ function $902e54cfaa4270a9$var$Picker(props, ref) {
|
|
|
471
492
|
}, listbox);
|
|
472
493
|
}
|
|
473
494
|
let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;
|
|
474
|
-
if (typeof contents ===
|
|
475
|
-
let picker = /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement("div", {
|
|
476
|
-
className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
495
|
+
if (typeof contents === "string") contents = /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumtext.Text), null, contents);
|
|
496
|
+
let picker = /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement("div", {
|
|
497
|
+
className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown", {
|
|
498
|
+
"is-invalid": validationState === "invalid" && !isDisabled,
|
|
499
|
+
"is-disabled": isDisabled,
|
|
500
|
+
"spectrum-Dropdown--quiet": isQuiet
|
|
480
501
|
})
|
|
481
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactariaselect.HiddenSelect, {
|
|
502
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactariaselect.HiddenSelect), {
|
|
482
503
|
autoComplete: autoComplete,
|
|
483
504
|
isDisabled: isDisabled,
|
|
484
505
|
state: state,
|
|
485
506
|
triggerRef: unwrappedTriggerRef,
|
|
486
507
|
label: label,
|
|
487
508
|
name: name
|
|
488
|
-
}), /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactariainteractions.PressResponder, $4FjNO$reactariautils.mergeProps(hoverProps, triggerProps), /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactspectrumbutton.FieldButton, {
|
|
509
|
+
}), /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactariainteractions.PressResponder), (0, $4FjNO$reactariautils.mergeProps)(hoverProps, triggerProps), /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumbutton.FieldButton), {
|
|
489
510
|
ref: triggerRef,
|
|
490
511
|
isActive: state.isOpen,
|
|
491
512
|
isQuiet: isQuiet,
|
|
492
513
|
isDisabled: isDisabled,
|
|
493
514
|
validationState: validationState,
|
|
494
515
|
autoFocus: autoFocus,
|
|
495
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
496
|
-
|
|
516
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-trigger", {
|
|
517
|
+
"is-hovered": isHovered
|
|
497
518
|
})
|
|
498
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactspectrumutils.SlotProvider, {
|
|
519
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumutils.SlotProvider), {
|
|
499
520
|
slots: {
|
|
500
521
|
icon: {
|
|
501
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
502
|
-
size:
|
|
522
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Icon"),
|
|
523
|
+
size: "S"
|
|
503
524
|
},
|
|
504
525
|
text: {
|
|
505
526
|
...valueProps,
|
|
506
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
507
|
-
|
|
527
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-label", {
|
|
528
|
+
"is-placeholder": !state.selectedItem
|
|
508
529
|
})
|
|
509
530
|
},
|
|
510
531
|
description: {
|
|
511
532
|
isHidden: true
|
|
512
533
|
}
|
|
513
534
|
}
|
|
514
|
-
}, contents), isLoadingInitial && /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement($4FjNO$reactspectrumprogress.ProgressCircle, {
|
|
535
|
+
}, contents), isLoadingInitial && /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumprogress.ProgressCircle), {
|
|
515
536
|
isIndeterminate: true,
|
|
516
537
|
size: "S",
|
|
517
|
-
"aria-label": stringFormatter.format(
|
|
518
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
519
|
-
}), validationState ===
|
|
520
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
521
|
-
}), /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).createElement(($parcel$interopDefault($4FjNO$spectrumiconsuiChevronDownMedium)), {
|
|
522
|
-
UNSAFE_className: $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
538
|
+
"aria-label": stringFormatter.format("loading"),
|
|
539
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-progressCircle")
|
|
540
|
+
}), validationState === "invalid" && !isLoadingInitial && !isDisabled && /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, ($parcel$interopDefault($4FjNO$spectrumiconsuiAlertMedium))), {
|
|
541
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-invalidIcon")
|
|
542
|
+
}), /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, ($parcel$interopDefault($4FjNO$spectrumiconsuiChevronDownMedium))), {
|
|
543
|
+
UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-chevron")
|
|
523
544
|
}))), state.collection.size === 0 ? null : overlay);
|
|
524
|
-
let wrapperClassName = label ? $4FjNO$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports)),
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
}) :
|
|
528
|
-
return
|
|
545
|
+
let wrapperClassName = label ? (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Field", {
|
|
546
|
+
"spectrum-Dropdown-fieldWrapper--quiet": isQuiet,
|
|
547
|
+
"spectrum-Dropdown-fieldWrapper--positionSide": labelPosition === "side"
|
|
548
|
+
}) : "";
|
|
549
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).createElement((0, $4FjNO$reactspectrumlabel.Field), {
|
|
529
550
|
...props,
|
|
530
551
|
ref: domRef,
|
|
531
552
|
wrapperClassName: wrapperClassName,
|
|
@@ -535,13 +556,13 @@ function $902e54cfaa4270a9$var$Picker(props, ref) {
|
|
|
535
556
|
showErrorIcon: false,
|
|
536
557
|
includeNecessityIndicatorInAccessibilityName: true,
|
|
537
558
|
elementType: "span"
|
|
538
|
-
}, picker)
|
|
559
|
+
}, picker);
|
|
539
560
|
}
|
|
540
561
|
/**
|
|
541
562
|
* Pickers allow users to choose a single option from a collapsible list of options when space is limited.
|
|
542
563
|
*/ // forwardRef doesn't support generic parameters, so cast the result to the correct type
|
|
543
564
|
// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref
|
|
544
|
-
const $902e54cfaa4270a9$export$ba25329847403e11 = /*#__PURE__*/ ($parcel$interopDefault($4FjNO$react)).forwardRef($902e54cfaa4270a9$var$Picker);
|
|
565
|
+
const $902e54cfaa4270a9$export$ba25329847403e11 = /*#__PURE__*/ (0, ($parcel$interopDefault($4FjNO$react))).forwardRef($902e54cfaa4270a9$var$Picker);
|
|
545
566
|
|
|
546
567
|
|
|
547
568
|
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,0BAAe;IAClC,CAAE,eAAG,sBAAa;AAC/B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,qBAAY;I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KAAK,GAAG,oCAAU,CACvC,gEAAM,EACN,CAAgB,iBAChB,CAAC;QACC,CAAuC,wCAAE,OAAO;QAChD,CAA8C,+CAAE,aAAa,KAAK,CAAM;IAC1E,CAAC,IACC,CAAE;IAEN,MAAM,oEACH,+BAAK;WACA,KAAK;QACT,GAAG,EAAE,MAAM;QACX,gBAAgB,EAAE,gBAAgB;QAClC,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,gBAAgB;QAClC,iBAAiB,EAAE,iBAAiB;QACpC,aAAa,EAAE,KAAK;QACpB,4CAA4C,EAA5C,IAA4C;QAC5C,WAAW,EAAC,CAAM;OACjB,MAAM;AAGb,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,EAAwF,AAAxF,sFAAwF;AACxF,EAA2G,AAA3G,yGAA2G;AAC3G,KAAK,CAAC,yCAAO,iBAAG,sCAAK,CAAC,UAAU,CAAC,4BAAM","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\nexport type {SpectrumPickerProps} from '@react-types/select';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport ChevronDownMedium from '@spectrum-icons/ui/ChevronDownMedium';\nimport {\n classNames,\n dimensionValue,\n SlotProvider,\n useDOMRef,\n useIsMobileDevice,\n useSlotProps,\n useUnwrapDOMRef\n} from '@react-spectrum/utils';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n );\n\n // Measure the width of the button to inform the width of the menu (below).\n let [buttonWidth, setButtonWidth] = useState(null);\n let {scale} = useProvider();\n\n let onResize = useCallback(() => {\n if (!isMobile && unwrappedTriggerRef.current) {\n let width = unwrappedTriggerRef.current.offsetWidth;\n setButtonWidth(width);\n }\n }, [unwrappedTriggerRef, setButtonWidth, isMobile]);\n\n useResizeObserver({\n ref: unwrappedTriggerRef,\n onResize: onResize\n });\n\n useLayoutEffect(onResize, [scale, state.selectedKey, onResize]);\n\n let overlay;\n if (isMobile) {\n overlay = (\n <Tray state={state}>\n {listbox}\n </Tray>\n );\n } else {\n // If quiet, use the default width, otherwise match the width of the button. This can be overridden by the menuWidth prop.\n // Always have a minimum width of the button width. When quiet, there is an extra offset to add.\n // Not using style props for this because they don't support `calc`.\n let width = isQuiet ? null : buttonWidth;\n let style = {\n width: menuWidth ? dimensionValue(menuWidth) : width,\n minWidth: isQuiet ? `calc(${buttonWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : buttonWidth\n };\n\n overlay = (\n <Popover\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={`${direction} ${align}`}\n shouldFlip={shouldFlip}\n hideArrow\n state={state}\n triggerRef={unwrappedTriggerRef}\n scrollRef={listboxRef}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid' && !isDisabled,\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial && !isDisabled &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Selecciona una de estas opciones...\"\n}\n","{\n \"loading\": \"Laadimine...\",\n \"placeholder\": \"Valige valikuline...\"\n}\n","{\n \"loading\": \"Ladataan…\",\n \"placeholder\": \"Valitse vaihtoehto...\"\n}\n","{\n \"loading\": \"Chargement...\",\n \"placeholder\": \"Sélectionnez une option...\"\n}\n","{\n \"loading\": \"טוען...\",\n \"placeholder\": \"בחר אפשרות...\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Odaberite opciju\"\n}\n","{\n \"loading\": \"Betöltés folyamatban…\",\n \"placeholder\": \"Válasszon egy opciót…\"\n}\n","{\n \"loading\": \"Caricamento...\",\n \"placeholder\": \"Seleziona un’opzione...\"\n}\n","{\n \"loading\": \"読み込み中...\",\n \"placeholder\": \"オプションを選択...\"\n}\n","{\n \"loading\": \"로드 중\",\n \"placeholder\": \"선택 사항 선택\"\n}\n","{\n \"loading\": \"Įkeliama...\",\n \"placeholder\": \"Pasirinkite parinktį...\"\n}\n","{\n \"loading\": \"Notiek ielāde...\",\n \"placeholder\": \"Atlasiet opciju...\"\n}\n","{\n \"loading\": \"Laster inn ...\",\n \"placeholder\": \"Velg et alternativ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Optie selecteren...\"\n}\n","{\n \"loading\": \"Ładowanie...\",\n \"placeholder\": \"Wybierz opcję...\"\n}\n","{\n \"loading\": \"Carregando...\",\n \"placeholder\": \"Selecione uma opção...\"\n}\n","{\n \"loading\": \"A carregar...\",\n \"placeholder\": \"Selecionar uma opção...\"\n}\n","{\n \"loading\": \"Se încarcă...\",\n \"placeholder\": \"Selectați o opțiune\"\n}\n","{\n \"loading\": \"Загрузка...\",\n \"placeholder\": \"Выбрать параметр...\"\n}\n","{\n \"loading\": \"Načítava sa...\",\n \"placeholder\": \"Vyberte možnosť...\"\n}\n","{\n \"loading\": \"Nalaganje...\",\n \"placeholder\": \"Izberite možnost\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Izaberite opciju\"\n}\n","{\n \"loading\": \"Läser in...\",\n \"placeholder\": \"Välj ett alternativ...\"\n}\n","{\n \"loading\": \"Yükleniyor...\",\n \"placeholder\": \"Bir seçim yapın…\"\n}\n","{\n \"loading\": \"Завантаження…\",\n \"placeholder\": \"Виберіть опцію...\"\n}\n","{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择一个选项...\"\n}\n","{\n \"loading\": \"正在載入\",\n \"placeholder\": \"選取一個選項\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC,GAED;;;;;;;;AEZA,4BAAiB;IAAG,WAAW,CAAC,eAAe,CAAC;IAC9C,eAAe,CAAC,aAAa,CAAC;AAChC;;ADFA;;AEAA,4BAAiB;IAAG,WAAW,CAAC,YAAY,CAAC;IAC3C,eAAe,CAAC,cAAc,CAAC;AACjC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,WAAW,CAAC;IAC1C,eAAe,CAAC,0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C,WAEF,kCACC,0DAAC,CAAA,GAAA,2CAAc,AAAD;QACZ,iBAAA,IAAe;QACf,MAAK;QACL,cAAY,gBAAgB,MAAM,CAAC;QACnC,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;QAExC,oBAAoB,aAAa,CAAC,oBAAoB,CAAC,4BACtD,0DAAC,CAAA,GAAA,yDAAW,EAAD;QAAE,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;sBAEpD,0DAAC,CAAA,GAAA,yDAAiB,QAAD;QAAE,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;UAG3D,MAAM,UAAU,CAAC,IAAI,KAAK,IAAI,IAAI,GAAG,OAAO;IAIjD,IAAI,mBAAmB,QAAQ,CAAA,GAAA,oCAAS,EACtC,CAAA,GAAA,yDAAM,OAAD,GACL,kBACA;QACE,yCAAyC;QACzC,gDAAgD,kBAAkB;IACpE,KACE,EAAE;IAEN,qBACE,0DAAC,CAAA,GAAA,+BAAK,AAAD;QACF,GAAG,KAAK;QACT,KAAK;QACL,kBAAkB;QAClB,YAAY;QACZ,kBAAkB;QAClB,mBAAmB;QACnB,eAAe,KAAK;QACpB,8CAAA,IAA4C;QAC5C,aAAY;OACX;AAGP;AAEA;;CAEC,GACD,wFAAwF;AACxF,2GAA2G;AAC3G,MAAM,0DAAU,CAAA,GAAA,sCAAK,AAAD,EAAE,UAAU,CAAC;;AD9OjC","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\nexport type {SpectrumPickerProps} from '@react-types/select';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport ChevronDownMedium from '@spectrum-icons/ui/ChevronDownMedium';\nimport {\n classNames,\n dimensionValue,\n SlotProvider,\n useDOMRef,\n useIsMobileDevice,\n useSlotProps,\n useUnwrapDOMRef\n} from '@react-spectrum/utils';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n );\n\n // Measure the width of the button to inform the width of the menu (below).\n let [buttonWidth, setButtonWidth] = useState(null);\n let {scale} = useProvider();\n\n let onResize = useCallback(() => {\n if (!isMobile && unwrappedTriggerRef.current) {\n let width = unwrappedTriggerRef.current.offsetWidth;\n setButtonWidth(width);\n }\n }, [unwrappedTriggerRef, setButtonWidth, isMobile]);\n\n useResizeObserver({\n ref: unwrappedTriggerRef,\n onResize: onResize\n });\n\n useLayoutEffect(onResize, [scale, state.selectedKey, onResize]);\n\n let overlay;\n if (isMobile) {\n overlay = (\n <Tray state={state}>\n {listbox}\n </Tray>\n );\n } else {\n // If quiet, use the default width, otherwise match the width of the button. This can be overridden by the menuWidth prop.\n // Always have a minimum width of the button width. When quiet, there is an extra offset to add.\n // Not using style props for this because they don't support `calc`.\n let width = isQuiet ? null : buttonWidth;\n let style = {\n width: menuWidth ? dimensionValue(menuWidth) : width,\n minWidth: isQuiet ? `calc(${buttonWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : buttonWidth\n };\n\n overlay = (\n <Popover\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={`${direction} ${align}`}\n shouldFlip={shouldFlip}\n hideArrow\n state={state}\n triggerRef={unwrappedTriggerRef}\n scrollRef={listboxRef}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid' && !isDisabled,\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial && !isDisabled &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Selecciona una de estas opciones...\"\n}\n","{\n \"loading\": \"Laadimine...\",\n \"placeholder\": \"Valige valikuline...\"\n}\n","{\n \"loading\": \"Ladataan…\",\n \"placeholder\": \"Valitse vaihtoehto...\"\n}\n","{\n \"loading\": \"Chargement...\",\n \"placeholder\": \"Sélectionnez une option...\"\n}\n","{\n \"loading\": \"טוען...\",\n \"placeholder\": \"בחר אפשרות...\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Odaberite opciju\"\n}\n","{\n \"loading\": \"Betöltés folyamatban…\",\n \"placeholder\": \"Válasszon egy opciót…\"\n}\n","{\n \"loading\": \"Caricamento...\",\n \"placeholder\": \"Seleziona un’opzione...\"\n}\n","{\n \"loading\": \"読み込み中...\",\n \"placeholder\": \"オプションを選択...\"\n}\n","{\n \"loading\": \"로드 중\",\n \"placeholder\": \"선택 사항 선택\"\n}\n","{\n \"loading\": \"Įkeliama...\",\n \"placeholder\": \"Pasirinkite parinktį...\"\n}\n","{\n \"loading\": \"Notiek ielāde...\",\n \"placeholder\": \"Atlasiet opciju...\"\n}\n","{\n \"loading\": \"Laster inn ...\",\n \"placeholder\": \"Velg et alternativ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Optie selecteren...\"\n}\n","{\n \"loading\": \"Ładowanie...\",\n \"placeholder\": \"Wybierz opcję...\"\n}\n","{\n \"loading\": \"Carregando...\",\n \"placeholder\": \"Selecione uma opção...\"\n}\n","{\n \"loading\": \"A carregar...\",\n \"placeholder\": \"Selecionar uma opção...\"\n}\n","{\n \"loading\": \"Se încarcă...\",\n \"placeholder\": \"Selectați o opțiune\"\n}\n","{\n \"loading\": \"Загрузка...\",\n \"placeholder\": \"Выбрать параметр...\"\n}\n","{\n \"loading\": \"Načítava sa...\",\n \"placeholder\": \"Vyberte možnosť...\"\n}\n","{\n \"loading\": \"Nalaganje...\",\n \"placeholder\": \"Izberite možnost\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Izaberite opciju\"\n}\n","{\n \"loading\": \"Läser in...\",\n \"placeholder\": \"Välj ett alternativ...\"\n}\n","{\n \"loading\": \"Yükleniyor...\",\n \"placeholder\": \"Bir seçim yapın…\"\n}\n","{\n \"loading\": \"Завантаження…\",\n \"placeholder\": \"Виберіть опцію...\"\n}\n","{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择一个选项...\"\n}\n","{\n \"loading\": \"正在載入\",\n \"placeholder\": \"選取一個選項\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.mjs
CHANGED
|
@@ -23,7 +23,28 @@ function $parcel$interopDefault(a) {
|
|
|
23
23
|
function $parcel$export(e, n, v, s) {
|
|
24
24
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
/*
|
|
27
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
28
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
29
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
30
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
31
|
+
*
|
|
32
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
33
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
34
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
35
|
+
* governing permissions and limitations under the License.
|
|
36
|
+
*/ /// <reference types="css-module-types" />
|
|
37
|
+
/*
|
|
38
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
39
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
40
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
41
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
42
|
+
*
|
|
43
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
44
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
45
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
46
|
+
* governing permissions and limitations under the License.
|
|
47
|
+
*/
|
|
27
48
|
|
|
28
49
|
|
|
29
50
|
|
|
@@ -375,32 +396,32 @@ $3c14925a8a65017e$export$f39a09f249340e2a = "focus-ring_6d8ec0";
|
|
|
375
396
|
|
|
376
397
|
|
|
377
398
|
function $51664a9007a3c6f9$var$Picker(props, ref) {
|
|
378
|
-
props = $3toCD$useSlotProps(props,
|
|
379
|
-
props = $3toCD$useProviderProps(props);
|
|
380
|
-
let stringFormatter = $3toCD$useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($23df90b22503709f$exports)));
|
|
381
|
-
let { autoComplete: autoComplete , isDisabled: isDisabled , direction: direction =
|
|
382
|
-
let state = $3toCD$useSelectState(props);
|
|
383
|
-
let domRef = $3toCD$useDOMRef(ref);
|
|
384
|
-
let popoverRef = $3toCD$useRef();
|
|
385
|
-
let triggerRef = $3toCD$useRef();
|
|
386
|
-
let unwrappedTriggerRef = $3toCD$useUnwrapDOMRef(triggerRef);
|
|
387
|
-
let listboxRef = $3toCD$useRef();
|
|
399
|
+
props = (0, $3toCD$useSlotProps)(props, "picker");
|
|
400
|
+
props = (0, $3toCD$useProviderProps)(props);
|
|
401
|
+
let stringFormatter = (0, $3toCD$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($23df90b22503709f$exports))));
|
|
402
|
+
let { autoComplete: autoComplete , isDisabled: isDisabled , direction: direction = "bottom" , align: align = "start" , shouldFlip: shouldFlip = true , placeholder: placeholder = stringFormatter.format("placeholder") , validationState: validationState , isQuiet: isQuiet , label: label , labelPosition: labelPosition = "top" , menuWidth: menuWidth , name: name , autoFocus: autoFocus } = props;
|
|
403
|
+
let state = (0, $3toCD$useSelectState)(props);
|
|
404
|
+
let domRef = (0, $3toCD$useDOMRef)(ref);
|
|
405
|
+
let popoverRef = (0, $3toCD$useRef)();
|
|
406
|
+
let triggerRef = (0, $3toCD$useRef)();
|
|
407
|
+
let unwrappedTriggerRef = (0, $3toCD$useUnwrapDOMRef)(triggerRef);
|
|
408
|
+
let listboxRef = (0, $3toCD$useRef)();
|
|
388
409
|
// We create the listbox layout in Picker and pass it to ListBoxBase below
|
|
389
410
|
// so that the layout information can be cached even while the listbox is not mounted.
|
|
390
411
|
// We also use the layout as the keyboard delegate for type to select.
|
|
391
|
-
let layout = $3toCD$useListBoxLayout(state);
|
|
392
|
-
let { labelProps: labelProps , triggerProps: triggerProps , valueProps: valueProps , menuProps: menuProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $3toCD$useSelect({
|
|
412
|
+
let layout = (0, $3toCD$useListBoxLayout)(state);
|
|
413
|
+
let { labelProps: labelProps , triggerProps: triggerProps , valueProps: valueProps , menuProps: menuProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = (0, $3toCD$useSelect)({
|
|
393
414
|
...props,
|
|
394
415
|
keyboardDelegate: layout
|
|
395
416
|
}, state, unwrappedTriggerRef);
|
|
396
|
-
let isMobile = $3toCD$useIsMobileDevice();
|
|
397
|
-
let { hoverProps: hoverProps , isHovered: isHovered } = $3toCD$useHover({
|
|
417
|
+
let isMobile = (0, $3toCD$useIsMobileDevice)();
|
|
418
|
+
let { hoverProps: hoverProps , isHovered: isHovered } = (0, $3toCD$useHover)({
|
|
398
419
|
isDisabled: isDisabled
|
|
399
420
|
});
|
|
400
421
|
let isLoadingInitial = props.isLoading && state.collection.size === 0;
|
|
401
422
|
let isLoadingMore = props.isLoading && state.collection.size > 0;
|
|
402
423
|
// On small screen devices, the listbox is rendered in a tray, otherwise a popover.
|
|
403
|
-
let listbox = /*#__PURE__*/ $3toCD$react.createElement($3toCD$ListBoxBase, {
|
|
424
|
+
let listbox = /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$ListBoxBase), {
|
|
404
425
|
...menuProps,
|
|
405
426
|
ref: listboxRef,
|
|
406
427
|
disallowEmptySelection: true,
|
|
@@ -409,18 +430,18 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
|
|
|
409
430
|
focusOnPointerEnter: true,
|
|
410
431
|
layout: layout,
|
|
411
432
|
state: state,
|
|
412
|
-
width: isMobile ?
|
|
433
|
+
width: isMobile ? "100%" : undefined,
|
|
413
434
|
// Set max height: inherit so Tray scrolling works
|
|
414
435
|
UNSAFE_style: {
|
|
415
|
-
maxHeight:
|
|
436
|
+
maxHeight: "inherit"
|
|
416
437
|
},
|
|
417
438
|
isLoading: isLoadingMore,
|
|
418
439
|
onLoadMore: props.onLoadMore
|
|
419
440
|
});
|
|
420
441
|
// Measure the width of the button to inform the width of the menu (below).
|
|
421
|
-
let [buttonWidth, setButtonWidth] = $3toCD$useState(null);
|
|
422
|
-
let { scale: scale } = $3toCD$useProvider();
|
|
423
|
-
let onResize = $3toCD$useCallback(()=>{
|
|
442
|
+
let [buttonWidth, setButtonWidth] = (0, $3toCD$useState)(null);
|
|
443
|
+
let { scale: scale } = (0, $3toCD$useProvider)();
|
|
444
|
+
let onResize = (0, $3toCD$useCallback)(()=>{
|
|
424
445
|
if (!isMobile && unwrappedTriggerRef.current) {
|
|
425
446
|
let width = unwrappedTriggerRef.current.offsetWidth;
|
|
426
447
|
setButtonWidth(width);
|
|
@@ -430,17 +451,17 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
|
|
|
430
451
|
setButtonWidth,
|
|
431
452
|
isMobile
|
|
432
453
|
]);
|
|
433
|
-
$3toCD$useResizeObserver({
|
|
454
|
+
(0, $3toCD$useResizeObserver)({
|
|
434
455
|
ref: unwrappedTriggerRef,
|
|
435
456
|
onResize: onResize
|
|
436
457
|
});
|
|
437
|
-
$3toCD$useLayoutEffect(onResize, [
|
|
458
|
+
(0, $3toCD$useLayoutEffect)(onResize, [
|
|
438
459
|
scale,
|
|
439
460
|
state.selectedKey,
|
|
440
461
|
onResize
|
|
441
462
|
]);
|
|
442
463
|
let overlay;
|
|
443
|
-
if (isMobile) overlay = /*#__PURE__*/ $3toCD$react.createElement($3toCD$Tray, {
|
|
464
|
+
if (isMobile) overlay = /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$Tray), {
|
|
444
465
|
state: state
|
|
445
466
|
}, listbox);
|
|
446
467
|
else {
|
|
@@ -449,13 +470,13 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
|
|
|
449
470
|
// Not using style props for this because they don't support `calc`.
|
|
450
471
|
let width = isQuiet ? null : buttonWidth;
|
|
451
472
|
let style = {
|
|
452
|
-
width: menuWidth ? $3toCD$dimensionValue(menuWidth) : width,
|
|
473
|
+
width: menuWidth ? (0, $3toCD$dimensionValue)(menuWidth) : width,
|
|
453
474
|
minWidth: isQuiet ? `calc(${buttonWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : buttonWidth
|
|
454
475
|
};
|
|
455
|
-
overlay = /*#__PURE__*/ $3toCD$react.createElement($3toCD$Popover, {
|
|
476
|
+
overlay = /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$Popover), {
|
|
456
477
|
UNSAFE_style: style,
|
|
457
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
458
|
-
|
|
478
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-popover", {
|
|
479
|
+
"spectrum-Dropdown-popover--quiet": isQuiet
|
|
459
480
|
}),
|
|
460
481
|
ref: popoverRef,
|
|
461
482
|
placement: `${direction} ${align}`,
|
|
@@ -467,61 +488,61 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
|
|
|
467
488
|
}, listbox);
|
|
468
489
|
}
|
|
469
490
|
let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;
|
|
470
|
-
if (typeof contents ===
|
|
471
|
-
let picker = /*#__PURE__*/ $3toCD$react.createElement("div", {
|
|
472
|
-
className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
491
|
+
if (typeof contents === "string") contents = /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$Text), null, contents);
|
|
492
|
+
let picker = /*#__PURE__*/ (0, $3toCD$react).createElement("div", {
|
|
493
|
+
className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown", {
|
|
494
|
+
"is-invalid": validationState === "invalid" && !isDisabled,
|
|
495
|
+
"is-disabled": isDisabled,
|
|
496
|
+
"spectrum-Dropdown--quiet": isQuiet
|
|
476
497
|
})
|
|
477
|
-
}, /*#__PURE__*/ $3toCD$react.createElement($3toCD$HiddenSelect, {
|
|
498
|
+
}, /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$HiddenSelect), {
|
|
478
499
|
autoComplete: autoComplete,
|
|
479
500
|
isDisabled: isDisabled,
|
|
480
501
|
state: state,
|
|
481
502
|
triggerRef: unwrappedTriggerRef,
|
|
482
503
|
label: label,
|
|
483
504
|
name: name
|
|
484
|
-
}), /*#__PURE__*/ $3toCD$react.createElement($3toCD$PressResponder, $3toCD$mergeProps(hoverProps, triggerProps), /*#__PURE__*/ $3toCD$react.createElement($3toCD$FieldButton, {
|
|
505
|
+
}), /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$PressResponder), (0, $3toCD$mergeProps)(hoverProps, triggerProps), /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$FieldButton), {
|
|
485
506
|
ref: triggerRef,
|
|
486
507
|
isActive: state.isOpen,
|
|
487
508
|
isQuiet: isQuiet,
|
|
488
509
|
isDisabled: isDisabled,
|
|
489
510
|
validationState: validationState,
|
|
490
511
|
autoFocus: autoFocus,
|
|
491
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
492
|
-
|
|
512
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-trigger", {
|
|
513
|
+
"is-hovered": isHovered
|
|
493
514
|
})
|
|
494
|
-
}, /*#__PURE__*/ $3toCD$react.createElement($3toCD$SlotProvider, {
|
|
515
|
+
}, /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$SlotProvider), {
|
|
495
516
|
slots: {
|
|
496
517
|
icon: {
|
|
497
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
498
|
-
size:
|
|
518
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Icon"),
|
|
519
|
+
size: "S"
|
|
499
520
|
},
|
|
500
521
|
text: {
|
|
501
522
|
...valueProps,
|
|
502
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
503
|
-
|
|
523
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-label", {
|
|
524
|
+
"is-placeholder": !state.selectedItem
|
|
504
525
|
})
|
|
505
526
|
},
|
|
506
527
|
description: {
|
|
507
528
|
isHidden: true
|
|
508
529
|
}
|
|
509
530
|
}
|
|
510
|
-
}, contents), isLoadingInitial && /*#__PURE__*/ $3toCD$react.createElement($3toCD$ProgressCircle, {
|
|
531
|
+
}, contents), isLoadingInitial && /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$ProgressCircle), {
|
|
511
532
|
isIndeterminate: true,
|
|
512
533
|
size: "S",
|
|
513
|
-
"aria-label": stringFormatter.format(
|
|
514
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
515
|
-
}), validationState ===
|
|
516
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
517
|
-
}), /*#__PURE__*/ $3toCD$react.createElement($3toCD$spectrumiconsuiChevronDownMedium, {
|
|
518
|
-
UNSAFE_className: $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
534
|
+
"aria-label": stringFormatter.format("loading"),
|
|
535
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-progressCircle")
|
|
536
|
+
}), validationState === "invalid" && !isLoadingInitial && !isDisabled && /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$spectrumiconsuiAlertMedium), {
|
|
537
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-invalidIcon")
|
|
538
|
+
}), /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$spectrumiconsuiChevronDownMedium), {
|
|
539
|
+
UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-chevron")
|
|
519
540
|
}))), state.collection.size === 0 ? null : overlay);
|
|
520
|
-
let wrapperClassName = label ? $3toCD$classNames((/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports)),
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}) :
|
|
524
|
-
return
|
|
541
|
+
let wrapperClassName = label ? (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Field", {
|
|
542
|
+
"spectrum-Dropdown-fieldWrapper--quiet": isQuiet,
|
|
543
|
+
"spectrum-Dropdown-fieldWrapper--positionSide": labelPosition === "side"
|
|
544
|
+
}) : "";
|
|
545
|
+
return /*#__PURE__*/ (0, $3toCD$react).createElement((0, $3toCD$Field), {
|
|
525
546
|
...props,
|
|
526
547
|
ref: domRef,
|
|
527
548
|
wrapperClassName: wrapperClassName,
|
|
@@ -531,13 +552,13 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
|
|
|
531
552
|
showErrorIcon: false,
|
|
532
553
|
includeNecessityIndicatorInAccessibilityName: true,
|
|
533
554
|
elementType: "span"
|
|
534
|
-
}, picker)
|
|
555
|
+
}, picker);
|
|
535
556
|
}
|
|
536
557
|
/**
|
|
537
558
|
* Pickers allow users to choose a single option from a collapsible list of options when space is limited.
|
|
538
559
|
*/ // forwardRef doesn't support generic parameters, so cast the result to the correct type
|
|
539
560
|
// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref
|
|
540
|
-
const $51664a9007a3c6f9$export$ba25329847403e11 = /*#__PURE__*/ $3toCD$react.forwardRef($51664a9007a3c6f9$var$Picker);
|
|
561
|
+
const $51664a9007a3c6f9$export$ba25329847403e11 = /*#__PURE__*/ (0, $3toCD$react).forwardRef($51664a9007a3c6f9$var$Picker);
|
|
541
562
|
|
|
542
563
|
|
|
543
564
|
|
package/dist/module.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,0BAAe;IAClC,CAAE,eAAG,sBAAa;AAC/B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,qBAAY;IACjC,CAAI,eAAG,2BAAc;AAChC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,eAAW;IACrC,CAAS,eAAG,2BAA0B;AAC5C,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,aAAY;IACzC,CAAY,eAAG,qBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,QAAQ;IACtC,CAAa,eAAG,oBAAmB;AACrC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,iBAAU;IACjC,CAAM,eAAG,mBAAS;AAC3B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAa,eAAG,mBAAiB;IACjD,CAAO,WAAG,UAAQ;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,WAAS;IACvC,CAAa,eAAG,mCAAmC;AACrD,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,W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rum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\nexport type {SpectrumPickerProps} from '@react-types/select';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport ChevronDownMedium from '@spectrum-icons/ui/ChevronDownMedium';\nimport {\n classNames,\n dimensionValue,\n SlotProvider,\n useDOMRef,\n useIsMobileDevice,\n useSlotProps,\n useUnwrapDOMRef\n} from '@react-spectrum/utils';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n );\n\n // Measure the width of the button to inform the width of the menu (below).\n let [buttonWidth, setButtonWidth] = useState(null);\n let {scale} = useProvider();\n\n let onResize = useCallback(() => {\n if (!isMobile && unwrappedTriggerRef.current) {\n let width = unwrappedTriggerRef.current.offsetWidth;\n setButtonWidth(width);\n }\n }, [unwrappedTriggerRef, setButtonWidth, isMobile]);\n\n useResizeObserver({\n ref: unwrappedTriggerRef,\n onResize: onResize\n });\n\n useLayoutEffect(onResize, [scale, state.selectedKey, onResize]);\n\n let overlay;\n if (isMobile) {\n overlay = (\n <Tray state={state}>\n {listbox}\n </Tray>\n );\n } else {\n // If quiet, use the default width, otherwise match the width of the button. This can be overridden by the menuWidth prop.\n // Always have a minimum width of the button width. When quiet, there is an extra offset to add.\n // Not using style props for this because they don't support `calc`.\n let width = isQuiet ? null : buttonWidth;\n let style = {\n width: menuWidth ? dimensionValue(menuWidth) : width,\n minWidth: isQuiet ? `calc(${buttonWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : buttonWidth\n };\n\n overlay = (\n <Popover\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={`${direction} ${align}`}\n shouldFlip={shouldFlip}\n hideArrow\n state={state}\n triggerRef={unwrappedTriggerRef}\n scrollRef={listboxRef}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid' && !isDisabled,\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial && !isDisabled &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Selecciona una de estas opciones...\"\n}\n","{\n \"loading\": \"Laadimine...\",\n \"placeholder\": \"Valige valikuline...\"\n}\n","{\n \"loading\": \"Ladataan…\",\n \"placeholder\": \"Valitse vaihtoehto...\"\n}\n","{\n \"loading\": \"Chargement...\",\n \"placeholder\": \"Sélectionnez une option...\"\n}\n","{\n \"loading\": \"טוען...\",\n \"placeholder\": \"בחר אפשרות...\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Odaberite opciju\"\n}\n","{\n \"loading\": \"Betöltés folyamatban…\",\n \"placeholder\": \"Válasszon egy opciót…\"\n}\n","{\n \"loading\": \"Caricamento...\",\n \"placeholder\": \"Seleziona un’opzione...\"\n}\n","{\n \"loading\": \"読み込み中...\",\n \"placeholder\": \"オプションを選択...\"\n}\n","{\n \"loading\": \"로드 중\",\n \"placeholder\": \"선택 사항 선택\"\n}\n","{\n \"loading\": \"Įkeliama...\",\n \"placeholder\": \"Pasirinkite parinktį...\"\n}\n","{\n \"loading\": \"Notiek ielāde...\",\n \"placeholder\": \"Atlasiet opciju...\"\n}\n","{\n \"loading\": \"Laster inn ...\",\n \"placeholder\": \"Velg et alternativ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Optie selecteren...\"\n}\n","{\n \"loading\": \"Ładowanie...\",\n \"placeholder\": \"Wybierz opcję...\"\n}\n","{\n \"loading\": \"Carregando...\",\n \"placeholder\": \"Selecione uma opção...\"\n}\n","{\n \"loading\": \"A carregar...\",\n \"placeholder\": \"Selecionar uma opção...\"\n}\n","{\n \"loading\": \"Se încarcă...\",\n \"placeholder\": \"Selectați o opțiune\"\n}\n","{\n \"loading\": \"Загрузка...\",\n \"placeholder\": \"Выбрать параметр...\"\n}\n","{\n \"loading\": \"Načítava sa...\",\n \"placeholder\": \"Vyberte možnosť...\"\n}\n","{\n \"loading\": \"Nalaganje...\",\n \"placeholder\": \"Izberite možnost\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Izaberite opciju\"\n}\n","{\n \"loading\": \"Läser in...\",\n \"placeholder\": \"Välj ett alternativ...\"\n}\n","{\n \"loading\": \"Yükleniyor...\",\n \"placeholder\": \"Bir seçim yapın…\"\n}\n","{\n \"loading\": \"Завантаження…\",\n \"placeholder\": \"Виберіть опцію...\"\n}\n","{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择一个选项...\"\n}\n","{\n \"loading\": \"正在載入\",\n \"placeholder\": \"選取一個選項\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.mjs.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC,GAED;;;;;;;;AEZA,4BAAiB;IAAG,WAAW,CAAC,eAAe,CAAC;IAC9C,eAAe,CAAC,aAAa,CAAC;AAChC;;ADFA;;AEAA,4BAAiB;IAAG,WAAW,CAAC,YAAY,CAAC;IAC3C,eAAe,CAAC,cAAc,CAAC;AACjC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,WAAW,CAAC;IAC1C,eAAe,CAAC,0BAA0B,CAAC;AAC7C;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,YAAY,CAAC;IAC3C,eAAe,CAAC,oBAAoB,CAAC;AACvC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,QAAQ,CAAC;IACvC,eAAe,CAAC,mBAAmB,CAAC;AACtC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,UAAU,CAAC;IACzC,eAAe,CAAC,SAAS,CAAC;AAC5B;;;;ACFA,4BAAiB;IAAG,eAAe,CAAC,iBAAiB,CAAC;IACpD,WAAW,CAAC,QAAQ,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,SAAS,CAAC;IACxC,eAAe,CAAC,mCAAmC,CAAC;AACtD;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,YAAY,CAAC;IAC3C,eAAe,CAAC,oBAAoB,CAAC;AACvC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,SAAS,CAAC;IACxC,eAAe,CAAC,qBAAqB,CAAC;AACxC;;;;ACFA,4BAAi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CAAA,GAAA,YAAK,AAAD;QACF,GAAG,KAAK;QACT,KAAK;QACL,kBAAkB;QAClB,YAAY;QACZ,kBAAkB;QAClB,mBAAmB;QACnB,eAAe,KAAK;QACpB,8CAAA,IAA4C;QAC5C,aAAY;OACX;AAGP;AAEA;;CAEC,GACD,wFAAwF;AACxF,2GAA2G;AAC3G,MAAM,0DAAU,CAAA,GAAA,YAAK,AAAD,EAAE,UAAU,CAAC;;AD9OjC","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\nexport type {SpectrumPickerProps} from '@react-types/select';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport ChevronDownMedium from '@spectrum-icons/ui/ChevronDownMedium';\nimport {\n classNames,\n dimensionValue,\n SlotProvider,\n useDOMRef,\n useIsMobileDevice,\n useSlotProps,\n useUnwrapDOMRef\n} from '@react-spectrum/utils';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n );\n\n // Measure the width of the button to inform the width of the menu (below).\n let [buttonWidth, setButtonWidth] = useState(null);\n let {scale} = useProvider();\n\n let onResize = useCallback(() => {\n if (!isMobile && unwrappedTriggerRef.current) {\n let width = unwrappedTriggerRef.current.offsetWidth;\n setButtonWidth(width);\n }\n }, [unwrappedTriggerRef, setButtonWidth, isMobile]);\n\n useResizeObserver({\n ref: unwrappedTriggerRef,\n onResize: onResize\n });\n\n useLayoutEffect(onResize, [scale, state.selectedKey, onResize]);\n\n let overlay;\n if (isMobile) {\n overlay = (\n <Tray state={state}>\n {listbox}\n </Tray>\n );\n } else {\n // If quiet, use the default width, otherwise match the width of the button. This can be overridden by the menuWidth prop.\n // Always have a minimum width of the button width. When quiet, there is an extra offset to add.\n // Not using style props for this because they don't support `calc`.\n let width = isQuiet ? null : buttonWidth;\n let style = {\n width: menuWidth ? dimensionValue(menuWidth) : width,\n minWidth: isQuiet ? `calc(${buttonWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : buttonWidth\n };\n\n overlay = (\n <Popover\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={`${direction} ${align}`}\n shouldFlip={shouldFlip}\n hideArrow\n state={state}\n triggerRef={unwrappedTriggerRef}\n scrollRef={listboxRef}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid' && !isDisabled,\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial && !isDisabled &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Selecciona una de estas opciones...\"\n}\n","{\n \"loading\": \"Laadimine...\",\n \"placeholder\": \"Valige valikuline...\"\n}\n","{\n \"loading\": \"Ladataan…\",\n \"placeholder\": \"Valitse vaihtoehto...\"\n}\n","{\n \"loading\": \"Chargement...\",\n \"placeholder\": \"Sélectionnez une option...\"\n}\n","{\n \"loading\": \"טוען...\",\n \"placeholder\": \"בחר אפשרות...\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Odaberite opciju\"\n}\n","{\n \"loading\": \"Betöltés folyamatban…\",\n \"placeholder\": \"Válasszon egy opciót…\"\n}\n","{\n \"loading\": \"Caricamento...\",\n \"placeholder\": \"Seleziona un’opzione...\"\n}\n","{\n \"loading\": \"読み込み中...\",\n \"placeholder\": \"オプションを選択...\"\n}\n","{\n \"loading\": \"로드 중\",\n \"placeholder\": \"선택 사항 선택\"\n}\n","{\n \"loading\": \"Įkeliama...\",\n \"placeholder\": \"Pasirinkite parinktį...\"\n}\n","{\n \"loading\": \"Notiek ielāde...\",\n \"placeholder\": \"Atlasiet opciju...\"\n}\n","{\n \"loading\": \"Laster inn ...\",\n \"placeholder\": \"Velg et alternativ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Optie selecteren...\"\n}\n","{\n \"loading\": \"Ładowanie...\",\n \"placeholder\": \"Wybierz opcję...\"\n}\n","{\n \"loading\": \"Carregando...\",\n \"placeholder\": \"Selecione uma opção...\"\n}\n","{\n \"loading\": \"A carregar...\",\n \"placeholder\": \"Selecionar uma opção...\"\n}\n","{\n \"loading\": \"Se încarcă...\",\n \"placeholder\": \"Selectați o opțiune\"\n}\n","{\n \"loading\": \"Загрузка...\",\n \"placeholder\": \"Выбрать параметр...\"\n}\n","{\n \"loading\": \"Načítava sa...\",\n \"placeholder\": \"Vyberte možnosť...\"\n}\n","{\n \"loading\": \"Nalaganje...\",\n \"placeholder\": \"Izberite možnost\"\n}\n","{\n \"loading\": \"Učitavam...\",\n \"placeholder\": \"Izaberite opciju\"\n}\n","{\n \"loading\": \"Läser in...\",\n \"placeholder\": \"Välj ett alternativ...\"\n}\n","{\n \"loading\": \"Yükleniyor...\",\n \"placeholder\": \"Bir seçim yapın…\"\n}\n","{\n \"loading\": \"Завантаження…\",\n \"placeholder\": \"Виберіть опцію...\"\n}\n","{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择一个选项...\"\n}\n","{\n \"loading\": \"正在載入\",\n \"placeholder\": \"選取一個選項\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.mjs.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/picker",
|
|
3
|
-
"version": "3.9.1-nightly.
|
|
3
|
+
"version": "3.9.1-nightly.3600+bfce84fee",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,29 +36,29 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@react-aria/
|
|
41
|
-
"@react-aria/
|
|
42
|
-
"@react-aria/
|
|
43
|
-
"@react-aria/
|
|
44
|
-
"@react-aria/
|
|
45
|
-
"@react-
|
|
46
|
-
"@react-spectrum/
|
|
47
|
-
"@react-spectrum/
|
|
48
|
-
"@react-spectrum/
|
|
49
|
-
"@react-spectrum/
|
|
50
|
-
"@react-spectrum/
|
|
51
|
-
"@react-spectrum/
|
|
52
|
-
"@react-
|
|
53
|
-
"@react-stately/
|
|
54
|
-
"@react-
|
|
55
|
-
"@react-types/
|
|
56
|
-
"@react-types/
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
39
|
+
"@react-aria/focus": "3.0.0-nightly.1900+bfce84fee",
|
|
40
|
+
"@react-aria/i18n": "3.0.0-nightly.1900+bfce84fee",
|
|
41
|
+
"@react-aria/interactions": "3.0.0-nightly.1900+bfce84fee",
|
|
42
|
+
"@react-aria/overlays": "3.0.0-nightly.1900+bfce84fee",
|
|
43
|
+
"@react-aria/select": "3.8.4-nightly.3600+bfce84fee",
|
|
44
|
+
"@react-aria/utils": "3.0.0-nightly.1900+bfce84fee",
|
|
45
|
+
"@react-spectrum/button": "3.0.0-nightly.1900+bfce84fee",
|
|
46
|
+
"@react-spectrum/label": "3.9.1-nightly.3600+bfce84fee",
|
|
47
|
+
"@react-spectrum/listbox": "3.8.2-nightly.3600+bfce84fee",
|
|
48
|
+
"@react-spectrum/overlays": "3.0.0-nightly.1900+bfce84fee",
|
|
49
|
+
"@react-spectrum/progress": "3.0.0-nightly.1900+bfce84fee",
|
|
50
|
+
"@react-spectrum/text": "3.3.4-nightly.3600+bfce84fee",
|
|
51
|
+
"@react-spectrum/utils": "3.0.0-nightly.1900+bfce84fee",
|
|
52
|
+
"@react-stately/collections": "3.0.0-nightly.1900+bfce84fee",
|
|
53
|
+
"@react-stately/select": "3.3.4-nightly.3600+bfce84fee",
|
|
54
|
+
"@react-types/overlays": "3.6.6-nightly.3600+bfce84fee",
|
|
55
|
+
"@react-types/select": "3.6.6-nightly.3600+bfce84fee",
|
|
56
|
+
"@react-types/shared": "3.0.0-nightly.1900+bfce84fee",
|
|
57
|
+
"@spectrum-icons/ui": "3.0.0-nightly.1900+bfce84fee",
|
|
58
|
+
"@swc/helpers": "^0.4.14"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
61
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.1900+bfce84fee"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@react-spectrum/provider": "^3.1.4",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "bfce84fee12a027d9cbc38b43e1747e3e4b4b169"
|
|
72
72
|
}
|