@react-spectrum/table 3.12.9-nightly.4555 → 3.12.9-nightly.4560
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/DragPreview.main.js +54 -0
- package/dist/DragPreview.main.js.map +1 -0
- package/dist/DragPreview.mjs +49 -0
- package/dist/DragPreview.module.js +49 -0
- package/dist/DragPreview.module.js.map +1 -0
- package/dist/InsertionIndicator.main.js +63 -0
- package/dist/InsertionIndicator.main.js.map +1 -0
- package/dist/InsertionIndicator.mjs +58 -0
- package/dist/InsertionIndicator.module.js +58 -0
- package/dist/InsertionIndicator.module.js.map +1 -0
- package/dist/Nubbin.main.js +62 -0
- package/dist/Nubbin.main.js.map +1 -0
- package/dist/Nubbin.mjs +53 -0
- package/dist/Nubbin.module.js +53 -0
- package/dist/Nubbin.module.js.map +1 -0
- package/dist/Resizer.main.js +143 -0
- package/dist/Resizer.main.js.map +1 -0
- package/dist/Resizer.mjs +138 -0
- package/dist/Resizer.module.js +138 -0
- package/dist/Resizer.module.js.map +1 -0
- package/dist/RootDropIndicator.main.js +57 -0
- package/dist/RootDropIndicator.main.js.map +1 -0
- package/dist/RootDropIndicator.mjs +48 -0
- package/dist/RootDropIndicator.module.js +48 -0
- package/dist/RootDropIndicator.module.js.map +1 -0
- package/dist/TableView.main.js +50 -0
- package/dist/TableView.main.js.map +1 -0
- package/dist/TableView.mjs +41 -0
- package/dist/TableView.module.js +41 -0
- package/dist/TableView.module.js.map +1 -0
- package/dist/TableViewBase.main.js +1193 -0
- package/dist/TableViewBase.main.js.map +1 -0
- package/dist/TableViewBase.mjs +1186 -0
- package/dist/TableViewBase.module.js +1186 -0
- package/dist/TableViewBase.module.js.map +1 -0
- package/dist/TableViewWrapper.main.js +46 -0
- package/dist/TableViewWrapper.main.js.map +1 -0
- package/dist/TableViewWrapper.mjs +37 -0
- package/dist/TableViewWrapper.module.js +37 -0
- package/dist/TableViewWrapper.module.js.map +1 -0
- package/dist/TreeGridTableView.main.js +50 -0
- package/dist/TreeGridTableView.main.js.map +1 -0
- package/dist/TreeGridTableView.mjs +41 -0
- package/dist/TreeGridTableView.module.js +41 -0
- package/dist/TreeGridTableView.module.js.map +1 -0
- package/dist/ar-AE.mjs +1 -1
- package/dist/bg-BG.mjs +1 -1
- package/dist/cs-CZ.mjs +1 -1
- package/dist/da-DK.mjs +1 -1
- package/dist/de-DE.mjs +1 -1
- package/dist/el-GR.mjs +1 -1
- package/dist/en-US.mjs +1 -1
- package/dist/es-ES.mjs +1 -1
- package/dist/et-EE.mjs +1 -1
- package/dist/fi-FI.mjs +1 -1
- package/dist/fr-FR.mjs +1 -1
- package/dist/he-IL.mjs +1 -1
- package/dist/hr-HR.mjs +1 -1
- package/dist/hu-HU.mjs +1 -1
- package/dist/import.mjs +2 -1930
- package/dist/intlStrings.main.js +108 -0
- package/dist/intlStrings.main.js.map +1 -0
- package/dist/intlStrings.mjs +110 -0
- package/dist/intlStrings.module.js +110 -0
- package/dist/intlStrings.module.js.map +1 -0
- package/dist/it-IT.mjs +1 -1
- package/dist/ja-JP.mjs +1 -1
- package/dist/ko-KR.mjs +1 -1
- package/dist/lt-LT.mjs +1 -1
- package/dist/lv-LV.mjs +1 -1
- package/dist/main.js +2 -1926
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -1930
- package/dist/module.js.map +1 -1
- package/dist/nb-NO.mjs +1 -1
- package/dist/nl-NL.mjs +1 -1
- package/dist/pl-PL.mjs +1 -1
- package/dist/pt-BR.mjs +1 -1
- package/dist/pt-PT.mjs +1 -1
- package/dist/ro-RO.mjs +1 -1
- package/dist/ru-RU.mjs +1 -1
- package/dist/sk-SK.mjs +1 -1
- package/dist/sl-SI.mjs +1 -1
- package/dist/sr-SP.mjs +1 -1
- package/dist/sv-SE.mjs +1 -1
- package/dist/table.b13eee90.css +220 -0
- package/dist/table.b13eee90.css.map +1 -0
- package/dist/table_css.main.js +74 -0
- package/dist/table_css.main.js.map +1 -0
- package/dist/table_css.mjs +76 -0
- package/dist/table_css.module.js +76 -0
- package/dist/table_css.module.js.map +1 -0
- package/dist/table_vars_css.main.js +197 -0
- package/dist/table_vars_css.main.js.map +1 -0
- package/dist/table_vars_css.mjs +199 -0
- package/dist/table_vars_css.module.js +199 -0
- package/dist/table_vars_css.module.js.map +1 -0
- package/dist/tr-TR.mjs +1 -1
- package/dist/uk-UA.mjs +1 -1
- package/dist/{main.css → vars.42570ef3.css} +1 -221
- package/dist/vars.42570ef3.css.map +1 -0
- package/dist/zh-CN.mjs +1 -1
- package/dist/zh-TW.mjs +1 -1
- package/package.json +28 -28
- package/dist/main.css.map +0 -1
- package/dist/module.css +0 -1208
- package/dist/module.css.map +0 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
require("./vars.42570ef3.css");
|
|
2
|
+
var $982885d0a34882ea$exports = require("./table_vars_css.main.js");
|
|
3
|
+
require("./table.b13eee90.css");
|
|
4
|
+
var $4afcd54cfd94dbb9$exports = require("./table_css.main.js");
|
|
5
|
+
var $4Sj2U$reactspectrumutils = require("@react-spectrum/utils");
|
|
6
|
+
var $4Sj2U$reactspectrumlayout = require("@react-spectrum/layout");
|
|
7
|
+
var $4Sj2U$react = require("react");
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
function $parcel$interopDefault(a) {
|
|
11
|
+
return a && a.__esModule ? a.default : a;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function $parcel$export(e, n, v, s) {
|
|
15
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
$parcel$export(module.exports, "DragPreview", () => $f65d44d222cc509b$export$905ab40ac2179daa);
|
|
19
|
+
/*
|
|
20
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
21
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
22
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
23
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
24
|
+
*
|
|
25
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
26
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
27
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
28
|
+
* governing permissions and limitations under the License.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
function $f65d44d222cc509b$export$905ab40ac2179daa(props) {
|
|
35
|
+
let { itemText: itemText, itemCount: itemCount, height: height, maxWidth: maxWidth } = props;
|
|
36
|
+
let isDraggingMultiple = itemCount > 1;
|
|
37
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($4Sj2U$react))).createElement((0, $4Sj2U$reactspectrumlayout.Flex), {
|
|
38
|
+
justifyContent: "space-between",
|
|
39
|
+
height: height,
|
|
40
|
+
maxWidth: maxWidth,
|
|
41
|
+
UNSAFE_className: (0, $4Sj2U$reactspectrumutils.classNames)((0, ($parcel$interopDefault($982885d0a34882ea$exports))), "spectrum-Table-row", (0, $4Sj2U$reactspectrumutils.classNames)((0, ($parcel$interopDefault($4afcd54cfd94dbb9$exports))), "react-spectrum-Table-row", "react-spectrum-Table-row-dragPreview", {
|
|
42
|
+
"react-spectrum-Table-row-dragPreview--multiple": isDraggingMultiple
|
|
43
|
+
}))
|
|
44
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($4Sj2U$react))).createElement("div", {
|
|
45
|
+
className: (0, $4Sj2U$reactspectrumutils.classNames)((0, ($parcel$interopDefault($982885d0a34882ea$exports))), "spectrum-Table-cell", (0, $4Sj2U$reactspectrumutils.classNames)((0, ($parcel$interopDefault($4afcd54cfd94dbb9$exports))), "react-spectrum-Table-cell"))
|
|
46
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($4Sj2U$react))).createElement("span", {
|
|
47
|
+
className: (0, $4Sj2U$reactspectrumutils.classNames)((0, ($parcel$interopDefault($982885d0a34882ea$exports))), "spectrum-Table-cellContents")
|
|
48
|
+
}, itemText)), isDraggingMultiple && /*#__PURE__*/ (0, ($parcel$interopDefault($4Sj2U$react))).createElement("div", {
|
|
49
|
+
className: (0, $4Sj2U$reactspectrumutils.classNames)((0, ($parcel$interopDefault($4afcd54cfd94dbb9$exports))), "react-spectrum-Table-row-badge")
|
|
50
|
+
}, itemCount));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=DragPreview.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAeM,SAAS,0CAAY,KAAuB;IACjD,IAAI,YACF,QAAQ,aACR,SAAS,UACT,MAAM,YACN,QAAQ,EACT,GAAG;IACJ,IAAI,qBAAqB,YAAY;IACrC,qBACE,0DAAC,CAAA,GAAA,+BAAG;QACF,gBAAe;QACf,QAAQ;QACR,UAAU;QACV,kBACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL,sBACA,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAc,GACd,4BACA,wCACA;YAAC,kDAAkD;QAAkB;qBAI3E,0DAAC;QACC,WACA,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL,uBACA,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAc,GACd;qBAIJ,0DAAC;QACC,WACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL;OAGH,YAGJ,oCACC,0DAAC;QAAI,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAc,GAAG;OAAoC;AAIxF","sources":["packages/@react-spectrum/table/src/DragPreview.tsx"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport React from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/table/vars.css';\nimport stylesOverrides from './table.css';\n\ninterface DragPreviewProps {\n itemText: string,\n itemCount: number,\n height: number,\n maxWidth: number\n}\n\nexport function DragPreview(props: DragPreviewProps) {\n let {\n itemText,\n itemCount,\n height,\n maxWidth\n } = props;\n let isDraggingMultiple = itemCount > 1;\n return (\n <Flex\n justifyContent=\"space-between\"\n height={height}\n maxWidth={maxWidth}\n UNSAFE_className={\n classNames(\n styles,\n 'spectrum-Table-row',\n classNames(\n stylesOverrides,\n 'react-spectrum-Table-row',\n 'react-spectrum-Table-row-dragPreview',\n {'react-spectrum-Table-row-dragPreview--multiple': isDraggingMultiple}\n )\n )\n }>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Table-cell',\n classNames(\n stylesOverrides,\n 'react-spectrum-Table-cell'\n )\n )\n }>\n <span\n className={\n classNames(\n styles,\n 'spectrum-Table-cellContents'\n )\n }>\n {itemText}\n </span>\n </div>\n {isDraggingMultiple &&\n <div className={classNames(stylesOverrides, 'react-spectrum-Table-row-badge')}>{itemCount}</div>\n }\n </Flex>\n );\n}\n"],"names":[],"version":3,"file":"DragPreview.main.js.map"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import "./vars.42570ef3.css";
|
|
2
|
+
import $9Othb$table_vars_cssmodulejs from "./table_vars_css.mjs";
|
|
3
|
+
import "./table.b13eee90.css";
|
|
4
|
+
import $9Othb$table_cssmodulejs from "./table_css.mjs";
|
|
5
|
+
import {classNames as $9Othb$classNames} from "@react-spectrum/utils";
|
|
6
|
+
import {Flex as $9Othb$Flex} from "@react-spectrum/layout";
|
|
7
|
+
import $9Othb$react from "react";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
function $parcel$interopDefault(a) {
|
|
11
|
+
return a && a.__esModule ? a.default : a;
|
|
12
|
+
}
|
|
13
|
+
/*
|
|
14
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
15
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
+
*
|
|
19
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
+
* governing permissions and limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
function $daa6ead3d9d3506a$export$905ab40ac2179daa(props) {
|
|
29
|
+
let { itemText: itemText, itemCount: itemCount, height: height, maxWidth: maxWidth } = props;
|
|
30
|
+
let isDraggingMultiple = itemCount > 1;
|
|
31
|
+
return /*#__PURE__*/ (0, $9Othb$react).createElement((0, $9Othb$Flex), {
|
|
32
|
+
justifyContent: "space-between",
|
|
33
|
+
height: height,
|
|
34
|
+
maxWidth: maxWidth,
|
|
35
|
+
UNSAFE_className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_vars_cssmodulejs))), "spectrum-Table-row", (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_cssmodulejs))), "react-spectrum-Table-row", "react-spectrum-Table-row-dragPreview", {
|
|
36
|
+
"react-spectrum-Table-row-dragPreview--multiple": isDraggingMultiple
|
|
37
|
+
}))
|
|
38
|
+
}, /*#__PURE__*/ (0, $9Othb$react).createElement("div", {
|
|
39
|
+
className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_vars_cssmodulejs))), "spectrum-Table-cell", (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_cssmodulejs))), "react-spectrum-Table-cell"))
|
|
40
|
+
}, /*#__PURE__*/ (0, $9Othb$react).createElement("span", {
|
|
41
|
+
className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_vars_cssmodulejs))), "spectrum-Table-cellContents")
|
|
42
|
+
}, itemText)), isDraggingMultiple && /*#__PURE__*/ (0, $9Othb$react).createElement("div", {
|
|
43
|
+
className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_cssmodulejs))), "react-spectrum-Table-row-badge")
|
|
44
|
+
}, itemCount));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
export {$daa6ead3d9d3506a$export$905ab40ac2179daa as DragPreview};
|
|
49
|
+
//# sourceMappingURL=DragPreview.mjs.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import "./vars.42570ef3.css";
|
|
2
|
+
import $9Othb$table_vars_cssmodulejs from "./table_vars_css.module.js";
|
|
3
|
+
import "./table.b13eee90.css";
|
|
4
|
+
import $9Othb$table_cssmodulejs from "./table_css.module.js";
|
|
5
|
+
import {classNames as $9Othb$classNames} from "@react-spectrum/utils";
|
|
6
|
+
import {Flex as $9Othb$Flex} from "@react-spectrum/layout";
|
|
7
|
+
import $9Othb$react from "react";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
function $parcel$interopDefault(a) {
|
|
11
|
+
return a && a.__esModule ? a.default : a;
|
|
12
|
+
}
|
|
13
|
+
/*
|
|
14
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
15
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
+
*
|
|
19
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
+
* governing permissions and limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
function $daa6ead3d9d3506a$export$905ab40ac2179daa(props) {
|
|
29
|
+
let { itemText: itemText, itemCount: itemCount, height: height, maxWidth: maxWidth } = props;
|
|
30
|
+
let isDraggingMultiple = itemCount > 1;
|
|
31
|
+
return /*#__PURE__*/ (0, $9Othb$react).createElement((0, $9Othb$Flex), {
|
|
32
|
+
justifyContent: "space-between",
|
|
33
|
+
height: height,
|
|
34
|
+
maxWidth: maxWidth,
|
|
35
|
+
UNSAFE_className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_vars_cssmodulejs))), "spectrum-Table-row", (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_cssmodulejs))), "react-spectrum-Table-row", "react-spectrum-Table-row-dragPreview", {
|
|
36
|
+
"react-spectrum-Table-row-dragPreview--multiple": isDraggingMultiple
|
|
37
|
+
}))
|
|
38
|
+
}, /*#__PURE__*/ (0, $9Othb$react).createElement("div", {
|
|
39
|
+
className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_vars_cssmodulejs))), "spectrum-Table-cell", (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_cssmodulejs))), "react-spectrum-Table-cell"))
|
|
40
|
+
}, /*#__PURE__*/ (0, $9Othb$react).createElement("span", {
|
|
41
|
+
className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_vars_cssmodulejs))), "spectrum-Table-cellContents")
|
|
42
|
+
}, itemText)), isDraggingMultiple && /*#__PURE__*/ (0, $9Othb$react).createElement("div", {
|
|
43
|
+
className: (0, $9Othb$classNames)((0, ($parcel$interopDefault($9Othb$table_cssmodulejs))), "react-spectrum-Table-row-badge")
|
|
44
|
+
}, itemCount));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
export {$daa6ead3d9d3506a$export$905ab40ac2179daa as DragPreview};
|
|
49
|
+
//# sourceMappingURL=DragPreview.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAeM,SAAS,0CAAY,KAAuB;IACjD,IAAI,YACF,QAAQ,aACR,SAAS,UACT,MAAM,YACN,QAAQ,EACT,GAAG;IACJ,IAAI,qBAAqB,YAAY;IACrC,qBACE,gCAAC,CAAA,GAAA,WAAG;QACF,gBAAe;QACf,QAAQ;QACR,UAAU;QACV,kBACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,uDAAK,GACL,sBACA,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,kDAAc,GACd,4BACA,wCACA;YAAC,kDAAkD;QAAkB;qBAI3E,gCAAC;QACC,WACA,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,uDAAK,GACL,uBACA,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,kDAAc,GACd;qBAIJ,gCAAC;QACC,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,uDAAK,GACL;OAGH,YAGJ,oCACC,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,kDAAc,GAAG;OAAoC;AAIxF","sources":["packages/@react-spectrum/table/src/DragPreview.tsx"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport React from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/table/vars.css';\nimport stylesOverrides from './table.css';\n\ninterface DragPreviewProps {\n itemText: string,\n itemCount: number,\n height: number,\n maxWidth: number\n}\n\nexport function DragPreview(props: DragPreviewProps) {\n let {\n itemText,\n itemCount,\n height,\n maxWidth\n } = props;\n let isDraggingMultiple = itemCount > 1;\n return (\n <Flex\n justifyContent=\"space-between\"\n height={height}\n maxWidth={maxWidth}\n UNSAFE_className={\n classNames(\n styles,\n 'spectrum-Table-row',\n classNames(\n stylesOverrides,\n 'react-spectrum-Table-row',\n 'react-spectrum-Table-row-dragPreview',\n {'react-spectrum-Table-row-dragPreview--multiple': isDraggingMultiple}\n )\n )\n }>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Table-cell',\n classNames(\n stylesOverrides,\n 'react-spectrum-Table-cell'\n )\n )\n }>\n <span\n className={\n classNames(\n styles,\n 'spectrum-Table-cellContents'\n )\n }>\n {itemText}\n </span>\n </div>\n {isDraggingMultiple &&\n <div className={classNames(stylesOverrides, 'react-spectrum-Table-row-badge')}>{itemCount}</div>\n }\n </Flex>\n );\n}\n"],"names":[],"version":3,"file":"DragPreview.module.js.map"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
require("./table.b13eee90.css");
|
|
2
|
+
var $4afcd54cfd94dbb9$exports = require("./table_css.main.js");
|
|
3
|
+
var $e39c6de4eb69450d$exports = require("./TableViewBase.main.js");
|
|
4
|
+
var $k3Oqb$reactspectrumutils = require("@react-spectrum/utils");
|
|
5
|
+
var $k3Oqb$react = require("react");
|
|
6
|
+
var $k3Oqb$reactariavisuallyhidden = require("@react-aria/visually-hidden");
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
function $parcel$interopDefault(a) {
|
|
10
|
+
return a && a.__esModule ? a.default : a;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function $parcel$export(e, n, v, s) {
|
|
14
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
$parcel$export(module.exports, "InsertionIndicator", () => $c44674ca7612e997$export$2c0bab5914a9d088);
|
|
18
|
+
/*
|
|
19
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
20
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
21
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
22
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
23
|
+
*
|
|
24
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
25
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
26
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
27
|
+
* governing permissions and limitations under the License.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
function $c44674ca7612e997$export$2c0bab5914a9d088(props) {
|
|
34
|
+
let { dropState: dropState, dragAndDropHooks: dragAndDropHooks } = (0, $e39c6de4eb69450d$exports.useTableContext)();
|
|
35
|
+
const { target: target, rowProps: rowProps } = props;
|
|
36
|
+
let ref = (0, $k3Oqb$react.useRef)();
|
|
37
|
+
let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator(props, dropState, ref);
|
|
38
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $k3Oqb$reactariavisuallyhidden.useVisuallyHidden)();
|
|
39
|
+
let isDropTarget = dropState.isDropTarget(target);
|
|
40
|
+
if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
|
|
41
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($k3Oqb$react))).createElement("div", {
|
|
42
|
+
style: {
|
|
43
|
+
position: "absolute",
|
|
44
|
+
top: rowProps.style.top + (target.dropPosition === "after" ? rowProps.style.height : 0),
|
|
45
|
+
width: rowProps.style.width
|
|
46
|
+
},
|
|
47
|
+
role: "row",
|
|
48
|
+
"aria-hidden": dropIndicatorProps["aria-hidden"]
|
|
49
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($k3Oqb$react))).createElement("div", {
|
|
50
|
+
role: "gridcell",
|
|
51
|
+
className: (0, $k3Oqb$reactspectrumutils.classNames)((0, ($parcel$interopDefault($4afcd54cfd94dbb9$exports))), "react-spectrum-Table-InsertionIndicator", {
|
|
52
|
+
"react-spectrum-Table-InsertionIndicator--dropTarget": isDropTarget
|
|
53
|
+
})
|
|
54
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($k3Oqb$react))).createElement("div", {
|
|
55
|
+
...visuallyHiddenProps,
|
|
56
|
+
role: "button",
|
|
57
|
+
...dropIndicatorProps,
|
|
58
|
+
ref: ref
|
|
59
|
+
})));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=InsertionIndicator.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAcM,SAAS,0CAAmB,KAA8B;IAC/D,IAAI,aAAC,SAAS,oBAAE,gBAAgB,EAAC,GAAG,CAAA,GAAA,yCAAc;IAClD,MAAM,UAAC,MAAM,YAAE,QAAQ,EAAC,GAAG;IAE3B,IAAI,MAAM,CAAA,GAAA,mBAAK;IACf,IAAI,sBAAC,kBAAkB,EAAC,GAAG,iBAAiB,gBAAgB,CAAC,OAAO,WAAW;IAC/E,IAAI,uBAAC,mBAAmB,EAAC,GAAG,CAAA,GAAA,gDAAgB;IAE5C,IAAI,eAAe,UAAU,YAAY,CAAC;IAE1C,IAAI,CAAC,gBAAgB,kBAAkB,CAAC,cAAc,EACpD,OAAO;IAGT,qBACE,0DAAC;QACC,OAAO;YACL,UAAU;YACV,KAAK,SAAS,KAAK,CAAC,GAAG,GAAc,CAAA,OAAO,YAAY,KAAK,UAAU,SAAS,KAAK,CAAC,MAAM,GAAa,CAAA;YACzG,OAAO,SAAS,KAAK,CAAC,KAAK;QAC7B;QACA,MAAK;QACL,eAAa,kBAAkB,CAAC,cAAc;qBAC9C,0DAAC;QACC,MAAK;QACL,WACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL,2CACA;YACE,uDAAuD;QACzD;qBAEJ,0DAAC;QAAK,GAAG,mBAAmB;QAAE,MAAK;QAAU,GAAG,kBAAkB;QAAE,KAAK;;AAIjF","sources":["packages/@react-spectrum/table/src/InsertionIndicator.tsx"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableElement, ItemDropTarget} from '@react-types/shared';\nimport React, {DOMAttributes, HTMLAttributes, useRef} from 'react';\nimport styles from './table.css';\nimport {useTableContext} from './TableViewBase';\nimport {useVisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface InsertionIndicatorProps {\n target: ItemDropTarget,\n rowProps: HTMLAttributes<HTMLElement> & DOMAttributes<FocusableElement>\n}\n\nexport function InsertionIndicator(props: InsertionIndicatorProps) {\n let {dropState, dragAndDropHooks} = useTableContext();\n const {target, rowProps} = props;\n\n let ref = useRef();\n let {dropIndicatorProps} = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n let {visuallyHiddenProps} = useVisuallyHidden();\n\n let isDropTarget = dropState.isDropTarget(target);\n\n if (!isDropTarget && dropIndicatorProps['aria-hidden']) {\n return null;\n }\n\n return (\n <div\n style={{\n position: 'absolute',\n top: rowProps.style.top as number + (target.dropPosition === 'after' ? rowProps.style.height as number : 0),\n width: rowProps.style.width\n }}\n role=\"row\"\n aria-hidden={dropIndicatorProps['aria-hidden']}>\n <div\n role=\"gridcell\"\n className={\n classNames(\n styles,\n 'react-spectrum-Table-InsertionIndicator',\n {\n 'react-spectrum-Table-InsertionIndicator--dropTarget': isDropTarget\n }\n )}>\n <div {...visuallyHiddenProps} role=\"button\" {...dropIndicatorProps} ref={ref} />\n </div>\n </div>\n );\n}\n"],"names":[],"version":3,"file":"InsertionIndicator.main.js.map"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import "./table.b13eee90.css";
|
|
2
|
+
import $khOO8$table_cssmodulejs from "./table_css.mjs";
|
|
3
|
+
import {useTableContext as $bd013581c0a4b065$export$3cb274deb6c2d854} from "./TableViewBase.mjs";
|
|
4
|
+
import {classNames as $khOO8$classNames} from "@react-spectrum/utils";
|
|
5
|
+
import $khOO8$react, {useRef as $khOO8$useRef} from "react";
|
|
6
|
+
import {useVisuallyHidden as $khOO8$useVisuallyHidden} from "@react-aria/visually-hidden";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
function $parcel$interopDefault(a) {
|
|
10
|
+
return a && a.__esModule ? a.default : a;
|
|
11
|
+
}
|
|
12
|
+
/*
|
|
13
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
14
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
15
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
16
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
19
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
20
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
21
|
+
* governing permissions and limitations under the License.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
function $7ee9a922ee4e8032$export$2c0bab5914a9d088(props) {
|
|
28
|
+
let { dropState: dropState, dragAndDropHooks: dragAndDropHooks } = (0, $bd013581c0a4b065$export$3cb274deb6c2d854)();
|
|
29
|
+
const { target: target, rowProps: rowProps } = props;
|
|
30
|
+
let ref = (0, $khOO8$useRef)();
|
|
31
|
+
let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator(props, dropState, ref);
|
|
32
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $khOO8$useVisuallyHidden)();
|
|
33
|
+
let isDropTarget = dropState.isDropTarget(target);
|
|
34
|
+
if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
|
|
35
|
+
return /*#__PURE__*/ (0, $khOO8$react).createElement("div", {
|
|
36
|
+
style: {
|
|
37
|
+
position: "absolute",
|
|
38
|
+
top: rowProps.style.top + (target.dropPosition === "after" ? rowProps.style.height : 0),
|
|
39
|
+
width: rowProps.style.width
|
|
40
|
+
},
|
|
41
|
+
role: "row",
|
|
42
|
+
"aria-hidden": dropIndicatorProps["aria-hidden"]
|
|
43
|
+
}, /*#__PURE__*/ (0, $khOO8$react).createElement("div", {
|
|
44
|
+
role: "gridcell",
|
|
45
|
+
className: (0, $khOO8$classNames)((0, ($parcel$interopDefault($khOO8$table_cssmodulejs))), "react-spectrum-Table-InsertionIndicator", {
|
|
46
|
+
"react-spectrum-Table-InsertionIndicator--dropTarget": isDropTarget
|
|
47
|
+
})
|
|
48
|
+
}, /*#__PURE__*/ (0, $khOO8$react).createElement("div", {
|
|
49
|
+
...visuallyHiddenProps,
|
|
50
|
+
role: "button",
|
|
51
|
+
...dropIndicatorProps,
|
|
52
|
+
ref: ref
|
|
53
|
+
})));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
export {$7ee9a922ee4e8032$export$2c0bab5914a9d088 as InsertionIndicator};
|
|
58
|
+
//# sourceMappingURL=InsertionIndicator.mjs.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import "./table.b13eee90.css";
|
|
2
|
+
import $khOO8$table_cssmodulejs from "./table_css.module.js";
|
|
3
|
+
import {useTableContext as $bd013581c0a4b065$export$3cb274deb6c2d854} from "./TableViewBase.module.js";
|
|
4
|
+
import {classNames as $khOO8$classNames} from "@react-spectrum/utils";
|
|
5
|
+
import $khOO8$react, {useRef as $khOO8$useRef} from "react";
|
|
6
|
+
import {useVisuallyHidden as $khOO8$useVisuallyHidden} from "@react-aria/visually-hidden";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
function $parcel$interopDefault(a) {
|
|
10
|
+
return a && a.__esModule ? a.default : a;
|
|
11
|
+
}
|
|
12
|
+
/*
|
|
13
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
14
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
15
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
16
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
19
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
20
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
21
|
+
* governing permissions and limitations under the License.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
function $7ee9a922ee4e8032$export$2c0bab5914a9d088(props) {
|
|
28
|
+
let { dropState: dropState, dragAndDropHooks: dragAndDropHooks } = (0, $bd013581c0a4b065$export$3cb274deb6c2d854)();
|
|
29
|
+
const { target: target, rowProps: rowProps } = props;
|
|
30
|
+
let ref = (0, $khOO8$useRef)();
|
|
31
|
+
let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator(props, dropState, ref);
|
|
32
|
+
let { visuallyHiddenProps: visuallyHiddenProps } = (0, $khOO8$useVisuallyHidden)();
|
|
33
|
+
let isDropTarget = dropState.isDropTarget(target);
|
|
34
|
+
if (!isDropTarget && dropIndicatorProps["aria-hidden"]) return null;
|
|
35
|
+
return /*#__PURE__*/ (0, $khOO8$react).createElement("div", {
|
|
36
|
+
style: {
|
|
37
|
+
position: "absolute",
|
|
38
|
+
top: rowProps.style.top + (target.dropPosition === "after" ? rowProps.style.height : 0),
|
|
39
|
+
width: rowProps.style.width
|
|
40
|
+
},
|
|
41
|
+
role: "row",
|
|
42
|
+
"aria-hidden": dropIndicatorProps["aria-hidden"]
|
|
43
|
+
}, /*#__PURE__*/ (0, $khOO8$react).createElement("div", {
|
|
44
|
+
role: "gridcell",
|
|
45
|
+
className: (0, $khOO8$classNames)((0, ($parcel$interopDefault($khOO8$table_cssmodulejs))), "react-spectrum-Table-InsertionIndicator", {
|
|
46
|
+
"react-spectrum-Table-InsertionIndicator--dropTarget": isDropTarget
|
|
47
|
+
})
|
|
48
|
+
}, /*#__PURE__*/ (0, $khOO8$react).createElement("div", {
|
|
49
|
+
...visuallyHiddenProps,
|
|
50
|
+
role: "button",
|
|
51
|
+
...dropIndicatorProps,
|
|
52
|
+
ref: ref
|
|
53
|
+
})));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
export {$7ee9a922ee4e8032$export$2c0bab5914a9d088 as InsertionIndicator};
|
|
58
|
+
//# sourceMappingURL=InsertionIndicator.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAcM,SAAS,0CAAmB,KAA8B;IAC/D,IAAI,aAAC,SAAS,oBAAE,gBAAgB,EAAC,GAAG,CAAA,GAAA,yCAAc;IAClD,MAAM,UAAC,MAAM,YAAE,QAAQ,EAAC,GAAG;IAE3B,IAAI,MAAM,CAAA,GAAA,aAAK;IACf,IAAI,sBAAC,kBAAkB,EAAC,GAAG,iBAAiB,gBAAgB,CAAC,OAAO,WAAW;IAC/E,IAAI,uBAAC,mBAAmB,EAAC,GAAG,CAAA,GAAA,wBAAgB;IAE5C,IAAI,eAAe,UAAU,YAAY,CAAC;IAE1C,IAAI,CAAC,gBAAgB,kBAAkB,CAAC,cAAc,EACpD,OAAO;IAGT,qBACE,gCAAC;QACC,OAAO;YACL,UAAU;YACV,KAAK,SAAS,KAAK,CAAC,GAAG,GAAc,CAAA,OAAO,YAAY,KAAK,UAAU,SAAS,KAAK,CAAC,MAAM,GAAa,CAAA;YACzG,OAAO,SAAS,KAAK,CAAC,KAAK;QAC7B;QACA,MAAK;QACL,eAAa,kBAAkB,CAAC,cAAc;qBAC9C,gCAAC;QACC,MAAK;QACL,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,kDAAK,GACL,2CACA;YACE,uDAAuD;QACzD;qBAEJ,gCAAC;QAAK,GAAG,mBAAmB;QAAE,MAAK;QAAU,GAAG,kBAAkB;QAAE,KAAK;;AAIjF","sources":["packages/@react-spectrum/table/src/InsertionIndicator.tsx"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableElement, ItemDropTarget} from '@react-types/shared';\nimport React, {DOMAttributes, HTMLAttributes, useRef} from 'react';\nimport styles from './table.css';\nimport {useTableContext} from './TableViewBase';\nimport {useVisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface InsertionIndicatorProps {\n target: ItemDropTarget,\n rowProps: HTMLAttributes<HTMLElement> & DOMAttributes<FocusableElement>\n}\n\nexport function InsertionIndicator(props: InsertionIndicatorProps) {\n let {dropState, dragAndDropHooks} = useTableContext();\n const {target, rowProps} = props;\n\n let ref = useRef();\n let {dropIndicatorProps} = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n let {visuallyHiddenProps} = useVisuallyHidden();\n\n let isDropTarget = dropState.isDropTarget(target);\n\n if (!isDropTarget && dropIndicatorProps['aria-hidden']) {\n return null;\n }\n\n return (\n <div\n style={{\n position: 'absolute',\n top: rowProps.style.top as number + (target.dropPosition === 'after' ? rowProps.style.height as number : 0),\n width: rowProps.style.width\n }}\n role=\"row\"\n aria-hidden={dropIndicatorProps['aria-hidden']}>\n <div\n role=\"gridcell\"\n className={\n classNames(\n styles,\n 'react-spectrum-Table-InsertionIndicator',\n {\n 'react-spectrum-Table-InsertionIndicator--dropTarget': isDropTarget\n }\n )}>\n <div {...visuallyHiddenProps} role=\"button\" {...dropIndicatorProps} ref={ref} />\n </div>\n </div>\n );\n}\n"],"names":[],"version":3,"file":"InsertionIndicator.module.js.map"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
var $gJLUI$react = require("react");
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
function $parcel$interopDefault(a) {
|
|
5
|
+
return a && a.__esModule ? a.default : a;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
function $parcel$export(e, n, v, s) {
|
|
9
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
$parcel$export(module.exports, "Nubbin", () => $18b3deb5c431fa13$export$d9658cdf8c86807);
|
|
13
|
+
/*
|
|
14
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
15
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
+
*
|
|
19
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
+
* governing permissions and limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
function $18b3deb5c431fa13$export$d9658cdf8c86807() {
|
|
25
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($gJLUI$react))).createElement("svg", {
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: "16",
|
|
28
|
+
height: "16",
|
|
29
|
+
viewBox: "0 0 16 16"
|
|
30
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($gJLUI$react))).createElement("g", {
|
|
31
|
+
fill: "var(--spectrum-global-color-blue-600)",
|
|
32
|
+
stroke: "var(--spectrum-global-color-blue-600)",
|
|
33
|
+
strokeWidth: "2"
|
|
34
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($gJLUI$react))).createElement("circle", {
|
|
35
|
+
cx: "8",
|
|
36
|
+
cy: "8",
|
|
37
|
+
r: "8",
|
|
38
|
+
stroke: "none"
|
|
39
|
+
}), /*#__PURE__*/ (0, ($parcel$interopDefault($gJLUI$react))).createElement("circle", {
|
|
40
|
+
cx: "8",
|
|
41
|
+
cy: "8",
|
|
42
|
+
r: "7",
|
|
43
|
+
fill: "none"
|
|
44
|
+
})), /*#__PURE__*/ (0, ($parcel$interopDefault($gJLUI$react))).createElement("path", {
|
|
45
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
46
|
+
transform: "translate(2116 7385.763)",
|
|
47
|
+
fill: "#fff",
|
|
48
|
+
stroke: "#fff",
|
|
49
|
+
strokeLinejoin: "round",
|
|
50
|
+
strokeWidth: "2"
|
|
51
|
+
}), /*#__PURE__*/ (0, ($parcel$interopDefault($gJLUI$react))).createElement("path", {
|
|
52
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
53
|
+
transform: "translate(-2100 -7369.763) rotate(180)",
|
|
54
|
+
fill: "#fff",
|
|
55
|
+
stroke: "#fff",
|
|
56
|
+
strokeLinejoin: "round",
|
|
57
|
+
strokeWidth: "2"
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=Nubbin.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;AAMM,SAAS;IACd,qBACE,0DAAC;QAAI,OAAM;QAA6B,OAAM;QAAK,QAAO;QAAK,SAAQ;qBACrE,0DAAC;QAAE,MAAK;QAAwC,QAAO;QAAwC,aAAY;qBACzG,0DAAC;QAAO,IAAG;QAAI,IAAG;QAAI,GAAE;QAAI,QAAO;sBACnC,0DAAC;QAAO,IAAG;QAAI,IAAG;QAAI,GAAE;QAAI,MAAK;uBAEnC,0DAAC;QAAK,GAAE;QAA+B,WAAU;QAA2B,MAAK;QAAO,QAAO;QAAO,gBAAe;QAAQ,aAAY;sBACzI,0DAAC;QAAK,GAAE;QAA+B,WAAU;QAAyC,MAAK;QAAO,QAAO;QAAO,gBAAe;QAAQ,aAAY;;AAG7J","sources":["packages/@react-spectrum/table/src/Nubbin.tsx"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport React from 'react';\n\n\n// TODO resize with scale? colors should be variables\nexport function Nubbin() {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <g fill=\"var(--spectrum-global-color-blue-600)\" stroke=\"var(--spectrum-global-color-blue-600)\" strokeWidth=\"2\">\n <circle cx=\"8\" cy=\"8\" r=\"8\" stroke=\"none\" />\n <circle cx=\"8\" cy=\"8\" r=\"7\" fill=\"none\" />\n </g>\n <path d=\"M-2106-7380.263v5l2.5-2.551Z\" transform=\"translate(2116 7385.763)\" fill=\"#fff\" stroke=\"#fff\" strokeLinejoin=\"round\" strokeWidth=\"2\" />\n <path d=\"M-2106-7380.263v5l2.5-2.551Z\" transform=\"translate(-2100 -7369.763) rotate(180)\" fill=\"#fff\" stroke=\"#fff\" strokeLinejoin=\"round\" strokeWidth=\"2\" />\n </svg>\n );\n}\n"],"names":[],"version":3,"file":"Nubbin.main.js.map"}
|
package/dist/Nubbin.mjs
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import $eF84h$react from "react";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
5
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
7
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
11
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
+
* governing permissions and limitations under the License.
|
|
13
|
+
*/
|
|
14
|
+
function $cb7d341e8868d81d$export$d9658cdf8c86807() {
|
|
15
|
+
return /*#__PURE__*/ (0, $eF84h$react).createElement("svg", {
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
width: "16",
|
|
18
|
+
height: "16",
|
|
19
|
+
viewBox: "0 0 16 16"
|
|
20
|
+
}, /*#__PURE__*/ (0, $eF84h$react).createElement("g", {
|
|
21
|
+
fill: "var(--spectrum-global-color-blue-600)",
|
|
22
|
+
stroke: "var(--spectrum-global-color-blue-600)",
|
|
23
|
+
strokeWidth: "2"
|
|
24
|
+
}, /*#__PURE__*/ (0, $eF84h$react).createElement("circle", {
|
|
25
|
+
cx: "8",
|
|
26
|
+
cy: "8",
|
|
27
|
+
r: "8",
|
|
28
|
+
stroke: "none"
|
|
29
|
+
}), /*#__PURE__*/ (0, $eF84h$react).createElement("circle", {
|
|
30
|
+
cx: "8",
|
|
31
|
+
cy: "8",
|
|
32
|
+
r: "7",
|
|
33
|
+
fill: "none"
|
|
34
|
+
})), /*#__PURE__*/ (0, $eF84h$react).createElement("path", {
|
|
35
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
36
|
+
transform: "translate(2116 7385.763)",
|
|
37
|
+
fill: "#fff",
|
|
38
|
+
stroke: "#fff",
|
|
39
|
+
strokeLinejoin: "round",
|
|
40
|
+
strokeWidth: "2"
|
|
41
|
+
}), /*#__PURE__*/ (0, $eF84h$react).createElement("path", {
|
|
42
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
43
|
+
transform: "translate(-2100 -7369.763) rotate(180)",
|
|
44
|
+
fill: "#fff",
|
|
45
|
+
stroke: "#fff",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: "2"
|
|
48
|
+
}));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
export {$cb7d341e8868d81d$export$d9658cdf8c86807 as Nubbin};
|
|
53
|
+
//# sourceMappingURL=Nubbin.mjs.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import $eF84h$react from "react";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
5
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
7
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
11
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
+
* governing permissions and limitations under the License.
|
|
13
|
+
*/
|
|
14
|
+
function $cb7d341e8868d81d$export$d9658cdf8c86807() {
|
|
15
|
+
return /*#__PURE__*/ (0, $eF84h$react).createElement("svg", {
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
width: "16",
|
|
18
|
+
height: "16",
|
|
19
|
+
viewBox: "0 0 16 16"
|
|
20
|
+
}, /*#__PURE__*/ (0, $eF84h$react).createElement("g", {
|
|
21
|
+
fill: "var(--spectrum-global-color-blue-600)",
|
|
22
|
+
stroke: "var(--spectrum-global-color-blue-600)",
|
|
23
|
+
strokeWidth: "2"
|
|
24
|
+
}, /*#__PURE__*/ (0, $eF84h$react).createElement("circle", {
|
|
25
|
+
cx: "8",
|
|
26
|
+
cy: "8",
|
|
27
|
+
r: "8",
|
|
28
|
+
stroke: "none"
|
|
29
|
+
}), /*#__PURE__*/ (0, $eF84h$react).createElement("circle", {
|
|
30
|
+
cx: "8",
|
|
31
|
+
cy: "8",
|
|
32
|
+
r: "7",
|
|
33
|
+
fill: "none"
|
|
34
|
+
})), /*#__PURE__*/ (0, $eF84h$react).createElement("path", {
|
|
35
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
36
|
+
transform: "translate(2116 7385.763)",
|
|
37
|
+
fill: "#fff",
|
|
38
|
+
stroke: "#fff",
|
|
39
|
+
strokeLinejoin: "round",
|
|
40
|
+
strokeWidth: "2"
|
|
41
|
+
}), /*#__PURE__*/ (0, $eF84h$react).createElement("path", {
|
|
42
|
+
d: "M-2106-7380.263v5l2.5-2.551Z",
|
|
43
|
+
transform: "translate(-2100 -7369.763) rotate(180)",
|
|
44
|
+
fill: "#fff",
|
|
45
|
+
stroke: "#fff",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: "2"
|
|
48
|
+
}));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
export {$cb7d341e8868d81d$export$d9658cdf8c86807 as Nubbin};
|
|
53
|
+
//# sourceMappingURL=Nubbin.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC;AAMM,SAAS;IACd,qBACE,gCAAC;QAAI,OAAM;QAA6B,OAAM;QAAK,QAAO;QAAK,SAAQ;qBACrE,gCAAC;QAAE,MAAK;QAAwC,QAAO;QAAwC,aAAY;qBACzG,gCAAC;QAAO,IAAG;QAAI,IAAG;QAAI,GAAE;QAAI,QAAO;sBACnC,gCAAC;QAAO,IAAG;QAAI,IAAG;QAAI,GAAE;QAAI,MAAK;uBAEnC,gCAAC;QAAK,GAAE;QAA+B,WAAU;QAA2B,MAAK;QAAO,QAAO;QAAO,gBAAe;QAAQ,aAAY;sBACzI,gCAAC;QAAK,GAAE;QAA+B,WAAU;QAAyC,MAAK;QAAO,QAAO;QAAO,gBAAe;QAAQ,aAAY;;AAG7J","sources":["packages/@react-spectrum/table/src/Nubbin.tsx"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport React from 'react';\n\n\n// TODO resize with scale? colors should be variables\nexport function Nubbin() {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <g fill=\"var(--spectrum-global-color-blue-600)\" stroke=\"var(--spectrum-global-color-blue-600)\" strokeWidth=\"2\">\n <circle cx=\"8\" cy=\"8\" r=\"8\" stroke=\"none\" />\n <circle cx=\"8\" cy=\"8\" r=\"7\" fill=\"none\" />\n </g>\n <path d=\"M-2106-7380.263v5l2.5-2.551Z\" transform=\"translate(2116 7385.763)\" fill=\"#fff\" stroke=\"#fff\" strokeLinejoin=\"round\" strokeWidth=\"2\" />\n <path d=\"M-2106-7380.263v5l2.5-2.551Z\" transform=\"translate(-2100 -7369.763) rotate(180)\" fill=\"#fff\" stroke=\"#fff\" strokeLinejoin=\"round\" strokeWidth=\"2\" />\n </svg>\n );\n}\n"],"names":[],"version":3,"file":"Nubbin.module.js.map"}
|