armtek-uikit-react 1.0.97 → 1.0.98

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/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"armtek-uikit-react","version":"1.0.97","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
1
+ {"name":"armtek-uikit-react","version":"1.0.98","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
@@ -49,6 +49,8 @@ export const DateField = /*#__PURE__*/forwardRef((props, ref) => {
49
49
  const btnRef = useRef();
50
50
  const inputIcon = showTime && showTimeOnly ? 'schedule' : 'calendar_today';
51
51
  let dateValue = typeof realValue === 'string' ? new Date(realValue) : realValue;
52
+
53
+ //TODO Подключение Popover ломает тесты, разобраться почему
52
54
  return /*#__PURE__*/_jsxs(_Fragment, {
53
55
  children: [/*#__PURE__*/_jsx(TextField, {
54
56
  ref: ref,
@@ -139,6 +139,7 @@ function Select(props) {
139
139
  onDelete: handleSelect
140
140
  })]
141
141
  }), anchorEl && /*#__PURE__*/_jsx(Popover, {
142
+ matchWidth: true,
142
143
  anchorEl: anchorEl,
143
144
  open: realActive,
144
145
  onClose: () => setActive(false),
package/ui/Icon/Mi.js CHANGED
@@ -13,12 +13,12 @@ export const Mi = props => {
13
13
  ...tooltipProps,
14
14
  text: title,
15
15
  children: /*#__PURE__*/_jsx(Icon, {
16
- ...iconProps,
17
- variant: 'outlined'
16
+ variant: 'outlined',
17
+ ...iconProps
18
18
  })
19
19
  }) : /*#__PURE__*/_jsx(Icon, {
20
- ...iconProps,
21
- variant: 'outlined'
20
+ variant: 'outlined',
21
+ ...iconProps
22
22
  })
23
23
  });
24
24
  };
@@ -5,7 +5,7 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
5
5
  export const Popover = props => {
6
6
  const {
7
7
  onClose,
8
- matchWidth = true,
8
+ matchWidth = false,
9
9
  children,
10
10
  ...poperProps
11
11
  } = props;
@@ -1 +1,2 @@
1
1
  export { default } from './Popover';
2
+ export * from './Popover';
@@ -1 +1,2 @@
1
- export { default } from "./Popover";
1
+ export { default } from "./Popover";
2
+ export * from "./Popover";