armtek-uikit-react 1.0.127 → 1.0.128

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.127","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.128","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"}}
@@ -57,7 +57,6 @@ const Accordion = props => {
57
57
  buttonTheme = 'dark';
58
58
  }
59
59
  }
60
- console.log('accordion_' + color);
61
60
  return /*#__PURE__*/_jsx(_Fragment, {
62
61
  children: /*#__PURE__*/_jsxs("div", {
63
62
  ...divPops,
@@ -33,7 +33,7 @@ const Button = props => {
33
33
  'arm-button_fullWidth': !!fullWidth,
34
34
  ['arm-button_theme_' + theme]: !!theme
35
35
  });
36
- const polymorphProps = !!as ? {
36
+ const polymorphProps = !!as && typeof as !== 'string' ? {
37
37
  disableStyles: true
38
38
  } : {};
39
39
  return /*#__PURE__*/_jsx(_Fragment, {
@@ -31,10 +31,7 @@ const DatePicker = /*#__PURE__*/forwardRef((props, ref) => {
31
31
  inline: true,
32
32
  renderDayContents: renderDayContents,
33
33
  ...restProps,
34
- selectsRange: selectsRange,
35
- onBlur: () => {
36
- console.log(1);
37
- }
34
+ selectsRange: selectsRange
38
35
  })
39
36
  })
40
37
  });
package/ui/Link/Link.js CHANGED
@@ -23,10 +23,13 @@ const Link = props => {
23
23
  ['arm-link_size_' + size]: !!size,
24
24
  ['arm-link_color_' + color]: !!color
25
25
  }, className);
26
+ const polymorphProps = !!as && typeof as !== 'string' ? {
27
+ disableStyles: true
28
+ } : {};
26
29
  return /*#__PURE__*/_jsx(_Fragment, {
27
30
  children: /*#__PURE__*/_jsx(Component, {
28
31
  ...restProps,
29
- disableStyles: !!as,
32
+ ...polymorphProps,
30
33
  className: !disableStyles ? classNames : className,
31
34
  children: children
32
35
  })