@itcase/ui 1.0.96 → 1.0.99

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 (55) hide show
  1. package/dist/components/Button.js +1 -1
  2. package/dist/components/Checkbox.js +11 -6
  3. package/dist/components/Chips.js +6 -2
  4. package/dist/components/Choice.js +25 -12
  5. package/dist/components/DadataHintField.js +1 -1
  6. package/dist/components/DatePicker.js +7746 -8885
  7. package/dist/components/FormField.js +3 -3
  8. package/dist/components/Grid.js +2 -1
  9. package/dist/components/Group.js +9 -1
  10. package/dist/components/Input.js +6 -1
  11. package/dist/components/InputPassword.js +6 -1
  12. package/dist/components/Label.js +254 -35
  13. package/dist/components/RadioButton.js +12 -7
  14. package/dist/components/Segmented.js +22 -6
  15. package/dist/components/Select.js +8520 -46
  16. package/dist/components/Swiper.js +23 -13
  17. package/dist/components/Text.js +13 -1
  18. package/dist/components/Textarea.js +6 -1
  19. package/dist/components/Title.js +11 -3
  20. package/dist/components/Tooltip.js +115 -14
  21. package/dist/css/components/Avatar/Avatar.css +7 -0
  22. package/dist/css/components/Cell/Cell.css +1 -0
  23. package/dist/css/components/Chips/Chips.css +7 -7
  24. package/dist/css/components/DatePicker/DatePicker.css +33 -84
  25. package/dist/css/components/Grid/Grid.css +8 -0
  26. package/dist/css/components/Group/Group.css +8 -0
  27. package/dist/css/components/Label/Label.css +9 -1
  28. package/dist/css/components/Swiper/Swiper.css +3 -3
  29. package/dist/css/components/Tooltip/Tooltip.css +37 -3
  30. package/dist/css/styles/align/align_vertical.css +4 -4
  31. package/dist/css/styles/border-color/border-color.css +1 -2
  32. package/dist/css/styles/border-color/border-color_hover.css +22 -0
  33. package/dist/css/styles/fill/fill.css +2 -4
  34. package/dist/css/styles/fill/fill_active.css +2 -2
  35. package/dist/css/styles/fill/fill_disabled.css +2 -2
  36. package/dist/css/styles/fill/fill_hover.css +2 -2
  37. package/dist/css/styles/fill-gradient/fill-gradient.css +1 -1
  38. package/dist/css/styles/hover/hover-fill-color.css +1 -1
  39. package/dist/css/styles/hover/hover-item-color.css +1 -1
  40. package/dist/css/styles/hover/hover-text-color.css +1 -1
  41. package/dist/css/styles/mediaqueries.css +0 -14
  42. package/dist/css/styles/text-color/text-color.css +2 -3
  43. package/dist/css/styles/text-color/text-color_active.css +1 -1
  44. package/dist/css/styles/text-color/text-color_hover.css +23 -0
  45. package/dist/css/styles/text-gradient/text-gradient.css +0 -3
  46. package/dist/floating-ui.dom-D_Zct5p2.js +1401 -0
  47. package/dist/stories/Avatar.stories.js +179 -0
  48. package/dist/stories/Cell.stories.js +317 -0
  49. package/package.json +32 -30
  50. package/dist/SelectContainer-umrbJtB5.js +0 -8728
  51. package/dist/css/styles/border-color-hover/border-color-hover.css +0 -21
  52. package/dist/css/styles/text-color-hover/text-color-hover.css +0 -21
  53. package/dist/defineProperty-ujK-k7aM.js +0 -166
  54. /package/dist/{_commonjsHelpers-rI13D0F7.js → _commonjsHelpers-CFO10eej.js} +0 -0
  55. /package/dist/css/styles/{border-color-focus/border-color-focus.css → border-color/border-color_focus.css} +0 -0
@@ -12,54 +12,15 @@
12
12
  top: 6px;
13
13
  width: 9px;
14
14
  }
15
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
16
- margin-left: -4px;
17
- position: absolute;
18
- width: 0;
19
- }
20
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {
21
- box-sizing: content-box;
22
- position: absolute;
23
- border: 8px solid transparent;
24
- height: 0;
25
- width: 1px;
26
- content: "";
27
- z-index: -1;
28
- border-width: 8px;
29
- left: -8px;
30
- }
31
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {
32
- border-bottom-color: #aeaeae;
33
- }
34
15
  .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
35
- top: 0;
36
- margin-top: -8px;
37
- }
38
- .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {
39
- border-top: none;
40
- border-bottom-color: #f0f0f0;
41
- }
42
- .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {
43
- top: 0;
44
- }
45
- .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {
46
- top: -1px;
47
- border-bottom-color: #aeaeae;
16
+ fill: #f0f0f0;
17
+ color: #f0f0f0;
18
+ stroke: #aeaeae;
48
19
  }
49
20
  .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
50
- bottom: 0;
51
- margin-bottom: -8px;
52
- }
53
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {
54
- border-bottom: none;
55
- border-top-color: #fff;
56
- }
57
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {
58
- bottom: 0;
59
- }
60
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {
61
- bottom: -1px;
62
- border-top-color: #aeaeae;
21
+ fill: #fff;
22
+ color: #fff;
23
+ stroke: #aeaeae;
63
24
  }
64
25
  .react-datepicker-wrapper {
65
26
  display: inline-block;
@@ -75,9 +36,7 @@
75
36
  border-radius: 0.3rem;
76
37
  display: inline-block;
77
38
  position: relative;
78
- }
79
- .react-datepicker--time-only .react-datepicker__triangle {
80
- left: 35px;
39
+ line-height: initial;
81
40
  }
82
41
  .react-datepicker--time-only .react-datepicker__time-container {
83
42
  border-left: 0;
@@ -87,36 +46,9 @@
87
46
  border-bottom-left-radius: 0.3rem;
88
47
  border-bottom-right-radius: 0.3rem;
89
48
  }
90
- .react-datepicker__triangle {
91
- position: absolute;
92
- left: 50px;
93
- }
94
49
  .react-datepicker-popper {
95
50
  z-index: 1;
96
- }
97
- .react-datepicker-popper[data-placement^=bottom] {
98
- padding-top: 10px;
99
- }
100
- .react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {
101
- left: auto;
102
- right: 50px;
103
- }
104
- .react-datepicker-popper[data-placement^=top] {
105
- padding-bottom: 10px;
106
- }
107
- .react-datepicker-popper[data-placement^=right] {
108
- padding-left: 8px;
109
- }
110
- .react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {
111
- left: auto;
112
- right: 42px;
113
- }
114
- .react-datepicker-popper[data-placement^=left] {
115
- padding-right: 8px;
116
- }
117
- .react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {
118
- left: 42px;
119
- right: auto;
51
+ line-height: 0;
120
52
  }
121
53
  .react-datepicker__header {
122
54
  text-align: center;
@@ -442,10 +374,10 @@
442
374
  background-color: #ff6803;
443
375
  color: #fff;
444
376
  }
445
- .react-datepicker__day--holidays .holiday-overlay,
446
- .react-datepicker__month-text--holidays .holiday-overlay,
447
- .react-datepicker__quarter-text--holidays .holiday-overlay,
448
- .react-datepicker__year-text--holidays .holiday-overlay {
377
+ .react-datepicker__day--holidays .overlay,
378
+ .react-datepicker__month-text--holidays .overlay,
379
+ .react-datepicker__quarter-text--holidays .overlay,
380
+ .react-datepicker__year-text--holidays .overlay {
449
381
  position: absolute;
450
382
  bottom: 100%;
451
383
  left: 50%;
@@ -465,10 +397,10 @@
465
397
  .react-datepicker__year-text--holidays:hover {
466
398
  background-color: #cf5300;
467
399
  }
468
- .react-datepicker__day--holidays:hover .holiday-overlay,
469
- .react-datepicker__month-text--holidays:hover .holiday-overlay,
470
- .react-datepicker__quarter-text--holidays:hover .holiday-overlay,
471
- .react-datepicker__year-text--holidays:hover .holiday-overlay {
400
+ .react-datepicker__day--holidays:hover .overlay,
401
+ .react-datepicker__month-text--holidays:hover .overlay,
402
+ .react-datepicker__quarter-text--holidays:hover .overlay,
403
+ .react-datepicker__year-text--holidays:hover .overlay {
472
404
  visibility: visible;
473
405
  opacity: 1;
474
406
  }
@@ -577,6 +509,23 @@
577
509
  .react-datepicker__year-text--disabled:hover {
578
510
  background-color: transparent;
579
511
  }
512
+ .react-datepicker__day--disabled .overlay,
513
+ .react-datepicker__month-text--disabled .overlay,
514
+ .react-datepicker__quarter-text--disabled .overlay,
515
+ .react-datepicker__year-text--disabled .overlay {
516
+ position: absolute;
517
+ bottom: 70%;
518
+ left: 50%;
519
+ transform: translateX(-50%);
520
+ background-color: #333;
521
+ color: #fff;
522
+ padding: 4px;
523
+ border-radius: 4px;
524
+ white-space: nowrap;
525
+ visibility: hidden;
526
+ opacity: 0;
527
+ transition: visibility 0s, opacity 0.3s ease-in-out;
528
+ }
580
529
  .react-datepicker__input-container {
581
530
  position: relative;
582
531
  display: inline-block;
@@ -111,6 +111,14 @@
111
111
  }
112
112
  }
113
113
  }
114
+ .grid {
115
+ &_scroll_horizontal {
116
+ min-width: 100%;
117
+ overflow-x: auto;
118
+ scrollbar-width: thin;
119
+ scrollbar-color: var(--color-accent-secondary) var(--color-surface-tertiary);
120
+ }
121
+ }
114
122
  .grid {
115
123
  &_shape {
116
124
  &_rounded {
@@ -74,6 +74,14 @@
74
74
  }
75
75
  }
76
76
 
77
+ .group {
78
+ ^& .width {
79
+ &_fixed {
80
+ width: 300px;
81
+ }
82
+ }
83
+ }
84
+
77
85
  .group {
78
86
  &_wrap {
79
87
  @each $val in nowrap, wrap, wrap-reverse {
@@ -1,11 +1,14 @@
1
1
  .label {
2
2
  position: relative;
3
- overflow: hidden;
4
3
  display: inline-flex;
5
4
  &__inner {
6
5
  width: 100%;
7
6
  font-size: 0;
8
7
  line-height: 0;
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ gap: 4px;
9
12
  }
10
13
  }
11
14
  .label {
@@ -59,6 +62,11 @@
59
62
  }
60
63
  }
61
64
  }
65
+ div.label {
66
+ &__tooltip {
67
+ z-index: 12;
68
+ }
69
+ }
62
70
  .label {
63
71
  &&_text-align {
64
72
  &_left {
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Swiper 11.0.5
2
+ * Swiper 11.0.6
3
3
  * Most modern mobile touch slider and framework with hardware accelerated transitions
4
4
  * https://swiperjs.com
5
5
  *
6
- * Copyright 2014-2023 Vladimir Kharlampidi
6
+ * Copyright 2014-2024 Vladimir Kharlampidi
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: November 22, 2023
10
+ * Released on: February 5, 2024
11
11
  */
12
12
 
13
13
  /* FONT_START */
@@ -1,7 +1,9 @@
1
1
  .tooltip {
2
+ width: fit-content;
2
3
  position: relative;
3
4
  display: flex;
4
- animation: 0.5s tooltipShowAnimation ease;
5
+ visibility: hidden;
6
+ opacity: 0%;
5
7
  }
6
8
 
7
9
  @keyframes tooltipShowAnimation {
@@ -15,6 +17,17 @@
15
17
  }
16
18
  }
17
19
 
20
+ @keyframes tooltipHideAnimation {
21
+ 0% {
22
+ visibility: visible;
23
+ opacity: 100%;
24
+ }
25
+ 100% {
26
+ visibility: hidden;
27
+ opacity: 0%;
28
+ }
29
+ }
30
+
18
31
  .tooltip {
19
32
  &_size {
20
33
  @each $size in s, m, l {
@@ -44,16 +57,17 @@
44
57
  ^&__inner {
45
58
  position: relative;
46
59
  background-color: inherit;
60
+ z-index: 1;
47
61
  }
48
62
  &::after {
49
63
  content: '';
50
64
  display: block;
51
65
  position: absolute;
52
- background-color: inherit;
66
+ background-color: var(--tooltip-arrow-color, #fff);
53
67
  width: var(--tooltip-arrow-width);
54
68
  height: var(--tooltip-arrow-height);
55
69
  border-radius: var(--tooltip-arrow-radius);
56
- z-index: -1;
70
+ z-index: 0;
57
71
  }
58
72
  }
59
73
  }
@@ -91,6 +105,24 @@
91
105
  }
92
106
  }
93
107
 
108
+ .tooltip {
109
+ &&_state_close {
110
+ visibility: hidden;
111
+ animation-duration: 0.2s;
112
+ animation-name: tooltipHideAnimation;
113
+ opacity: 0%;
114
+ }
115
+ }
116
+
117
+ .tooltip {
118
+ &&_state_open {
119
+ visibility: visible;
120
+ animation-duration: 0.5s;
121
+ animation-name: tooltipShowAnimation;
122
+ opacity: 100%;
123
+ }
124
+ }
125
+
94
126
  :root {
95
127
  --tooltip-size-m-padding: 0;
96
128
  --tooltip-size-s-padding: 0;
@@ -101,4 +133,6 @@
101
133
  --tooltip-arrow-width: 14px;
102
134
  --tooltip-arrow-height: 14px;
103
135
  --tooltip-arrow-radius: 2px;
136
+
137
+ --tooltip-arrow-color: var(--color-surface-primary);
104
138
  }
@@ -7,17 +7,17 @@
7
7
  align-items: flex-start;
8
8
  }
9
9
  &-center {
10
- align-items: center;
11
10
  text-align: center;
11
+ align-items: center;
12
12
  }
13
13
  &-right {
14
- align-items: flex-end;
15
14
  text-align: right;
15
+ align-items: flex-end;
16
16
  }
17
17
  &-auto {
18
- align-items: center;
19
- text-align: center;
20
18
  justify-content: space-between;
19
+ text-align: center;
20
+ align-items: center;
21
21
  }
22
22
  }
23
23
  &^&_left {
@@ -2,8 +2,7 @@
2
2
  @each $type in accent, primary, secondary, tertiary, surface, success, error {
3
3
  &_$(type) {
4
4
  &-border {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active,
6
- disabled, hover, invert {
5
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active, disabled, hover, invert {
7
6
  &-$(color) {
8
7
  border-width: 1px;
9
8
  border-color: var(--color-$(type)-border-$(color));
@@ -0,0 +1,22 @@
1
+ .border-color {
2
+ &_hover {
3
+ @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
4
+ &_$(type) {
5
+ &-border {
6
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
7
+ &-$(color) {
8
+ &:hover {
9
+ border-color: var(--color-$(type)-border-$(color));
10
+ }
11
+ &-hover {
12
+ &:hover {
13
+ border-color: var(--color-$(type)-border-$(color));
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
@@ -1,6 +1,5 @@
1
1
  .fill {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, gradient,
3
- warning {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning, gradient {
4
3
  &_$(type) {
5
4
  &-item {
6
5
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
@@ -28,8 +27,7 @@
28
27
  }
29
28
  }
30
29
  }
31
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error,
32
- info, warning {
30
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
33
31
  &_$(type) {
34
32
  &-primary {
35
33
  background: var(--color-$(type)-primary);
@@ -1,6 +1,6 @@
1
1
  .fill {
2
2
  &_active {
3
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
4
4
  &_$(type) {
5
5
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active {
6
6
  &-$(color) {
@@ -9,7 +9,7 @@
9
9
  }
10
10
  }
11
11
  }
12
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
12
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
13
13
  &_$(type) {
14
14
  &-primary {
15
15
  &-active {
@@ -1,6 +1,6 @@
1
1
  .fill {
2
2
  &_disabled {
3
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
4
4
  &_$(type) {
5
5
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
6
6
  &-$(color) {
@@ -11,7 +11,7 @@
11
11
  }
12
12
  }
13
13
  }
14
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
14
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
15
15
  &_$(type) {
16
16
  &-primary {
17
17
  background: var(--color-$(type)-primary);
@@ -1,6 +1,6 @@
1
1
  .fill {
2
2
  &_hover {
3
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
4
4
  &_$(type) {
5
5
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
6
6
  &-$(color) {
@@ -16,7 +16,7 @@
16
16
  }
17
17
  }
18
18
  }
19
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
19
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
20
20
  &_$(type) {
21
21
  &-primary {
22
22
  &:hover {
@@ -1,7 +1,7 @@
1
1
  .fill-gradient {
2
2
  @each $type in accent, primary, secondary, tertiary, surface, success, error {
3
3
  &_$(type) {
4
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
4
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
5
5
  &-$(color) {
6
6
  @each $direction in left, top, right, bottom {
7
7
  &-$(direction) {
@@ -1,5 +1,5 @@
1
1
  .hover-fill-color {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
3
3
  &_$(type) {
4
4
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
5
5
  &-$(color) {
@@ -1,5 +1,5 @@
1
1
  .hover-item-color {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
3
3
  &_$(type) {
4
4
  &-item {
5
5
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
@@ -1,5 +1,5 @@
1
1
  .hover-text-color {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
3
3
  &_$(type) {
4
4
  &-text {
5
5
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
@@ -1,31 +1,17 @@
1
1
  :root {
2
-
3
2
  --mobile-tiny: 15em; /* 240px */
4
-
5
3
  --mobile-small: 20em; /* 320px */
6
-
7
4
  --mobile-medium: 23.435em; /* 375px */
8
-
9
5
  --mobile-large: 25.875em; /* 414px */
10
-
11
6
  --mobile-extra-large: 30em; /* 480px */
12
-
13
7
  --mobile-super-extra-large: 40em; /* 640px */
14
-
15
8
  --tablet: 48em; /* 768px */
16
-
17
9
  --desktop-small: 60em; /* 960px */
18
-
19
10
  --desktop-medium: 64em; /* 1024px */
20
-
21
11
  --desktop-normal: 72.5em; /* 1160px */
22
-
23
12
  --desktop-large: 80em; /* 1280px */
24
-
25
13
  --desktop-extra-large: 90em; /* 1441px */
26
-
27
14
  --desktop-super-extra-large: 120em; /* 1920px */
28
-
29
15
  --desktop-huge: 160em; /* 560px */
30
16
  }
31
17
 
@@ -1,9 +1,8 @@
1
1
  .text-color {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
3
3
  &_$(type) {
4
4
  &-text {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
6
- hover, invert {
5
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, invert {
7
6
  &-$(color) {
8
7
  color: var(--color-$(type)-text-$(color));
9
8
  }
@@ -1,6 +1,6 @@
1
1
  .text-color {
2
2
  &_active {
3
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
4
4
  &_$(type) {
5
5
  &-text {
6
6
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
@@ -0,0 +1,23 @@
1
+ .text-color {
2
+ &_hover {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
4
+ &_$(type) {
5
+ &-text {
6
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
7
+ hover {
8
+ &-$(color) {
9
+ &:hover {
10
+ color: var(--color-$(type)-text-$(color));
11
+ }
12
+ &-hover {
13
+ &:hover {
14
+ color: var(--color-$(type)-text-$(color)-hover);
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
@@ -2,9 +2,6 @@
2
2
  &_primary {
3
3
  @mixin text-gradient-primary;
4
4
  }
5
- }
6
-
7
- .text-gradient {
8
5
  @each $type in accent, primary, secondary, tertiary, surface, success, error {
9
6
  &_$(type) {
10
7
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {