@react-spectrum/statuslight 3.0.0-nightly.2911 → 3.0.0-nightly.2917

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);
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/statuslight",
3
- "version": "3.0.0-nightly.2911+b294de874",
3
+ "version": "3.0.0-nightly.2917+c34886769",
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.2911+b294de874",
40
- "@react-spectrum/utils": "3.0.0-nightly.2911+b294de874",
41
- "@react-types/shared": "3.0.0-nightly.2911+b294de874",
42
- "@react-types/statuslight": "3.3.9-nightly.4623+b294de874",
39
+ "@react-aria/utils": "3.0.0-nightly.2917+c34886769",
40
+ "@react-spectrum/utils": "3.0.0-nightly.2917+c34886769",
41
+ "@react-types/shared": "3.0.0-nightly.2917+c34886769",
42
+ "@react-types/statuslight": "3.3.10-nightly.4629+c34886769",
43
43
  "@swc/helpers": "^0.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2911+b294de874"
46
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2917+c34886769"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@react-spectrum/provider": "^3.0.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "b294de874c16fad64bc4b930ccee1c9ffeb1c20f"
55
+ "gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
56
56
  }