@cuby-ui/core 0.0.5 → 0.0.7

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 (137) hide show
  1. package/components/accordion/accordion-item/accordion-item.component.d.ts +7 -0
  2. package/components/accordion/accordion.component.d.ts +5 -0
  3. package/components/accordion/accordion.module.d.ts +11 -0
  4. package/components/accordion/index.d.ts +3 -0
  5. package/components/button/button.component.d.ts +28 -29
  6. package/components/button/button.module.d.ts +9 -9
  7. package/components/button/button.options.d.ts +8 -8
  8. package/components/button/index.d.ts +3 -3
  9. package/components/context-menu/context-menu.component.d.ts +27 -0
  10. package/components/context-menu/context-menu.module.d.ts +9 -0
  11. package/components/context-menu/index.d.ts +2 -0
  12. package/components/hint/hint.component.d.ts +7 -0
  13. package/components/hint/hint.module.d.ts +7 -0
  14. package/components/hint/index.d.ts +2 -0
  15. package/components/icon-button/icon-button.component.d.ts +14 -5
  16. package/components/icon-button/icon-button.module.d.ts +9 -8
  17. package/components/icon-button/index.d.ts +2 -2
  18. package/components/index.d.ts +11 -3
  19. package/components/input-number/index.d.ts +2 -0
  20. package/components/input-number/input-number.component.d.ts +50 -0
  21. package/components/input-number/input-number.module.d.ts +10 -0
  22. package/components/input-number/input-number.options.d.ts +9 -0
  23. package/components/input-password/index.d.ts +2 -0
  24. package/components/input-password/input-password.component.d.ts +27 -0
  25. package/components/input-password/input-password.module.d.ts +10 -0
  26. package/components/input-text/index.d.ts +2 -0
  27. package/components/input-text/input-text.component.d.ts +26 -0
  28. package/components/input-text/input-text.module.d.ts +10 -0
  29. package/components/label/index.d.ts +2 -0
  30. package/components/label/label.component.d.ts +6 -0
  31. package/components/label/label.module.d.ts +8 -0
  32. package/components/svg/index.d.ts +2 -2
  33. package/components/svg/svg.component.d.ts +19 -19
  34. package/components/svg/svg.module.d.ts +8 -8
  35. package/components/textarea/index.d.ts +2 -0
  36. package/components/textarea/textarea.component.d.ts +8 -0
  37. package/components/textarea/textarea.module.d.ts +7 -0
  38. package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +19 -0
  39. package/esm2020/components/accordion/accordion.component.mjs +11 -0
  40. package/esm2020/components/accordion/accordion.module.mjs +37 -0
  41. package/esm2020/components/accordion/index.mjs +4 -0
  42. package/esm2020/components/button/button.component.mjs +92 -97
  43. package/esm2020/components/button/button.module.mjs +24 -24
  44. package/esm2020/components/button/button.options.mjs +9 -9
  45. package/esm2020/components/button/index.mjs +4 -4
  46. package/esm2020/components/context-menu/context-menu.component.mjs +94 -0
  47. package/esm2020/components/context-menu/context-menu.module.mjs +24 -0
  48. package/esm2020/components/context-menu/index.mjs +3 -0
  49. package/esm2020/components/hint/hint.component.mjs +19 -0
  50. package/esm2020/components/hint/hint.module.mjs +16 -0
  51. package/esm2020/components/hint/index.mjs +3 -0
  52. package/esm2020/components/icon-button/icon-button.component.mjs +41 -11
  53. package/esm2020/components/icon-button/icon-button.module.mjs +24 -20
  54. package/esm2020/components/icon-button/index.mjs +3 -3
  55. package/esm2020/components/index.mjs +12 -4
  56. package/esm2020/components/input-number/index.mjs +3 -0
  57. package/esm2020/components/input-number/input-number.component.mjs +187 -0
  58. package/esm2020/components/input-number/input-number.module.mjs +20 -0
  59. package/esm2020/components/input-number/input-number.options.mjs +11 -0
  60. package/esm2020/components/input-password/index.mjs +3 -0
  61. package/esm2020/components/input-password/input-password.component.mjs +74 -0
  62. package/esm2020/components/input-password/input-password.module.mjs +28 -0
  63. package/esm2020/components/input-text/index.mjs +3 -0
  64. package/esm2020/components/input-text/input-text.component.mjs +72 -0
  65. package/esm2020/components/input-text/input-text.module.mjs +28 -0
  66. package/esm2020/components/label/index.mjs +3 -0
  67. package/esm2020/components/label/label.component.mjs +17 -0
  68. package/esm2020/components/label/label.module.mjs +18 -0
  69. package/esm2020/components/svg/index.mjs +3 -3
  70. package/esm2020/components/svg/svg.component.mjs +48 -45
  71. package/esm2020/components/svg/svg.module.mjs +18 -18
  72. package/esm2020/components/textarea/index.mjs +3 -0
  73. package/esm2020/components/textarea/textarea.component.mjs +28 -0
  74. package/esm2020/components/textarea/textarea.module.mjs +16 -0
  75. package/esm2020/cuby-ui-core.mjs +4 -4
  76. package/esm2020/index.mjs +5 -3
  77. package/esm2020/interfaces/context-menu-item.mjs +2 -0
  78. package/esm2020/interfaces/index.mjs +2 -0
  79. package/esm2020/types/appearance.mjs +2 -2
  80. package/esm2020/types/hint-type.mjs +2 -0
  81. package/esm2020/types/index.mjs +4 -3
  82. package/esm2020/types/size.mjs +2 -2
  83. package/esm2020/utils/format/index.mjs +3 -0
  84. package/esm2020/utils/format/remove-spaces.mjs +4 -0
  85. package/esm2020/utils/format/replace.mjs +5 -0
  86. package/esm2020/utils/index.mjs +2 -0
  87. package/fesm2015/cuby-ui-core.mjs +879 -196
  88. package/fesm2015/cuby-ui-core.mjs.map +1 -1
  89. package/fesm2020/cuby-ui-core.mjs +876 -194
  90. package/fesm2020/cuby-ui-core.mjs.map +1 -1
  91. package/fonts/Inter-Bold.eot +0 -0
  92. package/fonts/Inter-Bold.otf +0 -0
  93. package/fonts/Inter-Bold.svg +25443 -0
  94. package/fonts/Inter-Bold.ttf +0 -0
  95. package/fonts/Inter-Bold.woff +0 -0
  96. package/fonts/Inter-Bold.woff2 +0 -0
  97. package/fonts/Inter-Medium.eot +0 -0
  98. package/fonts/Inter-Medium.otf +0 -0
  99. package/fonts/Inter-Medium.svg +25400 -0
  100. package/fonts/Inter-Medium.woff +0 -0
  101. package/fonts/Inter-Medium.woff2 +0 -0
  102. package/fonts/Inter-Regular.eot +0 -0
  103. package/fonts/Inter-Regular.otf +0 -0
  104. package/fonts/Inter-Regular.svg +24341 -0
  105. package/fonts/Inter-Regular.ttf +0 -0
  106. package/fonts/Inter-Regular.woff +0 -0
  107. package/fonts/Inter-Regular.woff2 +0 -0
  108. package/fonts/Inter-SemiBold.eot +0 -0
  109. package/fonts/Inter-SemiBold.otf +0 -0
  110. package/fonts/Inter-SemiBold.svg +25459 -0
  111. package/fonts/Inter-SemiBold.ttf +0 -0
  112. package/fonts/Inter-SemiBold.woff +0 -0
  113. package/fonts/Inter-SemiBold.woff2 +0 -0
  114. package/index.d.ts +4 -2
  115. package/interfaces/context-menu-item.d.ts +6 -0
  116. package/interfaces/index.d.ts +1 -0
  117. package/package.json +4 -2
  118. package/styles/fonts.scss +51 -0
  119. package/styles/global.scss +8 -0
  120. package/styles/mixins/buttons.scss +10 -0
  121. package/styles/mixins/inputs.scss +77 -0
  122. package/styles/mixins/lists.scss +5 -0
  123. package/styles/mixins/paddings.scss +35 -0
  124. package/styles/mixins/shadows.scss +37 -0
  125. package/styles/mixins/texts.scss +219 -15
  126. package/styles/{cui-ui-theme.scss → theme.scss} +49 -37
  127. package/styles/variables/colors.scss +45 -33
  128. package/types/appearance.d.ts +7 -7
  129. package/types/hint-type.d.ts +1 -0
  130. package/types/index.d.ts +3 -2
  131. package/types/size.d.ts +4 -4
  132. package/utils/format/index.d.ts +2 -0
  133. package/utils/format/remove-spaces.d.ts +1 -0
  134. package/utils/format/replace.d.ts +1 -0
  135. package/utils/index.d.ts +1 -0
  136. package/styles/cuby-ui-global.scss +0 -5
  137. package/styles/cui-ui-fonts.scss +0 -6
Binary file
Binary file
Binary file
package/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
- export * from './components';
2
- export * from './types';
1
+ export * from './components';
2
+ export * from './types';
3
+ export * from './utils';
4
+ export * from './interfaces';
@@ -0,0 +1,6 @@
1
+ import { CuiIcon } from '@cuby-ui/icons';
2
+ export interface CuiContextMenuItem {
3
+ readonly label: string;
4
+ readonly icon?: CuiIcon | string;
5
+ readonly command?: () => void;
6
+ }
@@ -0,0 +1 @@
1
+ export * from './context-menu-item';
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.0.0",
6
6
  "@angular/core": ">=15.0.0",
7
- "@cuby-ui/icons": "^0.0.5"
7
+ "@angular/forms": ">=15.0.0",
8
+ "@cuby-ui/icons": "^0.0.7",
9
+ "@cuby-ui/cdk": "^0.0.7"
8
10
  },
9
11
  "dependencies": {
10
12
  "tslib": "^2.3.0"
@@ -0,0 +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
+ }
@@ -0,0 +1,8 @@
1
+ @forward 'variables/colors';
2
+ @forward 'variables/fonts';
3
+ @forward 'mixins/texts';
4
+ @forward 'mixins/buttons';
5
+ @forward 'mixins/shadows';
6
+ @forward 'mixins/paddings';
7
+ @forward 'mixins/inputs';
8
+ @forward 'mixins/lists';
@@ -0,0 +1,10 @@
1
+ @mixin cui-clear-button() {
2
+ padding: 0;
3
+ border: 0;
4
+ outline: none;
5
+ cursor: pointer;
6
+ appearance: none;
7
+ background: inherit;
8
+ text-decoration: none;
9
+ -webkit-tap-highlight-color: transparent;
10
+ }
@@ -0,0 +1,77 @@
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
+
7
+ @mixin cui-clear-input() {
8
+ padding: 0;
9
+ outline: none;
10
+ margin: 0;
11
+ border-width: 0;
12
+ appearance: none;
13
+ caret-color: currentColor;
14
+ background: none;
15
+ color: inherit;
16
+ font: inherit;
17
+ line-height: inherit;
18
+ }
19
+
20
+ @mixin cui-default-input() {
21
+ :host {
22
+ $border-width: 1px;
23
+
24
+ @include paddings.cui-padding(vertical, 1.125, $border-width);
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-base-10;
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-600;
46
+ }
47
+
48
+ &._disabled {
49
+ cursor: not-allowed;
50
+ opacity: 0.5;
51
+ background: colors.$cui-base-50;
52
+ border-color: colors.$cui-base-200;
53
+ }
54
+
55
+ &._with-error {
56
+ border-color: colors.$cui-error-500;
57
+
58
+ &:focus-within {
59
+ @include shadows.cui-shadow-error-focused();
60
+ }
61
+ }
62
+ }
63
+
64
+ .c-input {
65
+ @include cui-clear-input();
66
+
67
+ width: 100%;
68
+
69
+ &:disabled {
70
+ cursor: not-allowed;
71
+ }
72
+
73
+ &::placeholder {
74
+ color: colors.$cui-base-400;
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,5 @@
1
+ @mixin cui-clear-list() {
2
+ padding: 0;
3
+ margin: 0;
4
+ list-style: none;
5
+ }
@@ -0,0 +1,35 @@
1
+ $space: 8px;
2
+
3
+ @mixin cui-padding($direction, $size, $offset: 0) {
4
+ $padding: $space * $size - $offset;
5
+
6
+ @if ($direction == all) {
7
+ padding: $padding;
8
+ }
9
+
10
+ @if ($direction == top) {
11
+ padding-top: $padding;
12
+ }
13
+
14
+ @if ($direction == bottom) {
15
+ padding-bottom: $padding;
16
+ }
17
+
18
+ @if ($direction == vertical) {
19
+ padding-top: $padding;
20
+ padding-bottom: $padding;
21
+ }
22
+
23
+ @if ($direction == left) {
24
+ padding-left: $padding;
25
+ }
26
+
27
+ @if ($direction == right) {
28
+ padding-right: $padding;
29
+ }
30
+
31
+ @if ($direction == horizontal) {
32
+ padding-right: $padding;
33
+ padding-left: $padding;
34
+ }
35
+ }
@@ -0,0 +1,37 @@
1
+ // TODO: вынести все цвета в перемнные
2
+
3
+ @mixin cui-shadow-10() {
4
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04),
5
+ 0 1px 4px 0 rgba(0, 0, 0, 0.04);
6
+ }
7
+
8
+ @mixin cui-shadow-15() {
9
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06),
10
+ 0 1px 3px 0 rgba(0, 0, 0, 0.10);
11
+ }
12
+
13
+ @mixin cui-shadow-20() {
14
+ box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
15
+ 0 4px 6px -1px rgba(0, 0, 0, 0.10);
16
+ }
17
+
18
+ @mixin cui-shadow-25() {
19
+ box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05),
20
+ 0 10px 15px -3px rgba(0, 0, 0, 0.10);
21
+ }
22
+
23
+ @mixin cui-shadow-right() {
24
+ box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.05);
25
+ }
26
+
27
+ @mixin cui-shadow-left() {
28
+ box-shadow: -5px 0 4px 0 rgba(0, 0, 0, 0.05);
29
+ }
30
+
31
+ @mixin cui-shadow-focused() {
32
+ box-shadow: 0 0 0 2px #E5ECFF;
33
+ }
34
+
35
+ @mixin cui-shadow-error-focused() {
36
+ box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25);
37
+ }
@@ -1,15 +1,219 @@
1
- @mixin text-xxs() {
2
- font-size: 12px;
3
- line-height: 14px;
4
- }
5
-
6
- @mixin text-xs() {
7
- font-size: 13px;
8
- line-height: 16px;
9
- }
10
-
11
- @mixin text-sm-medium() {
12
- font-size: 14px;
13
- font-weight: 500;
14
- line-height: 20px;
15
- }
1
+ @mixin cui-text-regular() {
2
+ font-weight: 400;
3
+ }
4
+
5
+ @mixin cui-text-medium() {
6
+ font-weight: 500;
7
+ }
8
+
9
+ @mixin cui-text-semi-bold() {
10
+ font-weight: 600;
11
+ }
12
+
13
+ @mixin cui-text-bold() {
14
+ font-weight: 700;
15
+ }
16
+
17
+ @mixin cui-text-xxxs() {
18
+ font-size: 10px;
19
+ line-height: 12px;
20
+ }
21
+
22
+ @mixin cui-text-xxxs-regular() {
23
+ font-weight: 400;
24
+ font-size: 10px;
25
+ line-height: 12px;
26
+ }
27
+
28
+ @mixin cui-text-xxxs-medium() {
29
+ font-weight: 500;
30
+ font-size: 10px;
31
+ line-height: 12px;
32
+ }
33
+
34
+ @mixin cui-text-xxxs-semi-bold() {
35
+ font-weight: 600;
36
+ font-size: 10px;
37
+ line-height: 12px;
38
+ }
39
+
40
+ @mixin cui-text-xxxs-bold() {
41
+ font-weight: 700;
42
+ font-size: 10px;
43
+ line-height: 12px;
44
+ }
45
+
46
+
47
+ @mixin cui-text-xxs() {
48
+ font-size: 12px;
49
+ line-height: 14px;
50
+ }
51
+
52
+ @mixin cui-text-xxs-regular() {
53
+ font-weight: 400;
54
+ font-size: 12px;
55
+ line-height: 14px;
56
+ }
57
+
58
+ @mixin cui-text-xxs-medium() {
59
+ font-weight: 500;
60
+ font-size: 12px;
61
+ line-height: 14px;
62
+ }
63
+
64
+ @mixin cui-text-xxs-semi-bold() {
65
+ font-weight: 600;
66
+ font-size: 12px;
67
+ line-height: 14px;
68
+ }
69
+
70
+ @mixin cui-text-xxs-bold() {
71
+ font-weight: 700;
72
+ font-size: 12px;
73
+ line-height: 14px;
74
+ }
75
+
76
+ @mixin cui-text-xs() {
77
+ font-size: 13px;
78
+ line-height: 16px;
79
+ }
80
+
81
+ @mixin cui-text-xs-regular() {
82
+ font-weight: 400;
83
+ font-size: 13px;
84
+ line-height: 16px;
85
+ }
86
+
87
+ @mixin cui-text-xs-medium() {
88
+ font-weight: 500;
89
+ font-size: 13px;
90
+ line-height: 16px;
91
+ }
92
+
93
+ @mixin cui-text-xs-semi-bold() {
94
+ font-weight: 600;
95
+ font-size: 13px;
96
+ line-height: 16px;
97
+ }
98
+
99
+ @mixin cui-text-xs-bold() {
100
+ font-weight: 700;
101
+ font-size: 13px;
102
+ line-height: 16px;
103
+ }
104
+
105
+ @mixin cui-text-sm() {
106
+ font-size: 14px;
107
+ line-height: 20px;
108
+ }
109
+
110
+ @mixin cui-text-sm-regular() {
111
+ font-weight: 400;
112
+ font-size: 14px;
113
+ line-height: 20px;
114
+ }
115
+
116
+ @mixin cui-text-sm-medium() {
117
+ font-weight: 500;
118
+ font-size: 14px;
119
+ line-height: 20px;
120
+ }
121
+
122
+ @mixin cui-text-sm-semi-bold() {
123
+ font-weight: 600;
124
+ font-size: 14px;
125
+ line-height: 20px;
126
+ }
127
+
128
+ @mixin cui-text-sm-bold() {
129
+ font-weight: 700;
130
+ font-size: 14px;
131
+ line-height: 20px;
132
+ }
133
+
134
+ @mixin cui-text-md() {
135
+ font-size: 16px;
136
+ line-height: 24px;
137
+ }
138
+
139
+ @mixin cui-text-md-regular() {
140
+ font-weight: 400;
141
+ font-size: 16px;
142
+ line-height: 24px;
143
+ }
144
+
145
+ @mixin cui-text-md-medium() {
146
+ font-weight: 500;
147
+ font-size: 16px;
148
+ line-height: 24px;
149
+ }
150
+
151
+ @mixin cui-text-md-semi-bold() {
152
+ font-weight: 600;
153
+ font-size: 16px;
154
+ line-height: 24px;
155
+ }
156
+
157
+ @mixin cui-text-md-bold() {
158
+ font-weight: 700;
159
+ font-size: 16px;
160
+ line-height: 24px;
161
+ }
162
+
163
+ @mixin cui-text-lg() {
164
+ font-size: 18px;
165
+ line-height: 28px;
166
+ }
167
+
168
+ @mixin cui-text-lg-regular() {
169
+ font-weight: 400;
170
+ font-size: 18px;
171
+ line-height: 28px;
172
+ }
173
+
174
+ @mixin cui-text-lg-medium() {
175
+ font-weight: 500;
176
+ font-size: 18px;
177
+ line-height: 28px;
178
+ }
179
+
180
+ @mixin cui-text-lg-semi-bold() {
181
+ font-weight: 600;
182
+ font-size: 18px;
183
+ line-height: 28px;
184
+ }
185
+
186
+ @mixin cui-text-lg-bold() {
187
+ font-weight: 700;
188
+ font-size: 18px;
189
+ line-height: 28px;
190
+ }
191
+
192
+ @mixin cui-text-xl() {
193
+ font-size: 20px;
194
+ line-height: 30px;
195
+ }
196
+
197
+ @mixin cui-text-xl-regular() {
198
+ font-weight: 400;
199
+ font-size: 20px;
200
+ line-height: 30px;
201
+ }
202
+
203
+ @mixin cui-text-xl-medium() {
204
+ font-weight: 500;
205
+ font-size: 20px;
206
+ line-height: 30px;
207
+ }
208
+
209
+ @mixin cui-text-xl-semi-bold() {
210
+ font-weight: 600;
211
+ font-size: 20px;
212
+ line-height: 30px;
213
+ }
214
+
215
+ @mixin cui-text-xl-bold() {
216
+ font-weight: 700;
217
+ font-size: 20px;
218
+ line-height: 30px;
219
+ }
@@ -1,37 +1,49 @@
1
- :root {
2
- --cui-main-font: Inter, sans-serif;
3
-
4
- --cui-gray-0: #FFFFFF;
5
- --cui-gray-10: #F9FAFB;
6
- --cui-gray-50: #F5F6F8;
7
- --cui-gray-100: #E9EBEE;
8
- --cui-gray-200: #E2E4E9;
9
- --cui-gray-500: #6B7280;
10
- --cui-gray-900: #111827;
11
-
12
- --cui-cyan-800: #297F7E;
13
- --cui-cyan-900: #1A6B6A;
14
-
15
- --cui-red-800: #D92D20;
16
- --cui-red-900: #B41308;
17
-
18
- --cui-blue-600: #1570EF;
19
- --cui-blue-900: #00429D;
20
-
21
- --cui-base-0: var(--cui-gray-0);
22
- --cui-base-10: var(--cui-gray-10);
23
- --cui-base-50: var(--cui-gray-50);
24
- --cui-base-100: var(--cui-gray-100);
25
- --cui-base-200: var(--cui-gray-200);
26
- --cui-base-500: var(--cui-gray-500);
27
- --cui-base-900: var(--cui-gray-900);
28
-
29
- --cui-primary-800: var(--cui-cyan-800);
30
- --cui-primary-900: var(--cui-cyan-900);
31
-
32
- --cui-error-800: var(--cui-red-800);
33
- --cui-error-900: var(--cui-red-900);
34
-
35
- --cui-info-600: var(--cui-blue-600);
36
- --cui-info-900: var(--cui-blue-900);
37
- }
1
+ :root {
2
+ --cui-main-font: Inter, sans-serif;
3
+
4
+ --cui-gray-0: #FFFFFF;
5
+ --cui-gray-10: #F9FAFB;
6
+ --cui-gray-50: #F5F6F8;
7
+ --cui-gray-100: #E9EBEE;
8
+ --cui-gray-200: #E2E4E9;
9
+ --cui-gray-300: #B4B9C1;
10
+ --cui-gray-400: #8A95A3;
11
+ --cui-gray-500: #6B7280;
12
+ --cui-gray-600: #4B5563;
13
+ --cui-gray-900: #111827;
14
+
15
+ --cui-cyan-800: #297F7E;
16
+ --cui-cyan-900: #1A6B6A;
17
+
18
+ --cui-green-600: #17C174;
19
+ --cui-green-700: #039855;
20
+
21
+ --cui-red-500: #D92D20;
22
+ --cui-red-600: #B82E2E;
23
+
24
+ --cui-blue-600: #1570EF;
25
+ --cui-blue-900: #00429D;
26
+
27
+ --cui-base-0: var(--cui-gray-0);
28
+ --cui-base-10: var(--cui-gray-10);
29
+ --cui-base-50: var(--cui-gray-50);
30
+ --cui-base-100: var(--cui-gray-100);
31
+ --cui-base-200: var(--cui-gray-200);
32
+ --cui-base-300: var(--cui-gray-300);
33
+ --cui-base-400: var(--cui-gray-400);
34
+ --cui-base-500: var(--cui-gray-500);
35
+ --cui-base-600: var(--cui-gray-600);
36
+ --cui-base-900: var(--cui-gray-900);
37
+
38
+ --cui-accent-800: var(--cui-cyan-800);
39
+ --cui-accent-900: var(--cui-cyan-900);
40
+
41
+ --cui-success-600: var(--cui-green-600);
42
+ --cui-success-700: var(--cui-green-700);
43
+
44
+ --cui-error-500: var(--cui-red-500);
45
+ --cui-error-600: var(--cui-red-600);
46
+
47
+ --cui-info-600: var(--cui-blue-600);
48
+ --cui-info-900: var(--cui-blue-900);
49
+ }
@@ -1,33 +1,45 @@
1
- $cui-gray-0: var(--cui-gray-0);
2
- $cui-gray-10: var(--cui-gray-10);
3
- $cui-gray-50: var(--cui-gray-50);
4
- $cui-gray-100: var(--cui-gray-100);
5
- $cui-gray-200: var(--cui-gray-200);
6
- $cui-gray-500: var(--cui-gray-500);
7
- $cui-gray-900: var(--cui-gray-900);
8
-
9
- $cui-cyan-800: var(--cui-cyan-800);
10
- $cui-cyan-900: var(--cui-cyan-900);
11
-
12
- $cui-red-800: var(--cui-red-800);
13
- $cui-red-900: var(--cui-red-900);
14
-
15
- $cui-blue-600: var(--cui-blue-600);
16
- $cui-blue-900: var(--cui-blue-900);
17
-
18
- $cui-base-0: var(--cui-base-0);
19
- $cui-base-10: var(--cui-base-10);
20
- $cui-base-50: var(--cui-base-50);
21
- $cui-base-100: var(--cui-base-100);
22
- $cui-base-200: var(--cui-base-200);
23
- $cui-base-500: var(--cui-base-500);
24
- $cui-base-900: var(--cui-base-900);
25
-
26
- $cui-primary-800: var(--cui-primary-800);
27
- $cui-primary-900: var(--cui-primary-900);
28
-
29
- $cui-error-800: var(--cui-error-800);
30
- $cui-error-900: var(--cui-error-900);
31
-
32
- $cui-info-600: var(--cui-info-600);
33
- $cui-info-900: var(--cui-info-900);
1
+ $cui-gray-0: var(--cui-gray-0);
2
+ $cui-gray-10: var(--cui-gray-10);
3
+ $cui-gray-50: var(--cui-gray-50);
4
+ $cui-gray-100: var(--cui-gray-100);
5
+ $cui-gray-200: var(--cui-gray-200);
6
+ $cui-gray-300: var(--cui-gray-300);
7
+ $cui-gray-400: var(--cui-gray-400);
8
+ $cui-gray-500: var(--cui-gray-500);
9
+ $cui-gray-600: var(--cui-gray-600);
10
+ $cui-gray-900: var(--cui-gray-900);
11
+
12
+ $cui-cyan-800: var(--cui-cyan-800);
13
+ $cui-cyan-900: var(--cui-cyan-900);
14
+
15
+ $cui-green-600: var(--cui-green-600);
16
+ $cui-green-700: var(--cui-green-700);
17
+
18
+ $cui-red-500: var(--cui-red-500);
19
+ $cui-red-600: var(--cui-red-600);
20
+
21
+ $cui-blue-600: var(--cui-blue-600);
22
+ $cui-blue-900: var(--cui-blue-900);
23
+
24
+ $cui-base-0: var(--cui-base-0);
25
+ $cui-base-10: var(--cui-base-10);
26
+ $cui-base-50: var(--cui-base-50);
27
+ $cui-base-100: var(--cui-base-100);
28
+ $cui-base-200: var(--cui-base-200);
29
+ $cui-base-300: var(--cui-base-300);
30
+ $cui-base-400: var(--cui-base-400);
31
+ $cui-base-500: var(--cui-base-500);
32
+ $cui-base-600: var(--cui-base-600);
33
+ $cui-base-900: var(--cui-base-900);
34
+
35
+ $cui-accent-800: var(--cui-accent-800);
36
+ $cui-accent-900: var(--cui-accent-900);
37
+
38
+ $cui-success-600: var(--cui-success-600);
39
+ $cui-success-700: var(--cui-success-700);
40
+
41
+ $cui-error-500: var(--cui-error-500);
42
+ $cui-error-600: var(--cui-error-600);
43
+
44
+ $cui-info-600: var(--cui-info-600);
45
+ $cui-info-900: var(--cui-info-900);
@@ -1,7 +1,7 @@
1
- export type CuiAppearancePrimary = 'primary';
2
- export type CuiAppearanceSecondary = 'secondary';
3
- export type CuiAppearanceOutlined = 'outlined';
4
- export type CuiAppearanceOutlinedGray = 'outlined-gray';
5
- export type CuiAppearanceGhost = 'ghost';
6
- export type CuiAppearanceDestructive = 'destructive';
7
- export type CuiAppearanceLink = 'link';
1
+ export type CuiAppearanceAccent = 'accent';
2
+ export type CuiAppearanceSecondary = 'secondary';
3
+ export type CuiAppearanceOutlined = 'outlined';
4
+ export type CuiAppearanceOutlinedGray = 'outlined-gray';
5
+ export type CuiAppearanceGhost = 'ghost';
6
+ export type CuiAppearanceDestructive = 'destructive';
7
+ export type CuiAppearanceLink = 'link';