@itcase/ui 1.2.28 → 1.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Badge-CrhdvxY6.js → Badge-BZYBmgBK.js} +4 -7
- package/dist/{Badge-2JkquAEb.js → Badge-TyPbVqR_.js} +4 -7
- package/dist/{Button-COsywjkv.js → Button-BcOsYgoT.js} +5 -4
- package/dist/{Button-C0M-Ap20.js → Button-avhviao1.js} +6 -5
- package/dist/{DropdownItem-D0dOP4NL.js → DropdownItem-CFkRx8LX.js} +2 -2
- package/dist/{DropdownItem-D52wxY6I.js → DropdownItem-toApJyeB.js} +1 -1
- package/dist/{Group-B2oTJg0t.js → Group-BiN0haVp.js} +2 -1
- package/dist/{Group-CVUfaHaS.js → Group-Dc70Z4_7.js} +2 -1
- package/dist/{Icon-CkynFJm4.js → Icon-B2BwTQnP.js} +3 -2
- package/dist/{Icon-CliIEdbp.js → Icon-ClsRaxDk.js} +4 -3
- package/dist/{Input-BSpFMsrf.js → Input-BaicBuyd.js} +4 -4
- package/dist/{Input-UkM-ag48.js → Input-DbzsXvEf.js} +4 -4
- package/dist/{Label-ukXod6pv.js → Label-BfotYOmD.js} +7 -6
- package/dist/{Label-BPP0om7_.js → Label-fp2Bus_T.js} +7 -6
- package/dist/{Link-CeQuavin.js → Link-CzC1kU5C.js} +1 -1
- package/dist/{Loader-CJ8ZCdwy.js → Loader-CU_5Ydmy.js} +4 -3
- package/dist/{Loader-fA11tUEJ.js → Loader-Ck59IXGG.js} +4 -3
- package/dist/{MenuItem-BL6WBNjL.js → MenuItem-BEYVY0Vf.js} +8 -7
- package/dist/{MenuItem-B5ypY7Uo.js → MenuItem-BJ3uGKCH.js} +7 -6
- package/dist/{Text-_YhyTsQ1.js → Text-CC0xnhmx.js} +4 -3
- package/dist/{Text-CG3xPG27.js → Text-kxGZButz.js} +4 -3
- package/dist/{Title-CqwqEtm7.js → Title-CQ_Fr1hO.js} +4 -3
- package/dist/{Title-B-N0qkn3.js → Title-Ze_OL1Co.js} +4 -3
- package/dist/{Tooltip-DsTCGS6h.js → Tooltip-PrwacZFC.js} +5 -4
- package/dist/{Tooltip-B2vv4OAX.js → Tooltip-ccRCMYQM.js} +5 -4
- package/dist/appearance/Badge.js +44 -0
- package/dist/appearance/Button.js +53 -0
- package/dist/appearance/Checkbox.js +21 -0
- package/dist/appearance/Chips.js +40 -0
- package/dist/appearance/Choice.js +15 -0
- package/dist/appearance/DatePicker.js +5 -0
- package/dist/appearance/Group.js +11 -0
- package/dist/appearance/Icon.js +12 -0
- package/dist/appearance/Input.js +56 -0
- package/dist/appearance/InputPassword.js +55 -0
- package/dist/appearance/Label.js +54 -0
- package/dist/appearance/Loader.js +28 -0
- package/dist/appearance/MenuItem.js +10 -0
- package/dist/appearance/Notification.js +34 -0
- package/dist/appearance/Radio.js +20 -0
- package/dist/appearance/Response.js +92 -0
- package/dist/appearance/Search.js +11 -0
- package/dist/appearance/Segmented.js +14 -0
- package/dist/appearance/Select.js +24 -0
- package/dist/appearance/Tab.js +118 -0
- package/dist/appearance/Text.js +8 -0
- package/dist/appearance/Textarea.js +56 -0
- package/dist/appearance/Title.js +7 -0
- package/dist/appearance/Tooltip.js +19 -0
- package/dist/cjs/appearance/Badge.js +46 -0
- package/dist/cjs/appearance/Button.js +55 -0
- package/dist/cjs/appearance/Checkbox.js +24 -0
- package/dist/cjs/appearance/Chips.js +42 -0
- package/dist/cjs/appearance/Choice.js +17 -0
- package/dist/cjs/appearance/DatePicker.js +7 -0
- package/dist/cjs/appearance/Group.js +13 -0
- package/dist/cjs/appearance/Icon.js +14 -0
- package/dist/cjs/appearance/Input.js +59 -0
- package/dist/cjs/appearance/InputPassword.js +58 -0
- package/dist/cjs/appearance/Label.js +56 -0
- package/dist/cjs/appearance/Loader.js +30 -0
- package/dist/cjs/appearance/MenuItem.js +12 -0
- package/dist/cjs/appearance/Notification.js +36 -0
- package/dist/cjs/appearance/Radio.js +23 -0
- package/dist/cjs/appearance/Response.js +94 -0
- package/dist/cjs/appearance/Search.js +13 -0
- package/dist/cjs/appearance/Segmented.js +16 -0
- package/dist/cjs/appearance/Select.js +26 -0
- package/dist/cjs/appearance/Tab.js +120 -0
- package/dist/cjs/appearance/Text.js +10 -0
- package/dist/cjs/appearance/Textarea.js +59 -0
- package/dist/cjs/appearance/Title.js +9 -0
- package/dist/cjs/appearance/Tooltip.js +21 -0
- package/dist/cjs/components/Accordion.js +8 -4
- package/dist/cjs/components/Avatar.js +8 -4
- package/dist/cjs/components/Badge.js +4 -2
- package/dist/cjs/components/Breadcrumbs.js +8 -4
- package/dist/cjs/components/Button.js +12 -6
- package/dist/cjs/components/Card.js +2 -1
- package/dist/cjs/components/Cell.js +10 -5
- package/dist/cjs/components/Checkbox.js +8 -7
- package/dist/cjs/components/Chips.js +5 -4
- package/dist/cjs/components/Choice.js +13 -8
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/ContextMenu.js +8 -4
- package/dist/cjs/components/CookiesWarning.js +14 -7
- package/dist/cjs/components/DadataHintField.js +2 -1
- package/dist/cjs/components/DatePicker.js +38 -16
- package/dist/cjs/components/Dropdown.js +3 -2
- package/dist/cjs/components/Group.js +2 -1
- package/dist/cjs/components/Icon.js +8 -4
- package/dist/cjs/components/Input.js +2 -1
- package/dist/cjs/components/InputPassword.js +12 -6
- package/dist/cjs/components/Label.js +8 -4
- package/dist/cjs/components/LanguageSelector.js +8 -4
- package/dist/cjs/components/Loader.js +4 -2
- package/dist/cjs/components/Menu.js +4 -2
- package/dist/cjs/components/MenuItem.js +4 -2
- package/dist/cjs/components/Modal.js +4 -2
- package/dist/cjs/components/Notification.js +12 -9
- package/dist/cjs/components/Pagination.js +9 -5
- package/dist/cjs/components/Panel.js +4 -2
- package/dist/cjs/components/Radio.js +11 -8
- package/dist/cjs/components/Response.js +18 -11
- package/dist/cjs/components/Search.js +12 -7
- package/dist/cjs/components/Segmented.js +16 -10
- package/dist/cjs/components/Select.js +14 -7
- package/dist/cjs/components/SiteMenu.js +8 -4
- package/dist/cjs/components/Swiper.js +2 -1
- package/dist/cjs/components/Tab.js +11 -8
- package/dist/cjs/components/Text.js +2 -1
- package/dist/cjs/components/Textarea.js +9 -7
- package/dist/cjs/components/Tile.js +6 -3
- package/dist/cjs/components/Title.js +2 -1
- package/dist/cjs/components/Tooltip.js +6 -3
- package/dist/cjs/components/Video.js +4 -4
- package/dist/cjs/hooks.js +1 -0
- package/dist/components/Accordion.js +10 -6
- package/dist/components/Avatar.js +10 -6
- package/dist/components/Badge.js +4 -2
- package/dist/components/Breadcrumbs.js +10 -6
- package/dist/components/Button.js +14 -8
- package/dist/components/Card.js +2 -1
- package/dist/components/Cell.js +12 -7
- package/dist/components/Checkbox.js +8 -7
- package/dist/components/Chips.js +5 -4
- package/dist/components/Choice.js +15 -10
- package/dist/components/Code.js +2 -2
- package/dist/components/ContextMenu.js +10 -6
- package/dist/components/CookiesWarning.js +16 -9
- package/dist/components/DadataHintField.js +3 -2
- package/dist/components/DatePicker.js +40 -19
- package/dist/components/Dropdown.js +5 -4
- package/dist/components/Group.js +2 -1
- package/dist/components/Icon.js +10 -6
- package/dist/components/Input.js +2 -1
- package/dist/components/InputPassword.js +14 -8
- package/dist/components/Label.js +8 -4
- package/dist/components/LanguageSelector.js +10 -6
- package/dist/components/Link.js +2 -2
- package/dist/components/List.js +2 -2
- package/dist/components/Loader.js +4 -2
- package/dist/components/Logo.js +2 -2
- package/dist/components/Menu.js +6 -4
- package/dist/components/MenuItem.js +6 -4
- package/dist/components/Modal.js +4 -2
- package/dist/components/Notification.js +13 -10
- package/dist/components/Pagination.js +11 -7
- package/dist/components/Panel.js +4 -2
- package/dist/components/Radio.js +11 -8
- package/dist/components/Response.js +20 -13
- package/dist/components/ScrollOnDrag.js +1 -1
- package/dist/components/Search.js +14 -9
- package/dist/components/Segmented.js +16 -10
- package/dist/components/Select.js +16 -9
- package/dist/components/SiteMenu.js +10 -6
- package/dist/components/Swiper.js +2 -1
- package/dist/components/Tab.js +13 -10
- package/dist/components/Text.js +2 -1
- package/dist/components/Textarea.js +9 -7
- package/dist/components/Tile.js +6 -3
- package/dist/components/Title.js +2 -1
- package/dist/components/Tooltip.js +6 -3
- package/dist/components/Video.js +4 -4
- package/dist/context/Notifications.js +1 -1
- package/dist/css/components/Badge/Badge.css +0 -16
- package/dist/css/components/Badge/Badge.tokens.css +20 -0
- package/dist/css/components/Pagination/Pagination.css +1 -1
- package/dist/css/components/Segmented/Segmented.css +1 -1
- package/dist/hooks.js +1 -1
- package/dist/stories/Appearance.stories.js +2 -2
- package/dist/stories/Badge.stories.js +1 -1
- package/dist/stories/Button.stories.js +2 -2
- package/dist/stories/Checkbox.stories.js +1 -1
- package/dist/stories/Chips.stories.js +1 -1
- package/dist/stories/Group.stories.js +2 -3
- package/dist/stories/Icon.stories.js +2 -2
- package/dist/stories/Input.stories.js +1 -1
- package/dist/stories/InputPassword.stories.js +2 -2
- package/dist/stories/Label.stories.js +1 -1
- package/dist/stories/Loader.stories.js +1 -1
- package/dist/stories/MenuItem.stories.js +1 -1
- package/dist/stories/ModalConfirm.stories.js +1 -3
- package/dist/stories/ModalDefault.stories.js +1 -3
- package/dist/stories/Notification.stories.js +3 -3
- package/dist/stories/Radio.stories.js +1 -1
- package/dist/stories/SearchInput.stories.js +2 -2
- package/dist/stories/Size.stories.js +2 -3
- package/dist/stories/State.stories.js +2 -4
- package/dist/stories/Textarea.stories.js +1 -1
- package/dist/stories/Tile.stories.js +2 -3
- package/dist/stories/Tooltip.stories.js +1 -1
- package/dist/stories/appearance.mdx +63 -1
- package/dist/stories/settings.mdx +3 -0
- package/dist/{tslib.es6-5FtW-kfi.js → tslib.es6-w7hdJ3oZ.js} +1 -1
- package/dist/types/appearance/Badge/index.d.ts +2 -0
- package/dist/types/appearance/Button/index.d.ts +2 -0
- package/dist/types/appearance/Checkbox/index.d.ts +3 -0
- package/dist/types/appearance/Chips/index.d.ts +2 -0
- package/dist/types/appearance/Choice/index.d.ts +2 -0
- package/dist/types/appearance/DatePicker/index.d.ts +2 -0
- package/dist/types/appearance/Group/index.d.ts +2 -0
- package/dist/types/appearance/Icon/index.d.ts +2 -0
- package/dist/types/appearance/Input/index.d.ts +3 -0
- package/dist/types/appearance/InputPassword/index.d.ts +3 -0
- package/dist/types/appearance/Label/index.d.ts +2 -0
- package/dist/types/appearance/Loader/index.d.ts +2 -0
- package/dist/types/appearance/MenuItem/index.d.ts +2 -0
- package/dist/types/appearance/Notification/index.d.ts +2 -0
- package/dist/types/appearance/Radio/index.d.ts +3 -0
- package/dist/types/appearance/Response/index.d.ts +2 -0
- package/dist/types/appearance/Search/index.d.ts +2 -0
- package/dist/types/appearance/Segmented/index.d.ts +2 -0
- package/dist/types/appearance/Select/index.d.ts +2 -0
- package/dist/types/appearance/Tab/index.d.ts +2 -0
- package/dist/types/appearance/Text/index.d.ts +2 -0
- package/dist/types/appearance/Textarea/index.d.ts +3 -0
- package/dist/types/appearance/Title/index.d.ts +2 -0
- package/dist/types/appearance/Tooltip/index.d.ts +2 -0
- package/dist/types/components/Badge/Badge.appearance.d.ts +2 -0
- package/dist/types/components/Badge/Badge.d.ts +0 -6
- package/dist/types/components/DatePicker/DatePicker.d.ts +2 -1
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +10 -1
- package/dist/types/components/DatePicker/index.d.ts +1 -1
- package/dist/types/components/Group/Group.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.d.ts +2 -2
- package/dist/types/components/Text/Text.interface.d.ts +2 -2
- package/dist/types/components/Title/Title.interface.d.ts +2 -2
- package/dist/types/types/componentProps/appearanceKeys.d.ts +1 -1
- package/package.json +5 -1
- package/dist/cjs/components.js +0 -3
- package/dist/components.js +0 -1
- /package/dist/stories/{mixins_animation.mdx → mixin_animation.mdx} +0 -0
- /package/dist/stories/{mixins_dark-light.mdx → mixin_dark-light.mdx} +0 -0
- /package/dist/stories/{mixins_elevation.mdx → mixin_elevation.mdx} +0 -0
- /package/dist/stories/{mixins_fill-gradient.mdx → mixin_fill-gradient.mdx} +0 -0
- /package/dist/stories/{mixins_typography.mdx → mixin_typography.mdx} +0 -0
- /package/dist/stories/{mixins_utils.mdx → mixin_utils.mdx} +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
+
import { choiceAppearance } from '../appearance/Choice.js';
|
|
4
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
6
|
-
import { L as Loader } from '../Loader-
|
|
7
|
-
import { T as Text } from '../Text-
|
|
6
|
+
import { I as Icon } from '../Icon-ClsRaxDk.js';
|
|
7
|
+
import { L as Loader } from '../Loader-CU_5Ydmy.js';
|
|
8
|
+
import { T as Text } from '../Text-kxGZButz.js';
|
|
8
9
|
import 'lodash/castArray';
|
|
9
10
|
import 'lodash/camelCase';
|
|
10
11
|
import '../context/UIContext.js';
|
|
@@ -12,17 +13,22 @@ import 'prop-types';
|
|
|
12
13
|
import '../hooks/useMediaQueries.js';
|
|
13
14
|
import 'react-responsive';
|
|
14
15
|
import 'react-inlinesvg';
|
|
16
|
+
import '../appearance/Icon.js';
|
|
15
17
|
import '../hooks/useStyles.js';
|
|
16
18
|
import 'lodash/maxBy';
|
|
17
19
|
import 'lodash/upperFirst';
|
|
18
20
|
import '../hooks/styleAttributes.js';
|
|
19
|
-
import '../Link-
|
|
20
|
-
import '../tslib.es6-
|
|
21
|
-
import '../Tooltip-
|
|
22
|
-
import '../
|
|
21
|
+
import '../Link-CzC1kU5C.js';
|
|
22
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
23
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
24
|
+
import '../appearance/Tooltip.js';
|
|
25
|
+
import '../Title-CQ_Fr1hO.js';
|
|
26
|
+
import '../appearance/Title.js';
|
|
27
|
+
import '../appearance/Loader.js';
|
|
28
|
+
import '../appearance/Text.js';
|
|
23
29
|
|
|
24
30
|
var choiceConfig = {
|
|
25
|
-
appearance:
|
|
31
|
+
appearance: choiceAppearance,
|
|
26
32
|
setAppearance: function (newComponent) {
|
|
27
33
|
choiceConfig.appearance = newComponent;
|
|
28
34
|
},
|
|
@@ -87,8 +93,7 @@ var Choice = React.forwardRef(function Choice(props, ref) {
|
|
|
87
93
|
prefix: 'column-gap_',
|
|
88
94
|
propsKey: 'columnGap',
|
|
89
95
|
});
|
|
90
|
-
|
|
91
|
-
var appearanceConfig = (appearance && choiceConfig.appearance && choiceConfig.appearance[appearance]);
|
|
96
|
+
var appearanceConfig = appearance && choiceConfig.appearance && choiceConfig.appearance[appearance];
|
|
92
97
|
return (jsx("div", { className: clsx(className, 'choice', shapeClass ||
|
|
93
98
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
|
|
94
99
|
"choice_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), borderColorClass ||
|
package/dist/components/Code.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __assign } from '../tslib.es6-w7hdJ3oZ.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
@@ -76,7 +76,7 @@ function Code(props) {
|
|
|
76
76
|
});
|
|
77
77
|
// NOTE: too many dependencies for "useCallback" and possible too many checks
|
|
78
78
|
var renderInput = function (otpInputProps) {
|
|
79
|
-
return (jsx("input", __assign({}, otpInputProps, {
|
|
79
|
+
return (jsx("input", __assign({}, otpInputProps, { className: clsx('code__input', caretClass, fillClass, fillHoverClass, placeholderClass, shapeClass, textSizeClass, textColorClass, weightClass, borderWidthClass, borderColorClass, borderColorHoverClass, borderColorFocusClass, sizeClass, fillClass), autoComplete: "one-time-code", onBlur: function (event) {
|
|
80
80
|
onBlur && onBlur(event);
|
|
81
81
|
otpInputProps.onBlur(event);
|
|
82
82
|
}, onFocus: function (event) {
|
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { D as Divider } from '../Divider-U5UdY-ef.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
6
|
-
import { T as Text } from '../Text-
|
|
5
|
+
import { I as Icon } from '../Icon-ClsRaxDk.js';
|
|
6
|
+
import { T as Text } from '../Text-kxGZButz.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -16,10 +16,14 @@ import 'lodash/maxBy';
|
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
|
-
import '../
|
|
20
|
-
import '../
|
|
21
|
-
import '../
|
|
22
|
-
import '../
|
|
19
|
+
import '../appearance/Icon.js';
|
|
20
|
+
import '../Link-CzC1kU5C.js';
|
|
21
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
22
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
23
|
+
import '../appearance/Tooltip.js';
|
|
24
|
+
import '../Title-CQ_Fr1hO.js';
|
|
25
|
+
import '../appearance/Title.js';
|
|
26
|
+
import '../appearance/Text.js';
|
|
23
27
|
|
|
24
28
|
function ContextMenu(props) {
|
|
25
29
|
var id = props.id, children = props.children, className = props.className, set = props.set, onClick = props.onClick;
|
|
@@ -3,26 +3,33 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { B as Button } from '../Button-
|
|
7
|
-
import { G as Group } from '../Group-
|
|
8
|
-
import { T as Text } from '../Text-
|
|
6
|
+
import { B as Button } from '../Button-avhviao1.js';
|
|
7
|
+
import { G as Group } from '../Group-Dc70Z4_7.js';
|
|
8
|
+
import { T as Text } from '../Text-kxGZButz.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import '../context/UIContext.js';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import '../hooks/useMediaQueries.js';
|
|
14
14
|
import 'react-responsive';
|
|
15
|
+
import '../appearance/Button.js';
|
|
15
16
|
import '../hooks/useStyles.js';
|
|
16
17
|
import 'lodash/maxBy';
|
|
17
18
|
import 'lodash/upperFirst';
|
|
18
19
|
import '../hooks/styleAttributes.js';
|
|
19
|
-
import '../Icon-
|
|
20
|
+
import '../Icon-ClsRaxDk.js';
|
|
20
21
|
import 'react-inlinesvg';
|
|
21
|
-
import '../
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
25
|
-
import '../
|
|
22
|
+
import '../appearance/Icon.js';
|
|
23
|
+
import '../Link-CzC1kU5C.js';
|
|
24
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
25
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
26
|
+
import '../appearance/Tooltip.js';
|
|
27
|
+
import '../Title-CQ_Fr1hO.js';
|
|
28
|
+
import '../appearance/Title.js';
|
|
29
|
+
import '../Loader-CU_5Ydmy.js';
|
|
30
|
+
import '../appearance/Loader.js';
|
|
31
|
+
import '../appearance/Group.js';
|
|
32
|
+
import '../appearance/Text.js';
|
|
26
33
|
|
|
27
34
|
function CookiesWarning(props) {
|
|
28
35
|
var _a = props.message, message = _a === void 0 ? 'The site uses cookies to collect technical information, to optimize the design and improvement of the website, and to provide certain functions. By using the website, you agree to the use of «cookies».' : _a, className = props.className, buttonFill = props.buttonFill, buttonFillHover = props.buttonFillHover, _b = props.buttonLabel, buttonLabel = _b === void 0 ? 'I agree' : _b, buttonLabelSize = props.buttonLabelSize, buttonLabelTextColor = props.buttonLabelTextColor, buttonShape = props.buttonShape, buttonSize = props.buttonSize, textSize = props.textSize, textColor = props.textColor, buttonWidth = props.buttonWidth, _c = props.isHideOnScroll, isHideOnScroll = _c === void 0 ? false : _c;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __assign, _ as __rest } from '../tslib.es6-w7hdJ3oZ.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { PartySuggestions } from 'react-dadata';
|
|
6
|
-
import { I as Input } from '../Input-
|
|
6
|
+
import { I as Input } from '../Input-DbzsXvEf.js';
|
|
7
|
+
import '../appearance/Input.js';
|
|
7
8
|
import '../hooks/useDeviceTargetClass.js';
|
|
8
9
|
import 'lodash/castArray';
|
|
9
10
|
import 'lodash/camelCase';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __assign } from '../tslib.es6-w7hdJ3oZ.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import React, { useMemo, useCallback, useRef, useState, useEffect } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import DatePicker from 'react-datepicker';
|
|
6
|
+
import { datePickerAppearance } from '../appearance/DatePicker.js';
|
|
6
7
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
8
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
|
-
import { B as Button } from '../Button-
|
|
9
|
-
import { I as Icon } from '../Icon-
|
|
10
|
-
import { I as Input } from '../Input-
|
|
11
|
-
import { L as Label } from '../Label-
|
|
12
|
-
import { T as Text } from '../Text-
|
|
9
|
+
import { B as Button } from '../Button-avhviao1.js';
|
|
10
|
+
import { I as Icon } from '../Icon-ClsRaxDk.js';
|
|
11
|
+
import { I as Input } from '../Input-DbzsXvEf.js';
|
|
12
|
+
import { L as Label } from '../Label-BfotYOmD.js';
|
|
13
|
+
import { T as Text } from '../Text-kxGZButz.js';
|
|
13
14
|
import 'lodash/castArray';
|
|
14
15
|
import 'lodash/camelCase';
|
|
15
16
|
import '../context/UIContext.js';
|
|
@@ -19,11 +20,19 @@ import 'react-responsive';
|
|
|
19
20
|
import 'lodash/maxBy';
|
|
20
21
|
import 'lodash/upperFirst';
|
|
21
22
|
import '../hooks/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
23
|
+
import '../appearance/Button.js';
|
|
24
|
+
import '../Link-CzC1kU5C.js';
|
|
25
|
+
import '../Loader-CU_5Ydmy.js';
|
|
26
|
+
import '../appearance/Loader.js';
|
|
24
27
|
import 'react-inlinesvg';
|
|
25
|
-
import '../
|
|
26
|
-
import '../
|
|
28
|
+
import '../appearance/Icon.js';
|
|
29
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
30
|
+
import '../appearance/Tooltip.js';
|
|
31
|
+
import '../Title-CQ_Fr1hO.js';
|
|
32
|
+
import '../appearance/Title.js';
|
|
33
|
+
import '../appearance/Input.js';
|
|
34
|
+
import '../appearance/Label.js';
|
|
35
|
+
import '../appearance/Text.js';
|
|
27
36
|
|
|
28
37
|
function buildFormatLongFn(args) {
|
|
29
38
|
return (options = {}) => {
|
|
@@ -1068,8 +1077,16 @@ const ru = {
|
|
|
1068
1077
|
},
|
|
1069
1078
|
};
|
|
1070
1079
|
|
|
1080
|
+
var datePickerConfig = {
|
|
1081
|
+
appearance: datePickerAppearance,
|
|
1082
|
+
setAppearance: function (newComponent) {
|
|
1083
|
+
datePickerConfig.appearance = newComponent;
|
|
1084
|
+
},
|
|
1085
|
+
};
|
|
1071
1086
|
function DatePickerInput(props) {
|
|
1072
|
-
var
|
|
1087
|
+
var _a;
|
|
1088
|
+
var appearance = props.appearance, className = props.className, clearIcon = props.clearIcon, clearIconFill = props.clearIconFill, clearIconFillHover = props.clearIconFillHover, clearIconFillSize = props.clearIconFillSize, clearIconItemFill = props.clearIconItemFill, clearIconItemFillHover = props.clearIconItemFillHover, clearIconShape = props.clearIconShape, clearIconSize = props.clearIconSize, clearIconSrc = props.clearIconSrc, clearLabel = props.clearLabel, clearLabelTextColor = props.clearLabelTextColor, clearLabelTextColorHover = props.clearLabelTextColorHover, clearLabelTextSize = props.clearLabelTextSize, _b = props.datePickerProps, datePickerProps = _b === void 0 ? {} : _b, endValue = props.endValue, inputProps = props.inputProps, labelTextSize = props.labelTextSize, value = props.value, onChange = props.onChange;
|
|
1089
|
+
var appearanceConfig = appearance && datePickerConfig.appearance && datePickerConfig.appearance[appearance];
|
|
1073
1090
|
var widthClass = useDeviceTargetClass(props, {
|
|
1074
1091
|
prefix: 'datepicker_width_',
|
|
1075
1092
|
propsKey: 'width',
|
|
@@ -1096,8 +1113,8 @@ function DatePickerInput(props) {
|
|
|
1096
1113
|
}
|
|
1097
1114
|
return endValue;
|
|
1098
1115
|
}, [endValue]);
|
|
1099
|
-
var
|
|
1100
|
-
var
|
|
1116
|
+
var _c = useState(start), startDate = _c[0], setStartDate = _c[1];
|
|
1117
|
+
var _d = useState(end), endDate = _d[0], setEndDate = _d[1];
|
|
1101
1118
|
var handleChange = useCallback(function (_a) {
|
|
1102
1119
|
var newStartDate = _a[0], newEndDate = _a[1];
|
|
1103
1120
|
onChange && onChange(newStartDate, newEndDate);
|
|
@@ -1105,7 +1122,7 @@ function DatePickerInput(props) {
|
|
|
1105
1122
|
setEndDate(newEndDate);
|
|
1106
1123
|
}, [onChange]);
|
|
1107
1124
|
var renderDayContents = useCallback(function (day, date) {
|
|
1108
|
-
return (jsx(Button, { className: "react-datepicker__day-button", labelTextColor: datePickerProps.dayTextColor, labelTextSize: datePickerProps.dayTextSize, label: date.getDate().toString(), shape: datePickerProps.dayTextShape, size: datePickerProps.daySize }));
|
|
1125
|
+
return (jsx(Button, { className: "react-datepicker__day-button", labelTextColor: datePickerProps.dayTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.dayTextColor), labelTextSize: datePickerProps.dayTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.dayTextSize), label: date.getDate().toString(), shape: datePickerProps.dayTextShape || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.dayTextShape), size: datePickerProps.daySize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.daySize) }));
|
|
1109
1126
|
}, [
|
|
1110
1127
|
datePickerProps.daySize,
|
|
1111
1128
|
datePickerProps.dayTextColor,
|
|
@@ -1114,7 +1131,7 @@ function DatePickerInput(props) {
|
|
|
1114
1131
|
]);
|
|
1115
1132
|
var renderCustomHeader = useCallback(function (_a) {
|
|
1116
1133
|
var decreaseMonth = _a.decreaseMonth, increaseMonth = _a.increaseMonth, monthDate = _a.monthDate;
|
|
1117
|
-
return (jsxs("div", { className: "react-datepicker__header--div", children: [datePickerProps.iconLeft && (jsx(Icon, { className: "react-datepicker__icon", fill: datePickerProps.iconFill, fillHover: datePickerProps.iconFillHover, fillSize: datePickerProps.iconFillSize, iconFill: datePickerProps.iconItemFill, shape: datePickerProps.iconShape, size: datePickerProps.iconSize, SvgImage: datePickerProps.iconLeft, onClick: decreaseMonth })), jsxs("div", { className: "react-datepicker__data", children: [jsx(Text, { className: "react-datepicker__month", size: datePickerProps.monthTextSize, textColor: datePickerProps.monthTextColor, textWeight: datePickerProps.monthTextWeight, children: monthDate.toLocaleString('ru-RU', { month: 'long' }) }), jsx(Text, { className: "react-datepicker__year", size: datePickerProps.yearTextSize, textColor: datePickerProps.yearTextColor, textWeight: datePickerProps.yearTextWeight, children: monthDate.toLocaleString('ru-RU', { year: 'numeric' }) })] }), datePickerProps.iconRight && (jsx(Icon, { className: "react-datepicker__icon", fill: datePickerProps.iconFill, fillHover: datePickerProps.iconFillHover, fillSize: datePickerProps.iconFillSize, iconFill: datePickerProps.iconItemFill, shape: datePickerProps.iconShape, size: datePickerProps.iconSize, SvgImage: datePickerProps.iconRight, onClick: increaseMonth }))] }));
|
|
1134
|
+
return (jsxs("div", { className: "react-datepicker__header--div", children: [datePickerProps.iconLeft && (jsx(Icon, { className: "react-datepicker__icon", fill: datePickerProps.iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconFill), fillHover: datePickerProps.iconFillHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconFillHover), fillSize: datePickerProps.iconFillSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconFillSize), iconFill: datePickerProps.iconItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconItemFill), shape: datePickerProps.iconShape || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconShape), size: datePickerProps.iconSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconSize), SvgImage: datePickerProps.iconLeft || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconLeft), onClick: decreaseMonth })), jsxs("div", { className: "react-datepicker__data", children: [jsx(Text, { className: "react-datepicker__month", size: datePickerProps.monthTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.monthTextSize), textColor: datePickerProps.monthTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.monthTextColor), textWeight: datePickerProps.monthTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.monthTextWeight), children: monthDate.toLocaleString('ru-RU', { month: 'long' }) }), jsx(Text, { className: "react-datepicker__year", size: datePickerProps.yearTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.yearTextSize), textColor: datePickerProps.yearTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.yearTextColor), textWeight: datePickerProps.yearTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.yearTextWeight), children: monthDate.toLocaleString('ru-RU', { year: 'numeric' }) })] }), datePickerProps.iconRight && (jsx(Icon, { className: "react-datepicker__icon", fill: datePickerProps.iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconFill), fillHover: datePickerProps.iconFillHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconFillHover), fillSize: datePickerProps.iconFillSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconFillSize), iconFill: datePickerProps.iconItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconItemFill), shape: datePickerProps.iconShape || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconShape), size: datePickerProps.iconSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconSize), SvgImage: datePickerProps.iconRight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.iconRight), onClick: increaseMonth }))] }));
|
|
1118
1135
|
}, [
|
|
1119
1136
|
datePickerProps.iconFill,
|
|
1120
1137
|
datePickerProps.iconFillHover,
|
|
@@ -1139,12 +1156,15 @@ function DatePickerInput(props) {
|
|
|
1139
1156
|
}, [end]);
|
|
1140
1157
|
// @ts-expect-error
|
|
1141
1158
|
var datePickerStyles = useStyles(props).styles;
|
|
1142
|
-
return (jsx("div", { className: clsx(className, 'datepicker', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.monthsShown) && 'datepicker_type_multiple-months', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.customTimeInput) && 'datepicker_type_button', widthClass
|
|
1159
|
+
return (jsx("div", { className: clsx(className, 'datepicker', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.monthsShown) && 'datepicker_type_multiple-months', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.customTimeInput) && 'datepicker_type_button', widthClass ||
|
|
1160
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.datePicker.width) &&
|
|
1161
|
+
((_a = "datepicker_width_".concat(appearanceConfig.datePicker.width)) === null || _a === void 0 ? void 0 : _a.replace(/([A-Z])/g, '-$1').toLowerCase()))), style: datePickerStyles, children: jsx(DatePicker, __assign({ ref: datepickerRef, endDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? endDate : undefined, locale: ru, minDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.disablePastDays) ? new Date() : undefined, renderCustomHeader: renderCustomHeader, renderDayContents: renderDayContents, selected: startDate, startDate: startDate, customInput: jsx(DatePickerCustomInput, { datePickerAppearance: appearance, labelTextSize: labelTextSize, clearIcon: clearIcon, clearIconFill: clearIconFill, clearIconFillHover: clearIconFillHover, clearIconFillSize: clearIconFillSize, clearIconItemFill: clearIconItemFill, clearIconItemFillHover: clearIconItemFillHover, clearIconShape: clearIconShape, clearIconSize: clearIconSize, clearIconSrc: clearIconSrc, clearLabel: clearLabel, clearLabelTextColor: clearLabelTextColor, clearLabelTextColorHover: clearLabelTextColorHover, clearLabelTextSize: clearLabelTextSize, datepickerRef: datepickerRef, inputIcon: datePickerProps.inputIcon, inputIconFill: datePickerProps.inputIconFill, inputIconFillHover: datePickerProps.inputIconFillHover, inputIconFillSize: datePickerProps.inputIconFillSize, inputIconItemFill: datePickerProps.inputIconItemFill, inputIconShape: datePickerProps.inputIconShape, inputIconSize: datePickerProps.inputIconSize, inputIconSrc: datePickerProps.inputIconSrc, inputProps: inputProps, isClearable: datePickerProps.isClearable }), popperClassName: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.popper) && "react-datepicker-popper-".concat(datePickerProps.popper), onChange: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? handleChange : onChange }, datePickerProps, {
|
|
1143
1162
|
// Important for use custom clear button
|
|
1144
1163
|
isClearable: false })) }));
|
|
1145
1164
|
}
|
|
1146
1165
|
var DatePickerCustomInput = React.forwardRef(function (props, ref) {
|
|
1147
|
-
var
|
|
1166
|
+
var _a;
|
|
1167
|
+
var isClearable = props.isClearable, inputIcon = props.inputIcon, inputProps = props.inputProps, value = props.value, datePickerAppearance = props.datePickerAppearance;
|
|
1148
1168
|
var multipleValue = useMemo(function () {
|
|
1149
1169
|
if (value) {
|
|
1150
1170
|
var twoDates = value.split(' - ');
|
|
@@ -1152,7 +1172,8 @@ var DatePickerCustomInput = React.forwardRef(function (props, ref) {
|
|
|
1152
1172
|
}
|
|
1153
1173
|
return '';
|
|
1154
1174
|
}, [value]);
|
|
1155
|
-
|
|
1175
|
+
var inputAppearanceProps = (_a = datePickerConfig.appearance[datePickerAppearance]) === null || _a === void 0 ? void 0 : _a.input;
|
|
1176
|
+
return (jsxs(React.Fragment, { children: [jsx(Input, __assign({}, inputAppearanceProps, props, inputProps, { ref: ref, autocomplete: "off", value: multipleValue })), inputIcon && jsx(DatePickerInputIcon, __assign({}, props)), isClearable && jsx(DatePickerClearButton, __assign({}, props))] }));
|
|
1156
1177
|
});
|
|
1157
1178
|
DatePickerCustomInput.displayName = 'DatePickerCustomInput';
|
|
1158
1179
|
function DatePickerClearButton(props) {
|
|
@@ -1171,4 +1192,4 @@ function DatePickerInputIcon(props) {
|
|
|
1171
1192
|
}
|
|
1172
1193
|
DatePickerInputIcon.displayName = 'DatePickerInputIcon';
|
|
1173
1194
|
|
|
1174
|
-
export { DatePickerInput };
|
|
1195
|
+
export { DatePickerInput, datePickerConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem } from '../DropdownItem-
|
|
1
|
+
export { D as Dropdown, a as DropdownItem } from '../DropdownItem-CFkRx8LX.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -14,6 +14,7 @@ import 'lodash/maxBy';
|
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
16
|
import '../Divider-U5UdY-ef.js';
|
|
17
|
-
import '../Link-
|
|
18
|
-
import '../tslib.es6-
|
|
19
|
-
import '../Text-
|
|
17
|
+
import '../Link-CzC1kU5C.js';
|
|
18
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
19
|
+
import '../Text-kxGZButz.js';
|
|
20
|
+
import '../appearance/Text.js';
|
package/dist/components/Group.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { G as Group, g as groupConfig } from '../Group-
|
|
1
|
+
export { G as Group, g as groupConfig } from '../Group-Dc70Z4_7.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
+
import '../appearance/Group.js';
|
|
5
6
|
import '../hooks/useDeviceTargetClass.js';
|
|
6
7
|
import 'lodash/castArray';
|
|
7
8
|
import 'lodash/camelCase';
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { I as Icon, i as iconConfig } from '../Icon-
|
|
1
|
+
export { I as Icon, i as iconConfig } from '../Icon-ClsRaxDk.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import 'react-inlinesvg';
|
|
6
|
+
import '../appearance/Icon.js';
|
|
6
7
|
import '../hooks/useDeviceTargetClass.js';
|
|
7
8
|
import 'lodash/castArray';
|
|
8
9
|
import 'lodash/camelCase';
|
|
@@ -14,8 +15,11 @@ import '../hooks/useStyles.js';
|
|
|
14
15
|
import 'lodash/maxBy';
|
|
15
16
|
import 'lodash/upperFirst';
|
|
16
17
|
import '../hooks/styleAttributes.js';
|
|
17
|
-
import '../Link-
|
|
18
|
-
import '../tslib.es6-
|
|
19
|
-
import '../Tooltip-
|
|
20
|
-
import '../
|
|
21
|
-
import '../
|
|
18
|
+
import '../Link-CzC1kU5C.js';
|
|
19
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
20
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
21
|
+
import '../appearance/Tooltip.js';
|
|
22
|
+
import '../Text-kxGZButz.js';
|
|
23
|
+
import '../appearance/Text.js';
|
|
24
|
+
import '../Title-CQ_Fr1hO.js';
|
|
25
|
+
import '../appearance/Title.js';
|
package/dist/components/Input.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { I as Input, i as inputConfig } from '../Input-
|
|
1
|
+
export { I as Input, i as inputConfig } from '../Input-DbzsXvEf.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
+
import '../appearance/Input.js';
|
|
5
6
|
import '../hooks/useDeviceTargetClass.js';
|
|
6
7
|
import 'lodash/castArray';
|
|
7
8
|
import 'lodash/camelCase';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
+
import { InputPasswordAppearance, InputPasswordState } from '../appearance/InputPassword.js';
|
|
4
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-ClsRaxDk.js';
|
|
6
7
|
import 'lodash/castArray';
|
|
7
8
|
import 'lodash/camelCase';
|
|
8
9
|
import '../context/UIContext.js';
|
|
@@ -10,25 +11,30 @@ import 'prop-types';
|
|
|
10
11
|
import '../hooks/useMediaQueries.js';
|
|
11
12
|
import 'react-responsive';
|
|
12
13
|
import 'react-inlinesvg';
|
|
14
|
+
import '../appearance/Icon.js';
|
|
13
15
|
import '../hooks/useStyles.js';
|
|
14
16
|
import 'lodash/maxBy';
|
|
15
17
|
import 'lodash/upperFirst';
|
|
16
18
|
import '../hooks/styleAttributes.js';
|
|
17
|
-
import '../Link-
|
|
18
|
-
import '../tslib.es6-
|
|
19
|
-
import '../Tooltip-
|
|
20
|
-
import '../
|
|
21
|
-
import '../
|
|
19
|
+
import '../Link-CzC1kU5C.js';
|
|
20
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
21
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
22
|
+
import '../appearance/Tooltip.js';
|
|
23
|
+
import '../Text-kxGZButz.js';
|
|
24
|
+
import '../appearance/Text.js';
|
|
25
|
+
import '../Title-CQ_Fr1hO.js';
|
|
26
|
+
import '../appearance/Title.js';
|
|
22
27
|
|
|
23
28
|
var inputPasswordConfig = {
|
|
24
|
-
appearance:
|
|
29
|
+
appearance: InputPasswordAppearance,
|
|
25
30
|
setAppearance: function (newComponent) {
|
|
26
31
|
inputPasswordConfig.appearance = newComponent;
|
|
27
32
|
},
|
|
33
|
+
state: InputPasswordState,
|
|
34
|
+
// eslint-disable-next-line perfectionist/sort-objects
|
|
28
35
|
setState: function (newComponent) {
|
|
29
36
|
inputPasswordConfig.state = newComponent;
|
|
30
37
|
},
|
|
31
|
-
state: undefined,
|
|
32
38
|
};
|
|
33
39
|
function InputPassword(props) {
|
|
34
40
|
var id = props.id, isRevealable = props.isRevealable, appearance = props.appearance, className = props.className, disabled = props.disabled, iconFill = props.iconFill, iconFillHover = props.iconFillHover, iconRevealableHide = props.iconRevealableHide, iconRevealableShow = props.iconRevealableShow, iconShape = props.iconShape, iconSize = props.iconSize, imageRevealableHide = props.imageRevealableHide, imageRevealableShow = props.imageRevealableShow, placeholder = props.placeholder, state = props.state, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
|
package/dist/components/Label.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { L as Label, l as labelConfig } from '../Label-
|
|
1
|
+
export { L as Label, l as labelConfig } from '../Label-BfotYOmD.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
+
import '../appearance/Label.js';
|
|
5
6
|
import '../hooks/useDeviceTargetClass.js';
|
|
6
7
|
import 'lodash/castArray';
|
|
7
8
|
import 'lodash/camelCase';
|
|
@@ -13,6 +14,9 @@ import '../hooks/useStyles.js';
|
|
|
13
14
|
import 'lodash/maxBy';
|
|
14
15
|
import 'lodash/upperFirst';
|
|
15
16
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../Text-
|
|
17
|
-
import '../
|
|
18
|
-
import '../
|
|
17
|
+
import '../Text-kxGZButz.js';
|
|
18
|
+
import '../appearance/Text.js';
|
|
19
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
20
|
+
import '../appearance/Tooltip.js';
|
|
21
|
+
import '../Title-CQ_Fr1hO.js';
|
|
22
|
+
import '../appearance/Title.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { I as Icon } from '../Icon-
|
|
3
|
+
import { I as Icon } from '../Icon-ClsRaxDk.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-inlinesvg';
|
|
6
|
+
import '../appearance/Icon.js';
|
|
6
7
|
import '../hooks/useDeviceTargetClass.js';
|
|
7
8
|
import 'lodash/castArray';
|
|
8
9
|
import 'lodash/camelCase';
|
|
@@ -14,11 +15,14 @@ import '../hooks/useStyles.js';
|
|
|
14
15
|
import 'lodash/maxBy';
|
|
15
16
|
import 'lodash/upperFirst';
|
|
16
17
|
import '../hooks/styleAttributes.js';
|
|
17
|
-
import '../Link-
|
|
18
|
-
import '../tslib.es6-
|
|
19
|
-
import '../Tooltip-
|
|
20
|
-
import '../
|
|
21
|
-
import '../
|
|
18
|
+
import '../Link-CzC1kU5C.js';
|
|
19
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
20
|
+
import '../Tooltip-ccRCMYQM.js';
|
|
21
|
+
import '../appearance/Tooltip.js';
|
|
22
|
+
import '../Text-kxGZButz.js';
|
|
23
|
+
import '../appearance/Text.js';
|
|
24
|
+
import '../Title-CQ_Fr1hO.js';
|
|
25
|
+
import '../appearance/Title.js';
|
|
22
26
|
|
|
23
27
|
function LanguageSelectorItem(props) {
|
|
24
28
|
var label = props.label, iconSize = props.iconSize, SvgImage = props.SvgImage, isActive = props.isActive, onClick = props.onClick;
|
package/dist/components/Link.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { L as Link, a as LinkWrapper, l as linkConfig } from '../Link-
|
|
2
|
-
import '../tslib.es6-
|
|
1
|
+
export { L as Link, a as LinkWrapper, l as linkConfig } from '../Link-CzC1kU5C.js';
|
|
2
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
package/dist/components/List.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useStyles } from '../hooks/useStyles.js';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { L as Link } from '../Link-
|
|
5
|
+
import { L as Link } from '../Link-CzC1kU5C.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/maxBy';
|
|
@@ -13,7 +13,7 @@ import '../hooks/useMediaQueries.js';
|
|
|
13
13
|
import 'react-responsive';
|
|
14
14
|
import '../hooks/styleAttributes.js';
|
|
15
15
|
import 'lodash/castArray';
|
|
16
|
-
import '../tslib.es6-
|
|
16
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
17
17
|
|
|
18
18
|
function List(props) {
|
|
19
19
|
var children = props.children, className = props.className, style = props.style, type = props.type;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { L as Loader, l as loaderConfig } from '../Loader-
|
|
1
|
+
export { L as Loader, l as loaderConfig } from '../Loader-CU_5Ydmy.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
|
+
import '../appearance/Loader.js';
|
|
4
5
|
import '../hooks/useDeviceTargetClass.js';
|
|
5
6
|
import 'react';
|
|
6
7
|
import 'lodash/castArray';
|
|
@@ -13,4 +14,5 @@ import '../hooks/useStyles.js';
|
|
|
13
14
|
import 'lodash/maxBy';
|
|
14
15
|
import 'lodash/upperFirst';
|
|
15
16
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../Text-
|
|
17
|
+
import '../Text-kxGZButz.js';
|
|
18
|
+
import '../appearance/Text.js';
|
package/dist/components/Logo.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles.js';
|
|
5
|
-
import { a as LinkWrapper } from '../Link-
|
|
5
|
+
import { a as LinkWrapper } from '../Link-CzC1kU5C.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/castArray';
|
|
8
8
|
import 'lodash/camelCase';
|
|
@@ -13,7 +13,7 @@ import 'react-responsive';
|
|
|
13
13
|
import 'lodash/maxBy';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../tslib.es6-
|
|
16
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
17
17
|
|
|
18
18
|
var logoConfig = {
|
|
19
19
|
appearance: undefined,
|
package/dist/components/Menu.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles.js';
|
|
5
|
-
import { M as MenuItem } from '../MenuItem-
|
|
5
|
+
import { M as MenuItem } from '../MenuItem-BEYVY0Vf.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/castArray';
|
|
8
8
|
import 'lodash/camelCase';
|
|
@@ -13,9 +13,11 @@ import 'react-responsive';
|
|
|
13
13
|
import 'lodash/maxBy';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../
|
|
17
|
-
import '../
|
|
18
|
-
import '../
|
|
16
|
+
import '../appearance/MenuItem.js';
|
|
17
|
+
import '../Link-CzC1kU5C.js';
|
|
18
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
19
|
+
import '../Text-kxGZButz.js';
|
|
20
|
+
import '../appearance/Text.js';
|
|
19
21
|
|
|
20
22
|
function Menu(props) {
|
|
21
23
|
var after = props.after, before = props.before, children = props.children, className = props.className, items = props.items, type = props.type, onClickItem = props.onClickItem;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { M as MenuItem, m as menuItemConfig } from '../MenuItem-
|
|
1
|
+
export { M as MenuItem, m as menuItemConfig } from '../MenuItem-BEYVY0Vf.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
+
import '../appearance/MenuItem.js';
|
|
5
6
|
import '../hooks/useDeviceTargetClass.js';
|
|
6
7
|
import 'lodash/castArray';
|
|
7
8
|
import 'lodash/camelCase';
|
|
@@ -13,6 +14,7 @@ import '../hooks/useStyles.js';
|
|
|
13
14
|
import 'lodash/maxBy';
|
|
14
15
|
import 'lodash/upperFirst';
|
|
15
16
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../Link-
|
|
17
|
-
import '../tslib.es6-
|
|
18
|
-
import '../Text-
|
|
17
|
+
import '../Link-CzC1kU5C.js';
|
|
18
|
+
import '../tslib.es6-w7hdJ3oZ.js';
|
|
19
|
+
import '../Text-kxGZButz.js';
|
|
20
|
+
import '../appearance/Text.js';
|
package/dist/components/Modal.js
CHANGED
|
@@ -5,7 +5,7 @@ import ReactDOM from 'react-dom';
|
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
7
|
import { O as Overlay } from '../Overlay-DO5dnSRE.js';
|
|
8
|
-
import { L as Loader } from '../Loader-
|
|
8
|
+
import { L as Loader } from '../Loader-CU_5Ydmy.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import '../context/UIContext.js';
|
|
@@ -15,7 +15,9 @@ import 'react-responsive';
|
|
|
15
15
|
import 'lodash/maxBy';
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
|
-
import '../
|
|
18
|
+
import '../appearance/Loader.js';
|
|
19
|
+
import '../Text-kxGZButz.js';
|
|
20
|
+
import '../appearance/Text.js';
|
|
19
21
|
|
|
20
22
|
var getOrCreateModalElement = function (modalQuerySelector, className) {
|
|
21
23
|
var _a;
|