@itcase/ui 1.9.75 → 1.9.76

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 (191) hide show
  1. package/dist/{Avatar_cjs_Du4ue21o.js → Avatar_cjs_CWIVt1ZK.js} +2 -2
  2. package/dist/{Avatar_es_CibEByu1.js → Avatar_es_FDfIvNWL.js} +2 -2
  3. package/dist/{Button_cjs_WtHw9BDA.js → Button_cjs_DEy-KD0C.js} +2 -2
  4. package/dist/{Button_es_8PzNfJfg.js → Button_es_B-v-yfgl.js} +2 -2
  5. package/dist/{ChipsGroup_cjs_DyrMNE7_.js → ChipsGroup_cjs_D5Ndndgq.js} +1 -1
  6. package/dist/{ChipsGroup_es_BfxuOpwS.js → ChipsGroup_es_MaP9ZLsA.js} +1 -1
  7. package/dist/{DatePicker_cjs_BSeEjkX8.js → DatePicker_cjs_fqcXugr0.js} +4 -4
  8. package/dist/{DatePicker_es_C7XoEWWQ.js → DatePicker_es_C-9bMDQd.js} +4 -4
  9. package/dist/{Group_cjs_DOK19BiO.js → Group_cjs_Qy_UR37Z.js} +1 -1
  10. package/dist/{Group_es_C5ZSQzaZ.js → Group_es_QTnd0xiG.js} +1 -1
  11. package/dist/{Image_cjs_CJeps_Bm.js → Image_cjs_3Uc6a4Us.js} +1 -1
  12. package/dist/{Image_es_814TZFXG.js → Image_es_C5fQO7VH.js} +1 -1
  13. package/dist/{Input_cjs_BgxerqP6.js → Input_cjs_4H8ohLba.js} +1 -1
  14. package/dist/{Input_es_DeChNcE-.js → Input_es_Djv7NwCQ.js} +1 -1
  15. package/dist/{Label_cjs_B6PcbtKO.js → Label_cjs_OI4mAMP4.js} +1 -1
  16. package/dist/{Label_es_BgLfzksU.js → Label_es_B8S1z9rB.js} +1 -1
  17. package/dist/{Loader_cjs_DOnd5Cda.js → Loader_cjs_JelU7xq4.js} +1 -1
  18. package/dist/{Loader_es_DXPtXFW_.js → Loader_es_4Cb8_RxK.js} +1 -1
  19. package/dist/{Overlay_cjs_DE0PpMty.js → Overlay_cjs_Bi6Hglwb.js} +1 -1
  20. package/dist/{Overlay_es_He7Wj1Za.js → Overlay_es_9SiBJ17I.js} +1 -1
  21. package/dist/{SelectContainer_cjs_DGntN9oG.js → SelectContainer_cjs_COVDZaM8.js} +3 -3
  22. package/dist/{SelectContainer_es_FnfMojiJ.js → SelectContainer_es_lcK3hLMn.js} +3 -3
  23. package/dist/cjs/components/Accordion.js +1 -1
  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 +1 -1
  27. package/dist/cjs/components/Breadcrumbs.js +1 -1
  28. package/dist/cjs/components/Button.js +3 -3
  29. package/dist/cjs/components/Cell.js +2 -2
  30. package/dist/cjs/components/Checkbox.js +1 -1
  31. package/dist/cjs/components/Checkmark.js +1 -1
  32. package/dist/cjs/components/Chips.js +2 -2
  33. package/dist/cjs/components/Choice.js +2 -2
  34. package/dist/cjs/components/Code.js +1 -1
  35. package/dist/cjs/components/CookiesWarning.js +3 -3
  36. package/dist/cjs/components/Dadata.js +2 -2
  37. package/dist/cjs/components/DatePeriod.js +9 -9
  38. package/dist/cjs/components/DatePicker.js +6 -6
  39. package/dist/cjs/components/Divider.js +1 -1
  40. package/dist/cjs/components/Dot.js +1 -1
  41. package/dist/cjs/components/Drawer.js +1 -1
  42. package/dist/cjs/components/Dropdown.js +1 -1
  43. package/dist/cjs/components/Dropzone.js +3 -3
  44. package/dist/cjs/components/Flex.js +1 -1
  45. package/dist/cjs/components/Grid.js +1 -1
  46. package/dist/cjs/components/Group.js +2 -2
  47. package/dist/cjs/components/HTMLContent.js +1 -1
  48. package/dist/cjs/components/HeroTitle.js +1 -1
  49. package/dist/cjs/components/Icon.js +1 -1
  50. package/dist/cjs/components/Image.js +2 -2
  51. package/dist/cjs/components/Input.js +2 -2
  52. package/dist/cjs/components/InputNumber.js +3 -3
  53. package/dist/cjs/components/InputPassword.js +1 -1
  54. package/dist/cjs/components/Label.js +2 -2
  55. package/dist/cjs/components/Link.js +1 -1
  56. package/dist/cjs/components/List.js +1 -1
  57. package/dist/cjs/components/Loader.js +2 -2
  58. package/dist/cjs/components/Logo.js +1 -1
  59. package/dist/cjs/components/MenuItem.js +3 -3
  60. package/dist/cjs/components/Modal.js +3 -3
  61. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  62. package/dist/cjs/components/Notification.js +3 -3
  63. package/dist/cjs/components/Overlay.js +2 -2
  64. package/dist/cjs/components/Pagination.js +1 -1
  65. package/dist/cjs/components/Radio.js +1 -1
  66. package/dist/cjs/components/RangeSlider.js +1 -1
  67. package/dist/cjs/components/Response.js +4 -4
  68. package/dist/cjs/components/SVGContent.js +1 -1
  69. package/dist/cjs/components/ScrollOnDrag.js +1 -1
  70. package/dist/cjs/components/ScrollToView.js +1 -1
  71. package/dist/cjs/components/Search.js +1 -1
  72. package/dist/cjs/components/Segmented.js +1 -1
  73. package/dist/cjs/components/Select.js +4 -4
  74. package/dist/cjs/components/Swiper.js +2 -2
  75. package/dist/cjs/components/Switch.js +1 -1
  76. package/dist/cjs/components/Tab.js +1 -1
  77. package/dist/cjs/components/Text.js +1 -1
  78. package/dist/cjs/components/Textarea.js +1 -1
  79. package/dist/cjs/components/Tile.js +1 -1
  80. package/dist/cjs/components/Title.js +1 -1
  81. package/dist/cjs/components/Tooltip.js +1 -1
  82. package/dist/cjs/components/Video.js +1 -1
  83. package/dist/cjs/components/Warning.js +1 -1
  84. package/dist/cjs/context/Notifications.js +1 -1
  85. package/dist/cjs/context/UIContext.js +1 -1
  86. package/dist/cjs/context/UrlAssetPrefix.js +1 -1
  87. package/dist/cjs/hoc/urlWithAssetPrefix.js +1 -1
  88. package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +1 -1
  89. package/dist/cjs/hooks/useAppearanceConfig.js +1 -1
  90. package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  91. package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
  92. package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
  93. package/dist/cjs/hooks/useMediaQueries/useMediaQueries.js +1 -1
  94. package/dist/cjs/hooks/useMediaQueries.js +1 -1
  95. package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
  96. package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
  97. package/dist/cjs/hooks/useStyles.js +1 -1
  98. package/dist/cjs/hooks.js +1 -1
  99. package/dist/cjs/utils/mergeAppearanceKeys.js +1 -1
  100. package/dist/cjs/utils/setViewportProperty.js +1 -1
  101. package/dist/cjs/utils.js +1 -1
  102. package/dist/components/Accordion.js +1 -1
  103. package/dist/components/Avatar.js +3 -3
  104. package/dist/components/AvatarStack.js +4 -4
  105. package/dist/components/Badge.js +1 -1
  106. package/dist/components/Breadcrumbs.js +1 -1
  107. package/dist/components/Button.js +3 -3
  108. package/dist/components/Cell.js +2 -2
  109. package/dist/components/Checkbox.js +1 -1
  110. package/dist/components/Checkmark.js +1 -1
  111. package/dist/components/Chips.js +2 -2
  112. package/dist/components/Choice.js +2 -2
  113. package/dist/components/Code.js +1 -1
  114. package/dist/components/CookiesWarning.js +3 -3
  115. package/dist/components/Dadata.js +2 -2
  116. package/dist/components/DatePeriod.js +9 -9
  117. package/dist/components/DatePicker.js +6 -6
  118. package/dist/components/Divider.js +1 -1
  119. package/dist/components/Dot.js +1 -1
  120. package/dist/components/Drawer.js +1 -1
  121. package/dist/components/Dropdown.js +1 -1
  122. package/dist/components/Dropzone.js +3 -3
  123. package/dist/components/Flex.js +1 -1
  124. package/dist/components/Grid.js +1 -1
  125. package/dist/components/Group.js +2 -2
  126. package/dist/components/HTMLContent.js +1 -1
  127. package/dist/components/HeroTitle.js +1 -1
  128. package/dist/components/Icon.js +1 -1
  129. package/dist/components/Image.js +2 -2
  130. package/dist/components/Input.js +2 -2
  131. package/dist/components/InputNumber.js +3 -3
  132. package/dist/components/InputPassword.js +1 -1
  133. package/dist/components/Label.js +2 -2
  134. package/dist/components/Link.js +1 -1
  135. package/dist/components/List.js +1 -1
  136. package/dist/components/Loader.js +2 -2
  137. package/dist/components/Logo.js +1 -1
  138. package/dist/components/MenuItem.js +3 -3
  139. package/dist/components/Modal.js +3 -3
  140. package/dist/components/ModalSheetBottom.js +1 -1
  141. package/dist/components/Notification.js +3 -3
  142. package/dist/components/Overlay.js +2 -2
  143. package/dist/components/Pagination.js +1 -1
  144. package/dist/components/Radio.js +1 -1
  145. package/dist/components/RangeSlider.js +1 -1
  146. package/dist/components/Response.js +4 -4
  147. package/dist/components/SVGContent.js +1 -1
  148. package/dist/components/ScrollOnDrag.js +1 -1
  149. package/dist/components/ScrollToView.js +1 -1
  150. package/dist/components/Search.js +1 -1
  151. package/dist/components/Segmented.js +1 -1
  152. package/dist/components/Select.js +4 -4
  153. package/dist/components/Swiper.js +2 -2
  154. package/dist/components/Switch.js +1 -1
  155. package/dist/components/Tab.js +1 -1
  156. package/dist/components/Text.js +1 -1
  157. package/dist/components/Textarea.js +1 -1
  158. package/dist/components/Tile.js +1 -1
  159. package/dist/components/Title.js +1 -1
  160. package/dist/components/Tooltip.js +1 -1
  161. package/dist/components/Video.js +1 -1
  162. package/dist/components/Warning.js +1 -1
  163. package/dist/context/Notifications.js +1 -1
  164. package/dist/context/UIContext.js +1 -1
  165. package/dist/context/UrlAssetPrefix.js +1 -1
  166. package/dist/css/styles/bundles.css +36 -42
  167. package/dist/hoc/urlWithAssetPrefix.js +1 -1
  168. package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +1 -1
  169. package/dist/hooks/useAppearanceConfig.js +1 -1
  170. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  171. package/dist/hooks/useDevicePropsGenerator.js +1 -1
  172. package/dist/hooks/useDeviceTargetClass.js +1 -1
  173. package/dist/hooks/useMediaQueries/useMediaQueries.js +1 -1
  174. package/dist/hooks/useMediaQueries.js +1 -1
  175. package/dist/hooks/useStyles/styleAttributes.js +1 -1
  176. package/dist/hooks/useStyles/useStyles.js +1 -1
  177. package/dist/hooks/useStyles.js +1 -1
  178. package/dist/hooks.js +1 -1
  179. package/dist/{primitives_cjs_CqGNSrPn.js → primitives_cjs_BN8eVF01.js} +3 -7
  180. package/dist/{primitives_es_CFZll4Gh.js → primitives_es_Dd7DZpxg.js} +3 -7
  181. package/dist/types/components/MenuItem/MenuItem.interface.d.ts +4 -4
  182. package/dist/types/components/Select/SelectContainer.d.ts +1 -1
  183. package/dist/types/components/Tooltip/Tooltip.d.ts +0 -1
  184. package/dist/types/components/Tooltip/Tooltip.interface.d.ts +13 -3
  185. package/dist/types/components/Tooltip/TooltipWrapper.d.ts +1 -1
  186. package/dist/types/components/Tooltip/index.d.ts +6 -5
  187. package/dist/utils/mergeAppearanceKeys.js +1 -1
  188. package/dist/utils/setViewportProperty.js +1 -1
  189. package/dist/utils.js +1 -1
  190. package/package.json +3 -3
  191. package/dist/types/components/Tooltip/TooltipWrapper.interface.d.ts +0 -13
@@ -1,11 +1,11 @@
1
- export { S as Select, a as SelectClearIndicator, b as SelectControl, c as SelectDropdownIndicator, d as SelectGroupHeading, e as SelectIndicatorsContainer, f as SelectInput, g as SelectMenu, h as SelectMultiValueContainer, i as SelectMultiValueLabel, j as SelectMultiValueRemove, k as SelectOption, l as SelectPlaceholder, m as SelectSingleValue, n as SelectValueContainer, s as selectConfig } from '../SelectContainer_es_FnfMojiJ.js';
1
+ export { S as Select, a as SelectClearIndicator, b as SelectControl, c as SelectDropdownIndicator, d as SelectGroupHeading, e as SelectIndicatorsContainer, f as SelectInput, g as SelectMenu, h as SelectMultiValueContainer, i as SelectMultiValueLabel, j as SelectMultiValueRemove, k as SelectOption, l as SelectPlaceholder, m as SelectSingleValue, n as SelectValueContainer, s as selectConfig } from '../SelectContainer_es_lcK3hLMn.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
5
5
  import 'react-select';
6
6
  import 'react-select/creatable';
7
- import '../Group_es_C5ZSQzaZ.js';
8
- import '../primitives_es_CFZll4Gh.js';
7
+ import '../Group_es_QTnd0xiG.js';
8
+ import '../primitives_es_Dd7DZpxg.js';
9
9
  import '@rc-component/tooltip';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
@@ -16,4 +16,4 @@ import 'react-responsive';
16
16
  import 'lodash/maxBy';
17
17
  import 'react-inlinesvg';
18
18
  import '@itcase/icons/default';
19
- import '../Loader_es_DXPtXFW_.js';
19
+ import '../Loader_es_4Cb8_RxK.js';
@@ -2,8 +2,8 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import React, { useRef, useCallback, useImperativeHandle, useEffect, useState } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
5
- import { G as Group } from '../Group_es_C5ZSQzaZ.js';
6
- import { a as useDevicePropsGenerator, u as useStyles, T as Title, b as Text } from '../primitives_es_CFZll4Gh.js';
5
+ import { G as Group } from '../Group_es_QTnd0xiG.js';
6
+ import { a as useDevicePropsGenerator, u as useStyles, T as Title, b as Text } from '../primitives_es_Dd7DZpxg.js';
7
7
  import '@rc-component/tooltip';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import clsx from 'clsx';
4
- import { d as useAppearanceConfig, a as useDevicePropsGenerator, b as Text } from '../primitives_es_CFZll4Gh.js';
4
+ import { d as useAppearanceConfig, a as useDevicePropsGenerator, b as Text } from '../primitives_es_Dd7DZpxg.js';
5
5
  import '@rc-component/tooltip';
6
6
  import 'lodash/camelCase';
7
7
  import 'lodash/castArray';
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import clsx from 'clsx';
4
- import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, i as Link, b as Text, B as Badge, m as mergeAppearanceKeys, I as Icon, D as Divider } from '../primitives_es_CFZll4Gh.js';
4
+ import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, i as Link, b as Text, B as Badge, m as mergeAppearanceKeys, I as Icon, D as Divider } from '../primitives_es_Dd7DZpxg.js';
5
5
  import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js';
6
6
  import '@rc-component/tooltip';
7
7
  import 'lodash/camelCase';
@@ -1,4 +1,4 @@
1
- export { b as Text, t as textAppearance, q as textConfig } from '../primitives_es_CFZll4Gh.js';
1
+ export { b as Text, t as textAppearance, q as textConfig } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
- import { d as useAppearanceConfig, a as useDevicePropsGenerator } from '../primitives_es_CFZll4Gh.js';
3
+ import { d as useAppearanceConfig, a as useDevicePropsGenerator } from '../primitives_es_Dd7DZpxg.js';
4
4
  import '@rc-component/tooltip';
5
5
  import 'react';
6
6
  import 'lodash/camelCase';
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
- import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, T as Title, b as Text, B as Badge, m as mergeAppearanceKeys, I as Icon } from '../primitives_es_CFZll4Gh.js';
3
+ import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, T as Title, b as Text, B as Badge, m as mergeAppearanceKeys, I as Icon } from '../primitives_es_Dd7DZpxg.js';
4
4
  import '@rc-component/tooltip';
5
5
  import 'react';
6
6
  import 'lodash/camelCase';
@@ -1,4 +1,4 @@
1
- export { T as Title, y as titleAppearance, z as titleConfig } from '../primitives_es_CFZll4Gh.js';
1
+ export { T as Title, y as titleAppearance, z as titleConfig } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- export { l as Tooltip, h as TooltipWrapper, A as tooltipAppearance, C as tooltipConfig } from '../primitives_es_CFZll4Gh.js';
1
+ export { l as Tooltip, h as TooltipWrapper, A as tooltipAppearance, C as tooltipConfig } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
- import { u as useStyles } from '../primitives_es_CFZll4Gh.js';
3
+ import { u as useStyles } from '../primitives_es_Dd7DZpxg.js';
4
4
  import '@rc-component/tooltip';
5
5
  import 'react';
6
6
  import 'lodash/camelCase';
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { useState, Fragment } from 'react';
3
3
  import clsx from 'clsx';
4
- import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, I as Icon, b as Text } from '../primitives_es_CFZll4Gh.js';
4
+ import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, I as Icon, b as Text } from '../primitives_es_Dd7DZpxg.js';
5
5
  import { icons16 } from '@itcase/icons/default';
6
6
  import '@rc-component/tooltip';
7
7
  import 'lodash/camelCase';
@@ -2,7 +2,7 @@ import 'react/jsx-runtime';
2
2
  import 'react';
3
3
  import 'uuid';
4
4
  import '@itcase/common';
5
- export { N as NotificationsProvider, j as useNotifications, k as useNotificationsAPI } from '../primitives_es_CFZll4Gh.js';
5
+ export { N as NotificationsProvider, j as useNotifications, k as useNotificationsAPI } from '../primitives_es_Dd7DZpxg.js';
6
6
  import '@rc-component/tooltip';
7
7
  import 'clsx';
8
8
  import 'lodash/camelCase';
@@ -1,7 +1,7 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
3
  import 'lodash/camelCase';
4
- export { U as UIProvider, e as useUserDeviceContext } from '../primitives_es_CFZll4Gh.js';
4
+ export { U as UIProvider, e as useUserDeviceContext } from '../primitives_es_Dd7DZpxg.js';
5
5
  import '@rc-component/tooltip';
6
6
  import 'clsx';
7
7
  import 'lodash/castArray';
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { E as UrlAssetPrefixContext, F as UrlAssetPrefixProvider } from '../primitives_es_CFZll4Gh.js';
3
+ export { E as UrlAssetPrefixContext, F as UrlAssetPrefixProvider } from '../primitives_es_Dd7DZpxg.js';
4
4
  import '@rc-component/tooltip';
5
5
  import 'clsx';
6
6
  import 'lodash/camelCase';
@@ -101678,13 +101678,9 @@ div.swiper-pagination {
101678
101678
  right: 15%;
101679
101679
  }
101680
101680
  .tooltip {
101681
- width: fit-content;
101682
- min-width: 160px;
101681
+ width: 100%;
101683
101682
  position: relative;
101684
101683
  display: flex;
101685
- visibility: hidden;
101686
- border: solid 2px red;
101687
- opacity: 0%;
101688
101684
  &__arrow {
101689
101685
  width: var(--tooltip-arrow-width);
101690
101686
  height: var(--tooltip-arrow-height);
@@ -101702,6 +101698,41 @@ div.swiper-pagination {
101702
101698
  z-index: 1;
101703
101699
  }
101704
101700
  }
101701
+ .tooltip-wrapper {
101702
+ position: absolute;
101703
+ min-width: 160px;
101704
+ width: fit-content;
101705
+ animation-duration: 0.2s;
101706
+ animation-name: tooltipShowAnimation;
101707
+ &&-hidden {
101708
+ visibility: hidden;
101709
+ animation-duration: 0.2s;
101710
+ animation-name: tooltipHideAnimation;
101711
+ opacity: 0%;
101712
+ }
101713
+ &-placement {
101714
+ &-top {
101715
+ & .tooltip {
101716
+ transform: translate(0, -8px);
101717
+ }
101718
+ }
101719
+ &-bottom {
101720
+ & .tooltip {
101721
+ transform: translate(0, 8px);
101722
+ }
101723
+ }
101724
+ &-left {
101725
+ & .tooltip {
101726
+ transform: translate(-8px, 0);
101727
+ }
101728
+ }
101729
+ &-right {
101730
+ & .tooltip {
101731
+ transform: translate(8px, 0);
101732
+ }
101733
+ }
101734
+ }
101735
+ }
101705
101736
  @keyframes tooltipShowAnimation {
101706
101737
  0% {
101707
101738
  visibility: hidden;
@@ -101722,9 +101753,6 @@ div.swiper-pagination {
101722
101753
  opacity: 0%;
101723
101754
  }
101724
101755
  }
101725
- .tooltip-wrapper {
101726
- position: absolute;
101727
- }
101728
101756
  .tooltip {
101729
101757
  &_size {
101730
101758
  &_s {
@@ -101856,40 +101884,6 @@ div.swiper-pagination {
101856
101884
  }
101857
101885
  }
101858
101886
  }
101859
- .tooltip {
101860
- &_align-position {
101861
- &_left {
101862
- position: absolute;
101863
- transform: translate(0, -50%);
101864
- }
101865
- &_center {
101866
- position: absolute;
101867
- left: 50%;
101868
- top: 100%;
101869
- transform: translate(-50%, 0%);
101870
- }
101871
- &_right {
101872
- position: absolute;
101873
- transform: translate(0, -50%);
101874
- }
101875
- }
101876
- }
101877
- .tooltip {
101878
- &&_state_close {
101879
- visibility: hidden;
101880
- animation-duration: 0.2s;
101881
- animation-name: tooltipHideAnimation;
101882
- opacity: 0%;
101883
- }
101884
- }
101885
- .tooltip {
101886
- &&_state_open {
101887
- visibility: visible;
101888
- animation-duration: 0.5s;
101889
- animation-name: tooltipShowAnimation;
101890
- opacity: 100%;
101891
- }
101892
- }
101893
101887
  :root {
101894
101888
  --tooltip-arrow-width: 14px;
101895
101889
  --tooltip-arrow-height: 14px;
@@ -1,7 +1,7 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
3
  import '@itcase/common';
4
- export { c as urlWithAssetPrefix } from '../primitives_es_CFZll4Gh.js';
4
+ export { c as urlWithAssetPrefix } from '../primitives_es_Dd7DZpxg.js';
5
5
  import '@rc-component/tooltip';
6
6
  import 'clsx';
7
7
  import 'lodash/camelCase';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { d as useAppearanceConfig } from '../../primitives_es_CFZll4Gh.js';
2
+ export { d as useAppearanceConfig } from '../../primitives_es_Dd7DZpxg.js';
3
3
  import 'react/jsx-runtime';
4
4
  import '@rc-component/tooltip';
5
5
  import 'clsx';
@@ -1,4 +1,4 @@
1
- export { d as useAppearanceConfig } from '../primitives_es_CFZll4Gh.js';
1
+ export { d as useAppearanceConfig } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'lodash/camelCase';
3
3
  import 'lodash/castArray';
4
4
  import 'lodash/upperFirst';
5
- export { a as useDevicePropsGenerator } from '../../primitives_es_CFZll4Gh.js';
5
+ export { a as useDevicePropsGenerator } from '../../primitives_es_Dd7DZpxg.js';
6
6
  import 'react/jsx-runtime';
7
7
  import '@rc-component/tooltip';
8
8
  import 'clsx';
@@ -1,4 +1,4 @@
1
- export { a as useDevicePropsGenerator } from '../primitives_es_CFZll4Gh.js';
1
+ export { a as useDevicePropsGenerator } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1,7 +1,7 @@
1
1
  import { useMemo } from 'react';
2
2
  import camelCase from 'lodash/camelCase';
3
3
  import castArray from 'lodash/castArray';
4
- import { e as useUserDeviceContext } from '../primitives_es_CFZll4Gh.js';
4
+ import { e as useUserDeviceContext } from '../primitives_es_Dd7DZpxg.js';
5
5
  import 'react/jsx-runtime';
6
6
  import '@rc-component/tooltip';
7
7
  import 'clsx';
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'react-responsive';
3
- export { n as useMediaQueries } from '../../primitives_es_CFZll4Gh.js';
3
+ export { n as useMediaQueries } from '../../primitives_es_Dd7DZpxg.js';
4
4
  import 'react/jsx-runtime';
5
5
  import '@rc-component/tooltip';
6
6
  import 'clsx';
@@ -1,4 +1,4 @@
1
- export { n as useMediaQueries } from '../primitives_es_CFZll4Gh.js';
1
+ export { n as useMediaQueries } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- export { p as default } from '../../primitives_es_CFZll4Gh.js';
1
+ export { p as default } from '../../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'lodash/camelCase';
3
3
  import 'lodash/maxBy';
4
4
  import 'lodash/upperFirst';
5
- export { u as useStyles } from '../../primitives_es_CFZll4Gh.js';
5
+ export { u as useStyles } from '../../primitives_es_Dd7DZpxg.js';
6
6
  import 'react/jsx-runtime';
7
7
  import '@rc-component/tooltip';
8
8
  import 'clsx';
@@ -1,4 +1,4 @@
1
- export { u as useStyles } from '../primitives_es_CFZll4Gh.js';
1
+ export { u as useStyles } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
package/dist/hooks.js CHANGED
@@ -1,4 +1,4 @@
1
- export { o as getStyleAttributeKey } from './primitives_es_CFZll4Gh.js';
1
+ export { o as getStyleAttributeKey } from './primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1828,7 +1828,7 @@ const tooltipConfig = {
1828
1828
  },
1829
1829
  };
1830
1830
  const Tooltip = React.forwardRef(function Tooltip(props, ref) {
1831
- const { appearance, className, dataTestId, dataTour, initialIsVisible, title, text, before, after, openTimeoutDelay = 500, closeTimeoutDelay = 250, isSkeleton, isTooltipDisableState, children, } = props;
1831
+ const { appearance, className, dataTestId, dataTour, initialIsVisible, title, text, before, after, openTimeoutDelay = 500, closeTimeoutDelay = 250, isSkeleton, children, } = props;
1832
1832
  const tooltipElementRef = React.useRef(null);
1833
1833
  const tooltipTimeoutHideRef = React.useRef(null);
1834
1834
  const tooltipTimeoutShowRef = React.useRef(null);
@@ -1873,15 +1873,11 @@ const Tooltip = React.forwardRef(function Tooltip(props, ref) {
1873
1873
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
1874
1874
  const { alignClass, alignDirectionClass, alignmentClass, alignPosition, fillClass, titleColor, titleSize, titleWeight, borderColorClass, borderTypeClass, borderWidthClass, textColor, textSize, textWeight, arrowPosition, elevationClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
1875
1875
  const { styles: tooltipStyles } = useStyles(props);
1876
- return (jsxRuntime.jsxs("div", { className: clsx(className, 'tooltip', !isTooltipDisableState
1877
- ? isTooltipVisible
1878
- ? 'tooltip_state_open'
1879
- : 'tooltip_state_close'
1880
- : null, alignPosition && `tooltip_align-position_${alignPosition}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, elevationClass && `elevation_${elevationClass}`, alignmentClass && `alignment_${alignmentClass}`, sizeClass && `tooltip_size_${sizeClass}`, isSkeleton && 'tooltip_skeleton', widthClass && `width_${widthClass}`), ref: tooltipElementRef, "data-testid": dataTestId, "data-tour": dataTour, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [arrowPosition && (jsxRuntime.jsx("div", { className: clsx('tooltip__arrow', arrowPosition && `tooltip__arrow_position_${arrowPosition}`, fillClass && `fill_${fillClass}`), children: "\u00A0" })), before, jsxRuntime.jsxs("div", { className: clsx('tooltip__inner', borderWidthClass && `border-width_${borderWidthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: [title && (jsxRuntime.jsx(Title, { className: "tooltip__title text", size: titleSize, textColor: titleColor, textWeight: titleWeight, children: title })), text && (jsxRuntime.jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor, textWeight: textWeight, children: text })), children] }), after] }));
1876
+ return (jsxRuntime.jsxs("div", { className: clsx(className, 'tooltip', alignPosition && `tooltip_align-position_${alignPosition}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, elevationClass && `elevation_${elevationClass}`, alignmentClass && `alignment_${alignmentClass}`, sizeClass && `tooltip_size_${sizeClass}`, isSkeleton && 'tooltip_skeleton', widthClass && `width_${widthClass}`), ref: tooltipElementRef, "data-testid": dataTestId, "data-tour": dataTour, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [arrowPosition && (jsxRuntime.jsx("div", { className: clsx('tooltip__arrow', arrowPosition && `tooltip__arrow_position_${arrowPosition}`, fillClass && `fill_${fillClass}`), children: "\u00A0" })), before, jsxRuntime.jsxs("div", { className: clsx('tooltip__inner', borderWidthClass && `border-width_${borderWidthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: [title && (jsxRuntime.jsx(Title, { className: "tooltip__title text", size: titleSize, textColor: titleColor, textWeight: titleWeight, children: title })), text && (jsxRuntime.jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor, textWeight: textWeight, children: text })), children] }), after] }));
1881
1877
  });
1882
1878
 
1883
1879
  const TooltipWrapper = (props) => {
1884
- const { destroyOnHidden = true, placement = 'right', tooltipContent, trigger = 'hover', openDelay = 0.5, closeDelay = 0.25, isOpen, children, ...tooltipProps } = props;
1880
+ const { destroyOnHidden = false, placement = 'right', tooltipContent, trigger = 'hover', openDelay = 0.5, closeDelay = 0.25, isOpen, children, ...tooltipProps } = props;
1885
1881
  return (jsxRuntime.jsx(TooltipTrigger, { destroyOnHidden: destroyOnHidden, mouseEnterDelay: openDelay, mouseLeaveDelay: closeDelay, overlay: jsxRuntime.jsx(Tooltip, { initialIsVisible: true, ...tooltipProps, children: tooltipContent }), placement: placement, prefixCls: "tooltip-wrapper", trigger: trigger, visible: isOpen, children: children }));
1886
1882
  };
1887
1883
 
@@ -1826,7 +1826,7 @@ const tooltipConfig = {
1826
1826
  },
1827
1827
  };
1828
1828
  const Tooltip = React.forwardRef(function Tooltip(props, ref) {
1829
- const { appearance, className, dataTestId, dataTour, initialIsVisible, title, text, before, after, openTimeoutDelay = 500, closeTimeoutDelay = 250, isSkeleton, isTooltipDisableState, children, } = props;
1829
+ const { appearance, className, dataTestId, dataTour, initialIsVisible, title, text, before, after, openTimeoutDelay = 500, closeTimeoutDelay = 250, isSkeleton, children, } = props;
1830
1830
  const tooltipElementRef = useRef(null);
1831
1831
  const tooltipTimeoutHideRef = useRef(null);
1832
1832
  const tooltipTimeoutShowRef = useRef(null);
@@ -1871,15 +1871,11 @@ const Tooltip = React.forwardRef(function Tooltip(props, ref) {
1871
1871
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
1872
1872
  const { alignClass, alignDirectionClass, alignmentClass, alignPosition, fillClass, titleColor, titleSize, titleWeight, borderColorClass, borderTypeClass, borderWidthClass, textColor, textSize, textWeight, arrowPosition, elevationClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
1873
1873
  const { styles: tooltipStyles } = useStyles(props);
1874
- return (jsxs("div", { className: clsx(className, 'tooltip', !isTooltipDisableState
1875
- ? isTooltipVisible
1876
- ? 'tooltip_state_open'
1877
- : 'tooltip_state_close'
1878
- : null, alignPosition && `tooltip_align-position_${alignPosition}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, elevationClass && `elevation_${elevationClass}`, alignmentClass && `alignment_${alignmentClass}`, sizeClass && `tooltip_size_${sizeClass}`, isSkeleton && 'tooltip_skeleton', widthClass && `width_${widthClass}`), ref: tooltipElementRef, "data-testid": dataTestId, "data-tour": dataTour, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [arrowPosition && (jsx("div", { className: clsx('tooltip__arrow', arrowPosition && `tooltip__arrow_position_${arrowPosition}`, fillClass && `fill_${fillClass}`), children: "\u00A0" })), before, jsxs("div", { className: clsx('tooltip__inner', borderWidthClass && `border-width_${borderWidthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: [title && (jsx(Title, { className: "tooltip__title text", size: titleSize, textColor: titleColor, textWeight: titleWeight, children: title })), text && (jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor, textWeight: textWeight, children: text })), children] }), after] }));
1874
+ return (jsxs("div", { className: clsx(className, 'tooltip', alignPosition && `tooltip_align-position_${alignPosition}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, elevationClass && `elevation_${elevationClass}`, alignmentClass && `alignment_${alignmentClass}`, sizeClass && `tooltip_size_${sizeClass}`, isSkeleton && 'tooltip_skeleton', widthClass && `width_${widthClass}`), ref: tooltipElementRef, "data-testid": dataTestId, "data-tour": dataTour, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [arrowPosition && (jsx("div", { className: clsx('tooltip__arrow', arrowPosition && `tooltip__arrow_position_${arrowPosition}`, fillClass && `fill_${fillClass}`), children: "\u00A0" })), before, jsxs("div", { className: clsx('tooltip__inner', borderWidthClass && `border-width_${borderWidthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: [title && (jsx(Title, { className: "tooltip__title text", size: titleSize, textColor: titleColor, textWeight: titleWeight, children: title })), text && (jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor, textWeight: textWeight, children: text })), children] }), after] }));
1879
1875
  });
1880
1876
 
1881
1877
  const TooltipWrapper = (props) => {
1882
- const { destroyOnHidden = true, placement = 'right', tooltipContent, trigger = 'hover', openDelay = 0.5, closeDelay = 0.25, isOpen, children, ...tooltipProps } = props;
1878
+ const { destroyOnHidden = false, placement = 'right', tooltipContent, trigger = 'hover', openDelay = 0.5, closeDelay = 0.25, isOpen, children, ...tooltipProps } = props;
1883
1879
  return (jsx(TooltipTrigger, { destroyOnHidden: destroyOnHidden, mouseEnterDelay: openDelay, mouseLeaveDelay: closeDelay, overlay: jsx(Tooltip, { initialIsVisible: true, ...tooltipProps, children: tooltipContent }), placement: placement, prefixCls: "tooltip-wrapper", trigger: trigger, visible: isOpen, children: children }));
1884
1880
  };
1885
1881
 
@@ -1,11 +1,10 @@
1
1
  import type { CSSProperties, ElementType, ReactNode } from 'react';
2
2
  import type { LinkProps } from 'react-scroll';
3
- import type { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, TextSizeProps, UnderlineProps } from '@itcase/types-ui';
3
+ import type { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, ArrowPosition, BorderColorProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, TextSizeProps, UnderlineProps } from '@itcase/types-ui';
4
4
  import type { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
5
5
  import type { IconProps } from '../Icon/Icon.interface';
6
6
  import type { TextProps } from '../Text/Text.interface';
7
- import type { TooltipProps } from '../Tooltip/Tooltip.interface';
8
- import type { TooltipWrapperPlacement, TooltipWrapperProps } from '../Tooltip/TooltipWrapper.interface';
7
+ import type { RCComponentTooltipWrapperPlacement, TooltipProps, TooltipWrapperProps } from '../Tooltip/Tooltip.interface';
9
8
  type MenuItemAppearanceProps = {
10
9
  align?: AlignProps;
11
10
  alignDirection?: DirectionProps;
@@ -83,9 +82,10 @@ type MenuItemProps = MenuItemAppearanceProps & StyleAttributes & {
83
82
  showTooltip?: boolean;
84
83
  style?: CSSProperties;
85
84
  target?: LinkProps['target'];
85
+ tooltipArrowPosition?: ArrowPosition;
86
86
  tooltipAppearance?: TooltipProps['appearance'];
87
87
  tooltipContent?: TooltipWrapperProps['tooltipContent'];
88
- tooltipPlacement?: TooltipWrapperPlacement;
88
+ tooltipPlacement?: RCComponentTooltipWrapperPlacement;
89
89
  underline?: UnderlineProps;
90
90
  };
91
91
  type MenuItemAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
@@ -3,7 +3,7 @@ import { GroupBase, SelectInstance } from 'react-select';
3
3
  import { Option as SelectOptionType } from '@itcase/types-core';
4
4
  import { SelectConfig } from './Select.interface';
5
5
  declare const selectConfig: SelectConfig;
6
- declare const SelectContainer: React.ForwardRefExoticComponent<Partial<Pick<import("react-select/base").Props<SelectOptionType, boolean, GroupBase<SelectOptionType>>, "value" | "isLoading" | "className" | "isDisabled" | "options" | "isClearable" | "closeMenuOnSelect" | "filterOption" | "hideSelectedOptions" | "hideValueContainer" | "instanceId" | "isMulti" | "isSearchable" | "loadingMessage" | "onInputChange" | "openMenuOnClick">> & import("./Select.interface").SelectAppearanceProps<SelectOptionType> & {
6
+ declare const SelectContainer: React.ForwardRefExoticComponent<Partial<Pick<import("react-select/base").Props<SelectOptionType, boolean, GroupBase<SelectOptionType>>, "className" | "isDisabled" | "value" | "isLoading" | "options" | "isClearable" | "closeMenuOnSelect" | "filterOption" | "hideSelectedOptions" | "hideValueContainer" | "instanceId" | "isMulti" | "isSearchable" | "loadingMessage" | "onInputChange" | "openMenuOnClick">> & import("./Select.interface").SelectAppearanceProps<SelectOptionType> & {
7
7
  onChange?: (newValue: import("react-select").OnChangeValue<SelectOptionType, boolean>, actionMeta?: import("react-select").ActionMeta<SelectOptionType>) => void;
8
8
  } & React.RefAttributes<SelectInstance<SelectOptionType, boolean, GroupBase<SelectOptionType>>>>;
9
9
  export { selectConfig, SelectContainer };
@@ -36,7 +36,6 @@ declare const Tooltip: React.ForwardRefExoticComponent<import("../../hooks/useSt
36
36
  initialIsVisible?: boolean;
37
37
  isDisabled?: boolean;
38
38
  isSkeleton?: boolean;
39
- isTooltipDisableState?: boolean;
40
39
  onClick?: () => void;
41
40
  openTimeoutDelay?: number;
42
41
  style?: React.CSSProperties;
@@ -1,5 +1,7 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { AlignProps, ArrowPosition, AppearanceShapeKey, AppearanceSizeKey, AppearanceStateKeysDefault, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceStateDefault, DirectionProps, ElevationProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WrapProps } from '@itcase/types-ui';
2
+ import type { TooltipProps as RCComponentTooltipTriggerProps } from '@rc-component/tooltip/lib/Tooltip';
3
+ import type { Placement as RCComponentTooltipWrapperPlacement } from '@rc-component/trigger/es/interface';
4
+ import { AlignProps, AppearanceShapeKey, AppearanceSizeKey, AppearanceStateKeysDefault, AppearanceStyleKey, ArrowPosition, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceStateDefault, DirectionProps, ElevationProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WrapProps } from '@itcase/types-ui';
3
5
  import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
4
6
  import { TextProps } from '../Text/Text.interface';
5
7
  import { TitleProps } from '../Title/Title.interface';
@@ -39,13 +41,21 @@ type TooltipProps = StyleAttributes & TooltipAppearanceProps & {
39
41
  initialIsVisible?: boolean;
40
42
  isDisabled?: boolean;
41
43
  isSkeleton?: boolean;
42
- isTooltipDisableState?: boolean;
43
44
  onClick?: () => void;
44
45
  openTimeoutDelay?: number;
45
46
  style?: CSSProperties;
46
47
  text?: string;
47
48
  title?: string;
48
49
  };
50
+ type RCComponentTooltipProps = Omit<TooltipProps, keyof Pick<TooltipProps, 'align' | 'children' | 'closeTimeoutDelay' | 'initialIsVisible' | 'openTimeoutDelay' | 'zIndex'>>;
51
+ type RCComponentTooltipPropsTrigger = Pick<RCComponentTooltipTriggerProps, 'children' | 'destroyOnHidden' | 'trigger'>;
52
+ type TooltipWrapperProps = RCComponentTooltipProps & RCComponentTooltipPropsTrigger & {
53
+ closeDelay?: number;
54
+ isOpen?: boolean;
55
+ openDelay?: number;
56
+ placement?: RCComponentTooltipWrapperPlacement;
57
+ tooltipContent?: React.ReactNode;
58
+ };
49
59
  type TooltipAppearanceKey = AppearanceShapeKey | AppearanceSizeKey | AppearanceStateKeysDefault | AppearanceStyleKey;
50
60
  type TooltipAppearance = {
51
61
  [key in TooltipAppearanceKey]?: TooltipAppearanceProps;
@@ -54,4 +64,4 @@ type TooltipConfig = {
54
64
  appearance: TooltipAppearance;
55
65
  setAppearance: (appearanceConfig: TooltipAppearance) => void;
56
66
  };
57
- export type { TooltipAppearance, TooltipConfig, TooltipProps };
67
+ export type { RCComponentTooltipWrapperPlacement, TooltipAppearance, TooltipConfig, TooltipProps, TooltipWrapperProps, };
@@ -1,3 +1,3 @@
1
- import { TooltipWrapperProps } from './TooltipWrapper.interface';
1
+ import { TooltipWrapperProps } from './Tooltip.interface';
2
2
  declare const TooltipWrapper: (props: TooltipWrapperProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export { TooltipWrapper };
@@ -1,5 +1,6 @@
1
- export { Tooltip, tooltipConfig } from './Tooltip';
2
- export { tooltipAppearance } from './Tooltip.appearance';
3
- export type { TooltipAppearance, TooltipConfig, TooltipProps, } from './Tooltip.interface';
4
- export { TooltipWrapper } from './TooltipWrapper';
5
- export type { TooltipWrapperPlacement, TooltipWrapperProps, } from './TooltipWrapper.interface';
1
+ import { Tooltip, tooltipConfig } from './Tooltip';
2
+ import { tooltipAppearance } from './Tooltip.appearance';
3
+ import type { RCComponentTooltipWrapperPlacement, TooltipAppearance, TooltipConfig, TooltipProps, TooltipWrapperProps } from './Tooltip.interface';
4
+ import { TooltipWrapper } from './TooltipWrapper';
5
+ export type { RCComponentTooltipWrapperPlacement, TooltipAppearance, TooltipConfig, TooltipProps, TooltipWrapperProps, };
6
+ export { Tooltip, tooltipAppearance, tooltipConfig, TooltipWrapper };
@@ -1,4 +1,4 @@
1
- export { m as mergeAppearanceKeys } from '../primitives_es_CFZll4Gh.js';
1
+ export { m as mergeAppearanceKeys } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- export { s as setViewportProperty } from '../primitives_es_CFZll4Gh.js';
1
+ export { s as setViewportProperty } from '../primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- export { m as mergeAppearanceKeys, s as setViewportProperty } from './primitives_es_CFZll4Gh.js';
1
+ export { m as mergeAppearanceKeys, s as setViewportProperty } from './primitives_es_Dd7DZpxg.js';
2
2
  import 'react/jsx-runtime';
3
3
  import '@rc-component/tooltip';
4
4
  import 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.9.75",
3
+ "version": "1.9.76",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -136,11 +136,11 @@
136
136
  "@rc-component/tooltip": "^1.4.0",
137
137
  "clsx": "^2.1.1",
138
138
  "date-fns": "^4.1.0",
139
- "framer-motion": "^12.37.0",
139
+ "framer-motion": "^12.38.0",
140
140
  "js-cookie": "^3.0.5",
141
141
  "lodash": "^4.17.23",
142
142
  "luxon": "^3.7.2",
143
- "motion": "^12.37.0",
143
+ "motion": "^12.38.0",
144
144
  "rc-slider": "^11.1.9",
145
145
  "react": "^18.3.1",
146
146
  "react-dadata": "^2.27.4",
@@ -1,13 +0,0 @@
1
- import type { TooltipProps as TooltipTriggerProps } from '@rc-component/tooltip/lib/Tooltip';
2
- import type { Placement as TooltipWrapperPlacement } from '@rc-component/trigger/es/interface';
3
- import type { TooltipProps } from './Tooltip.interface';
4
- type PropsFromTooltip = Omit<TooltipProps, keyof Pick<TooltipProps, 'align' | 'children' | 'closeTimeoutDelay' | 'initialIsVisible' | 'openTimeoutDelay' | 'zIndex'>>;
5
- type PropsFromTooltipTrigger = Pick<TooltipTriggerProps, 'children' | 'destroyOnHidden' | 'trigger'>;
6
- type TooltipWrapperProps = PropsFromTooltip & PropsFromTooltipTrigger & {
7
- closeDelay?: number;
8
- isOpen?: boolean;
9
- openDelay?: number;
10
- placement?: TooltipWrapperPlacement;
11
- tooltipContent?: React.ReactNode;
12
- };
13
- export type { TooltipWrapperPlacement, TooltipWrapperProps };