@zydon/common-csr 1.0.0 → 1.1.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.
Files changed (69) hide show
  1. package/README.md +3 -4
  2. package/dist/App.d.ts +4 -0
  3. package/dist/App.d.ts.map +1 -0
  4. package/dist/components/Iconify/index.d.ts +1 -0
  5. package/dist/components/Iconify/index.d.ts.map +1 -0
  6. package/dist/components/Iconify/props.d.ts +1 -0
  7. package/dist/components/Iconify/props.d.ts.map +1 -0
  8. package/dist/components/Image/getRatio.d.ts +1 -0
  9. package/dist/components/Image/getRatio.d.ts.map +1 -0
  10. package/dist/components/Image/index.d.ts +1 -1
  11. package/dist/components/Image/index.d.ts.map +1 -0
  12. package/dist/components/Image/props.d.ts +1 -0
  13. package/dist/components/Image/props.d.ts.map +1 -0
  14. package/dist/components/index.d.ts +1 -0
  15. package/dist/components/index.d.ts.map +1 -0
  16. package/dist/components/nav-section/NavSectionHorizontal/NavItem.d.ts +1 -0
  17. package/dist/components/nav-section/NavSectionHorizontal/NavItem.d.ts.map +1 -0
  18. package/dist/components/nav-section/NavSectionHorizontal/NavList.d.ts +1 -0
  19. package/dist/components/nav-section/NavSectionHorizontal/NavList.d.ts.map +1 -0
  20. package/dist/components/nav-section/NavSectionHorizontal/index.d.ts +1 -0
  21. package/dist/components/nav-section/NavSectionHorizontal/index.d.ts.map +1 -0
  22. package/dist/components/nav-section/NavSectionHorizontal/styles.d.ts +1 -0
  23. package/dist/components/nav-section/NavSectionHorizontal/styles.d.ts.map +1 -0
  24. package/dist/components/nav-section/NavSectionMini/NavItem.d.ts +1 -0
  25. package/dist/components/nav-section/NavSectionMini/NavItem.d.ts.map +1 -0
  26. package/dist/components/nav-section/NavSectionMini/NavList.d.ts +1 -0
  27. package/dist/components/nav-section/NavSectionMini/NavList.d.ts.map +1 -0
  28. package/dist/components/nav-section/NavSectionMini/index.d.ts +1 -0
  29. package/dist/components/nav-section/NavSectionMini/index.d.ts.map +1 -0
  30. package/dist/components/nav-section/NavSectionMini/styles.d.ts +1 -0
  31. package/dist/components/nav-section/NavSectionMini/styles.d.ts.map +1 -0
  32. package/dist/components/nav-section/NavSectionVertical/NavItem.d.ts +1 -0
  33. package/dist/components/nav-section/NavSectionVertical/NavItem.d.ts.map +1 -0
  34. package/dist/components/nav-section/NavSectionVertical/NavList.d.ts +1 -0
  35. package/dist/components/nav-section/NavSectionVertical/NavList.d.ts.map +1 -0
  36. package/dist/components/nav-section/NavSectionVertical/index.d.ts +1 -0
  37. package/dist/components/nav-section/NavSectionVertical/index.d.ts.map +1 -0
  38. package/dist/components/nav-section/NavSectionVertical/styles.d.ts +1 -0
  39. package/dist/components/nav-section/NavSectionVertical/styles.d.ts.map +1 -0
  40. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavItem.d.ts +5 -0
  41. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavItem.d.ts.map +1 -0
  42. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavList.d.ts +12 -0
  43. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavList.d.ts.map +1 -0
  44. package/dist/components/nav-section/NavSectionVerticalWithButtons/index.d.ts +5 -0
  45. package/dist/components/nav-section/NavSectionVerticalWithButtons/index.d.ts.map +1 -0
  46. package/dist/components/nav-section/NavSectionVerticalWithButtons/styles.d.ts +18 -0
  47. package/dist/components/nav-section/NavSectionVerticalWithButtons/styles.d.ts.map +1 -0
  48. package/dist/components/nav-section/index.d.ts +2 -0
  49. package/dist/components/nav-section/index.d.ts.map +1 -0
  50. package/dist/components/nav-section/types.d.ts +1 -0
  51. package/dist/components/nav-section/types.d.ts.map +1 -0
  52. package/dist/configs/config-global.d.ts +1 -0
  53. package/dist/configs/config-global.d.ts.map +1 -0
  54. package/dist/hooks/index.d.ts +1 -0
  55. package/dist/hooks/index.d.ts.map +1 -0
  56. package/dist/hooks/useActiveLink.d.ts +1 -0
  57. package/dist/hooks/useActiveLink.d.ts.map +1 -0
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.d.ts.map +1 -0
  60. package/dist/index.js +6177 -9
  61. package/dist/index.umd.cjs +91 -0
  62. package/dist/main.d.ts +2 -0
  63. package/dist/main.d.ts.map +1 -0
  64. package/dist/style.css +1 -17
  65. package/dist/utils/cssStyles.d.ts +1 -0
  66. package/dist/utils/cssStyles.d.ts.map +1 -0
  67. package/dist/utils/index.d.ts +1 -0
  68. package/dist/utils/index.d.ts.map +1 -0
  69. package/package.json +30 -34
package/README.md CHANGED
@@ -22,8 +22,7 @@
22
22
  - **useActiveLink:** hook que mostra se a rota passada está ativa ou não
23
23
 
24
24
  ## Como fazer implementações/correções nesse pacote?
25
- Para fazer implementações/correções basta clonar o repositório do projeto.
26
- Crie uma branch, realize as implementações/correções.
27
- Para testar execute o comando `npm link`. Em seguida em algum projeto React (criado somente para testar esse pacote) execute o comando `npm link @zydon/common-csr` e teste suas implementações.
28
- Depois suba as alterações para o repositório e faça merge pra `main`.
25
+ Esse pacote é basicamente um projeto `react-vite` publicado no `npm`.\
26
+ Para fazer implementações/correções basta clonar o repositório do projeto e subir localmente em sua máquina. Crie uma branch, realize as implementações/correções, depois suba para o repositório e faça merge pra `main`.
29
27
  As alterações serão publicadas automaticamente no `npm` em alguns minutos.
28
+ > Você pode testar suas implementações/correções no componente `App.tsx`
package/dist/App.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const App: React.FC;
3
+ export default App;
4
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAOhB,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -6,3 +6,4 @@ interface Props extends BoxProps {
6
6
  }
7
7
  declare const Iconify: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<SVGElement>>;
8
8
  export default Iconify;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Iconify/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,UAAU,KAAM,SAAQ,QAAQ;IAC9B,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,QAAA,MAAM,OAAO,2GAUZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { IconifyIcon } from '@iconify/react';
2
2
  export type IconifyProps = IconifyIcon | string;
3
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/Iconify/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,MAAM,CAAC"}
@@ -1 +1,2 @@
1
1
  export default function getRatio(ratio?: string): string | undefined;
2
+ //# sourceMappingURL=getRatio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRatio.d.ts","sourceRoot":"","sources":["../../../src/components/Image/getRatio.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,SAAQ,sBAY7C"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ImageProps } from './props';
3
- import 'react-lazy-load-image-component/src/effects/blur.css';
4
3
  declare const Image: import("react").ForwardRefExoticComponent<Omit<ImageProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
5
4
  export default Image;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Image/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,sDAAsD,CAAC;AAK9D,QAAA,MAAM,KAAK,qHA8DV,CAAC;AAIF,eAAe,KAAK,CAAC"}
@@ -4,3 +4,4 @@ export type ImageProps = {
4
4
  ratio?: '4/3' | '3/4' | '6/4' | '4/6' | '16/9' | '9/16' | '21/9' | '9/21' | '1/1';
5
5
  disabledEffect?: boolean;
6
6
  } & BoxProps & LazyLoadImageProps;
7
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/Image/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EACF,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,CAAC;IACV,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,QAAQ,GACV,kBAAkB,CAAC"}
@@ -4,3 +4,4 @@ export { default as Image } from './Image';
4
4
  export type { ImageProps } from './Image/props';
5
5
  export type { IconifyProps } from './Iconify/props';
6
6
  export { default as Iconify } from './Iconify';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,kBAAkB,GACnB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,eAAe,GAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -2,3 +2,4 @@
2
2
  import { NavItemProps } from '../types';
3
3
  declare const NavItem: import("react").ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export default NavItem;
5
+ //# sourceMappingURL=NavItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/NavItem.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,QAAA,MAAM,OAAO,sHAqEZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -7,3 +7,4 @@ type NavListRootProps = {
7
7
  };
8
8
  declare const NavList: React.FC<NavListRootProps>;
9
9
  export default NavList;
10
+ //# sourceMappingURL=NavList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAsBF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmFvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -2,3 +2,4 @@ import React from 'react';
2
2
  import { NavSectionProps } from '../types';
3
3
  declare const _default: React.NamedExoticComponent<NavSectionProps>;
4
4
  export default _default;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,EAAE,eAAe,EAAgB,MAAM,UAAU,CAAC;;AA8CzD,wBAA0C"}
@@ -7,3 +7,4 @@ export declare const StyledItem: import("@emotion/styled").StyledComponent<impor
7
7
  export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
8
  export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
9
9
  export {};
10
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,KAAK,eAAe,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU;;ycAmErB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAKrB,CAAC;AAKH,eAAO,MAAM,aAAa,qKAWvB,CAAC"}
@@ -2,3 +2,4 @@
2
2
  import { NavItemProps } from '../types';
3
3
  declare const NavItem: import("react").ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export default NavItem;
5
+ //# sourceMappingURL=NavItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHAqFZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -7,3 +7,4 @@ type NavListRootProps = {
7
7
  };
8
8
  declare const NavList: React.FC<NavListRootProps>;
9
9
  export default NavList;
10
+ //# sourceMappingURL=NavList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAsBF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2EvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -2,3 +2,4 @@ import React from 'react';
2
2
  import { NavSectionProps } from '../types';
3
3
  declare const _default: React.NamedExoticComponent<NavSectionProps>;
4
4
  export default _default;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,eAAe,EAAgB,MAAM,UAAU,CAAC;;AAwDzD,wBAAoC"}
@@ -7,3 +7,4 @@ export declare const StyledItem: import("@emotion/styled").StyledComponent<impor
7
7
  export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
8
  export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
9
9
  export {};
10
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,KAAK,eAAe,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU;;ycA+DrB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAKrB,CAAC;AAKH,eAAO,MAAM,aAAa,qKAWvB,CAAC"}
@@ -2,3 +2,4 @@ import React from 'react';
2
2
  import { NavItemProps } from '../types';
3
3
  declare const NavItem: React.FC<NavItemProps>;
4
4
  export default NavItem;
5
+ //# sourceMappingURL=NavItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyFnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -7,3 +7,4 @@ type NavListRootProps = {
7
7
  };
8
8
  declare const NavList: React.FC<NavListRootProps>;
9
9
  export default NavList;
10
+ //# sourceMappingURL=NavList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAuBxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwCvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -2,3 +2,4 @@ import React from 'react';
2
2
  import { NavSectionProps } from '../types';
3
3
  declare const NavSectionVertical: React.FC<NavSectionProps>;
4
4
  export default NavSectionVertical;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI3C,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6BjD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -15,3 +15,4 @@ export declare const StyledSubheader: import("@emotion/styled").StyledComponent<
15
15
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
16
16
  }, "className" | "style" | "classes" | "children" | "sx" | "color" | "inset" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
17
17
  export {};
18
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/styles.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAOxC,eAAO,MAAM,UAAU;;;;;UA+DrB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAMrB,CAAC;AAIH,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,aAAa,oPAcvB,CAAC;AAIJ,eAAO,MAAM,eAAe;;uMAMzB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { NavItemButtonProps } from '../types';
3
+ declare const NavItem: React.FC<NavItemButtonProps>;
4
+ export default NavItem;
5
+ //# sourceMappingURL=NavItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+FzC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { NavListProps } from '../types';
3
+ type NavListRootProps = {
4
+ data: NavListProps;
5
+ depth: number;
6
+ hasChild: boolean;
7
+ onNavigate(event: React.MouseEvent<HTMLButtonElement>, to: string): void;
8
+ pathname: string;
9
+ };
10
+ declare const NavList: React.FC<NavListRootProps>;
11
+ export default NavList;
12
+ //# sourceMappingURL=NavList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAgCxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkDvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { NavSectionWithButtonProps } from '../types';
3
+ declare const NavSectionVerticalWithButtons: React.FC<NavSectionWithButtonProps>;
4
+ export default NavSectionVerticalWithButtons;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAIrD,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAiCtE,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { NavItemProps } from '../types';
3
+ export declare const StyledItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
5
+ }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "autoFocus" | "dense" | "disableGutters" | "divider" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Omit<NavItemProps, "item"> & {
6
+ caption?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ }, {}, {}>;
9
+ export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
+ type StyledDotIconProps = {
11
+ active?: boolean;
12
+ };
13
+ export declare const StyledDotIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledDotIconProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
14
+ export declare const StyledSubheader: import("@emotion/styled").StyledComponent<import("@mui/material").ListSubheaderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
15
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
16
+ }, "className" | "style" | "classes" | "children" | "sx" | "color" | "inset" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
17
+ export {};
18
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/styles.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAOxC,eAAO,MAAM,UAAU;;;;;UA+DrB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAMrB,CAAC;AAIH,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,aAAa,oPAcvB,CAAC;AAIJ,eAAO,MAAM,eAAe;;uMAMzB,CAAC"}
@@ -2,3 +2,5 @@ export * from './types';
2
2
  export { default as NavSectionMini } from './NavSectionMini';
3
3
  export { default as NavSectionVertical } from './NavSectionVertical';
4
4
  export { default as NavSectionHorizontal } from './NavSectionHorizontal';
5
+ export { default as NavSectionVerticalWithButtons } from './NavSectionVerticalWithButtons';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/nav-section/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
@@ -35,3 +35,4 @@ export interface NavSectionWithButtonProps extends StackProps {
35
35
  onNavigate(event: React.MouseEvent<HTMLButtonElement>, to: string): void;
36
36
  pathname: string;
37
37
  }
38
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/nav-section/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GACvC,mBAAmB,GAAG;IACpB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1E,CAAC;AAEJ,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,YAAY,EAAE,CAAC;KACvB,EAAE,CAAC;CACL;AAED,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,YAAY,EAAE,CAAC;KACvB,EAAE,CAAC;IACJ,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -17,3 +17,4 @@ export declare const ICON: {
17
17
  NAV_ITEM_HORIZONTAL: number;
18
18
  NAV_ITEM_MINI: number;
19
19
  };
20
+ //# sourceMappingURL=config-global.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-global.d.ts","sourceRoot":"","sources":["../../src/configs/config-global.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;CAKlB,CAAC;AAEF,eAAO,MAAM,GAAG;;;;;;;CASf,CAAC;AAEF,eAAO,MAAM,IAAI;;;;CAIhB,CAAC"}
@@ -1 +1,2 @@
1
1
  export { default as useActiveLink } from './useActiveLink';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -4,3 +4,4 @@ type ReturnType = {
4
4
  };
5
5
  declare const useActiveLink: (path: string, deep?: boolean) => ReturnType;
6
6
  export default useActiveLink;
7
+ //# sourceMappingURL=useActiveLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useActiveLink.d.ts","sourceRoot":"","sources":["../../src/hooks/useActiveLink.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,aAAa,SAAU,MAAM,qBAAgB,UAalD,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './hooks';
3
3
  export * from './utils';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}