ab-ui-library 1.42.5 → 1.42.7
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/components/AdvancedTable/AdvancedPagination.js +1 -1
- package/components/AdvancedTable/ColumnSettings.js +1 -1
- package/components/AdvancedTable/IndeterminateCheckbox.js +1 -1
- package/components/AdvancedTable/Table.js +1 -1
- package/components/AdvancedTable/hooks/useTableControl.js +1 -1
- package/components/AdvancedTable/index.js +1 -1
- package/components/Alert/Alert.js +1 -1
- package/components/Alert/index.js +1 -1
- package/components/Avatar/Avatar.js +1 -1
- package/components/Avatar/AvatarGroup.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Button/Button.js +1 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonIcon/ButtonIcon.js +1 -1
- package/components/ButtonIcon/index.js +1 -1
- package/components/CardBody/CardBody.js +1 -1
- package/components/CardBody/index.js +1 -1
- package/components/CardSelect/CardSelect.js +1 -1
- package/components/CardSelect/CardSelectGroup.js +1 -1
- package/components/CardSelect/components/CardInput.js +1 -1
- package/components/CardSelect/components/index.js +1 -1
- package/components/CardSelect/index.js +1 -1
- package/components/Checkbox/Checkbox.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Copy/Copy.d.ts +1 -1
- package/components/Copy/Copy.js +4 -3
- package/components/Copy/index.js +1 -1
- package/components/Copy/types.d.ts +1 -0
- package/components/Counter/Counter.js +1 -1
- package/components/Counter/index.js +1 -1
- package/components/DatePicker/CustomHeader/CustomHeader.js +1 -1
- package/components/DatePicker/RangeDatePicker.js +1 -1
- package/components/DatePicker/SimpleDatePicker.js +1 -1
- package/components/DatePicker/TimePicker.js +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/Empty/Empty.js +1 -1
- package/components/Empty/index.js +1 -1
- package/components/FileUpload/FileUpload.js +1 -1
- package/components/FileUpload/UploadItems.js +1 -1
- package/components/FileUpload/index.js +1 -1
- package/components/FormContainer/FormContainer.js +4 -3
- package/components/FormContainer/index.js +1 -1
- package/components/FormContainer/types.d.ts +1 -5
- package/components/FormField/FormField.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Input/Input.js +1 -1
- package/components/Input/InputPassword.js +1 -1
- package/components/Input/index.js +1 -1
- package/components/ItemSelect/ItemSelect.js +1 -1
- package/components/ItemSelect/ItemSelectGroup.js +1 -1
- package/components/ItemSelect/index.js +1 -1
- package/components/Menu/Menu.js +1 -1
- package/components/Menu/NestedMenu.js +1 -1
- package/components/Menu/index.js +1 -1
- package/components/Modal/Modal.js +1 -1
- package/components/Modal/ModalConfirmation.js +1 -1
- package/components/Modal/index.js +1 -1
- package/components/More/More.js +1 -1
- package/components/More/index.js +1 -1
- package/components/MultiTextareaWithChips/MultiTextareaWithChips.js +1 -1
- package/components/MultiTextareaWithChips/index.js +1 -1
- package/components/OneTimePassword/OneTimePassword.js +1 -1
- package/components/OneTimePassword/index.js +1 -1
- package/components/Radio/RadioGroup.js +1 -1
- package/components/Radio/index.js +1 -1
- package/components/Select/ButtonSelect/ButtonSelect.js +1 -1
- package/components/Select/FilterSelect/FilterDropdown.js +1 -1
- package/components/Select/FilterSelect/FilterGroupDropdown.js +1 -1
- package/components/Select/FilterSelect/FilterSelect.js +1 -1
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +1 -1
- package/components/Select/MultiSelect/MultiSelect.js +1 -1
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +1 -1
- package/components/Select/MultiSelect/MultiSelectTree/MultiSelectTree.js +1 -1
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +1 -1
- package/components/Select/MultiSelect/OptionsWrapper.js +1 -1
- package/components/Select/MultiSelect/RadioSelectGrouped/RadioSelectGrouped.js +1 -1
- package/components/Select/NestedSelect/NestedSelect.js +1 -1
- package/components/Select/Select/Select.js +1 -1
- package/components/Select/SharedComponents/Actions.js +1 -1
- package/components/Select/SharedComponents/ContentTop.js +1 -1
- package/components/Select/SharedComponents/Footer.js +1 -1
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +1 -1
- package/components/Select/SharedComponents/index.js +1 -1
- package/components/Select/index.js +1 -1
- package/components/SideNavigation/NavigationItem/index.js +1 -1
- package/components/SideNavigation/SideNavigation.js +1 -1
- package/components/SideNavigation/index.js +1 -1
- package/components/SideSheet/Footer/Footer.js +1 -1
- package/components/SideSheet/SideSheet.js +1 -1
- package/components/SideSheet/index.js +1 -1
- package/components/Snackbar/Snackbar.js +1 -1
- package/components/Snackbar/index.js +1 -1
- package/components/Switcher/Switcher.js +1 -1
- package/components/Switcher/index.js +1 -1
- package/components/Table/Header.js +1 -1
- package/components/Table/IndeterminateCheckbox.js +1 -1
- package/components/Table/Row.js +1 -1
- package/components/Table/Table.js +1 -1
- package/components/Table/index.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/helperComponents/OptionItem/OptionItem.js +1 -1
- package/helperComponents/OptionItem/index.js +1 -1
- package/helperComponents/index.js +1 -1
- package/hooks/useHideOnScroll.d.ts +1 -1
- package/hooks/useHideOnScroll.js +10 -11
- package/index.js +1 -1
- package/package.json +1 -1
- package/stories/Copy.stories.d.ts +1 -1
- /package/{RadioGroup-5fd70c2f.js → RadioGroup-eab8ff76.js} +0 -0
|
@@ -5,7 +5,7 @@ import { Input } from '../Input/Input.js';
|
|
|
5
5
|
import '../Input/InputPassword.js';
|
|
6
6
|
import { Button } from '../Button/Button.js';
|
|
7
7
|
import { Select } from '../Select/Select/Select.js';
|
|
8
|
-
import '../../RadioGroup-
|
|
8
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import 'dayjs';
|
|
11
11
|
import '../../hooks/useScreenSize.js';
|
|
@@ -12,7 +12,7 @@ import '../../hooks/useScreenSize.js';
|
|
|
12
12
|
import 'react-hook-form';
|
|
13
13
|
import 'framer-motion';
|
|
14
14
|
import '../Collapse/CollapseGroup/CollapseGroup.js';
|
|
15
|
-
import '../../RadioGroup-
|
|
15
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
16
16
|
import { Tooltip } from '../Tooltip/Tooltip.js';
|
|
17
17
|
import '../Radio/Radio.js';
|
|
18
18
|
import 'react-syntax-highlighter';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useEffect } from 'react';
|
|
2
|
-
import { C as Checkbox } from '../../RadioGroup-
|
|
2
|
+
import { C as Checkbox } from '../../RadioGroup-eab8ff76.js';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import '../Radio/Radio.js';
|
|
5
5
|
import '../Text/Text.js';
|
|
@@ -22,7 +22,7 @@ import '../SVGIcons/IconArrowUp.js';
|
|
|
22
22
|
import '../../utils/helpers.js';
|
|
23
23
|
import 'dayjs';
|
|
24
24
|
import './IndeterminateCheckbox.js';
|
|
25
|
-
import '../../RadioGroup-
|
|
25
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
26
26
|
import '../Radio/Radio.js';
|
|
27
27
|
import '../../helperComponents/Label/Label.js';
|
|
28
28
|
import '../Popover/Popover.js';
|
|
@@ -10,7 +10,7 @@ import { loadTableSettings } from '../loadTableSettings.js';
|
|
|
10
10
|
import { useTableColumnSettings } from './useTableColumnSettings.js';
|
|
11
11
|
import { STORAGE_TYPE, TABLE_NAME_PREFIX } from '../constants/index.js';
|
|
12
12
|
import '../../../typeof-5f3abdcb.js';
|
|
13
|
-
import '../../../RadioGroup-
|
|
13
|
+
import '../../../RadioGroup-eab8ff76.js';
|
|
14
14
|
import '../../Radio/Radio.js';
|
|
15
15
|
import '../../Text/Text.js';
|
|
16
16
|
import 'classnames';
|
|
@@ -21,7 +21,7 @@ import 'dayjs';
|
|
|
21
21
|
import 'react-loading-skeleton';
|
|
22
22
|
import './hooks/useTableControl.js';
|
|
23
23
|
import './IndeterminateCheckbox.js';
|
|
24
|
-
import '../../RadioGroup-
|
|
24
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
25
25
|
import '../Radio/Radio.js';
|
|
26
26
|
import '../../helperComponents/Label/Label.js';
|
|
27
27
|
import '../Popover/Popover.js';
|
|
@@ -6,7 +6,7 @@ import { Text } from '../Text/Text.js';
|
|
|
6
6
|
import { Button } from '../Button/Button.js';
|
|
7
7
|
import { IconDismissFilled } from '../SVGIcons/IconDismissFilled.js';
|
|
8
8
|
import { IconDynamicComponent } from '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
9
|
-
import '../../RadioGroup-
|
|
9
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
10
10
|
import 'dayjs';
|
|
11
11
|
import '../../hooks/useScreenSize.js';
|
|
12
12
|
import 'react-hook-form';
|
|
@@ -11,7 +11,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
11
11
|
import '../../typeof-5f3abdcb.js';
|
|
12
12
|
import '../../objectWithoutProperties-e2930596.js';
|
|
13
13
|
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../Radio/Radio.js';
|
|
16
16
|
import '../../helperComponents/Label/Label.js';
|
|
17
17
|
import '../Popover/Popover.js';
|
|
@@ -11,7 +11,7 @@ import '../../typeof-5f3abdcb.js';
|
|
|
11
11
|
import '../../objectWithoutProperties-e2930596.js';
|
|
12
12
|
import 'dayjs';
|
|
13
13
|
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../Radio/Radio.js';
|
|
16
16
|
import '../Text/Text.js';
|
|
17
17
|
import '../../utils/helpers.js';
|
|
@@ -25,7 +25,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
25
25
|
import '../../typeof-5f3abdcb.js';
|
|
26
26
|
import '../../objectWithoutProperties-e2930596.js';
|
|
27
27
|
import '../../helperComponents/Loader/Loader.js';
|
|
28
|
-
import '../../RadioGroup-
|
|
28
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
29
29
|
import '../Radio/Radio.js';
|
|
30
30
|
import '../../helperComponents/Label/Label.js';
|
|
31
31
|
import '../Popover/Popover.js';
|
|
@@ -13,7 +13,7 @@ import '../../typeof-5f3abdcb.js';
|
|
|
13
13
|
import '../../objectWithoutProperties-e2930596.js';
|
|
14
14
|
import 'dayjs';
|
|
15
15
|
import '../../helperComponents/Loader/Loader.js';
|
|
16
|
-
import '../../RadioGroup-
|
|
16
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
17
17
|
import '../Radio/Radio.js';
|
|
18
18
|
import '../Text/Text.js';
|
|
19
19
|
import '../../utils/helpers.js';
|
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import 'dayjs';
|
|
7
7
|
import { Loader } from '../../helperComponents/Loader/Loader.js';
|
|
8
|
-
import '../../RadioGroup-
|
|
8
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
9
9
|
import '../../hooks/useScreenSize.js';
|
|
10
10
|
import 'react-hook-form';
|
|
11
11
|
import '../Radio/Radio.js';
|
|
@@ -7,7 +7,7 @@ import 'react';
|
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import 'dayjs';
|
|
9
9
|
import '../../helperComponents/Loader/Loader.js';
|
|
10
|
-
import '../../RadioGroup-
|
|
10
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
11
11
|
import '../Radio/Radio.js';
|
|
12
12
|
import '../Text/Text.js';
|
|
13
13
|
import '../../utils/helpers.js';
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import 'dayjs';
|
|
6
6
|
import { Loader } from '../../helperComponents/Loader/Loader.js';
|
|
7
|
-
import '../../RadioGroup-
|
|
7
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
8
8
|
import '../../hooks/useScreenSize.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../Radio/Radio.js';
|
|
@@ -5,7 +5,7 @@ import 'react';
|
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import 'dayjs';
|
|
7
7
|
import '../../helperComponents/Loader/Loader.js';
|
|
8
|
-
import '../../RadioGroup-
|
|
8
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
9
9
|
import '../Radio/Radio.js';
|
|
10
10
|
import '../Text/Text.js';
|
|
11
11
|
import '../../utils/helpers.js';
|
|
@@ -10,7 +10,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
10
10
|
import '../../typeof-5f3abdcb.js';
|
|
11
11
|
import '../../objectWithoutProperties-e2930596.js';
|
|
12
12
|
import '../../helperComponents/Loader/Loader.js';
|
|
13
|
-
import '../../RadioGroup-
|
|
13
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
14
14
|
import '../Radio/Radio.js';
|
|
15
15
|
import '../../helperComponents/Label/Label.js';
|
|
16
16
|
import '../Popover/Popover.js';
|
|
@@ -11,7 +11,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
11
11
|
import '../../typeof-5f3abdcb.js';
|
|
12
12
|
import '../../objectWithoutProperties-e2930596.js';
|
|
13
13
|
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../Radio/Radio.js';
|
|
16
16
|
import '../../helperComponents/Label/Label.js';
|
|
17
17
|
import '../Popover/Popover.js';
|
|
@@ -7,7 +7,7 @@ import { CardDescription } from './components/CardDescription.js';
|
|
|
7
7
|
import { CardAdditionalInfo } from './components/CardAdditionalInfo.js';
|
|
8
8
|
import { CARD_SELECT_TYPES } from '../../consts/index.js';
|
|
9
9
|
import { Radio } from '../Radio/Radio.js';
|
|
10
|
-
import '../../RadioGroup-
|
|
10
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
11
11
|
import { Image } from '../Image/Image.js';
|
|
12
12
|
import { Popover } from '../Popover/Popover.js';
|
|
13
13
|
import { Positions } from '../Tooltip/types.js';
|
|
@@ -21,7 +21,7 @@ import '../../helperComponents/Label/Label.js';
|
|
|
21
21
|
import '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
22
22
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
23
23
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
24
|
-
import '../../RadioGroup-
|
|
24
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
25
25
|
import '../Radio/Radio.js';
|
|
26
26
|
import '../Popover/Popover.js';
|
|
27
27
|
import '../../slicedToArray-e10dcad6.js';
|
|
@@ -15,7 +15,7 @@ import '../../../utils/helpers.js';
|
|
|
15
15
|
import 'dayjs';
|
|
16
16
|
import '../../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
17
17
|
import '../../../helperComponents/IconDynamicComponent/constants.js';
|
|
18
|
-
import '../../../RadioGroup-
|
|
18
|
+
import '../../../RadioGroup-eab8ff76.js';
|
|
19
19
|
import '../../Radio/Radio.js';
|
|
20
20
|
import '../../Popover/Popover.js';
|
|
21
21
|
import '../../../slicedToArray-e10dcad6.js';
|
|
@@ -22,7 +22,7 @@ import '../../../helperComponents/Label/Label.js';
|
|
|
22
22
|
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
23
23
|
import '../../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
24
24
|
import '../../../helperComponents/IconDynamicComponent/constants.js';
|
|
25
|
-
import '../../../RadioGroup-
|
|
25
|
+
import '../../../RadioGroup-eab8ff76.js';
|
|
26
26
|
import '../../Radio/Radio.js';
|
|
27
27
|
import '../../Popover/Popover.js';
|
|
28
28
|
import '../../../slicedToArray-e10dcad6.js';
|
|
@@ -22,7 +22,7 @@ import '../../helperComponents/Label/Label.js';
|
|
|
22
22
|
import '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
23
23
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
24
24
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
25
|
-
import '../../RadioGroup-
|
|
25
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
26
26
|
import '../Radio/Radio.js';
|
|
27
27
|
import '../Popover/Popover.js';
|
|
28
28
|
import '../../slicedToArray-e10dcad6.js';
|
|
@@ -7,7 +7,7 @@ import '../Link/Link.js';
|
|
|
7
7
|
import '../Text/Text.js';
|
|
8
8
|
import '../SVGIcons/IconInfo.js';
|
|
9
9
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
10
|
-
export { C as Checkbox } from '../../RadioGroup-
|
|
10
|
+
export { C as Checkbox } from '../../RadioGroup-eab8ff76.js';
|
|
11
11
|
import 'dayjs';
|
|
12
12
|
import '../../hooks/useScreenSize.js';
|
|
13
13
|
import 'react-hook-form';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { TCopyProps } from './types';
|
|
3
|
-
export declare const Copy: ({ textAfterCopy, className, text, dataId, size, type }: TCopyProps) => ReactElement;
|
|
3
|
+
export declare const Copy: ({ textAfterCopy, className, text, dataId, size, type, parentRef }: TCopyProps) => ReactElement;
|
package/components/Copy/Copy.js
CHANGED
|
@@ -23,7 +23,7 @@ import '../../consts/index.js';
|
|
|
23
23
|
import '../../extends-74a403b8.js';
|
|
24
24
|
import '../../objectWithoutProperties-e2930596.js';
|
|
25
25
|
import '../../helperComponents/Loader/Loader.js';
|
|
26
|
-
import '../../RadioGroup-
|
|
26
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
27
27
|
import '../Radio/Radio.js';
|
|
28
28
|
import '../../helperComponents/Label/Label.js';
|
|
29
29
|
import '../SVGIcons/IconInfo.js';
|
|
@@ -41,7 +41,8 @@ var Copy = function Copy(_ref) {
|
|
|
41
41
|
_ref$size = _ref.size,
|
|
42
42
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
43
43
|
_ref$type = _ref.type,
|
|
44
|
-
type = _ref$type === void 0 ? 'tertiary' : _ref$type
|
|
44
|
+
type = _ref$type === void 0 ? 'tertiary' : _ref$type,
|
|
45
|
+
parentRef = _ref.parentRef;
|
|
45
46
|
var _useState = useState(false),
|
|
46
47
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47
48
|
isTooltipVisible = _useState2[0],
|
|
@@ -58,7 +59,7 @@ var Copy = function Copy(_ref) {
|
|
|
58
59
|
return onCloseTooltip();
|
|
59
60
|
}, 3000);
|
|
60
61
|
};
|
|
61
|
-
useHideOnScroll(onCloseTooltip);
|
|
62
|
+
useHideOnScroll(onCloseTooltip, parentRef);
|
|
62
63
|
return /*#__PURE__*/React.createElement("div", {
|
|
63
64
|
ref: copyIconRef,
|
|
64
65
|
className: "copy-icon"
|
package/components/Copy/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import '../ButtonIcon/ButtonIcon.js';
|
|
|
24
24
|
import '../../extends-74a403b8.js';
|
|
25
25
|
import '../../objectWithoutProperties-e2930596.js';
|
|
26
26
|
import '../../helperComponents/Loader/Loader.js';
|
|
27
|
-
import '../../RadioGroup-
|
|
27
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
28
28
|
import '../Radio/Radio.js';
|
|
29
29
|
import '../../helperComponents/Label/Label.js';
|
|
30
30
|
import '../SVGIcons/IconInfo.js';
|
|
@@ -17,7 +17,7 @@ import '../Text/Text.js';
|
|
|
17
17
|
import 'dayjs';
|
|
18
18
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
19
19
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
20
|
-
import '../../RadioGroup-
|
|
20
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
21
21
|
import '../Radio/Radio.js';
|
|
22
22
|
import '../Popover/Popover.js';
|
|
23
23
|
import '../../slicedToArray-e10dcad6.js';
|
|
@@ -15,7 +15,7 @@ import '../../utils/helpers.js';
|
|
|
15
15
|
import 'dayjs';
|
|
16
16
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
17
17
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
18
|
-
import '../../RadioGroup-
|
|
18
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
19
19
|
import '../Radio/Radio.js';
|
|
20
20
|
import '../Popover/Popover.js';
|
|
21
21
|
import '../../slicedToArray-e10dcad6.js';
|
|
@@ -5,7 +5,7 @@ import '../../../hooks/useScreenSize.js';
|
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import '../../Input/Input.js';
|
|
7
7
|
import '../../Input/InputPassword.js';
|
|
8
|
-
import '../../../RadioGroup-
|
|
8
|
+
import '../../../RadioGroup-eab8ff76.js';
|
|
9
9
|
import '../../Radio/Radio.js';
|
|
10
10
|
import 'react-syntax-highlighter';
|
|
11
11
|
import 'react-dom';
|
|
@@ -11,7 +11,7 @@ import { useImportFilesDynamically } from './hooks.js';
|
|
|
11
11
|
import { isSameDay } from '../../utils/helpers.js';
|
|
12
12
|
import { Label } from '../../helperComponents/Label/Label.js';
|
|
13
13
|
import 'classnames';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../../hooks/useScreenSize.js';
|
|
16
16
|
import 'react-hook-form';
|
|
17
17
|
import '../Radio/Radio.js';
|
|
@@ -7,7 +7,7 @@ import { Input } from '../Input/Input.js';
|
|
|
7
7
|
import '../Input/InputPassword.js';
|
|
8
8
|
import { Label } from '../../helperComponents/Label/Label.js';
|
|
9
9
|
import 'classnames';
|
|
10
|
-
import '../../RadioGroup-
|
|
10
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
11
11
|
import { MONTHS } from '../../consts/index.js';
|
|
12
12
|
import '../../hooks/useScreenSize.js';
|
|
13
13
|
import 'react-hook-form';
|
|
@@ -8,7 +8,7 @@ import { Input } from '../Input/Input.js';
|
|
|
8
8
|
import '../Input/InputPassword.js';
|
|
9
9
|
import { Label } from '../../helperComponents/Label/Label.js';
|
|
10
10
|
import 'classnames';
|
|
11
|
-
import '../../RadioGroup-
|
|
11
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
12
12
|
import '../../hooks/useScreenSize.js';
|
|
13
13
|
import 'react-hook-form';
|
|
14
14
|
import '../Radio/Radio.js';
|
|
@@ -19,7 +19,7 @@ import '../Text/Text.js';
|
|
|
19
19
|
import '../../utils/helpers.js';
|
|
20
20
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
21
21
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
22
|
-
import '../../RadioGroup-
|
|
22
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
23
23
|
import '../Radio/Radio.js';
|
|
24
24
|
import '../Popover/Popover.js';
|
|
25
25
|
import '../../hooks/useGetTooltipStyles.js';
|
|
@@ -10,7 +10,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
10
10
|
import '../../typeof-5f3abdcb.js';
|
|
11
11
|
import '../../objectWithoutProperties-e2930596.js';
|
|
12
12
|
import '../../helperComponents/Loader/Loader.js';
|
|
13
|
-
import '../../RadioGroup-
|
|
13
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
14
14
|
import '../Radio/Radio.js';
|
|
15
15
|
import '../../helperComponents/Label/Label.js';
|
|
16
16
|
import '../Popover/Popover.js';
|
|
@@ -11,7 +11,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
11
11
|
import '../../typeof-5f3abdcb.js';
|
|
12
12
|
import '../../objectWithoutProperties-e2930596.js';
|
|
13
13
|
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../Radio/Radio.js';
|
|
16
16
|
import '../../helperComponents/Label/Label.js';
|
|
17
17
|
import '../Popover/Popover.js';
|
|
@@ -6,7 +6,7 @@ import { Button } from '../Button/Button.js';
|
|
|
6
6
|
import { Label } from '../../helperComponents/Label/Label.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import { uniqueFiles, checkIsAllowedFileSize, checkIsAllowedTypes, getFormattedValues } from '../../utils/helpers.js';
|
|
9
|
-
import '../../RadioGroup-
|
|
9
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
10
10
|
import { FILE_UPLOAD_ERRORS } from '../../consts/index.js';
|
|
11
11
|
import '../../hooks/useScreenSize.js';
|
|
12
12
|
import 'react-hook-form';
|
|
@@ -6,7 +6,7 @@ import '../../hooks/useScreenSize.js';
|
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import { ErrorMessage } from '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
9
|
-
import '../../RadioGroup-
|
|
9
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
10
10
|
import { Button } from '../Button/Button.js';
|
|
11
11
|
import '../Radio/Radio.js';
|
|
12
12
|
import 'react-syntax-highlighter';
|
|
@@ -11,7 +11,7 @@ import '../../objectWithoutProperties-e2930596.js';
|
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import 'dayjs';
|
|
13
13
|
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../Radio/Radio.js';
|
|
16
16
|
import '../Text/Text.js';
|
|
17
17
|
import '../../utils/helpers.js';
|
|
@@ -11,7 +11,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
11
11
|
import '../../typeof-5f3abdcb.js';
|
|
12
12
|
import '../../objectWithoutProperties-e2930596.js';
|
|
13
13
|
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '../../RadioGroup-
|
|
14
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
15
15
|
import '../Radio/Radio.js';
|
|
16
16
|
import '../Text/Text.js';
|
|
17
17
|
import '../../helperComponents/Label/Label.js';
|
|
@@ -46,13 +46,14 @@ var FormContainer = function FormContainer(props) {
|
|
|
46
46
|
mode = _props$mode === void 0 ? 'onBlur' : _props$mode,
|
|
47
47
|
initialValues = props.initialValues,
|
|
48
48
|
validationScheme = props.validationScheme,
|
|
49
|
-
|
|
49
|
+
validationContext = props.validationContext,
|
|
50
50
|
buttonConfigs = props.buttonConfigs,
|
|
51
51
|
formId = props.formId,
|
|
52
52
|
onSubmit = props.onSubmit;
|
|
53
53
|
var _useForm = useForm({
|
|
54
54
|
mode: mode,
|
|
55
|
-
resolver: o(validationScheme
|
|
55
|
+
resolver: o(validationScheme),
|
|
56
|
+
context: validationContext,
|
|
56
57
|
defaultValues: initialValues,
|
|
57
58
|
shouldFocusError: shouldFocusError,
|
|
58
59
|
shouldUnregister: shouldUnregister
|
|
@@ -12,7 +12,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
12
12
|
import '../../typeof-5f3abdcb.js';
|
|
13
13
|
import '../../objectWithoutProperties-e2930596.js';
|
|
14
14
|
import '../../helperComponents/Loader/Loader.js';
|
|
15
|
-
import '../../RadioGroup-
|
|
15
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
16
16
|
import '../Radio/Radio.js';
|
|
17
17
|
import '../Text/Text.js';
|
|
18
18
|
import '../../helperComponents/Label/Label.js';
|
|
@@ -11,11 +11,7 @@ export interface FormPropTypes {
|
|
|
11
11
|
onSubmit?: (data: TFormData, formState: FormState<TFormData>, dirtyFields?: TDirtyFields) => void;
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
validationScheme: AnyObjectSchema;
|
|
14
|
-
|
|
15
|
-
context?: unknown;
|
|
16
|
-
stripUnknown?: boolean;
|
|
17
|
-
recursive?: boolean;
|
|
18
|
-
};
|
|
14
|
+
validationContext?: unknown;
|
|
19
15
|
initialValues: TFormData;
|
|
20
16
|
buttonConfigs?: TButtonPropTypes[];
|
|
21
17
|
shouldUnregister?: boolean;
|
|
@@ -3,7 +3,7 @@ import React, { useContext } from 'react';
|
|
|
3
3
|
import { ErrorMessage } from '@hookform/error-message';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { ErrorMessage as ErrorMessage$1 } from '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
6
|
-
import '../../RadioGroup-
|
|
6
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
7
7
|
import 'dayjs';
|
|
8
8
|
import { FormContext } from '../../context/types.js';
|
|
9
9
|
import '../../hooks/useScreenSize.js';
|
|
@@ -10,7 +10,7 @@ import '../../utils/helpers.js';
|
|
|
10
10
|
import 'dayjs';
|
|
11
11
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
12
12
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
13
|
-
import '../../RadioGroup-
|
|
13
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
14
14
|
import '../Radio/Radio.js';
|
|
15
15
|
import '../../helperComponents/Label/Label.js';
|
|
16
16
|
import '../../extends-74a403b8.js';
|
|
@@ -7,7 +7,7 @@ import classNames from 'classnames';
|
|
|
7
7
|
import { PatternFormat, NumericFormat } from 'react-number-format';
|
|
8
8
|
import { Label } from '../../helperComponents/Label/Label.js';
|
|
9
9
|
import { ErrorMessage } from '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
10
|
-
import '../../RadioGroup-
|
|
10
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
11
11
|
import { Text } from '../Text/Text.js';
|
|
12
12
|
import 'dayjs';
|
|
13
13
|
import '../../hooks/useScreenSize.js';
|
|
@@ -22,7 +22,7 @@ import '../../helperComponents/Label/Label.js';
|
|
|
22
22
|
import '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
23
23
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
24
24
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
25
|
-
import '../../RadioGroup-
|
|
25
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
26
26
|
import '../Radio/Radio.js';
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import '../Link/Link.js';
|
|
@@ -15,7 +15,7 @@ import '../../utils/helpers.js';
|
|
|
15
15
|
import 'dayjs';
|
|
16
16
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
17
17
|
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
18
|
-
import '../../RadioGroup-
|
|
18
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
19
19
|
import '../Radio/Radio.js';
|
|
20
20
|
import '../Popover/Popover.js';
|
|
21
21
|
import '../../slicedToArray-e10dcad6.js';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Text } from '../Text/Text.js';
|
|
3
3
|
import { Image } from '../Image/Image.js';
|
|
4
4
|
import { Radio } from '../Radio/Radio.js';
|
|
5
|
-
import '../../RadioGroup-
|
|
5
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import '../../utils/helpers.js';
|
|
8
8
|
import 'dayjs';
|
|
@@ -6,7 +6,7 @@ import '../../utils/helpers.js';
|
|
|
6
6
|
import 'dayjs';
|
|
7
7
|
import '../Image/Image.js';
|
|
8
8
|
import '../Radio/Radio.js';
|
|
9
|
-
import '../../RadioGroup-
|
|
9
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
10
10
|
import '../../helperComponents/Label/Label.js';
|
|
11
11
|
import '../../defineProperty-41a50022.js';
|
|
12
12
|
import '../../typeof-5f3abdcb.js';
|
|
@@ -7,7 +7,7 @@ import '../../utils/helpers.js';
|
|
|
7
7
|
import 'dayjs';
|
|
8
8
|
import '../Image/Image.js';
|
|
9
9
|
import '../Radio/Radio.js';
|
|
10
|
-
import '../../RadioGroup-
|
|
10
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
11
11
|
import '../../helperComponents/Label/Label.js';
|
|
12
12
|
import '../../defineProperty-41a50022.js';
|
|
13
13
|
import '../../typeof-5f3abdcb.js';
|
package/components/Menu/Menu.js
CHANGED
|
@@ -14,7 +14,7 @@ import { OptionItem } from '../../helperComponents/OptionItem/OptionItem.js';
|
|
|
14
14
|
import 'react-syntax-highlighter';
|
|
15
15
|
import '../../consts/index.js';
|
|
16
16
|
import '../../extends-74a403b8.js';
|
|
17
|
-
import '../../RadioGroup-
|
|
17
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
18
18
|
import '../Radio/Radio.js';
|
|
19
19
|
import '../Text/Text.js';
|
|
20
20
|
import '../../utils/helpers.js';
|
|
@@ -24,7 +24,7 @@ import '../Text/Text.js';
|
|
|
24
24
|
import '../../utils/helpers.js';
|
|
25
25
|
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
26
26
|
import '../SVGIcons/IconChevronDown.js';
|
|
27
|
-
import '../../RadioGroup-
|
|
27
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
28
28
|
import '../Radio/Radio.js';
|
|
29
29
|
import '../../helperComponents/Label/Label.js';
|
|
30
30
|
import '../Popover/Popover.js';
|
package/components/Menu/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import 'react-hook-form';
|
|
|
15
15
|
import 'classnames';
|
|
16
16
|
import '../../helperComponents/OptionItem/OptionItem.js';
|
|
17
17
|
import '../../extends-74a403b8.js';
|
|
18
|
-
import '../../RadioGroup-
|
|
18
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
19
19
|
import '../Radio/Radio.js';
|
|
20
20
|
import '../Text/Text.js';
|
|
21
21
|
import '../../utils/helpers.js';
|
|
@@ -15,7 +15,7 @@ import { Text } from '../Text/Text.js';
|
|
|
15
15
|
import { IconDismiss } from '../SVGIcons/IconDismiss.js';
|
|
16
16
|
import { ButtonIcon } from '../ButtonIcon/ButtonIcon.js';
|
|
17
17
|
import { Tooltip } from '../Tooltip/Tooltip.js';
|
|
18
|
-
import { C as Checkbox } from '../../RadioGroup-
|
|
18
|
+
import { C as Checkbox } from '../../RadioGroup-eab8ff76.js';
|
|
19
19
|
import '../../consts/index.js';
|
|
20
20
|
import '../../defineProperty-41a50022.js';
|
|
21
21
|
import '../../typeof-5f3abdcb.js';
|
|
@@ -17,7 +17,7 @@ import '../../defineProperty-41a50022.js';
|
|
|
17
17
|
import '../../typeof-5f3abdcb.js';
|
|
18
18
|
import '../../objectWithoutProperties-e2930596.js';
|
|
19
19
|
import '../../helperComponents/Loader/Loader.js';
|
|
20
|
-
import '../../RadioGroup-
|
|
20
|
+
import '../../RadioGroup-eab8ff76.js';
|
|
21
21
|
import '../Radio/Radio.js';
|
|
22
22
|
import '../../utils/helpers.js';
|
|
23
23
|
import '../../helperComponents/Label/Label.js';
|