@react-spectrum/picker 3.13.3-nightly.4313 → 3.13.3-nightly.4321

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/import.mjs CHANGED
@@ -347,6 +347,7 @@ $parcel$export($3c14925a8a65017e$exports, "is-placeholder", () => $3c14925a8a650
347
347
  $parcel$export($3c14925a8a65017e$exports, "is-selected", () => $3c14925a8a65017e$export$1e0fb04f31d3c22a, (v) => $3c14925a8a65017e$export$1e0fb04f31d3c22a = v);
348
348
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown", () => $3c14925a8a65017e$export$f33c6833ddc773bd, (v) => $3c14925a8a65017e$export$f33c6833ddc773bd = v);
349
349
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown--quiet", () => $3c14925a8a65017e$export$b2306417a70c7a62, (v) => $3c14925a8a65017e$export$b2306417a70c7a62 = v);
350
+ $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-avatar", () => $3c14925a8a65017e$export$f8e5a201376aedb0, (v) => $3c14925a8a65017e$export$f8e5a201376aedb0 = v);
350
351
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-chevron", () => $3c14925a8a65017e$export$abbb0cf96dbbb8a0, (v) => $3c14925a8a65017e$export$abbb0cf96dbbb8a0 = v);
351
352
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-fieldWrapper--positionSide", () => $3c14925a8a65017e$export$c0b4e9596538c7b1, (v) => $3c14925a8a65017e$export$c0b4e9596538c7b1 = v);
352
353
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-fieldWrapper--quiet", () => $3c14925a8a65017e$export$66ddc2410b0e9eba, (v) => $3c14925a8a65017e$export$66ddc2410b0e9eba = v);
@@ -369,6 +370,7 @@ var $3c14925a8a65017e$export$e5b2f5233e4e5194;
369
370
  var $3c14925a8a65017e$export$1e0fb04f31d3c22a;
370
371
  var $3c14925a8a65017e$export$f33c6833ddc773bd;
371
372
  var $3c14925a8a65017e$export$b2306417a70c7a62;
373
+ var $3c14925a8a65017e$export$f8e5a201376aedb0;
372
374
  var $3c14925a8a65017e$export$abbb0cf96dbbb8a0;
373
375
  var $3c14925a8a65017e$export$c0b4e9596538c7b1;
374
376
  var $3c14925a8a65017e$export$66ddc2410b0e9eba;
@@ -391,6 +393,7 @@ $3c14925a8a65017e$export$e5b2f5233e4e5194 = `PBsjDW_is-placeholder`;
391
393
  $3c14925a8a65017e$export$1e0fb04f31d3c22a = `PBsjDW_is-selected`;
392
394
  $3c14925a8a65017e$export$f33c6833ddc773bd = `PBsjDW_spectrum-Dropdown`;
393
395
  $3c14925a8a65017e$export$b2306417a70c7a62 = `PBsjDW_spectrum-Dropdown--quiet`;
396
+ $3c14925a8a65017e$export$f8e5a201376aedb0 = `PBsjDW_spectrum-Dropdown-avatar`;
394
397
  $3c14925a8a65017e$export$abbb0cf96dbbb8a0 = `PBsjDW_spectrum-Dropdown-chevron`;
395
398
  $3c14925a8a65017e$export$c0b4e9596538c7b1 = `PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide`;
396
399
  $3c14925a8a65017e$export$66ddc2410b0e9eba = `PBsjDW_spectrum-Dropdown-fieldWrapper--quiet`;
@@ -537,6 +540,10 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
537
540
  UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Icon"),
538
541
  size: "S"
539
542
  },
543
+ avatar: {
544
+ UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-avatar"),
545
+ size: "avatar-size-100"
546
+ },
540
547
  text: {
541
548
  ...valueProps,
542
549
  UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-label", {
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- .PBsjDW_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.PBsjDW_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.PBsjDW_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.PBsjDW_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(zh-SG),.PBsjDW_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.PBsjDW_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.PBsjDW_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius:var(--spectrum-textfield-border-radius,var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap:var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size:var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size:0px;--spectrum-focus-ring-color:var(--spectrum-high-contrast-focus-ring-color,var(--spectrum-alias-focus-ring-color,var(--spectrum-alias-focus-color)))}.PBsjDW_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1*var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100,.13s)ease-out,margin var(--spectrum-global-animation-duration-100,.13s)ease-out;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.PBsjDW_spectrum-FocusRing.PBsjDW_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap)*-1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size)var(--spectrum-focus-ring-color)}.PBsjDW_spectrum-FocusRing--quiet:after{border-radius:0}.PBsjDW_spectrum-FocusRing--quiet.PBsjDW_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap)*-1 - var(--spectrum-focus-ring-border-size))0;box-shadow:0 var(--spectrum-focus-ring-size)0 var(--spectrum-focus-ring-color)}.PBsjDW_spectrum-Dropdown{-webkit-user-select:none;user-select:none;inline-size:var(--spectrum-global-dimension-size-2400);min-inline-size:var(--spectrum-dropdown-min-width,var(--spectrum-global-dimension-size-600));max-inline-size:100%;display:inline-block;position:relative}.PBsjDW_spectrum-Dropdown select{-webkit-appearance:none;appearance:none}.PBsjDW_spectrum-Dropdown select::-ms-expand{display:none}.PBsjDW_spectrum-Dropdown select::-ms-value{background-color:#0000}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron{margin-block-start:calc(var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75))/-2);position:absolute;top:50%}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown-trigger{contain:size;justify-content:space-between;align-items:center;inline-size:100%;display:flex;position:relative}.PBsjDW_spectrum-Dropdown-label{white-space:nowrap;block-size:calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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)) - calc(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;text-align:start;flex:auto;overflow:hidden}.PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{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}.PBsjDW_spectrum-Dropdown-label+.PBsjDW_spectrum-Dropdown-chevron{margin-inline-start:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Icon+.PBsjDW_spectrum-Dropdown-label{margin-inline-start:var(--spectrum-selectlist-thumbnail-image-padding-x,var(--spectrum-global-dimension-size-100))}.PBsjDW_spectrum-Dropdown-label~.PBsjDW_spectrum-Dropdown-chevron{margin-inline-start:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown-chevron{vertical-align:top;transition:color var(--spectrum-global-animation-duration-100,.13s)ease-out;margin-top:calc(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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}.PBsjDW_spectrum-Dropdown-trigger .PBsjDW_spectrum-Dropdown-invalidIcon{margin-block-start:calc(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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-block-end:calc(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2) - var(--spectrum-dropdown-icon-size,var(--spectrum-alias-workflow-icon-size)))/2)}.PBsjDW_spectrum-Dropdown-trigger .PBsjDW_spectrum-Dropdown-label+.PBsjDW_spectrum-Dropdown-invalidIcon,.PBsjDW_spectrum-Dropdown-trigger .PBsjDW_spectrum-Dropdown-progressCircle{margin-inline-start:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Icon+.PBsjDW_spectrum-Dropdown-chevron{margin-inline-start:var(--spectrum-dropdown-icon-gap,var(--spectrum-global-dimension-size-100))}.PBsjDW_spectrum-Dropdown--quiet{min-inline-size:var(--spectrum-dropdown-quiet-min-width,var(--spectrum-global-dimension-size-600));inline-size:auto}.PBsjDW_spectrum-Dropdown--quiet .PBsjDW_spectrum-Dropdown-trigger{contain:none}.PBsjDW_spectrum-Dropdown-popover--quiet{inline-size: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)));margin-inline-start:calc(var(--spectrum-dropdown-quiet-offset)*-1)}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet{flex-direction:column;inline-size:auto;display:inline-flex}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet .PBsjDW_spectrum-Dropdown--quiet{min-inline-size:var(--spectrum-dropdown-quiet-min-width,var(--spectrum-global-dimension-size-600));inline-size:auto}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet .PBsjDW_spectrum-Dropdown--quiet .PBsjDW_spectrum-Dropdown-trigger{inline-size:auto}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet.PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide{flex-direction:row}.PBsjDW_spectrum-Dropdown{--spectrum-dropdown-placeholder-text-color:var(--spectrum-global-color-gray-800)}.PBsjDW_spectrum-Dropdown .PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-selected .PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color-down,var(--spectrum-global-color-gray-900))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-invalid .PBsjDW_spectrum-Dropdown-invalidIcon.PBsjDW_spectrum-Dropdown-invalidIcon{fill:var(--spectrum-dropdown-validation-icon-color-error,var(--spectrum-semantic-negative-color-icon))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-invalid.PBsjDW_is-disabled .PBsjDW_spectrum-Icon,.PBsjDW_spectrum-Dropdown.PBsjDW_is-invalid.PBsjDW_is-disabled .PBsjDW_spectrum-Dropdown-invalidIcon{fill:var(--spectrum-dropdown-icon-color-disabled,var(--spectrum-alias-icon-color-disabled))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-disabled:active .PBsjDW_spectrum-Dropdown-label{color:var(--spectrum-dropdown-text-color-disabled,var(--spectrum-alias-text-color-disabled))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-disabled .PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color-disabled,var(--spectrum-alias-text-color-disabled))}.PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color,var(--spectrum-alias-placeholder-text-color))}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-hovered .PBsjDW_spectrum-Dropdown-label{color:var(--spectrum-dropdown-placeholder-text-color-hover,var(--spectrum-alias-placeholder-text-color-hover))}.PBsjDW_spectrum-Dropdown-trigger:active .PBsjDW_spectrum-Dropdown-label{color:var(--spectrum-dropdown-placeholder-text-color-mouse-focus,var(--spectrum-global-color-gray-900))}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_focus-ring .PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color-key-focus,var(--spectrum-alias-placeholder-text-color-hover))}@media (forced-colors:active){.PBsjDW_spectrum-Dropdown{--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}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-hovered .PBsjDW_spectrum-Dropdown-label{color:ButtonText}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-hovered .PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:GrayText}}
1
+ .PBsjDW_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.PBsjDW_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.PBsjDW_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.PBsjDW_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(zh-SG),.PBsjDW_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.PBsjDW_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.PBsjDW_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.PBsjDW_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius:var(--spectrum-textfield-border-radius,var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap:var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size:var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size:0px;--spectrum-focus-ring-color:var(--spectrum-high-contrast-focus-ring-color,var(--spectrum-alias-focus-ring-color,var(--spectrum-alias-focus-color)))}.PBsjDW_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1*var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100,.13s)ease-out,margin var(--spectrum-global-animation-duration-100,.13s)ease-out;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.PBsjDW_spectrum-FocusRing.PBsjDW_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap)*-1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size)var(--spectrum-focus-ring-color)}.PBsjDW_spectrum-FocusRing--quiet:after{border-radius:0}.PBsjDW_spectrum-FocusRing--quiet.PBsjDW_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap)*-1 - var(--spectrum-focus-ring-border-size))0;box-shadow:0 var(--spectrum-focus-ring-size)0 var(--spectrum-focus-ring-color)}.PBsjDW_spectrum-Dropdown{-webkit-user-select:none;user-select:none;inline-size:var(--spectrum-global-dimension-size-2400);min-inline-size:var(--spectrum-dropdown-min-width,var(--spectrum-global-dimension-size-600));max-inline-size:100%;display:inline-block;position:relative}.PBsjDW_spectrum-Dropdown select{-webkit-appearance:none;appearance:none}.PBsjDW_spectrum-Dropdown select::-ms-expand{display:none}.PBsjDW_spectrum-Dropdown select::-ms-value{background-color:#0000}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron{margin-block-start:calc(var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75))/-2);position:absolute;top:50%}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown select+.PBsjDW_spectrum-Dropdown-chevron:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-dropdown-padding-x,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown-trigger{contain:size;justify-content:space-between;align-items:center;inline-size:100%;display:flex;position:relative}.PBsjDW_spectrum-Dropdown-label{white-space:nowrap;block-size:calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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)) - calc(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;text-align:start;flex:auto;overflow:hidden}.PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{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}.PBsjDW_spectrum-Dropdown-label+.PBsjDW_spectrum-Dropdown-chevron{margin-inline-start:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Icon+.PBsjDW_spectrum-Dropdown-label,.PBsjDW_spectrum-Dropdown-avatar+.PBsjDW_spectrum-Dropdown-label{margin-inline-start:var(--spectrum-selectlist-thumbnail-image-padding-x,var(--spectrum-global-dimension-size-100))}.PBsjDW_spectrum-Dropdown-label~.PBsjDW_spectrum-Dropdown-chevron{margin-inline-start:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Dropdown-chevron{vertical-align:top;transition:color var(--spectrum-global-animation-duration-100,.13s)ease-out;margin-top:calc(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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}.PBsjDW_spectrum-Dropdown-trigger .PBsjDW_spectrum-Dropdown-invalidIcon{margin-block-start:calc(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(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-block-end:calc(calc(var(--spectrum-dropdown-height,var(--spectrum-global-dimension-size-400)) - calc(var(--spectrum-dropdown-border-size,var(--spectrum-alias-border-size-thin))*2) - var(--spectrum-dropdown-icon-size,var(--spectrum-alias-workflow-icon-size)))/2)}.PBsjDW_spectrum-Dropdown-trigger .PBsjDW_spectrum-Dropdown-label+.PBsjDW_spectrum-Dropdown-invalidIcon,.PBsjDW_spectrum-Dropdown-trigger .PBsjDW_spectrum-Dropdown-progressCircle{margin-inline-start:var(--spectrum-dropdown-icon-margin-left,var(--spectrum-global-dimension-size-150))}.PBsjDW_spectrum-Icon+.PBsjDW_spectrum-Dropdown-chevron{margin-inline-start:var(--spectrum-dropdown-icon-gap,var(--spectrum-global-dimension-size-100))}.PBsjDW_spectrum-Dropdown--quiet{min-inline-size:var(--spectrum-dropdown-quiet-min-width,var(--spectrum-global-dimension-size-600));inline-size:auto}.PBsjDW_spectrum-Dropdown--quiet .PBsjDW_spectrum-Dropdown-trigger{contain:none}.PBsjDW_spectrum-Dropdown-popover--quiet{inline-size: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)));margin-inline-start:calc(var(--spectrum-dropdown-quiet-offset)*-1)}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet{flex-direction:column;inline-size:auto;display:inline-flex}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet .PBsjDW_spectrum-Dropdown--quiet{min-inline-size:var(--spectrum-dropdown-quiet-min-width,var(--spectrum-global-dimension-size-600));inline-size:auto}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet .PBsjDW_spectrum-Dropdown--quiet .PBsjDW_spectrum-Dropdown-trigger{inline-size:auto}.PBsjDW_spectrum-Field.PBsjDW_spectrum-Dropdown-fieldWrapper--quiet.PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide{flex-direction:row}.PBsjDW_spectrum-Dropdown{--spectrum-dropdown-placeholder-text-color:var(--spectrum-global-color-gray-800)}.PBsjDW_spectrum-Dropdown .PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-selected .PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color-down,var(--spectrum-global-color-gray-900))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-invalid .PBsjDW_spectrum-Dropdown-invalidIcon.PBsjDW_spectrum-Dropdown-invalidIcon{fill:var(--spectrum-dropdown-validation-icon-color-error,var(--spectrum-semantic-negative-color-icon))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-invalid.PBsjDW_is-disabled .PBsjDW_spectrum-Icon,.PBsjDW_spectrum-Dropdown.PBsjDW_is-invalid.PBsjDW_is-disabled .PBsjDW_spectrum-Dropdown-invalidIcon{fill:var(--spectrum-dropdown-icon-color-disabled,var(--spectrum-alias-icon-color-disabled))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-disabled:active .PBsjDW_spectrum-Dropdown-label{color:var(--spectrum-dropdown-text-color-disabled,var(--spectrum-alias-text-color-disabled))}.PBsjDW_spectrum-Dropdown.PBsjDW_is-disabled .PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color-disabled,var(--spectrum-alias-text-color-disabled))}.PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color,var(--spectrum-alias-placeholder-text-color))}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-hovered .PBsjDW_spectrum-Dropdown-label{color:var(--spectrum-dropdown-placeholder-text-color-hover,var(--spectrum-alias-placeholder-text-color-hover))}.PBsjDW_spectrum-Dropdown-trigger:active .PBsjDW_spectrum-Dropdown-label{color:var(--spectrum-dropdown-placeholder-text-color-mouse-focus,var(--spectrum-global-color-gray-900))}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_focus-ring .PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:var(--spectrum-dropdown-placeholder-text-color-key-focus,var(--spectrum-alias-placeholder-text-color-hover))}@media (forced-colors:active){.PBsjDW_spectrum-Dropdown{--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}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-hovered .PBsjDW_spectrum-Dropdown-label{color:ButtonText}.PBsjDW_spectrum-Dropdown-trigger.PBsjDW_is-hovered .PBsjDW_spectrum-Dropdown-label.PBsjDW_is-placeholder{color:GrayText}}
package/dist/main.js CHANGED
@@ -351,6 +351,7 @@ $parcel$export($b39b306bfc9a5551$exports, "is-placeholder", () => $b39b306bfc9a5
351
351
  $parcel$export($b39b306bfc9a5551$exports, "is-selected", () => $b39b306bfc9a5551$export$1e0fb04f31d3c22a, (v) => $b39b306bfc9a5551$export$1e0fb04f31d3c22a = v);
352
352
  $parcel$export($b39b306bfc9a5551$exports, "spectrum-Dropdown", () => $b39b306bfc9a5551$export$f33c6833ddc773bd, (v) => $b39b306bfc9a5551$export$f33c6833ddc773bd = v);
353
353
  $parcel$export($b39b306bfc9a5551$exports, "spectrum-Dropdown--quiet", () => $b39b306bfc9a5551$export$b2306417a70c7a62, (v) => $b39b306bfc9a5551$export$b2306417a70c7a62 = v);
354
+ $parcel$export($b39b306bfc9a5551$exports, "spectrum-Dropdown-avatar", () => $b39b306bfc9a5551$export$f8e5a201376aedb0, (v) => $b39b306bfc9a5551$export$f8e5a201376aedb0 = v);
354
355
  $parcel$export($b39b306bfc9a5551$exports, "spectrum-Dropdown-chevron", () => $b39b306bfc9a5551$export$abbb0cf96dbbb8a0, (v) => $b39b306bfc9a5551$export$abbb0cf96dbbb8a0 = v);
355
356
  $parcel$export($b39b306bfc9a5551$exports, "spectrum-Dropdown-fieldWrapper--positionSide", () => $b39b306bfc9a5551$export$c0b4e9596538c7b1, (v) => $b39b306bfc9a5551$export$c0b4e9596538c7b1 = v);
356
357
  $parcel$export($b39b306bfc9a5551$exports, "spectrum-Dropdown-fieldWrapper--quiet", () => $b39b306bfc9a5551$export$66ddc2410b0e9eba, (v) => $b39b306bfc9a5551$export$66ddc2410b0e9eba = v);
@@ -373,6 +374,7 @@ var $b39b306bfc9a5551$export$e5b2f5233e4e5194;
373
374
  var $b39b306bfc9a5551$export$1e0fb04f31d3c22a;
374
375
  var $b39b306bfc9a5551$export$f33c6833ddc773bd;
375
376
  var $b39b306bfc9a5551$export$b2306417a70c7a62;
377
+ var $b39b306bfc9a5551$export$f8e5a201376aedb0;
376
378
  var $b39b306bfc9a5551$export$abbb0cf96dbbb8a0;
377
379
  var $b39b306bfc9a5551$export$c0b4e9596538c7b1;
378
380
  var $b39b306bfc9a5551$export$66ddc2410b0e9eba;
@@ -395,6 +397,7 @@ $b39b306bfc9a5551$export$e5b2f5233e4e5194 = `PBsjDW_is-placeholder`;
395
397
  $b39b306bfc9a5551$export$1e0fb04f31d3c22a = `PBsjDW_is-selected`;
396
398
  $b39b306bfc9a5551$export$f33c6833ddc773bd = `PBsjDW_spectrum-Dropdown`;
397
399
  $b39b306bfc9a5551$export$b2306417a70c7a62 = `PBsjDW_spectrum-Dropdown--quiet`;
400
+ $b39b306bfc9a5551$export$f8e5a201376aedb0 = `PBsjDW_spectrum-Dropdown-avatar`;
398
401
  $b39b306bfc9a5551$export$abbb0cf96dbbb8a0 = `PBsjDW_spectrum-Dropdown-chevron`;
399
402
  $b39b306bfc9a5551$export$c0b4e9596538c7b1 = `PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide`;
400
403
  $b39b306bfc9a5551$export$66ddc2410b0e9eba = `PBsjDW_spectrum-Dropdown-fieldWrapper--quiet`;
@@ -541,6 +544,10 @@ function $902e54cfaa4270a9$var$Picker(props, ref) {
541
544
  UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Icon"),
542
545
  size: "S"
543
546
  },
547
+ avatar: {
548
+ UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-avatar"),
549
+ size: "avatar-size-100"
550
+ },
544
551
  text: {
545
552
  ...valueProps,
546
553
  UNSAFE_className: (0, $4FjNO$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b39b306bfc9a5551$exports))), "spectrum-Dropdown-label", {
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;AEVD,4BAAiB;IAAG,WAAW,CAAC,iFAAe,CAAC;IAC9C,eAAe,CAAC,mEAAa,CAAC;AAChC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,kEAAY,CAAC;IAC3C,eAAe,CAAC,4FAAc,CAAC;AACjC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,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mBAAmB;QACnB,WAAW;QACX,kBAAkB;QAClB,mBAAmB;QACnB,eAAe;QACf,8CAAA;QACA,aAAY;OACX;AAGP;AAEA;;CAEC,GACD,wFAAwF;AACxF,2GAA2G;AAC3G,MAAM,0DAAU,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/src/*.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, useId, 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 {useFormProps} from '@react-spectrum/form';\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 props = useFormProps(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 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 let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n let progressCircleId = useId();\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, isLoadingMore);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps, isInvalid, validationErrors, validationDetails} = useSelect({\n ...props,\n 'aria-describedby': (isLoadingInitial ? progressCircleId : undefined),\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\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={props.isLoading}\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': isInvalid && !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 isInvalid={isInvalid}\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 id={progressCircleId}\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {isInvalid && !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 isInvalid={isInvalid}\n validationErrors={validationErrors}\n validationDetails={validationDetails}\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(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/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;;;;;;;;AEVD,4BAAiB;IAAG,WAAW,CAAC,iFAAe,CAAC;IAC9C,eAAe,CAAC,mEAAa,CAAC;AAChC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,kEAAY,CAAC;IAC3C,eAAe,CAAC,4FAAc,CAAC;AACjC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,0BAAW,CAAC;IAC1C,eAAe,CAAC,gCAA0B,CAAC;AAC7C;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,eAAY,CAAC;IAC3C,eAAe,CAAC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ClB,YAAY;QACZ,kBAAkB;QAClB,mBAAmB;QACnB,WAAW;QACX,kBAAkB;QAClB,mBAAmB;QACnB,eAAe;QACf,8CAAA;QACA,aAAY;OACX;AAGP;AAEA;;CAEC,GACD,wFAAwF;AACxF,2GAA2G;AAC3G,MAAM,0DAAU,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/src/*.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, useId, 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 {useFormProps} from '@react-spectrum/form';\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 props = useFormProps(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 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 let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n let progressCircleId = useId();\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, isLoadingMore);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps, isInvalid, validationErrors, validationDetails} = useSelect({\n ...props,\n 'aria-describedby': (isLoadingInitial ? progressCircleId : undefined),\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\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={props.isLoading}\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': isInvalid && !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 isInvalid={isInvalid}\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 avatar: {UNSAFE_className: classNames(styles, 'spectrum-Dropdown-avatar'), size: 'avatar-size-100'},\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 id={progressCircleId}\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {isInvalid && !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 isInvalid={isInvalid}\n validationErrors={validationErrors}\n validationDetails={validationDetails}\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(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/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.js CHANGED
@@ -347,6 +347,7 @@ $parcel$export($3c14925a8a65017e$exports, "is-placeholder", () => $3c14925a8a650
347
347
  $parcel$export($3c14925a8a65017e$exports, "is-selected", () => $3c14925a8a65017e$export$1e0fb04f31d3c22a, (v) => $3c14925a8a65017e$export$1e0fb04f31d3c22a = v);
348
348
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown", () => $3c14925a8a65017e$export$f33c6833ddc773bd, (v) => $3c14925a8a65017e$export$f33c6833ddc773bd = v);
349
349
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown--quiet", () => $3c14925a8a65017e$export$b2306417a70c7a62, (v) => $3c14925a8a65017e$export$b2306417a70c7a62 = v);
350
+ $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-avatar", () => $3c14925a8a65017e$export$f8e5a201376aedb0, (v) => $3c14925a8a65017e$export$f8e5a201376aedb0 = v);
350
351
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-chevron", () => $3c14925a8a65017e$export$abbb0cf96dbbb8a0, (v) => $3c14925a8a65017e$export$abbb0cf96dbbb8a0 = v);
351
352
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-fieldWrapper--positionSide", () => $3c14925a8a65017e$export$c0b4e9596538c7b1, (v) => $3c14925a8a65017e$export$c0b4e9596538c7b1 = v);
352
353
  $parcel$export($3c14925a8a65017e$exports, "spectrum-Dropdown-fieldWrapper--quiet", () => $3c14925a8a65017e$export$66ddc2410b0e9eba, (v) => $3c14925a8a65017e$export$66ddc2410b0e9eba = v);
@@ -369,6 +370,7 @@ var $3c14925a8a65017e$export$e5b2f5233e4e5194;
369
370
  var $3c14925a8a65017e$export$1e0fb04f31d3c22a;
370
371
  var $3c14925a8a65017e$export$f33c6833ddc773bd;
371
372
  var $3c14925a8a65017e$export$b2306417a70c7a62;
373
+ var $3c14925a8a65017e$export$f8e5a201376aedb0;
372
374
  var $3c14925a8a65017e$export$abbb0cf96dbbb8a0;
373
375
  var $3c14925a8a65017e$export$c0b4e9596538c7b1;
374
376
  var $3c14925a8a65017e$export$66ddc2410b0e9eba;
@@ -391,6 +393,7 @@ $3c14925a8a65017e$export$e5b2f5233e4e5194 = `PBsjDW_is-placeholder`;
391
393
  $3c14925a8a65017e$export$1e0fb04f31d3c22a = `PBsjDW_is-selected`;
392
394
  $3c14925a8a65017e$export$f33c6833ddc773bd = `PBsjDW_spectrum-Dropdown`;
393
395
  $3c14925a8a65017e$export$b2306417a70c7a62 = `PBsjDW_spectrum-Dropdown--quiet`;
396
+ $3c14925a8a65017e$export$f8e5a201376aedb0 = `PBsjDW_spectrum-Dropdown-avatar`;
394
397
  $3c14925a8a65017e$export$abbb0cf96dbbb8a0 = `PBsjDW_spectrum-Dropdown-chevron`;
395
398
  $3c14925a8a65017e$export$c0b4e9596538c7b1 = `PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide`;
396
399
  $3c14925a8a65017e$export$66ddc2410b0e9eba = `PBsjDW_spectrum-Dropdown-fieldWrapper--quiet`;
@@ -537,6 +540,10 @@ function $51664a9007a3c6f9$var$Picker(props, ref) {
537
540
  UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Icon"),
538
541
  size: "S"
539
542
  },
543
+ avatar: {
544
+ UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-avatar"),
545
+ size: "avatar-size-100"
546
+ },
540
547
  text: {
541
548
  ...valueProps,
542
549
  UNSAFE_className: (0, $3toCD$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($3c14925a8a65017e$exports))), "spectrum-Dropdown-label", {
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;AEVD,4BAAiB;IAAG,WAAW,CAAC,iFAAe,CAAC;IAC9C,eAAe,CAAC,mEAAa,CAAC;AAChC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,kEAAY,CAAC;IAC3C,eAAe,CAAC,4FAAc,CAAC;AACjC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,0BAAW,CAAC;IAC1C,eAAe,CAAC,gCAA0B,CAAC;AAC7C;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,eAAY,CAAC;IAC3C,eAAe,CAAC,uBAAoB,CAAC;AACvC;;;;ACFA,4BAAiB;IAAG,WAAW,CA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AAC;","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/src/*.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, useId, 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 {useFormProps} from '@react-spectrum/form';\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 props = useFormProps(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 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 let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n let progressCircleId = useId();\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, isLoadingMore);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps, isInvalid, validationErrors, validationDetails} = useSelect({\n ...props,\n 'aria-describedby': (isLoadingInitial ? progressCircleId : undefined),\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\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={props.isLoading}\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': isInvalid && !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 isInvalid={isInvalid}\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 id={progressCircleId}\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {isInvalid && !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 isInvalid={isInvalid}\n validationErrors={validationErrors}\n validationDetails={validationDetails}\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(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/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.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;AEVD,4BAAiB;IAAG,WAAW,CAAC,iFAAe,CAAC;IAC9C,eAAe,CAAC,mEAAa,CAAC;AAChC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,kEAAY,CAAC;IAC3C,eAAe,CAAC,4FAAc,CAAC;AACjC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,0BAAW,CAAC;IAC1C,eAAe,CAAC,gCAA0B,CAAC;AAC7C;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,eAAY,CAAC;IAC3C,eAAe,CAAC,uBAAoB,CAAC;AACvC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,QAAQ,CAAC;IACvC,eAAe,CAAC,sBAAmB,CAAC;AACtC;;;;ACFA,4BAAiB;IAAG,WAAW,CAAC,oDAAU,CAAC;IACzC,eAAe,CAAC,gEAAS,CAAC;AA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AAE,UAAU,CAAC;","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/src/*.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, useId, 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 {useFormProps} from '@react-spectrum/form';\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 props = useFormProps(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 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 let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n let progressCircleId = useId();\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, isLoadingMore);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps, isInvalid, validationErrors, validationDetails} = useSelect({\n ...props,\n 'aria-describedby': (isLoadingInitial ? progressCircleId : undefined),\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {hoverProps, isHovered} = useHover({isDisabled});\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={props.isLoading}\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': isInvalid && !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 isInvalid={isInvalid}\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 avatar: {UNSAFE_className: classNames(styles, 'spectrum-Dropdown-avatar'), size: 'avatar-size-100'},\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 id={progressCircleId}\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {isInvalid && !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 isInvalid={isInvalid}\n validationErrors={validationErrors}\n validationDetails={validationDetails}\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(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/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.js.map"}
@@ -1 +1 @@
1
- {"mappings":";;;AA8PA;;GAEG;AAGH,OAAA,MAAM;UAAiF,OAAO,cAAc,CAAC;MAAM,YAAY,CAAC;ACpPhI,OAAO,EAAC,IAAI,EAAE,OAAO,EAAC,MAAM,4BAA4B,CAAC;AACzD,YAAY,EAAC,mBAAmB,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-spectrum/picker/src/packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/src/packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/index.ts"],"sourcesContent":[null,null,"/*\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"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;AA+PA;;GAEG;AAGH,OAAA,MAAM;UAAiF,OAAO,cAAc,CAAC;MAAM,YAAY,CAAC;ACrPhI,OAAO,EAAC,IAAI,EAAE,OAAO,EAAC,MAAM,4BAA4B,CAAC;AACzD,YAAY,EAAC,mBAAmB,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-spectrum/picker/src/packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/src/packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/index.ts"],"sourcesContent":[null,null,"/*\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"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/picker",
3
- "version": "3.13.3-nightly.4313+9d8c74a34",
3
+ "version": "3.13.3-nightly.4321+5e487532e",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,27 +36,27 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/i18n": "3.0.0-nightly.2602+9d8c74a34",
40
- "@react-aria/interactions": "3.0.0-nightly.2602+9d8c74a34",
41
- "@react-aria/select": "3.14.1-nightly.4313+9d8c74a34",
42
- "@react-aria/utils": "3.0.0-nightly.2602+9d8c74a34",
43
- "@react-spectrum/button": "3.0.0-nightly.2602+9d8c74a34",
44
- "@react-spectrum/form": "3.0.0-nightly.2602+9d8c74a34",
45
- "@react-spectrum/label": "3.16.1-nightly.4313+9d8c74a34",
46
- "@react-spectrum/listbox": "3.12.5-nightly.4313+9d8c74a34",
47
- "@react-spectrum/overlays": "3.0.0-nightly.2602+9d8c74a34",
48
- "@react-spectrum/progress": "3.0.0-nightly.2602+9d8c74a34",
49
- "@react-spectrum/text": "3.5.1-nightly.4313+9d8c74a34",
50
- "@react-spectrum/utils": "3.0.0-nightly.2602+9d8c74a34",
51
- "@react-stately/collections": "3.0.0-nightly.2602+9d8c74a34",
52
- "@react-stately/select": "3.6.1-nightly.4313+9d8c74a34",
53
- "@react-types/select": "3.9.1-nightly.4313+9d8c74a34",
54
- "@react-types/shared": "3.0.0-nightly.2602+9d8c74a34",
55
- "@spectrum-icons/ui": "3.0.0-nightly.2602+9d8c74a34",
39
+ "@react-aria/i18n": "3.0.0-nightly.2610+5e487532e",
40
+ "@react-aria/interactions": "3.0.0-nightly.2610+5e487532e",
41
+ "@react-aria/select": "3.14.1-nightly.4321+5e487532e",
42
+ "@react-aria/utils": "3.0.0-nightly.2610+5e487532e",
43
+ "@react-spectrum/button": "3.0.0-nightly.2610+5e487532e",
44
+ "@react-spectrum/form": "3.0.0-nightly.2610+5e487532e",
45
+ "@react-spectrum/label": "3.16.1-nightly.4321+5e487532e",
46
+ "@react-spectrum/listbox": "3.12.5-nightly.4321+5e487532e",
47
+ "@react-spectrum/overlays": "3.0.0-nightly.2610+5e487532e",
48
+ "@react-spectrum/progress": "3.0.0-nightly.2610+5e487532e",
49
+ "@react-spectrum/text": "3.5.1-nightly.4321+5e487532e",
50
+ "@react-spectrum/utils": "3.0.0-nightly.2610+5e487532e",
51
+ "@react-stately/collections": "3.0.0-nightly.2610+5e487532e",
52
+ "@react-stately/select": "3.6.1-nightly.4321+5e487532e",
53
+ "@react-types/select": "3.9.1-nightly.4321+5e487532e",
54
+ "@react-types/shared": "3.0.0-nightly.2610+5e487532e",
55
+ "@spectrum-icons/ui": "3.0.0-nightly.2610+5e487532e",
56
56
  "@swc/helpers": "^0.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2602+9d8c74a34"
59
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2610+5e487532e"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@react-spectrum/provider": "^3.1.4",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "9d8c74a344c9b7539f00fa58d0a02b062b6e830e"
69
+ "gitHead": "5e487532e3ca4714513fb6ab64f7a78d9d1ca281"
70
70
  }
package/src/Picker.tsx CHANGED
@@ -192,6 +192,7 @@ function Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTM
192
192
  <SlotProvider
193
193
  slots={{
194
194
  icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},
195
+ avatar: {UNSAFE_className: classNames(styles, 'spectrum-Dropdown-avatar'), size: 'avatar-size-100'},
195
196
  text: {
196
197
  ...valueProps,
197
198
  UNSAFE_className: classNames(