@itcase/ui 1.7.0 → 1.8.1

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 (108) hide show
  1. package/dist/{Badge-BE28NFES.js → Badge-BY030Mwm.js} +1 -1
  2. package/dist/{Badge-C_6Iofu7.js → Badge-Df7Zxjnk.js} +1 -1
  3. package/dist/{Button-Df425Vot.js → Button-CWPTzaG2.js} +3 -3
  4. package/dist/{Button-sYpJIJPv.js → Button-DHOZJDHv.js} +3 -3
  5. package/dist/{DropdownItem-f29l8dds.js → DropdownItem-Cl1pYnVf.js} +4 -4
  6. package/dist/{DropdownItem-CdAS1E-G.js → DropdownItem-_bKQxzEZ.js} +4 -4
  7. package/dist/{Group-D5nvxHx0.js → Group-C8NUU6k5.js} +2 -2
  8. package/dist/{Group-NYDjw1CD.js → Group-utjnjUDZ.js} +2 -2
  9. package/dist/{Icon-BzIdIgGY.js → Icon-BF7i3XdQ.js} +1 -1
  10. package/dist/{Icon-dS-it4rs.js → Icon-D_BDlSSb.js} +1 -1
  11. package/dist/{Input-v52BiIsb.js → Input-BH6rNRqZ.js} +2 -2
  12. package/dist/{Input-C_HeI9UK.js → Input-BRhHPsGM.js} +2 -2
  13. package/dist/{Link-UmzWKcxT.js → Link-CZ8o5lGW.js} +1 -1
  14. package/dist/{Link-aBsZ1d0Q.js → Link-Cn7hiWmM.js} +1 -1
  15. package/dist/{Loader-CZVsMYl6.js → Loader-CjT6-r3I.js} +1 -1
  16. package/dist/{Loader-BnhUh-g6.js → Loader-Dquhwxz4.js} +1 -1
  17. package/dist/cjs/components/Accordion.js +2 -2
  18. package/dist/cjs/components/Avatar.js +2 -2
  19. package/dist/cjs/components/Badge.js +3 -3
  20. package/dist/cjs/components/Breadcrumbs.js +2 -2
  21. package/dist/cjs/components/Button.js +4 -4
  22. package/dist/cjs/components/Cell.js +2 -2
  23. package/dist/cjs/components/Chips.js +3 -3
  24. package/dist/cjs/components/Choice.js +56 -46
  25. package/dist/cjs/components/CookiesWarning.js +5 -5
  26. package/dist/cjs/components/DadataHintField.js +1 -1
  27. package/dist/cjs/components/DatePicker.js +15 -10
  28. package/dist/cjs/components/Drawer.js +3 -1
  29. package/dist/cjs/components/Dropdown.js +1 -1
  30. package/dist/cjs/components/Grid.js +5 -5
  31. package/dist/cjs/components/Group.js +1 -1
  32. package/dist/cjs/components/Icon.js +2 -2
  33. package/dist/cjs/components/Input.js +1 -1
  34. package/dist/cjs/components/InputMask.js +1 -1
  35. package/dist/cjs/components/InputPassword.js +2 -2
  36. package/dist/cjs/components/Link.js +1 -1
  37. package/dist/cjs/components/List.js +1 -1
  38. package/dist/cjs/components/Loader.js +1 -1
  39. package/dist/cjs/components/Logo.js +1 -1
  40. package/dist/cjs/components/MenuItem.js +1 -1
  41. package/dist/cjs/components/Modal.js +1 -1
  42. package/dist/cjs/components/Pagination.js +17 -49
  43. package/dist/cjs/components/Panel.js +1 -1
  44. package/dist/cjs/components/Response.js +5 -5
  45. package/dist/cjs/components/Search.js +2 -2
  46. package/dist/cjs/components/Select.js +4 -4
  47. package/dist/cjs/components/Tab.js +5 -5
  48. package/dist/cjs/components/Tile.js +3 -3
  49. package/dist/cjs/context/Notifications.js +3 -1
  50. package/dist/components/Accordion.js +2 -2
  51. package/dist/components/Avatar.js +2 -2
  52. package/dist/components/Badge.js +3 -3
  53. package/dist/components/Breadcrumbs.js +2 -2
  54. package/dist/components/Button.js +4 -4
  55. package/dist/components/Cell.js +2 -2
  56. package/dist/components/Chips.js +3 -3
  57. package/dist/components/Choice.js +57 -47
  58. package/dist/components/CookiesWarning.js +5 -5
  59. package/dist/components/DadataHintField.js +1 -1
  60. package/dist/components/DatePicker.js +15 -10
  61. package/dist/components/Drawer.js +3 -1
  62. package/dist/components/Dropdown.js +1 -1
  63. package/dist/components/Grid.js +5 -5
  64. package/dist/components/Group.js +1 -1
  65. package/dist/components/Icon.js +2 -2
  66. package/dist/components/Input.js +1 -1
  67. package/dist/components/InputMask.js +1 -1
  68. package/dist/components/InputPassword.js +2 -2
  69. package/dist/components/Link.js +1 -1
  70. package/dist/components/List.js +1 -1
  71. package/dist/components/Loader.js +1 -1
  72. package/dist/components/Logo.js +1 -1
  73. package/dist/components/MenuItem.js +1 -1
  74. package/dist/components/Modal.js +1 -1
  75. package/dist/components/Pagination.js +17 -49
  76. package/dist/components/Panel.js +1 -1
  77. package/dist/components/Response.js +5 -5
  78. package/dist/components/Search.js +2 -2
  79. package/dist/components/Select.js +4 -4
  80. package/dist/components/Tab.js +5 -5
  81. package/dist/components/Tile.js +3 -3
  82. package/dist/context/Notifications.js +3 -1
  83. package/dist/css/components/Choice/Choice.css +32 -40
  84. package/dist/css/components/Choice/css/__item/choice__item.css +5 -16
  85. package/dist/css/components/Choice/css/__item/choice__item_shape.css +11 -0
  86. package/dist/css/components/DatePicker/DatePicker.css +3 -6
  87. package/dist/css/components/Divider/Divider.css +10 -13
  88. package/dist/css/components/Dropdown/Dropdown.css +16 -25
  89. package/dist/css/components/Grid/Grid.css +50 -8
  90. package/dist/css/components/Grid/css/__item/grid__item_column.css +13 -1
  91. package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +4 -1
  92. package/dist/css/components/Grid/css/__item/grid__item_row.css +2 -1
  93. package/dist/css/components/Group/Group.css +13 -4
  94. package/dist/css/components/Input/Input.css +3 -0
  95. package/dist/css/components/Link/Link.css +17 -0
  96. package/dist/css/components/Pagination/Pagination.css +10 -8
  97. package/dist/css/components/Pagination/css/__item/pagination__item.css +4 -5
  98. package/dist/css/styles/fill/fill_active.css +14 -0
  99. package/dist/css/styles/fill/fill_active_hover.css +50 -0
  100. package/dist/css/styles/fill/fill_hover.css +33 -0
  101. package/dist/types/components/Choice/appearance/choiceAccent.d.ts +11 -0
  102. package/dist/types/components/Choice/appearance/choiceSurface.d.ts +22 -0
  103. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +29 -2
  104. package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +30 -0
  105. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +34 -0
  106. package/dist/types/components/Tab/Tab.interface.d.ts +1 -2
  107. package/dist/types/context/Notifications.d.ts +3 -2
  108. package/package.json +16 -16
@@ -38,9 +38,9 @@
38
38
  }
39
39
  }
40
40
  .grid {
41
- @each $val in auto, normal, stretch, center, start, end, space-around, space-between, space-evenly,
42
- safe center, unsafe center, self-start, self-end, first, baseline, first, baseline,
43
- last baseline {
41
+ @each $val in auto, normal, stretch, center, start, end, space-around,
42
+ space-between, space-evenly, safe center, unsafe center, self-start,
43
+ self-end, first, baseline, first, baseline, last baseline {
44
44
  &_align-content_$(val) {
45
45
  align-content: $(val);
46
46
  }
@@ -50,7 +50,18 @@
50
50
  }
51
51
  }
52
52
  .grid {
53
- @each $val in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200 {
53
+ @each $val in 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
54
+ 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
55
+ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
56
+ 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
57
+ 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
58
+ 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
59
+ 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
60
+ 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
61
+ 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
62
+ 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
63
+ 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
64
+ 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200 {
54
65
  &_columns_$(val) {
55
66
  grid-template-columns: repeat($(val), 1fr);
56
67
  & > ^&__wrapper {
@@ -101,7 +112,18 @@
101
112
  }
102
113
  }
103
114
  .grid {
104
- @each $val in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200 {
115
+ @each $val in 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
116
+ 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
117
+ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
118
+ 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
119
+ 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
120
+ 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
121
+ 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
122
+ 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
123
+ 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
124
+ 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
125
+ 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
126
+ 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200 {
105
127
  &_rows_$(val) {
106
128
  grid-template-columns: repeat($(val), 1fr);
107
129
  & > ^&__wrapper {
@@ -178,7 +200,19 @@
178
200
  }
179
201
  .grid {
180
202
  &__item {
181
- @each $val in -1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200 {
203
+ @each $val in -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
204
+ 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
205
+ 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
206
+ 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
207
+ 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
208
+ 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
209
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
210
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
211
+ 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
212
+ 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
213
+ 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
214
+ 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
215
+ 197, 198, 199, 200 {
182
216
  &_column {
183
217
  &-start_$(val) {
184
218
  grid-column-start: $(val);
@@ -195,7 +229,10 @@
195
229
  }
196
230
  .grid {
197
231
  &__item {
198
- @each $val in auto, legacy, normal, stretch, center, start, end, left, right, space-around, space-between, space-evenly, safe, center, unsafe center, self-start, self-end, left, right, baseline, first baseline, last baseline {
232
+ @each $val in auto, legacy, normal, stretch, center, start, end, left,
233
+ right, space-around, space-between, space-evenly, safe, center,
234
+ unsafe center, self-start, self-end, left, right, baseline,
235
+ first baseline, last baseline {
199
236
  &_justify-self_$(val) {
200
237
  justify-self: $(val);
201
238
  }
@@ -204,7 +241,8 @@
204
241
  }
205
242
  .grid {
206
243
  &__item {
207
- @each $val in -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 {
244
+ @each $val in -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
245
+ 18, 19, 20, 21, 22, 23, 24 {
208
246
  &_row {
209
247
  &-start_$(val) {
210
248
  grid-row-start: $(val);
@@ -224,4 +262,8 @@
224
262
  display: grid;
225
263
  transition: var(--grid-row-transition);
226
264
  }
265
+ }
266
+ :root {
267
+ --grid-row-transition: all 0.2s ease 0s;
268
+ --grid-item-transition: all 0.2s ease 0s;
227
269
  }
@@ -1,6 +1,18 @@
1
1
  .grid {
2
2
  &__item {
3
- @each $val in -1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200 {
3
+ @each $val in -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
4
+ 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
5
+ 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
6
+ 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
7
+ 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
8
+ 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
9
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
10
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
11
+ 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
12
+ 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
13
+ 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
14
+ 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
15
+ 197, 198, 199, 200 {
4
16
  &_column {
5
17
  &-start_$(val) {
6
18
  grid-column-start: $(val);
@@ -1,6 +1,9 @@
1
1
  .grid {
2
2
  &__item {
3
- @each $val in auto, legacy, normal, stretch, center, start, end, left, right, space-around, space-between, space-evenly, safe, center, unsafe center, self-start, self-end, left, right, baseline, first baseline, last baseline {
3
+ @each $val in auto, legacy, normal, stretch, center, start, end, left,
4
+ right, space-around, space-between, space-evenly, safe, center,
5
+ unsafe center, self-start, self-end, left, right, baseline,
6
+ first baseline, last baseline {
4
7
  &_justify-self_$(val) {
5
8
  justify-self: $(val);
6
9
  }
@@ -1,6 +1,7 @@
1
1
  .grid {
2
2
  &__item {
3
- @each $val in -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 {
3
+ @each $val in -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
4
+ 18, 19, 20, 21, 22, 23, 24 {
4
5
  &_row {
5
6
  &-start_$(val) {
6
7
  grid-row-start: $(val);
@@ -152,12 +152,21 @@
152
152
  }
153
153
 
154
154
  .group {
155
- &_type {
156
- &_horizontal_scroll {
155
+ &_scroll {
156
+ &_vertical {
157
+ position: relative;
158
+ ^^&__wrapper {
159
+ overflow: hidden scroll;
160
+ display: flex;
161
+ flex-direction: column;
162
+ }
163
+ }
164
+ &_horizontal {
165
+ position: relative;
157
166
  ^^&__wrapper {
167
+ overflow: scroll hidden;
158
168
  display: flex;
159
- overflow-x: scroll;
160
- overflow-y: hidden;
169
+ flex-direction: row;
161
170
  }
162
171
  }
163
172
  }
@@ -19,10 +19,13 @@
19
19
  &:focus {
20
20
  outline: none;
21
21
  }
22
+
23
+ /*
22
24
  &:hover {
23
25
  background: var(--input-state-hover-background);
24
26
  border: solid 1px var(--input-state-hover-border);
25
27
  }
28
+ */
26
29
  }
27
30
  .input {
28
31
  &_shape {
@@ -30,3 +30,20 @@
30
30
  }
31
31
  }
32
32
  }
33
+ /* stylelint-disable prettier/prettier */
34
+ .link {
35
+ &_shape {
36
+ &_rounded {
37
+ border-radius: var(--link-shape-rounded-default);
38
+ }
39
+ &_circular {
40
+ border-radius: 50%;
41
+ }
42
+ &_geometric {
43
+ border-radius: 0;
44
+ }
45
+ }
46
+ }
47
+ :root {
48
+ --link-shape-rounded-default: 12px;
49
+ }
@@ -5,18 +5,21 @@
5
5
  align-items: center;
6
6
  &__container {
7
7
  padding: 0;
8
- margin: 60px 0;
9
8
  display: flex;
10
9
  list-style: none;
11
- gap: 16px;
10
+ gap: 12px;
12
11
  }
13
12
  &__count {
14
13
  display: flex;
15
14
  align-items: center;
15
+ gap: 8px;
16
+ &-text {
17
+ color: var(--surface-text-primary);
18
+ display: block;
19
+ }
16
20
  }
17
21
  &__input {
18
22
  background: var(--color-surface-primary);
19
- padding: 3px 7px;
20
23
  border: solid 1px
21
24
  var(--pagination-input-color, --color-surface-border-tertiary);
22
25
  border-radius: 8px;
@@ -39,12 +42,11 @@
39
42
  }
40
43
  .pagination {
41
44
  &__container {
42
- margin: var(--paginator-margin, initial);
45
+ margin: var(--paginator-margin);
43
46
  ^&__item {
44
- min-width: var(--paginator-item-width);
45
- min-height: var(--paginator-item-height);
47
+ width: var(--paginator-item-width);
48
+ height: var(--paginator-item-height);
46
49
  background: var(--paginator-item-default-fill);
47
- padding: 0 8px;
48
50
  border: var(
49
51
  --paginator-item-border,
50
52
  solid 1px var(--paginator-item-default-border)
@@ -70,7 +72,7 @@
70
72
  display: flex;
71
73
  justify-content: center;
72
74
  align-items: center;
73
- @mixin text-l;
75
+ @mixin text-m;
74
76
  }
75
77
  }
76
78
  }
@@ -1,11 +1,10 @@
1
1
  .pagination {
2
2
  &__container {
3
- margin: var(--paginator-margin, initial);
3
+ margin: var(--paginator-margin);
4
4
  ^&__item {
5
- min-width: var(--paginator-item-width);
6
- min-height: var(--paginator-item-height);
5
+ width: var(--paginator-item-width);
6
+ height: var(--paginator-item-height);
7
7
  background: var(--paginator-item-default-fill);
8
- padding: 0 8px;
9
8
  border: var(
10
9
  --paginator-item-border,
11
10
  solid 1px var(--paginator-item-default-border)
@@ -31,7 +30,7 @@
31
30
  display: flex;
32
31
  justify-content: center;
33
32
  align-items: center;
34
- @mixin text-l;
33
+ @mixin text-m;
35
34
  }
36
35
  }
37
36
  }
@@ -3,6 +3,20 @@
3
3
  @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
4
4
  senary, surface, error, success, warning, info, danger, disabled, gradient {
5
5
  &_$(type) {
6
+ &-item {
7
+ @each $color in primary, secondary, tertiary, quaternary, quinary,
8
+ senary, accent, disabled, hover {
9
+ &-$(color) {
10
+ background: var(--color-$(type)-item-$(color));
11
+ @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65,
12
+ 75, 80, 85, 90, 95 {
13
+ &$(alpha) {
14
+ background: var(--color-$(type)-item-$(color)-$(alpha));
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
6
20
  @each $color in primary, secondary, tertiary, quaternary, quinary,
7
21
  senary, accent, active {
8
22
  &-$(color) {
@@ -4,6 +4,56 @@
4
4
  @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
5
5
  senary, surface, error, success, warning, info, danger, gradient {
6
6
  &_$(type) {
7
+ &-item {
8
+ @each $color in primary, secondary, tertiary, quaternary, quinary,
9
+ senary, accent, disabled, hover {
10
+ &-$(color) {
11
+ &:hover {
12
+ background: var(--color-$(type)-item-$(color));
13
+ }
14
+ @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60,
15
+ 65, 75, 80, 85, 90, 95 {
16
+ &$(alpha) {
17
+ &:hover {
18
+ background: var(--color-$(type)-item-$(color)-$(alpha));
19
+ }
20
+ }
21
+ }
22
+ &-hover {
23
+ &:hover {
24
+ background: var(--color-$(type)-item-$(color)-hover);
25
+ }
26
+ @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60,
27
+ 65, 75, 80, 85, 90, 95 {
28
+ &$(alpha) {
29
+ &:hover {
30
+ background: var(
31
+ --color-$(type)-item-$(color)-$(alpha)-hover
32
+ );
33
+ }
34
+ }
35
+ }
36
+ &-active {
37
+ &:hover {
38
+ background: var(
39
+ --color-$(type)-item-$(color)-active-hover
40
+ );
41
+ }
42
+ @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55,
43
+ 60, 65, 75, 80, 85, 90, 95 {
44
+ &$(alpha) {
45
+ &:hover {
46
+ background: var(
47
+ --color-$(type)-item-$(color)-$(alpha)-active-hover
48
+ );
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
7
57
  @each $color in primary, secondary, tertiary, quaternary {
8
58
  &-$(color) {
9
59
  &:hover {
@@ -3,6 +3,39 @@
3
3
  @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
4
4
  senary, surface, error, success, warning, info, danger, gradient {
5
5
  &_$(type) {
6
+ &-item {
7
+ @each $color in primary, secondary, tertiary, quaternary, quinary,
8
+ senary, accent, disabled, hover {
9
+ &-$(color) {
10
+ &:hover {
11
+ background: var(--color-$(type)-item-$(color));
12
+ }
13
+ @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65,
14
+ 75, 80, 85, 90, 95 {
15
+ &$(alpha) {
16
+ &:hover {
17
+ background: var(--color-$(type)-item-$(color)-$(alpha));
18
+ }
19
+ }
20
+ }
21
+ &-hover {
22
+ &:hover {
23
+ background: var(--color-$(type)-item-$(color)-hover);
24
+ }
25
+ @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60,
26
+ 65, 75, 80, 85, 90, 95 {
27
+ &$(alpha) {
28
+ &:hover {
29
+ background: var(
30
+ --color-$(type)-item-$(color)-$(alpha)-hover
31
+ );
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
6
39
  @each $color in primary, secondary, tertiary, quaternary, quinary,
7
40
  senary, accent, disabled, hover {
8
41
  &-$(color) {
@@ -0,0 +1,11 @@
1
+ declare const choiceAppearanceAccent: {
2
+ accentPrimary: {
3
+ fill: string;
4
+ fillActive: string;
5
+ labelTextActiveColor: string;
6
+ labelTextColor: string;
7
+ labelTextSize: string;
8
+ borderColor: string;
9
+ };
10
+ };
11
+ export { choiceAppearanceAccent };
@@ -0,0 +1,22 @@
1
+ declare const choiceAppearanceSurface: {
2
+ surfacePrimary: {
3
+ fill: string;
4
+ fillItem: string;
5
+ fillItemActive: string;
6
+ fillItemActiveHover: string;
7
+ fillItemHover: string;
8
+ labelTextActiveColor: string;
9
+ labelTextColor: string;
10
+ labelTextSize: string;
11
+ };
12
+ surfaceSecondary: {
13
+ fill: string;
14
+ fillItem: string;
15
+ fillItemActive: string;
16
+ fillItemHover: string;
17
+ labelTextActiveColor: string;
18
+ labelTextColor: string;
19
+ labelTextSize: string;
20
+ };
21
+ };
22
+ export { choiceAppearanceSurface };
@@ -1,2 +1,29 @@
1
- import { DatePickerAppearanceType } from './DatePicker.interface';
2
- export declare const datePickerAppearance: DatePickerAppearanceType;
1
+ export declare const datePickerAppearance: {
2
+ surfacePrimary: {
3
+ datePicker: {
4
+ daySize: string;
5
+ dayTextColor: string;
6
+ dayTextShape: string;
7
+ dayTextSize: string;
8
+ iconItemFill: string;
9
+ monthTextColor: string;
10
+ monthTextSize: string;
11
+ monthTextWeight: string;
12
+ yearTextColor: string;
13
+ yearTextSize: string;
14
+ yearTextWeight: string;
15
+ };
16
+ input: {
17
+ width: string;
18
+ size: string;
19
+ fill: string;
20
+ fillHover: string;
21
+ borderColor: string;
22
+ textColor: string;
23
+ textSize: string;
24
+ caret: string;
25
+ placeholderTextColor: string;
26
+ shape: string;
27
+ };
28
+ };
29
+ };
@@ -0,0 +1,30 @@
1
+ declare const datePickerAppearanceSurface: {
2
+ surfacePrimary: {
3
+ datePicker: {
4
+ daySize: string;
5
+ dayTextColor: string;
6
+ dayTextShape: string;
7
+ dayTextSize: string;
8
+ iconItemFill: string;
9
+ monthTextColor: string;
10
+ monthTextSize: string;
11
+ monthTextWeight: string;
12
+ yearTextColor: string;
13
+ yearTextSize: string;
14
+ yearTextWeight: string;
15
+ };
16
+ input: {
17
+ width: string;
18
+ size: string;
19
+ fill: string;
20
+ fillHover: string;
21
+ borderColor: string;
22
+ textColor: string;
23
+ textSize: string;
24
+ caret: string;
25
+ placeholderTextColor: string;
26
+ shape: string;
27
+ };
28
+ };
29
+ };
30
+ export { datePickerAppearanceSurface };
@@ -0,0 +1,34 @@
1
+ declare const paginationAppearanceSurface: {
2
+ surfacePrimary: {
3
+ fill: string;
4
+ fillHover: string;
5
+ gap: string;
6
+ marginPagesDisplayed: number;
7
+ pageCountDesc: string;
8
+ pageCountDescTextColor: string;
9
+ pageCountDescTextSize: string;
10
+ pageCountDropdownAlignment: string;
11
+ pageCountDropdownElevation: number;
12
+ pageCountDropdownFill: string;
13
+ pageCountDropdownItemDividerFill: string;
14
+ pageCountDropdownItemDividerSize: string;
15
+ pageCountDropdownItemFill: string;
16
+ pageCountDropdownItemFillActive: string;
17
+ pageCountDropdownItemFillActiveHover: string;
18
+ pageCountDropdownItemFillHover: string;
19
+ pageCountDropdownItemLabelAlign: string;
20
+ pageCountDropdownItemLabelColor: string;
21
+ pageCountDropdownItemLabelColorActive: string;
22
+ pageCountDropdownItemLabelSize: string;
23
+ pageCountDropdownItemShowDivider: boolean;
24
+ pageCountDropdownItemSize: string;
25
+ pageCountDropdownItemWidth: string;
26
+ pageCountDropdownShape: string;
27
+ pageCountInputIconColor: string;
28
+ pageCountInputIconFillSize: string;
29
+ pageCountInputTextColor: string;
30
+ pageCountInputTextSize: string;
31
+ pageRangeDisplayed: number;
32
+ };
33
+ };
34
+ export { paginationAppearanceSurface };
@@ -70,8 +70,6 @@ interface TabProps extends TabThemeColor, StyleAttributes {
70
70
  set?: string;
71
71
  }
72
72
  interface TabGroupProps extends StyleAttributes {
73
- id?: string;
74
- [key: number | string | symbol]: any;
75
73
  align?: AlignProps;
76
74
  alignDirection?: AlignDirectionProps;
77
75
  borderColor?: BorderColorProps;
@@ -80,6 +78,7 @@ interface TabGroupProps extends StyleAttributes {
80
78
  children?: ReactNode;
81
79
  className?: string;
82
80
  contentAlign?: AlignProps;
81
+ dataTestId?: string;
83
82
  dataTour?: string;
84
83
  direction?: DirectionProps;
85
84
  fill?: FillProps;
@@ -1,9 +1,10 @@
1
- import type { NotificationsProviderProps } from './Notifications.interface';
1
+ import type { SimpleCallback } from '@itcase/types';
2
+ import type { CreatedNotification, NotificationsProviderProps } from './Notifications.interface';
2
3
  declare function NotificationsProvider(props: NotificationsProviderProps): import("react/jsx-runtime").JSX.Element;
3
4
  declare function useNotifications(): never[];
4
5
  declare function useNotificationsAPI(): {
5
6
  hideNotifications: () => void;
6
- showNotification: () => void;
7
+ showNotification: (notification: string | CreatedNotification, onClose?: SimpleCallback) => void;
7
8
  notificationStatuses: {
8
9
  error: string;
9
10
  info: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -96,21 +96,21 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "@emotion/is-prop-valid": "^1.3.1",
99
- "@itcase/common": "^1.2.22",
100
- "@itcase/config": "^1.0.40",
99
+ "@itcase/common": "^1.2.23",
100
+ "@itcase/config": "^1.0.41",
101
101
  "@itcase/icons": "^1.0.29",
102
102
  "@itcase/storybook-config": "^1.1.9",
103
103
  "@itcase/tokens-am": "^1.1.3",
104
104
  "@itcase/tokens-baikal": "^1.1.3",
105
- "@itcase/types": "^1.0.2",
105
+ "@itcase/types": "^1.0.3",
106
106
  "clsx": "^2.1.1",
107
107
  "date-fns": "^4.1.0",
108
108
  "eslint-import-resolver-alias": "^1.1.2",
109
109
  "eslint-plugin-import": "^2.31.0",
110
- "framer-motion": "^12.9.1",
110
+ "framer-motion": "^12.11.0",
111
111
  "js-cookie": "^3.0.5",
112
112
  "lodash": "^4.17.21",
113
- "motion": "^12.9.1",
113
+ "motion": "^12.11.0",
114
114
  "rc-slider": "^11.1.8",
115
115
  "react": "^18.3.1",
116
116
  "react-dadata": "^2.27.4",
@@ -118,7 +118,7 @@
118
118
  "react-dom": "^18.3.1",
119
119
  "react-indiana-drag-scroll": "^3.0.3-alpha",
120
120
  "react-inlinesvg": "^4.2.0",
121
- "react-modal-sheet": "^4.0.1",
121
+ "react-modal-sheet": "^4.4.0",
122
122
  "react-modern-drawer": "^1.4.0",
123
123
  "react-otp-input": "^3.1.1",
124
124
  "react-paginate": "^8.3.0",
@@ -130,11 +130,11 @@
130
130
  "uuid": "^11.1.0"
131
131
  },
132
132
  "devDependencies": {
133
- "@babel/core": "^7.26.10",
134
- "@babel/preset-env": "^7.26.9",
135
- "@babel/preset-react": "^7.26.3",
136
- "@commitlint/cli": "^19.8.0",
137
- "@commitlint/config-conventional": "^19.8.0",
133
+ "@babel/core": "^7.27.1",
134
+ "@babel/preset-env": "^7.27.2",
135
+ "@babel/preset-react": "^7.27.1",
136
+ "@commitlint/cli": "^19.8.1",
137
+ "@commitlint/config-conventional": "^19.8.1",
138
138
  "@itcase/lint": "^1.1.9",
139
139
  "@rollup/plugin-alias": "^5.1.1",
140
140
  "@rollup/plugin-babel": "^6.0.4",
@@ -160,22 +160,22 @@
160
160
  "babel-plugin-react-docgen": "^4.2.1",
161
161
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
162
162
  "conventional-changelog-conventionalcommits": "^8.0.0",
163
- "eslint": "9.25.1",
163
+ "eslint": "9.26.0",
164
164
  "husky": "^9.1.7",
165
- "lint-staged": "^15.5.1",
165
+ "lint-staged": "^16.0.0",
166
166
  "npm": "^11.3.0",
167
167
  "postcss": "^8.5.3",
168
168
  "prettier": "^3.5.3",
169
169
  "react-docgen-typescript": "^2.2.2",
170
170
  "react-svg": "^16.3.0",
171
- "rollup": "^4.40.0",
171
+ "rollup": "^4.40.2",
172
172
  "rollup-plugin-copy": "^3.5.0",
173
173
  "rollup-plugin-dts": "^6.2.1",
174
174
  "rollup-plugin-peer-deps-external": "^2.2.4",
175
175
  "rollup-preserve-directives": "^1.1.3",
176
176
  "semantic-release": "^24.2.3",
177
177
  "storybook": "^8.6.12",
178
- "stylelint": "^16.19.0",
178
+ "stylelint": "^16.19.1",
179
179
  "typescript": "^5.8.3"
180
180
  }
181
181
  }