@zealicsolutions/web-ui 1.0.75 → 1.0.77
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/cjs/index.js +246 -246
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Checklist/Checklist.d.ts +41 -8
- package/dist/cjs/molecules/Checklist/Checklist.stories.d.ts +64 -7
- package/dist/esm/molecules/BaseMolecule.js +1 -1
- package/dist/esm/molecules/BaseMolecule.js.map +1 -1
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js.map +1 -1
- package/dist/esm/molecules/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/molecules/Checklist/Checklist.d.ts +41 -8
- package/dist/esm/molecules/Checklist/Checklist.js +1 -1
- package/dist/esm/molecules/Checklist/Checklist.js.map +1 -1
- package/dist/esm/molecules/Checklist/Checklist.stories.d.ts +64 -7
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js +1 -1
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/index.d.ts +41 -8
- package/package.json +11 -4
@@ -1,14 +1,15 @@
|
|
1
|
-
import { FC } from 'react';
|
2
1
|
import { ConfigurationItemInfo } from 'containers';
|
3
|
-
|
2
|
+
import { FC } from 'react';
|
3
|
+
export declare type ChecklistItemType = {
|
4
4
|
id: string;
|
5
|
+
type: 'checklist_item';
|
5
6
|
label: string;
|
6
|
-
textColor
|
7
|
-
fontSize
|
8
|
-
fontFamily
|
9
|
-
fontWeight
|
10
|
-
textAlign
|
11
|
-
interacted
|
7
|
+
textColor?: string;
|
8
|
+
fontSize?: string;
|
9
|
+
fontFamily?: string;
|
10
|
+
fontWeight?: string;
|
11
|
+
textAlign?: 'left' | 'center' | 'right' | 'justify';
|
12
|
+
interacted?: 'checked' | 'unchecked';
|
12
13
|
disabled?: boolean;
|
13
14
|
isSystemDriven?: boolean;
|
14
15
|
iconName?: string;
|
@@ -16,12 +17,44 @@ export declare type ChecklistItem = {
|
|
16
17
|
checkedIconName?: string;
|
17
18
|
checkedIconColor?: string;
|
18
19
|
};
|
20
|
+
export declare type DividerItemType = {
|
21
|
+
id: string;
|
22
|
+
type: 'divider_item';
|
23
|
+
orientation?: 'horizontal' | 'vertical';
|
24
|
+
variant?: 'fullWidth' | 'inset' | 'middle';
|
25
|
+
color?: string;
|
26
|
+
thickness?: string;
|
27
|
+
};
|
28
|
+
export declare type TextItemType = {
|
29
|
+
id: string;
|
30
|
+
type: 'text_item';
|
31
|
+
text: string;
|
32
|
+
textColor?: string;
|
33
|
+
fontSize?: string;
|
34
|
+
fontFamily?: string;
|
35
|
+
fontWeight?: string;
|
36
|
+
textAlign?: 'left' | 'center' | 'right' | 'justify';
|
37
|
+
};
|
38
|
+
export declare type RichTextItemType = {
|
39
|
+
id: string;
|
40
|
+
type: 'rich_text_item';
|
41
|
+
text: string;
|
42
|
+
textColor?: string;
|
43
|
+
fontSize?: string;
|
44
|
+
fontFamily?: string;
|
45
|
+
fontWeight?: string;
|
46
|
+
textAlign?: 'left' | 'center' | 'right' | 'justify';
|
47
|
+
};
|
48
|
+
export declare type ChecklistItem = ChecklistItemType | DividerItemType | TextItemType | RichTextItemType;
|
19
49
|
export declare type ChecklistProps = {
|
20
50
|
gap?: string;
|
21
51
|
moleculeId?: string;
|
22
52
|
items: ChecklistItem[];
|
23
53
|
iconSize?: 'small' | 'medium' | 'large';
|
24
54
|
labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
|
55
|
+
width?: string;
|
56
|
+
minWidth?: string;
|
57
|
+
maxWidth?: string;
|
25
58
|
paddingTop?: string;
|
26
59
|
paddingRight?: string;
|
27
60
|
paddingBottom?: string;
|