@yamada-ui/breadcrumb 0.3.14 → 0.3.16
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.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
|
-
import { HTMLUIProps, ThemeProps, CSSUIProps } from '@yamada-ui/core';
|
|
2
|
+
import { HTMLUIProps, ThemeProps, CSSUIProps, CSSUIObject } from '@yamada-ui/core';
|
|
3
3
|
|
|
4
4
|
type BreadcrumbOptions = {
|
|
5
5
|
/**
|
|
@@ -51,7 +51,7 @@ type BreadcrumbSeparatorOptions = {
|
|
|
51
51
|
/**
|
|
52
52
|
* The CSS `margin-inline-start`, and `margin-inline-end` property.
|
|
53
53
|
*/
|
|
54
|
-
gap?:
|
|
54
|
+
gap?: CSSUIObject['mx'];
|
|
55
55
|
};
|
|
56
56
|
type BreadcrumbSeparatorProps = HTMLUIProps<'span'> & BreadcrumbSeparatorOptions;
|
|
57
57
|
declare const BreadcrumbSeparator: _yamada_ui_core.Component<"span", BreadcrumbSeparatorProps>;
|
package/dist/breadcrumb.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
|
-
import { HTMLUIProps, ThemeProps, CSSUIProps } from '@yamada-ui/core';
|
|
2
|
+
import { HTMLUIProps, ThemeProps, CSSUIProps, CSSUIObject } from '@yamada-ui/core';
|
|
3
3
|
|
|
4
4
|
type BreadcrumbOptions = {
|
|
5
5
|
/**
|
|
@@ -51,7 +51,7 @@ type BreadcrumbSeparatorOptions = {
|
|
|
51
51
|
/**
|
|
52
52
|
* The CSS `margin-inline-start`, and `margin-inline-end` property.
|
|
53
53
|
*/
|
|
54
|
-
gap?:
|
|
54
|
+
gap?: CSSUIObject['mx'];
|
|
55
55
|
};
|
|
56
56
|
type BreadcrumbSeparatorProps = HTMLUIProps<'span'> & BreadcrumbSeparatorOptions;
|
|
57
57
|
declare const BreadcrumbSeparator: _yamada_ui_core.Component<"span", BreadcrumbSeparatorProps>;
|
package/dist/breadcrumb.js
CHANGED
|
@@ -66,7 +66,7 @@ var Breadcrumb = (0, import_core.forwardRef)((props, ref) => {
|
|
|
66
66
|
className: (0, import_utils.cx)("ui-breadcrumb", className),
|
|
67
67
|
__css: styles.container,
|
|
68
68
|
...rest,
|
|
69
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.ol, { className: "ui-
|
|
69
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.ol, { className: "ui-breadcrumb__list", ...listProps, __css: css, children: cloneChildren })
|
|
70
70
|
}
|
|
71
71
|
) });
|
|
72
72
|
});
|
|
@@ -105,7 +105,7 @@ var BreadcrumbItem = (0, import_core.forwardRef)(
|
|
|
105
105
|
import_core.ui.li,
|
|
106
106
|
{
|
|
107
107
|
ref,
|
|
108
|
-
className: (0, import_utils.cx)("ui-
|
|
108
|
+
className: (0, import_utils.cx)("ui-breadcrumb__item", className),
|
|
109
109
|
__css: css,
|
|
110
110
|
...rest,
|
|
111
111
|
children: [
|
|
@@ -125,7 +125,7 @@ var BreadcrumbLink = (0, import_core.forwardRef)(
|
|
|
125
125
|
ref,
|
|
126
126
|
as: !isCurrentPage ? "a" : "span",
|
|
127
127
|
"aria-current": isCurrentPage ? "page" : void 0,
|
|
128
|
-
className: (0, import_utils.cx)("ui-
|
|
128
|
+
className: (0, import_utils.cx)("ui-breadcrumb__link", className),
|
|
129
129
|
__css: styles.link,
|
|
130
130
|
...rest,
|
|
131
131
|
children
|
|
@@ -144,7 +144,7 @@ var BreadcrumbSeparator = (0, import_core.forwardRef)(
|
|
|
144
144
|
import_core.ui.span,
|
|
145
145
|
{
|
|
146
146
|
ref,
|
|
147
|
-
className: "ui-
|
|
147
|
+
className: "ui-breadcrumb__item__separator",
|
|
148
148
|
__css: css,
|
|
149
149
|
...rest,
|
|
150
150
|
children
|
package/dist/breadcrumb.mjs
CHANGED
|
@@ -45,7 +45,7 @@ var Breadcrumb = forwardRef((props, ref) => {
|
|
|
45
45
|
className: cx("ui-breadcrumb", className),
|
|
46
46
|
__css: styles.container,
|
|
47
47
|
...rest,
|
|
48
|
-
children: /* @__PURE__ */ jsx(ui.ol, { className: "ui-
|
|
48
|
+
children: /* @__PURE__ */ jsx(ui.ol, { className: "ui-breadcrumb__list", ...listProps, __css: css, children: cloneChildren })
|
|
49
49
|
}
|
|
50
50
|
) });
|
|
51
51
|
});
|
|
@@ -84,7 +84,7 @@ var BreadcrumbItem = forwardRef(
|
|
|
84
84
|
ui.li,
|
|
85
85
|
{
|
|
86
86
|
ref,
|
|
87
|
-
className: cx("ui-
|
|
87
|
+
className: cx("ui-breadcrumb__item", className),
|
|
88
88
|
__css: css,
|
|
89
89
|
...rest,
|
|
90
90
|
children: [
|
|
@@ -104,7 +104,7 @@ var BreadcrumbLink = forwardRef(
|
|
|
104
104
|
ref,
|
|
105
105
|
as: !isCurrentPage ? "a" : "span",
|
|
106
106
|
"aria-current": isCurrentPage ? "page" : void 0,
|
|
107
|
-
className: cx("ui-
|
|
107
|
+
className: cx("ui-breadcrumb__link", className),
|
|
108
108
|
__css: styles.link,
|
|
109
109
|
...rest,
|
|
110
110
|
children
|
|
@@ -123,7 +123,7 @@ var BreadcrumbSeparator = forwardRef(
|
|
|
123
123
|
ui.span,
|
|
124
124
|
{
|
|
125
125
|
ref,
|
|
126
|
-
className: "ui-
|
|
126
|
+
className: "ui-breadcrumb__item__separator",
|
|
127
127
|
__css: css,
|
|
128
128
|
...rest,
|
|
129
129
|
children
|
package/dist/index.js
CHANGED
|
@@ -68,7 +68,7 @@ var Breadcrumb = (0, import_core.forwardRef)((props, ref) => {
|
|
|
68
68
|
className: (0, import_utils.cx)("ui-breadcrumb", className),
|
|
69
69
|
__css: styles.container,
|
|
70
70
|
...rest,
|
|
71
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.ol, { className: "ui-
|
|
71
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.ol, { className: "ui-breadcrumb__list", ...listProps, __css: css, children: cloneChildren })
|
|
72
72
|
}
|
|
73
73
|
) });
|
|
74
74
|
});
|
|
@@ -107,7 +107,7 @@ var BreadcrumbItem = (0, import_core.forwardRef)(
|
|
|
107
107
|
import_core.ui.li,
|
|
108
108
|
{
|
|
109
109
|
ref,
|
|
110
|
-
className: (0, import_utils.cx)("ui-
|
|
110
|
+
className: (0, import_utils.cx)("ui-breadcrumb__item", className),
|
|
111
111
|
__css: css,
|
|
112
112
|
...rest,
|
|
113
113
|
children: [
|
|
@@ -127,7 +127,7 @@ var BreadcrumbLink = (0, import_core.forwardRef)(
|
|
|
127
127
|
ref,
|
|
128
128
|
as: !isCurrentPage ? "a" : "span",
|
|
129
129
|
"aria-current": isCurrentPage ? "page" : void 0,
|
|
130
|
-
className: (0, import_utils.cx)("ui-
|
|
130
|
+
className: (0, import_utils.cx)("ui-breadcrumb__link", className),
|
|
131
131
|
__css: styles.link,
|
|
132
132
|
...rest,
|
|
133
133
|
children
|
|
@@ -146,7 +146,7 @@ var BreadcrumbSeparator = (0, import_core.forwardRef)(
|
|
|
146
146
|
import_core.ui.span,
|
|
147
147
|
{
|
|
148
148
|
ref,
|
|
149
|
-
className: "ui-
|
|
149
|
+
className: "ui-breadcrumb__item__separator",
|
|
150
150
|
__css: css,
|
|
151
151
|
...rest,
|
|
152
152
|
children
|
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.16",
|
|
4
4
|
"description": "Yamada UI breadcrumb component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@yamada-ui/core": "0.12.
|
|
39
|
-
"@yamada-ui/utils": "0.3.
|
|
38
|
+
"@yamada-ui/core": "0.12.5",
|
|
39
|
+
"@yamada-ui/utils": "0.3.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"react": "^18.0.0",
|