@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.
Files changed (210) hide show
  1. package/assets/styles/buttonLayout.scss +66 -66
  2. package/assets/styles/controlLayout.scss +27 -27
  3. package/assets/styles/effects.scss +9 -9
  4. package/assets/styles/font-faces.scss +51 -51
  5. package/assets/styles/icons.scss +18 -18
  6. package/assets/styles/index.scss +7 -7
  7. package/assets/styles/inputs.scss +69 -69
  8. package/assets/styles/layout-mixins.scss +8 -8
  9. package/assets/styles/prettifyScrollBar.scss +52 -52
  10. package/assets/styles/text-layout.scss +80 -80
  11. package/assets/styles/text-size.scss +37 -37
  12. package/assets/styles/typography-mixins.scss +159 -0
  13. package/assets/styles/typography.scss +38 -3
  14. package/assets/styles/variables/widgets/badge.scss +50 -50
  15. package/components/buttons/Button/Button.d.ts +12 -12
  16. package/components/buttons/Button/Button.test.d.ts +1 -1
  17. package/components/buttons/Button/index.d.ts +1 -1
  18. package/components/buttons/IconButton.d.ts +9 -9
  19. package/components/buttons/LinkButton.d.ts +7 -7
  20. package/components/buttons/TabButton.d.ts +7 -7
  21. package/components/buttons/VerticalTabButton.d.ts +4 -4
  22. package/components/buttons/helper.d.ts +2 -2
  23. package/components/buttons/index.d.ts +5 -5
  24. package/components/datePickers/Calendar.d.ts +4 -4
  25. package/components/datePickers/CalendarPresets.d.ts +3 -3
  26. package/components/datePickers/DatePicker.d.ts +12 -12
  27. package/components/datePickers/DatePickerBody.d.ts +3 -3
  28. package/components/datePickers/RangeDatePicker.d.ts +12 -12
  29. package/components/datePickers/RangeDatePickerBody.d.ts +3 -3
  30. package/components/datePickers/index.d.ts +5 -5
  31. package/components/dnd/DropMarker.d.ts +8 -8
  32. package/components/dnd/index.d.ts +1 -1
  33. package/components/filters/FilterDataPickerBody.d.ts +14 -0
  34. package/components/filters/FilterDataPickerBody.d.ts.map +1 -0
  35. package/components/filters/FilterItemBody.d.ts +3 -0
  36. package/components/filters/FilterItemBody.d.ts.map +1 -0
  37. package/components/filters/FilterNumericBody.d.ts +13 -0
  38. package/components/filters/FilterNumericBody.d.ts.map +1 -0
  39. package/components/filters/FilterPanelItemToggler.d.ts +13 -0
  40. package/components/filters/FilterPanelItemToggler.d.ts.map +1 -0
  41. package/components/filters/FilterPickerBody.d.ts +20 -0
  42. package/components/filters/FilterPickerBody.d.ts.map +1 -0
  43. package/components/filters/FilterRangeDatePickerBody.d.ts +19 -0
  44. package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -0
  45. package/components/filters/FiltersPanel.d.ts +9 -0
  46. package/components/filters/FiltersPanel.d.ts.map +1 -0
  47. package/components/filters/FiltersPanelItem.d.ts +8 -0
  48. package/components/filters/FiltersPanelItem.d.ts.map +1 -0
  49. package/components/filters/PresetPanel/Preset.d.ts +9 -0
  50. package/components/filters/PresetPanel/Preset.d.ts.map +1 -0
  51. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +10 -0
  52. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -0
  53. package/components/filters/PresetPanel/PresetInput.d.ts +9 -0
  54. package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -0
  55. package/components/filters/PresetPanel/PresetsPanel.d.ts +7 -0
  56. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -0
  57. package/components/filters/PresetPanel/index.d.ts +2 -0
  58. package/components/filters/PresetPanel/index.d.ts.map +1 -0
  59. package/components/filters/defaultPredicates.d.ts +5 -0
  60. package/components/filters/defaultPredicates.d.ts.map +1 -0
  61. package/components/filters/index.d.ts +5 -0
  62. package/components/filters/index.d.ts.map +1 -0
  63. package/components/forms/Form.d.ts +4 -0
  64. package/components/forms/Form.d.ts.map +1 -0
  65. package/components/forms/index.d.ts +3 -0
  66. package/components/forms/index.d.ts.map +1 -0
  67. package/components/forms/useForm.d.ts +3 -0
  68. package/components/forms/useForm.d.ts.map +1 -0
  69. package/components/index.d.ts +14 -11
  70. package/components/index.d.ts.map +1 -1
  71. package/components/inputs/Checkbox.d.ts +8 -8
  72. package/components/inputs/MultiSwitch.d.ts +15 -15
  73. package/components/inputs/NumericInput.d.ts +8 -8
  74. package/components/inputs/RadioInput.d.ts +6 -6
  75. package/components/inputs/Switch.d.ts +6 -6
  76. package/components/inputs/TextArea.d.ts +9 -9
  77. package/components/inputs/TextInput.d.ts +12 -12
  78. package/components/inputs/index.d.ts +7 -7
  79. package/components/layout/Accordion.d.ts +6 -7
  80. package/components/layout/Accordion.d.ts.map +1 -1
  81. package/components/layout/Blocker.d.ts +4 -0
  82. package/components/layout/Blocker.d.ts.map +1 -0
  83. package/components/layout/CheckboxGroup.d.ts +3 -0
  84. package/components/layout/CheckboxGroup.d.ts.map +1 -0
  85. package/components/layout/ControlGroup.d.ts +2 -2
  86. package/components/layout/FlexItems/FlexCell.d.ts +11 -11
  87. package/components/layout/FlexItems/FlexRow.d.ts +16 -16
  88. package/components/layout/FlexItems/FlexSpacer.d.ts +4 -4
  89. package/components/layout/FlexItems/Panel.d.ts +7 -7
  90. package/components/layout/FlexItems/index.d.ts +4 -4
  91. package/components/layout/LabeledInput.d.ts +5 -5
  92. package/components/layout/RadioGroup.d.ts +2 -2
  93. package/components/layout/ScrollBars.d.ts +3 -3
  94. package/components/layout/VirtualList.d.ts +2 -2
  95. package/components/layout/index.d.ts +10 -8
  96. package/components/layout/index.d.ts.map +1 -1
  97. package/components/navigation/MainMenu/Burger/Burger.d.ts +6 -0
  98. package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -0
  99. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +8 -0
  100. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -0
  101. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +5 -0
  102. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +1 -0
  103. package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +5 -0
  104. package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +1 -0
  105. package/components/navigation/MainMenu/Burger/index.d.ts +5 -0
  106. package/components/navigation/MainMenu/Burger/index.d.ts.map +1 -0
  107. package/components/navigation/MainMenu/GlobalMenu.d.ts +6 -0
  108. package/components/navigation/MainMenu/GlobalMenu.d.ts.map +1 -0
  109. package/components/navigation/MainMenu/MainMenu.d.ts +5 -0
  110. package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -0
  111. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +8 -0
  112. package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -0
  113. package/components/navigation/MainMenu/MainMenuButton.d.ts +7 -0
  114. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -0
  115. package/components/navigation/MainMenu/MainMenuDropdown.d.ts +6 -0
  116. package/components/navigation/MainMenu/MainMenuDropdown.d.ts.map +1 -0
  117. package/components/navigation/MainMenu/MainMenuIcon.d.ts +8 -0
  118. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -0
  119. package/components/navigation/MainMenu/MainMenuSearch.d.ts +7 -0
  120. package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -0
  121. package/components/navigation/MainMenu/index.d.ts +9 -0
  122. package/components/navigation/MainMenu/index.d.ts.map +1 -0
  123. package/components/navigation/index.d.ts +2 -0
  124. package/components/navigation/index.d.ts.map +1 -0
  125. package/components/overlays/Alert.d.ts +24 -0
  126. package/components/overlays/Alert.d.ts.map +1 -0
  127. package/components/overlays/ConfirmationModal.d.ts +11 -0
  128. package/components/overlays/ConfirmationModal.d.ts.map +1 -0
  129. package/components/overlays/Dropdown.d.ts +5 -5
  130. package/components/overlays/DropdownContainer.d.ts +8 -5
  131. package/components/overlays/DropdownContainer.d.ts.map +1 -1
  132. package/components/overlays/DropdownMenu.d.ts +33 -33
  133. package/components/overlays/Modals.d.ts +19 -22
  134. package/components/overlays/Modals.d.ts.map +1 -1
  135. package/components/overlays/NotificationCard.d.ts +25 -30
  136. package/components/overlays/NotificationCard.d.ts.map +1 -1
  137. package/components/overlays/Tooltip.d.ts +5 -5
  138. package/components/overlays/index.d.ts +7 -6
  139. package/components/overlays/index.d.ts.map +1 -1
  140. package/components/pickers/DataPickerBody.d.ts +16 -16
  141. package/components/pickers/DataPickerFooter.d.ts +8 -8
  142. package/components/pickers/DataPickerHeader.d.ts +7 -7
  143. package/components/pickers/DataPickerRow.d.ts +15 -15
  144. package/components/pickers/MobileDropdownWrapper.d.ts +10 -10
  145. package/components/pickers/PickerInput.d.ts +16 -16
  146. package/components/pickers/PickerItem.d.ts +13 -13
  147. package/components/pickers/PickerList.d.ts +17 -17
  148. package/components/pickers/PickerList.d.ts.map +1 -1
  149. package/components/pickers/PickerListItem.d.ts +8 -8
  150. package/components/pickers/PickerModal.d.ts +16 -16
  151. package/components/pickers/PickerToggler.d.ts +7 -7
  152. package/components/pickers/index.d.ts +11 -11
  153. package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts +13 -13
  154. package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts +7 -7
  155. package/components/tables/ColumnHeaderDropdown/index.d.ts +1 -1
  156. package/components/tables/DataTable.d.ts +15 -15
  157. package/components/tables/DataTable.d.ts.map +1 -1
  158. package/components/tables/DataTableCell.d.ts +4 -4
  159. package/components/tables/DataTableCell.d.ts.map +1 -1
  160. package/components/tables/DataTableHeaderCell.d.ts +18 -18
  161. package/components/tables/DataTableHeaderRow.d.ts +4 -4
  162. package/components/tables/DataTableRow.d.ts +10 -10
  163. package/components/tables/columnsConfigurationModal/ColumnRow.d.ts +6 -6
  164. package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +9 -9
  165. package/components/tables/columnsConfigurationModal/PinIconButton.d.ts +9 -9
  166. package/components/tables/columnsConfigurationModal/index.d.ts +1 -1
  167. package/components/tables/index.d.ts +8 -8
  168. package/components/tables/types.d.ts +31 -31
  169. package/components/types.d.ts +34 -32
  170. package/components/types.d.ts.map +1 -1
  171. package/components/typography/RichTextView.d.ts +7 -0
  172. package/components/typography/RichTextView.d.ts.map +1 -0
  173. package/components/typography/Text.d.ts +11 -11
  174. package/components/typography/Text.d.ts.map +1 -1
  175. package/components/typography/TextPlaceholder.d.ts +9 -7
  176. package/components/typography/TextPlaceholder.d.ts.map +1 -1
  177. package/components/typography/index.d.ts +3 -2
  178. package/components/typography/index.d.ts.map +1 -1
  179. package/components/widgets/Avatar.d.ts +2 -2
  180. package/components/widgets/Badge.d.ts +14 -14
  181. package/components/widgets/Spinner.d.ts +6 -0
  182. package/components/widgets/Spinner.d.ts.map +1 -0
  183. package/components/widgets/Tag.d.ts +8 -8
  184. package/components/widgets/index.d.ts +4 -3
  185. package/components/widgets/index.d.ts.map +1 -1
  186. package/helpers/index.d.ts +3 -0
  187. package/helpers/index.d.ts.map +1 -0
  188. package/helpers/textLayout.d.ts +8 -8
  189. package/helpers/useColumnsWithFilters.d.ts +3 -0
  190. package/helpers/useColumnsWithFilters.d.ts.map +1 -0
  191. package/i18n.d.ts +103 -90
  192. package/i18n.d.ts.map +1 -1
  193. package/icons/icons.d.ts +3 -3
  194. package/index.d.ts +4 -3
  195. package/index.d.ts.map +1 -1
  196. package/index.js +2771 -1684
  197. package/index.js.map +1 -1
  198. package/package.json +5 -5
  199. package/readme.md +4 -4
  200. package/stats.html +1 -1
  201. package/styles.css +8578 -2507
  202. package/styles.css.map +1 -1
  203. package/assets/styles/fonts-variables.scss +0 -24
  204. package/assets/styles/variables/layout/accordion.scss +0 -10
  205. package/assets/styles/variables/overlays/dropdownContainer.scss +0 -5
  206. package/assets/styles/variables/overlays/notificationCard.scss +0 -28
  207. package/assets/styles/variables/typography/text.scss +0 -19
  208. package/assets/styles/variables/typography/textPlaceholder.scss +0 -4
  209. package/components/layout/IconContainer.d.ts +0 -8
  210. 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
- @mixin overflow-ellipsis() {
2
- overflow: hidden;
3
- text-overflow: ellipsis;
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