@bbki.ng/components 1.5.39 → 1.5.42

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.d.ts CHANGED
@@ -45,6 +45,7 @@ declare const Breadcrumb: (props: BreadcrumbProps) => JSX.Element;
45
45
  declare type NavProps = {
46
46
  paths: PathObj[];
47
47
  loading?: boolean;
48
+ mini?: boolean;
48
49
  className?: string;
49
50
  };
50
51
  declare const Nav: (props: NavProps) => JSX.Element;
package/dist/index.js CHANGED
@@ -264,6 +264,13 @@ var BlinkDot = (props) => {
264
264
 
265
265
  // src/nav/Nav.tsx
266
266
  var Nav = (props) => {
267
+ if (props.mini) {
268
+ return /* @__PURE__ */ import_react6.default.createElement("div", {
269
+ className: `p-8 w-full flex items-center ${props.className}`
270
+ }, /* @__PURE__ */ import_react6.default.createElement(Breadcrumb, {
271
+ paths: props.paths
272
+ }));
273
+ }
267
274
  return /* @__PURE__ */ import_react6.default.createElement("div", {
268
275
  className: `p-8 w-full flex items-center ${props.className}`
269
276
  }, /* @__PURE__ */ import_react6.default.createElement(Logo, {
@@ -932,7 +939,7 @@ var Img = (props) => {
932
939
  })
933
940
  }), /* @__PURE__ */ import_react19.default.createElement("img", {
934
941
  src: emptyDataURL,
935
- className: (0, import_classnames10.default)("lqip-blur", "absolute", "h-full", "w-full", "transition-opacity", {
942
+ className: (0, import_classnames10.default)("lqip-blur", "absolute", "h-full", "w-full", "duration-300", "transition-opacity", {
936
943
  "opacity-100": !decoded,
937
944
  "opacity-0": decoded
938
945
  }),
package/dist/index.mjs CHANGED
@@ -203,6 +203,13 @@ var BlinkDot = (props) => {
203
203
 
204
204
  // src/nav/Nav.tsx
205
205
  var Nav = (props) => {
206
+ if (props.mini) {
207
+ return /* @__PURE__ */ React7.createElement("div", {
208
+ className: `p-8 w-full flex items-center ${props.className}`
209
+ }, /* @__PURE__ */ React7.createElement(Breadcrumb, {
210
+ paths: props.paths
211
+ }));
212
+ }
206
213
  return /* @__PURE__ */ React7.createElement("div", {
207
214
  className: `p-8 w-full flex items-center ${props.className}`
208
215
  }, /* @__PURE__ */ React7.createElement(Logo, {
@@ -874,7 +881,7 @@ var Img = (props) => {
874
881
  })
875
882
  }), /* @__PURE__ */ React18.createElement("img", {
876
883
  src: emptyDataURL,
877
- className: classnames("lqip-blur", "absolute", "h-full", "w-full", "transition-opacity", {
884
+ className: classnames("lqip-blur", "absolute", "h-full", "w-full", "duration-300", "transition-opacity", {
878
885
  "opacity-100": !decoded,
879
886
  "opacity-0": decoded
880
887
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/components",
3
- "version": "1.5.39",
3
+ "version": "1.5.42",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",