@yamada-ui/breadcrumb 0.3.17 → 0.3.18

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.
@@ -117,13 +117,14 @@ var BreadcrumbItem = (0, import_core.forwardRef)(
117
117
  }
118
118
  );
119
119
  var BreadcrumbLink = (0, import_core.forwardRef)(
120
- ({ className, children, isCurrentPage, ...rest }, ref) => {
120
+ ({ className, children, isCurrentPage, href, ...rest }, ref) => {
121
121
  const styles = useBreadcrumb();
122
122
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
123
123
  import_core.ui.a,
124
124
  {
125
125
  ref,
126
126
  as: !isCurrentPage ? "a" : "span",
127
+ href: !isCurrentPage ? href : void 0,
127
128
  "aria-current": isCurrentPage ? "page" : void 0,
128
129
  className: (0, import_utils.cx)("ui-breadcrumb__link", className),
129
130
  __css: styles.link,
@@ -4,7 +4,7 @@ import {
4
4
  BreadcrumbItem,
5
5
  BreadcrumbLink,
6
6
  BreadcrumbSeparator
7
- } from "./chunk-JTXYQRTQ.mjs";
7
+ } from "./chunk-WFL7NZBC.mjs";
8
8
  export {
9
9
  Breadcrumb,
10
10
  BreadcrumbItem,
@@ -96,13 +96,14 @@ var BreadcrumbItem = forwardRef(
96
96
  }
97
97
  );
98
98
  var BreadcrumbLink = forwardRef(
99
- ({ className, children, isCurrentPage, ...rest }, ref) => {
99
+ ({ className, children, isCurrentPage, href, ...rest }, ref) => {
100
100
  const styles = useBreadcrumb();
101
101
  return /* @__PURE__ */ jsx(
102
102
  ui.a,
103
103
  {
104
104
  ref,
105
105
  as: !isCurrentPage ? "a" : "span",
106
+ href: !isCurrentPage ? href : void 0,
106
107
  "aria-current": isCurrentPage ? "page" : void 0,
107
108
  className: cx("ui-breadcrumb__link", className),
108
109
  __css: styles.link,
package/dist/index.js CHANGED
@@ -119,13 +119,14 @@ var BreadcrumbItem = (0, import_core.forwardRef)(
119
119
  }
120
120
  );
121
121
  var BreadcrumbLink = (0, import_core.forwardRef)(
122
- ({ className, children, isCurrentPage, ...rest }, ref) => {
122
+ ({ className, children, isCurrentPage, href, ...rest }, ref) => {
123
123
  const styles = useBreadcrumb();
124
124
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
125
125
  import_core.ui.a,
126
126
  {
127
127
  ref,
128
128
  as: !isCurrentPage ? "a" : "span",
129
+ href: !isCurrentPage ? href : void 0,
129
130
  "aria-current": isCurrentPage ? "page" : void 0,
130
131
  className: (0, import_utils.cx)("ui-breadcrumb__link", className),
131
132
  __css: styles.link,
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  BreadcrumbItem,
5
5
  BreadcrumbLink,
6
6
  BreadcrumbSeparator
7
- } from "./chunk-JTXYQRTQ.mjs";
7
+ } from "./chunk-WFL7NZBC.mjs";
8
8
  export {
9
9
  Breadcrumb,
10
10
  BreadcrumbItem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/breadcrumb",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "Yamada UI breadcrumb component",
5
5
  "keywords": [
6
6
  "yamada",