Skip to content

Commit 1611d29

Browse files
committed
chore: fix reuse
1 parent 7984ea5 commit 1611d29

File tree

11 files changed

+53
-11
lines changed

11 files changed

+53
-11
lines changed

code/components/room-components/comment/use-comment.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
import { getThreadAnswers } from "@/api/get-thread-answers";
26
import { useCollaborationRoom } from "@/store/store";
37
import { useWeave } from "@inditextech/weave-react";

code/components/room-components/hooks/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
import { WeaveUser } from "@inditextech/weave-types";
26

37
export type ThreadStatus = "pending" | "resolved";

code/components/room-components/hooks/use-tasks-events.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
import { v4 as uuidv4 } from "uuid";
26
import React from "react";
37
import { useQueryClient } from "@tanstack/react-query";

code/components/room-components/hooks/use-tools-events.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
import React from "react";
26
import { toast } from "sonner";
37
import { SidebarActive, useCollaborationRoom } from "@/store/store";

code/components/room-components/images-library/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
export type ImageStatus = "pending" | "working" | "available" | "failed";
26
export type ImageOperation =
37
| "uploaded"

code/components/room-components/inputs/color-picker.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
"use client";
26

37
import React, { FormEventHandler } from "react";

code/components/ui/badge.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
import * as React from "react"
2-
import { Slot } from "@radix-ui/react-slot"
3-
import { cva, type VariantProps } from "class-variance-authority"
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
44

5-
import { cn } from "@/lib/utils"
5+
import * as React from "react";
6+
import { Slot } from "@radix-ui/react-slot";
7+
import { cva, type VariantProps } from "class-variance-authority";
8+
9+
import { cn } from "@/lib/utils";
610

711
const badgeVariants = cva(
812
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
@@ -23,7 +27,7 @@ const badgeVariants = cva(
2327
variant: "default",
2428
},
2529
}
26-
)
30+
);
2731

2832
function Badge({
2933
className,
@@ -32,15 +36,15 @@ function Badge({
3236
...props
3337
}: React.ComponentProps<"span"> &
3438
VariantProps<typeof badgeVariants> & { asChild?: boolean }) {
35-
const Comp = asChild ? Slot : "span"
39+
const Comp = asChild ? Slot : "span";
3640

3741
return (
3842
<Comp
3943
data-slot="badge"
4044
className={cn(badgeVariants({ variant }), className)}
4145
{...props}
4246
/>
43-
)
47+
);
4448
}
4549

46-
export { Badge, badgeVariants }
50+
export { Badge, badgeVariants };

code/components/ui/skeleton.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import { cn } from "@/lib/utils"
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
5+
import { cn } from "@/lib/utils";
26

37
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
48
return (
@@ -7,7 +11,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
711
className={cn("bg-accent animate-pulse rounded-md", className)}
812
{...props}
913
/>
10-
)
14+
);
1115
}
1216

13-
export { Skeleton }
17+
export { Skeleton };

code/components/utils/mount-to-shadow-dom.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
import ReactDOM from "react-dom/client";
26
import React from "react";
37

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2025 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
2+
3+
SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)