Skip to content

Commit

Permalink
chore(insights): correct failing build (QwikDev#5586)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery authored Dec 15, 2023
1 parent 18e3559 commit 15aa0ab
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 85 deletions.
6 changes: 3 additions & 3 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"@algolia/autocomplete-core": "1.7.4",
"@algolia/client-search": "4.14.3",
"@builder.io/partytown": "^0.8.1",
"@builder.io/qwik": "github:BuilderIo/qwik-build#7b855a75d701b9c373af5b7c4a309badf93fcd4f",
"@builder.io/qwik-city": "github:BuilderIo/qwik-city-build#79afe153b776865fbc964476236c258f11185362",
"@builder.io/qwik-labs": "github:BuilderIo/qwik-labs-build#c5d333431026c6bf383327211329559b8ff52f71",
"@builder.io/qwik": "github:BuilderIo/qwik-build#cf7395265d5bbe81207e4e7130b70351077d3d88",
"@builder.io/qwik-city": "github:BuilderIo/qwik-city-build#25737029f53230ed83a65f3929776f2bd1fe0118",
"@builder.io/qwik-labs": "github:BuilderIo/qwik-labs-build#1ff13169b1b323c844fc68bffad0500df3ba65e5",
"@builder.io/qwik-react": "0.5.0",
"@builder.io/sdk-qwik": "^0.6.2",
"@docsearch/css": "^3.5.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"install": "^0.13.0"
},
"devDependencies": {
"@builder.io/qwik": "github:BuilderIo/qwik-build#7b855a75d701b9c373af5b7c4a309badf93fcd4f",
"@builder.io/qwik-city": "github:BuilderIo/qwik-city-build#79afe153b776865fbc964476236c258f11185362",
"@builder.io/qwik": "github:BuilderIo/qwik-build#cf7395265d5bbe81207e4e7130b70351077d3d88",
"@builder.io/qwik-city": "github:BuilderIo/qwik-city-build#25737029f53230ed83a65f3929776f2bd1fe0118",
"@builder.io/qwik-labs": "workspace:*",
"@builder.io/vite-plugin-macro": "~0.0.7",
"@netlify/edge-functions": "^2.2.0",
Expand All @@ -33,7 +33,7 @@
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.4",
"tailwindcss": "3.3.3",
"typescript": "5.2.2",
"typescript": "5.3.3",
"undici": "^5.26.0",
"vite": "^5.0.0",
"vite-tsconfig-paths": "^4.2.1",
Expand Down
8 changes: 7 additions & 1 deletion packages/insights/src/components/icons/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ export function DashboardIcon(props: QwikIntrinsicElements['svg'], key: string)
{...props}
key={key}
>
<g fill="none" stroke="black" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5">
<g
fill="none"
stroke="black"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
>
<path d="M12 4v4M4 8l2.5 2.5m11 0L20 8M3 17h3m6 0l1-6m5 6h3M8.5 20.001H4A9.956 9.956 0 0 1 2 14C2 8.477 6.477 4 12 4s10 4.477 10 10c0 2.252-.744 4.33-2 6.001L15.5 20"></path>
<path d="M12 23a3 3 0 1 0 0-6a3 3 0 0 0 0 6Z"></path>
</g>
Expand Down
6 changes: 5 additions & 1 deletion packages/insights/src/components/popup-manager/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
component$,
useStore,
useSignal,
$,
type NoSerialize,
} from '@builder.io/qwik';
import { CloseIcon } from '../icons/close';
Expand Down Expand Up @@ -72,7 +73,10 @@ export const PopupManager = component$(() => {
left: popup.x + 4 + 'px',
}}
>
<CloseIcon onClick$={() => (popup.currentTarget = null)} class="absolute right-0 m-0" />
<CloseIcon
onClick$={$(() => (popup.currentTarget = null))}
class="absolute right-0 m-0"
/>
<popup.Component {...popup.props} />
</div>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const RouterHead = component$(() => {
))}

{head.styles.map((s) => (
<style key={s.key} {...s.props} dangerouslySetInnerHTML={s.style} />
<style key={s.key} {...(s.props as any)} dangerouslySetInnerHTML={s.style} />
))}
</>
);
Expand Down
Loading

0 comments on commit 15aa0ab

Please sign in to comment.