@react-spectrum/statuslight 3.5.12 → 3.5.13

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.
@@ -34,16 +34,16 @@ function $ba01d1490c4da3ea$var$StatusLight(props, ref) {
34
34
  let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $8aavy$reactspectrumprovider.useProviderProps)(props);
35
35
  let domRef = (0, $8aavy$reactspectrumutils.useDOMRef)(ref);
36
36
  let { styleProps: styleProps } = (0, $8aavy$reactspectrumutils.useStyleProps)(otherProps);
37
- if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
38
- if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
37
+ if (!children && !props['aria-label']) console.warn('If no children are provided, an aria-label must be specified');
38
+ if (!role && (props['aria-label'] || props['aria-labelledby'])) console.warn('A labelled StatusLight must have a role.');
39
39
  return /*#__PURE__*/ (0, ($parcel$interopDefault($8aavy$react))).createElement("div", {
40
40
  ...(0, $8aavy$reactariautils.filterDOMProps)(otherProps, {
41
41
  labelable: !!role
42
42
  }),
43
43
  ...styleProps,
44
44
  role: role,
45
- className: (0, $8aavy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($7e20c9d2bb376434$exports))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
46
- "is-disabled": isDisabled
45
+ className: (0, $8aavy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($7e20c9d2bb376434$exports))), 'spectrum-StatusLight', `spectrum-StatusLight--${variant}`, {
46
+ 'is-disabled': isDisabled
47
47
  }, styleProps.className),
48
48
  ref: domRef
49
49
  }, children);
@@ -28,16 +28,16 @@ function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
28
28
  let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $k8ZOF$useProviderProps)(props);
29
29
  let domRef = (0, $k8ZOF$useDOMRef)(ref);
30
30
  let { styleProps: styleProps } = (0, $k8ZOF$useStyleProps)(otherProps);
31
- if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
32
- if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
31
+ if (!children && !props['aria-label']) console.warn('If no children are provided, an aria-label must be specified');
32
+ if (!role && (props['aria-label'] || props['aria-labelledby'])) console.warn('A labelled StatusLight must have a role.');
33
33
  return /*#__PURE__*/ (0, $k8ZOF$react).createElement("div", {
34
34
  ...(0, $k8ZOF$filterDOMProps)(otherProps, {
35
35
  labelable: !!role
36
36
  }),
37
37
  ...styleProps,
38
38
  role: role,
39
- className: (0, $k8ZOF$classNames)((0, ($parcel$interopDefault($k8ZOF$statuslight_vars_cssmodulejs))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
40
- "is-disabled": isDisabled
39
+ className: (0, $k8ZOF$classNames)((0, ($parcel$interopDefault($k8ZOF$statuslight_vars_cssmodulejs))), 'spectrum-StatusLight', `spectrum-StatusLight--${variant}`, {
40
+ 'is-disabled': isDisabled
41
41
  }, styleProps.className),
42
42
  ref: domRef
43
43
  }, children);
@@ -49,4 +49,4 @@ function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
49
49
 
50
50
 
51
51
  export {$df8f173c8bd4ebc0$export$5f84c37a31c6e41c as StatusLight};
52
- //# sourceMappingURL=StatusLight.mjs.map
52
+ //# sourceMappingURL=StatusLight.module.js.map
@@ -28,16 +28,16 @@ function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
28
28
  let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $k8ZOF$useProviderProps)(props);
29
29
  let domRef = (0, $k8ZOF$useDOMRef)(ref);
30
30
  let { styleProps: styleProps } = (0, $k8ZOF$useStyleProps)(otherProps);
31
- if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
32
- if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
31
+ if (!children && !props['aria-label']) console.warn('If no children are provided, an aria-label must be specified');
32
+ if (!role && (props['aria-label'] || props['aria-labelledby'])) console.warn('A labelled StatusLight must have a role.');
33
33
  return /*#__PURE__*/ (0, $k8ZOF$react).createElement("div", {
34
34
  ...(0, $k8ZOF$filterDOMProps)(otherProps, {
35
35
  labelable: !!role
36
36
  }),
37
37
  ...styleProps,
38
38
  role: role,
39
- className: (0, $k8ZOF$classNames)((0, ($parcel$interopDefault($k8ZOF$statuslight_vars_cssmodulejs))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
40
- "is-disabled": isDisabled
39
+ className: (0, $k8ZOF$classNames)((0, ($parcel$interopDefault($k8ZOF$statuslight_vars_cssmodulejs))), 'spectrum-StatusLight', `spectrum-StatusLight--${variant}`, {
40
+ 'is-disabled': isDisabled
41
41
  }, styleProps.className),
42
42
  ref: domRef
43
43
  }, children);
@@ -70,4 +70,4 @@ $7661ca422872705f$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`
70
70
 
71
71
 
72
72
  export {$7661ca422872705f$exports as default};
73
- //# sourceMappingURL=statuslight_vars_css.mjs.map
73
+ //# sourceMappingURL=statuslight_vars_css.module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/statuslight",
3
- "version": "3.5.12",
3
+ "version": "3.5.13",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,10 +36,10 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/utils": "^3.24.0",
40
- "@react-spectrum/utils": "^3.11.6",
41
- "@react-types/shared": "^3.23.0",
42
- "@react-types/statuslight": "^3.3.8",
39
+ "@react-aria/utils": "^3.24.1",
40
+ "@react-spectrum/utils": "^3.11.7",
41
+ "@react-types/shared": "^3.23.1",
42
+ "@react-types/statuslight": "^3.3.9",
43
43
  "@swc/helpers": "^0.5.0"
44
44
  },
45
45
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
55
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
56
56
  }