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.
- package/dist/index.cjs.js +74 -31
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +30 -3
- package/dist/index.esm.js +74 -32
- package/dist/index.esm.js.map +1 -1
- package/dist/types/components/Footer/Footer.d.ts +3 -0
- package/dist/types/components/Footer/Footer.stories.d.ts +7 -0
- package/dist/types/components/Footer/Footer.types.d.ts +23 -0
- package/dist/types/components/Footer/index.d.ts +2 -0
- package/dist/types/components/Icon/Icon.types.d.ts +3 -2
- package/dist/types/index.d.ts +4 -1
- package/dist/types/shared/styles/theme.d.ts +1 -0
- package/package.json +1 -1
@@ -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
|
+
};
|
@@ -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
|
-
|
8
|
+
border?: "rounded" | "circle";
|
8
9
|
callback?: () => void;
|
9
10
|
};
|
package/dist/types/index.d.ts
CHANGED
@@ -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
|
-
|
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 };
|