@cuby-ui/core 0.0.386 → 0.0.388

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 (264) hide show
  1. package/README.md +2 -1
  2. package/components/tabs/index.d.ts +1 -0
  3. package/components/tabs/tabs.options.d.ts +2 -2
  4. package/components/tabs/tabs.provider.d.ts +3 -0
  5. package/editor/config/custom-elements.d.ts +1 -1
  6. package/editor/interfaces/editor-service.d.ts +1 -1
  7. package/editor/providers/editor-provider.options.d.ts +1 -1
  8. package/editor/providers/editor.provider.d.ts +1 -1
  9. package/editor/services/editor-base.service.d.ts +2 -2
  10. package/editor/services/editor-tools.service.d.ts +1 -1
  11. package/editor/utils/create-tools-data.d.ts +1 -1
  12. package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +1 -1
  13. package/esm2022/animations/animations.mjs +77 -121
  14. package/esm2022/animations/index.mjs +1 -1
  15. package/esm2022/classes/accessors.mjs +2 -2
  16. package/esm2022/classes/driver.mjs +2 -2
  17. package/esm2022/classes/index.mjs +1 -1
  18. package/esm2022/classes/vehicle.mjs +1 -1
  19. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +3 -3
  20. package/esm2022/components/accordion/accordion.component.mjs +1 -1
  21. package/esm2022/components/accordion/accordion.directive.mjs +1 -1
  22. package/esm2022/components/accordion/accordion.module.mjs +6 -22
  23. package/esm2022/components/accordion/index.mjs +1 -1
  24. package/esm2022/components/alert/alert.component.mjs +3 -3
  25. package/esm2022/components/alert/alert.interfaces.mjs +1 -1
  26. package/esm2022/components/alert/alert.module.mjs +6 -25
  27. package/esm2022/components/alert/alert.service.mjs +1 -1
  28. package/esm2022/components/alert/alert.tokens.mjs +1 -1
  29. package/esm2022/components/alert/alert.types.mjs +1 -1
  30. package/esm2022/components/alert/alerts.component.mjs +5 -7
  31. package/esm2022/components/badge/badge.component.mjs +3 -3
  32. package/esm2022/components/badge/badge.module.mjs +1 -1
  33. package/esm2022/components/banner/banner.component.mjs +4 -4
  34. package/esm2022/components/banner/banner.module.mjs +4 -14
  35. package/esm2022/components/banner/banner.options.mjs +1 -1
  36. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +1 -1
  37. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
  38. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +6 -19
  39. package/esm2022/components/breadcrumbs/index.mjs +1 -1
  40. package/esm2022/components/button/button.component.mjs +3 -3
  41. package/esm2022/components/button/button.module.mjs +4 -9
  42. package/esm2022/components/button/button.options.mjs +1 -1
  43. package/esm2022/components/button/index.mjs +1 -1
  44. package/esm2022/components/button-group/button-group.component.mjs +1 -1
  45. package/esm2022/components/button-group/button-group.module.mjs +1 -1
  46. package/esm2022/components/card-wrapper/card-wrapper.component.mjs +1 -1
  47. package/esm2022/components/checkbox/checkbox.component.mjs +1 -1
  48. package/esm2022/components/checkbox/checkbox.module.mjs +1 -1
  49. package/esm2022/components/checkbox/index.mjs +1 -1
  50. package/esm2022/components/context-menu/context-menu.component.mjs +6 -11
  51. package/esm2022/components/context-menu/context-menu.module.mjs +4 -9
  52. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +3 -3
  53. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +3 -3
  54. package/esm2022/components/dialog/dialog.component.mjs +5 -5
  55. package/esm2022/components/dialog/dialog.interfaces.mjs +1 -1
  56. package/esm2022/components/dialog/dialog.module.mjs +6 -31
  57. package/esm2022/components/dialog/dialog.service.mjs +1 -1
  58. package/esm2022/components/dialog/dialog.tokens.mjs +1 -1
  59. package/esm2022/components/dialog/dialogs.component.mjs +6 -8
  60. package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +3 -3
  61. package/esm2022/components/dropdown/dropdown.directive.mjs +2 -2
  62. package/esm2022/components/empty-state/empty-state.component.mjs +1 -1
  63. package/esm2022/components/form-field/form-field.component.mjs +1 -1
  64. package/esm2022/components/form-field/form-field.module.mjs +1 -1
  65. package/esm2022/components/hint/hint.component.mjs +1 -1
  66. package/esm2022/components/hint/hint.module.mjs +1 -1
  67. package/esm2022/components/icon-button/icon-button.component.mjs +3 -3
  68. package/esm2022/components/icon-button/icon-button.module.mjs +4 -9
  69. package/esm2022/components/icon-button/index.mjs +1 -1
  70. package/esm2022/components/input-number/input-number.component.mjs +3 -9
  71. package/esm2022/components/input-number/input-number.module.mjs +5 -19
  72. package/esm2022/components/input-password/input-password.component.mjs +3 -9
  73. package/esm2022/components/input-password/input-password.module.mjs +5 -17
  74. package/esm2022/components/input-text/input-text.component.mjs +3 -9
  75. package/esm2022/components/input-text/input-text.module.mjs +5 -17
  76. package/esm2022/components/input-time/index.mjs +1 -1
  77. package/esm2022/components/input-time/input-time.component.mjs +3 -9
  78. package/esm2022/components/input-time/input-time.module.mjs +5 -19
  79. package/esm2022/components/input-time/input-time.options.mjs +1 -1
  80. package/esm2022/components/label/label.component.mjs +3 -3
  81. package/esm2022/components/label/label.module.mjs +1 -1
  82. package/esm2022/components/layout/layout.component.mjs +1 -1
  83. package/esm2022/components/notification/notification.component.mjs +3 -3
  84. package/esm2022/components/notification/notification.module.mjs +4 -9
  85. package/esm2022/components/notification/notification.options.mjs +4 -4
  86. package/esm2022/components/radio/radio.component.mjs +1 -1
  87. package/esm2022/components/radio/radio.module.mjs +1 -1
  88. package/esm2022/components/root/root.component.mjs +4 -5
  89. package/esm2022/components/root/root.module.mjs +4 -14
  90. package/esm2022/components/root/root.options.mjs +1 -1
  91. package/esm2022/components/select/select.component.mjs +12 -13
  92. package/esm2022/components/select/select.module.mjs +5 -16
  93. package/esm2022/components/sidebar/index.mjs +1 -1
  94. package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  95. package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +3 -3
  96. package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +1 -1
  97. package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +3 -3
  98. package/esm2022/components/sidebar/sidebar.options.mjs +1 -1
  99. package/esm2022/components/svg/svg.component.mjs +4 -6
  100. package/esm2022/components/svg/svg.module.mjs +1 -1
  101. package/esm2022/components/tab/tab.component.mjs +2 -2
  102. package/esm2022/components/tabs/index.mjs +2 -1
  103. package/esm2022/components/tabs/services/tabs.service.mjs +1 -1
  104. package/esm2022/components/tabs/tabs.component.mjs +4 -4
  105. package/esm2022/components/tabs/tabs.options.mjs +1 -1
  106. package/esm2022/components/tabs/tabs.provider.mjs +10 -0
  107. package/esm2022/components/textarea/textarea.component.mjs +1 -1
  108. package/esm2022/components/textarea/textarea.module.mjs +1 -1
  109. package/esm2022/components/toggle/index.mjs +1 -1
  110. package/esm2022/components/toggle/toggle.component.mjs +1 -1
  111. package/esm2022/components/toggle/toggle.module.mjs +1 -1
  112. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +1 -1
  113. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +1 -1
  114. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +1 -1
  115. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +1 -1
  116. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +1 -1
  117. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +1 -1
  118. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +1 -1
  119. package/esm2022/directives/text-field-controller/text-field.controller.mjs +1 -1
  120. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +4 -4
  121. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +2 -2
  122. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +2 -2
  123. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +6 -9
  124. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +2 -2
  125. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +6 -6
  126. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +5 -5
  127. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +3 -3
  128. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +6 -14
  129. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +5 -5
  130. package/esm2022/directives/tooltip/tooltip.component.mjs +21 -25
  131. package/esm2022/directives/tooltip/tooltip.directive.mjs +9 -9
  132. package/esm2022/directives/tooltip/tooltip.mjs +2 -2
  133. package/esm2022/directives/tooltip/tooltip.providers.mjs +1 -1
  134. package/esm2022/directives/tooltip/tooltip.service.mjs +2 -2
  135. package/esm2022/directives/tooltip/tooltips.component.mjs +5 -5
  136. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +3 -3
  137. package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +3 -3
  138. package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +1 -1
  139. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +1 -1
  140. package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +3 -3
  141. package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +3 -3
  142. package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +1 -1
  143. package/esm2022/editor/components/index.mjs +1 -1
  144. package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +3 -3
  145. package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +1 -1
  146. package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +3 -3
  147. package/esm2022/editor/components/marker-select/marker-select.component.mjs +3 -3
  148. package/esm2022/editor/config/custom-elements.mjs +2 -2
  149. package/esm2022/editor/config/editor.provider.mjs +3 -3
  150. package/esm2022/editor/constants/editor.constants.mjs +2 -2
  151. package/esm2022/editor/editor.component.mjs +2 -2
  152. package/esm2022/editor/index.mjs +1 -1
  153. package/esm2022/editor/interfaces/blocks-request-data.mjs +1 -1
  154. package/esm2022/editor/interfaces/combined-block-adding-event.mjs +1 -1
  155. package/esm2022/editor/interfaces/combined-block-data.mjs +1 -1
  156. package/esm2022/editor/interfaces/combined-part-block-data.mjs +1 -1
  157. package/esm2022/editor/interfaces/editor-service.mjs +1 -1
  158. package/esm2022/editor/interfaces/file-response-data.mjs +1 -1
  159. package/esm2022/editor/interfaces/full-block-data.mjs +1 -1
  160. package/esm2022/editor/interfaces/index.mjs +1 -1
  161. package/esm2022/editor/interfaces/main-editor-config.mjs +1 -1
  162. package/esm2022/editor/interfaces/mutation-actions.mjs +1 -1
  163. package/esm2022/editor/interfaces/parent.mjs +1 -1
  164. package/esm2022/editor/interfaces/tune.mjs +1 -1
  165. package/esm2022/editor/providers/editor-provider.options.mjs +2 -2
  166. package/esm2022/editor/providers/editor.provider.mjs +2 -2
  167. package/esm2022/editor/services/editor-base.service.mjs +5 -5
  168. package/esm2022/editor/services/editor-tools.service.mjs +2 -2
  169. package/esm2022/editor/services/editor.service.mjs +1 -1
  170. package/esm2022/editor/services/jtext-api.service.mjs +1 -1
  171. package/esm2022/editor/tools/attaches.tool.mjs +1 -1
  172. package/esm2022/editor/tools/combined-text-block.tool.mjs +1 -1
  173. package/esm2022/editor/tools/custom-marker.tool.mjs +1 -1
  174. package/esm2022/editor/tools/image.tool.mjs +2 -2
  175. package/esm2022/editor/tools/link-marker.tool.mjs +1 -1
  176. package/esm2022/editor/tools/marker.tool.mjs +1 -1
  177. package/esm2022/editor/tools/selection-base.tool.mjs +1 -1
  178. package/esm2022/editor/tools/video.tool.mjs +2 -2
  179. package/esm2022/editor/utils/copy-text-to-clipboard.mjs +1 -1
  180. package/esm2022/editor/utils/create-tools-data.mjs +2 -2
  181. package/esm2022/editor/utils/file-uploader.mjs +1 -1
  182. package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +1 -1
  183. package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +2 -7
  184. package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +3 -3
  185. package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +1 -1
  186. package/esm2022/interfaces/context-menu-item.mjs +1 -1
  187. package/esm2022/interfaces/option.mjs +1 -1
  188. package/esm2022/services/auth.service.mjs +1 -1
  189. package/esm2022/services/index.mjs +1 -1
  190. package/esm2022/services/loader.options.mjs +1 -1
  191. package/esm2022/services/loader.service.mjs +1 -1
  192. package/esm2022/services/position.service.mjs +1 -1
  193. package/esm2022/services/theme.options.mjs +1 -1
  194. package/esm2022/services/theme.service.mjs +3 -3
  195. package/esm2022/services/token.service.mjs +3 -2
  196. package/esm2022/services/visual-viewport.service.mjs +3 -3
  197. package/esm2022/tokens/animations-speed.mjs +2 -2
  198. package/esm2022/tokens/index.mjs +1 -1
  199. package/esm2022/tokens/reduced-motion.mjs +2 -3
  200. package/esm2022/tokens/viewport.mjs +4 -4
  201. package/esm2022/types/point.mjs +1 -1
  202. package/esm2022/types/portal-item.mjs +1 -1
  203. package/esm2022/utils/default-validators/create-default-validators.options.mjs +1 -1
  204. package/esm2022/utils/default-validators/index.mjs +1 -1
  205. package/esm2022/utils/format/remove-spaces.mjs +1 -1
  206. package/esm2022/utils/format/replace.mjs +1 -1
  207. package/esm2022/utils/index.mjs +1 -1
  208. package/esm2022/utils/miscellaneous/is-obscured.mjs +1 -1
  209. package/esm2022/utils/miscellaneous/override-options.mjs +1 -1
  210. package/esm2022/utils/miscellaneous/to-animation-options.mjs +3 -3
  211. package/esm2022/widgets/categories/categories.component.mjs +1 -1
  212. package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +1 -1
  213. package/esm2022/widgets/checklist-block/checklist-block.component.mjs +1 -1
  214. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +1 -1
  215. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +1 -1
  216. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +1 -1
  217. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +1 -1
  218. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +1 -1
  219. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +1 -1
  220. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +3 -3
  221. package/esm2022/widgets/criterion-info-form/criterion-info-form.component.mjs +2 -2
  222. package/esm2022/widgets/criterion-readonly-info/criterion-readonly-info.component.mjs +3 -3
  223. package/esm2022/widgets/delete-modal/delete-modal.component.mjs +2 -2
  224. package/esm2022/widgets/instruction-info/instruction-info.component.mjs +1 -1
  225. package/esm2022/widgets/instruction-readonly-info/instruction-readonly-info.component.mjs +3 -3
  226. package/esm2022/widgets/loader/loader.component.mjs +1 -1
  227. package/esm2022/widgets/select-modal/components/select-modal-search/select-modal-search.component.mjs +3 -3
  228. package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +13 -10
  229. package/esm2022/widgets/user-action-context-menu/constants/index.mjs +1 -1
  230. package/esm2022/widgets/user-action-context-menu/constants/translations.mjs +2 -2
  231. package/esm2022/widgets/user-action-context-menu/services/activity-base.service.mjs +3 -2
  232. package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +3 -3
  233. package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +7 -9
  234. package/esm2022/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +5 -4
  235. package/esm2022/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +3 -2
  236. package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +3 -3
  237. package/esm2022/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +3 -2
  238. package/esm2022/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +2 -2
  239. package/esm2022/widgets/utility-modal/utility-modal.options.mjs +2 -2
  240. package/esm2022/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +1 -1
  241. package/fesm2022/cuby-ui-core.mjs +347 -612
  242. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  243. package/package.json +4 -4
  244. package/styles/fonts.scss +44 -40
  245. package/styles/mixins/buttons.scss +11 -11
  246. package/styles/mixins/flex.scss +13 -13
  247. package/styles/mixins/inputs.scss +70 -70
  248. package/styles/mixins/lists.scss +1 -1
  249. package/styles/mixins/paddings.scss +24 -24
  250. package/styles/mixins/shadows.scss +16 -12
  251. package/styles/mixins/texts.scss +102 -103
  252. package/styles/reset.scss +72 -72
  253. package/styles/theme.scss +135 -135
  254. package/styles/variables/colors.scss +1 -1
  255. package/styles/variables/fonts.scss +1 -1
  256. package/utils/default-validators/create-default-validators.options.d.ts +1 -1
  257. package/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +2 -2
  258. package/widgets/user-action-context-menu/activity-item/activity-item.component.d.ts +1 -1
  259. package/widgets/user-action-context-menu/constants/translations.d.ts +1 -1
  260. package/widgets/user-action-context-menu/services/activity-base.service.d.ts +1 -1
  261. package/widgets/user-action-context-menu/services/activity.service.d.ts +1 -1
  262. package/widgets/user-action-context-menu/user-action-context-menu.component.d.ts +0 -1
  263. package/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +1 -1
  264. package/widgets/utility-modal/utility-modal.options.d.ts +3 -3
@@ -1,221 +1,220 @@
1
1
  @mixin cui-text-regular() {
2
- font-weight: 400;
2
+ font-weight: 400;
3
3
  }
4
4
 
5
5
  @mixin cui-text-medium() {
6
- font-weight: 500;
6
+ font-weight: 500;
7
7
  }
8
8
 
9
9
  @mixin cui-text-semi-bold() {
10
- font-weight: 600;
10
+ font-weight: 600;
11
11
  }
12
12
 
13
13
  @mixin cui-text-bold() {
14
- font-weight: 700;
14
+ font-weight: 700;
15
15
  }
16
16
 
17
17
  @mixin cui-text-xxxs() {
18
- font-size: 10px;
19
- line-height: 12px;
18
+ font-size: 10px;
19
+ line-height: 12px;
20
20
  }
21
21
 
22
22
  @mixin cui-text-xxxs-regular() {
23
- font-weight: 400;
24
- font-size: 10px;
25
- line-height: 12px;
23
+ font-weight: 400;
24
+ font-size: 10px;
25
+ line-height: 12px;
26
26
  }
27
27
 
28
28
  @mixin cui-text-xxxs-medium() {
29
- font-weight: 500;
30
- font-size: 10px;
31
- line-height: 12px;
29
+ font-weight: 500;
30
+ font-size: 10px;
31
+ line-height: 12px;
32
32
  }
33
33
 
34
34
  @mixin cui-text-xxxs-semi-bold() {
35
- font-weight: 600;
36
- font-size: 10px;
37
- line-height: 12px;
35
+ font-weight: 600;
36
+ font-size: 10px;
37
+ line-height: 12px;
38
38
  }
39
39
 
40
40
  @mixin cui-text-xxxs-bold() {
41
- font-weight: 700;
42
- font-size: 10px;
43
- line-height: 12px;
41
+ font-weight: 700;
42
+ font-size: 10px;
43
+ line-height: 12px;
44
44
  }
45
45
 
46
-
47
46
  @mixin cui-text-xxs() {
48
- font-size: 12px;
49
- line-height: 14px;
47
+ font-size: 12px;
48
+ line-height: 14px;
50
49
  }
51
50
 
52
51
  @mixin cui-text-xxs-regular() {
53
- font-weight: 400;
54
- font-size: 12px;
55
- line-height: 14px;
52
+ font-weight: 400;
53
+ font-size: 12px;
54
+ line-height: 14px;
56
55
  }
57
56
 
58
57
  @mixin cui-text-xxs-medium() {
59
- font-weight: 500;
60
- font-size: 12px;
61
- line-height: 14px;
58
+ font-weight: 500;
59
+ font-size: 12px;
60
+ line-height: 14px;
62
61
  }
63
62
 
64
63
  @mixin cui-text-xxs-semi-bold() {
65
- font-weight: 600;
66
- font-size: 12px;
67
- line-height: 14px;
64
+ font-weight: 600;
65
+ font-size: 12px;
66
+ line-height: 14px;
68
67
  }
69
68
 
70
69
  @mixin cui-text-xxs-bold() {
71
- font-weight: 700;
72
- font-size: 12px;
73
- line-height: 14px;
70
+ font-weight: 700;
71
+ font-size: 12px;
72
+ line-height: 14px;
74
73
  }
75
74
 
76
75
  @mixin cui-text-xs() {
77
- font-size: 13px;
78
- line-height: 16px;
76
+ font-size: 13px;
77
+ line-height: 16px;
79
78
  }
80
79
 
81
80
  @mixin cui-text-xs-regular() {
82
- font-weight: 400;
83
- font-size: 13px;
84
- line-height: 16px;
81
+ font-weight: 400;
82
+ font-size: 13px;
83
+ line-height: 16px;
85
84
  }
86
85
 
87
86
  @mixin cui-text-xs-medium() {
88
- font-weight: 500;
89
- font-size: 13px;
90
- line-height: 16px;
87
+ font-weight: 500;
88
+ font-size: 13px;
89
+ line-height: 16px;
91
90
  }
92
91
 
93
92
  @mixin cui-text-xs-semi-bold() {
94
- font-weight: 600;
95
- font-size: 13px;
96
- line-height: 16px;
93
+ font-weight: 600;
94
+ font-size: 13px;
95
+ line-height: 16px;
97
96
  }
98
97
 
99
98
  @mixin cui-text-xs-bold() {
100
- font-weight: 700;
101
- font-size: 13px;
102
- line-height: 16px;
99
+ font-weight: 700;
100
+ font-size: 13px;
101
+ line-height: 16px;
103
102
  }
104
103
 
105
104
  @mixin cui-text-sm() {
106
- font-size: 14px;
107
- line-height: 20px;
105
+ font-size: 14px;
106
+ line-height: 20px;
108
107
  }
109
108
 
110
109
  @mixin cui-text-sm-regular() {
111
- font-weight: 400;
112
- font-size: 14px;
113
- line-height: 20px;
110
+ font-weight: 400;
111
+ font-size: 14px;
112
+ line-height: 20px;
114
113
  }
115
114
 
116
115
  @mixin cui-text-sm-medium() {
117
- font-weight: 500;
118
- font-size: 14px;
119
- line-height: 20px;
116
+ font-weight: 500;
117
+ font-size: 14px;
118
+ line-height: 20px;
120
119
  }
121
120
 
122
121
  @mixin cui-text-sm-semi-bold() {
123
- font-weight: 600;
124
- font-size: 14px;
125
- line-height: 20px;
122
+ font-weight: 600;
123
+ font-size: 14px;
124
+ line-height: 20px;
126
125
  }
127
126
 
128
127
  @mixin cui-text-sm-bold() {
129
- font-weight: 700;
130
- font-size: 14px;
131
- line-height: 20px;
128
+ font-weight: 700;
129
+ font-size: 14px;
130
+ line-height: 20px;
132
131
  }
133
132
 
134
133
  @mixin cui-text-md() {
135
- font-size: 16px;
136
- line-height: 24px;
134
+ font-size: 16px;
135
+ line-height: 24px;
137
136
  }
138
137
 
139
138
  @mixin cui-text-md-regular() {
140
- font-weight: 400;
141
- font-size: 16px;
142
- line-height: 24px;
139
+ font-weight: 400;
140
+ font-size: 16px;
141
+ line-height: 24px;
143
142
  }
144
143
 
145
144
  @mixin cui-text-md-medium() {
146
- font-weight: 500;
147
- font-size: 16px;
148
- line-height: 24px;
145
+ font-weight: 500;
146
+ font-size: 16px;
147
+ line-height: 24px;
149
148
  }
150
149
 
151
150
  @mixin cui-text-md-semi-bold() {
152
- font-weight: 600;
153
- font-size: 16px;
154
- line-height: 24px;
151
+ font-weight: 600;
152
+ font-size: 16px;
153
+ line-height: 24px;
155
154
  }
156
155
 
157
156
  @mixin cui-text-md-bold() {
158
- font-weight: 700;
159
- font-size: 16px;
160
- line-height: 24px;
157
+ font-weight: 700;
158
+ font-size: 16px;
159
+ line-height: 24px;
161
160
  }
162
161
 
163
162
  @mixin cui-text-lg() {
164
- font-size: 18px;
165
- line-height: 28px;
163
+ font-size: 18px;
164
+ line-height: 28px;
166
165
  }
167
166
 
168
167
  @mixin cui-text-lg-regular() {
169
- font-weight: 400;
170
- font-size: 18px;
171
- line-height: 28px;
168
+ font-weight: 400;
169
+ font-size: 18px;
170
+ line-height: 28px;
172
171
  }
173
172
 
174
173
  @mixin cui-text-lg-medium() {
175
- font-weight: 500;
176
- font-size: 18px;
177
- line-height: 28px;
174
+ font-weight: 500;
175
+ font-size: 18px;
176
+ line-height: 28px;
178
177
  }
179
178
 
180
179
  @mixin cui-text-lg-semi-bold() {
181
- font-weight: 600;
182
- font-size: 18px;
183
- line-height: 28px;
180
+ font-weight: 600;
181
+ font-size: 18px;
182
+ line-height: 28px;
184
183
  }
185
184
 
186
185
  @mixin cui-text-lg-bold() {
187
- font-weight: 700;
188
- font-size: 18px;
189
- line-height: 28px;
186
+ font-weight: 700;
187
+ font-size: 18px;
188
+ line-height: 28px;
190
189
  }
191
190
 
192
191
  @mixin cui-text-xl() {
193
- font-size: 20px;
194
- line-height: 30px;
192
+ font-size: 20px;
193
+ line-height: 30px;
195
194
  }
196
195
 
197
196
  @mixin cui-text-xl-regular() {
198
- font-weight: 400;
199
- font-size: 20px;
200
- line-height: 30px;
197
+ font-weight: 400;
198
+ font-size: 20px;
199
+ line-height: 30px;
201
200
  }
202
201
 
203
202
  @mixin cui-text-xl-medium() {
204
- font-weight: 500;
205
- font-size: 20px;
206
- line-height: 30px;
203
+ font-weight: 500;
204
+ font-size: 20px;
205
+ line-height: 30px;
207
206
  }
208
207
 
209
208
  @mixin cui-text-xl-semi-bold() {
210
- font-weight: 600;
211
- font-size: 20px;
212
- line-height: 30px;
209
+ font-weight: 600;
210
+ font-size: 20px;
211
+ line-height: 30px;
213
212
  }
214
213
 
215
214
  @mixin cui-text-xl-bold() {
216
- font-weight: 700;
217
- font-size: 20px;
218
- line-height: 30px;
215
+ font-weight: 700;
216
+ font-size: 20px;
217
+ line-height: 30px;
219
218
  }
220
219
 
221
220
  @mixin cui-text-overflow($wrap: nowrap) {
package/styles/reset.scss CHANGED
@@ -1,111 +1,111 @@
1
1
  /**
2
2
  Нормализация блочной модели
3
3
  */
4
- *,
5
- *::before,
6
- *::after {
7
- box-sizing: border-box;
8
- }
4
+ *,
5
+ *::before,
6
+ *::after {
7
+ box-sizing: border-box;
8
+ }
9
9
 
10
- /**
10
+ /**
11
11
  Убираем внутренние отступы слева тегам списков
12
12
  */
13
- :where(ul, ol) {
14
- padding-left: 0;
15
- }
13
+ :where(ul, ol) {
14
+ padding-left: 0;
15
+ }
16
16
 
17
- /**
17
+ /**
18
18
  Убираем внешние отступы body и двум другим тегам
19
19
  */
20
- body,
21
- :where(blockquote, figure) {
22
- margin: 0;
23
- }
20
+ body,
21
+ :where(blockquote, figure) {
22
+ margin: 0;
23
+ }
24
24
 
25
- /**
25
+ /**
26
26
  Убираем внешние отступы вертикали нужным тегам
27
27
  */
28
- :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, hr) {
29
- margin-block: 0;
30
- }
28
+ :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, hr) {
29
+ margin-block: 0;
30
+ }
31
31
 
32
- :where(dd) {
33
- margin-left: 0;
34
- }
32
+ :where(dd) {
33
+ margin-left: 0;
34
+ }
35
35
 
36
- :where(fieldset) {
37
- margin-left: 0;
38
- padding: 0;
39
- border: none;
40
- }
36
+ :where(fieldset) {
37
+ margin-left: 0;
38
+ padding: 0;
39
+ border: none;
40
+ }
41
41
 
42
- /**
42
+ /**
43
43
  Убираем стандартный маркер маркированному списку
44
44
  */
45
- :where(ul) {
46
- list-style: none;
47
- }
45
+ :where(ul) {
46
+ list-style: none;
47
+ }
48
48
 
49
- /**
49
+ /**
50
50
  Упрощаем работу с изображениями
51
51
  */
52
- img {
53
- display: block;
54
- max-width: 100%;
55
- }
52
+ img {
53
+ display: block;
54
+ max-width: 100%;
55
+ }
56
56
 
57
- /**
57
+ /**
58
58
  Наследуем свойства шрифт для полей ввода
59
59
  */
60
- input,
61
- textarea,
62
- select,
63
- button {
64
- color: inherit;
65
- font: inherit;
66
- }
60
+ input,
61
+ textarea,
62
+ select,
63
+ button {
64
+ color: inherit;
65
+ font: inherit;
66
+ }
67
67
 
68
- button {
69
- cursor: pointer;
70
- background: none;
71
- border: none;
72
- }
68
+ button {
69
+ cursor: pointer;
70
+ background: none;
71
+ border: none;
72
+ }
73
73
 
74
- a {
75
- cursor: pointer;
76
- color: inherit;
77
- text-decoration: none;
78
- }
74
+ a {
75
+ cursor: pointer;
76
+ color: inherit;
77
+ text-decoration: none;
78
+ }
79
79
 
80
- html {
81
- /**
80
+ html {
81
+ /**
82
82
  Пригодится в большинстве ситуаций
83
83
  (когда, например, нужно будет "прижать" футер к низу сайта)
84
84
  */
85
- height: 100%;
85
+ height: 100%;
86
86
 
87
- /**
87
+ /**
88
88
  Плавный скролл
89
89
  */
90
- scroll-behavior: smooth;
91
- }
90
+ scroll-behavior: smooth;
91
+ }
92
92
 
93
- /**
93
+ /**
94
94
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
95
95
  */
96
- svg * {
97
- transition-property: fill, stroke;
98
- }
96
+ svg * {
97
+ transition-property: fill, stroke;
98
+ }
99
99
 
100
- /**
100
+ /**
101
101
  Удаляем все анимации и переходы для людей,
102
102
  которые предпочитают их не использовать
103
103
  */
104
- @media (prefers-reduced-motion: reduce) {
105
- * {
106
- animation-duration: 0.01ms !important;
107
- animation-iteration-count: 1 !important;
108
- transition-duration: 0.01ms !important;
109
- scroll-behavior: auto !important;
110
- }
111
- }
104
+ @media (prefers-reduced-motion: reduce) {
105
+ * {
106
+ animation-duration: 0.01ms !important;
107
+ animation-iteration-count: 1 !important;
108
+ transition-duration: 0.01ms !important;
109
+ scroll-behavior: auto !important;
110
+ }
111
+ }