formica-ui-lib 1.0.9 → 1.0.13
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/componentProps/atoms/text/TextProps.d.ts +8 -0
- package/dist/index.d.ts +10 -0
- package/dist/stories/atoms/text/Text.d.ts +1 -8
- package/dist/stories/organisms/banner/featurebanner/FeatureBanner.d.ts +1 -1
- package/dist/stories/organisms/banner/herobanner/HeroBanner.d.ts +1 -1
- package/dist/stories/organisms/footer/Footer.d.ts +1 -1
- package/dist/stories/organisms/menu/TopNavBar.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/componentProps/{organsims → organisms}/banner/featurebanner/FeatureBannerProps.d.ts +0 -0
- /package/dist/componentProps/{organsims → organisms}/banner/herobanner/HeroBannerProps.d.ts +0 -0
- /package/dist/componentProps/{organsims → organisms}/footer/FooterProps.d.ts +0 -0
- /package/dist/componentProps/{organsims → organisms}/menu/TopNavBarProps.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type TextVariant = 'h1' | 'h2' | 'h3' | 'nav' | 'standard' | 'navlink' | 'free' | 'body' | 'bold' | 'caption';
|
|
2
|
+
export type TextTag = 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
+
export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
as?: TextTag;
|
|
5
|
+
variant?: TextVariant;
|
|
6
|
+
className?: string;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export type { TextProps } from './componentProps/atoms/text/TextProps';
|
|
2
|
+
export type { ButtonProps } from './componentProps/atoms/button/ButtonProps';
|
|
3
|
+
export type { ImageProps } from './componentProps/atoms/image/ImageProps';
|
|
4
|
+
export type { IconProps } from './componentProps/atoms/icon/IconProps';
|
|
5
|
+
export type { FeatureCardProps } from './componentProps/molecules/card/featurecard/FeatureCardProps';
|
|
6
|
+
export type { Country, Props } from './componentProps/molecules/selectors/CountrySelectorProps';
|
|
7
|
+
export type { SiteLinkGroup, SocialLink, Legal, FooterProps } from './componentProps/organisms/footer/FooterProps';
|
|
8
|
+
export type { FeatureBannerProps } from './componentProps/organisms/banner/featurebanner/FeatureBannerProps';
|
|
9
|
+
export type { HeroBannerProps } from './componentProps/organisms/banner/herobanner/HeroBannerProps';
|
|
10
|
+
export type { TopNavBarProps } from './componentProps/organisms/menu/TopNavBarProps';
|
|
1
11
|
export { default as Text } from './stories/atoms/text/Text';
|
|
2
12
|
export { default as Button } from './stories/atoms/button/Button';
|
|
3
13
|
export { default as Image } from './stories/atoms/image/Image';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
type TextTag = 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
-
interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
5
|
-
as?: TextTag;
|
|
6
|
-
variant?: TextVariant;
|
|
7
|
-
className?: string;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}
|
|
2
|
+
import { TextProps } from "../../../componentProps/atoms/text/TextProps";
|
|
10
3
|
export declare const Text: React.FC<TextProps>;
|
|
11
4
|
export default Text;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FeatureBannerProps } from "../../../../componentProps/
|
|
2
|
+
import { FeatureBannerProps } from "../../../../componentProps/organisms/banner/featurebanner/FeatureBannerProps";
|
|
3
3
|
declare const FeatureBanner: React.FC<FeatureBannerProps>;
|
|
4
4
|
export default FeatureBanner;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { HeroBannerProps } from "../../../../componentProps/
|
|
2
|
+
import { HeroBannerProps } from "../../../../componentProps/organisms/banner/herobanner/HeroBannerProps";
|
|
3
3
|
declare const HeroBanner: React.FC<HeroBannerProps>;
|
|
4
4
|
export default HeroBanner;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TopNavBarProps } from "../../../componentProps/
|
|
2
|
+
import { TopNavBarProps } from "../../../componentProps/organisms/menu/TopNavBarProps";
|
|
3
3
|
declare const TopNavBar: React.FC<TopNavBarProps>;
|
|
4
4
|
export default TopNavBar;
|
package/package.json
CHANGED
/package/dist/componentProps/{organsims → organisms}/banner/featurebanner/FeatureBannerProps.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|