@react-spectrum/table 3.7.2-nightly.3796 → 3.7.2-nightly.3810
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/import.mjs +25 -6
- package/dist/main.js +25 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +25 -6
- package/dist/module.js.map +1 -1
- package/package.json +31 -31
- package/src/DragPreview.tsx +2 -1
- package/src/InsertionIndicator.tsx +12 -0
- package/src/Resizer.tsx +3 -6
- package/src/RootDropIndicator.tsx +12 -0
- package/src/TableView.tsx +3 -3
package/dist/import.mjs
CHANGED
|
@@ -57,7 +57,17 @@ function $parcel$export(e, n, v, s) {
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
/*
|
|
61
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
62
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
63
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
64
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
65
|
+
*
|
|
66
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
67
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
68
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
69
|
+
* governing permissions and limitations under the License.
|
|
70
|
+
*/
|
|
61
71
|
|
|
62
72
|
var $325bc3d43b25708b$exports = {};
|
|
63
73
|
|
|
@@ -805,7 +815,6 @@ $bd5d41f647a296c3$export$d3861fcb1e5f6a2b = "spectrum-Table-colResizeIndicator--
|
|
|
805
815
|
|
|
806
816
|
|
|
807
817
|
|
|
808
|
-
|
|
809
818
|
var $58407c2d4eb33511$exports = {};
|
|
810
819
|
$58407c2d4eb33511$exports = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"-1 0 31 32\">\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"0.5\" stdDeviation=\"1.2\" flood-opacity=\"0.7\"></feDropShadow>\n </filter>\n <g filter=\"url('#shadow')\">\n <path d=\"M9.5,2c.27614,0,.5,.22388,.5,.5v14c0,.27612-.22386,.5-.5,.5h-1c-.27614,0-.5-.22388-.5-.5v-6.5h-3v1.74951c0,.14893-.12215,.25049-.2513,.25049-.05457,0-.1104-.01819-.15875-.05847l-2.58995-2.44153,2.58995-2.44153c.04837-.04028,.10419-.05847,.15875-.05847,.12914,0,.2513,.10156,.2513,.25049v1.74951h3V2.5c0-.27612,.22386-.5,.5-.5h1Zm0-1h-1c-.82843,0-1.5,.67157-1.5,1.5v5.5h-1v-.67611c0-.40436-.1629-.80555-.48159-1.05444-.4961-.38744-1.14015-.33635-1.56876,.02095l-.02344,.01953-.0222,.02087L.92811,9.13618c-.20937,.19737-.20937,.53028,0,.72765l2.97589,2.80537,.0222,.02087,.02345,.01965c.42839,.35694,1.07208,.40833,1.56837,.02116,.31886-.24875,.48198-.64994,.48198-1.05435v-.67652s.99999,0,.99999,0v5.5c0,.82843,.67157,1.5,1.5,1.5h1c.82843,0,1.5-.67157,1.5-1.5V2.5c0-.82843-.67157-1.5-1.5-1.5Z\" fill=\"#fff\"></path>\n <path d=\"M10,16.5V2.5c0-.27614-.22386-.5-.5-.5h-1c-.27614,0-.5,.22386-.5,.5v6.5h-3v-1.74952c0-.21196-.24721-.32775-.41005-.19206l-2.58995,2.44158,2.58995,2.44158c.16283,.13569,.41005,.0199,.41005-.19206v-1.74952h3v6.5c0,.27614,.22386,.5,.5,.5h1c.27614,0,.5-.22386,.5-.5Z\"></path>\n </g>\n</svg>\n";
|
|
811
820
|
|
|
@@ -880,10 +889,10 @@ function $fc695d2eafc2b351$var$Resizer(props, ref) {
|
|
|
880
889
|
style: style,
|
|
881
890
|
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-columnResizer"),
|
|
882
891
|
...resizerProps
|
|
883
|
-
}, /*#__PURE__*/ (0, $gyhAV$react).createElement(
|
|
892
|
+
}, /*#__PURE__*/ (0, $gyhAV$react).createElement("input", {
|
|
884
893
|
ref: ref,
|
|
885
894
|
...inputProps
|
|
886
|
-
})))
|
|
895
|
+
}))), /*#__PURE__*/ (0, $gyhAV$react).createElement("div", {
|
|
887
896
|
"aria-hidden": true,
|
|
888
897
|
role: "presentation",
|
|
889
898
|
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-columnResizerPlaceholder")
|
|
@@ -907,7 +916,17 @@ function $fc695d2eafc2b351$var$CursorOverlay(props) {
|
|
|
907
916
|
const $fc695d2eafc2b351$export$48a76196cafe3b93 = /*#__PURE__*/ (0, $gyhAV$react).forwardRef($fc695d2eafc2b351$var$Resizer);
|
|
908
917
|
|
|
909
918
|
|
|
910
|
-
|
|
919
|
+
/*
|
|
920
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
921
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
922
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
923
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
924
|
+
*
|
|
925
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
926
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
927
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
928
|
+
* governing permissions and limitations under the License.
|
|
929
|
+
*/
|
|
911
930
|
|
|
912
931
|
|
|
913
932
|
function $4e6fc36ba71ba405$export$d30a7814cfd4033e() {
|
|
@@ -940,7 +959,7 @@ function $4e6fc36ba71ba405$export$d30a7814cfd4033e() {
|
|
|
940
959
|
|
|
941
960
|
|
|
942
961
|
/*
|
|
943
|
-
* Copyright
|
|
962
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
944
963
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
945
964
|
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
946
965
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
package/dist/main.js
CHANGED
|
@@ -65,7 +65,17 @@ $parcel$export(module.exports, "Cell", () => $3fpzo$reactstatelytable.Cell);
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
/*
|
|
69
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
70
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
71
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
72
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
73
|
+
*
|
|
74
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
75
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
76
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
77
|
+
* governing permissions and limitations under the License.
|
|
78
|
+
*/
|
|
69
79
|
|
|
70
80
|
var $4afcd54cfd94dbb9$exports = {};
|
|
71
81
|
|
|
@@ -813,7 +823,6 @@ $982885d0a34882ea$export$d3861fcb1e5f6a2b = "spectrum-Table-colResizeIndicator--
|
|
|
813
823
|
|
|
814
824
|
|
|
815
825
|
|
|
816
|
-
|
|
817
826
|
var $955f540cbcd8d857$exports = {};
|
|
818
827
|
$955f540cbcd8d857$exports = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"-1 0 31 32\">\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"0.5\" stdDeviation=\"1.2\" flood-opacity=\"0.7\"></feDropShadow>\n </filter>\n <g filter=\"url('#shadow')\">\n <path d=\"M9.5,2c.27614,0,.5,.22388,.5,.5v14c0,.27612-.22386,.5-.5,.5h-1c-.27614,0-.5-.22388-.5-.5v-6.5h-3v1.74951c0,.14893-.12215,.25049-.2513,.25049-.05457,0-.1104-.01819-.15875-.05847l-2.58995-2.44153,2.58995-2.44153c.04837-.04028,.10419-.05847,.15875-.05847,.12914,0,.2513,.10156,.2513,.25049v1.74951h3V2.5c0-.27612,.22386-.5,.5-.5h1Zm0-1h-1c-.82843,0-1.5,.67157-1.5,1.5v5.5h-1v-.67611c0-.40436-.1629-.80555-.48159-1.05444-.4961-.38744-1.14015-.33635-1.56876,.02095l-.02344,.01953-.0222,.02087L.92811,9.13618c-.20937,.19737-.20937,.53028,0,.72765l2.97589,2.80537,.0222,.02087,.02345,.01965c.42839,.35694,1.07208,.40833,1.56837,.02116,.31886-.24875,.48198-.64994,.48198-1.05435v-.67652s.99999,0,.99999,0v5.5c0,.82843,.67157,1.5,1.5,1.5h1c.82843,0,1.5-.67157,1.5-1.5V2.5c0-.82843-.67157-1.5-1.5-1.5Z\" fill=\"#fff\"></path>\n <path d=\"M10,16.5V2.5c0-.27614-.22386-.5-.5-.5h-1c-.27614,0-.5,.22386-.5,.5v6.5h-3v-1.74952c0-.21196-.24721-.32775-.41005-.19206l-2.58995,2.44158,2.58995,2.44158c.16283,.13569,.41005,.0199,.41005-.19206v-1.74952h3v6.5c0,.27614,.22386,.5,.5,.5h1c.27614,0,.5-.22386,.5-.5Z\"></path>\n </g>\n</svg>\n";
|
|
819
828
|
|
|
@@ -888,10 +897,10 @@ function $2877766f94c67a67$var$Resizer(props, ref) {
|
|
|
888
897
|
style: style,
|
|
889
898
|
className: (0, $3fpzo$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($982885d0a34882ea$exports))), "spectrum-Table-columnResizer"),
|
|
890
899
|
...resizerProps
|
|
891
|
-
}, /*#__PURE__*/ (0, ($parcel$interopDefault($3fpzo$react))).createElement(
|
|
900
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($3fpzo$react))).createElement("input", {
|
|
892
901
|
ref: ref,
|
|
893
902
|
...inputProps
|
|
894
|
-
})))
|
|
903
|
+
}))), /*#__PURE__*/ (0, ($parcel$interopDefault($3fpzo$react))).createElement("div", {
|
|
895
904
|
"aria-hidden": true,
|
|
896
905
|
role: "presentation",
|
|
897
906
|
className: (0, $3fpzo$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($982885d0a34882ea$exports))), "spectrum-Table-columnResizerPlaceholder")
|
|
@@ -915,7 +924,17 @@ function $2877766f94c67a67$var$CursorOverlay(props) {
|
|
|
915
924
|
const $2877766f94c67a67$export$48a76196cafe3b93 = /*#__PURE__*/ (0, ($parcel$interopDefault($3fpzo$react))).forwardRef($2877766f94c67a67$var$Resizer);
|
|
916
925
|
|
|
917
926
|
|
|
918
|
-
|
|
927
|
+
/*
|
|
928
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
929
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
930
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
931
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
932
|
+
*
|
|
933
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
934
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
935
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
936
|
+
* governing permissions and limitations under the License.
|
|
937
|
+
*/
|
|
919
938
|
|
|
920
939
|
|
|
921
940
|
function $4a98adf416b1ae5d$export$d30a7814cfd4033e() {
|
|
@@ -948,7 +967,7 @@ function $4a98adf416b1ae5d$export$d30a7814cfd4033e() {
|
|
|
948
967
|
|
|
949
968
|
|
|
950
969
|
/*
|
|
951
|
-
* Copyright
|
|
970
|
+
* Copyright 2023 Adobe. All rights reserved.
|
|
952
971
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
953
972
|
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
954
973
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|