@bbki.ng/components 1.4.5 → 1.4.6

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/index.js CHANGED
@@ -205,7 +205,7 @@ var Breadcrumb = (props) => {
205
205
  const slash = index === 0 ? null : /* @__PURE__ */ import_react4.default.createElement("span", {
206
206
  className: "text-gray-400"
207
207
  }, "/");
208
- const isNonEnName = !/^[a-zA-Z]+$/.test(name);
208
+ const isNonEnName = !/^[a-zA-Z~]+$/.test(name);
209
209
  const offsetCls = (0, import_classnames3.default)({ "relative top-[2px]": isNonEnName });
210
210
  const link = path ? /* @__PURE__ */ import_react4.default.createElement(Link, {
211
211
  to: path
package/dist/index.mjs CHANGED
@@ -163,7 +163,7 @@ var Breadcrumb = (props) => {
163
163
  const slash = index === 0 ? null : /* @__PURE__ */ React5.createElement("span", {
164
164
  className: "text-gray-400"
165
165
  }, "/");
166
- const isNonEnName = !/^[a-zA-Z]+$/.test(name);
166
+ const isNonEnName = !/^[a-zA-Z~]+$/.test(name);
167
167
  const offsetCls = classNames3({ "relative top-[2px]": isNonEnName });
168
168
  const link = path ? /* @__PURE__ */ React5.createElement(Link, {
169
169
  to: path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/components",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",