@react-spectrum/accordion 3.0.0-nightly.5042 → 3.0.1
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/Accordion.main.js +62 -55
- package/dist/Accordion.main.js.map +1 -1
- package/dist/Accordion.mjs +61 -57
- package/dist/Accordion.module.js +61 -57
- package/dist/Accordion.module.js.map +1 -1
- package/dist/accordion_vars_css.main.js +21 -12
- package/dist/accordion_vars_css.main.js.map +1 -1
- package/dist/accordion_vars_css.mjs +21 -12
- package/dist/accordion_vars_css.module.js +21 -12
- package/dist/accordion_vars_css.module.js.map +1 -1
- package/dist/import.mjs +2 -4
- package/dist/main.js +3 -3
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -4
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +35 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/vars.7a67bcf5.css +132 -0
- package/dist/vars.7a67bcf5.css.map +1 -0
- package/package.json +11 -17
- package/src/Accordion.tsx +97 -60
- package/src/index.ts +2 -3
- package/dist/vars.1361683a.css +0 -144
- package/dist/vars.1361683a.css.map +0 -1
|
@@ -4,35 +4,44 @@ function $parcel$export(e, n, v, s) {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
$parcel$export(module.exports, "focus-ring", () => $5ab573b23bc1d039$export$f39a09f249340e2a, (v) => $5ab573b23bc1d039$export$f39a09f249340e2a = v);
|
|
7
|
+
$parcel$export(module.exports, "in-accordion", () => $5ab573b23bc1d039$export$3751b3d197266426, (v) => $5ab573b23bc1d039$export$3751b3d197266426 = v);
|
|
7
8
|
$parcel$export(module.exports, "is-disabled", () => $5ab573b23bc1d039$export$d35bc1e505d1ebbf, (v) => $5ab573b23bc1d039$export$d35bc1e505d1ebbf = v);
|
|
9
|
+
$parcel$export(module.exports, "is-expanded", () => $5ab573b23bc1d039$export$911ebb89bba4b634, (v) => $5ab573b23bc1d039$export$911ebb89bba4b634 = v);
|
|
8
10
|
$parcel$export(module.exports, "is-hovered", () => $5ab573b23bc1d039$export$b8813cd5d7824ce7, (v) => $5ab573b23bc1d039$export$b8813cd5d7824ce7 = v);
|
|
9
|
-
$parcel$export(module.exports, "is-
|
|
11
|
+
$parcel$export(module.exports, "is-pressed", () => $5ab573b23bc1d039$export$15b73a232798b8d3, (v) => $5ab573b23bc1d039$export$15b73a232798b8d3 = v);
|
|
10
12
|
$parcel$export(module.exports, "spectrum-Accordion", () => $5ab573b23bc1d039$export$bed6cbae852b32f0, (v) => $5ab573b23bc1d039$export$bed6cbae852b32f0 = v);
|
|
11
13
|
$parcel$export(module.exports, "spectrum-Accordion-item", () => $5ab573b23bc1d039$export$a1947cb8adf67515, (v) => $5ab573b23bc1d039$export$a1947cb8adf67515 = v);
|
|
14
|
+
$parcel$export(module.exports, "spectrum-Accordion-item--quiet", () => $5ab573b23bc1d039$export$834b47eea3b7caa7, (v) => $5ab573b23bc1d039$export$834b47eea3b7caa7 = v);
|
|
12
15
|
$parcel$export(module.exports, "spectrum-Accordion-itemContent", () => $5ab573b23bc1d039$export$951cb9dc63743241, (v) => $5ab573b23bc1d039$export$951cb9dc63743241 = v);
|
|
13
16
|
$parcel$export(module.exports, "spectrum-Accordion-itemHeader", () => $5ab573b23bc1d039$export$4da8efb546c03356, (v) => $5ab573b23bc1d039$export$4da8efb546c03356 = v);
|
|
14
17
|
$parcel$export(module.exports, "spectrum-Accordion-itemHeading", () => $5ab573b23bc1d039$export$36876b8193439034, (v) => $5ab573b23bc1d039$export$36876b8193439034 = v);
|
|
15
18
|
$parcel$export(module.exports, "spectrum-Accordion-itemIndicator", () => $5ab573b23bc1d039$export$35196e2132b47abd, (v) => $5ab573b23bc1d039$export$35196e2132b47abd = v);
|
|
16
19
|
var $5ab573b23bc1d039$export$f39a09f249340e2a;
|
|
20
|
+
var $5ab573b23bc1d039$export$3751b3d197266426;
|
|
17
21
|
var $5ab573b23bc1d039$export$d35bc1e505d1ebbf;
|
|
22
|
+
var $5ab573b23bc1d039$export$911ebb89bba4b634;
|
|
18
23
|
var $5ab573b23bc1d039$export$b8813cd5d7824ce7;
|
|
19
|
-
var $5ab573b23bc1d039$export$
|
|
24
|
+
var $5ab573b23bc1d039$export$15b73a232798b8d3;
|
|
20
25
|
var $5ab573b23bc1d039$export$bed6cbae852b32f0;
|
|
21
26
|
var $5ab573b23bc1d039$export$a1947cb8adf67515;
|
|
27
|
+
var $5ab573b23bc1d039$export$834b47eea3b7caa7;
|
|
22
28
|
var $5ab573b23bc1d039$export$951cb9dc63743241;
|
|
23
29
|
var $5ab573b23bc1d039$export$4da8efb546c03356;
|
|
24
30
|
var $5ab573b23bc1d039$export$36876b8193439034;
|
|
25
31
|
var $5ab573b23bc1d039$export$35196e2132b47abd;
|
|
26
|
-
$5ab573b23bc1d039$export$f39a09f249340e2a = `
|
|
27
|
-
$5ab573b23bc1d039$export$
|
|
28
|
-
$5ab573b23bc1d039$export$
|
|
29
|
-
$5ab573b23bc1d039$export$
|
|
30
|
-
$5ab573b23bc1d039$export$
|
|
31
|
-
$5ab573b23bc1d039$export$
|
|
32
|
-
$5ab573b23bc1d039$export$
|
|
33
|
-
$5ab573b23bc1d039$export$
|
|
34
|
-
$5ab573b23bc1d039$export$
|
|
35
|
-
$5ab573b23bc1d039$export$
|
|
32
|
+
$5ab573b23bc1d039$export$f39a09f249340e2a = `l4OyFa_focus-ring`;
|
|
33
|
+
$5ab573b23bc1d039$export$3751b3d197266426 = `l4OyFa_in-accordion`;
|
|
34
|
+
$5ab573b23bc1d039$export$d35bc1e505d1ebbf = `l4OyFa_is-disabled`;
|
|
35
|
+
$5ab573b23bc1d039$export$911ebb89bba4b634 = `l4OyFa_is-expanded`;
|
|
36
|
+
$5ab573b23bc1d039$export$b8813cd5d7824ce7 = `l4OyFa_is-hovered`;
|
|
37
|
+
$5ab573b23bc1d039$export$15b73a232798b8d3 = `l4OyFa_is-pressed`;
|
|
38
|
+
$5ab573b23bc1d039$export$bed6cbae852b32f0 = `l4OyFa_spectrum-Accordion`;
|
|
39
|
+
$5ab573b23bc1d039$export$a1947cb8adf67515 = `l4OyFa_spectrum-Accordion-item`;
|
|
40
|
+
$5ab573b23bc1d039$export$834b47eea3b7caa7 = `l4OyFa_spectrum-Accordion-item--quiet`;
|
|
41
|
+
$5ab573b23bc1d039$export$951cb9dc63743241 = `l4OyFa_spectrum-Accordion-itemContent`;
|
|
42
|
+
$5ab573b23bc1d039$export$4da8efb546c03356 = `l4OyFa_spectrum-Accordion-itemHeader`;
|
|
43
|
+
$5ab573b23bc1d039$export$36876b8193439034 = `l4OyFa_spectrum-Accordion-itemHeading`;
|
|
44
|
+
$5ab573b23bc1d039$export$35196e2132b47abd = `l4OyFa_spectrum-Accordion-itemIndicator`;
|
|
36
45
|
|
|
37
46
|
|
|
38
47
|
//# sourceMappingURL=accordion_vars_css.main.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
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;AAZA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAuC,CAAC,yBAAyB,CAAC;AAClE,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAqD,CAAC,uCAAuC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/accordion/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":"accordion_vars_css.main.js.map"}
|
|
@@ -5,35 +5,44 @@ function $parcel$export(e, n, v, s) {
|
|
|
5
5
|
var $cd9bb50514faf076$exports = {};
|
|
6
6
|
|
|
7
7
|
$parcel$export($cd9bb50514faf076$exports, "focus-ring", () => $cd9bb50514faf076$export$f39a09f249340e2a, (v) => $cd9bb50514faf076$export$f39a09f249340e2a = v);
|
|
8
|
+
$parcel$export($cd9bb50514faf076$exports, "in-accordion", () => $cd9bb50514faf076$export$3751b3d197266426, (v) => $cd9bb50514faf076$export$3751b3d197266426 = v);
|
|
8
9
|
$parcel$export($cd9bb50514faf076$exports, "is-disabled", () => $cd9bb50514faf076$export$d35bc1e505d1ebbf, (v) => $cd9bb50514faf076$export$d35bc1e505d1ebbf = v);
|
|
10
|
+
$parcel$export($cd9bb50514faf076$exports, "is-expanded", () => $cd9bb50514faf076$export$911ebb89bba4b634, (v) => $cd9bb50514faf076$export$911ebb89bba4b634 = v);
|
|
9
11
|
$parcel$export($cd9bb50514faf076$exports, "is-hovered", () => $cd9bb50514faf076$export$b8813cd5d7824ce7, (v) => $cd9bb50514faf076$export$b8813cd5d7824ce7 = v);
|
|
10
|
-
$parcel$export($cd9bb50514faf076$exports, "is-
|
|
12
|
+
$parcel$export($cd9bb50514faf076$exports, "is-pressed", () => $cd9bb50514faf076$export$15b73a232798b8d3, (v) => $cd9bb50514faf076$export$15b73a232798b8d3 = v);
|
|
11
13
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion", () => $cd9bb50514faf076$export$bed6cbae852b32f0, (v) => $cd9bb50514faf076$export$bed6cbae852b32f0 = v);
|
|
12
14
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-item", () => $cd9bb50514faf076$export$a1947cb8adf67515, (v) => $cd9bb50514faf076$export$a1947cb8adf67515 = v);
|
|
15
|
+
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-item--quiet", () => $cd9bb50514faf076$export$834b47eea3b7caa7, (v) => $cd9bb50514faf076$export$834b47eea3b7caa7 = v);
|
|
13
16
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemContent", () => $cd9bb50514faf076$export$951cb9dc63743241, (v) => $cd9bb50514faf076$export$951cb9dc63743241 = v);
|
|
14
17
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemHeader", () => $cd9bb50514faf076$export$4da8efb546c03356, (v) => $cd9bb50514faf076$export$4da8efb546c03356 = v);
|
|
15
18
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemHeading", () => $cd9bb50514faf076$export$36876b8193439034, (v) => $cd9bb50514faf076$export$36876b8193439034 = v);
|
|
16
19
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemIndicator", () => $cd9bb50514faf076$export$35196e2132b47abd, (v) => $cd9bb50514faf076$export$35196e2132b47abd = v);
|
|
17
20
|
var $cd9bb50514faf076$export$f39a09f249340e2a;
|
|
21
|
+
var $cd9bb50514faf076$export$3751b3d197266426;
|
|
18
22
|
var $cd9bb50514faf076$export$d35bc1e505d1ebbf;
|
|
23
|
+
var $cd9bb50514faf076$export$911ebb89bba4b634;
|
|
19
24
|
var $cd9bb50514faf076$export$b8813cd5d7824ce7;
|
|
20
|
-
var $cd9bb50514faf076$export$
|
|
25
|
+
var $cd9bb50514faf076$export$15b73a232798b8d3;
|
|
21
26
|
var $cd9bb50514faf076$export$bed6cbae852b32f0;
|
|
22
27
|
var $cd9bb50514faf076$export$a1947cb8adf67515;
|
|
28
|
+
var $cd9bb50514faf076$export$834b47eea3b7caa7;
|
|
23
29
|
var $cd9bb50514faf076$export$951cb9dc63743241;
|
|
24
30
|
var $cd9bb50514faf076$export$4da8efb546c03356;
|
|
25
31
|
var $cd9bb50514faf076$export$36876b8193439034;
|
|
26
32
|
var $cd9bb50514faf076$export$35196e2132b47abd;
|
|
27
|
-
$cd9bb50514faf076$export$f39a09f249340e2a = `
|
|
28
|
-
$cd9bb50514faf076$export$
|
|
29
|
-
$cd9bb50514faf076$export$
|
|
30
|
-
$cd9bb50514faf076$export$
|
|
31
|
-
$cd9bb50514faf076$export$
|
|
32
|
-
$cd9bb50514faf076$export$
|
|
33
|
-
$cd9bb50514faf076$export$
|
|
34
|
-
$cd9bb50514faf076$export$
|
|
35
|
-
$cd9bb50514faf076$export$
|
|
36
|
-
$cd9bb50514faf076$export$
|
|
33
|
+
$cd9bb50514faf076$export$f39a09f249340e2a = `l4OyFa_focus-ring`;
|
|
34
|
+
$cd9bb50514faf076$export$3751b3d197266426 = `l4OyFa_in-accordion`;
|
|
35
|
+
$cd9bb50514faf076$export$d35bc1e505d1ebbf = `l4OyFa_is-disabled`;
|
|
36
|
+
$cd9bb50514faf076$export$911ebb89bba4b634 = `l4OyFa_is-expanded`;
|
|
37
|
+
$cd9bb50514faf076$export$b8813cd5d7824ce7 = `l4OyFa_is-hovered`;
|
|
38
|
+
$cd9bb50514faf076$export$15b73a232798b8d3 = `l4OyFa_is-pressed`;
|
|
39
|
+
$cd9bb50514faf076$export$bed6cbae852b32f0 = `l4OyFa_spectrum-Accordion`;
|
|
40
|
+
$cd9bb50514faf076$export$a1947cb8adf67515 = `l4OyFa_spectrum-Accordion-item`;
|
|
41
|
+
$cd9bb50514faf076$export$834b47eea3b7caa7 = `l4OyFa_spectrum-Accordion-item--quiet`;
|
|
42
|
+
$cd9bb50514faf076$export$951cb9dc63743241 = `l4OyFa_spectrum-Accordion-itemContent`;
|
|
43
|
+
$cd9bb50514faf076$export$4da8efb546c03356 = `l4OyFa_spectrum-Accordion-itemHeader`;
|
|
44
|
+
$cd9bb50514faf076$export$36876b8193439034 = `l4OyFa_spectrum-Accordion-itemHeading`;
|
|
45
|
+
$cd9bb50514faf076$export$35196e2132b47abd = `l4OyFa_spectrum-Accordion-itemIndicator`;
|
|
37
46
|
|
|
38
47
|
|
|
39
48
|
export {$cd9bb50514faf076$exports as default};
|
|
@@ -5,35 +5,44 @@ function $parcel$export(e, n, v, s) {
|
|
|
5
5
|
var $cd9bb50514faf076$exports = {};
|
|
6
6
|
|
|
7
7
|
$parcel$export($cd9bb50514faf076$exports, "focus-ring", () => $cd9bb50514faf076$export$f39a09f249340e2a, (v) => $cd9bb50514faf076$export$f39a09f249340e2a = v);
|
|
8
|
+
$parcel$export($cd9bb50514faf076$exports, "in-accordion", () => $cd9bb50514faf076$export$3751b3d197266426, (v) => $cd9bb50514faf076$export$3751b3d197266426 = v);
|
|
8
9
|
$parcel$export($cd9bb50514faf076$exports, "is-disabled", () => $cd9bb50514faf076$export$d35bc1e505d1ebbf, (v) => $cd9bb50514faf076$export$d35bc1e505d1ebbf = v);
|
|
10
|
+
$parcel$export($cd9bb50514faf076$exports, "is-expanded", () => $cd9bb50514faf076$export$911ebb89bba4b634, (v) => $cd9bb50514faf076$export$911ebb89bba4b634 = v);
|
|
9
11
|
$parcel$export($cd9bb50514faf076$exports, "is-hovered", () => $cd9bb50514faf076$export$b8813cd5d7824ce7, (v) => $cd9bb50514faf076$export$b8813cd5d7824ce7 = v);
|
|
10
|
-
$parcel$export($cd9bb50514faf076$exports, "is-
|
|
12
|
+
$parcel$export($cd9bb50514faf076$exports, "is-pressed", () => $cd9bb50514faf076$export$15b73a232798b8d3, (v) => $cd9bb50514faf076$export$15b73a232798b8d3 = v);
|
|
11
13
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion", () => $cd9bb50514faf076$export$bed6cbae852b32f0, (v) => $cd9bb50514faf076$export$bed6cbae852b32f0 = v);
|
|
12
14
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-item", () => $cd9bb50514faf076$export$a1947cb8adf67515, (v) => $cd9bb50514faf076$export$a1947cb8adf67515 = v);
|
|
15
|
+
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-item--quiet", () => $cd9bb50514faf076$export$834b47eea3b7caa7, (v) => $cd9bb50514faf076$export$834b47eea3b7caa7 = v);
|
|
13
16
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemContent", () => $cd9bb50514faf076$export$951cb9dc63743241, (v) => $cd9bb50514faf076$export$951cb9dc63743241 = v);
|
|
14
17
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemHeader", () => $cd9bb50514faf076$export$4da8efb546c03356, (v) => $cd9bb50514faf076$export$4da8efb546c03356 = v);
|
|
15
18
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemHeading", () => $cd9bb50514faf076$export$36876b8193439034, (v) => $cd9bb50514faf076$export$36876b8193439034 = v);
|
|
16
19
|
$parcel$export($cd9bb50514faf076$exports, "spectrum-Accordion-itemIndicator", () => $cd9bb50514faf076$export$35196e2132b47abd, (v) => $cd9bb50514faf076$export$35196e2132b47abd = v);
|
|
17
20
|
var $cd9bb50514faf076$export$f39a09f249340e2a;
|
|
21
|
+
var $cd9bb50514faf076$export$3751b3d197266426;
|
|
18
22
|
var $cd9bb50514faf076$export$d35bc1e505d1ebbf;
|
|
23
|
+
var $cd9bb50514faf076$export$911ebb89bba4b634;
|
|
19
24
|
var $cd9bb50514faf076$export$b8813cd5d7824ce7;
|
|
20
|
-
var $cd9bb50514faf076$export$
|
|
25
|
+
var $cd9bb50514faf076$export$15b73a232798b8d3;
|
|
21
26
|
var $cd9bb50514faf076$export$bed6cbae852b32f0;
|
|
22
27
|
var $cd9bb50514faf076$export$a1947cb8adf67515;
|
|
28
|
+
var $cd9bb50514faf076$export$834b47eea3b7caa7;
|
|
23
29
|
var $cd9bb50514faf076$export$951cb9dc63743241;
|
|
24
30
|
var $cd9bb50514faf076$export$4da8efb546c03356;
|
|
25
31
|
var $cd9bb50514faf076$export$36876b8193439034;
|
|
26
32
|
var $cd9bb50514faf076$export$35196e2132b47abd;
|
|
27
|
-
$cd9bb50514faf076$export$f39a09f249340e2a = `
|
|
28
|
-
$cd9bb50514faf076$export$
|
|
29
|
-
$cd9bb50514faf076$export$
|
|
30
|
-
$cd9bb50514faf076$export$
|
|
31
|
-
$cd9bb50514faf076$export$
|
|
32
|
-
$cd9bb50514faf076$export$
|
|
33
|
-
$cd9bb50514faf076$export$
|
|
34
|
-
$cd9bb50514faf076$export$
|
|
35
|
-
$cd9bb50514faf076$export$
|
|
36
|
-
$cd9bb50514faf076$export$
|
|
33
|
+
$cd9bb50514faf076$export$f39a09f249340e2a = `l4OyFa_focus-ring`;
|
|
34
|
+
$cd9bb50514faf076$export$3751b3d197266426 = `l4OyFa_in-accordion`;
|
|
35
|
+
$cd9bb50514faf076$export$d35bc1e505d1ebbf = `l4OyFa_is-disabled`;
|
|
36
|
+
$cd9bb50514faf076$export$911ebb89bba4b634 = `l4OyFa_is-expanded`;
|
|
37
|
+
$cd9bb50514faf076$export$b8813cd5d7824ce7 = `l4OyFa_is-hovered`;
|
|
38
|
+
$cd9bb50514faf076$export$15b73a232798b8d3 = `l4OyFa_is-pressed`;
|
|
39
|
+
$cd9bb50514faf076$export$bed6cbae852b32f0 = `l4OyFa_spectrum-Accordion`;
|
|
40
|
+
$cd9bb50514faf076$export$a1947cb8adf67515 = `l4OyFa_spectrum-Accordion-item`;
|
|
41
|
+
$cd9bb50514faf076$export$834b47eea3b7caa7 = `l4OyFa_spectrum-Accordion-item--quiet`;
|
|
42
|
+
$cd9bb50514faf076$export$951cb9dc63743241 = `l4OyFa_spectrum-Accordion-itemContent`;
|
|
43
|
+
$cd9bb50514faf076$export$4da8efb546c03356 = `l4OyFa_spectrum-Accordion-itemHeader`;
|
|
44
|
+
$cd9bb50514faf076$export$36876b8193439034 = `l4OyFa_spectrum-Accordion-itemHeading`;
|
|
45
|
+
$cd9bb50514faf076$export$35196e2132b47abd = `l4OyFa_spectrum-Accordion-itemIndicator`;
|
|
37
46
|
|
|
38
47
|
|
|
39
48
|
export {$cd9bb50514faf076$exports as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
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;AAZA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAuC,CAAC,yBAAyB,CAAC;AAClE,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAqD,CAAC,uCAAuC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/accordion/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":"accordion_vars_css.module.js.map"}
|
package/dist/import.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {Accordion as $2a5a5b7faca81754$export$a766cd26d0d69044} from "./Accordion.mjs";
|
|
2
|
-
import {Item as $8ae4d4d1aa0c5e03$re_export$Item} from "@react-stately/collections";
|
|
1
|
+
import {Accordion as $2a5a5b7faca81754$export$a766cd26d0d69044, Disclosure as $2a5a5b7faca81754$export$74a362b31437ec83, DisclosurePanel as $2a5a5b7faca81754$export$feabaa331e1d464c, DisclosureTitle as $2a5a5b7faca81754$export$7843c6a5b3e340a2} from "./Accordion.mjs";
|
|
3
2
|
|
|
4
3
|
/*
|
|
5
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -15,6 +14,5 @@ import {Item as $8ae4d4d1aa0c5e03$re_export$Item} from "@react-stately/collectio
|
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
export {$2a5a5b7faca81754$export$a766cd26d0d69044 as Accordion, $8ae4d4d1aa0c5e03$re_export$Item as Item};
|
|
17
|
+
export {$2a5a5b7faca81754$export$74a362b31437ec83 as Disclosure, $2a5a5b7faca81754$export$a766cd26d0d69044 as Accordion, $2a5a5b7faca81754$export$7843c6a5b3e340a2 as DisclosureTitle, $2a5a5b7faca81754$export$feabaa331e1d464c as DisclosurePanel};
|
|
20
18
|
//# sourceMappingURL=module.js.map
|
package/dist/main.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
var $d8f45715b3ce327a$exports = require("./Accordion.main.js");
|
|
2
|
-
var $6boyC$reactstatelycollections = require("@react-stately/collections");
|
|
3
2
|
|
|
4
3
|
|
|
5
4
|
function $parcel$export(e, n, v, s) {
|
|
6
5
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
7
6
|
}
|
|
8
7
|
|
|
8
|
+
$parcel$export(module.exports, "Disclosure", () => $d8f45715b3ce327a$exports.Disclosure);
|
|
9
9
|
$parcel$export(module.exports, "Accordion", () => $d8f45715b3ce327a$exports.Accordion);
|
|
10
|
-
$parcel$export(module.exports, "
|
|
10
|
+
$parcel$export(module.exports, "DisclosureTitle", () => $d8f45715b3ce327a$exports.DisclosureTitle);
|
|
11
|
+
$parcel$export(module.exports, "DisclosurePanel", () => $d8f45715b3ce327a$exports.DisclosurePanel);
|
|
11
12
|
/*
|
|
12
13
|
* Copyright 2020 Adobe. All rights reserved.
|
|
13
14
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -22,5 +23,4 @@ $parcel$export(module.exports, "Item", () => $6boyC$reactstatelycollections.Item
|
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
|
|
26
26
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GACD,0CAA0C","sources":["packages/@react-spectrum/accordion/src/index.ts"],"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/// <reference types=\"css-module-types\" />\nexport {Disclosure, Accordion, DisclosureTitle, DisclosurePanel} from './Accordion';\nexport type {SpectrumAccordionProps, SpectrumDisclosureProps, SpectrumDisclosurePanelProps, SpectrumDisclosureTitleProps} from './Accordion';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {Accordion as $2a5a5b7faca81754$export$a766cd26d0d69044} from "./Accordion.module.js";
|
|
2
|
-
import {Item as $8ae4d4d1aa0c5e03$re_export$Item} from "@react-stately/collections";
|
|
1
|
+
import {Accordion as $2a5a5b7faca81754$export$a766cd26d0d69044, Disclosure as $2a5a5b7faca81754$export$74a362b31437ec83, DisclosurePanel as $2a5a5b7faca81754$export$feabaa331e1d464c, DisclosureTitle as $2a5a5b7faca81754$export$7843c6a5b3e340a2} from "./Accordion.module.js";
|
|
3
2
|
|
|
4
3
|
/*
|
|
5
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -15,6 +14,5 @@ import {Item as $8ae4d4d1aa0c5e03$re_export$Item} from "@react-stately/collectio
|
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
export {$2a5a5b7faca81754$export$a766cd26d0d69044 as Accordion, $8ae4d4d1aa0c5e03$re_export$Item as Item};
|
|
17
|
+
export {$2a5a5b7faca81754$export$74a362b31437ec83 as Disclosure, $2a5a5b7faca81754$export$a766cd26d0d69044 as Accordion, $2a5a5b7faca81754$export$7843c6a5b3e340a2 as DisclosureTitle, $2a5a5b7faca81754$export$feabaa331e1d464c as DisclosurePanel};
|
|
20
18
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC,GACD,0CAA0C","sources":["packages/@react-spectrum/accordion/src/index.ts"],"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/// <reference types=\"css-module-types\" />\nexport {Disclosure, Accordion, DisclosureTitle, DisclosurePanel} from './Accordion';\nexport type {SpectrumAccordionProps, SpectrumDisclosureProps, SpectrumDisclosurePanelProps, SpectrumDisclosureTitleProps} from './Accordion';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AriaLabelingProps, DOMProps, StyleProps, DOMRefValue } from "@react-types/shared";
|
|
2
|
+
import { DisclosureGroupProps, DisclosurePanelProps, DisclosureProps } from "react-aria-components";
|
|
2
3
|
import React from "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
export interface SpectrumAccordionProps extends Omit<DisclosureGroupProps, 'className' | 'style' | 'children'>, StyleProps, DOMProps {
|
|
5
|
+
/** Whether the Accordion should be displayed with a quiet style. */
|
|
6
|
+
isQuiet?: boolean;
|
|
7
|
+
/** The disclosures within the accordion group. */
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/** A group of disclosures that can be expanded and collapsed. */
|
|
11
|
+
export const Accordion: (props: SpectrumAccordionProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
|
|
12
|
+
export interface SpectrumDisclosureProps extends Omit<DisclosureProps, 'className' | 'style' | 'children'>, AriaLabelingProps, StyleProps {
|
|
13
|
+
/** Whether the Disclosure should be displayed with a quiet style. */
|
|
14
|
+
isQuiet?: boolean;
|
|
15
|
+
/** The contents of the disclosure. The first child should be the header, and the second child should be the panel. */
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
/** A collapsible section of content composed of a heading that expands and collapses a panel. */
|
|
19
|
+
export const Disclosure: (props: SpectrumDisclosureProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
|
|
20
|
+
export interface SpectrumDisclosurePanelProps extends Omit<DisclosurePanelProps, 'className' | 'style' | 'children'>, DOMProps, AriaLabelingProps, StyleProps {
|
|
21
|
+
/** The contents of the accordion panel. */
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/** The panel that contains the content of the disclosure. */
|
|
25
|
+
export const DisclosurePanel: (props: SpectrumDisclosurePanelProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
|
|
26
|
+
export interface SpectrumDisclosureTitleProps extends DOMProps, AriaLabelingProps, StyleProps {
|
|
27
|
+
/**
|
|
28
|
+
* The heading level of the disclosure header.
|
|
29
|
+
* @default 3
|
|
30
|
+
*/
|
|
31
|
+
level?: number;
|
|
32
|
+
/** The contents of the disclosure header. */
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/** The heading of the disclosure. */
|
|
36
|
+
export const DisclosureTitle: (props: SpectrumDisclosureTitleProps & React.RefAttributes<DOMRefValue<HTMLHeadingElement>>) => React.ReactElement | null;
|
|
10
37
|
|
|
11
38
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;
|
|
1
|
+
{"mappings":";;;AAsBA,uCAAwC,SAAQ,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAAE,UAAU,EAAE,QAAQ;IAClI,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,QAAQ,EAAE,MAAM,SAAS,CAAA;CAC1B;AAID,iEAAiE;AACjE,OAAO,MAAM,0HAeX,CAAC;AAEH,wCAAyC,SAAQ,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAAE,iBAAiB,EAAE,UAAU;IACvI,qEAAqE;IACrE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sHAAsH;IACtH,QAAQ,EAAE,MAAM,SAAS,CAAA;CAC1B;AAED,iGAAiG;AACjG,OAAO,MAAM,4HAmBX,CAAC;AAEH,6CAA8C,SAAQ,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IAC3J,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,SAAS,CAAA;CAC1B;AAED,6DAA6D;AAC7D,OAAO,MAAM,sIAYX,CAAC;AAEH,6CAA8C,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IAC3F;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,SAAS,CAAA;CAC1B;AAED,qCAAqC;AACrC,OAAO,MAAM,0IA2BX,CAAC","sources":["packages/@react-spectrum/accordion/src/packages/@react-spectrum/accordion/src/Accordion.tsx","packages/@react-spectrum/accordion/src/packages/@react-spectrum/accordion/src/index.ts","packages/@react-spectrum/accordion/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n/// <reference types=\"css-module-types\" />\nexport {Disclosure, Accordion, DisclosureTitle, DisclosurePanel} from './Accordion';\nexport type {SpectrumAccordionProps, SpectrumDisclosureProps, SpectrumDisclosurePanelProps, SpectrumDisclosureTitleProps} from './Accordion';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
.l4OyFa_spectrum-Accordion {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
list-style: none;
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.l4OyFa_spectrum-Accordion-itemIndicator {
|
|
9
|
+
transition: transform ease var(--spectrum-global-animation-duration-100, .13s);
|
|
10
|
+
box-sizing: content-box;
|
|
11
|
+
padding-inline-start: var(--spectrum-accordion-icon-gap, var(--spectrum-global-dimension-size-100));
|
|
12
|
+
padding-inline-end: var(--spectrum-accordion-icon-gap, var(--spectrum-global-dimension-size-100));
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.l4OyFa_spectrum-Accordion-item {
|
|
17
|
+
z-index: inherit;
|
|
18
|
+
border-bottom: var(--spectrum-accordion-item-border-size, var(--spectrum-alias-border-size-thin)) solid var(--spectrum-accordion-border-color, var(--spectrum-global-color-gray-300));
|
|
19
|
+
border-top: var(--spectrum-accordion-item-border-size, var(--spectrum-alias-border-size-thin)) solid var(--spectrum-accordion-border-color, var(--spectrum-global-color-gray-300));
|
|
20
|
+
margin: 0;
|
|
21
|
+
list-style: none;
|
|
22
|
+
display: list-item;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_in-accordion:not(:first-of-type) {
|
|
27
|
+
border-top-width: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_spectrum-Accordion-item--quiet {
|
|
31
|
+
border-top-width: 0;
|
|
32
|
+
border-bottom-width: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_spectrum-Accordion-item--quiet:first-of-type {
|
|
36
|
+
border-top-width: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.l4OyFa_spectrum-Accordion-itemHeading {
|
|
40
|
+
margin: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.l4OyFa_spectrum-Accordion-itemHeader {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
padding-block: var(--spectrum-global-dimension-size-150);
|
|
46
|
+
min-height: calc(var(--spectrum-accordion-item-height, 40px) - var(--spectrum-accordion-item-border-size, var(--spectrum-alias-border-size-thin)));
|
|
47
|
+
font-size: var(--spectrum-global-dimension-font-size-300);
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
cursor: default;
|
|
50
|
+
line-height: 1.3;
|
|
51
|
+
font-weight: var(--spectrum-global-font-weight-bold, 700);
|
|
52
|
+
-webkit-appearance: none;
|
|
53
|
+
appearance: none;
|
|
54
|
+
background-color: inherit;
|
|
55
|
+
text-align: start;
|
|
56
|
+
width: 100%;
|
|
57
|
+
border-style: solid;
|
|
58
|
+
border-color: #0000;
|
|
59
|
+
outline: none;
|
|
60
|
+
justify-content: flex-start;
|
|
61
|
+
align-items: center;
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding-inline-start: var(--spectrum-accordion-icon-gap, var(--spectrum-global-dimension-size-100));
|
|
64
|
+
padding-inline-end: var(--spectrum-accordion-item-padding, 16px);
|
|
65
|
+
font-family: inherit;
|
|
66
|
+
display: flex;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_focus-ring {
|
|
71
|
+
border-radius: var(--spectrum-global-dimension-static-size-100, 8px);
|
|
72
|
+
outline: solid 2px var(--spectrum-alias-focus-color, var(--spectrum-global-color-blue-400));
|
|
73
|
+
outline-offset: -2px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_is-expanded .l4OyFa_spectrum-Accordion-itemContent {
|
|
77
|
+
padding: 8px 9px 16px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[dir="ltr"] :is(.l4OyFa_spectrum-Accordion-item.l4OyFa_is-expanded > .l4OyFa_spectrum-Accordion-itemHeading > .l4OyFa_spectrum-Accordion-itemHeader > .l4OyFa_spectrum-Accordion-itemIndicator) {
|
|
81
|
+
transform: rotate(90deg);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[dir="rtl"] :is(.l4OyFa_spectrum-Accordion-item.l4OyFa_is-expanded > .l4OyFa_spectrum-Accordion-itemHeading > .l4OyFa_spectrum-Accordion-itemHeader > .l4OyFa_spectrum-Accordion-itemIndicator) {
|
|
85
|
+
transform: rotate(-90deg);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_is-expanded > .l4OyFa_spectrum-Accordion-itemHeader:after {
|
|
89
|
+
height: calc(var(--spectrum-accordion-item-height, 40px) - var(--spectrum-accordion-item-border-size, var(--spectrum-alias-border-size-thin)));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_is-expanded > .l4OyFa_spectrum-Accordion-itemContent {
|
|
93
|
+
display: block;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_is-disabled .l4OyFa_spectrum-Accordion-itemHeader {
|
|
97
|
+
cursor: default;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.l4OyFa_spectrum-Accordion-itemHeader {
|
|
101
|
+
color: var(--spectrum-alias-text-color, var(--spectrum-global-color-gray-800));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_is-hovered, .l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_focus-ring {
|
|
105
|
+
color: var(--spectrum-alias-text-color-hover, var(--spectrum-global-color-gray-900));
|
|
106
|
+
background-color: var(--spectrum-accordion-background-color-hover, var(--spectrum-global-color-gray-200));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_is-pressed {
|
|
110
|
+
color: var(--spectrum-accordion-text-color-down, var(--spectrum-global-color-gray-900));
|
|
111
|
+
background-color: var(--spectrum-global-color-gray-300);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_is-disabled .l4OyFa_spectrum-Accordion-itemHeader, .l4OyFa_spectrum-Accordion-item.l4OyFa_is-disabled .l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_is-hovered, .l4OyFa_spectrum-Accordion-item.l4OyFa_is-disabled .l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_focus-ring {
|
|
115
|
+
color: var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500));
|
|
116
|
+
background-color: #0000;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (forced-colors: active) {
|
|
120
|
+
.l4OyFa_spectrum-Accordion-itemHeader {
|
|
121
|
+
border: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.l4OyFa_spectrum-Accordion-itemHeader.l4OyFa_focus-ring {
|
|
125
|
+
outline: 2px solid canvastext;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.l4OyFa_spectrum-Accordion-item.l4OyFa_spectrum-Accordion-item--quiet {
|
|
129
|
+
border: none;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
/*# sourceMappingURL=vars.7a67bcf5.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAwBA;;;;;;;AAOA;;;;;;;;AAUA;;;;;;;;;;AAWE;;;;AAIA;;;;;AAIE;;;;AAMJ;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCE;;;;;;AAQA;;;;AAUQ;;;;AAGA;;;;AAON;;;;AAKA;;;;AAMA;;;;AAkBJ;;;;AAGE;;;;;AAKA;;;;;AAQE;;;;;AASJ;EACE;;;;EAEE;;;;EAKF","sources":["packages/@adobe/spectrum-css-temp/components/accordion/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":"vars.7a67bcf5.css.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/accordion",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,29 +36,23 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/
|
|
40
|
-
"@react-
|
|
41
|
-
"@react-
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"
|
|
45
|
-
"@react-stately/collections": "3.0.0-nightly.3114+68403fe55",
|
|
46
|
-
"@react-stately/tree": "3.0.0-nightly.3114+68403fe55",
|
|
47
|
-
"@react-types/accordion": "3.0.0-nightly.5042+68403fe55",
|
|
48
|
-
"@react-types/shared": "3.0.0-nightly.3114+68403fe55",
|
|
49
|
-
"@spectrum-icons/ui": "3.0.0-nightly.3114+68403fe55",
|
|
50
|
-
"@swc/helpers": "^0.5.0"
|
|
39
|
+
"@react-aria/i18n": "^3.12.4",
|
|
40
|
+
"@react-spectrum/utils": "^3.12.0",
|
|
41
|
+
"@react-types/shared": "^3.26.0",
|
|
42
|
+
"@spectrum-icons/ui": "^3.6.11",
|
|
43
|
+
"@swc/helpers": "^0.5.0",
|
|
44
|
+
"react-aria-components": "^1.5.0"
|
|
51
45
|
},
|
|
52
46
|
"devDependencies": {
|
|
53
|
-
"@adobe/spectrum-css-temp": "3.0.0-
|
|
47
|
+
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"
|
|
54
48
|
},
|
|
55
49
|
"peerDependencies": {
|
|
56
50
|
"@react-spectrum/provider": "^3.0.0",
|
|
57
|
-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
|
|
58
|
-
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
|
|
51
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
|
|
52
|
+
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
59
53
|
},
|
|
60
54
|
"publishConfig": {
|
|
61
55
|
"access": "public"
|
|
62
56
|
},
|
|
63
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "b37f2790b77543a447fb0dc1833b5d0cfa8d7da5"
|
|
64
58
|
}
|