@itcase/ui 1.8.62 → 1.8.64

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 (95) hide show
  1. package/dist/{Avatar_cjs_g8d8LDkU.js → Avatar_cjs_DOBcPDTn.js} +1 -1
  2. package/dist/{Avatar_es_DbH5Le9j.js → Avatar_es_DA6o8oNQ.js} +1 -1
  3. package/dist/{Button_cjs_BMCGsGKK.js → Button_cjs_CA7J_adG.js} +5 -5
  4. package/dist/{Button_es_CvkdyDHz.js → Button_es_BSxEly4r.js} +5 -5
  5. package/dist/{ChipsGroup_cjs_BALOkFuT.js → ChipsGroup_cjs_DHNbkBEk.js} +1 -1
  6. package/dist/{ChipsGroup_es_BIDq4idr.js → ChipsGroup_es_zirUM0Bc.js} +1 -1
  7. package/dist/{DatePicker_cjs_EaIpF6cm.js → DatePicker_cjs_BsLBVElQ.js} +3 -3
  8. package/dist/{DatePicker_es_Cq2jJkv0.js → DatePicker_es_BotT8lRT.js} +3 -3
  9. package/dist/{DropdownItem_cjs_DyjqXle_.js → DropdownItem_cjs_BF18Ii9Z.js} +1 -1
  10. package/dist/{DropdownItem_es_DHKJHW8q.js → DropdownItem_es_2b-hX4HZ.js} +1 -1
  11. package/dist/{Icon_cjs_BsACgdjJ.js → Icon_cjs_D1Ze-oNL.js} +5 -5
  12. package/dist/{Icon_es_CoIszJbl.js → Icon_es_DrQu8Zp8.js} +5 -5
  13. package/dist/{Label_cjs_QJ0WLQXG.js → Label_cjs_BPu58uG9.js} +6 -6
  14. package/dist/{Label_es_WH-qJKvj.js → Label_es_CH68RBo-.js} +6 -6
  15. package/dist/cjs/components/Accordion.js +1 -1
  16. package/dist/cjs/components/Avatar.js +2 -2
  17. package/dist/cjs/components/AvatarStack.js +2 -2
  18. package/dist/cjs/components/Badge.js +1 -1
  19. package/dist/cjs/components/Breadcrumbs.js +1 -1
  20. package/dist/cjs/components/Button.js +2 -2
  21. package/dist/cjs/components/Cell.js +2 -2
  22. package/dist/cjs/components/Chips.js +2 -2
  23. package/dist/cjs/components/Choice.js +1 -1
  24. package/dist/cjs/components/CookiesWarning.js +2 -2
  25. package/dist/cjs/components/DatePeriod.js +5 -5
  26. package/dist/cjs/components/DatePicker.js +4 -4
  27. package/dist/cjs/components/Drawer.js +4 -4
  28. package/dist/cjs/components/Dropdown.js +2 -2
  29. package/dist/cjs/components/HeroTitle.js +1 -1
  30. package/dist/cjs/components/Icon.js +1 -1
  31. package/dist/cjs/components/InputPassword.js +1 -1
  32. package/dist/cjs/components/Label.js +2 -2
  33. package/dist/cjs/components/MenuItem.js +1 -1
  34. package/dist/cjs/components/Modal.js +1 -1
  35. package/dist/cjs/components/Notification.js +1 -1
  36. package/dist/cjs/components/Pagination.js +2 -2
  37. package/dist/cjs/components/Response.js +2 -2
  38. package/dist/cjs/components/Search.js +34 -9
  39. package/dist/cjs/components/Segmented.js +1 -1
  40. package/dist/cjs/components/Select.js +1 -1
  41. package/dist/cjs/components/Swiper.js +1 -1
  42. package/dist/cjs/components/Tab.js +2 -4
  43. package/dist/cjs/components/Tile.js +39 -12
  44. package/dist/cjs/components/Title.js +1 -1
  45. package/dist/cjs/components/Tooltip.js +1 -1
  46. package/dist/cjs/components/Warning.js +1 -1
  47. package/dist/components/Accordion.js +1 -1
  48. package/dist/components/Avatar.js +2 -2
  49. package/dist/components/AvatarStack.js +2 -2
  50. package/dist/components/Badge.js +1 -1
  51. package/dist/components/Breadcrumbs.js +1 -1
  52. package/dist/components/Button.js +2 -2
  53. package/dist/components/Cell.js +2 -2
  54. package/dist/components/Chips.js +2 -2
  55. package/dist/components/Choice.js +1 -1
  56. package/dist/components/CookiesWarning.js +2 -2
  57. package/dist/components/DatePeriod.js +5 -5
  58. package/dist/components/DatePicker.js +4 -4
  59. package/dist/components/Drawer.js +4 -4
  60. package/dist/components/Dropdown.js +2 -2
  61. package/dist/components/HeroTitle.js +1 -1
  62. package/dist/components/Icon.js +1 -1
  63. package/dist/components/InputPassword.js +1 -1
  64. package/dist/components/Label.js +2 -2
  65. package/dist/components/MenuItem.js +1 -1
  66. package/dist/components/Modal.js +1 -1
  67. package/dist/components/Notification.js +1 -1
  68. package/dist/components/Pagination.js +2 -2
  69. package/dist/components/Response.js +2 -2
  70. package/dist/components/Search.js +34 -9
  71. package/dist/components/Segmented.js +1 -1
  72. package/dist/components/Select.js +1 -1
  73. package/dist/components/Swiper.js +1 -1
  74. package/dist/components/Tab.js +2 -4
  75. package/dist/components/Tile.js +39 -12
  76. package/dist/components/Title.js +1 -1
  77. package/dist/components/Tooltip.js +1 -1
  78. package/dist/components/Warning.js +1 -1
  79. package/dist/css/components/Badge/Badge.css +0 -10
  80. package/dist/css/components/Drawer/Drawer.css +17 -11
  81. package/dist/css/components/Label/Label.css +0 -25
  82. package/dist/css/components/Search/Search.css +14 -42
  83. package/dist/css/components/Search/css/search-input/search-input.css +8 -19
  84. package/dist/css/components/Tile/Tile.css +0 -12
  85. package/dist/css/components/Title/Title.css +1 -1
  86. package/dist/types/components/Badge/appearance/badgeShape.d.ts +2 -2
  87. package/dist/types/components/Button/appearance/buttonShape.d.ts +2 -2
  88. package/dist/types/components/Label/appearance/labelShape.d.ts +2 -2
  89. package/dist/types/components/Search/appearance/searchShape.d.ts +25 -0
  90. package/dist/types/components/Tile/appearance/tileShape.d.ts +25 -0
  91. package/dist/types/components/Tile/appearance/tileStyle.d.ts +4 -6
  92. package/dist/types/components/Tile/appearance/tileSurface.d.ts +4 -0
  93. package/package.json +1 -1
  94. package/dist/css/components/Search/css/search-input/search-input_shape.css +0 -8
  95. package/dist/css/components/Search/css/search-result/search-result_shape.css +0 -8
@@ -1,21 +1,20 @@
1
1
  .search {
2
2
  }
3
- .search {
4
- &_shape {
5
- &_rounded {
6
- border-radius: var(--search-shape-rounded);
7
- position: relative;
8
- }
9
- }
10
- }
3
+
11
4
  .search-input {
12
5
  position: relative;
13
6
  overflow: hidden;
14
7
  display: flex;
15
8
  justify-content: center;
16
9
  &__icon {
17
- display: flex;
18
- align-items: center;
10
+ &-before {
11
+ display: flex;
12
+ align-items: center;
13
+ }
14
+ &-after {
15
+ display: flex;
16
+ align-items: center;
17
+ }
19
18
  }
20
19
  &__wrapper {
21
20
  width: 100%;
@@ -62,31 +61,8 @@
62
61
  z-index: 2;
63
62
  transform: translate(0, -50%);
64
63
  }
65
- &&_state_focus,
66
- &&_state_filled {
67
- ^&__input {
68
- &-wrapper {
69
- left: 0;
70
- }
71
- }
72
- }
73
- }
74
- @keyframes searchPlaceHolderHide {
75
- from {
76
- opacity: 100%;
77
- }
78
- to {
79
- opacity: 0%;
80
- }
81
- }
82
- .search-input {
83
- &_shape {
84
- &_rounded {
85
- border-radius: var(--search-input-shape-rounded);
86
- position: relative;
87
- }
88
- }
89
64
  }
65
+
90
66
  .search-input {
91
67
  &_size {
92
68
  @each $size in xxl, xl, l, m, s, xs, xxs {
@@ -98,6 +74,7 @@
98
74
  }
99
75
  }
100
76
  }
77
+
101
78
  .search-input {
102
79
  &&_skeleton {
103
80
  background-size: 200% !important;
@@ -114,6 +91,7 @@
114
91
  }
115
92
  }
116
93
  }
94
+
117
95
  @keyframes searchInput {
118
96
  0% {
119
97
  background-position: 200%;
@@ -122,20 +100,14 @@
122
100
  background-position: -200%;
123
101
  }
124
102
  }
103
+
125
104
  .search-result {
126
105
  width: 100%;
127
106
  &__wrapper {
128
107
  width: 100%;
129
108
  }
130
109
  }
131
- .search-result {
132
- &_shape {
133
- &_rounded {
134
- border-radius: 6px;
135
- position: relative;
136
- }
137
- }
138
- }
110
+
139
111
  :root {
140
112
  --search-input-xxl-padding: 16px 12px;
141
113
  --search-input-xxl-gap: 4px;
@@ -4,8 +4,14 @@
4
4
  display: flex;
5
5
  justify-content: center;
6
6
  &__icon {
7
- display: flex;
8
- align-items: center;
7
+ &-before {
8
+ display: flex;
9
+ align-items: center;
10
+ }
11
+ &-after {
12
+ display: flex;
13
+ align-items: center;
14
+ }
9
15
  }
10
16
  &__wrapper {
11
17
  width: 100%;
@@ -52,21 +58,4 @@
52
58
  z-index: 2;
53
59
  transform: translate(0, -50%);
54
60
  }
55
- &&_state_focus,
56
- &&_state_filled {
57
- ^&__input {
58
- &-wrapper {
59
- left: 0;
60
- }
61
- }
62
- }
63
- }
64
-
65
- @keyframes searchPlaceHolderHide {
66
- from {
67
- opacity: 100%;
68
- }
69
- to {
70
- opacity: 0%;
71
- }
72
61
  }
@@ -17,16 +17,6 @@
17
17
  }
18
18
  }
19
19
  }
20
- .tile {
21
- &_shape {
22
- &_rounded {
23
- border-radius: var(--tile-shape-rounded);
24
- }
25
- &_circular {
26
- border-radius: 50%;
27
- }
28
- }
29
- }
30
20
  .tile {
31
21
  &_size {
32
22
  @each $size in xl, l, m, s, xs, xxs {
@@ -77,8 +67,6 @@
77
67
  }
78
68
  }
79
69
  :root {
80
- --tile-shape-rounded: 0;
81
-
82
70
  --tile-size-xxl-min-width: 400px;
83
71
  --tile-size-xxl-padding: 24px;
84
72
  --tile-size-xxl-gap: 24px;
@@ -27,7 +27,6 @@
27
27
  background-position: -200%;
28
28
  }
29
29
  }
30
- /* stylelint-disable prettier/prettier */
31
30
  .title {
32
31
  &_size {
33
32
  @each $size in h1, h2, h3, h4, h5, h6 {
@@ -35,6 +34,7 @@
35
34
  padding: 0;
36
35
  margin: 0;
37
36
  display: flex;
37
+ gap: 8px;
38
38
  @mixin $(size);
39
39
  ^^&__wrapper {
40
40
  gap: var(--title-size-$(size)-gap);
@@ -5,7 +5,7 @@ declare const badgeAppearanceShape: {
5
5
  rounded: {
6
6
  shape: string;
7
7
  };
8
- roundedL: {
8
+ roundedS: {
9
9
  shape: string;
10
10
  shapeStrength: string;
11
11
  };
@@ -13,7 +13,7 @@ declare const badgeAppearanceShape: {
13
13
  shape: string;
14
14
  shapeStrength: string;
15
15
  };
16
- roundedS: {
16
+ roundedL: {
17
17
  shape: string;
18
18
  shapeStrength: string;
19
19
  };
@@ -5,7 +5,7 @@ declare const buttonAppearanceShape: {
5
5
  rounded: {
6
6
  shape: string;
7
7
  };
8
- roundedL: {
8
+ roundedS: {
9
9
  shape: string;
10
10
  shapeStrength: string;
11
11
  };
@@ -13,7 +13,7 @@ declare const buttonAppearanceShape: {
13
13
  shape: string;
14
14
  shapeStrength: string;
15
15
  };
16
- roundedS: {
16
+ roundedL: {
17
17
  shape: string;
18
18
  shapeStrength: string;
19
19
  };
@@ -5,7 +5,7 @@ declare const labelAppearanceShape: {
5
5
  rounded: {
6
6
  shape: string;
7
7
  };
8
- roundedL: {
8
+ roundedS: {
9
9
  shape: string;
10
10
  shapeStrength: string;
11
11
  };
@@ -13,7 +13,7 @@ declare const labelAppearanceShape: {
13
13
  shape: string;
14
14
  shapeStrength: string;
15
15
  };
16
- roundedS: {
16
+ roundedL: {
17
17
  shape: string;
18
18
  shapeStrength: string;
19
19
  };
@@ -0,0 +1,25 @@
1
+ declare const searchAppearanceShape: {
2
+ circular: {
3
+ shape: string;
4
+ };
5
+ rounded: {
6
+ shape: string;
7
+ };
8
+ roundedS: {
9
+ shape: string;
10
+ shapeStrength: string;
11
+ };
12
+ roundedM: {
13
+ shape: string;
14
+ shapeStrength: string;
15
+ };
16
+ roundedL: {
17
+ shape: string;
18
+ shapeStrength: string;
19
+ };
20
+ roundedXL: {
21
+ shape: string;
22
+ shapeStrength: string;
23
+ };
24
+ };
25
+ export { searchAppearanceShape };
@@ -0,0 +1,25 @@
1
+ declare const tileAppearanceShape: {
2
+ circular: {
3
+ shape: string;
4
+ };
5
+ rounded: {
6
+ shape: string;
7
+ };
8
+ roundedS: {
9
+ shape: string;
10
+ shapeStrength: string;
11
+ };
12
+ roundedM: {
13
+ shape: string;
14
+ shapeStrength: string;
15
+ };
16
+ roundedL: {
17
+ shape: string;
18
+ shapeStrength: string;
19
+ };
20
+ roundedXL: {
21
+ shape: string;
22
+ shapeStrength: string;
23
+ };
24
+ };
25
+ export { tileAppearanceShape };
@@ -1,15 +1,13 @@
1
1
  declare const tileAppearanceStyle: {
2
- full: {
3
- borderColor: string;
4
- };
5
- ghost: {
6
- fill: string;
2
+ solid: {
7
3
  borderColor: string;
8
4
  };
9
5
  outlined: {
10
6
  fill: string;
11
7
  };
12
- solid: {
8
+ full: {};
9
+ ghost: {
10
+ fill: string;
13
11
  borderColor: string;
14
12
  };
15
13
  };
@@ -4,6 +4,7 @@ declare const tileAppearanceSurface: {
4
4
  fillHover: string;
5
5
  titleTextColor: string;
6
6
  descTextColor: string;
7
+ borderColor: string;
7
8
  badgeAppearance: string;
8
9
  iconFillIcon: string;
9
10
  };
@@ -12,6 +13,7 @@ declare const tileAppearanceSurface: {
12
13
  fillHover: string;
13
14
  titleTextColor: string;
14
15
  descTextColor: string;
16
+ borderColor: string;
15
17
  badgeAppearance: string;
16
18
  iconFillIcon: string;
17
19
  };
@@ -20,6 +22,7 @@ declare const tileAppearanceSurface: {
20
22
  fillHover: string;
21
23
  titleTextColor: string;
22
24
  descTextColor: string;
25
+ borderColor: string;
23
26
  badgeAppearance: string;
24
27
  iconFillIcon: string;
25
28
  };
@@ -28,6 +31,7 @@ declare const tileAppearanceSurface: {
28
31
  fillHover: string;
29
32
  titleTextColor: string;
30
33
  descTextColor: string;
34
+ borderColor: string;
31
35
  badgeAppearance: string;
32
36
  iconFillIcon: string;
33
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.62",
3
+ "version": "1.8.64",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -1,8 +0,0 @@
1
- .search-input {
2
- &_shape {
3
- &_rounded {
4
- border-radius: var(--search-input-shape-rounded);
5
- position: relative;
6
- }
7
- }
8
- }
@@ -1,8 +0,0 @@
1
- .search-result {
2
- &_shape {
3
- &_rounded {
4
- border-radius: 6px;
5
- position: relative;
6
- }
7
- }
8
- }