@itcase/ui 1.4.6 → 1.4.8
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/{Badge-C68XnlcL.js → Badge-BxT2_kz_.js} +1 -1
- package/dist/{Badge-C6SNRExV.js → Badge-DnWTbwXq.js} +1 -1
- package/dist/{Button-WZZpsxTk.js → Button-BiJZz4Bx.js} +9 -9
- package/dist/{Button-Bsrw4D7p.js → Button-xYLCmT3D.js} +9 -9
- package/dist/{DropdownItem-BiiEhR49.js → DropdownItem-NllzSt5M.js} +3 -3
- package/dist/{DropdownItem-g5jWbyJy.js → DropdownItem-mr__S8vt.js} +3 -3
- package/dist/{Group-Dz8xytje.js → Group-BICb8bYQ.js} +2 -2
- package/dist/{Group-Cq4AQPqb.js → Group-qq4Iisll.js} +2 -2
- package/dist/{Icon-GVGrUu_Z.js → Icon-BcBOnVKH.js} +4 -4
- package/dist/{Icon-htF_V35Y.js → Icon-OJ_3E3eM.js} +4 -4
- package/dist/{Input-COFdaiTe.js → Input-DHJIVk1z.js} +2 -2
- package/dist/{Input-Dwvk-poq.js → Input-DiFnIFT7.js} +2 -2
- package/dist/{Label-DF2a2Mlx.js → Label-D-LcvthP.js} +1 -1
- package/dist/{Label-I9WNpCXa.js → Label-y2hx5Q81.js} +1 -1
- package/dist/{Link-B38Hn4G2.js → Link-BnqN6ysn.js} +2 -2
- package/dist/{Link-BhJ5BdyS.js → Link-DaKqf1pb.js} +2 -2
- package/dist/{Loader-DpYaDhe9.js → Loader-DdKHrLnw.js} +3 -3
- package/dist/{Loader-D4_r7LML.js → Loader-VK3q7PBN.js} +3 -3
- package/dist/{Overlay-BKh07Vb2.js → Overlay-CZixnXZ6.js} +2 -2
- package/dist/{Overlay-DiCjwUv4.js → Overlay-Myen2mqz.js} +2 -2
- package/dist/Title-BLGDdlnX.js +55 -0
- package/dist/Title-Byi9vhDt.js +51 -0
- package/dist/{Tooltip-BYgzNVYI.js → Tooltip-5lQyt5-Y.js} +1 -1
- package/dist/{Tooltip-DpBQQoNo.js → Tooltip-DRta8lK_.js} +1 -1
- package/dist/cjs/components/Accordion.js +8 -8
- package/dist/cjs/components/Avatar.js +4 -4
- package/dist/cjs/components/Badge.js +5 -5
- package/dist/cjs/components/Breadcrumbs.js +4 -4
- package/dist/cjs/components/Button.js +7 -7
- package/dist/cjs/components/Cell.js +5 -5
- package/dist/cjs/components/Chips.js +60 -19
- package/dist/cjs/components/Choice.js +7 -7
- package/dist/cjs/components/Code.js +2 -2
- package/dist/cjs/components/CookiesWarning.js +8 -8
- package/dist/cjs/components/DadataHintField.js +1 -1
- package/dist/cjs/components/DatePicker.js +36 -11
- package/dist/cjs/components/Drawer.js +2 -2
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/HeroTitle.js +2 -2
- package/dist/cjs/components/Icon.js +4 -4
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputMask.js +2 -2
- package/dist/cjs/components/InputPassword.js +6 -6
- 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/Loader.js +1 -1
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay.js +1 -1
- package/dist/cjs/components/Pagination.js +7 -7
- package/dist/cjs/components/Panel.js +3 -3
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/Response.js +7 -7
- package/dist/cjs/components/Search.js +6 -6
- package/dist/cjs/components/Segmented.js +13 -3
- package/dist/cjs/components/Select.js +8 -8
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Switch.js +2 -2
- package/dist/cjs/components/Tab.js +5 -5
- package/dist/cjs/components/Textarea.js +2 -2
- package/dist/cjs/components/Tile.js +5 -5
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Video.js +5 -5
- package/dist/components/Accordion.js +8 -8
- package/dist/components/Avatar.js +4 -4
- package/dist/components/Badge.js +5 -5
- package/dist/components/Breadcrumbs.js +4 -4
- package/dist/components/Button.js +7 -7
- package/dist/components/Cell.js +5 -5
- package/dist/components/Chips.js +60 -19
- package/dist/components/Choice.js +7 -7
- package/dist/components/Code.js +2 -2
- package/dist/components/CookiesWarning.js +8 -8
- package/dist/components/DadataHintField.js +1 -1
- package/dist/components/DatePicker.js +36 -11
- package/dist/components/Drawer.js +2 -2
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Group.js +1 -1
- package/dist/components/HeroTitle.js +2 -2
- package/dist/components/Icon.js +4 -4
- package/dist/components/Input.js +1 -1
- package/dist/components/InputMask.js +2 -2
- package/dist/components/InputPassword.js +6 -6
- package/dist/components/Label.js +3 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +1 -1
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/Modal.js +3 -3
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay.js +1 -1
- package/dist/components/Pagination.js +7 -7
- package/dist/components/Panel.js +3 -3
- package/dist/components/Radio.js +2 -2
- package/dist/components/Response.js +7 -7
- package/dist/components/Search.js +6 -6
- package/dist/components/Segmented.js +13 -3
- package/dist/components/Select.js +8 -8
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Switch.js +2 -2
- package/dist/components/Tab.js +5 -5
- package/dist/components/Textarea.js +2 -2
- package/dist/components/Tile.js +5 -5
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Video.js +5 -5
- package/dist/css/components/Avatar/Avatar.css +3 -2
- package/dist/css/components/Cell/Cell.css +14 -34
- package/dist/css/components/HeroTitle/HeroTitle.css +11 -13
- package/dist/css/components/Image/Image.css +11 -13
- package/dist/css/components/Loader/Loader.css +19 -0
- package/dist/css/components/Title/Title.css +11 -13
- package/dist/css/components/Tooltip/Tooltip.css +4 -4
- package/dist/css/styles/fill/fill.css +6 -6
- package/dist/css/styles/fill/fill_active.css +1 -1
- package/dist/css/styles/fill/fill_active_hover.css +4 -4
- package/dist/css/styles/fill/fill_disabled.css +8 -0
- package/dist/css/styles/text-color/text-color.css +4 -4
- package/dist/css/styles/text-color/text-color_disabled.css +13 -0
- package/dist/stories/Accordion.mdx +1 -1
- package/dist/stories/AccordionItem.mdx +1 -1
- package/dist/stories/Avatar.mdx +1 -1
- package/dist/stories/Badge.mdx +13 -0
- package/dist/stories/Button.mdx +12 -0
- package/dist/stories/Checkbox.mdx +12 -0
- package/dist/stories/Checkmark.mdx +10 -0
- package/dist/stories/Chips.mdx +37 -0
- package/dist/stories/Dev.mdx +3 -3
- package/dist/stories/Elevation.mdx +3 -3
- package/dist/stories/Label.mdx +11 -0
- package/dist/stories/Loader.mdx +11 -0
- package/dist/stories/Logo.mdx +10 -5
- package/dist/stories/Modal.mdx +15 -0
- package/dist/stories/Response.mdx +11 -0
- package/dist/stories/Tab.mdx +27 -0
- package/dist/stories/Tile.mdx +11 -0
- package/dist/stories/Title.mdx +1 -1
- package/dist/types/appearance/default/defaultAccent.d.ts +33 -0
- package/dist/types/appearance/default/defaultDanger.d.ts +33 -0
- package/dist/types/appearance/default/defaultDisabled.d.ts +33 -0
- package/dist/types/appearance/default/defaultError.d.ts +33 -0
- package/dist/types/appearance/default/defaultInfo.d.ts +33 -0
- package/dist/types/appearance/default/defaultPrimary.d.ts +33 -0
- package/dist/types/appearance/default/defaultSecondary.d.ts +33 -0
- package/dist/types/appearance/default/defaultSuccess.d.ts +33 -0
- package/dist/types/appearance/default/defaultSurface.d.ts +33 -0
- package/dist/types/appearance/default/defaultWarning.d.ts +33 -0
- package/dist/types/appearance/index.d.ts +11 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -1
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +2 -2
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -0
- package/dist/types/components/Chips/appearance/chipsDanger.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +9 -0
- package/dist/types/components/Chips/appearance/chipsError.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsInfo.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +8 -0
- package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +9 -0
- package/dist/types/components/Chips/appearance/chipsSize.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsStyle.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +2 -0
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +21 -0
- package/dist/types/components/Chips/appearance/chipsWarning.d.ts +2 -0
- package/dist/types/components/Grid/stories/args.d.ts +5 -5
- package/dist/types/components/Group/stories/args.d.ts +5 -5
- package/dist/types/components/Tab/stories/args.d.ts +17 -17
- package/dist/types/types/componentProps/align.d.ts +1 -1
- package/dist/types/types/componentProps/alignDirection.d.ts +1 -1
- package/dist/types/types/componentProps/alignment.d.ts +1 -1
- package/dist/types/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/types/componentProps/borderColorHover.d.ts +1 -1
- package/dist/types/types/componentProps/borderType.d.ts +1 -1
- package/dist/types/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/types/types/componentProps/direction.d.ts +1 -1
- package/dist/types/types/componentProps/elevation.d.ts +1 -1
- package/dist/types/types/componentProps/fill.d.ts +1 -1
- package/dist/types/types/componentProps/fillGradient.d.ts +1 -1
- package/dist/types/types/componentProps/fillHover.d.ts +1 -1
- package/dist/types/types/componentProps/fillType.d.ts +1 -1
- package/dist/types/types/componentProps/flexAlign.d.ts +1 -1
- package/dist/types/types/componentProps/flexGrow.d.ts +1 -1
- package/dist/types/types/componentProps/flexJustifyContent.d.ts +1 -1
- package/dist/types/types/componentProps/flexWrap.d.ts +1 -1
- package/dist/types/types/componentProps/gridAlign.d.ts +1 -1
- package/dist/types/types/componentProps/gridAlignSelf.d.ts +1 -1
- package/dist/types/types/componentProps/gridJustifyItems.d.ts +1 -1
- package/dist/types/types/componentProps/gridJustifySelf.d.ts +1 -1
- package/dist/types/types/componentProps/height.d.ts +1 -1
- package/dist/types/types/componentProps/horizontalResizeMode.d.ts +1 -1
- package/dist/types/types/componentProps/iconFillSize.d.ts +1 -1
- package/dist/types/types/componentProps/iconSize.d.ts +1 -1
- package/dist/types/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/types/componentProps/justifyContent.d.ts +1 -1
- package/dist/types/types/componentProps/overflow.d.ts +1 -1
- package/dist/types/types/componentProps/position.d.ts +1 -1
- package/dist/types/types/componentProps/resizeMode.d.ts +1 -1
- package/dist/types/types/componentProps/shape.d.ts +1 -1
- package/dist/types/types/componentProps/size.d.ts +1 -1
- package/dist/types/types/componentProps/sizeOption.d.ts +1 -1
- package/dist/types/types/componentProps/sizePX.d.ts +1 -1
- package/dist/types/types/componentProps/state.d.ts +1 -1
- package/dist/types/types/componentProps/svgFill.d.ts +1 -1
- package/dist/types/types/componentProps/textAlign.d.ts +1 -1
- package/dist/types/types/componentProps/textColor.d.ts +1 -1
- package/dist/types/types/componentProps/textColorActive.d.ts +1 -1
- package/dist/types/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/types/types/componentProps/textGradient.d.ts +1 -1
- package/dist/types/types/componentProps/textSize.d.ts +1 -1
- package/dist/types/types/componentProps/textStyle.d.ts +1 -1
- package/dist/types/types/componentProps/textTag.d.ts +1 -1
- package/dist/types/types/componentProps/textWeight.d.ts +1 -1
- package/dist/types/types/componentProps/textWrap.d.ts +1 -1
- package/dist/types/types/componentProps/titleSize.d.ts +2 -2
- package/dist/types/types/componentProps/type.d.ts +1 -1
- package/dist/types/types/componentProps/underline.d.ts +1 -1
- package/dist/types/types/componentProps/verticalContentAlign.d.ts +1 -1
- package/dist/types/types/componentProps/verticalResizeMode.d.ts +1 -1
- package/dist/types/types/componentProps/width.d.ts +1 -1
- package/dist/types/types/componentProps/wrap.d.ts +1 -1
- package/package.json +17 -12
- package/dist/Title-BWWyRwLY.js +0 -52
- package/dist/Title-Dck3eHNM.js +0 -48
- package/dist/cjs/components/Card.js +0 -28
- package/dist/components/Card.js +0 -26
- package/dist/css/components/Card/Card.css +0 -18
- package/dist/css/tokens/colors.css +0 -126
- package/dist/css/tokens/elevation.css +0 -10
- package/dist/css/tokens/settings.css +0 -31
- package/dist/css/tokens/typography.css +0 -130
- package/dist/stories/Appearance.mdx +0 -35
- package/dist/stories/Group.mdx +0 -9
- package/dist/stories/Size.mdx +0 -35
- package/dist/stories/Skeleton.mdx +0 -9
- package/dist/stories/State.mdx +0 -19
- package/dist/types/components/Card/Card.d.ts +0 -3
- package/dist/types/components/Card/Card.interface.d.ts +0 -30
- package/dist/types/components/Card/index.d.ts +0 -1
- package/dist/types/components/Flex/stories/args.d.ts +0 -80
- /package/dist/stories/{mixin_animation.mdx → MixinAnimation.mdx} +0 -0
- /package/dist/stories/{mixin_dark-light.mdx → MixinDarkLight.mdx} +0 -0
- /package/dist/stories/{mixin_elevation.mdx → MixinElevation.mdx} +0 -0
- /package/dist/stories/{mixin_fill-gradient.mdx → MixinFillGradient.mdx} +0 -0
- /package/dist/stories/{mixin_typography.mdx → MixinTypography.mdx} +0 -0
- /package/dist/stories/{mixin_utils.mdx → MixinUtils.mdx} +0 -0
- /package/dist/types/appearance/{defaultAppearance.d.ts → default/defaultAppearance.d.ts} +0 -0
package/dist/components/Chips.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6-5FtW-kfi.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { useMemo } from 'react';
|
|
3
4
|
import clsx from 'clsx';
|
|
4
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
7
|
+
import { I as Icon } from '../Icon-OJ_3E3eM.js';
|
|
7
8
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
8
|
-
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/upperFirst';
|
|
@@ -16,49 +16,82 @@ import '../utils/setViewportProperty.js';
|
|
|
16
16
|
import 'lodash/maxBy';
|
|
17
17
|
import '../hooks/useStyles/styleAttributes.js';
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
|
-
import '../Link-
|
|
20
|
-
import '../Tooltip-
|
|
21
|
-
import '../Title-
|
|
19
|
+
import '../Link-DaKqf1pb.js';
|
|
20
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
21
|
+
import '../Title-Byi9vhDt.js';
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var chipsAppearanceAccent = {
|
|
24
24
|
accent: {
|
|
25
|
-
borderColor: 'accentBorderSecondary',
|
|
26
25
|
fill: 'accentPrimary',
|
|
27
26
|
fillHover: 'accentPrimaryHover',
|
|
28
27
|
labelTextColor: 'accentTextPrimary',
|
|
28
|
+
borderColor: 'accentBorderSecondary',
|
|
29
29
|
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
var chipsAppearanceDanger = {};
|
|
33
|
+
|
|
34
|
+
var chipsAppearanceDisabled = {
|
|
35
|
+
disabled: {
|
|
36
|
+
fill: 'disabledPrimary',
|
|
37
|
+
fillActive: 'disabledPrimary',
|
|
38
|
+
labelTextColor: 'disabledTextPrimary',
|
|
39
|
+
borderColor: 'disabledBorderPrimary',
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var chipsAppearanceError = {};
|
|
44
|
+
|
|
45
|
+
var chipsAppearanceInfo = {};
|
|
46
|
+
|
|
47
|
+
var chipsAppearancePrimary = {
|
|
30
48
|
primary: {
|
|
31
|
-
borderColor: 'primaryBorderSecondary',
|
|
32
49
|
fill: 'primaryPrimary',
|
|
33
50
|
fillHover: 'primaryPrimaryHover',
|
|
34
51
|
labelTextColor: 'primaryTextPrimary',
|
|
35
52
|
},
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var chipsAppearanceSecondary = {
|
|
36
56
|
secondary: {
|
|
37
|
-
borderColor: 'secondaryBorderSecondary',
|
|
38
57
|
fill: 'secondaryPrimary',
|
|
39
58
|
fillHover: 'secondaryPrimaryHover',
|
|
40
59
|
labelTextColor: 'secondaryTextPrimary',
|
|
60
|
+
borderColor: 'secondaryBorderSecondary',
|
|
41
61
|
},
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
var chipsAppearanceSize = {};
|
|
65
|
+
|
|
66
|
+
var chipsAppearanceStyle = {};
|
|
67
|
+
|
|
68
|
+
var chipsAppearanceSuccess = {};
|
|
69
|
+
|
|
70
|
+
var chipsAppearanceSurface = {
|
|
42
71
|
surfacePrimary: {
|
|
43
|
-
borderColor: 'surfaceBorderTertiary',
|
|
44
72
|
fill: 'surfacePrimary',
|
|
45
73
|
fillHover: 'surfacePrimaryHover',
|
|
46
74
|
labelTextColor: 'surfaceTextPrimary',
|
|
75
|
+
borderColor: 'surfaceBorderTertiary',
|
|
47
76
|
},
|
|
48
77
|
surfaceSecondary: {
|
|
49
|
-
borderColor: 'surfaceBorderSecondary',
|
|
50
78
|
fill: 'surfaceSecondary',
|
|
51
79
|
fillHover: 'surfaceSecondaryHover',
|
|
52
80
|
labelTextColor: 'surfaceTextPrimary',
|
|
81
|
+
borderColor: 'surfaceBorderSecondary',
|
|
53
82
|
},
|
|
54
83
|
surfaceTertiary: {
|
|
55
|
-
borderColor: 'surfaceBorderTertiary',
|
|
56
84
|
fill: 'surfaceTertiary',
|
|
57
85
|
fillHover: 'surfaceTertiaryHover',
|
|
58
86
|
labelTextColor: 'surfaceTextPrimary',
|
|
87
|
+
borderColor: 'surfaceBorderTertiary',
|
|
59
88
|
},
|
|
60
89
|
};
|
|
61
90
|
|
|
91
|
+
var chipsAppearanceWarning = {};
|
|
92
|
+
|
|
93
|
+
var chipsAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, chipsAppearanceSize), chipsAppearanceStyle), chipsAppearanceAccent), chipsAppearanceDanger), chipsAppearanceError), chipsAppearanceInfo), chipsAppearancePrimary), chipsAppearanceSecondary), chipsAppearanceSuccess), chipsAppearanceSurface), chipsAppearanceWarning), chipsAppearanceDisabled);
|
|
94
|
+
|
|
62
95
|
var chipsConfig = {
|
|
63
96
|
appearance: chipsAppearance,
|
|
64
97
|
setAppearance: function (appearanceConfig) {
|
|
@@ -66,18 +99,26 @@ var chipsConfig = {
|
|
|
66
99
|
},
|
|
67
100
|
};
|
|
68
101
|
function Chips(props) {
|
|
69
|
-
var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, onClick = props.onClick, children = props.children;
|
|
70
|
-
var appearanceConfig =
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
|
|
102
|
+
var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, isDisabled = props.isDisabled, onClick = props.onClick, children = props.children;
|
|
103
|
+
var appearanceConfig = useMemo(function () {
|
|
104
|
+
var appearanceProps = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
|
|
105
|
+
var _a;
|
|
106
|
+
return (__assign(__assign({}, resultApperance), (_a = chipsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
|
|
107
|
+
}, {});
|
|
108
|
+
if (isDisabled && chipsConfig.appearance.disabled) {
|
|
109
|
+
Object.assign(appearanceProps, chipsConfig.appearance.disabled);
|
|
110
|
+
}
|
|
111
|
+
return appearanceProps;
|
|
112
|
+
}, [appearance, isDisabled]);
|
|
74
113
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
75
|
-
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass
|
|
114
|
+
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
|
|
115
|
+
console.log(isDisabled);
|
|
116
|
+
console.log(fillClass);
|
|
76
117
|
// @ts-expect-error
|
|
77
118
|
var chipsStyles = useStyles(props).styles;
|
|
78
119
|
return (jsx("div", { className: clsx(className, 'chips', isActive && 'chips_state_active', isActive
|
|
79
120
|
? fillActiveClass && "fill_active_".concat(fillActiveClass)
|
|
80
|
-
: fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "chips_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer'), "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), typeof label === 'string' ? (jsx(Text, { className: "chips__label", size: labelTextSize, textColor:
|
|
121
|
+
: fillClass && "fill_".concat(fillClass), fillHoverClass && !isDisabled && "fill_hover_".concat(fillHoverClass), shapeClass && "chips_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer'), "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), typeof label === 'string' ? (jsx(Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsx("div", { className: "chips__label", children: label })), children, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "chips__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] }) }));
|
|
81
122
|
}
|
|
82
123
|
|
|
83
124
|
export { Chips, chipsAppearance, chipsConfig };
|
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
6
|
-
import { L as Loader } from '../Loader-
|
|
5
|
+
import { I as Icon } from '../Icon-OJ_3E3eM.js';
|
|
6
|
+
import { L as Loader } from '../Loader-VK3q7PBN.js';
|
|
7
7
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
8
8
|
import '../tslib.es6-5FtW-kfi.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -17,9 +17,9 @@ import 'react-inlinesvg';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../Link-
|
|
21
|
-
import '../Tooltip-
|
|
22
|
-
import '../Title-
|
|
20
|
+
import '../Link-DaKqf1pb.js';
|
|
21
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
22
|
+
import '../Title-Byi9vhDt.js';
|
|
23
23
|
|
|
24
24
|
var choiceAppearance = {
|
|
25
25
|
accent: {
|
|
@@ -47,8 +47,8 @@ var choiceAppearance = {
|
|
|
47
47
|
|
|
48
48
|
var choiceConfig = {
|
|
49
49
|
appearance: choiceAppearance,
|
|
50
|
-
setAppearance: function (
|
|
51
|
-
choiceConfig.appearance =
|
|
50
|
+
setAppearance: function (appearanceConfig) {
|
|
51
|
+
choiceConfig.appearance = appearanceConfig;
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
54
|
function Choice(props) {
|
package/dist/components/Code.js
CHANGED
|
@@ -18,8 +18,8 @@ var codeAppearance = {
|
|
|
18
18
|
|
|
19
19
|
var codeConfig = {
|
|
20
20
|
appearance: codeAppearance,
|
|
21
|
-
setAppearance: function (
|
|
22
|
-
codeConfig.appearance =
|
|
21
|
+
setAppearance: function (appearanceConfig) {
|
|
22
|
+
codeConfig.appearance = appearanceConfig;
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
25
|
function Code(props) {
|
|
@@ -3,8 +3,8 @@ 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 '../Button-
|
|
7
|
-
import { G as Group } from '../Group-
|
|
6
|
+
import { B as Button } from '../Button-xYLCmT3D.js';
|
|
7
|
+
import { G as Group } from '../Group-BICb8bYQ.js';
|
|
8
8
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
9
9
|
import '../tslib.es6-5FtW-kfi.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -14,15 +14,15 @@ import '../context/UIContext.js';
|
|
|
14
14
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
15
15
|
import 'react-responsive';
|
|
16
16
|
import '../utils/setViewportProperty.js';
|
|
17
|
+
import '../Icon-OJ_3E3eM.js';
|
|
18
|
+
import 'react-inlinesvg';
|
|
17
19
|
import '../hooks/useStyles/useStyles.js';
|
|
18
20
|
import 'lodash/maxBy';
|
|
19
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
21
|
-
import '
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
24
|
-
import '../Title-Dck3eHNM.js';
|
|
25
|
-
import '../Loader-D4_r7LML.js';
|
|
22
|
+
import '../Link-DaKqf1pb.js';
|
|
23
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
24
|
+
import '../Title-Byi9vhDt.js';
|
|
25
|
+
import '../Loader-VK3q7PBN.js';
|
|
26
26
|
|
|
27
27
|
function CookiesWarning(props) {
|
|
28
28
|
var _a = props.isHideOnScroll, isHideOnScroll = _a === void 0 ? false : _a, buttonFill = props.buttonFill, buttonFillHover = props.buttonFillHover, _b = props.buttonLabel, buttonLabel = _b === void 0 ? 'I agree' : _b, buttonLabelSize = props.buttonLabelSize, buttonLabelTextColor = props.buttonLabelTextColor, buttonShape = props.buttonShape, buttonSize = props.buttonSize, buttonWidth = props.buttonWidth, className = props.className, _c = props.message, message = _c === void 0 ? 'The site uses cookies to collect technical information, to optimize the design and improvement of the website, and to provide certain functions. By using the website, you agree to the use of «cookies».' : _c, textColor = props.textColor, textSize = props.textSize;
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { PartySuggestions } from 'react-dadata';
|
|
6
|
-
import { I as Input } from '../Input-
|
|
6
|
+
import { I as Input } from '../Input-DHJIVk1z.js';
|
|
7
7
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -6,10 +6,10 @@ import { ru } from 'date-fns/locale';
|
|
|
6
6
|
import DatePicker from 'react-datepicker';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../Button-
|
|
10
|
-
import { I as Icon } from '../Icon-
|
|
11
|
-
import { I as Input } from '../Input-
|
|
12
|
-
import { L as Label } from '../Label-
|
|
9
|
+
import { B as Button } from '../Button-xYLCmT3D.js';
|
|
10
|
+
import { I as Icon } from '../Icon-OJ_3E3eM.js';
|
|
11
|
+
import { I as Input } from '../Input-DHJIVk1z.js';
|
|
12
|
+
import { L as Label } from '../Label-y2hx5Q81.js';
|
|
13
13
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
14
14
|
import 'lodash/camelCase';
|
|
15
15
|
import 'lodash/castArray';
|
|
@@ -20,20 +20,45 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../Link-
|
|
24
|
-
import '../Loader-
|
|
23
|
+
import '../Link-DaKqf1pb.js';
|
|
24
|
+
import '../Loader-VK3q7PBN.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
|
-
import '../Tooltip-
|
|
27
|
-
import '../Title-
|
|
26
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
27
|
+
import '../Title-Byi9vhDt.js';
|
|
28
28
|
|
|
29
29
|
var datePickerAppearance = {
|
|
30
|
-
|
|
30
|
+
default: {
|
|
31
|
+
datePicker: {
|
|
32
|
+
daySize: 'xs',
|
|
33
|
+
dayTextColor: 'surfaceTextPrimary',
|
|
34
|
+
dayTextShape: 'rounded',
|
|
35
|
+
dayTextSize: 'm',
|
|
36
|
+
iconItemFill: 'surfaceItemPrimary',
|
|
37
|
+
monthTextColor: 'surfaceTextPrimary',
|
|
38
|
+
monthTextSize: 'xl',
|
|
39
|
+
monthTextWeight: '400',
|
|
40
|
+
yearTextColor: 'surfaceTextPrimary',
|
|
41
|
+
yearTextSize: 'xl',
|
|
42
|
+
yearTextWeight: '400',
|
|
43
|
+
},
|
|
44
|
+
input: {
|
|
45
|
+
width: '200',
|
|
46
|
+
size: 's',
|
|
47
|
+
borderColor: 'accentBorderPrimary',
|
|
48
|
+
textColor: 'surfaceTextPrimary',
|
|
49
|
+
textSize: 'm',
|
|
50
|
+
caret: 'surfaceItemPrimary',
|
|
51
|
+
placeholderTextColor: 'surfaceTextSecondary',
|
|
52
|
+
shape: 'rounded',
|
|
53
|
+
},
|
|
54
|
+
shape: 'rounded',
|
|
55
|
+
},
|
|
31
56
|
};
|
|
32
57
|
|
|
33
58
|
var datePickerConfig = {
|
|
34
59
|
appearance: datePickerAppearance,
|
|
35
|
-
setAppearance: function (
|
|
36
|
-
datePickerConfig.appearance =
|
|
60
|
+
setAppearance: function (appearanceConfig) {
|
|
61
|
+
datePickerConfig.appearance = appearanceConfig;
|
|
37
62
|
},
|
|
38
63
|
};
|
|
39
64
|
function DatePickerInput(props) {
|
|
@@ -9,8 +9,8 @@ var drawerAppearance = {
|
|
|
9
9
|
|
|
10
10
|
var drawerConfig = {
|
|
11
11
|
appearance: drawerAppearance,
|
|
12
|
-
setAppearance: function (
|
|
13
|
-
drawerConfig.appearance =
|
|
12
|
+
setAppearance: function (appearanceConfig) {
|
|
13
|
+
drawerConfig.appearance = appearanceConfig;
|
|
14
14
|
},
|
|
15
15
|
};
|
|
16
16
|
function Drawer(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem-
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem-mr__S8vt.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -15,5 +15,5 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
15
15
|
import 'lodash/maxBy';
|
|
16
16
|
import '../hooks/useStyles/styleAttributes.js';
|
|
17
17
|
import '../Divider-BQcBkzt1.js';
|
|
18
|
-
import '../Link-
|
|
18
|
+
import '../Link-DaKqf1pb.js';
|
|
19
19
|
import '../Text-C6NSmetx.js';
|
package/dist/components/Group.js
CHANGED
|
@@ -22,8 +22,8 @@ var heroTitleAppearance = {
|
|
|
22
22
|
|
|
23
23
|
var heroTitleConfig = {
|
|
24
24
|
appearance: heroTitleAppearance,
|
|
25
|
-
setAppearance: function (
|
|
26
|
-
heroTitleConfig.appearance =
|
|
25
|
+
setAppearance: function (appearanceConfig) {
|
|
26
|
+
heroTitleConfig.appearance = appearanceConfig;
|
|
27
27
|
},
|
|
28
28
|
};
|
|
29
29
|
function HeroTitle(props) {
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon-
|
|
1
|
+
export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon-OJ_3E3eM.js';
|
|
2
2
|
import '../tslib.es6-5FtW-kfi.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -15,7 +15,7 @@ import '../utils/setViewportProperty.js';
|
|
|
15
15
|
import '../hooks/useStyles/useStyles.js';
|
|
16
16
|
import 'lodash/maxBy';
|
|
17
17
|
import '../hooks/useStyles/styleAttributes.js';
|
|
18
|
-
import '../Link-
|
|
19
|
-
import '../Tooltip-
|
|
18
|
+
import '../Link-DaKqf1pb.js';
|
|
19
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
20
20
|
import '../Text-C6NSmetx.js';
|
|
21
|
-
import '../Title-
|
|
21
|
+
import '../Title-Byi9vhDt.js';
|
package/dist/components/Input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Input, a as inputAppearance, i as inputConfig, b as inputState } from '../Input-
|
|
1
|
+
export { I as Input, a as inputAppearance, i as inputConfig, b as inputState } from '../Input-DHJIVk1z.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -13,8 +13,8 @@ import '../utils/setViewportProperty.js';
|
|
|
13
13
|
|
|
14
14
|
var inputMaskConfig = {
|
|
15
15
|
appearance: undefined,
|
|
16
|
-
setAppearance: function (
|
|
17
|
-
inputMaskConfig.appearance =
|
|
16
|
+
setAppearance: function (appearanceConfig) {
|
|
17
|
+
inputMaskConfig.appearance = appearanceConfig;
|
|
18
18
|
},
|
|
19
19
|
setState: function (newComponent) {
|
|
20
20
|
inputMaskConfig.state = newComponent;
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-OJ_3E3eM.js';
|
|
6
6
|
import '../tslib.es6-5FtW-kfi.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -15,10 +15,10 @@ import 'react-inlinesvg';
|
|
|
15
15
|
import '../hooks/useStyles/useStyles.js';
|
|
16
16
|
import 'lodash/maxBy';
|
|
17
17
|
import '../hooks/useStyles/styleAttributes.js';
|
|
18
|
-
import '../Link-
|
|
19
|
-
import '../Tooltip-
|
|
18
|
+
import '../Link-DaKqf1pb.js';
|
|
19
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
20
20
|
import '../Text-C6NSmetx.js';
|
|
21
|
-
import '../Title-
|
|
21
|
+
import '../Title-Byi9vhDt.js';
|
|
22
22
|
|
|
23
23
|
var InputPasswordAppearance = {
|
|
24
24
|
dev: {
|
|
@@ -76,8 +76,8 @@ var InputPasswordState = {
|
|
|
76
76
|
|
|
77
77
|
var inputPasswordConfig = {
|
|
78
78
|
appearance: InputPasswordAppearance,
|
|
79
|
-
setAppearance: function (
|
|
80
|
-
inputPasswordConfig.appearance =
|
|
79
|
+
setAppearance: function (appearanceConfig) {
|
|
80
|
+
inputPasswordConfig.appearance = appearanceConfig;
|
|
81
81
|
},
|
|
82
82
|
state: InputPasswordState,
|
|
83
83
|
// eslint-disable-next-line perfectionist/sort-objects
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label-
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label-y2hx5Q81.js';
|
|
2
2
|
import '../tslib.es6-5FtW-kfi.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -15,5 +15,5 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
15
15
|
import 'lodash/maxBy';
|
|
16
16
|
import '../hooks/useStyles/styleAttributes.js';
|
|
17
17
|
import '../Text-C6NSmetx.js';
|
|
18
|
-
import '../Tooltip-
|
|
19
|
-
import '../Title-
|
|
18
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
19
|
+
import '../Title-Byi9vhDt.js';
|
package/dist/components/Link.js
CHANGED
package/dist/components/List.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import { a as Link } from '../Link-
|
|
5
|
+
import { a as Link } from '../Link-DaKqf1pb.js';
|
|
6
6
|
import '../tslib.es6-5FtW-kfi.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader-
|
|
1
|
+
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader-VK3q7PBN.js';
|
|
2
2
|
import '../tslib.es6-5FtW-kfi.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
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 { L as LinkWrapper } from '../Link-
|
|
6
|
+
import { L as LinkWrapper } from '../Link-DaKqf1pb.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
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 Link } from '../Link-
|
|
6
|
+
import { a as Link } from '../Link-DaKqf1pb.js';
|
|
7
7
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
8
8
|
import '../tslib.es6-5FtW-kfi.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -27,8 +27,8 @@ var menuItemAppearance = {
|
|
|
27
27
|
|
|
28
28
|
var menuItemConfig = {
|
|
29
29
|
appearance: menuItemAppearance,
|
|
30
|
-
setAppearance: function (
|
|
31
|
-
menuItemConfig.appearance =
|
|
30
|
+
setAppearance: function (appearanceConfig) {
|
|
31
|
+
menuItemConfig.appearance = appearanceConfig;
|
|
32
32
|
},
|
|
33
33
|
};
|
|
34
34
|
function MenuItem(props) {
|
package/dist/components/Modal.js
CHANGED
|
@@ -5,9 +5,9 @@ import clsx from 'clsx';
|
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { O as Overlay } from '../Overlay-
|
|
9
|
-
import { T as Title } from '../Title-
|
|
10
|
-
import { L as Loader } from '../Loader-
|
|
8
|
+
import { O as Overlay } from '../Overlay-CZixnXZ6.js';
|
|
9
|
+
import { T as Title } from '../Title-Byi9vhDt.js';
|
|
10
|
+
import { L as Loader } from '../Loader-VK3q7PBN.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
13
13
|
import 'lodash/upperFirst';
|
|
@@ -53,8 +53,8 @@ var notificationItemAppearance = {
|
|
|
53
53
|
|
|
54
54
|
var notificationItemConfig = {
|
|
55
55
|
appearance: notificationItemAppearance,
|
|
56
|
-
setAppearance: function (
|
|
57
|
-
notificationItemConfig.appearance =
|
|
56
|
+
setAppearance: function (appearanceConfig) {
|
|
57
|
+
notificationItemConfig.appearance = appearanceConfig;
|
|
58
58
|
},
|
|
59
59
|
};
|
|
60
60
|
function NotificationItem(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay-
|
|
1
|
+
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay-CZixnXZ6.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -4,8 +4,8 @@ import clsx from 'clsx';
|
|
|
4
4
|
import ceil from 'lodash/ceil';
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { D as Dropdown, a as DropdownItem } from '../DropdownItem-
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
7
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem-mr__S8vt.js';
|
|
8
|
+
import { I as Icon } from '../Icon-OJ_3E3eM.js';
|
|
9
9
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
10
10
|
import '../tslib.es6-5FtW-kfi.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -19,10 +19,10 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
21
|
import '../Divider-BQcBkzt1.js';
|
|
22
|
-
import '../Link-
|
|
22
|
+
import '../Link-DaKqf1pb.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
|
-
import '../Tooltip-
|
|
25
|
-
import '../Title-
|
|
24
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
25
|
+
import '../Title-Byi9vhDt.js';
|
|
26
26
|
|
|
27
27
|
var paginationAppearance = {
|
|
28
28
|
default: {
|
|
@@ -61,8 +61,8 @@ var paginationAppearance = {
|
|
|
61
61
|
|
|
62
62
|
var paginationConfig = {
|
|
63
63
|
appearance: paginationAppearance,
|
|
64
|
-
setAppearance: function (
|
|
65
|
-
paginationConfig.appearance =
|
|
64
|
+
setAppearance: function (appearanceConfig) {
|
|
65
|
+
paginationConfig.appearance = appearanceConfig;
|
|
66
66
|
},
|
|
67
67
|
};
|
|
68
68
|
function Pagination(props) {
|
package/dist/components/Panel.js
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
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 { G as Group } from '../Group-
|
|
6
|
+
import { G as Group } from '../Group-BICb8bYQ.js';
|
|
7
7
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
8
8
|
import '../tslib.es6-5FtW-kfi.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -18,8 +18,8 @@ import '../hooks/useStyles/styleAttributes.js';
|
|
|
18
18
|
|
|
19
19
|
var panelConfig = {
|
|
20
20
|
appearance: undefined,
|
|
21
|
-
setAppearance: function (
|
|
22
|
-
panelConfig.appearance =
|
|
21
|
+
setAppearance: function (appearanceConfig) {
|
|
22
|
+
panelConfig.appearance = appearanceConfig;
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
25
|
var Panel = React.forwardRef(function Panel(props, ref) {
|
package/dist/components/Radio.js
CHANGED
|
@@ -36,8 +36,8 @@ var radioState = {
|
|
|
36
36
|
|
|
37
37
|
var radioConfig = {
|
|
38
38
|
appearance: radioAppearance,
|
|
39
|
-
setAppearance: function (
|
|
40
|
-
radioConfig.appearance =
|
|
39
|
+
setAppearance: function (appearanceConfig) {
|
|
40
|
+
radioConfig.appearance = appearanceConfig;
|
|
41
41
|
},
|
|
42
42
|
state: radioState,
|
|
43
43
|
// eslint-disable-next-line perfectionist/sort-objects
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import SVG from 'react-inlinesvg';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Button } from '../Button-
|
|
9
|
-
import { G as Group } from '../Group-
|
|
8
|
+
import { B as Button } from '../Button-xYLCmT3D.js';
|
|
9
|
+
import { G as Group } from '../Group-BICb8bYQ.js';
|
|
10
10
|
import { T as Text } from '../Text-C6NSmetx.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -17,11 +17,11 @@ import 'react-responsive';
|
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../Icon-
|
|
21
|
-
import '../Link-
|
|
22
|
-
import '../Tooltip-
|
|
23
|
-
import '../Title-
|
|
24
|
-
import '../Loader-
|
|
20
|
+
import '../Icon-OJ_3E3eM.js';
|
|
21
|
+
import '../Link-DaKqf1pb.js';
|
|
22
|
+
import '../Tooltip-5lQyt5-Y.js';
|
|
23
|
+
import '../Title-Byi9vhDt.js';
|
|
24
|
+
import '../Loader-VK3q7PBN.js';
|
|
25
25
|
|
|
26
26
|
var img$6 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%23D9D9D9'/%3e%3cpath d='M93.2275 101.842H84.0659C83.8263 99.1898 83.976 96.839 84.515 94.7895C85.1138 92.74 86.2216 90.8111 87.8383 89.0027C89.515 87.1341 91.7904 85.2051 94.6647 83.2159C96.5808 81.8898 97.9581 80.5637 98.7964 79.2375C99.6946 77.9114 100.144 76.4345 100.144 74.807C100.144 72.2753 99.2156 70.1957 97.3593 68.5682C95.503 66.9406 93.0778 66.1269 90.0838 66.1269C87.3892 66.1269 84.7246 66.9105 82.0898 68.4777C79.4551 69.9847 77.0299 72.3959 74.8144 75.7112L67 67.9352C70.0539 64.0774 73.5868 61.1237 77.5988 59.0742C81.6707 57.0247 85.9521 56 90.4431 56C94.5749 56 98.2575 56.8439 101.491 58.5317C104.725 60.1592 107.269 62.3896 109.126 65.2227C111.042 67.9955 112 71.1601 112 74.7166C112 78.0922 111.042 81.1062 109.126 83.7584C107.269 86.4107 104.455 88.8821 100.683 91.1727C97.7485 92.8605 95.7725 94.4881 94.7545 96.0553C93.7365 97.6226 93.2275 99.5515 93.2275 101.842ZM96.1916 115.767C96.1916 117.756 95.4731 119.474 94.0359 120.92C92.5988 122.307 90.8323 123 88.7365 123C86.6407 123 84.8743 122.307 83.4371 120.92C82 119.474 81.2814 117.756 81.2814 115.767C81.2814 113.717 82 111.999 83.4371 110.613C84.8743 109.166 86.6407 108.443 88.7365 108.443C90.8323 108.443 92.5988 109.166 94.0359 110.613C95.4731 111.999 96.1916 113.717 96.1916 115.767Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
27
27
|
|