@react-aria/breadcrumbs 3.0.0-nightly.2912 → 3.0.0-nightly.2925

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.
@@ -18,7 +18,7 @@ $parcel$export(module.exports, "useBreadcrumbItem", () => $a993edba0f043554$expo
18
18
  * governing permissions and limitations under the License.
19
19
  */
20
20
  function $a993edba0f043554$export$452b38fce62c9384(props, ref) {
21
- let { isCurrent: isCurrent, isDisabled: isDisabled, "aria-current": ariaCurrent, elementType: elementType = "a", ...otherProps } = props;
21
+ let { isCurrent: isCurrent, isDisabled: isDisabled, 'aria-current': ariaCurrent, elementType: elementType = 'a', ...otherProps } = props;
22
22
  let { linkProps: linkProps } = (0, $1D7I8$reactarialink.useLink)({
23
23
  isDisabled: isDisabled || isCurrent,
24
24
  elementType: elementType,
@@ -28,14 +28,14 @@ function $a993edba0f043554$export$452b38fce62c9384(props, ref) {
28
28
  let itemProps = {};
29
29
  if (!isHeading) itemProps = linkProps;
30
30
  if (isCurrent) {
31
- itemProps["aria-current"] = ariaCurrent || "page";
31
+ itemProps['aria-current'] = ariaCurrent || 'page';
32
32
  // isCurrent sets isDisabled === true for the current item,
33
33
  // so we have to restore the tabIndex in order to support autoFocus.
34
34
  itemProps.tabIndex = props.autoFocus ? -1 : undefined;
35
35
  }
36
36
  return {
37
37
  itemProps: {
38
- "aria-disabled": isDisabled,
38
+ 'aria-disabled': isDisabled,
39
39
  ...itemProps
40
40
  }
41
41
  };
@@ -12,7 +12,7 @@ import {useLink as $iYMrm$useLink} from "@react-aria/link";
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
  function $dafd15390222438a$export$452b38fce62c9384(props, ref) {
15
- let { isCurrent: isCurrent, isDisabled: isDisabled, "aria-current": ariaCurrent, elementType: elementType = "a", ...otherProps } = props;
15
+ let { isCurrent: isCurrent, isDisabled: isDisabled, 'aria-current': ariaCurrent, elementType: elementType = 'a', ...otherProps } = props;
16
16
  let { linkProps: linkProps } = (0, $iYMrm$useLink)({
17
17
  isDisabled: isDisabled || isCurrent,
18
18
  elementType: elementType,
@@ -22,14 +22,14 @@ function $dafd15390222438a$export$452b38fce62c9384(props, ref) {
22
22
  let itemProps = {};
23
23
  if (!isHeading) itemProps = linkProps;
24
24
  if (isCurrent) {
25
- itemProps["aria-current"] = ariaCurrent || "page";
25
+ itemProps['aria-current'] = ariaCurrent || 'page';
26
26
  // isCurrent sets isDisabled === true for the current item,
27
27
  // so we have to restore the tabIndex in order to support autoFocus.
28
28
  itemProps.tabIndex = props.autoFocus ? -1 : undefined;
29
29
  }
30
30
  return {
31
31
  itemProps: {
32
- "aria-disabled": isDisabled,
32
+ 'aria-disabled': isDisabled,
33
33
  ...itemProps
34
34
  }
35
35
  };
@@ -12,7 +12,7 @@ import {useLink as $iYMrm$useLink} from "@react-aria/link";
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
  function $dafd15390222438a$export$452b38fce62c9384(props, ref) {
15
- let { isCurrent: isCurrent, isDisabled: isDisabled, "aria-current": ariaCurrent, elementType: elementType = "a", ...otherProps } = props;
15
+ let { isCurrent: isCurrent, isDisabled: isDisabled, 'aria-current': ariaCurrent, elementType: elementType = 'a', ...otherProps } = props;
16
16
  let { linkProps: linkProps } = (0, $iYMrm$useLink)({
17
17
  isDisabled: isDisabled || isCurrent,
18
18
  elementType: elementType,
@@ -22,14 +22,14 @@ function $dafd15390222438a$export$452b38fce62c9384(props, ref) {
22
22
  let itemProps = {};
23
23
  if (!isHeading) itemProps = linkProps;
24
24
  if (isCurrent) {
25
- itemProps["aria-current"] = ariaCurrent || "page";
25
+ itemProps['aria-current'] = ariaCurrent || 'page';
26
26
  // isCurrent sets isDisabled === true for the current item,
27
27
  // so we have to restore the tabIndex in order to support autoFocus.
28
28
  itemProps.tabIndex = props.autoFocus ? -1 : undefined;
29
29
  }
30
30
  return {
31
31
  itemProps: {
32
- "aria-disabled": isDisabled,
32
+ 'aria-disabled': isDisabled,
33
33
  ...itemProps
34
34
  }
35
35
  };
@@ -26,14 +26,14 @@ $parcel$export(module.exports, "useBreadcrumbs", () => $2b6c6844f922ad13$export$
26
26
 
27
27
 
28
28
  function $2b6c6844f922ad13$export$8cefe241bd876ca0(props) {
29
- let { "aria-label": ariaLabel, ...otherProps } = props;
30
- let strings = (0, $3qDYu$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($907e591fa8a9456d$exports))), "@react-aria/breadcrumbs");
29
+ let { 'aria-label': ariaLabel, ...otherProps } = props;
30
+ let strings = (0, $3qDYu$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($907e591fa8a9456d$exports))), '@react-aria/breadcrumbs');
31
31
  return {
32
32
  navProps: {
33
33
  ...(0, $3qDYu$reactariautils.filterDOMProps)(otherProps, {
34
34
  labelable: true
35
35
  }),
36
- "aria-label": ariaLabel || strings.format("breadcrumbs")
36
+ 'aria-label': ariaLabel || strings.format('breadcrumbs')
37
37
  }
38
38
  };
39
39
  }
@@ -20,14 +20,14 @@ function $parcel$interopDefault(a) {
20
20
 
21
21
 
22
22
  function $848231d7a2b3998e$export$8cefe241bd876ca0(props) {
23
- let { "aria-label": ariaLabel, ...otherProps } = props;
24
- let strings = (0, $lFxPb$useLocalizedStringFormatter)((0, ($parcel$interopDefault($lFxPb$intlStringsmodulejs))), "@react-aria/breadcrumbs");
23
+ let { 'aria-label': ariaLabel, ...otherProps } = props;
24
+ let strings = (0, $lFxPb$useLocalizedStringFormatter)((0, ($parcel$interopDefault($lFxPb$intlStringsmodulejs))), '@react-aria/breadcrumbs');
25
25
  return {
26
26
  navProps: {
27
27
  ...(0, $lFxPb$filterDOMProps)(otherProps, {
28
28
  labelable: true
29
29
  }),
30
- "aria-label": ariaLabel || strings.format("breadcrumbs")
30
+ 'aria-label': ariaLabel || strings.format('breadcrumbs')
31
31
  }
32
32
  };
33
33
  }
@@ -20,14 +20,14 @@ function $parcel$interopDefault(a) {
20
20
 
21
21
 
22
22
  function $848231d7a2b3998e$export$8cefe241bd876ca0(props) {
23
- let { "aria-label": ariaLabel, ...otherProps } = props;
24
- let strings = (0, $lFxPb$useLocalizedStringFormatter)((0, ($parcel$interopDefault($lFxPb$intlStringsmodulejs))), "@react-aria/breadcrumbs");
23
+ let { 'aria-label': ariaLabel, ...otherProps } = props;
24
+ let strings = (0, $lFxPb$useLocalizedStringFormatter)((0, ($parcel$interopDefault($lFxPb$intlStringsmodulejs))), '@react-aria/breadcrumbs');
25
25
  return {
26
26
  navProps: {
27
27
  ...(0, $lFxPb$filterDOMProps)(otherProps, {
28
28
  labelable: true
29
29
  }),
30
- "aria-label": ariaLabel || strings.format("breadcrumbs")
30
+ 'aria-label': ariaLabel || strings.format('breadcrumbs')
31
31
  }
32
32
  };
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/breadcrumbs",
3
- "version": "3.0.0-nightly.2912+d80999e89",
3
+ "version": "3.0.0-nightly.2925+c57671e7f",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -22,11 +22,11 @@
22
22
  "url": "https://github.com/adobe/react-spectrum"
23
23
  },
24
24
  "dependencies": {
25
- "@react-aria/i18n": "3.0.0-nightly.2912+d80999e89",
26
- "@react-aria/link": "3.0.0-nightly.2912+d80999e89",
27
- "@react-aria/utils": "3.0.0-nightly.2912+d80999e89",
28
- "@react-types/breadcrumbs": "3.0.0-nightly.2912+d80999e89",
29
- "@react-types/shared": "3.0.0-nightly.2912+d80999e89",
25
+ "@react-aria/i18n": "3.0.0-nightly.2925+c57671e7f",
26
+ "@react-aria/link": "3.0.0-nightly.2925+c57671e7f",
27
+ "@react-aria/utils": "3.0.0-nightly.2925+c57671e7f",
28
+ "@react-types/breadcrumbs": "3.0.0-nightly.2925+c57671e7f",
29
+ "@react-types/shared": "3.0.0-nightly.2925+c57671e7f",
30
30
  "@swc/helpers": "^0.5.0"
31
31
  },
32
32
  "peerDependencies": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "d80999e897b4d4db9fcfb4e9b8fcdc9fdd700882"
38
+ "gitHead": "c57671e7f57c4ffe59640a174f084cf660968913"
39
39
  }