Skip to content

Commit

Permalink
💚 Revert rollup upgrade to make it work with turbo dev
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed May 3, 2023
1 parent 5f0a99e commit f2d3174
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 30 deletions.
2 changes: 1 addition & 1 deletion packages/embeds/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint-plugin-solid": "0.12.1",
"postcss": "8.4.23",
"react": "18.2.0",
"rollup": "3.21.3",
"rollup": "3.20.2",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript-paths": "1.4.0",
"tailwindcss": "3.3.2",
Expand Down
2 changes: 2 additions & 0 deletions packages/embeds/js/src/components/avatars/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export const Avatar = (props: { initialAvatarSrc?: string }) => {
src={avatarSrc()}
alt="Bot avatar"
class="rounded-full object-cover w-full h-full"
elementtiming={'Bot avatar'}
fetchpriority={'high'}
/>
</figure>
</Show>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export const ImageBubble = (props: Props) => {
'max-height': '512px',
height: isTyping() ? '32px' : 'auto',
}}
elementtiming={'Bubble image'}
fetchpriority={'high'}
/>
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export const BubbleButton = (props: Props) => {
(props.size === 'large' ? ' w-9 h-9' : ' w-7 h-7')
}
alt="Bubble button icon"
elementtiming={'Bubble button icon'}
fetchpriority={'high'}
/>
</Show>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export const PreviewMessage = (props: PreviewMessageProps) => {
src={avatarUrl}
class="rounded-full w-8 h-8 object-cover"
alt="Bot avatar"
elementtiming={'Bot avatar'}
fetchpriority={'high'}
/>
)}
</Show>
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint-config-custom": "workspace:*",
"@typebot.io/schemas": "workspace:*",
"react": "18.2.0",
"rollup": "3.21.3",
"rollup": "3.20.2",
"rollup-plugin-typescript-paths": "1.4.0",
"@typebot.io/tsconfig": "workspace:*",
"tslib": "2.5.0",
Expand Down
56 changes: 28 additions & 28 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f2d3174

Please sign in to comment.