@itcase/ui 1.8.58 → 1.8.61

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 (57) hide show
  1. package/dist/{Avatar_cjs_CxyEa4gB.js → Avatar_cjs_B-x-GK60.js} +29 -4
  2. package/dist/{Avatar_es_DQTyqtKx.js → Avatar_es_Dq-ngVWR.js} +29 -4
  3. package/dist/{Button_cjs_DnkftkHE.js → Button_cjs_mbF1YhaZ.js} +2 -2
  4. package/dist/{Button_es_kqE4jwUz.js → Button_es_B2N3GsgJ.js} +2 -2
  5. package/dist/{ChipsGroup_cjs_CymyJ6SH.js → ChipsGroup_cjs_BroKrFnn.js} +37 -4
  6. package/dist/{ChipsGroup_es_BVXA2F8b.js → ChipsGroup_es_CCN4Bfnp.js} +37 -4
  7. package/dist/{DatePicker_cjs_DuPePxS9.js → DatePicker_cjs_CMgWyAQ0.js} +1 -1
  8. package/dist/{DatePicker_es_B84xipuO.js → DatePicker_es_CLJs86S9.js} +1 -1
  9. package/dist/{DropdownItem_cjs_BtL83PeZ.js → DropdownItem_cjs_DdjN_gRH.js} +3 -3
  10. package/dist/{DropdownItem_es_BK2bacxA.js → DropdownItem_es_DfEoMbef.js} +3 -3
  11. package/dist/{Image_cjs_2zEjohYE.js → Image_cjs_B6YlGx8G.js} +2 -2
  12. package/dist/{Image_es_ChF-63wh.js → Image_es_BvYo_cHH.js} +2 -2
  13. package/dist/cjs/components/Avatar.js +2 -2
  14. package/dist/cjs/components/AvatarStack.js +2 -2
  15. package/dist/cjs/components/Button.js +1 -1
  16. package/dist/cjs/components/Cell.js +12 -0
  17. package/dist/cjs/components/Chips.js +1 -1
  18. package/dist/cjs/components/CookiesWarning.js +1 -1
  19. package/dist/cjs/components/DatePeriod.js +3 -3
  20. package/dist/cjs/components/DatePicker.js +2 -2
  21. package/dist/cjs/components/Dropdown.js +1 -1
  22. package/dist/cjs/components/Image.js +1 -1
  23. package/dist/cjs/components/Logo.js +3 -3
  24. package/dist/cjs/components/MenuItem.js +1 -0
  25. package/dist/cjs/components/Pagination.js +1 -1
  26. package/dist/cjs/components/Response.js +9 -17
  27. package/dist/components/Avatar.js +2 -2
  28. package/dist/components/AvatarStack.js +2 -2
  29. package/dist/components/Button.js +1 -1
  30. package/dist/components/Cell.js +12 -0
  31. package/dist/components/Chips.js +1 -1
  32. package/dist/components/CookiesWarning.js +1 -1
  33. package/dist/components/DatePeriod.js +3 -3
  34. package/dist/components/DatePicker.js +2 -2
  35. package/dist/components/Dropdown.js +1 -1
  36. package/dist/components/Image.js +1 -1
  37. package/dist/components/Logo.js +3 -3
  38. package/dist/components/MenuItem.js +1 -0
  39. package/dist/components/Pagination.js +1 -1
  40. package/dist/components/Response.js +9 -17
  41. package/dist/css/components/Avatar/Avatar.css +0 -22
  42. package/dist/css/components/Chips/Chips.css +0 -20
  43. package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +3 -4
  44. package/dist/css/components/Select/Select.css +1 -1
  45. package/dist/css/components/Swiper/Swiper.css +3 -1
  46. package/dist/css/styles/align/align_horizontal-reverse.css +20 -5
  47. package/dist/css/styles/align/align_horizontal.css +24 -8
  48. package/dist/css/styles/align/align_vertical-reverse.css +19 -7
  49. package/dist/css/styles/align/align_vertical.css +22 -7
  50. package/dist/stories/Overview.mdx +1 -1
  51. package/dist/stories/Playground.mdx +1 -1
  52. package/dist/types/components/Avatar/appearance/avatarShape.d.ts +25 -0
  53. package/dist/types/components/Cell/appearance/cellSurface.d.ts +12 -0
  54. package/dist/types/components/Chips/appearance/chipsShape.d.ts +25 -0
  55. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +8 -0
  56. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +1 -0
  57. package/package.json +4 -4
@@ -1,63 +1,79 @@
1
+ %align-horizontal {
2
+ display: flex;
3
+ flex-direction: row;
4
+ }
5
+
1
6
  .align {
2
7
  &_horizontal {
3
- display: flex;
4
- flex-direction: row;
5
- &^&_top {
8
+ &_top {
9
+ @extend %align-horizontal;
6
10
  align-items: flex-start;
7
11
  &-left {
12
+ @extend %align-horizontal;
8
13
  align-items: flex-start;
9
14
  }
10
15
  &-center {
16
+ @extend %align-horizontal;
11
17
  text-align: center;
12
18
  justify-content: center;
13
19
  align-items: flex-start;
14
20
  }
15
21
  &-right {
22
+ @extend %align-horizontal;
16
23
  text-align: right;
17
24
  justify-content: flex-end;
18
25
  align-items: flex-start;
19
26
  }
20
27
  &-auto {
28
+ @extend %align-horizontal;
21
29
  text-align: right;
22
30
  justify-content: space-between;
23
31
  align-items: flex-start;
24
32
  }
25
33
  }
26
- &^&_left {
34
+ &-left {
35
+ @extend %align-horizontal;
27
36
  align-items: center;
28
37
  }
29
- &^&_center {
38
+ &-center {
39
+ @extend %align-horizontal;
30
40
  text-align: center;
31
41
  justify-content: center;
32
42
  align-items: center;
33
43
  &-auto {
44
+ @extend %align-horizontal;
34
45
  text-align: center;
35
46
  justify-content: space-between;
36
47
  align-items: center;
37
48
  }
38
49
  }
39
- &^&_right {
50
+ &-right {
51
+ @extend %align-horizontal;
40
52
  text-align: right;
41
53
  justify-content: flex-end;
42
54
  align-items: center;
43
55
  }
44
- &^&_bottom {
56
+ &_bottom {
57
+ @extend %align-horizontal;
45
58
  align-items: flex-end;
46
59
  &-left {
47
- flex-direction: row;
60
+ @extend %align-horizontal;
48
61
  align-items: flex-end;
49
62
  }
50
63
  &-center {
64
+ @extend %align-horizontal;
51
65
  text-align: center;
52
66
  justify-content: center;
53
67
  align-items: flex-end;
54
68
  }
55
69
  &-right {
56
70
  text-align: right;
71
+ @extend %align-horizontal;
57
72
  justify-content: flex-end;
58
73
  align-items: flex-end;
59
74
  }
60
75
  &-auto {
76
+ @extend %align-horizontal;
61
77
  text-align: right;
62
78
  justify-content: space-between;
63
79
  align-items: flex-end;
@@ -1,45 +1,57 @@
1
+ %align-vertical-reverse {
2
+ display: flex;
3
+ flex-direction: column-reverse;
4
+ }
5
+
1
6
  .align {
2
7
  &_vertical-reverse {
3
- display: flex;
4
- flex-direction: column;
5
- &^&_top {
8
+ &-top {
6
9
  &-left {
10
+ @extend %align-horizontal-reverse;
7
11
  align-items: flex-start;
8
12
  }
9
13
  &-center {
14
+ @extend %align-horizontal-reverse;
10
15
  text-align: center;
11
16
  align-items: center;
12
17
  }
13
18
  &-right {
19
+ @extend %align-horizontal-reverse;
14
20
  text-align: right;
15
21
  align-items: flex-end;
16
22
  }
17
23
  }
18
- &^&_left {
24
+ &-left {
25
+ @extend %align-horizontal-reverse;
19
26
  justify-content: center;
20
27
  align-items: flex-start;
21
28
  }
22
- &^&_center {
29
+ &-center {
30
+ @extend %align-horizontal-reverse;
23
31
  text-align: center;
24
32
  justify-content: center;
25
33
  align-items: center;
26
34
  }
27
- &^&_right {
35
+ &-right {
36
+ @extend %align-horizontal-reverse;
28
37
  text-align: right;
29
38
  justify-content: center;
30
39
  align-items: flex-end;
31
40
  }
32
- &^&_bottom {
41
+ &-bottom {
33
42
  &-left {
43
+ @extend %align-horizontal-reverse;
34
44
  justify-content: flex-end;
35
45
  align-items: flex-start;
36
46
  }
37
47
  &-center {
48
+ @extend %align-horizontal-reverse;
38
49
  text-align: center;
39
50
  justify-content: flex-end;
40
51
  align-items: center;
41
52
  }
42
53
  &-right {
54
+ @extend %align-horizontal-reverse;
43
55
  text-align: right;
44
56
  justify-content: flex-end;
45
57
  align-items: flex-end;
@@ -1,60 +1,75 @@
1
+ %align-vertical {
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+
1
6
  .align {
2
7
  &_vertical {
3
- display: flex;
4
- flex-direction: column;
5
- &^&_top {
8
+ &-top {
6
9
  &-left {
10
+ @extend %align-vertical;
7
11
  align-items: flex-start;
8
12
  }
9
13
  &-center {
14
+ @extend %align-vertical;
10
15
  text-align: center;
11
16
  align-items: center;
12
17
  }
13
18
  &-right {
19
+ @extend %align-vertical;
14
20
  text-align: right;
15
21
  align-items: flex-end;
16
22
  }
17
23
  &-auto {
24
+ @extend %align-vertical;
18
25
  text-align: center;
19
26
  justify-content: space-between;
20
27
  align-items: center;
21
28
  }
22
29
  }
23
- &^&-left {
30
+ &-left {
31
+ @extend %align-vertical;
24
32
  justify-content: center;
25
33
  align-items: flex-start;
26
34
  }
27
- &^&-center {
35
+ &-center {
36
+ @extend %align-vertical;
28
37
  text-align: center;
29
38
  justify-content: center;
30
39
  align-items: center;
31
40
  &-auto {
41
+ @extend %align-vertical;
32
42
  text-align: center;
33
43
  justify-content: space-between;
34
44
  align-items: center;
35
45
  }
36
46
  }
37
- &^&_right {
47
+ &-right {
48
+ @extend %align-vertical;
38
49
  text-align: right;
39
50
  justify-content: center;
40
51
  align-items: flex-end;
41
52
  }
42
- &^&_bottom {
53
+ &-bottom {
43
54
  &-left {
55
+ @extend %align-vertical;
44
56
  justify-content: flex-end;
45
57
  align-items: flex-start;
46
58
  }
47
59
  &-center {
60
+ @extend %align-vertical;
48
61
  text-align: center;
49
62
  justify-content: flex-end;
50
63
  align-items: center;
51
64
  }
52
65
  &-right {
66
+ @extend %align-vertical;
53
67
  text-align: right;
54
68
  justify-content: flex-end;
55
69
  align-items: flex-end;
56
70
  }
57
71
  &-auto {
72
+ @extend %align-vertical;
58
73
  text-align: center;
59
74
  justify-content: space-between;
60
75
  align-items: center;
@@ -1,4 +1,4 @@
1
- import { Meta, Story } from '@storybook/blocks'
1
+ import { Meta, Story } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as WarningStories from '../stories/WarningDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as WarningStories from '../stories/WarningDemo.stories.tsx'
4
4
 
@@ -0,0 +1,25 @@
1
+ declare const avatarAppearanceShape: {
2
+ circular: {
3
+ shape: string;
4
+ };
5
+ rounded: {
6
+ shape: string;
7
+ };
8
+ roundedL: {
9
+ shape: string;
10
+ shapeStrength: string;
11
+ };
12
+ roundedM: {
13
+ shape: string;
14
+ shapeStrength: string;
15
+ };
16
+ roundedS: {
17
+ shape: string;
18
+ shapeStrength: string;
19
+ };
20
+ roundedXL: {
21
+ shape: string;
22
+ shapeStrength: string;
23
+ };
24
+ };
25
+ export { avatarAppearanceShape };
@@ -2,7 +2,10 @@ declare const cellAppearanceSurface: {
2
2
  surfacePrimary: {
3
3
  fill: string;
4
4
  fillHover: string;
5
+ titleTextSize: string;
5
6
  titleIconItemFill: string;
7
+ valueTextColor: string;
8
+ titleTextColor: string;
6
9
  titleLabelAppearance: string;
7
10
  labelTextColor: string;
8
11
  borderColor: string;
@@ -12,7 +15,10 @@ declare const cellAppearanceSurface: {
12
15
  surfaceSecondary: {
13
16
  fill: string;
14
17
  fillHover: string;
18
+ titleTextSize: string;
19
+ titleTextColor: string;
15
20
  titleIconItemFill: string;
21
+ valueTextColor: string;
16
22
  titleLabelAppearance: string;
17
23
  labelTextColor: string;
18
24
  borderColor: string;
@@ -22,7 +28,10 @@ declare const cellAppearanceSurface: {
22
28
  surfaceTertiary: {
23
29
  fill: string;
24
30
  fillHover: string;
31
+ titleTextSize: string;
32
+ titleTextColor: string;
25
33
  titleIconItemFill: string;
34
+ valueTextColor: string;
26
35
  titleLabelAppearance: string;
27
36
  labelTextColor: string;
28
37
  borderColor: string;
@@ -30,7 +39,10 @@ declare const cellAppearanceSurface: {
30
39
  valueLabelAppearance: string;
31
40
  };
32
41
  surfaceQuaternary: {
42
+ titleTextSize: string;
33
43
  fill: string;
44
+ valueTextColor: string;
45
+ titleTextColor: string;
34
46
  fillHover: string;
35
47
  titleIconItemFill: string;
36
48
  titleLabelAppearance: string;
@@ -0,0 +1,25 @@
1
+ declare const chipsAppearanceShape: {
2
+ circular: {
3
+ shape: string;
4
+ };
5
+ rounded: {
6
+ shape: string;
7
+ };
8
+ roundedL: {
9
+ shape: string;
10
+ shapeStrength: string;
11
+ };
12
+ roundedM: {
13
+ shape: string;
14
+ shapeStrength: string;
15
+ };
16
+ roundedS: {
17
+ shape: string;
18
+ shapeStrength: string;
19
+ };
20
+ roundedXL: {
21
+ shape: string;
22
+ shapeStrength: string;
23
+ };
24
+ };
25
+ export { chipsAppearanceShape };
@@ -24,9 +24,17 @@ declare const chipsAppearanceSurface: {
24
24
  };
25
25
  surfaceSecondary: {
26
26
  fill: string;
27
+ fillActive: string;
28
+ fillActiveHover: string;
27
29
  fillHover: string;
30
+ labelTextActiveColor: string;
28
31
  labelTextColor: string;
32
+ labelTextHoverColor: string;
29
33
  borderColor: string;
34
+ iconAfterFillActiveIcon: string;
35
+ iconAfterFillIcon: string;
36
+ iconBeforeFillActiveIcon: string;
37
+ iconBeforeFillIcon: string;
30
38
  };
31
39
  surfaceTertiary: {
32
40
  fill: string;
@@ -12,6 +12,7 @@ declare const menuItemAppearanceSurface: {
12
12
  fillActive: string;
13
13
  fillActiveHover: string;
14
14
  fillHover: string;
15
+ labelTextHoverColor: string;
15
16
  labelTextColor: string;
16
17
  borderColor: string;
17
18
  iconAfterFillIcon: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.58",
3
+ "version": "1.8.61",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -103,7 +103,7 @@
103
103
  "@emotion/is-prop-valid": "^1.3.1",
104
104
  "@itcase/common": "^1.2.28",
105
105
  "@itcase/icons": "^1.2.16",
106
- "@itcase/storybook-config": "^1.1.37",
106
+ "@itcase/storybook-config": "^1.1.50",
107
107
  "@itcase/tokens-am": "^1.1.19",
108
108
  "@itcase/tokens-baikal": "^1.1.17",
109
109
  "@itcase/tokens-palette": "^1.1.11",
@@ -142,8 +142,8 @@
142
142
  "@babel/preset-react": "^7.27.1",
143
143
  "@commitlint/cli": "^19.8.1",
144
144
  "@commitlint/config-conventional": "^19.8.1",
145
- "@itcase/config": "^1.0.53",
146
- "@itcase/lint": "^1.1.24",
145
+ "@itcase/config": "^1.0.54",
146
+ "@itcase/lint": "^1.1.25",
147
147
  "@itcase/types": "^1.0.6",
148
148
  "@rollup/plugin-alias": "^5.1.1",
149
149
  "@rollup/plugin-babel": "^6.0.4",