@react-stately/flags 3.1.0 → 3.1.1
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/main.js.map +1 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -4
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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(): 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":"main.js.map"}
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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(): 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":"module.js.map"}
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAeA,
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-stately/flags",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
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": "9b66d270572f482948afee95622a85cdf68ed408"
|
|
31
31
|
}
|
package/src/index.ts
CHANGED
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
let _tableNestedRows = false;
|
|
14
14
|
let _shadowDOM = false;
|
|
15
15
|
|
|
16
|
-
export function enableTableNestedRows() {
|
|
16
|
+
export function enableTableNestedRows(): void {
|
|
17
17
|
_tableNestedRows = true;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export function tableNestedRows() {
|
|
20
|
+
export function tableNestedRows(): boolean {
|
|
21
21
|
return _tableNestedRows;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export function enableShadowDOM() {
|
|
24
|
+
export function enableShadowDOM(): void {
|
|
25
25
|
_shadowDOM = true;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export function shadowDOM() {
|
|
28
|
+
export function shadowDOM(): boolean {
|
|
29
29
|
return _shadowDOM;
|
|
30
30
|
}
|