create-twenty-app 2.40.0 → 2.41.0
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/dist/cli.cjs +33 -48
- package/dist/cli.mjs +5375 -9943
- package/dist/constants/template/SETUP.md +3 -0
- package/dist/constants/template/package.json +1 -1
- package/dist/constants/template/src/front-components/main-page.tsx +6 -10
- package/dist/constants/template/yarn.lock +3492 -2
- package/dist/constants/template-packages.d.ts +1 -0
- package/dist/scripts/generate-template-lock.d.ts +1 -0
- package/package.json +4 -3
- package/src/constants/template/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineFrontComponent } from 'twenty-sdk/define';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { Avatar } from 'twenty-ui/data-display';
|
|
3
|
+
import { Avatar } from 'twenty-ui/primitives/data-display';
|
|
4
4
|
import {
|
|
5
5
|
IconBox,
|
|
6
6
|
IconHierarchy,
|
|
@@ -93,13 +93,13 @@ const CategoryCard = ({
|
|
|
93
93
|
|
|
94
94
|
const CategoryIcon = () => {
|
|
95
95
|
if (title === 'Data model') {
|
|
96
|
-
return <IconHierarchy color={color} size=
|
|
96
|
+
return <IconHierarchy color={color} size="20px" />;
|
|
97
97
|
}
|
|
98
98
|
if (title === 'Logic') {
|
|
99
|
-
return <IconSettingsAutomation color={color} size=
|
|
99
|
+
return <IconSettingsAutomation color={color} size="20px" />;
|
|
100
100
|
}
|
|
101
101
|
if (title === 'Layout') {
|
|
102
|
-
return <IconLayout color={color} size=
|
|
102
|
+
return <IconLayout color={color} size="20px" />;
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
|
|
@@ -168,7 +168,7 @@ const CategoryCard = ({
|
|
|
168
168
|
transition: 'background 0.15s',
|
|
169
169
|
}}
|
|
170
170
|
>
|
|
171
|
-
<IconBox color={color} size=
|
|
171
|
+
<IconBox color={color} size="20px" />
|
|
172
172
|
<span
|
|
173
173
|
style={{
|
|
174
174
|
fontSize: '13px',
|
|
@@ -204,11 +204,7 @@ const MainPage = () => {
|
|
|
204
204
|
padding: '40px',
|
|
205
205
|
}}
|
|
206
206
|
>
|
|
207
|
-
<Avatar
|
|
208
|
-
placeholder={APP_DISPLAY_NAME}
|
|
209
|
-
placeholderColorSeed={APP_DISPLAY_NAME}
|
|
210
|
-
size="xl"
|
|
211
|
-
/>
|
|
207
|
+
<Avatar name={APP_DISPLAY_NAME} colorSeed={APP_DISPLAY_NAME} size="xl" />
|
|
212
208
|
<span
|
|
213
209
|
style={{
|
|
214
210
|
fontSize: '24px',
|