@spectrum-icons/illustrations 3.5.3 → 3.5.4-nightly.3627

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-icons/illustrations",
3
- "version": "3.5.3",
3
+ "version": "3.5.4-nightly.3627+79f62e8fb",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -11,12 +11,12 @@
11
11
  "build-icons": "cross-env BUILD_ENV=production babel --root-mode upward src -d . --extensions '.ts,.tsx' && tsc --project ./tsconfig.types.json"
12
12
  },
13
13
  "dependencies": {
14
- "@react-aria/utils": "^3.14.2",
15
- "@react-spectrum/icon": "^3.6.3",
14
+ "@react-aria/utils": "3.0.0-nightly.1927+79f62e8fb",
15
+ "@react-spectrum/icon": "3.0.0-nightly.1927+79f62e8fb",
16
16
  "@swc/helpers": "^0.4.14"
17
17
  },
18
18
  "devDependencies": {
19
- "@spectrum-icons/build-tools": "3.0.0-alpha.1"
19
+ "@spectrum-icons/build-tools": "3.0.0-nightly.1927+79f62e8fb"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @spectrum-icons/illustrations
2
-
3
- This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details.
package/utils.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { AriaLabelingProps, DOMProps } from '@react-types/shared';
2
- import { SVGAttributes } from 'react';
3
- export interface IllustrationProps extends DOMProps, AriaLabelingProps {
4
- }
5
- export declare function getIllustrationProps(props: IllustrationProps): SVGAttributes<SVGElement>;
6
- //# sourceMappingURL=utils.d.ts.map
package/utils.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEpC,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,EAAE,iBAAiB;CAAG;AAEzE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,iBAAiB,GAAG,aAAa,CAAC,UAAU,CAAC,CAOxF"}
package/utils.js DELETED
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.getIllustrationProps = getIllustrationProps;
5
-
6
- var _utils = require("@react-aria/utils");
7
-
8
- function getIllustrationProps(props) {
9
- let hasLabel = props['aria-label'] || props['aria-labelledby'];
10
- return { ...(0, _utils.filterDOMProps)(props, {
11
- labelable: true
12
- }),
13
- role: hasLabel ? 'img' : undefined,
14
- 'aria-hidden': hasLabel ? undefined : true
15
- };
16
- }