@itcase/ui 1.8.121 → 1.8.123
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_BKcQuqYV.js → Avatar_cjs_CLJnKU39.js} +3 -3
- package/dist/{Avatar_es_Cpn1PNmO.js → Avatar_es_BgN-fbOj.js} +3 -3
- package/dist/{Button_cjs_3BTD8Mlm.js → Button_cjs_Ce97psFT.js} +5 -5
- package/dist/{Button_es_B_k-SP92.js → Button_es_CZss7cXh.js} +5 -5
- package/dist/{ChipsGroup_cjs_DhoY9YjT.js → ChipsGroup_cjs_C8L3ZeD_.js} +1 -1
- package/dist/{ChipsGroup_es_Dg1GmJ-9.js → ChipsGroup_es_ayPPUwQ7.js} +1 -1
- package/dist/{DatePicker_cjs_BLkZB0S0.js → DatePicker_cjs_BzEtDAb8.js} +4 -4
- package/dist/{DatePicker_es_CKrgRUWu.js → DatePicker_es_DRyCMO0I.js} +4 -4
- package/dist/{DropdownItem_cjs_D3Mcbsxa.js → DropdownItem_cjs_Bhss6lyM.js} +1 -1
- package/dist/{DropdownItem_es_BUs02mjJ.js → DropdownItem_es_BXl6lPJx.js} +1 -1
- package/dist/{Icon_cjs_CUArL1z2.js → Icon_cjs_Cz6IyOkb.js} +2 -2
- package/dist/{Icon_es_CNrc90oI.js → Icon_es_BrwLifge.js} +2 -2
- package/dist/{Image_cjs_B6YlGx8G.js → Image_cjs_DRhhc66R.js} +2 -1
- package/dist/{Image_es_BvYo_cHH.js → Image_es_BpMidmve.js} +2 -1
- package/dist/{Input_cjs_Du73R-wm.js → Input_cjs_DRPK_RHK.js} +3 -3
- package/dist/{Input_es_CiDHjDqJ.js → Input_es_Cv5nEb_n.js} +3 -3
- package/dist/{Label_cjs_BUEGAnsq.js → Label_cjs_DMoaOoHi.js} +1 -1
- package/dist/{Label_es_I01RN9hv.js → Label_es_SULlg9bL.js} +1 -1
- package/dist/{Loader_cjs_Cme6Hi0B.js → Loader_cjs_D3lnxPlI.js} +4 -0
- package/dist/{Loader_es_ByhTIMxS.js → Loader_es_BUSqFrCd.js} +4 -0
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +3 -3
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/Dadata.js +1 -1
- package/dist/cjs/components/DatePeriod.js +10 -10
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Grid.js +3 -3
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Image.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +89 -67
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/MenuItem.js +3 -2
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response/img.js +8 -2
- package/dist/cjs/components/Response.js +131 -30
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +6 -6
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +30 -46
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +3 -3
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +2 -2
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/Dadata.js +1 -1
- package/dist/components/DatePeriod.js +10 -10
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Grid.js +3 -3
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Image.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +89 -67
- package/dist/components/Label.js +2 -2
- package/dist/components/Loader.js +1 -1
- package/dist/components/MenuItem.js +3 -2
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response/img.js +8 -2
- package/dist/components/Response.js +132 -32
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +6 -6
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +30 -46
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/components/Cell/Cell.css +1 -2
- package/dist/css/components/Checkmark/Checkmark.css +2 -0
- package/dist/css/components/DatePeriod/DatePeriod.css +3 -0
- package/dist/css/components/Input/Input.css +0 -8
- package/dist/css/components/InputPassword/InputPassword.css +34 -43
- package/dist/css/components/MenuItem/MenuItem.css +28 -15
- package/dist/css/components/Tooltip/Tooltip.css +1 -0
- package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +179 -2
- package/dist/types/components/InputPassword/appearance/inputPasswordDefault.d.ts +7 -4
- package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +6 -4
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +6 -4
- package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +6 -4
- package/dist/types/components/InputPassword/appearance/inputPasswordShape.d.ts +25 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +14 -28
- package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +5 -5
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +6 -4
- package/dist/types/components/Response/Response.constant.d.ts +76 -0
- package/dist/types/components/Response/appearance/{responceConfirm.d.ts → responseConfirm.d.ts} +1 -0
- package/dist/types/components/Response/appearance/responseDanger.d.ts +1 -0
- package/dist/types/components/Response/appearance/{responceEmpty.d.ts → responseEmpty.d.ts} +1 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +1 -0
- package/dist/types/components/Response/appearance/{responceFail.d.ts → responseFail.d.ts} +1 -0
- package/dist/types/components/Response/appearance/{responceNothingFound.d.ts → responseNothingFound.d.ts} +1 -0
- package/dist/types/components/Response/appearance/{responceRefresh.d.ts → responseRefresh.d.ts} +1 -0
- package/dist/types/components/Response/appearance/responseStyle.d.ts +14 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +1 -0
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +1 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +1 -0
- package/dist/types/components/Response/img/index.d.ts +2 -0
- package/dist/types/components/Response/index.d.ts +2 -1
- package/dist/types/components/Tab/appearance/tabSize.d.ts +0 -14
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +7 -7
- package/package.json +13 -13
|
@@ -5,8 +5,8 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
7
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
|
-
var Icon = require('./
|
|
9
|
-
var Image = require('./
|
|
8
|
+
var Icon = require('./Icon_cjs_Cz6IyOkb.js');
|
|
9
|
+
var Image = require('./Image_cjs_DRhhc66R.js');
|
|
10
10
|
var Text = require('./Text_cjs_0EINiUq4.js');
|
|
11
11
|
var tslib_es6 = require('./tslib.es6_cjs_CCZ3TN_7.js');
|
|
12
12
|
|
|
@@ -149,7 +149,7 @@ function Avatar(props) {
|
|
|
149
149
|
var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, avatarConfig);
|
|
150
150
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
151
151
|
var size = propsGenerator.size, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWeight = propsGenerator.textWeight, badge = propsGenerator.badge, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, icon = propsGenerator.icon, iconFill = propsGenerator.iconFill, iconFillHover = propsGenerator.iconFillHover, iconFillSize = propsGenerator.iconFillSize, iconItemFill = propsGenerator.iconItemFill, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, placeholderUrl = propsGenerator.placeholderUrl, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass;
|
|
152
|
-
return (jsxRuntime.jsx("div", { className: clsx(className, 'avatar', size && "avatar_size_".concat(sizeClass), (badgeValue || badgeAppearance || badgeSize) && 'avatar_status', isSkeleton && "avatar_skeleton", onClick && 'cursor_type_pointer'), onClick: onClick, children: jsxRuntime.jsxs("div", { className: clsx('avatar__wrapper',
|
|
152
|
+
return (jsxRuntime.jsx("div", { className: clsx(className, 'avatar', size && "avatar_size_".concat(sizeClass), (badgeValue || badgeAppearance || badgeSize) && 'avatar_status', isSkeleton && "avatar_skeleton", onClick && 'cursor_type_pointer'), onClick: onClick, children: jsxRuntime.jsxs("div", { className: clsx('avatar__wrapper', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass)), children: [before, src ? (jsxRuntime.jsx(Image.Image, { className: clsx('avatar__image', shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass)), src: src, placeholderUrl: placeholderUrl })) : (jsxRuntime.jsx(Text.Text, { className: "avatar__text", size: textSize, textColor: textColor, textWeight: textWeight, children: avatarChars || count })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "avatar__icon", fill: iconFill, fillHover: iconFillHover, fillSize: iconFillSize, iconFill: iconItemFill, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon })), (badge || badgeValue) && (jsxRuntime.jsx(Icon.Badge, { className: "avatar__badge", appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), after] }) }));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
exports.Avatar = Avatar;
|
|
@@ -3,8 +3,8 @@ import { useMemo } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { I as Icon, B as Badge } from './
|
|
7
|
-
import { I as Image } from './
|
|
6
|
+
import { I as Icon, B as Badge } from './Icon_es_BrwLifge.js';
|
|
7
|
+
import { I as Image } from './Image_es_BpMidmve.js';
|
|
8
8
|
import { T as Text } from './Text_es_CwV9rjFD.js';
|
|
9
9
|
import { _ as __assign } from './tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
|
|
@@ -147,7 +147,7 @@ function Avatar(props) {
|
|
|
147
147
|
var appearanceConfig = useAppearanceConfig(appearance, avatarConfig);
|
|
148
148
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
149
149
|
var size = propsGenerator.size, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWeight = propsGenerator.textWeight, badge = propsGenerator.badge, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, icon = propsGenerator.icon, iconFill = propsGenerator.iconFill, iconFillHover = propsGenerator.iconFillHover, iconFillSize = propsGenerator.iconFillSize, iconItemFill = propsGenerator.iconItemFill, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, placeholderUrl = propsGenerator.placeholderUrl, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass;
|
|
150
|
-
return (jsx("div", { className: clsx(className, 'avatar', size && "avatar_size_".concat(sizeClass), (badgeValue || badgeAppearance || badgeSize) && 'avatar_status', isSkeleton && "avatar_skeleton", onClick && 'cursor_type_pointer'), onClick: onClick, children: jsxs("div", { className: clsx('avatar__wrapper',
|
|
150
|
+
return (jsx("div", { className: clsx(className, 'avatar', size && "avatar_size_".concat(sizeClass), (badgeValue || badgeAppearance || badgeSize) && 'avatar_status', isSkeleton && "avatar_skeleton", onClick && 'cursor_type_pointer'), onClick: onClick, children: jsxs("div", { className: clsx('avatar__wrapper', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass)), children: [before, src ? (jsx(Image, { className: clsx('avatar__image', shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass)), src: src, placeholderUrl: placeholderUrl })) : (jsx(Text, { className: "avatar__text", size: textSize, textColor: textColor, textWeight: textWeight, children: avatarChars || count })), (icon || iconSrc) && (jsx(Icon, { className: "avatar__icon", fill: iconFill, fillHover: iconFillHover, fillSize: iconFillSize, iconFill: iconItemFill, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon })), (badge || badgeValue) && (jsx(Badge, { className: "avatar__badge", appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), after] }) }));
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
export { Avatar as A, avatarConfig as a, avatarAppearance as b };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
|
-
var Icon = require('./
|
|
6
|
+
var Icon = require('./Icon_cjs_Cz6IyOkb.js');
|
|
7
7
|
var Link = require('./Link_cjs_C5UsZUiF.js');
|
|
8
|
-
var Loader = require('./
|
|
8
|
+
var Loader = require('./Loader_cjs_D3lnxPlI.js');
|
|
9
9
|
var Text = require('./Text_cjs_0EINiUq4.js');
|
|
10
10
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
11
11
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
@@ -187,7 +187,7 @@ var buttonAppearancePrimary = {
|
|
|
187
187
|
var buttonAppearanceSecondary = {
|
|
188
188
|
secondary: {
|
|
189
189
|
fill: 'secondaryPrimary',
|
|
190
|
-
fillHover: '
|
|
190
|
+
fillHover: 'secondaryHoverPrimary',
|
|
191
191
|
labelTextColor: 'secondaryTextPrimary',
|
|
192
192
|
iconAfterFillIcon: 'secondaryItemPrimary',
|
|
193
193
|
iconBeforeFillIcon: 'secondaryItemPrimary',
|
|
@@ -197,8 +197,8 @@ var buttonAppearanceSecondary = {
|
|
|
197
197
|
secondaryMutedPrimary: {
|
|
198
198
|
fill: 'secondaryTertiary',
|
|
199
199
|
fillHover: 'secondaryPrimaryHover',
|
|
200
|
-
borderColor: 'secondaryBorderSecondary',
|
|
201
200
|
labelTextColor: 'secondaryTextQuaternary',
|
|
201
|
+
borderColor: 'secondaryBorderSecondary',
|
|
202
202
|
iconAfterFillIcon: 'secondaryItemQuaternary',
|
|
203
203
|
iconBeforeFillIcon: 'secondaryItemQuaternary',
|
|
204
204
|
iconFillIcon: 'secondaryItemQuaternary',
|
|
@@ -206,7 +206,7 @@ var buttonAppearanceSecondary = {
|
|
|
206
206
|
},
|
|
207
207
|
secondaryPrimary: {
|
|
208
208
|
fill: 'secondaryPrimary',
|
|
209
|
-
fillHover: '
|
|
209
|
+
fillHover: 'secondaryHoverPrimary',
|
|
210
210
|
labelTextColor: 'secondaryTextPrimary',
|
|
211
211
|
iconAfterFillIcon: 'secondaryItemPrimary',
|
|
212
212
|
iconBeforeFillIcon: 'secondaryItemPrimary',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from './
|
|
4
|
+
import { I as Icon } from './Icon_es_BrwLifge.js';
|
|
5
5
|
import { a as LinkWrapper } from './Link_es_XiqbdwLp.js';
|
|
6
|
-
import { L as Loader } from './
|
|
6
|
+
import { L as Loader } from './Loader_es_BUSqFrCd.js';
|
|
7
7
|
import { T as Text } from './Text_es_CwV9rjFD.js';
|
|
8
8
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
9
|
import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -185,7 +185,7 @@ var buttonAppearancePrimary = {
|
|
|
185
185
|
var buttonAppearanceSecondary = {
|
|
186
186
|
secondary: {
|
|
187
187
|
fill: 'secondaryPrimary',
|
|
188
|
-
fillHover: '
|
|
188
|
+
fillHover: 'secondaryHoverPrimary',
|
|
189
189
|
labelTextColor: 'secondaryTextPrimary',
|
|
190
190
|
iconAfterFillIcon: 'secondaryItemPrimary',
|
|
191
191
|
iconBeforeFillIcon: 'secondaryItemPrimary',
|
|
@@ -195,8 +195,8 @@ var buttonAppearanceSecondary = {
|
|
|
195
195
|
secondaryMutedPrimary: {
|
|
196
196
|
fill: 'secondaryTertiary',
|
|
197
197
|
fillHover: 'secondaryPrimaryHover',
|
|
198
|
-
borderColor: 'secondaryBorderSecondary',
|
|
199
198
|
labelTextColor: 'secondaryTextQuaternary',
|
|
199
|
+
borderColor: 'secondaryBorderSecondary',
|
|
200
200
|
iconAfterFillIcon: 'secondaryItemQuaternary',
|
|
201
201
|
iconBeforeFillIcon: 'secondaryItemQuaternary',
|
|
202
202
|
iconFillIcon: 'secondaryItemQuaternary',
|
|
@@ -204,7 +204,7 @@ var buttonAppearanceSecondary = {
|
|
|
204
204
|
},
|
|
205
205
|
secondaryPrimary: {
|
|
206
206
|
fill: 'secondaryPrimary',
|
|
207
|
-
fillHover: '
|
|
207
|
+
fillHover: 'secondaryHoverPrimary',
|
|
208
208
|
labelTextColor: 'secondaryTextPrimary',
|
|
209
209
|
iconAfterFillIcon: 'secondaryItemPrimary',
|
|
210
210
|
iconBeforeFillIcon: 'secondaryItemPrimary',
|
|
@@ -5,7 +5,7 @@ var clsx = require('clsx');
|
|
|
5
5
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
6
6
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
8
|
-
var Icon = require('./
|
|
8
|
+
var Icon = require('./Icon_cjs_Cz6IyOkb.js');
|
|
9
9
|
var Text = require('./Text_cjs_0EINiUq4.js');
|
|
10
10
|
var tslib_es6 = require('./tslib.es6_cjs_CCZ3TN_7.js');
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon, B as Badge } from './
|
|
6
|
+
import { I as Icon, B as Badge } from './Icon_es_BrwLifge.js';
|
|
7
7
|
import { T as Text } from './Text_es_CwV9rjFD.js';
|
|
8
8
|
import { _ as __assign } from './tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
|
|
@@ -9,10 +9,10 @@ var DatePicker = require('react-datepicker');
|
|
|
9
9
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
10
10
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
11
11
|
var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
12
|
-
var Button = require('./
|
|
13
|
-
var Icon = require('./
|
|
14
|
-
var Input = require('./
|
|
15
|
-
var Label = require('./
|
|
12
|
+
var Button = require('./Button_cjs_Ce97psFT.js');
|
|
13
|
+
var Icon = require('./Icon_cjs_Cz6IyOkb.js');
|
|
14
|
+
var Input = require('./Input_cjs_DRPK_RHK.js');
|
|
15
|
+
var Label = require('./Label_cjs_DMoaOoHi.js');
|
|
16
16
|
var Text = require('./Text_cjs_0EINiUq4.js');
|
|
17
17
|
var _default = require('@itcase/icons/default');
|
|
18
18
|
|
|
@@ -7,10 +7,10 @@ import DatePicker from 'react-datepicker';
|
|
|
7
7
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { useStyles } from './hooks/useStyles/useStyles.js';
|
|
10
|
-
import { B as Button } from './
|
|
11
|
-
import { I as Icon } from './
|
|
12
|
-
import { I as Input } from './
|
|
13
|
-
import { L as Label } from './
|
|
10
|
+
import { B as Button } from './Button_es_CZss7cXh.js';
|
|
11
|
+
import { I as Icon } from './Icon_es_BrwLifge.js';
|
|
12
|
+
import { I as Input } from './Input_es_Cv5nEb_n.js';
|
|
13
|
+
import { L as Label } from './Label_es_SULlg9bL.js';
|
|
14
14
|
import { T as Text } from './Text_es_CwV9rjFD.js';
|
|
15
15
|
import { icons14 } from '@itcase/icons/default';
|
|
16
16
|
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
8
|
-
var Icon = require('./
|
|
8
|
+
var Icon = require('./Icon_cjs_Cz6IyOkb.js');
|
|
9
9
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
10
10
|
var Divider = require('./Divider_cjs_DUYtmwn2.js');
|
|
11
11
|
var Text = require('./Text_cjs_0EINiUq4.js');
|
|
@@ -3,7 +3,7 @@ import React, { useRef, useState, useCallback, useEffect } 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 { I as Icon, B as Badge } from './
|
|
6
|
+
import { I as Icon, B as Badge } from './Icon_es_BrwLifge.js';
|
|
7
7
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { D as Divider } from './Divider_es_CCLBFIx6.js';
|
|
9
9
|
import { T as Text } from './Text_es_CwV9rjFD.js';
|
|
@@ -1048,7 +1048,7 @@ var iconConfig = {
|
|
|
1048
1048
|
var Icon = urlWithAssetPrefix.urlWithAssetPrefix(React.forwardRef(function Icon(props, ref) {
|
|
1049
1049
|
// TODO: Tooltip doesn't work that anymore
|
|
1050
1050
|
// const [isTooltipVisible, setIsTooltipVisible] = useState(false)
|
|
1051
|
-
var id = props.id,
|
|
1051
|
+
var id = props.id, appearance = props.appearance, className = props.className, dataTour = props.dataTour, width = props.width, height = props.height, badgeClass = props.badgeClass, href = props.href, imageSrc = props.imageSrc, link = props.link, linkRel = props.linkRel, linkTarget = props.linkTarget, notification = props.notification, showTooltip = props.showTooltip, SvgImage = props.SvgImage, before = props.before, after = props.after, isActive = props.isActive, isDisabled = props.isDisabled, isSkeleton = props.isSkeleton, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave;
|
|
1052
1052
|
var ImageComponent = React.useMemo(function () {
|
|
1053
1053
|
if (SvgImage) {
|
|
1054
1054
|
var sizes = {};
|
|
@@ -1070,7 +1070,7 @@ var Icon = urlWithAssetPrefix.urlWithAssetPrefix(React.forwardRef(function Icon(
|
|
|
1070
1070
|
}, [SvgImage, width, height, imageSrc]);
|
|
1071
1071
|
var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, iconConfig, isDisabled);
|
|
1072
1072
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
1073
|
-
var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass,
|
|
1073
|
+
var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabledClass = propsGenerator.iconFillDisabledClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, centeringClass = propsGenerator.centeringClass, iconFillActiveClass = propsGenerator.iconFillActiveClass, iconFillActiveHoverClass = propsGenerator.iconFillActiveHoverClass, iconFillClass = propsGenerator.iconFillClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, iconSizeClass = propsGenerator.iconSizeClass, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize;
|
|
1074
1074
|
// @ts-expect-error - TODO: сделать useStyles на ts
|
|
1075
1075
|
var iconStyles = useStyles.useStyles(props).styles;
|
|
1076
1076
|
return (jsxRuntime.jsxs("div", { id: id, className: clsx(className, 'icon', !isActive
|
|
@@ -1046,7 +1046,7 @@ var iconConfig = {
|
|
|
1046
1046
|
var Icon = urlWithAssetPrefix(React.forwardRef(function Icon(props, ref) {
|
|
1047
1047
|
// TODO: Tooltip doesn't work that anymore
|
|
1048
1048
|
// const [isTooltipVisible, setIsTooltipVisible] = useState(false)
|
|
1049
|
-
var id = props.id,
|
|
1049
|
+
var id = props.id, appearance = props.appearance, className = props.className, dataTour = props.dataTour, width = props.width, height = props.height, badgeClass = props.badgeClass, href = props.href, imageSrc = props.imageSrc, link = props.link, linkRel = props.linkRel, linkTarget = props.linkTarget, notification = props.notification, showTooltip = props.showTooltip, SvgImage = props.SvgImage, before = props.before, after = props.after, isActive = props.isActive, isDisabled = props.isDisabled, isSkeleton = props.isSkeleton, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave;
|
|
1050
1050
|
var ImageComponent = useMemo(function () {
|
|
1051
1051
|
if (SvgImage) {
|
|
1052
1052
|
var sizes = {};
|
|
@@ -1068,7 +1068,7 @@ var Icon = urlWithAssetPrefix(React.forwardRef(function Icon(props, ref) {
|
|
|
1068
1068
|
}, [SvgImage, width, height, imageSrc]);
|
|
1069
1069
|
var appearanceConfig = useAppearanceConfig(appearance, iconConfig, isDisabled);
|
|
1070
1070
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
1071
|
-
var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass,
|
|
1071
|
+
var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabledClass = propsGenerator.iconFillDisabledClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, centeringClass = propsGenerator.centeringClass, iconFillActiveClass = propsGenerator.iconFillActiveClass, iconFillActiveHoverClass = propsGenerator.iconFillActiveHoverClass, iconFillClass = propsGenerator.iconFillClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, iconSizeClass = propsGenerator.iconSizeClass, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize;
|
|
1072
1072
|
// @ts-expect-error - TODO: сделать useStyles на ts
|
|
1073
1073
|
var iconStyles = useStyles(props).styles;
|
|
1074
1074
|
return (jsxs("div", { id: id, className: clsx(className, 'icon', !isActive
|
|
@@ -10,8 +10,9 @@ var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
|
10
10
|
var Image = urlWithAssetPrefix.urlWithAssetPrefix(function Image(props) {
|
|
11
11
|
var className = props.className, type = props.type, src = props.src, title = props.title, alt = props.alt, caption = props.caption, imageClassName = props.imageClassName, imageWrapperClassName = props.imageWrapperClassName, mode = props.mode, overlay = props.overlay, placeholderUrl = props.placeholderUrl, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, onError = props.onError, children = props.children;
|
|
12
12
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props);
|
|
13
|
-
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass,
|
|
13
|
+
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass, verticalAlignClass = propsGenerator.verticalAlignClass, widthClass = propsGenerator.widthClass;
|
|
14
14
|
var _a = useStyles.useStyles(props), imageStyles = _a.image, styles = _a.styles, wrapperStyles = _a.wrapper;
|
|
15
|
+
console.log(styles);
|
|
15
16
|
var onErrorImage = React.useCallback(function (event) {
|
|
16
17
|
if (onError) {
|
|
17
18
|
onError(event);
|
|
@@ -8,8 +8,9 @@ import { useStyles } from './hooks/useStyles/useStyles.js';
|
|
|
8
8
|
var Image = urlWithAssetPrefix(function Image(props) {
|
|
9
9
|
var className = props.className, type = props.type, src = props.src, title = props.title, alt = props.alt, caption = props.caption, imageClassName = props.imageClassName, imageWrapperClassName = props.imageWrapperClassName, mode = props.mode, overlay = props.overlay, placeholderUrl = props.placeholderUrl, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, onError = props.onError, children = props.children;
|
|
10
10
|
var propsGenerator = useDevicePropsGenerator(props);
|
|
11
|
-
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass,
|
|
11
|
+
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass, verticalAlignClass = propsGenerator.verticalAlignClass, widthClass = propsGenerator.widthClass;
|
|
12
12
|
var _a = useStyles(props), imageStyles = _a.image, styles = _a.styles, wrapperStyles = _a.wrapper;
|
|
13
|
+
console.log(styles);
|
|
13
14
|
var onErrorImage = useCallback(function (event) {
|
|
14
15
|
if (onError) {
|
|
15
16
|
onError(event);
|
|
@@ -201,12 +201,12 @@ var inputConfig = {
|
|
|
201
201
|
},
|
|
202
202
|
};
|
|
203
203
|
var Input = React.forwardRef(function Input(props, ref) {
|
|
204
|
-
var id = props.id,
|
|
204
|
+
var id = props.id, appearance = props.appearance, className = props.className, dataTestId = props.dataTestId, _a = props.type, type = _a === void 0 ? 'text' : _a, name = props.name, autocomplete = props.autocomplete, index = props.index, placeholder = props.placeholder, value = props.value, isDisabled = props.isDisabled, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
|
|
205
205
|
var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, inputConfig, isDisabled);
|
|
206
206
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
207
207
|
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderWidthClass = propsGenerator.borderWidthClass, textColorClass = propsGenerator.textColorClass, textSizeClass = propsGenerator.textSizeClass, textWeightClass = propsGenerator.textWeightClass, caretClass = propsGenerator.caretClass, placeholderTextColorClass = propsGenerator.placeholderTextColorClass, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
208
|
-
return (jsxRuntime.jsx("input", { id: String(id), className: clsx(className, 'input', type === 'number' && 'input_type_number', isDisabled && 'input_state_disabled', (textSizeClass || textColorClass || textWeightClass) && 'text',
|
|
209
|
-
"placeholder-text-color_".concat(placeholderTextColorClass), textColorClass && "text-color_".concat(textColorClass)), type: type, ref: ref, disabled: isDisabled, autoComplete: autocomplete, "data-test-id": dataTestId || (name ? "".concat(name, "Input") : 'input'), index: index, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
208
|
+
return (jsxRuntime.jsx("input", { id: String(id), className: clsx(className, 'input', type === 'number' && 'input_type_number', isDisabled && 'input_state_disabled', (textSizeClass || textColorClass || textWeightClass) && 'text', borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), caretClass && "caret-color_".concat(caretClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), placeholderTextColorClass &&
|
|
209
|
+
"placeholder-text-color_".concat(placeholderTextColorClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), sizeClass && "input_size_".concat(sizeClass), textColorClass && "text-color_".concat(textColorClass), textColorClass && "text-color_".concat(textColorClass), textSizeClass && "text_size_".concat(textSizeClass), textWeightClass && "text-weight_".concat(textWeightClass), widthClass && "width_".concat(widthClass)), type: type, ref: ref, disabled: isDisabled, autoComplete: autocomplete, "data-test-id": dataTestId || (name ? "".concat(name, "Input") : 'input'), index: index, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
210
210
|
});
|
|
211
211
|
|
|
212
212
|
exports.Input = Input;
|
|
@@ -199,12 +199,12 @@ var inputConfig = {
|
|
|
199
199
|
},
|
|
200
200
|
};
|
|
201
201
|
var Input = React.forwardRef(function Input(props, ref) {
|
|
202
|
-
var id = props.id,
|
|
202
|
+
var id = props.id, appearance = props.appearance, className = props.className, dataTestId = props.dataTestId, _a = props.type, type = _a === void 0 ? 'text' : _a, name = props.name, autocomplete = props.autocomplete, index = props.index, placeholder = props.placeholder, value = props.value, isDisabled = props.isDisabled, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
|
|
203
203
|
var appearanceConfig = useAppearanceConfig(appearance, inputConfig, isDisabled);
|
|
204
204
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
205
205
|
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderWidthClass = propsGenerator.borderWidthClass, textColorClass = propsGenerator.textColorClass, textSizeClass = propsGenerator.textSizeClass, textWeightClass = propsGenerator.textWeightClass, caretClass = propsGenerator.caretClass, placeholderTextColorClass = propsGenerator.placeholderTextColorClass, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
206
|
-
return (jsx("input", { id: String(id), className: clsx(className, 'input', type === 'number' && 'input_type_number', isDisabled && 'input_state_disabled', (textSizeClass || textColorClass || textWeightClass) && 'text',
|
|
207
|
-
"placeholder-text-color_".concat(placeholderTextColorClass), textColorClass && "text-color_".concat(textColorClass)), type: type, ref: ref, disabled: isDisabled, autoComplete: autocomplete, "data-test-id": dataTestId || (name ? "".concat(name, "Input") : 'input'), index: index, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
206
|
+
return (jsx("input", { id: String(id), className: clsx(className, 'input', type === 'number' && 'input_type_number', isDisabled && 'input_state_disabled', (textSizeClass || textColorClass || textWeightClass) && 'text', borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), caretClass && "caret-color_".concat(caretClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), placeholderTextColorClass &&
|
|
207
|
+
"placeholder-text-color_".concat(placeholderTextColorClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), sizeClass && "input_size_".concat(sizeClass), textColorClass && "text-color_".concat(textColorClass), textColorClass && "text-color_".concat(textColorClass), textSizeClass && "text_size_".concat(textSizeClass), textWeightClass && "text-weight_".concat(textWeightClass), widthClass && "width_".concat(widthClass)), type: type, ref: ref, disabled: isDisabled, autoComplete: autocomplete, "data-test-id": dataTestId || (name ? "".concat(name, "Input") : 'input'), index: index, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
208
208
|
});
|
|
209
209
|
|
|
210
210
|
export { Input as I, inputAppearance as a, inputConfig as i };
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
7
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
9
|
-
var Icon = require('./
|
|
9
|
+
var Icon = require('./Icon_cjs_Cz6IyOkb.js');
|
|
10
10
|
var Text = require('./Text_cjs_0EINiUq4.js');
|
|
11
11
|
var tslib_es6 = require('./tslib.es6_cjs_CCZ3TN_7.js');
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from './hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon, T as Tooltip } from './
|
|
7
|
+
import { I as Icon, T as Tooltip } from './Icon_es_BrwLifge.js';
|
|
8
8
|
import { T as Text } from './Text_es_CwV9rjFD.js';
|
|
9
9
|
import { _ as __assign } from './tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
|
|
@@ -8,7 +8,7 @@ var castArray = require('lodash/castArray');
|
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
10
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
11
|
-
var Icon = require('../../
|
|
11
|
+
var Icon = require('../../Icon_cjs_Cz6IyOkb.js');
|
|
12
12
|
var Divider = require('../../Divider_cjs_DUYtmwn2.js');
|
|
13
13
|
var Text = require('../../Text_cjs_0EINiUq4.js');
|
|
14
14
|
var _default = require('@itcase/icons/default');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Avatar = require('../../
|
|
3
|
+
var Avatar = require('../../Avatar_cjs_CLJnKU39.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('clsx');
|
|
@@ -19,7 +19,7 @@ require('react-responsive');
|
|
|
19
19
|
require('../utils/setViewportProperty.js');
|
|
20
20
|
require('../hooks.js');
|
|
21
21
|
require('../hooks/useStyles/styleAttributes.js');
|
|
22
|
-
require('../../
|
|
22
|
+
require('../../Icon_cjs_Cz6IyOkb.js');
|
|
23
23
|
require('react-inlinesvg');
|
|
24
24
|
require('../hoc/urlWithAssetPrefix.js');
|
|
25
25
|
require('../context/UrlAssetPrefix.js');
|
|
@@ -27,7 +27,7 @@ require('../hooks/useStyles/useStyles.js');
|
|
|
27
27
|
require('lodash/maxBy');
|
|
28
28
|
require('../../Link_cjs_C5UsZUiF.js');
|
|
29
29
|
require('../../Text_cjs_0EINiUq4.js');
|
|
30
|
-
require('../../
|
|
30
|
+
require('../../Image_cjs_DRhhc66R.js');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -5,7 +5,7 @@ var clsx = require('clsx');
|
|
|
5
5
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
|
-
var Avatar = require('../../
|
|
8
|
+
var Avatar = require('../../Avatar_cjs_CLJnKU39.js');
|
|
9
9
|
var Group = require('../../Group_cjs_CsJ6ICKK.js');
|
|
10
10
|
var Text = require('../../Text_cjs_0EINiUq4.js');
|
|
11
11
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
@@ -23,12 +23,12 @@ require('../utils/setViewportProperty.js');
|
|
|
23
23
|
require('../hooks.js');
|
|
24
24
|
require('../hooks/useStyles/styleAttributes.js');
|
|
25
25
|
require('lodash/maxBy');
|
|
26
|
-
require('../../
|
|
26
|
+
require('../../Icon_cjs_Cz6IyOkb.js');
|
|
27
27
|
require('react-inlinesvg');
|
|
28
28
|
require('../hoc/urlWithAssetPrefix.js');
|
|
29
29
|
require('../context/UrlAssetPrefix.js');
|
|
30
30
|
require('../../Link_cjs_C5UsZUiF.js');
|
|
31
|
-
require('../../
|
|
31
|
+
require('../../Image_cjs_DRhhc66R.js');
|
|
32
32
|
|
|
33
33
|
var avatarStackAppearanceSize = {
|
|
34
34
|
size16: {
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
|
-
var Icon = require('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_Cz6IyOkb.js');
|
|
10
10
|
var Link = require('../../Link_cjs_C5UsZUiF.js');
|
|
11
11
|
var Text = require('../../Text_cjs_0EINiUq4.js');
|
|
12
12
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Button = require('../../
|
|
3
|
+
var Button = require('../../Button_cjs_Ce97psFT.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('clsx');
|
|
7
|
-
require('../../
|
|
7
|
+
require('../../Icon_cjs_Cz6IyOkb.js');
|
|
8
8
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
9
9
|
require('react-inlinesvg');
|
|
10
10
|
require('../hoc/urlWithAssetPrefix.js');
|
|
@@ -27,7 +27,7 @@ require('../hooks/useStyles/useStyles.js');
|
|
|
27
27
|
require('lodash/maxBy');
|
|
28
28
|
require('../../Link_cjs_C5UsZUiF.js');
|
|
29
29
|
require('../../Text_cjs_0EINiUq4.js');
|
|
30
|
-
require('../../
|
|
30
|
+
require('../../Loader_cjs_D3lnxPlI.js');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -5,8 +5,8 @@ var clsx = require('clsx');
|
|
|
5
5
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
|
-
var Icon = require('../../
|
|
9
|
-
var Label = require('../../
|
|
8
|
+
var Icon = require('../../Icon_cjs_Cz6IyOkb.js');
|
|
9
|
+
var Label = require('../../Label_cjs_DMoaOoHi.js');
|
|
10
10
|
var Text = require('../../Text_cjs_0EINiUq4.js');
|
|
11
11
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
12
12
|
require('react');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var ChipsGroup = require('../../
|
|
3
|
+
var ChipsGroup = require('../../ChipsGroup_cjs_C8L3ZeD_.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('clsx');
|
|
6
6
|
require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
@@ -21,7 +21,7 @@ require('../hooks.js');
|
|
|
21
21
|
require('../hooks/useStyles/styleAttributes.js');
|
|
22
22
|
require('../hooks/useStyles/useStyles.js');
|
|
23
23
|
require('lodash/maxBy');
|
|
24
|
-
require('../../
|
|
24
|
+
require('../../Icon_cjs_Cz6IyOkb.js');
|
|
25
25
|
require('react-inlinesvg');
|
|
26
26
|
require('../hoc/urlWithAssetPrefix.js');
|
|
27
27
|
require('../context/UrlAssetPrefix.js');
|
|
@@ -6,8 +6,8 @@ var clsx = require('clsx');
|
|
|
6
6
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
9
|
-
var Icon = require('../../
|
|
10
|
-
var Loader = require('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_Cz6IyOkb.js');
|
|
10
|
+
var Loader = require('../../Loader_cjs_D3lnxPlI.js');
|
|
11
11
|
var Text = require('../../Text_cjs_0EINiUq4.js');
|
|
12
12
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
13
13
|
require('lodash/camelCase');
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var Cookies = require('js-cookie');
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
|
-
var Button = require('../../
|
|
9
|
+
var Button = require('../../Button_cjs_Ce97psFT.js');
|
|
10
10
|
var Text = require('../../Text_cjs_0EINiUq4.js');
|
|
11
11
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
12
12
|
require('lodash/camelCase');
|
|
@@ -21,14 +21,14 @@ require('react-responsive');
|
|
|
21
21
|
require('../utils/setViewportProperty.js');
|
|
22
22
|
require('../hooks.js');
|
|
23
23
|
require('../hooks/useStyles/styleAttributes.js');
|
|
24
|
-
require('../../
|
|
24
|
+
require('../../Icon_cjs_Cz6IyOkb.js');
|
|
25
25
|
require('react-inlinesvg');
|
|
26
26
|
require('../hoc/urlWithAssetPrefix.js');
|
|
27
27
|
require('../context/UrlAssetPrefix.js');
|
|
28
28
|
require('../hooks/useStyles/useStyles.js');
|
|
29
29
|
require('lodash/maxBy');
|
|
30
30
|
require('../../Link_cjs_C5UsZUiF.js');
|
|
31
|
-
require('../../
|
|
31
|
+
require('../../Loader_cjs_D3lnxPlI.js');
|
|
32
32
|
|
|
33
33
|
var cookiesWarningAppearanceDefault = {
|
|
34
34
|
defaultPrimary: {
|
|
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
var reactDadata = require('react-dadata');
|
|
8
|
-
var Input = require('../../
|
|
8
|
+
var Input = require('../../Input_cjs_DRPK_RHK.js');
|
|
9
9
|
require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
10
10
|
require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
11
11
|
require('lodash/camelCase');
|