kelt-ui-kit-react 1.2.3 → 1.2.5
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/README.md +46 -46
- package/dist/App.d.ts +3 -2
- package/dist/App.menu.d.ts +10 -10
- package/dist/App.routes.d.ts +1 -1
- package/dist/_core/hooks/ImageChecker.d.ts +6 -5
- package/dist/_core/hooks/useIsMobile.d.ts +1 -1
- package/dist/action/Action.view.d.ts +1 -1
- package/dist/action/ButtonAction.d.ts +9 -8
- package/dist/badge/Badge.d.ts +9 -8
- package/dist/badge/Badge.view.d.ts +1 -1
- package/dist/button/Button.d.ts +2 -1
- package/dist/button/Button.view.d.ts +1 -1
- package/dist/button/button.interface.d.ts +18 -17
- package/dist/button/buttonActions/ButtonActions.d.ts +11 -10
- package/dist/card/Card.d.ts +13 -12
- package/dist/card/Card.view.d.ts +1 -1
- package/dist/card/card.interface.d.ts +10 -10
- package/dist/card/cardAction/CardAction.d.ts +14 -13
- package/dist/card/cardAction.interface.d.ts +9 -8
- package/dist/card/hook/useCardInteractions.d.ts +8 -8
- package/dist/carousel/Carousel.d.ts +15 -14
- package/dist/carousel/Carousel.view.d.ts +1 -1
- package/dist/damier/Damier.d.ts +10 -9
- package/dist/damier/Damier.view.d.ts +1 -1
- package/dist/damier/damierCell/DamierCell.d.ts +7 -6
- package/dist/damier/damierCell/damierCell.interface.d.ts +6 -6
- package/dist/dataTable/DataTable.d.ts +18 -17
- package/dist/dataTable/DataTable.view.d.ts +1 -1
- package/dist/dataTable/dataTable.interface.d.ts +31 -30
- package/dist/datePicker/DatePicker.d.ts +8 -7
- package/dist/datePicker/DatePicker.view.d.ts +1 -1
- package/dist/expands/Expands.d.ts +10 -9
- package/dist/expands/Expands.view.d.ts +1 -1
- package/dist/expands/expand/expand.d.ts +9 -8
- package/dist/expands/expand/expand.interface.d.ts +9 -9
- package/dist/filAriane/FilAriane.d.ts +9 -8
- package/dist/filAriane/FilAriane.view.d.ts +1 -1
- package/dist/filAriane/filAriane.interface.d.ts +6 -6
- package/dist/form/Form.d.ts +24 -23
- package/dist/form/Form.view.d.ts +1 -1
- package/dist/form/form.enum.d.ts +11 -11
- package/dist/form/form.interface.d.ts +30 -29
- package/dist/form/textArea/TextArea.d.ts +13 -12
- package/dist/form/textArea/TextArea.view.d.ts +1 -1
- package/dist/grid/Grid.d.ts +8 -7
- package/dist/grid/Grid.view.d.ts +1 -1
- package/dist/grid/col/Col.d.ts +10 -10
- package/dist/grid/col/colStyled/ColStyled.d.ts +9 -9
- package/dist/grid/container/Container.d.ts +6 -5
- package/dist/grid/grid.interface.d.ts +8 -8
- package/dist/grid/row/Row.d.ts +8 -7
- package/dist/header/Header.d.ts +2 -1
- package/dist/header/Header.view.d.ts +1 -1
- package/dist/header/header.interface.d.ts +9 -9
- package/dist/home/Home.d.ts +1 -1
- package/dist/icon/Icon.d.ts +2 -1
- package/dist/icon/Icons.view.d.ts +1 -1
- package/dist/icon/icon.interface.d.ts +5 -4
- package/dist/icon/iconSize.enum.d.ts +7 -7
- package/dist/index.d.ts +32 -31
- package/dist/index.html +18 -18
- package/dist/index.js +1 -1
- package/dist/loader/Loader.d.ts +8 -7
- package/dist/loader/Loader.view.d.ts +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/manifest.json +25 -25
- package/dist/menus/Menus.d.ts +6 -5
- package/dist/menus/Menus.view.d.ts +1 -1
- package/dist/menus/menu/Menu.d.ts +7 -6
- package/dist/menus/menu/menu.interface.d.ts +10 -10
- package/dist/modal/Modal.d.ts +13 -12
- package/dist/modal/Modal.view.d.ts +1 -1
- package/dist/notFound/NotFound.d.ts +1 -1
- package/dist/overlayPanel/OverlayPanel.d.ts +19 -18
- package/dist/overlayPanel/OverlayPanel.view.d.ts +1 -1
- package/dist/overlayPanel/overlay.context.d.ts +10 -9
- package/dist/overlayPanel/overlayPanelStyled/OverlayPanelStyled.d.ts +7 -7
- package/dist/quantity/Quantity.d.ts +11 -10
- package/dist/robots.txt +3 -3
- package/dist/search/Search.d.ts +22 -21
- package/dist/search/Search.view.d.ts +1 -1
- package/dist/select/Select.d.ts +14 -13
- package/dist/select/Select.view.d.ts +1 -1
- package/dist/select/selectOption.interface.d.ts +4 -4
- package/dist/sidebar/Sidebar.d.ts +13 -12
- package/dist/sidebar/Sidebar.view.d.ts +1 -1
- package/dist/sidebarData/SidebarData.d.ts +7 -6
- package/dist/sidebarData/SidebarData.view.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/toaster/Toaster.d.ts +2 -1
- package/dist/toaster/Toaster.view.d.ts +1 -1
- package/dist/toaster/store/useToasterStore.d.ts +18 -18
- package/index.html +19 -19
- package/package.json +55 -55
- package/public/index.html +18 -18
- package/public/manifest.json +25 -25
- package/public/robots.txt +3 -3
- package/src/App.css +11 -11
- package/src/App.menu.tsx +209 -209
- package/src/App.routes.tsx +16 -16
- package/src/App.tsx +28 -28
- package/src/_core/hooks/ImageChecker.tsx +26 -26
- package/src/_core/hooks/useIsMobile.ts +18 -18
- package/src/action/Action.view.tsx +21 -21
- package/src/action/ButtonAction.tsx +32 -32
- package/src/action/action.css +20 -20
- package/src/badge/Badge.tsx +34 -34
- package/src/badge/Badge.view.tsx +15 -15
- package/src/badge/badge.css +55 -55
- package/src/button/Button.tsx +44 -44
- package/src/button/Button.view.tsx +61 -61
- package/src/button/button.css +53 -53
- package/src/button/button.interface.tsx +20 -20
- package/src/button/buttonActions/ButtonActions.tsx +101 -101
- package/src/card/Card.tsx +125 -125
- package/src/card/Card.view.tsx +73 -73
- package/src/card/card.css +145 -145
- package/src/card/card.interface.tsx +9 -9
- package/src/card/cardAction/CardAction.tsx +135 -135
- package/src/card/cardAction/cardAction.css +10 -10
- package/src/card/cardAction.interface.tsx +10 -10
- package/src/card/hook/useCardInteractions.tsx +30 -30
- package/src/carousel/Carousel.css +44 -44
- package/src/carousel/Carousel.tsx +115 -115
- package/src/carousel/Carousel.view.tsx +13 -13
- package/src/damier/Damier.tsx +55 -55
- package/src/damier/Damier.view.tsx +31 -31
- package/src/damier/damier.css +44 -44
- package/src/damier/damierCell/DamierCell.tsx +18 -18
- package/src/damier/damierCell/damierCell.interface.tsx +5 -5
- package/src/dataTable/DataTable.tsx +241 -241
- package/src/dataTable/DataTable.view.tsx +59 -59
- package/src/dataTable/dataTable.css +17 -17
- package/src/dataTable/dataTable.interface.ts +29 -29
- package/src/datePicker/DatePicker.tsx +110 -110
- package/src/datePicker/DatePicker.view.tsx +9 -9
- package/src/datePicker/datePicker.css +77 -77
- package/src/expands/Expands.tsx +42 -42
- package/src/expands/Expands.view.tsx +90 -90
- package/src/expands/expand/expand.interface.tsx +8 -8
- package/src/expands/expand/expand.tsx +75 -75
- package/src/expands/expands.css +97 -97
- package/src/filAriane/FilAriane.tsx +57 -57
- package/src/filAriane/FilAriane.view.tsx +28 -28
- package/src/filAriane/filAriane.css +22 -22
- package/src/filAriane/filAriane.interface.tsx +6 -6
- package/src/form/Form.tsx +175 -175
- package/src/form/Form.view.tsx +47 -47
- package/src/form/form.css +37 -37
- package/src/form/form.enum.ts +11 -11
- package/src/form/form.interface.tsx +31 -31
- package/src/form/textArea/TextArea.tsx +53 -53
- package/src/form/textArea/TextArea.view.tsx +34 -34
- package/src/form/textArea/textArea.css +9 -9
- package/src/grid/Grid.tsx +21 -21
- package/src/grid/Grid.view.tsx +24 -24
- package/src/grid/col/Col.tsx +15 -15
- package/src/grid/col/colStyled/ColStyled.tsx +41 -41
- package/src/grid/container/Container.tsx +8 -8
- package/src/grid/container/container.css +5 -5
- package/src/grid/grid.interface.tsx +7 -7
- package/src/grid/row/Row.tsx +12 -12
- package/src/grid/row/row.css +18 -18
- package/src/header/Header.tsx +51 -51
- package/src/header/Header.view.tsx +5 -5
- package/src/header/header.css +26 -26
- package/src/header/header.interface.tsx +8 -8
- package/src/home/Home.tsx +3 -3
- package/src/icon/Icon.tsx +6 -6
- package/src/icon/Icons.view.tsx +29 -29
- package/src/icon/icon.css +20 -20
- package/src/icon/icon.interface.tsx +6 -6
- package/src/icon/iconSize.enum.ts +7 -7
- package/src/index.css +502 -502
- package/src/index.ts +33 -33
- package/src/loader/Loader.tsx +37 -37
- package/src/loader/Loader.view.tsx +20 -20
- package/src/loader/loader.css +30 -30
- package/src/main.tsx +10 -10
- package/src/menus/Menus.tsx +42 -42
- package/src/menus/Menus.view.tsx +39 -39
- package/src/menus/menu/Menu.tsx +17 -17
- package/src/menus/menu/menu.interface.tsx +9 -9
- package/src/menus/menus.css +47 -47
- package/src/modal/Modal.tsx +53 -53
- package/src/modal/Modal.view.tsx +25 -25
- package/src/modal/modal.css +71 -69
- package/src/notFound/NotFound.tsx +3 -3
- package/src/overlayPanel/OverlayPanel.tsx +189 -189
- package/src/overlayPanel/OverlayPanel.view.tsx +25 -25
- package/src/overlayPanel/overlay.context.tsx +28 -28
- package/src/overlayPanel/overlayPanel.css +35 -35
- package/src/overlayPanel/overlayPanelStyled/OverlayPanelStyled.tsx +18 -18
- package/src/quantity/Quantity.tsx +103 -103
- package/src/quantity/quantity.css +26 -26
- package/src/search/Search.tsx +161 -161
- package/src/search/Search.view.tsx +14 -14
- package/src/search/search.css +59 -59
- package/src/select/Select.tsx +53 -53
- package/src/select/Select.view.tsx +71 -71
- package/src/select/select.css +51 -51
- package/src/select/selectOption.interface.ts +4 -4
- package/src/sidebar/Sidebar.tsx +111 -111
- package/src/sidebar/Sidebar.view.tsx +17 -17
- package/src/sidebar/sidebar.css +87 -87
- package/src/sidebarData/SidebarData.tsx +19 -19
- package/src/sidebarData/SidebarData.view.tsx +19 -19
- package/src/sidebarData/sidebarData.css +27 -27
- package/src/toaster/Toaster.tsx +47 -47
- package/src/toaster/Toaster.view.tsx +3 -3
- package/src/toaster/store/useToasterStore.tsx +39 -39
- package/src/toaster/toaster.css +57 -57
- package/tsconfig.json +28 -28
- package/vite.config.ts +20 -20
- package/vite.config.ts.timestamp-1733262892554-a13dfef6e8a29.mjs +24 -24
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ExpandInterface } from './expand/expand.interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
2
|
+
|
|
3
|
+
type ExpandProps = {
|
|
4
|
+
items: ExpandInterface[];
|
|
5
|
+
className?: string;
|
|
6
|
+
onChange?: (item: ExpandInterface) => void;
|
|
7
|
+
currentItem?: ExpandInterface;
|
|
8
|
+
showArrow?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const Expands: (props: ExpandProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type { ExpandProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ExpandsView: () => JSX.Element;
|
|
1
|
+
export declare const ExpandsView: () => JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ExpandInterface } from './expand.interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
|
|
3
|
+
export type ExpandProps = {
|
|
4
|
+
currentExpand?: ExpandInterface;
|
|
5
|
+
item: ExpandInterface;
|
|
6
|
+
className?: string;
|
|
7
|
+
showArrow?: boolean;
|
|
8
|
+
onChange: (item: ExpandInterface) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const Expand: ({ currentExpand, item, className, showArrow, onChange, }: ExpandProps) => JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ExpandInterface {
|
|
3
|
-
id?: number;
|
|
4
|
-
title: string | React.ReactNode;
|
|
5
|
-
description?: string | React.ReactNode;
|
|
6
|
-
content?: React.ReactNode;
|
|
7
|
-
headerContent?: React.ReactNode;
|
|
8
|
-
footer?: JSX.Element;
|
|
9
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ExpandInterface {
|
|
3
|
+
id?: number;
|
|
4
|
+
title: string | React.ReactNode;
|
|
5
|
+
description?: string | React.ReactNode;
|
|
6
|
+
content?: React.ReactNode;
|
|
7
|
+
headerContent?: React.ReactNode;
|
|
8
|
+
footer?: JSX.Element;
|
|
9
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FilArianeInterface } from './filAriane.interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {};
|
|
2
|
+
|
|
3
|
+
type FilArianeProps = {
|
|
4
|
+
filArianes?: FilArianeInterface[];
|
|
5
|
+
currentFil?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
onClick?: (fil?: FilArianeInterface) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const FilAriane: ({ filArianes, onClick, currentFil, title, }: FilArianeProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FilArianeView: () => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const FilArianeView: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface FilArianeInterface {
|
|
2
|
-
id: number;
|
|
3
|
-
title?: string;
|
|
4
|
-
url?: string;
|
|
5
|
-
isLast: boolean;
|
|
6
|
-
}
|
|
1
|
+
export interface FilArianeInterface {
|
|
2
|
+
id: number;
|
|
3
|
+
title?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
isLast: boolean;
|
|
6
|
+
}
|
package/dist/form/Form.d.ts
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FormInterface, FormValuesInterface } from './form.interface';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
3
|
+
|
|
4
|
+
export type FormProps<T extends {
|
|
5
|
+
[key: string]: string | number | boolean | Date;
|
|
6
|
+
}> = {
|
|
7
|
+
className?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
hideSubmit?: boolean;
|
|
10
|
+
initialForm: FormInterface[];
|
|
11
|
+
onSubmit?: (values: FormValuesInterface<T>) => void;
|
|
12
|
+
onChange?: (values: FormValuesInterface<T>) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const DynamicForm: React.ForwardRefExoticComponent<FormProps<{
|
|
15
|
+
[key: string]: string | number | boolean | Date;
|
|
16
|
+
}> & React.RefAttributes<{
|
|
17
|
+
clearInput?: ((name: string) => void) | undefined;
|
|
18
|
+
resetForm?: (() => void) | undefined;
|
|
19
|
+
focusInitialElement?: (() => void) | undefined;
|
|
20
|
+
getValues?: (() => Partial<{
|
|
21
|
+
[x: string]: string | number | boolean | Date;
|
|
22
|
+
}>) | undefined;
|
|
23
|
+
updateFormValue?: ((values: Partial<{
|
|
24
|
+
[x: string]: string | number | boolean | Date;
|
|
25
|
+
}>) => void) | undefined;
|
|
26
|
+
}>>;
|
package/dist/form/Form.view.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FormView: () => JSX.Element;
|
|
1
|
+
export declare const FormView: () => JSX.Element;
|
package/dist/form/form.enum.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare enum TypeInputEnum {
|
|
2
|
-
TEXT = "text",
|
|
3
|
-
BUTTON = "button",
|
|
4
|
-
EMAIL = "email",
|
|
5
|
-
HIDDEN = "hidden",
|
|
6
|
-
PASSWORD = "password",
|
|
7
|
-
NUMBER = "number",
|
|
8
|
-
CHECKBOX = "checkbox",
|
|
9
|
-
RADIO = "radio",
|
|
10
|
-
DATE = "date"
|
|
11
|
-
}
|
|
1
|
+
export declare enum TypeInputEnum {
|
|
2
|
+
TEXT = "text",
|
|
3
|
+
BUTTON = "button",
|
|
4
|
+
EMAIL = "email",
|
|
5
|
+
HIDDEN = "hidden",
|
|
6
|
+
PASSWORD = "password",
|
|
7
|
+
NUMBER = "number",
|
|
8
|
+
CHECKBOX = "checkbox",
|
|
9
|
+
RADIO = "radio",
|
|
10
|
+
DATE = "date"
|
|
11
|
+
}
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { TypeInputEnum } from './form.enum';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
2
|
+
|
|
3
|
+
export type FormValuesInterface<T extends {
|
|
4
|
+
[key: string]: string | number | boolean | Date;
|
|
5
|
+
}> = Partial<{
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
}>;
|
|
8
|
+
export interface FormCondition {
|
|
9
|
+
errorMessage: string;
|
|
10
|
+
regex: string;
|
|
11
|
+
}
|
|
12
|
+
export type autoCompleteType = "off" | "on";
|
|
13
|
+
export interface FormInterface {
|
|
14
|
+
value: string | number | boolean | Date;
|
|
15
|
+
id?: string;
|
|
16
|
+
label?: string;
|
|
17
|
+
focus?: boolean;
|
|
18
|
+
type: TypeInputEnum;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
name: string;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
condition?: FormCondition;
|
|
24
|
+
icon?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
autoComplete?: autoCompleteType;
|
|
27
|
+
onChange?: (value: string | number | boolean | Date, name?: string) => void;
|
|
28
|
+
onRequired?: (value: string | number | boolean | Date) => boolean;
|
|
29
|
+
onDisabled?: (value: string | number | boolean | Date) => boolean;
|
|
30
|
+
onInvalid?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
31
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
|
|
2
|
+
export type TextAreaProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
width?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
onChange?: (value: string, name: string) => void;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
rows?: number;
|
|
11
|
+
cols?: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const TextArea: ({ name, value, disabled, width, className, onChange, placeholder, cols, rows, }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const TextAreaView: () => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const TextAreaView: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/grid/Grid.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { GridInterface } from './grid.interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {};
|
|
2
|
+
|
|
3
|
+
type GridProps = {
|
|
4
|
+
items: GridInterface[];
|
|
5
|
+
className?: string;
|
|
6
|
+
scroll?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const Grid: ({ items, className, scroll }: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
package/dist/grid/Grid.view.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const GridView: () => JSX.Element;
|
|
1
|
+
export declare const GridView: () => JSX.Element;
|
package/dist/grid/col/Col.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type ColProps = {
|
|
3
|
-
xs?: number;
|
|
4
|
-
sm?: number;
|
|
5
|
-
md?: number;
|
|
6
|
-
lg?: number;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
};
|
|
9
|
-
export declare const Col: React.FC<ColProps>;
|
|
10
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ColProps = {
|
|
3
|
+
xs?: number;
|
|
4
|
+
sm?: number;
|
|
5
|
+
md?: number;
|
|
6
|
+
lg?: number;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare const Col: React.FC<ColProps>;
|
|
10
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type ColStyledProps = {
|
|
3
|
-
$xs?: number;
|
|
4
|
-
$sm?: number;
|
|
5
|
-
$md?: number;
|
|
6
|
-
$lg?: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const ColStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ColStyledProps>> & string;
|
|
9
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ColStyledProps = {
|
|
3
|
+
$xs?: number;
|
|
4
|
+
$sm?: number;
|
|
5
|
+
$md?: number;
|
|
6
|
+
$lg?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const ColStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ColStyledProps>> & string;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
2
|
+
|
|
3
|
+
type ContainerProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
7
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface GridInterface {
|
|
3
|
-
sm?: number;
|
|
4
|
-
xs?: number;
|
|
5
|
-
md?: number;
|
|
6
|
-
lg?: number;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface GridInterface {
|
|
3
|
+
sm?: number;
|
|
4
|
+
xs?: number;
|
|
5
|
+
md?: number;
|
|
6
|
+
lg?: number;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
package/dist/grid/row/Row.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
1
|
+
|
|
2
|
+
type RowProps = {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
scroll?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const Row: React.FC<RowProps>;
|
|
8
|
+
export {};
|
package/dist/header/Header.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { HeaderInterface } from './header.interface';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
export declare const Header: ({ children, logo, onClickMenu, userChildren, positionFixed, onClickLogo, }: HeaderInterface) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HeaderView: () => JSX.Element;
|
|
1
|
+
export declare const HeaderView: () => JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface HeaderInterface {
|
|
3
|
-
logo?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
positionFixed?: boolean;
|
|
6
|
-
onClickMenu?: () => void;
|
|
7
|
-
userChildren?: React.ReactNode;
|
|
8
|
-
onClickLogo?: () => void;
|
|
9
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface HeaderInterface {
|
|
3
|
+
logo?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
positionFixed?: boolean;
|
|
6
|
+
onClickMenu?: () => void;
|
|
7
|
+
userChildren?: React.ReactNode;
|
|
8
|
+
onClickLogo?: () => void;
|
|
9
|
+
}
|
package/dist/home/Home.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Home: () => JSX.Element;
|
|
1
|
+
export declare const Home: () => JSX.Element;
|
package/dist/icon/Icon.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const IconsView: () => JSX.Element;
|
|
1
|
+
export declare const IconsView: () => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum IconSizeEnum {
|
|
2
|
-
EXTRA_SMALL = "xs",
|
|
3
|
-
SMALL = "sm",
|
|
4
|
-
MEDIUM = "md",
|
|
5
|
-
LARGE = "xl",
|
|
6
|
-
EXTRA_LARGE = "xxl"
|
|
7
|
-
}
|
|
1
|
+
export declare enum IconSizeEnum {
|
|
2
|
+
EXTRA_SMALL = "xs",
|
|
3
|
+
SMALL = "sm",
|
|
4
|
+
MEDIUM = "md",
|
|
5
|
+
LARGE = "xl",
|
|
6
|
+
EXTRA_LARGE = "xxl"
|
|
7
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
1
|
+
|
|
2
|
+
export { useIsMobile } from './_core/hooks/useIsMobile';
|
|
3
|
+
export { ButtonAction } from './action/ButtonAction';
|
|
4
|
+
export { Badge } from './badge/Badge';
|
|
5
|
+
export { Button } from './button/Button';
|
|
6
|
+
export { ButtonActions } from './button/buttonActions/ButtonActions';
|
|
7
|
+
export { Card } from './card/Card';
|
|
8
|
+
export { Carousel } from './carousel/Carousel';
|
|
9
|
+
export { Damier } from './damier/Damier';
|
|
10
|
+
export { DataTable } from './dataTable/DataTable';
|
|
11
|
+
export { DatePicker } from './datePicker/DatePicker';
|
|
12
|
+
export { Expands } from './expands/Expands';
|
|
13
|
+
export { FilAriane } from './filAriane/FilAriane';
|
|
14
|
+
export { DynamicForm } from './form/Form';
|
|
15
|
+
export { TypeInputEnum } from './form/form.enum';
|
|
16
|
+
export { TextArea } from './form/textArea/TextArea';
|
|
17
|
+
export { Grid } from './grid/Grid';
|
|
18
|
+
export { Header } from './header/Header';
|
|
19
|
+
export { Icon } from './icon/Icon';
|
|
20
|
+
export { IconSizeEnum } from './icon/iconSize.enum';
|
|
21
|
+
export { Loader } from './loader/Loader';
|
|
22
|
+
export { Menus } from './menus/Menus';
|
|
23
|
+
export { Modal } from './modal/Modal';
|
|
24
|
+
export { OverlayProvider } from './overlayPanel/overlay.context';
|
|
25
|
+
export { OverlayPanel } from './overlayPanel/OverlayPanel';
|
|
26
|
+
export { Quantity } from './quantity/Quantity';
|
|
27
|
+
export { Search } from './search/Search';
|
|
28
|
+
export { Select } from './select/Select';
|
|
29
|
+
export { Sidebar } from './sidebar/Sidebar';
|
|
30
|
+
export { SidebarData } from './sidebarData/SidebarData';
|
|
31
|
+
export { useToasterStore } from './toaster/store/useToasterStore';
|
|
32
|
+
export { Toaster } from './toaster/Toaster';
|
package/dist/index.html
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<meta name="description" content="Web site created using Vite" />
|
|
9
|
-
<link rel="apple-touch-icon" href="/logo192.png" />
|
|
10
|
-
<link rel="manifest" href="/manifest.json" />
|
|
11
|
-
<title>Vite App</title>
|
|
12
|
-
</head>
|
|
13
|
-
<body>
|
|
14
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
15
|
-
<div id="root"></div>
|
|
16
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
17
|
-
</body>
|
|
18
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<link rel="icon" href="/favicon.ico" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<meta name="description" content="Web site created using Vite" />
|
|
9
|
+
<link rel="apple-touch-icon" href="/logo192.png" />
|
|
10
|
+
<link rel="manifest" href="/manifest.json" />
|
|
11
|
+
<title>Vite App</title>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
15
|
+
<div id="root"></div>
|
|
16
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
package/dist/index.js
CHANGED
|
@@ -1268,7 +1268,7 @@ var si = {
|
|
|
1268
1268
|
strokeMiterlimit: 1,
|
|
1269
1269
|
strokeOpacity: 1,
|
|
1270
1270
|
strokeWidth: 1
|
|
1271
|
-
}, et = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", $a = "active", Ma = "data-styled-version", Dr = "6.1.
|
|
1271
|
+
}, et = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", $a = "active", Ma = "data-styled-version", Dr = "6.1.18", On = `/*!sc*/
|
|
1272
1272
|
`, mr = typeof window < "u" && typeof document < "u", ci = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Gn = /invalid hook call/i, tr = /* @__PURE__ */ new Set(), li = function(e, t) {
|
|
1273
1273
|
if (process.env.NODE_ENV !== "production") {
|
|
1274
1274
|
var r = t ? ' with the id of "'.concat(t, '"') : "", n = "The component ".concat(e).concat(r, ` has been created dynamically.
|
package/dist/loader/Loader.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { IconSizeEnum } from '../icon/iconSize.enum';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
|
|
3
|
+
export type LoaderProps = {
|
|
4
|
+
display: boolean;
|
|
5
|
+
message?: string;
|
|
6
|
+
size?: IconSizeEnum;
|
|
7
|
+
full?: true;
|
|
8
|
+
};
|
|
9
|
+
export declare const Loader: ({ display, full, message }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LoaderView: () => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const LoaderView: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/main.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|