@itcase/ui 1.8.21 → 1.8.22
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_CiQ14ufF.js → Avatar_cjs_DSXs1Yrg.js} +2 -21
- package/dist/{Avatar_es_No9vSqji.js → Avatar_es_DByUaJL6.js} +2 -21
- package/dist/{Button_cjs_CnStmeGt.js → Button_cjs_CukkOE-v.js} +5 -4
- package/dist/{Button_es_BV1bepl1.js → Button_es_DXcCJuNX.js} +5 -4
- package/dist/{ChipsGroup_cjs_CL00pWKy.js → ChipsGroup_cjs_9wrMZrzL.js} +1 -1
- package/dist/{ChipsGroup_es_Ciln2otW.js → ChipsGroup_es_CjGZ-ulT.js} +1 -1
- package/dist/{DatePicker_cjs_DGgkpGbI.js → DatePicker_cjs_BriuTQqj.js} +3 -3
- package/dist/{DatePicker_es_BIOyGm22.js → DatePicker_es_DzY_fVii.js} +3 -3
- package/dist/{DropdownItem_cjs_DT-zspEr.js → DropdownItem_cjs_DY61IdLK.js} +1 -1
- package/dist/{DropdownItem_es_BJLFqVuH.js → DropdownItem_es_D8mY9vFZ.js} +1 -1
- package/dist/{Label_cjs_Cqcf6ffp.js → Label_cjs_CnwET26s.js} +11 -3
- package/dist/{Label_es_CeNdA70T.js → Label_es_Dc18d1gY.js} +11 -3
- package/dist/{Link_cjs_BlXrJ15R.js → Link_cjs_DbRGq2Yk.js} +9 -9
- package/dist/{Link_es_CyJn7NFb.js → Link_es_DxtZLeKY.js} +9 -9
- package/dist/{Tooltip_cjs_Cq5kuaIK.js → Tooltip_cjs_PkuRdzzy.js} +3 -3
- package/dist/{Tooltip_es_D0PSqI2c.js → Tooltip_es_BaGfb-qC.js} +3 -3
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +15 -149
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +2 -8
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +71 -129
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +29 -9
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response/img.js +33 -0
- package/dist/cjs/components/Response.js +81 -213
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Tile.js +10 -172
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +15 -149
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +2 -8
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +71 -129
- package/dist/components/Label.js +3 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +29 -9
- package/dist/components/Modal.js +2 -2
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response/img.js +31 -0
- package/dist/components/Response.js +81 -213
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Tab.js +2 -2
- package/dist/components/Tile.js +10 -172
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/AvatarStack/AvatarStack.css +2 -15
- package/dist/css/components/Code/Code.css +3 -6
- package/dist/css/components/Label/Label.css +4 -4
- package/dist/css/components/MenuItem/MenuItem.css +19 -43
- package/dist/css/components/Response/Response.css +6 -3
- package/dist/css/components/Tab/Tab.css +14 -31
- package/dist/css/components/Tile/Tile.css +7 -5
- package/dist/css/styles/svg-color/svg_fill.css +5 -5
- package/dist/stories/Plsyground.mdx +0 -1
- package/dist/stories/index.stories.js +5 -8
- package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
- package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
- package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
- package/dist/types/components/{Response/appearance/responseDisabled.d.ts → InputPassword/appearance/inputPasswordDefault.d.ts} +9 -5
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +15 -6
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +7 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +15 -6
- package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
- package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +6 -4
- package/dist/types/components/Response/img/index.d.ts +12 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/components/InputMask.js +0 -65
- package/dist/cjs/components/Panel.js +0 -44
- package/dist/components/InputMask.js +0 -62
- package/dist/components/Panel.js +0 -41
- package/dist/css/components/InputMask/InputMask.css +0 -77
- package/dist/css/components/Panel/Panel.css +0 -107
- package/dist/stories/Accordion.mdx +0 -11
- package/dist/stories/AccordionItem.mdx +0 -15
- package/dist/stories/Breadcrumbs.mdx +0 -15
- package/dist/stories/BreadcrumbsItem.mdx +0 -17
- package/dist/stories/Dot.mdx +0 -19
- package/dist/stories/Drawer.mdx +0 -11
- package/dist/stories/Dropdown.mdx +0 -12
- package/dist/stories/DropdownItem.mdx +0 -19
- package/dist/stories/Image.mdx +0 -15
- package/dist/stories/Input.mdx +0 -31
- package/dist/stories/InputPassword.mdx +0 -15
- package/dist/stories/Label.mdx +0 -11
- package/dist/stories/ListItem.mdx +0 -11
- package/dist/stories/Logo.mdx +0 -24
- package/dist/stories/MenuItem.mdx +0 -15
- package/dist/stories/Modal.mdx +0 -15
- package/dist/stories/Notification.mdx +0 -23
- package/dist/stories/Radio.mdx +0 -28
- package/dist/stories/Response.mdx +0 -11
- package/dist/stories/SearchInput.mdx +0 -19
- package/dist/stories/Switch.mdx +0 -23
- package/dist/stories/Tab.mdx +0 -27
- package/dist/stories/Text.mdx +0 -35
- package/dist/types/components/Cell/appearance/cellAccent.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellDanger.d.ts +0 -7
- package/dist/types/components/Cell/appearance/cellError.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellInfo.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellPrimary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSecondary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSuccess.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellWarning.d.ts +0 -11
- package/dist/types/components/InputMask/InputMask.d.ts +0 -5
- package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
- package/dist/types/components/InputMask/index.d.ts +0 -1
- package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +0 -20
- package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +0 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +0 -21
- package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +0 -25
- package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +0 -11
- package/dist/types/components/Panel/Panel.d.ts +0 -5
- package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
- package/dist/types/components/Panel/index.d.ts +0 -1
- package/dist/types/components/Response/appearance/responseAccent.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseDanger.d.ts +0 -7
- package/dist/types/components/Response/appearance/responseInfo.d.ts +0 -21
- package/dist/types/components/Response/appearance/responsePrimary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseRequire.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseSecondary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseSize.d.ts +0 -59
- package/dist/types/components/Response/appearance/responseStyle.d.ts +0 -16
- package/dist/types/components/Response/appearance/responseSurface.d.ts +0 -25
- package/dist/types/components/Tile/appearance/tileAccent.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileDanger.d.ts +0 -7
- package/dist/types/components/Tile/appearance/tileDisabled.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileError.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileInfo.d.ts +0 -21
- package/dist/types/components/Tile/appearance/tilePrimary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileRequire.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileSecondary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +0 -16
- package/dist/types/components/Tile/appearance/tileSuccess.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileWarning.d.ts +0 -11
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
declare const avatarAppearanceInfo: {
|
|
2
2
|
info: {
|
|
3
3
|
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
4
|
borderColor: string;
|
|
6
5
|
textColor: string;
|
|
7
|
-
textColorHover: string;
|
|
8
6
|
};
|
|
9
7
|
infoSecondary: {
|
|
10
8
|
fill: string;
|
|
11
|
-
fillHover: string;
|
|
12
9
|
borderColor: string;
|
|
13
10
|
textColor: string;
|
|
14
|
-
textColorHover: string;
|
|
15
11
|
};
|
|
16
12
|
};
|
|
17
13
|
export { avatarAppearanceInfo };
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
declare const avatarAppearanceSurface: {
|
|
2
2
|
surfacePrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
4
|
textColor: string;
|
|
6
5
|
};
|
|
7
6
|
surfaceQuaternary: {
|
|
8
7
|
fill: string;
|
|
9
|
-
fillHover: string;
|
|
10
8
|
textColor: string;
|
|
11
9
|
};
|
|
12
10
|
surfaceSecondary: {
|
|
13
11
|
fill: string;
|
|
14
|
-
fillHover: string;
|
|
15
12
|
textColor: string;
|
|
16
|
-
loaderFill: string;
|
|
17
|
-
loaderItemFill: string;
|
|
18
13
|
};
|
|
19
14
|
surfaceTertiary: {
|
|
20
15
|
fill: string;
|
|
21
|
-
fillHover: string;
|
|
22
16
|
textColor: string;
|
|
23
17
|
};
|
|
24
18
|
};
|
|
@@ -1,59 +1,23 @@
|
|
|
1
1
|
declare const cellAppearanceSize: {
|
|
2
|
-
sizeXXL: {
|
|
3
|
-
size: string;
|
|
4
|
-
labelTextSize: string;
|
|
5
|
-
iconAfterFillSize: string;
|
|
6
|
-
iconAfterSize: string;
|
|
7
|
-
iconBeforeFillSize: string;
|
|
8
|
-
iconBeforeSize: string;
|
|
9
|
-
};
|
|
10
2
|
sizeXL: {
|
|
11
3
|
size: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
iconAfterSize: string;
|
|
15
|
-
iconBeforeFillSize: string;
|
|
16
|
-
iconBeforeSize: string;
|
|
4
|
+
titleTextSize: string;
|
|
5
|
+
valueTextSize: string;
|
|
17
6
|
};
|
|
18
7
|
sizeL: {
|
|
19
8
|
size: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
iconAfterSize: string;
|
|
23
|
-
iconBeforeFillSize: string;
|
|
24
|
-
iconBeforeSize: string;
|
|
9
|
+
titleTextSize: string;
|
|
10
|
+
valueTextSize: string;
|
|
25
11
|
};
|
|
26
12
|
sizeM: {
|
|
27
13
|
size: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
iconAfterSize: string;
|
|
31
|
-
iconBeforeFillSize: string;
|
|
32
|
-
iconBeforeSize: string;
|
|
14
|
+
titleTextSize: string;
|
|
15
|
+
valueTextSize: string;
|
|
33
16
|
};
|
|
34
17
|
sizeS: {
|
|
35
18
|
size: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
iconAfterSize: string;
|
|
39
|
-
iconBeforeFillSize: string;
|
|
40
|
-
iconBeforeSize: string;
|
|
41
|
-
};
|
|
42
|
-
sizeXS: {
|
|
43
|
-
size: string;
|
|
44
|
-
labelTextSize: string;
|
|
45
|
-
iconAfterFillSize: string;
|
|
46
|
-
iconAfterSize: string;
|
|
47
|
-
iconBeforeFillSize: string;
|
|
48
|
-
iconBeforeSize: string;
|
|
49
|
-
};
|
|
50
|
-
sizeXXS: {
|
|
51
|
-
size: string;
|
|
52
|
-
labelTextSize: string;
|
|
53
|
-
iconAfterFillSize: string;
|
|
54
|
-
iconAfterSize: string;
|
|
55
|
-
iconBeforeFillSize: string;
|
|
56
|
-
iconBeforeSize: string;
|
|
19
|
+
titleTextSize: string;
|
|
20
|
+
valueTextSize: string;
|
|
57
21
|
};
|
|
58
22
|
};
|
|
59
23
|
export { cellAppearanceSize };
|
|
@@ -2,18 +2,12 @@ declare const codeAppearanceSize: {
|
|
|
2
2
|
sizeL: {
|
|
3
3
|
size: string;
|
|
4
4
|
labelTextSize: string;
|
|
5
|
-
|
|
6
|
-
iconAfterSize: string;
|
|
7
|
-
iconBeforeFillSize: string;
|
|
8
|
-
iconBeforeSize: string;
|
|
5
|
+
inputSize: string;
|
|
9
6
|
};
|
|
10
7
|
sizeM: {
|
|
11
8
|
size: string;
|
|
12
9
|
labelTextSize: string;
|
|
13
|
-
|
|
14
|
-
iconAfterSize: string;
|
|
15
|
-
iconBeforeFillSize: string;
|
|
16
|
-
iconBeforeSize: string;
|
|
10
|
+
inputSize: string;
|
|
17
11
|
};
|
|
18
12
|
};
|
|
19
13
|
export { codeAppearanceSize };
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const inputPasswordAppearanceDefault: {
|
|
2
|
+
defaultPrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
borderColor: string;
|
|
5
5
|
borderHover: string;
|
|
6
6
|
textColor: string;
|
|
7
|
+
textColorDisabled: string;
|
|
8
|
+
caret: string;
|
|
7
9
|
iconBeforeFill: string;
|
|
8
10
|
iconClearFill: string;
|
|
9
|
-
placeholderTextColor: string;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
defaultSecondary: {
|
|
12
13
|
fill: string;
|
|
13
14
|
borderColor: string;
|
|
14
15
|
borderHover: string;
|
|
16
|
+
textColor: string;
|
|
17
|
+
textColorDisabled: string;
|
|
18
|
+
caret: string;
|
|
15
19
|
iconBeforeFill: string;
|
|
16
20
|
iconClearFill: string;
|
|
17
21
|
placeholderTextColor: string;
|
|
18
22
|
};
|
|
19
23
|
};
|
|
20
|
-
export {
|
|
24
|
+
export { inputPasswordAppearanceDefault };
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
declare const inputPasswordAppearanceError: {
|
|
2
|
-
|
|
2
|
+
errorPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
errorSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
9
18
|
};
|
|
10
19
|
};
|
|
11
20
|
export { inputPasswordAppearanceError };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const inputPasswordAppearanceSize: {
|
|
2
2
|
sizeXXL: {
|
|
3
3
|
size: string;
|
|
4
|
-
|
|
4
|
+
textSize: string;
|
|
5
5
|
iconAfterFillSize: string;
|
|
6
6
|
iconAfterSize: string;
|
|
7
7
|
iconBeforeFillSize: string;
|
|
@@ -9,7 +9,7 @@ declare const inputPasswordAppearanceSize: {
|
|
|
9
9
|
};
|
|
10
10
|
sizeXL: {
|
|
11
11
|
size: string;
|
|
12
|
-
|
|
12
|
+
textSize: string;
|
|
13
13
|
iconAfterFillSize: string;
|
|
14
14
|
iconAfterSize: string;
|
|
15
15
|
iconBeforeFillSize: string;
|
|
@@ -17,7 +17,7 @@ declare const inputPasswordAppearanceSize: {
|
|
|
17
17
|
};
|
|
18
18
|
sizeL: {
|
|
19
19
|
size: string;
|
|
20
|
-
|
|
20
|
+
textSize: string;
|
|
21
21
|
iconAfterFillSize: string;
|
|
22
22
|
iconAfterSize: string;
|
|
23
23
|
iconBeforeFillSize: string;
|
|
@@ -25,7 +25,7 @@ declare const inputPasswordAppearanceSize: {
|
|
|
25
25
|
};
|
|
26
26
|
sizeM: {
|
|
27
27
|
size: string;
|
|
28
|
-
|
|
28
|
+
textSize: string;
|
|
29
29
|
iconAfterFillSize: string;
|
|
30
30
|
iconAfterSize: string;
|
|
31
31
|
iconBeforeFillSize: string;
|
|
@@ -33,7 +33,7 @@ declare const inputPasswordAppearanceSize: {
|
|
|
33
33
|
};
|
|
34
34
|
sizeS: {
|
|
35
35
|
size: string;
|
|
36
|
-
|
|
36
|
+
textSize: string;
|
|
37
37
|
iconAfterFillSize: string;
|
|
38
38
|
iconAfterSize: string;
|
|
39
39
|
iconBeforeFillSize: string;
|
|
@@ -41,7 +41,7 @@ declare const inputPasswordAppearanceSize: {
|
|
|
41
41
|
};
|
|
42
42
|
sizeXS: {
|
|
43
43
|
size: string;
|
|
44
|
-
|
|
44
|
+
textSize: string;
|
|
45
45
|
iconAfterFillSize: string;
|
|
46
46
|
iconAfterSize: string;
|
|
47
47
|
iconBeforeFillSize: string;
|
|
@@ -49,7 +49,7 @@ declare const inputPasswordAppearanceSize: {
|
|
|
49
49
|
};
|
|
50
50
|
sizeXXS: {
|
|
51
51
|
size: string;
|
|
52
|
-
|
|
52
|
+
textSize: string;
|
|
53
53
|
iconAfterFillSize: string;
|
|
54
54
|
iconAfterSize: string;
|
|
55
55
|
iconBeforeFillSize: string;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
declare const inputPasswordAppearanceSuccess: {
|
|
2
|
-
|
|
2
|
+
successPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
successSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
9
18
|
};
|
|
10
19
|
};
|
|
11
20
|
export { inputPasswordAppearanceSuccess };
|
|
@@ -4,6 +4,13 @@ declare const labelAppearanceAccent: {
|
|
|
4
4
|
labelTextColor: string;
|
|
5
5
|
labelTextColorHover: string;
|
|
6
6
|
};
|
|
7
|
+
accentPrimary: {
|
|
8
|
+
fill: string;
|
|
9
|
+
labelTextColor: string;
|
|
10
|
+
labelTextColorHover: string;
|
|
11
|
+
iconBeforeFillIcon: string;
|
|
12
|
+
iconAfterFillIcon: string;
|
|
13
|
+
};
|
|
7
14
|
accentTertiary: {
|
|
8
15
|
fill: string;
|
|
9
16
|
labelTextColor: string;
|
|
@@ -56,9 +56,9 @@ export interface LinkWrapperProps extends LinkThemeColor, StyleAttributes {
|
|
|
56
56
|
children?: ReactNode;
|
|
57
57
|
className?: string;
|
|
58
58
|
Component?: ElementType;
|
|
59
|
-
DefaultComponent?: ElementType;
|
|
60
59
|
disabled?: boolean;
|
|
61
60
|
href?: string;
|
|
61
|
+
LinkComponent?: ElementType;
|
|
62
62
|
rel?: string;
|
|
63
63
|
style?: CSSProperties;
|
|
64
64
|
target?: string;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
declare const menuItemAppearanceSurface: {
|
|
2
2
|
surfacePrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
+
fillActive: string;
|
|
5
|
+
fillActiveHover: string;
|
|
4
6
|
fillHover: string;
|
|
5
7
|
labelTextColor: string;
|
|
8
|
+
iconAfterFillIcon: string;
|
|
9
|
+
iconBeforeFillIcon: string;
|
|
6
10
|
};
|
|
7
11
|
surfaceQuaternary: {
|
|
8
12
|
fill: string;
|
|
@@ -13,8 +17,6 @@ declare const menuItemAppearanceSurface: {
|
|
|
13
17
|
fill: string;
|
|
14
18
|
fillHover: string;
|
|
15
19
|
labelTextColor: string;
|
|
16
|
-
loaderFill: string;
|
|
17
|
-
loaderItemFill: string;
|
|
18
20
|
};
|
|
19
21
|
surfaceTertiary: {
|
|
20
22
|
fill: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const responseAppearanceConfirm: {
|
|
2
|
+
confirm: {
|
|
3
|
+
fill: string;
|
|
4
|
+
titleTextColor: string;
|
|
5
|
+
labelTextColor: string;
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { responseAppearanceConfirm };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const responseAppearanceFail: {
|
|
2
|
+
fail: {
|
|
3
|
+
fill: string;
|
|
4
|
+
titleTextColor: string;
|
|
5
|
+
labelTextColor: string;
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { responseAppearanceFail };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const responseAppearanceNothingFound: {
|
|
2
|
+
nothingFound: {
|
|
3
|
+
fill: string;
|
|
4
|
+
titleTextColor: string;
|
|
5
|
+
labelTextColor: string;
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { responseAppearanceNothingFound };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const responseAppearanceRefresh: {
|
|
2
|
+
refresh: {
|
|
3
|
+
fill: string;
|
|
4
|
+
titleTextColor: string;
|
|
5
|
+
labelTextColor: string;
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { responseAppearanceRefresh };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
declare const responseAppearanceError: {
|
|
2
2
|
error: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
titleTextColor: string;
|
|
5
5
|
labelTextColor: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
9
11
|
};
|
|
10
12
|
};
|
|
11
13
|
export { responseAppearanceError };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
declare const responseAppearanceSuccess: {
|
|
2
2
|
success: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
titleTextColor: string;
|
|
5
5
|
labelTextColor: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
9
11
|
};
|
|
10
12
|
};
|
|
11
13
|
export { responseAppearanceSuccess };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const responseAppearanceUnableLoadData: {
|
|
2
|
+
unableLoadData: {
|
|
3
|
+
fill: string;
|
|
4
|
+
titleTextColor: string;
|
|
5
|
+
labelTextColor: string;
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { responseAppearanceUnableLoadData };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
declare const responseAppearanceWarning: {
|
|
2
2
|
warning: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
titleTextColor: string;
|
|
5
5
|
labelTextColor: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
primaryButtonAppearance: string;
|
|
7
|
+
secondaryButtonAppearance: string;
|
|
8
|
+
svgFill: string;
|
|
9
|
+
SvgImage: any;
|
|
10
|
+
svgPathFill: string;
|
|
9
11
|
};
|
|
10
12
|
};
|
|
11
13
|
export { responseAppearanceWarning };
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
declare const tileAppearanceSize: {
|
|
2
|
-
sizeXXL: {
|
|
3
|
-
size: string;
|
|
4
|
-
labelTextSize: string;
|
|
5
|
-
iconAfterFillSize: string;
|
|
6
|
-
iconAfterSize: string;
|
|
7
|
-
iconBeforeFillSize: string;
|
|
8
|
-
iconBeforeSize: string;
|
|
9
|
-
};
|
|
10
2
|
sizeXL: {
|
|
11
3
|
size: string;
|
|
12
4
|
labelTextSize: string;
|
package/package.json
CHANGED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var clsx = require('clsx');
|
|
7
|
-
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
|
-
require('lodash/camelCase');
|
|
9
|
-
require('lodash/castArray');
|
|
10
|
-
require('lodash/upperFirst');
|
|
11
|
-
require('../context/Notifications.js');
|
|
12
|
-
require('uuid');
|
|
13
|
-
require('@itcase/common');
|
|
14
|
-
require('../context/UIContext.js');
|
|
15
|
-
require('../hooks/useMediaQueries/useMediaQueries.js');
|
|
16
|
-
require('react-responsive');
|
|
17
|
-
require('../utils/setViewportProperty.js');
|
|
18
|
-
|
|
19
|
-
var inputMaskConfig = {
|
|
20
|
-
appearance: undefined,
|
|
21
|
-
state: undefined,
|
|
22
|
-
setAppearance: function (appearanceConfig) {
|
|
23
|
-
inputMaskConfig.appearance = appearanceConfig;
|
|
24
|
-
},
|
|
25
|
-
setState: function (newComponent) {
|
|
26
|
-
inputMaskConfig.state = newComponent;
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
var InputMask = React.forwardRef(function Input(props, ref) {
|
|
30
|
-
var id = props.id, className = props.className,
|
|
31
|
-
// state,
|
|
32
|
-
_a = props.type,
|
|
33
|
-
// state,
|
|
34
|
-
type = _a === void 0 ? 'text' : _a, name = props.name, appearance = props.appearance, isDisabled = props.isDisabled, dataTestId = props.dataTestId, index = props.index, placeholder = props.placeholder, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
|
|
35
|
-
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
36
|
-
var _a;
|
|
37
|
-
return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = inputMaskConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
38
|
-
}, {});
|
|
39
|
-
// const stateConfig = useMemo(
|
|
40
|
-
// () => state && inputMaskConfig.state && inputMaskConfig.state[state],
|
|
41
|
-
// [state, inputMaskConfig],
|
|
42
|
-
// )
|
|
43
|
-
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
44
|
-
var fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, borderColorClass = propsGenerator.borderColorClass, borderColorDisabledClass = propsGenerator.borderColorDisabledClass, borderWidthClass = propsGenerator.borderWidthClass, borderWidthDisabledClass = propsGenerator.borderWidthDisabledClass, textColorClass = propsGenerator.textColorClass, textColorDisabledClass = propsGenerator.textColorDisabledClass, textSizeClass = propsGenerator.textSizeClass, textWeightClass = propsGenerator.textWeightClass, placeholderTextColorDisabledClass = propsGenerator.placeholderTextColorDisabledClass, caretClass = propsGenerator.caretClass, placeholderTextColorClass = propsGenerator.placeholderTextColorClass, shapeClass = propsGenerator.shapeClass, _b = propsGenerator.sizeClass, sizeClass = _b === void 0 ? 'm' : _b, widthClass = propsGenerator.widthClass;
|
|
45
|
-
return (jsxRuntime.jsx("input", { id: String(id), className: clsx(className, 'input', type === 'number' && 'input_type_number', (textSizeClass || textColorClass || textWeightClass) && 'text', caretClass && "caret-color_".concat(caretClass), !isDisabled
|
|
46
|
-
? fillClass && "fill_".concat(fillClass)
|
|
47
|
-
: fillDisabledClass && "fill_disabled_".concat(fillDisabledClass), shapeClass && "input_shape_".concat(shapeClass), textSizeClass && "text_size_".concat(textSizeClass), textWeightClass && "text-weight_".concat(textWeightClass), widthClass && "width_".concat(widthClass), !isDisabled
|
|
48
|
-
? borderWidthClass && "border-width_".concat(borderWidthClass)
|
|
49
|
-
: borderWidthDisabledClass &&
|
|
50
|
-
"border-width_disabled_".concat(borderWidthDisabledClass), sizeClass && "input_size_".concat(sizeClass), !isDisabled
|
|
51
|
-
? borderColorClass && "border-color_".concat(borderColorClass)
|
|
52
|
-
: borderColorDisabledClass &&
|
|
53
|
-
"border-color_disabled_".concat(borderColorDisabledClass), !isDisabled
|
|
54
|
-
? placeholderTextColorClass &&
|
|
55
|
-
"placeholder-text-color_".concat(placeholderTextColorClass)
|
|
56
|
-
: placeholderTextColorDisabledClass &&
|
|
57
|
-
"placeholder-text-color_disabled_".concat(placeholderTextColorDisabledClass), !isDisabled
|
|
58
|
-
? textColorClass && "text-color_".concat(textColorClass)
|
|
59
|
-
: textColorDisabledClass && "text-color_".concat(textColorDisabledClass)), type: type, disabled: isDisabled, "data-test-id": dataTestId || (name ? "".concat(name, "InputMask") : 'inputMask'), index: index, placeholder: placeholder,
|
|
60
|
-
// @ts-expect-error
|
|
61
|
-
ref: ref, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
exports.InputMask = InputMask;
|
|
65
|
-
exports.inputMaskConfig = inputMaskConfig;
|