@react-stately/flags 3.1.2 → 3.2.0
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 +4 -15
- package/dist/main.js +7 -18
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -15
- package/dist/module.js.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/package.json +19 -11
- package/src/index.ts +1 -18
- package/dist/types.d.ts +0 -6
- package/dist/types.d.ts.map +0 -1
package/dist/import.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import {enableTableNestedRows as $e75b81e73bae9578$re_export$enableTableNestedRows, tableNestedRows as $e75b81e73bae9578$re_export$tableNestedRows, enableShadowDOM as $e75b81e73bae9578$re_export$enableShadowDOM, shadowDOM as $e75b81e73bae9578$re_export$shadowDOM} from "react-stately/private/flags/flags";
|
|
2
|
+
|
|
1
3
|
/*
|
|
2
4
|
* Copyright 2023 Adobe. All rights reserved.
|
|
3
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -8,21 +10,8 @@
|
|
|
8
10
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
11
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
12
|
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
13
|
-
function $f4e2df6bd15f8569$export$d9d8a0f82de49530() {
|
|
14
|
-
$f4e2df6bd15f8569$var$_tableNestedRows = true;
|
|
15
|
-
}
|
|
16
|
-
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
17
|
-
return $f4e2df6bd15f8569$var$_tableNestedRows;
|
|
18
|
-
}
|
|
19
|
-
function $f4e2df6bd15f8569$export$12b151d9882e9985() {
|
|
20
|
-
$f4e2df6bd15f8569$var$_shadowDOM = true;
|
|
21
|
-
}
|
|
22
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
23
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
24
|
-
}
|
|
13
|
+
*/
|
|
25
14
|
|
|
26
15
|
|
|
27
|
-
export {$
|
|
16
|
+
export {$e75b81e73bae9578$re_export$enableTableNestedRows as enableTableNestedRows, $e75b81e73bae9578$re_export$tableNestedRows as tableNestedRows, $e75b81e73bae9578$re_export$enableShadowDOM as enableShadowDOM, $e75b81e73bae9578$re_export$shadowDOM as shadowDOM};
|
|
28
17
|
//# sourceMappingURL=module.js.map
|
package/dist/main.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
var $264no$reactstatelyprivateflagsflags = require("react-stately/private/flags/flags");
|
|
2
|
+
|
|
1
3
|
|
|
2
4
|
function $parcel$export(e, n, v, s) {
|
|
3
5
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
6
|
}
|
|
5
7
|
|
|
6
|
-
$parcel$export(module.exports, "enableTableNestedRows", ()
|
|
7
|
-
$parcel$export(module.exports, "tableNestedRows", ()
|
|
8
|
-
$parcel$export(module.exports, "enableShadowDOM", ()
|
|
9
|
-
$parcel$export(module.exports, "shadowDOM", ()
|
|
8
|
+
$parcel$export(module.exports, "enableTableNestedRows", function () { return $264no$reactstatelyprivateflagsflags.enableTableNestedRows; });
|
|
9
|
+
$parcel$export(module.exports, "tableNestedRows", function () { return $264no$reactstatelyprivateflagsflags.tableNestedRows; });
|
|
10
|
+
$parcel$export(module.exports, "enableShadowDOM", function () { return $264no$reactstatelyprivateflagsflags.enableShadowDOM; });
|
|
11
|
+
$parcel$export(module.exports, "shadowDOM", function () { return $264no$reactstatelyprivateflagsflags.shadowDOM; });
|
|
10
12
|
/*
|
|
11
13
|
* Copyright 2023 Adobe. All rights reserved.
|
|
12
14
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -17,20 +19,7 @@ $parcel$export(module.exports, "shadowDOM", () => $b8649bdbb43830e8$export$98658
|
|
|
17
19
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
18
20
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
19
21
|
* governing permissions and limitations under the License.
|
|
20
|
-
*/
|
|
21
|
-
let $b8649bdbb43830e8$var$_shadowDOM = false;
|
|
22
|
-
function $b8649bdbb43830e8$export$d9d8a0f82de49530() {
|
|
23
|
-
$b8649bdbb43830e8$var$_tableNestedRows = true;
|
|
24
|
-
}
|
|
25
|
-
function $b8649bdbb43830e8$export$1b00cb14a96194e6() {
|
|
26
|
-
return $b8649bdbb43830e8$var$_tableNestedRows;
|
|
27
|
-
}
|
|
28
|
-
function $b8649bdbb43830e8$export$12b151d9882e9985() {
|
|
29
|
-
$b8649bdbb43830e8$var$_shadowDOM = true;
|
|
30
|
-
}
|
|
31
|
-
function $b8649bdbb43830e8$export$98658e8c59125e6a() {
|
|
32
|
-
return $b8649bdbb43830e8$var$_shadowDOM;
|
|
33
|
-
}
|
|
22
|
+
*/
|
|
34
23
|
|
|
35
24
|
|
|
36
25
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-stately/flags/src/index.ts"],"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\nexport {enableTableNestedRows, tableNestedRows, enableShadowDOM, shadowDOM} from 'react-stately/private/flags/flags';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import {enableTableNestedRows as $e75b81e73bae9578$re_export$enableTableNestedRows, tableNestedRows as $e75b81e73bae9578$re_export$tableNestedRows, enableShadowDOM as $e75b81e73bae9578$re_export$enableShadowDOM, shadowDOM as $e75b81e73bae9578$re_export$shadowDOM} from "react-stately/private/flags/flags";
|
|
2
|
+
|
|
1
3
|
/*
|
|
2
4
|
* Copyright 2023 Adobe. All rights reserved.
|
|
3
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -8,21 +10,8 @@
|
|
|
8
10
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
11
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
12
|
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
13
|
-
function $f4e2df6bd15f8569$export$d9d8a0f82de49530() {
|
|
14
|
-
$f4e2df6bd15f8569$var$_tableNestedRows = true;
|
|
15
|
-
}
|
|
16
|
-
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
17
|
-
return $f4e2df6bd15f8569$var$_tableNestedRows;
|
|
18
|
-
}
|
|
19
|
-
function $f4e2df6bd15f8569$export$12b151d9882e9985() {
|
|
20
|
-
$f4e2df6bd15f8569$var$_shadowDOM = true;
|
|
21
|
-
}
|
|
22
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
23
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
24
|
-
}
|
|
13
|
+
*/
|
|
25
14
|
|
|
26
15
|
|
|
27
|
-
export {$
|
|
16
|
+
export {$e75b81e73bae9578$re_export$enableTableNestedRows as enableTableNestedRows, $e75b81e73bae9578$re_export$tableNestedRows as tableNestedRows, $e75b81e73bae9578$re_export$enableShadowDOM as enableShadowDOM, $e75b81e73bae9578$re_export$shadowDOM as shadowDOM};
|
|
28
17
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAAA;;;;;;;;;;CAUC
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-stately/flags/src/index.ts"],"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\nexport {enableTableNestedRows, tableNestedRows, enableShadowDOM, shadowDOM} from 'react-stately/private/flags/flags';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { enableTableNestedRows, tableNestedRows, enableShadowDOM, shadowDOM } from 'react-stately/private/flags/flags';
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-stately/flags",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"module": "dist/module.js",
|
|
8
|
-
"types": "dist/types.d.ts",
|
|
8
|
+
"types": "dist/types/src/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"./dist/types.d.ts",
|
|
13
|
-
"./
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
10
|
+
".": {
|
|
11
|
+
"source": "./src/index.ts",
|
|
12
|
+
"types": "./dist/types/src/index.d.ts",
|
|
13
|
+
"import": "./dist/import.mjs",
|
|
14
|
+
"require": "./dist/main.js"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"source": "src/index.ts",
|
|
19
19
|
"files": [
|
|
@@ -26,10 +26,18 @@
|
|
|
26
26
|
"url": "https://github.com/adobe/react-spectrum"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@swc/helpers": "^0.5.0"
|
|
29
|
+
"@swc/helpers": "^0.5.0",
|
|
30
|
+
"react-stately": "3.46.0"
|
|
30
31
|
},
|
|
31
32
|
"publishConfig": {
|
|
32
33
|
"access": "public"
|
|
33
34
|
},
|
|
34
|
-
"
|
|
35
|
+
"targets": {
|
|
36
|
+
"types": false
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
|
|
40
|
+
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
41
|
+
},
|
|
42
|
+
"gitHead": "a6999bdf494a2e9c0381a5881908328bdd22ddae"
|
|
35
43
|
}
|
package/src/index.ts
CHANGED
|
@@ -10,21 +10,4 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
let _shadowDOM = false;
|
|
15
|
-
|
|
16
|
-
export function enableTableNestedRows(): void {
|
|
17
|
-
_tableNestedRows = true;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function tableNestedRows(): boolean {
|
|
21
|
-
return _tableNestedRows;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export function enableShadowDOM(): void {
|
|
25
|
-
_shadowDOM = true;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export function shadowDOM(): boolean {
|
|
29
|
-
return _shadowDOM;
|
|
30
|
-
}
|
|
13
|
+
export {enableTableNestedRows, tableNestedRows, enableShadowDOM, shadowDOM} from 'react-stately/private/flags/flags';
|
package/dist/types.d.ts
DELETED
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AAeA,yCAAyC,IAAI,CAE5C;AAED,mCAAmC,OAAO,CAEzC;AAED,mCAAmC,IAAI,CAEtC;AAED,6BAA6B,OAAO,CAEnC","sources":["packages/@react-stately/flags/src/packages/@react-stately/flags/src/index.ts","packages/@react-stately/flags/src/index.ts"],"sourcesContent":[null,"/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nlet _tableNestedRows = false;\nlet _shadowDOM = false;\n\nexport function enableTableNestedRows(): void {\n _tableNestedRows = true;\n}\n\nexport function tableNestedRows(): boolean {\n return _tableNestedRows;\n}\n\nexport function enableShadowDOM(): void {\n _shadowDOM = true;\n}\n\nexport function shadowDOM(): boolean {\n return _shadowDOM;\n}\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|