@itcase/ui 1.9.15 → 1.9.17
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/{ChipsGroup_cjs_BQ27ybIx.js → ChipsGroup_cjs_Bfv9Z78e.js} +6 -7
- package/dist/{ChipsGroup_es_DFVf6wUN.js → ChipsGroup_es_BrHHulZC.js} +6 -7
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/DatePeriod.js +1 -1
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Chips.js +1 -1
- package/dist/components/DatePeriod.js +1 -1
- package/dist/css/styles/bundles.css +77 -32
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +5 -6
- package/package.json +4 -4
|
@@ -9,12 +9,6 @@ var Icon = require('./Icon_cjs_NpWSQezS.js');
|
|
|
9
9
|
var Text = require('./Text_cjs_BhnGHF2T.js');
|
|
10
10
|
|
|
11
11
|
const chipsAppearanceAccent = {
|
|
12
|
-
accent: {
|
|
13
|
-
fill: 'accentPrimary',
|
|
14
|
-
fillHover: 'accentHoverPrimary',
|
|
15
|
-
labelTextColor: 'accentTextPrimary',
|
|
16
|
-
borderColor: 'accentBorderSecondary',
|
|
17
|
-
},
|
|
18
12
|
accentMutedPrimary: {
|
|
19
13
|
fill: 'accentTertiary',
|
|
20
14
|
fillHover: 'accentHoverPrimary',
|
|
@@ -25,10 +19,15 @@ const chipsAppearanceAccent = {
|
|
|
25
19
|
},
|
|
26
20
|
accentPrimary: {
|
|
27
21
|
fill: 'accentPrimary',
|
|
22
|
+
fillActive: 'accentPrimary',
|
|
23
|
+
fillActiveHover: 'accentHoverPrimary',
|
|
28
24
|
fillHover: 'accentHoverPrimary',
|
|
25
|
+
labelTextActiveColor: 'accentTextPrimary',
|
|
29
26
|
labelTextColor: 'accentTextPrimary',
|
|
30
|
-
borderColor: '
|
|
27
|
+
borderColor: 'accentBorderPrimary',
|
|
28
|
+
iconAfterFillActiveIcon: 'accentItemPrimary',
|
|
31
29
|
iconAfterFillIcon: 'accentItemPrimary',
|
|
30
|
+
iconBeforeFillActiveIcon: 'accentItemPrimary',
|
|
32
31
|
iconBeforeFillIcon: 'accentItemPrimary',
|
|
33
32
|
},
|
|
34
33
|
};
|
|
@@ -7,12 +7,6 @@ import { I as Icon, B as Badge } from './Icon_es_CJuX1p1_.js';
|
|
|
7
7
|
import { T as Text } from './Text_es_C1kfpokr.js';
|
|
8
8
|
|
|
9
9
|
const chipsAppearanceAccent = {
|
|
10
|
-
accent: {
|
|
11
|
-
fill: 'accentPrimary',
|
|
12
|
-
fillHover: 'accentHoverPrimary',
|
|
13
|
-
labelTextColor: 'accentTextPrimary',
|
|
14
|
-
borderColor: 'accentBorderSecondary',
|
|
15
|
-
},
|
|
16
10
|
accentMutedPrimary: {
|
|
17
11
|
fill: 'accentTertiary',
|
|
18
12
|
fillHover: 'accentHoverPrimary',
|
|
@@ -23,10 +17,15 @@ const chipsAppearanceAccent = {
|
|
|
23
17
|
},
|
|
24
18
|
accentPrimary: {
|
|
25
19
|
fill: 'accentPrimary',
|
|
20
|
+
fillActive: 'accentPrimary',
|
|
21
|
+
fillActiveHover: 'accentHoverPrimary',
|
|
26
22
|
fillHover: 'accentHoverPrimary',
|
|
23
|
+
labelTextActiveColor: 'accentTextPrimary',
|
|
27
24
|
labelTextColor: 'accentTextPrimary',
|
|
28
|
-
borderColor: '
|
|
25
|
+
borderColor: 'accentBorderPrimary',
|
|
26
|
+
iconAfterFillActiveIcon: 'accentItemPrimary',
|
|
29
27
|
iconAfterFillIcon: 'accentItemPrimary',
|
|
28
|
+
iconBeforeFillActiveIcon: 'accentItemPrimary',
|
|
30
29
|
iconBeforeFillIcon: 'accentItemPrimary',
|
|
31
30
|
},
|
|
32
31
|
};
|
|
@@ -142,7 +142,7 @@ const accordionItemConfig = {
|
|
|
142
142
|
},
|
|
143
143
|
};
|
|
144
144
|
function AccordionItem(props) {
|
|
145
|
-
const { id,
|
|
145
|
+
const { id, appearance, className, title, afterContent, beforeContent, content, isExpanded, onClick, children, } = props;
|
|
146
146
|
const onClickTitle = React.useCallback(() => {
|
|
147
147
|
// "!isExpanded" - is next state of expanded
|
|
148
148
|
const thisItemData = {
|
|
@@ -157,7 +157,7 @@ function AccordionItem(props) {
|
|
|
157
157
|
const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
158
158
|
const { fillClass, fillHoverClass, titleBorderColorClass, titleFillClass, titleFillHoverClass, titleTextColor, titleTextSize, titleTextWeight, titleWidthClass, borderColorClass, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, contentTextColor, contentTextSize, contentTextWeight, dividerDirection, dividerFill, dividerSize, icon, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, shapeClass, shapeStrengthClass, showDivider, sizeClass, zeroGap, zeroPadding, } = propsGenerator;
|
|
159
159
|
const { styles } = useStyles.useStyles(props);
|
|
160
|
-
return (jsxRuntime.jsxs("div", { className: clsx('accordion-item', className, zeroPadding && 'accordion-item_zero-padding', zeroGap && 'accordion-item_zero-gap', borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `accordion-item_size_${sizeClass}`, isExpanded && 'accordion-item_state_open'), style: styles, children: [jsxRuntime.jsxs("div", { className: clsx('accordion-item__header', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`), children: [jsxRuntime.jsx(Text.Text, { className: clsx('accordion-item__title', titleBorderColorClass && `border-color_${titleBorderColorClass}`, titleFillClass && `fill_${titleFillClass}`, titleFillHoverClass && `fill_hover_${titleFillHoverClass}`, titleWidthClass && `width_${titleWidthClass}`, onClickTitle && 'cursor_type_pointer'), size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, onClick: onClickTitle, children: title }), jsxRuntime.jsxs("div", { className: "accordion-item__action", children: [badgeValue && (jsxRuntime.jsx(Icon.Badge, {
|
|
160
|
+
return (jsxRuntime.jsxs("div", { className: clsx('accordion-item', className, zeroPadding && 'accordion-item_zero-padding', zeroGap && 'accordion-item_zero-gap', borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `accordion-item_size_${sizeClass}`, isExpanded && 'accordion-item_state_open'), style: styles, children: [jsxRuntime.jsxs("div", { className: clsx('accordion-item__header', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`), children: [jsxRuntime.jsx(Text.Text, { className: clsx('accordion-item__title', titleBorderColorClass && `border-color_${titleBorderColorClass}`, titleFillClass && `fill_${titleFillClass}`, titleFillHoverClass && `fill_hover_${titleFillHoverClass}`, titleWidthClass && `width_${titleWidthClass}`, onClickTitle && 'cursor_type_pointer'), size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, onClick: onClickTitle, children: title }), jsxRuntime.jsxs("div", { className: "accordion-item__action", children: [badgeValue && (jsxRuntime.jsx(Icon.Badge, { appearance: `${badgeAppearance} ${badgeAppearanceSize}`, className: "accordion-item__badge", size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('accordion-item__icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon, onClick: onClickTitle }))] }), showDivider && (jsxRuntime.jsx(Divider.Divider, { width: "fill", direction: dividerDirection, size: dividerSize, fill: dividerFill || 'surfaceTertiary' }))] }), beforeContent, isExpanded && (jsxRuntime.jsxs("div", { className: clsx('accordion-item__content'), children: [content && (jsxRuntime.jsx("div", { className: clsx('accordion-item__content-inner', fillClass && `fill_${fillClass}`), children: jsxRuntime.jsx(Text.Text, { size: contentTextSize, textColor: contentTextColor, textWeight: contentTextWeight, children: content }) })), children] })), afterContent] }));
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
function Accordion(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var ChipsGroup = require('../../
|
|
3
|
+
var ChipsGroup = require('../../ChipsGroup_cjs_Bfv9Z78e.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('clsx');
|
|
6
6
|
require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
@@ -7,7 +7,7 @@ var luxon = require('luxon');
|
|
|
7
7
|
var common = require('@itcase/common');
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
10
|
-
var ChipsGroup = require('../../
|
|
10
|
+
var ChipsGroup = require('../../ChipsGroup_cjs_Bfv9Z78e.js');
|
|
11
11
|
var DatePicker = require('../../DatePicker_cjs_D9q-RqJu.js');
|
|
12
12
|
require('react-select');
|
|
13
13
|
require('../../Icon_cjs_NpWSQezS.js');
|
|
@@ -140,7 +140,7 @@ const accordionItemConfig = {
|
|
|
140
140
|
},
|
|
141
141
|
};
|
|
142
142
|
function AccordionItem(props) {
|
|
143
|
-
const { id,
|
|
143
|
+
const { id, appearance, className, title, afterContent, beforeContent, content, isExpanded, onClick, children, } = props;
|
|
144
144
|
const onClickTitle = useCallback(() => {
|
|
145
145
|
// "!isExpanded" - is next state of expanded
|
|
146
146
|
const thisItemData = {
|
|
@@ -155,7 +155,7 @@ function AccordionItem(props) {
|
|
|
155
155
|
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
156
156
|
const { fillClass, fillHoverClass, titleBorderColorClass, titleFillClass, titleFillHoverClass, titleTextColor, titleTextSize, titleTextWeight, titleWidthClass, borderColorClass, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, contentTextColor, contentTextSize, contentTextWeight, dividerDirection, dividerFill, dividerSize, icon, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, shapeClass, shapeStrengthClass, showDivider, sizeClass, zeroGap, zeroPadding, } = propsGenerator;
|
|
157
157
|
const { styles } = useStyles(props);
|
|
158
|
-
return (jsxs("div", { className: clsx('accordion-item', className, zeroPadding && 'accordion-item_zero-padding', zeroGap && 'accordion-item_zero-gap', borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `accordion-item_size_${sizeClass}`, isExpanded && 'accordion-item_state_open'), style: styles, children: [jsxs("div", { className: clsx('accordion-item__header', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`), children: [jsx(Text, { className: clsx('accordion-item__title', titleBorderColorClass && `border-color_${titleBorderColorClass}`, titleFillClass && `fill_${titleFillClass}`, titleFillHoverClass && `fill_hover_${titleFillHoverClass}`, titleWidthClass && `width_${titleWidthClass}`, onClickTitle && 'cursor_type_pointer'), size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, onClick: onClickTitle, children: title }), jsxs("div", { className: "accordion-item__action", children: [badgeValue && (jsx(Badge, {
|
|
158
|
+
return (jsxs("div", { className: clsx('accordion-item', className, zeroPadding && 'accordion-item_zero-padding', zeroGap && 'accordion-item_zero-gap', borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `accordion-item_size_${sizeClass}`, isExpanded && 'accordion-item_state_open'), style: styles, children: [jsxs("div", { className: clsx('accordion-item__header', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`), children: [jsx(Text, { className: clsx('accordion-item__title', titleBorderColorClass && `border-color_${titleBorderColorClass}`, titleFillClass && `fill_${titleFillClass}`, titleFillHoverClass && `fill_hover_${titleFillHoverClass}`, titleWidthClass && `width_${titleWidthClass}`, onClickTitle && 'cursor_type_pointer'), size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, onClick: onClickTitle, children: title }), jsxs("div", { className: "accordion-item__action", children: [badgeValue && (jsx(Badge, { appearance: `${badgeAppearance} ${badgeAppearanceSize}`, className: "accordion-item__badge", size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('accordion-item__icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon, onClick: onClickTitle }))] }), showDivider && (jsx(Divider, { width: "fill", direction: dividerDirection, size: dividerSize, fill: dividerFill || 'surfaceTertiary' }))] }), beforeContent, isExpanded && (jsxs("div", { className: clsx('accordion-item__content'), children: [content && (jsx("div", { className: clsx('accordion-item__content-inner', fillClass && `fill_${fillClass}`), children: jsx(Text, { size: contentTextSize, textColor: contentTextColor, textWeight: contentTextWeight, children: content }) })), children] })), afterContent] }));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
function Accordion(props) {
|
package/dist/components/Chips.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../
|
|
1
|
+
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BrHHulZC.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -5,7 +5,7 @@ import { DateTime } from 'luxon';
|
|
|
5
5
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
8
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BrHHulZC.js';
|
|
9
9
|
import { D as DatePickerInput } from '../DatePicker_es_C8h_4BAl.js';
|
|
10
10
|
import 'react-select';
|
|
11
11
|
import '../Icon_es_CJuX1p1_.js';
|
|
@@ -45072,8 +45072,18 @@ textarea.fill {
|
|
|
45072
45072
|
}
|
|
45073
45073
|
}
|
|
45074
45074
|
/* stylelint-disable order/order */
|
|
45075
|
-
.text,
|
|
45076
|
-
|
|
45075
|
+
.title.text,
|
|
45076
|
+
.title.text-font_print,
|
|
45077
|
+
.title.text.text-font_print,
|
|
45078
|
+
.text,
|
|
45079
|
+
.text-font_print,
|
|
45080
|
+
.text.text-font_print,
|
|
45081
|
+
div.text,
|
|
45082
|
+
div.text-font_print,
|
|
45083
|
+
div.text.text-font_print,
|
|
45084
|
+
div.title.text,
|
|
45085
|
+
div.title.text-font_print,
|
|
45086
|
+
div.title.text.text-font_print {
|
|
45077
45087
|
&-weight {
|
|
45078
45088
|
&_100 {
|
|
45079
45089
|
font-weight: 100;
|
|
@@ -45131,8 +45141,18 @@ textarea.fill {
|
|
|
45131
45141
|
}
|
|
45132
45142
|
}
|
|
45133
45143
|
}
|
|
45134
|
-
.text,
|
|
45135
|
-
|
|
45144
|
+
.title.text,
|
|
45145
|
+
.title.text-font_print,
|
|
45146
|
+
.title.text.text-font_print,
|
|
45147
|
+
.text,
|
|
45148
|
+
.text-font_print,
|
|
45149
|
+
.text.text-font_print,
|
|
45150
|
+
span.text,
|
|
45151
|
+
span.text-font_print,
|
|
45152
|
+
span.text.text-font_print,
|
|
45153
|
+
span.title.text,
|
|
45154
|
+
span.title.text-font_print,
|
|
45155
|
+
span.title.text.text-font_print {
|
|
45136
45156
|
&-weight {
|
|
45137
45157
|
&_100 {
|
|
45138
45158
|
font-weight: 100;
|
|
@@ -45190,8 +45210,18 @@ textarea.fill {
|
|
|
45190
45210
|
}
|
|
45191
45211
|
}
|
|
45192
45212
|
}
|
|
45193
|
-
.text,
|
|
45194
|
-
|
|
45213
|
+
.title.text,
|
|
45214
|
+
.title.text-font_print,
|
|
45215
|
+
.title.text.text-font_print,
|
|
45216
|
+
.text,
|
|
45217
|
+
.text-font_print,
|
|
45218
|
+
.text.text-font_print,
|
|
45219
|
+
li.text,
|
|
45220
|
+
li.text-font_print,
|
|
45221
|
+
li.text.text-font_print,
|
|
45222
|
+
li.title.text,
|
|
45223
|
+
li.title.text-font_print,
|
|
45224
|
+
li.title.text.text-font_print {
|
|
45195
45225
|
&-weight {
|
|
45196
45226
|
&_100 {
|
|
45197
45227
|
font-weight: 100;
|
|
@@ -45344,6 +45374,7 @@ textarea.fill {
|
|
|
45344
45374
|
&_size {
|
|
45345
45375
|
&_xxl {
|
|
45346
45376
|
^^&__header {
|
|
45377
|
+
min-height: var(--accordion-item-header-xxl-min-height);
|
|
45347
45378
|
padding: var(--accordion-item-header-xxl-padding);
|
|
45348
45379
|
gap: var(--accordion-item-header-xxl-gap);
|
|
45349
45380
|
}
|
|
@@ -45355,6 +45386,7 @@ textarea.fill {
|
|
|
45355
45386
|
}
|
|
45356
45387
|
&_xl {
|
|
45357
45388
|
^^&__header {
|
|
45389
|
+
min-height: var(--accordion-item-header-xl-min-height);
|
|
45358
45390
|
padding: var(--accordion-item-header-xl-padding);
|
|
45359
45391
|
gap: var(--accordion-item-header-xl-gap);
|
|
45360
45392
|
}
|
|
@@ -45366,6 +45398,7 @@ textarea.fill {
|
|
|
45366
45398
|
}
|
|
45367
45399
|
&_l {
|
|
45368
45400
|
^^&__header {
|
|
45401
|
+
min-height: var(--accordion-item-header-l-min-height);
|
|
45369
45402
|
padding: var(--accordion-item-header-l-padding);
|
|
45370
45403
|
gap: var(--accordion-item-header-l-gap);
|
|
45371
45404
|
}
|
|
@@ -45377,6 +45410,7 @@ textarea.fill {
|
|
|
45377
45410
|
}
|
|
45378
45411
|
&_m {
|
|
45379
45412
|
^^&__header {
|
|
45413
|
+
min-height: var(--accordion-item-header-m-min-height);
|
|
45380
45414
|
padding: var(--accordion-item-header-m-padding);
|
|
45381
45415
|
gap: var(--accordion-item-header-m-gap);
|
|
45382
45416
|
}
|
|
@@ -45388,6 +45422,7 @@ textarea.fill {
|
|
|
45388
45422
|
}
|
|
45389
45423
|
&_s {
|
|
45390
45424
|
^^&__header {
|
|
45425
|
+
min-height: var(--accordion-item-header-s-min-height);
|
|
45391
45426
|
padding: var(--accordion-item-header-s-padding);
|
|
45392
45427
|
gap: var(--accordion-item-header-s-gap);
|
|
45393
45428
|
}
|
|
@@ -45399,6 +45434,7 @@ textarea.fill {
|
|
|
45399
45434
|
}
|
|
45400
45435
|
&_xs {
|
|
45401
45436
|
^^&__header {
|
|
45437
|
+
min-height: var(--accordion-item-header-xs-min-height);
|
|
45402
45438
|
padding: var(--accordion-item-header-xs-padding);
|
|
45403
45439
|
gap: var(--accordion-item-header-xs-gap);
|
|
45404
45440
|
}
|
|
@@ -45410,6 +45446,7 @@ textarea.fill {
|
|
|
45410
45446
|
}
|
|
45411
45447
|
&_xxs {
|
|
45412
45448
|
^^&__header {
|
|
45449
|
+
min-height: var(--accordion-item-header-xxs-min-height);
|
|
45413
45450
|
padding: var(--accordion-item-header-xxs-padding);
|
|
45414
45451
|
gap: var(--accordion-item-header-xxs-gap);
|
|
45415
45452
|
}
|
|
@@ -45449,6 +45486,14 @@ textarea.fill {
|
|
|
45449
45486
|
--accordion-item-header-xs-padding: 10px 8px;
|
|
45450
45487
|
--accordion-item-header-xxs-padding: 12px;
|
|
45451
45488
|
|
|
45489
|
+
--accordion-item-header-xxl-min-height: 40px;
|
|
45490
|
+
--accordion-item-header-xl-min-height: 40px;
|
|
45491
|
+
--accordion-item-header-l-min-height: 40px;
|
|
45492
|
+
--accordion-item-header-m-min-height: 40px;
|
|
45493
|
+
--accordion-item-header-s-min-height: 40px;
|
|
45494
|
+
--accordion-item-header-xs-min-height: 40px;
|
|
45495
|
+
--accordion-item-header-xxs-min-height: 40px;
|
|
45496
|
+
|
|
45452
45497
|
--accordion-item-header-xxl-gap: 8px;
|
|
45453
45498
|
--accordion-item-header-xl-gap: 8px;
|
|
45454
45499
|
--accordion-item-header-l-gap: 8px;
|
|
@@ -70060,7 +70105,7 @@ h2.react-datepicker__current-month {
|
|
|
70060
70105
|
margin: 0;
|
|
70061
70106
|
@mixin hero_h1;
|
|
70062
70107
|
}
|
|
70063
|
-
&
|
|
70108
|
+
&_h1.text-font_print {
|
|
70064
70109
|
padding: 0;
|
|
70065
70110
|
margin: 0;
|
|
70066
70111
|
@mixin hero_h1-print;
|
|
@@ -70070,7 +70115,7 @@ h2.react-datepicker__current-month {
|
|
|
70070
70115
|
margin: 0;
|
|
70071
70116
|
@mixin hero_h2;
|
|
70072
70117
|
}
|
|
70073
|
-
&
|
|
70118
|
+
&_h2.text-font_print {
|
|
70074
70119
|
padding: 0;
|
|
70075
70120
|
margin: 0;
|
|
70076
70121
|
@mixin hero_h2-print;
|
|
@@ -70080,7 +70125,7 @@ h2.react-datepicker__current-month {
|
|
|
70080
70125
|
margin: 0;
|
|
70081
70126
|
@mixin hero_h3;
|
|
70082
70127
|
}
|
|
70083
|
-
&
|
|
70128
|
+
&_h3.text-font_print {
|
|
70084
70129
|
padding: 0;
|
|
70085
70130
|
margin: 0;
|
|
70086
70131
|
@mixin hero_h3-print;
|
|
@@ -70090,7 +70135,7 @@ h2.react-datepicker__current-month {
|
|
|
70090
70135
|
margin: 0;
|
|
70091
70136
|
@mixin hero_h4;
|
|
70092
70137
|
}
|
|
70093
|
-
&
|
|
70138
|
+
&_h4.text-font_print {
|
|
70094
70139
|
padding: 0;
|
|
70095
70140
|
margin: 0;
|
|
70096
70141
|
@mixin hero_h4-print;
|
|
@@ -70100,7 +70145,7 @@ h2.react-datepicker__current-month {
|
|
|
70100
70145
|
margin: 0;
|
|
70101
70146
|
@mixin hero_h5;
|
|
70102
70147
|
}
|
|
70103
|
-
&
|
|
70148
|
+
&_h5.text-font_print {
|
|
70104
70149
|
padding: 0;
|
|
70105
70150
|
margin: 0;
|
|
70106
70151
|
@mixin hero_h5-print;
|
|
@@ -70110,7 +70155,7 @@ h2.react-datepicker__current-month {
|
|
|
70110
70155
|
margin: 0;
|
|
70111
70156
|
@mixin hero_h6;
|
|
70112
70157
|
}
|
|
70113
|
-
&
|
|
70158
|
+
&_h6.text-font_print {
|
|
70114
70159
|
padding: 0;
|
|
70115
70160
|
margin: 0;
|
|
70116
70161
|
@mixin hero_h6-print;
|
|
@@ -99314,7 +99359,7 @@ div.swiper-pagination {
|
|
|
99314
99359
|
margin: 0;
|
|
99315
99360
|
@mixin text-xxl;
|
|
99316
99361
|
}
|
|
99317
|
-
&_xxl-
|
|
99362
|
+
&_xxl.text-font_print {
|
|
99318
99363
|
padding: 0;
|
|
99319
99364
|
margin: 0;
|
|
99320
99365
|
@mixin text-xxl-print;
|
|
@@ -99324,7 +99369,7 @@ div.swiper-pagination {
|
|
|
99324
99369
|
margin: 0;
|
|
99325
99370
|
@mixin text-xl;
|
|
99326
99371
|
}
|
|
99327
|
-
&_xl-
|
|
99372
|
+
&_xl.text-font_print {
|
|
99328
99373
|
padding: 0;
|
|
99329
99374
|
margin: 0;
|
|
99330
99375
|
@mixin text-xl-print;
|
|
@@ -99334,7 +99379,7 @@ div.swiper-pagination {
|
|
|
99334
99379
|
margin: 0;
|
|
99335
99380
|
@mixin text-l;
|
|
99336
99381
|
}
|
|
99337
|
-
&_l-
|
|
99382
|
+
&_l.text-font_print {
|
|
99338
99383
|
padding: 0;
|
|
99339
99384
|
margin: 0;
|
|
99340
99385
|
@mixin text-l-print;
|
|
@@ -99344,7 +99389,7 @@ div.swiper-pagination {
|
|
|
99344
99389
|
margin: 0;
|
|
99345
99390
|
@mixin text-m;
|
|
99346
99391
|
}
|
|
99347
|
-
&_m-
|
|
99392
|
+
&_m.text-font_print {
|
|
99348
99393
|
padding: 0;
|
|
99349
99394
|
margin: 0;
|
|
99350
99395
|
@mixin text-m-print;
|
|
@@ -99354,7 +99399,7 @@ div.swiper-pagination {
|
|
|
99354
99399
|
margin: 0;
|
|
99355
99400
|
@mixin text-s;
|
|
99356
99401
|
}
|
|
99357
|
-
&_s-
|
|
99402
|
+
&_s.text-font_print {
|
|
99358
99403
|
padding: 0;
|
|
99359
99404
|
margin: 0;
|
|
99360
99405
|
@mixin text-s-print;
|
|
@@ -99364,7 +99409,7 @@ div.swiper-pagination {
|
|
|
99364
99409
|
margin: 0;
|
|
99365
99410
|
@mixin text-xs;
|
|
99366
99411
|
}
|
|
99367
|
-
&_xs-
|
|
99412
|
+
&_xs.text-font_print {
|
|
99368
99413
|
padding: 0;
|
|
99369
99414
|
margin: 0;
|
|
99370
99415
|
@mixin text-xs-print;
|
|
@@ -99374,7 +99419,7 @@ div.swiper-pagination {
|
|
|
99374
99419
|
margin: 0;
|
|
99375
99420
|
@mixin text-xxs;
|
|
99376
99421
|
}
|
|
99377
|
-
&_xxs-
|
|
99422
|
+
&_xxs.text-font_print {
|
|
99378
99423
|
padding: 0;
|
|
99379
99424
|
margin: 0;
|
|
99380
99425
|
@mixin text-xxs-print;
|
|
@@ -99384,7 +99429,7 @@ div.swiper-pagination {
|
|
|
99384
99429
|
margin: 0;
|
|
99385
99430
|
@mixin h1;
|
|
99386
99431
|
}
|
|
99387
|
-
&_h1-
|
|
99432
|
+
&_h1.text-font_print {
|
|
99388
99433
|
padding: 0;
|
|
99389
99434
|
margin: 0;
|
|
99390
99435
|
@mixin h1-print;
|
|
@@ -99394,7 +99439,7 @@ div.swiper-pagination {
|
|
|
99394
99439
|
margin: 0;
|
|
99395
99440
|
@mixin h2;
|
|
99396
99441
|
}
|
|
99397
|
-
&_h2-
|
|
99442
|
+
&_h2.text-font_print {
|
|
99398
99443
|
padding: 0;
|
|
99399
99444
|
margin: 0;
|
|
99400
99445
|
@mixin h2-print;
|
|
@@ -99404,7 +99449,7 @@ div.swiper-pagination {
|
|
|
99404
99449
|
margin: 0;
|
|
99405
99450
|
@mixin h3;
|
|
99406
99451
|
}
|
|
99407
|
-
&_h3-
|
|
99452
|
+
&_h3.text-font_print {
|
|
99408
99453
|
padding: 0;
|
|
99409
99454
|
margin: 0;
|
|
99410
99455
|
@mixin h3-print;
|
|
@@ -99414,7 +99459,7 @@ div.swiper-pagination {
|
|
|
99414
99459
|
margin: 0;
|
|
99415
99460
|
@mixin h4;
|
|
99416
99461
|
}
|
|
99417
|
-
&_h4-
|
|
99462
|
+
&_h4.text-font_print {
|
|
99418
99463
|
padding: 0;
|
|
99419
99464
|
margin: 0;
|
|
99420
99465
|
@mixin h4-print;
|
|
@@ -99424,7 +99469,7 @@ div.swiper-pagination {
|
|
|
99424
99469
|
margin: 0;
|
|
99425
99470
|
@mixin h5;
|
|
99426
99471
|
}
|
|
99427
|
-
&_h5-
|
|
99472
|
+
&_h5.text-font_print {
|
|
99428
99473
|
padding: 0;
|
|
99429
99474
|
margin: 0;
|
|
99430
99475
|
@mixin h5-print;
|
|
@@ -99434,7 +99479,7 @@ div.swiper-pagination {
|
|
|
99434
99479
|
margin: 0;
|
|
99435
99480
|
@mixin h6;
|
|
99436
99481
|
}
|
|
99437
|
-
&_h6-
|
|
99482
|
+
&_h6.text-font_print {
|
|
99438
99483
|
padding: 0;
|
|
99439
99484
|
margin: 0;
|
|
99440
99485
|
@mixin h6-print;
|
|
@@ -99444,7 +99489,7 @@ div.swiper-pagination {
|
|
|
99444
99489
|
margin: 0;
|
|
99445
99490
|
@mixin p;
|
|
99446
99491
|
}
|
|
99447
|
-
&_p-
|
|
99492
|
+
&_p.text-font_print {
|
|
99448
99493
|
padding: 0;
|
|
99449
99494
|
margin: 0;
|
|
99450
99495
|
@mixin p-print;
|
|
@@ -99766,7 +99811,7 @@ div.swiper-pagination {
|
|
|
99766
99811
|
gap: var(--title-size-h1-gap);
|
|
99767
99812
|
}
|
|
99768
99813
|
}
|
|
99769
|
-
&_h1-
|
|
99814
|
+
&_h1.text-font_print {
|
|
99770
99815
|
padding: 0;
|
|
99771
99816
|
margin: 0;
|
|
99772
99817
|
display: flex;
|
|
@@ -99786,7 +99831,7 @@ div.swiper-pagination {
|
|
|
99786
99831
|
gap: var(--title-size-h2-gap);
|
|
99787
99832
|
}
|
|
99788
99833
|
}
|
|
99789
|
-
&_h2-
|
|
99834
|
+
&_h2.text-font_print {
|
|
99790
99835
|
padding: 0;
|
|
99791
99836
|
margin: 0;
|
|
99792
99837
|
display: flex;
|
|
@@ -99806,7 +99851,7 @@ div.swiper-pagination {
|
|
|
99806
99851
|
gap: var(--title-size-h3-gap);
|
|
99807
99852
|
}
|
|
99808
99853
|
}
|
|
99809
|
-
&_h3-
|
|
99854
|
+
&_h3.text-font_print {
|
|
99810
99855
|
padding: 0;
|
|
99811
99856
|
margin: 0;
|
|
99812
99857
|
display: flex;
|
|
@@ -99826,7 +99871,7 @@ div.swiper-pagination {
|
|
|
99826
99871
|
gap: var(--title-size-h4-gap);
|
|
99827
99872
|
}
|
|
99828
99873
|
}
|
|
99829
|
-
&_h4-
|
|
99874
|
+
&_h4.text-font_print {
|
|
99830
99875
|
padding: 0;
|
|
99831
99876
|
margin: 0;
|
|
99832
99877
|
display: flex;
|
|
@@ -99846,7 +99891,7 @@ div.swiper-pagination {
|
|
|
99846
99891
|
gap: var(--title-size-h5-gap);
|
|
99847
99892
|
}
|
|
99848
99893
|
}
|
|
99849
|
-
&_h5-
|
|
99894
|
+
&_h5.text-font_print {
|
|
99850
99895
|
padding: 0;
|
|
99851
99896
|
margin: 0;
|
|
99852
99897
|
display: flex;
|
|
@@ -99866,7 +99911,7 @@ div.swiper-pagination {
|
|
|
99866
99911
|
gap: var(--title-size-h6-gap);
|
|
99867
99912
|
}
|
|
99868
99913
|
}
|
|
99869
|
-
&_h6-
|
|
99914
|
+
&_h6.text-font_print {
|
|
99870
99915
|
padding: 0;
|
|
99871
99916
|
margin: 0;
|
|
99872
99917
|
display: flex;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
declare const chipsAppearanceAccent: {
|
|
2
|
-
accent: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
borderColor: string;
|
|
7
|
-
};
|
|
8
2
|
accentMutedPrimary: {
|
|
9
3
|
fill: string;
|
|
10
4
|
fillHover: string;
|
|
@@ -15,10 +9,15 @@ declare const chipsAppearanceAccent: {
|
|
|
15
9
|
};
|
|
16
10
|
accentPrimary: {
|
|
17
11
|
fill: string;
|
|
12
|
+
fillActive: string;
|
|
13
|
+
fillActiveHover: string;
|
|
18
14
|
fillHover: string;
|
|
15
|
+
labelTextActiveColor: string;
|
|
19
16
|
labelTextColor: string;
|
|
20
17
|
borderColor: string;
|
|
18
|
+
iconAfterFillActiveIcon: string;
|
|
21
19
|
iconAfterFillIcon: string;
|
|
20
|
+
iconBeforeFillActiveIcon: string;
|
|
22
21
|
iconBeforeFillIcon: string;
|
|
23
22
|
};
|
|
24
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.17",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
"@itcase/common": "^1.2.34",
|
|
105
105
|
"@itcase/icons": "^1.2.23",
|
|
106
106
|
"@itcase/storybook-config": "^1.2.28",
|
|
107
|
-
"@itcase/tokens-am": "^1.1.
|
|
108
|
-
"@itcase/tokens-baikal": "^1.1.
|
|
109
|
-
"@itcase/tokens-palette": "^1.1.
|
|
107
|
+
"@itcase/tokens-am": "^1.1.35",
|
|
108
|
+
"@itcase/tokens-baikal": "^1.1.35",
|
|
109
|
+
"@itcase/tokens-palette": "^1.1.35",
|
|
110
110
|
"clsx": "^2.1.1",
|
|
111
111
|
"date-fns": "^4.1.0",
|
|
112
112
|
"framer-motion": "^12.23.24",
|