@griddo/ax 11.4.20 → 11.4.21

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/ax",
3
3
  "description": "Griddo Author Experience",
4
- "version": "11.4.20",
4
+ "version": "11.4.21",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -224,5 +224,5 @@
224
224
  "publishConfig": {
225
225
  "access": "public"
226
226
  },
227
- "gitHead": "103110d5ec62ad8edc23f6e9d1fafe9219a9e849"
227
+ "gitHead": "036c59cbb5c2c285c772581ead9c3b360ef4e657"
228
228
  }
@@ -114,9 +114,12 @@ const FormModal = (props: IFormModal): JSX.Element => {
114
114
  const { data: form } = props;
115
115
  const handleClick = () => setSelectedForm(form);
116
116
  return (
117
- <S.FormItem key={form.id} onClick={handleClick} isSelected={form.id === selectedForm?.id}>
118
- <img src={form.thumbnail} alt={form.title} title={form.title} />
119
- </S.FormItem>
117
+ <S.FormWrapper key={form.id}>
118
+ <S.FormItem onClick={handleClick} isSelected={form.id === selectedForm?.id}>
119
+ <img src={form.thumbnail} alt={form.title} title={form.title} />
120
+ </S.FormItem>
121
+ <S.FormTitle>{form.title}</S.FormTitle>
122
+ </S.FormWrapper>
120
123
  );
121
124
  };
122
125
 
@@ -71,6 +71,12 @@ const FormsGrid = styled.div`
71
71
  padding-bottom: ${(p) => p.theme.spacing.l};
72
72
  `;
73
73
 
74
+ const FormWrapper = styled.div`
75
+ display: flex;
76
+ flex-direction: column;
77
+ padding-bottom: ${(p) => p.theme.spacing.s};
78
+ `;
79
+
74
80
  const FormItem = styled.div<{ isSelected: boolean }>`
75
81
  background-color: ${(p) => p.theme.color.uiBackground02};
76
82
  border: ${(p) => (p.isSelected ? `3px solid ${p.theme.color.interactive01}` : "3px solid transparent")};
@@ -80,6 +86,11 @@ const FormItem = styled.div<{ isSelected: boolean }>`
80
86
  min-height: 193px;
81
87
  `;
82
88
 
89
+ const FormTitle = styled.div`
90
+ ${(p) => p.theme.textStyle.uiL};
91
+ padding-top: ${(p) => p.theme.spacing.xs};
92
+ `;
93
+
83
94
  const SearchTags = styled.div`
84
95
  & > div:nth-child(1) {
85
96
  margin-bottom: ${(p) => p.theme.spacing.s};
@@ -126,4 +137,6 @@ export {
126
137
  SearchWrapper,
127
138
  ModalFooter,
128
139
  EmptyWrapper,
140
+ FormWrapper,
141
+ FormTitle,
129
142
  };