@epam/uui 5.13.3-beta.3 → 5.13.3-rc.0
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/components/buttons/Button.d.ts +1 -1
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/datePickers/CalendarPresets.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/DatePickerBody.d.ts.map +1 -1
- package/components/datePickers/DatePickerHeader.d.ts +1 -1
- package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/errors/ErrorHandler.d.ts +1 -2
- package/components/errors/ErrorHandler.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/filters/FilterDatePickerBody.d.ts.map +1 -1
- package/components/filters/FilterItemBody.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +13 -12
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/Rating.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +0 -1
- package/components/inputs/timePicker/types.d.ts.map +1 -1
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +8 -21
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +0 -1
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +2 -4
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/Dropdown.d.ts +1 -1
- package/components/overlays/Dropdown.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +8 -15
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +1 -1
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +3 -5
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts +1 -1
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/PickerBodyMobileView.d.ts +5 -25
- package/components/pickers/PickerBodyMobileView.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +1 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +2 -2
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/{PickerListItem.d.ts → PickerListRow.d.ts} +2 -2
- package/components/pickers/PickerListRow.d.ts.map +1 -0
- package/components/pickers/PickerModal.d.ts +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +4 -5
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +3 -3
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/index.d.ts +1 -2
- package/components/pickers/index.d.ts.map +1 -1
- package/components/pickers/types.d.ts +1 -1
- package/components/pickers/types.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +5 -13
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +3 -7
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +6 -8
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderGroupCell.d.ts +5 -3
- package/components/tables/DataTableHeaderGroupCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderRow.d.ts +1 -1
- package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
- package/components/tables/DataTableRow.d.ts +4 -6
- package/components/tables/DataTableRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/PinIconButton.d.ts.map +1 -1
- package/components/tables/types.d.ts +5 -3
- package/components/tables/types.d.ts.map +1 -1
- package/components/types.d.ts +0 -1
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +1 -1
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts +5 -5
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +3 -5
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts +8 -15
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/Paginator.d.ts +1 -1
- package/components/widgets/Paginator.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts +3 -5
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/icons/icons.d.ts +21 -0
- package/icons/icons.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +1361 -1468
- package/index.esm.js.map +1 -1
- package/index.js +1359 -1467
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +2 -417
- package/settings.d.ts.map +1 -1
- package/settings.types.d.ts +238 -0
- package/settings.types.d.ts.map +1 -0
- package/stats.html +1 -19
- package/styles.css +1091 -1181
- package/styles.css.map +1 -1
- package/components/pickers/PickerListItem.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/uui",
|
|
3
|
-
"version": "5.13.3-
|
|
3
|
+
"version": "5.13.3-rc.0",
|
|
4
4
|
"description": "EPAM UUI components set",
|
|
5
5
|
"author": "EPAM",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"prepublish": "yarn build"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@epam/assets": "5.13.3-
|
|
16
|
-
"@epam/uui-components": "5.13.3-
|
|
17
|
-
"@epam/uui-core": "5.13.3-
|
|
15
|
+
"@epam/assets": "5.13.3-rc.0",
|
|
16
|
+
"@epam/uui-components": "5.13.3-rc.0",
|
|
17
|
+
"@epam/uui-core": "5.13.3-rc.0",
|
|
18
18
|
"@popperjs/core": "2.9.0",
|
|
19
19
|
"classnames": "2.2.6",
|
|
20
20
|
"dayjs": "1.11.12",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "git",
|
|
30
30
|
"url": "https://github.com/epam/UUI"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "8dd296bb24572eb6ae299dc2c974e78cc03d3f22",
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"directory": "build"
|
|
35
35
|
}
|
package/settings.d.ts
CHANGED
|
@@ -1,418 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
import type { AlertProps, LinkButtonProps, BadgeProps, CountIndicatorProps, ButtonProps, CheckboxProps, DataTableHeaderRowProps, DataTableHeaderCellProps, DataTableRowProps, SearchInputProps, FlexRowProps, TextProps, DatePickerProps, FiltersPanelProps, DataPickerRowProps, PickerItemProps, DataPickerFooterProps, LabeledInputProps, NumericInputProps, PickerTogglerProps, PickerTogglerTagProps, TagProps, SwitchProps, RangeDatePickerProps, RadioInputProps, RatingProps, RichTextViewProps, DataRowAddonsProps, StatusIndicatorProps, TabButtonProps, TextAreaProps, TextInputProps, DataPickerCellProps } from './components';
|
|
4
|
-
type Sizes<S extends string | number | symbol, T> = {
|
|
5
|
-
[size in S]: T;
|
|
6
|
-
};
|
|
7
|
-
interface AccordionIcons {
|
|
8
|
-
dropdownIcon: Icon;
|
|
9
|
-
}
|
|
10
|
-
interface AccordionSettings {
|
|
11
|
-
icons: AccordionIcons;
|
|
12
|
-
}
|
|
13
|
-
interface AlertIcons {
|
|
14
|
-
closeIcon: Icon;
|
|
15
|
-
infoIcon: Icon;
|
|
16
|
-
successIcon: Icon;
|
|
17
|
-
warningIcon: Icon;
|
|
18
|
-
errorIcon: Icon;
|
|
19
|
-
}
|
|
20
|
-
interface AlertSizes {
|
|
21
|
-
default: AlertProps['size'];
|
|
22
|
-
actionMap: Sizes<AlertProps['size'], LinkButtonProps['size']>;
|
|
23
|
-
}
|
|
24
|
-
interface AlertSettings {
|
|
25
|
-
icons: AlertIcons;
|
|
26
|
-
sizes: AlertSizes;
|
|
27
|
-
}
|
|
28
|
-
interface BadgeIcons {
|
|
29
|
-
dropdownIcon: Icon;
|
|
30
|
-
}
|
|
31
|
-
interface BadgeSizes {
|
|
32
|
-
default: BadgeProps['size'];
|
|
33
|
-
countIndicatorMap: Sizes<BadgeProps['size'], CountIndicatorProps['size']>;
|
|
34
|
-
}
|
|
35
|
-
interface BadgeSettings {
|
|
36
|
-
icons: BadgeIcons;
|
|
37
|
-
sizes: BadgeSizes;
|
|
38
|
-
}
|
|
39
|
-
interface ButtonIcons {
|
|
40
|
-
clearIcon: Icon;
|
|
41
|
-
dropdownIcon: Icon;
|
|
42
|
-
}
|
|
43
|
-
interface ButtonSizes {
|
|
44
|
-
default: ButtonProps['size'];
|
|
45
|
-
}
|
|
46
|
-
interface ButtonSettings {
|
|
47
|
-
icons: ButtonIcons;
|
|
48
|
-
sizes: ButtonSizes;
|
|
49
|
-
}
|
|
50
|
-
interface CheckboxIcons {
|
|
51
|
-
checkIcon: Icon;
|
|
52
|
-
indeterminateIcon: Icon;
|
|
53
|
-
}
|
|
54
|
-
interface CheckboxSizes {
|
|
55
|
-
default: CheckboxProps['size'];
|
|
56
|
-
}
|
|
57
|
-
interface CheckboxSettings {
|
|
58
|
-
icons: CheckboxIcons;
|
|
59
|
-
sizes: CheckboxSizes;
|
|
60
|
-
}
|
|
61
|
-
interface CountIndicatorSizes {
|
|
62
|
-
default: CountIndicatorProps['size'];
|
|
63
|
-
}
|
|
64
|
-
interface CountIndicatorSettings {
|
|
65
|
-
sizes: CountIndicatorSizes;
|
|
66
|
-
}
|
|
67
|
-
interface DataTableIcons {
|
|
68
|
-
emptyTable: Icon;
|
|
69
|
-
header: {
|
|
70
|
-
configIcon: Icon;
|
|
71
|
-
ascSortIcon: Icon;
|
|
72
|
-
descSortIcon: Icon;
|
|
73
|
-
defaultSortIcon: Icon;
|
|
74
|
-
filterIcon: Icon;
|
|
75
|
-
dropdownIcon: Icon;
|
|
76
|
-
openedDropdownIcon: Icon;
|
|
77
|
-
foldIcon: Icon;
|
|
78
|
-
unfoldIcon: Icon;
|
|
79
|
-
};
|
|
80
|
-
body: {
|
|
81
|
-
foldingIcon: Icon;
|
|
82
|
-
};
|
|
83
|
-
columnsConfigurationModal: {
|
|
84
|
-
dragIndicator: Icon;
|
|
85
|
-
lockIcon: Icon;
|
|
86
|
-
pinLeftIcon: Icon;
|
|
87
|
-
pinRightIcon: Icon;
|
|
88
|
-
menuIcon: Icon;
|
|
89
|
-
resetIcon: Icon;
|
|
90
|
-
expandedIcon: Icon;
|
|
91
|
-
collapsedIcon: Icon;
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
interface DataTableSizes {
|
|
95
|
-
columnsConfigurationModal: {
|
|
96
|
-
columnRow: FlexRowProps['size'];
|
|
97
|
-
countIndicator: CountIndicatorProps['size'];
|
|
98
|
-
menuButton: ButtonProps['size'];
|
|
99
|
-
searchInput: SearchInputProps['size'];
|
|
100
|
-
};
|
|
101
|
-
header: {
|
|
102
|
-
row: DataTableHeaderRowProps['size'];
|
|
103
|
-
iconMap: Sizes<DataTableHeaderCellProps<unknown, unknown>['size'], string>;
|
|
104
|
-
};
|
|
105
|
-
body: {
|
|
106
|
-
row: DataTableRowProps['size'];
|
|
107
|
-
checkboxMap: Sizes<DataRowAddonsProps<unknown, unknown>['size'], CheckboxProps['size']>;
|
|
108
|
-
iconMap: Sizes<DataRowAddonsProps<unknown, unknown>['size'], number | string>;
|
|
109
|
-
indentUnitMap: Sizes<DataRowAddonsProps<unknown, unknown>['size'], number>;
|
|
110
|
-
indentWidthMap: Sizes<DataRowAddonsProps<unknown, unknown>['size'], number>;
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
interface DataTableSettings {
|
|
114
|
-
icons: DataTableIcons;
|
|
115
|
-
sizes: DataTableSizes;
|
|
116
|
-
}
|
|
117
|
-
interface DropdownMenuIcons {
|
|
118
|
-
acceptIcon: Icon;
|
|
119
|
-
dropdownIcon: Icon;
|
|
120
|
-
}
|
|
121
|
-
interface DropdownMenuSettings {
|
|
122
|
-
icons: DropdownMenuIcons;
|
|
123
|
-
}
|
|
124
|
-
interface DatePickerIcons {
|
|
125
|
-
body: {
|
|
126
|
-
prevIcon: Icon;
|
|
127
|
-
nextIcon: Icon;
|
|
128
|
-
};
|
|
129
|
-
input: {
|
|
130
|
-
calendarIcon: Icon;
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
interface DatePickerSizes {
|
|
134
|
-
input: DatePickerProps['size'];
|
|
135
|
-
body: DatePickerProps['size'];
|
|
136
|
-
}
|
|
137
|
-
interface DatePickerSettings {
|
|
138
|
-
icons: DatePickerIcons;
|
|
139
|
-
sizes: DatePickerSizes;
|
|
140
|
-
}
|
|
141
|
-
interface FileCardIcons {
|
|
142
|
-
docIcon: Icon;
|
|
143
|
-
exelIcon: Icon;
|
|
144
|
-
pdfIcon: Icon;
|
|
145
|
-
imgIcon: Icon;
|
|
146
|
-
videoIcon: Icon;
|
|
147
|
-
tableIcon: Icon;
|
|
148
|
-
textIcon: Icon;
|
|
149
|
-
mailIcon: Icon;
|
|
150
|
-
fileIcon: Icon;
|
|
151
|
-
closeIcon: Icon;
|
|
152
|
-
errorIcon: Icon;
|
|
153
|
-
}
|
|
154
|
-
interface FileCardSettings {
|
|
155
|
-
icons: FileCardIcons;
|
|
156
|
-
}
|
|
157
|
-
interface FlexRowSizes {
|
|
158
|
-
default: FlexRowProps['size'];
|
|
159
|
-
}
|
|
160
|
-
interface FlexRowSettings {
|
|
161
|
-
sizes: FlexRowSizes;
|
|
162
|
-
}
|
|
163
|
-
interface FiltersPanelIcons {
|
|
164
|
-
addFilterIcon: Icon;
|
|
165
|
-
itemDropdownIcon: Icon;
|
|
166
|
-
}
|
|
167
|
-
interface FiltersPanelSizes {
|
|
168
|
-
default: FiltersPanelProps<unknown>['size'];
|
|
169
|
-
}
|
|
170
|
-
interface FiltersPanelSettings {
|
|
171
|
-
icons: FiltersPanelIcons;
|
|
172
|
-
sizes: FiltersPanelSizes;
|
|
173
|
-
}
|
|
174
|
-
interface IconButtonSettings {
|
|
175
|
-
icons: {
|
|
176
|
-
dropdownIcon: Icon;
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
interface LabeledInputIcons {
|
|
180
|
-
infoIcon: Icon;
|
|
181
|
-
fillInfoIcon: Icon;
|
|
182
|
-
}
|
|
183
|
-
interface LabeledInputSizes {
|
|
184
|
-
default: LabeledInputProps['size'];
|
|
185
|
-
}
|
|
186
|
-
interface LabeledInputSettings {
|
|
187
|
-
icons: LabeledInputIcons;
|
|
188
|
-
sizes: LabeledInputSizes;
|
|
189
|
-
}
|
|
190
|
-
interface LinkButtonIcons {
|
|
191
|
-
dropdownIcon: Icon;
|
|
192
|
-
}
|
|
193
|
-
interface LinkButtonSizes {
|
|
194
|
-
default: LinkButtonProps['size'];
|
|
195
|
-
}
|
|
196
|
-
interface LinkButtonSettings {
|
|
197
|
-
icons: LinkButtonIcons;
|
|
198
|
-
sizes: LinkButtonSizes;
|
|
199
|
-
weight: LinkButtonProps['weight'];
|
|
200
|
-
}
|
|
201
|
-
interface ModalIcons {
|
|
202
|
-
closeIcon: Icon;
|
|
203
|
-
}
|
|
204
|
-
interface ModalSettings {
|
|
205
|
-
icons: ModalIcons;
|
|
206
|
-
}
|
|
207
|
-
interface NotificationCardIcons {
|
|
208
|
-
closeIcon: Icon;
|
|
209
|
-
hintIcon: Icon;
|
|
210
|
-
successIcon: Icon;
|
|
211
|
-
warningIcon: Icon;
|
|
212
|
-
errorIcon: Icon;
|
|
213
|
-
}
|
|
214
|
-
interface NotificationCardSizes {
|
|
215
|
-
action: LinkButtonProps['size'];
|
|
216
|
-
}
|
|
217
|
-
interface NotificationCardSettings {
|
|
218
|
-
icons: NotificationCardIcons;
|
|
219
|
-
sizes: NotificationCardSizes;
|
|
220
|
-
}
|
|
221
|
-
interface NumericInputIcons {
|
|
222
|
-
arrowIcon: Icon;
|
|
223
|
-
}
|
|
224
|
-
interface NumericInputSizes {
|
|
225
|
-
default: NumericInputProps['size'];
|
|
226
|
-
}
|
|
227
|
-
interface NumericInputSettings {
|
|
228
|
-
icons: NumericInputIcons;
|
|
229
|
-
sizes: NumericInputSizes;
|
|
230
|
-
}
|
|
231
|
-
interface PaginatorIcons {
|
|
232
|
-
leftArrowIcon: Icon;
|
|
233
|
-
rightArrowIcon: Icon;
|
|
234
|
-
}
|
|
235
|
-
interface PaginatorSizes {
|
|
236
|
-
default: ButtonProps['size'];
|
|
237
|
-
}
|
|
238
|
-
interface PaginatorSettings {
|
|
239
|
-
icons: PaginatorIcons;
|
|
240
|
-
sizes: PaginatorSizes;
|
|
241
|
-
}
|
|
242
|
-
type SelectIconType = Icon | ((size: DataPickerCellProps<unknown, unknown>['size']) => Icon);
|
|
243
|
-
interface PickerInputIcons {
|
|
244
|
-
toggler: {
|
|
245
|
-
clearIcon: Icon;
|
|
246
|
-
dropdownIcon: Icon;
|
|
247
|
-
};
|
|
248
|
-
body: {
|
|
249
|
-
selectIcon: SelectIconType;
|
|
250
|
-
pickerBodyMobileHeaderCloseIcon: Icon;
|
|
251
|
-
modalNotFoundSearchIcon: Icon;
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
interface PickerInputSizes {
|
|
255
|
-
toggler: {
|
|
256
|
-
default: PickerTogglerProps<unknown, unknown>['size'];
|
|
257
|
-
tag: PickerTogglerTagProps<unknown, unknown>['size'];
|
|
258
|
-
tagMap: Sizes<PickerTogglerTagProps<unknown, unknown>['size'], TagProps['size']>;
|
|
259
|
-
};
|
|
260
|
-
body: {
|
|
261
|
-
maxHeight: number;
|
|
262
|
-
minWidth: number;
|
|
263
|
-
padding: DataPickerRowProps<unknown, unknown>['padding'];
|
|
264
|
-
row: DataPickerCellProps<unknown, unknown>['size'];
|
|
265
|
-
itemAvatarMap: Sizes<PickerItemProps<unknown, unknown>['size'], AvatarProps['size']>;
|
|
266
|
-
itemAvatarMultilineMap: Sizes<PickerItemProps<unknown, unknown>['size'], AvatarProps['size']>;
|
|
267
|
-
itemVerticalPaddingMap: Sizes<PickerItemProps<unknown, unknown>['size'], string>;
|
|
268
|
-
selectIconMap: Sizes<DataPickerCellProps<unknown, unknown>['size'], string>;
|
|
269
|
-
footerSwitchMap: Sizes<DataPickerFooterProps<unknown, unknown>['size'], SwitchProps['size']>;
|
|
270
|
-
mobileFooterLinkButton: LinkButtonProps['size'];
|
|
271
|
-
mobileRow: DataPickerRowProps<unknown, unknown>['size'];
|
|
272
|
-
mobileSearchInput: SearchInputProps['size'];
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
interface PickerInputSettings {
|
|
276
|
-
icons: PickerInputIcons;
|
|
277
|
-
sizes: PickerInputSizes;
|
|
278
|
-
}
|
|
279
|
-
interface RadioInputIcons {
|
|
280
|
-
dotIcon: Icon;
|
|
281
|
-
}
|
|
282
|
-
interface RadioInputSizes {
|
|
283
|
-
default: RadioInputProps['size'];
|
|
284
|
-
}
|
|
285
|
-
interface RadioInputSettings {
|
|
286
|
-
icons: RadioInputIcons;
|
|
287
|
-
sizes: RadioInputSizes;
|
|
288
|
-
}
|
|
289
|
-
interface RangeDatePickerIcons {
|
|
290
|
-
input: {
|
|
291
|
-
calendarIcon: Icon;
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
interface RangeDatePickerSizes {
|
|
295
|
-
default: RangeDatePickerProps['size'];
|
|
296
|
-
preset: LinkButtonProps['size'];
|
|
297
|
-
}
|
|
298
|
-
interface RangeDatePickerSettings {
|
|
299
|
-
icons: RangeDatePickerIcons;
|
|
300
|
-
sizes: RangeDatePickerSizes;
|
|
301
|
-
}
|
|
302
|
-
interface RatingIcons {
|
|
303
|
-
filledRatingIcon: Icon;
|
|
304
|
-
emptyRatingIcon: Icon;
|
|
305
|
-
}
|
|
306
|
-
interface RatingSizes {
|
|
307
|
-
default: RatingProps['size'];
|
|
308
|
-
}
|
|
309
|
-
interface RatingSettings {
|
|
310
|
-
icons: RatingIcons;
|
|
311
|
-
sizes: RatingSizes;
|
|
312
|
-
}
|
|
313
|
-
interface RichTextViewSizes {
|
|
314
|
-
default: RichTextViewProps['size'];
|
|
315
|
-
}
|
|
316
|
-
interface RichTextViewSettings {
|
|
317
|
-
sizes: RichTextViewSizes;
|
|
318
|
-
}
|
|
319
|
-
interface StatusIndicatorSizes {
|
|
320
|
-
default: StatusIndicatorProps['size'];
|
|
321
|
-
}
|
|
322
|
-
interface StatusIndicatorSettings {
|
|
323
|
-
sizes: StatusIndicatorSizes;
|
|
324
|
-
}
|
|
325
|
-
interface SwitchSizes {
|
|
326
|
-
default: SwitchProps['size'];
|
|
327
|
-
}
|
|
328
|
-
interface SwitchSettings {
|
|
329
|
-
sizes: SwitchSizes;
|
|
330
|
-
}
|
|
331
|
-
interface TabButtonIcons {
|
|
332
|
-
clearIcon: Icon;
|
|
333
|
-
dropdownIcon: Icon;
|
|
334
|
-
}
|
|
335
|
-
interface TabButtonSizes {
|
|
336
|
-
default: TabButtonProps['size'];
|
|
337
|
-
countIndicatorMap: Sizes<TabButtonProps['size'], CountIndicatorProps['size']>;
|
|
338
|
-
}
|
|
339
|
-
interface TabButtonSettings {
|
|
340
|
-
icons: TabButtonIcons;
|
|
341
|
-
sizes: TabButtonSizes;
|
|
342
|
-
}
|
|
343
|
-
interface TagIcons {
|
|
344
|
-
clearIcon: Icon;
|
|
345
|
-
dropdownIcon: Icon;
|
|
346
|
-
}
|
|
347
|
-
interface TagSizes {
|
|
348
|
-
default: TagProps['size'];
|
|
349
|
-
countIndicatorMap: Sizes<TagProps['size'], CountIndicatorProps['size']>;
|
|
350
|
-
}
|
|
351
|
-
interface TagSettings {
|
|
352
|
-
icons: TagIcons;
|
|
353
|
-
sizes: TagSizes;
|
|
354
|
-
}
|
|
355
|
-
interface TextSettings {
|
|
356
|
-
sizes: {
|
|
357
|
-
default: TextProps['size'];
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
interface TextAreaSizes {
|
|
361
|
-
default: TextAreaProps['size'];
|
|
362
|
-
}
|
|
363
|
-
interface TextAreaSettings {
|
|
364
|
-
sizes: TextAreaSizes;
|
|
365
|
-
}
|
|
366
|
-
interface TextInputIcons {
|
|
367
|
-
acceptIcon: Icon;
|
|
368
|
-
clearIcon: Icon;
|
|
369
|
-
dropdownIcon: Icon;
|
|
370
|
-
searchIcon: Icon;
|
|
371
|
-
}
|
|
372
|
-
interface TextInputSizes {
|
|
373
|
-
default: TextInputProps['size'];
|
|
374
|
-
}
|
|
375
|
-
interface TextInputSettings {
|
|
376
|
-
icons: TextInputIcons;
|
|
377
|
-
sizes: TextInputSizes;
|
|
378
|
-
}
|
|
379
|
-
export declare const settings: {
|
|
380
|
-
accordion: AccordionSettings;
|
|
381
|
-
alert: AlertSettings;
|
|
382
|
-
badge: BadgeSettings;
|
|
383
|
-
button: ButtonSettings;
|
|
384
|
-
checkbox: CheckboxSettings;
|
|
385
|
-
countIndicator: CountIndicatorSettings;
|
|
386
|
-
dataTable: DataTableSettings;
|
|
387
|
-
datePicker: DatePickerSettings;
|
|
388
|
-
dropdownMenu: DropdownMenuSettings;
|
|
389
|
-
flexRow: FlexRowSettings;
|
|
390
|
-
fileCard: FileCardSettings;
|
|
391
|
-
filtersPanel: FiltersPanelSettings;
|
|
392
|
-
iconButton: IconButtonSettings;
|
|
393
|
-
labeledInput: LabeledInputSettings;
|
|
394
|
-
linkButton: LinkButtonSettings;
|
|
395
|
-
modal: ModalSettings;
|
|
396
|
-
notificationCard: NotificationCardSettings;
|
|
397
|
-
numericInput: NumericInputSettings;
|
|
398
|
-
paginator: PaginatorSettings;
|
|
399
|
-
pickerInput: PickerInputSettings;
|
|
400
|
-
radioInput: RadioInputSettings;
|
|
401
|
-
rangeDatePicker: RangeDatePickerSettings;
|
|
402
|
-
rating: RatingSettings;
|
|
403
|
-
richTextView: RichTextViewSettings;
|
|
404
|
-
statusIndicator: StatusIndicatorSettings;
|
|
405
|
-
switch: SwitchSettings;
|
|
406
|
-
tabButton: TabButtonSettings;
|
|
407
|
-
tag: TagSettings;
|
|
408
|
-
text: TextSettings;
|
|
409
|
-
textArea: TextAreaSettings;
|
|
410
|
-
textInput: TextInputSettings;
|
|
411
|
-
};
|
|
412
|
-
export type Settings = typeof settings;
|
|
413
|
-
type DeepPartial<T> = T extends object ? {
|
|
414
|
-
[P in keyof T]?: DeepPartial<T[P]>;
|
|
415
|
-
} : T;
|
|
416
|
-
export type PartialSettings = DeepPartial<Settings>;
|
|
417
|
-
export {};
|
|
1
|
+
import type { Settings } from './settings.types';
|
|
2
|
+
export declare const settings: Settings;
|
|
418
3
|
//# sourceMappingURL=settings.d.ts.map
|
package/settings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../settings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ,EAAE,QAwTtB,CAAC"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
interface DefaultSizes {
|
|
2
|
+
alert: string;
|
|
3
|
+
badge: string;
|
|
4
|
+
button: string;
|
|
5
|
+
checkbox: string;
|
|
6
|
+
countIndicator: string;
|
|
7
|
+
flexRow: string;
|
|
8
|
+
filtersPanel: string;
|
|
9
|
+
linkButton: string;
|
|
10
|
+
numericInput: string;
|
|
11
|
+
radioInput: string;
|
|
12
|
+
richTextView: string;
|
|
13
|
+
switch: string;
|
|
14
|
+
tabButton: string;
|
|
15
|
+
tag: string;
|
|
16
|
+
text: string;
|
|
17
|
+
textArea: string;
|
|
18
|
+
textInput: string;
|
|
19
|
+
rangeDatePicker: string;
|
|
20
|
+
datePicker: string;
|
|
21
|
+
labeledInput: string;
|
|
22
|
+
statusIndicator: string;
|
|
23
|
+
paginator: string;
|
|
24
|
+
rating: string;
|
|
25
|
+
}
|
|
26
|
+
interface Sizes {
|
|
27
|
+
[size: string | number]: string | number;
|
|
28
|
+
}
|
|
29
|
+
interface TextSize {
|
|
30
|
+
fontSize?: string | number;
|
|
31
|
+
fontWeight?: string | number;
|
|
32
|
+
lineHeight?: string | number;
|
|
33
|
+
size?: string | number;
|
|
34
|
+
}
|
|
35
|
+
interface UppercaseTextSize {
|
|
36
|
+
uppercase: string;
|
|
37
|
+
}
|
|
38
|
+
interface AlertSizes {
|
|
39
|
+
action: Sizes;
|
|
40
|
+
}
|
|
41
|
+
interface NotificationCardSizes {
|
|
42
|
+
action: string;
|
|
43
|
+
}
|
|
44
|
+
interface TagSizes {
|
|
45
|
+
countIndicator: Sizes;
|
|
46
|
+
}
|
|
47
|
+
interface PickerInputSizes {
|
|
48
|
+
toggler: PickerInputTogglerSizes;
|
|
49
|
+
body: PickerInputBodySizes;
|
|
50
|
+
}
|
|
51
|
+
interface PickerInputTogglerDefaultSizes {
|
|
52
|
+
size: string;
|
|
53
|
+
tag: string;
|
|
54
|
+
}
|
|
55
|
+
interface PickerInputTogglerSizes {
|
|
56
|
+
defaults: PickerInputTogglerDefaultSizes;
|
|
57
|
+
tag: Sizes;
|
|
58
|
+
}
|
|
59
|
+
interface PickerInputBodySizes {
|
|
60
|
+
dropdown: PickerInputBodyDropdownSizes;
|
|
61
|
+
mobile: PickerInputBodyMobileSizes;
|
|
62
|
+
modal: PickerInputBodyModalSizes;
|
|
63
|
+
}
|
|
64
|
+
interface PickerInputBodyDropdownSizes {
|
|
65
|
+
height: number;
|
|
66
|
+
width: number;
|
|
67
|
+
padding: string;
|
|
68
|
+
row: PickerInputBodyRowSizes;
|
|
69
|
+
footer: PickerBodyDropdownFooterSizes;
|
|
70
|
+
}
|
|
71
|
+
interface PickerInputBodyItemSizes {
|
|
72
|
+
default: string;
|
|
73
|
+
avatar: PickerItemAvatarSizes;
|
|
74
|
+
verticalPadding: Sizes;
|
|
75
|
+
}
|
|
76
|
+
interface PickerInputBodyCellSizes {
|
|
77
|
+
item: PickerInputBodyItemSizes;
|
|
78
|
+
isBoldSelectionIcon: IsBoldSizes;
|
|
79
|
+
text: Sizes;
|
|
80
|
+
icon: Sizes;
|
|
81
|
+
padding: string;
|
|
82
|
+
}
|
|
83
|
+
interface PickerInputBodyRowSizes {
|
|
84
|
+
default: string;
|
|
85
|
+
cell: PickerInputBodyCellSizes;
|
|
86
|
+
}
|
|
87
|
+
interface PickerBodyDropdownFooterSizes {
|
|
88
|
+
switch: Sizes;
|
|
89
|
+
linkButton: Sizes;
|
|
90
|
+
}
|
|
91
|
+
interface PickerInputBodyMobileSizes {
|
|
92
|
+
header: PickerBodyMobileHeaderSizes;
|
|
93
|
+
footer: PickerBodyMobileFooterSizes;
|
|
94
|
+
row: string;
|
|
95
|
+
searchInput: string;
|
|
96
|
+
}
|
|
97
|
+
interface PickerBodyMobileHeaderSizes {
|
|
98
|
+
titleSize: string;
|
|
99
|
+
}
|
|
100
|
+
interface PickerBodyMobileFooterSizes {
|
|
101
|
+
linkButton: string;
|
|
102
|
+
}
|
|
103
|
+
interface PickerInputBodyModalSizes {
|
|
104
|
+
row: string;
|
|
105
|
+
padding: string;
|
|
106
|
+
}
|
|
107
|
+
interface PickerItemAvatarSizes {
|
|
108
|
+
rest: Sizes;
|
|
109
|
+
multiline: Sizes;
|
|
110
|
+
}
|
|
111
|
+
interface IsBoldSizes {
|
|
112
|
+
[size: string | number]: boolean;
|
|
113
|
+
}
|
|
114
|
+
interface RowAddonsSizes {
|
|
115
|
+
defaults: RowAddonsDefaults;
|
|
116
|
+
checkbox: Sizes;
|
|
117
|
+
icon: Sizes;
|
|
118
|
+
indentUnit: Sizes;
|
|
119
|
+
indentWidth: Sizes;
|
|
120
|
+
}
|
|
121
|
+
interface RowAddonsDefaults {
|
|
122
|
+
icon: string;
|
|
123
|
+
indentUnit: number;
|
|
124
|
+
indentWidth: number;
|
|
125
|
+
}
|
|
126
|
+
interface TextSizes {
|
|
127
|
+
[size: string | number]: TextSize;
|
|
128
|
+
}
|
|
129
|
+
interface LabeledInputSizes {
|
|
130
|
+
fillIcon: string[];
|
|
131
|
+
}
|
|
132
|
+
interface BadgeSizes {
|
|
133
|
+
countIndicator: Sizes;
|
|
134
|
+
}
|
|
135
|
+
interface DataTableHeaderCellSizes {
|
|
136
|
+
defaults: DataTableHeaderCellDefaults;
|
|
137
|
+
checkbox: Sizes;
|
|
138
|
+
columnCaption: TextSize & UppercaseTextSize;
|
|
139
|
+
iconSize: Sizes;
|
|
140
|
+
truncate?: string[];
|
|
141
|
+
}
|
|
142
|
+
interface DataTableHeaderGroupCellDefaults {
|
|
143
|
+
size: string;
|
|
144
|
+
padding: string;
|
|
145
|
+
paddingEdge: string;
|
|
146
|
+
}
|
|
147
|
+
interface DataTableHeaderGroupCellSizes {
|
|
148
|
+
defaults: DataTableHeaderGroupCellDefaults;
|
|
149
|
+
columnCaption: TextSize & UppercaseTextSize;
|
|
150
|
+
iconSize: Sizes;
|
|
151
|
+
truncate?: string[];
|
|
152
|
+
}
|
|
153
|
+
interface DataTableHeaderCellDefaults {
|
|
154
|
+
size: string;
|
|
155
|
+
resizeMarker: string;
|
|
156
|
+
padding: string;
|
|
157
|
+
paddingEdge: string;
|
|
158
|
+
}
|
|
159
|
+
interface DataTableCellSizes {
|
|
160
|
+
defaults: DataTableCellDefaults;
|
|
161
|
+
text: Sizes;
|
|
162
|
+
}
|
|
163
|
+
interface DataTableCellDefaults {
|
|
164
|
+
size: string;
|
|
165
|
+
padding: string;
|
|
166
|
+
paddingEdge: string;
|
|
167
|
+
}
|
|
168
|
+
interface DataTableColumnsConfigurationModal {
|
|
169
|
+
columnRow: string;
|
|
170
|
+
countIndicator: string;
|
|
171
|
+
subgroupIcon: string;
|
|
172
|
+
search: string;
|
|
173
|
+
width: number;
|
|
174
|
+
}
|
|
175
|
+
interface FiltersPanelPickerBodySizes {
|
|
176
|
+
default: string;
|
|
177
|
+
}
|
|
178
|
+
interface FiltersPanelPickerSizes {
|
|
179
|
+
body: FiltersPanelPickerBodySizes;
|
|
180
|
+
}
|
|
181
|
+
interface FiltersPanelSizes {
|
|
182
|
+
pickerInput: FiltersPanelPickerSizes;
|
|
183
|
+
}
|
|
184
|
+
interface DataTableHeaderRowSizes {
|
|
185
|
+
default: string;
|
|
186
|
+
cell: DataTableHeaderCellSizes;
|
|
187
|
+
groupCell: DataTableHeaderGroupCellSizes;
|
|
188
|
+
}
|
|
189
|
+
interface DataTableHeaderSizes {
|
|
190
|
+
row: DataTableHeaderRowSizes;
|
|
191
|
+
}
|
|
192
|
+
interface DataTableRowSizes {
|
|
193
|
+
default: string;
|
|
194
|
+
cell: DataTableCellSizes;
|
|
195
|
+
}
|
|
196
|
+
interface DataTableBodySizes {
|
|
197
|
+
row: DataTableRowSizes;
|
|
198
|
+
}
|
|
199
|
+
interface DataTableSizes {
|
|
200
|
+
columnsConfigurationModal: DataTableColumnsConfigurationModal;
|
|
201
|
+
header: DataTableHeaderSizes;
|
|
202
|
+
body: DataTableBodySizes;
|
|
203
|
+
}
|
|
204
|
+
interface TabButtonSizes {
|
|
205
|
+
countIndicator: Sizes;
|
|
206
|
+
}
|
|
207
|
+
interface ModalWindowDefaultSizes {
|
|
208
|
+
width: number;
|
|
209
|
+
}
|
|
210
|
+
interface ModalWindowSizes {
|
|
211
|
+
defaults: ModalWindowDefaultSizes;
|
|
212
|
+
}
|
|
213
|
+
interface ModalSizes {
|
|
214
|
+
window: ModalWindowSizes;
|
|
215
|
+
}
|
|
216
|
+
interface SizesSettings {
|
|
217
|
+
defaults: DefaultSizes;
|
|
218
|
+
alert: AlertSizes;
|
|
219
|
+
notificationCard: NotificationCardSizes;
|
|
220
|
+
tag: TagSizes;
|
|
221
|
+
pickerInput: PickerInputSizes;
|
|
222
|
+
rowAddons: RowAddonsSizes;
|
|
223
|
+
text: TextSizes;
|
|
224
|
+
filtersPanel: FiltersPanelSizes;
|
|
225
|
+
labeledInput: LabeledInputSizes;
|
|
226
|
+
badge: BadgeSizes;
|
|
227
|
+
dataTable: DataTableSizes;
|
|
228
|
+
modal: ModalSizes;
|
|
229
|
+
tabButton: TabButtonSizes;
|
|
230
|
+
}
|
|
231
|
+
export interface Settings {
|
|
232
|
+
/**
|
|
233
|
+
* setting sizes for complex and compound components to support 'Size theming'
|
|
234
|
+
*/
|
|
235
|
+
sizes: SizesSettings;
|
|
236
|
+
}
|
|
237
|
+
export {};
|
|
238
|
+
//# sourceMappingURL=settings.types.d.ts.map
|