@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
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './components';
2
- export * from './directives';
3
- export * from './interfaces';
4
- export * from './services';
5
- export * from './types';
6
- export * from './utils';
1
+ export * from './components';
2
+ export * from './directives';
3
+ export * from './interfaces';
4
+ export * from './services';
5
+ export * from './types';
6
+ export * from './utils';
@@ -1,7 +1,7 @@
1
- import type { CuiIcon } from '@cuby-ui/icons';
2
- export interface CuiContextMenuItem {
3
- readonly label: string;
4
- readonly icon?: CuiIcon | string;
5
- readonly color?: string;
6
- readonly command?: () => void;
7
- }
1
+ import type { CuiIcon } from '@cuby-ui/icons';
2
+ export interface CuiContextMenuItem {
3
+ readonly label: string;
4
+ readonly icon?: CuiIcon | string;
5
+ readonly color?: string;
6
+ readonly command?: () => void;
7
+ }
@@ -1,2 +1,2 @@
1
- export * from './context-menu-item';
2
- export * from './option';
1
+ export * from './context-menu-item';
2
+ export * from './option';
@@ -1,5 +1,5 @@
1
- export interface CuiOption {
2
- readonly label: string;
3
- readonly value: unknown;
4
- readonly isDisabled?: boolean;
5
- }
1
+ export interface CuiOption {
2
+ readonly label: string;
3
+ readonly value: unknown;
4
+ readonly isDisabled?: boolean;
5
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.163",
3
+ "version": "0.0.165",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.0.0",
6
6
  "@angular/core": ">=15.0.0",
7
7
  "@angular/forms": ">=15.0.0",
8
- "@cuby-ui/cdk": "^0.0.163",
9
- "@cuby-ui/icons": "^0.0.163",
8
+ "@cuby-ui/cdk": "^0.0.165",
9
+ "@cuby-ui/icons": "^0.0.165",
10
10
  "@maskito/angular": "^2.5.0",
11
11
  "@maskito/core": "^2.5.0",
12
12
  "@maskito/kit": "^2.5.0",
@@ -1,2 +1,2 @@
1
- export * from './theme.options';
2
- export * from './theme.service';
1
+ export * from './theme.options';
2
+ export * from './theme.service';
@@ -1,5 +1,5 @@
1
- export type CuiTheme = 'light' | 'dark';
2
- export declare const CUI_THEME_STORAGE_DEFAULT_KEY = "cuiTheme";
3
- export declare const CUI_DEFAULT_THEME: CuiTheme;
4
- export declare const CUI_THEME_STORAGE_KEY: import("@angular/core").InjectionToken<string>;
5
- export declare const CUI_THEME: import("@angular/core").InjectionToken<CuiTheme>;
1
+ export type CuiTheme = 'light' | 'dark';
2
+ export declare const CUI_THEME_STORAGE_DEFAULT_KEY = "cuiTheme";
3
+ export declare const CUI_DEFAULT_THEME: CuiTheme;
4
+ export declare const CUI_THEME_STORAGE_KEY: import("@angular/core").InjectionToken<string>;
5
+ export declare const CUI_THEME: import("@angular/core").InjectionToken<CuiTheme>;
@@ -1,12 +1,12 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import type { CuiTheme } from './theme.options';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiThemeService extends BehaviorSubject<CuiTheme> {
5
- private readonly localStorage;
6
- private readonly key;
7
- constructor();
8
- next(theme: CuiTheme): void;
9
- switch(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiThemeService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<CuiThemeService>;
12
- }
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import type { CuiTheme } from './theme.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiThemeService extends BehaviorSubject<CuiTheme> {
5
+ private readonly localStorage;
6
+ private readonly key;
7
+ constructor();
8
+ next(theme: CuiTheme): void;
9
+ switch(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiThemeService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<CuiThemeService>;
12
+ }
package/styles/fonts.scss CHANGED
@@ -1,51 +1,51 @@
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');
12
- }
13
-
14
- @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');
25
- }
26
-
27
- @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');
38
- }
39
-
40
- @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');
51
- }
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');
12
+ }
13
+
14
+ @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');
25
+ }
26
+
27
+ @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');
38
+ }
39
+
40
+ @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');
51
+ }
@@ -1,9 +1,9 @@
1
- @forward 'mixins/buttons';
2
- @forward 'mixins/headings';
3
- @forward 'mixins/inputs';
4
- @forward 'mixins/lists';
5
- @forward 'mixins/paddings';
6
- @forward 'mixins/shadows';
7
- @forward 'mixins/texts';
8
- @forward 'variables/colors';
9
- @forward 'variables/fonts';
1
+ @forward 'mixins/buttons';
2
+ @forward 'mixins/headings';
3
+ @forward 'mixins/inputs';
4
+ @forward 'mixins/lists';
5
+ @forward 'mixins/paddings';
6
+ @forward 'mixins/shadows';
7
+ @forward 'mixins/texts';
8
+ @forward 'variables/colors';
9
+ @forward 'variables/fonts';
@@ -1,13 +1,13 @@
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;
13
- }
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;
13
+ }
@@ -1,115 +1,115 @@
1
- @mixin cui-heading-xs {
2
- font-size: 24px;
3
- line-height: 32px;
4
- }
5
-
6
- @mixin cui-heading-xs-regular {
7
- font-weight: 400;
8
- font-size: 24px;
9
- line-height: 32px;
10
- }
11
-
12
- @mixin cui-heading-xs-medium {
13
- font-weight: 500;
14
- font-size: 24px;
15
- line-height: 32px;
16
- }
17
-
18
- @mixin cui-heading-xs-semi-bold {
19
- font-weight: 600;
20
- font-size: 24px;
21
- line-height: 32px;
22
- }
23
-
24
- @mixin cui-heading-xs-bold {
25
- font-weight: 700;
26
- font-size: 24px;
27
- line-height: 32px;
28
- }
29
-
30
- @mixin cui-heading-sm {
31
- font-size: 30px;
32
- line-height: 38px;
33
- }
34
-
35
- @mixin cui-heading-sm-regular {
36
- font-weight: 400;
37
- font-size: 30px;
38
- line-height: 38px;
39
- }
40
-
41
- @mixin cui-heading-sm-medium {
42
- font-weight: 500;
43
- font-size: 30px;
44
- line-height: 38px;
45
- }
46
-
47
- @mixin cui-heading-sm-semi-bold {
48
- font-weight: 600;
49
- font-size: 30px;
50
- line-height: 38px;
51
- }
52
-
53
- @mixin cui-heading-sm-bold {
54
- font-weight: 700;
55
- font-size: 30px;
56
- line-height: 38px;
57
- }
58
-
59
- @mixin cui-heading-md {
60
- font-size: 36px;
61
- line-height: 44px;
62
- }
63
-
64
- @mixin cui-heading-md-regular {
65
- font-weight: 400;
66
- font-size: 36px;
67
- line-height: 44px;
68
- }
69
-
70
- @mixin cui-heading-md-medium {
71
- font-weight: 500;
72
- font-size: 36px;
73
- line-height: 44px;
74
- }
75
-
76
- @mixin cui-heading-md-semi-bold {
77
- font-weight: 600;
78
- font-size: 36px;
79
- line-height: 44px;
80
- }
81
-
82
- @mixin cui-heading-md-bold {
83
- font-weight: 700;
84
- font-size: 36px;
85
- line-height: 44px;
86
- }
87
-
88
- @mixin cui-heading-lg {
89
- font-size: 48px;
90
- line-height: 60px;
91
- }
92
-
93
- @mixin cui-heading-lg-regular {
94
- font-weight: 400;
95
- font-size: 48px;
96
- line-height: 60px;
97
- }
98
-
99
- @mixin cui-heading-lg-medium {
100
- font-weight: 500;
101
- font-size: 48px;
102
- line-height: 60px;
103
- }
104
-
105
- @mixin cui-heading-lg-semi-bold {
106
- font-weight: 600;
107
- font-size: 48px;
108
- line-height: 60px;
109
- }
110
-
111
- @mixin cui-heading-lg-bold {
112
- font-weight: 700;
113
- font-size: 48px;
114
- line-height: 60px;
115
- }
1
+ @mixin cui-heading-xs {
2
+ font-size: 24px;
3
+ line-height: 32px;
4
+ }
5
+
6
+ @mixin cui-heading-xs-regular {
7
+ font-weight: 400;
8
+ font-size: 24px;
9
+ line-height: 32px;
10
+ }
11
+
12
+ @mixin cui-heading-xs-medium {
13
+ font-weight: 500;
14
+ font-size: 24px;
15
+ line-height: 32px;
16
+ }
17
+
18
+ @mixin cui-heading-xs-semi-bold {
19
+ font-weight: 600;
20
+ font-size: 24px;
21
+ line-height: 32px;
22
+ }
23
+
24
+ @mixin cui-heading-xs-bold {
25
+ font-weight: 700;
26
+ font-size: 24px;
27
+ line-height: 32px;
28
+ }
29
+
30
+ @mixin cui-heading-sm {
31
+ font-size: 30px;
32
+ line-height: 38px;
33
+ }
34
+
35
+ @mixin cui-heading-sm-regular {
36
+ font-weight: 400;
37
+ font-size: 30px;
38
+ line-height: 38px;
39
+ }
40
+
41
+ @mixin cui-heading-sm-medium {
42
+ font-weight: 500;
43
+ font-size: 30px;
44
+ line-height: 38px;
45
+ }
46
+
47
+ @mixin cui-heading-sm-semi-bold {
48
+ font-weight: 600;
49
+ font-size: 30px;
50
+ line-height: 38px;
51
+ }
52
+
53
+ @mixin cui-heading-sm-bold {
54
+ font-weight: 700;
55
+ font-size: 30px;
56
+ line-height: 38px;
57
+ }
58
+
59
+ @mixin cui-heading-md {
60
+ font-size: 36px;
61
+ line-height: 44px;
62
+ }
63
+
64
+ @mixin cui-heading-md-regular {
65
+ font-weight: 400;
66
+ font-size: 36px;
67
+ line-height: 44px;
68
+ }
69
+
70
+ @mixin cui-heading-md-medium {
71
+ font-weight: 500;
72
+ font-size: 36px;
73
+ line-height: 44px;
74
+ }
75
+
76
+ @mixin cui-heading-md-semi-bold {
77
+ font-weight: 600;
78
+ font-size: 36px;
79
+ line-height: 44px;
80
+ }
81
+
82
+ @mixin cui-heading-md-bold {
83
+ font-weight: 700;
84
+ font-size: 36px;
85
+ line-height: 44px;
86
+ }
87
+
88
+ @mixin cui-heading-lg {
89
+ font-size: 48px;
90
+ line-height: 60px;
91
+ }
92
+
93
+ @mixin cui-heading-lg-regular {
94
+ font-weight: 400;
95
+ font-size: 48px;
96
+ line-height: 60px;
97
+ }
98
+
99
+ @mixin cui-heading-lg-medium {
100
+ font-weight: 500;
101
+ font-size: 48px;
102
+ line-height: 60px;
103
+ }
104
+
105
+ @mixin cui-heading-lg-semi-bold {
106
+ font-weight: 600;
107
+ font-size: 48px;
108
+ line-height: 60px;
109
+ }
110
+
111
+ @mixin cui-heading-lg-bold {
112
+ font-weight: 700;
113
+ font-size: 48px;
114
+ line-height: 60px;
115
+ }
@@ -1,91 +1,91 @@
1
- @use '../variables/colors' as colors;
2
- @use '../variables/fonts' as fonts;
3
- @use './texts' as texts;
4
- @use './paddings' as paddings;
5
- @use './shadows' as shadows;
6
- @use './buttons' as buttons;
7
-
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;
19
- }
20
-
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;
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
- }
70
- }
71
-
72
- .c-input {
73
- @include cui-clear-input();
74
-
75
- width: 100%;
76
-
77
- &:disabled {
78
- cursor: not-allowed;
79
- }
80
-
81
- &::placeholder {
82
- color: colors.$cui-base-400;
83
- }
84
- }
85
-
86
- .c-button {
87
- @include buttons.cui-clear-button();
88
-
89
- display: flex;
90
- }
91
- }
1
+ @use '../variables/colors' as colors;
2
+ @use '../variables/fonts' as fonts;
3
+ @use './texts' as texts;
4
+ @use './paddings' as paddings;
5
+ @use './shadows' as shadows;
6
+ @use './buttons' as buttons;
7
+
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;
19
+ }
20
+
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;
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
+ }
70
+ }
71
+
72
+ .c-input {
73
+ @include cui-clear-input();
74
+
75
+ width: 100%;
76
+
77
+ &:disabled {
78
+ cursor: not-allowed;
79
+ }
80
+
81
+ &::placeholder {
82
+ color: colors.$cui-base-400;
83
+ }
84
+ }
85
+
86
+ .c-button {
87
+ @include buttons.cui-clear-button();
88
+
89
+ display: flex;
90
+ }
91
+ }