1mpacto-react-ui 2.0.27 → 2.0.29
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/_typography.scss +16 -16
- 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.mjs +38 -36
- package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -1
- package/dist/components/Breadcrumbs/style.module.scss.mjs +16 -16
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +64 -64
- package/dist/components/ButtonIcon/style.module.scss.cjs +1 -1
- package/dist/components/ButtonIcon/style.module.scss.mjs +55 -55
- package/dist/components/Modal/ModalDialog.cjs +11 -1
- package/dist/components/Modal/ModalDialog.config.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.mjs +16 -9
- package/dist/components/Modal/ModalDialog.mjs +59 -33
- package/dist/components/Modal/style.module.scss.cjs +1 -1
- package/dist/components/Modal/style.module.scss.mjs +17 -13
- 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.config.cjs +1 -1
- package/dist/components/Popover/Popover.config.mjs +3 -2
- package/dist/components/Popover/style.module.scss.cjs +1 -1
- package/dist/components/Popover/style.module.scss.mjs +8 -7
- 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 +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.module.scss.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +12 -12
- 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 +20 -20
- 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/Modal/ModalDialog.config.d.ts +8 -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 +1 -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/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 +4 -2
- 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/Modal/index.d.ts +5 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +6 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +1 -1
- 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/fin/Chat/index.d.ts +39 -0
- package/package.json +1 -1
|
@@ -13,6 +13,11 @@ export declare const configBadges: {
|
|
|
13
13
|
'filled-green-50': string;
|
|
14
14
|
'filled-blue-gray-50': string;
|
|
15
15
|
'filled-cyan-800-bg_cyan-100': string;
|
|
16
|
+
'filled-blue-gray-800': string;
|
|
17
|
+
'filled-green-700': string;
|
|
18
|
+
'filled-red-800': string;
|
|
19
|
+
'filled-light-blue-800': string;
|
|
20
|
+
'filled-orange-400': string;
|
|
16
21
|
'ghost-laba-orange-01': string;
|
|
17
22
|
'ghost-laba-green-01': string;
|
|
18
23
|
'ghost-laba-green-02': string;
|
|
@@ -25,6 +30,11 @@ export declare const configBadges: {
|
|
|
25
30
|
'ghost-amber-100': string;
|
|
26
31
|
'ghost-laba-grey-05': string;
|
|
27
32
|
'ghost-laba-red-01': string;
|
|
33
|
+
'ghost-blue-gray-600': string;
|
|
34
|
+
'ghost-green-700': string;
|
|
35
|
+
'ghost-red-600': string;
|
|
36
|
+
'ghost-light-blue-800': string;
|
|
37
|
+
'ghost-orange-600': string;
|
|
28
38
|
'outline-gray-600': string;
|
|
29
39
|
'outline-green-600': string;
|
|
30
40
|
'outline-red-500': string;
|
|
@@ -35,6 +45,11 @@ export declare const configBadges: {
|
|
|
35
45
|
'outline-laba-orange-06-bg_laba-orange-01': string;
|
|
36
46
|
'outline-laba-green-06': string;
|
|
37
47
|
'outline-laba-red-06': string;
|
|
48
|
+
'outline-blue-gray-600': string;
|
|
49
|
+
'outline-green-700': string;
|
|
50
|
+
'outline-red-600': string;
|
|
51
|
+
'outline-light-blue-800': string;
|
|
52
|
+
'outline-orange-600': string;
|
|
38
53
|
};
|
|
39
54
|
borderRadius: {
|
|
40
55
|
'0px': string;
|
|
@@ -9,5 +9,13 @@ export declare const configModal: {
|
|
|
9
9
|
'': string;
|
|
10
10
|
fin: string;
|
|
11
11
|
};
|
|
12
|
+
position: {
|
|
13
|
+
center: string;
|
|
14
|
+
'right-top': string;
|
|
15
|
+
'right-bottom': string;
|
|
16
|
+
'left-top': string;
|
|
17
|
+
'left-bottom': string;
|
|
18
|
+
};
|
|
12
19
|
};
|
|
13
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, brand, ...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, brand, ...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;
|
|
@@ -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,10 @@ 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';
|
|
88
|
+
import { IBubbleChat, IBubbleChatOption, IDataOptionBubbleChat } from '../interfaces/components/fin/Chat';
|
|
87
89
|
import * as utilTable from '@tanstack/react-table';
|
|
88
90
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
89
91
|
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 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, };
|
|
92
|
+
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, };
|
|
93
|
+
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, IBubbleChat, IBubbleChatOption, IDataOptionBubbleChat, };
|
|
@@ -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).
|
|
@@ -55,6 +55,11 @@ export interface IModalDialog<T extends ElementType> {
|
|
|
55
55
|
* [EN] : Brand (optional).
|
|
56
56
|
*/
|
|
57
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';
|
|
58
63
|
/**
|
|
59
64
|
* [ID] : Handler saat modal ditutup (opsional).
|
|
60
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).
|
|
@@ -94,7 +94,7 @@ export interface IPopover extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
94
94
|
* [ID] : Varian gaya (opsional).
|
|
95
95
|
* [EN] : Style variant (optional).
|
|
96
96
|
*/
|
|
97
|
-
variant?: 'white' | 'blue-gray-50';
|
|
97
|
+
variant?: 'white' | 'blue-gray-50' | 'white-fin';
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
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
|
}
|
|
@@ -57,7 +57,7 @@ export interface ISwitch {
|
|
|
57
57
|
* [ID] : Jenis switch (opsional).
|
|
58
58
|
* [EN] : Switch kind (optional).
|
|
59
59
|
*/
|
|
60
|
-
kind?: 'payhere' | 'laba' | 'bill';
|
|
60
|
+
kind?: 'payhere' | 'laba' | 'bill' | 'fin';
|
|
61
61
|
/**
|
|
62
62
|
* [ID] : Handler perubahan nilai.
|
|
63
63
|
* [EN] : Value change handler.
|
|
@@ -4,12 +4,12 @@ import { TKeyLocale } from '../Calendar';
|
|
|
4
4
|
* [ID] : Tipe varian tab.
|
|
5
5
|
* [EN] : Tab variant type.
|
|
6
6
|
*/
|
|
7
|
-
export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-payhere-brand-base-bg_white' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white' | 'original-bill-secondary-800' | 'container-bill-secondary-800' | 'original-payhere-primary-700';
|
|
7
|
+
export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-payhere-brand-base-bg_white' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white' | 'container-fin-secondary-500' | 'original-bill-secondary-800' | 'container-bill-secondary-800' | 'original-payhere-primary-700' | 'original-fin-primary-100';
|
|
8
8
|
/**
|
|
9
9
|
* [ID] : Tipe ukuran tab.
|
|
10
10
|
* [EN] : Tab size type.
|
|
11
11
|
*/
|
|
12
|
-
export type TSizeTabs = 'tabs-m' | 'tabs-s' | 'tabs-medium' | 'tabs-small';
|
|
12
|
+
export type TSizeTabs = 'tabs-m' | 'tabs-s' | 'tabs-medium' | 'tabs-small' | 'tabs-bill-m' | 'tabs-bill-s' | 'tabs-fin-m' | 'tabs-fin-s';
|
|
13
13
|
/**
|
|
14
14
|
* [ID] : Tipe event tab.
|
|
15
15
|
* [EN] : Tab event type.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IButton } from '../../Button';
|
|
2
|
+
export interface IBubble {
|
|
3
|
+
id?: string;
|
|
4
|
+
content?: React.ReactNode | React.ReactNode[];
|
|
5
|
+
onCopy?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface IBubbleChat extends IBubble {
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
header?: React.ReactNode | React.ReactNode[];
|
|
10
|
+
onLike?: () => void;
|
|
11
|
+
onDislike?: () => void;
|
|
12
|
+
onReply?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export interface IBubbleChatUser extends IBubble {
|
|
15
|
+
otherContentTop?: React.ReactNode | React.ReactNode[];
|
|
16
|
+
otherContentBottom?: React.ReactNode | React.ReactNode[];
|
|
17
|
+
}
|
|
18
|
+
export interface IDataOptionBubbleChat {
|
|
19
|
+
id: string;
|
|
20
|
+
title: string;
|
|
21
|
+
subtitle?: string;
|
|
22
|
+
iconRight?: React.ReactNode;
|
|
23
|
+
iconLeft?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
interface IBaseBubbleChatOption extends IBubbleChat {
|
|
26
|
+
optionDirection?: 'column' | 'row';
|
|
27
|
+
}
|
|
28
|
+
interface ISystemBubbleChatOption extends IBaseBubbleChatOption {
|
|
29
|
+
type: 'system';
|
|
30
|
+
options?: (Omit<IButton, 'children'> & IDataOptionBubbleChat)[];
|
|
31
|
+
onClick?: (data: Omit<IButton, 'children'> & IDataOptionBubbleChat) => void;
|
|
32
|
+
}
|
|
33
|
+
interface IOtherBubbleChatOption extends IBaseBubbleChatOption {
|
|
34
|
+
type: 'suggestion' | 'action';
|
|
35
|
+
options?: IDataOptionBubbleChat[];
|
|
36
|
+
onClick?: (data: IDataOptionBubbleChat) => void;
|
|
37
|
+
}
|
|
38
|
+
export type IBubbleChatOption = ISystemBubbleChatOption | IOtherBubbleChatOption;
|
|
39
|
+
export {};
|