@itcase/ui 1.8.23 → 1.8.25
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/{Button_cjs_MfWRETXI.js → Button_cjs_CYUpbdMO.js} +133 -52
- package/dist/{Button_es_zW2pQTwL.js → Button_es_Dp6yFZgn.js} +133 -52
- package/dist/{ChipsGroup_cjs_CTh6644i.js → ChipsGroup_cjs_Ct-NrPmJ.js} +2 -1
- package/dist/{ChipsGroup_es_BFxBhYNB.js → ChipsGroup_es_BNuhlSG6.js} +2 -1
- package/dist/{DatePicker_cjs_uDJmwWkk.js → DatePicker_cjs_DamcZFbX.js} +2 -2
- package/dist/{DatePicker_es_5r0isX1_.js → DatePicker_es_Bm_onmmb.js} +2 -2
- package/dist/{Divider_cjs_DzFVtGkF.js → Divider_cjs_DhqcldLH.js} +6 -2
- package/dist/{Divider_es_BdU9qjKa.js → Divider_es_BEYLRagS.js} +6 -2
- package/dist/{DropdownItem_cjs_C6Jx7-kx.js → DropdownItem_cjs_B_7anyaJ.js} +1 -1
- package/dist/{DropdownItem_es_UdkGGVtg.js → DropdownItem_es_B4EZYdJA.js} +1 -1
- package/dist/{Label_cjs_jN0dxo1q.js → Label_cjs_ByGAWJcj.js} +168 -28
- package/dist/{Label_es_CFQzN-2m.js → Label_es_BtwZ3a2V.js} +168 -28
- package/dist/{Loader_cjs_3VRzFLI2.js → Loader_cjs___VikiqS.js} +36 -1
- package/dist/{Loader_es_DEYowVdU.js → Loader_es_DHKB6tTw.js} +36 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +45 -0
- package/dist/cjs/components/Breadcrumbs.js +46 -57
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +1 -1
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +81 -14
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Label.js +1 -1
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +27 -36
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +14 -0
- package/dist/cjs/components/Tab.js +133 -39
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +43 -0
- package/dist/components/Breadcrumbs.js +46 -57
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +1 -1
- package/dist/components/Chips.js +1 -1
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +81 -15
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Divider.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Label.js +1 -1
- package/dist/components/Loader.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +27 -36
- package/dist/components/Select.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +12 -0
- package/dist/components/Tab.js +134 -40
- package/dist/css/components/Breadcrumbs/Breadcrumbs.css +22 -0
- package/dist/css/components/Button/Button.css +4 -4
- package/dist/css/components/Label/Label.css +10 -9
- package/dist/css/components/Loader/Loader.css +21 -2
- package/dist/stories/Plsyground.mdx +1 -3
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -3
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +28 -35
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +4 -3
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +10 -0
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +7 -6
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -4
- package/dist/types/components/Button/appearance/buttonError.d.ts +14 -2
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +19 -4
- package/dist/types/components/Button/appearance/buttonPrimary.d.ts +13 -0
- package/dist/types/components/Button/appearance/buttonSecondary.d.ts +13 -0
- package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -0
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +0 -2
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +14 -2
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +11 -8
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -4
- package/dist/types/components/Chips/Chips.interface.d.ts +2 -2
- package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +30 -37
- package/dist/types/components/DatePeriod/datePeriodIntervals.d.ts +3 -0
- package/dist/types/components/DatePeriod/index.d.ts +1 -0
- package/dist/types/components/Label/appearance/labelAccent.d.ts +10 -1
- package/dist/types/components/Label/appearance/labelDanger.d.ts +20 -0
- package/dist/types/components/Label/appearance/labelDisable.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelError.d.ts +13 -2
- package/dist/types/components/Label/appearance/labelInfo.d.ts +14 -2
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelStyle.d.ts +0 -2
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelSurface.d.ts +14 -3
- package/dist/types/components/Label/appearance/labelWarning.d.ts +11 -0
- package/dist/types/components/Loader/appearance/loaderDanger.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderError.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderInfo.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderSuccess.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderWarning.d.ts +7 -0
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceFail.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseError.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseWarning.d.ts +2 -3
- package/dist/types/components/Tab/appearance/tabError.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +41 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +2 -2
- package/dist/types/components/Tab/appearance/tabSuccess.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +29 -24
- package/dist/types/components/Tab/appearance/tabWarning.d.ts +13 -0
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +22 -0
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts +4 -1
- package/package.json +8 -6
|
@@ -2,12 +2,11 @@ declare const responseAppearanceError: {
|
|
|
2
2
|
error: {
|
|
3
3
|
fill: string;
|
|
4
4
|
titleTextColor: string;
|
|
5
|
+
titleTextSize: string;
|
|
5
6
|
labelTextColor: string;
|
|
7
|
+
descTextSize: string;
|
|
6
8
|
primaryButtonAppearance: string;
|
|
7
9
|
secondaryButtonAppearance: string;
|
|
8
|
-
svgFill: string;
|
|
9
|
-
SvgImage: any;
|
|
10
|
-
svgPathFill: string;
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
export { responseAppearanceError };
|
|
@@ -2,12 +2,11 @@ declare const responseAppearanceSuccess: {
|
|
|
2
2
|
success: {
|
|
3
3
|
fill: string;
|
|
4
4
|
titleTextColor: string;
|
|
5
|
+
titleTextSize: string;
|
|
5
6
|
labelTextColor: string;
|
|
7
|
+
descTextSize: string;
|
|
6
8
|
primaryButtonAppearance: string;
|
|
7
9
|
secondaryButtonAppearance: string;
|
|
8
|
-
svgFill: string;
|
|
9
|
-
SvgImage: any;
|
|
10
|
-
svgPathFill: string;
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
export { responseAppearanceSuccess };
|
|
@@ -2,12 +2,11 @@ declare const responseAppearanceUnableLoadData: {
|
|
|
2
2
|
unableLoadData: {
|
|
3
3
|
fill: string;
|
|
4
4
|
titleTextColor: string;
|
|
5
|
+
titleTextSize: string;
|
|
5
6
|
labelTextColor: string;
|
|
7
|
+
descTextSize: string;
|
|
6
8
|
primaryButtonAppearance: string;
|
|
7
9
|
secondaryButtonAppearance: string;
|
|
8
|
-
svgFill: string;
|
|
9
|
-
SvgImage: any;
|
|
10
|
-
svgPathFill: string;
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
export { responseAppearanceUnableLoadData };
|
|
@@ -2,12 +2,11 @@ declare const responseAppearanceWarning: {
|
|
|
2
2
|
warning: {
|
|
3
3
|
fill: string;
|
|
4
4
|
titleTextColor: string;
|
|
5
|
+
titleTextSize: string;
|
|
5
6
|
labelTextColor: string;
|
|
7
|
+
descTextSize: string;
|
|
6
8
|
primaryButtonAppearance: string;
|
|
7
9
|
secondaryButtonAppearance: string;
|
|
8
|
-
svgFill: string;
|
|
9
|
-
SvgImage: any;
|
|
10
|
-
svgPathFill: string;
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
export { responseAppearanceWarning };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const tabAppearanceError: {
|
|
2
|
+
errorPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillDisabled: string;
|
|
5
|
+
labelColor: string;
|
|
6
|
+
labelColorActive: string;
|
|
7
|
+
labelColorDisabled: string;
|
|
8
|
+
dividerFillDisabled: string;
|
|
9
|
+
badgeAppearance: string;
|
|
10
|
+
dividerFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { tabAppearanceError };
|
|
@@ -1,10 +1,51 @@
|
|
|
1
1
|
declare const tabAppearanceSize: {
|
|
2
|
+
sizeXXL: {
|
|
3
|
+
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
|
+
badgeSize: string;
|
|
6
|
+
badgeTextSize: string;
|
|
7
|
+
dividerSize: string;
|
|
8
|
+
};
|
|
9
|
+
sizeXL: {
|
|
10
|
+
size: string;
|
|
11
|
+
labelTextSize: string;
|
|
12
|
+
badgeSize: string;
|
|
13
|
+
badgeTextSize: string;
|
|
14
|
+
dividerSize: string;
|
|
15
|
+
};
|
|
2
16
|
sizeL: {
|
|
3
17
|
size: string;
|
|
4
18
|
labelTextSize: string;
|
|
19
|
+
badgeSize: string;
|
|
20
|
+
badgeTextSize: string;
|
|
5
21
|
dividerSize: string;
|
|
22
|
+
};
|
|
23
|
+
sizeM: {
|
|
24
|
+
size: string;
|
|
25
|
+
labelTextSize: string;
|
|
6
26
|
badgeSize: string;
|
|
7
27
|
badgeTextSize: string;
|
|
28
|
+
dividerSize: string;
|
|
29
|
+
};
|
|
30
|
+
sizeS: {
|
|
31
|
+
size: string;
|
|
32
|
+
labelTextSize: string;
|
|
33
|
+
badgeSize: string;
|
|
34
|
+
badgeTextSize: string;
|
|
35
|
+
dividerSize: string;
|
|
36
|
+
};
|
|
37
|
+
sizeXS: {
|
|
38
|
+
size: string;
|
|
39
|
+
labelTextSize: string;
|
|
40
|
+
badgeSize: string;
|
|
41
|
+
badgeTextSize: string;
|
|
42
|
+
};
|
|
43
|
+
sizeXXS: {
|
|
44
|
+
size: string;
|
|
45
|
+
labelTextSize: string;
|
|
46
|
+
badgeSize: string;
|
|
47
|
+
badgeTextSize: string;
|
|
48
|
+
dividerSize: string;
|
|
8
49
|
};
|
|
9
50
|
};
|
|
10
51
|
export { tabAppearanceSize };
|
|
@@ -2,13 +2,13 @@ declare const tabAppearanceStyle: {
|
|
|
2
2
|
full: {};
|
|
3
3
|
ghost: {
|
|
4
4
|
fill: string;
|
|
5
|
-
|
|
5
|
+
borderColor: string;
|
|
6
6
|
};
|
|
7
7
|
outlined: {
|
|
8
8
|
fill: string;
|
|
9
9
|
};
|
|
10
10
|
solid: {
|
|
11
|
-
|
|
11
|
+
borderColor: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export { tabAppearanceStyle };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const tabAppearanceSuccess: {
|
|
2
|
+
successPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillDisabled: string;
|
|
5
|
+
labelColor: string;
|
|
6
|
+
labelColorActive: string;
|
|
7
|
+
labelColorDisabled: string;
|
|
8
|
+
dividerFillDisabled: string;
|
|
9
|
+
badgeAppearance: string;
|
|
10
|
+
dividerFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { tabAppearanceSuccess };
|
|
@@ -1,51 +1,56 @@
|
|
|
1
1
|
declare const tabAppearanceSurface: {
|
|
2
2
|
surfacePrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
+
fillActive: string;
|
|
5
|
+
fillActiveHover: string;
|
|
4
6
|
fillDisabled: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
fillHover: string;
|
|
8
|
+
labelTextColor: string;
|
|
9
|
+
labelTextColorActive: string;
|
|
10
|
+
borderColor: string;
|
|
8
11
|
dividerFillDisabled: string;
|
|
9
|
-
dividerFill: string;
|
|
10
|
-
dividerFillActive: string;
|
|
11
|
-
dividerFillHover: string;
|
|
12
12
|
badgeAppearance: string;
|
|
13
|
+
dividerFillActive: string;
|
|
14
|
+
iconFillIcon: string;
|
|
13
15
|
};
|
|
14
|
-
|
|
16
|
+
surfaceSecondary: {
|
|
15
17
|
fill: string;
|
|
18
|
+
fillActive: string;
|
|
19
|
+
fillActiveHover: string;
|
|
16
20
|
fillDisabled: string;
|
|
17
21
|
fillHover: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
labelColorDisabled: string;
|
|
22
|
+
labelTextColor: string;
|
|
23
|
+
labelTextColorActive: string;
|
|
21
24
|
dividerFillDisabled: string;
|
|
22
|
-
|
|
25
|
+
badgeAppearance: string;
|
|
23
26
|
dividerFillActive: string;
|
|
24
|
-
|
|
27
|
+
iconFillIcon: string;
|
|
25
28
|
};
|
|
26
|
-
|
|
29
|
+
surfaceTertiary: {
|
|
27
30
|
fill: string;
|
|
31
|
+
fillActive: string;
|
|
32
|
+
fillActiveHover: string;
|
|
28
33
|
fillDisabled: string;
|
|
29
34
|
fillHover: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
labelColorDisabled: string;
|
|
35
|
+
labelTextColor: string;
|
|
36
|
+
labelTextColorActive: string;
|
|
33
37
|
dividerFillDisabled: string;
|
|
34
|
-
|
|
38
|
+
badgeAppearance: string;
|
|
35
39
|
dividerFillActive: string;
|
|
36
|
-
|
|
40
|
+
iconFillIcon: string;
|
|
37
41
|
};
|
|
38
|
-
|
|
42
|
+
surfaceQuaternary: {
|
|
39
43
|
fill: string;
|
|
44
|
+
fillActive: string;
|
|
45
|
+
fillActiveHover: string;
|
|
40
46
|
fillDisabled: string;
|
|
41
47
|
fillHover: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
labelColorDisabled: string;
|
|
48
|
+
labelTextColor: string;
|
|
49
|
+
labelTextColorActive: string;
|
|
45
50
|
dividerFillDisabled: string;
|
|
46
|
-
|
|
51
|
+
badgeAppearance: string;
|
|
47
52
|
dividerFillActive: string;
|
|
48
|
-
|
|
53
|
+
iconFillIcon: string;
|
|
49
54
|
};
|
|
50
55
|
};
|
|
51
56
|
export { tabAppearanceSurface };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const tabAppearanceWarning: {
|
|
2
|
+
warningPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillDisabled: string;
|
|
5
|
+
labelColor: string;
|
|
6
|
+
labelColorActive: string;
|
|
7
|
+
labelColorDisabled: string;
|
|
8
|
+
dividerFillDisabled: string;
|
|
9
|
+
badgeAppearance: string;
|
|
10
|
+
dividerFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { tabAppearanceWarning };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const tabListMock: {
|
|
2
|
+
tabList: ({
|
|
3
|
+
key: number;
|
|
4
|
+
label: string;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
badgeValue?: undefined;
|
|
7
|
+
icon?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
key: number;
|
|
10
|
+
label: string;
|
|
11
|
+
badgeValue: number;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
icon?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
key: number;
|
|
16
|
+
label: string;
|
|
17
|
+
icon: string;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
badgeValue?: undefined;
|
|
20
|
+
})[];
|
|
21
|
+
};
|
|
22
|
+
export { tabListMock };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.25",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
99
99
|
"@itcase/common": "^1.2.26",
|
|
100
|
-
"@itcase/icons": "^1.1.
|
|
100
|
+
"@itcase/icons": "^1.1.3",
|
|
101
101
|
"@itcase/storybook-config": "^1.1.13",
|
|
102
102
|
"@itcase/tokens-am": "^1.1.9",
|
|
103
103
|
"@itcase/tokens-baikal": "^1.1.9",
|
|
@@ -106,9 +106,10 @@
|
|
|
106
106
|
"date-fns": "^4.1.0",
|
|
107
107
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
108
108
|
"eslint-plugin-import": "^2.31.0",
|
|
109
|
-
"framer-motion": "^12.
|
|
109
|
+
"framer-motion": "^12.17.0",
|
|
110
110
|
"js-cookie": "^3.0.5",
|
|
111
111
|
"lodash": "^4.17.21",
|
|
112
|
+
"luxon": "^3.6.1",
|
|
112
113
|
"motion": "^12.17.0",
|
|
113
114
|
"rc-slider": "^11.1.8",
|
|
114
115
|
"react": "^18.3.1",
|
|
@@ -135,8 +136,8 @@
|
|
|
135
136
|
"@commitlint/cli": "^19.8.1",
|
|
136
137
|
"@commitlint/config-conventional": "^19.8.1",
|
|
137
138
|
"@itcase/config": "^1.0.47",
|
|
138
|
-
"@itcase/lint": "^1.1.
|
|
139
|
-
"@itcase/types": "^1.0.
|
|
139
|
+
"@itcase/lint": "^1.1.15",
|
|
140
|
+
"@itcase/types": "^1.0.5",
|
|
140
141
|
"@rollup/plugin-alias": "^5.1.1",
|
|
141
142
|
"@rollup/plugin-babel": "^6.0.4",
|
|
142
143
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
@@ -150,6 +151,7 @@
|
|
|
150
151
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
151
152
|
"@types/js-cookie": "^3.0.6",
|
|
152
153
|
"@types/lodash": "^4.17.17",
|
|
154
|
+
"@types/luxon": "^3.6.2",
|
|
153
155
|
"@types/react": "^19",
|
|
154
156
|
"@types/react-datepicker": "^7.0.0",
|
|
155
157
|
"@types/react-dom": "^19.0.2",
|
|
@@ -164,7 +166,7 @@
|
|
|
164
166
|
"husky": "^9.1.7",
|
|
165
167
|
"lint-staged": "^16.1.0",
|
|
166
168
|
"npm": "^11.4.1",
|
|
167
|
-
"postcss": "^8.5.
|
|
169
|
+
"postcss": "^8.5.5",
|
|
168
170
|
"prettier": "^3.5.3",
|
|
169
171
|
"react-docgen-typescript": "^2.4.0",
|
|
170
172
|
"rollup": "^4.43.0",
|