@react-spectrum/avatar 3.0.11-nightly.4491 → 3.0.11-nightly.4502

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 "./main.css";
1
+ import "./module.css";
2
2
  import {useSlotProps as $85w8l$useSlotProps, useStyleProps as $85w8l$useStyleProps, useDOMRef as $85w8l$useDOMRef, dimensionValue as $85w8l$dimensionValue, classNames as $85w8l$classNames} from "@react-spectrum/utils";
3
3
  import {filterDOMProps as $85w8l$filterDOMProps} from "@react-aria/utils";
4
4
  import $85w8l$react, {forwardRef as $85w8l$forwardRef} from "react";
package/dist/main.css CHANGED
@@ -5,12 +5,9 @@
5
5
  -webkit-user-drag: none;
6
6
  -webkit-user-select: none;
7
7
  user-select: none;
8
- border-style: none;
9
- }
10
-
11
- .IFaZJG_spectrum-Avatar {
12
8
  opacity: var(--spectrum-avatar-small-opacity, 1);
13
9
  transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out;
10
+ border-style: none;
14
11
  outline: none;
15
12
  }
16
13
 
@@ -21,8 +18,7 @@
21
18
  @media (forced-colors: active) {
22
19
  .IFaZJG_spectrum-Avatar.IFaZJG_is-disabled {
23
20
  opacity: 1;
24
- border: 2px solid GrayText;
21
+ border: 2px solid graytext;
25
22
  }
26
23
  }
27
-
28
24
  /*# sourceMappingURL=main.css.map */
package/dist/main.css.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AAwBA;;;;;;;;;;AAuBA;;;;;;AAKE;;;;AAKF;EAEI","sources":["packages/@adobe/spectrum-css-temp/components/avatar/vars.css"],"sourcesContent":["/*\n * Copyright 2020 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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
1
+ {"mappings":"AAwBA;;;;;;;;;;;;;AA4BE;;;;AAKF;EAEI","sources":["packages/@adobe/spectrum-css-temp/components/avatar/vars.css"],"sourcesContent":["/*\n * Copyright 2020 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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
@@ -0,0 +1,24 @@
1
+ .IFaZJG_spectrum-Avatar {
2
+ width: var(--spectrum-avatar-small-width, var(--spectrum-global-dimension-size-200));
3
+ height: var(--spectrum-avatar-small-height, var(--spectrum-global-dimension-size-200));
4
+ border-radius: var(--spectrum-avatar-small-border-radius, 50%);
5
+ -webkit-user-drag: none;
6
+ -webkit-user-select: none;
7
+ user-select: none;
8
+ opacity: var(--spectrum-avatar-small-opacity, 1);
9
+ transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out;
10
+ border-style: none;
11
+ outline: none;
12
+ }
13
+
14
+ .IFaZJG_spectrum-Avatar.IFaZJG_is-disabled {
15
+ opacity: var(--spectrum-avatar-small-opacity-disabled, .3);
16
+ }
17
+
18
+ @media (forced-colors: active) {
19
+ .IFaZJG_spectrum-Avatar.IFaZJG_is-disabled {
20
+ opacity: 1;
21
+ border: 2px solid graytext;
22
+ }
23
+ }
24
+ /*# sourceMappingURL=module.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AAwBA;;;;;;;;;;;;;AA4BE;;;;AAKF;EAEI","sources":["packages/@adobe/spectrum-css-temp/components/avatar/vars.css"],"sourcesContent":["/*\n * Copyright 2020 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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.css.map"}
package/dist/module.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./main.css";
1
+ import "./module.css";
2
2
  import {useSlotProps as $85w8l$useSlotProps, useStyleProps as $85w8l$useStyleProps, useDOMRef as $85w8l$useDOMRef, dimensionValue as $85w8l$dimensionValue, classNames as $85w8l$classNames} from "@react-spectrum/utils";
3
3
  import {filterDOMProps as $85w8l$filterDOMProps} from "@react-aria/utils";
4
4
  import $85w8l$react, {forwardRef as $85w8l$forwardRef} from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/avatar",
3
- "version": "3.0.11-nightly.4491+d66cf4d8c",
3
+ "version": "3.0.11-nightly.4502+89fa370bd",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,14 +36,14 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/utils": "3.0.0-nightly.2779+d66cf4d8c",
40
- "@react-spectrum/utils": "3.0.0-nightly.2779+d66cf4d8c",
41
- "@react-types/avatar": "3.0.6-nightly.4491+d66cf4d8c",
42
- "@react-types/shared": "3.0.0-nightly.2779+d66cf4d8c",
39
+ "@react-aria/utils": "3.0.0-nightly.2790+89fa370bd",
40
+ "@react-spectrum/utils": "3.0.0-nightly.2790+89fa370bd",
41
+ "@react-types/avatar": "3.0.6-nightly.4502+89fa370bd",
42
+ "@react-types/shared": "3.0.0-nightly.2790+89fa370bd",
43
43
  "@swc/helpers": "^0.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2779+d66cf4d8c"
46
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2790+89fa370bd"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@react-spectrum/provider": "^3.2.1",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "d66cf4d8cd4657c562ce52d3f37df0a1fa685416"
55
+ "gitHead": "89fa370bd1bb346be643c9ab2a0d79fab857e4d7"
56
56
  }