@veeqo/ui 0.1.6 → 0.1.8
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/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/styled.d.ts +8 -3
- package/dist/components/Banner/types.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,5 +13,5 @@ type BannerProps = {
|
|
|
13
13
|
/**
|
|
14
14
|
* The `Banner` component was previously called `Alert` (and similarly `Pill`).
|
|
15
15
|
*/
|
|
16
|
-
export declare const Banner: ({ type, text, icon, onClose, className, header, children, backgroundColor, }: BannerProps) => React.JSX.Element;
|
|
16
|
+
export declare const Banner: ({ type, text, icon, onClose, className, header, children, backgroundColor, ...props }: BannerProps) => React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const BannerLayout: import("styled-components").StyledComponent<"div", any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
className?: string | undefined;
|
|
5
|
+
accentColor?: string | undefined;
|
|
6
|
+
backgroundColor?: string | undefined;
|
|
7
|
+
}, never>;
|
|
3
8
|
declare const Row: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
9
|
declare const Col: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
10
|
declare const HeaderCol: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
11
|
declare const StyledText: import("styled-components").StyledComponent<"span", any, {} & import("../Text/types").TextProps, never>;
|
|
7
|
-
export { Pill, StyledText as Text, Row, Col, HeaderCol };
|
|
12
|
+
export { BannerLayout as Pill, StyledText as Text, Row, Col, HeaderCol };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export type BannerTypes = 'help' | 'info' | 'error' | 'success';
|
|
3
|
-
export type PillProps = {
|
|
3
|
+
export type PillProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
accentColor?: string;
|