1mpacto-react-ui 2.0.26 → 2.0.28
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/assets/_mixins.scss +6 -1
- package/dist/assets/_typography.scss +19 -15
- package/dist/assets/core.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.mjs +55 -51
- package/dist/components/Alert/style.module.scss.cjs +1 -1
- package/dist/components/Alert/style.module.scss.mjs +12 -11
- package/dist/components/Badges/Badges.config.cjs +1 -1
- package/dist/components/Badges/Badges.config.mjs +18 -3
- package/dist/components/Badges/style.module.scss.cjs +1 -1
- package/dist/components/Badges/style.module.scss.mjs +46 -35
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.config.cjs +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.config.mjs +4 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.mjs +45 -43
- package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -1
- package/dist/components/Breadcrumbs/style.module.scss.mjs +12 -9
- package/dist/components/Button/Button.config.cjs +1 -1
- package/dist/components/Button/Button.config.mjs +10 -2
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +64 -60
- package/dist/components/ButtonIcon/ButtonIcon.config.cjs +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.config.mjs +58 -47
- package/dist/components/ButtonIcon/style.module.scss.cjs +1 -1
- package/dist/components/ButtonIcon/style.module.scss.mjs +55 -48
- package/dist/components/Input/InputInnerLabel.module.scss.cjs +1 -1
- package/dist/components/Input/InputInnerLabel.module.scss.mjs +19 -19
- package/dist/components/Modal/ModalDialog.cjs +11 -1
- package/dist/components/Modal/ModalDialog.config.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.mjs +18 -7
- package/dist/components/Modal/ModalDialog.mjs +59 -32
- package/dist/components/Modal/style.module.scss.cjs +1 -1
- package/dist/components/Modal/style.module.scss.mjs +17 -11
- package/dist/components/Pagination/Pagination.cjs +2 -2
- package/dist/components/Pagination/Pagination.config.cjs +1 -1
- package/dist/components/Pagination/Pagination.config.mjs +4 -3
- package/dist/components/Pagination/Pagination.mjs +90 -90
- package/dist/components/Pagination/style.module.scss.cjs +1 -1
- package/dist/components/Pagination/style.module.scss.mjs +18 -16
- package/dist/components/Popover/Popover.cjs +1 -1
- package/dist/components/Popover/Popover.config.cjs +1 -0
- package/dist/components/Popover/Popover.config.mjs +11 -0
- package/dist/components/Popover/Popover.mjs +42 -40
- package/dist/components/Popover/style.module.scss.cjs +1 -1
- package/dist/components/Popover/style.module.scss.mjs +8 -4
- package/dist/components/RadioCheckbox/RadioCheckbox.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.config.mjs +24 -22
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.mjs +25 -23
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.mjs +5 -4
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.mjs +8 -7
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.mjs +19 -10
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.mjs +95 -80
- package/dist/components/SelectDropdownContainer/styleConfig.cjs +1 -1
- package/dist/components/SelectDropdownContainer/styleConfig.mjs +151 -11
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.module.scss.mjs +22 -22
- package/dist/components/Sidebar/itemSidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/itemSidebar.module.scss.mjs +25 -25
- package/dist/components/Step/StepIndicator.cjs +6 -4
- package/dist/components/Step/StepIndicator.config.cjs +1 -0
- package/dist/components/Step/StepIndicator.config.mjs +12 -0
- package/dist/components/Step/StepIndicator.mjs +31 -26
- package/dist/components/Step/StepIndicator.module.scss.cjs +1 -1
- package/dist/components/Step/StepIndicator.module.scss.mjs +12 -11
- package/dist/components/Switch/Switch.config.cjs +1 -1
- package/dist/components/Switch/Switch.config.mjs +6 -3
- package/dist/components/Switch/style.module.scss.cjs +1 -1
- package/dist/components/Switch/style.module.scss.mjs +18 -15
- package/dist/components/Tabs/Tabs.config.cjs +1 -1
- package/dist/components/Tabs/Tabs.config.mjs +13 -6
- package/dist/components/Tabs/style.module.scss.cjs +1 -1
- package/dist/components/Tabs/style.module.scss.mjs +29 -23
- package/dist/components/Textarea/TextareaFloatingInner.cjs +6 -5
- package/dist/components/Textarea/TextareaFloatingInner.config.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.config.mjs +6 -2
- package/dist/components/Textarea/TextareaFloatingInner.mjs +38 -36
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +11 -9
- package/dist/components/fin/Chat/BubbleChat.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChat.mjs +20 -0
- package/dist/components/fin/Chat/BubbleChatOption.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatOption.mjs +70 -0
- package/dist/components/fin/Chat/BubbleChatUser.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatUser.mjs +15 -0
- package/dist/components/fin/Chat/Icons.cjs +1 -0
- package/dist/components/fin/Chat/Icons.mjs +44 -0
- package/dist/components/fin/Chat/style.module.scss.cjs +1 -0
- package/dist/components/fin/Chat/style.module.scss.mjs +27 -0
- package/dist/config/components/typography.cjs +1 -1
- package/dist/config/components/typography.mjs +40 -6
- package/dist/config/tailwind/typography.cjs +1 -1
- package/dist/config/tailwind/typography.mjs +23 -15
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +86 -80
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/components/Badges/Badges.config.d.ts +15 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +1 -0
- package/dist/src/components/Button/Button.config.d.ts +8 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +11 -0
- package/dist/src/components/Modal/ModalDialog.config.d.ts +12 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +17 -1
- package/dist/src/components/Pagination/Pagination.config.d.ts +1 -0
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +14 -1
- package/dist/src/components/Popover/Popover.config.d.ts +8 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +2 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +1 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +10 -0
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +2 -0
- package/dist/src/components/Step/StepIndicator.config.d.ts +18 -0
- package/dist/src/components/Step/StepIndicator.d.ts +1 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +30 -1
- package/dist/src/components/Switch/Switch.config.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +7 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +5 -0
- package/dist/src/components/fin/Chat/BubbleChat.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatOption.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatUser.d.ts +3 -0
- package/dist/src/components/fin/Chat/Icons.d.ts +5 -0
- package/dist/src/components/fin/index.d.ts +4 -0
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/config/components/typography.d.ts +1 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +6 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/src/interfaces/components/Button/index.d.ts +1 -1
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +2 -2
- package/dist/src/interfaces/components/Modal/index.d.ts +10 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +6 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +5 -0
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +7 -1
- package/dist/src/interfaces/components/Step/index.d.ts +13 -2
- package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -2
- package/dist/src/interfaces/components/Textarea/index.d.ts +5 -0
- package/dist/src/interfaces/components/fin/Chat/index.d.ts +39 -0
- package/package.json +1 -1
|
@@ -13,6 +13,10 @@ export declare const configButton: {
|
|
|
13
13
|
'bill-s': string;
|
|
14
14
|
'bill-xs': string;
|
|
15
15
|
'bill-xxs': string;
|
|
16
|
+
'fin-l': string;
|
|
17
|
+
'fin-m': string;
|
|
18
|
+
'fin-s': string;
|
|
19
|
+
'fin-xs': string;
|
|
16
20
|
};
|
|
17
21
|
loadingSize: {
|
|
18
22
|
large: string;
|
|
@@ -28,6 +32,10 @@ export declare const configButton: {
|
|
|
28
32
|
'bill-s': string;
|
|
29
33
|
'bill-xs': string;
|
|
30
34
|
'bill-xxs': string;
|
|
35
|
+
'fin-l': string;
|
|
36
|
+
'fin-m': string;
|
|
37
|
+
'fin-s': string;
|
|
38
|
+
'fin-xs': string;
|
|
31
39
|
};
|
|
32
40
|
variants: {
|
|
33
41
|
'primary-laba-blue-10': string;
|
|
@@ -13,6 +13,10 @@ export declare const configButton: {
|
|
|
13
13
|
'bill-s': string;
|
|
14
14
|
'bill-xs': string;
|
|
15
15
|
'bill-xxs': string;
|
|
16
|
+
'fin-l': string;
|
|
17
|
+
'fin-m': string;
|
|
18
|
+
'fin-s': string;
|
|
19
|
+
'fin-xs': string;
|
|
16
20
|
};
|
|
17
21
|
loadingSize: {
|
|
18
22
|
large: string;
|
|
@@ -28,6 +32,10 @@ export declare const configButton: {
|
|
|
28
32
|
'bill-s': string;
|
|
29
33
|
'bill-xs': string;
|
|
30
34
|
'bill-xxs': string;
|
|
35
|
+
'fin-l': string;
|
|
36
|
+
'fin-m': string;
|
|
37
|
+
'fin-s': string;
|
|
38
|
+
'fin-xs': string;
|
|
31
39
|
};
|
|
32
40
|
variants: {
|
|
33
41
|
'primary-laba-blue-10': string;
|
|
@@ -60,6 +68,9 @@ export declare const configButton: {
|
|
|
60
68
|
'secondary-bill-secondary-800': string;
|
|
61
69
|
'tertiary-bill-secondary-800': string;
|
|
62
70
|
'primary-bill-red-700': string;
|
|
71
|
+
'primary-fin-primary-500': string;
|
|
72
|
+
'secondary-fin-primary-500': string;
|
|
73
|
+
'tertiary-fin-primary-500': string;
|
|
63
74
|
};
|
|
64
75
|
};
|
|
65
76
|
export declare const keysConfigButtonVariant: string[];
|
|
@@ -5,5 +5,17 @@ export declare const configModal: {
|
|
|
5
5
|
regular: string;
|
|
6
6
|
large: string;
|
|
7
7
|
};
|
|
8
|
+
brand: {
|
|
9
|
+
'': string;
|
|
10
|
+
fin: string;
|
|
11
|
+
};
|
|
12
|
+
position: {
|
|
13
|
+
center: string;
|
|
14
|
+
'right-top': string;
|
|
15
|
+
'right-bottom': string;
|
|
16
|
+
'left-top': string;
|
|
17
|
+
'left-bottom': string;
|
|
18
|
+
};
|
|
8
19
|
};
|
|
9
20
|
export declare const keysConfigModalSize: string[];
|
|
21
|
+
export declare const keysConfigModalPosition: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { IModalDialog } from '../../interfaces/components/Modal';
|
|
3
|
-
declare const ModalDialog: <T extends ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, ...props }: IModalDialog<T>) => import(
|
|
3
|
+
declare const ModalDialog: <T extends ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, position, className, classNameContainer, onClose, brand, ...props }: IModalDialog<T>) => import('react').ReactPortal | null;
|
|
4
4
|
export default ModalDialog;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: <T extends import('react').ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, ...props }: import('../../interfaces/components/Modal').IModalDialog<T>) => import(
|
|
4
|
+
component: <T extends import('react').ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, position, className, classNameContainer, onClose, brand, ...props }: import('../../interfaces/components/Modal').IModalDialog<T>) => import('react').ReactPortal | null;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -72,6 +72,22 @@ declare const meta: {
|
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
+
position: {
|
|
76
|
+
control: {
|
|
77
|
+
type: "select";
|
|
78
|
+
};
|
|
79
|
+
options: string[];
|
|
80
|
+
description: string;
|
|
81
|
+
table: {
|
|
82
|
+
category: string;
|
|
83
|
+
type: {
|
|
84
|
+
summary: string;
|
|
85
|
+
};
|
|
86
|
+
defaultValue: {
|
|
87
|
+
summary: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
75
91
|
className: {
|
|
76
92
|
control: "text";
|
|
77
93
|
description: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IPaginationProps } from '../../interfaces/components/Pagination';
|
|
2
|
-
declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, locale, fonts, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, withPageSize, locale, fonts, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Pagination;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, locale, fonts, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, withPageSize, locale, fonts, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -209,6 +209,19 @@ declare const meta: {
|
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
211
|
};
|
|
212
|
+
withPageSize: {
|
|
213
|
+
control: "boolean";
|
|
214
|
+
description: string;
|
|
215
|
+
table: {
|
|
216
|
+
category: string;
|
|
217
|
+
type: {
|
|
218
|
+
summary: string;
|
|
219
|
+
};
|
|
220
|
+
defaultValue: {
|
|
221
|
+
summary: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
212
225
|
id: {
|
|
213
226
|
control: "text";
|
|
214
227
|
description: string;
|
|
@@ -13,6 +13,8 @@ export declare const configRadioCheckbox: {
|
|
|
13
13
|
'bill-primary-500': string;
|
|
14
14
|
'bill-primary-600-hv_bg_transparent': string;
|
|
15
15
|
'bill-secondary-800-hv_bg_transparent': string;
|
|
16
|
+
'fin-primary-500-hv_bg_transparent': string;
|
|
17
|
+
'fin-primary-500': string;
|
|
16
18
|
};
|
|
17
19
|
variantDisableds: {
|
|
18
20
|
'default-disabled-checkbox': string;
|
|
@@ -8,19 +8,29 @@ export declare const configSelectDropdownContainer: {
|
|
|
8
8
|
laba: import('react-select').StylesConfig;
|
|
9
9
|
payhere: import('react-select').StylesConfig;
|
|
10
10
|
bill: import('react-select').StylesConfig;
|
|
11
|
+
fin: import('react-select').StylesConfig;
|
|
12
|
+
};
|
|
13
|
+
variantPopover: {
|
|
14
|
+
laba: string;
|
|
15
|
+
payhere: string;
|
|
16
|
+
bill: string;
|
|
17
|
+
fin: string;
|
|
11
18
|
};
|
|
12
19
|
noSearchVariant: {
|
|
13
20
|
laba: import('react-select').StylesConfig;
|
|
14
21
|
payhere: import('react-select').StylesConfig;
|
|
15
22
|
bill: import('react-select').StylesConfig;
|
|
23
|
+
fin: import('react-select').StylesConfig;
|
|
16
24
|
};
|
|
17
25
|
classNamePopover: {
|
|
18
26
|
laba: string;
|
|
19
27
|
payhere: string;
|
|
20
28
|
bill: string;
|
|
29
|
+
fin: string;
|
|
21
30
|
};
|
|
22
31
|
};
|
|
23
32
|
export declare const keysConfigSelectDropdownContainerError: string[];
|
|
24
33
|
export declare const keysConfigSelectDropdownContainerVariant: string[];
|
|
34
|
+
export declare const keysConfigSelectDropdownContainerVariantPopover: string[];
|
|
25
35
|
export declare const keysConfigSelectDropdownContainerNoSearchVariant: string[];
|
|
26
36
|
export declare const keysConfigSelectDropdownContainerClassNamePopover: string[];
|
|
@@ -2,6 +2,8 @@ import { StylesConfig } from 'react-select';
|
|
|
2
2
|
export declare const styleSelectDropdownContainerLaba: StylesConfig;
|
|
3
3
|
export declare const styleSelectDropdownContainerPayhere: StylesConfig;
|
|
4
4
|
export declare const styleSelectDropdownContainerBill: StylesConfig;
|
|
5
|
+
export declare const styleSelectDropdownContainerFin: StylesConfig;
|
|
5
6
|
export declare const styleSelectDropdownContainerNoSearchLaba: StylesConfig;
|
|
6
7
|
export declare const styleSelectDropdownContainerNoSearchPayhere: StylesConfig;
|
|
7
8
|
export declare const styleSelectDropdownContainerNoSearchBill: StylesConfig;
|
|
9
|
+
export declare const styleSelectDropdownContainerNoSearchFin: StylesConfig;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const configStepIndicator: {
|
|
2
|
+
variants: {
|
|
3
|
+
'laba-green-08': string;
|
|
4
|
+
'teal-600': string;
|
|
5
|
+
};
|
|
6
|
+
borderRadius: {
|
|
7
|
+
'0px': string;
|
|
8
|
+
'2px': string;
|
|
9
|
+
'4px': string;
|
|
10
|
+
'6px': string;
|
|
11
|
+
'8px': string;
|
|
12
|
+
'12px': string;
|
|
13
|
+
'16px': string;
|
|
14
|
+
'24px': string;
|
|
15
|
+
full: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const keysConfigStepIndicatorVariant: string[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IStepIndicator } from '../../interfaces/components/Step';
|
|
2
|
-
declare const StepIndicator: ({ activeStep, countStep, classNameActiveStepIndicator, classNameContainer, classNameDesc, classNameStepIndicator, id, locationStepIndicator, widthStepIndicator, dynamicWidthStepIndicator, gapStepIndicator, classNameStepIndicatorContainer, }: IStepIndicator) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const StepIndicator: ({ activeStep, countStep, classNameActiveStepIndicator, classNameContainer, classNameDesc, classNameStepIndicator, id, locationStepIndicator, widthStepIndicator, dynamicWidthStepIndicator, gapStepIndicator, classNameStepIndicatorContainer, variant, borderRadius, }: IStepIndicator) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default StepIndicator;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ activeStep, countStep, classNameActiveStepIndicator, classNameContainer, classNameDesc, classNameStepIndicator, id, locationStepIndicator, widthStepIndicator, dynamicWidthStepIndicator, gapStepIndicator, classNameStepIndicatorContainer, }: import('../../interfaces/components/Step').IStepIndicator) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ activeStep, countStep, classNameActiveStepIndicator, classNameContainer, classNameDesc, classNameStepIndicator, id, locationStepIndicator, widthStepIndicator, dynamicWidthStepIndicator, gapStepIndicator, classNameStepIndicatorContainer, variant, borderRadius, }: import('../../interfaces/components/Step').IStepIndicator) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -49,6 +49,19 @@ declare const meta: {
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
+
variant: {
|
|
53
|
+
control: {
|
|
54
|
+
type: "select";
|
|
55
|
+
};
|
|
56
|
+
options: string[];
|
|
57
|
+
description: string;
|
|
58
|
+
table: {
|
|
59
|
+
category: string;
|
|
60
|
+
type: {
|
|
61
|
+
summary: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
52
65
|
widthStepIndicator: {
|
|
53
66
|
control: "text";
|
|
54
67
|
description: string;
|
|
@@ -62,6 +75,22 @@ declare const meta: {
|
|
|
62
75
|
};
|
|
63
76
|
};
|
|
64
77
|
};
|
|
78
|
+
borderRadius: {
|
|
79
|
+
control: {
|
|
80
|
+
type: "select";
|
|
81
|
+
};
|
|
82
|
+
options: string[];
|
|
83
|
+
description: string;
|
|
84
|
+
table: {
|
|
85
|
+
category: string;
|
|
86
|
+
type: {
|
|
87
|
+
summary: string;
|
|
88
|
+
};
|
|
89
|
+
defaultValue: {
|
|
90
|
+
summary: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
65
94
|
dynamicWidthStepIndicator: {
|
|
66
95
|
control: "boolean";
|
|
67
96
|
description: string;
|
|
@@ -8,17 +8,20 @@ export declare const configSwitch: {
|
|
|
8
8
|
laba: string;
|
|
9
9
|
payhere: string;
|
|
10
10
|
bill: string;
|
|
11
|
+
fin: string;
|
|
11
12
|
};
|
|
12
13
|
text: {
|
|
13
14
|
title: {
|
|
14
15
|
laba: string;
|
|
15
16
|
payhere: string;
|
|
16
17
|
bill: string;
|
|
18
|
+
fin: string;
|
|
17
19
|
};
|
|
18
20
|
desc: {
|
|
19
21
|
laba: string;
|
|
20
22
|
payhere: string;
|
|
21
23
|
bill: string;
|
|
24
|
+
fin: string;
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
27
|
};
|
|
@@ -6,15 +6,21 @@ export declare const configTabs: {
|
|
|
6
6
|
'container-laba-blue-10': string;
|
|
7
7
|
'container-laba-blue-10-bg_white': string;
|
|
8
8
|
'container-laba-blue-10-bg_blue-01': string;
|
|
9
|
-
'original-bill-secondary-800': string;
|
|
10
9
|
'container-bill-secondary-800': string;
|
|
10
|
+
'container-fin-secondary-500': string;
|
|
11
|
+
'original-bill-secondary-800': string;
|
|
11
12
|
'original-payhere-primary-700': string;
|
|
13
|
+
'original-fin-primary-100': string;
|
|
12
14
|
};
|
|
13
15
|
size: {
|
|
14
16
|
'tabs-m': string;
|
|
15
17
|
'tabs-s': string;
|
|
16
18
|
'tabs-medium': string;
|
|
17
19
|
'tabs-small': string;
|
|
20
|
+
'tabs-bill-m': string;
|
|
21
|
+
'tabs-bill-s': string;
|
|
22
|
+
'tabs-fin-m': string;
|
|
23
|
+
'tabs-fin-s': string;
|
|
18
24
|
};
|
|
19
25
|
borderRadius: {
|
|
20
26
|
'0px': string;
|
|
@@ -2,5 +2,10 @@ export declare const configTextareaFloatingInner: {
|
|
|
2
2
|
size: {
|
|
3
3
|
medium: string;
|
|
4
4
|
};
|
|
5
|
+
variants: {
|
|
6
|
+
'laba-white': string;
|
|
7
|
+
'fin-blue-gray-50': string;
|
|
8
|
+
};
|
|
5
9
|
};
|
|
6
10
|
export declare const keysConfigTextareaFloatingInnerSize: string[];
|
|
11
|
+
export declare const keysConfigTextareaFloatingInnerVariant: string[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IBubbleChatOption } from '../../../interfaces/components/fin/Chat';
|
|
2
|
+
declare const BubbleChatOption: ({ id, icon, type, header, content, options, optionDirection, onClick, onCopy, onDislike, onLike, onReply, }: IBubbleChatOption) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default BubbleChatOption;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const LikeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const DislikeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const CopyIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const ReplyIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -84,8 +84,9 @@ import { default as TextareaInnerLabel } from './Textarea/TextareaInnerLabel';
|
|
|
84
84
|
import { default as InputInnerLabel } from './Input/InputInnerLabel';
|
|
85
85
|
import { default as Text } from './Text/Text';
|
|
86
86
|
import { default as Slider } from './Slider/Slider';
|
|
87
|
+
import { BubbleChat, BubbleChatOption, BubbleChatUser } from './fin';
|
|
87
88
|
import * as utilTable from '@tanstack/react-table';
|
|
88
89
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
89
90
|
import type * as FilterContainerType from '../interfaces/components/FilterContainer';
|
|
90
|
-
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, PieChart, StepIndicator, TextEditor, CollapseV2, TableSubComponent, TimeRange, TextareaInnerLabel, InputInnerLabel, Text, Slider, };
|
|
91
|
+
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, PieChart, StepIndicator, TextEditor, CollapseV2, TableSubComponent, TimeRange, TextareaInnerLabel, InputInnerLabel, Text, Slider, BubbleChat, BubbleChatOption, BubbleChatUser, };
|
|
91
92
|
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, IPieChart, IPieChartDataSet, IPieChartData, TPieChartCustomTooltip, IDataPieChartCustomTooltip, IPieChartThreshold, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, TKeyLocale, ITimeRangeListTime, ITimeRange, TTimeRangeValue, IButton, TButtonIconVariants, TButtonIconSize, IButtonIcon, ISidebar, ISlider, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-label-sb' | 'payhere-label-b' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-smb' | 'payhere-body-sb' | 'payhere-body-esr' | 'payhere-body-esm' | 'payhere-body-esmb' | 'payhere-body-esb' | 'laba-title-lb' | 'laba-title-ls' | 'laba-title-lr' | 'laba-title-mb' | 'laba-title-ms' | 'laba-title-mr' | 'laba-h1' | 'laba-h1-b' | 'laba-h1-sb' | 'laba-h1-r' | 'laba-h2' | 'laba-h2-b' | 'laba-h2-sb' | 'laba-h2-r' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr' | 'bill-h1' | 'bill-h2' | 'bill-h3' | 'bill-h4' | 'bill-h5' | 'bill-h6' | 'bill-body-lr' | 'bill-body-lm' | 'bill-body-
|
|
1
|
+
export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-label-sb' | 'payhere-label-b' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-smb' | 'payhere-body-sb' | 'payhere-body-esr' | 'payhere-body-esm' | 'payhere-body-esmb' | 'payhere-body-esb' | 'laba-title-lb' | 'laba-title-ls' | 'laba-title-lr' | 'laba-title-mb' | 'laba-title-ms' | 'laba-title-mr' | 'laba-h1' | 'laba-h1-b' | 'laba-h1-sb' | 'laba-h1-r' | 'laba-h2' | 'laba-h2-b' | 'laba-h2-sb' | 'laba-h2-r' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr' | 'bill-h1' | 'bill-h2' | 'bill-h3' | 'bill-h4' | 'bill-h5' | 'bill-h6' | 'bill-body-lr' | 'bill-body-lm' | 'bill-body-lsb' | 'bill-body-lb' | 'bill-body-mr' | 'bill-body-mm' | 'bill-body-msb' | 'bill-body-mb' | 'bill-label-r' | 'bill-label-m' | 'bill-label-sm' | 'bill-label-b' | 'bill-body-sr' | 'bill-body-sm' | 'bill-body-ssb' | 'bill-body-sb' | 'bill-body-esr' | 'bill-body-esm' | 'bill-body-essm' | 'bill-body-esb' | 'fin-h1' | 'fin-h2' | 'fin-h3' | 'fin-h4' | 'fin-h5' | 'fin-h6' | 'fin-body-lr' | 'fin-body-lm' | 'fin-body-lsb' | 'fin-body-lb' | 'fin-body-mr' | 'fin-body-mm' | 'fin-body-msb' | 'fin-body-mb' | 'fin-label-r' | 'fin-label-m' | 'fin-label-sm' | 'fin-label-b' | 'fin-body-sr' | 'fin-body-sr-lh_24' | 'fin-body-sm' | 'fin-body-sm-lh_24' | 'fin-body-ssb' | 'fin-body-ssb-lh_24' | 'fin-body-sb' | 'fin-body-sb-lh_24' | 'fin-body-esr' | 'fin-body-esm' | 'fin-body-essb' | 'fin-body-esb' | 'fin-body-tiny-r' | 'fin-body-tiny-m' | 'fin-body-tiny-sb' | 'fin-body-tiny-b';
|
|
2
2
|
export declare const configtypography: Record<Itypography, string>;
|
|
3
3
|
export declare const keysTypography: string[];
|
|
@@ -2,6 +2,11 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { IBorderRadius } from '../../../config/components/borderRadius';
|
|
3
3
|
import { Itypography } from '../../../config/components/typography';
|
|
4
4
|
import { TFont } from '../../../config/components/font';
|
|
5
|
+
/**
|
|
6
|
+
* [ID] : Tipe varian Badges yang tersedia.
|
|
7
|
+
* [EN] : Available Badges variant types.
|
|
8
|
+
*/
|
|
9
|
+
export type TBadgesVariants = 'filled-gray-600' | 'filled-green-600' | 'filled-green-50' | 'filled-blue-gray-50' | 'filled-red-500' | 'filled-blue-600' | 'filled-amber-800' | 'filled-pink-600' | 'filled-lime-700' | 'filled-lime-900-bg_lime-100' | 'filled-red-900' | 'filled-laba-green-10' | 'filled-cyan-800-bg_cyan-100' | 'filled-blue-gray-800' | 'filled-green-700' | 'filled-red-800' | 'filled-light-blue-800' | 'filled-orange-400' | 'ghost-gray-200' | 'ghost-green-100' | 'ghost-red-100' | 'ghost-blue-100' | 'ghost-amber-100' | 'ghost-laba-orange-01' | 'ghost-laba-green-01' | 'ghost-laba-green-02' | 'ghost-laba-blue-02' | 'ghost-laba-blue-01' | 'ghost-laba-grey-05' | 'ghost-laba-red-01' | 'ghost-blue-gray-600' | 'ghost-green-700' | 'ghost-red-600' | 'ghost-light-blue-800' | 'ghost-orange-600' | 'outline-gray-600' | 'outline-green-600' | 'outline-red-500' | 'outline-blue-600' | 'outline-amber-800' | 'outline-laba-blue-01' | 'outline-laba-orange-06' | 'outline-laba-orange-06-bg_laba-orange-01' | 'outline-laba-red-06' | 'outline-laba-green-06' | 'outline-blue-gray-600' | 'outline-green-700' | 'outline-red-600' | 'outline-light-blue-800' | 'outline-orange-600';
|
|
5
10
|
/**
|
|
6
11
|
* [ID] : Interface untuk komponen Badges.
|
|
7
12
|
* [EN] : Interface for Badges component.
|
|
@@ -26,7 +31,7 @@ export interface IBadges extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
26
31
|
* [ID] : Varian gaya badge (opsional).
|
|
27
32
|
* [EN] : Badge style variant (optional).
|
|
28
33
|
*/
|
|
29
|
-
variants?:
|
|
34
|
+
variants?: TBadgesVariants;
|
|
30
35
|
/**
|
|
31
36
|
* [ID] : Konfigurasi font (opsional).
|
|
32
37
|
* [EN] : Font configuration (optional).
|
|
@@ -21,7 +21,7 @@ export interface IBreadcrumbs<T extends ElementType> extends HTMLAttributes<HTML
|
|
|
21
21
|
* [ID] : Varian gaya breadcrumbs (opsional).
|
|
22
22
|
* [EN] : Breadcrumbs style variant (optional).
|
|
23
23
|
*/
|
|
24
|
-
variants?: 'laba-blue-10' | 'blue-700' | 'bill-secondary-800';
|
|
24
|
+
variants?: 'laba-blue-10' | 'blue-700' | 'bill-secondary-800' | 'fin-blue-gray-500';
|
|
25
25
|
/**
|
|
26
26
|
* [ID] : Daftar URL untuk setiap breadcrumb.
|
|
27
27
|
* [EN] : List of URLs for each breadcrumb.
|
|
@@ -8,7 +8,7 @@ export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba
|
|
|
8
8
|
* [ID] : Tipe ukuran tombol.
|
|
9
9
|
* [EN] : Button size type.
|
|
10
10
|
*/
|
|
11
|
-
export type TButtonSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs' | 'bill-l' | 'bill-m' | 'bill-s' | 'bill-xs' | 'bill-xxs';
|
|
11
|
+
export type TButtonSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs' | 'bill-l' | 'bill-m' | 'bill-s' | 'bill-xs' | 'bill-xxs' | 'fin-l' | 'fin-m' | 'fin-s' | 'fin-xs';
|
|
12
12
|
/**
|
|
13
13
|
* [ID] : Interface untuk komponen Button.
|
|
14
14
|
* [EN] : Interface for Button component.
|
|
@@ -3,12 +3,12 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
* [ID] : Tipe varian tombol ikon.
|
|
4
4
|
* [EN] : Button icon variant types.
|
|
5
5
|
*/
|
|
6
|
-
export type TButtonIconVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700-dsb_laba-grey-06' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'secondary-red-700' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700';
|
|
6
|
+
export type TButtonIconVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700-dsb_laba-grey-06' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'secondary-red-700' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700' | 'primary-fin-primary-500' | 'secondary-fin-primary-500' | 'tertiary-fin-primary-500';
|
|
7
7
|
/**
|
|
8
8
|
* [ID] : Tipe ukuran tombol ikon.
|
|
9
9
|
* [EN] : Button icon size type.
|
|
10
10
|
*/
|
|
11
|
-
export type TButtonIconSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs' | 'bill-l' | 'bill-m' | 'bill-s' | 'bill-xs' | 'bill-xxs';
|
|
11
|
+
export type TButtonIconSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs' | 'bill-l' | 'bill-m' | 'bill-s' | 'bill-xs' | 'bill-xxs' | 'fin-l' | 'fin-m' | 'fin-s' | 'fin-xs';
|
|
12
12
|
/**
|
|
13
13
|
* [ID] : Interface untuk komponen ButtonIcon.
|
|
14
14
|
* [EN] : Interface for ButtonIcon component.
|
|
@@ -50,6 +50,16 @@ export interface IModalDialog<T extends ElementType> {
|
|
|
50
50
|
* [EN] : Show overlay (optional).
|
|
51
51
|
*/
|
|
52
52
|
withOverlay?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* [ID] : Merek (opsional).
|
|
55
|
+
* [EN] : Brand (optional).
|
|
56
|
+
*/
|
|
57
|
+
brand?: 'fin' | '';
|
|
58
|
+
/**
|
|
59
|
+
* [ID] : Posisi modal (opsional).
|
|
60
|
+
* [EN] : Modal position (optional).
|
|
61
|
+
*/
|
|
62
|
+
position?: 'center' | 'right-top' | 'right-bottom' | 'left-top' | 'left-bottom';
|
|
53
63
|
/**
|
|
54
64
|
* [ID] : Handler saat modal ditutup (opsional).
|
|
55
65
|
* [EN] : Handler when modal is closed (optional).
|
|
@@ -6,7 +6,7 @@ import { TFont } from '../../../config/components/font';
|
|
|
6
6
|
* [ID] : Tipe jenis pagination.
|
|
7
7
|
* [EN] : Pagination kind type.
|
|
8
8
|
*/
|
|
9
|
-
export type TKindPaginationType = 'box' | 'nude';
|
|
9
|
+
export type TKindPaginationType = 'box' | 'nude' | 'box-fin';
|
|
10
10
|
/**
|
|
11
11
|
* [ID] : Interface dasar pagination.
|
|
12
12
|
* [EN] : Basic pagination interface.
|
|
@@ -89,6 +89,11 @@ export interface IPaginationProps extends IPagination {
|
|
|
89
89
|
* [EN] : Z-index (optional).
|
|
90
90
|
*/
|
|
91
91
|
zIndex?: number | undefined | string;
|
|
92
|
+
/**
|
|
93
|
+
* [ID] : Menampilkan ukuran halaman (opsional).
|
|
94
|
+
* [EN] : Show size options (optional).
|
|
95
|
+
*/
|
|
96
|
+
withPageSize?: boolean;
|
|
92
97
|
/**
|
|
93
98
|
* [ID] : Menampilkan opsi ukuran halaman (opsional).
|
|
94
99
|
* [EN] : Show page size options (optional).
|
|
@@ -90,6 +90,11 @@ export interface IPopover extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
90
90
|
* [EN] : Dismiss properties (optional).
|
|
91
91
|
*/
|
|
92
92
|
useDismissProps?: UseDismissProps;
|
|
93
|
+
/**
|
|
94
|
+
* [ID] : Varian gaya (opsional).
|
|
95
|
+
* [EN] : Style variant (optional).
|
|
96
|
+
*/
|
|
97
|
+
variant?: 'white' | 'blue-gray-50' | 'white-fin';
|
|
93
98
|
}
|
|
94
99
|
/**
|
|
95
100
|
* [ID] : Interface untuk referensi Popover.
|
|
@@ -36,7 +36,7 @@ export interface IRadioCheckbox extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
36
36
|
* [ID] : Varian gaya (opsional).
|
|
37
37
|
* [EN] : Style variant (optional).
|
|
38
38
|
*/
|
|
39
|
-
variants?: 'laba-blue-10' | 'blue-700' | 'blue-700-hv_bg_transparent' | 'laba-blue-10-hv_bg_transparent' | 'bill-primary-500' | 'bill-primary-600-hv_bg_transparent' | 'bill-secondary-800-hv_bg_transparent';
|
|
39
|
+
variants?: 'laba-blue-10' | 'blue-700' | 'blue-700-hv_bg_transparent' | 'laba-blue-10-hv_bg_transparent' | 'bill-primary-500' | 'bill-primary-600-hv_bg_transparent' | 'bill-secondary-800-hv_bg_transparent' | 'fin-primary-500' | 'fin-primary-500-hv_bg_transparent';
|
|
40
40
|
/**
|
|
41
41
|
* [ID] : Varian gaya non-aktif (opsional).
|
|
42
42
|
* [EN] : Disabled style variant (optional).
|
|
@@ -42,7 +42,7 @@ export interface IRadioCheckboxLabel extends InputHTMLAttributes<HTMLInputElemen
|
|
|
42
42
|
* [ID] : Varian gaya (opsional).
|
|
43
43
|
* [EN] : Style variant (optional).
|
|
44
44
|
*/
|
|
45
|
-
variants?: 'blue-50' | 'laba-blue-01' | 'bill-secondary-50' | 'transparent-text_orange-700' | 'transparent-text_green-700';
|
|
45
|
+
variants?: 'blue-50' | 'laba-blue-01' | 'bill-secondary-50' | 'fin-primary-500' | 'transparent-text_orange-700' | 'transparent-text_green-700';
|
|
46
46
|
/**
|
|
47
47
|
* [ID] : Label input.
|
|
48
48
|
* [EN] : Input label.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Props as SelectProps, ActionMeta, GroupBase, SelectComponentsConfig, MultiValue, SingleValue } from 'react-select';
|
|
3
3
|
import { AutoPlacementOptions, FlipOptions, OffsetOptions, UseFloatingOptions } from '@floating-ui/react';
|
|
4
|
+
import { TKeyLocale } from '../Calendar';
|
|
4
5
|
/**
|
|
5
6
|
* [ID] : Interface untuk komponen SelectDropdownContainer.
|
|
6
7
|
* [EN] : Interface for SelectDropdownContainer component.
|
|
@@ -163,7 +164,12 @@ export interface ISelectDropdownContainer<T> extends Omit<SelectProps<T, boolean
|
|
|
163
164
|
* [ID] : Tipe kontrol (opsional).
|
|
164
165
|
* [EN] : Control type (optional).
|
|
165
166
|
*/
|
|
166
|
-
controlType?: 'laba' | 'payhere' | 'bill';
|
|
167
|
+
controlType?: 'laba' | 'payhere' | 'bill' | 'fin';
|
|
168
|
+
/**
|
|
169
|
+
* [ID] : Lokal bahasa (opsional).
|
|
170
|
+
* [EN] : Locale (optional).
|
|
171
|
+
*/
|
|
172
|
+
locale?: TKeyLocale;
|
|
167
173
|
}
|
|
168
174
|
/**
|
|
169
175
|
* [ID] : Interface untuk properti anak SelectDropdownContainer.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { IBorderRadius } from '../../../config/components/borderRadius';
|
|
2
3
|
/**
|
|
3
4
|
* [ID] : Interface untuk data daftar langkah.
|
|
4
5
|
* [EN] : Interface for step list data.
|
|
@@ -173,7 +174,7 @@ export interface IStepIndicator {
|
|
|
173
174
|
* [ID] : Lokasi indikator langkah (opsional).
|
|
174
175
|
* [EN] : Step indicator location (optional).
|
|
175
176
|
*/
|
|
176
|
-
locationStepIndicator?: 'left' | 'right';
|
|
177
|
+
locationStepIndicator?: 'left' | 'right' | 'hide';
|
|
177
178
|
/**
|
|
178
179
|
* [ID] : Lebar indikator langkah (opsional).
|
|
179
180
|
* [EN] : Step indicator width (optional).
|
|
@@ -188,10 +189,20 @@ export interface IStepIndicator {
|
|
|
188
189
|
* [ID] : Jarak indikator langkah (opsional).
|
|
189
190
|
* [EN] : Step indicator gap (optional).
|
|
190
191
|
*/
|
|
191
|
-
gapStepIndicator?: string;
|
|
192
|
+
gapStepIndicator?: string | number;
|
|
192
193
|
/**
|
|
193
194
|
* [ID] : Nama kelas CSS kontainer indikator langkah (opsional).
|
|
194
195
|
* [EN] : Step indicator container CSS class name (optional).
|
|
195
196
|
*/
|
|
196
197
|
classNameStepIndicatorContainer?: string;
|
|
198
|
+
/**
|
|
199
|
+
* [ID] : Varian warna (opsional).
|
|
200
|
+
* [EN] : Color variant (optional).
|
|
201
|
+
*/
|
|
202
|
+
variant?: 'laba-green-08' | 'teal-600';
|
|
203
|
+
/**
|
|
204
|
+
* [ID] : Radius sudut (opsional).
|
|
205
|
+
* [EN] : Border radius (optional).
|
|
206
|
+
*/
|
|
207
|
+
borderRadius?: IBorderRadius;
|
|
197
208
|
}
|