@itcase/ui 1.8.22 → 1.8.23
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_DSXs1Yrg.js → Avatar_cjs_D84VawE9.js} +1 -1
- package/dist/{Avatar_es_DByUaJL6.js → Avatar_es_CUnfNViT.js} +1 -1
- package/dist/{Button_cjs_CukkOE-v.js → Button_cjs_MfWRETXI.js} +9 -1
- package/dist/{Button_es_DXcCJuNX.js → Button_es_zW2pQTwL.js} +9 -1
- package/dist/{ChipsGroup_cjs_9wrMZrzL.js → ChipsGroup_cjs_CTh6644i.js} +1 -1
- package/dist/{ChipsGroup_es_CjGZ-ulT.js → ChipsGroup_es_BFxBhYNB.js} +1 -1
- package/dist/{DatePicker_cjs_BriuTQqj.js → DatePicker_cjs_uDJmwWkk.js} +3 -3
- package/dist/{DatePicker_es_DzY_fVii.js → DatePicker_es_5r0isX1_.js} +3 -3
- package/dist/{DropdownItem_cjs_DY61IdLK.js → DropdownItem_cjs_C6Jx7-kx.js} +1 -1
- package/dist/{DropdownItem_es_D8mY9vFZ.js → DropdownItem_es_UdkGGVtg.js} +1 -1
- package/dist/{Label_cjs_CnwET26s.js → Label_cjs_jN0dxo1q.js} +1 -1
- package/dist/{Label_es_Dc18d1gY.js → Label_es_CFQzN-2m.js} +1 -1
- package/dist/{Tooltip_cjs_PkuRdzzy.js → Tooltip_cjs_CaocDcQ5.js} +82 -24
- package/dist/{Tooltip_es_BaGfb-qC.js → Tooltip_es_D1w1s33u.js} +82 -24
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/ModalSheetBottom.js +19 -5
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.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/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/ModalSheetBottom.js +19 -5
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +2 -2
- package/dist/components/Search.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.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/css/components/Badge/Badge.css +3 -3
- package/dist/css/styles/border-color/border-color.css +19 -0
- package/dist/css/styles/border-color/border-color_active.css +38 -0
- package/dist/css/styles/border-color/border-color_focus.css +25 -1
- package/dist/css/styles/border-color/border-color_hover.css +32 -0
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +13 -1
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +6 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +7 -2
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +1 -3
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +5 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +7 -1
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -1
- package/package.json +6 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import React, { useState, useCallback, useImperativeHandle } from 'react';
|
|
3
4
|
import { Sheet } from 'react-modal-sheet';
|
|
4
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import 'react';
|
|
6
6
|
import 'lodash/camelCase';
|
|
7
7
|
import 'lodash/maxBy';
|
|
8
8
|
import 'lodash/upperFirst';
|
|
@@ -21,11 +21,25 @@ var modalSheetBottomAppearance = {
|
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
var dataTestId = props.dataTestId, dataTour = props.dataTour, closeButton = props.closeButton,
|
|
24
|
+
var ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
|
|
25
|
+
var initialIsOpen = props.initialIsOpen, dataTestId = props.dataTestId, dataTour = props.dataTour, closeButton = props.closeButton, onCloseModalSheetBottom = props.onCloseModalSheetBottom, onOpenModalSheetBottom = props.onOpenModalSheetBottom, children = props.children;
|
|
26
|
+
var _a = useState(initialIsOpen), isOpen = _a[0], setIsOpen = _a[1];
|
|
27
|
+
var openModalSheetBottom = useCallback(function () {
|
|
28
|
+
setIsOpen(true);
|
|
29
|
+
if (typeof onOpenModalSheetBottom === 'function') {
|
|
30
|
+
onOpenModalSheetBottom();
|
|
31
|
+
}
|
|
32
|
+
}, [onOpenModalSheetBottom]);
|
|
33
|
+
var closeModalSheetBottom = useCallback(function () {
|
|
34
|
+
setIsOpen(false);
|
|
35
|
+
// Callback
|
|
36
|
+
onCloseModalSheetBottom && onCloseModalSheetBottom();
|
|
37
|
+
}, [onCloseModalSheetBottom]);
|
|
38
|
+
// Save ref things
|
|
39
|
+
useImperativeHandle(ref, function () { return ({ openModalSheetBottom: openModalSheetBottom, closeModalSheetBottom: closeModalSheetBottom, isOpen: isOpen }); }, [isOpen, openModalSheetBottom, closeModalSheetBottom]);
|
|
26
40
|
// @ts-expect-error
|
|
27
41
|
var styles = useStyles(props).styles;
|
|
28
|
-
return (jsxs(Sheet, __assign({ className: "modal-sheet-bottom", "data-testid": dataTestId, "data-tour": dataTour, isOpen:
|
|
29
|
-
}
|
|
42
|
+
return (jsxs(Sheet, __assign({ className: "modal-sheet-bottom", "data-testid": dataTestId, "data-tour": dataTour, isOpen: isOpen, onClose: closeModalSheetBottom }, props, { children: [jsxs(Sheet.Container, { className: "modal-sheet-bottom__container", style: styles, children: [closeButton ? (jsx("div", { className: "modal-sheet-bottom__header", children: jsx("div", { className: "modal-sheet-bottom__close", onClick: closeModalSheetBottom, children: closeButton }) })) : (jsx(Sheet.Header, { className: "modal-sheet-bottom__header" })), jsx(Sheet.Content, { className: "modal-sheet-bottom__content", children: children })] }), jsx(Sheet.Backdrop, { className: "modal-sheet-bottom__backdrop", onClick: closeModalSheetBottom })] })));
|
|
43
|
+
});
|
|
30
44
|
|
|
31
45
|
export { ModalSheetBottom, modalSheetBottomAppearance };
|
|
@@ -6,8 +6,8 @@ import ceil from 'lodash/ceil';
|
|
|
6
6
|
import ReactPaginate from 'react-paginate';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_UdkGGVtg.js';
|
|
10
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
12
|
import { icon32, icon24 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import SVG from 'react-inlinesvg';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../
|
|
9
|
+
import { B as Button } from '../Button_es_zW2pQTwL.js';
|
|
10
10
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -21,7 +21,7 @@ import 'react-responsive';
|
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
|
-
import '../
|
|
24
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
25
25
|
import '../Link_es_DxtZLeKY.js';
|
|
26
26
|
import '../Loader_es_DEYowVdU.js';
|
|
27
27
|
|
|
@@ -4,7 +4,7 @@ import React, { useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
9
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon, B as Badge } from '../
|
|
4
|
+
import { I as Icon, B as Badge } from '../Tooltip_es_D1w1s33u.js';
|
|
5
5
|
import React, { useRef, useCallback, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Tooltip_es_D1w1s33u.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Badge } from '../
|
|
7
|
+
import { B as Badge } from '../Tooltip_es_D1w1s33u.js';
|
|
8
8
|
import { D as Divider } from '../Divider_es_BdU9qjKa.js';
|
|
9
9
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge } from '../
|
|
6
|
+
import { b as Title, B as Badge } from '../Tooltip_es_D1w1s33u.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Tooltip_es_D1w1s33u.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip_es_D1w1s33u.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
animation: badgeSkeleton 3s infinite linear !important;
|
|
14
14
|
background-image: linear-gradient(
|
|
15
15
|
90deg,
|
|
16
|
-
var(--color-surface-secondary),
|
|
17
|
-
var(--color-surface-tertiary),
|
|
18
|
-
var(--color-surface-secondary)
|
|
16
|
+
var(--color-surface-fill-secondary),
|
|
17
|
+
var(--color-surface-fill-tertiary),
|
|
18
|
+
var(--color-surface-fill-secondary)
|
|
19
19
|
) !important;
|
|
20
20
|
& * {
|
|
21
21
|
opacity: 0%;
|
|
@@ -14,4 +14,23 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink, pink-citrus,
|
|
18
|
+
pomagranate, dragon-fruit, camellia, red-rose, plum, orange, clementine,
|
|
19
|
+
apricot, papaya, kumquat, light-orange, peach, flamingo, rose-gold,
|
|
20
|
+
pink-sand, vintage-rose, grapefruit, cream, mellow-yellow, canary-yellow,
|
|
21
|
+
pollen, flash-light, lemon-cream, flash, dark-green, green, spearmint, mint,
|
|
22
|
+
beryl, sea-foam, turquoise, blue, light-blue, cerulian, surf-blue,
|
|
23
|
+
pacific-green, blue-cobalt, dark-teal, blue-horizon, denim-blue, linen-blue,
|
|
24
|
+
deep-navy, midnight-blue, purple, ultra-violet, lilac, ocean-blue,
|
|
25
|
+
delft-blue, indigo, lavender-gray, lavender, mist-blue, storm-gray, cactus,
|
|
26
|
+
pine-green, cyprus-green, northern-blue, azure, alaskan-blue, khaki,
|
|
27
|
+
dark-olive, soft-white, antique-white, yellow-gold, gold, camel, walnut,
|
|
28
|
+
stone, pebble, cocoa, coastal-gray, white, black, alto, athens-gray,
|
|
29
|
+
sonic-silver {
|
|
30
|
+
&_$(palette) {
|
|
31
|
+
border-width: 1px;
|
|
32
|
+
border-color: var(--color-palette-$(palette));
|
|
33
|
+
border-style: solid;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
17
36
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.border-color {
|
|
2
|
+
&_active {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
4
|
+
error, success, warning, info, danger, gradient, disabled, hover, inverse {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, accent,
|
|
6
|
+
disabled, hover, inverse {
|
|
7
|
+
&_$(type) {
|
|
8
|
+
&-border {
|
|
9
|
+
&-$(color) {
|
|
10
|
+
border-width: 1px;
|
|
11
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
12
|
+
border-style: solid;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
19
|
+
pink-citrus, pomagranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
20
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
21
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
22
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
23
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulian,
|
|
24
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
25
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
26
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
27
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
28
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
29
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
30
|
+
alto, athens-gray, sonic-silver {
|
|
31
|
+
&_$(palette) {
|
|
32
|
+
border-width: 1px;
|
|
33
|
+
border-color: var(--color-palette-$(palette));
|
|
34
|
+
border-style: solid;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -8,13 +8,37 @@
|
|
|
8
8
|
&-border {
|
|
9
9
|
&-$(color) {
|
|
10
10
|
&:focus {
|
|
11
|
-
|
|
11
|
+
border-width: 1px;
|
|
12
12
|
border-color: var(--color-$(type)-border-$(color)) !important;
|
|
13
|
+
border-style: solid;
|
|
14
|
+
outline: 0;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
}
|
|
21
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
22
|
+
pink-citrus, pomagranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
23
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
24
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
25
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
26
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulian,
|
|
27
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
28
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
29
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
30
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
31
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
32
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
33
|
+
alto, athens-gray, sonic-silver {
|
|
34
|
+
&_$(palette) {
|
|
35
|
+
&:focus {
|
|
36
|
+
border-width: 1px;
|
|
37
|
+
border-color: var(--color-palette-$(palette)) !important;
|
|
38
|
+
border-style: solid;
|
|
39
|
+
outline: 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
19
43
|
}
|
|
20
44
|
}
|
|
@@ -8,11 +8,15 @@
|
|
|
8
8
|
&-border {
|
|
9
9
|
&-$(color) {
|
|
10
10
|
&:hover {
|
|
11
|
+
border-width: 1px;
|
|
11
12
|
border-color: var(--color-$(type)-border-$(color));
|
|
13
|
+
border-style: solid;
|
|
12
14
|
}
|
|
13
15
|
&-hover {
|
|
14
16
|
&:hover {
|
|
17
|
+
border-width: 1px;
|
|
15
18
|
border-color: var(--color-$(type)-border-$(color));
|
|
19
|
+
border-style: solid;
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -20,5 +24,33 @@
|
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
27
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
28
|
+
pink-citrus, pomagranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
29
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
30
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
31
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
32
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulian,
|
|
33
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
34
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
35
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
36
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
37
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
38
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
39
|
+
alto, athens-gray, sonic-silver {
|
|
40
|
+
&_$(palette) {
|
|
41
|
+
&:hover {
|
|
42
|
+
border-width: 1px;
|
|
43
|
+
border-color: var(--color-palette-$(palette));
|
|
44
|
+
border-style: solid;
|
|
45
|
+
}
|
|
46
|
+
&-hover {
|
|
47
|
+
&:hover {
|
|
48
|
+
border-width: 1px;
|
|
49
|
+
border-color: var(--color-palette-$(palette));
|
|
50
|
+
border-style: solid;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
23
55
|
}
|
|
24
56
|
}
|
|
@@ -7,20 +7,32 @@ declare const badgeAppearanceAccent: {
|
|
|
7
7
|
iconFill: string;
|
|
8
8
|
};
|
|
9
9
|
accentPrimary: {
|
|
10
|
-
dotFill: string;
|
|
11
10
|
fill: string;
|
|
12
11
|
borderColor: string;
|
|
13
12
|
textColor: string;
|
|
13
|
+
dotFill: string;
|
|
14
14
|
iconFill: string;
|
|
15
15
|
};
|
|
16
16
|
accentQuaternary: {
|
|
17
|
+
fill: string;
|
|
18
|
+
borderColor: string;
|
|
19
|
+
textColor: string;
|
|
17
20
|
dotFill: string;
|
|
21
|
+
iconFill: string;
|
|
18
22
|
};
|
|
19
23
|
accentSecondary: {
|
|
24
|
+
fill: string;
|
|
25
|
+
borderColor: string;
|
|
26
|
+
textColor: string;
|
|
20
27
|
dotFill: string;
|
|
28
|
+
iconFill: string;
|
|
21
29
|
};
|
|
22
30
|
accentTertiary: {
|
|
31
|
+
fill: string;
|
|
32
|
+
borderColor: string;
|
|
33
|
+
textColor: string;
|
|
23
34
|
dotFill: string;
|
|
35
|
+
iconFill: string;
|
|
24
36
|
};
|
|
25
37
|
};
|
|
26
38
|
export { badgeAppearanceAccent };
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
declare const badgeAppearanceDanger: {
|
|
2
2
|
danger: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
dotFill: string;
|
|
7
|
+
iconFill: string;
|
|
8
|
+
};
|
|
9
|
+
dangerPrimary: {
|
|
10
|
+
fill: string;
|
|
5
11
|
borderColor: string;
|
|
6
12
|
textColor: string;
|
|
7
13
|
dotFill: string;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
declare const badgeAppearanceDisabled: {
|
|
2
2
|
disabled: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
iconFill: string;
|
|
7
|
+
};
|
|
8
|
+
disabledPrimary: {
|
|
9
|
+
fill: string;
|
|
5
10
|
borderColor: string;
|
|
6
11
|
textColor: string;
|
|
7
12
|
iconFill: string;
|
|
@@ -5,8 +5,13 @@ declare const badgeAppearanceError: {
|
|
|
5
5
|
labelTextColor: string;
|
|
6
6
|
labelTextColorHover: string;
|
|
7
7
|
iconFill: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
};
|
|
9
|
+
errorPrimary: {
|
|
10
|
+
fill: string;
|
|
11
|
+
fillHover: string;
|
|
12
|
+
labelTextColor: string;
|
|
13
|
+
labelTextColorHover: string;
|
|
14
|
+
iconFill: string;
|
|
10
15
|
};
|
|
11
16
|
};
|
|
12
17
|
export { badgeAppearanceError };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare const badgeAppearanceInfo: {
|
|
2
|
-
|
|
2
|
+
infoPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
4
|
borderColor: string;
|
|
6
5
|
textColor: string;
|
|
7
6
|
dotFill: string;
|
|
@@ -9,7 +8,6 @@ declare const badgeAppearanceInfo: {
|
|
|
9
8
|
};
|
|
10
9
|
infoSecondary: {
|
|
11
10
|
fill: string;
|
|
12
|
-
fillHover: string;
|
|
13
11
|
borderColor: string;
|
|
14
12
|
textColor: string;
|
|
15
13
|
dotFill: string;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
declare const badgeAppearancePrimary: {
|
|
2
2
|
primary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
dotFill: string;
|
|
7
|
+
iconFill: string;
|
|
8
|
+
};
|
|
9
|
+
primaryPrimary: {
|
|
10
|
+
fill: string;
|
|
5
11
|
borderColor: string;
|
|
6
12
|
textColor: string;
|
|
7
13
|
dotFill: string;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
declare const badgeAppearanceSecondary: {
|
|
2
2
|
secondary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
dotFill: string;
|
|
7
|
+
iconFill: string;
|
|
8
|
+
};
|
|
9
|
+
secondaryPrimary: {
|
|
10
|
+
fill: string;
|
|
5
11
|
borderColor: string;
|
|
6
12
|
textColor: string;
|
|
7
13
|
dotFill: string;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
declare const badgeAppearanceStyle: {
|
|
2
|
-
full: {
|
|
3
|
-
borderColor: null;
|
|
4
|
-
};
|
|
2
|
+
full: {};
|
|
5
3
|
ghost: {
|
|
6
|
-
fill:
|
|
7
|
-
borderColor:
|
|
4
|
+
fill: string;
|
|
5
|
+
borderColor: string;
|
|
8
6
|
};
|
|
9
7
|
outlined: {
|
|
10
|
-
fill:
|
|
8
|
+
fill: string;
|
|
11
9
|
};
|
|
12
10
|
solid: {
|
|
13
|
-
borderColor:
|
|
11
|
+
borderColor: string;
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
14
|
export { badgeAppearanceStyle };
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
declare const badgeAppearanceSuccess: {
|
|
2
2
|
success: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
dotFill: string;
|
|
7
|
+
iconFill: string;
|
|
8
|
+
};
|
|
9
|
+
successPrimary: {
|
|
10
|
+
fill: string;
|
|
5
11
|
borderColor: string;
|
|
6
12
|
textColor: string;
|
|
7
13
|
dotFill: string;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
declare const badgeAppearanceWarning: {
|
|
2
2
|
warning: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
dotFill: string;
|
|
7
|
+
iconFill: string;
|
|
8
|
+
};
|
|
9
|
+
warningPrimary: {
|
|
10
|
+
fill: string;
|
|
5
11
|
borderColor: string;
|
|
6
12
|
textColor: string;
|
|
7
13
|
dotFill: string;
|
|
@@ -7,5 +7,13 @@ declare const buttonAppearanceWarning: {
|
|
|
7
7
|
loaderFill: string;
|
|
8
8
|
loaderItemFill: string;
|
|
9
9
|
};
|
|
10
|
+
warningPrimary: {
|
|
11
|
+
fill: string;
|
|
12
|
+
fillHover: string;
|
|
13
|
+
labelTextColor: string;
|
|
14
|
+
labelTextColorHover: string;
|
|
15
|
+
loaderFill: string;
|
|
16
|
+
loaderItemFill: string;
|
|
17
|
+
};
|
|
10
18
|
};
|
|
11
19
|
export { buttonAppearanceWarning };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ModalSheetBottomProps } from './ModalSheetBottom.interface';
|
|
2
|
-
declare
|
|
3
|
+
declare const ModalSheetBottom: React.ForwardRefExoticComponent<ModalSheetBottomProps & React.RefAttributes<ModalSheetBottomRef>>;
|
|
3
4
|
export { ModalSheetBottom };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.23",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -97,12 +97,10 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
99
99
|
"@itcase/common": "^1.2.26",
|
|
100
|
-
"@itcase/config": "^1.0.47",
|
|
101
100
|
"@itcase/icons": "^1.1.1",
|
|
102
101
|
"@itcase/storybook-config": "^1.1.13",
|
|
103
102
|
"@itcase/tokens-am": "^1.1.9",
|
|
104
103
|
"@itcase/tokens-baikal": "^1.1.9",
|
|
105
|
-
"@itcase/types": "^1.0.4",
|
|
106
104
|
"@itcase/tokens-palette": "^1.1.11",
|
|
107
105
|
"clsx": "^2.1.1",
|
|
108
106
|
"date-fns": "^4.1.0",
|
|
@@ -111,7 +109,7 @@
|
|
|
111
109
|
"framer-motion": "^12.16.0",
|
|
112
110
|
"js-cookie": "^3.0.5",
|
|
113
111
|
"lodash": "^4.17.21",
|
|
114
|
-
"motion": "^12.
|
|
112
|
+
"motion": "^12.17.0",
|
|
115
113
|
"rc-slider": "^11.1.8",
|
|
116
114
|
"react": "^18.3.1",
|
|
117
115
|
"react-dadata": "^2.27.4",
|
|
@@ -136,7 +134,9 @@
|
|
|
136
134
|
"@babel/preset-react": "^7.27.1",
|
|
137
135
|
"@commitlint/cli": "^19.8.1",
|
|
138
136
|
"@commitlint/config-conventional": "^19.8.1",
|
|
137
|
+
"@itcase/config": "^1.0.47",
|
|
139
138
|
"@itcase/lint": "^1.1.10",
|
|
139
|
+
"@itcase/types": "^1.0.4",
|
|
140
140
|
"@rollup/plugin-alias": "^5.1.1",
|
|
141
141
|
"@rollup/plugin-babel": "^6.0.4",
|
|
142
142
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
@@ -148,7 +148,6 @@
|
|
|
148
148
|
"@semantic-release/changelog": "^6.0.3",
|
|
149
149
|
"@semantic-release/git": "^10.0.1",
|
|
150
150
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
151
|
-
"@svgr/webpack": "^8.1.0",
|
|
152
151
|
"@types/js-cookie": "^3.0.6",
|
|
153
152
|
"@types/lodash": "^4.17.17",
|
|
154
153
|
"@types/react": "^19",
|
|
@@ -167,9 +166,8 @@
|
|
|
167
166
|
"npm": "^11.4.1",
|
|
168
167
|
"postcss": "^8.5.4",
|
|
169
168
|
"prettier": "^3.5.3",
|
|
170
|
-
"react-docgen-typescript": "^2.
|
|
171
|
-
"
|
|
172
|
-
"rollup": "^4.41.1",
|
|
169
|
+
"react-docgen-typescript": "^2.4.0",
|
|
170
|
+
"rollup": "^4.43.0",
|
|
173
171
|
"rollup-plugin-copy": "^3.5.0",
|
|
174
172
|
"rollup-plugin-dts": "^6.2.1",
|
|
175
173
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|