@itcase/ui 1.8.61 → 1.8.63

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 (126) hide show
  1. package/dist/{Avatar_cjs_B-x-GK60.js → Avatar_cjs_DOBcPDTn.js} +2 -2
  2. package/dist/{Avatar_es_Dq-ngVWR.js → Avatar_es_DA6o8oNQ.js} +2 -2
  3. package/dist/{Button_cjs_mbF1YhaZ.js → Button_cjs_C_9WLtoA.js} +10 -10
  4. package/dist/{Button_es_B2N3GsgJ.js → Button_es_CuFysaNl.js} +10 -10
  5. package/dist/{ChipsGroup_cjs_BroKrFnn.js → ChipsGroup_cjs_DHNbkBEk.js} +5 -5
  6. package/dist/{ChipsGroup_es_CCN4Bfnp.js → ChipsGroup_es_zirUM0Bc.js} +5 -5
  7. package/dist/{DatePicker_cjs_CMgWyAQ0.js → DatePicker_cjs_DR5o7zLg.js} +4 -4
  8. package/dist/{DatePicker_es_CLJs86S9.js → DatePicker_es_vpk_NT3S.js} +4 -4
  9. package/dist/{DropdownItem_cjs_DdjN_gRH.js → DropdownItem_cjs_BF18Ii9Z.js} +2 -2
  10. package/dist/{DropdownItem_es_DfEoMbef.js → DropdownItem_es_2b-hX4HZ.js} +2 -2
  11. package/dist/{Group_cjs_DHNBxjH3.js → Group_cjs_D4QLNgcC.js} +2 -2
  12. package/dist/{Group_es_B2yGEJfj.js → Group_es_CruwH8Al.js} +2 -2
  13. package/dist/{Icon_cjs_O7ILYzgW.js → Icon_cjs_D1Ze-oNL.js} +8 -8
  14. package/dist/{Icon_es_BGR9vYtq.js → Icon_es_DrQu8Zp8.js} +8 -8
  15. package/dist/{Label_cjs_eQIgvtt7.js → Label_cjs_BPu58uG9.js} +7 -7
  16. package/dist/{Label_es_BQDu9dwH.js → Label_es_CH68RBo-.js} +7 -7
  17. package/dist/{Loader_cjs_DXJ1zsFJ.js → Loader_cjs_DlnM5Vzb.js} +16 -2
  18. package/dist/{Loader_es_D_NFpg8C.js → Loader_es_DhNCKZ8Y.js} +16 -2
  19. package/dist/{Overlay_cjs_BMrkRg7M.js → Overlay_cjs_B2KA85nC.js} +1 -1
  20. package/dist/{Overlay_es_D_izIIUB.js → Overlay_es_BvehRqIP.js} +1 -1
  21. package/dist/{Text_cjs_C-Ux7Tz5.js → Text_cjs_B8nNXWBA.js} +1 -1
  22. package/dist/{Text_es_BdFAdf7M.js → Text_es_BvmOR4nv.js} +1 -1
  23. package/dist/cjs/components/Accordion.js +2 -2
  24. package/dist/cjs/components/Avatar.js +3 -3
  25. package/dist/cjs/components/AvatarStack.js +4 -4
  26. package/dist/cjs/components/Badge.js +2 -2
  27. package/dist/cjs/components/Breadcrumbs.js +2 -2
  28. package/dist/cjs/components/Button.js +4 -4
  29. package/dist/cjs/components/Cell.js +3 -3
  30. package/dist/cjs/components/Checkbox.js +1 -1
  31. package/dist/cjs/components/Chips.js +3 -3
  32. package/dist/cjs/components/Choice.js +4 -4
  33. package/dist/cjs/components/CookiesWarning.js +4 -4
  34. package/dist/cjs/components/DatePeriod.js +7 -7
  35. package/dist/cjs/components/DatePicker.js +6 -6
  36. package/dist/cjs/components/Drawer.js +4 -4
  37. package/dist/cjs/components/Dropdown.js +3 -3
  38. package/dist/cjs/components/Flex.js +2 -2
  39. package/dist/cjs/components/Grid.js +3 -3
  40. package/dist/cjs/components/Group.js +1 -1
  41. package/dist/cjs/components/HTMLContent.js +1 -1
  42. package/dist/cjs/components/HeroTitle.js +3 -3
  43. package/dist/cjs/components/Icon.js +2 -2
  44. package/dist/cjs/components/InputPassword.js +2 -2
  45. package/dist/cjs/components/Label.js +3 -3
  46. package/dist/cjs/components/Loader.js +2 -2
  47. package/dist/cjs/components/MenuItem.js +2 -2
  48. package/dist/cjs/components/Modal.js +5 -5
  49. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  50. package/dist/cjs/components/Notification.js +3 -3
  51. package/dist/cjs/components/Overlay.js +1 -1
  52. package/dist/cjs/components/Pagination.js +4 -4
  53. package/dist/cjs/components/Radio.js +1 -1
  54. package/dist/cjs/components/Response/img.js +4 -4
  55. package/dist/cjs/components/Response.js +12 -8
  56. package/dist/cjs/components/Search.js +35 -10
  57. package/dist/cjs/components/Segmented.js +2 -2
  58. package/dist/cjs/components/Select.js +3 -3
  59. package/dist/cjs/components/Swiper.js +2 -2
  60. package/dist/cjs/components/Switch.js +1 -1
  61. package/dist/cjs/components/Tab.js +4 -4
  62. package/dist/cjs/components/Text.js +1 -1
  63. package/dist/cjs/components/Tile.js +3 -3
  64. package/dist/cjs/components/Title.js +2 -2
  65. package/dist/cjs/components/Tooltip.js +2 -2
  66. package/dist/cjs/components/Warning.js +2 -2
  67. package/dist/components/Accordion.js +2 -2
  68. package/dist/components/Avatar.js +3 -3
  69. package/dist/components/AvatarStack.js +4 -4
  70. package/dist/components/Badge.js +2 -2
  71. package/dist/components/Breadcrumbs.js +2 -2
  72. package/dist/components/Button.js +4 -4
  73. package/dist/components/Cell.js +3 -3
  74. package/dist/components/Checkbox.js +1 -1
  75. package/dist/components/Chips.js +3 -3
  76. package/dist/components/Choice.js +4 -4
  77. package/dist/components/CookiesWarning.js +4 -4
  78. package/dist/components/DatePeriod.js +7 -7
  79. package/dist/components/DatePicker.js +6 -6
  80. package/dist/components/Drawer.js +4 -4
  81. package/dist/components/Dropdown.js +3 -3
  82. package/dist/components/Flex.js +2 -2
  83. package/dist/components/Grid.js +3 -3
  84. package/dist/components/Group.js +1 -1
  85. package/dist/components/HTMLContent.js +1 -1
  86. package/dist/components/HeroTitle.js +3 -3
  87. package/dist/components/Icon.js +2 -2
  88. package/dist/components/InputPassword.js +2 -2
  89. package/dist/components/Label.js +3 -3
  90. package/dist/components/Loader.js +2 -2
  91. package/dist/components/MenuItem.js +2 -2
  92. package/dist/components/Modal.js +5 -5
  93. package/dist/components/ModalSheetBottom.js +1 -1
  94. package/dist/components/Notification.js +3 -3
  95. package/dist/components/Overlay.js +1 -1
  96. package/dist/components/Pagination.js +4 -4
  97. package/dist/components/Radio.js +1 -1
  98. package/dist/components/Response/img.js +4 -4
  99. package/dist/components/Response.js +11 -8
  100. package/dist/components/Search.js +35 -10
  101. package/dist/components/Segmented.js +2 -2
  102. package/dist/components/Select.js +3 -3
  103. package/dist/components/Swiper.js +2 -2
  104. package/dist/components/Switch.js +1 -1
  105. package/dist/components/Tab.js +4 -4
  106. package/dist/components/Text.js +1 -1
  107. package/dist/components/Tile.js +3 -3
  108. package/dist/components/Title.js +2 -2
  109. package/dist/components/Tooltip.js +2 -2
  110. package/dist/components/Warning.js +2 -2
  111. package/dist/css/components/Badge/Badge.css +0 -10
  112. package/dist/css/components/Label/Label.css +0 -25
  113. package/dist/css/components/Search/Search.css +14 -42
  114. package/dist/css/components/Search/css/search-input/search-input.css +8 -19
  115. package/dist/types/components/Badge/appearance/badgeShape.d.ts +2 -2
  116. package/dist/types/components/Button/appearance/buttonStyle.d.ts +4 -4
  117. package/dist/types/components/Label/appearance/labelShape.d.ts +2 -2
  118. package/dist/types/components/Loader/appearance/loaderStyle.d.ts +14 -0
  119. package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -0
  120. package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -2
  121. package/dist/types/components/Response/img/index.d.ts +4 -4
  122. package/dist/types/components/Response/index.d.ts +4 -2
  123. package/dist/types/components/Search/appearance/searchShape.d.ts +25 -0
  124. package/package.json +5 -5
  125. package/dist/css/components/Search/css/search-input/search-input_shape.css +0 -8
  126. 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
  }
@@ -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
  };
@@ -1,13 +1,13 @@
1
1
  declare const buttonAppearanceStyle: {
2
- full: {};
3
- ghost: {
4
- fill: string;
2
+ solid: {
5
3
  borderColor: string;
6
4
  };
7
5
  outlined: {
8
6
  fill: string;
9
7
  };
10
- solid: {
8
+ full: {};
9
+ ghost: {
10
+ fill: string;
11
11
  borderColor: string;
12
12
  };
13
13
  };
@@ -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,14 @@
1
+ declare const loaderAppearanceStyle: {
2
+ solid: {
3
+ borderColor: string;
4
+ };
5
+ outlined: {
6
+ fill: string;
7
+ };
8
+ full: {};
9
+ ghost: {
10
+ fill: string;
11
+ borderColor: string;
12
+ };
13
+ };
14
+ export { loaderAppearanceStyle };
@@ -5,6 +5,8 @@ declare const responseAppearanceConfirm: {
5
5
  titleTextSize: string;
6
6
  labelTextColor: string;
7
7
  descTextSize: string;
8
+ svgFill: string;
9
+ svgPathFill: string;
8
10
  primaryButtonAppearance: string;
9
11
  secondaryButtonAppearance: string;
10
12
  };
@@ -5,10 +5,10 @@ declare const responseAppearanceSuccess: {
5
5
  titleTextSize: string;
6
6
  labelTextColor: string;
7
7
  descTextSize: string;
8
- primaryButtonAppearance: string;
9
- secondaryButtonAppearance: string;
10
8
  svgFill: string;
11
9
  svgPathFill: string;
10
+ primaryButtonAppearance: string;
11
+ secondaryButtonAppearance: string;
12
12
  };
13
13
  };
14
14
  export { responseAppearanceSuccess };
@@ -1,12 +1,12 @@
1
- declare const resposeIcon: {
1
+ declare const responseIcon: {
2
+ Error: any;
2
3
  Warning: any;
3
4
  Success: any;
4
5
  Confirm: any;
5
- Search: any;
6
- Error: any;
7
6
  Fail: any;
8
7
  NothingFound: any;
9
8
  Refresh: any;
9
+ Search: any;
10
10
  UnableLoadData: any;
11
11
  };
12
- export { resposeIcon };
12
+ export { responseIcon };
@@ -1,2 +1,4 @@
1
- export { responseAppearance } from './Response.appearance';
2
- export { Response, responseConfig } from './Response';
1
+ import { responseIcon } from './img';
2
+ import { Response, responseConfig } from './Response';
3
+ import { responseAppearance } from './Response.appearance';
4
+ export { responseAppearance, responseIcon, Response, responseConfig };
@@ -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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.61",
3
+ "version": "1.8.63",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -103,11 +103,11 @@
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.50",
106
+ "@itcase/storybook-config": "^1.1.53",
107
107
  "@itcase/tokens-am": "^1.1.19",
108
108
  "@itcase/tokens-baikal": "^1.1.17",
109
109
  "@itcase/tokens-palette": "^1.1.11",
110
- "@storybook/addon-vitest": "^9.0.17",
110
+ "@storybook/addon-vitest": "^9.0.18",
111
111
  "clsx": "^2.1.1",
112
112
  "date-fns": "^4.1.0",
113
113
  "eslint-import-resolver-alias": "^1.1.2",
@@ -143,7 +143,7 @@
143
143
  "@commitlint/cli": "^19.8.1",
144
144
  "@commitlint/config-conventional": "^19.8.1",
145
145
  "@itcase/config": "^1.0.54",
146
- "@itcase/lint": "^1.1.25",
146
+ "@itcase/lint": "^1.1.26",
147
147
  "@itcase/types": "^1.0.6",
148
148
  "@rollup/plugin-alias": "^5.1.1",
149
149
  "@rollup/plugin-babel": "^6.0.4",
@@ -180,7 +180,7 @@
180
180
  "rollup-plugin-peer-deps-external": "^2.2.4",
181
181
  "rollup-preserve-directives": "^1.1.3",
182
182
  "semantic-release": "^24.2.7",
183
- "storybook": "^9.0.17",
183
+ "storybook": "^9.0.18",
184
184
  "stylelint": "^16.22.0",
185
185
  "typescript": "^5.8.3"
186
186
  }
@@ -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
- }