Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

temp fix login crashes

Brendan Allanc922f2e8c548
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index fc6712033..ed3c034f1 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -13,7 +13,7 @@
"@cap/ui-solid": "workspace:*",
"@cap/utils": "workspace:*",
"@corvu/tooltip": "^0.2.1",
- "@kobalte/core": "^0.13.4",
+ "@kobalte/core": "^0.13.6",
"@solid-primitives/bounds": "^0.0.122",
"@solid-primitives/context": "^0.2.3",
"@solid-primitives/date": "^2.0.23",
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index 1c33b16d2..08651e0a8 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -1130,7 +1130,6 @@ async fn remove_fake_window(
const PREV_RECORDINGS_WINDOW: &str = "prev-recordings";
-// must not be async bc of panel
#[tauri::command(async)]
#[specta::specta]
fn show_previous_recordings_window(app: AppHandle) {
diff --git a/apps/desktop/src/routes/(window-chrome).tsx b/apps/desktop/src/routes/(window-chrome).tsx
index e806893a8..f963102c9 100644
--- a/apps/desktop/src/routes/(window-chrome).tsx
+++ b/apps/desktop/src/routes/(window-chrome).tsx
@@ -1,6 +1,5 @@
import type { RouteSectionProps } from "@solidjs/router";
import { Suspense } from "solid-js";
-import { Transition } from "solid-transition-group";
import Header from "../components/Header";
@@ -8,25 +7,25 @@ export default function (props: RouteSectionProps) {
return (
<div class="rounded-[1.5rem] bg-gray-100 border border-gray-200 w-screen h-screen flex flex-col overflow-hidden">
<Header />
- <Transition
+ {/* <Transition
mode="outin"
enterActiveClass="transition-opacity duration-100"
exitActiveClass="transition-opacity duration-100"
enterClass="opacity-0"
exitToClass="opacity-0"
- >
- <Suspense
- fallback={
- <div class="w-full h-full flex items-center justify-center bg-gray-100">
- <div class="animate-spin">
- <IconCapLogo class="size-[4rem]" />
- </div>
+ > */}
+ <Suspense
+ fallback={
+ <div class="w-full h-full flex items-center justify-center bg-gray-100">
+ <div class="animate-spin">
+ <IconCapLogo class="size-[4rem]" />
</div>
- }
- >
- {props.children}
- </Suspense>
- </Transition>
+ </div>
+ }
+ >
+ {props.children}
+ </Suspense>
+ {/* </Transition> */}
</div>
);
}
diff --git a/apps/desktop/src/routes/(window-chrome)/index.tsx b/apps/desktop/src/routes/(window-chrome)/index.tsx
index f4b9ca099..6ed49e587 100644
--- a/apps/desktop/src/routes/(window-chrome)/index.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/index.tsx
@@ -35,6 +35,7 @@ import {
const getAuth = cache(async () => {
const value = await authStore.get();
+ console.log({ value });
if (!value) return redirect("/signin");
return value;
}, "getAuth");
@@ -142,349 +143,317 @@ export default function () {
}
};
+ const camera = createCameraForLabel(() => options.data?.cameraLabel ?? "");
+
+ const selectedWindow = () => {
+ const d = options.data?.captureTarget;
+ if (d?.type !== "window") return;
+ return windows.data?.find((data) => data.id === d.id);
+ };
+
+ const audioDevice = () => {
+ return audioDevices.data?.find(
+ (d) => d.name === options.data?.audioInputName
+ );
+ };
+
return (
<div class="flex justify-center flex-col p-[1rem] gap-[0.75rem] text-[0.875rem] font-[400] bg-gray-50 h-full">
- <Show when={options.data}>
- {(options) => {
- const camera = createCameraForLabel(
- () => options().cameraLabel ?? ""
- );
-
- const selectedWindow = () => {
- const d = options().captureTarget;
- if (d.type !== "window") return;
- return windows.data?.find((data) => data.id === d.id);
- };
-
- const audioDevice = () => {
- return audioDevices.data?.find(
- (d) => d.name === options().audioInputName
- );
- };
-
- return (
- <>
- <div class="absolute top-3 right-3">
- <div class="flex items-center gap-[0.25rem]">
- <Button
- variant="secondary"
- size="xs"
- onClick={() => {
- commands.openFeedbackWindow();
- }}
- >
- Feedback
- </Button>
- <div>
- <button
- type="button"
- onClick={handleChangelogClick}
- class="relative"
- >
- <IconLucideBell class="w-[1.15rem] h-[1.15rem] text-gray-400 hover:text-gray-500" />
- {changelogState.hasUpdate && (
- <div
- style={{ "background-color": "#FF4747" }}
- class="block z-10 absolute top-0 right-0 w-2 h-2 rounded-full animate-bounce"
- />
- )}
- </button>
- </div>
- </div>
- </div>
- <div class="flex items-center justify-between pb-[0.25rem]">
- <IconCapLogoFull class="w-[90px] h-auto" />
- <button
- type="button"
- onClick={() => commands.openSettingsWindow()}
- >
- <IconCapSettings class="w-[1.25rem] h-[1.25rem] text-gray-400 hover:text-gray-500" />
- </button>
- </div>
- <KSelect<CaptureWindow | null>
- options={windows.status === "success" ? windows.data : []}
- optionValue="id"
- optionTextValue="name"
- placeholder="Window"
- gutter={8}
- open={windowSelectOpen()}
- onOpenChange={(o) => {
- // prevents tab onChange from interfering with dropdown trigger click
- if (o === false && options().captureTarget.type === "screen")
- return;
- setWindowSelectOpen(o);
- }}
- itemComponent={(props) => (
- <MenuItem<typeof KSelect.Item>
- as={KSelect.Item}
- item={props.item}
- >
- <KSelect.ItemLabel class="flex-1">
- {props.item.rawValue?.name}
- </KSelect.ItemLabel>
- </MenuItem>
- )}
- value={selectedWindow() ?? null}
- onChange={(d) => {
- if (!d) return;
- commands.setRecordingOptions({
- ...options(),
- captureTarget: { type: "window", id: d.id },
- });
- setWindowSelectOpen(false);
- }}
- placement="top-end"
- >
- <SwitchTab
- value={options().captureTarget.type}
- disabled={isRecording()}
- onChange={(s) => {
- if (options().captureTarget.type === s) {
- setWindowSelectOpen(false);
- return;
- }
- if (s === "screen") {
- commands.setRecordingOptions({
- ...options(),
- captureTarget: { type: "screen" },
- });
- setWindowSelectOpen(false);
- } else if (s === "window") {
- if (windowSelectOpen()) {
- setWindowSelectOpen(false);
- } else {
- setWindowSelectOpen(true);
- }
- }
- }}
- >
- <SwitchTab.List>
- <SwitchTab.Trigger value="screen">Screen</SwitchTab.Trigger>
- <SwitchTab.Trigger<ValidComponent>
- as={(p) => <KSelect.Trigger<ValidComponent> {...p} />}
- value="window"
- class="w-full text-nowrap overflow-hidden px-2 group KSelect"
- >
- <KSelect.Value<CaptureWindow> class="flex flex-row items-center justify-center">
- {(item) => (
- <>
- <span class="flex-1 truncate">
- {item.selectedOption()?.name ?? "Select Window"}
- </span>
-
- <IconCapChevronDown class="size-4 shrink-0 ui-group-expanded:-rotate-180 transform transition-transform" />
- </>
- )}
- </KSelect.Value>
- </SwitchTab.Trigger>
- </SwitchTab.List>
- </SwitchTab>
- <KSelect.Portal>
- <PopperContent<typeof KSelect.Content>
- as={KSelect.Content}
- class={topRightAnimateClasses}
- >
- <Show
- when={(windows.data ?? []).length > 0}
- fallback={
- <div class="p-2 text-gray-500">
- No windows available
- </div>
- }
- >
- <KSelect.Listbox
- class="max-h-52 max-w-64"
- as={MenuItemList}
- />
- </Show>
- </PopperContent>
- </KSelect.Portal>
- </KSelect>
- <div class="flex flex-col gap-[0.25rem] items-stretch">
- <label class="text-gray-400 text-[0.875rem]">Camera</label>
- <KSelect<CameraOption>
- options={[{ deviceId: "", label: "No Camera" }, ...cameras()]}
- optionValue="deviceId"
- optionTextValue="label"
- placeholder="No Camera"
- value={camera() ?? { deviceId: "", label: "No Camera" }}
- disabled={isRecording()}
- onChange={(d) => {
- if (!d) return;
- commands.setRecordingOptions({
- ...options(),
- cameraLabel: d.deviceId ? d.label : null,
- });
- }}
- itemComponent={(props) => (
- <MenuItem<typeof KSelect.Item>
- as={KSelect.Item}
- item={props.item}
- >
- <KSelect.ItemLabel class="flex-1">
- {props.item.rawValue.label}
- </KSelect.ItemLabel>
- </MenuItem>
- )}
- >
- <KSelect.Trigger class="h-[2rem] px-[0.375rem] flex flex-row gap-[0.375rem] border rounded-lg border-gray-200 w-full items-center disabled:text-gray-400 transition-colors KSelect">
- <IconCapCamera class="text-gray-400 size-[1.25rem]" />
- <KSelect.Value<
- CameraOption | undefined
- > class="flex-1 text-left truncate">
- {(state) => <>{state.selectedOption()?.label}</>}
- </KSelect.Value>
- <button
- type="button"
- class={cx(
- "px-[0.375rem] rounded-full text-[0.75rem]",
- camera()?.deviceId
- ? "bg-blue-50 text-blue-300"
- : "bg-red-50 text-red-300"
- )}
- onPointerDown={(e) => {
- if (!camera()?.deviceId) return;
- e.stopPropagation();
- e.preventDefault();
- }}
- onClick={(e) => {
- if (!camera()?.deviceId) return;
- e.stopPropagation();
- e.preventDefault();
-
- commands.setRecordingOptions({
- ...options(),
- cameraLabel: null,
- });
- }}
- >
- {camera()?.deviceId ? "On" : "Off"}
- </button>
- </KSelect.Trigger>
- <KSelect.Portal>
- <PopperContent<typeof KSelect.Content>
- as={KSelect.Content}
- class={topLeftAnimateClasses}
- >
- <MenuItemList<typeof KSelect.Listbox>
- class="max-h-36 overflow-y-auto"
- as={KSelect.Listbox}
- />
- </PopperContent>
- </KSelect.Portal>
- </KSelect>
- </div>
- <div class="flex flex-col gap-[0.25rem] items-stretch">
- <label class="text-gray-400">Microphone</label>
- <KSelect<{ name: string }>
- options={[
- { name: "No Audio" },
- ...(audioDevices.status === "success"
- ? audioDevices.data ?? []
- : []),
- ]}
- optionValue="name"
- optionTextValue="name"
- placeholder="No Audio"
- value={audioDevice() ?? { name: "No Audio" }}
- disabled={isRecording()}
- onChange={(item) => {
- if (!item) return;
- commands.setRecordingOptions({
- ...options(),
- audioInputName:
- item.name !== "No Audio" ? item.name : null,
- });
- }}
- itemComponent={(props) => (
- <MenuItem<typeof KSelect.Item>
- as={KSelect.Item}
- item={props.item}
- >
- <KSelect.ItemLabel class="flex-1">
- {props.item.rawValue.name}
- </KSelect.ItemLabel>
- </MenuItem>
- )}
- >
- <KSelect.Trigger class="flex flex-row items-center h-[2rem] px-[0.375rem] gap-[0.375rem] border rounded-lg border-gray-200 w-full disabled:text-gray-400 transition-colors KSelect">
- <IconCapMicrophone class="text-gray-400 size-[1.25rem]" />
- <KSelect.Value<{
- name: string;
- }> class="flex-1 text-left truncate">
- {(state) => <>{state.selectedOption().name}</>}
- </KSelect.Value>
- <button
- type="button"
- class={cx(
- "px-[0.375rem] rounded-full text-[0.75rem]",
- options().audioInputName
- ? "bg-blue-50 text-blue-300"
- : "bg-red-50 text-red-300"
- )}
- onPointerDown={(e) => {
- if (!options().audioInputName) return;
- e.stopPropagation();
- e.preventDefault();
- }}
- onClick={(e) => {
- if (!options().audioInputName) return;
- e.stopPropagation();
- e.preventDefault();
-
- commands.setRecordingOptions({
- ...options(),
- audioInputName: null,
- });
- }}
- >
- {options().audioInputName ? "On" : "Off"}
- </button>
- </KSelect.Trigger>
- <KSelect.Portal>
- <PopperContent<typeof KSelect.Content>
- as={KSelect.Content}
- class={topLeftAnimateClasses}
- >
- <MenuItemList<typeof KSelect.Listbox>
- class="max-h-36 overflow-y-auto"
- as={KSelect.Listbox}
- />
- </PopperContent>
- </KSelect.Portal>
- </KSelect>
- </div>
- <div class="w-full flex items-center space-x-1">
- <Button
- disabled={toggleRecording.isPending}
- variant={isRecording() ? "destructive" : "primary"}
- size="md"
- onClick={() => toggleRecording.mutate()}
- class="flex-grow"
- >
- {isRecording() ? "Stop Recording" : "Start Recording"}
- </Button>
- <Button
- disabled={isRecording()}
- variant="secondary"
- size="md"
- onClick={() => commands.takeScreenshot()}
- >
- <IconLucideCamera class="w-[1rem] h-[1rem]" />
- </Button>
- </div>
- <a
- href="https://cap.so/dashboard"
- target="_blank"
- rel="noreferrer"
- class="text-gray-400 text-[0.875rem] mx-auto hover:text-gray-500 hover:underline"
- >
- Open Cap on Web
- </a>
- </>
- );
+ <div class="absolute top-3 right-3">
+ <div class="flex items-center gap-[0.25rem]">
+ <Button
+ variant="secondary"
+ size="xs"
+ onClick={() => {
+ commands.openFeedbackWindow();
+ }}
+ >
+ Feedback
+ </Button>
+ <div>
+ <button
+ type="button"
+ onClick={handleChangelogClick}
+ class="relative"
+ >
+ <IconLucideBell class="w-[1.15rem] h-[1.15rem] text-gray-400 hover:text-gray-500" />
+ {changelogState.hasUpdate && (
+ <div
+ style={{ "background-color": "#FF4747" }}
+ class="block z-10 absolute top-0 right-0 w-2 h-2 rounded-full animate-bounce"
+ />
+ )}
+ </button>
+ </div>
+ </div>
+ </div>
+ <div class="flex items-center justify-between pb-[0.25rem]">
+ <IconCapLogoFull class="w-[90px] h-auto" />
+ <button type="button" onClick={() => commands.openSettingsWindow()}>
+ <IconCapSettings class="w-[1.25rem] h-[1.25rem] text-gray-400 hover:text-gray-500" />
+ </button>
+ </div>
+ <KSelect<CaptureWindow | null>
+ options={windows.data ?? []}
+ optionValue="id"
+ optionTextValue="name"
+ placeholder="Window"
+ gutter={8}
+ open={windowSelectOpen()}
+ onOpenChange={(o) => {
+ // prevents tab onChange from interfering with dropdown trigger click
+ if (o === false && options.data?.captureTarget.type === "screen")
+ return;
+ setWindowSelectOpen(o);
}}
- </Show>
+ itemComponent={(props) => (
+ <MenuItem<typeof KSelect.Item> as={KSelect.Item} item={props.item}>
+ <KSelect.ItemLabel class="flex-1">
+ {props.item.rawValue?.name}
+ </KSelect.ItemLabel>
+ </MenuItem>
+ )}
+ value={selectedWindow() ?? null}
+ onChange={(d) => {
+ if (!d || !options.data) return;
+ commands.setRecordingOptions({
+ ...options.data,
+ captureTarget: { type: "window", id: d.id },
+ });
+ setWindowSelectOpen(false);
+ }}
+ placement="top-end"
+ >
+ <SwitchTab
+ value={options.data?.captureTarget.type}
+ disabled={isRecording()}
+ onChange={(s) => {
+ if (!options.data) return;
+ if (options.data?.captureTarget.type === s) {
+ setWindowSelectOpen(false);
+ return;
+ }
+ if (s === "screen") {
+ commands.setRecordingOptions({
+ ...options.data,
+ captureTarget: { type: "screen" },
+ });
+ setWindowSelectOpen(false);
+ } else if (s === "window") {
+ if (windowSelectOpen()) {
+ setWindowSelectOpen(false);
+ } else {
+ setWindowSelectOpen(true);
+ }
+ }
+ }}
+ >
+ <SwitchTab.List>
+ <SwitchTab.Trigger value="screen">Screen</SwitchTab.Trigger>
+ <SwitchTab.Trigger<ValidComponent>
+ as={(p) => <KSelect.Trigger<ValidComponent> {...p} />}
+ value="window"
+ class="w-full text-nowrap overflow-hidden px-2 group KSelect"
+ >
+ <KSelect.Value<CaptureWindow> class="flex flex-row items-center justify-center">
+ {(item) => (
+ <>
+ <span class="flex-1 truncate">
+ {item.selectedOption()?.name ?? "Select Window"}
+ </span>
+
+ <IconCapChevronDown class="size-4 shrink-0 ui-group-expanded:-rotate-180 transform transition-transform" />
+ </>
+ )}
+ </KSelect.Value>
+ </SwitchTab.Trigger>
+ </SwitchTab.List>
+ </SwitchTab>
+ <KSelect.Portal>
+ <PopperContent<typeof KSelect.Content>
+ as={KSelect.Content}
+ class={topRightAnimateClasses}
+ >
+ <Show
+ when={(windows.data ?? []).length > 0}
+ fallback={
+ <div class="p-2 text-gray-500">No windows available</div>
+ }
+ >
+ <KSelect.Listbox class="max-h-52 max-w-64" as={MenuItemList} />
+ </Show>
+ </PopperContent>
+ </KSelect.Portal>
+ </KSelect>
+ <div class="flex flex-col gap-[0.25rem] items-stretch">
+ <label class="text-gray-400 text-[0.875rem]">Camera</label>
+ <KSelect<CameraOption>
+ options={[{ deviceId: "", label: "No Camera" }, ...cameras()]}
+ optionValue="deviceId"
+ optionTextValue="label"
+ placeholder="No Camera"
+ value={camera() ?? { deviceId: "", label: "No Camera" }}
+ disabled={isRecording()}
+ onChange={(d) => {
+ if (!d || !options.data) return;
+ commands.setRecordingOptions({
+ ...options.data,
+ cameraLabel: d.deviceId ? d.label : null,
+ });
+ }}
+ itemComponent={(props) => (
+ <MenuItem<typeof KSelect.Item> as={KSelect.Item} item={props.item}>
+ <KSelect.ItemLabel class="flex-1">
+ {props.item.rawValue.label}
+ </KSelect.ItemLabel>
+ </MenuItem>
+ )}
+ >
+ <KSelect.Trigger class="h-[2rem] px-[0.375rem] flex flex-row gap-[0.375rem] border rounded-lg border-gray-200 w-full items-center disabled:text-gray-400 transition-colors KSelect">
+ <IconCapCamera class="text-gray-400 size-[1.25rem]" />
+ <KSelect.Value<
+ CameraOption | undefined
+ > class="flex-1 text-left truncate">
+ {(state) => <>{state.selectedOption()?.label}</>}
+ </KSelect.Value>
+ <button
+ type="button"
+ class={cx(
+ "px-[0.375rem] rounded-full text-[0.75rem]",
+ camera()?.deviceId
+ ? "bg-blue-50 text-blue-300"
+ : "bg-red-50 text-red-300"
+ )}
+ onPointerDown={(e) => {
+ if (!camera()?.deviceId) return;
+ e.stopPropagation();
+ e.preventDefault();
+ }}
+ onClick={(e) => {
+ if (!camera()?.deviceId || !options.data) return;
+ e.stopPropagation();
+ e.preventDefault();
+
+ commands.setRecordingOptions({
+ ...options.data,
+ cameraLabel: null,
+ });
+ }}
+ >
+ {camera()?.deviceId ? "On" : "Off"}
+ </button>
+ </KSelect.Trigger>
+ <KSelect.Portal>
+ <PopperContent<typeof KSelect.Content>
+ as={KSelect.Content}
+ class={topLeftAnimateClasses}
+ >
+ <MenuItemList<typeof KSelect.Listbox>
+ class="max-h-36 overflow-y-auto"
+ as={KSelect.Listbox}
+ />
+ </PopperContent>
+ </KSelect.Portal>
+ </KSelect>
+ </div>
+ <div class="flex flex-col gap-[0.25rem] items-stretch">
+ <label class="text-gray-400">Microphone</label>
+ <KSelect<{ name: string }>
+ options={[{ name: "No Audio" }, ...(audioDevices.data ?? [])]}
+ optionValue="name"
+ optionTextValue="name"
+ placeholder="No Audio"
+ value={audioDevice() ?? { name: "No Audio" }}
+ disabled={isRecording()}
+ onChange={(item) => {
+ if (!item || !options.data) return;
+ commands.setRecordingOptions({
+ ...options.data,
+ audioInputName: item.name !== "No Audio" ? item.name : null,
+ });
+ }}
+ itemComponent={(props) => (
+ <MenuItem<typeof KSelect.Item> as={KSelect.Item} item={props.item}>
+ <KSelect.ItemLabel class="flex-1">
+ {props.item.rawValue.name}
+ </KSelect.ItemLabel>
+ </MenuItem>
+ )}
+ >
+ <KSelect.Trigger class="flex flex-row items-center h-[2rem] px-[0.375rem] gap-[0.375rem] border rounded-lg border-gray-200 w-full disabled:text-gray-400 transition-colors KSelect">
+ <IconCapMicrophone class="text-gray-400 size-[1.25rem]" />
+ <KSelect.Value<{
+ name: string;
+ }> class="flex-1 text-left truncate">
+ {(state) => <>{state.selectedOption().name}</>}
+ </KSelect.Value>
+ <button
+ type="button"
+ class={cx(
+ "px-[0.375rem] rounded-full text-[0.75rem]",
+ options.data?.audioInputName
+ ? "bg-blue-50 text-blue-300"
+ : "bg-red-50 text-red-300"
+ )}
+ onPointerDown={(e) => {
+ if (!options.data?.audioInputName) return;
+ e.stopPropagation();
+ e.preventDefault();
+ }}
+ onClick={(e) => {
+ if (!options.data?.audioInputName) return;
+ e.stopPropagation();
+ e.preventDefault();
+
+ commands.setRecordingOptions({
+ ...data.options,
+ audioInputName: null,
+ });
+ }}
+ >
+ {options.data?.audioInputName ? "On" : "Off"}
+ </button>
+ </KSelect.Trigger>
+ <KSelect.Portal>
+ <PopperContent<typeof KSelect.Content>
+ as={KSelect.Content}
+ class={topLeftAnimateClasses}
+ >
+ <MenuItemList<typeof KSelect.Listbox>
+ class="max-h-36 overflow-y-auto"
+ as={KSelect.Listbox}
+ />
+ </PopperContent>
+ </KSelect.Portal>
+ </KSelect>
+ </div>
+ <div class="w-full flex items-center space-x-1">
+ <Button
+ disabled={toggleRecording.isPending}
+ variant={isRecording() ? "destructive" : "primary"}
+ size="md"
+ onClick={() => toggleRecording.mutate()}
+ class="flex-grow"
+ >
+ {isRecording() ? "Stop Recording" : "Start Recording"}
+ </Button>
+ <Button
+ disabled={isRecording()}
+ variant="secondary"
+ size="md"
+ onClick={() => commands.takeScreenshot()}
+ >
+ <IconLucideCamera class="w-[1rem] h-[1rem]" />
+ </Button>
+ </div>
+ <a
+ href="https://cap.so/dashboard"
+ target="_blank"
+ rel="noreferrer"
+ class="text-gray-400 text-[0.875rem] mx-auto hover:text-gray-500 hover:underline"
+ >
+ Open Cap on Web
+ </a>
</div>
);
}
diff --git a/package.json b/package.json
index d84e54c5b..b78cb2a4c 100644
--- a/package.json
+++ b/package.json
@@ -22,5 +22,10 @@
"name": "cap",
"engines": {
"node": "20"
+ },
+ "pnpm": {
+ "patchedDependencies": {
+ "@kobalte/[email protected]": "patches/@[email protected]"
+ }
}
}
diff --git a/packages/ui-solid/package.json b/packages/ui-solid/package.json
index 99ce82a61..ddc958935 100644
--- a/packages/ui-solid/package.json
+++ b/packages/ui-solid/package.json
@@ -11,7 +11,7 @@
"./types": "./src/types.d.ts"
},
"dependencies": {
- "@kobalte/core": "^0.13.4",
+ "@kobalte/core": "^0.13.6",
"cva": "npm:class-variance-authority@^0.7.0",
"solid-js": "^1.8.18",
"tailwindcss": "^3.4.10"
diff --git a/packages/ui-solid/src/auto-imports.d.ts b/packages/ui-solid/src/auto-imports.d.ts
index 304b9a1d5..3d2b7b708 100644
--- a/packages/ui-solid/src/auto-imports.d.ts
+++ b/packages/ui-solid/src/auto-imports.d.ts
@@ -3,6 +3,7 @@
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
+// biome-ignore lint: disable
export {}
declare global {
const IconCapArrows: typeof import('~icons/cap/arrows.jsx')['default']
diff --git a/patches/@[email protected] b/patches/@[email protected]
new file mode 100644
index 000000000..eec1b8c50
Binary files /dev/null and b/patches/@[email protected] differ
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 126eaed73..592a0710d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -45,7 +45,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1([email protected])
'@kobalte/core':
- specifier: ^0.13.4
+ specifier: ^0.13.6
version: 0.13.6([email protected])
'@solid-primitives/bounds':
specifier: ^0.0.122
@@ -844,7 +844,7 @@ importers:
packages/ui-solid:
dependencies:
'@kobalte/core':
- specifier: ^0.13.4
+ specifier: ^0.13.6
version: 0.13.6([email protected])
cva:
specifier: npm:class-variance-authority@^0.7.0
@@ -3800,8 +3800,8 @@ packages:
peerDependencies:
solid-js: ^1.6.12
- '@solid-primitives/[email protected]':
- resolution: {integrity: sha512-+vuajM82NN/bFwu4394k5rGUaBm+HYE7qcRnyPBtI1YGNXqSSuhrXDXZXSnlNgH+Sa8yguwXY9/BoZMsr/Ue8A==}
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-B1zyFbsiTQvqPr+cuPCXO72sRuczG9Swncqk5P74NCGw1VE8qa/Ry9GlfI1e/VdeQYHjan+XkbE3rO2GW/qKew==}
peerDependencies:
solid-js: ^1.6.12
@@ -3867,8 +3867,8 @@ packages:
peerDependencies:
solid-js: ^1.6.12
- '@solid-primitives/[email protected]':
- resolution: {integrity: sha512-4oc8grBzBit7ByXgE1aZ0QXfhdlhXaiFjDKYsOhRyUJa8fN4hdr2IgsYqjmHwxyjK+Dm2OUwkCI1bGkaLgtgXg==}
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-00BbAiXV66WwjHuKZc3wr0+GLb9C24mMUmi3JdTpNFgHBbrQGrIHubmZDg36c5/7wH+E0GQtOOanwQS063PO+A==}
peerDependencies:
solid-js: ^1.6.12
@@ -3966,11 +3966,11 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-CcE8hyqZfjXlBbtrLAuTQELmCEvkR+o2ea+xECUluOwVTJnNye5Vh/Qzlkw+d3yEYtgO3Go2wCuEiN/3+BWo3w==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-JT19lBZ34CoG9ofFpwctYiRBjpI68AznNz+EtQzawWx95TqwAjgB9zX9t2m2cWYXPT+CoVPC9UtI6/hlfmEjOw==}
peerDependencies:
'@preact/preset-vite': '*'
- storybook: ^8.4.0-alpha.1
+ storybook: ^8.4.0-alpha.2
typescript: '>= 4.3.x'
vite: ^4.0.0 || ^5.0.0
vite-plugin-glimmerx: '*'
@@ -3990,10 +3990,10 @@ packages:
peerDependencies:
storybook: ^8.3.3
- '@storybook/[email protected]':
- resolution: {integrity: sha512-NbNMpAyKAFKcRJk+Zv/7NtHUurNXsKwJmK8qfKXSgNenE8J4G8L35vehPRZh0sb6xxO+hYm7JDtKR/VmCY9aYw==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-vm4G8/OqqWnUjSrsFX1GBlDFt3y6GMJm8thd8xvVDp25yhH0NwrhqSeb4eXJtAo2t8gu89KPC8PctOixFvbXRA==}
peerDependencies:
- storybook: ^8.4.0-alpha.1
+ storybook: ^8.4.0-alpha.2
'@storybook/[email protected]':
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
@@ -12111,7 +12111,7 @@ snapshots:
dependencies:
'@solid-primitives/event-listener': 2.3.3([email protected])
'@solid-primitives/keyed': 1.2.2([email protected])
- '@solid-primitives/map': 0.4.12([email protected])
+ '@solid-primitives/map': 0.4.13([email protected])
'@solid-primitives/media': 2.2.9([email protected])
'@solid-primitives/props': 3.1.11([email protected])
'@solid-primitives/refs': 1.0.8([email protected])
@@ -13602,9 +13602,9 @@ snapshots:
dependencies:
solid-js: 1.9.1
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- '@solid-primitives/trigger': 1.0.11([email protected])
+ '@solid-primitives/trigger': 1.1.0([email protected])
solid-js: 1.9.1
'@solid-primitives/[email protected]([email protected])':
@@ -13668,7 +13668,7 @@ snapshots:
dependencies:
solid-js: 1.9.1
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
'@solid-primitives/utils': 6.2.3([email protected])
solid-js: 1.9.1
@@ -13834,9 +13834,9 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@storybook/csf-plugin': 8.4.0-alpha.1([email protected])
+ '@storybook/csf-plugin': 8.4.0-alpha.2([email protected])
'@types/find-cache-dir': 3.2.1
browser-assert: 1.2.1
es-module-lexer: 1.5.4
@@ -13879,7 +13879,7 @@ snapshots:
transitivePeerDependencies:
- webpack-sources
dependencies:
storybook: 8.3.3
unplugin: 1.14.1
@@ -20602,7 +20602,7 @@ snapshots:
dependencies:
transitivePeerDependencies:
- '@preact/preset-vite'
- storybook