@inntechcorp/it-design 2.0.233 → 2.0.234
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/button/styled.d.ts +3 -3
- package/dist/image/index.d.ts +11 -0
- package/dist/index.cjs.js +69 -69
- package/dist/index.d.ts +9 -1
- package/dist/index.esm.js +69 -69
- package/dist/types/ButtonProps.d.ts +4 -0
- package/package.json +29 -30
package/dist/button/styled.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IIcon, ISVG } from 'types/ButtonProps';
|
|
1
|
+
import { IIcon, IImage, ISVG } from 'types/ButtonProps';
|
|
2
2
|
declare const Icon: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IIcon>> & string;
|
|
3
3
|
declare const Element: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof IIcon> & IIcon, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
5
|
}, never>> & string;
|
|
6
6
|
declare const SVG: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ISVG>> & string;
|
|
7
|
-
declare const
|
|
7
|
+
declare const ImageWrapper: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IImage>> & string;
|
|
8
8
|
declare const Hide: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
9
9
|
$loading: string;
|
|
10
10
|
}>> & string;
|
|
11
11
|
declare const ClickButton: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IIcon>> & string;
|
|
12
12
|
declare const Link: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, IIcon>> & string;
|
|
13
13
|
declare const A: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, IIcon>> & string;
|
|
14
|
-
export { SVG, Hide, Element,
|
|
14
|
+
export { SVG, Hide, Element, ImageWrapper, ClickButton, Link, A, Icon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
3
|
+
src: string;
|
|
4
|
+
fallback?: string;
|
|
5
|
+
brokenWidth?: number | string;
|
|
6
|
+
brokenHeight?: number | string;
|
|
7
|
+
onLoad?: () => void;
|
|
8
|
+
onError?: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: React.NamedExoticComponent<ImageProps>;
|
|
11
|
+
export default _default;
|