@navservice/usuario 1.52.0 → 1.53.0

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.
@@ -1,7 +1,7 @@
1
- import type { LucideIcon } from "lucide-react";
1
+ import type { ReactNode } from "react";
2
2
  interface TypesLayoutPublicHeader {
3
3
  title?: string;
4
- icon: LucideIcon;
4
+ icon?: ReactNode;
5
5
  }
6
6
  export default function Header(props: TypesLayoutPublicHeader): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,7 +1,7 @@
1
- import type { LucideIcon } from "lucide-react";
1
+ import { ReactNode } from "react";
2
2
  interface TypesLayoutPublic {
3
3
  title: string;
4
- icon: LucideIcon;
4
+ icon?: ReactNode;
5
5
  }
6
6
  export declare function LayoutPublic(props: TypesLayoutPublic): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
package/build/es/index.js CHANGED
@@ -8582,14 +8582,10 @@ function Header(props) {
8582
8582
  children: [
8583
8583
  /*#__PURE__*/ jsx(motion.div, {
8584
8584
  whileHover: {
8585
- rotate: 8,
8586
- scale: 1.05
8585
+ rotate: 6,
8586
+ scale: 1.04
8587
8587
  },
8588
- className: "w-10 h-10 rounded-xl bg-gradient-to-br from-blue-600 to-cyan-600 flex items-center justify-center shadow-lg shadow-blue-500/30 text-white",
8589
- children: /*#__PURE__*/ jsx(props.icon, {
8590
- size: 20,
8591
- strokeWidth: 2.5
8592
- })
8588
+ children: props?.icon
8593
8589
  }),
8594
8590
  /*#__PURE__*/ jsx("h5", {
8595
8591
  className: "text-lg font-semibold tracking-tight bg-gradient-to-r from-white to-slate-300 bg-clip-text text-transparent",
@@ -8613,7 +8609,7 @@ function Header(props) {
8613
8609
  scale: 0.98
8614
8610
  },
8615
8611
  onClick: ()=>navigate("/auth/register"),
8616
- className: " relative group px-5 py-2 rounded-lg text-sm font-medium text-white bg-gradient-to-r from-blue-600 to-cyan-600 transition-all duration-300 /* A Sombra em gradiente usando before */ before:absolute before:inset-0 before:rounded-lg before:bg-gradient-to-r before:from-blue-600 before:to-cyan-600 before:blur-md before:opacity-0 before:transition-opacity before:duration-500 hover:before:opacity-100 before:-z-10 ",
8612
+ className: " relative group px-5 py-2 rounded-lg text-sm font-medium text-white bg-gradient-to-r from-blue-600 to-cyan-600 transition-all duration-300 before:absolute before:inset-0 before:rounded-lg before:bg-gradient-to-r before:from-blue-600 before:to-cyan-600 before:blur-md before:opacity-0 before:transition-opacity before:duration-500 hover:before:opacity-100 before:-z-10 ",
8617
8613
  children: /*#__PURE__*/ jsx("span", {
8618
8614
  className: "relative z-10",
8619
8615
  children: "Registrar"
@@ -8632,7 +8628,7 @@ function LayoutPublic(props) {
8632
8628
  children: [
8633
8629
  /*#__PURE__*/ jsx(Header, {
8634
8630
  title: props?.title,
8635
- icon: props.icon
8631
+ icon: props?.icon
8636
8632
  }),
8637
8633
  /*#__PURE__*/ jsx("main", {
8638
8634
  className: "flex-1 overflow-y-auto",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navservice/usuario",
3
- "version": "1.52.0",
3
+ "version": "1.53.0",
4
4
  "description": "Service de autenticação de usuários unificado",
5
5
  "type": "module",
6
6
  "main": "./build/lib/index.js",