xtreme-ui 0.0.1 → 0.0.3

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 (48) hide show
  1. package/dist/components/base/Button/Button.d.ts +3 -32
  2. package/dist/components/base/Button/Button.d.ts.map +1 -1
  3. package/dist/components/base/Button/types.d.ts +32 -0
  4. package/dist/components/base/Button/types.d.ts.map +1 -0
  5. package/dist/components/base/Icon/Icon.d.ts +3 -12
  6. package/dist/components/base/Icon/Icon.d.ts.map +1 -1
  7. package/dist/components/base/Icon/types.d.ts +12 -0
  8. package/dist/components/base/Icon/types.d.ts.map +1 -0
  9. package/dist/components/base/ProgressBar/ProgressBar.d.ts +3 -6
  10. package/dist/components/base/ProgressBar/ProgressBar.d.ts.map +1 -1
  11. package/dist/components/base/ProgressBar/types.d.ts +6 -0
  12. package/dist/components/base/ProgressBar/types.d.ts.map +1 -0
  13. package/dist/components/base/Textfield/Textfield.d.ts +3 -22
  14. package/dist/components/base/Textfield/Textfield.d.ts.map +1 -1
  15. package/dist/components/base/Textfield/types.d.ts +21 -1
  16. package/dist/components/base/Textfield/types.d.ts.map +1 -1
  17. package/dist/components/index.d.ts.map +1 -1
  18. package/dist/components/layout/Navigation/Navigation.d.ts +3 -7
  19. package/dist/components/layout/Navigation/Navigation.d.ts.map +1 -1
  20. package/dist/components/layout/Navigation/types.d.ts +5 -0
  21. package/dist/components/layout/Navigation/types.d.ts.map +1 -1
  22. package/dist/components/layout/Sider/Sider.d.ts +3 -18
  23. package/dist/components/layout/Sider/Sider.d.ts.map +1 -1
  24. package/dist/components/layout/Sider/types.d.ts +18 -0
  25. package/dist/components/layout/Sider/types.d.ts.map +1 -0
  26. package/dist/index.es.js +603 -603
  27. package/dist/index.umd.js +10 -10
  28. package/dist/style.css +1 -1
  29. package/dist/utils/function/mergeRefs.d.ts +3 -0
  30. package/dist/utils/function/mergeRefs.d.ts.map +1 -0
  31. package/package.json +3 -4
  32. package/dist/components/base/Button/Button.stories.d.ts +0 -57
  33. package/dist/components/base/Button/Button.stories.d.ts.map +0 -1
  34. package/dist/components/base/Icon/Icon.stories.d.ts +0 -38
  35. package/dist/components/base/Icon/Icon.stories.d.ts.map +0 -1
  36. package/dist/components/base/ProgressBar/ProgressBar.stories.d.ts +0 -33
  37. package/dist/components/base/ProgressBar/ProgressBar.stories.d.ts.map +0 -1
  38. package/dist/components/base/Textfield/Textfield.stories.d.ts +0 -37
  39. package/dist/components/base/Textfield/Textfield.stories.d.ts.map +0 -1
  40. package/dist/components/layout/Navigation/Navigation.stories.d.ts +0 -16
  41. package/dist/components/layout/Navigation/Navigation.stories.d.ts.map +0 -1
  42. package/dist/components/layout/Navigation/Routes.d.ts +0 -3
  43. package/dist/components/layout/Navigation/Routes.d.ts.map +0 -1
  44. package/dist/components/layout/Sider/Sider.stories.d.ts +0 -41
  45. package/dist/components/layout/Sider/Sider.stories.d.ts.map +0 -1
  46. package/dist/utils/helper/fontHelper.d.ts +0 -1
  47. package/dist/utils/helper/fontHelper.d.ts.map +0 -1
  48. package/dist/vite.svg +0 -1
@@ -1,33 +1,4 @@
1
- import { MouseEvent } from 'react';
2
- export declare const Button: (props: TButtonProps) => import("react/jsx-runtime").JSX.Element | null;
3
- export type TButtonProps = ({
4
- label: string;
5
- iconName?: string;
6
- } | {
7
- label?: string;
8
- iconName: string;
9
- }) & {
10
- className?: string;
11
- type?: keyof typeof EButtonTypes;
12
- size?: keyof typeof EButtonSize;
13
- loading?: boolean;
14
- disabled?: boolean;
15
- iconFilled?: boolean;
16
- iconPosition?: 'left' | 'right';
17
- onClick: (event: MouseEvent<HTMLButtonElement>) => void;
18
- };
19
- declare enum EButtonTypes {
20
- primary = "primary",
21
- primaryDanger = "primaryDanger",
22
- secondary = "secondary",
23
- secondaryDanger = "secondaryDanger",
24
- link = "link",
25
- linkDanger = "linkDanger"
26
- }
27
- declare enum EButtonSize {
28
- mini = "mini",
29
- default = "default",
30
- large = "large"
31
- }
32
- export {};
1
+ /// <reference types="react" />
2
+ import { TButtonProps } from './types';
3
+ export declare const Button: import("react").ForwardRefExoticComponent<TButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
33
4
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAU,MAAM,OAAO,CAAC;AAa3C,eAAO,MAAM,MAAM,UAAW,YAAY,mDAsDzC,CAAC;AACF,MAAM,MAAM,YAAY,GAAG,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC,GAAG;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CACxD,CAAA;AAED,aAAK,YAAY;IAChB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;CACzB;AACD,aAAK,WAAW;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CACf"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAgB,YAAY,EAAE,MAAM,SAAS,CAAC;AAKrD,eAAO,MAAM,MAAM,4GAsDjB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { MouseEvent } from 'react';
2
+ export type TButtonProps = {
3
+ className?: string;
4
+ type?: keyof typeof EButtonTypes;
5
+ size?: keyof typeof EButtonSize;
6
+ loading?: boolean;
7
+ disabled?: boolean;
8
+ iconFilled?: boolean;
9
+ iconPosition?: 'left' | 'right';
10
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
11
+ } & ({
12
+ label: string;
13
+ iconName?: string;
14
+ } | {
15
+ label?: string;
16
+ iconName: string;
17
+ });
18
+ export declare enum EButtonTypes {
19
+ primary = "primary",
20
+ primaryDanger = "primaryDanger",
21
+ secondary = "secondary",
22
+ secondaryDanger = "secondaryDanger",
23
+ link = "link",
24
+ linkDanger = "linkDanger"
25
+ }
26
+ declare enum EButtonSize {
27
+ mini = "mini",
28
+ default = "default",
29
+ large = "large"
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,MAAM,MAAM,YAAY,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CACzD,GAAG,CAAC;IACJ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC,CAAA;AAEF,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;CACzB;AAED,aAAK,WAAW;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CACf"}
@@ -1,13 +1,4 @@
1
- export declare const Icon: (props: IIconProps) => import("react/jsx-runtime").JSX.Element;
2
- export declare const IconSize: {
3
- mini: number;
4
- default: number;
5
- large: number;
6
- };
7
- export interface IIconProps {
8
- className?: string;
9
- name: string;
10
- size?: number;
11
- filled?: boolean;
12
- }
1
+ /// <reference types="react" />
2
+ import { IIconProps } from './types';
3
+ export declare const Icon: import("react").ForwardRefExoticComponent<IIconProps & import("react").RefAttributes<HTMLSpanElement>>;
13
4
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/base/Icon/Icon.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,UAAW,UAAU,4CAgBrC,CAAC;AACF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AACF,MAAM,WAAW,UAAU;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/base/Icon/Icon.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAa,UAAU,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,IAAI,wGAcf,CAAC"}
@@ -0,0 +1,12 @@
1
+ export type IIconProps = {
2
+ className?: string;
3
+ name: string;
4
+ size?: number | keyof typeof EIconSize;
5
+ filled?: boolean;
6
+ };
7
+ export declare enum EIconSize {
8
+ mini = 16,
9
+ default = 24,
10
+ large = 32
11
+ }
12
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/Icon/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,OAAO,SAAS,CAAC;IACvC,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAA;AAED,oBAAY,SAAS;IACpB,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,KAAK,KAAK;CACV"}
@@ -1,7 +1,4 @@
1
- export declare const ProgressBar: (props: IProgressBarProps) => import("react/jsx-runtime").JSX.Element;
2
- export interface IProgressBarProps {
3
- className?: string;
4
- progress?: number;
5
- intermediate?: boolean;
6
- }
1
+ /// <reference types="react" />
2
+ import { IProgressBarProps } from './types';
3
+ export declare const ProgressBar: import("react").ForwardRefExoticComponent<IProgressBarProps & import("react").RefAttributes<HTMLDivElement>>;
7
4
  //# sourceMappingURL=ProgressBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/base/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,UAAW,iBAAiB,4CAgBnD,CAAC;AAEF,MAAM,WAAW,iBAAiB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/base/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8GAgBtB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type IProgressBarProps = {
2
+ className?: string;
3
+ progress?: number;
4
+ intermediate?: boolean;
5
+ };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/ProgressBar/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAA"}
@@ -1,23 +1,4 @@
1
- import { ChangeEvent } from 'react';
2
- import { ETextfieldAutoComplete } from './types';
3
- export declare const Textfield: (props: TTextfieldProps) => import("react/jsx-runtime").JSX.Element;
4
- export type TTextfieldProps = {
5
- className?: string;
6
- type?: keyof typeof ETextfieldType;
7
- textarea?: boolean;
8
- placeholder: string;
9
- autoFocus?: boolean;
10
- autoComplete?: keyof typeof ETextfieldAutoComplete;
11
- iconName?: string;
12
- iconFilled?: boolean;
13
- value?: string;
14
- onChange?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
15
- };
16
- declare enum ETextfieldType {
17
- text = "text",
18
- number = "number",
19
- password = "password",
20
- search = "search"
21
- }
22
- export {};
1
+ /// <reference types="react" />
2
+ import { TTextfieldProps } from './types';
3
+ export declare const Textfield: import("react").ForwardRefExoticComponent<TTextfieldProps & import("react").RefAttributes<HTMLInputElement>>;
23
4
  //# sourceMappingURL=Textfield.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../src/components/base/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,OAAO,CAAC;AAO7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,SAAS,UAAW,eAAe,4CA6D/C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,OAAO,sBAAsB,CAAC;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;CAChF,CAAA;AAED,aAAK,cAAc;IAClB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CACjB"}
1
+ {"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../src/components/base/Textfield/Textfield.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,SAAS,8GA6DpB,CAAC"}
@@ -1,4 +1,23 @@
1
- export declare enum ETextfieldAutoComplete {
1
+ import { ChangeEvent } from 'react';
2
+ export type TTextfieldProps = {
3
+ className?: string;
4
+ type?: keyof typeof ETextfieldType;
5
+ textarea?: boolean;
6
+ placeholder: string;
7
+ autoFocus?: boolean;
8
+ autoComplete?: keyof typeof ETextfieldAutoComplete;
9
+ iconName?: string;
10
+ iconFilled?: boolean;
11
+ value?: string;
12
+ onChange?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
13
+ };
14
+ declare enum ETextfieldType {
15
+ text = "text",
16
+ number = "number",
17
+ password = "password",
18
+ search = "search"
19
+ }
20
+ declare enum ETextfieldAutoComplete {
2
21
  'off' = "off",
3
22
  'on' = "on",
4
23
  'name' = "name",
@@ -44,4 +63,5 @@ export declare enum ETextfieldAutoComplete {
44
63
  'bday-month' = "bday-month",
45
64
  'bday-year' = "bday-year"
46
65
  }
66
+ export {};
47
67
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/Textfield/types.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IACjC,KAAK,QAAQ;IACb,IAAI,OAAO;IACX,MAAM,SAAS;IACf,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,iBAAiB,oBAAoB;IACrC,aAAa,gBAAgB;IAC7B,kBAAkB,qBAAqB;IACvC,UAAU,aAAa;IACvB,OAAO,UAAU;IACjB,UAAU,aAAa;IACvB,cAAc,iBAAiB;IAC/B,kBAAkB,qBAAqB;IACvC,eAAe,kBAAkB;IACjC,oBAAoB,uBAAuB;IAC3C,cAAc,iBAAiB;IAC/B,gBAAgB,mBAAmB;IACnC,eAAe,kBAAkB;IACjC,eAAe,kBAAkB;IACjC,eAAe,kBAAkB;IACjC,gBAAgB,mBAAmB;IACnC,gBAAgB,mBAAmB;IACnC,gBAAgB,mBAAmB;IACnC,gBAAgB,mBAAmB;IACnC,SAAS,YAAY;IACrB,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,SAAS,YAAY;IACrB,eAAe,kBAAkB;IACjC,oBAAoB,uBAAuB;IAC3C,gBAAgB,mBAAmB;IACnC,WAAW,cAAc;IACzB,QAAQ,WAAW;IACnB,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,QAAQ,WAAW;IACnB,SAAS,YAAY;IACrB,sBAAsB,yBAAyB;IAC/C,oBAAoB,uBAAuB;IAC3C,UAAU,aAAa;IACvB,MAAM,SAAS;IACf,UAAU,aAAa;IACvB,YAAY,eAAe;IAC3B,WAAW,cAAc;CACzB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/Textfield/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,MAAM,MAAM,eAAe,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,OAAO,sBAAsB,CAAC;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;CAChF,CAAA;AAED,aAAK,cAAc;IAClB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CACjB;AAED,aAAK,sBAAsB;IAC1B,KAAK,QAAQ;IACb,IAAI,OAAO;IACX,MAAM,SAAS;IACf,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,iBAAiB,oBAAoB;IACrC,aAAa,gBAAgB;IAC7B,kBAAkB,qBAAqB;IACvC,UAAU,aAAa;IACvB,OAAO,UAAU;IACjB,UAAU,aAAa;IACvB,cAAc,iBAAiB;IAC/B,kBAAkB,qBAAqB;IACvC,eAAe,kBAAkB;IACjC,oBAAoB,uBAAuB;IAC3C,cAAc,iBAAiB;IAC/B,gBAAgB,mBAAmB;IACnC,eAAe,kBAAkB;IACjC,eAAe,kBAAkB;IACjC,eAAe,kBAAkB;IACjC,gBAAgB,mBAAmB;IACnC,gBAAgB,mBAAmB;IACnC,gBAAgB,mBAAmB;IACnC,gBAAgB,mBAAmB;IACnC,SAAS,YAAY;IACrB,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,SAAS,YAAY;IACrB,eAAe,kBAAkB;IACjC,oBAAoB,uBAAuB;IAC3C,gBAAgB,mBAAmB;IACnC,WAAW,cAAc;IACzB,QAAQ,WAAW;IACnB,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,QAAQ,WAAW;IACnB,SAAS,YAAY;IACrB,sBAAsB,yBAAyB;IAC/C,oBAAoB,uBAAuB;IAC3C,UAAU,aAAa;IACvB,MAAM,SAAS;IACf,UAAU,aAAa;IACvB,YAAY,eAAe;IAC3B,WAAW,cAAc;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAElC,OAAO,kBAAkB,CAAC;AAE1B,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGvD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGvD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
@@ -1,8 +1,4 @@
1
- import { FC } from 'react';
2
- import { TNavigationRoute } from './types';
3
- export declare const Navigation: (props: TNavigationProps) => import("react/jsx-runtime").JSX.Element;
4
- export type TNavigationProps = {
5
- className?: string;
6
- Routes?: FC<TNavigationRoute>;
7
- };
1
+ /// <reference types="react" />
2
+ import { TNavigationProps } from './types';
3
+ export declare const Navigation: import("react").ForwardRefExoticComponent<TNavigationProps & import("react").RefAttributes<HTMLDivElement>>;
8
4
  //# sourceMappingURL=Navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navigation/Navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,gBAAgB,4CAwBjD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC;CAC9B,CAAA"}
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navigation/Navigation.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,UAAU,6GAwBrB,CAAC"}
@@ -1,3 +1,8 @@
1
+ import { FC } from 'react';
2
+ export type TNavigationProps = {
3
+ className?: string;
4
+ Routes?: FC<TNavigationRoute>;
5
+ };
1
6
  export type TNavigationRoute = {
2
7
  className: string;
3
8
  activeClassName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navigation/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACvB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navigation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC;CAC9B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACvB,CAAA"}
@@ -1,19 +1,4 @@
1
- import { ReactNode } from 'react';
2
- export declare const Sider: (props: TSiderProps) => import("react/jsx-runtime").JSX.Element;
3
- export type TSiderProps = {
4
- className?: string;
5
- children?: ReactNode;
6
- leftSider?: ReactNode;
7
- showMiniLeftSider?: boolean;
8
- rightSider?: ReactNode;
9
- showMiniRightSider?: boolean;
10
- open?: keyof typeof EOpenModes;
11
- setOpen?: (open: boolean) => void;
12
- };
13
- declare enum EOpenModes {
14
- left = "left",
15
- right = "right",
16
- closed = "closed"
17
- }
18
- export {};
1
+ /// <reference types="react" />
2
+ import { TSiderProps } from './types';
3
+ export declare const Sider: import("react").ForwardRefExoticComponent<TSiderProps & import("react").RefAttributes<HTMLDivElement>>;
19
4
  //# sourceMappingURL=Sider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sider.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Sider/Sider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,eAAO,MAAM,KAAK,UAAW,WAAW,4CAkCvC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC,CAAA;AACD,aAAK,UAAU;IACd,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;CACjB"}
1
+ {"version":3,"file":"Sider.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Sider/Sider.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,KAAK,wGAmChB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+ export type TSiderProps = {
3
+ className?: string;
4
+ children?: ReactNode;
5
+ leftSider?: ReactNode;
6
+ showMiniLeftSider?: boolean;
7
+ rightSider?: ReactNode;
8
+ showMiniRightSider?: boolean;
9
+ open?: keyof typeof EOpenModes;
10
+ setOpen?: (open: boolean) => void;
11
+ };
12
+ declare enum EOpenModes {
13
+ left = "left",
14
+ right = "right",
15
+ closed = "closed"
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Sider/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,MAAM,WAAW,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC,CAAA;AACD,aAAK,UAAU;IACd,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;CACjB"}