@react-spectrum/filetrigger 3.0.20 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- import {FileTrigger as $cf08b1e50217c842$re_export$FileTrigger} from "react-aria-components";
1
+ import {FileTrigger as $f4b64d11f825377d$re_export$FileTrigger} from "react-aria-components/FileTrigger";
2
2
 
3
3
  /*
4
4
  * Copyright 2024 Adobe. All rights reserved.
@@ -14,5 +14,5 @@ import {FileTrigger as $cf08b1e50217c842$re_export$FileTrigger} from "react-aria
14
14
 
15
15
 
16
16
 
17
- export {$cf08b1e50217c842$re_export$FileTrigger as FileTrigger};
17
+ export {$f4b64d11f825377d$re_export$FileTrigger as FileTrigger};
18
18
  //# sourceMappingURL=module.js.map
package/dist/main.js CHANGED
@@ -1,11 +1,11 @@
1
- var $2u8rV$reactariacomponents = require("react-aria-components");
1
+ var $lQFwc$reactariacomponentsFileTrigger = require("react-aria-components/FileTrigger");
2
2
 
3
3
 
4
4
  function $parcel$export(e, n, v, s) {
5
5
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
6
  }
7
7
 
8
- $parcel$export(module.exports, "FileTrigger", () => $2u8rV$reactariacomponents.FileTrigger);
8
+ $parcel$export(module.exports, "FileTrigger", function () { return $lQFwc$reactariacomponentsFileTrigger.FileTrigger; });
9
9
  /*
10
10
  * Copyright 2024 Adobe. All rights reserved.
11
11
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/filetrigger/src/index.ts"],"sourcesContent":["/*\n * Copyright 2024 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\n/// <reference types=\"css-module-types\" />\n\nexport {FileTrigger} from 'react-aria-components';\nexport type {FileTriggerProps} from 'react-aria-components';\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/filetrigger/src/index.ts"],"sourcesContent":["/*\n * Copyright 2024 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\n/// <reference types=\"css-module-types\" />\n\nexport {FileTrigger} from 'react-aria-components/FileTrigger';\nexport type {FileTriggerProps} from 'react-aria-components/FileTrigger';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,4 +1,4 @@
1
- import {FileTrigger as $cf08b1e50217c842$re_export$FileTrigger} from "react-aria-components";
1
+ import {FileTrigger as $f4b64d11f825377d$re_export$FileTrigger} from "react-aria-components/FileTrigger";
2
2
 
3
3
  /*
4
4
  * Copyright 2024 Adobe. All rights reserved.
@@ -14,5 +14,5 @@ import {FileTrigger as $cf08b1e50217c842$re_export$FileTrigger} from "react-aria
14
14
 
15
15
 
16
16
 
17
- export {$cf08b1e50217c842$re_export$FileTrigger as FileTrigger};
17
+ export {$f4b64d11f825377d$re_export$FileTrigger as FileTrigger};
18
18
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/filetrigger/src/index.ts"],"sourcesContent":["/*\n * Copyright 2024 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\n/// <reference types=\"css-module-types\" />\n\nexport {FileTrigger} from 'react-aria-components';\nexport type {FileTriggerProps} from 'react-aria-components';\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/filetrigger/src/index.ts"],"sourcesContent":["/*\n * Copyright 2024 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\n/// <reference types=\"css-module-types\" />\n\nexport {FileTrigger} from 'react-aria-components/FileTrigger';\nexport type {FileTriggerProps} from 'react-aria-components/FileTrigger';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -0,0 +1,2 @@
1
+ export { FileTrigger } from 'react-aria-components/FileTrigger';
2
+ export type { FileTriggerProps } from 'react-aria-components/FileTrigger';
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@react-spectrum/filetrigger",
3
- "version": "3.0.20",
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",
7
7
  "module": "dist/module.js",
8
8
  "exports": {
9
- "source": "./src/index.ts",
10
- "types": [
11
- "./dist/types.d.ts",
12
- "./src/index.ts"
13
- ],
14
- "import": "./dist/import.mjs",
15
- "require": "./dist/main.js"
9
+ ".": {
10
+ "source": "./src/index.ts",
11
+ "types": "./dist/types/src/index.d.ts",
12
+ "import": "./dist/import.mjs",
13
+ "require": "./dist/main.js"
14
+ },
15
+ "./package.json": "./package.json"
16
16
  },
17
- "types": "dist/types.d.ts",
17
+ "types": "dist/types/src/index.d.ts",
18
18
  "source": "src/index.ts",
19
19
  "files": [
20
20
  "dist",
@@ -24,16 +24,7 @@
24
24
  "*.css"
25
25
  ],
26
26
  "targets": {
27
- "main": {
28
- "includeNodeModules": [
29
- "@adobe/spectrum-css-temp"
30
- ]
31
- },
32
- "module": {
33
- "includeNodeModules": [
34
- "@adobe/spectrum-css-temp"
35
- ]
36
- }
27
+ "types": false
37
28
  },
38
29
  "repository": {
39
30
  "type": "git",
@@ -41,10 +32,9 @@
41
32
  },
42
33
  "dependencies": {
43
34
  "@swc/helpers": "^0.5.0",
44
- "react-aria-components": "^1.15.0"
35
+ "react-aria-components": "1.17.0"
45
36
  },
46
37
  "peerDependencies": {
47
- "@react-spectrum/provider": "^3.0.0",
48
38
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
49
39
  "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
50
40
  },
@@ -52,8 +42,7 @@
52
42
  "access": "public"
53
43
  },
54
44
  "devDependencies": {
55
- "@adobe/spectrum-css-temp": "3.0.0-alpha.1",
56
45
  "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
57
46
  },
58
- "gitHead": "66e51757606b43a89ed02c574ca24517323a2ab9"
47
+ "gitHead": "a6999bdf494a2e9c0381a5881908328bdd22ddae"
59
48
  }
package/src/index.ts CHANGED
@@ -12,5 +12,5 @@
12
12
 
13
13
  /// <reference types="css-module-types" />
14
14
 
15
- export {FileTrigger} from 'react-aria-components';
16
- export type {FileTriggerProps} from 'react-aria-components';
15
+ export {FileTrigger} from 'react-aria-components/FileTrigger';
16
+ export type {FileTriggerProps} from 'react-aria-components/FileTrigger';
package/dist/types.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export { FileTrigger } from 'react-aria-components';
2
- export type { FileTriggerProps } from 'react-aria-components';
3
-
4
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"mappings":"AAcA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,YAAY,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC","sources":["packages/@react-spectrum/filetrigger/src/packages/@react-spectrum/filetrigger/src/index.ts","packages/@react-spectrum/filetrigger/src/index.ts"],"sourcesContent":[null,"/*\n * Copyright 2024 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\n/// <reference types=\"css-module-types\" />\n\nexport {FileTrigger} from 'react-aria-components';\nexport type {FileTriggerProps} from 'react-aria-components';\n"],"names":[],"version":3,"file":"types.d.ts.map"}