@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
|
@@ -4,7 +4,7 @@ import React, { useRef, useMemo, createRef, 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_BaGfb-qC.js';
|
|
8
8
|
import { L as Loader } from '../Loader_es_DEYowVdU.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -20,7 +20,7 @@ import '../utils/setViewportProperty.js';
|
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Link_es_DxtZLeKY.js';
|
|
24
24
|
|
|
25
25
|
var choiceAppearanceAccent = {
|
|
26
26
|
accentPrimary: {
|
package/dist/components/Code.js
CHANGED
|
@@ -88,18 +88,12 @@ var codeAppearanceSize = {
|
|
|
88
88
|
sizeL: {
|
|
89
89
|
size: 'l',
|
|
90
90
|
labelTextSize: 'l',
|
|
91
|
-
|
|
92
|
-
iconAfterSize: '56',
|
|
93
|
-
iconBeforeFillSize: '56',
|
|
94
|
-
iconBeforeSize: '56',
|
|
91
|
+
inputSize: 'l',
|
|
95
92
|
},
|
|
96
93
|
sizeM: {
|
|
97
94
|
size: 'm',
|
|
98
95
|
labelTextSize: 'm',
|
|
99
|
-
|
|
100
|
-
iconAfterSize: '48',
|
|
101
|
-
iconBeforeFillSize: '48',
|
|
102
|
-
iconBeforeSize: '48',
|
|
96
|
+
inputSize: 'm',
|
|
103
97
|
},
|
|
104
98
|
};
|
|
105
99
|
|
|
@@ -3,7 +3,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { B as Button } from '../
|
|
6
|
+
import { B as Button } from '../Button_es_DXcCJuNX.js';
|
|
7
7
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
9
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -17,12 +17,12 @@ import '../context/UIContext.js';
|
|
|
17
17
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
18
18
|
import 'react-responsive';
|
|
19
19
|
import '../utils/setViewportProperty.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Tooltip_es_BaGfb-qC.js';
|
|
21
21
|
import '../hooks/useStyles/useStyles.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Link_es_DxtZLeKY.js';
|
|
26
26
|
import '../Loader_es_DEYowVdU.js';
|
|
27
27
|
|
|
28
28
|
function CookiesWarning(props) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { D as DatePickerInput } from '../
|
|
4
|
+
import { D as DatePickerInput } from '../DatePicker_es_DzY_fVii.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
6
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_CjGZ-ulT.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'date-fns/locale';
|
|
9
9
|
import 'react-datepicker';
|
|
@@ -19,14 +19,14 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
19
19
|
import 'react-responsive';
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
22
|
+
import '../Button_es_DXcCJuNX.js';
|
|
23
|
+
import '../Tooltip_es_BaGfb-qC.js';
|
|
24
24
|
import '../Text_es_BRb3qqKM.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Link_es_DxtZLeKY.js';
|
|
27
27
|
import '../Loader_es_DEYowVdU.js';
|
|
28
28
|
import '../Input_es_CNduH28G.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Label_es_Dc18d1gY.js';
|
|
30
30
|
import '@itcase/icons/default';
|
|
31
31
|
import 'lodash/castArray';
|
|
32
32
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../
|
|
1
|
+
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_DzY_fVii.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,12 +19,12 @@ import '../utils/setViewportProperty.js';
|
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
22
|
+
import '../Button_es_DXcCJuNX.js';
|
|
23
|
+
import '../Tooltip_es_BaGfb-qC.js';
|
|
24
24
|
import '../Text_es_BRb3qqKM.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Link_es_DxtZLeKY.js';
|
|
27
27
|
import '../Loader_es_DEYowVdU.js';
|
|
28
28
|
import '../Input_es_CNduH28G.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Label_es_Dc18d1gY.js';
|
|
30
30
|
import '@itcase/icons/default';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_D8mY9vFZ.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,7 +18,7 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Divider_es_BdU9qjKa.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Tooltip_es_BaGfb-qC.js';
|
|
22
22
|
import '../Text_es_BRb3qqKM.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
|
-
import '../
|
|
24
|
+
import '../Link_es_DxtZLeKY.js';
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, e as iconAppearance, i as iconConfig } from '../
|
|
1
|
+
export { I as Icon, e as iconAppearance, i as iconConfig } from '../Tooltip_es_BaGfb-qC.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,4 +19,4 @@ import 'lodash/maxBy';
|
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Text_es_BRb3qqKM.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
|
-
import '../
|
|
22
|
+
import '../Link_es_DxtZLeKY.js';
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useState, useMemo, useCallback } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Tooltip_es_BaGfb-qC.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/upperFirst';
|
|
@@ -19,32 +19,29 @@ import 'lodash/maxBy';
|
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Text_es_BRb3qqKM.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
|
-
import '../
|
|
22
|
+
import '../Link_es_DxtZLeKY.js';
|
|
23
23
|
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
fill: '
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
accentSecondary: {
|
|
35
|
-
fill: 'accentPrimary',
|
|
36
|
-
fillHover: 'accentPrimaryHover',
|
|
37
|
-
labelTextColor: 'accentTextSecondary',
|
|
38
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
39
|
-
borderColor: 'accentBorderPrimary',
|
|
40
|
-
loaderItemFill: 'accentItemPrimary',
|
|
24
|
+
var inputPasswordAppearanceDefault = {
|
|
25
|
+
defaultPrimary: {
|
|
26
|
+
fill: 'surfaceSecondary',
|
|
27
|
+
borderColor: 'surfaceBorderTertiary',
|
|
28
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
29
|
+
textColor: 'surfaceTextPrimary',
|
|
30
|
+
textColorDisabled: 'surfaceTextDisabled',
|
|
31
|
+
caret: 'secondaryItemSecondary',
|
|
32
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
33
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
41
34
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
35
|
+
defaultSecondary: {
|
|
36
|
+
fill: 'surfacePrimary',
|
|
37
|
+
borderColor: 'surfaceBorderTertiary',
|
|
38
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
39
|
+
textColor: 'surfaceTextPrimary',
|
|
40
|
+
textColorDisabled: 'surfaceTextDisabled',
|
|
41
|
+
caret: 'secondaryItemSecondary',
|
|
42
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
43
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
44
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
48
45
|
},
|
|
49
46
|
};
|
|
50
47
|
|
|
@@ -69,42 +66,22 @@ var inputPasswordAppearanceDisabled = {
|
|
|
69
66
|
};
|
|
70
67
|
|
|
71
68
|
var inputPasswordAppearanceError = {
|
|
72
|
-
|
|
73
|
-
fill: '
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
var inputPasswordAppearanceInfo = {
|
|
83
|
-
info: {
|
|
84
|
-
fill: 'accentPrimary',
|
|
85
|
-
fillHover: 'accentPrimaryHover',
|
|
86
|
-
labelTextColor: 'accentTextPrimary',
|
|
87
|
-
labelTextColorHover: 'accentTextPrimary',
|
|
88
|
-
borderColor: 'accentBorderPrimary',
|
|
89
|
-
loaderFill: 'accentPrimary',
|
|
90
|
-
loaderItemFill: 'accentItemPrimary',
|
|
91
|
-
},
|
|
92
|
-
infoSecondary: {
|
|
93
|
-
fill: 'accentPrimary',
|
|
94
|
-
fillHover: 'accentPrimaryHover',
|
|
95
|
-
labelTextColor: 'accentTextSecondary',
|
|
96
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
97
|
-
borderColor: 'accentBorderPrimary',
|
|
98
|
-
loaderFill: 'accentPrimary',
|
|
99
|
-
loaderItemFill: 'accentItemPrimary',
|
|
69
|
+
errorPrimary: {
|
|
70
|
+
fill: 'errorTertiary',
|
|
71
|
+
borderColor: 'errorBorderQuaternary',
|
|
72
|
+
borderHover: 'errorBorderQuaternary',
|
|
73
|
+
textColor: 'surfaceTextPrimary',
|
|
74
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
75
|
+
iconClearFill: 'errorItemPrimary',
|
|
76
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
100
77
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
78
|
+
errorSecondary: {
|
|
79
|
+
fill: 'errorSecondary',
|
|
80
|
+
borderColor: 'errorBorderTertiary',
|
|
81
|
+
borderHover: 'errorBorderQuaternary',
|
|
82
|
+
iconBeforeFill: 'errorItemQuaternary',
|
|
83
|
+
iconClearFill: 'errorItemPrimary',
|
|
84
|
+
placeholderTextColor: 'errorTextSecondary',
|
|
108
85
|
},
|
|
109
86
|
};
|
|
110
87
|
|
|
@@ -128,18 +105,10 @@ var inputPasswordAppearanceRequire = {
|
|
|
128
105
|
},
|
|
129
106
|
};
|
|
130
107
|
|
|
131
|
-
var inputPasswordAppearanceSecondary = {
|
|
132
|
-
secondary: {
|
|
133
|
-
fill: 'secondaryPrimary',
|
|
134
|
-
fillHover: 'secondaryPrimaryHover',
|
|
135
|
-
labelTextColor: 'secondaryTextPrimary',
|
|
136
|
-
},
|
|
137
|
-
};
|
|
138
|
-
|
|
139
108
|
var inputPasswordAppearanceSize = {
|
|
140
109
|
sizeXXL: {
|
|
141
110
|
size: 'xxl',
|
|
142
|
-
|
|
111
|
+
textSize: 'l',
|
|
143
112
|
iconAfterFillSize: '24',
|
|
144
113
|
iconAfterSize: '24',
|
|
145
114
|
iconBeforeFillSize: '24',
|
|
@@ -147,7 +116,7 @@ var inputPasswordAppearanceSize = {
|
|
|
147
116
|
},
|
|
148
117
|
sizeXL: {
|
|
149
118
|
size: 'xl',
|
|
150
|
-
|
|
119
|
+
textSize: 's',
|
|
151
120
|
iconAfterFillSize: '24',
|
|
152
121
|
iconAfterSize: '24',
|
|
153
122
|
iconBeforeFillSize: '24',
|
|
@@ -155,7 +124,7 @@ var inputPasswordAppearanceSize = {
|
|
|
155
124
|
},
|
|
156
125
|
sizeL: {
|
|
157
126
|
size: 'l',
|
|
158
|
-
|
|
127
|
+
textSize: 's',
|
|
159
128
|
iconAfterFillSize: '24',
|
|
160
129
|
iconAfterSize: '24',
|
|
161
130
|
iconBeforeFillSize: '24',
|
|
@@ -163,7 +132,7 @@ var inputPasswordAppearanceSize = {
|
|
|
163
132
|
},
|
|
164
133
|
sizeM: {
|
|
165
134
|
size: 'm',
|
|
166
|
-
|
|
135
|
+
textSize: 'm',
|
|
167
136
|
iconAfterFillSize: '24',
|
|
168
137
|
iconAfterSize: '24',
|
|
169
138
|
iconBeforeFillSize: '24',
|
|
@@ -171,27 +140,27 @@ var inputPasswordAppearanceSize = {
|
|
|
171
140
|
},
|
|
172
141
|
sizeS: {
|
|
173
142
|
size: 's',
|
|
174
|
-
|
|
175
|
-
iconAfterFillSize: '
|
|
176
|
-
iconAfterSize: '
|
|
177
|
-
iconBeforeFillSize: '
|
|
178
|
-
iconBeforeSize: '
|
|
143
|
+
textSize: 's',
|
|
144
|
+
iconAfterFillSize: '24',
|
|
145
|
+
iconAfterSize: '24',
|
|
146
|
+
iconBeforeFillSize: '24',
|
|
147
|
+
iconBeforeSize: '24',
|
|
179
148
|
},
|
|
180
149
|
sizeXS: {
|
|
181
150
|
size: 'xs',
|
|
182
|
-
|
|
183
|
-
iconAfterFillSize: '
|
|
184
|
-
iconAfterSize: '
|
|
185
|
-
iconBeforeFillSize: '
|
|
186
|
-
iconBeforeSize: '
|
|
151
|
+
textSize: 's',
|
|
152
|
+
iconAfterFillSize: '24',
|
|
153
|
+
iconAfterSize: '24',
|
|
154
|
+
iconBeforeFillSize: '24',
|
|
155
|
+
iconBeforeSize: '24',
|
|
187
156
|
},
|
|
188
157
|
sizeXXS: {
|
|
189
158
|
size: 'xxs',
|
|
190
|
-
|
|
191
|
-
iconAfterFillSize: '
|
|
192
|
-
iconAfterSize: '
|
|
193
|
-
iconBeforeFillSize: '
|
|
194
|
-
iconBeforeSize: '
|
|
159
|
+
textSize: 's',
|
|
160
|
+
iconAfterFillSize: '24',
|
|
161
|
+
iconAfterSize: '24',
|
|
162
|
+
iconBeforeFillSize: '24',
|
|
163
|
+
iconBeforeSize: '24',
|
|
195
164
|
},
|
|
196
165
|
};
|
|
197
166
|
|
|
@@ -212,53 +181,26 @@ var inputPasswordAppearanceStyle = {
|
|
|
212
181
|
};
|
|
213
182
|
|
|
214
183
|
var inputPasswordAppearanceSuccess = {
|
|
215
|
-
|
|
216
|
-
fill: '
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
var inputPasswordAppearanceSurface = {
|
|
226
|
-
surfacePrimary: {
|
|
227
|
-
fill: 'surfacePrimary',
|
|
228
|
-
fillHover: 'surfacePrimaryHover',
|
|
229
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
230
|
-
},
|
|
231
|
-
surfaceQuaternary: {
|
|
232
|
-
fill: 'surfaceQuaternary',
|
|
233
|
-
fillHover: 'surfaceQuaternaryHover',
|
|
234
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
184
|
+
successPrimary: {
|
|
185
|
+
fill: 'successTertiary',
|
|
186
|
+
borderColor: 'successBorderQuaternary',
|
|
187
|
+
borderHover: 'successBorderQuaternary',
|
|
188
|
+
textColor: 'surfaceTextPrimary',
|
|
189
|
+
iconBeforeFill: 'successItemQuaternary',
|
|
190
|
+
iconClearFill: 'successItemPrimary',
|
|
191
|
+
placeholderTextColor: 'surfaceTextQuaternary',
|
|
235
192
|
},
|
|
236
|
-
|
|
193
|
+
successSecondary: {
|
|
237
194
|
fill: 'surfaceSecondary',
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
surfaceTertiary: {
|
|
244
|
-
fill: 'surfaceTertiary',
|
|
245
|
-
fillHover: 'surfaceTertiaryHover',
|
|
246
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
247
|
-
},
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
var inputPasswordAppearanceWarning = {
|
|
251
|
-
warning: {
|
|
252
|
-
fill: 'warningPrimary',
|
|
253
|
-
fillHover: 'warningPrimaryHover',
|
|
254
|
-
labelTextColor: 'warningTextSecondary',
|
|
255
|
-
labelTextColorHover: 'warningTextSecondary',
|
|
256
|
-
loaderFill: 'warningPrimary',
|
|
257
|
-
loaderItemFill: 'warningItemPrimary',
|
|
195
|
+
borderColor: 'surfaceBorderTertiary',
|
|
196
|
+
borderHover: 'surfaceBorderQuaternary',
|
|
197
|
+
iconBeforeFill: 'surfaceItemQuaternary',
|
|
198
|
+
iconClearFill: 'surfaceItemPrimary',
|
|
199
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
258
200
|
},
|
|
259
201
|
};
|
|
260
202
|
|
|
261
|
-
var inputPasswordAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(
|
|
203
|
+
var inputPasswordAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, inputPasswordAppearanceSize), inputPasswordAppearanceDisabled), inputPasswordAppearanceRequire), inputPasswordAppearanceStyle), inputPasswordAppearanceError), inputPasswordAppearanceDefault), inputPasswordAppearanceSuccess);
|
|
262
204
|
|
|
263
205
|
var inputPasswordConfig = {
|
|
264
206
|
appearance: inputPasswordAppearance,
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_Dc18d1gY.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
+
import '../Tooltip_es_BaGfb-qC.js';
|
|
20
21
|
import '../Text_es_BRb3qqKM.js';
|
|
21
|
-
import '../Tooltip_es_D0PSqI2c.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Link_es_DxtZLeKY.js';
|
package/dist/components/Link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Link, a as LinkWrapper, b as linkAppearance, l as linkConfig } from '../
|
|
1
|
+
export { L as Link, a as LinkWrapper, b as linkAppearance, l as linkConfig } from '../Link_es_DxtZLeKY.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
package/dist/components/List.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 { L as Link } from '../
|
|
6
|
+
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
package/dist/components/Logo.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } 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 { a as LinkWrapper } from '../
|
|
6
|
+
import { a as LinkWrapper } from '../Link_es_DxtZLeKY.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -4,7 +4,8 @@ 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 {
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_BaGfb-qC.js';
|
|
8
|
+
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
8
9
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
10
|
import 'lodash/camelCase';
|
|
10
11
|
import 'lodash/castArray';
|
|
@@ -18,6 +19,7 @@ import 'react-responsive';
|
|
|
18
19
|
import '../utils/setViewportProperty.js';
|
|
19
20
|
import 'lodash/maxBy';
|
|
20
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
+
import 'react-inlinesvg';
|
|
21
23
|
|
|
22
24
|
var menuItemAppearanceAccent = {
|
|
23
25
|
accent: {
|
|
@@ -79,6 +81,7 @@ var menuItemAppearanceSize = {
|
|
|
79
81
|
sizeL: {
|
|
80
82
|
size: 'l',
|
|
81
83
|
labelTextSize: 'l',
|
|
84
|
+
descTextSize: 'm',
|
|
82
85
|
iconAfterFillSize: '32',
|
|
83
86
|
iconAfterSize: '32',
|
|
84
87
|
iconBeforeFillSize: '32',
|
|
@@ -137,8 +140,12 @@ var menuItemAppearanceStyle = {
|
|
|
137
140
|
var menuItemAppearanceSurface = {
|
|
138
141
|
surfacePrimary: {
|
|
139
142
|
fill: 'surfacePrimary',
|
|
140
|
-
|
|
143
|
+
fillActive: 'surfaceSecondary',
|
|
144
|
+
fillActiveHover: 'surfaceSecondary',
|
|
145
|
+
fillHover: 'surfaceSecondary',
|
|
141
146
|
labelTextColor: 'surfaceTextPrimary',
|
|
147
|
+
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
148
|
+
iconBeforeFillIcon: 'surfaceItemPrimary',
|
|
142
149
|
},
|
|
143
150
|
surfaceQuaternary: {
|
|
144
151
|
fill: 'surfaceQuaternary',
|
|
@@ -149,8 +156,6 @@ var menuItemAppearanceSurface = {
|
|
|
149
156
|
fill: 'surfaceSecondary',
|
|
150
157
|
fillHover: 'surfaceSecondaryHover',
|
|
151
158
|
labelTextColor: 'surfaceTextPrimary',
|
|
152
|
-
loaderFill: 'surfaceSecondary',
|
|
153
|
-
loaderItemFill: 'surfaceItemPrimary',
|
|
154
159
|
},
|
|
155
160
|
surfaceTertiary: {
|
|
156
161
|
fill: 'surfaceTertiary',
|
|
@@ -168,18 +173,33 @@ var menuItemConfig = {
|
|
|
168
173
|
},
|
|
169
174
|
};
|
|
170
175
|
function MenuItem(props) {
|
|
171
|
-
var className = props.className, appearance = props.appearance, label = props.label,
|
|
176
|
+
var className = props.className, appearance = props.appearance, label = props.label, isDisabled = props.isDisabled, href = props.href, link = props.link, LinkComponent = props.LinkComponent, rel = props.rel, target = props.target, underline = props.underline, before = props.before, after = props.after, isActive = props.isActive, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
|
|
172
177
|
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
173
178
|
var _a;
|
|
174
179
|
return (__assign(__assign({}, resultConfig), (_a = menuItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
175
180
|
}, {});
|
|
176
181
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
177
|
-
var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass,
|
|
182
|
+
var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveColorDisabled = propsGenerator.labelTextActiveColorDisabled, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextActiveHoverColorDisabled = propsGenerator.labelTextActiveHoverColorDisabled, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextHoverColorDisabled = propsGenerator.labelTextHoverColorDisabled, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass;
|
|
178
183
|
// @ts-expect-error
|
|
179
184
|
var menuItem = useStyles(props).styles;
|
|
180
|
-
return (jsx("div", { className: clsx('menu-item', isActive && 'menu-item_state_active',
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
return (jsx("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && "menu-item_state_disabled", directionClass && "menu-item_direction_".concat(directionClass), className, sizeClass && "menu-item_size_".concat(sizeClass), !isActive
|
|
186
|
+
? fillClass && "fill_".concat(fillClass)
|
|
187
|
+
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
188
|
+
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
|
189
|
+
: fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "menu-item_shape_".concat(shapeClass), typeClass && "menu-item_type_".concat(typeClass), widthClass && "width_".concat(widthClass), justifyContentClass &&
|
|
190
|
+
"menu-item_justify-content_".concat(justifyContentClass)), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('menu-item__wrapper', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass)), href: link || href, LinkComponent: LinkComponent, rel: rel, target: target, underline: underline, children: [before, children || (jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('menu-item__icon_before', iconBadgeValue && 'menu-item__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), label && (jsx(Text, { className: "menu-item__label", size: labelTextSize, textColor: isActive
|
|
191
|
+
? !isDisabled
|
|
192
|
+
? labelTextActiveColor
|
|
193
|
+
: labelTextActiveColorDisabled
|
|
194
|
+
: !isDisabled
|
|
195
|
+
? labelTextColor
|
|
196
|
+
: labelTextColorDisabled, textColorHover: isActive
|
|
197
|
+
? !isDisabled
|
|
198
|
+
? labelTextActiveHoverColor
|
|
199
|
+
: labelTextActiveHoverColorDisabled
|
|
200
|
+
: !isDisabled
|
|
201
|
+
? labelTextHoverColor
|
|
202
|
+
: labelTextHoverColorDisabled, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, children: label })), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('menu-item__icon_after', iconBadgeValue && 'menu-item__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_after_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] })), after] }) }));
|
|
183
203
|
}
|
|
184
204
|
|
|
185
205
|
export { MenuItem, menuItemAppearance, menuItemConfig };
|
package/dist/components/Modal.js
CHANGED
|
@@ -6,7 +6,7 @@ import ReactDOM from 'react-dom';
|
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { O as Overlay } from '../Overlay_es_cI_-_xUO.js';
|
|
9
|
-
import { b as Title } from '../
|
|
9
|
+
import { b as Title } from '../Tooltip_es_BaGfb-qC.js';
|
|
10
10
|
import { L as Loader } from '../Loader_es_DEYowVdU.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -22,7 +22,7 @@ import 'lodash/maxBy';
|
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
23
|
import '../Text_es_BRb3qqKM.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Link_es_DxtZLeKY.js';
|
|
26
26
|
|
|
27
27
|
var modalAppearanceSurface = {
|
|
28
28
|
surfacePrimary: {
|
|
@@ -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_D8mY9vFZ.js';
|
|
10
|
+
import { I as Icon } from '../Tooltip_es_BaGfb-qC.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';
|
|
@@ -24,7 +24,7 @@ import 'lodash/maxBy';
|
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import '../Divider_es_BdU9qjKa.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Link_es_DxtZLeKY.js';
|
|
28
28
|
|
|
29
29
|
var paginationAppearanceSurface = {
|
|
30
30
|
surfacePrimary: {
|