@react-aria/steplist 3.0.0-nightly.4321 → 3.0.0-nightly.4380
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/ar-AE.main.js +6 -0
- package/dist/ar-AE.main.js.map +1 -0
- package/dist/ar-AE.mjs +8 -0
- package/dist/ar-AE.module.js +8 -0
- package/dist/ar-AE.module.js.map +1 -0
- package/dist/bg-BG.main.js +6 -0
- package/dist/bg-BG.main.js.map +1 -0
- package/dist/bg-BG.mjs +8 -0
- package/dist/bg-BG.module.js +8 -0
- package/dist/bg-BG.module.js.map +1 -0
- package/dist/cs-CZ.main.js +6 -0
- package/dist/cs-CZ.main.js.map +1 -0
- package/dist/cs-CZ.mjs +8 -0
- package/dist/cs-CZ.module.js +8 -0
- package/dist/cs-CZ.module.js.map +1 -0
- package/dist/da-DK.main.js +6 -0
- package/dist/da-DK.main.js.map +1 -0
- package/dist/da-DK.mjs +8 -0
- package/dist/da-DK.module.js +8 -0
- package/dist/da-DK.module.js.map +1 -0
- package/dist/de-DE.main.js +6 -0
- package/dist/de-DE.main.js.map +1 -0
- package/dist/de-DE.mjs +8 -0
- package/dist/de-DE.module.js +8 -0
- package/dist/de-DE.module.js.map +1 -0
- package/dist/el-GR.main.js +6 -0
- package/dist/el-GR.main.js.map +1 -0
- package/dist/el-GR.mjs +8 -0
- package/dist/el-GR.module.js +8 -0
- package/dist/el-GR.module.js.map +1 -0
- package/dist/en-US.main.js +6 -0
- package/dist/en-US.main.js.map +1 -0
- package/dist/en-US.mjs +8 -0
- package/dist/en-US.module.js +8 -0
- package/dist/en-US.module.js.map +1 -0
- package/dist/es-ES.main.js +6 -0
- package/dist/es-ES.main.js.map +1 -0
- package/dist/es-ES.mjs +8 -0
- package/dist/es-ES.module.js +8 -0
- package/dist/es-ES.module.js.map +1 -0
- package/dist/et-EE.main.js +6 -0
- package/dist/et-EE.main.js.map +1 -0
- package/dist/et-EE.mjs +8 -0
- package/dist/et-EE.module.js +8 -0
- package/dist/et-EE.module.js.map +1 -0
- package/dist/fi-FI.main.js +6 -0
- package/dist/fi-FI.main.js.map +1 -0
- package/dist/fi-FI.mjs +8 -0
- package/dist/fi-FI.module.js +8 -0
- package/dist/fi-FI.module.js.map +1 -0
- package/dist/fr-FR.main.js +6 -0
- package/dist/fr-FR.main.js.map +1 -0
- package/dist/fr-FR.mjs +8 -0
- package/dist/fr-FR.module.js +8 -0
- package/dist/fr-FR.module.js.map +1 -0
- package/dist/he-IL.main.js +6 -0
- package/dist/he-IL.main.js.map +1 -0
- package/dist/he-IL.mjs +8 -0
- package/dist/he-IL.module.js +8 -0
- package/dist/he-IL.module.js.map +1 -0
- package/dist/hr-HR.main.js +6 -0
- package/dist/hr-HR.main.js.map +1 -0
- package/dist/hr-HR.mjs +8 -0
- package/dist/hr-HR.module.js +8 -0
- package/dist/hr-HR.module.js.map +1 -0
- package/dist/hu-HU.main.js +6 -0
- package/dist/hu-HU.main.js.map +1 -0
- package/dist/hu-HU.mjs +8 -0
- package/dist/hu-HU.module.js +8 -0
- package/dist/hu-HU.module.js.map +1 -0
- package/dist/import.mjs +35 -171
- package/dist/it-IT.main.js +6 -0
- package/dist/it-IT.main.js.map +1 -0
- package/dist/it-IT.mjs +8 -0
- package/dist/it-IT.module.js +8 -0
- package/dist/it-IT.module.js.map +1 -0
- package/dist/ja-JP.main.js +6 -0
- package/dist/ja-JP.main.js.map +1 -0
- package/dist/ja-JP.mjs +8 -0
- package/dist/ja-JP.module.js +8 -0
- package/dist/ja-JP.module.js.map +1 -0
- package/dist/ko-KR.main.js +6 -0
- package/dist/ko-KR.main.js.map +1 -0
- package/dist/ko-KR.mjs +8 -0
- package/dist/ko-KR.module.js +8 -0
- package/dist/ko-KR.module.js.map +1 -0
- package/dist/lt-LT.main.js +6 -0
- package/dist/lt-LT.main.js.map +1 -0
- package/dist/lt-LT.mjs +8 -0
- package/dist/lt-LT.module.js +8 -0
- package/dist/lt-LT.module.js.map +1 -0
- package/dist/lv-LV.main.js +6 -0
- package/dist/lv-LV.main.js.map +1 -0
- package/dist/lv-LV.mjs +8 -0
- package/dist/lv-LV.module.js +8 -0
- package/dist/lv-LV.module.js.map +1 -0
- package/dist/main.js +35 -171
- package/dist/main.js.map +1 -1
- package/dist/module.js +35 -171
- package/dist/module.js.map +1 -1
- package/dist/nb-NO.main.js +6 -0
- package/dist/nb-NO.main.js.map +1 -0
- package/dist/nb-NO.mjs +8 -0
- package/dist/nb-NO.module.js +8 -0
- package/dist/nb-NO.module.js.map +1 -0
- package/dist/nl-NL.main.js +6 -0
- package/dist/nl-NL.main.js.map +1 -0
- package/dist/nl-NL.mjs +8 -0
- package/dist/nl-NL.module.js +8 -0
- package/dist/nl-NL.module.js.map +1 -0
- package/dist/pl-PL.main.js +6 -0
- package/dist/pl-PL.main.js.map +1 -0
- package/dist/pl-PL.mjs +8 -0
- package/dist/pl-PL.module.js +8 -0
- package/dist/pl-PL.module.js.map +1 -0
- package/dist/pt-BR.main.js +6 -0
- package/dist/pt-BR.main.js.map +1 -0
- package/dist/pt-BR.mjs +8 -0
- package/dist/pt-BR.module.js +8 -0
- package/dist/pt-BR.module.js.map +1 -0
- package/dist/pt-PT.main.js +6 -0
- package/dist/pt-PT.main.js.map +1 -0
- package/dist/pt-PT.mjs +8 -0
- package/dist/pt-PT.module.js +8 -0
- package/dist/pt-PT.module.js.map +1 -0
- package/dist/ro-RO.main.js +6 -0
- package/dist/ro-RO.main.js.map +1 -0
- package/dist/ro-RO.mjs +8 -0
- package/dist/ro-RO.module.js +8 -0
- package/dist/ro-RO.module.js.map +1 -0
- package/dist/ru-RU.main.js +6 -0
- package/dist/ru-RU.main.js.map +1 -0
- package/dist/ru-RU.mjs +8 -0
- package/dist/ru-RU.module.js +8 -0
- package/dist/ru-RU.module.js.map +1 -0
- package/dist/sk-SK.main.js +6 -0
- package/dist/sk-SK.main.js.map +1 -0
- package/dist/sk-SK.mjs +8 -0
- package/dist/sk-SK.module.js +8 -0
- package/dist/sk-SK.module.js.map +1 -0
- package/dist/sl-SI.main.js +6 -0
- package/dist/sl-SI.main.js.map +1 -0
- package/dist/sl-SI.mjs +8 -0
- package/dist/sl-SI.module.js +8 -0
- package/dist/sl-SI.module.js.map +1 -0
- package/dist/sr-SP.main.js +6 -0
- package/dist/sr-SP.main.js.map +1 -0
- package/dist/sr-SP.mjs +8 -0
- package/dist/sr-SP.module.js +8 -0
- package/dist/sr-SP.module.js.map +1 -0
- package/dist/sv-SE.main.js +6 -0
- package/dist/sv-SE.main.js.map +1 -0
- package/dist/sv-SE.mjs +8 -0
- package/dist/sv-SE.module.js +8 -0
- package/dist/sv-SE.module.js.map +1 -0
- package/dist/tr-TR.main.js +6 -0
- package/dist/tr-TR.main.js.map +1 -0
- package/dist/tr-TR.mjs +8 -0
- package/dist/tr-TR.module.js +8 -0
- package/dist/tr-TR.module.js.map +1 -0
- package/dist/uk-UA.main.js +6 -0
- package/dist/uk-UA.main.js.map +1 -0
- package/dist/uk-UA.mjs +8 -0
- package/dist/uk-UA.module.js +8 -0
- package/dist/uk-UA.module.js.map +1 -0
- package/dist/zh-CN.main.js +6 -0
- package/dist/zh-CN.main.js.map +1 -0
- package/dist/zh-CN.mjs +8 -0
- package/dist/zh-CN.module.js +8 -0
- package/dist/zh-CN.module.js.map +1 -0
- package/dist/zh-TW.main.js +6 -0
- package/dist/zh-TW.main.js.map +1 -0
- package/dist/zh-TW.mjs +8 -0
- package/dist/zh-TW.module.js +8 -0
- package/dist/zh-TW.module.js.map +1 -0
- package/package.json +7 -7
- package/src/useStepList.ts +1 -1
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;AEVD,4BAAiB;IAAG,YAAY,CAAC,qFAAa,CAAC;AAC/C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,2GAAiB,CAAC;AACnD;;;;ACDA,4BAAiB;IAAG,YA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AAA,GAAA,gCAAS,EAAE,WAAW,CAAA,GAAA,oCAAa,EAAE,OAAO;YAAC,WAAW;QAAI,GAAG;QAClE,cAAc,aAAa,QAAQ,MAAM,CAAC;IAC5C;IAEA,OAAO;QACL,WAAW;YACT,GAAG,aAAa;YAChB,UAAU;QACZ;IACF;AACF;;CDxCC;AqCVD;;;;;;;;;;CAUC;AAoBM,SAAS,0CAAmB,KAA4B,EAAE,KAAuB,EAAE,GAA2B;IACnH,MAAM,OAAC,GAAG,EAAC,GAAG;IACd,IAAI,EAAC,kBAAkB,OAAO,eAAE,WAAW,EAAC,GAAG;IAE/C,IAAI,aAAa,CAAC,MAAM,YAAY,CAAC;IAErC,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,2CAAgB,EAAE;oBAClC;aACA;aACA;QACA,kBAAkB;IACpB;IAEA,MAAM,aAAa,gBAAgB;IAEnC,IAAI,YAAY,CAAC;QACf,MAAM,EAAC,KAAK,QAAQ,EAAC,GAAG;QAExB,IAAI,aAAa,eAAe,aAAa,WAAW;YACtD,MAAM,cAAc;YACpB,MAAM,eAAe;QACvB;QAEA,UAAU,SAAS,CAAC;IACtB;IAEA,OAAO;QACL,WAAW;YACT,GAAG,SAAS;uBACZ;YACA,MAAM;YACN,gBAAgB,aAAa,SAAS;YACtC,iBAAiB,aAAa,OAAO;YACrC,UAAU,CAAC,aAAa,IAAI;QAC9B;IACF;AACF;","sources":["packages/@react-aria/steplist/src/index.ts","packages/@react-aria/steplist/src/useStepList.ts","packages/@react-aria/steplist/src/*.js","packages/@react-aria/steplist/intl/ar-AE.json","packages/@react-aria/steplist/intl/bg-BG.json","packages/@react-aria/steplist/intl/cs-CZ.json","packages/@react-aria/steplist/intl/da-DK.json","packages/@react-aria/steplist/intl/de-DE.json","packages/@react-aria/steplist/intl/el-GR.json","packages/@react-aria/steplist/intl/en-US.json","packages/@react-aria/steplist/intl/es-ES.json","packages/@react-aria/steplist/intl/et-EE.json","packages/@react-aria/steplist/intl/fi-FI.json","packages/@react-aria/steplist/intl/fr-FR.json","packages/@react-aria/steplist/intl/he-IL.json","packages/@react-aria/steplist/intl/hr-HR.json","packages/@react-aria/steplist/intl/hu-HU.json","packages/@react-aria/steplist/intl/it-IT.json","packages/@react-aria/steplist/intl/ja-JP.json","packages/@react-aria/steplist/intl/ko-KR.json","packages/@react-aria/steplist/intl/lt-LT.json","packages/@react-aria/steplist/intl/lv-LV.json","packages/@react-aria/steplist/intl/nb-NO.json","packages/@react-aria/steplist/intl/nl-NL.json","packages/@react-aria/steplist/intl/pl-PL.json","packages/@react-aria/steplist/intl/pt-BR.json","packages/@react-aria/steplist/intl/pt-PT.json","packages/@react-aria/steplist/intl/ro-RO.json","packages/@react-aria/steplist/intl/ru-RU.json","packages/@react-aria/steplist/intl/sk-SK.json","packages/@react-aria/steplist/intl/sl-SI.json","packages/@react-aria/steplist/intl/sr-SP.json","packages/@react-aria/steplist/intl/sv-SE.json","packages/@react-aria/steplist/intl/tr-TR.json","packages/@react-aria/steplist/intl/uk-UA.json","packages/@react-aria/steplist/intl/zh-CN.json","packages/@react-aria/steplist/intl/zh-TW.json","packages/@react-aria/steplist/src/useStepListItem.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport {useStepList} from './useStepList';\nexport {useStepListItem} from './useStepListItem';\n\nexport type {AriaStepListProps, StepListAria} from './useStepList';\nexport type {AriaStepListItemProps, StepListItemAria} from './useStepListItem';\n","/*\n * Copyright 2023 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 {AriaLabelingProps, DOMProps} from '@react-types/shared';\nimport {filterDOMProps, mergeProps} from '@react-aria/utils';\nimport {HTMLAttributes, RefObject} from 'react';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {StepListProps, StepListState} from '@react-stately/steplist';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSelectableList} from '@react-aria/selection';\n\nexport interface AriaStepListProps<T> extends StepListProps<T>, AriaLabelingProps, DOMProps {}\n\nexport interface StepListAria {\n listProps: HTMLAttributes<HTMLElement>\n}\n\nexport function useStepList<T>(props: AriaStepListProps<T>, state: StepListState<T>, ref: RefObject<HTMLOListElement>): StepListAria {\n let {\n 'aria-label': ariaLabel\n } = props;\n let {listProps} = useSelectableList({\n ...props,\n ...state,\n allowsTabNavigation: true,\n ref\n });\n\n const strings = useLocalizedStringFormatter(intlMessages);\n const stepListProps: HTMLAttributes<HTMLElement> = {\n ...mergeProps(listProps, filterDOMProps(props, {labelable: true})),\n 'aria-label': ariaLabel || strings.format('steplist')\n };\n\n return {\n listProps: {\n ...stepListProps,\n tabIndex: undefined\n }\n };\n}\n\n\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 \"steplist\": \"قائمة الخطوات\"\n}\n","{\n \"steplist\": \"Списък със стъпки\"\n}\n","{\n \"steplist\": \"Seznam kroků\"\n}\n","{\n \"steplist\": \"Trinliste\"\n}\n","{\n \"steplist\": \"Schrittliste\"\n}\n","{\n \"steplist\": \"Λίστα βημάτων\"\n}\n","{\n \"steplist\": \"Step List\"\n}\n","{\n \"steplist\": \"Lista de pasos\"\n}\n","{\n \"steplist\": \"Sammude loend\"\n}\n","{\n \"steplist\": \"Vaiheluettelo\"\n}\n","{\n \"steplist\": \"Liste des étapes\"\n}\n","{\n \"steplist\": \"רשימת צעדים\"\n}\n","{\n \"steplist\": \"Lista koraka\"\n}\n","{\n \"steplist\": \"Lépések listája\"\n}\n","{\n \"steplist\": \"Elenco dei passaggi\"\n}\n","{\n \"steplist\": \"手順リスト\"\n}\n","{\n \"steplist\": \"단계 목록\"\n}\n","{\n \"steplist\": \"Žingsnių sąrašas\"\n}\n","{\n \"steplist\": \"Darbību saraksts\"\n}\n","{\n \"steplist\": \"Trinnliste\"\n}\n","{\n \"steplist\": \"Stappenlijst\"\n}\n","{\n \"steplist\": \"Lista kroków\"\n}\n","{\n \"steplist\": \"Lista de etapas\"\n}\n","{\n \"steplist\": \"Lista de passos\"\n}\n","{\n \"steplist\": \"Lista de pași\"\n}\n","{\n \"steplist\": \"Список шагов\"\n}\n","{\n \"steplist\": \"Zoznam krokov\"\n}\n","{\n \"steplist\": \"Seznam korakov\"\n}\n","{\n \"steplist\": \"Lista koraka\"\n}\n","{\n \"steplist\": \"Steglista\"\n}\n","{\n \"steplist\": \"Adım Listesi\"\n}\n","{\n \"steplist\": \"Список кроків\"\n}\n","{\n \"steplist\": \"步骤列表\"\n}\n","{\n \"steplist\": \"步驟清單\"\n}\n","/*\n * Copyright 2023 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 {HTMLAttributes, RefObject} from 'react';\nimport {Key} from '@react-types/shared';\nimport {StepListState} from '@react-stately/steplist';\nimport {useSelectableItem} from '@react-aria/selection';\n\nexport interface AriaStepListItemProps {\n key: Key\n}\n\nexport interface StepListItemAria {\n /** Props for the step link element. */\n stepProps: HTMLAttributes<HTMLElement>,\n /** Props for the visually hidden element indicating the step state. */\n stepStateProps?: HTMLAttributes<HTMLElement>,\n /** Text content for the visually hidden message indicating the status of the step state. */\n stepStateText?: String\n}\n\nexport function useStepListItem<T>(props: AriaStepListItemProps, state: StepListState<T>, ref: RefObject<HTMLElement>): StepListItemAria {\n const {key} = props;\n let {selectionManager: manager, selectedKey} = state;\n\n let isDisabled = !state.isSelectable(key);\n\n let {itemProps} = useSelectableItem({\n isDisabled,\n key,\n ref,\n selectionManager: manager\n });\n\n const isSelected = selectedKey === key;\n\n let onKeyDown = (event) => {\n const {key: eventKey} = event;\n\n if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') {\n event.preventDefault();\n event.stopPropagation();\n }\n\n itemProps.onKeyDown(event);\n };\n\n return {\n stepProps: {\n ...itemProps,\n onKeyDown,\n role: 'link',\n 'aria-current': isSelected ? 'step' : undefined,\n 'aria-disabled': isDisabled ? true : undefined,\n tabIndex: !isDisabled ? 0 : undefined\n }\n };\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;IAErC,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,2CAAgB,EAAE;oBAClC;aACA;aACA;QACA,kBAAkB;IACpB;IAEA,MAAM,aAAa,gBAAgB;IAEnC,IAAI,YAAY,CAAC;QACf,MAAM,EAAC,KAAK,QAAQ,EAAC,GAAG;QAExB,IAAI,aAAa,eAAe,aAAa,WAAW;YACtD,MAAM,cAAc;YACpB,MAAM,eAAe;QACvB;QAEA,UAAU,SAAS,CAAC;IACtB;IAEA,OAAO;QACL,WAAW;YACT,GAAG,SAAS;uBACZ;YACA,MAAM;YACN,gBAAgB,aAAa,SAAS;YACtC,iBAAiB,aAAa,OAAO;YACrC,UAAU,CAAC,aAAa,IAAI;QAC9B;IACF;AACF;","sources":["packages/@react-aria/steplist/src/index.ts","packages/@react-aria/steplist/src/useStepList.ts","packages/@react-aria/steplist/src/*.js","packages/@react-aria/steplist/src/useStepListItem.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport {useStepList} from './useStepList';\nexport {useStepListItem} from './useStepListItem';\n\nexport type {AriaStepListProps, StepListAria} from './useStepList';\nexport type {AriaStepListItemProps, StepListItemAria} from './useStepListItem';\n","/*\n * Copyright 2023 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 {AriaLabelingProps, DOMProps} from '@react-types/shared';\nimport {filterDOMProps, mergeProps} from '@react-aria/utils';\nimport {HTMLAttributes, RefObject} from 'react';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {StepListProps, StepListState} from '@react-stately/steplist';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSelectableList} from '@react-aria/selection';\n\nexport interface AriaStepListProps<T> extends StepListProps<T>, AriaLabelingProps, DOMProps {}\n\nexport interface StepListAria {\n listProps: HTMLAttributes<HTMLElement>\n}\n\nexport function useStepList<T>(props: AriaStepListProps<T>, state: StepListState<T>, ref: RefObject<HTMLOListElement>): StepListAria {\n let {\n 'aria-label': ariaLabel\n } = props;\n let {listProps} = useSelectableList({\n ...props,\n ...state,\n allowsTabNavigation: true,\n ref\n });\n\n const strings = useLocalizedStringFormatter(intlMessages, '@react-aria/steplist');\n const stepListProps: HTMLAttributes<HTMLElement> = {\n ...mergeProps(listProps, filterDOMProps(props, {labelable: true})),\n 'aria-label': ariaLabel || strings.format('steplist')\n };\n\n return {\n listProps: {\n ...stepListProps,\n tabIndex: undefined\n }\n };\n}\n\n\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 * Copyright 2023 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 {HTMLAttributes, RefObject} from 'react';\nimport {Key} from '@react-types/shared';\nimport {StepListState} from '@react-stately/steplist';\nimport {useSelectableItem} from '@react-aria/selection';\n\nexport interface AriaStepListItemProps {\n key: Key\n}\n\nexport interface StepListItemAria {\n /** Props for the step link element. */\n stepProps: HTMLAttributes<HTMLElement>,\n /** Props for the visually hidden element indicating the step state. */\n stepStateProps?: HTMLAttributes<HTMLElement>,\n /** Text content for the visually hidden message indicating the status of the step state. */\n stepStateText?: String\n}\n\nexport function useStepListItem<T>(props: AriaStepListItemProps, state: StepListState<T>, ref: RefObject<HTMLElement>): StepListItemAria {\n const {key} = props;\n let {selectionManager: manager, selectedKey} = state;\n\n let isDisabled = !state.isSelectable(key);\n\n let {itemProps} = useSelectableItem({\n isDisabled,\n key,\n ref,\n selectionManager: manager\n });\n\n const isSelected = selectedKey === key;\n\n let onKeyDown = (event) => {\n const {key: eventKey} = event;\n\n if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') {\n event.preventDefault();\n event.stopPropagation();\n }\n\n itemProps.onKeyDown(event);\n };\n\n return {\n stepProps: {\n ...itemProps,\n onKeyDown,\n role: 'link',\n 'aria-current': isSelected ? 'step' : undefined,\n 'aria-disabled': isDisabled ? true : undefined,\n tabIndex: !isDisabled ? 0 : undefined\n }\n };\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
import $ac9195bd6c155e9a$exports from "./ar-AE.module.js";
|
|
2
|
+
import $566091aba1cc94bd$exports from "./bg-BG.module.js";
|
|
3
|
+
import $bfa85a8c5befb5e3$exports from "./cs-CZ.module.js";
|
|
4
|
+
import $3d36be428ae11e4c$exports from "./da-DK.module.js";
|
|
5
|
+
import $6f5df5d1361b7046$exports from "./de-DE.module.js";
|
|
6
|
+
import $ead0949d0a522600$exports from "./el-GR.module.js";
|
|
7
|
+
import $e1f058b80d8aafc5$exports from "./en-US.module.js";
|
|
8
|
+
import $5ea5b4d9848b4554$exports from "./es-ES.module.js";
|
|
9
|
+
import $12c199cff6112f17$exports from "./et-EE.module.js";
|
|
10
|
+
import $cee48bc9348acd34$exports from "./fi-FI.module.js";
|
|
11
|
+
import $431ecace1ad6a520$exports from "./fr-FR.module.js";
|
|
12
|
+
import $4a82c7d4f8c5f85e$exports from "./he-IL.module.js";
|
|
13
|
+
import $dde7b99faa55b742$exports from "./hr-HR.module.js";
|
|
14
|
+
import $ac6a3ef7f586e156$exports from "./hu-HU.module.js";
|
|
15
|
+
import $216136a07e27fb81$exports from "./it-IT.module.js";
|
|
16
|
+
import $1368fd8886cdede5$exports from "./ja-JP.module.js";
|
|
17
|
+
import $b0f5383621af3b9b$exports from "./ko-KR.module.js";
|
|
18
|
+
import $c9860d172f3b15ce$exports from "./lt-LT.module.js";
|
|
19
|
+
import $959d78475ac0df02$exports from "./lv-LV.module.js";
|
|
20
|
+
import $f05a0d5a4ee0ad95$exports from "./nb-NO.module.js";
|
|
21
|
+
import $1e675e17f5239298$exports from "./nl-NL.module.js";
|
|
22
|
+
import $ea8c18ed5953abce$exports from "./pl-PL.module.js";
|
|
23
|
+
import $4a66519f5fdc2316$exports from "./pt-BR.module.js";
|
|
24
|
+
import $e794e3fb754025f9$exports from "./pt-PT.module.js";
|
|
25
|
+
import $27736caf9fb5f8de$exports from "./ro-RO.module.js";
|
|
26
|
+
import $5fdbb1e29b12b436$exports from "./ru-RU.module.js";
|
|
27
|
+
import $6dbbd9e0ca5f0f9c$exports from "./sk-SK.module.js";
|
|
28
|
+
import $0c3f21e646593621$exports from "./sl-SI.module.js";
|
|
29
|
+
import $a8c78296446307f5$exports from "./sr-SP.module.js";
|
|
30
|
+
import $c631089a2357cb55$exports from "./sv-SE.module.js";
|
|
31
|
+
import $c4fa8dbc62816b3f$exports from "./tr-TR.module.js";
|
|
32
|
+
import $49a297f4b13082b0$exports from "./uk-UA.module.js";
|
|
33
|
+
import $149dc62f4be0749a$exports from "./zh-CN.module.js";
|
|
34
|
+
import $a71aa6ab92482f8d$exports from "./zh-TW.module.js";
|
|
1
35
|
import {mergeProps as $2aUC2$mergeProps, filterDOMProps as $2aUC2$filterDOMProps} from "@react-aria/utils";
|
|
2
36
|
import {useLocalizedStringFormatter as $2aUC2$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
3
37
|
import {useSelectableList as $2aUC2$useSelectableList, useSelectableItem as $2aUC2$useSelectableItem} from "@react-aria/selection";
|
|
@@ -28,208 +62,38 @@ function $parcel$interopDefault(a) {
|
|
|
28
62
|
* governing permissions and limitations under the License.
|
|
29
63
|
*/
|
|
30
64
|
var $2b61d31ef4d39c33$exports = {};
|
|
31
|
-
var $ac9195bd6c155e9a$exports = {};
|
|
32
|
-
$ac9195bd6c155e9a$exports = {
|
|
33
|
-
"steplist": `\u{642}\u{627}\u{626}\u{645}\u{629} \u{627}\u{644}\u{62E}\u{637}\u{648}\u{627}\u{62A}`
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
var $566091aba1cc94bd$exports = {};
|
|
38
|
-
$566091aba1cc94bd$exports = {
|
|
39
|
-
"steplist": `\u{421}\u{43F}\u{438}\u{441}\u{44A}\u{43A} \u{441}\u{44A}\u{441} \u{441}\u{442}\u{44A}\u{43F}\u{43A}\u{438}`
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
var $bfa85a8c5befb5e3$exports = {};
|
|
44
|
-
$bfa85a8c5befb5e3$exports = {
|
|
45
|
-
"steplist": `Seznam krok\u{16F}`
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
var $3d36be428ae11e4c$exports = {};
|
|
50
|
-
$3d36be428ae11e4c$exports = {
|
|
51
|
-
"steplist": `Trinliste`
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
var $6f5df5d1361b7046$exports = {};
|
|
56
|
-
$6f5df5d1361b7046$exports = {
|
|
57
|
-
"steplist": `Schrittliste`
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
var $ead0949d0a522600$exports = {};
|
|
62
|
-
$ead0949d0a522600$exports = {
|
|
63
|
-
"steplist": `\u{39B}\u{3AF}\u{3C3}\u{3C4}\u{3B1} \u{3B2}\u{3B7}\u{3BC}\u{3AC}\u{3C4}\u{3C9}\u{3BD}`
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
var $e1f058b80d8aafc5$exports = {};
|
|
68
|
-
$e1f058b80d8aafc5$exports = {
|
|
69
|
-
"steplist": `Step List`
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
var $5ea5b4d9848b4554$exports = {};
|
|
74
|
-
$5ea5b4d9848b4554$exports = {
|
|
75
|
-
"steplist": `Lista de pasos`
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
var $12c199cff6112f17$exports = {};
|
|
80
|
-
$12c199cff6112f17$exports = {
|
|
81
|
-
"steplist": `Sammude loend`
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
var $cee48bc9348acd34$exports = {};
|
|
86
|
-
$cee48bc9348acd34$exports = {
|
|
87
|
-
"steplist": `Vaiheluettelo`
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
var $431ecace1ad6a520$exports = {};
|
|
92
|
-
$431ecace1ad6a520$exports = {
|
|
93
|
-
"steplist": `Liste des \xe9tapes`
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
var $4a82c7d4f8c5f85e$exports = {};
|
|
98
|
-
$4a82c7d4f8c5f85e$exports = {
|
|
99
|
-
"steplist": `\u{5E8}\u{5E9}\u{5D9}\u{5DE}\u{5EA} \u{5E6}\u{5E2}\u{5D3}\u{5D9}\u{5DD}`
|
|
100
|
-
};
|
|
101
65
|
|
|
102
66
|
|
|
103
|
-
var $dde7b99faa55b742$exports = {};
|
|
104
|
-
$dde7b99faa55b742$exports = {
|
|
105
|
-
"steplist": `Lista koraka`
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
var $ac6a3ef7f586e156$exports = {};
|
|
110
|
-
$ac6a3ef7f586e156$exports = {
|
|
111
|
-
"steplist": `L\xe9p\xe9sek list\xe1ja`
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
var $216136a07e27fb81$exports = {};
|
|
116
|
-
$216136a07e27fb81$exports = {
|
|
117
|
-
"steplist": `Elenco dei passaggi`
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
var $1368fd8886cdede5$exports = {};
|
|
122
|
-
$1368fd8886cdede5$exports = {
|
|
123
|
-
"steplist": `\u{624B}\u{9806}\u{30EA}\u{30B9}\u{30C8}`
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
var $b0f5383621af3b9b$exports = {};
|
|
128
|
-
$b0f5383621af3b9b$exports = {
|
|
129
|
-
"steplist": `\u{B2E8}\u{ACC4} \u{BAA9}\u{B85D}`
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
var $c9860d172f3b15ce$exports = {};
|
|
134
|
-
$c9860d172f3b15ce$exports = {
|
|
135
|
-
"steplist": `\u{17D}ingsni\u{173} s\u{105}ra\u{161}as`
|
|
136
|
-
};
|
|
137
|
-
|
|
138
67
|
|
|
139
|
-
var $959d78475ac0df02$exports = {};
|
|
140
|
-
$959d78475ac0df02$exports = {
|
|
141
|
-
"steplist": `Darb\u{12B}bu saraksts`
|
|
142
|
-
};
|
|
143
68
|
|
|
144
69
|
|
|
145
|
-
var $f05a0d5a4ee0ad95$exports = {};
|
|
146
|
-
$f05a0d5a4ee0ad95$exports = {
|
|
147
|
-
"steplist": `Trinnliste`
|
|
148
|
-
};
|
|
149
70
|
|
|
150
71
|
|
|
151
|
-
var $1e675e17f5239298$exports = {};
|
|
152
|
-
$1e675e17f5239298$exports = {
|
|
153
|
-
"steplist": `Stappenlijst`
|
|
154
|
-
};
|
|
155
72
|
|
|
156
73
|
|
|
157
|
-
var $ea8c18ed5953abce$exports = {};
|
|
158
|
-
$ea8c18ed5953abce$exports = {
|
|
159
|
-
"steplist": `Lista krok\xf3w`
|
|
160
|
-
};
|
|
161
74
|
|
|
162
75
|
|
|
163
|
-
var $4a66519f5fdc2316$exports = {};
|
|
164
|
-
$4a66519f5fdc2316$exports = {
|
|
165
|
-
"steplist": `Lista de etapas`
|
|
166
|
-
};
|
|
167
76
|
|
|
168
77
|
|
|
169
|
-
var $e794e3fb754025f9$exports = {};
|
|
170
|
-
$e794e3fb754025f9$exports = {
|
|
171
|
-
"steplist": `Lista de passos`
|
|
172
|
-
};
|
|
173
78
|
|
|
174
79
|
|
|
175
|
-
var $27736caf9fb5f8de$exports = {};
|
|
176
|
-
$27736caf9fb5f8de$exports = {
|
|
177
|
-
"steplist": `Lista de pa\u{219}i`
|
|
178
|
-
};
|
|
179
80
|
|
|
180
81
|
|
|
181
|
-
var $5fdbb1e29b12b436$exports = {};
|
|
182
|
-
$5fdbb1e29b12b436$exports = {
|
|
183
|
-
"steplist": `\u{421}\u{43F}\u{438}\u{441}\u{43E}\u{43A} \u{448}\u{430}\u{433}\u{43E}\u{432}`
|
|
184
|
-
};
|
|
185
82
|
|
|
186
83
|
|
|
187
|
-
var $6dbbd9e0ca5f0f9c$exports = {};
|
|
188
|
-
$6dbbd9e0ca5f0f9c$exports = {
|
|
189
|
-
"steplist": `Zoznam krokov`
|
|
190
|
-
};
|
|
191
84
|
|
|
192
85
|
|
|
193
|
-
var $0c3f21e646593621$exports = {};
|
|
194
|
-
$0c3f21e646593621$exports = {
|
|
195
|
-
"steplist": `Seznam korakov`
|
|
196
|
-
};
|
|
197
|
-
|
|
198
86
|
|
|
199
|
-
var $a8c78296446307f5$exports = {};
|
|
200
|
-
$a8c78296446307f5$exports = {
|
|
201
|
-
"steplist": `Lista koraka`
|
|
202
|
-
};
|
|
203
87
|
|
|
204
88
|
|
|
205
|
-
var $c631089a2357cb55$exports = {};
|
|
206
|
-
$c631089a2357cb55$exports = {
|
|
207
|
-
"steplist": `Steglista`
|
|
208
|
-
};
|
|
209
89
|
|
|
210
90
|
|
|
211
|
-
var $c4fa8dbc62816b3f$exports = {};
|
|
212
|
-
$c4fa8dbc62816b3f$exports = {
|
|
213
|
-
"steplist": `Ad\u{131}m Listesi`
|
|
214
|
-
};
|
|
215
91
|
|
|
216
92
|
|
|
217
|
-
var $49a297f4b13082b0$exports = {};
|
|
218
|
-
$49a297f4b13082b0$exports = {
|
|
219
|
-
"steplist": `\u{421}\u{43F}\u{438}\u{441}\u{43E}\u{43A} \u{43A}\u{440}\u{43E}\u{43A}\u{456}\u{432}`
|
|
220
|
-
};
|
|
221
93
|
|
|
222
94
|
|
|
223
|
-
var $149dc62f4be0749a$exports = {};
|
|
224
|
-
$149dc62f4be0749a$exports = {
|
|
225
|
-
"steplist": `\u{6B65}\u{9AA4}\u{5217}\u{8868}`
|
|
226
|
-
};
|
|
227
95
|
|
|
228
96
|
|
|
229
|
-
var $a71aa6ab92482f8d$exports = {};
|
|
230
|
-
$a71aa6ab92482f8d$exports = {
|
|
231
|
-
"steplist": `\u{6B65}\u{9A5F}\u{6E05}\u{55AE}`
|
|
232
|
-
};
|
|
233
97
|
|
|
234
98
|
|
|
235
99
|
$2b61d31ef4d39c33$exports = {
|
|
@@ -280,7 +144,7 @@ function $8ca870e256ef9d32$export$c51c7b7354499d04(props, state, ref) {
|
|
|
280
144
|
allowsTabNavigation: true,
|
|
281
145
|
ref: ref
|
|
282
146
|
});
|
|
283
|
-
const strings = (0, $2aUC2$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($2b61d31ef4d39c33$exports))));
|
|
147
|
+
const strings = (0, $2aUC2$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($2b61d31ef4d39c33$exports))), "@react-aria/steplist");
|
|
284
148
|
const stepListProps = {
|
|
285
149
|
...(0, $2aUC2$mergeProps)(listProps, (0, $2aUC2$filterDOMProps)(props, {
|
|
286
150
|
labelable: true
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;AEVD,4BAAiB;IAAG,YAAY,CAAC,qFAAa,CAAC;AAC/C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,2GAAiB,CAAC;AACnD;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,kBAAY,CAAC;AAC9C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,SAAS,CAAC;AAC3C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,YAAY,CAAC;AAC9C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,qFAAa,CAAC;AAC/C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,SAAS,CAAC;AAC3C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,cAAc,CAAC;AAChD;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,aAAa,CAAC;AAC/C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,aAAa,CAAC;AAC/C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,mBAAgB,CAAC;AAClD;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,uEAAW,CAAC;AAC7C;;;;ACDA,4BAAiB;IAAG,YAAY,CAAC,YAAY,CAAC;AAC9C;;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KAAK,QAAQ,EAAC,GAAG;QAExB,IAAI,aAAa,eAAe,aAAa,WAAW;YACtD,MAAM,cAAc;YACpB,MAAM,eAAe;QACvB;QAEA,UAAU,SAAS,CAAC;IACtB;IAEA,OAAO;QACL,WAAW;YACT,GAAG,SAAS;uBACZ;YACA,MAAM;YACN,gBAAgB,aAAa,SAAS;YACtC,iBAAiB,aAAa,OAAO;YACrC,UAAU,CAAC,aAAa,IAAI;QAC9B;IACF;AACF;","sources":["packages/@react-aria/steplist/src/index.ts","packages/@react-aria/steplist/src/useStepList.ts","packages/@react-aria/steplist/src/*.js","packages/@react-aria/steplist/intl/ar-AE.json","packages/@react-aria/steplist/intl/bg-BG.json","packages/@react-aria/steplist/intl/cs-CZ.json","packages/@react-aria/steplist/intl/da-DK.json","packages/@react-aria/steplist/intl/de-DE.json","packages/@react-aria/steplist/intl/el-GR.json","packages/@react-aria/steplist/intl/en-US.json","packages/@react-aria/steplist/intl/es-ES.json","packages/@react-aria/steplist/intl/et-EE.json","packages/@react-aria/steplist/intl/fi-FI.json","packages/@react-aria/steplist/intl/fr-FR.json","packages/@react-aria/steplist/intl/he-IL.json","packages/@react-aria/steplist/intl/hr-HR.json","packages/@react-aria/steplist/intl/hu-HU.json","packages/@react-aria/steplist/intl/it-IT.json","packages/@react-aria/steplist/intl/ja-JP.json","packages/@react-aria/steplist/intl/ko-KR.json","packages/@react-aria/steplist/intl/lt-LT.json","packages/@react-aria/steplist/intl/lv-LV.json","packages/@react-aria/steplist/intl/nb-NO.json","packages/@react-aria/steplist/intl/nl-NL.json","packages/@react-aria/steplist/intl/pl-PL.json","packages/@react-aria/steplist/intl/pt-BR.json","packages/@react-aria/steplist/intl/pt-PT.json","packages/@react-aria/steplist/intl/ro-RO.json","packages/@react-aria/steplist/intl/ru-RU.json","packages/@react-aria/steplist/intl/sk-SK.json","packages/@react-aria/steplist/intl/sl-SI.json","packages/@react-aria/steplist/intl/sr-SP.json","packages/@react-aria/steplist/intl/sv-SE.json","packages/@react-aria/steplist/intl/tr-TR.json","packages/@react-aria/steplist/intl/uk-UA.json","packages/@react-aria/steplist/intl/zh-CN.json","packages/@react-aria/steplist/intl/zh-TW.json","packages/@react-aria/steplist/src/useStepListItem.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport {useStepList} from './useStepList';\nexport {useStepListItem} from './useStepListItem';\n\nexport type {AriaStepListProps, StepListAria} from './useStepList';\nexport type {AriaStepListItemProps, StepListItemAria} from './useStepListItem';\n","/*\n * Copyright 2023 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 {AriaLabelingProps, DOMProps} from '@react-types/shared';\nimport {filterDOMProps, mergeProps} from '@react-aria/utils';\nimport {HTMLAttributes, RefObject} from 'react';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {StepListProps, StepListState} from '@react-stately/steplist';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSelectableList} from '@react-aria/selection';\n\nexport interface AriaStepListProps<T> extends StepListProps<T>, AriaLabelingProps, DOMProps {}\n\nexport interface StepListAria {\n listProps: HTMLAttributes<HTMLElement>\n}\n\nexport function useStepList<T>(props: AriaStepListProps<T>, state: StepListState<T>, ref: RefObject<HTMLOListElement>): StepListAria {\n let {\n 'aria-label': ariaLabel\n } = props;\n let {listProps} = useSelectableList({\n ...props,\n ...state,\n allowsTabNavigation: true,\n ref\n });\n\n const strings = useLocalizedStringFormatter(intlMessages);\n const stepListProps: HTMLAttributes<HTMLElement> = {\n ...mergeProps(listProps, filterDOMProps(props, {labelable: true})),\n 'aria-label': ariaLabel || strings.format('steplist')\n };\n\n return {\n listProps: {\n ...stepListProps,\n tabIndex: undefined\n }\n };\n}\n\n\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 \"steplist\": \"قائمة الخطوات\"\n}\n","{\n \"steplist\": \"Списък със стъпки\"\n}\n","{\n \"steplist\": \"Seznam kroků\"\n}\n","{\n \"steplist\": \"Trinliste\"\n}\n","{\n \"steplist\": \"Schrittliste\"\n}\n","{\n \"steplist\": \"Λίστα βημάτων\"\n}\n","{\n \"steplist\": \"Step List\"\n}\n","{\n \"steplist\": \"Lista de pasos\"\n}\n","{\n \"steplist\": \"Sammude loend\"\n}\n","{\n \"steplist\": \"Vaiheluettelo\"\n}\n","{\n \"steplist\": \"Liste des étapes\"\n}\n","{\n \"steplist\": \"רשימת צעדים\"\n}\n","{\n \"steplist\": \"Lista koraka\"\n}\n","{\n \"steplist\": \"Lépések listája\"\n}\n","{\n \"steplist\": \"Elenco dei passaggi\"\n}\n","{\n \"steplist\": \"手順リスト\"\n}\n","{\n \"steplist\": \"단계 목록\"\n}\n","{\n \"steplist\": \"Žingsnių sąrašas\"\n}\n","{\n \"steplist\": \"Darbību saraksts\"\n}\n","{\n \"steplist\": \"Trinnliste\"\n}\n","{\n \"steplist\": \"Stappenlijst\"\n}\n","{\n \"steplist\": \"Lista kroków\"\n}\n","{\n \"steplist\": \"Lista de etapas\"\n}\n","{\n \"steplist\": \"Lista de passos\"\n}\n","{\n \"steplist\": \"Lista de pași\"\n}\n","{\n \"steplist\": \"Список шагов\"\n}\n","{\n \"steplist\": \"Zoznam krokov\"\n}\n","{\n \"steplist\": \"Seznam korakov\"\n}\n","{\n \"steplist\": \"Lista koraka\"\n}\n","{\n \"steplist\": \"Steglista\"\n}\n","{\n \"steplist\": \"Adım Listesi\"\n}\n","{\n \"steplist\": \"Список кроків\"\n}\n","{\n \"steplist\": \"步骤列表\"\n}\n","{\n \"steplist\": \"步驟清單\"\n}\n","/*\n * Copyright 2023 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 {HTMLAttributes, RefObject} from 'react';\nimport {Key} from '@react-types/shared';\nimport {StepListState} from '@react-stately/steplist';\nimport {useSelectableItem} from '@react-aria/selection';\n\nexport interface AriaStepListItemProps {\n key: Key\n}\n\nexport interface StepListItemAria {\n /** Props for the step link element. */\n stepProps: HTMLAttributes<HTMLElement>,\n /** Props for the visually hidden element indicating the step state. */\n stepStateProps?: HTMLAttributes<HTMLElement>,\n /** Text content for the visually hidden message indicating the status of the step state. */\n stepStateText?: String\n}\n\nexport function useStepListItem<T>(props: AriaStepListItemProps, state: StepListState<T>, ref: RefObject<HTMLElement>): StepListItemAria {\n const {key} = props;\n let {selectionManager: manager, selectedKey} = state;\n\n let isDisabled = !state.isSelectable(key);\n\n let {itemProps} = useSelectableItem({\n isDisabled,\n key,\n ref,\n selectionManager: manager\n });\n\n const isSelected = selectedKey === key;\n\n let onKeyDown = (event) => {\n const {key: eventKey} = event;\n\n if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') {\n event.preventDefault();\n event.stopPropagation();\n }\n\n itemProps.onKeyDown(event);\n };\n\n return {\n stepProps: {\n ...itemProps,\n onKeyDown,\n role: 'link',\n 'aria-current': isSelected ? 'step' : undefined,\n 'aria-disabled': isDisabled ? true : undefined,\n tabIndex: !isDisabled ? 0 : undefined\n }\n };\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwBD,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;AACX;;;;;AD1CO,SAAS,0CAAe,KAA2B,EAAE,KAAuB,EAAE,GAAgC;IACnH,IAAI,EACF,cAAc,SAAS,EACxB,GAAG;IACJ,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,wBAAgB,EAAE;QAClC,GAAG,KAAK;QACR,GAAG,KAAK;QACR,qBAAqB;aACrB;IACF;IAEA,MAAM,UAAU,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,gEAAW,GAAG;IAC1D,MAAM,gBAA6C;QACjD,GAAG,CAAA,GAAA,iBAAS,EAAE,WAAW,CAAA,GAAA,qBAAa,EAAE,OAAO;YAAC,WAAW;QAAI,GAAG;QAClE,cAAc,aAAa,QAAQ,MAAM,CAAC;IAC5C;IAEA,OAAO;QACL,WAAW;YACT,GAAG,aAAa;YAChB,UAAU;QACZ;IACF;AACF;;CDxCC;AGVD;;;;;;;;;;CAUC;AAoBM,SAAS,0CAAmB,KAA4B,EAAE,KAAuB,EAAE,GAA2B;IACnH,MAAM,OAAC,GAAG,EAAC,GAAG;IACd,IAAI,EAAC,kBAAkB,OAAO,eAAE,WAAW,EAAC,GAAG;IAE/C,IAAI,aAAa,CAAC,MAAM,YAAY,CAAC;IAErC,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,wBAAgB,EAAE;oBAClC;aACA;aACA;QACA,kBAAkB;IACpB;IAEA,MAAM,aAAa,gBAAgB;IAEnC,IAAI,YAAY,CAAC;QACf,MAAM,EAAC,KAAK,QAAQ,EAAC,GAAG;QAExB,IAAI,aAAa,eAAe,aAAa,WAAW;YACtD,MAAM,cAAc;YACpB,MAAM,eAAe;QACvB;QAEA,UAAU,SAAS,CAAC;IACtB;IAEA,OAAO;QACL,WAAW;YACT,GAAG,SAAS;uBACZ;YACA,MAAM;YACN,gBAAgB,aAAa,SAAS;YACtC,iBAAiB,aAAa,OAAO;YACrC,UAAU,CAAC,aAAa,IAAI;QAC9B;IACF;AACF;","sources":["packages/@react-aria/steplist/src/index.ts","packages/@react-aria/steplist/src/useStepList.ts","packages/@react-aria/steplist/src/*.js","packages/@react-aria/steplist/src/useStepListItem.ts"],"sourcesContent":["/*\n * Copyright 2023 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\nexport {useStepList} from './useStepList';\nexport {useStepListItem} from './useStepListItem';\n\nexport type {AriaStepListProps, StepListAria} from './useStepList';\nexport type {AriaStepListItemProps, StepListItemAria} from './useStepListItem';\n","/*\n * Copyright 2023 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 {AriaLabelingProps, DOMProps} from '@react-types/shared';\nimport {filterDOMProps, mergeProps} from '@react-aria/utils';\nimport {HTMLAttributes, RefObject} from 'react';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {StepListProps, StepListState} from '@react-stately/steplist';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSelectableList} from '@react-aria/selection';\n\nexport interface AriaStepListProps<T> extends StepListProps<T>, AriaLabelingProps, DOMProps {}\n\nexport interface StepListAria {\n listProps: HTMLAttributes<HTMLElement>\n}\n\nexport function useStepList<T>(props: AriaStepListProps<T>, state: StepListState<T>, ref: RefObject<HTMLOListElement>): StepListAria {\n let {\n 'aria-label': ariaLabel\n } = props;\n let {listProps} = useSelectableList({\n ...props,\n ...state,\n allowsTabNavigation: true,\n ref\n });\n\n const strings = useLocalizedStringFormatter(intlMessages, '@react-aria/steplist');\n const stepListProps: HTMLAttributes<HTMLElement> = {\n ...mergeProps(listProps, filterDOMProps(props, {labelable: true})),\n 'aria-label': ariaLabel || strings.format('steplist')\n };\n\n return {\n listProps: {\n ...stepListProps,\n tabIndex: undefined\n }\n };\n}\n\n\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 * Copyright 2023 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 {HTMLAttributes, RefObject} from 'react';\nimport {Key} from '@react-types/shared';\nimport {StepListState} from '@react-stately/steplist';\nimport {useSelectableItem} from '@react-aria/selection';\n\nexport interface AriaStepListItemProps {\n key: Key\n}\n\nexport interface StepListItemAria {\n /** Props for the step link element. */\n stepProps: HTMLAttributes<HTMLElement>,\n /** Props for the visually hidden element indicating the step state. */\n stepStateProps?: HTMLAttributes<HTMLElement>,\n /** Text content for the visually hidden message indicating the status of the step state. */\n stepStateText?: String\n}\n\nexport function useStepListItem<T>(props: AriaStepListItemProps, state: StepListState<T>, ref: RefObject<HTMLElement>): StepListItemAria {\n const {key} = props;\n let {selectionManager: manager, selectedKey} = state;\n\n let isDisabled = !state.isSelectable(key);\n\n let {itemProps} = useSelectableItem({\n isDisabled,\n key,\n ref,\n selectionManager: manager\n });\n\n const isSelected = selectedKey === key;\n\n let onKeyDown = (event) => {\n const {key: eventKey} = event;\n\n if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') {\n event.preventDefault();\n event.stopPropagation();\n }\n\n itemProps.onKeyDown(event);\n };\n\n return {\n stepProps: {\n ...itemProps,\n onKeyDown,\n role: 'link',\n 'aria-current': isSelected ? 'step' : undefined,\n 'aria-disabled': isDisabled ? true : undefined,\n tabIndex: !isDisabled ? 0 : undefined\n }\n };\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,UAAU,CAAC;AAC5C","sources":["packages/@react-aria/steplist/intl/nb-NO.json"],"sourcesContent":["{\n \"steplist\": \"Trinnliste\"\n}\n"],"names":[],"version":3,"file":"nb-NO.main.js.map"}
|
package/dist/nb-NO.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,UAAU,CAAC;AAC5C","sources":["packages/@react-aria/steplist/intl/nb-NO.json"],"sourcesContent":["{\n \"steplist\": \"Trinnliste\"\n}\n"],"names":[],"version":3,"file":"nb-NO.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,YAAY,CAAC;AAC9C","sources":["packages/@react-aria/steplist/intl/nl-NL.json"],"sourcesContent":["{\n \"steplist\": \"Stappenlijst\"\n}\n"],"names":[],"version":3,"file":"nl-NL.main.js.map"}
|
package/dist/nl-NL.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,YAAY,CAAC;AAC9C","sources":["packages/@react-aria/steplist/intl/nl-NL.json"],"sourcesContent":["{\n \"steplist\": \"Stappenlijst\"\n}\n"],"names":[],"version":3,"file":"nl-NL.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,eAAY,CAAC;AAC9C","sources":["packages/@react-aria/steplist/intl/pl-PL.json"],"sourcesContent":["{\n \"steplist\": \"Lista kroków\"\n}\n"],"names":[],"version":3,"file":"pl-PL.main.js.map"}
|
package/dist/pl-PL.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,eAAY,CAAC;AAC9C","sources":["packages/@react-aria/steplist/intl/pl-PL.json"],"sourcesContent":["{\n \"steplist\": \"Lista kroków\"\n}\n"],"names":[],"version":3,"file":"pl-PL.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,eAAe,CAAC;AACjD","sources":["packages/@react-aria/steplist/intl/pt-BR.json"],"sourcesContent":["{\n \"steplist\": \"Lista de etapas\"\n}\n"],"names":[],"version":3,"file":"pt-BR.main.js.map"}
|
package/dist/pt-BR.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,eAAe,CAAC;AACjD","sources":["packages/@react-aria/steplist/intl/pt-BR.json"],"sourcesContent":["{\n \"steplist\": \"Lista de etapas\"\n}\n"],"names":[],"version":3,"file":"pt-BR.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,eAAe,CAAC;AACjD","sources":["packages/@react-aria/steplist/intl/pt-PT.json"],"sourcesContent":["{\n \"steplist\": \"Lista de passos\"\n}\n"],"names":[],"version":3,"file":"pt-PT.main.js.map"}
|
package/dist/pt-PT.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,eAAe,CAAC;AACjD","sources":["packages/@react-aria/steplist/intl/pt-PT.json"],"sourcesContent":["{\n \"steplist\": \"Lista de passos\"\n}\n"],"names":[],"version":3,"file":"pt-PT.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,mBAAa,CAAC;AAC/C","sources":["packages/@react-aria/steplist/intl/ro-RO.json"],"sourcesContent":["{\n \"steplist\": \"Lista de pași\"\n}\n"],"names":[],"version":3,"file":"ro-RO.main.js.map"}
|
package/dist/ro-RO.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,mBAAa,CAAC;AAC/C","sources":["packages/@react-aria/steplist/intl/ro-RO.json"],"sourcesContent":["{\n \"steplist\": \"Lista de pași\"\n}\n"],"names":[],"version":3,"file":"ro-RO.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,8EAAY,CAAC;AAC9C","sources":["packages/@react-aria/steplist/intl/ru-RU.json"],"sourcesContent":["{\n \"steplist\": \"Список шагов\"\n}\n"],"names":[],"version":3,"file":"ru-RU.main.js.map"}
|
package/dist/ru-RU.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,8EAAY,CAAC;AAC9C","sources":["packages/@react-aria/steplist/intl/ru-RU.json"],"sourcesContent":["{\n \"steplist\": \"Список шагов\"\n}\n"],"names":[],"version":3,"file":"ru-RU.module.js.map"}
|