wex-ui-lib 1.0.8 → 1.1.0

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,3 @@
1
+ import React from 'react';
2
+ import { FooterProps } from './Footer.types';
3
+ export default function Footer(props: FooterProps): React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react/*';
2
+ import { FooterProps } from './Footer.types';
3
+ type StoryProps = FooterProps;
4
+ declare const meta: Meta<StoryProps>;
5
+ export default meta;
6
+ type Story = StoryObj<StoryProps>;
7
+ export declare const Default: Story;
@@ -0,0 +1,23 @@
1
+ export type FooterProps = {
2
+ logoUrl?: string;
3
+ subtitle?: string;
4
+ backgroundColor?: string;
5
+ socialMediaUrls?: {
6
+ instagram?: string;
7
+ twitter?: string;
8
+ facebook?: string;
9
+ linkedIn?: string;
10
+ };
11
+ contactData?: {
12
+ phone?: string;
13
+ phone2?: string;
14
+ email?: string;
15
+ email2?: string;
16
+ address?: string;
17
+ address2?: string;
18
+ };
19
+ navItems?: {
20
+ label: string;
21
+ callback?: () => void;
22
+ }[];
23
+ };
@@ -0,0 +1,2 @@
1
+ import Footer from "./Footer";
2
+ export { Footer };
@@ -1,9 +1,10 @@
1
- export type ArrowIcon = 'arrow-long' | 'arrow-caret';
1
+ export type ArrowIcon = 'arrow-long' | 'arrow-caret' | 'arrow-long-left' | 'arrow-caret-left';
2
2
  export type SocialMediaIcon = "twitter" | "instagram" | "youtube" | "linkedin";
3
3
  export type IconProps = {
4
4
  color?: string;
5
+ hoverColor?: string;
5
6
  icon: ArrowIcon | SocialMediaIcon | "hamburgerMenu";
6
7
  size?: string;
7
- withBorder?: boolean;
8
+ border?: "rounded" | "circle";
8
9
  callback?: () => void;
9
10
  };
@@ -5,4 +5,7 @@ import Fade from './shared/components/Fade';
5
5
  import Slider from './components/Slider/Slider';
6
6
  import Icon from './components/Icon/Icon';
7
7
  import Showcase from './components/Showcase/Showcase';
8
- export { Button, Navbar, Hero, Slider, Fade, Icon, Showcase };
8
+ import Footer from './components/Footer/Footer';
9
+ export { Button, Navbar, Hero, Footer, Slider, Fade, Icon, Showcase };
10
+ import { SliderRef } from './components/Slider';
11
+ export { type SliderRef };
@@ -3,5 +3,6 @@ export declare const theme: {
3
3
  secondary: string;
4
4
  accent: string;
5
5
  black: string;
6
+ black2: string;
6
7
  white: string;
7
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wex-ui-lib",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "A react component library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",