@camped-ui/breadcrumb 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,UAAU;gBAGA,MAAM,SAAS;qCAE+C,CAAA;AAG9E,QAAA,MAAM,cAAc,2KAYlB,CAAA;AAGF,QAAA,MAAM,cAAc,kKASlB,CAAA;AAGF,QAAA,MAAM,cAAc;cAGN,OAAO;2CAYnB,CAAA;AAGF,QAAA,MAAM,cAAc,sKAYlB,CAAA;AAGF,QAAA,MAAM,mBAAmB;wCAItB,MAAM,cAAc,CAAC,IAAI,CAAC;;CAS5B,CAAA;AAGD,QAAA,MAAM,kBAAkB;8BAGrB,MAAM,cAAc,CAAC,MAAM,CAAC;;CAU9B,CAAA;AAGD,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,UAAU;gBAGA,MAAM,SAAS;qCAE+C,CAAC;AAG/E,QAAA,MAAM,cAAc,2KAYlB,CAAC;AAGH,QAAA,MAAM,cAAc,kKASlB,CAAC;AAGH,QAAA,MAAM,cAAc;cAGN,OAAO;2CAYnB,CAAC;AAGH,QAAA,MAAM,cAAc,sKAYlB,CAAC;AAGH,QAAA,MAAM,mBAAmB;wCAItB,MAAM,cAAc,CAAC,IAAI,CAAC;;CAS5B,CAAC;AAGF,QAAA,MAAM,kBAAkB;8BAGrB,MAAM,cAAc,CAAC,MAAM,CAAC;;CAU9B,CAAC;AAGF,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAC"}
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ exports.BreadcrumbEllipsis = exports.BreadcrumbSeparator = exports.BreadcrumbPag
38
38
  const jsx_runtime_1 = require("react/jsx-runtime");
39
39
  const React = __importStar(require("react"));
40
40
  const react_slot_1 = require("@radix-ui/react-slot");
41
- const lucide_react_1 = require("lucide-react");
41
+ const react_icons_1 = require("@radix-ui/react-icons");
42
42
  const lib_1 = require("@camped-ui/lib");
43
43
  const Breadcrumb = React.forwardRef((_a, ref) => {
44
44
  var props = __rest(_a, []);
@@ -73,13 +73,13 @@ exports.BreadcrumbPage = BreadcrumbPage;
73
73
  BreadcrumbPage.displayName = "BreadcrumbPage";
74
74
  const BreadcrumbSeparator = (_a) => {
75
75
  var { children, className } = _a, props = __rest(_a, ["children", "className"]);
76
- return ((0, jsx_runtime_1.jsx)("li", Object.assign({ role: "presentation", "aria-hidden": "true", className: (0, lib_1.cn)("[&>svg]:size-3.5", className) }, props, { children: children !== null && children !== void 0 ? children : (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronRight, {}) })));
76
+ return ((0, jsx_runtime_1.jsx)("li", Object.assign({ role: "presentation", "aria-hidden": "true", className: (0, lib_1.cn)("[&>svg]:size-3.5", className) }, props, { children: children !== null && children !== void 0 ? children : (0, jsx_runtime_1.jsx)(react_icons_1.ChevronRightIcon, {}) })));
77
77
  };
78
78
  exports.BreadcrumbSeparator = BreadcrumbSeparator;
79
79
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
80
80
  const BreadcrumbEllipsis = (_a) => {
81
81
  var { className } = _a, props = __rest(_a, ["className"]);
82
- return ((0, jsx_runtime_1.jsxs)("span", Object.assign({ role: "presentation", "aria-hidden": "true", className: (0, lib_1.cn)("flex h-9 w-9 items-center justify-center", className) }, props, { children: [(0, jsx_runtime_1.jsx)(lucide_react_1.MoreHorizontal, { className: "h-4 w-4" }), (0, jsx_runtime_1.jsx)("span", { className: "sr-only", children: "More" })] })));
82
+ return ((0, jsx_runtime_1.jsxs)("span", Object.assign({ role: "presentation", "aria-hidden": "true", className: (0, lib_1.cn)("flex h-9 w-9 items-center justify-center", className) }, props, { children: [(0, jsx_runtime_1.jsx)(react_icons_1.DotsHorizontalIcon, { className: "h-4 w-4" }), (0, jsx_runtime_1.jsx)("span", { className: "sr-only", children: "More" })] })));
83
83
  };
84
84
  exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
85
85
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8B;AAC9B,qDAA2C;AAC3C,+CAA2D;AAC3D,wCAAoC;AAEpC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAKjC,CAAC,EAAY,EAAE,GAAG,EAAE,EAAE;QAAhB,KAAK,cAAV,EAAY,CAAF;IAAY,OAAA,8CAAK,GAAG,EAAE,GAAG,gBAAa,YAAY,IAAK,KAAK,EAAI,CAAA;CAAA,CAAC,CAAA;AAgG5E,gCAAU;AA/FZ,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAuB,EAAE,GAAG,EAAE,EAAE;QAAhC,EAAE,SAAS,OAAY,EAAP,KAAK,cAArB,aAAuB,CAAF;IAAY,OAAA,CAClC,6CACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,QAAE,EACX,0FAA0F,EAC1F,SAAS,CACV,IACG,KAAK,EACT,CACH,CAAA;CAAA,CAAC,CAAA;AAkFA,wCAAc;AAjFhB,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAA;AAE7C,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAuB,EAAE,GAAG,EAA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
3
+ "version": "2.0.1",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "publish-package": "npm publish --access public",
@@ -9,9 +9,9 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@camped-ui/lib": "^2.0.2",
12
+ "@radix-ui/react-icons": "^1.3.0",
12
13
  "@radix-ui/react-slot": "^1.0.2",
13
- "class-variance-authority": "^0.4.0",
14
- "lucide-react": "^0.357.0"
14
+ "class-variance-authority": "^0.4.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@camped-ui/lib": "*",