@adobe/react-spectrum 3.0.0-nightly-36fdd8bca-260420 → 3.0.0-nightly-e3913baaa-260422
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/private/steplist/StepListItem.cjs +6 -2
- package/dist/private/steplist/StepListItem.cjs.map +1 -1
- package/dist/private/steplist/StepListItem.js +6 -2
- package/dist/private/steplist/StepListItem.js.map +1 -1
- package/dist/private/steplist/StepListItem.mjs +6 -2
- package/dist/private/steplist/StepListItem.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -74,6 +74,7 @@ function $712472d83922a2e9$export$87c2a8a94eda1754(props) {
|
|
|
74
74
|
else if (isCompleted) stepStateText = stringFormatter.format('completed');
|
|
75
75
|
else stepStateText = stringFormatter.format('notCompleted');
|
|
76
76
|
let markerId = (0, $9ihVH$reactariauseId.useId)();
|
|
77
|
+
let stateId = (0, $9ihVH$reactariauseId.useId)();
|
|
77
78
|
let labelId = (0, $9ihVH$reactariauseId.useId)();
|
|
78
79
|
return /*#__PURE__*/ (0, ($parcel$interopDefault($9ihVH$react))).createElement("li", {
|
|
79
80
|
className: (0, $69fd630bd812ba47$exports.classNames)((0, ($parcel$interopDefault($d97c8cb44f9e179c$exports))), 'spectrum-Steplist-item')
|
|
@@ -82,7 +83,7 @@ function $712472d83922a2e9$export$87c2a8a94eda1754(props) {
|
|
|
82
83
|
focusRingClass: (0, $69fd630bd812ba47$exports.classNames)((0, ($parcel$interopDefault($d97c8cb44f9e179c$exports))), 'focus-ring')
|
|
83
84
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($9ihVH$react))).createElement("a", {
|
|
84
85
|
...(0, $9ihVH$reactariamergeProps.mergeProps)(hoverProps, stepProps),
|
|
85
|
-
"aria-labelledby": `${markerId} ${labelId}`,
|
|
86
|
+
"aria-labelledby": `${markerId} ${stateId} ${labelId}`,
|
|
86
87
|
ref: ref,
|
|
87
88
|
className: (0, $69fd630bd812ba47$exports.classNames)((0, ($parcel$interopDefault($d97c8cb44f9e179c$exports))), 'spectrum-Steplist-link', {
|
|
88
89
|
'is-selected': isSelected && !isItemDisabled,
|
|
@@ -91,7 +92,10 @@ function $712472d83922a2e9$export$87c2a8a94eda1754(props) {
|
|
|
91
92
|
'is-completed': isCompleted,
|
|
92
93
|
'is-selectable': state.isSelectable(key) && !isSelected
|
|
93
94
|
})
|
|
94
|
-
}, /*#__PURE__*/ (0, ($parcel$interopDefault($9ihVH$react))).createElement((0, $9ihVH$reactariaVisuallyHidden.VisuallyHidden),
|
|
95
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($9ihVH$react))).createElement((0, $9ihVH$reactariaVisuallyHidden.VisuallyHidden), {
|
|
96
|
+
...stepStateProps,
|
|
97
|
+
id: stateId
|
|
98
|
+
}, stepStateText), /*#__PURE__*/ (0, ($parcel$interopDefault($9ihVH$react))).createElement("div", {
|
|
95
99
|
id: labelId,
|
|
96
100
|
"aria-hidden": "true",
|
|
97
101
|
className: (0, $69fd630bd812ba47$exports.classNames)((0, ($parcel$interopDefault($d97c8cb44f9e179c$exports))), 'spectrum-Steplist-label')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;;;;;;;;AA0BM,SAAS,0CAAgB,KAAmC;IACjE,IAAI,cACF,UAAU,QACV,IAAI,EACL,GAAG;IACJ,IAAI,OAAC,GAAG,EAAC,GAAG;IAEZ,IAAI,MAAM,CAAA,GAAA,mBAAK,EAAE;IACjB,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,sCAAQ;IAC1B,IAAI,QAAQ,CAAA,GAAA,uBAAS,EAAE,CAAA,GAAA,yCAAc;IACrC,MAAM,aAAa,MAAM,WAAW,KAAK;IACzC,MAAM,cAAc,MAAM,WAAW,CAAC;IACtC,MAAM,iBAAiB,cAAc,MAAM,YAAY,CAAC,GAAG,CAAC;IAC5D,I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B;YAChB,iBAAiB,MAAM,YAAY,CAAC,QAAQ,CAAC;QAC/C;qBAEF,0DAAC,CAAA,GAAA,6CAAa;QAAG,GAAG,cAAc;QAAE,IAAI;OAAU,8BAClD,0DAAC;QAAI,IAAI;QAAS,eAAY;QAAO,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;OAChE,KAAK,QAAQ,iBAEhB,0DAAC;QACC,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,6BAA6B;YAC3B,gBAAgB;QAClB;qBACF,0DAAC;QAAI,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;QAAkC,OAAM;QAA6B,QAAO;QAAO,SAAQ;QAAU,qBAAoB;qBAC1J,0DAAC;QAAK,IAAG;QAAI,IAAG;QAAI,IAAG;QAAI,IAAG;QAAI,cAAa;uBAEjD,0DAAC,CAAA,GAAA,kEAAiB;QAChB,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG,6BAA6B;YAChE,eAAe,cAAc;QAC/B;uBAEJ,0DAAC;QAAI,eAAY;QAAO,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;qBACpD,0DAAC;QAAI,IAAI;QAAW,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;OAA8B,gBAAgB,MAAM,CAAC,AAAC,CAAA,KAAK,KAAK,IAAI,CAAA,IAAK;AAMvI","sources":["packages/@adobe/react-spectrum/src/steplist/StepListItem.tsx"],"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 */\nimport ChevronRightMedium from '@spectrum-icons/ui/ChevronRightMedium';\nimport {classNames} from '../utils/classNames';\nimport {FocusRing} from 'react-aria/FocusRing';\n// @ts-ignore\nimport intlMessages from '../../intl/steplist/*.json';\nimport {mergeProps} from 'react-aria/mergeProps';\nimport {Node} from '@react-types/shared';\nimport React, {ReactNode, useContext, useRef} from 'react';\nimport {StepListContext} from './StepListContext';\nimport styles from '@adobe/spectrum-css-temp/components/steplist/vars.css';\nimport {useHover} from 'react-aria/useHover';\nimport {useId} from 'react-aria/useId';\nimport {useLocale} from 'react-aria/I18nProvider';\nimport {useLocalizedStringFormatter} from 'react-aria/useLocalizedStringFormatter';\nimport {useNumberFormatter} from 'react-aria/useNumberFormatter';\nimport {useStepListItem} from 'react-aria/private/steplist/useStepListItem';\nimport {VisuallyHidden} from 'react-aria/VisuallyHidden';\n\ninterface SpectrumStepListItemProps<T> {\n item: Node<T>,\n isDisabled?: boolean,\n isEmphasized?: boolean,\n isReadOnly?: boolean\n}\n\nexport function StepListItem<T>(props: SpectrumStepListItemProps<T>): ReactNode {\n let {\n isDisabled,\n item\n } = props;\n let {key} = item;\n\n let ref = useRef(null);\n let {direction} = useLocale();\n let state = useContext(StepListContext)!;\n const isSelected = state.selectedKey === key;\n const isCompleted = state.isCompleted(key);\n const isItemDisabled = isDisabled || state.disabledKeys.has(key);\n let {stepProps, stepStateProps} = useStepListItem({...props, key}, state, ref);\n\n let {hoverProps, isHovered} = useHover({...props, isDisabled: isItemDisabled || isSelected || props.isReadOnly});\n\n\n let stepStateText = '';\n const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/steplist');\n const numberFormatter = useNumberFormatter();\n\n if (isSelected) {\n stepStateText = stringFormatter.format('current');\n } else if (isCompleted) {\n stepStateText = stringFormatter.format('completed');\n } else {\n stepStateText = stringFormatter.format('notCompleted');\n }\n\n let markerId = useId();\n let stateId = useId();\n let labelId = useId();\n\n return (\n <li\n className={\n classNames(\n styles,\n 'spectrum-Steplist-item'\n )\n }>\n <FocusRing within focusRingClass={classNames(styles, 'focus-ring')}>\n <a\n {...mergeProps(hoverProps, stepProps)}\n aria-labelledby={`${markerId} ${stateId} ${labelId}`}\n ref={ref}\n className={classNames(\n styles,\n 'spectrum-Steplist-link',\n {\n 'is-selected': isSelected && !isItemDisabled,\n 'is-disabled': isItemDisabled,\n 'is-hovered': isHovered,\n 'is-completed': isCompleted,\n 'is-selectable': state.isSelectable(key) && !isSelected\n }\n )}>\n <VisuallyHidden {...stepStateProps} id={stateId}>{stepStateText}</VisuallyHidden>\n <div id={labelId} aria-hidden=\"true\" className={classNames(styles, 'spectrum-Steplist-label')}>\n {item.rendered}\n </div>\n <div\n className={classNames(\n styles,\n 'spectrum-Steplist-segment', {\n 'is-completed': isCompleted\n })} >\n <svg className={classNames(styles, 'spectrum-Steplist-segmentLine')} xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 0 2 8\" preserveAspectRatio=\"none\">\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"8\" vectorEffect=\"non-scaling-stroke\" />\n </svg>\n <ChevronRightMedium\n UNSAFE_className={classNames(styles, 'spectrum-Steplist-chevron', {\n 'is-reversed': direction === 'rtl'\n })} />\n </div>\n <div aria-hidden=\"true\" className={classNames(styles, 'spectrum-Steplist-markerWrapper')}>\n <div id={markerId} className={classNames(styles, 'spectrum-Steplist-marker')}>{numberFormatter.format((item.index || 0) + 1)}</div>\n </div>\n </a>\n </FocusRing>\n </li>\n );\n}\n"],"names":[],"version":3,"file":"StepListItem.cjs.map"}
|
|
@@ -68,6 +68,7 @@ function $84f7e0d248669720$export$87c2a8a94eda1754(props) {
|
|
|
68
68
|
else if (isCompleted) stepStateText = stringFormatter.format('completed');
|
|
69
69
|
else stepStateText = stringFormatter.format('notCompleted');
|
|
70
70
|
let markerId = (0, $BIvsM$useId)();
|
|
71
|
+
let stateId = (0, $BIvsM$useId)();
|
|
71
72
|
let labelId = (0, $BIvsM$useId)();
|
|
72
73
|
return /*#__PURE__*/ (0, $BIvsM$react).createElement("li", {
|
|
73
74
|
className: (0, $512ba93e663f149c$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($BIvsM$steplist_vars_cssmjs))), 'spectrum-Steplist-item')
|
|
@@ -76,7 +77,7 @@ function $84f7e0d248669720$export$87c2a8a94eda1754(props) {
|
|
|
76
77
|
focusRingClass: (0, $512ba93e663f149c$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($BIvsM$steplist_vars_cssmjs))), 'focus-ring')
|
|
77
78
|
}, /*#__PURE__*/ (0, $BIvsM$react).createElement("a", {
|
|
78
79
|
...(0, $BIvsM$mergeProps)(hoverProps, stepProps),
|
|
79
|
-
"aria-labelledby": `${markerId} ${labelId}`,
|
|
80
|
+
"aria-labelledby": `${markerId} ${stateId} ${labelId}`,
|
|
80
81
|
ref: ref,
|
|
81
82
|
className: (0, $512ba93e663f149c$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($BIvsM$steplist_vars_cssmjs))), 'spectrum-Steplist-link', {
|
|
82
83
|
'is-selected': isSelected && !isItemDisabled,
|
|
@@ -85,7 +86,10 @@ function $84f7e0d248669720$export$87c2a8a94eda1754(props) {
|
|
|
85
86
|
'is-completed': isCompleted,
|
|
86
87
|
'is-selectable': state.isSelectable(key) && !isSelected
|
|
87
88
|
})
|
|
88
|
-
}, /*#__PURE__*/ (0, $BIvsM$react).createElement((0, $BIvsM$VisuallyHidden),
|
|
89
|
+
}, /*#__PURE__*/ (0, $BIvsM$react).createElement((0, $BIvsM$VisuallyHidden), {
|
|
90
|
+
...stepStateProps,
|
|
91
|
+
id: stateId
|
|
92
|
+
}, stepStateText), /*#__PURE__*/ (0, $BIvsM$react).createElement("div", {
|
|
89
93
|
id: labelId,
|
|
90
94
|
"aria-hidden": "true",
|
|
91
95
|
className: (0, $512ba93e663f149c$export$ce4ab0c55987d1ff)((0, ($parcel$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c;QAC/B;uBAEJ,gCAAC;QAAI,eAAY;QAAO,WAAW,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG;qBACpD,gCAAC;QAAI,IAAI;QAAW,WAAW,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG;OAA8B,gBAAgB,MAAM,CAAC,AAAC,CAAA,KAAK,KAAK,IAAI,CAAA,IAAK;AAMvI","sources":["packages/@adobe/react-spectrum/src/steplist/StepListItem.tsx"],"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 */\nimport ChevronRightMedium from '@spectrum-icons/ui/ChevronRightMedium';\nimport {classNames} from '../utils/classNames';\nimport {FocusRing} from 'react-aria/FocusRing';\n// @ts-ignore\nimport intlMessages from '../../intl/steplist/*.json';\nimport {mergeProps} from 'react-aria/mergeProps';\nimport {Node} from '@react-types/shared';\nimport React, {ReactNode, useContext, useRef} from 'react';\nimport {StepListContext} from './StepListContext';\nimport styles from '@adobe/spectrum-css-temp/components/steplist/vars.css';\nimport {useHover} from 'react-aria/useHover';\nimport {useId} from 'react-aria/useId';\nimport {useLocale} from 'react-aria/I18nProvider';\nimport {useLocalizedStringFormatter} from 'react-aria/useLocalizedStringFormatter';\nimport {useNumberFormatter} from 'react-aria/useNumberFormatter';\nimport {useStepListItem} from 'react-aria/private/steplist/useStepListItem';\nimport {VisuallyHidden} from 'react-aria/VisuallyHidden';\n\ninterface SpectrumStepListItemProps<T> {\n item: Node<T>,\n isDisabled?: boolean,\n isEmphasized?: boolean,\n isReadOnly?: boolean\n}\n\nexport function StepListItem<T>(props: SpectrumStepListItemProps<T>): ReactNode {\n let {\n isDisabled,\n item\n } = props;\n let {key} = item;\n\n let ref = useRef(null);\n let {direction} = useLocale();\n let state = useContext(StepListContext)!;\n const isSelected = state.selectedKey === key;\n const isCompleted = state.isCompleted(key);\n const isItemDisabled = isDisabled || state.disabledKeys.has(key);\n let {stepProps, stepStateProps} = useStepListItem({...props, key}, state, ref);\n\n let {hoverProps, isHovered} = useHover({...props, isDisabled: isItemDisabled || isSelected || props.isReadOnly});\n\n\n let stepStateText = '';\n const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/steplist');\n const numberFormatter = useNumberFormatter();\n\n if (isSelected) {\n stepStateText = stringFormatter.format('current');\n } else if (isCompleted) {\n stepStateText = stringFormatter.format('completed');\n } else {\n stepStateText = stringFormatter.format('notCompleted');\n }\n\n let markerId = useId();\n let stateId = useId();\n let labelId = useId();\n\n return (\n <li\n className={\n classNames(\n styles,\n 'spectrum-Steplist-item'\n )\n }>\n <FocusRing within focusRingClass={classNames(styles, 'focus-ring')}>\n <a\n {...mergeProps(hoverProps, stepProps)}\n aria-labelledby={`${markerId} ${stateId} ${labelId}`}\n ref={ref}\n className={classNames(\n styles,\n 'spectrum-Steplist-link',\n {\n 'is-selected': isSelected && !isItemDisabled,\n 'is-disabled': isItemDisabled,\n 'is-hovered': isHovered,\n 'is-completed': isCompleted,\n 'is-selectable': state.isSelectable(key) && !isSelected\n }\n )}>\n <VisuallyHidden {...stepStateProps} id={stateId}>{stepStateText}</VisuallyHidden>\n <div id={labelId} aria-hidden=\"true\" className={classNames(styles, 'spectrum-Steplist-label')}>\n {item.rendered}\n </div>\n <div\n className={classNames(\n styles,\n 'spectrum-Steplist-segment', {\n 'is-completed': isCompleted\n })} >\n <svg className={classNames(styles, 'spectrum-Steplist-segmentLine')} xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 0 2 8\" preserveAspectRatio=\"none\">\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"8\" vectorEffect=\"non-scaling-stroke\" />\n </svg>\n <ChevronRightMedium\n UNSAFE_className={classNames(styles, 'spectrum-Steplist-chevron', {\n 'is-reversed': direction === 'rtl'\n })} />\n </div>\n <div aria-hidden=\"true\" className={classNames(styles, 'spectrum-Steplist-markerWrapper')}>\n <div id={markerId} className={classNames(styles, 'spectrum-Steplist-marker')}>{numberFormatter.format((item.index || 0) + 1)}</div>\n </div>\n </a>\n </FocusRing>\n </li>\n );\n}\n"],"names":[],"version":3,"file":"StepListItem.js.map"}
|
|
@@ -68,6 +68,7 @@ function $49159f98bfb552a9$export$87c2a8a94eda1754(props) {
|
|
|
68
68
|
else if (isCompleted) stepStateText = stringFormatter.format('completed');
|
|
69
69
|
else stepStateText = stringFormatter.format('notCompleted');
|
|
70
70
|
let markerId = (0, $8JI0T$useId)();
|
|
71
|
+
let stateId = (0, $8JI0T$useId)();
|
|
71
72
|
let labelId = (0, $8JI0T$useId)();
|
|
72
73
|
return /*#__PURE__*/ (0, $8JI0T$react).createElement("li", {
|
|
73
74
|
className: (0, $6e6392558d48dfec$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($8JI0T$steplist_vars_cssmjs))), 'spectrum-Steplist-item')
|
|
@@ -76,7 +77,7 @@ function $49159f98bfb552a9$export$87c2a8a94eda1754(props) {
|
|
|
76
77
|
focusRingClass: (0, $6e6392558d48dfec$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($8JI0T$steplist_vars_cssmjs))), 'focus-ring')
|
|
77
78
|
}, /*#__PURE__*/ (0, $8JI0T$react).createElement("a", {
|
|
78
79
|
...(0, $8JI0T$mergeProps)(hoverProps, stepProps),
|
|
79
|
-
"aria-labelledby": `${markerId} ${labelId}`,
|
|
80
|
+
"aria-labelledby": `${markerId} ${stateId} ${labelId}`,
|
|
80
81
|
ref: ref,
|
|
81
82
|
className: (0, $6e6392558d48dfec$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($8JI0T$steplist_vars_cssmjs))), 'spectrum-Steplist-link', {
|
|
82
83
|
'is-selected': isSelected && !isItemDisabled,
|
|
@@ -85,7 +86,10 @@ function $49159f98bfb552a9$export$87c2a8a94eda1754(props) {
|
|
|
85
86
|
'is-completed': isCompleted,
|
|
86
87
|
'is-selectable': state.isSelectable(key) && !isSelected
|
|
87
88
|
})
|
|
88
|
-
}, /*#__PURE__*/ (0, $8JI0T$react).createElement((0, $8JI0T$VisuallyHidden),
|
|
89
|
+
}, /*#__PURE__*/ (0, $8JI0T$react).createElement((0, $8JI0T$VisuallyHidden), {
|
|
90
|
+
...stepStateProps,
|
|
91
|
+
id: stateId
|
|
92
|
+
}, stepStateText), /*#__PURE__*/ (0, $8JI0T$react).createElement("div", {
|
|
89
93
|
id: labelId,
|
|
90
94
|
"aria-hidden": "true",
|
|
91
95
|
className: (0, $6e6392558d48dfec$export$ce4ab0c55987d1ff)((0, ($parcel$interopDefault($8JI0T$steplist_vars_cssmjs))), 'spectrum-Steplist-label')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;;;;;;;;AA0BM,SAAS,0CAAgB,KAAmC;IACjE,IAAI,cACF,UAAU,QACV,IAAI,EACL,GAAG;IACJ,IAAI,OAAC,GAAG,EAAC,GAAG;IAEZ,IAAI,MAAM,CAAA,GAAA,aAAK,EAAE;IACjB,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,gBAAQ;IAC1B,IAAI,QAAQ,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,yCAAc;IACrC,MAAM,aAAa,MAAM,WAAW,KAAK;IACzC,MAAM,cAAc,MAAM,WAAW,CAAC;IACtC,MAAM,iBAAiB,cAAc,MAAM,YAAY,CAAC,GAAG,CAAC;IAC5D,IAAI,aAAC,SAAS,kBAAE,cAAc,EAAC,GAAG,CAAA,GAAA,sBAAc,EAAE;QAAC,GAAG,KAAK;aAAE;IAAG,GAAG,OAAO;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BAClD,gCAAC;QAAI,IAAI;QAAS,eAAY;QAAO,WAAW,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG;OAChE,KAAK,QAAQ,iBAEhB,gCAAC;QACC,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,qDAAK,GACL,6BAA6B;YAC3B,gBAAgB;QAClB;qBACF,gCAAC;QAAI,WAAW,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG;QAAkC,OAAM;QAA6B,QAAO;QAAO,SAAQ;QAAU,qBAAoB;qBAC1J,gCAAC;QAAK,IAAG;QAAI,IAAG;QAAI,IAAG;QAAI,IAAG;QAAI,cAAa;uBAEjD,gCAAC,CAAA,GAAA,wCAAiB;QAChB,kBAAkB,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG,6BAA6B;YAChE,eAAe,cAAc;QAC/B;uBAEJ,gCAAC;QAAI,eAAY;QAAO,WAAW,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG;qBACpD,gCAAC;QAAI,IAAI;QAAW,WAAW,CAAA,GAAA,yCAAS,EAAE,CAAA,GAAA,qDAAK,GAAG;OAA8B,gBAAgB,MAAM,CAAC,AAAC,CAAA,KAAK,KAAK,IAAI,CAAA,IAAK;AAMvI","sources":["packages/@adobe/react-spectrum/src/steplist/StepListItem.tsx"],"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 */\nimport ChevronRightMedium from '@spectrum-icons/ui/ChevronRightMedium';\nimport {classNames} from '../utils/classNames';\nimport {FocusRing} from 'react-aria/FocusRing';\n// @ts-ignore\nimport intlMessages from '../../intl/steplist/*.json';\nimport {mergeProps} from 'react-aria/mergeProps';\nimport {Node} from '@react-types/shared';\nimport React, {ReactNode, useContext, useRef} from 'react';\nimport {StepListContext} from './StepListContext';\nimport styles from '@adobe/spectrum-css-temp/components/steplist/vars.css';\nimport {useHover} from 'react-aria/useHover';\nimport {useId} from 'react-aria/useId';\nimport {useLocale} from 'react-aria/I18nProvider';\nimport {useLocalizedStringFormatter} from 'react-aria/useLocalizedStringFormatter';\nimport {useNumberFormatter} from 'react-aria/useNumberFormatter';\nimport {useStepListItem} from 'react-aria/private/steplist/useStepListItem';\nimport {VisuallyHidden} from 'react-aria/VisuallyHidden';\n\ninterface SpectrumStepListItemProps<T> {\n item: Node<T>,\n isDisabled?: boolean,\n isEmphasized?: boolean,\n isReadOnly?: boolean\n}\n\nexport function StepListItem<T>(props: SpectrumStepListItemProps<T>): ReactNode {\n let {\n isDisabled,\n item\n } = props;\n let {key} = item;\n\n let ref = useRef(null);\n let {direction} = useLocale();\n let state = useContext(StepListContext)!;\n const isSelected = state.selectedKey === key;\n const isCompleted = state.isCompleted(key);\n const isItemDisabled = isDisabled || state.disabledKeys.has(key);\n let {stepProps, stepStateProps} = useStepListItem({...props, key}, state, ref);\n\n let {hoverProps, isHovered} = useHover({...props, isDisabled: isItemDisabled || isSelected || props.isReadOnly});\n\n\n let stepStateText = '';\n const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/steplist');\n const numberFormatter = useNumberFormatter();\n\n if (isSelected) {\n stepStateText = stringFormatter.format('current');\n } else if (isCompleted) {\n stepStateText = stringFormatter.format('completed');\n } else {\n stepStateText = stringFormatter.format('notCompleted');\n }\n\n let markerId = useId();\n let stateId = useId();\n let labelId = useId();\n\n return (\n <li\n className={\n classNames(\n styles,\n 'spectrum-Steplist-item'\n )\n }>\n <FocusRing within focusRingClass={classNames(styles, 'focus-ring')}>\n <a\n {...mergeProps(hoverProps, stepProps)}\n aria-labelledby={`${markerId} ${stateId} ${labelId}`}\n ref={ref}\n className={classNames(\n styles,\n 'spectrum-Steplist-link',\n {\n 'is-selected': isSelected && !isItemDisabled,\n 'is-disabled': isItemDisabled,\n 'is-hovered': isHovered,\n 'is-completed': isCompleted,\n 'is-selectable': state.isSelectable(key) && !isSelected\n }\n )}>\n <VisuallyHidden {...stepStateProps} id={stateId}>{stepStateText}</VisuallyHidden>\n <div id={labelId} aria-hidden=\"true\" className={classNames(styles, 'spectrum-Steplist-label')}>\n {item.rendered}\n </div>\n <div\n className={classNames(\n styles,\n 'spectrum-Steplist-segment', {\n 'is-completed': isCompleted\n })} >\n <svg className={classNames(styles, 'spectrum-Steplist-segmentLine')} xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 0 2 8\" preserveAspectRatio=\"none\">\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"8\" vectorEffect=\"non-scaling-stroke\" />\n </svg>\n <ChevronRightMedium\n UNSAFE_className={classNames(styles, 'spectrum-Steplist-chevron', {\n 'is-reversed': direction === 'rtl'\n })} />\n </div>\n <div aria-hidden=\"true\" className={classNames(styles, 'spectrum-Steplist-markerWrapper')}>\n <div id={markerId} className={classNames(styles, 'spectrum-Steplist-marker')}>{numberFormatter.format((item.index || 0) + 1)}</div>\n </div>\n </a>\n </FocusRing>\n </li>\n );\n}\n"],"names":[],"version":3,"file":"StepListItem.mjs.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/react-spectrum",
|
|
3
|
-
"version": "3.0.0-nightly-
|
|
3
|
+
"version": "3.0.0-nightly-e3913baaa-260422",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/exports/index.cjs",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"url": "https://github.com/adobe/react-spectrum"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@internationalized/date": "3.0.0-nightly-
|
|
56
|
-
"@react-types/shared": "3.0.0-nightly-
|
|
57
|
-
"@spectrum-icons/ui": "3.0.0-nightly-
|
|
58
|
-
"@spectrum-icons/workflow": "3.0.0-nightly-
|
|
55
|
+
"@internationalized/date": "3.0.0-nightly-e3913baaa-260422",
|
|
56
|
+
"@react-types/shared": "3.0.0-nightly-e3913baaa-260422",
|
|
57
|
+
"@spectrum-icons/ui": "3.0.0-nightly-e3913baaa-260422",
|
|
58
|
+
"@spectrum-icons/workflow": "3.0.0-nightly-e3913baaa-260422",
|
|
59
59
|
"@swc/helpers": "^0.5.0",
|
|
60
60
|
"client-only": "^0.0.1",
|
|
61
61
|
"clsx": "^2.0.0",
|
|
62
|
-
"react-aria": "3.0.0-nightly-
|
|
63
|
-
"react-aria-components": "3.0.0-nightly-
|
|
64
|
-
"react-stately": "3.0.0-nightly-
|
|
62
|
+
"react-aria": "3.0.0-nightly-e3913baaa-260422",
|
|
63
|
+
"react-aria-components": "3.0.0-nightly-e3913baaa-260422",
|
|
64
|
+
"react-stately": "3.0.0-nightly-e3913baaa-260422",
|
|
65
65
|
"react-transition-group": "^4.4.5",
|
|
66
66
|
"use-sync-external-store": "^1.6.0"
|
|
67
67
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@adobe/spectrum-css-temp": "3.0.0-alpha.1",
|
|
77
77
|
"@babel/cli": "^7.12.10",
|
|
78
78
|
"@babel/core": "^7.24.3",
|
|
79
|
-
"@react-spectrum/style-macro-s1": "3.0.0-nightly-
|
|
79
|
+
"@react-spectrum/style-macro-s1": "3.0.0-nightly-e3913baaa-260422"
|
|
80
80
|
},
|
|
81
81
|
"targets": {
|
|
82
82
|
"main": false,
|