@fluidattacks/design 1.2.2 → 1.2.3
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/design.js +150 -23
- package/dist/design.js.map +1 -0
- package/dist/design.mjs +3596 -2069
- package/dist/design.mjs.map +1 -0
- package/dist/src/components/@core/index.d.ts +6 -0
- package/dist/src/components/cloud-image/index.d.ts +1 -1
- package/dist/src/components/container/index.d.ts +3 -0
- package/dist/src/components/container/styles.d.ts +7 -0
- package/dist/src/components/container/types.d.ts +11 -0
- package/dist/src/components/logo/index.d.ts +3 -0
- package/dist/src/components/logo/types.d.ts +6 -0
- package/dist/src/index.d.ts +5 -1
- package/package.json +1 -1
- package/dist/dist/design.d.mts +0 -9
- package/dist/dist/design.d.ts +0 -9
|
@@ -9,4 +9,4 @@ interface IImageProps {
|
|
|
9
9
|
}
|
|
10
10
|
declare const MemoizedImage: React.MemoExoticComponent<({ alt, height, publicId, width, plugins, }: Readonly<IImageProps>) => JSX.Element>;
|
|
11
11
|
export type { IImageProps };
|
|
12
|
-
export
|
|
12
|
+
export { MemoizedImage as CloudImage };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface IStyledContainerProps {
|
|
2
|
+
$center?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const StyledContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('../@core').IPaddingModifiable | keyof import('../@core').IMarginModifiable | keyof import('../@core').IPositionModifiable | keyof import('../@core').IBorderModifiable | keyof import('../@core').IDisplayModifiable | keyof import('../@core').ITextModifiable | keyof import('../@core').IInteractionModifiable> & import('../@core').IBorderModifiable & import('../@core').IDisplayModifiable & import('../@core').IInteractionModifiable & import('../@core').IMarginModifiable & import('../@core').IPaddingModifiable & import('../@core').IPositionModifiable & import('../@core').ITextModifiable, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
}, IStyledContainerProps>> & string;
|
|
7
|
+
export { StyledContainer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactHTML } from 'react';
|
|
2
|
+
import { TModifiable } from '../@core/types';
|
|
3
|
+
type THtmlTag = keyof ReactHTML;
|
|
4
|
+
interface IContainerProps extends TModifiable, React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
as?: THtmlTag;
|
|
6
|
+
center?: boolean;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
onHover?: () => void;
|
|
9
|
+
onLeave?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export type { IContainerProps };
|
package/dist/src/index.d.ts
CHANGED
package/package.json
CHANGED
package/dist/dist/design.d.mts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as Yr } from 'react';
|
|
2
|
-
export { bu as CloudImage };
|
|
3
|
-
declare const bu: Yr.MemoExoticComponent<({ alt: t, height: e, publicId: r, width: n, plugins: s }: {
|
|
4
|
-
alt: any;
|
|
5
|
-
height: any;
|
|
6
|
-
publicId: any;
|
|
7
|
-
width: any;
|
|
8
|
-
plugins?: (((r?: any, n?: any, s?: any, c?: any) => false | Promise<any>) | ((e?: any, r?: any, n?: any, s?: any, c?: any) => true | Promise<any> | undefined))[] | undefined;
|
|
9
|
-
}) => any>;
|
package/dist/dist/design.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { ou as CloudImage };
|
|
2
|
-
declare const ou: Gt.MemoExoticComponent<({ alt: t, height: e, publicId: r, width: n, plugins: s }: {
|
|
3
|
-
alt: any;
|
|
4
|
-
height: any;
|
|
5
|
-
publicId: any;
|
|
6
|
-
width: any;
|
|
7
|
-
plugins?: (((r?: any, n?: any, s?: any, c?: any) => false | Promise<any>) | ((e?: any, r?: any, n?: any, s?: any, c?: any) => true | Promise<any> | undefined))[] | undefined;
|
|
8
|
-
}) => any>;
|
|
9
|
-
import Gt = require("react");
|