foundry-component-library 0.2.34 → 0.2.35

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.
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foundry-component-library",
3
- "version": "0.2.34",
3
+ "version": "0.2.35",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",