@itcase/ui 1.8.60 → 1.8.62
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_-cKfA1OW.js → Avatar_cjs_g8d8LDkU.js} +3 -3
- package/dist/{Avatar_es_CSKFNChm.js → Avatar_es_DbH5Le9j.js} +3 -3
- package/dist/{Button_cjs_DnkftkHE.js → Button_cjs_BMCGsGKK.js} +12 -12
- package/dist/{Button_es_kqE4jwUz.js → Button_es_CvkdyDHz.js} +12 -12
- package/dist/{ChipsGroup_cjs_CymyJ6SH.js → ChipsGroup_cjs_BALOkFuT.js} +41 -8
- package/dist/{ChipsGroup_es_BVXA2F8b.js → ChipsGroup_es_BIDq4idr.js} +41 -8
- package/dist/{DatePicker_cjs_DuPePxS9.js → DatePicker_cjs_EaIpF6cm.js} +4 -4
- package/dist/{DatePicker_es_B84xipuO.js → DatePicker_es_Cq2jJkv0.js} +4 -4
- package/dist/{DropdownItem_cjs_DdjN_gRH.js → DropdownItem_cjs_DyjqXle_.js} +2 -2
- package/dist/{DropdownItem_es_DfEoMbef.js → DropdownItem_es_DHKJHW8q.js} +2 -2
- package/dist/{Group_cjs_DHNBxjH3.js → Group_cjs_D4QLNgcC.js} +2 -2
- package/dist/{Group_es_B2yGEJfj.js → Group_es_CruwH8Al.js} +2 -2
- package/dist/{Icon_cjs_O7ILYzgW.js → Icon_cjs_BsACgdjJ.js} +3 -3
- package/dist/{Icon_es_BGR9vYtq.js → Icon_es_CoIszJbl.js} +3 -3
- package/dist/{Image_cjs_2zEjohYE.js → Image_cjs_B6YlGx8G.js} +2 -2
- package/dist/{Image_es_ChF-63wh.js → Image_es_BvYo_cHH.js} +2 -2
- package/dist/{Label_cjs_eQIgvtt7.js → Label_cjs_QJ0WLQXG.js} +3 -3
- package/dist/{Label_es_BQDu9dwH.js → Label_es_WH-qJKvj.js} +3 -3
- package/dist/{Loader_cjs_DXJ1zsFJ.js → Loader_cjs_DlnM5Vzb.js} +16 -2
- package/dist/{Loader_es_D_NFpg8C.js → Loader_es_DhNCKZ8Y.js} +16 -2
- package/dist/{Overlay_cjs_BMrkRg7M.js → Overlay_cjs_B2KA85nC.js} +1 -1
- package/dist/{Overlay_es_D_izIIUB.js → Overlay_es_BvehRqIP.js} +1 -1
- package/dist/{Text_cjs_C-Ux7Tz5.js → Text_cjs_B8nNXWBA.js} +1 -1
- package/dist/{Text_es_BdFAdf7M.js → Text_es_BvmOR4nv.js} +1 -1
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +4 -4
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +15 -3
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +4 -4
- package/dist/cjs/components/CookiesWarning.js +4 -4
- package/dist/cjs/components/DatePeriod.js +7 -7
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +4 -4
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/Flex.js +2 -2
- package/dist/cjs/components/Grid.js +3 -3
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +3 -3
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/Image.js +1 -1
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +5 -5
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Overlay.js +1 -1
- package/dist/cjs/components/Pagination.js +4 -4
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/Response/img.js +4 -4
- package/dist/cjs/components/Response.js +12 -8
- package/dist/cjs/components/Search.js +3 -3
- package/dist/cjs/components/Segmented.js +2 -2
- package/dist/cjs/components/Select.js +3 -3
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +4 -4
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Warning.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +4 -4
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +15 -3
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +4 -4
- package/dist/components/CookiesWarning.js +4 -4
- package/dist/components/DatePeriod.js +7 -7
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +4 -4
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Flex.js +2 -2
- package/dist/components/Grid.js +3 -3
- package/dist/components/Group.js +1 -1
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/Image.js +1 -1
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +3 -3
- package/dist/components/Loader.js +2 -2
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +5 -5
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +3 -3
- package/dist/components/Overlay.js +1 -1
- package/dist/components/Pagination.js +4 -4
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response/img.js +4 -4
- package/dist/components/Response.js +11 -8
- package/dist/components/Search.js +3 -3
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Select.js +3 -3
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +4 -4
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +3 -3
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Warning.js +2 -2
- package/dist/css/components/Chips/Chips.css +0 -20
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +3 -4
- package/dist/css/components/Select/Select.css +1 -1
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +4 -4
- package/dist/types/components/Cell/appearance/cellSurface.d.ts +12 -0
- package/dist/types/components/Chips/appearance/chipsShape.d.ts +25 -0
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +8 -0
- package/dist/types/components/Loader/appearance/loaderStyle.d.ts +14 -0
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -2
- package/dist/types/components/Response/img/index.d.ts +4 -4
- package/dist/types/components/Response/index.d.ts +4 -2
- package/package.json +5 -5
|
@@ -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 '../Icon_es_CoIszJbl.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -22,4 +22,4 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Text_es_BvmOR4nv.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
5
|
-
import { T as Text } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_CoIszJbl.js';
|
|
5
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
align-items: center;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
|
|
9
8
|
.chips {
|
|
10
9
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
11
10
|
&_size_$(size) {
|
|
@@ -18,23 +17,6 @@
|
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
|
|
22
|
-
.chips {
|
|
23
|
-
&_shape {
|
|
24
|
-
&_rounded {
|
|
25
|
-
border-radius: var(--chips-shape-rounded-default);
|
|
26
|
-
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
27
|
-
&^^&_size_$(size) {
|
|
28
|
-
border-radius: var(--chips-$(size)-shape-rounded);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
&_circular {
|
|
33
|
-
border-radius: 20px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
20
|
.chips {
|
|
39
21
|
&&_skeleton {
|
|
40
22
|
background-size: 200% !important;
|
|
@@ -51,7 +33,6 @@
|
|
|
51
33
|
}
|
|
52
34
|
}
|
|
53
35
|
}
|
|
54
|
-
|
|
55
36
|
@keyframes chipsSkeleton {
|
|
56
37
|
0% {
|
|
57
38
|
background-position: 200%;
|
|
@@ -60,7 +41,6 @@
|
|
|
60
41
|
background-position: -200%;
|
|
61
42
|
}
|
|
62
43
|
}
|
|
63
|
-
|
|
64
44
|
:root {
|
|
65
45
|
/* Default */
|
|
66
46
|
--chips-shape-rounded-default: 8px;
|
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
scroll-behavior: auto;
|
|
13
13
|
}
|
|
14
14
|
&--hide-scrollbars {
|
|
15
|
-
/* overflow: hidden;
|
|
16
15
|
overflow: -moz-scrollbars-none;
|
|
17
16
|
-ms-overflow-style: none;
|
|
18
|
-
scrollbar-width: none;
|
|
19
|
-
|
|
17
|
+
scrollbar-width: none;
|
|
18
|
+
&::-webkit-scrollbar {
|
|
20
19
|
width: 0 !important;
|
|
21
20
|
height: 0 !important;
|
|
22
21
|
background: transparent !important;
|
|
23
22
|
display: none !important;
|
|
24
23
|
appearance: none !important;
|
|
25
|
-
}
|
|
24
|
+
}
|
|
26
25
|
}
|
|
27
26
|
&--native-scroll {
|
|
28
27
|
overflow: auto;
|
|
@@ -2,7 +2,10 @@ declare const cellAppearanceSurface: {
|
|
|
2
2
|
surfacePrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
fillHover: string;
|
|
5
|
+
titleTextSize: string;
|
|
5
6
|
titleIconItemFill: string;
|
|
7
|
+
valueTextColor: string;
|
|
8
|
+
titleTextColor: string;
|
|
6
9
|
titleLabelAppearance: string;
|
|
7
10
|
labelTextColor: string;
|
|
8
11
|
borderColor: string;
|
|
@@ -12,7 +15,10 @@ declare const cellAppearanceSurface: {
|
|
|
12
15
|
surfaceSecondary: {
|
|
13
16
|
fill: string;
|
|
14
17
|
fillHover: string;
|
|
18
|
+
titleTextSize: string;
|
|
19
|
+
titleTextColor: string;
|
|
15
20
|
titleIconItemFill: string;
|
|
21
|
+
valueTextColor: string;
|
|
16
22
|
titleLabelAppearance: string;
|
|
17
23
|
labelTextColor: string;
|
|
18
24
|
borderColor: string;
|
|
@@ -22,7 +28,10 @@ declare const cellAppearanceSurface: {
|
|
|
22
28
|
surfaceTertiary: {
|
|
23
29
|
fill: string;
|
|
24
30
|
fillHover: string;
|
|
31
|
+
titleTextSize: string;
|
|
32
|
+
titleTextColor: string;
|
|
25
33
|
titleIconItemFill: string;
|
|
34
|
+
valueTextColor: string;
|
|
26
35
|
titleLabelAppearance: string;
|
|
27
36
|
labelTextColor: string;
|
|
28
37
|
borderColor: string;
|
|
@@ -30,7 +39,10 @@ declare const cellAppearanceSurface: {
|
|
|
30
39
|
valueLabelAppearance: string;
|
|
31
40
|
};
|
|
32
41
|
surfaceQuaternary: {
|
|
42
|
+
titleTextSize: string;
|
|
33
43
|
fill: string;
|
|
44
|
+
valueTextColor: string;
|
|
45
|
+
titleTextColor: string;
|
|
34
46
|
fillHover: string;
|
|
35
47
|
titleIconItemFill: string;
|
|
36
48
|
titleLabelAppearance: string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const chipsAppearanceShape: {
|
|
2
|
+
circular: {
|
|
3
|
+
shape: string;
|
|
4
|
+
};
|
|
5
|
+
rounded: {
|
|
6
|
+
shape: string;
|
|
7
|
+
};
|
|
8
|
+
roundedL: {
|
|
9
|
+
shape: string;
|
|
10
|
+
shapeStrength: string;
|
|
11
|
+
};
|
|
12
|
+
roundedM: {
|
|
13
|
+
shape: string;
|
|
14
|
+
shapeStrength: string;
|
|
15
|
+
};
|
|
16
|
+
roundedS: {
|
|
17
|
+
shape: string;
|
|
18
|
+
shapeStrength: string;
|
|
19
|
+
};
|
|
20
|
+
roundedXL: {
|
|
21
|
+
shape: string;
|
|
22
|
+
shapeStrength: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export { chipsAppearanceShape };
|
|
@@ -24,9 +24,17 @@ declare const chipsAppearanceSurface: {
|
|
|
24
24
|
};
|
|
25
25
|
surfaceSecondary: {
|
|
26
26
|
fill: string;
|
|
27
|
+
fillActive: string;
|
|
28
|
+
fillActiveHover: string;
|
|
27
29
|
fillHover: string;
|
|
30
|
+
labelTextActiveColor: string;
|
|
28
31
|
labelTextColor: string;
|
|
32
|
+
labelTextHoverColor: string;
|
|
29
33
|
borderColor: string;
|
|
34
|
+
iconAfterFillActiveIcon: string;
|
|
35
|
+
iconAfterFillIcon: string;
|
|
36
|
+
iconBeforeFillActiveIcon: string;
|
|
37
|
+
iconBeforeFillIcon: string;
|
|
30
38
|
};
|
|
31
39
|
surfaceTertiary: {
|
|
32
40
|
fill: string;
|
|
@@ -5,10 +5,10 @@ declare const responseAppearanceSuccess: {
|
|
|
5
5
|
titleTextSize: string;
|
|
6
6
|
labelTextColor: string;
|
|
7
7
|
descTextSize: string;
|
|
8
|
-
primaryButtonAppearance: string;
|
|
9
|
-
secondaryButtonAppearance: string;
|
|
10
8
|
svgFill: string;
|
|
11
9
|
svgPathFill: string;
|
|
10
|
+
primaryButtonAppearance: string;
|
|
11
|
+
secondaryButtonAppearance: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export { responseAppearanceSuccess };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const responseIcon: {
|
|
2
|
+
Error: any;
|
|
2
3
|
Warning: any;
|
|
3
4
|
Success: any;
|
|
4
5
|
Confirm: any;
|
|
5
|
-
Search: any;
|
|
6
|
-
Error: any;
|
|
7
6
|
Fail: any;
|
|
8
7
|
NothingFound: any;
|
|
9
8
|
Refresh: any;
|
|
9
|
+
Search: any;
|
|
10
10
|
UnableLoadData: any;
|
|
11
11
|
};
|
|
12
|
-
export {
|
|
12
|
+
export { responseIcon };
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { responseIcon } from './img';
|
|
2
|
+
import { Response, responseConfig } from './Response';
|
|
3
|
+
import { responseAppearance } from './Response.appearance';
|
|
4
|
+
export { responseAppearance, responseIcon, Response, responseConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.62",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
104
104
|
"@itcase/common": "^1.2.28",
|
|
105
105
|
"@itcase/icons": "^1.2.16",
|
|
106
|
-
"@itcase/storybook-config": "^1.1.
|
|
106
|
+
"@itcase/storybook-config": "^1.1.53",
|
|
107
107
|
"@itcase/tokens-am": "^1.1.19",
|
|
108
108
|
"@itcase/tokens-baikal": "^1.1.17",
|
|
109
109
|
"@itcase/tokens-palette": "^1.1.11",
|
|
110
|
-
"@storybook/addon-vitest": "^9.0.
|
|
110
|
+
"@storybook/addon-vitest": "^9.0.18",
|
|
111
111
|
"clsx": "^2.1.1",
|
|
112
112
|
"date-fns": "^4.1.0",
|
|
113
113
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"@commitlint/cli": "^19.8.1",
|
|
144
144
|
"@commitlint/config-conventional": "^19.8.1",
|
|
145
145
|
"@itcase/config": "^1.0.54",
|
|
146
|
-
"@itcase/lint": "^1.1.
|
|
146
|
+
"@itcase/lint": "^1.1.26",
|
|
147
147
|
"@itcase/types": "^1.0.6",
|
|
148
148
|
"@rollup/plugin-alias": "^5.1.1",
|
|
149
149
|
"@rollup/plugin-babel": "^6.0.4",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
181
181
|
"rollup-preserve-directives": "^1.1.3",
|
|
182
182
|
"semantic-release": "^24.2.7",
|
|
183
|
-
"storybook": "^9.0.
|
|
183
|
+
"storybook": "^9.0.18",
|
|
184
184
|
"stylelint": "^16.22.0",
|
|
185
185
|
"typescript": "^5.8.3"
|
|
186
186
|
}
|