@itcase/ui 1.9.73 → 1.9.75
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.
- package/dist/{Avatar_cjs_DzHVjvS7.js → Avatar_cjs_Du4ue21o.js} +2 -2
- package/dist/{Avatar_es_DT90hDx2.js → Avatar_es_CibEByu1.js} +2 -2
- package/dist/{Button_cjs_BRuxcSph.js → Button_cjs_WtHw9BDA.js} +2 -2
- package/dist/{Button_es_CyZy_s7U.js → Button_es_8PzNfJfg.js} +2 -2
- package/dist/{ChipsGroup_cjs_BHWN4JnI.js → ChipsGroup_cjs_DyrMNE7_.js} +1 -1
- package/dist/{ChipsGroup_es_BwAnAj_g.js → ChipsGroup_es_BfxuOpwS.js} +1 -1
- package/dist/{DatePicker_cjs_DKgk6CEH.js → DatePicker_cjs_BSeEjkX8.js} +4 -4
- package/dist/{DatePicker_es_D1Djdtw0.js → DatePicker_es_C7XoEWWQ.js} +4 -4
- package/dist/{Group_cjs_D3Vcfu56.js → Group_cjs_DOK19BiO.js} +1 -1
- package/dist/{Group_es_Bkzb9-kE.js → Group_es_C5ZSQzaZ.js} +1 -1
- package/dist/{Image_cjs_NKrFIeit.js → Image_cjs_CJeps_Bm.js} +1 -1
- package/dist/{Image_es_Bk5tFxP2.js → Image_es_814TZFXG.js} +1 -1
- package/dist/{Input_cjs_B-2x-wi5.js → Input_cjs_BgxerqP6.js} +1 -1
- package/dist/{Input_es_C7mbiaA5.js → Input_es_DeChNcE-.js} +1 -1
- package/dist/{Label_cjs_bihYjSd_.js → Label_cjs_B6PcbtKO.js} +1 -1
- package/dist/{Label_es_CD4vmexu.js → Label_es_BgLfzksU.js} +1 -1
- package/dist/{Loader_cjs_Ba1FJg3e.js → Loader_cjs_DOnd5Cda.js} +1 -1
- package/dist/{Loader_es_BPfKELUA.js → Loader_es_DXPtXFW_.js} +1 -1
- package/dist/{Overlay_cjs_CX6qxDFr.js → Overlay_cjs_DE0PpMty.js} +1 -1
- package/dist/{Overlay_es_Cv_RvDFl.js → Overlay_es_He7Wj1Za.js} +1 -1
- package/dist/{SelectContainer_cjs_Dl2PK3-x.js → SelectContainer_cjs_DGntN9oG.js} +3 -3
- package/dist/{SelectContainer_es_CzFeKrsC.js → SelectContainer_es_FnfMojiJ.js} +3 -3
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +4 -4
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Checkmark.js +1 -1
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/Dadata.js +2 -2
- package/dist/cjs/components/DatePeriod.js +9 -9
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Dot.js +1 -1
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +1 -1
- package/dist/cjs/components/Dropzone.js +3 -3
- package/dist/cjs/components/Flex.js +1 -1
- package/dist/cjs/components/Grid.js +1 -1
- package/dist/cjs/components/Group.js +2 -2
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/InputNumber.js +3 -3
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Overlay.js +2 -2
- package/dist/cjs/components/Pagination.js +1 -1
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/RangeSlider.js +1 -1
- package/dist/cjs/components/Response.js +4 -4
- package/dist/cjs/components/SVGContent.js +1 -1
- package/dist/cjs/components/ScrollOnDrag.js +1 -1
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +4 -4
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Textarea.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Video.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/cjs/context/Notifications.js +1 -1
- package/dist/cjs/context/UIContext.js +1 -1
- package/dist/cjs/context/UrlAssetPrefix.js +1 -1
- package/dist/cjs/hoc/urlWithAssetPrefix.js +1 -1
- package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +1 -1
- package/dist/cjs/hooks/useAppearanceConfig.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
- package/dist/cjs/hooks/useMediaQueries/useMediaQueries.js +1 -1
- package/dist/cjs/hooks/useMediaQueries.js +1 -1
- package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
- package/dist/cjs/hooks/useStyles.js +1 -1
- package/dist/cjs/hooks.js +1 -1
- package/dist/cjs/utils/mergeAppearanceKeys.js +1 -1
- package/dist/cjs/utils/setViewportProperty.js +1 -1
- package/dist/cjs/utils.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +4 -4
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Checkmark.js +1 -1
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/Dadata.js +2 -2
- package/dist/components/DatePeriod.js +9 -9
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Divider.js +1 -1
- package/dist/components/Dot.js +1 -1
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +1 -1
- package/dist/components/Dropzone.js +3 -3
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group.js +2 -2
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Image.js +2 -2
- package/dist/components/Input.js +2 -2
- package/dist/components/InputNumber.js +3 -3
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +3 -3
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +3 -3
- package/dist/components/Overlay.js +2 -2
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Radio.js +1 -1
- package/dist/components/RangeSlider.js +1 -1
- package/dist/components/Response.js +4 -4
- package/dist/components/SVGContent.js +1 -1
- package/dist/components/ScrollOnDrag.js +1 -1
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +4 -4
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Video.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/context/Notifications.js +1 -1
- package/dist/context/UIContext.js +1 -1
- package/dist/context/UrlAssetPrefix.js +1 -1
- package/dist/hoc/urlWithAssetPrefix.js +1 -1
- package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +1 -1
- package/dist/hooks/useAppearanceConfig.js +1 -1
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDeviceTargetClass.js +1 -1
- package/dist/hooks/useMediaQueries/useMediaQueries.js +1 -1
- package/dist/hooks/useMediaQueries.js +1 -1
- package/dist/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/hooks/useStyles/useStyles.js +1 -1
- package/dist/hooks/useStyles.js +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{primitives_cjs_BEU-o0FZ.js → primitives_cjs_CqGNSrPn.js} +2 -2
- package/dist/{primitives_es_g9LRUQ6M.js → primitives_es_CFZll4Gh.js} +2 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +7 -8
- package/dist/types/components/Badge/Badge.interface.d.ts +6 -7
- package/dist/types/components/Badge/index.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +1 -2
- package/dist/types/components/Tooltip/TooltipWrapper.interface.d.ts +2 -1
- package/dist/utils/mergeAppearanceKeys.js +1 -1
- package/dist/utils/setViewportProperty.js +1 -1
- package/dist/utils.js +1 -1
- package/package.json +12 -12
package/dist/components/Text.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Text, t as textAppearance, q as textConfig } from '../
|
|
1
|
+
export { b as Text, t as textAppearance, q as textConfig } from '../primitives_es_CFZll4Gh.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 '../
|
|
3
|
+
import { d as useAppearanceConfig, a as useDevicePropsGenerator } from '../primitives_es_CFZll4Gh.js';
|
|
4
4
|
import '@rc-component/tooltip';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'lodash/camelCase';
|
package/dist/components/Tile.js
CHANGED
|
@@ -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 '../
|
|
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';
|
|
4
4
|
import '@rc-component/tooltip';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'lodash/camelCase';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Title, y as titleAppearance, z as titleConfig } from '../
|
|
1
|
+
export { T as Title, y as titleAppearance, z as titleConfig } from '../primitives_es_CFZll4Gh.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 '../
|
|
1
|
+
export { l as Tooltip, h as TooltipWrapper, A as tooltipAppearance, C as tooltipConfig } from '../primitives_es_CFZll4Gh.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import '@rc-component/tooltip';
|
|
4
4
|
import 'react';
|
package/dist/components/Video.js
CHANGED
|
@@ -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 '../
|
|
3
|
+
import { u as useStyles } from '../primitives_es_CFZll4Gh.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 '../
|
|
4
|
+
import { d as useAppearanceConfig, a as useDevicePropsGenerator, u as useStyles, I as Icon, b as Text } from '../primitives_es_CFZll4Gh.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 '../
|
|
5
|
+
export { N as NotificationsProvider, j as useNotifications, k as useNotificationsAPI } from '../primitives_es_CFZll4Gh.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 '../
|
|
4
|
+
export { U as UIProvider, e as useUserDeviceContext } from '../primitives_es_CFZll4Gh.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 '../
|
|
3
|
+
export { E as UrlAssetPrefixContext, F as UrlAssetPrefixProvider } from '../primitives_es_CFZll4Gh.js';
|
|
4
4
|
import '@rc-component/tooltip';
|
|
5
5
|
import 'clsx';
|
|
6
6
|
import 'lodash/camelCase';
|
|
@@ -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 '../
|
|
4
|
+
export { c as urlWithAssetPrefix } from '../primitives_es_CFZll4Gh.js';
|
|
5
5
|
import '@rc-component/tooltip';
|
|
6
6
|
import 'clsx';
|
|
7
7
|
import 'lodash/camelCase';
|
|
@@ -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 '../../
|
|
5
|
+
export { a as useDevicePropsGenerator } from '../../primitives_es_CFZll4Gh.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import '@rc-component/tooltip';
|
|
8
8
|
import 'clsx';
|
|
@@ -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 '../
|
|
4
|
+
import { e as useUserDeviceContext } from '../primitives_es_CFZll4Gh.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 '../../
|
|
3
|
+
export { n as useMediaQueries } from '../../primitives_es_CFZll4Gh.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@rc-component/tooltip';
|
|
6
6
|
import 'clsx';
|
|
@@ -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 '../../
|
|
5
|
+
export { u as useStyles } from '../../primitives_es_CFZll4Gh.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import '@rc-component/tooltip';
|
|
8
8
|
import 'clsx';
|
package/dist/hooks/useStyles.js
CHANGED
package/dist/hooks.js
CHANGED
|
@@ -1881,8 +1881,8 @@ const Tooltip = React.forwardRef(function Tooltip(props, ref) {
|
|
|
1881
1881
|
});
|
|
1882
1882
|
|
|
1883
1883
|
const TooltipWrapper = (props) => {
|
|
1884
|
-
const { placement = 'right', tooltipContent, trigger = 'hover', openDelay, closeDelay, isOpen, children, ...tooltipProps } = props;
|
|
1885
|
-
return (jsxRuntime.jsx(TooltipTrigger, {
|
|
1884
|
+
const { destroyOnHidden = true, placement = 'right', tooltipContent, trigger = 'hover', openDelay = 0.5, closeDelay = 0.25, isOpen, children, ...tooltipProps } = props;
|
|
1885
|
+
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
1886
|
};
|
|
1887
1887
|
|
|
1888
1888
|
const UrlAssetPrefixContext = React.createContext({
|
|
@@ -1879,8 +1879,8 @@ const Tooltip = React.forwardRef(function Tooltip(props, ref) {
|
|
|
1879
1879
|
});
|
|
1880
1880
|
|
|
1881
1881
|
const TooltipWrapper = (props) => {
|
|
1882
|
-
const { placement = 'right', tooltipContent, trigger = 'hover', openDelay, closeDelay, isOpen, children, ...tooltipProps } = props;
|
|
1883
|
-
return (jsx(TooltipTrigger, {
|
|
1882
|
+
const { destroyOnHidden = true, placement = 'right', tooltipContent, trigger = 'hover', openDelay = 0.5, closeDelay = 0.25, isOpen, children, ...tooltipProps } = props;
|
|
1883
|
+
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
1884
|
};
|
|
1885
1885
|
|
|
1886
1886
|
const UrlAssetPrefixContext = createContext({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BorderColorProps, CompositeAppearanceSizePxKey, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizePXProps } from '@itcase/types-ui';
|
|
3
3
|
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { BadgeProps } from '../Badge/Badge.interface';
|
|
5
5
|
import { IconProps } from '../Icon/Icon.interface';
|
|
@@ -33,7 +33,7 @@ type AvatarAppearanceProps = {
|
|
|
33
33
|
};
|
|
34
34
|
type AvatarProps = AvatarAppearanceProps & StyleAttributes & {
|
|
35
35
|
after?: string;
|
|
36
|
-
appearance?:
|
|
36
|
+
appearance?: CompositeAppearanceSizePxKey;
|
|
37
37
|
before?: string;
|
|
38
38
|
children?: ReactNode;
|
|
39
39
|
className?: string;
|
|
@@ -47,12 +47,11 @@ type AvatarProps = AvatarAppearanceProps & StyleAttributes & {
|
|
|
47
47
|
src?: string;
|
|
48
48
|
style?: CSSProperties;
|
|
49
49
|
};
|
|
50
|
-
type AvatarAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizePxKey | AppearanceStyleKey;
|
|
51
|
-
type AvatarAppearance = {
|
|
52
|
-
[key in AvatarAppearanceKey]?: AvatarAppearanceProps;
|
|
53
|
-
};
|
|
54
50
|
type AvatarConfig = {
|
|
55
|
-
appearance:
|
|
56
|
-
|
|
51
|
+
appearance: {
|
|
52
|
+
[key in CompositeAppearanceSizePxKey]?: AvatarAppearanceProps;
|
|
53
|
+
};
|
|
54
|
+
setAppearance: (appearanceConfig: AvatarConfig['appearance']) => void;
|
|
57
55
|
};
|
|
56
|
+
type AvatarAppearance = AvatarConfig['appearance'];
|
|
58
57
|
export type { AvatarAppearance, AvatarConfig, AvatarProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, SvgFillItemProps } from '@itcase/types-ui';
|
|
3
3
|
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { IconProps } from '../Icon/Icon.interface';
|
|
5
5
|
import { TextProps } from '../Text/Text.interface';
|
|
@@ -35,12 +35,11 @@ type BadgeProps = BadgeAppearanceProps & StyleAttributes & {
|
|
|
35
35
|
type?: 'counter' | 'dot' | 'dot-icon-counter' | 'fill' | 'icon' | 'icon-counter';
|
|
36
36
|
value?: number | string;
|
|
37
37
|
};
|
|
38
|
-
type BadgeAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
|
|
39
|
-
type BadgeAppearance = {
|
|
40
|
-
[key in BadgeAppearanceKey]?: BadgeAppearanceProps;
|
|
41
|
-
};
|
|
42
38
|
type BadgeConfig = {
|
|
43
|
-
appearance:
|
|
39
|
+
appearance: {
|
|
40
|
+
[key in CompositeAppearanceKey]?: BadgeAppearanceProps;
|
|
41
|
+
};
|
|
44
42
|
setAppearance: (appearanceConfig: BadgeAppearance) => void;
|
|
45
43
|
};
|
|
46
|
-
|
|
44
|
+
type BadgeAppearance = BadgeConfig['appearance'];
|
|
45
|
+
export type { BadgeAppearance, BadgeConfig, BadgeProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Badge, badgeConfig } from './Badge';
|
|
2
2
|
export { badgeAppearance } from './Badge.appearance';
|
|
3
|
-
export type { BadgeAppearance,
|
|
3
|
+
export type { BadgeAppearance, BadgeConfig, BadgeProps, } from './Badge.interface';
|
|
@@ -6,7 +6,7 @@ declare const Tooltip: React.ForwardRefExoticComponent<import("../../hooks/useSt
|
|
|
6
6
|
alignDirection?: import("@itcase/types-ui").DirectionProps;
|
|
7
7
|
alignment?: string;
|
|
8
8
|
alignPosition?: import("@itcase/types-ui").AlignProps;
|
|
9
|
-
arrowPosition?: "
|
|
9
|
+
arrowPosition?: import("@itcase/types-ui").ArrowPosition;
|
|
10
10
|
borderColor?: import("@itcase/types-ui").BorderColorProps;
|
|
11
11
|
borderType?: import("@itcase/types-ui").BorderTypeProps;
|
|
12
12
|
borderWidth?: import("@itcase/types-ui").BorderWidthProps;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { AlignProps, AppearanceShapeKey, AppearanceSizeKey, AppearanceStateKeysDefault, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceStateDefault, DirectionProps, ElevationProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WrapProps } from '@itcase/types-ui';
|
|
2
|
+
import { AlignProps, ArrowPosition, AppearanceShapeKey, AppearanceSizeKey, AppearanceStateKeysDefault, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceStateDefault, DirectionProps, ElevationProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WrapProps } from '@itcase/types-ui';
|
|
3
3
|
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { TextProps } from '../Text/Text.interface';
|
|
5
5
|
import { TitleProps } from '../Title/Title.interface';
|
|
6
|
-
type ArrowPosition = 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftBottom' | 'leftTop' | 'right' | 'rightBottom' | 'rightTop' | 'top' | 'topLeft' | 'topRight';
|
|
7
6
|
type TooltipAppearanceProps = {
|
|
8
7
|
align?: AlignProps;
|
|
9
8
|
alignDirection?: DirectionProps;
|
|
@@ -2,11 +2,12 @@ import type { TooltipProps as TooltipTriggerProps } from '@rc-component/tooltip/
|
|
|
2
2
|
import type { Placement as TooltipWrapperPlacement } from '@rc-component/trigger/es/interface';
|
|
3
3
|
import type { TooltipProps } from './Tooltip.interface';
|
|
4
4
|
type PropsFromTooltip = Omit<TooltipProps, keyof Pick<TooltipProps, 'align' | 'children' | 'closeTimeoutDelay' | 'initialIsVisible' | 'openTimeoutDelay' | 'zIndex'>>;
|
|
5
|
-
type PropsFromTooltipTrigger = Pick<TooltipTriggerProps, 'children' | '
|
|
5
|
+
type PropsFromTooltipTrigger = Pick<TooltipTriggerProps, 'children' | 'destroyOnHidden' | 'trigger'>;
|
|
6
6
|
type TooltipWrapperProps = PropsFromTooltip & PropsFromTooltipTrigger & {
|
|
7
7
|
closeDelay?: number;
|
|
8
8
|
isOpen?: boolean;
|
|
9
9
|
openDelay?: number;
|
|
10
|
+
placement?: TooltipWrapperPlacement;
|
|
10
11
|
tooltipContent?: React.ReactNode;
|
|
11
12
|
};
|
|
12
13
|
export type { TooltipWrapperPlacement, TooltipWrapperProps };
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as mergeAppearanceKeys, s as setViewportProperty } from './
|
|
1
|
+
export { m as mergeAppearanceKeys, s as setViewportProperty } from './primitives_es_CFZll4Gh.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.
|
|
3
|
+
"version": "1.9.75",
|
|
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.
|
|
139
|
+
"framer-motion": "^12.37.0",
|
|
140
140
|
"js-cookie": "^3.0.5",
|
|
141
141
|
"lodash": "^4.17.23",
|
|
142
142
|
"luxon": "^3.7.2",
|
|
143
|
-
"motion": "^12.
|
|
143
|
+
"motion": "^12.37.0",
|
|
144
144
|
"rc-slider": "^11.1.9",
|
|
145
145
|
"react": "^18.3.1",
|
|
146
146
|
"react-dadata": "^2.27.4",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"react-dropzone": "^15.0.0",
|
|
150
150
|
"react-indiana-drag-scroll": "^3.0.3-alpha",
|
|
151
151
|
"react-inlinesvg": "^4.2.0",
|
|
152
|
-
"react-modal-sheet": "5.
|
|
152
|
+
"react-modal-sheet": "5.4.1",
|
|
153
153
|
"react-modern-drawer": "^1.4.0",
|
|
154
154
|
"react-otp-input": "^3.1.1",
|
|
155
155
|
"react-paginate": "^8.3.0",
|
|
@@ -164,12 +164,12 @@
|
|
|
164
164
|
"devDependencies": {
|
|
165
165
|
"@babel/core": "^7.29.0",
|
|
166
166
|
"@babel/preset-react": "^7.28.5",
|
|
167
|
-
"@commitlint/cli": "^20.
|
|
168
|
-
"@commitlint/config-conventional": "^20.
|
|
167
|
+
"@commitlint/cli": "^20.5.0",
|
|
168
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
169
169
|
"@itcase/config": "^1.6.52",
|
|
170
|
-
"@itcase/lint": "^1.1.
|
|
171
|
-
"@itcase/types-core": "^1.1.
|
|
172
|
-
"@itcase/types-ui": "^1.1.
|
|
170
|
+
"@itcase/lint": "^1.1.102",
|
|
171
|
+
"@itcase/types-core": "^1.1.49",
|
|
172
|
+
"@itcase/types-ui": "^1.1.53",
|
|
173
173
|
"@rollup/plugin-alias": "^6.0.0",
|
|
174
174
|
"@rollup/plugin-babel": "^7.0.0",
|
|
175
175
|
"@rollup/plugin-commonjs": "^29.0.2",
|
|
@@ -194,15 +194,15 @@
|
|
|
194
194
|
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
195
195
|
"eslint": "9",
|
|
196
196
|
"husky": "^9.1.7",
|
|
197
|
-
"lint-staged": "^16.
|
|
197
|
+
"lint-staged": "^16.4.0",
|
|
198
198
|
"prettier": "^3.8.1",
|
|
199
199
|
"rollup": "4.59.0",
|
|
200
200
|
"rollup-plugin-copy": "^3.5.0",
|
|
201
|
-
"rollup-plugin-dts": "^6.
|
|
201
|
+
"rollup-plugin-dts": "^6.4.0",
|
|
202
202
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
203
203
|
"rollup-preserve-directives": "^1.1.3",
|
|
204
204
|
"semantic-release": "^25.0.3",
|
|
205
|
-
"storybook": "^10.2.
|
|
205
|
+
"storybook": "^10.2.19",
|
|
206
206
|
"stylelint": "^17.4.0",
|
|
207
207
|
"typescript": "^5.9.3"
|
|
208
208
|
}
|