@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.
@@ -0,0 +1,6 @@
1
+ export * from './variants/utils';
2
+ export * from './constants';
3
+ export * from './index';
4
+ export * from './styles';
5
+ export * from './types';
6
+ export * from './utils';
@@ -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 default MemoizedImage;
12
+ export { MemoizedImage as CloudImage };
@@ -0,0 +1,3 @@
1
+ import { IContainerProps } from './types';
2
+ declare const Container: import('react').ForwardRefExoticComponent<Readonly<IContainerProps> & import('react').RefAttributes<HTMLDivElement>>;
3
+ export { Container };
@@ -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 };
@@ -0,0 +1,3 @@
1
+ import { ILogoProps } from './types';
2
+ declare const Logo: ({ src, variant }: ILogoProps) => JSX.Element;
3
+ export { Logo };
@@ -0,0 +1,6 @@
1
+ type TLogoVariant = "footer" | "header" | "icon";
2
+ interface ILogoProps {
3
+ readonly src: string;
4
+ readonly variant: TLogoVariant;
5
+ }
6
+ export type { ILogoProps, TLogoVariant };
@@ -1 +1,5 @@
1
- export { default as CloudImage } from './components/cloud-image';
1
+ export * from './components/@core';
2
+ export * from './components/cloud-image';
3
+ export * from './components/colors';
4
+ export * from './components/container';
5
+ export * from './components/logo';
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "build": "tsc && vite build",
57
57
  "preview": "vite preview"
58
58
  },
59
- "version": "1.2.2"
59
+ "version": "1.2.3"
60
60
  }
@@ -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>;
@@ -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");