Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -109,9 +109,9 @@ const InputDate = (
}, [actualValue]);
return (
<div className={clsx(className, !darkMode && "")}>
<label htmlFor={name} className="flex justify-between space-x-2 text-xs font-medium">
<div className=" flex items-center space-x-1">
<div className={clsx("flex flex-col gap-1.5", className, !darkMode && "")}>
<label htmlFor={name} className="flex min-h-[22px] justify-between gap-2 text-body-default-medium-0 font-body-default-medium-0 text-text-neutral-secondary">
<div className="flex min-w-0 items-center gap-1">
<div className="truncate">
{title}
{required && <span className="ml-1 text-red-600">*</span>}
@@ -121,7 +121,7 @@ const InputDate = (
</div>
{hint}
</label>
<div className="relative mt-1 flex w-full rounded-md">
<div className="relative mt-2.5 flex w-full rounded-md">
{icon && (
<div className="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
<EntityIcon className="h-5 w-5" icon={icon} />
@@ -144,7 +144,12 @@ const InputDate = (
disabled={disabled || readOnly}
readOnly={readOnly}
autoFocus={autoFocus}
className={cn((disabled || readOnly) && "bg-secondary/90 cursor-not-allowed", icon && "pl-10", classNameInput)}
className={cn(
"h-9 rounded-sm border-border-strong bg-surface-neutral-primary px-3 !text-[16px] !leading-[22px] font-body-default-regular-0 text-text-neutral-secondary shadow-none placeholder:text-text-neutral-subtle focus-visible:ring-0 focus-visible:shadow-focus md:!text-[16px]",
(disabled || readOnly) && "cursor-not-allowed border-border-disabled bg-surface-neutral-disabled text-text-neutral-disabled",
icon && "pl-10",
classNameInput
)}
/>
)}
{display === "calendar" && (
@@ -144,7 +144,7 @@ export default function InputFilters({ filters, withSearch = true, size = "defau
<Fragment>
<Popover open={opened} onOpenChange={setOpened}>
<PopoverTrigger asChild>
<Button type="button" aria-label={t("shared.filters")} size={size} onClick={() => setOpened(!opened)} variant="outline" className="relative z-0 inline-flex gap-2">
<Button type="button" aria-label={t("shared.filters")} size={size} onClick={() => setOpened(!opened)} variant="outline" className="relative z-0 inline-flex shrink-0 gap-2">
<div className={clsx("relative inline-flex items-center gap-2", filteredItems === 0 ? "rounded-md" : "rounded-l-md")}>
<div>
{filteredItems === 0 && <FilterEmptyIcon className="h-3 w-3" />}
@@ -1,4 +1,3 @@
import type { RowMedia } from "@toolctrl/db/prisma-browser";
import clsx from "clsx";
import { lazy, type ReactNode, Suspense, useEffect, useState } from "react";
import { useTranslation } from "react-i18next";
@@ -15,7 +14,7 @@ const PreviewMediaModal = lazy(() => import("~/components/ui/media/PreviewMediaM
interface Props {
name: string;
title?: string;
initialMedia?: RowMedia[] | MediaDto[] | undefined;
initialMedia?: MediaDto[] | undefined;
disabled?: boolean;
onSelected?: (item: MediaDto[]) => void;
className?: string;