@fluidattacks/design 1.2.29 → 1.2.30

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.
@@ -5,9 +5,9 @@
5
5
  <stop offset="1" stop-color="#B8075D"/>
6
6
  </linearGradient>
7
7
 
8
- <linearGradient id="gradient-02" gradientTransform="rotate(-45)">
9
- <stop stop-color="#FCFCFD"/>
10
- <stop offset="1" stop-color="#667085"/>
11
- </linearGradient>
8
+ <linearGradient id="gradient-02" gradientTransform="rotate(90)">
9
+ <stop stop-color="#667085"/>
10
+ <stop offset="1" stop-color="#FCFCFD"/>
11
+ </linearGradient>
12
12
  </defs>
13
13
  </svg>
@@ -0,0 +1,3 @@
1
+ import { IIconCardProps } from './types';
2
+ declare const IconCard: ({ icon }: Readonly<IIconCardProps>) => JSX.Element;
3
+ export { IconCard };
@@ -0,0 +1,2 @@
1
+ declare const IconCardContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { IconCardContainer };
@@ -0,0 +1,10 @@
1
+ type DefaultIconNames = "book-open" | "bullseye" | "briefcase" | "calendar-xmark" | "diagram-venn" | "file" | "headset" | "infinity" | "messages-question" | "radar" | "scanner-touchscreen" | "screwdriver-wrench" | "sidebar" | "user-robot";
2
+ /**
3
+ * Icon card props interface.
4
+ * @interface IconCardProps
5
+ * @property { DefaultIconNames } icon - Custom selection of FontAwesome icons.
6
+ */
7
+ interface IIconCardProps {
8
+ icon: DefaultIconNames;
9
+ }
10
+ export type { IIconCardProps };
@@ -0,0 +1,5 @@
1
+ import { IconName } from '@fortawesome/free-solid-svg-icons';
2
+ declare const InteractiveIcon: ({ icon, }: Readonly<{
3
+ icon: IconName;
4
+ }>) => JSX.Element;
5
+ export { InteractiveIcon };
@@ -0,0 +1,3 @@
1
+ import { IInteractiveCardProps } from './types';
2
+ declare const InteractiveCard: ({ category, description, href, icon, location, title, }: Readonly<IInteractiveCardProps>) => JSX.Element;
3
+ export { InteractiveCard };
@@ -1,2 +1,3 @@
1
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 };
2
+ declare const InteractiveCardIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export { InteractiveCardContainer, InteractiveCardIcon };
@@ -11,6 +11,7 @@ export * from './components/form';
11
11
  export * from './components/icon';
12
12
  export * from './components/icon-button';
13
13
  export * from './components/inputs';
14
+ export * from './components/interactive-card';
14
15
  export * from './components/language-selector';
15
16
  export * from './components/logo';
16
17
  export * from './components/logo-carousel';
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "dependencies": {
7
7
  "@cloudinary/react": "1.13.0",
8
8
  "@cloudinary/url-gen": "1.21.0",
9
- "@fortawesome/free-solid-svg-icons": "6.6.0",
9
+ "@fortawesome/free-solid-svg-icons": "6.7.1",
10
10
  "@fortawesome/react-fontawesome": "0.2.2",
11
11
  "react": "18.2.0",
12
12
  "react-dom": "18.2.0",
@@ -92,5 +92,5 @@
92
92
  "storybook": "storybook dev"
93
93
  },
94
94
  "types": "dist/src/index.d.ts",
95
- "version": "1.2.29"
95
+ "version": "1.2.30"
96
96
  }