formica-ui-lib 1.0.15 → 1.0.19

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.
Files changed (28) hide show
  1. package/dist/componentProps/atoms/button/ButtonProps.d.ts +13 -0
  2. package/dist/componentProps/atoms/icon/IconProps.d.ts +6 -0
  3. package/dist/componentProps/atoms/image/ImageProps.d.ts +7 -0
  4. package/dist/componentProps/atoms/text/TextProps.d.ts +8 -0
  5. package/dist/componentProps/molecules/card/featurecard/FeatureCardProps.d.ts +8 -0
  6. package/dist/componentProps/molecules/selectors/CountrySelectorProps.d.ts +8 -0
  7. package/dist/componentProps/organisms/banner/featurebanner/FeatureBannerProps.d.ts +10 -0
  8. package/dist/componentProps/organisms/banner/herobanner/HeroBannerProps.d.ts +6 -0
  9. package/dist/componentProps/organisms/footer/FooterProps.d.ts +24 -0
  10. package/dist/componentProps/organisms/menu/GlobalNavBarProps.d.ts +29 -0
  11. package/dist/componentProps/organisms/menu/TopNavBarProps.d.ts +21 -0
  12. package/dist/index.cjs +565 -0
  13. package/dist/index.d.ts +20 -0
  14. package/dist/index.js +4619 -0
  15. package/dist/stories/atoms/button/Button.d.ts +4 -0
  16. package/dist/stories/atoms/icon/Icon.d.ts +4 -0
  17. package/dist/stories/atoms/image/Image.d.ts +4 -0
  18. package/dist/stories/atoms/text/Text.d.ts +4 -0
  19. package/dist/stories/molecules/card/featurecard/FeatureCard.d.ts +4 -0
  20. package/dist/stories/molecules/selectors/CountrySelector.d.ts +4 -0
  21. package/dist/stories/organisms/banner/featurebanner/FeatureBanner.d.ts +4 -0
  22. package/dist/stories/organisms/banner/herobanner/HeroBanner.d.ts +4 -0
  23. package/dist/stories/organisms/footer/Footer.d.ts +4 -0
  24. package/dist/stories/organisms/menu/GlobalNavBar/GlobalNavBar.d.ts +4 -0
  25. package/dist/stories/organisms/menu/TopNavBar/TopNavBar.d.ts +4 -0
  26. package/dist/stories/page/v1/home/HomePage.d.ts +42 -0
  27. package/dist/vite.svg +1 -0
  28. package/package.json +59 -58
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from "../../../componentProps/atoms/button/ButtonProps";
3
+ export declare const Button: React.FC<ButtonProps>;
4
+ export default Button;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from "../../../componentProps/atoms/icon/IconProps";
3
+ export declare const Icon: React.FC<IconProps>;
4
+ export default Icon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ImageProps } from "../../../componentProps/atoms/image/ImageProps";
3
+ declare const Image: React.FC<ImageProps>;
4
+ export default Image;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TextProps } from "../../../componentProps/atoms/text/TextProps";
3
+ export declare const FormicaText: React.FC<TextProps>;
4
+ export default FormicaText;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { FeatureCardProps } from "../../../../componentProps/molecules/card/featurecard/FeatureCardProps";
3
+ declare const FeatureCard: React.FC<FeatureCardProps>;
4
+ export default FeatureCard;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { Props } from "../../../componentProps/molecules/selectors/CountrySelectorProps";
3
+ declare const CountrySelector: React.FC<Props>;
4
+ export default CountrySelector;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { FeatureBannerProps } from "../../../../componentProps/organisms/banner/featurebanner/FeatureBannerProps";
3
+ declare const FeatureBanner: React.FC<FeatureBannerProps>;
4
+ export default FeatureBanner;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HeroBannerProps } from "../../../../componentProps/organisms/banner/herobanner/HeroBannerProps";
3
+ declare const HeroBanner: React.FC<HeroBannerProps>;
4
+ export default HeroBanner;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { FooterProps } from '../../../componentProps/organisms/footer/FooterProps';
3
+ declare const Footer: React.FC<FooterProps>;
4
+ export default Footer;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { GlobalNavBarProps } from "../../../../componentProps/organisms/menu/GlobalNavBarProps";
3
+ declare const GlobalNavBar: React.FC<GlobalNavBarProps>;
4
+ export default GlobalNavBar;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TopNavBarProps } from "../../../../componentProps/organisms/menu/TopNavBarProps";
3
+ declare const TopNavBar: React.FC<TopNavBarProps>;
4
+ export default TopNavBar;
@@ -0,0 +1,42 @@
1
+ import React from "react";
2
+ type NavItem = {
3
+ label: string;
4
+ submenu?: {
5
+ group: string;
6
+ items: {
7
+ label: string;
8
+ href: string;
9
+ }[];
10
+ }[];
11
+ };
12
+ type Country = {
13
+ label: string;
14
+ locale: string;
15
+ href: string;
16
+ };
17
+ type FooterLink = {
18
+ label: string;
19
+ href: string;
20
+ };
21
+ type FooterDataType = {
22
+ siteLinks: {
23
+ group: string;
24
+ links: FooterLink[];
25
+ }[];
26
+ socialLinks: {
27
+ href: string;
28
+ icon: string | any;
29
+ }[];
30
+ legal: {
31
+ phone?: string;
32
+ footerLinks: FooterLink[];
33
+ disclaimerText: string;
34
+ };
35
+ };
36
+ type HomepageProps = {
37
+ NavMenuWithSubItems: NavItem[];
38
+ Countries: Country[];
39
+ FooterData: FooterDataType;
40
+ };
41
+ declare const Homepage: React.FC<HomepageProps>;
42
+ export default Homepage;
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json CHANGED
@@ -1,58 +1,59 @@
1
- {
2
- "name": "formica-ui-lib",
3
- "private": false,
4
- "version": "1.0.15",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "dist"
9
- ],
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "scripts": {
14
- "dev": "vite",
15
- "build": "npm version patch && vite build && npm run build:types",
16
- "build:types": "tsc --emitDeclarationOnly",
17
- "lint": "eslint .",
18
- "preview": "vite preview",
19
- "storybook": "storybook dev -p 6006",
20
- "build-storybook": "storybook build"
21
- },
22
- "dependencies": {
23
- "@fortawesome/free-brands-svg-icons": "^6.7.2",
24
- "@fortawesome/free-regular-svg-icons": "^6.7.2",
25
- "@fortawesome/react-fontawesome": "^0.2.2",
26
- "react": "^19.1.0",
27
- "react-dom": "^19.1.0"
28
- },
29
- "devDependencies": {
30
- "@chromatic-com/storybook": "^4.0.1",
31
- "@eslint/js": "^9.30.1",
32
- "@storybook/addon-a11y": "^9.0.18",
33
- "@storybook/addon-docs": "^9.0.18",
34
- "@storybook/addon-vitest": "^9.0.18",
35
- "@storybook/react-vite": "^9.0.18",
36
- "@tailwindcss/postcss": "^4.1.11",
37
- "@types/react": "^19.1.8",
38
- "@types/react-dom": "^19.1.6",
39
- "@vitejs/plugin-react": "^4.6.0",
40
- "@vitest/browser": "^3.2.4",
41
- "@vitest/coverage-v8": "^3.2.4",
42
- "autoprefixer": "^10.4.21",
43
- "eslint": "^9.30.1",
44
- "eslint-plugin-react": "^7.37.5",
45
- "eslint-plugin-react-hooks": "^5.2.0",
46
- "eslint-plugin-react-refresh": "^0.4.20",
47
- "eslint-plugin-storybook": "^9.0.18",
48
- "globals": "^16.3.0",
49
- "playwright": "^1.54.1",
50
- "postcss": "^8.5.6",
51
- "prop-types": "^15.8.1",
52
- "storybook": "^9.0.18",
53
- "tailwindcss": "^4.1.11",
54
- "typescript": "^5.8.3",
55
- "vite": "^7.0.4",
56
- "vitest": "^3.2.4"
57
- }
58
- }
1
+ {
2
+ "name": "formica-ui-lib",
3
+ "private": false,
4
+ "version": "1.0.19",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "dev": "vite",
15
+ "build": "npm version patch && vite build && npm run build:types",
16
+ "build:types": "tsc --emitDeclarationOnly",
17
+ "lint": "eslint .",
18
+ "preview": "vite preview",
19
+ "storybook": "storybook dev -p 6006",
20
+ "build-storybook": "storybook build"
21
+ },
22
+ "dependencies": {
23
+ "@fortawesome/free-brands-svg-icons": "^6.7.2",
24
+ "@fortawesome/free-regular-svg-icons": "^6.7.2",
25
+ "@fortawesome/react-fontawesome": "^0.2.2",
26
+ "react": "^19.1.0",
27
+ "react-dom": "^19.1.0"
28
+ },
29
+ "devDependencies": {
30
+ "@chromatic-com/storybook": "^4.1.3",
31
+ "@eslint/js": "^9.30.1",
32
+ "@storybook/addon-a11y": "^10.1.10",
33
+ "@storybook/addon-docs": "^10.1.10",
34
+ "@storybook/addon-vitest": "^10.1.10",
35
+ "@storybook/react-vite": "^10.1.10",
36
+ "@tailwindcss/postcss": "^4.1.11",
37
+ "@types/prop-types": "^15.7.15",
38
+ "@types/react": "^19.1.8",
39
+ "@types/react-dom": "^19.1.6",
40
+ "@vitejs/plugin-react": "^4.6.0",
41
+ "@vitest/browser": "^3.2.4",
42
+ "@vitest/coverage-v8": "^3.2.4",
43
+ "autoprefixer": "^10.4.21",
44
+ "eslint": "^9.30.1",
45
+ "eslint-plugin-react": "^7.37.5",
46
+ "eslint-plugin-react-hooks": "^5.2.0",
47
+ "eslint-plugin-react-refresh": "^0.4.20",
48
+ "eslint-plugin-storybook": "^10.1.10",
49
+ "globals": "^16.3.0",
50
+ "playwright": "^1.54.1",
51
+ "postcss": "^8.5.6",
52
+ "prop-types": "^15.8.1",
53
+ "storybook": "^10.1.10",
54
+ "tailwindcss": "^4.1.11",
55
+ "typescript": "^5.8.3",
56
+ "vite": "^7.0.4",
57
+ "vitest": "^3.2.4"
58
+ }
59
+ }