@react-spectrum/picker 3.6.2-nightly.3373 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js.map +1 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +22 -22
- package/src/index.ts +1 -0
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,0BAAe;IAClC,CAAE,eAAG,sBAAa;AAC/B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,qBAAY;IACjC,CAAI,eAAG,2BAAc;AAChC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,eAAW;IACrC,CAAS,eAAG,2BAA0B;AAC5C,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,aAAY;IACzC,CAAY,eAAG,qBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,QAAQ;IACtC,CAAa,eAAG,oBAAmB;AACrC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,iBAAU;IACjC,CAAM,eAAG,mBAAS;AAC3B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAa,eAAG,mBAAiB;IACjD,CAAO,WAAG,UAAQ;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,WAAS;IACrC,CAAW,eAAG,yBAAsB;AACxC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,YAAY;IAC1C,CAAa,eAAG,oBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,WAAS;IACv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C,gEAAM,EAAE,CAA2B;UAGtF,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,GAAG,IAAI,GAAG,OAAO;IAIjD,GAAG,CAAC,gBAAgB,GAAG,KAAK,GAAG,oCAAU,CACvC,gEAAM,EACN,CAAgB,iBAChB,CAAC;QACC,CAAuC,wCAAE,OAAO;QAChD,CAA8C,+CAAE,aAAa,KAAK,CAAM;IAC1E,CAAC,IACC,CAAE;IAEN,MAAM,oEACH,+BAAK;WACA,KAAK;QACT,GAAG,EAAE,MAAM;QACX,gBAAgB,EAAE,gBAAgB;QAClC,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,gBAAgB;QAClC,iBAAiB,EAAE,iBAAiB;QACpC,aAAa,EAAE,KAAK;QACpB,4CAA4C,EAA5C,IAA4C;QAC5C,WAAW,EAAC,CAAM;OACjB,MAAM;AAGb,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,EAAwF,AAAxF,sFAAwF;AACxF,EAA2G,AAA3G,yGAA2G;AAC3G,KAAK,CAAC,yCAAO,iBAAG,sCAAK,CAAC,UAAU,CAAC,4BAAM","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\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 {DismissButton, useOverlayPosition} from '@react-aria/overlays';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {FocusScope} from '@react-aria/focus';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Placement} from '@react-types/overlays';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let unwrappedPopoverRef = useUnwrapDOMRef(popoverRef);\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {overlayProps, placement, updatePosition} = useOverlayPosition({\n targetRef: unwrappedTriggerRef,\n overlayRef: unwrappedPopoverRef,\n scrollRef: listboxRef,\n placement: `${direction} ${align}` as Placement,\n shouldFlip: shouldFlip,\n isOpen: state.isOpen && !isMobile,\n onClose: state.close\n });\n\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n // Update position once the ListBox has rendered. This ensures that\n // it flips properly when it doesn't fit in the available space.\n // TODO: add ResizeObserver to useOverlayPosition so we don't need this.\n useLayoutEffect(() => {\n if (state.isOpen) {\n requestAnimationFrame(() => {\n updatePosition();\n });\n }\n }, [state.isOpen, updatePosition]);\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <FocusScope restoreFocus contain={isMobile}>\n <DismissButton onDismiss={() => state.close()} />\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n <DismissButton onDismiss={() => state.close()} />\n </FocusScope>\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 isOpen={state.isOpen} onClose={state.close}>\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 ...overlayProps.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 isOpen={state.isOpen}\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={placement}\n hideArrow\n shouldCloseOnBlur\n onClose={state.close}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid',\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Seleccione una opción…\"\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,0BAAe;IAClC,CAAE,eAAG,sBAAa;AAC/B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,qBAAY;IACjC,CAAI,eAAG,2BAAc;AAChC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,eAAW;IACrC,CAAS,eAAG,2BAA0B;AAC5C,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,aAAY;IACzC,CAAY,eAAG,qBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,QAAQ;IACtC,CAAa,eAAG,oBAAmB;AACrC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,iBAAU;IACjC,CAAM,eAAG,mBAAS;AAC3B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAa,eAAG,mBAAiB;IACjD,CAAO,WAAG,UAAQ;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,WAAS;IACrC,CAAW,eAAG,yBAAsB;AACxC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,YAAY;IAC1C,CAAa,eAAG,oBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG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oCAAU,CAAC,gEAAM,EAAE,CAA2B;UAGtF,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,GAAG,IAAI,GAAG,OAAO;IAIjD,GAAG,CAAC,gBAAgB,GAAG,KAAK,GAAG,oCAAU,CACvC,gEAAM,EACN,CAAgB,iBAChB,CAAC;QACC,CAAuC,wCAAE,OAAO;QAChD,CAA8C,+CAAE,aAAa,KAAK,CAAM;IAC1E,CAAC,IACC,CAAE;IAEN,MAAM,oEACH,+BAAK;WACA,KAAK;QACT,GAAG,EAAE,MAAM;QACX,gBAAgB,EAAE,gBAAgB;QAClC,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,gBAAgB;QAClC,iBAAiB,EAAE,iBAAiB;QACpC,aAAa,EAAE,KAAK;QACpB,4CAA4C,EAA5C,IAA4C;QAC5C,WAAW,EAAC,CAAM;OACjB,MAAM;AAGb,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,EAAwF,AAAxF,sFAAwF;AACxF,EAA2G,AAA3G,yGAA2G;AAC3G,KAAK,CAAC,yCAAO,iBAAG,sCAAK,CAAC,UAAU,CAAC,4BAAM","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\nexport type {SpectrumPickerProps} from '@react-types/select';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport ChevronDownMedium from '@spectrum-icons/ui/ChevronDownMedium';\nimport {\n classNames,\n dimensionValue,\n SlotProvider,\n useDOMRef,\n useIsMobileDevice,\n useSlotProps,\n useUnwrapDOMRef\n} from '@react-spectrum/utils';\nimport {DismissButton, useOverlayPosition} from '@react-aria/overlays';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {FocusScope} from '@react-aria/focus';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Placement} from '@react-types/overlays';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let unwrappedPopoverRef = useUnwrapDOMRef(popoverRef);\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {overlayProps, placement, updatePosition} = useOverlayPosition({\n targetRef: unwrappedTriggerRef,\n overlayRef: unwrappedPopoverRef,\n scrollRef: listboxRef,\n placement: `${direction} ${align}` as Placement,\n shouldFlip: shouldFlip,\n isOpen: state.isOpen && !isMobile,\n onClose: state.close\n });\n\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n // Update position once the ListBox has rendered. This ensures that\n // it flips properly when it doesn't fit in the available space.\n // TODO: add ResizeObserver to useOverlayPosition so we don't need this.\n useLayoutEffect(() => {\n if (state.isOpen) {\n requestAnimationFrame(() => {\n updatePosition();\n });\n }\n }, [state.isOpen, updatePosition]);\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <FocusScope restoreFocus contain={isMobile}>\n <DismissButton onDismiss={() => state.close()} />\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n <DismissButton onDismiss={() => state.close()} />\n </FocusScope>\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 isOpen={state.isOpen} onClose={state.close}>\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 ...overlayProps.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 isOpen={state.isOpen}\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={placement}\n hideArrow\n shouldCloseOnBlur\n onClose={state.close}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid',\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Seleccione una opción…\"\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.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,0BAAe;IAClC,CAAE,eAAG,sBAAa;AAC/B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,qBAAY;IACjC,CAAI,eAAG,2BAAc;AAChC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,eAAW;IACrC,CAAS,eAAG,2BAA0B;AAC5C,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,aAAY;IACzC,CAAY,eAAG,qBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,QAAQ;IACtC,CAAa,eAAG,oBAAmB;AACrC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,iBAAU;IACjC,CAAM,eAAG,mBAAS;AAC3B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAa,eAAG,mBAAiB;IACjD,CAAO,WAAG,UAAQ;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,WAAS;IACrC,CAAW,eAAG,yBAAsB;AACxC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,YAAY;IAC1C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iBAAU,CAAC,gEAAM,EAAE,CAA+B;iDAElF,uCAAiB;QAAC,gBAAgB,EAAE,iBAAU,CAAC,gEAAM,EAAE,CAA2B;UAGtF,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,GAAG,IAAI,GAAG,OAAO;IAIjD,GAAG,CAAC,gBAAgB,GAAG,KAAK,GAAG,iBAAU,CACvC,gEAAM,EACN,CAAgB,iBAChB,CAAC;QACC,CAAuC,wCAAE,OAAO;QAChD,CAA8C,+CAAE,aAAa,KAAK,CAAM;IAC1E,CAAC,IACC,CAAE;IAEN,MAAM,0CACH,YAAK;WACA,KAAK;QACT,GAAG,EAAE,MAAM;QACX,gBAAgB,EAAE,gBAAgB;QAClC,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,gBAAgB;QAClC,iBAAiB,EAAE,iBAAiB;QACpC,aAAa,EAAE,KAAK;QACpB,4CAA4C,EAA5C,IAA4C;QAC5C,WAAW,EAAC,CAAM;OACjB,MAAM;AAGb,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,EAAwF,AAAxF,sFAAwF;AACxF,EAA2G,AAA3G,yGAA2G;AAC3G,KAAK,CAAC,yCAAO,iBAAG,YAAK,CAAC,UAAU,CAAC,4BAAM","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\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 {DismissButton, useOverlayPosition} from '@react-aria/overlays';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {FocusScope} from '@react-aria/focus';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Placement} from '@react-types/overlays';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let unwrappedPopoverRef = useUnwrapDOMRef(popoverRef);\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {overlayProps, placement, updatePosition} = useOverlayPosition({\n targetRef: unwrappedTriggerRef,\n overlayRef: unwrappedPopoverRef,\n scrollRef: listboxRef,\n placement: `${direction} ${align}` as Placement,\n shouldFlip: shouldFlip,\n isOpen: state.isOpen && !isMobile,\n onClose: state.close\n });\n\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n // Update position once the ListBox has rendered. This ensures that\n // it flips properly when it doesn't fit in the available space.\n // TODO: add ResizeObserver to useOverlayPosition so we don't need this.\n useLayoutEffect(() => {\n if (state.isOpen) {\n requestAnimationFrame(() => {\n updatePosition();\n });\n }\n }, [state.isOpen, updatePosition]);\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <FocusScope restoreFocus contain={isMobile}>\n <DismissButton onDismiss={() => state.close()} />\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n <DismissButton onDismiss={() => state.close()} />\n </FocusScope>\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 isOpen={state.isOpen} onClose={state.close}>\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 ...overlayProps.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 isOpen={state.isOpen}\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={placement}\n hideArrow\n shouldCloseOnBlur\n onClose={state.close}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid',\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Seleccione una opción…\"\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,0BAAe;IAClC,CAAE,eAAG,sBAAa;AAC/B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,qBAAY;IACjC,CAAI,eAAG,2BAAc;AAChC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,eAAW;IACrC,CAAS,eAAG,2BAA0B;AAC5C,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,aAAY;IACzC,CAAY,eAAG,qBAAoB;AACtC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,QAAQ;IACtC,CAAa,eAAG,oBAAmB;AACrC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,iBAAU;IACjC,CAAM,eAAG,mBAAS;AAC3B,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAa,eAAG,mBAAiB;IACjD,CAAO,WAAG,UAAQ;AACtB,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,WAAS;IACrC,CAAW,eAAG,yBAAsB;AACxC,CAAC;;;;ACFD,yBAAc,GAAG,CAAC;IAAE,CAAS,WAAG,YAAY;IAC1C,CAAa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,CAAC,gEAAM,EAAE,CAA+B;iDAElF,uCAAiB;QAAC,gBAAgB,EAAE,iBAAU,CAAC,gEAAM,EAAE,CAA2B;UAGtF,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,GAAG,IAAI,GAAG,OAAO;IAIjD,GAAG,CAAC,gBAAgB,GAAG,KAAK,GAAG,iBAAU,CACvC,gEAAM,EACN,CAAgB,iBAChB,CAAC;QACC,CAAuC,wCAAE,OAAO;QAChD,CAA8C,+CAAE,aAAa,KAAK,CAAM;IAC1E,CAAC,IACC,CAAE;IAEN,MAAM,0CACH,YAAK;WACA,KAAK;QACT,GAAG,EAAE,MAAM;QACX,gBAAgB,EAAE,gBAAgB;QAClC,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,gBAAgB;QAClC,iBAAiB,EAAE,iBAAiB;QACpC,aAAa,EAAE,KAAK;QACpB,4CAA4C,EAA5C,IAA4C;QAC5C,WAAW,EAAC,CAAM;OACjB,MAAM;AAGb,CAAC;AAED,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,EAAwF,AAAxF,sFAAwF;AACxF,EAA2G,AAA3G,yGAA2G;AAC3G,KAAK,CAAC,yCAAO,iBAAG,YAAK,CAAC,UAAU,CAAC,4BAAM","sources":["packages/@react-spectrum/picker/src/index.ts","packages/@react-spectrum/picker/src/Picker.tsx","packages/@react-spectrum/picker/intl/*.js","packages/@react-spectrum/picker/intl/ar-AE.json","packages/@react-spectrum/picker/intl/bg-BG.json","packages/@react-spectrum/picker/intl/cs-CZ.json","packages/@react-spectrum/picker/intl/da-DK.json","packages/@react-spectrum/picker/intl/de-DE.json","packages/@react-spectrum/picker/intl/el-GR.json","packages/@react-spectrum/picker/intl/en-US.json","packages/@react-spectrum/picker/intl/es-ES.json","packages/@react-spectrum/picker/intl/et-EE.json","packages/@react-spectrum/picker/intl/fi-FI.json","packages/@react-spectrum/picker/intl/fr-FR.json","packages/@react-spectrum/picker/intl/he-IL.json","packages/@react-spectrum/picker/intl/hr-HR.json","packages/@react-spectrum/picker/intl/hu-HU.json","packages/@react-spectrum/picker/intl/it-IT.json","packages/@react-spectrum/picker/intl/ja-JP.json","packages/@react-spectrum/picker/intl/ko-KR.json","packages/@react-spectrum/picker/intl/lt-LT.json","packages/@react-spectrum/picker/intl/lv-LV.json","packages/@react-spectrum/picker/intl/nb-NO.json","packages/@react-spectrum/picker/intl/nl-NL.json","packages/@react-spectrum/picker/intl/pl-PL.json","packages/@react-spectrum/picker/intl/pt-BR.json","packages/@react-spectrum/picker/intl/pt-PT.json","packages/@react-spectrum/picker/intl/ro-RO.json","packages/@react-spectrum/picker/intl/ru-RU.json","packages/@react-spectrum/picker/intl/sk-SK.json","packages/@react-spectrum/picker/intl/sl-SI.json","packages/@react-spectrum/picker/intl/sr-SP.json","packages/@react-spectrum/picker/intl/sv-SE.json","packages/@react-spectrum/picker/intl/tr-TR.json","packages/@react-spectrum/picker/intl/uk-UA.json","packages/@react-spectrum/picker/intl/zh-CN.json","packages/@react-spectrum/picker/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropdown/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Picker} from './Picker';\nexport {Item, Section} from '@react-stately/collections';\nexport type {SpectrumPickerProps} from '@react-types/select';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport ChevronDownMedium from '@spectrum-icons/ui/ChevronDownMedium';\nimport {\n classNames,\n dimensionValue,\n SlotProvider,\n useDOMRef,\n useIsMobileDevice,\n useSlotProps,\n useUnwrapDOMRef\n} from '@react-spectrum/utils';\nimport {DismissButton, useOverlayPosition} from '@react-aria/overlays';\nimport {DOMRef, DOMRefValue, FocusableRefValue, LabelPosition} from '@react-types/shared';\nimport {Field} from '@react-spectrum/label';\nimport {FieldButton} from '@react-spectrum/button';\nimport {FocusScope} from '@react-aria/focus';\nimport {HiddenSelect, useSelect} from '@react-aria/select';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {ListBoxBase, useListBoxLayout} from '@react-spectrum/listbox';\nimport {mergeProps, useLayoutEffect, useResizeObserver} from '@react-aria/utils';\nimport {Placement} from '@react-types/overlays';\nimport {Popover, Tray} from '@react-spectrum/overlays';\nimport {PressResponder, useHover} from '@react-aria/interactions';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ReactElement, useCallback, useRef, useState} from 'react';\nimport {SpectrumPickerProps} from '@react-types/select';\nimport styles from '@adobe/spectrum-css-temp/components/dropdown/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProvider, useProviderProps} from '@react-spectrum/provider';\nimport {useSelectState} from '@react-stately/select';\n\nfunction Picker<T extends object>(props: SpectrumPickerProps<T>, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'picker');\n props = useProviderProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {\n autoComplete,\n isDisabled,\n direction = 'bottom',\n align = 'start',\n shouldFlip = true,\n placeholder = stringFormatter.format('placeholder'),\n validationState,\n isQuiet,\n label,\n labelPosition = 'top' as LabelPosition,\n menuWidth,\n name,\n autoFocus\n } = props;\n\n let state = useSelectState(props);\n let domRef = useDOMRef(ref);\n\n let popoverRef = useRef<DOMRefValue<HTMLDivElement>>();\n let unwrappedPopoverRef = useUnwrapDOMRef(popoverRef);\n let triggerRef = useRef<FocusableRefValue<HTMLElement>>();\n let unwrappedTriggerRef = useUnwrapDOMRef(triggerRef);\n let listboxRef = useRef();\n\n // We create the listbox layout in Picker and pass it to ListBoxBase below\n // so that the layout information can be cached even while the listbox is not mounted.\n // We also use the layout as the keyboard delegate for type to select.\n let layout = useListBoxLayout(state);\n let {labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps} = useSelect({\n ...props,\n keyboardDelegate: layout\n }, state, unwrappedTriggerRef);\n\n let isMobile = useIsMobileDevice();\n let {overlayProps, placement, updatePosition} = useOverlayPosition({\n targetRef: unwrappedTriggerRef,\n overlayRef: unwrappedPopoverRef,\n scrollRef: listboxRef,\n placement: `${direction} ${align}` as Placement,\n shouldFlip: shouldFlip,\n isOpen: state.isOpen && !isMobile,\n onClose: state.close\n });\n\n let {hoverProps, isHovered} = useHover({isDisabled});\n\n // Update position once the ListBox has rendered. This ensures that\n // it flips properly when it doesn't fit in the available space.\n // TODO: add ResizeObserver to useOverlayPosition so we don't need this.\n useLayoutEffect(() => {\n if (state.isOpen) {\n requestAnimationFrame(() => {\n updatePosition();\n });\n }\n }, [state.isOpen, updatePosition]);\n\n let isLoadingInitial = props.isLoading && state.collection.size === 0;\n let isLoadingMore = props.isLoading && state.collection.size > 0;\n\n // On small screen devices, the listbox is rendered in a tray, otherwise a popover.\n let listbox = (\n <FocusScope restoreFocus contain={isMobile}>\n <DismissButton onDismiss={() => state.close()} />\n <ListBoxBase\n {...menuProps}\n ref={listboxRef}\n disallowEmptySelection\n autoFocus={state.focusStrategy || true}\n shouldSelectOnPressUp\n focusOnPointerEnter\n layout={layout}\n state={state}\n width={isMobile ? '100%' : undefined}\n // Set max height: inherit so Tray scrolling works\n UNSAFE_style={{maxHeight: 'inherit'}}\n isLoading={isLoadingMore}\n onLoadMore={props.onLoadMore} />\n <DismissButton onDismiss={() => state.close()} />\n </FocusScope>\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 isOpen={state.isOpen} onClose={state.close}>\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 ...overlayProps.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 isOpen={state.isOpen}\n UNSAFE_style={style}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-popover', {'spectrum-Dropdown-popover--quiet': isQuiet})}\n ref={popoverRef}\n placement={placement}\n hideArrow\n shouldCloseOnBlur\n onClose={state.close}>\n {listbox}\n </Popover>\n );\n }\n\n let contents = state.selectedItem ? state.selectedItem.rendered : placeholder;\n if (typeof contents === 'string') {\n contents = <Text>{contents}</Text>;\n }\n\n let picker = (\n <div\n className={\n classNames(\n styles,\n 'spectrum-Dropdown',\n {\n 'is-invalid': validationState === 'invalid',\n 'is-disabled': isDisabled,\n 'spectrum-Dropdown--quiet': isQuiet\n }\n )\n }>\n <HiddenSelect\n autoComplete={autoComplete}\n isDisabled={isDisabled}\n state={state}\n triggerRef={unwrappedTriggerRef}\n label={label}\n name={name} />\n <PressResponder {...mergeProps(hoverProps, triggerProps)}>\n <FieldButton\n ref={triggerRef}\n isActive={state.isOpen}\n isQuiet={isQuiet}\n isDisabled={isDisabled}\n validationState={validationState}\n autoFocus={autoFocus}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-trigger', {'is-hovered': isHovered})}>\n <SlotProvider\n slots={{\n icon: {UNSAFE_className: classNames(styles, 'spectrum-Icon'), size: 'S'},\n text: {\n ...valueProps,\n UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropdown-label',\n {'is-placeholder': !state.selectedItem}\n )\n },\n description: {\n isHidden: true\n }\n }}>\n {contents}\n </SlotProvider>\n {isLoadingInitial &&\n <ProgressCircle\n isIndeterminate\n size=\"S\"\n aria-label={stringFormatter.format('loading')}\n UNSAFE_className={classNames(styles, 'spectrum-Dropdown-progressCircle')} />\n }\n {validationState === 'invalid' && !isLoadingInitial &&\n <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-invalidIcon')} />\n }\n <ChevronDownMedium UNSAFE_className={classNames(styles, 'spectrum-Dropdown-chevron')} />\n </FieldButton>\n </PressResponder>\n {state.collection.size === 0 ? null : overlay}\n </div>\n );\n\n let wrapperClassName = label ? classNames(\n styles,\n 'spectrum-Field',\n {\n 'spectrum-Dropdown-fieldWrapper--quiet': isQuiet,\n 'spectrum-Dropdown-fieldWrapper--positionSide': labelPosition === 'side'\n }\n ) : '';\n\n return (\n <Field\n {...props}\n ref={domRef}\n wrapperClassName={wrapperClassName}\n labelProps={labelProps}\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n showErrorIcon={false}\n includeNecessityIndicatorInAccessibilityName\n elementType=\"span\">\n {picker}\n </Field>\n );\n}\n\n/**\n * Pickers allow users to choose a single option from a collapsible list of options when space is limited.\n */\n// forwardRef doesn't support generic parameters, so cast the result to the correct type\n// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref\nconst _Picker = React.forwardRef(Picker) as <T>(props: SpectrumPickerProps<T> & {ref?: DOMRef<HTMLDivElement>}) => ReactElement;\nexport {_Picker as Picker};\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"loading\": \"جارٍ التحميل...\",\n \"placeholder\": \"حدد خيارًا...\"\n}\n","{\n \"loading\": \"Зареждане...\",\n \"placeholder\": \"Изберете опция\"\n}\n","{\n \"loading\": \"Načítání...\",\n \"placeholder\": \"Vyberte vhodnou možnost...\"\n}\n","{\n \"loading\": \"Indlæser ...\",\n \"placeholder\": \"Vælg en mulighed ...\"\n}\n","{\n \"loading\": \"Laden...\",\n \"placeholder\": \"Option auswählen...\"\n}\n","{\n \"loading\": \"Φόρτωση...\",\n \"placeholder\": \"Επιλέξτε…\"\n}\n","{\n \"placeholder\": \"Select an option…\",\n \"loading\": \"Loading…\"\n}\n","{\n \"loading\": \"Cargando…\",\n \"placeholder\": \"Seleccione una opción…\"\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"}
|
package/dist/types.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ export const Picker: <T>(props: SpectrumPickerProps<T> & {
|
|
|
8
8
|
ref?: DOMRef<HTMLDivElement>;
|
|
9
9
|
}) => ReactElement;
|
|
10
10
|
export { Item, Section } from '@react-stately/collections';
|
|
11
|
+
export type { SpectrumPickerProps } from '@react-types/select';
|
|
11
12
|
|
|
12
13
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;AAoRA;;GAEG;AAGH,OAAA,MAAM;UAAiF,OAAO,cAAc,CAAC;MAAM,YAAY,CAAC;AC1QhI,OAAO,EAAC,IAAI,EAAE,OAAO,EAAC,MAAM,4BAA4B,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';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
|
1
|
+
{"mappings":";;;AAoRA;;GAEG;AAGH,OAAA,MAAM;UAAiF,OAAO,cAAc,CAAC;MAAM,YAAY,CAAC;AC1QhI,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.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,28 +32,28 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.6.2",
|
|
35
|
-
"@react-aria/focus": "3.
|
|
36
|
-
"@react-aria/i18n": "3.
|
|
37
|
-
"@react-aria/interactions": "3.
|
|
38
|
-
"@react-aria/overlays": "3.
|
|
39
|
-
"@react-aria/select": "3.
|
|
40
|
-
"@react-aria/utils": "3.
|
|
41
|
-
"@react-spectrum/button": "3.
|
|
42
|
-
"@react-spectrum/label": "3.
|
|
43
|
-
"@react-spectrum/listbox": "3.
|
|
44
|
-
"@react-spectrum/overlays": "3.
|
|
45
|
-
"@react-spectrum/progress": "3.
|
|
46
|
-
"@react-spectrum/text": "3.
|
|
47
|
-
"@react-spectrum/utils": "3.
|
|
48
|
-
"@react-stately/collections": "3.
|
|
49
|
-
"@react-stately/select": "3.
|
|
50
|
-
"@react-types/overlays": "3.6.2
|
|
51
|
-
"@react-types/select": "3.6.2
|
|
52
|
-
"@react-types/shared": "3.
|
|
53
|
-
"@spectrum-icons/ui": "3.
|
|
35
|
+
"@react-aria/focus": "^3.7.0",
|
|
36
|
+
"@react-aria/i18n": "^3.5.0",
|
|
37
|
+
"@react-aria/interactions": "^3.10.0",
|
|
38
|
+
"@react-aria/overlays": "^3.10.0",
|
|
39
|
+
"@react-aria/select": "^3.8.0",
|
|
40
|
+
"@react-aria/utils": "^3.13.2",
|
|
41
|
+
"@react-spectrum/button": "^3.9.0",
|
|
42
|
+
"@react-spectrum/label": "^3.7.0",
|
|
43
|
+
"@react-spectrum/listbox": "^3.7.0",
|
|
44
|
+
"@react-spectrum/overlays": "^3.7.0",
|
|
45
|
+
"@react-spectrum/progress": "^3.3.0",
|
|
46
|
+
"@react-spectrum/text": "^3.3.0",
|
|
47
|
+
"@react-spectrum/utils": "^3.7.2",
|
|
48
|
+
"@react-stately/collections": "^3.4.2",
|
|
49
|
+
"@react-stately/select": "^3.3.0",
|
|
50
|
+
"@react-types/overlays": "^3.6.2",
|
|
51
|
+
"@react-types/select": "^3.6.2",
|
|
52
|
+
"@react-types/shared": "^3.14.0",
|
|
53
|
+
"@spectrum-icons/ui": "^3.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@adobe/spectrum-css-temp": "3.0.0-
|
|
56
|
+
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@react-spectrum/provider": "^3.1.4",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "cd7c0ec917122c7612f653c22f8ed558f8b66ecd"
|
|
67
67
|
}
|
package/src/index.ts
CHANGED