@gustavo-valsechi/client 1.3.14 → 1.3.16
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/chunk-7KA3WXTD.mjs +1252 -0
- package/dist/chunk-7KA3WXTD.mjs.map +1 -0
- package/dist/chunk-IF6P6NOG.mjs +141 -0
- package/dist/chunk-IF6P6NOG.mjs.map +1 -0
- package/dist/chunk-RWFXFZB5.mjs +2 -0
- package/dist/chunk-RWFXFZB5.mjs.map +1 -0
- package/dist/components.d.mts +10 -0
- package/dist/components.d.ts +10 -0
- package/dist/components.js +1390 -0
- package/dist/components.js.map +1 -0
- package/dist/components.mjs +3 -0
- package/dist/components.mjs.map +1 -0
- package/dist/contexts.d.mts +20 -0
- package/dist/contexts.d.ts +20 -0
- package/dist/contexts.js +141 -0
- package/dist/contexts.js.map +1 -0
- package/dist/contexts.mjs +3 -0
- package/dist/contexts.mjs.map +1 -0
- package/dist/index-BhaGW0O1.d.ts +601 -0
- package/dist/index-BxA8LyyD.d.mts +68 -0
- package/dist/index-DDi0w5pw.d.mts +601 -0
- package/dist/index-DT7VKE7H.d.ts +68 -0
- package/dist/index-Da-DtPS-.d.mts +29 -0
- package/dist/index-Da-DtPS-.d.ts +29 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.d.ts +17 -4
- package/dist/index.js +1390 -4
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces.d.mts +12 -0
- package/dist/interfaces.d.ts +12 -0
- package/dist/interfaces.js +3 -0
- package/dist/interfaces.js.map +1 -0
- package/dist/interfaces.mjs +3 -0
- package/dist/interfaces.mjs.map +1 -0
- package/package.json +8 -15
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.js +0 -17
- package/dist/components/styles.d.ts +0 -2
- package/dist/components/styles.js +0 -14
- package/dist/components/types/avatar/index.d.ts +0 -2
- package/dist/components/types/avatar/index.js +0 -34
- package/dist/components/types/avatar/styles.d.ts +0 -1
- package/dist/components/types/avatar/styles.js +0 -55
- package/dist/components/types/badge/index.d.ts +0 -2
- package/dist/components/types/badge/index.js +0 -16
- package/dist/components/types/badge/styles.d.ts +0 -1
- package/dist/components/types/badge/styles.js +0 -33
- package/dist/components/types/block/index.d.ts +0 -2
- package/dist/components/types/block/index.js +0 -8
- package/dist/components/types/block/styles.d.ts +0 -2
- package/dist/components/types/block/styles.js +0 -25
- package/dist/components/types/chart/index.d.ts +0 -2
- package/dist/components/types/chart/index.js +0 -33
- package/dist/components/types/chart/styles.d.ts +0 -1
- package/dist/components/types/chart/styles.js +0 -4
- package/dist/components/types/credit-card/assets/index.d.ts +0 -4
- package/dist/components/types/credit-card/assets/index.js +0 -17
- package/dist/components/types/credit-card/card/index.d.ts +0 -2
- package/dist/components/types/credit-card/card/index.js +0 -23
- package/dist/components/types/credit-card/card/styles.d.ts +0 -1
- package/dist/components/types/credit-card/card/styles.js +0 -132
- package/dist/components/types/credit-card/functions/index.d.ts +0 -2
- package/dist/components/types/credit-card/functions/index.js +0 -8
- package/dist/components/types/credit-card/functions/styles.d.ts +0 -1
- package/dist/components/types/credit-card/functions/styles.js +0 -37
- package/dist/components/types/credit-card/index.d.ts +0 -2
- package/dist/components/types/credit-card/index.js +0 -29
- package/dist/components/types/credit-card/styles.d.ts +0 -1
- package/dist/components/types/credit-card/styles.js +0 -34
- package/dist/components/types/credit-card/tools/index.d.ts +0 -6
- package/dist/components/types/credit-card/tools/index.js +0 -19
- package/dist/components/types/form/index.d.ts +0 -3
- package/dist/components/types/form/index.js +0 -53
- package/dist/components/types/form/styles.d.ts +0 -1
- package/dist/components/types/form/styles.js +0 -15
- package/dist/components/types/form/types/button/index.d.ts +0 -2
- package/dist/components/types/form/types/button/index.js +0 -8
- package/dist/components/types/form/types/button/loading/index.d.ts +0 -1
- package/dist/components/types/form/types/button/loading/index.js +0 -6
- package/dist/components/types/form/types/button/loading/styles.d.ts +0 -1
- package/dist/components/types/form/types/button/loading/styles.js +0 -88
- package/dist/components/types/form/types/button/styles.d.ts +0 -1
- package/dist/components/types/form/types/button/styles.js +0 -55
- package/dist/components/types/form/types/datetime/index.d.ts +0 -2
- package/dist/components/types/form/types/datetime/index.js +0 -20
- package/dist/components/types/form/types/datetime/styles.d.ts +0 -1
- package/dist/components/types/form/types/datetime/styles.js +0 -40
- package/dist/components/types/form/types/file/index.d.ts +0 -2
- package/dist/components/types/form/types/file/index.js +0 -24
- package/dist/components/types/form/types/file/styles.d.ts +0 -1
- package/dist/components/types/form/types/file/styles.js +0 -27
- package/dist/components/types/form/types/index.d.ts +0 -7
- package/dist/components/types/form/types/index.js +0 -7
- package/dist/components/types/form/types/input/index.d.ts +0 -2
- package/dist/components/types/form/types/input/index.js +0 -22
- package/dist/components/types/form/types/input/styles.d.ts +0 -1
- package/dist/components/types/form/types/input/styles.js +0 -46
- package/dist/components/types/form/types/label/index.d.ts +0 -2
- package/dist/components/types/form/types/label/index.js +0 -6
- package/dist/components/types/form/types/label/styles.d.ts +0 -1
- package/dist/components/types/form/types/label/styles.js +0 -7
- package/dist/components/types/form/types/select/index.d.ts +0 -2
- package/dist/components/types/form/types/select/index.js +0 -25
- package/dist/components/types/form/types/select/styles.d.ts +0 -1
- package/dist/components/types/form/types/select/styles.js +0 -52
- package/dist/components/types/form/types/textarea/index.d.ts +0 -2
- package/dist/components/types/form/types/textarea/index.js +0 -20
- package/dist/components/types/form/types/textarea/styles.d.ts +0 -1
- package/dist/components/types/form/types/textarea/styles.js +0 -39
- package/dist/components/types/index.d.ts +0 -11
- package/dist/components/types/index.js +0 -11
- package/dist/components/types/loading/app/index.d.ts +0 -2
- package/dist/components/types/loading/app/index.js +0 -7
- package/dist/components/types/loading/app/styles.d.ts +0 -1
- package/dist/components/types/loading/app/styles.js +0 -87
- package/dist/components/types/loading/bar/index.d.ts +0 -2
- package/dist/components/types/loading/bar/index.js +0 -6
- package/dist/components/types/loading/bar/styles.d.ts +0 -1
- package/dist/components/types/loading/bar/styles.js +0 -21
- package/dist/components/types/loading/index.d.ts +0 -2
- package/dist/components/types/loading/index.js +0 -2
- package/dist/components/types/logo/index.d.ts +0 -2
- package/dist/components/types/logo/index.js +0 -6
- package/dist/components/types/logo/styles.d.ts +0 -1
- package/dist/components/types/logo/styles.js +0 -19
- package/dist/components/types/lottie/animations/index.d.ts +0 -293
- package/dist/components/types/lottie/animations/index.js +0 -2
- package/dist/components/types/lottie/animations/loader.json +0 -1
- package/dist/components/types/lottie/index.d.ts +0 -2
- package/dist/components/types/lottie/index.js +0 -28
- package/dist/components/types/lottie/styles.d.ts +0 -1
- package/dist/components/types/lottie/styles.js +0 -22
- package/dist/components/types/modal/index.d.ts +0 -2
- package/dist/components/types/modal/index.js +0 -12
- package/dist/components/types/modal/styles.d.ts +0 -1
- package/dist/components/types/modal/styles.js +0 -153
- package/dist/components/types/table/index.d.ts +0 -3
- package/dist/components/types/table/index.js +0 -93
- package/dist/components/types/table/modal/actions.d.ts +0 -10
- package/dist/components/types/table/modal/actions.js +0 -6
- package/dist/components/types/table/modal/index.d.ts +0 -2
- package/dist/components/types/table/modal/index.js +0 -37
- package/dist/components/types/table/modal/styles.d.ts +0 -1
- package/dist/components/types/table/modal/styles.js +0 -52
- package/dist/components/types/table/paginate/index.d.ts +0 -2
- package/dist/components/types/table/paginate/index.js +0 -30
- package/dist/components/types/table/paginate/styles.d.ts +0 -1
- package/dist/components/types/table/paginate/styles.js +0 -36
- package/dist/components/types/table/styles.d.ts +0 -5
- package/dist/components/types/table/styles.js +0 -262
- package/dist/contexts/icon/assets/brands/index.d.ts +0 -2
- package/dist/contexts/icon/assets/brands/index.js +0 -7
- package/dist/contexts/icon/assets/index.d.ts +0 -6
- package/dist/contexts/icon/assets/index.js +0 -8
- package/dist/contexts/icon/assets/regular/index.d.ts +0 -2
- package/dist/contexts/icon/assets/regular/index.js +0 -7
- package/dist/contexts/icon/assets/solid/index.d.ts +0 -2
- package/dist/contexts/icon/assets/solid/index.js +0 -7
- package/dist/contexts/icon/index.d.ts +0 -4
- package/dist/contexts/icon/index.js +0 -75
- package/dist/contexts/icon/styles.d.ts +0 -1
- package/dist/contexts/icon/styles.js +0 -4
- package/dist/contexts/index.d.ts +0 -4
- package/dist/contexts/index.js +0 -5
- package/dist/contexts/modal/index.d.ts +0 -4
- package/dist/contexts/modal/index.js +0 -46
- package/dist/contexts/modal/styles.d.ts +0 -1
- package/dist/contexts/modal/styles.js +0 -4
- package/dist/contexts/theme/content.d.ts +0 -3
- package/dist/contexts/theme/content.js +0 -74
- package/dist/contexts/theme/index.d.ts +0 -4
- package/dist/contexts/theme/index.js +0 -26
- package/dist/contexts/theme/styles.d.ts +0 -1
- package/dist/contexts/theme/styles.js +0 -78
- package/dist/contexts/tooltip/index.d.ts +0 -6
- package/dist/contexts/tooltip/index.js +0 -58
- package/dist/contexts/tooltip/styles.d.ts +0 -1
- package/dist/contexts/tooltip/styles.js +0 -40
- package/dist/interfaces/components/avatar/index.d.ts +0 -6
- package/dist/interfaces/components/avatar/index.js +0 -1
- package/dist/interfaces/components/badge/index.d.ts +0 -3
- package/dist/interfaces/components/badge/index.js +0 -1
- package/dist/interfaces/components/block/index.d.ts +0 -16
- package/dist/interfaces/components/block/index.js +0 -1
- package/dist/interfaces/components/chart/index.d.ts +0 -9
- package/dist/interfaces/components/chart/index.js +0 -1
- package/dist/interfaces/components/credit-card/index.d.ts +0 -16
- package/dist/interfaces/components/credit-card/index.js +0 -1
- package/dist/interfaces/components/form/button/index.d.ts +0 -7
- package/dist/interfaces/components/form/button/index.js +0 -1
- package/dist/interfaces/components/form/datetime/index.d.ts +0 -15
- package/dist/interfaces/components/form/datetime/index.js +0 -1
- package/dist/interfaces/components/form/file/index.d.ts +0 -14
- package/dist/interfaces/components/form/file/index.js +0 -1
- package/dist/interfaces/components/form/index.d.ts +0 -16
- package/dist/interfaces/components/form/index.js +0 -7
- package/dist/interfaces/components/form/input/index.d.ts +0 -17
- package/dist/interfaces/components/form/input/index.js +0 -1
- package/dist/interfaces/components/form/label/index.d.ts +0 -5
- package/dist/interfaces/components/form/label/index.js +0 -1
- package/dist/interfaces/components/form/select/index.d.ts +0 -14
- package/dist/interfaces/components/form/select/index.js +0 -1
- package/dist/interfaces/components/form/textarea/index.d.ts +0 -16
- package/dist/interfaces/components/form/textarea/index.js +0 -1
- package/dist/interfaces/components/index.d.ts +0 -26
- package/dist/interfaces/components/index.js +0 -11
- package/dist/interfaces/components/loading/app/index.d.ts +0 -3
- package/dist/interfaces/components/loading/app/index.js +0 -1
- package/dist/interfaces/components/loading/bar/index.d.ts +0 -7
- package/dist/interfaces/components/loading/bar/index.js +0 -1
- package/dist/interfaces/components/loading/index.d.ts +0 -2
- package/dist/interfaces/components/loading/index.js +0 -2
- package/dist/interfaces/components/logo/index.d.ts +0 -6
- package/dist/interfaces/components/logo/index.js +0 -1
- package/dist/interfaces/components/lottie/index.d.ts +0 -12
- package/dist/interfaces/components/lottie/index.js +0 -1
- package/dist/interfaces/components/modal/index.d.ts +0 -16
- package/dist/interfaces/components/modal/index.js +0 -1
- package/dist/interfaces/components/table/index.d.ts +0 -46
- package/dist/interfaces/components/table/index.js +0 -1
- package/dist/interfaces/components/table/paginate/index.d.ts +0 -7
- package/dist/interfaces/components/table/paginate/index.js +0 -1
- package/dist/interfaces/contexts/icon/index.d.ts +0 -3
- package/dist/interfaces/contexts/icon/index.js +0 -1
- package/dist/interfaces/contexts/index.d.ts +0 -8
- package/dist/interfaces/contexts/index.js +0 -4
- package/dist/interfaces/contexts/modal/index.d.ts +0 -16
- package/dist/interfaces/contexts/modal/index.js +0 -2
- package/dist/interfaces/contexts/theme/index.d.ts +0 -42
- package/dist/interfaces/contexts/theme/index.js +0 -1
- package/dist/interfaces/contexts/tooltip/index.d.ts +0 -3
- package/dist/interfaces/contexts/tooltip/index.js +0 -1
- package/dist/interfaces/index.d.ts +0 -2
- package/dist/interfaces/index.js +0 -2
- package/dist/styled.d.ts +0 -6
- package/dist/styled.js +0 -1
- package/dist/tsup.config.d.ts +0 -2
- package/dist/tsup.config.js +0 -20
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { UseFormRegister } from "react-hook-form";
|
|
2
|
-
export interface IInputSelect {
|
|
3
|
-
className?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
onChange?: (event: any) => void;
|
|
8
|
-
options: Array<any>;
|
|
9
|
-
error: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
onFocus: (value: any) => void;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
register?: UseFormRegister<any>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { UseFormRegister } from "react-hook-form";
|
|
2
|
-
export interface IInputTextarea {
|
|
3
|
-
className?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value: string;
|
|
7
|
-
mask?: (value: string) => void;
|
|
8
|
-
onChange: (event: any) => void;
|
|
9
|
-
maxLength?: number;
|
|
10
|
-
rows?: number;
|
|
11
|
-
error: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
onFocus: (value: string) => void;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
register?: UseFormRegister<any>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import * as Types from "../../components/types";
|
|
3
|
-
export * from "./table";
|
|
4
|
-
export * from "./loading";
|
|
5
|
-
export * from "./modal";
|
|
6
|
-
export * from "./badge";
|
|
7
|
-
export * from "./logo";
|
|
8
|
-
export * from "./form";
|
|
9
|
-
export * from "./chart";
|
|
10
|
-
export * from "./avatar";
|
|
11
|
-
export * from "./lottie";
|
|
12
|
-
export * from "./credit-card";
|
|
13
|
-
export * from "./block";
|
|
14
|
-
export type IComponentMap = typeof Types;
|
|
15
|
-
export type IComponentConfigMap = {
|
|
16
|
-
[K in keyof IComponentMap]: {
|
|
17
|
-
type: K;
|
|
18
|
-
props?: React.ComponentProps<IComponentMap[K]>;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export type IComponentConfig = IComponentConfigMap[keyof IComponentMap];
|
|
22
|
-
export type IComponentContent = Array<IComponentConfig | Array<IComponentConfig>>;
|
|
23
|
-
export interface IComponent {
|
|
24
|
-
className?: string;
|
|
25
|
-
content: IComponentContent;
|
|
26
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./table";
|
|
2
|
-
export * from "./loading";
|
|
3
|
-
export * from "./modal";
|
|
4
|
-
export * from "./badge";
|
|
5
|
-
export * from "./logo";
|
|
6
|
-
export * from "./form";
|
|
7
|
-
export * from "./chart";
|
|
8
|
-
export * from "./avatar";
|
|
9
|
-
export * from "./lottie";
|
|
10
|
-
export * from "./credit-card";
|
|
11
|
-
export * from "./block";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import animations from "../../../components/types/lottie/animations";
|
|
2
|
-
interface IBase {
|
|
3
|
-
size?: number;
|
|
4
|
-
}
|
|
5
|
-
export type ILottie = (IBase & {
|
|
6
|
-
src: string;
|
|
7
|
-
animation?: never;
|
|
8
|
-
}) | (IBase & {
|
|
9
|
-
animation: keyof typeof animations;
|
|
10
|
-
src?: never;
|
|
11
|
-
});
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IButton } from "../../../interfaces";
|
|
3
|
-
export interface IModal {
|
|
4
|
-
toggle: boolean;
|
|
5
|
-
onClose?: () => void;
|
|
6
|
-
title?: string;
|
|
7
|
-
header?: {
|
|
8
|
-
title: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
};
|
|
11
|
-
buttons?: Array<IButton>;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
position?: "center" | "right" | "left";
|
|
14
|
-
noCloseIcon?: boolean;
|
|
15
|
-
content?: any;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export * from "./paginate";
|
|
3
|
-
export interface ITableAction {
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
position?: string;
|
|
6
|
-
function: (data?: any) => any;
|
|
7
|
-
icon?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
tooltip?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ITableColumn {
|
|
12
|
-
name?: string;
|
|
13
|
-
style?: object;
|
|
14
|
-
action?: ITableAction;
|
|
15
|
-
}
|
|
16
|
-
export interface ITableRow {
|
|
17
|
-
actions?: Array<ITableAction>;
|
|
18
|
-
image?: any;
|
|
19
|
-
icon?: any;
|
|
20
|
-
style?: any;
|
|
21
|
-
mask?: any;
|
|
22
|
-
custom?: (data: any) => React.ReactNode;
|
|
23
|
-
name?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ITable {
|
|
26
|
-
content: Array<any>;
|
|
27
|
-
loading?: boolean | {
|
|
28
|
-
is?: boolean;
|
|
29
|
-
items?: Array<any>;
|
|
30
|
-
};
|
|
31
|
-
options: Array<{
|
|
32
|
-
column: ITableColumn | string;
|
|
33
|
-
row: ITableRow | string;
|
|
34
|
-
}>;
|
|
35
|
-
notFound?: {
|
|
36
|
-
title: string;
|
|
37
|
-
message: string;
|
|
38
|
-
};
|
|
39
|
-
paginate?: {
|
|
40
|
-
total: number;
|
|
41
|
-
page: {
|
|
42
|
-
value: number;
|
|
43
|
-
set: (value: number) => any;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./paginate";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Modal } from "../../../components";
|
|
2
|
-
import { IModal, IBaseProvider } from "../..";
|
|
3
|
-
export interface IModalProvider extends IBaseProvider {
|
|
4
|
-
}
|
|
5
|
-
export interface IModalConfig {
|
|
6
|
-
component: typeof Modal;
|
|
7
|
-
name: string;
|
|
8
|
-
props?: IModal;
|
|
9
|
-
type?: "fixed" | "dinamic";
|
|
10
|
-
}
|
|
11
|
-
export interface IModalContext {
|
|
12
|
-
value: Array<IModalConfig>;
|
|
13
|
-
add: (value: IModalConfig) => void;
|
|
14
|
-
remove: (modalName: string) => void;
|
|
15
|
-
setProps: (modalName: string, props: IModal) => void;
|
|
16
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { IBaseProvider } from "../..";
|
|
2
|
-
export interface IThemeProvider extends IBaseProvider {
|
|
3
|
-
theme?: string;
|
|
4
|
-
}
|
|
5
|
-
export interface ICommonTheme {
|
|
6
|
-
secondary: string;
|
|
7
|
-
tertiary: string;
|
|
8
|
-
positive: string;
|
|
9
|
-
negative: string;
|
|
10
|
-
mobileMaxWidth: string;
|
|
11
|
-
mobileMinWidth: string;
|
|
12
|
-
}
|
|
13
|
-
export interface IThemeContent extends ICommonTheme {
|
|
14
|
-
primary: string;
|
|
15
|
-
reverse: string;
|
|
16
|
-
tooltip: string;
|
|
17
|
-
t8: string;
|
|
18
|
-
t7: string;
|
|
19
|
-
t6: string;
|
|
20
|
-
t5: string;
|
|
21
|
-
t4: string;
|
|
22
|
-
t3: string;
|
|
23
|
-
t2: string;
|
|
24
|
-
t1: string;
|
|
25
|
-
t08: string;
|
|
26
|
-
t05: string;
|
|
27
|
-
t03: string;
|
|
28
|
-
t02: string;
|
|
29
|
-
t01: string;
|
|
30
|
-
lgrad: string;
|
|
31
|
-
maingrad: string;
|
|
32
|
-
}
|
|
33
|
-
export interface ITheme {
|
|
34
|
-
light: IThemeContent;
|
|
35
|
-
dark: IThemeContent;
|
|
36
|
-
}
|
|
37
|
-
export interface IThemeContext {
|
|
38
|
-
theme: keyof ITheme;
|
|
39
|
-
setTheme: (theme: keyof ITheme) => void;
|
|
40
|
-
content: IThemeContent;
|
|
41
|
-
Switcher: any;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/interfaces/index.js
DELETED
package/dist/styled.d.ts
DELETED
package/dist/styled.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "styled-components";
|
package/dist/tsup.config.d.ts
DELETED
package/dist/tsup.config.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "tsup";
|
|
2
|
-
export default defineConfig({
|
|
3
|
-
entry: {
|
|
4
|
-
"index": "index.tsx",
|
|
5
|
-
"components/index": "components/index.ts",
|
|
6
|
-
"contexts/index": "contexts/index.ts",
|
|
7
|
-
"interfaces/index": "interfaces/index.ts",
|
|
8
|
-
},
|
|
9
|
-
format: ["esm", "cjs"],
|
|
10
|
-
dts: true,
|
|
11
|
-
sourcemap: true,
|
|
12
|
-
clean: true,
|
|
13
|
-
minify: true,
|
|
14
|
-
external: ["react", "react-dom", "styled-components", "next"],
|
|
15
|
-
bundle: true,
|
|
16
|
-
splitting: false,
|
|
17
|
-
treeshake: true,
|
|
18
|
-
target: "es2020",
|
|
19
|
-
banner: { js: '"use client";' },
|
|
20
|
-
});
|