@react-spectrum/steplist 3.0.0-alpha.23 → 3.0.0-alpha.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/import.mjs +3 -3
- package/dist/main.js +4 -4
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -3
- package/dist/module.js.map +1 -1
- package/dist/types/src/index.d.ts +3 -0
- package/package.json +24 -42
- package/src/index.ts +4 -3
- package/dist/StepList.main.js +0 -72
- package/dist/StepList.main.js.map +0 -1
- package/dist/StepList.mjs +0 -67
- package/dist/StepList.module.js +0 -67
- package/dist/StepList.module.js.map +0 -1
- package/dist/StepListContext.main.js +0 -27
- package/dist/StepListContext.main.js.map +0 -1
- package/dist/StepListContext.mjs +0 -18
- package/dist/StepListContext.module.js +0 -18
- package/dist/StepListContext.module.js.map +0 -1
- package/dist/StepListItem.main.js +0 -122
- package/dist/StepListItem.main.js.map +0 -1
- package/dist/StepListItem.mjs +0 -117
- package/dist/StepListItem.module.js +0 -117
- package/dist/StepListItem.module.js.map +0 -1
- package/dist/en-US.main.js +0 -9
- package/dist/en-US.main.js.map +0 -1
- package/dist/en-US.mjs +0 -11
- package/dist/en-US.module.js +0 -11
- package/dist/en-US.module.js.map +0 -1
- package/dist/index.main.js +0 -19
- package/dist/index.main.js.map +0 -1
- package/dist/index.mjs +0 -14
- package/dist/index.module.js +0 -14
- package/dist/index.module.js.map +0 -1
- package/dist/steplist.5b736ed7.css +0 -497
- package/dist/steplist.5b736ed7.css.map +0 -1
- package/dist/steplist_vars_css.main.js +0 -95
- package/dist/steplist_vars_css.main.js.map +0 -1
- package/dist/steplist_vars_css.mjs +0 -97
- package/dist/steplist_vars_css.module.js +0 -97
- package/dist/steplist_vars_css.module.js.map +0 -1
- package/dist/types.d.ts +0 -26
- package/dist/types.d.ts.map +0 -1
- package/src/StepList.tsx +0 -77
- package/src/StepListContext.ts +0 -16
- package/src/StepListItem.tsx +0 -115
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
var $b2477f17b7c66618$exports = {};
|
|
6
|
-
|
|
7
|
-
$parcel$export($b2477f17b7c66618$exports, "focus-ring", () => $b2477f17b7c66618$export$f39a09f249340e2a, (v) => $b2477f17b7c66618$export$f39a09f249340e2a = v);
|
|
8
|
-
$parcel$export($b2477f17b7c66618$exports, "i18nFontFamily", () => $b2477f17b7c66618$export$8c4ee2c50c22c514, (v) => $b2477f17b7c66618$export$8c4ee2c50c22c514 = v);
|
|
9
|
-
$parcel$export($b2477f17b7c66618$exports, "is-completed", () => $b2477f17b7c66618$export$7e62df9ca2e410e4, (v) => $b2477f17b7c66618$export$7e62df9ca2e410e4 = v);
|
|
10
|
-
$parcel$export($b2477f17b7c66618$exports, "is-disabled", () => $b2477f17b7c66618$export$d35bc1e505d1ebbf, (v) => $b2477f17b7c66618$export$d35bc1e505d1ebbf = v);
|
|
11
|
-
$parcel$export($b2477f17b7c66618$exports, "is-hovered", () => $b2477f17b7c66618$export$b8813cd5d7824ce7, (v) => $b2477f17b7c66618$export$b8813cd5d7824ce7 = v);
|
|
12
|
-
$parcel$export($b2477f17b7c66618$exports, "is-reversed", () => $b2477f17b7c66618$export$a4561bd665abb5db, (v) => $b2477f17b7c66618$export$a4561bd665abb5db = v);
|
|
13
|
-
$parcel$export($b2477f17b7c66618$exports, "is-selected", () => $b2477f17b7c66618$export$1e0fb04f31d3c22a, (v) => $b2477f17b7c66618$export$1e0fb04f31d3c22a = v);
|
|
14
|
-
$parcel$export($b2477f17b7c66618$exports, "label", () => $b2477f17b7c66618$export$1237798dc640739a, (v) => $b2477f17b7c66618$export$1237798dc640739a = v);
|
|
15
|
-
$parcel$export($b2477f17b7c66618$exports, "line", () => $b2477f17b7c66618$export$53f1d5ea8de3d7c, (v) => $b2477f17b7c66618$export$53f1d5ea8de3d7c = v);
|
|
16
|
-
$parcel$export($b2477f17b7c66618$exports, "marker", () => $b2477f17b7c66618$export$ffc4d0086f1a4c9, (v) => $b2477f17b7c66618$export$ffc4d0086f1a4c9 = v);
|
|
17
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-FocusRing-ring", () => $b2477f17b7c66618$export$4109102f950813a6, (v) => $b2477f17b7c66618$export$4109102f950813a6 = v);
|
|
18
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-FocusRing", () => $b2477f17b7c66618$export$24c7f46a6e3605dd, (v) => $b2477f17b7c66618$export$24c7f46a6e3605dd = v);
|
|
19
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-FocusRing--quiet", () => $b2477f17b7c66618$export$2927016961429360, (v) => $b2477f17b7c66618$export$2927016961429360 = v);
|
|
20
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist", () => $b2477f17b7c66618$export$35315228197e36b8, (v) => $b2477f17b7c66618$export$35315228197e36b8 = v);
|
|
21
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--emphasized", () => $b2477f17b7c66618$export$d2cf12460a777241, (v) => $b2477f17b7c66618$export$d2cf12460a777241 = v);
|
|
22
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--horizontal", () => $b2477f17b7c66618$export$6f0c4d0e9f29399d, (v) => $b2477f17b7c66618$export$6f0c4d0e9f29399d = v);
|
|
23
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--large", () => $b2477f17b7c66618$export$b0d9d5077004711a, (v) => $b2477f17b7c66618$export$b0d9d5077004711a = v);
|
|
24
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--medium", () => $b2477f17b7c66618$export$9666cb7894b7712a, (v) => $b2477f17b7c66618$export$9666cb7894b7712a = v);
|
|
25
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--small", () => $b2477f17b7c66618$export$43119eed81e90e13, (v) => $b2477f17b7c66618$export$43119eed81e90e13 = v);
|
|
26
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--vertical", () => $b2477f17b7c66618$export$146e7d67031e074f, (v) => $b2477f17b7c66618$export$146e7d67031e074f = v);
|
|
27
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--xlarge", () => $b2477f17b7c66618$export$56195e68ddf7db1b, (v) => $b2477f17b7c66618$export$56195e68ddf7db1b = v);
|
|
28
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-chevron", () => $b2477f17b7c66618$export$e0b9c44558d2fb75, (v) => $b2477f17b7c66618$export$e0b9c44558d2fb75 = v);
|
|
29
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-item", () => $b2477f17b7c66618$export$df6f1d30f09c136e, (v) => $b2477f17b7c66618$export$df6f1d30f09c136e = v);
|
|
30
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-label", () => $b2477f17b7c66618$export$2393468f68ff8031, (v) => $b2477f17b7c66618$export$2393468f68ff8031 = v);
|
|
31
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-link", () => $b2477f17b7c66618$export$f622f4b07b665af3, (v) => $b2477f17b7c66618$export$f622f4b07b665af3 = v);
|
|
32
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-marker", () => $b2477f17b7c66618$export$9d44d123fa093f85, (v) => $b2477f17b7c66618$export$9d44d123fa093f85 = v);
|
|
33
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-markerWrapper", () => $b2477f17b7c66618$export$a7d0643524891b06, (v) => $b2477f17b7c66618$export$a7d0643524891b06 = v);
|
|
34
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-segment", () => $b2477f17b7c66618$export$1f36a6b1ab318f2f, (v) => $b2477f17b7c66618$export$1f36a6b1ab318f2f = v);
|
|
35
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-segmentLine", () => $b2477f17b7c66618$export$f92a1d2b4a328a95, (v) => $b2477f17b7c66618$export$f92a1d2b4a328a95 = v);
|
|
36
|
-
var $b2477f17b7c66618$export$f39a09f249340e2a;
|
|
37
|
-
var $b2477f17b7c66618$export$8c4ee2c50c22c514;
|
|
38
|
-
var $b2477f17b7c66618$export$7e62df9ca2e410e4;
|
|
39
|
-
var $b2477f17b7c66618$export$d35bc1e505d1ebbf;
|
|
40
|
-
var $b2477f17b7c66618$export$b8813cd5d7824ce7;
|
|
41
|
-
var $b2477f17b7c66618$export$a4561bd665abb5db;
|
|
42
|
-
var $b2477f17b7c66618$export$1e0fb04f31d3c22a;
|
|
43
|
-
var $b2477f17b7c66618$export$1237798dc640739a;
|
|
44
|
-
var $b2477f17b7c66618$export$53f1d5ea8de3d7c;
|
|
45
|
-
var $b2477f17b7c66618$export$ffc4d0086f1a4c9;
|
|
46
|
-
var $b2477f17b7c66618$export$4109102f950813a6;
|
|
47
|
-
var $b2477f17b7c66618$export$24c7f46a6e3605dd;
|
|
48
|
-
var $b2477f17b7c66618$export$2927016961429360;
|
|
49
|
-
var $b2477f17b7c66618$export$35315228197e36b8;
|
|
50
|
-
var $b2477f17b7c66618$export$d2cf12460a777241;
|
|
51
|
-
var $b2477f17b7c66618$export$6f0c4d0e9f29399d;
|
|
52
|
-
var $b2477f17b7c66618$export$b0d9d5077004711a;
|
|
53
|
-
var $b2477f17b7c66618$export$9666cb7894b7712a;
|
|
54
|
-
var $b2477f17b7c66618$export$43119eed81e90e13;
|
|
55
|
-
var $b2477f17b7c66618$export$146e7d67031e074f;
|
|
56
|
-
var $b2477f17b7c66618$export$56195e68ddf7db1b;
|
|
57
|
-
var $b2477f17b7c66618$export$e0b9c44558d2fb75;
|
|
58
|
-
var $b2477f17b7c66618$export$df6f1d30f09c136e;
|
|
59
|
-
var $b2477f17b7c66618$export$2393468f68ff8031;
|
|
60
|
-
var $b2477f17b7c66618$export$f622f4b07b665af3;
|
|
61
|
-
var $b2477f17b7c66618$export$9d44d123fa093f85;
|
|
62
|
-
var $b2477f17b7c66618$export$a7d0643524891b06;
|
|
63
|
-
var $b2477f17b7c66618$export$1f36a6b1ab318f2f;
|
|
64
|
-
var $b2477f17b7c66618$export$f92a1d2b4a328a95;
|
|
65
|
-
$b2477f17b7c66618$export$f39a09f249340e2a = `GXLCFq_focus-ring`;
|
|
66
|
-
$b2477f17b7c66618$export$8c4ee2c50c22c514 = `GXLCFq_i18nFontFamily`;
|
|
67
|
-
$b2477f17b7c66618$export$7e62df9ca2e410e4 = `GXLCFq_is-completed`;
|
|
68
|
-
$b2477f17b7c66618$export$d35bc1e505d1ebbf = `GXLCFq_is-disabled`;
|
|
69
|
-
$b2477f17b7c66618$export$b8813cd5d7824ce7 = `GXLCFq_is-hovered`;
|
|
70
|
-
$b2477f17b7c66618$export$a4561bd665abb5db = `GXLCFq_is-reversed`;
|
|
71
|
-
$b2477f17b7c66618$export$1e0fb04f31d3c22a = `GXLCFq_is-selected`;
|
|
72
|
-
$b2477f17b7c66618$export$1237798dc640739a = `GXLCFq_label`;
|
|
73
|
-
$b2477f17b7c66618$export$53f1d5ea8de3d7c = `GXLCFq_line`;
|
|
74
|
-
$b2477f17b7c66618$export$ffc4d0086f1a4c9 = `GXLCFq_marker`;
|
|
75
|
-
$b2477f17b7c66618$export$4109102f950813a6 = `GXLCFq_spectrum-FocusRing-ring`;
|
|
76
|
-
$b2477f17b7c66618$export$24c7f46a6e3605dd = `GXLCFq_spectrum-FocusRing ${$b2477f17b7c66618$export$4109102f950813a6}`;
|
|
77
|
-
$b2477f17b7c66618$export$2927016961429360 = `GXLCFq_spectrum-FocusRing--quiet`;
|
|
78
|
-
$b2477f17b7c66618$export$35315228197e36b8 = `GXLCFq_spectrum-Steplist`;
|
|
79
|
-
$b2477f17b7c66618$export$d2cf12460a777241 = `GXLCFq_spectrum-Steplist--emphasized`;
|
|
80
|
-
$b2477f17b7c66618$export$6f0c4d0e9f29399d = `GXLCFq_spectrum-Steplist--horizontal`;
|
|
81
|
-
$b2477f17b7c66618$export$b0d9d5077004711a = `GXLCFq_spectrum-Steplist--large`;
|
|
82
|
-
$b2477f17b7c66618$export$9666cb7894b7712a = `GXLCFq_spectrum-Steplist--medium`;
|
|
83
|
-
$b2477f17b7c66618$export$43119eed81e90e13 = `GXLCFq_spectrum-Steplist--small`;
|
|
84
|
-
$b2477f17b7c66618$export$146e7d67031e074f = `GXLCFq_spectrum-Steplist--vertical`;
|
|
85
|
-
$b2477f17b7c66618$export$56195e68ddf7db1b = `GXLCFq_spectrum-Steplist--xlarge`;
|
|
86
|
-
$b2477f17b7c66618$export$e0b9c44558d2fb75 = `GXLCFq_spectrum-Steplist-chevron`;
|
|
87
|
-
$b2477f17b7c66618$export$df6f1d30f09c136e = `GXLCFq_spectrum-Steplist-item`;
|
|
88
|
-
$b2477f17b7c66618$export$2393468f68ff8031 = `GXLCFq_spectrum-Steplist-label`;
|
|
89
|
-
$b2477f17b7c66618$export$f622f4b07b665af3 = `GXLCFq_spectrum-Steplist-link`;
|
|
90
|
-
$b2477f17b7c66618$export$9d44d123fa093f85 = `GXLCFq_spectrum-Steplist-marker`;
|
|
91
|
-
$b2477f17b7c66618$export$a7d0643524891b06 = `GXLCFq_spectrum-Steplist-markerWrapper`;
|
|
92
|
-
$b2477f17b7c66618$export$1f36a6b1ab318f2f = `GXLCFq_spectrum-Steplist-segment`;
|
|
93
|
-
$b2477f17b7c66618$export$f92a1d2b4a328a95 = `GXLCFq_spectrum-Steplist-segmentLine`;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export {$b2477f17b7c66618$exports as default};
|
|
97
|
-
//# sourceMappingURL=steplist_vars_css.module.js.map
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
var $b2477f17b7c66618$exports = {};
|
|
6
|
-
|
|
7
|
-
$parcel$export($b2477f17b7c66618$exports, "focus-ring", () => $b2477f17b7c66618$export$f39a09f249340e2a, (v) => $b2477f17b7c66618$export$f39a09f249340e2a = v);
|
|
8
|
-
$parcel$export($b2477f17b7c66618$exports, "i18nFontFamily", () => $b2477f17b7c66618$export$8c4ee2c50c22c514, (v) => $b2477f17b7c66618$export$8c4ee2c50c22c514 = v);
|
|
9
|
-
$parcel$export($b2477f17b7c66618$exports, "is-completed", () => $b2477f17b7c66618$export$7e62df9ca2e410e4, (v) => $b2477f17b7c66618$export$7e62df9ca2e410e4 = v);
|
|
10
|
-
$parcel$export($b2477f17b7c66618$exports, "is-disabled", () => $b2477f17b7c66618$export$d35bc1e505d1ebbf, (v) => $b2477f17b7c66618$export$d35bc1e505d1ebbf = v);
|
|
11
|
-
$parcel$export($b2477f17b7c66618$exports, "is-hovered", () => $b2477f17b7c66618$export$b8813cd5d7824ce7, (v) => $b2477f17b7c66618$export$b8813cd5d7824ce7 = v);
|
|
12
|
-
$parcel$export($b2477f17b7c66618$exports, "is-reversed", () => $b2477f17b7c66618$export$a4561bd665abb5db, (v) => $b2477f17b7c66618$export$a4561bd665abb5db = v);
|
|
13
|
-
$parcel$export($b2477f17b7c66618$exports, "is-selected", () => $b2477f17b7c66618$export$1e0fb04f31d3c22a, (v) => $b2477f17b7c66618$export$1e0fb04f31d3c22a = v);
|
|
14
|
-
$parcel$export($b2477f17b7c66618$exports, "label", () => $b2477f17b7c66618$export$1237798dc640739a, (v) => $b2477f17b7c66618$export$1237798dc640739a = v);
|
|
15
|
-
$parcel$export($b2477f17b7c66618$exports, "line", () => $b2477f17b7c66618$export$53f1d5ea8de3d7c, (v) => $b2477f17b7c66618$export$53f1d5ea8de3d7c = v);
|
|
16
|
-
$parcel$export($b2477f17b7c66618$exports, "marker", () => $b2477f17b7c66618$export$ffc4d0086f1a4c9, (v) => $b2477f17b7c66618$export$ffc4d0086f1a4c9 = v);
|
|
17
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-FocusRing-ring", () => $b2477f17b7c66618$export$4109102f950813a6, (v) => $b2477f17b7c66618$export$4109102f950813a6 = v);
|
|
18
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-FocusRing", () => $b2477f17b7c66618$export$24c7f46a6e3605dd, (v) => $b2477f17b7c66618$export$24c7f46a6e3605dd = v);
|
|
19
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-FocusRing--quiet", () => $b2477f17b7c66618$export$2927016961429360, (v) => $b2477f17b7c66618$export$2927016961429360 = v);
|
|
20
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist", () => $b2477f17b7c66618$export$35315228197e36b8, (v) => $b2477f17b7c66618$export$35315228197e36b8 = v);
|
|
21
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--emphasized", () => $b2477f17b7c66618$export$d2cf12460a777241, (v) => $b2477f17b7c66618$export$d2cf12460a777241 = v);
|
|
22
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--horizontal", () => $b2477f17b7c66618$export$6f0c4d0e9f29399d, (v) => $b2477f17b7c66618$export$6f0c4d0e9f29399d = v);
|
|
23
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--large", () => $b2477f17b7c66618$export$b0d9d5077004711a, (v) => $b2477f17b7c66618$export$b0d9d5077004711a = v);
|
|
24
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--medium", () => $b2477f17b7c66618$export$9666cb7894b7712a, (v) => $b2477f17b7c66618$export$9666cb7894b7712a = v);
|
|
25
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--small", () => $b2477f17b7c66618$export$43119eed81e90e13, (v) => $b2477f17b7c66618$export$43119eed81e90e13 = v);
|
|
26
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--vertical", () => $b2477f17b7c66618$export$146e7d67031e074f, (v) => $b2477f17b7c66618$export$146e7d67031e074f = v);
|
|
27
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist--xlarge", () => $b2477f17b7c66618$export$56195e68ddf7db1b, (v) => $b2477f17b7c66618$export$56195e68ddf7db1b = v);
|
|
28
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-chevron", () => $b2477f17b7c66618$export$e0b9c44558d2fb75, (v) => $b2477f17b7c66618$export$e0b9c44558d2fb75 = v);
|
|
29
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-item", () => $b2477f17b7c66618$export$df6f1d30f09c136e, (v) => $b2477f17b7c66618$export$df6f1d30f09c136e = v);
|
|
30
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-label", () => $b2477f17b7c66618$export$2393468f68ff8031, (v) => $b2477f17b7c66618$export$2393468f68ff8031 = v);
|
|
31
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-link", () => $b2477f17b7c66618$export$f622f4b07b665af3, (v) => $b2477f17b7c66618$export$f622f4b07b665af3 = v);
|
|
32
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-marker", () => $b2477f17b7c66618$export$9d44d123fa093f85, (v) => $b2477f17b7c66618$export$9d44d123fa093f85 = v);
|
|
33
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-markerWrapper", () => $b2477f17b7c66618$export$a7d0643524891b06, (v) => $b2477f17b7c66618$export$a7d0643524891b06 = v);
|
|
34
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-segment", () => $b2477f17b7c66618$export$1f36a6b1ab318f2f, (v) => $b2477f17b7c66618$export$1f36a6b1ab318f2f = v);
|
|
35
|
-
$parcel$export($b2477f17b7c66618$exports, "spectrum-Steplist-segmentLine", () => $b2477f17b7c66618$export$f92a1d2b4a328a95, (v) => $b2477f17b7c66618$export$f92a1d2b4a328a95 = v);
|
|
36
|
-
var $b2477f17b7c66618$export$f39a09f249340e2a;
|
|
37
|
-
var $b2477f17b7c66618$export$8c4ee2c50c22c514;
|
|
38
|
-
var $b2477f17b7c66618$export$7e62df9ca2e410e4;
|
|
39
|
-
var $b2477f17b7c66618$export$d35bc1e505d1ebbf;
|
|
40
|
-
var $b2477f17b7c66618$export$b8813cd5d7824ce7;
|
|
41
|
-
var $b2477f17b7c66618$export$a4561bd665abb5db;
|
|
42
|
-
var $b2477f17b7c66618$export$1e0fb04f31d3c22a;
|
|
43
|
-
var $b2477f17b7c66618$export$1237798dc640739a;
|
|
44
|
-
var $b2477f17b7c66618$export$53f1d5ea8de3d7c;
|
|
45
|
-
var $b2477f17b7c66618$export$ffc4d0086f1a4c9;
|
|
46
|
-
var $b2477f17b7c66618$export$4109102f950813a6;
|
|
47
|
-
var $b2477f17b7c66618$export$24c7f46a6e3605dd;
|
|
48
|
-
var $b2477f17b7c66618$export$2927016961429360;
|
|
49
|
-
var $b2477f17b7c66618$export$35315228197e36b8;
|
|
50
|
-
var $b2477f17b7c66618$export$d2cf12460a777241;
|
|
51
|
-
var $b2477f17b7c66618$export$6f0c4d0e9f29399d;
|
|
52
|
-
var $b2477f17b7c66618$export$b0d9d5077004711a;
|
|
53
|
-
var $b2477f17b7c66618$export$9666cb7894b7712a;
|
|
54
|
-
var $b2477f17b7c66618$export$43119eed81e90e13;
|
|
55
|
-
var $b2477f17b7c66618$export$146e7d67031e074f;
|
|
56
|
-
var $b2477f17b7c66618$export$56195e68ddf7db1b;
|
|
57
|
-
var $b2477f17b7c66618$export$e0b9c44558d2fb75;
|
|
58
|
-
var $b2477f17b7c66618$export$df6f1d30f09c136e;
|
|
59
|
-
var $b2477f17b7c66618$export$2393468f68ff8031;
|
|
60
|
-
var $b2477f17b7c66618$export$f622f4b07b665af3;
|
|
61
|
-
var $b2477f17b7c66618$export$9d44d123fa093f85;
|
|
62
|
-
var $b2477f17b7c66618$export$a7d0643524891b06;
|
|
63
|
-
var $b2477f17b7c66618$export$1f36a6b1ab318f2f;
|
|
64
|
-
var $b2477f17b7c66618$export$f92a1d2b4a328a95;
|
|
65
|
-
$b2477f17b7c66618$export$f39a09f249340e2a = `GXLCFq_focus-ring`;
|
|
66
|
-
$b2477f17b7c66618$export$8c4ee2c50c22c514 = `GXLCFq_i18nFontFamily`;
|
|
67
|
-
$b2477f17b7c66618$export$7e62df9ca2e410e4 = `GXLCFq_is-completed`;
|
|
68
|
-
$b2477f17b7c66618$export$d35bc1e505d1ebbf = `GXLCFq_is-disabled`;
|
|
69
|
-
$b2477f17b7c66618$export$b8813cd5d7824ce7 = `GXLCFq_is-hovered`;
|
|
70
|
-
$b2477f17b7c66618$export$a4561bd665abb5db = `GXLCFq_is-reversed`;
|
|
71
|
-
$b2477f17b7c66618$export$1e0fb04f31d3c22a = `GXLCFq_is-selected`;
|
|
72
|
-
$b2477f17b7c66618$export$1237798dc640739a = `GXLCFq_label`;
|
|
73
|
-
$b2477f17b7c66618$export$53f1d5ea8de3d7c = `GXLCFq_line`;
|
|
74
|
-
$b2477f17b7c66618$export$ffc4d0086f1a4c9 = `GXLCFq_marker`;
|
|
75
|
-
$b2477f17b7c66618$export$4109102f950813a6 = `GXLCFq_spectrum-FocusRing-ring`;
|
|
76
|
-
$b2477f17b7c66618$export$24c7f46a6e3605dd = `GXLCFq_spectrum-FocusRing ${$b2477f17b7c66618$export$4109102f950813a6}`;
|
|
77
|
-
$b2477f17b7c66618$export$2927016961429360 = `GXLCFq_spectrum-FocusRing--quiet`;
|
|
78
|
-
$b2477f17b7c66618$export$35315228197e36b8 = `GXLCFq_spectrum-Steplist`;
|
|
79
|
-
$b2477f17b7c66618$export$d2cf12460a777241 = `GXLCFq_spectrum-Steplist--emphasized`;
|
|
80
|
-
$b2477f17b7c66618$export$6f0c4d0e9f29399d = `GXLCFq_spectrum-Steplist--horizontal`;
|
|
81
|
-
$b2477f17b7c66618$export$b0d9d5077004711a = `GXLCFq_spectrum-Steplist--large`;
|
|
82
|
-
$b2477f17b7c66618$export$9666cb7894b7712a = `GXLCFq_spectrum-Steplist--medium`;
|
|
83
|
-
$b2477f17b7c66618$export$43119eed81e90e13 = `GXLCFq_spectrum-Steplist--small`;
|
|
84
|
-
$b2477f17b7c66618$export$146e7d67031e074f = `GXLCFq_spectrum-Steplist--vertical`;
|
|
85
|
-
$b2477f17b7c66618$export$56195e68ddf7db1b = `GXLCFq_spectrum-Steplist--xlarge`;
|
|
86
|
-
$b2477f17b7c66618$export$e0b9c44558d2fb75 = `GXLCFq_spectrum-Steplist-chevron`;
|
|
87
|
-
$b2477f17b7c66618$export$df6f1d30f09c136e = `GXLCFq_spectrum-Steplist-item`;
|
|
88
|
-
$b2477f17b7c66618$export$2393468f68ff8031 = `GXLCFq_spectrum-Steplist-label`;
|
|
89
|
-
$b2477f17b7c66618$export$f622f4b07b665af3 = `GXLCFq_spectrum-Steplist-link`;
|
|
90
|
-
$b2477f17b7c66618$export$9d44d123fa093f85 = `GXLCFq_spectrum-Steplist-marker`;
|
|
91
|
-
$b2477f17b7c66618$export$a7d0643524891b06 = `GXLCFq_spectrum-Steplist-markerWrapper`;
|
|
92
|
-
$b2477f17b7c66618$export$1f36a6b1ab318f2f = `GXLCFq_spectrum-Steplist-segment`;
|
|
93
|
-
$b2477f17b7c66618$export$f92a1d2b4a328a95 = `GXLCFq_spectrum-Steplist-segmentLine`;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export {$b2477f17b7c66618$exports as default};
|
|
97
|
-
//# sourceMappingURL=steplist_vars_css.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA5BA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA0B,CAAC,YAAY,CAAC;AACxC,2CAAyB,CAAC,WAAW,CAAC;AACtC,2CAA2B,CAAC,aAAa,CAAC;AAC1C,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,2CAA2C;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAsC,CAAC,wBAAwB,CAAC;AAChE,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkD,CAAC,oCAAoC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/steplist/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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"steplist_vars_css.module.js.map"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AriaStepListProps } from "@react-aria/steplist";
|
|
2
|
-
import { DOMRef, Orientation, StyleProps } from "@react-types/shared";
|
|
3
|
-
import { ReactElement } from "react";
|
|
4
|
-
export interface SpectrumStepListProps<T> extends AriaStepListProps<T>, StyleProps {
|
|
5
|
-
/**
|
|
6
|
-
* Whether the step list should be displayed with a emphasized style.
|
|
7
|
-
* @default false
|
|
8
|
-
*/
|
|
9
|
-
isEmphasized?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The orientation of the step list.
|
|
12
|
-
* @default 'horizontal'
|
|
13
|
-
*/
|
|
14
|
-
orientation?: Orientation;
|
|
15
|
-
/**
|
|
16
|
-
* The size of the step list.
|
|
17
|
-
* @default 'M'
|
|
18
|
-
*/
|
|
19
|
-
size?: 'S' | 'M' | 'L' | 'XL';
|
|
20
|
-
}
|
|
21
|
-
export const StepList: <T>(props: SpectrumStepListProps<T> & {
|
|
22
|
-
ref?: DOMRef<HTMLOListElement>;
|
|
23
|
-
}) => ReactElement;
|
|
24
|
-
export { Item } from '@react-stately/collections';
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;AGsBA,uCAAuC,CAAC,CAAE,SAAQ,kBAAkB,CAAC,CAAC,EAAE,UAAU;IAChF;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAA;CAC9B;AAED,OAAO,MAAM,UAoCP,CAAC,CAAC,EAAE,KAAK,EAAE,sBAAsB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,OAAO,gBAAgB,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;AC7D9F,OAAO,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC","sources":["packages/@react-spectrum/steplist/src/packages/@react-spectrum/steplist/src/StepListContext.ts","packages/@react-spectrum/steplist/src/packages/@react-spectrum/steplist/intl/index.js","packages/@react-spectrum/steplist/src/packages/@react-spectrum/steplist/src/StepListItem.tsx","packages/@react-spectrum/steplist/src/packages/@react-spectrum/steplist/src/StepList.tsx","packages/@react-spectrum/steplist/src/packages/@react-spectrum/steplist/src/index.ts","packages/@react-spectrum/steplist/src/index.ts"],"sourcesContent":[null,null,null,null,null,"/*\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\n/// <reference types=\"css-module-types\" />\n\nexport {StepList} from './StepList';\nexport {Item} from '@react-stately/collections';\nexport type {SpectrumStepListProps} from './StepList';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/src/StepList.tsx
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import {AriaStepListProps, useStepList} from '@react-aria/steplist';
|
|
14
|
-
import {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';
|
|
15
|
-
import {DOMRef, Orientation, StyleProps} from '@react-types/shared';
|
|
16
|
-
import React, {ReactElement} from 'react';
|
|
17
|
-
import {StepListContext} from './StepListContext';
|
|
18
|
-
import {StepListItem} from './StepListItem';
|
|
19
|
-
import styles from '@adobe/spectrum-css-temp/components/steplist/vars.css';
|
|
20
|
-
import {useProviderProps} from '@react-spectrum/provider';
|
|
21
|
-
import {useStepListState} from '@react-stately/steplist';
|
|
22
|
-
|
|
23
|
-
export interface SpectrumStepListProps<T> extends AriaStepListProps<T>, StyleProps {
|
|
24
|
-
/**
|
|
25
|
-
* Whether the step list should be displayed with a emphasized style.
|
|
26
|
-
* @default false
|
|
27
|
-
*/
|
|
28
|
-
isEmphasized?: boolean,
|
|
29
|
-
/**
|
|
30
|
-
* The orientation of the step list.
|
|
31
|
-
* @default 'horizontal'
|
|
32
|
-
*/
|
|
33
|
-
orientation?: Orientation,
|
|
34
|
-
/**
|
|
35
|
-
* The size of the step list.
|
|
36
|
-
* @default 'M'
|
|
37
|
-
*/
|
|
38
|
-
size?: 'S' | 'M' | 'L' | 'XL'
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export const StepList = React.forwardRef(function StepList<T extends object>(props: SpectrumStepListProps<T>, ref: DOMRef<HTMLOListElement>) {
|
|
42
|
-
const {size = 'M', orientation = 'horizontal'} = props;
|
|
43
|
-
props = useProviderProps(props);
|
|
44
|
-
const {isDisabled, isEmphasized} = props;
|
|
45
|
-
let {styleProps} = useStyleProps(props);
|
|
46
|
-
let domRef = useDOMRef(ref);
|
|
47
|
-
|
|
48
|
-
let state = useStepListState(props);
|
|
49
|
-
let {listProps} = useStepList(props, state, domRef);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return (
|
|
53
|
-
<ol
|
|
54
|
-
{...listProps}
|
|
55
|
-
{...styleProps}
|
|
56
|
-
ref={domRef}
|
|
57
|
-
className={classNames(styles, 'spectrum-Steplist', styleProps.className, {
|
|
58
|
-
'spectrum-Steplist--small': size === 'S',
|
|
59
|
-
'spectrum-Steplist--medium': size === 'M',
|
|
60
|
-
'spectrum-Steplist--large': size === 'L',
|
|
61
|
-
'spectrum-Steplist--xlarge': size === 'XL',
|
|
62
|
-
'spectrum-Steplist--emphasized': isEmphasized,
|
|
63
|
-
'spectrum-Steplist--horizontal': orientation === 'horizontal',
|
|
64
|
-
'spectrum-Steplist--vertical': orientation === 'vertical'
|
|
65
|
-
})}>
|
|
66
|
-
<StepListContext.Provider value={state}>
|
|
67
|
-
{[...state.collection].map((item) => (
|
|
68
|
-
<StepListItem
|
|
69
|
-
key={item.key}
|
|
70
|
-
isDisabled={isDisabled}
|
|
71
|
-
item={item} />
|
|
72
|
-
)
|
|
73
|
-
)}
|
|
74
|
-
</StepListContext.Provider>
|
|
75
|
-
</ol>
|
|
76
|
-
);
|
|
77
|
-
}) as <T>(props: SpectrumStepListProps<T> & {ref?: DOMRef<HTMLOListElement>}) => ReactElement;
|
package/src/StepListContext.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 202 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import {StepListState} from '@react-stately/steplist';
|
|
15
|
-
|
|
16
|
-
export const StepListContext = React.createContext<StepListState<unknown> | null>(null);
|
package/src/StepListItem.tsx
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import ChevronRightMedium from '@spectrum-icons/ui/ChevronRightMedium';
|
|
13
|
-
import {classNames} from '@react-spectrum/utils';
|
|
14
|
-
import {FocusRing} from '@react-aria/focus';
|
|
15
|
-
import intlMessages from '../intl';
|
|
16
|
-
import {mergeProps, useId} from '@react-aria/utils';
|
|
17
|
-
import {Node} from '@react-types/shared';
|
|
18
|
-
import React, {ReactNode, useContext, useRef} from 'react';
|
|
19
|
-
import {StepListContext} from './StepListContext';
|
|
20
|
-
import styles from '@adobe/spectrum-css-temp/components/steplist/vars.css';
|
|
21
|
-
import {useHover} from '@react-aria/interactions';
|
|
22
|
-
import {useLocale, useLocalizedStringFormatter, useNumberFormatter} from '@react-aria/i18n';
|
|
23
|
-
import {useStepListItem} from '@react-aria/steplist';
|
|
24
|
-
import {VisuallyHidden} from '@react-aria/visually-hidden';
|
|
25
|
-
|
|
26
|
-
interface SpectrumStepListItemProps<T> {
|
|
27
|
-
item: Node<T>,
|
|
28
|
-
isDisabled?: boolean,
|
|
29
|
-
isEmphasized?: boolean,
|
|
30
|
-
isReadOnly?: boolean
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export function StepListItem<T>(props: SpectrumStepListItemProps<T>): ReactNode {
|
|
34
|
-
let {
|
|
35
|
-
isDisabled,
|
|
36
|
-
item
|
|
37
|
-
} = props;
|
|
38
|
-
let {key} = item;
|
|
39
|
-
|
|
40
|
-
let ref = useRef(null);
|
|
41
|
-
let {direction} = useLocale();
|
|
42
|
-
let state = useContext(StepListContext)!;
|
|
43
|
-
const isSelected = state.selectedKey === key;
|
|
44
|
-
const isCompleted = state.isCompleted(key);
|
|
45
|
-
const isItemDisabled = isDisabled || state.disabledKeys.has(key);
|
|
46
|
-
let {stepProps, stepStateProps} = useStepListItem({...props, key}, state, ref);
|
|
47
|
-
|
|
48
|
-
let {hoverProps, isHovered} = useHover({...props, isDisabled: isItemDisabled || isSelected || props.isReadOnly});
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
let stepStateText = '';
|
|
52
|
-
const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/steplist');
|
|
53
|
-
const numberFormatter = useNumberFormatter();
|
|
54
|
-
|
|
55
|
-
if (isSelected) {
|
|
56
|
-
stepStateText = stringFormatter.format('current');
|
|
57
|
-
} else if (isCompleted) {
|
|
58
|
-
stepStateText = stringFormatter.format('completed');
|
|
59
|
-
} else {
|
|
60
|
-
stepStateText = stringFormatter.format('notCompleted');
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
let markerId = useId();
|
|
64
|
-
let labelId = useId();
|
|
65
|
-
|
|
66
|
-
return (
|
|
67
|
-
<li
|
|
68
|
-
className={
|
|
69
|
-
classNames(
|
|
70
|
-
styles,
|
|
71
|
-
'spectrum-Steplist-item'
|
|
72
|
-
)
|
|
73
|
-
}>
|
|
74
|
-
<FocusRing within focusRingClass={classNames(styles, 'focus-ring')}>
|
|
75
|
-
<a
|
|
76
|
-
{...mergeProps(hoverProps, stepProps)}
|
|
77
|
-
aria-labelledby={`${markerId} ${labelId}`}
|
|
78
|
-
ref={ref}
|
|
79
|
-
className={classNames(
|
|
80
|
-
styles,
|
|
81
|
-
'spectrum-Steplist-link',
|
|
82
|
-
{
|
|
83
|
-
'is-selected': isSelected && !isItemDisabled,
|
|
84
|
-
'is-disabled': isItemDisabled,
|
|
85
|
-
'is-hovered': isHovered,
|
|
86
|
-
'is-completed': isCompleted,
|
|
87
|
-
'is-selectable': state.isSelectable(key) && !isSelected
|
|
88
|
-
}
|
|
89
|
-
)}>
|
|
90
|
-
<VisuallyHidden {...stepStateProps}>{stepStateText}</VisuallyHidden>
|
|
91
|
-
<div id={labelId} aria-hidden="true" className={classNames(styles, 'spectrum-Steplist-label')}>
|
|
92
|
-
{item.rendered}
|
|
93
|
-
</div>
|
|
94
|
-
<div
|
|
95
|
-
className={classNames(
|
|
96
|
-
styles,
|
|
97
|
-
'spectrum-Steplist-segment', {
|
|
98
|
-
'is-completed': isCompleted
|
|
99
|
-
})} >
|
|
100
|
-
<svg className={classNames(styles, 'spectrum-Steplist-segmentLine')} xmlns="http://www.w3.org/2000/svg" height="100%" viewBox="0 0 2 8" preserveAspectRatio="none">
|
|
101
|
-
<line x1="1" y1="0" x2="1" y2="8" vectorEffect="non-scaling-stroke" />
|
|
102
|
-
</svg>
|
|
103
|
-
<ChevronRightMedium
|
|
104
|
-
UNSAFE_className={classNames(styles, 'spectrum-Steplist-chevron', {
|
|
105
|
-
'is-reversed': direction === 'rtl'
|
|
106
|
-
})} />
|
|
107
|
-
</div>
|
|
108
|
-
<div aria-hidden="true" className={classNames(styles, 'spectrum-Steplist-markerWrapper')}>
|
|
109
|
-
<div id={markerId} className={classNames(styles, 'spectrum-Steplist-marker')}>{numberFormatter.format((item.index || 0) + 1)}</div>
|
|
110
|
-
</div>
|
|
111
|
-
</a>
|
|
112
|
-
</FocusRing>
|
|
113
|
-
</li>
|
|
114
|
-
);
|
|
115
|
-
}
|