@epam/uui 4.11.0-alpha.1 → 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 -159
- package/assets/styles/typography.scss +38 -38
- 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 +13 -13
- package/components/filters/FilterItemBody.d.ts +2 -2
- package/components/filters/FilterNumericBody.d.ts +12 -12
- package/components/filters/FilterPanelItemToggler.d.ts +12 -12
- package/components/filters/FilterPickerBody.d.ts +19 -19
- package/components/filters/FilterRangeDatePickerBody.d.ts +18 -18
- package/components/filters/FiltersPanel.d.ts +8 -8
- package/components/filters/FiltersPanelItem.d.ts +7 -7
- package/components/filters/PresetPanel/Preset.d.ts +8 -8
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +9 -9
- package/components/filters/PresetPanel/PresetInput.d.ts +8 -8
- package/components/filters/PresetPanel/PresetsPanel.d.ts +6 -6
- package/components/filters/PresetPanel/index.d.ts +1 -1
- package/components/filters/defaultPredicates.d.ts +4 -4
- package/components/filters/index.d.ts +4 -4
- package/components/forms/Form.d.ts +3 -3
- package/components/forms/index.d.ts +2 -2
- package/components/forms/useForm.d.ts +2 -2
- package/components/index.d.ts +14 -14
- 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 -6
- package/components/layout/Blocker.d.ts +3 -3
- package/components/layout/CheckboxGroup.d.ts +2 -2
- 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 -10
- package/components/navigation/MainMenu/Burger/Burger.d.ts +5 -5
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +7 -7
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +4 -4
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +4 -4
- package/components/navigation/MainMenu/Burger/index.d.ts +4 -4
- package/components/navigation/MainMenu/GlobalMenu.d.ts +5 -5
- package/components/navigation/MainMenu/MainMenu.d.ts +4 -4
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts +7 -7
- package/components/navigation/MainMenu/MainMenuButton.d.ts +6 -6
- package/components/navigation/MainMenu/MainMenuDropdown.d.ts +5 -5
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +7 -7
- package/components/navigation/MainMenu/MainMenuSearch.d.ts +6 -6
- package/components/navigation/MainMenu/index.d.ts +8 -8
- package/components/navigation/index.d.ts +1 -1
- package/components/overlays/Alert.d.ts +23 -23
- package/components/overlays/ConfirmationModal.d.ts +10 -10
- package/components/overlays/Dropdown.d.ts +5 -5
- package/components/overlays/DropdownContainer.d.ts +8 -8
- package/components/overlays/DropdownMenu.d.ts +33 -33
- package/components/overlays/Modals.d.ts +19 -19
- package/components/overlays/NotificationCard.d.ts +25 -25
- package/components/overlays/Tooltip.d.ts +5 -5
- package/components/overlays/index.d.ts +7 -7
- 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/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/DataTableCell.d.ts +4 -4
- 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 -34
- package/components/typography/RichTextView.d.ts +6 -6
- package/components/typography/Text.d.ts +11 -11
- package/components/typography/TextPlaceholder.d.ts +9 -9
- package/components/typography/index.d.ts +3 -3
- package/components/widgets/Avatar.d.ts +2 -2
- package/components/widgets/Badge.d.ts +14 -14
- package/components/widgets/Spinner.d.ts +5 -5
- package/components/widgets/Tag.d.ts +8 -8
- package/components/widgets/index.d.ts +4 -4
- package/helpers/index.d.ts +2 -2
- package/helpers/textLayout.d.ts +8 -8
- package/helpers/useColumnsWithFilters.d.ts +2 -2
- package/i18n.d.ts +103 -103
- package/icons/icons.d.ts +3 -3
- package/index.d.ts +4 -4
- package/index.js +1967 -1967
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +4 -4
- package/stats.html +1 -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
|
+
}
|
|
@@ -1,159 +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
|
+
@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,39 +1,39 @@
|
|
|
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;
|
|
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;
|
|
39
39
|
}
|