foundry-component-library 0.0.2 → 0.0.4
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/lib/components/Capabilities/Item.tsx +1 -1
- package/lib/components/ContactButton/index.tsx +1 -1
- package/lib/components/DoubleTiles/Tile.tsx +1 -1
- package/lib/components/Footer/index.tsx +1 -1
- package/lib/components/Header/Menu.tsx +2 -2
- package/lib/components/HubsAccordion/Hub.tsx +1 -1
- package/lib/components/LogoSection/Dropdown.tsx +1 -1
- package/lib/components/MarketingStats/index.tsx +1 -1
- package/lib/components/NewsTeaser/index.tsx +1 -1
- package/lib/components/ServiceHubsTeaser/Tile.tsx +1 -1
- package/lib/components/Tiles/Tile.tsx +1 -1
- package/lib/components/VideoTeaser/index.tsx +3 -3
- package/lib/components/case/Other/index.tsx +1 -1
- package/lib/components/cases/Items/More.tsx +2 -2
- package/lib/components/cases/Items/index.tsx +1 -1
- package/lib/components/cases/Top/Dropdown.tsx +1 -1
- package/lib/components/contact/Contacts/index.tsx +1 -1
- package/lib/components/news/Posts/More.tsx +1 -1
- package/lib/components/single/Other/index.tsx +1 -1
- package/lib/components/single/ShareBar/index.tsx +3 -3
- package/lib/types/index.ts +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { useState, useRef, Dispatch, SetStateAction } from "react";
|
|
4
4
|
import { Case, NextImage } from "../../types";
|
|
5
5
|
import styles from "./styles.module.scss";
|
|
6
|
-
import Arrow from "../../assets/svg/arrow.svg
|
|
6
|
+
import Arrow from "../../assets/svg/arrow.svg";
|
|
7
7
|
import LinkType from "next/link";
|
|
8
8
|
|
|
9
9
|
const Item = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Container from "../Container";
|
|
2
2
|
import styles from "./styles.module.scss";
|
|
3
3
|
import { translate } from "../../utils";
|
|
4
|
-
import Logo from "../../assets/svg/footer-logo.svg
|
|
4
|
+
import Logo from "../../assets/svg/footer-logo.svg";
|
|
5
5
|
import { NextLink } from "../../types";
|
|
6
6
|
|
|
7
7
|
function Footer({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from "react";
|
|
2
2
|
import styles from "./styles.module.scss";
|
|
3
3
|
import { translate } from "../../utils";
|
|
4
|
-
import Arrow from "../../assets/svg/arrow.svg
|
|
5
|
-
import Close from "../../assets/svg/close.svg
|
|
4
|
+
import Arrow from "../../assets/svg/arrow.svg";
|
|
5
|
+
import Close from "../../assets/svg/close.svg";
|
|
6
6
|
import { NextLink } from "../../types";
|
|
7
7
|
|
|
8
8
|
function Menu({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useRef, Dispatch, SetStateAction } from "react";
|
|
3
3
|
import { NextImage, NextLink, type Hub } from "../../types";
|
|
4
4
|
import styles from "./styles.module.scss";
|
|
5
|
-
import Arrow from "../../assets/svg/arrow.svg
|
|
5
|
+
import Arrow from "../../assets/svg/arrow.svg";
|
|
6
6
|
import useDrag from "../../hooks/useDrag";
|
|
7
7
|
|
|
8
8
|
const Hub = ({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Dispatch, SetStateAction, useState } from "react";
|
|
3
3
|
import { motion, AnimatePresence } from "framer-motion";
|
|
4
4
|
import styles from "./styles.module.scss";
|
|
5
|
-
import CaretDown from "../../assets/svg/caret-down.svg
|
|
5
|
+
import CaretDown from "../../assets/svg/caret-down.svg";
|
|
6
6
|
import useClickOutside from "../../hooks/useClickOutside";
|
|
7
7
|
|
|
8
8
|
const Dropdown = ({
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import TextSection from "../TextSection";
|
|
3
3
|
import styles from "./styles.module.scss";
|
|
4
4
|
import Container from "../Container";
|
|
5
|
-
import Arrow from "../../assets/svg/arrow.svg
|
|
5
|
+
import Arrow from "../../assets/svg/arrow.svg";
|
|
6
6
|
import { NextImage } from "../../types";
|
|
7
7
|
|
|
8
8
|
const MarketingStats = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styles from "./styles.module.scss";
|
|
2
2
|
import Container from "../Container";
|
|
3
3
|
import { NextImage, NextLink, PostPreview } from "../../types";
|
|
4
|
-
import Arrow from "../../assets/svg/arrow.svg
|
|
4
|
+
import Arrow from "../../assets/svg/arrow.svg";
|
|
5
5
|
|
|
6
6
|
const NewsTeaser = ({
|
|
7
7
|
caption,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
import ReactPlayer from "react-player/lazy";
|
|
4
4
|
import styles from "./styles.module.scss";
|
|
5
|
-
import Mute from "../../assets/svg/mute.svg
|
|
6
|
-
import Muted from "../../assets/svg/muted.svg
|
|
7
|
-
import PlayButton from "../../assets/svg/play-button.svg
|
|
5
|
+
import Mute from "../../assets/svg/mute.svg";
|
|
6
|
+
import Muted from "../../assets/svg/muted.svg";
|
|
7
|
+
import PlayButton from "../../assets/svg/play-button.svg";
|
|
8
8
|
|
|
9
9
|
function VideoTeaser({ url }: { url: string }) {
|
|
10
10
|
const [playing, setPlaying] = useState(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Container from "../../Container";
|
|
3
3
|
import styles from "./styles.module.scss";
|
|
4
|
-
import Arrow from "../../../assets/svg/arrow.svg
|
|
4
|
+
import Arrow from "../../../assets/svg/arrow.svg";
|
|
5
5
|
import { translate } from "../../../utils";
|
|
6
6
|
import { Case, NextImage, NextLink } from "../../../types";
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import styles from "./styles.module.scss";
|
|
4
|
-
import Hourglass from "../../../assets/svg/hourglass.svg
|
|
4
|
+
import Hourglass from "../../../assets/svg/hourglass.svg";
|
|
5
5
|
import { translate } from "../../../utils";
|
|
6
6
|
import { getCases } from "../../../queries";
|
|
7
7
|
import { Case, NextImage, NextLink } from "../../../types";
|
|
8
8
|
import Video from "./Video";
|
|
9
|
-
import Arrow from "../../../assets/svg/caret-right.svg
|
|
9
|
+
import Arrow from "../../../assets/svg/caret-right.svg";
|
|
10
10
|
|
|
11
11
|
const More = ({
|
|
12
12
|
endCursor,
|
|
@@ -3,7 +3,7 @@ import { useState } from "react";
|
|
|
3
3
|
import Container from "../../Container";
|
|
4
4
|
import Video from "./Video";
|
|
5
5
|
import styles from "./styles.module.scss";
|
|
6
|
-
import Arrow from "../../../assets/svg/arrow.svg
|
|
6
|
+
import Arrow from "../../../assets/svg/arrow.svg";
|
|
7
7
|
import { Case, NextImage, NextLink, NextRouter } from "../../../types";
|
|
8
8
|
import Top from "../Top";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Dispatch, SetStateAction, useState } from "react";
|
|
3
3
|
import { motion, AnimatePresence } from "framer-motion";
|
|
4
4
|
import styles from "./styles.module.scss";
|
|
5
|
-
import CaretDown from "../../../assets/svg/caret-down.svg
|
|
5
|
+
import CaretDown from "../../../assets/svg/caret-down.svg";
|
|
6
6
|
import useClickOutside from "../../../hooks/useClickOutside";
|
|
7
7
|
import { NextRouter } from "../../../types";
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import styles from "./styles.module.scss";
|
|
4
|
-
import Hourglass from "../../../assets/svg/hourglass.svg
|
|
4
|
+
import Hourglass from "../../../assets/svg/hourglass.svg";
|
|
5
5
|
import { translate } from "../../../utils";
|
|
6
6
|
import { getPosts } from "../../../queries";
|
|
7
7
|
import { NextImage, NextLink, Post } from "../../../types";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Container from "../../Container";
|
|
2
2
|
import styles from "./styles.module.scss";
|
|
3
|
-
import Arrow from "../../../assets/svg/caret-right.svg
|
|
3
|
+
import Arrow from "../../../assets/svg/caret-right.svg";
|
|
4
4
|
import { translate } from "../../../utils";
|
|
5
5
|
import { Case, NextImage, NextLink } from "../../../types";
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import styles from "./styles.module.scss";
|
|
4
|
-
import Comment from "../../../assets/svg/comment.svg
|
|
5
|
-
import Facebook from "../../../assets/svg/facebook.svg
|
|
6
|
-
import LinkedIn from "../../../assets/svg/linkedin.svg
|
|
4
|
+
import Comment from "../../../assets/svg/comment.svg";
|
|
5
|
+
import Facebook from "../../../assets/svg/facebook.svg";
|
|
6
|
+
import LinkedIn from "../../../assets/svg/linkedin.svg";
|
|
7
7
|
import Container from "../../Container";
|
|
8
8
|
import { translate } from "../../../utils";
|
|
9
9
|
import { NextLink } from "../../../types";
|
package/lib/types/index.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Image from "next/image";
|
|
2
2
|
import Link from "next/link";
|
|
3
|
-
import {
|
|
3
|
+
import { AppRouterInstance } from "next/router";
|
|
4
4
|
import { ReadonlyURLSearchParams } from "next/navigation";
|
|
5
5
|
|
|
6
6
|
export type NextImage = typeof Image;
|
|
7
7
|
export type NextLink = typeof Link;
|
|
8
|
-
export type NextRouter =
|
|
8
|
+
export type NextRouter = AppRouterInstance;
|
|
9
9
|
export type NextSearchParams = ReadonlyURLSearchParams;
|
|
10
10
|
|
|
11
11
|
export interface Variables {
|