@cuby-ui/core 0.0.387 → 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 (261) hide show
  1. package/README.md +2 -1
  2. package/components/tabs/tabs.options.d.ts +2 -2
  3. package/components/tabs/tabs.provider.d.ts +2 -2
  4. package/editor/config/custom-elements.d.ts +1 -1
  5. package/editor/interfaces/editor-service.d.ts +1 -1
  6. package/editor/providers/editor-provider.options.d.ts +1 -1
  7. package/editor/providers/editor.provider.d.ts +1 -1
  8. package/editor/services/editor-base.service.d.ts +2 -2
  9. package/editor/services/editor-tools.service.d.ts +1 -1
  10. package/editor/utils/create-tools-data.d.ts +1 -1
  11. package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +1 -1
  12. package/esm2022/animations/animations.mjs +77 -121
  13. package/esm2022/animations/index.mjs +1 -1
  14. package/esm2022/classes/accessors.mjs +2 -2
  15. package/esm2022/classes/driver.mjs +2 -2
  16. package/esm2022/classes/index.mjs +1 -1
  17. package/esm2022/classes/vehicle.mjs +1 -1
  18. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +3 -3
  19. package/esm2022/components/accordion/accordion.component.mjs +1 -1
  20. package/esm2022/components/accordion/accordion.directive.mjs +1 -1
  21. package/esm2022/components/accordion/accordion.module.mjs +6 -22
  22. package/esm2022/components/accordion/index.mjs +1 -1
  23. package/esm2022/components/alert/alert.component.mjs +3 -3
  24. package/esm2022/components/alert/alert.interfaces.mjs +1 -1
  25. package/esm2022/components/alert/alert.module.mjs +6 -25
  26. package/esm2022/components/alert/alert.service.mjs +1 -1
  27. package/esm2022/components/alert/alert.tokens.mjs +1 -1
  28. package/esm2022/components/alert/alert.types.mjs +1 -1
  29. package/esm2022/components/alert/alerts.component.mjs +5 -7
  30. package/esm2022/components/badge/badge.component.mjs +3 -3
  31. package/esm2022/components/badge/badge.module.mjs +1 -1
  32. package/esm2022/components/banner/banner.component.mjs +4 -4
  33. package/esm2022/components/banner/banner.module.mjs +4 -14
  34. package/esm2022/components/banner/banner.options.mjs +1 -1
  35. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +1 -1
  36. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
  37. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +6 -19
  38. package/esm2022/components/breadcrumbs/index.mjs +1 -1
  39. package/esm2022/components/button/button.component.mjs +3 -3
  40. package/esm2022/components/button/button.module.mjs +4 -9
  41. package/esm2022/components/button/button.options.mjs +1 -1
  42. package/esm2022/components/button/index.mjs +1 -1
  43. package/esm2022/components/button-group/button-group.component.mjs +1 -1
  44. package/esm2022/components/button-group/button-group.module.mjs +1 -1
  45. package/esm2022/components/card-wrapper/card-wrapper.component.mjs +1 -1
  46. package/esm2022/components/checkbox/checkbox.component.mjs +1 -1
  47. package/esm2022/components/checkbox/checkbox.module.mjs +1 -1
  48. package/esm2022/components/checkbox/index.mjs +1 -1
  49. package/esm2022/components/context-menu/context-menu.component.mjs +6 -11
  50. package/esm2022/components/context-menu/context-menu.module.mjs +4 -9
  51. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +3 -3
  52. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +3 -3
  53. package/esm2022/components/dialog/dialog.component.mjs +5 -5
  54. package/esm2022/components/dialog/dialog.interfaces.mjs +1 -1
  55. package/esm2022/components/dialog/dialog.module.mjs +6 -31
  56. package/esm2022/components/dialog/dialog.service.mjs +1 -1
  57. package/esm2022/components/dialog/dialog.tokens.mjs +1 -1
  58. package/esm2022/components/dialog/dialogs.component.mjs +6 -8
  59. package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +3 -3
  60. package/esm2022/components/dropdown/dropdown.directive.mjs +2 -2
  61. package/esm2022/components/empty-state/empty-state.component.mjs +1 -1
  62. package/esm2022/components/form-field/form-field.component.mjs +1 -1
  63. package/esm2022/components/form-field/form-field.module.mjs +1 -1
  64. package/esm2022/components/hint/hint.component.mjs +1 -1
  65. package/esm2022/components/hint/hint.module.mjs +1 -1
  66. package/esm2022/components/icon-button/icon-button.component.mjs +3 -3
  67. package/esm2022/components/icon-button/icon-button.module.mjs +4 -9
  68. package/esm2022/components/icon-button/index.mjs +1 -1
  69. package/esm2022/components/input-number/input-number.component.mjs +3 -9
  70. package/esm2022/components/input-number/input-number.module.mjs +5 -19
  71. package/esm2022/components/input-password/input-password.component.mjs +3 -9
  72. package/esm2022/components/input-password/input-password.module.mjs +5 -17
  73. package/esm2022/components/input-text/input-text.component.mjs +3 -9
  74. package/esm2022/components/input-text/input-text.module.mjs +5 -17
  75. package/esm2022/components/input-time/index.mjs +1 -1
  76. package/esm2022/components/input-time/input-time.component.mjs +3 -9
  77. package/esm2022/components/input-time/input-time.module.mjs +5 -19
  78. package/esm2022/components/input-time/input-time.options.mjs +1 -1
  79. package/esm2022/components/label/label.component.mjs +3 -3
  80. package/esm2022/components/label/label.module.mjs +1 -1
  81. package/esm2022/components/layout/layout.component.mjs +1 -1
  82. package/esm2022/components/notification/notification.component.mjs +3 -3
  83. package/esm2022/components/notification/notification.module.mjs +4 -9
  84. package/esm2022/components/notification/notification.options.mjs +4 -4
  85. package/esm2022/components/radio/radio.component.mjs +1 -1
  86. package/esm2022/components/radio/radio.module.mjs +1 -1
  87. package/esm2022/components/root/root.component.mjs +4 -5
  88. package/esm2022/components/root/root.module.mjs +4 -14
  89. package/esm2022/components/root/root.options.mjs +1 -1
  90. package/esm2022/components/select/select.component.mjs +12 -13
  91. package/esm2022/components/select/select.module.mjs +5 -16
  92. package/esm2022/components/sidebar/index.mjs +1 -1
  93. package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  94. package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +3 -3
  95. package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +1 -1
  96. package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +3 -3
  97. package/esm2022/components/sidebar/sidebar.options.mjs +1 -1
  98. package/esm2022/components/svg/svg.component.mjs +4 -6
  99. package/esm2022/components/svg/svg.module.mjs +1 -1
  100. package/esm2022/components/tab/tab.component.mjs +2 -2
  101. package/esm2022/components/tabs/services/tabs.service.mjs +1 -1
  102. package/esm2022/components/tabs/tabs.options.mjs +1 -1
  103. package/esm2022/components/tabs/tabs.provider.mjs +5 -5
  104. package/esm2022/components/textarea/textarea.component.mjs +1 -1
  105. package/esm2022/components/textarea/textarea.module.mjs +1 -1
  106. package/esm2022/components/toggle/index.mjs +1 -1
  107. package/esm2022/components/toggle/toggle.component.mjs +1 -1
  108. package/esm2022/components/toggle/toggle.module.mjs +1 -1
  109. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +1 -1
  110. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +1 -1
  111. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +1 -1
  112. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +1 -1
  113. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +1 -1
  114. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +1 -1
  115. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +1 -1
  116. package/esm2022/directives/text-field-controller/text-field.controller.mjs +1 -1
  117. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +4 -4
  118. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +2 -2
  119. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +2 -2
  120. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +6 -9
  121. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +2 -2
  122. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +6 -6
  123. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +5 -5
  124. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +3 -3
  125. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +6 -14
  126. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +5 -5
  127. package/esm2022/directives/tooltip/tooltip.component.mjs +21 -25
  128. package/esm2022/directives/tooltip/tooltip.directive.mjs +9 -9
  129. package/esm2022/directives/tooltip/tooltip.mjs +2 -2
  130. package/esm2022/directives/tooltip/tooltip.providers.mjs +1 -1
  131. package/esm2022/directives/tooltip/tooltip.service.mjs +2 -2
  132. package/esm2022/directives/tooltip/tooltips.component.mjs +5 -5
  133. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +3 -3
  134. package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +3 -3
  135. package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +1 -1
  136. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +1 -1
  137. package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +3 -3
  138. package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +3 -3
  139. package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +1 -1
  140. package/esm2022/editor/components/index.mjs +1 -1
  141. package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +3 -3
  142. package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +1 -1
  143. package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +3 -3
  144. package/esm2022/editor/components/marker-select/marker-select.component.mjs +3 -3
  145. package/esm2022/editor/config/custom-elements.mjs +2 -2
  146. package/esm2022/editor/config/editor.provider.mjs +3 -3
  147. package/esm2022/editor/constants/editor.constants.mjs +2 -2
  148. package/esm2022/editor/editor.component.mjs +2 -2
  149. package/esm2022/editor/index.mjs +1 -1
  150. package/esm2022/editor/interfaces/blocks-request-data.mjs +1 -1
  151. package/esm2022/editor/interfaces/combined-block-adding-event.mjs +1 -1
  152. package/esm2022/editor/interfaces/combined-block-data.mjs +1 -1
  153. package/esm2022/editor/interfaces/combined-part-block-data.mjs +1 -1
  154. package/esm2022/editor/interfaces/editor-service.mjs +1 -1
  155. package/esm2022/editor/interfaces/file-response-data.mjs +1 -1
  156. package/esm2022/editor/interfaces/full-block-data.mjs +1 -1
  157. package/esm2022/editor/interfaces/index.mjs +1 -1
  158. package/esm2022/editor/interfaces/main-editor-config.mjs +1 -1
  159. package/esm2022/editor/interfaces/mutation-actions.mjs +1 -1
  160. package/esm2022/editor/interfaces/parent.mjs +1 -1
  161. package/esm2022/editor/interfaces/tune.mjs +1 -1
  162. package/esm2022/editor/providers/editor-provider.options.mjs +2 -2
  163. package/esm2022/editor/providers/editor.provider.mjs +2 -2
  164. package/esm2022/editor/services/editor-base.service.mjs +5 -5
  165. package/esm2022/editor/services/editor-tools.service.mjs +2 -2
  166. package/esm2022/editor/services/editor.service.mjs +1 -1
  167. package/esm2022/editor/services/jtext-api.service.mjs +1 -1
  168. package/esm2022/editor/tools/attaches.tool.mjs +1 -1
  169. package/esm2022/editor/tools/combined-text-block.tool.mjs +1 -1
  170. package/esm2022/editor/tools/custom-marker.tool.mjs +1 -1
  171. package/esm2022/editor/tools/image.tool.mjs +2 -2
  172. package/esm2022/editor/tools/link-marker.tool.mjs +1 -1
  173. package/esm2022/editor/tools/marker.tool.mjs +1 -1
  174. package/esm2022/editor/tools/selection-base.tool.mjs +1 -1
  175. package/esm2022/editor/tools/video.tool.mjs +2 -2
  176. package/esm2022/editor/utils/copy-text-to-clipboard.mjs +1 -1
  177. package/esm2022/editor/utils/create-tools-data.mjs +2 -2
  178. package/esm2022/editor/utils/file-uploader.mjs +1 -1
  179. package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +1 -1
  180. package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +2 -7
  181. package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +3 -3
  182. package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +1 -1
  183. package/esm2022/interfaces/context-menu-item.mjs +1 -1
  184. package/esm2022/interfaces/option.mjs +1 -1
  185. package/esm2022/services/auth.service.mjs +1 -1
  186. package/esm2022/services/index.mjs +1 -1
  187. package/esm2022/services/loader.options.mjs +1 -1
  188. package/esm2022/services/loader.service.mjs +1 -1
  189. package/esm2022/services/position.service.mjs +1 -1
  190. package/esm2022/services/theme.options.mjs +1 -1
  191. package/esm2022/services/theme.service.mjs +3 -3
  192. package/esm2022/services/token.service.mjs +3 -2
  193. package/esm2022/services/visual-viewport.service.mjs +3 -3
  194. package/esm2022/tokens/animations-speed.mjs +2 -2
  195. package/esm2022/tokens/index.mjs +1 -1
  196. package/esm2022/tokens/reduced-motion.mjs +2 -3
  197. package/esm2022/tokens/viewport.mjs +4 -4
  198. package/esm2022/types/point.mjs +1 -1
  199. package/esm2022/types/portal-item.mjs +1 -1
  200. package/esm2022/utils/default-validators/create-default-validators.options.mjs +1 -1
  201. package/esm2022/utils/default-validators/index.mjs +1 -1
  202. package/esm2022/utils/format/remove-spaces.mjs +1 -1
  203. package/esm2022/utils/format/replace.mjs +1 -1
  204. package/esm2022/utils/index.mjs +1 -1
  205. package/esm2022/utils/miscellaneous/is-obscured.mjs +1 -1
  206. package/esm2022/utils/miscellaneous/override-options.mjs +1 -1
  207. package/esm2022/utils/miscellaneous/to-animation-options.mjs +3 -3
  208. package/esm2022/widgets/categories/categories.component.mjs +1 -1
  209. package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +1 -1
  210. package/esm2022/widgets/checklist-block/checklist-block.component.mjs +1 -1
  211. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +1 -1
  212. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +1 -1
  213. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +1 -1
  214. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +1 -1
  215. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +1 -1
  216. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +1 -1
  217. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +3 -3
  218. package/esm2022/widgets/criterion-info-form/criterion-info-form.component.mjs +2 -2
  219. package/esm2022/widgets/criterion-readonly-info/criterion-readonly-info.component.mjs +3 -3
  220. package/esm2022/widgets/delete-modal/delete-modal.component.mjs +2 -2
  221. package/esm2022/widgets/instruction-info/instruction-info.component.mjs +1 -1
  222. package/esm2022/widgets/instruction-readonly-info/instruction-readonly-info.component.mjs +3 -3
  223. package/esm2022/widgets/loader/loader.component.mjs +1 -1
  224. package/esm2022/widgets/select-modal/components/select-modal-search/select-modal-search.component.mjs +3 -3
  225. package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +13 -10
  226. package/esm2022/widgets/user-action-context-menu/constants/index.mjs +1 -1
  227. package/esm2022/widgets/user-action-context-menu/constants/translations.mjs +2 -2
  228. package/esm2022/widgets/user-action-context-menu/services/activity-base.service.mjs +3 -2
  229. package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +3 -3
  230. package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +7 -9
  231. package/esm2022/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +5 -4
  232. package/esm2022/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +3 -2
  233. package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +3 -3
  234. package/esm2022/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +3 -2
  235. package/esm2022/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +2 -2
  236. package/esm2022/widgets/utility-modal/utility-modal.options.mjs +2 -2
  237. package/esm2022/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +1 -1
  238. package/fesm2022/cuby-ui-core.mjs +338 -610
  239. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  240. package/package.json +4 -4
  241. package/styles/fonts.scss +44 -40
  242. package/styles/mixins/buttons.scss +11 -11
  243. package/styles/mixins/flex.scss +13 -13
  244. package/styles/mixins/inputs.scss +70 -70
  245. package/styles/mixins/lists.scss +1 -1
  246. package/styles/mixins/paddings.scss +24 -24
  247. package/styles/mixins/shadows.scss +16 -12
  248. package/styles/mixins/texts.scss +102 -103
  249. package/styles/reset.scss +72 -72
  250. package/styles/theme.scss +135 -135
  251. package/styles/variables/colors.scss +1 -1
  252. package/styles/variables/fonts.scss +1 -1
  253. package/utils/default-validators/create-default-validators.options.d.ts +1 -1
  254. package/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +2 -2
  255. package/widgets/user-action-context-menu/activity-item/activity-item.component.d.ts +1 -1
  256. package/widgets/user-action-context-menu/constants/translations.d.ts +1 -1
  257. package/widgets/user-action-context-menu/services/activity-base.service.d.ts +1 -1
  258. package/widgets/user-action-context-menu/services/activity.service.d.ts +1 -1
  259. package/widgets/user-action-context-menu/user-action-context-menu.component.d.ts +0 -1
  260. package/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +1 -1
  261. package/widgets/utility-modal/utility-modal.options.d.ts +3 -3
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.387",
3
+ "version": "0.0.388",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
7
7
  "@angular/elements": ">=18.0.0",
8
8
  "@angular/forms": ">=18.0.0",
9
- "@cuby-ui/api": "^0.0.387",
10
- "@cuby-ui/cdk": "^0.0.387",
11
- "@cuby-ui/icons": "^0.0.387",
9
+ "@cuby-ui/api": "^0.0.388",
10
+ "@cuby-ui/cdk": "^0.0.388",
11
+ "@cuby-ui/icons": "^0.0.388",
12
12
  "@editorjs/editorjs": "2.29.1",
13
13
  "@editorjs/header": "^2.8.1",
14
14
  "@editorjs/list": "^1.9.0",
package/styles/fonts.scss CHANGED
@@ -1,51 +1,55 @@
1
1
  @font-face {
2
- font-family: Inter;
3
- font-style: normal;
4
- font-weight: 400;
5
- src: url('../fonts/Inter-Regular.eot');
6
- src: url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
7
- url('../fonts/Inter-Regular.woff2') format('woff2'),
8
- url('../fonts/Inter-Regular.woff') format('woff'),
9
- url('../fonts/Inter-Regular.ttf') format('truetype'),
10
- url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
11
- url('../fonts/Inter-Regular.otf') format('otf');
2
+ font-family: Inter;
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ src: url('../fonts/Inter-Regular.eot');
6
+ src:
7
+ url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
8
+ url('../fonts/Inter-Regular.woff2') format('woff2'),
9
+ url('../fonts/Inter-Regular.woff') format('woff'),
10
+ url('../fonts/Inter-Regular.ttf') format('truetype'),
11
+ url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
12
+ url('../fonts/Inter-Regular.otf') format('otf');
12
13
  }
13
14
 
14
15
  @font-face {
15
- font-family: Inter;
16
- font-style: normal;
17
- font-weight: 500;
18
- src: url('../fonts/Inter-Medium.eot');
19
- src: url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
20
- url('../fonts/Inter-Medium.woff2') format('woff2'),
21
- url('../fonts/Inter-Medium.woff') format('woff'),
22
- url('../fonts/Inter-Medium.ttf') format('truetype'),
23
- url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
24
- url('../fonts/Inter-Medium.otf') format('otf');
16
+ font-family: Inter;
17
+ font-style: normal;
18
+ font-weight: 500;
19
+ src: url('../fonts/Inter-Medium.eot');
20
+ src:
21
+ url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
22
+ url('../fonts/Inter-Medium.woff2') format('woff2'),
23
+ url('../fonts/Inter-Medium.woff') format('woff'),
24
+ url('../fonts/Inter-Medium.ttf') format('truetype'),
25
+ url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
26
+ url('../fonts/Inter-Medium.otf') format('otf');
25
27
  }
26
28
 
27
29
  @font-face {
28
- font-family: Inter;
29
- font-style: normal;
30
- font-weight: 600;
31
- src: url('../fonts/Inter-SemiBold.eot');
32
- src: url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
33
- url('../fonts/Inter-SemiBold.woff2') format('woff2'),
34
- url('../fonts/Inter-SemiBold.woff') format('woff'),
35
- url('../fonts/Inter-SemiBold.ttf') format('truetype'),
36
- url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
37
- url('../fonts/Inter-SemiBold.otf') format('otf');
30
+ font-family: Inter;
31
+ font-style: normal;
32
+ font-weight: 600;
33
+ src: url('../fonts/Inter-SemiBold.eot');
34
+ src:
35
+ url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
36
+ url('../fonts/Inter-SemiBold.woff2') format('woff2'),
37
+ url('../fonts/Inter-SemiBold.woff') format('woff'),
38
+ url('../fonts/Inter-SemiBold.ttf') format('truetype'),
39
+ url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
40
+ url('../fonts/Inter-SemiBold.otf') format('otf');
38
41
  }
39
42
 
40
43
  @font-face {
41
- font-family: Inter;
42
- font-style: normal;
43
- font-weight: 700;
44
- src: url('../fonts/Inter-Bold.eot');
45
- src: url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
46
- url('../fonts/Inter-Bold.woff2') format('woff2'),
47
- url('../fonts/Inter-Bold.woff') format('woff'),
48
- url('../fonts/Inter-Bold.ttf') format('truetype'),
49
- url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
50
- url('../fonts/Inter-Bold.otf') format('otf');
44
+ font-family: Inter;
45
+ font-style: normal;
46
+ font-weight: 700;
47
+ src: url('../fonts/Inter-Bold.eot');
48
+ src:
49
+ url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
50
+ url('../fonts/Inter-Bold.woff2') format('woff2'),
51
+ url('../fonts/Inter-Bold.woff') format('woff'),
52
+ url('../fonts/Inter-Bold.ttf') format('truetype'),
53
+ url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
54
+ url('../fonts/Inter-Bold.otf') format('otf');
51
55
  }
@@ -1,13 +1,13 @@
1
1
  @mixin cui-clear-button() {
2
- padding: 0;
3
- border: 0;
4
- flex-shrink: 0;
5
- outline: none;
6
- cursor: pointer;
7
- appearance: none;
8
- color: inherit;
9
- font: inherit;
10
- background: inherit;
11
- text-decoration: none;
12
- -webkit-tap-highlight-color: transparent;
2
+ padding: 0;
3
+ border: 0;
4
+ flex-shrink: 0;
5
+ outline: none;
6
+ cursor: pointer;
7
+ appearance: none;
8
+ color: inherit;
9
+ font: inherit;
10
+ background: inherit;
11
+ text-decoration: none;
12
+ -webkit-tap-highlight-color: transparent;
13
13
  }
@@ -1,21 +1,21 @@
1
1
  @mixin cui-flex($gap: 0, $direction: row) {
2
- display: flex;
2
+ display: flex;
3
3
 
4
- @if ($direction != row) {
5
- flex-direction: $direction;
6
- }
4
+ @if ($direction != row) {
5
+ flex-direction: $direction;
6
+ }
7
7
 
8
- @if ($gap != 0) {
9
- gap: $gap;
10
- }
8
+ @if ($gap != 0) {
9
+ gap: $gap;
10
+ }
11
11
  }
12
12
 
13
13
  @mixin cui-flex-alignment($alignItems: stretch, $justifyContent: flex-start) {
14
- @if ($alignItems != stretch) {
15
- align-items: $alignItems;
16
- }
14
+ @if ($alignItems != stretch) {
15
+ align-items: $alignItems;
16
+ }
17
17
 
18
- @if ($justifyContent != flex-start) {
19
- justify-content: $justifyContent;
20
- }
18
+ @if ($justifyContent != flex-start) {
19
+ justify-content: $justifyContent;
20
+ }
21
21
  }
@@ -6,86 +6,86 @@
6
6
  @use './buttons' as buttons;
7
7
 
8
8
  @mixin cui-clear-input() {
9
- padding: 0;
10
- outline: none;
11
- margin: 0;
12
- border-width: 0;
13
- appearance: none;
14
- caret-color: currentColor;
15
- background: none;
16
- color: inherit;
17
- font: inherit;
18
- line-height: inherit;
9
+ padding: 0;
10
+ outline: none;
11
+ margin: 0;
12
+ border-width: 0;
13
+ appearance: none;
14
+ caret-color: currentColor;
15
+ background: none;
16
+ color: inherit;
17
+ font: inherit;
18
+ line-height: inherit;
19
19
  }
20
20
 
21
21
  @mixin cui-default-input() {
22
- :host {
23
- $border-width: 1px;
24
-
25
- @include paddings.cui-padding(horizontal, 1.75, $border-width);
26
- @include texts.cui-text-sm-regular();
27
-
28
- display: flex;
29
- align-items: center;
30
- gap: 8px;
31
- border: $border-width solid colors.$cui-base-200;
32
- border-radius: 8px;
33
- cursor: text;
34
- background: colors.$cui-input;
35
- color: colors.$cui-base-900;
36
- font-family: fonts.$cui-main-font;
37
-
38
- &:hover {
39
- border-color: colors.$cui-base-300;
22
+ :host {
23
+ $border-width: 1px;
24
+
25
+ @include paddings.cui-padding(horizontal, 1.75, $border-width);
26
+ @include texts.cui-text-sm-regular();
27
+
28
+ display: flex;
29
+ align-items: center;
30
+ gap: 8px;
31
+ border: $border-width solid colors.$cui-base-200;
32
+ border-radius: 8px;
33
+ cursor: text;
34
+ background: colors.$cui-input;
35
+ color: colors.$cui-base-900;
36
+ font-family: fonts.$cui-main-font;
37
+
38
+ &:hover {
39
+ border-color: colors.$cui-base-300;
40
+ }
41
+
42
+ &:focus-within {
43
+ @include shadows.cui-shadow-focused();
44
+
45
+ border-color: colors.$cui-info;
46
+ }
47
+
48
+ &[data-size='sm'] {
49
+ @include paddings.cui-padding(vertical, 1, $border-width);
50
+ }
51
+
52
+ &[data-size='md'] {
53
+ @include paddings.cui-padding(vertical, 1.125, $border-width);
54
+ }
55
+
56
+ &._disabled {
57
+ cursor: not-allowed;
58
+ opacity: 0.5;
59
+ background: colors.$cui-base-50;
60
+ border-color: colors.$cui-base-200;
61
+ }
62
+
63
+ &._with-error {
64
+ border-color: colors.$cui-danger;
65
+
66
+ &:focus-within {
67
+ @include shadows.cui-shadow-error-focused();
68
+ }
69
+ }
40
70
  }
41
71
 
42
- &:focus-within {
43
- @include shadows.cui-shadow-focused();
72
+ .c-input {
73
+ @include cui-clear-input();
44
74
 
45
- border-color: colors.$cui-info;
46
- }
47
-
48
- &[data-size='sm'] {
49
- @include paddings.cui-padding(vertical, 1, $border-width);
50
- }
51
-
52
- &[data-size='md'] {
53
- @include paddings.cui-padding(vertical, 1.125, $border-width);
54
- }
55
-
56
- &._disabled {
57
- cursor: not-allowed;
58
- opacity: 0.5;
59
- background: colors.$cui-base-50;
60
- border-color: colors.$cui-base-200;
61
- }
75
+ width: 100%;
62
76
 
63
- &._with-error {
64
- border-color: colors.$cui-danger;
77
+ &:disabled {
78
+ cursor: not-allowed;
79
+ }
65
80
 
66
- &:focus-within {
67
- @include shadows.cui-shadow-error-focused();
68
- }
81
+ &::placeholder {
82
+ color: colors.$cui-base-400;
83
+ }
69
84
  }
70
- }
71
-
72
- .c-input {
73
- @include cui-clear-input();
74
-
75
- width: 100%;
76
85
 
77
- &:disabled {
78
- cursor: not-allowed;
79
- }
86
+ .c-button {
87
+ @include buttons.cui-clear-button();
80
88
 
81
- &::placeholder {
82
- color: colors.$cui-base-400;
89
+ display: flex;
83
90
  }
84
- }
85
-
86
- .c-button {
87
- @include buttons.cui-clear-button();
88
-
89
- display: flex;
90
- }
91
91
  }
@@ -11,7 +11,7 @@
11
11
  @mixin cui-line-between-items($offset, $style: solid, $width: 1px) {
12
12
  position: relative;
13
13
 
14
- &>* {
14
+ & > * {
15
15
  z-index: 1;
16
16
  }
17
17
 
@@ -1,35 +1,35 @@
1
1
  $space: 8px;
2
2
 
3
3
  @mixin cui-padding($direction, $size, $offset: 0) {
4
- $padding: $space * $size - $offset;
4
+ $padding: $space * $size - $offset;
5
5
 
6
- @if ($direction == all) {
7
- padding: $padding;
8
- }
6
+ @if ($direction == all) {
7
+ padding: $padding;
8
+ }
9
9
 
10
- @if ($direction == top) {
11
- padding-top: $padding;
12
- }
10
+ @if ($direction == top) {
11
+ padding-top: $padding;
12
+ }
13
13
 
14
- @if ($direction == bottom) {
15
- padding-bottom: $padding;
16
- }
14
+ @if ($direction == bottom) {
15
+ padding-bottom: $padding;
16
+ }
17
17
 
18
- @if ($direction == vertical) {
19
- padding-top: $padding;
20
- padding-bottom: $padding;
21
- }
18
+ @if ($direction == vertical) {
19
+ padding-top: $padding;
20
+ padding-bottom: $padding;
21
+ }
22
22
 
23
- @if ($direction == left) {
24
- padding-left: $padding;
25
- }
23
+ @if ($direction == left) {
24
+ padding-left: $padding;
25
+ }
26
26
 
27
- @if ($direction == right) {
28
- padding-right: $padding;
29
- }
27
+ @if ($direction == right) {
28
+ padding-right: $padding;
29
+ }
30
30
 
31
- @if ($direction == horizontal) {
32
- padding-right: $padding;
33
- padding-left: $padding;
34
- }
31
+ @if ($direction == horizontal) {
32
+ padding-right: $padding;
33
+ padding-left: $padding;
34
+ }
35
35
  }
@@ -2,37 +2,41 @@
2
2
  // TODO: вынести все цвета в перемнные
3
3
 
4
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);
5
+ box-shadow:
6
+ 0 1px 4px 0 rgba(0, 0, 0, 0.04),
7
+ 0 1px 4px 0 rgba(0, 0, 0, 0.04);
7
8
  }
8
9
 
9
10
  @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);
11
+ box-shadow:
12
+ 0 1px 2px 0 rgba(0, 0, 0, 0.06),
13
+ 0 1px 3px 0 rgba(0, 0, 0, 0.1);
12
14
  }
13
15
 
14
16
  @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
+ box-shadow:
18
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06),
19
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1);
17
20
  }
18
21
 
19
22
  @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);
23
+ box-shadow:
24
+ 0 4px 6px -2px rgba(0, 0, 0, 0.05),
25
+ 0 10px 15px -3px rgba(0, 0, 0, 0.1);
22
26
  }
23
27
 
24
28
  @mixin cui-shadow-right() {
25
- box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.05);
29
+ box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.05);
26
30
  }
27
31
 
28
32
  @mixin cui-shadow-left() {
29
- box-shadow: -5px 0 4px 0 rgba(0, 0, 0, 0.05);
33
+ box-shadow: -5px 0 4px 0 rgba(0, 0, 0, 0.05);
30
34
  }
31
35
 
32
36
  @mixin cui-shadow-focused() {
33
- box-shadow: 0 0 0 2px colors.$cui-focus;
37
+ box-shadow: 0 0 0 2px colors.$cui-focus;
34
38
  }
35
39
 
36
40
  @mixin cui-shadow-error-focused() {
37
- box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25);
41
+ box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25);
38
42
  }