@itcase/ui 1.8.1 → 1.8.4
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-Df7Zxjnk.js → Badge_cjs_DrG2tUjI.js} +12 -34
- package/dist/{Badge-BY030Mwm.js → Badge_es_Bx0NsdST.js} +12 -34
- package/dist/{Button-CWPTzaG2.js → Button_cjs_B7OmqizJ.js} +26 -25
- package/dist/{Button-DHOZJDHv.js → Button_es_CBbHMy1v.js} +26 -25
- package/dist/{Divider-BQIfjvPR.js → Divider_cjs_DakITdTv.js} +1 -1
- package/dist/{Divider-CUFKsm-9.js → Divider_es_CWsDM2Rm.js} +1 -1
- package/dist/{DropdownItem-_bKQxzEZ.js → DropdownItem_cjs_TdJHpFgg.js} +3 -3
- package/dist/{DropdownItem-Cl1pYnVf.js → DropdownItem_es_CdYP5BQN.js} +3 -3
- package/dist/{Group-utjnjUDZ.js → Group_cjs_DFmNT5Mq.js} +8 -4
- package/dist/{Group-C8NUU6k5.js → Group_es_CRGwi5XI.js} +8 -4
- package/dist/{Icon-D_BDlSSb.js → Icon_cjs_DSzfNqif.js} +3 -3
- package/dist/{Icon-BF7i3XdQ.js → Icon_es_BBmoZ7_3.js} +3 -3
- package/dist/{Input-BRhHPsGM.js → Input_cjs_DkQh0Utd.js} +1 -1
- package/dist/{Input-BH6rNRqZ.js → Input_es_Bs0gEq3L.js} +1 -1
- package/dist/{Label-DsNZ-asS.js → Label_cjs_BCjB-mxC.js} +5 -5
- package/dist/{Label-brG78nLi.js → Label_es_CZpanSdR.js} +5 -5
- package/dist/{Link-CZ8o5lGW.js → Link_cjs_yht44xJv.js} +1 -1
- package/dist/{Link-Cn7hiWmM.js → Link_es_DkW06IM-.js} +1 -1
- package/dist/{Loader-CjT6-r3I.js → Loader_cjs_D753D3li.js} +2 -2
- package/dist/{Loader-Dquhwxz4.js → Loader_es_BE4nyzXi.js} +2 -2
- package/dist/{Overlay-BoIJ-g58.js → Overlay_cjs_BTSfcGrM.js} +1 -2
- package/dist/{Overlay-Be9UCtR9.js → Overlay_es_CR7d-ISF.js} +1 -2
- package/dist/{Text-DwIx33-P.js → Text_cjs_D4xG0cKD.js} +3 -3
- package/dist/{Text-aaWArShm.js → Text_es_FJGduy7Z.js} +3 -3
- package/dist/{Title-ByfOyy-n.js → Title_cjs_iuyln-ab.js} +1 -1
- package/dist/{Title--_epIXkC.js → Title_es_ke3YylFm.js} +1 -1
- package/dist/{Tooltip-hznDyLwa.js → Tooltip_cjs_CTwksdFk.js} +3 -3
- package/dist/{Tooltip-DP32J5V6.js → Tooltip_es_H976MIb7.js} +3 -3
- package/dist/cjs/components/Accordion.js +7 -7
- package/dist/cjs/components/Avatar.js +9 -9
- package/dist/cjs/components/Badge.js +7 -7
- package/dist/cjs/components/Breadcrumbs.js +6 -6
- package/dist/cjs/components/Button.js +8 -8
- package/dist/cjs/components/Cell.js +7 -7
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Checkmark.js +1 -1
- package/dist/cjs/components/Chips.js +12 -12
- package/dist/cjs/components/Choice.js +54 -18
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +9 -9
- package/dist/cjs/components/DadataHintField.js +4 -4
- package/dist/cjs/components/DatePicker.js +113 -46
- package/dist/cjs/components/Divider.js +2 -2
- package/dist/cjs/components/Dot.js +1 -1
- package/dist/cjs/components/Dropdown.js +4 -4
- package/dist/cjs/components/Flex.js +1 -1
- package/dist/cjs/components/Grid.js +1 -1
- package/dist/cjs/components/Group.js +2 -2
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +6 -6
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/InputMask.js +3 -3
- package/dist/cjs/components/InputPassword.js +6 -6
- package/dist/cjs/components/Label.js +5 -5
- package/dist/cjs/components/Link.js +2 -2
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/Loader.js +3 -3
- package/dist/cjs/components/Logo.js +2 -2
- package/dist/cjs/components/MenuItem.js +3 -3
- package/dist/cjs/components/Modal.js +5 -5
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay.js +2 -2
- package/dist/cjs/components/Pagination.js +14 -10
- package/dist/cjs/components/Panel.js +3 -3
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/RangeSlider.js +1 -1
- package/dist/cjs/components/Response.js +9 -9
- package/dist/cjs/components/SVGContent.js +1 -1
- package/dist/cjs/components/ScrollOnDrag.js +3 -3
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +59 -16
- package/dist/cjs/components/Segmented.js +30 -18
- package/dist/cjs/components/Select.js +10 -10
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +2 -2
- package/dist/cjs/components/Tab.js +50 -70
- package/dist/cjs/components/Text.js +2 -2
- package/dist/cjs/components/Textarea.js +132 -51
- package/dist/cjs/components/Tile.js +7 -7
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +4 -4
- package/dist/cjs/components/Video.js +1 -1
- package/dist/cjs/context/Notifications.js +2 -2
- package/dist/cjs/context/UIContext.js +4 -4
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
- package/dist/cjs/hooks/useStyles.js +1 -1
- package/dist/components/Accordion.js +7 -7
- package/dist/components/Avatar.js +9 -9
- package/dist/components/Badge.js +7 -7
- package/dist/components/Breadcrumbs.js +6 -6
- package/dist/components/Button.js +8 -8
- package/dist/components/Cell.js +7 -7
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Checkmark.js +1 -1
- package/dist/components/Chips.js +12 -12
- package/dist/components/Choice.js +54 -18
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +9 -9
- package/dist/components/DadataHintField.js +4 -4
- package/dist/components/DatePicker.js +113 -46
- package/dist/components/Divider.js +2 -2
- package/dist/components/Dot.js +1 -1
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group.js +2 -2
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +6 -6
- package/dist/components/Image.js +2 -2
- package/dist/components/Input.js +2 -2
- package/dist/components/InputMask.js +3 -3
- package/dist/components/InputPassword.js +6 -6
- package/dist/components/Label.js +5 -5
- package/dist/components/Link.js +2 -2
- package/dist/components/List.js +2 -2
- package/dist/components/Loader.js +3 -3
- package/dist/components/Logo.js +2 -2
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/Modal.js +5 -5
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay.js +2 -2
- package/dist/components/Pagination.js +15 -11
- package/dist/components/Panel.js +3 -3
- package/dist/components/Radio.js +2 -2
- package/dist/components/RangeSlider.js +1 -1
- package/dist/components/Response.js +9 -9
- package/dist/components/SVGContent.js +1 -1
- package/dist/components/ScrollOnDrag.js +2 -2
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +59 -16
- package/dist/components/Segmented.js +30 -18
- package/dist/components/Select.js +10 -10
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +2 -2
- package/dist/components/Tab.js +50 -70
- package/dist/components/Text.js +2 -2
- package/dist/components/Textarea.js +133 -51
- package/dist/components/Tile.js +7 -7
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/Video.js +1 -1
- package/dist/context/Notifications.js +2 -2
- package/dist/context/UIContext.js +4 -4
- package/dist/css/components/Accordion/Accordion.css +2 -0
- package/dist/css/components/Avatar/Avatar.css +15 -14
- package/dist/css/components/Badge/Badge.css +1 -0
- package/dist/css/components/Button/Button.css +8 -2
- package/dist/css/components/Cell/Cell.css +10 -9
- package/dist/css/components/Chips/Chips.css +12 -0
- package/dist/css/components/Choice/Choice.css +47 -14
- package/dist/css/components/Choice/css/__item/choice__item.css +3 -0
- package/dist/css/components/Choice/css/__item/choice__item_size.css +10 -0
- package/dist/css/components/Code/Code.css +9 -11
- package/dist/css/components/CookiesWarning/CookiesWarning.css +1 -1
- package/dist/css/components/CookiesWarning/CookiesWarning.token.css +2 -0
- package/dist/css/components/DatePicker/DatePicker.css +114 -26
- package/dist/css/components/Divider/Divider.css +3 -4
- package/dist/css/components/Dot/Dot.css +1 -0
- package/dist/css/components/Drawer/Drawer.css +4 -7
- package/dist/css/components/Dropdown/Dropdown.css +18 -3
- package/dist/css/components/Grid/Grid.css +12 -3
- package/dist/css/components/Group/Group.css +1 -1
- package/dist/css/components/Icon/Icon.css +7 -1
- package/dist/css/components/Input/Input.css +7 -9
- package/dist/css/components/InputMask/{Input.css → InputMask.css} +4 -4
- package/dist/css/components/InputPassword/InputPassword.css +1 -0
- package/dist/css/components/Loader/Loader.css +6 -0
- package/dist/css/components/Modal/Modal.css +1 -0
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +7 -4
- package/dist/css/components/Notification/Notification.css +1 -1
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +1 -1
- package/dist/css/components/Pagination/Pagination.css +10 -8
- package/dist/css/components/Pagination/css/__item/pagination__item.css +1 -1
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +1 -4
- package/dist/css/components/Radio/Radio.css +2 -0
- package/dist/css/components/RangeSlider/RangeSlider.css +1 -1
- package/dist/css/components/Search/Search.css +5 -2
- package/dist/css/components/Search/css/search-input/search-input_size.css +1 -0
- package/dist/css/components/Segmented/Segmented.css +3 -0
- package/dist/css/components/Select/Select.css +13 -5
- package/dist/css/components/Select/css/__control/select__control_fill.css +1 -1
- package/dist/css/components/Select/css/__menu/select__menu.css +1 -1
- package/dist/css/components/Swiper/Swiper.css +3 -3
- package/dist/css/components/Tab/Tab.css +2 -2
- package/dist/css/components/Text/Text.css +15 -12
- package/dist/css/components/Textarea/Textarea.css +38 -26
- package/dist/css/components/Tile/Tile.css +9 -0
- package/dist/css/components/Tooltip/Tooltip.css +8 -1
- package/dist/css/styles/border-color/border-color.css +6 -6
- package/dist/css/styles/border-color/border-color_focus.css +7 -5
- package/dist/css/styles/border-color/border-color_hover.css +13 -9
- package/dist/css/styles/border-width/border-width.css +2 -1
- package/dist/css/styles/caret-color/caret-color.css +6 -4
- package/dist/css/styles/fill/fill.css +19 -34
- package/dist/css/styles/fill/fill_active.css +14 -25
- package/dist/css/styles/fill/fill_active_hover.css +23 -27
- package/dist/css/styles/fill/fill_hover.css +27 -33
- package/dist/css/styles/hover/hover-fill-color.css +6 -4
- package/dist/css/styles/hover/hover-item-color.css +6 -4
- package/dist/css/styles/hover/hover-text-color.css +6 -4
- package/dist/css/styles/opacity/opacity.css +3 -2
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +6 -4
- package/dist/css/styles/svg-color/svg_fill.css +6 -9
- package/dist/css/styles/svg-color/svg_fill_hover.css +6 -4
- package/dist/css/styles/svg-color/svg_path_fill.css +6 -5
- package/dist/css/styles/text-color/text-color.css +6 -6
- package/dist/css/styles/text-color/text-color_active.css +7 -6
- package/dist/css/styles/text-color/text-color_hover.css +7 -6
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDeviceTargetClass.js +1 -1
- package/dist/hooks/useStyles/useStyles.js +1 -1
- package/dist/hooks/useStyles.js +1 -1
- package/dist/stories/Breadcrumbs.mdx +15 -0
- package/dist/stories/BreadcrumbsItem.mdx +17 -0
- package/dist/stories/Image.mdx +2 -2
- package/dist/stories/ListItem.mdx +11 -0
- package/dist/stories/Overview.mdx +15 -5
- package/dist/stories/Playground.mdx +4 -4
- package/dist/stories/Playgroynd.mdx +11 -0
- package/dist/stories/Plsyground.mdx +14 -0
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +0 -20
- package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -7
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +6 -5
- package/dist/types/components/Choice/appearance/choiceAccent.d.ts +1 -2
- package/dist/types/components/Choice/appearance/choiceSize.d.ts +18 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +14 -0
- package/dist/types/components/Choice/appearance/choiceSurface.d.ts +5 -2
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -2
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +71 -12
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +42 -0
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +26 -0
- package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +8 -11
- package/dist/types/components/InputMask/InputMask.d.ts +5 -0
- package/dist/types/components/InputMask/index.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +3 -0
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchSize.d.ts +17 -0
- package/dist/types/components/Search/appearance/searchStyle.d.ts +14 -0
- package/dist/types/components/Search/appearance/searchSurface.d.ts +18 -0
- package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +15 -0
- package/dist/types/components/Segmented/appearance/segmentedSurface.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +10 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +14 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +51 -0
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +1 -2
- package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -8
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +18 -0
- package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaError.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +20 -0
- package/dist/types/components/Textarea/appearance/textareaSize.d.ts +31 -0
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +14 -0
- package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +20 -0
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/Video/Video.interface.d.ts +3 -1
- package/dist/types/components/Video/stories/mocks/videoSources.d.ts +6 -0
- package/dist/types/context/Notifications.d.ts +2 -2
- package/dist/types/context/UIContext.d.ts +1 -1
- package/package.json +15 -15
- package/dist/css/styles/fill/fill_disabled.css +0 -33
- package/dist/stories/Avatar.mdx +0 -23
- package/dist/stories/Badge.mdx +0 -13
- package/dist/stories/Button.mdx +0 -12
- package/dist/stories/Cell.mdx +0 -7
- package/dist/stories/Checkbox.mdx +0 -12
- package/dist/stories/Checkmark.mdx +0 -10
- package/dist/stories/Chips.mdx +0 -37
- package/dist/stories/Choice.mdx +0 -11
- package/dist/stories/Code.mdx +0 -11
- package/dist/stories/DatePicker.mdx +0 -31
- package/dist/stories/HeroTitle.mdx +0 -31
- package/dist/stories/Textarea.mdx +0 -15
- package/dist/stories/Title.mdx +0 -31
- package/dist/stories/Tooltip.mdx +0 -19
- package/dist/types/components/InputMask/Input.d.ts +0 -5
- /package/dist/{Image-DuIBtUq5.js → Image_cjs_DuIBtUq5.js} +0 -0
- /package/dist/{Image-CSzHhlA1.js → Image_es_CSzHhlA1.js} +0 -0
- /package/dist/{Scrollbar-DcKOfcNp.js → Scrollbar_cjs_DcKOfcNp.js} +0 -0
- /package/dist/{Scrollbar-CThJeCLF.js → Scrollbar_es_CThJeCLF.js} +0 -0
- /package/dist/{tslib.es6-CCZ3TN_7.js → tslib.es6_cjs_CCZ3TN_7.js} +0 -0
- /package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6_es_Bwu1Cn-t.js} +0 -0
- /package/dist/types/components/InputMask/{Input.interface.d.ts → InputMask.interface.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __assign, b as __rest } from '../tslib.
|
|
1
|
+
import { _ as __assign, b as __rest } from '../tslib.es6_es_Bwu1Cn-t.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 '../
|
|
6
|
+
import { I as Input } from '../Input_es_Bs0gEq3L.js';
|
|
7
7
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -36,9 +36,9 @@ function DadataHintField(props) {
|
|
|
36
36
|
input.onBlur,
|
|
37
37
|
input.onChange,
|
|
38
38
|
]);
|
|
39
|
-
return (jsx(PartySuggestions, { minChars: 3, customInput:
|
|
39
|
+
return (jsx(PartySuggestions, { minChars: 3, customInput: DadataCustomInput, delay: delay || 750, inputProps: dadataInputProps, token: token, onChange: setValue }));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function DadataCustomInput(props) {
|
|
42
42
|
var inputValue = props.inputValue, otherProps = __rest(props, ["inputValue"]);
|
|
43
43
|
return jsx(Input, __assign({}, otherProps, { value: inputValue }));
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.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';
|
|
@@ -6,11 +6,11 @@ import { ru } from 'date-fns/locale';
|
|
|
6
6
|
import DatePicker from 'react-datepicker';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
11
|
-
import { I as Input } from '../
|
|
12
|
-
import { L as Label } from '../
|
|
13
|
-
import { T as Text } from '../
|
|
9
|
+
import { B as Button } from '../Button_es_CBbHMy1v.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_BBmoZ7_3.js';
|
|
11
|
+
import { I as Input } from '../Input_es_Bs0gEq3L.js';
|
|
12
|
+
import { L as Label } from '../Label_es_CZpanSdR.js';
|
|
13
|
+
import { T as Text } from '../Text_es_FJGduy7Z.js';
|
|
14
14
|
import 'lodash/camelCase';
|
|
15
15
|
import 'lodash/castArray';
|
|
16
16
|
import 'lodash/upperFirst';
|
|
@@ -23,45 +23,118 @@ import 'react-responsive';
|
|
|
23
23
|
import '../utils/setViewportProperty.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
|
-
import '../
|
|
27
|
-
import '../
|
|
26
|
+
import '../Link_es_DkW06IM-.js';
|
|
27
|
+
import '../Loader_es_BE4nyzXi.js';
|
|
28
28
|
import 'react-inlinesvg';
|
|
29
|
-
import '../
|
|
30
|
-
import '../
|
|
29
|
+
import '../Tooltip_es_H976MIb7.js';
|
|
30
|
+
import '../Title_es_ke3YylFm.js';
|
|
31
|
+
|
|
32
|
+
// import { icon14, icon16 } from '@itcase/icons/default'
|
|
33
|
+
var datePickerSize = {
|
|
34
|
+
sizeS: {
|
|
35
|
+
datePickerProps: {
|
|
36
|
+
daySize: 'xs',
|
|
37
|
+
dayTextSize: 'm',
|
|
38
|
+
iconFillSize: 24,
|
|
39
|
+
// iconLeft: icon14.ChevronLeft,
|
|
40
|
+
// iconRight: icon14.ChevronRight,
|
|
41
|
+
},
|
|
42
|
+
inputProps: {
|
|
43
|
+
size: 's',
|
|
44
|
+
textSize: 's',
|
|
45
|
+
// clearIcon: icon14.Clear,
|
|
46
|
+
clearIconSize: 16,
|
|
47
|
+
clearLabelTextSize: 'm',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
sizeM: {
|
|
51
|
+
datePickerProps: {
|
|
52
|
+
daySize: 'xs',
|
|
53
|
+
dayTextSize: 'm',
|
|
54
|
+
iconFillSize: 24,
|
|
55
|
+
// iconLeft: icon14.ChevronLeft,
|
|
56
|
+
// iconRight: icon14.ChevronRight,
|
|
57
|
+
},
|
|
58
|
+
inputProps: {
|
|
59
|
+
size: 'm',
|
|
60
|
+
textSize: 'm',
|
|
61
|
+
// clearIcon: icon14.Clear,
|
|
62
|
+
clearIconSize: 16,
|
|
63
|
+
clearLabelTextSize: 'm',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
sizeL: {
|
|
67
|
+
datePickerProps: {
|
|
68
|
+
daySize: 'xs',
|
|
69
|
+
dayTextSize: 'm',
|
|
70
|
+
iconFillSize: 24,
|
|
71
|
+
// iconLeft: icon14.ChevronLeft,
|
|
72
|
+
// iconRight: icon14.ChevronRight,
|
|
73
|
+
},
|
|
74
|
+
inputProps: {
|
|
75
|
+
size: 'l',
|
|
76
|
+
textSize: 'l',
|
|
77
|
+
// clearIcon: icon14.Clear,
|
|
78
|
+
clearIconSize: 16,
|
|
79
|
+
clearLabelTextSize: 'm',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
var datePickerStyle = {
|
|
85
|
+
solid: {
|
|
86
|
+
datePickerProps: {},
|
|
87
|
+
inputProps: {
|
|
88
|
+
borderWidth: '0',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
outlined: {
|
|
92
|
+
datePickerProps: {},
|
|
93
|
+
inputProps: {
|
|
94
|
+
fill: 'none',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
ghost: {
|
|
98
|
+
datePickerProps: {},
|
|
99
|
+
inputProps: {
|
|
100
|
+
fill: 'none',
|
|
101
|
+
borderWidth: '0',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
full: {
|
|
105
|
+
datePickerProps: {},
|
|
106
|
+
inputProps: {},
|
|
107
|
+
},
|
|
108
|
+
};
|
|
31
109
|
|
|
32
110
|
var datePickerAppearanceSurface = {
|
|
33
111
|
surfacePrimary: {
|
|
34
|
-
|
|
112
|
+
datePickerProps: {
|
|
35
113
|
daySize: 'xs',
|
|
36
114
|
dayTextColor: 'surfaceTextPrimary',
|
|
37
115
|
dayTextShape: 'rounded',
|
|
38
116
|
dayTextSize: 'm',
|
|
117
|
+
iconFillHover: 'surfaceSecondary',
|
|
39
118
|
iconItemFill: 'surfaceItemPrimary',
|
|
40
|
-
|
|
41
|
-
monthTextSize: 'xl',
|
|
42
|
-
monthTextWeight: '400',
|
|
43
|
-
yearTextColor: 'surfaceTextPrimary',
|
|
44
|
-
yearTextSize: 'xl',
|
|
45
|
-
yearTextWeight: '400',
|
|
119
|
+
iconShape: 'circular',
|
|
46
120
|
},
|
|
47
|
-
|
|
48
|
-
width: '200',
|
|
121
|
+
inputProps: {
|
|
49
122
|
width: 'fill',
|
|
50
|
-
size: 'm',
|
|
51
123
|
fill: 'surfacePrimary',
|
|
52
124
|
fillHover: 'surfacePrimary',
|
|
53
|
-
borderColor: '
|
|
125
|
+
borderColor: 'surfaceBorderPrimary',
|
|
54
126
|
textColor: 'surfaceTextPrimary',
|
|
55
|
-
textSize: 'm',
|
|
56
127
|
caret: 'surfaceItemPrimary',
|
|
57
|
-
|
|
128
|
+
clearIconItemFill: 'surfaceItemQuaternary',
|
|
129
|
+
clearIconItemFillHover: 'surfaceItemPrimary',
|
|
130
|
+
clearLabelTextColor: 'surfaceTextPrimary',
|
|
131
|
+
clearLabelTextColorHover: 'surfaceTextAccent',
|
|
58
132
|
placeholderTextColor: 'surfaceTextSecondary',
|
|
59
|
-
shape: 'rounded',
|
|
60
133
|
},
|
|
61
134
|
},
|
|
62
135
|
};
|
|
63
136
|
|
|
64
|
-
var datePickerAppearance = __assign({}, datePickerAppearanceSurface);
|
|
137
|
+
var datePickerAppearance = __assign(__assign(__assign({}, datePickerAppearanceSurface), datePickerSize), datePickerStyle);
|
|
65
138
|
|
|
66
139
|
var datePickerConfig = {
|
|
67
140
|
appearance: datePickerAppearance,
|
|
@@ -70,8 +143,14 @@ var datePickerConfig = {
|
|
|
70
143
|
},
|
|
71
144
|
};
|
|
72
145
|
function DatePickerInput(props) {
|
|
73
|
-
var className = props.className, appearance = props.appearance,
|
|
146
|
+
var className = props.className, appearance = props.appearance, endValue = props.endValue, _a = props.inputProps, inputProps = _a === void 0 ? {} : _a, value = props.value, onChange = props.onChange;
|
|
74
147
|
var datepickerRef = useRef(null);
|
|
148
|
+
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
149
|
+
var _a;
|
|
150
|
+
return (__assign(__assign({}, resultConfig), (_a = datePickerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
151
|
+
}, {});
|
|
152
|
+
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
153
|
+
var _b = propsGenerator.datePickerProps, datePickerProps = _b === void 0 ? {} : _b, widthClass = propsGenerator.widthClass;
|
|
75
154
|
var start = useMemo(function () {
|
|
76
155
|
if (value) {
|
|
77
156
|
if (typeof value === 'string') {
|
|
@@ -93,8 +172,8 @@ function DatePickerInput(props) {
|
|
|
93
172
|
}
|
|
94
173
|
return endValue;
|
|
95
174
|
}, [endValue]);
|
|
96
|
-
var
|
|
97
|
-
var
|
|
175
|
+
var _c = useState(start), startDate = _c[0], setStartDate = _c[1];
|
|
176
|
+
var _d = useState(end), endDate = _d[0], setEndDate = _d[1];
|
|
98
177
|
var handleChange = useCallback(function (_a) {
|
|
99
178
|
var newStartDate = _a[0], newEndDate = _a[1];
|
|
100
179
|
onChange && onChange(newStartDate, newEndDate);
|
|
@@ -111,7 +190,7 @@ function DatePickerInput(props) {
|
|
|
111
190
|
]);
|
|
112
191
|
var renderCustomHeader = useCallback(function (_a) {
|
|
113
192
|
var decreaseMonth = _a.decreaseMonth, increaseMonth = _a.increaseMonth, monthDate = _a.monthDate;
|
|
114
|
-
return (jsxs("div", { className: "react-datepicker__header--div", children: [datePickerProps.iconLeft && (jsx(Icon, { className: "react-datepicker__icon",
|
|
193
|
+
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, 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, SvgImage: datePickerProps.iconRight, onClick: increaseMonth }))] }));
|
|
115
194
|
}, [
|
|
116
195
|
datePickerProps.iconFill,
|
|
117
196
|
datePickerProps.iconFillHover,
|
|
@@ -120,7 +199,6 @@ function DatePickerInput(props) {
|
|
|
120
199
|
datePickerProps.iconLeft,
|
|
121
200
|
datePickerProps.iconRight,
|
|
122
201
|
datePickerProps.iconShape,
|
|
123
|
-
datePickerProps.iconSize,
|
|
124
202
|
datePickerProps.monthTextColor,
|
|
125
203
|
datePickerProps.monthTextSize,
|
|
126
204
|
datePickerProps.monthTextWeight,
|
|
@@ -134,22 +212,15 @@ function DatePickerInput(props) {
|
|
|
134
212
|
useEffect(function () {
|
|
135
213
|
setEndDate(end);
|
|
136
214
|
}, [end]);
|
|
137
|
-
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
138
|
-
var _a;
|
|
139
|
-
return (__assign(__assign({}, resultConfig), (_a = datePickerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
140
|
-
}, {});
|
|
141
|
-
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
142
|
-
var widthClass = propsGenerator.widthClass;
|
|
143
|
-
// @ts-expect-error
|
|
144
215
|
var datePickerStyles = useStyles(props).styles;
|
|
145
|
-
|
|
216
|
+
console.log(inputProps);
|
|
217
|
+
return (jsx("div", { className: clsx(className, 'datepicker', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.monthsShown) && 'datepicker_multiple-months', (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.customTimeInput) && 'datepicker_button', widthClass && "datepicker_width_".concat(widthClass)), style: datePickerStyles, children: jsx(DatePicker, __assign({ minDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.disablePastDays) ? new Date() : undefined, customInput: jsx(DatePickerCustomInput, { datepickerRef: datepickerRef, inputProps: inputProps, isClearable: datePickerProps.isClearable }), endDate: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? endDate : undefined, locale: ru, popperClassName: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.popper) &&
|
|
146
218
|
"react-datepicker-popper-".concat(datePickerProps.popper), ref: datepickerRef, renderCustomHeader: renderCustomHeader, renderDayContents: renderDayContents, selected: startDate, startDate: startDate, onChange: (datePickerProps === null || datePickerProps === void 0 ? void 0 : datePickerProps.selectsRange) ? handleChange : onChange }, datePickerProps, {
|
|
147
219
|
// Important for use custom clear button
|
|
148
220
|
isClearable: false })) }));
|
|
149
221
|
}
|
|
150
222
|
var DatePickerCustomInput = React.forwardRef(function (props, ref) {
|
|
151
|
-
var
|
|
152
|
-
var datePickerAppearance = props.datePickerAppearance, inputIcon = props.inputIcon, inputProps = props.inputProps, value = props.value, isClearable = props.isClearable;
|
|
223
|
+
var inputIcon = props.inputIcon, inputProps = props.inputProps, value = props.value, isClearable = props.isClearable;
|
|
153
224
|
var multipleValue = useMemo(function () {
|
|
154
225
|
if (value) {
|
|
155
226
|
var twoDates = value.split(' - ');
|
|
@@ -157,10 +228,8 @@ var DatePickerCustomInput = React.forwardRef(function (props, ref) {
|
|
|
157
228
|
}
|
|
158
229
|
return '';
|
|
159
230
|
}, [value]);
|
|
160
|
-
|
|
161
|
-
return (jsxs(React.Fragment, { children: [jsx(Input, __assign({}, inputAppearanceProps, props, inputProps, { className: "datepicker__input", autocomplete: "off", ref: ref, value: multipleValue })), inputIcon && jsx(DatePickerInputIcon, __assign({}, props)), isClearable && jsx(DatePickerClearButton, __assign({}, props))] }));
|
|
231
|
+
return (jsxs(React.Fragment, { children: [jsx(Input, __assign({}, props, inputProps, { className: "datepicker__input", autocomplete: "off", ref: ref, value: multipleValue })), inputIcon && jsx(DatePickerInputIcon, __assign({}, inputProps)), isClearable && jsx(DatePickerClearButton, __assign({}, inputProps))] }));
|
|
162
232
|
});
|
|
163
|
-
DatePickerCustomInput.displayName = 'DatePickerCustomInput';
|
|
164
233
|
function DatePickerClearButton(props) {
|
|
165
234
|
var 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, datepickerRef = props.datepickerRef;
|
|
166
235
|
var onClick = useCallback(function (event) {
|
|
@@ -168,13 +237,11 @@ function DatePickerClearButton(props) {
|
|
|
168
237
|
(_a = datepickerRef === null || datepickerRef === void 0 ? void 0 : datepickerRef.current) === null || _a === void 0 ? void 0 : _a.onClearClick(event);
|
|
169
238
|
(_b = datepickerRef === null || datepickerRef === void 0 ? void 0 : datepickerRef.current) === null || _b === void 0 ? void 0 : _b.handleFocus(event);
|
|
170
239
|
}, []);
|
|
171
|
-
return (
|
|
240
|
+
return (jsx(React.Fragment, { children: clearLabel ? (jsx(Label, { className: clsx('react-datepicker__clear-label', 'cursor_type_pointer'), label: clearLabel, labelTextColor: clearLabelTextColor, labelTextColorHover: clearLabelTextColorHover, labelTextSize: clearLabelTextSize, onClick: onClick })) : ((clearIcon || clearIconSrc) && (jsx(Icon, { className: clsx('react-datepicker__clear-icon', 'cursor_type_pointer'), size: clearIconSize, fill: clearIconFill, fillHover: clearIconFillHover, fillSize: clearIconFillSize, iconFill: clearIconItemFill, iconFillHover: clearIconItemFillHover, imageSrc: clearIconSrc, shape: clearIconShape, SvgImage: clearIcon, onClick: onClick }))) }));
|
|
172
241
|
}
|
|
173
|
-
DatePickerClearButton.displayName = 'DatePickerClearButton';
|
|
174
242
|
function DatePickerInputIcon(props) {
|
|
175
243
|
var inputIcon = props.inputIcon, inputIconFill = props.inputIconFill, inputIconFillHover = props.inputIconFillHover, inputIconFillSize = props.inputIconFillSize, inputIconItemFill = props.inputIconItemFill, inputIconShape = props.inputIconShape, inputIconSize = props.inputIconSize, inputIconSrc = props.inputIconSrc, onClick = props.onClick;
|
|
176
244
|
return (jsx(Icon, { className: clsx('react-datepicker__input-icon', 'cursor_type_pointer'), size: inputIconSize, fill: inputIconFill, fillHover: inputIconFillHover, fillSize: inputIconFillSize, iconFill: inputIconItemFill, imageSrc: inputIconSrc, shape: inputIconShape, SvgImage: inputIcon, onClick: function () { return onClick && onClick(); } }));
|
|
177
245
|
}
|
|
178
|
-
DatePickerInputIcon.displayName = 'DatePickerInputIcon';
|
|
179
246
|
|
|
180
247
|
export { DatePickerInput, datePickerAppearance, datePickerConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider_es_CWsDM2Rm.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
package/dist/components/Dot.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import '../tslib.
|
|
5
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -1,9 +1,9 @@
|
|
|
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_CdYP5BQN.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import '../tslib.
|
|
6
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/upperFirst';
|
|
@@ -17,5 +17,5 @@ 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 '../
|
|
21
|
-
import '../
|
|
20
|
+
import '../Divider_es_CWsDM2Rm.js';
|
|
21
|
+
import '../Text_es_FJGduy7Z.js';
|
package/dist/components/Flex.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import '../tslib.
|
|
5
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
package/dist/components/Grid.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import '../tslib.
|
|
5
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
package/dist/components/Group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { G as Group, a as groupAppearance, g as groupConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { G as Group, a as groupAppearance, g as groupConfig } from '../Group_es_CRGwi5XI.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import '../tslib.
|
|
5
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as Icon, a as iconAppearance, i as iconConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon_es_BBmoZ7_3.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
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 '../
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
21
|
+
import '../Link_es_DkW06IM-.js';
|
|
22
|
+
import '../Tooltip_es_H976MIb7.js';
|
|
23
|
+
import '../Text_es_FJGduy7Z.js';
|
|
24
|
+
import '../Title_es_ke3YylFm.js';
|
package/dist/components/Image.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { I as Image } from '../
|
|
1
|
+
export { I as Image } from '../Image_es_CSzHhlA1.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
-
import '../tslib.
|
|
5
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
package/dist/components/Input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as Input, a as inputAppearance, i as inputConfig, b as inputState } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { I as Input, a as inputAppearance, i as inputConfig, b as inputState } from '../Input_es_Bs0gEq3L.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
@@ -24,7 +24,7 @@ var inputMaskConfig = {
|
|
|
24
24
|
inputMaskConfig.state = newComponent;
|
|
25
25
|
},
|
|
26
26
|
};
|
|
27
|
-
var
|
|
27
|
+
var InputMask = React.forwardRef(function Input(props, ref) {
|
|
28
28
|
var id = props.id, className = props.className,
|
|
29
29
|
// state,
|
|
30
30
|
_a = props.type,
|
|
@@ -59,4 +59,4 @@ var Input = React.forwardRef(function Input(props, ref) {
|
|
|
59
59
|
ref: ref, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
export {
|
|
62
|
+
export { InputMask, inputMaskConfig };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useMemo, useCallback } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_BBmoZ7_3.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/upperFirst';
|
|
@@ -18,10 +18,10 @@ import 'react-inlinesvg';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
21
|
+
import '../Link_es_DkW06IM-.js';
|
|
22
|
+
import '../Tooltip_es_H976MIb7.js';
|
|
23
|
+
import '../Text_es_FJGduy7Z.js';
|
|
24
|
+
import '../Title_es_ke3YylFm.js';
|
|
25
25
|
|
|
26
26
|
var InputPasswordAppearance = {
|
|
27
27
|
dev: {
|
package/dist/components/Label.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_CZpanSdR.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
|
@@ -17,6 +17,6 @@ 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 '../
|
|
21
|
-
import '../
|
|
22
|
-
import '../
|
|
20
|
+
import '../Text_es_FJGduy7Z.js';
|
|
21
|
+
import '../Tooltip_es_H976MIb7.js';
|
|
22
|
+
import '../Title_es_ke3YylFm.js';
|
package/dist/components/Link.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { L as Link, a as LinkWrapper, b as linkAppearance, l as linkConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { L as Link, a as LinkWrapper, b as linkAppearance, l as linkConfig } from '../Link_es_DkW06IM-.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
package/dist/components/List.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import { L as Link } from '../
|
|
6
|
-
import '../tslib.
|
|
5
|
+
import { L as Link } from '../Link_es_DkW06IM-.js';
|
|
6
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader_es_BE4nyzXi.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -17,4 +17,4 @@ 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 '../Text_es_FJGduy7Z.js';
|
package/dist/components/Logo.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { a as LinkWrapper } from '../
|
|
6
|
+
import { a as LinkWrapper } from '../Link_es_DkW06IM-.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { L as Link } from '../
|
|
8
|
-
import { T as Text } from '../
|
|
7
|
+
import { L as Link } from '../Link_es_DkW06IM-.js';
|
|
8
|
+
import { T as Text } from '../Text_es_FJGduy7Z.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/upperFirst';
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import React, { useState, useRef, useCallback, useEffect, useLayoutEffect, useImperativeHandle } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { O as Overlay } from '../
|
|
9
|
-
import { T as Title } from '../
|
|
10
|
-
import { L as Loader } from '../
|
|
8
|
+
import { O as Overlay } from '../Overlay_es_CR7d-ISF.js';
|
|
9
|
+
import { T as Title } from '../Title_es_ke3YylFm.js';
|
|
10
|
+
import { L as Loader } from '../Loader_es_BE4nyzXi.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
13
13
|
import 'lodash/upperFirst';
|
|
@@ -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 '../Text_es_FJGduy7Z.js';
|
|
24
24
|
|
|
25
25
|
var modalAppearanceSurface = {
|
|
26
26
|
surfacePrimary: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { Sheet } from 'react-modal-sheet';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
@@ -2,10 +2,10 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import { T as Text } from '../
|
|
5
|
+
import { T as Text } from '../Text_es_FJGduy7Z.js';
|
|
6
6
|
import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
|
|
7
7
|
import '../context/UIContext.js';
|
|
8
|
-
import '../tslib.
|
|
8
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../
|
|
2
|
-
import '../tslib.
|
|
1
|
+
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay_es_CR7d-ISF.js';
|
|
2
|
+
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|