@epam/uui 4.11.0-alpha.0 → 4.11.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/assets/styles/buttonLayout.scss +66 -66
- package/assets/styles/controlLayout.scss +27 -27
- package/assets/styles/effects.scss +9 -9
- package/assets/styles/font-faces.scss +51 -51
- package/assets/styles/icons.scss +18 -18
- package/assets/styles/index.scss +7 -7
- package/assets/styles/inputs.scss +69 -69
- package/assets/styles/layout-mixins.scss +8 -8
- package/assets/styles/prettifyScrollBar.scss +52 -52
- package/assets/styles/text-layout.scss +80 -80
- package/assets/styles/text-size.scss +37 -37
- package/assets/styles/typography-mixins.scss +159 -0
- package/assets/styles/typography.scss +38 -3
- package/assets/styles/variables/widgets/badge.scss +50 -50
- package/components/buttons/Button/Button.d.ts +12 -12
- package/components/buttons/Button/Button.test.d.ts +1 -1
- package/components/buttons/Button/index.d.ts +1 -1
- package/components/buttons/IconButton.d.ts +9 -9
- package/components/buttons/LinkButton.d.ts +7 -7
- package/components/buttons/TabButton.d.ts +7 -7
- package/components/buttons/VerticalTabButton.d.ts +4 -4
- package/components/buttons/helper.d.ts +2 -2
- package/components/buttons/index.d.ts +5 -5
- package/components/datePickers/Calendar.d.ts +4 -4
- package/components/datePickers/CalendarPresets.d.ts +3 -3
- package/components/datePickers/DatePicker.d.ts +12 -12
- package/components/datePickers/DatePickerBody.d.ts +3 -3
- package/components/datePickers/RangeDatePicker.d.ts +12 -12
- package/components/datePickers/RangeDatePickerBody.d.ts +3 -3
- package/components/datePickers/index.d.ts +5 -5
- package/components/dnd/DropMarker.d.ts +8 -8
- package/components/dnd/index.d.ts +1 -1
- package/components/filters/FilterDataPickerBody.d.ts +14 -0
- package/components/filters/FilterDataPickerBody.d.ts.map +1 -0
- package/components/filters/FilterItemBody.d.ts +3 -0
- package/components/filters/FilterItemBody.d.ts.map +1 -0
- package/components/filters/FilterNumericBody.d.ts +13 -0
- package/components/filters/FilterNumericBody.d.ts.map +1 -0
- package/components/filters/FilterPanelItemToggler.d.ts +13 -0
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -0
- package/components/filters/FilterPickerBody.d.ts +20 -0
- package/components/filters/FilterPickerBody.d.ts.map +1 -0
- package/components/filters/FilterRangeDatePickerBody.d.ts +19 -0
- package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -0
- package/components/filters/FiltersPanel.d.ts +9 -0
- package/components/filters/FiltersPanel.d.ts.map +1 -0
- package/components/filters/FiltersPanelItem.d.ts +8 -0
- package/components/filters/FiltersPanelItem.d.ts.map +1 -0
- package/components/filters/PresetPanel/Preset.d.ts +9 -0
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -0
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +10 -0
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -0
- package/components/filters/PresetPanel/PresetInput.d.ts +9 -0
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -0
- package/components/filters/PresetPanel/PresetsPanel.d.ts +7 -0
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -0
- package/components/filters/PresetPanel/index.d.ts +2 -0
- package/components/filters/PresetPanel/index.d.ts.map +1 -0
- package/components/filters/defaultPredicates.d.ts +5 -0
- package/components/filters/defaultPredicates.d.ts.map +1 -0
- package/components/filters/index.d.ts +5 -0
- package/components/filters/index.d.ts.map +1 -0
- package/components/forms/Form.d.ts +4 -0
- package/components/forms/Form.d.ts.map +1 -0
- package/components/forms/index.d.ts +3 -0
- package/components/forms/index.d.ts.map +1 -0
- package/components/forms/useForm.d.ts +3 -0
- package/components/forms/useForm.d.ts.map +1 -0
- package/components/index.d.ts +14 -11
- package/components/index.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts +8 -8
- package/components/inputs/MultiSwitch.d.ts +15 -15
- package/components/inputs/NumericInput.d.ts +8 -8
- package/components/inputs/RadioInput.d.ts +6 -6
- package/components/inputs/Switch.d.ts +6 -6
- package/components/inputs/TextArea.d.ts +9 -9
- package/components/inputs/TextInput.d.ts +12 -12
- package/components/inputs/index.d.ts +7 -7
- package/components/layout/Accordion.d.ts +6 -7
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/Blocker.d.ts +4 -0
- package/components/layout/Blocker.d.ts.map +1 -0
- package/components/layout/CheckboxGroup.d.ts +3 -0
- package/components/layout/CheckboxGroup.d.ts.map +1 -0
- package/components/layout/ControlGroup.d.ts +2 -2
- package/components/layout/FlexItems/FlexCell.d.ts +11 -11
- package/components/layout/FlexItems/FlexRow.d.ts +16 -16
- package/components/layout/FlexItems/FlexSpacer.d.ts +4 -4
- package/components/layout/FlexItems/Panel.d.ts +7 -7
- package/components/layout/FlexItems/index.d.ts +4 -4
- package/components/layout/LabeledInput.d.ts +5 -5
- package/components/layout/RadioGroup.d.ts +2 -2
- package/components/layout/ScrollBars.d.ts +3 -3
- package/components/layout/VirtualList.d.ts +2 -2
- package/components/layout/index.d.ts +10 -8
- package/components/layout/index.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/Burger.d.ts +6 -0
- package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -0
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +8 -0
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -0
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +5 -0
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +1 -0
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +5 -0
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +1 -0
- package/components/navigation/MainMenu/Burger/index.d.ts +5 -0
- package/components/navigation/MainMenu/Burger/index.d.ts.map +1 -0
- package/components/navigation/MainMenu/GlobalMenu.d.ts +6 -0
- package/components/navigation/MainMenu/GlobalMenu.d.ts.map +1 -0
- package/components/navigation/MainMenu/MainMenu.d.ts +5 -0
- package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -0
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts +8 -0
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -0
- package/components/navigation/MainMenu/MainMenuButton.d.ts +7 -0
- package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -0
- package/components/navigation/MainMenu/MainMenuDropdown.d.ts +6 -0
- package/components/navigation/MainMenu/MainMenuDropdown.d.ts.map +1 -0
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +8 -0
- package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -0
- package/components/navigation/MainMenu/MainMenuSearch.d.ts +7 -0
- package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -0
- package/components/navigation/MainMenu/index.d.ts +9 -0
- package/components/navigation/MainMenu/index.d.ts.map +1 -0
- package/components/navigation/index.d.ts +2 -0
- package/components/navigation/index.d.ts.map +1 -0
- package/components/overlays/Alert.d.ts +24 -0
- package/components/overlays/Alert.d.ts.map +1 -0
- package/components/overlays/ConfirmationModal.d.ts +11 -0
- package/components/overlays/ConfirmationModal.d.ts.map +1 -0
- package/components/overlays/Dropdown.d.ts +5 -5
- package/components/overlays/DropdownContainer.d.ts +8 -5
- package/components/overlays/DropdownContainer.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts +33 -33
- package/components/overlays/Modals.d.ts +19 -22
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts +25 -30
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +5 -5
- package/components/overlays/index.d.ts +7 -6
- package/components/overlays/index.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +16 -16
- package/components/pickers/DataPickerFooter.d.ts +8 -8
- package/components/pickers/DataPickerHeader.d.ts +7 -7
- package/components/pickers/DataPickerRow.d.ts +15 -15
- package/components/pickers/MobileDropdownWrapper.d.ts +10 -10
- package/components/pickers/PickerInput.d.ts +16 -16
- package/components/pickers/PickerItem.d.ts +13 -13
- package/components/pickers/PickerList.d.ts +17 -17
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/PickerListItem.d.ts +8 -8
- package/components/pickers/PickerModal.d.ts +16 -16
- package/components/pickers/PickerToggler.d.ts +7 -7
- package/components/pickers/index.d.ts +11 -11
- package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts +13 -13
- package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts +7 -7
- package/components/tables/ColumnHeaderDropdown/index.d.ts +1 -1
- package/components/tables/DataTable.d.ts +15 -15
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +4 -4
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +18 -18
- package/components/tables/DataTableHeaderRow.d.ts +4 -4
- package/components/tables/DataTableRow.d.ts +10 -10
- package/components/tables/columnsConfigurationModal/ColumnRow.d.ts +6 -6
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +9 -9
- package/components/tables/columnsConfigurationModal/PinIconButton.d.ts +9 -9
- package/components/tables/columnsConfigurationModal/index.d.ts +1 -1
- package/components/tables/index.d.ts +8 -8
- package/components/tables/types.d.ts +31 -31
- package/components/types.d.ts +34 -32
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +7 -0
- package/components/typography/RichTextView.d.ts.map +1 -0
- package/components/typography/Text.d.ts +11 -11
- package/components/typography/Text.d.ts.map +1 -1
- package/components/typography/TextPlaceholder.d.ts +9 -7
- package/components/typography/TextPlaceholder.d.ts.map +1 -1
- package/components/typography/index.d.ts +3 -2
- package/components/typography/index.d.ts.map +1 -1
- package/components/widgets/Avatar.d.ts +2 -2
- package/components/widgets/Badge.d.ts +14 -14
- package/components/widgets/Spinner.d.ts +6 -0
- package/components/widgets/Spinner.d.ts.map +1 -0
- package/components/widgets/Tag.d.ts +8 -8
- package/components/widgets/index.d.ts +4 -3
- package/components/widgets/index.d.ts.map +1 -1
- package/helpers/index.d.ts +3 -0
- package/helpers/index.d.ts.map +1 -0
- package/helpers/textLayout.d.ts +8 -8
- package/helpers/useColumnsWithFilters.d.ts +3 -0
- package/helpers/useColumnsWithFilters.d.ts.map +1 -0
- package/i18n.d.ts +103 -90
- package/i18n.d.ts.map +1 -1
- package/icons/icons.d.ts +3 -3
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +2771 -1684
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +4 -4
- package/stats.html +1 -1
- package/styles.css +8578 -2507
- package/styles.css.map +1 -1
- package/assets/styles/fonts-variables.scss +0 -24
- package/assets/styles/variables/layout/accordion.scss +0 -10
- package/assets/styles/variables/overlays/dropdownContainer.scss +0 -5
- package/assets/styles/variables/overlays/notificationCard.scss +0 -28
- package/assets/styles/variables/typography/text.scss +0 -19
- package/assets/styles/variables/typography/textPlaceholder.scss +0 -4
- package/components/layout/IconContainer.d.ts +0 -8
- package/components/layout/IconContainer.d.ts.map +0 -1
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
.line-height-12 { line-height: 12px; }
|
|
2
|
-
.line-height-18 { line-height: 18px; }
|
|
3
|
-
.line-height-24 { line-height: 24px; }
|
|
4
|
-
.line-height-30 { line-height: 30px; }
|
|
5
|
-
|
|
6
|
-
.font-size-10 { font-size: 10px; }
|
|
7
|
-
.font-size-12 { font-size: 12px; }
|
|
8
|
-
.font-size-14 { font-size: 14px; }
|
|
9
|
-
.font-size-16 { font-size: 16px; }
|
|
10
|
-
.font-size-18 { font-size: 18px; }
|
|
11
|
-
.font-size-24 { font-size: 24px; }
|
|
12
|
-
|
|
13
|
-
.v-padding-2 {
|
|
14
|
-
padding-top: 2px;
|
|
15
|
-
padding-bottom: 2px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.v-padding-3 {
|
|
19
|
-
padding-top: 3px;
|
|
20
|
-
padding-bottom: 3px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.v-padding-5 {
|
|
24
|
-
padding-top: 5px;
|
|
25
|
-
padding-bottom: 5px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.v-padding-6 {
|
|
29
|
-
padding-top: 6px;
|
|
30
|
-
padding-bottom: 6px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.v-padding-8 {
|
|
34
|
-
padding-top: 8px;
|
|
35
|
-
padding-bottom: 8px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.v-padding-9 {
|
|
39
|
-
padding-top: 9px;
|
|
40
|
-
padding-bottom: 9px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.v-padding-11 {
|
|
44
|
-
padding-top: 11px;
|
|
45
|
-
padding-bottom: 11px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.v-padding-12 {
|
|
49
|
-
padding-top: 12px;
|
|
50
|
-
padding-bottom: 12px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.v-padding-14 {
|
|
54
|
-
padding-top: 14px;
|
|
55
|
-
padding-bottom: 14px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.v-padding-15 {
|
|
59
|
-
padding-top: 15px;
|
|
60
|
-
padding-bottom: 15px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.v-padding-17 {
|
|
64
|
-
padding-top: 17px;
|
|
65
|
-
padding-bottom: 17px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.v-padding-18 {
|
|
69
|
-
padding-top: 18px;
|
|
70
|
-
padding-bottom: 18px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.v-padding-23 {
|
|
74
|
-
padding-top: 23px;
|
|
75
|
-
padding-bottom: 23px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.v-padding-24 {
|
|
79
|
-
padding-top: 24px;
|
|
80
|
-
padding-bottom: 24px;
|
|
1
|
+
.line-height-12 { line-height: 12px; }
|
|
2
|
+
.line-height-18 { line-height: 18px; }
|
|
3
|
+
.line-height-24 { line-height: 24px; }
|
|
4
|
+
.line-height-30 { line-height: 30px; }
|
|
5
|
+
|
|
6
|
+
.font-size-10 { font-size: 10px; }
|
|
7
|
+
.font-size-12 { font-size: 12px; }
|
|
8
|
+
.font-size-14 { font-size: 14px; }
|
|
9
|
+
.font-size-16 { font-size: 16px; }
|
|
10
|
+
.font-size-18 { font-size: 18px; }
|
|
11
|
+
.font-size-24 { font-size: 24px; }
|
|
12
|
+
|
|
13
|
+
.v-padding-2 {
|
|
14
|
+
padding-top: 2px;
|
|
15
|
+
padding-bottom: 2px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.v-padding-3 {
|
|
19
|
+
padding-top: 3px;
|
|
20
|
+
padding-bottom: 3px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.v-padding-5 {
|
|
24
|
+
padding-top: 5px;
|
|
25
|
+
padding-bottom: 5px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.v-padding-6 {
|
|
29
|
+
padding-top: 6px;
|
|
30
|
+
padding-bottom: 6px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.v-padding-8 {
|
|
34
|
+
padding-top: 8px;
|
|
35
|
+
padding-bottom: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.v-padding-9 {
|
|
39
|
+
padding-top: 9px;
|
|
40
|
+
padding-bottom: 9px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.v-padding-11 {
|
|
44
|
+
padding-top: 11px;
|
|
45
|
+
padding-bottom: 11px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.v-padding-12 {
|
|
49
|
+
padding-top: 12px;
|
|
50
|
+
padding-bottom: 12px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.v-padding-14 {
|
|
54
|
+
padding-top: 14px;
|
|
55
|
+
padding-bottom: 14px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.v-padding-15 {
|
|
59
|
+
padding-top: 15px;
|
|
60
|
+
padding-bottom: 15px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.v-padding-17 {
|
|
64
|
+
padding-top: 17px;
|
|
65
|
+
padding-bottom: 17px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.v-padding-18 {
|
|
69
|
+
padding-top: 18px;
|
|
70
|
+
padding-bottom: 18px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.v-padding-23 {
|
|
74
|
+
padding-top: 23px;
|
|
75
|
+
padding-bottom: 23px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.v-padding-24 {
|
|
79
|
+
padding-top: 24px;
|
|
80
|
+
padding-bottom: 24px;
|
|
81
81
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
@function vpadding($size, $border-width) {
|
|
2
|
-
@if ($size == 18px or $size == 24px) {
|
|
3
|
-
@return (3px - $border-width);
|
|
4
|
-
} @else if ($size == 30px) {
|
|
5
|
-
@return (6px - $border-width);
|
|
6
|
-
} @else if ($size == 36px or $size == 42px) {
|
|
7
|
-
@return (9px - $border-width);
|
|
8
|
-
} @else if ($size == 48px) {
|
|
9
|
-
@return (12px - $border-width);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@return (null);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin text-size($size, $border-width: 0) {
|
|
16
|
-
@if ($size == 18px) {
|
|
17
|
-
line-height: 12px;
|
|
18
|
-
font-size: 10px;
|
|
19
|
-
} @else if ($size == 24px) {
|
|
20
|
-
line-height: 18px;
|
|
21
|
-
font-size: 12px;
|
|
22
|
-
} @else if ($size == 30px) {
|
|
23
|
-
line-height: 18px;
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
} @else if ($size == 36px) {
|
|
26
|
-
line-height: 18px;
|
|
27
|
-
font-size: 14px;
|
|
28
|
-
} @else if ($size == 42px) {
|
|
29
|
-
line-height: 24px;
|
|
30
|
-
font-size: 16px;
|
|
31
|
-
} @else if ($size == 48px) {
|
|
32
|
-
line-height: 24px;
|
|
33
|
-
font-size: 16px;
|
|
34
|
-
}
|
|
35
|
-
padding-top: vpadding($size, $border-width);
|
|
36
|
-
padding-bottom: vpadding($size, $border-width);
|
|
37
|
-
}
|
|
1
|
+
@function vpadding($size, $border-width) {
|
|
2
|
+
@if ($size == 18px or $size == 24px) {
|
|
3
|
+
@return (3px - $border-width);
|
|
4
|
+
} @else if ($size == 30px) {
|
|
5
|
+
@return (6px - $border-width);
|
|
6
|
+
} @else if ($size == 36px or $size == 42px) {
|
|
7
|
+
@return (9px - $border-width);
|
|
8
|
+
} @else if ($size == 48px) {
|
|
9
|
+
@return (12px - $border-width);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@return (null);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin text-size($size, $border-width: 0) {
|
|
16
|
+
@if ($size == 18px) {
|
|
17
|
+
line-height: 12px;
|
|
18
|
+
font-size: 10px;
|
|
19
|
+
} @else if ($size == 24px) {
|
|
20
|
+
line-height: 18px;
|
|
21
|
+
font-size: 12px;
|
|
22
|
+
} @else if ($size == 30px) {
|
|
23
|
+
line-height: 18px;
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
} @else if ($size == 36px) {
|
|
26
|
+
line-height: 18px;
|
|
27
|
+
font-size: 14px;
|
|
28
|
+
} @else if ($size == 42px) {
|
|
29
|
+
line-height: 24px;
|
|
30
|
+
font-size: 16px;
|
|
31
|
+
} @else if ($size == 48px) {
|
|
32
|
+
line-height: 24px;
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
}
|
|
35
|
+
padding-top: vpadding($size, $border-width);
|
|
36
|
+
padding-bottom: vpadding($size, $border-width);
|
|
37
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
@mixin overflow-ellipsis() {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
text-overflow: ellipsis;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin typography-header() {
|
|
7
|
+
:global(.hero-header), h1, h2, h3, h4, h5, h6 {
|
|
8
|
+
margin: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:global(.hero-header) {
|
|
12
|
+
font-family: var(--font-promo);
|
|
13
|
+
margin: 30px 0;
|
|
14
|
+
font-size: 66px;
|
|
15
|
+
line-height: 72px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:global(.hero-header), :global(.promo-header) {
|
|
19
|
+
color: var(--uui-text-brand);
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:global(.promo-header), h1, h2, h3 {
|
|
24
|
+
font-family: var(--font-primary);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:global(.promo-header) {
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h4, h5, h6 {
|
|
32
|
+
font-family: var(--font-semibold);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h1, h2, h3, h4, h5, h6 {
|
|
36
|
+
margin-bottom: 0.5em;
|
|
37
|
+
margin-top: 1.2em;
|
|
38
|
+
line-height: 1.35em;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h1 {
|
|
42
|
+
font-size: 36px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h2 {
|
|
46
|
+
font-size: 30px;
|
|
47
|
+
letter-spacing: 0.1px;
|
|
48
|
+
|
|
49
|
+
&:global(.promo-header) {
|
|
50
|
+
letter-spacing: 2px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
h3 {
|
|
55
|
+
font-size: 24px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
h4 {
|
|
59
|
+
font-size: 18px;
|
|
60
|
+
letter-spacing: 0.1px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
h5 {
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
h6 {
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@mixin typography-inline() {
|
|
73
|
+
b, strong {
|
|
74
|
+
font-family: var(--font-semibold);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
i, em {
|
|
78
|
+
font-family: var(--font-italic);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
a {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
color: var(--uui-primary);
|
|
85
|
+
|
|
86
|
+
&:visited {
|
|
87
|
+
color: #5214CC;
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
color: #3F0F9E;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
text-decoration: underline;
|
|
96
|
+
color: var(--uui-primary-dark);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
code {
|
|
101
|
+
padding: 0.125em 0.25em;
|
|
102
|
+
color: var(--uui-text-primary);
|
|
103
|
+
background-color: var(--uui-secondary-light);
|
|
104
|
+
font-family: var(--font-mono);
|
|
105
|
+
white-space: pre-wrap;
|
|
106
|
+
word-wrap: normal;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@mixin typography-block() {
|
|
111
|
+
ol, ul {
|
|
112
|
+
padding: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
li {
|
|
116
|
+
margin-left: 1.25em;
|
|
117
|
+
line-height: 1.5;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
pre {
|
|
121
|
+
padding: 1.25em;
|
|
122
|
+
color: var(--gray10);
|
|
123
|
+
background-color: var(--uui-secondary-darkest);
|
|
124
|
+
font-family: monospace;
|
|
125
|
+
white-space: pre-wrap;
|
|
126
|
+
word-wrap: normal;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
img {
|
|
130
|
+
max-width: 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
figure {
|
|
134
|
+
margin: 0;
|
|
135
|
+
|
|
136
|
+
figcaption {
|
|
137
|
+
font-size: 0.9em;
|
|
138
|
+
opacity: 0.9;
|
|
139
|
+
text-align: center;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
p {
|
|
144
|
+
margin: 0.5em 0;
|
|
145
|
+
line-height: 1.5;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@mixin typography-12() {
|
|
150
|
+
font-size: 12px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@mixin typography-14() {
|
|
154
|
+
font-size: 14px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@mixin typography-16() {
|
|
158
|
+
font-size: 16px;
|
|
159
|
+
}
|
|
@@ -1,4 +1,39 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
@forward "typography-mixins";
|
|
2
|
+
@use "typography-mixins" as *;
|
|
3
|
+
|
|
4
|
+
@mixin overflow-ellipsis() {
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:local(.typography-header) {
|
|
10
|
+
@include typography-header();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:local(.typography-block) {
|
|
14
|
+
@include typography-block();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:local(.typography-inline) {
|
|
18
|
+
@include typography-inline();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:local(.typography-16) {
|
|
22
|
+
@include typography-16();
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:local(.typography-14) {
|
|
26
|
+
@include typography-14();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:local(.typography-12) {
|
|
30
|
+
@include typography-12();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:local(.typography-promo) {
|
|
34
|
+
font-family: var(--font-regular);
|
|
35
|
+
color: var(--uui-text-primary);
|
|
36
|
+
composes: typography-header;
|
|
37
|
+
composes: typography-block;
|
|
38
|
+
composes: typography-inline;
|
|
4
39
|
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
:global(.badge-info) {
|
|
2
|
-
--uui-badge-bg: var(--uui-info);
|
|
3
|
-
--uui-badge-bg-hover: var(--uui-info-active);
|
|
4
|
-
//--bg-color-semitransparent: #{lighten(#008ACE, 50%)};
|
|
5
|
-
//--border-color-semitransparent: #{lighten($blue, 40%)};
|
|
6
|
-
--uui-badge-caption-solid: white;
|
|
7
|
-
//--uui-caption-semitransparent: #{darken($blue, 10%)};
|
|
8
|
-
//--uui-caption-semitransparent-hover: #{darken($blue, 20%)};
|
|
9
|
-
//--uui-caption-transparent: #{$gray80};
|
|
10
|
-
--uui-badge-count-bg: white;
|
|
11
|
-
--uui-badge-count: var(--uui-text-secondary);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:global(.badge-success) {
|
|
15
|
-
--uui-badge-bg: var(--uui-success);
|
|
16
|
-
--uui-badge-bg-hover: var(--uui-success-active);
|
|
17
|
-
//--bg-color-semitransparent: #{$cyan-lightest};
|
|
18
|
-
//--border-color-semitransparent: #{$cyan-light};
|
|
19
|
-
--uui-badge-caption-solid: white;
|
|
20
|
-
//--uui-caption-semitransparent: #{$cyan-dark};
|
|
21
|
-
//--uui-caption-semitransparent-hover: #{$cyan-darkest};
|
|
22
|
-
//--uui-caption-transparent: #{$gray80};
|
|
23
|
-
--uui-badge-count-bg: white;
|
|
24
|
-
--uui-badge-count: var(--uui-text-secondary);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:global(.badge-warning) {
|
|
28
|
-
--uui-badge-bg: var(--uui-warning);
|
|
29
|
-
--uui-badge-bg-hover: var(--uui-warning-active);
|
|
30
|
-
//--bg-color-semitransparent: #{lighten($green, 50%)};
|
|
31
|
-
//--border-color-semitransparent: #{lighten($green, 40%)};
|
|
32
|
-
--uui-badge-caption-solid: white;
|
|
33
|
-
//--uui-caption-semitransparent: #{darken($green, 10%)};
|
|
34
|
-
//--uui-caption-semitransparent-hover: #{darken($green, 20%)};
|
|
35
|
-
//--uui-caption-transparent: #{$gray80};
|
|
36
|
-
--uui-badge-count-bg: white;
|
|
37
|
-
--uui-badge-count: var(--uui-text-secondary);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:global(.badge-error) {
|
|
41
|
-
--uui-badge-bg: var(--uui-error);
|
|
42
|
-
--uui-badge-bg-hover: var(--uui-error-active);
|
|
43
|
-
//--bg-color-semitransparent: #{lighten($amber, 40%)};
|
|
44
|
-
//--border-color-semitransparent: #{lighten($amber, 30%)};
|
|
45
|
-
--uui-badge-caption-solid: var(--uui-text-primary);
|
|
46
|
-
//--uui-caption-semitransparent: #995A00;
|
|
47
|
-
//--uui-caption-semitransparent-hover: #804000;
|
|
48
|
-
//--uui-caption-transparent: #{$gray80};
|
|
49
|
-
--uui-badge-count-bg: white;
|
|
50
|
-
--uui-badge-count: var(--uui-text-secondary);
|
|
1
|
+
:global(.badge-info) {
|
|
2
|
+
--uui-badge-bg: var(--uui-info);
|
|
3
|
+
--uui-badge-bg-hover: var(--uui-info-active);
|
|
4
|
+
//--bg-color-semitransparent: #{lighten(#008ACE, 50%)};
|
|
5
|
+
//--border-color-semitransparent: #{lighten($blue, 40%)};
|
|
6
|
+
--uui-badge-caption-solid: white;
|
|
7
|
+
//--uui-caption-semitransparent: #{darken($blue, 10%)};
|
|
8
|
+
//--uui-caption-semitransparent-hover: #{darken($blue, 20%)};
|
|
9
|
+
//--uui-caption-transparent: #{$gray80};
|
|
10
|
+
--uui-badge-count-bg: white;
|
|
11
|
+
--uui-badge-count: var(--uui-text-secondary);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:global(.badge-success) {
|
|
15
|
+
--uui-badge-bg: var(--uui-success);
|
|
16
|
+
--uui-badge-bg-hover: var(--uui-success-active);
|
|
17
|
+
//--bg-color-semitransparent: #{$cyan-lightest};
|
|
18
|
+
//--border-color-semitransparent: #{$cyan-light};
|
|
19
|
+
--uui-badge-caption-solid: white;
|
|
20
|
+
//--uui-caption-semitransparent: #{$cyan-dark};
|
|
21
|
+
//--uui-caption-semitransparent-hover: #{$cyan-darkest};
|
|
22
|
+
//--uui-caption-transparent: #{$gray80};
|
|
23
|
+
--uui-badge-count-bg: white;
|
|
24
|
+
--uui-badge-count: var(--uui-text-secondary);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:global(.badge-warning) {
|
|
28
|
+
--uui-badge-bg: var(--uui-warning);
|
|
29
|
+
--uui-badge-bg-hover: var(--uui-warning-active);
|
|
30
|
+
//--bg-color-semitransparent: #{lighten($green, 50%)};
|
|
31
|
+
//--border-color-semitransparent: #{lighten($green, 40%)};
|
|
32
|
+
--uui-badge-caption-solid: white;
|
|
33
|
+
//--uui-caption-semitransparent: #{darken($green, 10%)};
|
|
34
|
+
//--uui-caption-semitransparent-hover: #{darken($green, 20%)};
|
|
35
|
+
//--uui-caption-transparent: #{$gray80};
|
|
36
|
+
--uui-badge-count-bg: white;
|
|
37
|
+
--uui-badge-count: var(--uui-text-secondary);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:global(.badge-error) {
|
|
41
|
+
--uui-badge-bg: var(--uui-error);
|
|
42
|
+
--uui-badge-bg-hover: var(--uui-error-active);
|
|
43
|
+
//--bg-color-semitransparent: #{lighten($amber, 40%)};
|
|
44
|
+
//--border-color-semitransparent: #{lighten($amber, 30%)};
|
|
45
|
+
--uui-badge-caption-solid: var(--uui-text-primary);
|
|
46
|
+
//--uui-caption-semitransparent: #995A00;
|
|
47
|
+
//--uui-caption-semitransparent-hover: #804000;
|
|
48
|
+
//--uui-caption-transparent: #{$gray80};
|
|
49
|
+
--uui-badge-count-bg: white;
|
|
50
|
+
--uui-badge-count: var(--uui-text-secondary);
|
|
51
51
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ButtonProps as uuiButtonProps } from '@epam/uui-components';
|
|
2
|
-
import { ControlSize, ButtonMode } from '../../types';
|
|
3
|
-
export type ButtonColor = 'accent' | 'primary' | 'secondary' | 'negative';
|
|
4
|
-
export declare const allButtonColors: ButtonColor[];
|
|
5
|
-
export interface ButtonMods {
|
|
6
|
-
size?: ControlSize | '18';
|
|
7
|
-
mode?: ButtonMode;
|
|
8
|
-
color?: ButtonColor;
|
|
9
|
-
}
|
|
10
|
-
export type ButtonProps = ButtonMods & uuiButtonProps;
|
|
11
|
-
export declare function applyButtonMods(mods: ButtonProps): string[];
|
|
12
|
-
export declare const Button: (props: uuiButtonProps & ButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import { ButtonProps as uuiButtonProps } from '@epam/uui-components';
|
|
2
|
+
import { ControlSize, ButtonMode } from '../../types';
|
|
3
|
+
export type ButtonColor = 'accent' | 'primary' | 'secondary' | 'negative';
|
|
4
|
+
export declare const allButtonColors: ButtonColor[];
|
|
5
|
+
export interface ButtonMods {
|
|
6
|
+
size?: ControlSize | '18';
|
|
7
|
+
mode?: ButtonMode;
|
|
8
|
+
color?: ButtonColor;
|
|
9
|
+
}
|
|
10
|
+
export type ButtonProps = ButtonMods & uuiButtonProps;
|
|
11
|
+
export declare function applyButtonMods(mods: ButtonProps): string[];
|
|
12
|
+
export declare const Button: (props: uuiButtonProps & ButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
13
13
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=Button.test.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Button';
|
|
1
|
+
export * from './Button';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IconButtonBaseProps } from '@epam/uui-components';
|
|
2
|
-
export type IconColor = 'info' | 'success' | 'warning' | 'error' | 'secondary' | 'default';
|
|
3
|
-
export declare const allIconColors: IconColor[];
|
|
4
|
-
export interface IconButtonMods {
|
|
5
|
-
color?: IconColor;
|
|
6
|
-
}
|
|
7
|
-
export interface IconButtonProps extends IconButtonBaseProps, IconButtonMods {
|
|
8
|
-
}
|
|
9
|
-
export declare const IconButton: (props: IconButtonProps & IconButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import { IconButtonBaseProps } from '@epam/uui-components';
|
|
2
|
+
export type IconColor = 'info' | 'success' | 'warning' | 'error' | 'secondary' | 'default';
|
|
3
|
+
export declare const allIconColors: IconColor[];
|
|
4
|
+
export interface IconButtonMods {
|
|
5
|
+
color?: IconColor;
|
|
6
|
+
}
|
|
7
|
+
export interface IconButtonProps extends IconButtonBaseProps, IconButtonMods {
|
|
8
|
+
}
|
|
9
|
+
export declare const IconButton: (props: IconButtonProps & IconButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
10
10
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as types from '../types';
|
|
2
|
-
import { ButtonProps } from '@epam/uui-components';
|
|
3
|
-
export interface LinkButtonMods {
|
|
4
|
-
size?: types.ControlSize | '42';
|
|
5
|
-
}
|
|
6
|
-
export type LinkButtonProps = LinkButtonMods & ButtonProps;
|
|
7
|
-
export declare const LinkButton: (props: ButtonProps & LinkButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import * as types from '../types';
|
|
2
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
3
|
+
export interface LinkButtonMods {
|
|
4
|
+
size?: types.ControlSize | '42';
|
|
5
|
+
}
|
|
6
|
+
export type LinkButtonProps = LinkButtonMods & ButtonProps;
|
|
7
|
+
export declare const LinkButton: (props: ButtonProps & LinkButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
8
8
|
//# sourceMappingURL=LinkButton.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
-
export interface TabButtonMods {
|
|
3
|
-
size?: '36' | '48' | '60';
|
|
4
|
-
withNotify?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type TabButtonProps = TabButtonMods & ButtonProps;
|
|
7
|
-
export declare const TabButton: (props: ButtonProps & TabButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
+
export interface TabButtonMods {
|
|
3
|
+
size?: '36' | '48' | '60';
|
|
4
|
+
withNotify?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export type TabButtonProps = TabButtonMods & ButtonProps;
|
|
7
|
+
export declare const TabButton: (props: ButtonProps & TabButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
8
8
|
//# sourceMappingURL=TabButton.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
-
import { TabButtonMods } from './TabButton';
|
|
3
|
-
export type VerticalTabButtonProps = ButtonProps & TabButtonMods;
|
|
4
|
-
export declare const VerticalTabButton: (props: ButtonProps & TabButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
+
import { TabButtonMods } from './TabButton';
|
|
3
|
+
export type VerticalTabButtonProps = ButtonProps & TabButtonMods;
|
|
4
|
+
export declare const VerticalTabButton: (props: ButtonProps & TabButtonMods & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
5
|
//# sourceMappingURL=VerticalTabButton.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
-
export declare function getIconClass(props: ButtonProps): string[];
|
|
1
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
+
export declare function getIconClass(props: ButtonProps): string[];
|
|
3
3
|
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Button/Button';
|
|
2
|
-
export * from './IconButton';
|
|
3
|
-
export * from './LinkButton';
|
|
4
|
-
export * from './TabButton';
|
|
5
|
-
export * from './VerticalTabButton';
|
|
1
|
+
export * from './Button/Button';
|
|
2
|
+
export * from './IconButton';
|
|
3
|
+
export * from './LinkButton';
|
|
4
|
+
export * from './TabButton';
|
|
5
|
+
export * from './VerticalTabButton';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CalendarProps } from '@epam/uui-components';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
export declare function applyDateSelectionMods(): string[];
|
|
4
|
-
export declare const Calendar: (props: CalendarProps<Dayjs> & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
1
|
+
import { CalendarProps } from '@epam/uui-components';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
export declare function applyDateSelectionMods(): string[];
|
|
4
|
+
export declare const Calendar: (props: CalendarProps<Dayjs> & import("react").RefAttributes<any>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
5
|
//# sourceMappingURL=Calendar.d.ts.map
|