@treely/strapi-slices 5.17.2 → 5.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treely/strapi-slices",
3
- "version": "5.17.2",
3
+ "version": "5.17.4",
4
4
  "license": "MIT",
5
5
  "author": "Tree.ly FlexCo",
6
6
  "description": "@treely/strapi-slices is a open source library maintained by Tree.ly.",
@@ -53,7 +53,7 @@ const CreditsAvailableBadge = ({
53
53
  as={href ? NextLink : undefined}
54
54
  href={href}
55
55
  >
56
- <Tag backgroundColor={variant.color} mt="2" mb="1">
56
+ <Tag backgroundColor={variant.color}>
57
57
  <Text color="white" size="xsLowBold">
58
58
  {variant.message}
59
59
  </Text>
@@ -17,7 +17,7 @@ export const ProjectGridCard = ({
17
17
  const { formatNumber, formatMessage } = useContext(IntlContext);
18
18
 
19
19
  return (
20
- <Container>
20
+ <Container height="full">
21
21
  <Flex flexDir="column" height="full">
22
22
  {project.thumbnail && (
23
23
  <Box borderRadius="xl" position="relative" height="36" mb="2">
@@ -35,7 +35,7 @@ export const ProjectGridCard = ({
35
35
  <Heading my="4" size="lg">
36
36
  {project.title}
37
37
  </Heading>
38
- <Flex flexDir="row" gap="2">
38
+ <Flex flexDir="row" gap="2" flexWrap="wrap">
39
39
  <Tag>
40
40
  <Text size="xsLowBold" color="gray.800">
41
41
  {formatNumber(
@@ -67,8 +67,8 @@ export const ProjectGridCard = ({
67
67
  </Text>
68
68
  </Tag>
69
69
  )}
70
+ <CreditsAvailableBadge status={project.creditAvailability} />
70
71
  </Flex>
71
- <CreditsAvailableBadge status={project.creditAvailability} />
72
72
  </Flex>
73
73
  </Container>
74
74
  );
@@ -60,7 +60,6 @@ export const ProjectsGrid: React.FC<ProjectsGridProps> = ({
60
60
  )}
61
61
  >
62
62
  <Box
63
- width="full"
64
63
  as="a"
65
64
  cursor="pointer"
66
65
  borderRadius="2xl"
@@ -5,7 +5,6 @@ import {
5
5
  Container,
6
6
  Flex,
7
7
  Heading,
8
- Spacer,
9
8
  Text,
10
9
  useDisclosure,
11
10
  useToken,
@@ -70,9 +69,9 @@ const MapMarker = ({
70
69
  status={creditAvailability}
71
70
  href={slug && `${portfolioHost}/portfolio/${slug}`}
72
71
  />
73
- <Spacer height="3" />
74
-
75
- <Heading size="md">{title}</Heading>
72
+ <Heading mt="3" size="md">
73
+ {title}
74
+ </Heading>
76
75
 
77
76
  {projectDeveloper && (
78
77
  <Text size="smLowNormal" mt="1">