ods-component-lib 1.17.130 → 1.17.131

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.
@@ -1,4 +1,4 @@
1
1
  import { AlertProps } from "antd";
2
2
  import React from "react";
3
- export declare function OdsAlert(props: AlertProps): React.JSX.Element;
4
- export declare function OdsBannerAlert(props: AlertProps): React.JSX.Element;
3
+ declare function OdsAlert(props: AlertProps): React.JSX.Element;
4
+ export default OdsAlert;
@@ -0,0 +1,4 @@
1
+ import { AlertProps } from "antd";
2
+ import React from "react";
3
+ declare function OdsBannerAlert(props: AlertProps): React.JSX.Element;
4
+ export default OdsBannerAlert;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { OdsAlert, OdsBannerAlert } from "./components/antd/alert/OdsAlert";
1
+ import OdsAlert from "./components/antd/alert/OdsAlert";
2
+ import OdsBannerAlert from "./components/antd/alert/OdsBannerAlert";
2
3
  import OdsAutoComplete from "./components/antd/autocomplete/OdsAutoComplete";
3
4
  import OdsButton from "./components/antd/button/OdsButton";
4
5
  import OdsDropdownButton from "./components/antd/button/OdsDropdownButton";
package/dist/index.js CHANGED
@@ -3,9 +3,9 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
3
3
  var antd = require('antd');
4
4
  var styled = require('styled-components');
5
5
  var styled__default = _interopDefault(styled);
6
- var Marquee = _interopDefault(require('react-fast-marquee'));
7
6
  var React = require('react');
8
7
  var React__default = _interopDefault(React);
8
+ var Marquee = _interopDefault(require('react-fast-marquee'));
9
9
  var Card = _interopDefault(require('antd/es/card/Card'));
10
10
  var icons = require('@ant-design/icons');
11
11
  require('react-phone-input-2/lib/style.css');
@@ -58,6 +58,7 @@ function OdsAlert(props) {
58
58
  onClose: onClose
59
59
  })));
60
60
  }
61
+
61
62
  function OdsBannerAlert(props) {
62
63
  var html = React__default.createElement(StyledAlert, {
63
64
  banner: true,