@react-spectrum/tabs 3.8.22 → 3.8.24
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/Tabs.main.js +1 -1
- package/dist/Tabs.main.js.map +1 -1
- package/dist/Tabs.mjs +1 -1
- package/dist/Tabs.module.js +1 -1
- package/dist/Tabs.module.js.map +1 -1
- package/dist/{tabs.594d530b.css → tabs.a87f78a9.css} +145 -129
- package/dist/tabs.a87f78a9.css.map +1 -0
- package/dist/tabs_vars_css.main.js +26 -26
- package/dist/tabs_vars_css.mjs +26 -26
- package/dist/tabs_vars_css.module.js +26 -26
- package/dist/types.d.ts +3 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/Tabs.tsx +2 -2
- package/dist/tabs.594d530b.css.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;AAOA;;;;AAIA;;;;AAIA;;;;;;;;;;;;AAiBA;;;;;;;;;;;;;AAmBE;;;;AAIA;;;;AAIA;;;;;;AAOE;;;;AAKF;;;;;;;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAiBF;;;;;;;AAOE;;;;AAMF;;;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AASE;;;;AAIA;;;;AAIc;;;;AAId;;;;;AAIE;;;;AAOJ;;;;;AAKE;;;;AAIE;;;;AAIA;;;;;;;AAQF;;;;;;;AAQA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAMI;;;;;;;;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAmBA;;;;AAMJ;;;;;;AAUF;;;;AAIA;;;;;;;AAME;;;;;;;AAOE;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAUF;;;;;;;;;AAUE;;;;;;AAKE;;;;AAOJ;;;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AASF;;;;;AAKA;;;;;AAIE;;;;;AAMF;;;;;AAME;;;;AAiBF;;;;AAKI;;;;AAME;;;;AAIA;;;;AAON;;;;AAKE;;;;AAKF;;;;AAIA;;;;AAGE;;;;AAIA;;;;AAGE;;;;AAKF;;;;AAGE;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAQA;;;;AAGE;;;;AAIA;;;;AAGE;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAQR;;;;AAGE;;;;AAKE;;;;AAOF;;;;AAIE;;;;AAJF;;;;AAIE;;;;AAMA;;;;AAOF;;;;AAIA;;;;AAKF;EACE;;;;;;;;;;;;;;;;;;;;;EAoBI;;;;EAGA;;;;;EASF;;;;EAEE;;;;EAGA;;;;;EAIA;;;;EAKA","sources":["packages/@adobe/spectrum-css-temp/components/tabs/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":"tabs.a87f78a9.css.map"}
|
|
@@ -55,32 +55,32 @@ var $29add1fad43dc941$export$9a6e2fb72c648072;
|
|
|
55
55
|
var $29add1fad43dc941$export$e09869956b4c96f2;
|
|
56
56
|
var $29add1fad43dc941$export$acb5da0970288266;
|
|
57
57
|
var $29add1fad43dc941$export$4a157a691c854e23;
|
|
58
|
-
$29add1fad43dc941$export$f39a09f249340e2a = `
|
|
59
|
-
$29add1fad43dc941$export$8c4ee2c50c22c514 = `
|
|
60
|
-
$29add1fad43dc941$export$d35bc1e505d1ebbf = `
|
|
61
|
-
$29add1fad43dc941$export$b8813cd5d7824ce7 = `
|
|
62
|
-
$29add1fad43dc941$export$1e0fb04f31d3c22a = `
|
|
63
|
-
$29add1fad43dc941$export$4109102f950813a6 = `
|
|
64
|
-
$29add1fad43dc941$export$24c7f46a6e3605dd = `
|
|
65
|
-
$29add1fad43dc941$export$2927016961429360 = `
|
|
66
|
-
$29add1fad43dc941$export$d374b04f30360026 = `
|
|
67
|
-
$29add1fad43dc941$export$35c105c0d9c8e56f = `
|
|
68
|
-
$29add1fad43dc941$export$e15c78184ee03abe = `
|
|
69
|
-
$29add1fad43dc941$export$87b15021e28e067a = `
|
|
70
|
-
$29add1fad43dc941$export$229f1ac4d3d38f0e = `
|
|
71
|
-
$29add1fad43dc941$export$ea514cd060922d6b = `
|
|
72
|
-
$29add1fad43dc941$export$831e830d5828d42b = `
|
|
73
|
-
$29add1fad43dc941$export$e415005be3957065 = `
|
|
74
|
-
$29add1fad43dc941$export$123e4c01a5440a3e = `
|
|
75
|
-
$29add1fad43dc941$export$1f253edac4b98526 = `
|
|
76
|
-
$29add1fad43dc941$export$12dc6b25c6dddfc1 = `
|
|
77
|
-
$29add1fad43dc941$export$a115f9117a19563e = `
|
|
78
|
-
$29add1fad43dc941$export$34f1a65c57bb7bb = `
|
|
79
|
-
$29add1fad43dc941$export$778fb839eaa0528c = `
|
|
80
|
-
$29add1fad43dc941$export$9a6e2fb72c648072 = `
|
|
81
|
-
$29add1fad43dc941$export$e09869956b4c96f2 = `
|
|
82
|
-
$29add1fad43dc941$export$acb5da0970288266 = `
|
|
83
|
-
$29add1fad43dc941$export$4a157a691c854e23 = `
|
|
58
|
+
$29add1fad43dc941$export$f39a09f249340e2a = `W5avvq_focus-ring`;
|
|
59
|
+
$29add1fad43dc941$export$8c4ee2c50c22c514 = `W5avvq_i18nFontFamily`;
|
|
60
|
+
$29add1fad43dc941$export$d35bc1e505d1ebbf = `W5avvq_is-disabled`;
|
|
61
|
+
$29add1fad43dc941$export$b8813cd5d7824ce7 = `W5avvq_is-hovered`;
|
|
62
|
+
$29add1fad43dc941$export$1e0fb04f31d3c22a = `W5avvq_is-selected`;
|
|
63
|
+
$29add1fad43dc941$export$4109102f950813a6 = `W5avvq_spectrum-FocusRing-ring`;
|
|
64
|
+
$29add1fad43dc941$export$24c7f46a6e3605dd = `W5avvq_spectrum-FocusRing ${$29add1fad43dc941$export$4109102f950813a6}`;
|
|
65
|
+
$29add1fad43dc941$export$2927016961429360 = `W5avvq_spectrum-FocusRing--quiet`;
|
|
66
|
+
$29add1fad43dc941$export$d374b04f30360026 = `W5avvq_spectrum-Icon`;
|
|
67
|
+
$29add1fad43dc941$export$35c105c0d9c8e56f = `W5avvq_spectrum-Tabs`;
|
|
68
|
+
$29add1fad43dc941$export$e15c78184ee03abe = `W5avvq_spectrum-Tabs--compact`;
|
|
69
|
+
$29add1fad43dc941$export$87b15021e28e067a = `W5avvq_spectrum-Tabs--emphasized`;
|
|
70
|
+
$29add1fad43dc941$export$229f1ac4d3d38f0e = `W5avvq_spectrum-Tabs--horizontal`;
|
|
71
|
+
$29add1fad43dc941$export$ea514cd060922d6b = `W5avvq_spectrum-Tabs--isCollapsed`;
|
|
72
|
+
$29add1fad43dc941$export$831e830d5828d42b = `W5avvq_spectrum-Tabs--quiet`;
|
|
73
|
+
$29add1fad43dc941$export$e415005be3957065 = `W5avvq_spectrum-Tabs--vertical`;
|
|
74
|
+
$29add1fad43dc941$export$123e4c01a5440a3e = `W5avvq_spectrum-Tabs-item`;
|
|
75
|
+
$29add1fad43dc941$export$1f253edac4b98526 = `W5avvq_spectrum-Tabs-itemLabel`;
|
|
76
|
+
$29add1fad43dc941$export$12dc6b25c6dddfc1 = `W5avvq_spectrum-Tabs-picker`;
|
|
77
|
+
$29add1fad43dc941$export$a115f9117a19563e = `W5avvq_spectrum-Tabs-selectionIndicator`;
|
|
78
|
+
$29add1fad43dc941$export$34f1a65c57bb7bb = `W5avvq_spectrum-TabsPanel`;
|
|
79
|
+
$29add1fad43dc941$export$778fb839eaa0528c = `W5avvq_spectrum-TabsPanel--horizontal`;
|
|
80
|
+
$29add1fad43dc941$export$9a6e2fb72c648072 = `W5avvq_spectrum-TabsPanel--vertical`;
|
|
81
|
+
$29add1fad43dc941$export$e09869956b4c96f2 = `W5avvq_spectrum-TabsPanel-collapseWrapper`;
|
|
82
|
+
$29add1fad43dc941$export$acb5da0970288266 = `W5avvq_spectrum-TabsPanel-tabpanel`;
|
|
83
|
+
$29add1fad43dc941$export$4a157a691c854e23 = `W5avvq_spectrum-TabsPanel-tabs`;
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
//# sourceMappingURL=tabs_vars_css.main.js.map
|
package/dist/tabs_vars_css.mjs
CHANGED
|
@@ -56,32 +56,32 @@ var $32d597b82a7aad64$export$9a6e2fb72c648072;
|
|
|
56
56
|
var $32d597b82a7aad64$export$e09869956b4c96f2;
|
|
57
57
|
var $32d597b82a7aad64$export$acb5da0970288266;
|
|
58
58
|
var $32d597b82a7aad64$export$4a157a691c854e23;
|
|
59
|
-
$32d597b82a7aad64$export$f39a09f249340e2a = `
|
|
60
|
-
$32d597b82a7aad64$export$8c4ee2c50c22c514 = `
|
|
61
|
-
$32d597b82a7aad64$export$d35bc1e505d1ebbf = `
|
|
62
|
-
$32d597b82a7aad64$export$b8813cd5d7824ce7 = `
|
|
63
|
-
$32d597b82a7aad64$export$1e0fb04f31d3c22a = `
|
|
64
|
-
$32d597b82a7aad64$export$4109102f950813a6 = `
|
|
65
|
-
$32d597b82a7aad64$export$24c7f46a6e3605dd = `
|
|
66
|
-
$32d597b82a7aad64$export$2927016961429360 = `
|
|
67
|
-
$32d597b82a7aad64$export$d374b04f30360026 = `
|
|
68
|
-
$32d597b82a7aad64$export$35c105c0d9c8e56f = `
|
|
69
|
-
$32d597b82a7aad64$export$e15c78184ee03abe = `
|
|
70
|
-
$32d597b82a7aad64$export$87b15021e28e067a = `
|
|
71
|
-
$32d597b82a7aad64$export$229f1ac4d3d38f0e = `
|
|
72
|
-
$32d597b82a7aad64$export$ea514cd060922d6b = `
|
|
73
|
-
$32d597b82a7aad64$export$831e830d5828d42b = `
|
|
74
|
-
$32d597b82a7aad64$export$e415005be3957065 = `
|
|
75
|
-
$32d597b82a7aad64$export$123e4c01a5440a3e = `
|
|
76
|
-
$32d597b82a7aad64$export$1f253edac4b98526 = `
|
|
77
|
-
$32d597b82a7aad64$export$12dc6b25c6dddfc1 = `
|
|
78
|
-
$32d597b82a7aad64$export$a115f9117a19563e = `
|
|
79
|
-
$32d597b82a7aad64$export$34f1a65c57bb7bb = `
|
|
80
|
-
$32d597b82a7aad64$export$778fb839eaa0528c = `
|
|
81
|
-
$32d597b82a7aad64$export$9a6e2fb72c648072 = `
|
|
82
|
-
$32d597b82a7aad64$export$e09869956b4c96f2 = `
|
|
83
|
-
$32d597b82a7aad64$export$acb5da0970288266 = `
|
|
84
|
-
$32d597b82a7aad64$export$4a157a691c854e23 = `
|
|
59
|
+
$32d597b82a7aad64$export$f39a09f249340e2a = `W5avvq_focus-ring`;
|
|
60
|
+
$32d597b82a7aad64$export$8c4ee2c50c22c514 = `W5avvq_i18nFontFamily`;
|
|
61
|
+
$32d597b82a7aad64$export$d35bc1e505d1ebbf = `W5avvq_is-disabled`;
|
|
62
|
+
$32d597b82a7aad64$export$b8813cd5d7824ce7 = `W5avvq_is-hovered`;
|
|
63
|
+
$32d597b82a7aad64$export$1e0fb04f31d3c22a = `W5avvq_is-selected`;
|
|
64
|
+
$32d597b82a7aad64$export$4109102f950813a6 = `W5avvq_spectrum-FocusRing-ring`;
|
|
65
|
+
$32d597b82a7aad64$export$24c7f46a6e3605dd = `W5avvq_spectrum-FocusRing ${$32d597b82a7aad64$export$4109102f950813a6}`;
|
|
66
|
+
$32d597b82a7aad64$export$2927016961429360 = `W5avvq_spectrum-FocusRing--quiet`;
|
|
67
|
+
$32d597b82a7aad64$export$d374b04f30360026 = `W5avvq_spectrum-Icon`;
|
|
68
|
+
$32d597b82a7aad64$export$35c105c0d9c8e56f = `W5avvq_spectrum-Tabs`;
|
|
69
|
+
$32d597b82a7aad64$export$e15c78184ee03abe = `W5avvq_spectrum-Tabs--compact`;
|
|
70
|
+
$32d597b82a7aad64$export$87b15021e28e067a = `W5avvq_spectrum-Tabs--emphasized`;
|
|
71
|
+
$32d597b82a7aad64$export$229f1ac4d3d38f0e = `W5avvq_spectrum-Tabs--horizontal`;
|
|
72
|
+
$32d597b82a7aad64$export$ea514cd060922d6b = `W5avvq_spectrum-Tabs--isCollapsed`;
|
|
73
|
+
$32d597b82a7aad64$export$831e830d5828d42b = `W5avvq_spectrum-Tabs--quiet`;
|
|
74
|
+
$32d597b82a7aad64$export$e415005be3957065 = `W5avvq_spectrum-Tabs--vertical`;
|
|
75
|
+
$32d597b82a7aad64$export$123e4c01a5440a3e = `W5avvq_spectrum-Tabs-item`;
|
|
76
|
+
$32d597b82a7aad64$export$1f253edac4b98526 = `W5avvq_spectrum-Tabs-itemLabel`;
|
|
77
|
+
$32d597b82a7aad64$export$12dc6b25c6dddfc1 = `W5avvq_spectrum-Tabs-picker`;
|
|
78
|
+
$32d597b82a7aad64$export$a115f9117a19563e = `W5avvq_spectrum-Tabs-selectionIndicator`;
|
|
79
|
+
$32d597b82a7aad64$export$34f1a65c57bb7bb = `W5avvq_spectrum-TabsPanel`;
|
|
80
|
+
$32d597b82a7aad64$export$778fb839eaa0528c = `W5avvq_spectrum-TabsPanel--horizontal`;
|
|
81
|
+
$32d597b82a7aad64$export$9a6e2fb72c648072 = `W5avvq_spectrum-TabsPanel--vertical`;
|
|
82
|
+
$32d597b82a7aad64$export$e09869956b4c96f2 = `W5avvq_spectrum-TabsPanel-collapseWrapper`;
|
|
83
|
+
$32d597b82a7aad64$export$acb5da0970288266 = `W5avvq_spectrum-TabsPanel-tabpanel`;
|
|
84
|
+
$32d597b82a7aad64$export$4a157a691c854e23 = `W5avvq_spectrum-TabsPanel-tabs`;
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
export {$32d597b82a7aad64$exports as default};
|
|
@@ -56,32 +56,32 @@ var $32d597b82a7aad64$export$9a6e2fb72c648072;
|
|
|
56
56
|
var $32d597b82a7aad64$export$e09869956b4c96f2;
|
|
57
57
|
var $32d597b82a7aad64$export$acb5da0970288266;
|
|
58
58
|
var $32d597b82a7aad64$export$4a157a691c854e23;
|
|
59
|
-
$32d597b82a7aad64$export$f39a09f249340e2a = `
|
|
60
|
-
$32d597b82a7aad64$export$8c4ee2c50c22c514 = `
|
|
61
|
-
$32d597b82a7aad64$export$d35bc1e505d1ebbf = `
|
|
62
|
-
$32d597b82a7aad64$export$b8813cd5d7824ce7 = `
|
|
63
|
-
$32d597b82a7aad64$export$1e0fb04f31d3c22a = `
|
|
64
|
-
$32d597b82a7aad64$export$4109102f950813a6 = `
|
|
65
|
-
$32d597b82a7aad64$export$24c7f46a6e3605dd = `
|
|
66
|
-
$32d597b82a7aad64$export$2927016961429360 = `
|
|
67
|
-
$32d597b82a7aad64$export$d374b04f30360026 = `
|
|
68
|
-
$32d597b82a7aad64$export$35c105c0d9c8e56f = `
|
|
69
|
-
$32d597b82a7aad64$export$e15c78184ee03abe = `
|
|
70
|
-
$32d597b82a7aad64$export$87b15021e28e067a = `
|
|
71
|
-
$32d597b82a7aad64$export$229f1ac4d3d38f0e = `
|
|
72
|
-
$32d597b82a7aad64$export$ea514cd060922d6b = `
|
|
73
|
-
$32d597b82a7aad64$export$831e830d5828d42b = `
|
|
74
|
-
$32d597b82a7aad64$export$e415005be3957065 = `
|
|
75
|
-
$32d597b82a7aad64$export$123e4c01a5440a3e = `
|
|
76
|
-
$32d597b82a7aad64$export$1f253edac4b98526 = `
|
|
77
|
-
$32d597b82a7aad64$export$12dc6b25c6dddfc1 = `
|
|
78
|
-
$32d597b82a7aad64$export$a115f9117a19563e = `
|
|
79
|
-
$32d597b82a7aad64$export$34f1a65c57bb7bb = `
|
|
80
|
-
$32d597b82a7aad64$export$778fb839eaa0528c = `
|
|
81
|
-
$32d597b82a7aad64$export$9a6e2fb72c648072 = `
|
|
82
|
-
$32d597b82a7aad64$export$e09869956b4c96f2 = `
|
|
83
|
-
$32d597b82a7aad64$export$acb5da0970288266 = `
|
|
84
|
-
$32d597b82a7aad64$export$4a157a691c854e23 = `
|
|
59
|
+
$32d597b82a7aad64$export$f39a09f249340e2a = `W5avvq_focus-ring`;
|
|
60
|
+
$32d597b82a7aad64$export$8c4ee2c50c22c514 = `W5avvq_i18nFontFamily`;
|
|
61
|
+
$32d597b82a7aad64$export$d35bc1e505d1ebbf = `W5avvq_is-disabled`;
|
|
62
|
+
$32d597b82a7aad64$export$b8813cd5d7824ce7 = `W5avvq_is-hovered`;
|
|
63
|
+
$32d597b82a7aad64$export$1e0fb04f31d3c22a = `W5avvq_is-selected`;
|
|
64
|
+
$32d597b82a7aad64$export$4109102f950813a6 = `W5avvq_spectrum-FocusRing-ring`;
|
|
65
|
+
$32d597b82a7aad64$export$24c7f46a6e3605dd = `W5avvq_spectrum-FocusRing ${$32d597b82a7aad64$export$4109102f950813a6}`;
|
|
66
|
+
$32d597b82a7aad64$export$2927016961429360 = `W5avvq_spectrum-FocusRing--quiet`;
|
|
67
|
+
$32d597b82a7aad64$export$d374b04f30360026 = `W5avvq_spectrum-Icon`;
|
|
68
|
+
$32d597b82a7aad64$export$35c105c0d9c8e56f = `W5avvq_spectrum-Tabs`;
|
|
69
|
+
$32d597b82a7aad64$export$e15c78184ee03abe = `W5avvq_spectrum-Tabs--compact`;
|
|
70
|
+
$32d597b82a7aad64$export$87b15021e28e067a = `W5avvq_spectrum-Tabs--emphasized`;
|
|
71
|
+
$32d597b82a7aad64$export$229f1ac4d3d38f0e = `W5avvq_spectrum-Tabs--horizontal`;
|
|
72
|
+
$32d597b82a7aad64$export$ea514cd060922d6b = `W5avvq_spectrum-Tabs--isCollapsed`;
|
|
73
|
+
$32d597b82a7aad64$export$831e830d5828d42b = `W5avvq_spectrum-Tabs--quiet`;
|
|
74
|
+
$32d597b82a7aad64$export$e415005be3957065 = `W5avvq_spectrum-Tabs--vertical`;
|
|
75
|
+
$32d597b82a7aad64$export$123e4c01a5440a3e = `W5avvq_spectrum-Tabs-item`;
|
|
76
|
+
$32d597b82a7aad64$export$1f253edac4b98526 = `W5avvq_spectrum-Tabs-itemLabel`;
|
|
77
|
+
$32d597b82a7aad64$export$12dc6b25c6dddfc1 = `W5avvq_spectrum-Tabs-picker`;
|
|
78
|
+
$32d597b82a7aad64$export$a115f9117a19563e = `W5avvq_spectrum-Tabs-selectionIndicator`;
|
|
79
|
+
$32d597b82a7aad64$export$34f1a65c57bb7bb = `W5avvq_spectrum-TabsPanel`;
|
|
80
|
+
$32d597b82a7aad64$export$778fb839eaa0528c = `W5avvq_spectrum-TabsPanel--horizontal`;
|
|
81
|
+
$32d597b82a7aad64$export$9a6e2fb72c648072 = `W5avvq_spectrum-TabsPanel--vertical`;
|
|
82
|
+
$32d597b82a7aad64$export$e09869956b4c96f2 = `W5avvq_spectrum-TabsPanel-collapseWrapper`;
|
|
83
|
+
$32d597b82a7aad64$export$acb5da0970288266 = `W5avvq_spectrum-TabsPanel-tabpanel`;
|
|
84
|
+
$32d597b82a7aad64$export$4a157a691c854e23 = `W5avvq_spectrum-TabsPanel-tabs`;
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
export {$32d597b82a7aad64$exports as default};
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpectrumTabListProps, SpectrumTabPanelsProps, SpectrumTabsProps } from "@react-types/tabs";
|
|
2
2
|
import { DOMRef } from "@react-types/shared";
|
|
3
|
-
import { ReactElement
|
|
3
|
+
import { ReactElement } from "react";
|
|
4
4
|
/**
|
|
5
5
|
* Tabs organize content into multiple sections and allow users to navigate between them. The content under the set of tabs should be related and form a coherent unit.
|
|
6
6
|
*/
|
|
@@ -11,12 +11,12 @@ export const Tabs: <T>(props: SpectrumTabsProps<T> & {
|
|
|
11
11
|
* A TabList is used within Tabs to group tabs that a user can switch between.
|
|
12
12
|
* The keys of the items within the <TabList> must match up with a corresponding item inside the <TabPanels>.
|
|
13
13
|
*/
|
|
14
|
-
export function TabList<T>(props: SpectrumTabListProps<T>):
|
|
14
|
+
export function TabList<T>(props: SpectrumTabListProps<T>): ReactElement;
|
|
15
15
|
/**
|
|
16
16
|
* TabPanels is used within Tabs as a container for the content of each tab.
|
|
17
17
|
* The keys of the items within the <TabPanels> must match up with a corresponding item inside the <TabList>.
|
|
18
18
|
*/
|
|
19
|
-
export function TabPanels<T extends object>(props: SpectrumTabPanelsProps<T>):
|
|
19
|
+
export function TabPanels<T extends object>(props: SpectrumTabPanelsProps<T>): ReactElement;
|
|
20
20
|
export { Item } from '@react-stately/collections';
|
|
21
21
|
export type { SpectrumTabsProps, SpectrumTabListProps, SpectrumTabPanelsProps } from '@react-types/tabs';
|
|
22
22
|
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;AA0DA;;GAEG;AAGH,OAAO,MAAM,MAyFP,CAAC,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,OAAO,cAAc,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;AA2GxF;;;GAGG;AACH,wBAAwB,CAAC,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAAC,GAAG,
|
|
1
|
+
{"mappings":";;;AA0DA;;GAEG;AAGH,OAAO,MAAM,MAyFP,CAAC,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,OAAO,cAAc,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;AA2GxF;;;GAGG;AACH,wBAAwB,CAAC,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAAC,GAAG,YAAY,CAsEvE;AAED;;;GAGG;AACH,0BAA0B,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAAC,GAAG,YAAY,CAa1F;ACjVD,OAAO,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAChD,YAAY,EAAC,iBAAiB,EAAE,oBAAoB,EAAE,sBAAsB,EAAC,MAAM,mBAAmB,CAAC","sources":["packages/@react-spectrum/tabs/src/packages/@react-spectrum/tabs/src/Tabs.tsx","packages/@react-spectrum/tabs/src/packages/@react-spectrum/tabs/src/index.ts","packages/@react-spectrum/tabs/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {TabList, TabPanels, Tabs} from './Tabs';\nexport {Item} from '@react-stately/collections';\nexport type {SpectrumTabsProps, SpectrumTabListProps, SpectrumTabPanelsProps} from '@react-types/tabs';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/tabs",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.24",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"url": "https://github.com/adobe/react-spectrum"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@react-aria/focus": "^3.
|
|
44
|
-
"@react-aria/i18n": "^3.12.
|
|
45
|
-
"@react-aria/interactions": "^3.25.
|
|
46
|
-
"@react-aria/tabs": "^3.10.
|
|
47
|
-
"@react-aria/utils": "^3.
|
|
48
|
-
"@react-spectrum/picker": "^3.
|
|
49
|
-
"@react-spectrum/text": "^3.5.
|
|
50
|
-
"@react-spectrum/utils": "^3.12.
|
|
51
|
-
"@react-stately/collections": "^3.12.
|
|
52
|
-
"@react-stately/list": "^3.
|
|
53
|
-
"@react-stately/tabs": "^3.8.
|
|
54
|
-
"@react-types/select": "^3.
|
|
55
|
-
"@react-types/shared": "^3.
|
|
56
|
-
"@react-types/tabs": "^3.3.
|
|
43
|
+
"@react-aria/focus": "^3.21.1",
|
|
44
|
+
"@react-aria/i18n": "^3.12.12",
|
|
45
|
+
"@react-aria/interactions": "^3.25.5",
|
|
46
|
+
"@react-aria/tabs": "^3.10.7",
|
|
47
|
+
"@react-aria/utils": "^3.30.1",
|
|
48
|
+
"@react-spectrum/picker": "^3.16.1",
|
|
49
|
+
"@react-spectrum/text": "^3.5.19",
|
|
50
|
+
"@react-spectrum/utils": "^3.12.8",
|
|
51
|
+
"@react-stately/collections": "^3.12.7",
|
|
52
|
+
"@react-stately/list": "^3.13.0",
|
|
53
|
+
"@react-stately/tabs": "^3.8.5",
|
|
54
|
+
"@react-types/select": "^3.10.1",
|
|
55
|
+
"@react-types/shared": "^3.32.0",
|
|
56
|
+
"@react-types/tabs": "^3.3.18",
|
|
57
57
|
"@swc/helpers": "^0.5.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "2c58ed3ddd9be9100af9b1d0cfd137fcdc95ba2d"
|
|
71
71
|
}
|
package/src/Tabs.tsx
CHANGED
|
@@ -261,7 +261,7 @@ function TabLine(props: TabLineProps) {
|
|
|
261
261
|
* A TabList is used within Tabs to group tabs that a user can switch between.
|
|
262
262
|
* The keys of the items within the <TabList> must match up with a corresponding item inside the <TabPanels>.
|
|
263
263
|
*/
|
|
264
|
-
export function TabList<T>(props: SpectrumTabListProps<T>):
|
|
264
|
+
export function TabList<T>(props: SpectrumTabListProps<T>): ReactElement {
|
|
265
265
|
const tabContext = useContext(TabContext)!;
|
|
266
266
|
const {refs, tabState, tabProps, tabPanelProps} = tabContext;
|
|
267
267
|
const {isQuiet, density, isEmphasized, orientation} = tabProps;
|
|
@@ -337,7 +337,7 @@ export function TabList<T>(props: SpectrumTabListProps<T>): ReactNode {
|
|
|
337
337
|
* TabPanels is used within Tabs as a container for the content of each tab.
|
|
338
338
|
* The keys of the items within the <TabPanels> must match up with a corresponding item inside the <TabList>.
|
|
339
339
|
*/
|
|
340
|
-
export function TabPanels<T extends object>(props: SpectrumTabPanelsProps<T>):
|
|
340
|
+
export function TabPanels<T extends object>(props: SpectrumTabPanelsProps<T>): ReactElement {
|
|
341
341
|
const {tabState, tabProps} = useContext(TabContext)!;
|
|
342
342
|
const {tabListState} = tabState;
|
|
343
343
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;AAOA;;;;AAIA;;;;AAIA;;;;;;;;;;;;AAiBA;;;;;;;;;;;;;AAmBE;;;;AAIA;;;;AAIA;;;;;;AAOE;;;;AAKF;;;;;;;;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAkBF;;;;;;;AAOE;;;;AAMF;;;;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AASE;;;;AAIA;;;;AAQA;;;;;AAIE;;;;AAOJ;;;;;AAKE;;;;AAIE;;;;AAKF;;;;;;;AAQA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAMI;;;;;;;;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAmBA;;;;AAMJ;;;;;;AAUF;;;;AAIA;;;;;;;AAME;;;;;;;AAOE;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AASA;;;;;;AAKE;;;;AAOJ;;;;;;AAAA;;;;AAAA;;;;AAAA;;;;AAAA;;;;AASF;;;;;AAKA;;;;AAKE;;;;AAKF;;;;;AAME;;;;AAiBF;;;;AAKI;;;;AAME;;;;AAIA;;;;AAON;;;;AAKE;;;;AAKF;;;;AAIA;;;;AAGE;;;;AAIA;;;;AAGE;;;;AAKF;;;;AAGE;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAQA;;;;AAGE;;;;AAIA;;;;AAGE;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAQR;;;;AAGE;;;;AAKE;;;;AAOF;;;;AAIE;;;;AAJF;;;;AAIE;;;;AAMA;;;;AAOF;;;;AAIA;;;;AAKF;EACE;;;;;;;;;;;;;;;;;;;;;EAoBI;;;;EAGA;;;;;EASF;;;;EAEE;;;;EAGA;;;;;EAIA;;;;EAKA","sources":["packages/@adobe/spectrum-css-temp/components/tabs/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":"tabs.594d530b.css.map"}
|