@cuby-ui/core 0.0.163 → 0.0.165

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 (282) hide show
  1. package/README.md +24 -24
  2. package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
  3. package/components/accordion/accordion.component.d.ts +5 -5
  4. package/components/accordion/accordion.module.d.ts +11 -11
  5. package/components/accordion/index.d.ts +3 -3
  6. package/components/alert/alert.component.d.ts +13 -13
  7. package/components/alert/alert.interfaces.d.ts +9 -9
  8. package/components/alert/alert.module.d.ts +11 -11
  9. package/components/alert/alert.service.d.ts +7 -7
  10. package/components/alert/alert.tokens.d.ts +15 -15
  11. package/components/alert/alert.types.d.ts +3 -3
  12. package/components/alert/alerts.component.d.ts +17 -17
  13. package/components/alert/index.d.ts +8 -8
  14. package/components/badge/badge.component.d.ts +10 -10
  15. package/components/badge/badge.module.d.ts +8 -8
  16. package/components/badge/badge.options.d.ts +8 -8
  17. package/components/badge/index.d.ts +2 -2
  18. package/components/banner/banner.component.d.ts +21 -21
  19. package/components/banner/banner.module.d.ts +11 -11
  20. package/components/banner/banner.options.d.ts +13 -13
  21. package/components/banner/index.d.ts +3 -3
  22. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
  23. package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
  24. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
  25. package/components/breadcrumbs/index.d.ts +3 -3
  26. package/components/button/button.component.d.ts +30 -30
  27. package/components/button/button.module.d.ts +9 -9
  28. package/components/button/button.options.d.ts +9 -9
  29. package/components/button/index.d.ts +3 -3
  30. package/components/button-group/button-group.component.d.ts +5 -5
  31. package/components/button-group/button-group.module.d.ts +7 -7
  32. package/components/button-group/index.d.ts +2 -2
  33. package/components/checkbox/checkbox.component.d.ts +5 -5
  34. package/components/checkbox/checkbox.module.d.ts +7 -7
  35. package/components/checkbox/index.d.ts +2 -2
  36. package/components/context-menu/context-menu.component.d.ts +39 -39
  37. package/components/context-menu/context-menu.module.d.ts +9 -9
  38. package/components/context-menu/index.d.ts +2 -2
  39. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
  40. package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
  41. package/components/dialog/dialog.component.d.ts +33 -33
  42. package/components/dialog/dialog.interfaces.d.ts +10 -10
  43. package/components/dialog/dialog.module.d.ts +14 -14
  44. package/components/dialog/dialog.service.d.ts +7 -7
  45. package/components/dialog/dialog.tokens.d.ts +8 -8
  46. package/components/dialog/dialogs.component.d.ts +18 -18
  47. package/components/dialog/index.d.ts +8 -8
  48. package/components/form-field/form-field.component.d.ts +5 -5
  49. package/components/form-field/form-field.module.d.ts +7 -7
  50. package/components/form-field/index.d.ts +2 -2
  51. package/components/hint/hint.component.d.ts +7 -7
  52. package/components/hint/hint.module.d.ts +7 -7
  53. package/components/hint/index.d.ts +2 -2
  54. package/components/icon-button/icon-button.component.d.ts +13 -13
  55. package/components/icon-button/icon-button.module.d.ts +9 -9
  56. package/components/icon-button/index.d.ts +2 -2
  57. package/components/index.d.ts +26 -26
  58. package/components/input-number/index.d.ts +2 -2
  59. package/components/input-number/input-number.component.d.ts +55 -55
  60. package/components/input-number/input-number.module.d.ts +11 -11
  61. package/components/input-number/input-number.options.d.ts +9 -9
  62. package/components/input-password/index.d.ts +2 -2
  63. package/components/input-password/input-password.component.d.ts +31 -31
  64. package/components/input-password/input-password.module.d.ts +11 -11
  65. package/components/input-text/index.d.ts +2 -2
  66. package/components/input-text/input-text.component.d.ts +31 -31
  67. package/components/input-text/input-text.module.d.ts +11 -11
  68. package/components/input-time/index.d.ts +3 -3
  69. package/components/input-time/input-time.component.d.ts +36 -36
  70. package/components/input-time/input-time.module.d.ts +12 -12
  71. package/components/input-time/input-time.options.d.ts +7 -7
  72. package/components/label/index.d.ts +2 -2
  73. package/components/label/label.component.d.ts +6 -6
  74. package/components/label/label.module.d.ts +8 -8
  75. package/components/notification/index.d.ts +3 -3
  76. package/components/notification/notification.component.d.ts +13 -13
  77. package/components/notification/notification.module.d.ts +10 -10
  78. package/components/notification/notification.options.d.ts +13 -13
  79. package/components/radio/index.d.ts +2 -2
  80. package/components/radio/radio.component.d.ts +5 -5
  81. package/components/radio/radio.module.d.ts +7 -7
  82. package/components/root/index.d.ts +3 -3
  83. package/components/root/root.component.d.ts +11 -11
  84. package/components/root/root.module.d.ts +10 -10
  85. package/components/root/root.options.d.ts +1 -1
  86. package/components/select/index.d.ts +2 -2
  87. package/components/select/select.component.d.ts +52 -52
  88. package/components/select/select.module.d.ts +10 -10
  89. package/components/svg/index.d.ts +2 -2
  90. package/components/svg/svg.component.d.ts +16 -16
  91. package/components/svg/svg.module.d.ts +8 -8
  92. package/components/tabs/index.d.ts +3 -3
  93. package/components/tabs/tab/index.d.ts +1 -1
  94. package/components/tabs/tab/tab.component.d.ts +8 -8
  95. package/components/tabs/tabs.component.d.ts +16 -16
  96. package/components/tabs/tabs.module.d.ts +8 -8
  97. package/components/textarea/index.d.ts +2 -2
  98. package/components/textarea/textarea.component.d.ts +10 -10
  99. package/components/textarea/textarea.module.d.ts +7 -7
  100. package/components/toggle/index.d.ts +2 -2
  101. package/components/toggle/toggle.component.d.ts +5 -5
  102. package/components/toggle/toggle.module.d.ts +7 -7
  103. package/directives/index.d.ts +1 -1
  104. package/directives/text-field-controller/index.d.ts +8 -8
  105. package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
  106. package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
  107. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
  108. package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
  109. package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
  110. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
  111. package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
  112. package/directives/text-field-controller/text-field.controller.d.ts +20 -20
  113. package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
  114. package/esm2020/components/accordion/accordion.component.mjs +11 -11
  115. package/esm2020/components/accordion/accordion.module.mjs +37 -37
  116. package/esm2020/components/accordion/index.mjs +4 -4
  117. package/esm2020/components/alert/alert.component.mjs +36 -36
  118. package/esm2020/components/alert/alert.interfaces.mjs +2 -2
  119. package/esm2020/components/alert/alert.module.mjs +40 -40
  120. package/esm2020/components/alert/alert.service.mjs +17 -17
  121. package/esm2020/components/alert/alert.tokens.mjs +19 -19
  122. package/esm2020/components/alert/alert.types.mjs +2 -2
  123. package/esm2020/components/alert/alerts.component.mjs +36 -36
  124. package/esm2020/components/alert/index.mjs +9 -9
  125. package/esm2020/components/badge/badge.component.mjs +31 -31
  126. package/esm2020/components/badge/badge.module.mjs +18 -18
  127. package/esm2020/components/badge/badge.options.mjs +8 -8
  128. package/esm2020/components/badge/index.mjs +3 -3
  129. package/esm2020/components/banner/banner.component.mjs +68 -68
  130. package/esm2020/components/banner/banner.module.mjs +31 -31
  131. package/esm2020/components/banner/banner.options.mjs +6 -6
  132. package/esm2020/components/banner/index.mjs +4 -4
  133. package/esm2020/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
  134. package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
  135. package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
  136. package/esm2020/components/breadcrumbs/index.mjs +4 -4
  137. package/esm2020/components/button/button.component.mjs +104 -104
  138. package/esm2020/components/button/button.module.mjs +24 -24
  139. package/esm2020/components/button/button.options.mjs +10 -10
  140. package/esm2020/components/button/index.mjs +4 -4
  141. package/esm2020/components/button-group/button-group.component.mjs +11 -11
  142. package/esm2020/components/button-group/button-group.module.mjs +16 -16
  143. package/esm2020/components/button-group/index.mjs +3 -3
  144. package/esm2020/components/checkbox/checkbox.component.mjs +11 -11
  145. package/esm2020/components/checkbox/checkbox.module.mjs +16 -16
  146. package/esm2020/components/checkbox/index.mjs +3 -3
  147. package/esm2020/components/context-menu/context-menu.component.mjs +146 -146
  148. package/esm2020/components/context-menu/context-menu.module.mjs +24 -24
  149. package/esm2020/components/context-menu/index.mjs +3 -3
  150. package/esm2020/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
  151. package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
  152. package/esm2020/components/dialog/dialog.component.mjs +64 -64
  153. package/esm2020/components/dialog/dialog.interfaces.mjs +2 -2
  154. package/esm2020/components/dialog/dialog.module.mjs +50 -50
  155. package/esm2020/components/dialog/dialog.service.mjs +17 -17
  156. package/esm2020/components/dialog/dialog.tokens.mjs +11 -11
  157. package/esm2020/components/dialog/dialogs.component.mjs +51 -51
  158. package/esm2020/components/dialog/index.mjs +9 -9
  159. package/esm2020/components/form-field/form-field.component.mjs +11 -11
  160. package/esm2020/components/form-field/form-field.module.mjs +16 -16
  161. package/esm2020/components/form-field/index.mjs +3 -3
  162. package/esm2020/components/hint/hint.component.mjs +19 -19
  163. package/esm2020/components/hint/hint.module.mjs +16 -16
  164. package/esm2020/components/hint/index.mjs +3 -3
  165. package/esm2020/components/icon-button/icon-button.component.mjs +32 -32
  166. package/esm2020/components/icon-button/icon-button.module.mjs +24 -24
  167. package/esm2020/components/icon-button/index.mjs +3 -3
  168. package/esm2020/components/index.mjs +27 -27
  169. package/esm2020/components/input-number/index.mjs +3 -3
  170. package/esm2020/components/input-number/input-number.component.mjs +204 -204
  171. package/esm2020/components/input-number/input-number.module.mjs +33 -33
  172. package/esm2020/components/input-number/input-number.options.mjs +11 -11
  173. package/esm2020/components/input-password/index.mjs +3 -3
  174. package/esm2020/components/input-password/input-password.component.mjs +89 -89
  175. package/esm2020/components/input-password/input-password.module.mjs +33 -33
  176. package/esm2020/components/input-text/index.mjs +3 -3
  177. package/esm2020/components/input-text/input-text.component.mjs +87 -87
  178. package/esm2020/components/input-text/input-text.module.mjs +33 -33
  179. package/esm2020/components/input-time/index.mjs +4 -4
  180. package/esm2020/components/input-time/input-time.component.mjs +99 -99
  181. package/esm2020/components/input-time/input-time.module.mjs +36 -36
  182. package/esm2020/components/input-time/input-time.options.mjs +8 -8
  183. package/esm2020/components/label/index.mjs +3 -3
  184. package/esm2020/components/label/label.component.mjs +17 -17
  185. package/esm2020/components/label/label.module.mjs +18 -18
  186. package/esm2020/components/notification/index.mjs +4 -4
  187. package/esm2020/components/notification/notification.component.mjs +51 -51
  188. package/esm2020/components/notification/notification.module.mjs +27 -27
  189. package/esm2020/components/notification/notification.options.mjs +6 -6
  190. package/esm2020/components/radio/index.mjs +3 -3
  191. package/esm2020/components/radio/radio.component.mjs +11 -11
  192. package/esm2020/components/radio/radio.module.mjs +16 -16
  193. package/esm2020/components/root/index.mjs +4 -4
  194. package/esm2020/components/root/root.component.mjs +31 -31
  195. package/esm2020/components/root/root.module.mjs +28 -28
  196. package/esm2020/components/root/root.options.mjs +1 -1
  197. package/esm2020/components/select/index.mjs +3 -3
  198. package/esm2020/components/select/select.component.mjs +167 -167
  199. package/esm2020/components/select/select.module.mjs +29 -29
  200. package/esm2020/components/svg/index.mjs +3 -3
  201. package/esm2020/components/svg/svg.component.mjs +50 -50
  202. package/esm2020/components/svg/svg.module.mjs +18 -18
  203. package/esm2020/components/tabs/index.mjs +4 -4
  204. package/esm2020/components/tabs/tab/index.mjs +1 -1
  205. package/esm2020/components/tabs/tab/tab.component.mjs +21 -21
  206. package/esm2020/components/tabs/tabs.component.mjs +49 -49
  207. package/esm2020/components/tabs/tabs.module.mjs +18 -18
  208. package/esm2020/components/textarea/index.mjs +3 -3
  209. package/esm2020/components/textarea/textarea.component.mjs +35 -35
  210. package/esm2020/components/textarea/textarea.module.mjs +16 -16
  211. package/esm2020/components/toggle/index.mjs +3 -3
  212. package/esm2020/components/toggle/toggle.component.mjs +11 -11
  213. package/esm2020/components/toggle/toggle.module.mjs +16 -16
  214. package/esm2020/cuby-ui-core.mjs +4 -4
  215. package/esm2020/directives/index.mjs +2 -2
  216. package/esm2020/directives/text-field-controller/index.mjs +9 -9
  217. package/esm2020/directives/text-field-controller/text-field-controller.module.mjs +40 -40
  218. package/esm2020/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
  219. package/esm2020/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
  220. package/esm2020/directives/text-field-controller/text-field-id.directive.mjs +21 -21
  221. package/esm2020/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
  222. package/esm2020/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
  223. package/esm2020/directives/text-field-controller/text-field-size.directive.mjs +24 -24
  224. package/esm2020/directives/text-field-controller/text-field.controller.mjs +25 -25
  225. package/esm2020/index.mjs +7 -7
  226. package/esm2020/interfaces/context-menu-item.mjs +2 -2
  227. package/esm2020/interfaces/index.mjs +3 -3
  228. package/esm2020/interfaces/option.mjs +2 -2
  229. package/esm2020/services/index.mjs +3 -3
  230. package/esm2020/services/theme.options.mjs +6 -6
  231. package/esm2020/services/theme.service.mjs +30 -30
  232. package/esm2020/types/appearance.mjs +2 -2
  233. package/esm2020/types/hint-type.mjs +2 -2
  234. package/esm2020/types/index.mjs +8 -8
  235. package/esm2020/types/position.mjs +2 -2
  236. package/esm2020/types/resizing.mjs +2 -2
  237. package/esm2020/types/shape.mjs +2 -2
  238. package/esm2020/types/size.mjs +2 -2
  239. package/esm2020/types/status.mjs +2 -2
  240. package/esm2020/utils/format/index.mjs +3 -3
  241. package/esm2020/utils/format/remove-spaces.mjs +4 -4
  242. package/esm2020/utils/format/replace.mjs +5 -5
  243. package/esm2020/utils/index.mjs +2 -2
  244. package/fesm2015/cuby-ui-core.mjs +2162 -2162
  245. package/fesm2015/cuby-ui-core.mjs.map +1 -1
  246. package/fesm2020/cuby-ui-core.mjs +2160 -2160
  247. package/fesm2020/cuby-ui-core.mjs.map +1 -1
  248. package/fonts/Inter-Bold.svg +25443 -25443
  249. package/fonts/Inter-Medium.svg +25400 -25400
  250. package/fonts/Inter-Regular.svg +24341 -24341
  251. package/fonts/Inter-SemiBold.svg +25459 -25459
  252. package/index.d.ts +6 -6
  253. package/interfaces/context-menu-item.d.ts +7 -7
  254. package/interfaces/index.d.ts +2 -2
  255. package/interfaces/option.d.ts +5 -5
  256. package/package.json +3 -3
  257. package/services/index.d.ts +2 -2
  258. package/services/theme.options.d.ts +5 -5
  259. package/services/theme.service.d.ts +12 -12
  260. package/styles/fonts.scss +51 -51
  261. package/styles/global.scss +9 -9
  262. package/styles/mixins/buttons.scss +13 -13
  263. package/styles/mixins/headings.scss +115 -115
  264. package/styles/mixins/inputs.scss +91 -91
  265. package/styles/mixins/lists.scss +5 -5
  266. package/styles/mixins/paddings.scss +35 -35
  267. package/styles/mixins/shadows.scss +38 -38
  268. package/styles/mixins/texts.scss +225 -225
  269. package/styles/theme.scss +385 -385
  270. package/styles/variables/colors.scss +253 -253
  271. package/types/appearance.d.ts +8 -8
  272. package/types/hint-type.d.ts +1 -1
  273. package/types/index.d.ts +7 -7
  274. package/types/position.d.ts +2 -2
  275. package/types/resizing.d.ts +2 -2
  276. package/types/shape.d.ts +1 -1
  277. package/types/size.d.ts +4 -4
  278. package/types/status.d.ts +1 -1
  279. package/utils/format/index.d.ts +2 -2
  280. package/utils/format/remove-spaces.d.ts +1 -1
  281. package/utils/format/replace.d.ts +1 -1
  282. package/utils/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
- @mixin cui-clear-list() {
2
- padding: 0;
3
- margin: 0;
4
- list-style: none;
5
- }
1
+ @mixin cui-clear-list() {
2
+ padding: 0;
3
+ margin: 0;
4
+ list-style: none;
5
+ }
@@ -1,35 +1,35 @@
1
- $space: 8px;
2
-
3
- @mixin cui-padding($direction, $size, $offset: 0) {
4
- $padding: $space * $size - $offset;
5
-
6
- @if ($direction == all) {
7
- padding: $padding;
8
- }
9
-
10
- @if ($direction == top) {
11
- padding-top: $padding;
12
- }
13
-
14
- @if ($direction == bottom) {
15
- padding-bottom: $padding;
16
- }
17
-
18
- @if ($direction == vertical) {
19
- padding-top: $padding;
20
- padding-bottom: $padding;
21
- }
22
-
23
- @if ($direction == left) {
24
- padding-left: $padding;
25
- }
26
-
27
- @if ($direction == right) {
28
- padding-right: $padding;
29
- }
30
-
31
- @if ($direction == horizontal) {
32
- padding-right: $padding;
33
- padding-left: $padding;
34
- }
35
- }
1
+ $space: 8px;
2
+
3
+ @mixin cui-padding($direction, $size, $offset: 0) {
4
+ $padding: $space * $size - $offset;
5
+
6
+ @if ($direction == all) {
7
+ padding: $padding;
8
+ }
9
+
10
+ @if ($direction == top) {
11
+ padding-top: $padding;
12
+ }
13
+
14
+ @if ($direction == bottom) {
15
+ padding-bottom: $padding;
16
+ }
17
+
18
+ @if ($direction == vertical) {
19
+ padding-top: $padding;
20
+ padding-bottom: $padding;
21
+ }
22
+
23
+ @if ($direction == left) {
24
+ padding-left: $padding;
25
+ }
26
+
27
+ @if ($direction == right) {
28
+ padding-right: $padding;
29
+ }
30
+
31
+ @if ($direction == horizontal) {
32
+ padding-right: $padding;
33
+ padding-left: $padding;
34
+ }
35
+ }
@@ -1,38 +1,38 @@
1
- @use '../variables/colors' as colors;
2
- // TODO: вынести все цвета в перемнные
3
-
4
- @mixin cui-shadow-10() {
5
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04),
6
- 0 1px 4px 0 rgba(0, 0, 0, 0.04);
7
- }
8
-
9
- @mixin cui-shadow-15() {
10
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06),
11
- 0 1px 3px 0 rgba(0, 0, 0, 0.10);
12
- }
13
-
14
- @mixin cui-shadow-20() {
15
- box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
16
- 0 4px 6px -1px rgba(0, 0, 0, 0.10);
17
- }
18
-
19
- @mixin cui-shadow-25() {
20
- box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05),
21
- 0 10px 15px -3px rgba(0, 0, 0, 0.10);
22
- }
23
-
24
- @mixin cui-shadow-right() {
25
- box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.05);
26
- }
27
-
28
- @mixin cui-shadow-left() {
29
- box-shadow: -5px 0 4px 0 rgba(0, 0, 0, 0.05);
30
- }
31
-
32
- @mixin cui-shadow-focused() {
33
- box-shadow: 0 0 0 2px colors.$cui-focus;
34
- }
35
-
36
- @mixin cui-shadow-error-focused() {
37
- box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25);
38
- }
1
+ @use '../variables/colors' as colors;
2
+ // TODO: вынести все цвета в перемнные
3
+
4
+ @mixin cui-shadow-10() {
5
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04),
6
+ 0 1px 4px 0 rgba(0, 0, 0, 0.04);
7
+ }
8
+
9
+ @mixin cui-shadow-15() {
10
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06),
11
+ 0 1px 3px 0 rgba(0, 0, 0, 0.10);
12
+ }
13
+
14
+ @mixin cui-shadow-20() {
15
+ box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
16
+ 0 4px 6px -1px rgba(0, 0, 0, 0.10);
17
+ }
18
+
19
+ @mixin cui-shadow-25() {
20
+ box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05),
21
+ 0 10px 15px -3px rgba(0, 0, 0, 0.10);
22
+ }
23
+
24
+ @mixin cui-shadow-right() {
25
+ box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.05);
26
+ }
27
+
28
+ @mixin cui-shadow-left() {
29
+ box-shadow: -5px 0 4px 0 rgba(0, 0, 0, 0.05);
30
+ }
31
+
32
+ @mixin cui-shadow-focused() {
33
+ box-shadow: 0 0 0 2px colors.$cui-focus;
34
+ }
35
+
36
+ @mixin cui-shadow-error-focused() {
37
+ box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25);
38
+ }
@@ -1,225 +1,225 @@
1
- @mixin cui-text-regular() {
2
- font-weight: 400;
3
- }
4
-
5
- @mixin cui-text-medium() {
6
- font-weight: 500;
7
- }
8
-
9
- @mixin cui-text-semi-bold() {
10
- font-weight: 600;
11
- }
12
-
13
- @mixin cui-text-bold() {
14
- font-weight: 700;
15
- }
16
-
17
- @mixin cui-text-xxxs() {
18
- font-size: 10px;
19
- line-height: 12px;
20
- }
21
-
22
- @mixin cui-text-xxxs-regular() {
23
- font-weight: 400;
24
- font-size: 10px;
25
- line-height: 12px;
26
- }
27
-
28
- @mixin cui-text-xxxs-medium() {
29
- font-weight: 500;
30
- font-size: 10px;
31
- line-height: 12px;
32
- }
33
-
34
- @mixin cui-text-xxxs-semi-bold() {
35
- font-weight: 600;
36
- font-size: 10px;
37
- line-height: 12px;
38
- }
39
-
40
- @mixin cui-text-xxxs-bold() {
41
- font-weight: 700;
42
- font-size: 10px;
43
- line-height: 12px;
44
- }
45
-
46
-
47
- @mixin cui-text-xxs() {
48
- font-size: 12px;
49
- line-height: 14px;
50
- }
51
-
52
- @mixin cui-text-xxs-regular() {
53
- font-weight: 400;
54
- font-size: 12px;
55
- line-height: 14px;
56
- }
57
-
58
- @mixin cui-text-xxs-medium() {
59
- font-weight: 500;
60
- font-size: 12px;
61
- line-height: 14px;
62
- }
63
-
64
- @mixin cui-text-xxs-semi-bold() {
65
- font-weight: 600;
66
- font-size: 12px;
67
- line-height: 14px;
68
- }
69
-
70
- @mixin cui-text-xxs-bold() {
71
- font-weight: 700;
72
- font-size: 12px;
73
- line-height: 14px;
74
- }
75
-
76
- @mixin cui-text-xs() {
77
- font-size: 13px;
78
- line-height: 16px;
79
- }
80
-
81
- @mixin cui-text-xs-regular() {
82
- font-weight: 400;
83
- font-size: 13px;
84
- line-height: 16px;
85
- }
86
-
87
- @mixin cui-text-xs-medium() {
88
- font-weight: 500;
89
- font-size: 13px;
90
- line-height: 16px;
91
- }
92
-
93
- @mixin cui-text-xs-semi-bold() {
94
- font-weight: 600;
95
- font-size: 13px;
96
- line-height: 16px;
97
- }
98
-
99
- @mixin cui-text-xs-bold() {
100
- font-weight: 700;
101
- font-size: 13px;
102
- line-height: 16px;
103
- }
104
-
105
- @mixin cui-text-sm() {
106
- font-size: 14px;
107
- line-height: 20px;
108
- }
109
-
110
- @mixin cui-text-sm-regular() {
111
- font-weight: 400;
112
- font-size: 14px;
113
- line-height: 20px;
114
- }
115
-
116
- @mixin cui-text-sm-medium() {
117
- font-weight: 500;
118
- font-size: 14px;
119
- line-height: 20px;
120
- }
121
-
122
- @mixin cui-text-sm-semi-bold() {
123
- font-weight: 600;
124
- font-size: 14px;
125
- line-height: 20px;
126
- }
127
-
128
- @mixin cui-text-sm-bold() {
129
- font-weight: 700;
130
- font-size: 14px;
131
- line-height: 20px;
132
- }
133
-
134
- @mixin cui-text-md() {
135
- font-size: 16px;
136
- line-height: 24px;
137
- }
138
-
139
- @mixin cui-text-md-regular() {
140
- font-weight: 400;
141
- font-size: 16px;
142
- line-height: 24px;
143
- }
144
-
145
- @mixin cui-text-md-medium() {
146
- font-weight: 500;
147
- font-size: 16px;
148
- line-height: 24px;
149
- }
150
-
151
- @mixin cui-text-md-semi-bold() {
152
- font-weight: 600;
153
- font-size: 16px;
154
- line-height: 24px;
155
- }
156
-
157
- @mixin cui-text-md-bold() {
158
- font-weight: 700;
159
- font-size: 16px;
160
- line-height: 24px;
161
- }
162
-
163
- @mixin cui-text-lg() {
164
- font-size: 18px;
165
- line-height: 28px;
166
- }
167
-
168
- @mixin cui-text-lg-regular() {
169
- font-weight: 400;
170
- font-size: 18px;
171
- line-height: 28px;
172
- }
173
-
174
- @mixin cui-text-lg-medium() {
175
- font-weight: 500;
176
- font-size: 18px;
177
- line-height: 28px;
178
- }
179
-
180
- @mixin cui-text-lg-semi-bold() {
181
- font-weight: 600;
182
- font-size: 18px;
183
- line-height: 28px;
184
- }
185
-
186
- @mixin cui-text-lg-bold() {
187
- font-weight: 700;
188
- font-size: 18px;
189
- line-height: 28px;
190
- }
191
-
192
- @mixin cui-text-xl() {
193
- font-size: 20px;
194
- line-height: 30px;
195
- }
196
-
197
- @mixin cui-text-xl-regular() {
198
- font-weight: 400;
199
- font-size: 20px;
200
- line-height: 30px;
201
- }
202
-
203
- @mixin cui-text-xl-medium() {
204
- font-weight: 500;
205
- font-size: 20px;
206
- line-height: 30px;
207
- }
208
-
209
- @mixin cui-text-xl-semi-bold() {
210
- font-weight: 600;
211
- font-size: 20px;
212
- line-height: 30px;
213
- }
214
-
215
- @mixin cui-text-xl-bold() {
216
- font-weight: 700;
217
- font-size: 20px;
218
- line-height: 30px;
219
- }
220
-
221
- @mixin cui-text-overflow($wrap: nowrap) {
222
- white-space: $wrap;
223
- overflow: hidden;
224
- text-overflow: ellipsis;
225
- }
1
+ @mixin cui-text-regular() {
2
+ font-weight: 400;
3
+ }
4
+
5
+ @mixin cui-text-medium() {
6
+ font-weight: 500;
7
+ }
8
+
9
+ @mixin cui-text-semi-bold() {
10
+ font-weight: 600;
11
+ }
12
+
13
+ @mixin cui-text-bold() {
14
+ font-weight: 700;
15
+ }
16
+
17
+ @mixin cui-text-xxxs() {
18
+ font-size: 10px;
19
+ line-height: 12px;
20
+ }
21
+
22
+ @mixin cui-text-xxxs-regular() {
23
+ font-weight: 400;
24
+ font-size: 10px;
25
+ line-height: 12px;
26
+ }
27
+
28
+ @mixin cui-text-xxxs-medium() {
29
+ font-weight: 500;
30
+ font-size: 10px;
31
+ line-height: 12px;
32
+ }
33
+
34
+ @mixin cui-text-xxxs-semi-bold() {
35
+ font-weight: 600;
36
+ font-size: 10px;
37
+ line-height: 12px;
38
+ }
39
+
40
+ @mixin cui-text-xxxs-bold() {
41
+ font-weight: 700;
42
+ font-size: 10px;
43
+ line-height: 12px;
44
+ }
45
+
46
+
47
+ @mixin cui-text-xxs() {
48
+ font-size: 12px;
49
+ line-height: 14px;
50
+ }
51
+
52
+ @mixin cui-text-xxs-regular() {
53
+ font-weight: 400;
54
+ font-size: 12px;
55
+ line-height: 14px;
56
+ }
57
+
58
+ @mixin cui-text-xxs-medium() {
59
+ font-weight: 500;
60
+ font-size: 12px;
61
+ line-height: 14px;
62
+ }
63
+
64
+ @mixin cui-text-xxs-semi-bold() {
65
+ font-weight: 600;
66
+ font-size: 12px;
67
+ line-height: 14px;
68
+ }
69
+
70
+ @mixin cui-text-xxs-bold() {
71
+ font-weight: 700;
72
+ font-size: 12px;
73
+ line-height: 14px;
74
+ }
75
+
76
+ @mixin cui-text-xs() {
77
+ font-size: 13px;
78
+ line-height: 16px;
79
+ }
80
+
81
+ @mixin cui-text-xs-regular() {
82
+ font-weight: 400;
83
+ font-size: 13px;
84
+ line-height: 16px;
85
+ }
86
+
87
+ @mixin cui-text-xs-medium() {
88
+ font-weight: 500;
89
+ font-size: 13px;
90
+ line-height: 16px;
91
+ }
92
+
93
+ @mixin cui-text-xs-semi-bold() {
94
+ font-weight: 600;
95
+ font-size: 13px;
96
+ line-height: 16px;
97
+ }
98
+
99
+ @mixin cui-text-xs-bold() {
100
+ font-weight: 700;
101
+ font-size: 13px;
102
+ line-height: 16px;
103
+ }
104
+
105
+ @mixin cui-text-sm() {
106
+ font-size: 14px;
107
+ line-height: 20px;
108
+ }
109
+
110
+ @mixin cui-text-sm-regular() {
111
+ font-weight: 400;
112
+ font-size: 14px;
113
+ line-height: 20px;
114
+ }
115
+
116
+ @mixin cui-text-sm-medium() {
117
+ font-weight: 500;
118
+ font-size: 14px;
119
+ line-height: 20px;
120
+ }
121
+
122
+ @mixin cui-text-sm-semi-bold() {
123
+ font-weight: 600;
124
+ font-size: 14px;
125
+ line-height: 20px;
126
+ }
127
+
128
+ @mixin cui-text-sm-bold() {
129
+ font-weight: 700;
130
+ font-size: 14px;
131
+ line-height: 20px;
132
+ }
133
+
134
+ @mixin cui-text-md() {
135
+ font-size: 16px;
136
+ line-height: 24px;
137
+ }
138
+
139
+ @mixin cui-text-md-regular() {
140
+ font-weight: 400;
141
+ font-size: 16px;
142
+ line-height: 24px;
143
+ }
144
+
145
+ @mixin cui-text-md-medium() {
146
+ font-weight: 500;
147
+ font-size: 16px;
148
+ line-height: 24px;
149
+ }
150
+
151
+ @mixin cui-text-md-semi-bold() {
152
+ font-weight: 600;
153
+ font-size: 16px;
154
+ line-height: 24px;
155
+ }
156
+
157
+ @mixin cui-text-md-bold() {
158
+ font-weight: 700;
159
+ font-size: 16px;
160
+ line-height: 24px;
161
+ }
162
+
163
+ @mixin cui-text-lg() {
164
+ font-size: 18px;
165
+ line-height: 28px;
166
+ }
167
+
168
+ @mixin cui-text-lg-regular() {
169
+ font-weight: 400;
170
+ font-size: 18px;
171
+ line-height: 28px;
172
+ }
173
+
174
+ @mixin cui-text-lg-medium() {
175
+ font-weight: 500;
176
+ font-size: 18px;
177
+ line-height: 28px;
178
+ }
179
+
180
+ @mixin cui-text-lg-semi-bold() {
181
+ font-weight: 600;
182
+ font-size: 18px;
183
+ line-height: 28px;
184
+ }
185
+
186
+ @mixin cui-text-lg-bold() {
187
+ font-weight: 700;
188
+ font-size: 18px;
189
+ line-height: 28px;
190
+ }
191
+
192
+ @mixin cui-text-xl() {
193
+ font-size: 20px;
194
+ line-height: 30px;
195
+ }
196
+
197
+ @mixin cui-text-xl-regular() {
198
+ font-weight: 400;
199
+ font-size: 20px;
200
+ line-height: 30px;
201
+ }
202
+
203
+ @mixin cui-text-xl-medium() {
204
+ font-weight: 500;
205
+ font-size: 20px;
206
+ line-height: 30px;
207
+ }
208
+
209
+ @mixin cui-text-xl-semi-bold() {
210
+ font-weight: 600;
211
+ font-size: 20px;
212
+ line-height: 30px;
213
+ }
214
+
215
+ @mixin cui-text-xl-bold() {
216
+ font-weight: 700;
217
+ font-size: 20px;
218
+ line-height: 30px;
219
+ }
220
+
221
+ @mixin cui-text-overflow($wrap: nowrap) {
222
+ white-space: $wrap;
223
+ overflow: hidden;
224
+ text-overflow: ellipsis;
225
+ }