@itcase/ui 1.8.51 → 1.8.52
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/{DatePicker_cjs_CKmX_JOf.js → DatePicker_cjs_C5A_2oSh.js} +1 -1
- package/dist/{DatePicker_es_BRH4AHbV.js → DatePicker_es_CqxAvzoP.js} +1 -1
- package/dist/{Label_cjs_DNAubjXm.js → Label_cjs_DHLQmexE.js} +26 -4
- package/dist/{Label_es_DnV8akSC.js → Label_es_DDjXQQpD.js} +26 -4
- package/dist/cjs/components/Cell.js +1 -1
- package/dist/cjs/components/DatePeriod.js +2 -2
- package/dist/cjs/components/DatePicker.js +2 -2
- package/dist/cjs/components/Label.js +1 -1
- package/dist/components/Cell.js +1 -1
- package/dist/components/DatePeriod.js +2 -2
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/Label.js +1 -1
- package/dist/types/components/Label/appearance/labelShape.d.ts +22 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
|
12
12
|
var Button = require('./Button_cjs_C8P5a38-.js');
|
|
13
13
|
var Icon = require('./Icon_cjs_CKWWo53f.js');
|
|
14
14
|
var Input = require('./Input_cjs_BGLd0EQu.js');
|
|
15
|
-
var Label = require('./
|
|
15
|
+
var Label = require('./Label_cjs_DHLQmexE.js');
|
|
16
16
|
var Text = require('./Text_cjs_C-Ux7Tz5.js');
|
|
17
17
|
var _default = require('@itcase/icons/default');
|
|
18
18
|
|
|
@@ -10,7 +10,7 @@ import { useStyles } from './hooks/useStyles/useStyles.js';
|
|
|
10
10
|
import { B as Button } from './Button_es_CwtOu3lT.js';
|
|
11
11
|
import { I as Icon } from './Icon_es_B7IMj2rG.js';
|
|
12
12
|
import { I as Input } from './Input_es_D2mNCqiH.js';
|
|
13
|
-
import { L as Label } from './
|
|
13
|
+
import { L as Label } from './Label_es_DDjXQQpD.js';
|
|
14
14
|
import { T as Text } from './Text_es_BdFAdf7M.js';
|
|
15
15
|
import { icons14 } from '@itcase/icons/default';
|
|
16
16
|
|
|
@@ -140,6 +140,28 @@ var labelAppearanceSecondary = {
|
|
|
140
140
|
},
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
+
var labelAppearanceShape = {
|
|
144
|
+
rounded: {
|
|
145
|
+
shape: 'rounded',
|
|
146
|
+
},
|
|
147
|
+
roundedL: {
|
|
148
|
+
shape: 'rounded',
|
|
149
|
+
shapeStrength: '1_5m',
|
|
150
|
+
},
|
|
151
|
+
roundedM: {
|
|
152
|
+
shape: 'rounded',
|
|
153
|
+
shapeStrength: '1m',
|
|
154
|
+
},
|
|
155
|
+
roundedS: {
|
|
156
|
+
shape: 'rounded',
|
|
157
|
+
shapeStrength: '0_5m',
|
|
158
|
+
},
|
|
159
|
+
roundedXL: {
|
|
160
|
+
shape: 'rounded',
|
|
161
|
+
shapeStrength: '2m',
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
|
|
143
165
|
var labelAppearanceSize = {
|
|
144
166
|
sizeXXL: {
|
|
145
167
|
size: 'xxl',
|
|
@@ -276,7 +298,7 @@ var labelAppearanceWarning = {
|
|
|
276
298
|
},
|
|
277
299
|
};
|
|
278
300
|
|
|
279
|
-
var labelAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, labelAppearanceDisable), labelAppearanceSize), labelAppearanceStyle), labelAppearanceAccent), labelAppearanceDanger), labelAppearanceError), labelAppearanceInfo), labelAppearancePrimary), labelAppearanceSecondary), labelAppearanceSuccess), labelAppearanceSurface), labelAppearanceWarning);
|
|
301
|
+
var labelAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, labelAppearanceDisable), labelAppearanceShape), labelAppearanceSize), labelAppearanceStyle), labelAppearanceAccent), labelAppearanceDanger), labelAppearanceError), labelAppearanceInfo), labelAppearancePrimary), labelAppearanceSecondary), labelAppearanceSuccess), labelAppearanceSurface), labelAppearanceWarning);
|
|
280
302
|
|
|
281
303
|
var labelConfig = {
|
|
282
304
|
appearance: labelAppearance,
|
|
@@ -285,7 +307,7 @@ var labelConfig = {
|
|
|
285
307
|
},
|
|
286
308
|
};
|
|
287
309
|
function Label(props) {
|
|
288
|
-
var className = props.className, type = props.type, appearance = props.appearance, label = props.label, cursor = props.cursor, dataTour = props.dataTour,
|
|
310
|
+
var className = props.className, type = props.type, appearance = props.appearance, label = props.label, cursor = props.cursor, dataTour = props.dataTour, showTooltip = props.showTooltip, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
|
|
289
311
|
var tooltipRef = React.useRef(null);
|
|
290
312
|
var onMouseEnterLabel = React.useCallback(function () {
|
|
291
313
|
var _a;
|
|
@@ -297,10 +319,10 @@ function Label(props) {
|
|
|
297
319
|
}, []);
|
|
298
320
|
var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, labelConfig);
|
|
299
321
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
300
|
-
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, tooltipAlignment = propsGenerator.tooltipAlignment, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipArrowPosition = propsGenerator.tooltipArrowPosition, tooltipContent = propsGenerator.tooltipContent, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
322
|
+
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipAlignment = propsGenerator.tooltipAlignment, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipArrowPosition = propsGenerator.tooltipArrowPosition, tooltipContent = propsGenerator.tooltipContent, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
301
323
|
// @ts-expect-error
|
|
302
324
|
var labelStyles = useStyles.useStyles(props).styles;
|
|
303
|
-
return (jsxRuntime.jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "".concat(alignDirectionClass), alignClass && "align_".concat(alignClass),
|
|
325
|
+
return (jsxRuntime.jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), type && "label_type_".concat(type), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, (iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('label__icon_before'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), jsxRuntime.jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsxRuntime.jsx(Text.Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsxRuntime.jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsxRuntime.jsx(Icon.Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('label__icon_after'), fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), after] }));
|
|
304
326
|
}
|
|
305
327
|
|
|
306
328
|
exports.Label = Label;
|
|
@@ -138,6 +138,28 @@ var labelAppearanceSecondary = {
|
|
|
138
138
|
},
|
|
139
139
|
};
|
|
140
140
|
|
|
141
|
+
var labelAppearanceShape = {
|
|
142
|
+
rounded: {
|
|
143
|
+
shape: 'rounded',
|
|
144
|
+
},
|
|
145
|
+
roundedL: {
|
|
146
|
+
shape: 'rounded',
|
|
147
|
+
shapeStrength: '1_5m',
|
|
148
|
+
},
|
|
149
|
+
roundedM: {
|
|
150
|
+
shape: 'rounded',
|
|
151
|
+
shapeStrength: '1m',
|
|
152
|
+
},
|
|
153
|
+
roundedS: {
|
|
154
|
+
shape: 'rounded',
|
|
155
|
+
shapeStrength: '0_5m',
|
|
156
|
+
},
|
|
157
|
+
roundedXL: {
|
|
158
|
+
shape: 'rounded',
|
|
159
|
+
shapeStrength: '2m',
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
|
|
141
163
|
var labelAppearanceSize = {
|
|
142
164
|
sizeXXL: {
|
|
143
165
|
size: 'xxl',
|
|
@@ -274,7 +296,7 @@ var labelAppearanceWarning = {
|
|
|
274
296
|
},
|
|
275
297
|
};
|
|
276
298
|
|
|
277
|
-
var labelAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, labelAppearanceDisable), labelAppearanceSize), labelAppearanceStyle), labelAppearanceAccent), labelAppearanceDanger), labelAppearanceError), labelAppearanceInfo), labelAppearancePrimary), labelAppearanceSecondary), labelAppearanceSuccess), labelAppearanceSurface), labelAppearanceWarning);
|
|
299
|
+
var labelAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, labelAppearanceDisable), labelAppearanceShape), labelAppearanceSize), labelAppearanceStyle), labelAppearanceAccent), labelAppearanceDanger), labelAppearanceError), labelAppearanceInfo), labelAppearancePrimary), labelAppearanceSecondary), labelAppearanceSuccess), labelAppearanceSurface), labelAppearanceWarning);
|
|
278
300
|
|
|
279
301
|
var labelConfig = {
|
|
280
302
|
appearance: labelAppearance,
|
|
@@ -283,7 +305,7 @@ var labelConfig = {
|
|
|
283
305
|
},
|
|
284
306
|
};
|
|
285
307
|
function Label(props) {
|
|
286
|
-
var className = props.className, type = props.type, appearance = props.appearance, label = props.label, cursor = props.cursor, dataTour = props.dataTour,
|
|
308
|
+
var className = props.className, type = props.type, appearance = props.appearance, label = props.label, cursor = props.cursor, dataTour = props.dataTour, showTooltip = props.showTooltip, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
|
|
287
309
|
var tooltipRef = useRef(null);
|
|
288
310
|
var onMouseEnterLabel = useCallback(function () {
|
|
289
311
|
var _a;
|
|
@@ -295,10 +317,10 @@ function Label(props) {
|
|
|
295
317
|
}, []);
|
|
296
318
|
var appearanceConfig = useAppearanceConfig(appearance, labelConfig);
|
|
297
319
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
298
|
-
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, tooltipAlignment = propsGenerator.tooltipAlignment, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipArrowPosition = propsGenerator.tooltipArrowPosition, tooltipContent = propsGenerator.tooltipContent, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
320
|
+
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipAlignment = propsGenerator.tooltipAlignment, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipArrowPosition = propsGenerator.tooltipArrowPosition, tooltipContent = propsGenerator.tooltipContent, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
299
321
|
// @ts-expect-error
|
|
300
322
|
var labelStyles = useStyles(props).styles;
|
|
301
|
-
return (jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "".concat(alignDirectionClass), alignClass && "align_".concat(alignClass),
|
|
323
|
+
return (jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), type && "label_type_".concat(type), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('label__icon_before'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsx(Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsx(Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('label__icon_after'), fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), after] }));
|
|
302
324
|
}
|
|
303
325
|
|
|
304
326
|
export { Label as L, labelAppearance as a, labelConfig as l };
|
|
@@ -6,7 +6,7 @@ var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceCon
|
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
8
|
var Icon = require('../../Icon_cjs_CKWWo53f.js');
|
|
9
|
-
var Label = require('../../
|
|
9
|
+
var Label = require('../../Label_cjs_DHLQmexE.js');
|
|
10
10
|
var Text = require('../../Text_cjs_C-Ux7Tz5.js');
|
|
11
11
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
12
12
|
require('react');
|
|
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var common = require('@itcase/common');
|
|
7
|
-
var DatePicker = require('../../
|
|
7
|
+
var DatePicker = require('../../DatePicker_cjs_C5A_2oSh.js');
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
10
10
|
var ChipsGroup = require('../../ChipsGroup_cjs_CVCYLe2C.js');
|
|
@@ -31,7 +31,7 @@ require('../../Link_cjs_BqT6eVl6.js');
|
|
|
31
31
|
require('../../Text_cjs_C-Ux7Tz5.js');
|
|
32
32
|
require('../../Loader_cjs_D_n5PrK5.js');
|
|
33
33
|
require('../../Input_cjs_BGLd0EQu.js');
|
|
34
|
-
require('../../
|
|
34
|
+
require('../../Label_cjs_DHLQmexE.js');
|
|
35
35
|
require('@itcase/icons/default');
|
|
36
36
|
require('lodash/castArray');
|
|
37
37
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var DatePicker = require('../../
|
|
3
|
+
var DatePicker = require('../../DatePicker_cjs_C5A_2oSh.js');
|
|
4
4
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
5
5
|
require('react/jsx-runtime');
|
|
6
6
|
require('react');
|
|
@@ -31,7 +31,7 @@ require('../../Link_cjs_BqT6eVl6.js');
|
|
|
31
31
|
require('../../Text_cjs_C-Ux7Tz5.js');
|
|
32
32
|
require('../../Loader_cjs_D_n5PrK5.js');
|
|
33
33
|
require('../../Input_cjs_BGLd0EQu.js');
|
|
34
|
-
require('../../
|
|
34
|
+
require('../../Label_cjs_DHLQmexE.js');
|
|
35
35
|
require('@itcase/icons/default');
|
|
36
36
|
|
|
37
37
|
|
package/dist/components/Cell.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceC
|
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
6
|
import { I as Icon } from '../Icon_es_B7IMj2rG.js';
|
|
7
|
-
import { L as Label } from '../
|
|
7
|
+
import { L as Label } from '../Label_es_DDjXQQpD.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BdFAdf7M.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'react';
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
5
|
-
import { D as DatePickerInput } from '../
|
|
5
|
+
import { D as DatePickerInput } from '../DatePicker_es_CqxAvzoP.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BrX6_qHH.js';
|
|
@@ -29,7 +29,7 @@ import '../Link_es_BnUIX0QT.js';
|
|
|
29
29
|
import '../Text_es_BdFAdf7M.js';
|
|
30
30
|
import '../Loader_es_DXVVV9LE.js';
|
|
31
31
|
import '../Input_es_D2mNCqiH.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_DDjXQQpD.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
34
34
|
import 'lodash/castArray';
|
|
35
35
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../
|
|
1
|
+
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_CqxAvzoP.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -29,5 +29,5 @@ import '../Link_es_BnUIX0QT.js';
|
|
|
29
29
|
import '../Text_es_BdFAdf7M.js';
|
|
30
30
|
import '../Loader_es_DXVVV9LE.js';
|
|
31
31
|
import '../Input_es_D2mNCqiH.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_DDjXQQpD.js';
|
|
33
33
|
import '@itcase/icons/default';
|
package/dist/components/Label.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const labelAppearanceShape: {
|
|
2
|
+
rounded: {
|
|
3
|
+
shape: string;
|
|
4
|
+
};
|
|
5
|
+
roundedL: {
|
|
6
|
+
shape: string;
|
|
7
|
+
shapeStrength: string;
|
|
8
|
+
};
|
|
9
|
+
roundedM: {
|
|
10
|
+
shape: string;
|
|
11
|
+
shapeStrength: string;
|
|
12
|
+
};
|
|
13
|
+
roundedS: {
|
|
14
|
+
shape: string;
|
|
15
|
+
shapeStrength: string;
|
|
16
|
+
};
|
|
17
|
+
roundedXL: {
|
|
18
|
+
shape: string;
|
|
19
|
+
shapeStrength: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export { labelAppearanceShape };
|