@fluidattacks/design 1.2.2 → 1.2.4-pr
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 +3603 -2076
- package/dist/design.mjs.map +1 -0
- package/dist/src/components/@core/constants.d.ts +1 -0
- package/dist/src/components/@core/constants.d.ts.map +1 -0
- package/dist/src/components/@core/index.d.ts +7 -0
- package/dist/src/components/@core/index.d.ts.map +1 -0
- package/dist/src/components/@core/styles.d.ts +1 -0
- package/dist/src/components/@core/styles.d.ts.map +1 -0
- package/dist/src/components/@core/types.d.ts +1 -0
- package/dist/src/components/@core/types.d.ts.map +1 -0
- package/dist/src/components/@core/utils.d.ts +1 -0
- package/dist/src/components/@core/utils.d.ts.map +1 -0
- package/dist/src/components/@core/variants/utils.d.ts +1 -0
- package/dist/src/components/@core/variants/utils.d.ts.map +1 -0
- package/dist/src/components/cloud-image/index.d.ts +4 -10
- package/dist/src/components/cloud-image/index.d.ts.map +1 -0
- package/dist/src/components/cloud-image/types.d.ts +18 -0
- package/dist/src/components/cloud-image/types.d.ts.map +1 -0
- package/dist/src/components/colors/index.d.ts +1 -0
- package/dist/src/components/colors/index.d.ts.map +1 -0
- package/dist/src/components/container/index.d.ts +5 -0
- package/dist/src/components/container/index.d.ts.map +1 -0
- package/dist/src/components/container/styles.d.ts +8 -0
- package/dist/src/components/container/styles.d.ts.map +1 -0
- package/dist/src/components/container/types.d.ts +20 -0
- package/dist/src/components/container/types.d.ts.map +1 -0
- package/dist/src/components/logo/index.d.ts +4 -0
- package/dist/src/components/logo/index.d.ts.map +1 -0
- package/dist/src/components/logo/types.d.ts +12 -0
- package/dist/src/components/logo/types.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/use-cloudinary-image.d.ts +6 -0
- package/dist/src/hooks/use-cloudinary-image.d.ts.map +1 -0
- package/dist/src/index.d.ts +6 -1
- package/dist/src/index.d.ts.map +1 -0
- package/dist/vite.config.d.ts +1 -0
- package/dist/vite.config.d.ts.map +1 -0
- package/package.json +2 -1
- package/dist/dist/design.d.mts +0 -9
- package/dist/dist/design.d.ts +0 -9
- package/dist/eslint.config.d.mts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/@core/constants.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,UAuEhB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/@core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { TModifiable } from './types';
|
|
2
2
|
declare const BaseComponent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TModifiable>> & string;
|
|
3
3
|
export { BaseComponent };
|
|
4
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/@core/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAY3C,QAAA,MAAM,aAAa,gPAQlB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -78,3 +78,4 @@ interface IInteractionModifiable {
|
|
|
78
78
|
}
|
|
79
79
|
type TModifiable = IBorderModifiable & IDisplayModifiable & IInteractionModifiable & IMarginModifiable & IPaddingModifiable & IPositionModifiable & ITextModifiable;
|
|
80
80
|
export type { TSpacing, IPaddingModifiable, IMarginModifiable, IDisplayModifiable, ITextModifiable, IInteractionModifiable, IPositionModifiable, IBorderModifiable, TModifiable, };
|
|
81
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/@core/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,KAAK,QAAQ,GAAG,MAAM,YAAY,CAAC,SAAS,CAAC,CAAC;AAC9C,KAAK,QAAQ,GAAG,MAAM,YAAY,CAAC,SAAS,CAAC,CAAC;AAE9C,UAAU,kBAAkB;IAC1B,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACnD,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;CACf;AAED,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAClD,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,EAAE,CAAC,EAAE,QAAQ,CAAC;CACf;AAED,UA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|
9
9
|
declare const setInteraction: (props: Readonly<IInteractionModifiable>) => string;
|
|
10
10
|
declare const getStyledConfig: () => StyledOptions<"web", object>;
|
|
11
11
|
export { setPadding, setText, setMargin, setInteraction, setPosition, setDisplay, setBorder, getStyledConfig, };
|
|
12
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/@core/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvD,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAChB,MAAM,SAAS,CAAC;AAYjB,QAAA,MAAM,UAAU,UAAW,QAAQ,CAAC,kBAAkB,CAAC,KAAG,MAazD,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,QAAQ,CAAC,iBAAiB,CAAC,KAAG,MAavD,CAAC;AAEF,QAAA,MAAM,WAAW,UAAW,QAAQ,CAAC,mBAAmB,CAAC,KAAG,MAgB3D,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,QAAQ,CAAC,iBAAiB,CAAC,KAAG,MAkBvD,CAAC;AAUF,QAAA,MAAM,UAAU,UAAW,QAAQ,CAAC,kBAAkB,CAAC,KAAG,MAwDzD,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,QAAQ,CAAC,eAAe,CAAC,KAAG,MAoBnD,CAAC;AAEF,QAAA,MAAM,cAAc,UAAW,QAAQ,CAAC,sBAAsB,CAAC,KAAG,MAsBjE,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,aAAa,CAAC,KAAK,EAAE,MAAM,CAItD,CAAC;AAEF,OAAO,EACL,UAAU,EACV,OAAO,EACP,SAAS,EACT,cAAc,EACd,WAAW,EACX,UAAU,EACV,SAAS,EACT,eAAe,GAChB,CAAC"}
|
|
@@ -58,3 +58,4 @@ interface IComponentVariant<T extends string> {
|
|
|
58
58
|
declare const variantBuilder: <T extends string>(variants: (theme: Readonly<DefaultTheme>) => Record<T, TCssString>) => IComponentVariant<T>;
|
|
59
59
|
export type { TCssString, IComponentVariant, TIconsList };
|
|
60
60
|
export { variantBuilder };
|
|
61
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/@core/variants/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAErE,KAAK,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;AAE1E,UAAU,iBAAiB,CAAC,CAAC,SAAS,MAAM;IAC1C;;;;;;OAMG;IACH,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,UAAU,CAAC;CACvE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,YAC5B,CAAC,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,KAAK,MAAM,CAAC,CAAC,EAAE,UAAU,CAAC,KACjE,iBAAiB,CAAC,CAAC,CAGpB,CAAC;AAEH,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { Plugins } from '@cloudinary/html';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
height?: number | string;
|
|
6
|
-
publicId: string;
|
|
7
|
-
width?: number | string;
|
|
8
|
-
plugins?: Plugins;
|
|
9
|
-
}
|
|
10
|
-
declare const MemoizedImage: React.MemoExoticComponent<({ alt, height, publicId, width, plugins, }: Readonly<IImageProps>) => JSX.Element>;
|
|
2
|
+
import { IImageProps } from './types';
|
|
3
|
+
declare const MemoizedImage: React.MemoExoticComponent<({ alt, height, width, plugins, publicId, }: Readonly<IImageProps>) => JSX.Element>;
|
|
11
4
|
export type { IImageProps };
|
|
12
|
-
export
|
|
5
|
+
export { MemoizedImage as CloudImage };
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cloud-image/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsBtC,QAAA,MAAM,aAAa,yEAdhB,QAAQ,CAAC,WAAW,CAAC,KAAG,GAAG,CAAC,OAAO,CAcM,CAAC;AAE7C,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Plugins } from '@cloudinary/html';
|
|
2
|
+
/**
|
|
3
|
+
* Cloud image component props.
|
|
4
|
+
* @property {string} [alt] The alternate text for an image.
|
|
5
|
+
* @property {number | string} [height] The height of the image.
|
|
6
|
+
* @property {number | string} [width] The width of the image.
|
|
7
|
+
* @property {Plugins} [plugins] A list of cloudinary plugins.
|
|
8
|
+
* @property {string} publicId The publicId location in cloudinary.
|
|
9
|
+
*/
|
|
10
|
+
interface IImageProps {
|
|
11
|
+
alt?: string;
|
|
12
|
+
height?: number | string;
|
|
13
|
+
width?: number | string;
|
|
14
|
+
plugins?: Plugins;
|
|
15
|
+
publicId: string;
|
|
16
|
+
}
|
|
17
|
+
export type { IImageProps };
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/cloud-image/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD;;;;;;;GAOG;AACH,UAAU,WAAW;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/colors/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA0KtD,QAAA,MAAM,KAAK,EAAE,QAAQ,EAqCpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,EAQxC,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,YAiBZ,CAAC;AAEF,QAAA,MAAM,mBAAmB,kBAEtB,QAAQ,CAAC;IACV,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,KAAG,GAAG,CAAC,OAAkE,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { IContainerProps } from './types';
|
|
3
|
+
declare const Container: import('react').ForwardRefExoticComponent<Readonly<PropsWithChildren<IContainerProps>> & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { Container };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/container/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AAIpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,QAAA,MAAM,SAAS,yIAyBb,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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 };
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/container/styles.ts"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,eAAe;;mCAIpB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactHTML } from 'react';
|
|
2
|
+
import { TModifiable } from '../@core/types';
|
|
3
|
+
type THtmlTag = keyof ReactHTML;
|
|
4
|
+
/**
|
|
5
|
+
* Container component props.
|
|
6
|
+
* @extends TModifiable
|
|
7
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
8
|
+
* @property {THtmlTag} [as] The react html tag to represent.
|
|
9
|
+
* @property {boolean} [center] Whether to center the content.
|
|
10
|
+
* @property {Function} [onHover] Function handler for hover event.
|
|
11
|
+
* @property {Function} [onLeave] Function handler for hover event.
|
|
12
|
+
*/
|
|
13
|
+
interface IContainerProps extends TModifiable, HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
as?: THtmlTag;
|
|
15
|
+
center?: boolean;
|
|
16
|
+
onHover?: () => void;
|
|
17
|
+
onLeave?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export type { IContainerProps };
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/container/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,KAAK,QAAQ,GAAG,MAAM,SAAS,CAAC;AAEhC;;;;;;;;GAQG;AACH,UAAU,eAAgB,SAAQ,WAAW,EAAE,cAAc,CAAC,cAAc,CAAC;IAC3E,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logo/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAgB,MAAM,SAAS,CAAC;AASnD,QAAA,MAAM,IAAI,0BAA2B,QAAQ,CAAC,UAAU,CAAC,KAAG,GAAG,CAAC,OAM/D,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type TLogoVariant = "footer" | "header" | "icon";
|
|
2
|
+
/**
|
|
3
|
+
* Logo component props.
|
|
4
|
+
* @property {string} publicId The publicId location in cloudinary.
|
|
5
|
+
* @property {TLogoVariant} variant The different types of logo used.
|
|
6
|
+
*/
|
|
7
|
+
interface ILogoProps {
|
|
8
|
+
publicId: string;
|
|
9
|
+
variant: TLogoVariant;
|
|
10
|
+
}
|
|
11
|
+
export type { ILogoProps, TLogoVariant };
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/logo/types.ts"],"names":[],"mappings":"AACA,KAAK,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjD;;;;GAIG;AACH,UAAU,UAAU;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,YAAY,CAAC;CACvB;AAED,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { CloudinaryImage } from '@cloudinary/url-gen';
|
|
2
|
+
/**
|
|
3
|
+
* Cloudinary image hook props.
|
|
4
|
+
* @property {string} publicId The publicId location in cloudinary.
|
|
5
|
+
* @property {string} [format] The image format desired (e.g., png, jpg).
|
|
6
|
+
*/
|
|
2
7
|
interface IUseCloudinaryImageProps {
|
|
3
8
|
readonly publicId: string;
|
|
4
9
|
readonly format?: string;
|
|
5
10
|
}
|
|
6
11
|
export declare const useCloudinaryImage: ({ publicId, format, }: IUseCloudinaryImageProps) => CloudinaryImage;
|
|
7
12
|
export {};
|
|
13
|
+
//# sourceMappingURL=use-cloudinary-image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-cloudinary-image.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-cloudinary-image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI3D;;;;GAIG;AACH,UAAU,wBAAwB;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,kBAAkB,0BAG5B,wBAAwB,KAAG,eAc7B,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export
|
|
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';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
package/dist/vite.config.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAG7C,QAAA,MAAM,UAAU,EAAE,gBA0BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"eslint-plugin-functional": "7.0.2",
|
|
22
22
|
"eslint-plugin-jsx-a11y": "6.10.0",
|
|
23
23
|
"eslint-plugin-prettier": "5.2.1",
|
|
24
|
+
"eslint-plugin-project-structure": "3.0.1",
|
|
24
25
|
"eslint-plugin-react": "7.37.0",
|
|
25
26
|
"postcss-styled-syntax": "0.6.4",
|
|
26
27
|
"stylelint": "16.9.0",
|
|
@@ -56,5 +57,5 @@
|
|
|
56
57
|
"build": "tsc && vite build",
|
|
57
58
|
"preview": "vite preview"
|
|
58
59
|
},
|
|
59
|
-
"version": "1.2.
|
|
60
|
+
"version": "1.2.4-pr"
|
|
60
61
|
}
|
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");
|
package/dist/eslint.config.d.mts
DELETED