foundry-component-library 0.2.34 → 0.2.36

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.
@@ -61,8 +61,7 @@ const Management = ({
61
61
  // animate={{ height }}
62
62
  // transition={{ duration: 0.4 }}
63
63
  className={styles.wrapper}
64
- style={{ overflow: "hidden" }}
65
- >
64
+ style={{ overflow: "hidden" }}>
66
65
  <div ref={contentRef}>
67
66
  <motion.div
68
67
  key={items[activePerson]?.name}
@@ -70,8 +69,7 @@ const Management = ({
70
69
  // animate={{ opacity: 1, y: 0 }}
71
70
  // exit={{ opacity: 0, y: -20 }}
72
71
  // transition={{ duration: 0.4 }}
73
- className={styles.person}
74
- >
72
+ className={styles.person}>
75
73
  <div className={styles.image}>
76
74
  <Image
77
75
  src={items[activePerson]?.image?.sourceUrl || ""}
@@ -81,9 +79,7 @@ const Management = ({
81
79
  />
82
80
  </div>
83
81
  <div className={styles.texts}>
84
- <div className={styles.quote}>
85
- &quot;{items[activePerson]?.quote}&quot;
86
- </div>
82
+ <div className={styles.quote}>{items[activePerson]?.quote}</div>
87
83
  <div className={styles.name}>{items[activePerson]?.name}</div>
88
84
  <div className={styles.position}>
89
85
  {items[activePerson]?.position}
@@ -20,7 +20,7 @@ const TheamPhotos = ({
20
20
 
21
21
  return (
22
22
  <Container noMobilePadding>
23
- <div className={styles.heading}>{translate("Our Lovely Team")}</div>
23
+ <div className={styles.heading}>{translate("Our Lovely Team", "DE")}</div>
24
24
  <div
25
25
  ref={sectionRef}
26
26
  className={styles.people}
@@ -28,8 +28,7 @@ const TheamPhotos = ({
28
28
  onMouseMove={handleMouseMove}
29
29
  onMouseUp={handleMouseUp}
30
30
  onMouseLeave={handleMouseUp}
31
- style={dragStyle as React.CSSProperties}
32
- >
31
+ style={dragStyle as React.CSSProperties}>
33
32
  {people.map((person) => {
34
33
  return <Item key={person.name} person={person} Image={Image} />;
35
34
  })}
@@ -8,7 +8,9 @@ import useDrag from "../../hooks/useDrag";
8
8
 
9
9
  const Tiles = ({
10
10
  tiles,
11
+ heading,
11
12
  }: {
13
+ heading: string;
12
14
  tiles: {
13
15
  heading?: string;
14
16
  hoverText?: string;
@@ -22,10 +24,7 @@ const Tiles = ({
22
24
 
23
25
  return (
24
26
  <Container>
25
- <TextSection
26
- caption="team & careers"
27
- heading="Agile global experts who would love to collaborate with you."
28
- />
27
+ <TextSection caption="team & careers" heading={heading} />
29
28
  <div
30
29
  ref={sectionRef}
31
30
  className={styles.tiles}
@@ -33,8 +32,7 @@ const Tiles = ({
33
32
  onMouseMove={handleMouseMove}
34
33
  onMouseUp={handleMouseUp}
35
34
  onMouseLeave={handleMouseUp}
36
- style={dragStyle as React.CSSProperties}
37
- >
35
+ style={dragStyle as React.CSSProperties}>
38
36
  {tiles.map((tile, i) => {
39
37
  let background: "pink" | "yellow" | "brown" = "pink";
40
38
  if (i % 3 === 1) background = "yellow";
package/lib/utils.ts CHANGED
@@ -49,8 +49,8 @@ const strings: Translations = {
49
49
  "News & Insights": {
50
50
  DE: "News & Insights",
51
51
  },
52
- "": {
53
- DE: "",
52
+ "Our Lovely Team": {
53
+ DE: "Unser nettes Team",
54
54
  },
55
55
  "": {
56
56
  DE: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foundry-component-library",
3
- "version": "0.2.34",
3
+ "version": "0.2.36",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",