@fluidattacks/design 1.2.28 → 1.2.29
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 +222 -159
- package/dist/design.mjs +2853 -2649
- package/dist/src/components/button/types.d.ts +2 -0
- package/dist/src/components/content-card-carousel/index.d.ts +3 -0
- package/dist/src/components/content-card-carousel/scroll-buttons/index.d.ts +5 -1
- package/dist/src/components/content-card-carousel/styles.d.ts +3 -2
- package/dist/src/components/interactive-card/index.d.ts +0 -0
- package/dist/src/components/interactive-card/styles.d.ts +2 -0
- package/dist/src/components/interactive-card/types.d.ts +20 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ type TVariant = "primary" | "primaryWeb" | "secondary" | "secondaryWeb" | "terti
|
|
|
12
12
|
* @extends IIconModifiable
|
|
13
13
|
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
14
14
|
* @property {boolean} [bold] - Text bold for link variant.
|
|
15
|
+
* @property {boolean} [external] - Whether the link should open in a new tab.
|
|
15
16
|
* @property {string} [href] - Link URL for link variant.
|
|
16
17
|
* @property {TMode} [mode] - The background theme: dark or light.
|
|
17
18
|
* @property {string} [tooltip] - Tooltip message.
|
|
@@ -21,6 +22,7 @@ type TVariant = "primary" | "primaryWeb" | "secondary" | "secondaryWeb" | "terti
|
|
|
21
22
|
*/
|
|
22
23
|
interface IButtonProps extends IBorderModifiable, IDisplayModifiable, IMarginModifiable, IPaddingModifiable, Partial<IIconModifiable>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
24
|
bold?: boolean;
|
|
25
|
+
external?: boolean;
|
|
24
26
|
href?: string;
|
|
25
27
|
mode?: TMode;
|
|
26
28
|
showArrow?: boolean;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const StyledIconBtn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
2
|
+
declare const OutlineContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export { OutlineContainer, StyledIconBtn };
|
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const InteractiveCardContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export { InteractiveCardContainer };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IconName } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
+
/**
|
|
3
|
+
* Interactive card component props.
|
|
4
|
+
* @interface IInteractiveCardProps
|
|
5
|
+
* @property {string} category - The category of the card, e.g. "Success story".
|
|
6
|
+
* @property {string} description - The description of the card.
|
|
7
|
+
* @property {string} href - The URL of the card.
|
|
8
|
+
* @property {IconName} icon - The icon of the card.
|
|
9
|
+
* @property {string} location - The location of the card, e.g. "Latin America".
|
|
10
|
+
* @property {string} title - The title of the card.
|
|
11
|
+
*/
|
|
12
|
+
interface IInteractiveCardProps {
|
|
13
|
+
category: string;
|
|
14
|
+
description: string;
|
|
15
|
+
href: string;
|
|
16
|
+
icon: IconName;
|
|
17
|
+
location: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}
|
|
20
|
+
export type { IInteractiveCardProps };
|
package/dist/src/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './components/cloud-image';
|
|
|
6
6
|
export * from './components/colors';
|
|
7
7
|
export * from './components/container';
|
|
8
8
|
export * from './components/content-card';
|
|
9
|
+
export * from './components/content-card-carousel';
|
|
9
10
|
export * from './components/form';
|
|
10
11
|
export * from './components/icon';
|
|
11
12
|
export * from './components/icon-button';
|
package/package.json
CHANGED