@yamada-ui/breadcrumb 0.3.17 → 0.3.19
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/breadcrumb.js
CHANGED
|
@@ -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,
|
package/dist/breadcrumb.mjs
CHANGED
|
@@ -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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/breadcrumb",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.19",
|
|
4
4
|
"description": "Yamada UI breadcrumb component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@yamada-ui/core": "0.12.
|
|
38
|
+
"@yamada-ui/core": "0.12.7",
|
|
39
39
|
"@yamada-ui/utils": "0.3.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|