@react-stately/flags 3.0.5 → 3.1.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 +8 -1
- package/dist/main.js +9 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +8 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +9 -0
package/dist/import.mjs
CHANGED
|
@@ -9,13 +9,20 @@
|
|
|
9
9
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/ let $f4e2df6bd15f8569$var$_tableNestedRows = false;
|
|
12
|
+
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
12
13
|
function $f4e2df6bd15f8569$export$d9d8a0f82de49530() {
|
|
13
14
|
$f4e2df6bd15f8569$var$_tableNestedRows = true;
|
|
14
15
|
}
|
|
15
16
|
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
16
17
|
return $f4e2df6bd15f8569$var$_tableNestedRows;
|
|
17
18
|
}
|
|
19
|
+
function $f4e2df6bd15f8569$export$12b151d9882e9985() {
|
|
20
|
+
$f4e2df6bd15f8569$var$_shadowDOM = true;
|
|
21
|
+
}
|
|
22
|
+
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
23
|
+
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
24
|
+
}
|
|
18
25
|
|
|
19
26
|
|
|
20
|
-
export {$f4e2df6bd15f8569$export$d9d8a0f82de49530 as enableTableNestedRows, $f4e2df6bd15f8569$export$1b00cb14a96194e6 as tableNestedRows};
|
|
27
|
+
export {$f4e2df6bd15f8569$export$d9d8a0f82de49530 as enableTableNestedRows, $f4e2df6bd15f8569$export$1b00cb14a96194e6 as tableNestedRows, $f4e2df6bd15f8569$export$12b151d9882e9985 as enableShadowDOM, $f4e2df6bd15f8569$export$98658e8c59125e6a as shadowDOM};
|
|
21
28
|
//# sourceMappingURL=module.js.map
|
package/dist/main.js
CHANGED
|
@@ -5,6 +5,8 @@ function $parcel$export(e, n, v, s) {
|
|
|
5
5
|
|
|
6
6
|
$parcel$export(module.exports, "enableTableNestedRows", () => $b8649bdbb43830e8$export$d9d8a0f82de49530);
|
|
7
7
|
$parcel$export(module.exports, "tableNestedRows", () => $b8649bdbb43830e8$export$1b00cb14a96194e6);
|
|
8
|
+
$parcel$export(module.exports, "enableShadowDOM", () => $b8649bdbb43830e8$export$12b151d9882e9985);
|
|
9
|
+
$parcel$export(module.exports, "shadowDOM", () => $b8649bdbb43830e8$export$98658e8c59125e6a);
|
|
8
10
|
/*
|
|
9
11
|
* Copyright 2023 Adobe. All rights reserved.
|
|
10
12
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -16,12 +18,19 @@ $parcel$export(module.exports, "tableNestedRows", () => $b8649bdbb43830e8$export
|
|
|
16
18
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
17
19
|
* governing permissions and limitations under the License.
|
|
18
20
|
*/ let $b8649bdbb43830e8$var$_tableNestedRows = false;
|
|
21
|
+
let $b8649bdbb43830e8$var$_shadowDOM = false;
|
|
19
22
|
function $b8649bdbb43830e8$export$d9d8a0f82de49530() {
|
|
20
23
|
$b8649bdbb43830e8$var$_tableNestedRows = true;
|
|
21
24
|
}
|
|
22
25
|
function $b8649bdbb43830e8$export$1b00cb14a96194e6() {
|
|
23
26
|
return $b8649bdbb43830e8$var$_tableNestedRows;
|
|
24
27
|
}
|
|
28
|
+
function $b8649bdbb43830e8$export$12b151d9882e9985() {
|
|
29
|
+
$b8649bdbb43830e8$var$_shadowDOM = true;
|
|
30
|
+
}
|
|
31
|
+
function $b8649bdbb43830e8$export$98658e8c59125e6a() {
|
|
32
|
+
return $b8649bdbb43830e8$var$_shadowDOM;
|
|
33
|
+
}
|
|
25
34
|
|
|
26
35
|
|
|
27
36
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,IAAI,yCAAmB;AACvB,IAAI,mCAAa;AAEV,SAAS;IACd,yCAAmB;AACrB;AAEO,SAAS;IACd,OAAO;AACT;AAEO,SAAS;IACd,mCAAa;AACf;AAEO,SAAS;IACd,OAAO;AACT","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\nlet _tableNestedRows = false;\nlet _shadowDOM = false;\n\nexport function enableTableNestedRows() {\n _tableNestedRows = true;\n}\n\nexport function tableNestedRows() {\n return _tableNestedRows;\n}\n\nexport function enableShadowDOM() {\n _shadowDOM = true;\n}\n\nexport function shadowDOM() {\n return _shadowDOM;\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -9,13 +9,20 @@
|
|
|
9
9
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/ let $f4e2df6bd15f8569$var$_tableNestedRows = false;
|
|
12
|
+
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
12
13
|
function $f4e2df6bd15f8569$export$d9d8a0f82de49530() {
|
|
13
14
|
$f4e2df6bd15f8569$var$_tableNestedRows = true;
|
|
14
15
|
}
|
|
15
16
|
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
16
17
|
return $f4e2df6bd15f8569$var$_tableNestedRows;
|
|
17
18
|
}
|
|
19
|
+
function $f4e2df6bd15f8569$export$12b151d9882e9985() {
|
|
20
|
+
$f4e2df6bd15f8569$var$_shadowDOM = true;
|
|
21
|
+
}
|
|
22
|
+
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
23
|
+
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
24
|
+
}
|
|
18
25
|
|
|
19
26
|
|
|
20
|
-
export {$f4e2df6bd15f8569$export$d9d8a0f82de49530 as enableTableNestedRows, $f4e2df6bd15f8569$export$1b00cb14a96194e6 as tableNestedRows};
|
|
27
|
+
export {$f4e2df6bd15f8569$export$d9d8a0f82de49530 as enableTableNestedRows, $f4e2df6bd15f8569$export$1b00cb14a96194e6 as tableNestedRows, $f4e2df6bd15f8569$export$12b151d9882e9985 as enableShadowDOM, $f4e2df6bd15f8569$export$98658e8c59125e6a as shadowDOM};
|
|
21
28
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAAA;;;;;;;;;;CAUC,GAED,IAAI,yCAAmB;
|
|
1
|
+
{"mappings":"AAAA;;;;;;;;;;CAUC,GAED,IAAI,yCAAmB;AACvB,IAAI,mCAAa;AAEV,SAAS;IACd,yCAAmB;AACrB;AAEO,SAAS;IACd,OAAO;AACT;AAEO,SAAS;IACd,mCAAa;AACf;AAEO,SAAS;IACd,OAAO;AACT","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\nlet _tableNestedRows = false;\nlet _shadowDOM = false;\n\nexport function enableTableNestedRows() {\n _tableNestedRows = true;\n}\n\nexport function tableNestedRows() {\n return _tableNestedRows;\n}\n\nexport function enableShadowDOM() {\n _shadowDOM = true;\n}\n\nexport function shadowDOM() {\n return _shadowDOM;\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":"AAeA,8CAEC;AAED,2CAEC;AAED,wCAEC;AAED,qCAEC","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() {\n _tableNestedRows = true;\n}\n\nexport function tableNestedRows() {\n return _tableNestedRows;\n}\n\nexport function enableShadowDOM() {\n _shadowDOM = true;\n}\n\nexport function shadowDOM() {\n return _shadowDOM;\n}\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-stately/flags",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "4d3c72c94eea2d72eb3a0e7d56000c6ef7e39726"
|
|
31
31
|
}
|
package/src/index.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
let _tableNestedRows = false;
|
|
14
|
+
let _shadowDOM = false;
|
|
14
15
|
|
|
15
16
|
export function enableTableNestedRows() {
|
|
16
17
|
_tableNestedRows = true;
|
|
@@ -19,3 +20,11 @@ export function enableTableNestedRows() {
|
|
|
19
20
|
export function tableNestedRows() {
|
|
20
21
|
return _tableNestedRows;
|
|
21
22
|
}
|
|
23
|
+
|
|
24
|
+
export function enableShadowDOM() {
|
|
25
|
+
_shadowDOM = true;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export function shadowDOM() {
|
|
29
|
+
return _shadowDOM;
|
|
30
|
+
}
|