@itcase/ui 1.8.86 → 1.8.88
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_D8sqd5K7.js → Avatar_cjs_CoDaXDKy.js} +1 -1
- package/dist/{Avatar_es_-Bpxwi6_.js → Avatar_es_DUtgRVQ7.js} +1 -1
- package/dist/{Button_cjs_BG6t5BXg.js → Button_cjs_Crmtn084.js} +1 -1
- package/dist/{Button_es_CAxHI9Qd.js → Button_es_BTidGO25.js} +1 -1
- package/dist/{ChipsGroup_cjs_DlU08Wik.js → ChipsGroup_cjs_BfzeDpwM.js} +1 -1
- package/dist/{ChipsGroup_es_BcYHhSiE.js → ChipsGroup_es_tfEKBIc4.js} +1 -1
- package/dist/{DatePicker_cjs_BFT9fj8A.js → DatePicker_cjs_DGlgp1Oj.js} +3 -3
- package/dist/{DatePicker_es_C1ykgFhq.js → DatePicker_es_6j1FwGTI.js} +3 -3
- package/dist/{DropdownItem_cjs_ETiDwbCM.js → DropdownItem_cjs_eiWqrFRW.js} +1 -1
- package/dist/{DropdownItem_es_DD5Tgd3Z.js → DropdownItem_es_CHGCRZt0.js} +1 -1
- package/dist/{Label_cjs_LEuuFaN-.js → Label_cjs_CFzGH1Ah.js} +1 -1
- package/dist/{Label_es_Bfi00e0G.js → Label_es_D-tO6hy7.js} +1 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Checkbox.js +48 -35
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Switch.js +11 -11
- package/dist/cjs/components/Tab.js +1 -1
- 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 +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Checkbox.js +48 -35
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +2 -2
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Switch.js +11 -11
- package/dist/components/Tab.js +1 -1
- 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/Checkbox/Checkbox.css +22 -16
- package/dist/css/components/Code/Code.css +2 -1
- package/dist/css/components/Switch/Switch.css +16 -27
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +4 -4
- package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +11 -7
- package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +8 -3
- package/dist/types/components/Checkbox/appearance/checkboxStyle.d.ts +6 -4
- package/dist/types/components/Checkbox/appearance/checkboxSuccess.d.ts +11 -7
- package/dist/types/components/Switch/appearance/switchStyle.d.ts +5 -5
- package/package.json +2 -2
- package/dist/{Icon_cjs_DP41Z8bS.js → Icon_cjs_CdFkbmKN.js} +4 -4
- package/dist/{Icon_es_-iRj1sFG.js → Icon_es_BpZIoe9M.js} +4 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var Select = require('react-select');
|
|
6
|
-
var Icon = require('../../
|
|
6
|
+
var Icon = require('../../Icon_cjs_CdFkbmKN.js');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var CreatableSelect = require('react-select/creatable');
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var react = require('swiper/react');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
9
|
-
var Icon = require('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_CdFkbmKN.js');
|
|
10
10
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
11
11
|
require('lodash/camelCase');
|
|
12
12
|
require('lodash/castArray');
|
|
@@ -84,17 +84,17 @@ var switchAppearanceSize = {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
var switchAppearanceStyle = {
|
|
87
|
-
|
|
87
|
+
solid: {
|
|
88
88
|
borderColor: 'none',
|
|
89
89
|
},
|
|
90
|
-
|
|
90
|
+
outlined: {
|
|
91
91
|
fill: 'none',
|
|
92
|
+
},
|
|
93
|
+
full: {
|
|
92
94
|
borderColor: 'none',
|
|
93
95
|
},
|
|
94
|
-
|
|
96
|
+
ghost: {
|
|
95
97
|
fill: 'none',
|
|
96
|
-
},
|
|
97
|
-
solid: {
|
|
98
98
|
borderColor: 'none',
|
|
99
99
|
},
|
|
100
100
|
};
|
|
@@ -119,20 +119,20 @@ var switchConfig = {
|
|
|
119
119
|
},
|
|
120
120
|
};
|
|
121
121
|
var Switch = React.forwardRef(function Switch(props, ref) {
|
|
122
|
-
var id = props.id, className = props.className, appearance = props.appearance, _a = props.align, align = _a === void 0 ? 'left' : _a, title = props.title, desc = props.desc, isDisabled = props.isDisabled,
|
|
122
|
+
var id = props.id, className = props.className, appearance = props.appearance, _a = props.align, align = _a === void 0 ? 'left' : _a, title = props.title, desc = props.desc, isDisabled = props.isDisabled, isActive = props.isActive, onChange = props.onChange;
|
|
123
123
|
var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, switchConfig);
|
|
124
124
|
var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
125
125
|
var size = propsGenerator.size, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, fillToggleActiveClass = propsGenerator.fillToggleActiveClass, fillToggleActiveHoverClass = propsGenerator.fillToggleActiveHoverClass, fillToggleClass = propsGenerator.fillToggleClass, fillToggleHoverClass = propsGenerator.fillToggleHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize;
|
|
126
|
-
return (jsxRuntime.jsxs("div", { className: clsx('switch', className, align && "switch_align_".concat(align), size && "switch_size_".concat(size)), children: [title && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc })), jsxRuntime.jsxs("div", { className: 'switch__item', children: [jsxRuntime.jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
|
|
126
|
+
return (jsxRuntime.jsxs("div", { className: clsx('switch', className, align && "switch_align_".concat(align), size && "switch_size_".concat(size)), children: [jsxRuntime.jsxs("div", { className: "switch__wrapper", children: [title && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), jsxRuntime.jsxs("div", { className: 'switch__item', children: [jsxRuntime.jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
|
|
127
127
|
// @ts-expect-error
|
|
128
|
-
ref: ref, onChange: onChange }), jsxRuntime.jsx("div", { className: clsx('switch__bg', !isActive
|
|
128
|
+
ref: ref, disabled: isDisabled && 'disabled', checked: isActive && 'checked', onChange: onChange }), jsxRuntime.jsx("div", { className: clsx('switch__bg', !isActive
|
|
129
129
|
? fillClass && "fill_".concat(fillClass)
|
|
130
|
-
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
130
|
+
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
131
131
|
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
|
132
132
|
: fillActiveHoverClass &&
|
|
133
|
-
"fill_active_hover_".concat(fillActiveHoverClass)), children: "\u00A0" }), jsxRuntime.jsx("div", { className: clsx('switch__toggle', !isActive
|
|
133
|
+
"fill_active_hover_".concat(fillActiveHoverClass)), children: "\u00A0" }), jsxRuntime.jsx("div", { className: clsx('switch__toggle', !isActive
|
|
134
134
|
? fillToggleClass && "fill_".concat(fillToggleClass)
|
|
135
|
-
: fillToggleActiveClass && "fill_active_".concat(fillToggleActiveClass), !isActive
|
|
135
|
+
: fillToggleActiveClass && "fill_active_".concat(fillToggleActiveClass), !isActive
|
|
136
136
|
? fillToggleHoverClass && "fill_hover_".concat(fillToggleHoverClass)
|
|
137
137
|
: fillToggleActiveHoverClass &&
|
|
138
138
|
"fill_active_hover_".concat(fillToggleActiveHoverClass)), children: "\u00A0" })] })] }));
|
|
@@ -6,7 +6,7 @@ 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('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_CdFkbmKN.js');
|
|
10
10
|
var Divider = require('../../Divider_cjs_rxMMBfLC.js');
|
|
11
11
|
var Link = require('../../Link_cjs_BqT6eVl6.js');
|
|
12
12
|
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
@@ -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 Icon = require('../../
|
|
8
|
+
var Icon = require('../../Icon_cjs_CdFkbmKN.js');
|
|
9
9
|
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
10
10
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
11
11
|
require('react');
|
|
@@ -3,7 +3,7 @@
|
|
|
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_CdFkbmKN.js');
|
|
7
7
|
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
@@ -6,7 +6,7 @@ import castArray from 'lodash/castArray';
|
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
|
-
import { B as Badge, I as Icon } from '../
|
|
9
|
+
import { B as Badge, I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
10
10
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
12
12
|
import { icons16 } from '@itcase/icons/default';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../
|
|
1
|
+
export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_DUtgRVQ7.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -15,7 +15,7 @@ import '../context/UIContext.js';
|
|
|
15
15
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
|
-
import '../
|
|
18
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
19
19
|
import 'react-inlinesvg';
|
|
20
20
|
import '../hoc/urlWithAssetPrefix.js';
|
|
21
21
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -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 { A as Avatar } from '../
|
|
6
|
+
import { A as Avatar } from '../Avatar_es_DUtgRVQ7.js';
|
|
7
7
|
import { G as Group } from '../Group_es_Bo7Y6JwT.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -20,7 +20,7 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
25
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
26
|
import '../context/UrlAssetPrefix.js';
|
package/dist/components/Badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../
|
|
1
|
+
export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../Icon_es_BpZIoe9M.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
8
8
|
import { a as LinkWrapper } from '../Link_es_BnUIX0QT.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { B as Button, a as buttonAppearance, b as buttonConfig } from '../
|
|
1
|
+
export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_BTidGO25.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
-
import '../
|
|
5
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
6
6
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react-inlinesvg';
|
|
8
8
|
import '../hoc/urlWithAssetPrefix.js';
|
package/dist/components/Cell.js
CHANGED
|
@@ -3,8 +3,8 @@ 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 } from '../
|
|
7
|
-
import { L as Label } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
7
|
+
import { L as Label } from '../Label_es_D-tO6hy7.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'react';
|
|
@@ -21,8 +21,8 @@ import '../hooks/useStyles/styleAttributes.js';
|
|
|
21
21
|
|
|
22
22
|
var checkboxAppearanceDefault = {
|
|
23
23
|
defaultPrimary: {
|
|
24
|
-
fillCheckbox: '
|
|
25
|
-
fillCheckboxActive: '
|
|
24
|
+
fillCheckbox: 'surfaceSecondary',
|
|
25
|
+
fillCheckboxActive: 'surfaceSecondary',
|
|
26
26
|
fillCheckboxActiveHover: 'surfaceTertiary',
|
|
27
27
|
fillCheckboxHover: 'surfaceTertiary',
|
|
28
28
|
fillCheckmark: 'surfaceBorderPrimary',
|
|
@@ -82,13 +82,17 @@ var checkboxAppearanceError = {
|
|
|
82
82
|
|
|
83
83
|
var checkboxAppearanceRequire = {
|
|
84
84
|
requirePrimary: {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
fillCheckbox: 'warningTertiary',
|
|
86
|
+
fillCheckboxActive: 'warningPrimary',
|
|
87
|
+
fillCheckboxActiveHover: 'warningTertiary',
|
|
88
|
+
fillCheckboxHover: 'warningTertiary',
|
|
89
|
+
fillCheckmark: 'warningBorderPrimary',
|
|
90
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
91
|
+
descTextColor: 'surfaceTextPrimary',
|
|
92
|
+
borderColorCheckbox: 'warningBorderPrimary',
|
|
93
|
+
borderColorCheckboxActive: 'warningBorderPrimary',
|
|
94
|
+
borderColorCheckboxActiveHover: 'warningBorderPrimary',
|
|
95
|
+
borderColorCheckboxHover: 'warningBorderPrimary',
|
|
92
96
|
},
|
|
93
97
|
requireSecondary: {
|
|
94
98
|
fill: 'surfaceSecondary',
|
|
@@ -101,56 +105,65 @@ var checkboxAppearanceRequire = {
|
|
|
101
105
|
};
|
|
102
106
|
|
|
103
107
|
var checkboxAppearanceSize = {
|
|
108
|
+
sizeXL: {
|
|
109
|
+
size: 'xl',
|
|
110
|
+
labelTextSize: 'm',
|
|
111
|
+
descTextSize: 'xs',
|
|
112
|
+
},
|
|
113
|
+
sizeL: {
|
|
114
|
+
size: 'l',
|
|
115
|
+
labelTextSize: 'm',
|
|
116
|
+
descTextSize: 'xs',
|
|
117
|
+
},
|
|
104
118
|
sizeM: {
|
|
105
119
|
size: 'm',
|
|
106
120
|
labelTextSize: 'm',
|
|
107
121
|
descTextSize: 'xs',
|
|
108
122
|
},
|
|
109
|
-
|
|
123
|
+
sizeS: {
|
|
110
124
|
size: 'xs',
|
|
111
125
|
labelTextSize: 's',
|
|
112
126
|
descTextSize: 'xs',
|
|
113
127
|
},
|
|
114
|
-
sizeXXS: {
|
|
115
|
-
size: 'xxs',
|
|
116
|
-
labelTextSize: 's',
|
|
117
|
-
descTextSize: 'xs',
|
|
118
|
-
},
|
|
119
128
|
};
|
|
120
129
|
|
|
121
130
|
var checkboxAppearanceStyle = {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
ghost: {
|
|
126
|
-
fill: 'none',
|
|
127
|
-
borderWidth: '0',
|
|
131
|
+
solid: {
|
|
132
|
+
borderColorCheckbox: 'none',
|
|
133
|
+
borderWidth: 'none',
|
|
128
134
|
},
|
|
129
135
|
outlined: {
|
|
130
136
|
fill: 'none',
|
|
131
137
|
},
|
|
132
|
-
|
|
133
|
-
|
|
138
|
+
full: {},
|
|
139
|
+
ghost: {
|
|
140
|
+
fill: 'none',
|
|
141
|
+
borderColorCheckbox: 'none',
|
|
142
|
+
borderWidth: 'none',
|
|
134
143
|
},
|
|
135
144
|
};
|
|
136
145
|
|
|
137
146
|
var checkboxAppearanceSuccess = {
|
|
138
147
|
successPrimary: {
|
|
139
|
-
|
|
140
|
-
|
|
148
|
+
fillCheckbox: 'successPrimary',
|
|
149
|
+
fillCheckboxActive: 'successPrimary',
|
|
150
|
+
fillCheckboxActiveHover: 'successTertiary',
|
|
151
|
+
fillCheckboxHover: 'successTertiary',
|
|
152
|
+
fillCheckmark: 'successBorderPrimary',
|
|
153
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
154
|
+
descTextColor: 'surfaceTextPrimary',
|
|
155
|
+
borderColorCheckbox: 'successBorderPrimary',
|
|
156
|
+
borderColorCheckboxActive: 'successBorderPrimary',
|
|
157
|
+
borderColorCheckboxActiveHover: 'successBorderPrimary',
|
|
158
|
+
borderColorCheckboxHover: 'successBorderPrimary',
|
|
159
|
+
},
|
|
160
|
+
successSecondary: {
|
|
161
|
+
fill: 'successSecondary',
|
|
162
|
+
borderColor: 'successBorderTertiary',
|
|
141
163
|
borderHover: 'successBorderQuaternary',
|
|
142
|
-
textColor: 'surfaceTextPrimary',
|
|
143
164
|
iconBeforeFill: 'successItemQuaternary',
|
|
144
165
|
iconClearFill: 'successItemPrimary',
|
|
145
|
-
placeholderTextColor: '
|
|
146
|
-
},
|
|
147
|
-
successSecondary: {
|
|
148
|
-
fill: 'surfaceSecondary',
|
|
149
|
-
borderColor: 'surfaceBorderTertiary',
|
|
150
|
-
borderHover: 'surfaceBorderQuaternary',
|
|
151
|
-
iconBeforeFill: 'surfaceItemQuaternary',
|
|
152
|
-
iconClearFill: 'surfaceItemPrimary',
|
|
153
|
-
placeholderTextColor: 'surfaceTextSecondary',
|
|
166
|
+
placeholderTextColor: 'successTextSecondary',
|
|
154
167
|
},
|
|
155
168
|
};
|
|
156
169
|
|
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_tfEKBIc4.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -18,7 +18,7 @@ import '../utils/setViewportProperty.js';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -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 } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
8
8
|
import { L as Loader } from '../Loader_es_DhNCKZ8Y.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { B as Button } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_BTidGO25.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -17,7 +17,7 @@ import '../context/UIContext.js';
|
|
|
17
17
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
18
18
|
import 'react-responsive';
|
|
19
19
|
import '../utils/setViewportProperty.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -2,10 +2,10 @@ 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_6j1FwGTI.js';
|
|
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_tfEKBIc4.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import 'react-datepicker';
|
|
@@ -20,8 +20,8 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
20
20
|
import 'react-responsive';
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_BTidGO25.js';
|
|
24
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -29,7 +29,7 @@ import '../Link_es_BnUIX0QT.js';
|
|
|
29
29
|
import '../Text_es_BvmOR4nv.js';
|
|
30
30
|
import '../Loader_es_DhNCKZ8Y.js';
|
|
31
31
|
import '../Input_es_l3ry6luZ.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_D-tO6hy7.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_6j1FwGTI.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -20,8 +20,8 @@ import '../utils/setViewportProperty.js';
|
|
|
20
20
|
import '../hooks/useStyles/useStyles.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_BTidGO25.js';
|
|
24
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -29,5 +29,5 @@ import '../Link_es_BnUIX0QT.js';
|
|
|
29
29
|
import '../Text_es_BvmOR4nv.js';
|
|
30
30
|
import '../Loader_es_DhNCKZ8Y.js';
|
|
31
31
|
import '../Input_es_l3ry6luZ.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_D-tO6hy7.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
@@ -3,7 +3,7 @@ import { useRef, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
5
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
6
|
-
import { I as Icon, b as Title } from '../
|
|
6
|
+
import { I as Icon, b as Title } from '../Icon_es_BpZIoe9M.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
9
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_CHGCRZt0.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -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 } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Icon.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useState, useMemo, useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_D-tO6hy7.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,7 +18,7 @@ import '../utils/setViewportProperty.js';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -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_BpZIoe9M.js';
|
|
8
8
|
import { L as Link } from '../Link_es_BnUIX0QT.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
package/dist/components/Modal.js
CHANGED
|
@@ -5,7 +5,7 @@ import ReactDOM from 'react-dom';
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { b as Title, I as Icon } from '../
|
|
8
|
+
import { b as Title, I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
9
9
|
import { O as Overlay } from '../Overlay_es_BvehRqIP.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons24, icons40 } from '@itcase/icons/default';
|
|
@@ -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 } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import { icons20 } from '@itcase/icons/default';
|
|
@@ -6,8 +6,8 @@ import ReactPaginate from 'react-paginate';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_CHGCRZt0.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
12
12
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
13
13
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
@@ -7,7 +7,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
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 '../
|
|
10
|
+
import { B as Button } from '../Button_es_BTidGO25.js';
|
|
11
11
|
import { G as Group } from '../Group_es_Bo7Y6JwT.js';
|
|
12
12
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
13
13
|
import '@itcase/common';
|
|
@@ -23,7 +23,7 @@ import 'react-responsive';
|
|
|
23
23
|
import '../utils/setViewportProperty.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Icon_es_BpZIoe9M.js';
|
|
27
27
|
import 'react-inlinesvg';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
29
|
import '../Loader_es_DhNCKZ8Y.js';
|
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { I as Icon } from '../
|
|
9
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
11
11
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon, B as Badge } from '../
|
|
4
|
+
import { I as Icon, B as Badge } from '../Icon_es_BpZIoe9M.js';
|
|
5
5
|
import React, { useRef, useCallback, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Icon_es_BpZIoe9M.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|