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.
@@ -16,6 +16,9 @@ Follow these steps to get your app running locally.
16
16
  yarn install
17
17
  ```
18
18
 
19
+ The committed `yarn.lock` pins exact, integrity-checked versions, so this
20
+ resolves nothing from the registry.
21
+
19
22
  2. Start the local Twenty server:
20
23
 
21
24
  ```bash
@@ -28,7 +28,7 @@
28
28
  "react-dom": "^19.0.0",
29
29
  "twenty-client-sdk": "TO-BE-GENERATED",
30
30
  "twenty-sdk": "TO-BE-GENERATED",
31
- "twenty-ui": "1.0.0-alpha.2",
31
+ "twenty-ui": "TO-BE-GENERATED",
32
32
  "typescript": "^5.9.3",
33
33
  "vite-tsconfig-paths": "^4.2.1",
34
34
  "vitest": "^4.0.0"
@@ -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={'20px'} />;
96
+ return <IconHierarchy color={color} size="20px" />;
97
97
  }
98
98
  if (title === 'Logic') {
99
- return <IconSettingsAutomation color={color} size={'20px'} />;
99
+ return <IconSettingsAutomation color={color} size="20px" />;
100
100
  }
101
101
  if (title === 'Layout') {
102
- return <IconLayout color={color} size={'20px'} />;
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={'20px'} />
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',