diff --git a/packages/ui/src/dropdown/common/button.tsx b/packages/ui/src/dropdown/common/button.tsx index c0a4627e9..6c7782198 100644 --- a/packages/ui/src/dropdown/common/button.tsx +++ b/packages/ui/src/dropdown/common/button.tsx @@ -1,3 +1,5 @@ +"use client"; + import React, { Fragment } from "react"; // headless ui import { Combobox } from "@headlessui/react"; diff --git a/packages/ui/src/dropdown/common/input-search.tsx b/packages/ui/src/dropdown/common/input-search.tsx index 10fc258e1..e0c061f31 100644 --- a/packages/ui/src/dropdown/common/input-search.tsx +++ b/packages/ui/src/dropdown/common/input-search.tsx @@ -1,3 +1,5 @@ +"use client"; + import React, { FC, useEffect, useRef } from "react"; // headless ui import { Combobox } from "@headlessui/react"; diff --git a/packages/ui/src/dropdown/common/loader.tsx b/packages/ui/src/dropdown/common/loader.tsx index 0ec1f053b..32b5d986c 100644 --- a/packages/ui/src/dropdown/common/loader.tsx +++ b/packages/ui/src/dropdown/common/loader.tsx @@ -1,3 +1,5 @@ +"use client"; + import React from "react"; export const DropdownOptionsLoader = () => ( diff --git a/packages/ui/src/dropdown/common/options.tsx b/packages/ui/src/dropdown/common/options.tsx index f17a431a1..7e1090e0c 100644 --- a/packages/ui/src/dropdown/common/options.tsx +++ b/packages/ui/src/dropdown/common/options.tsx @@ -1,3 +1,5 @@ +"use client"; + import React from "react"; // headless ui import { Combobox } from "@headlessui/react"; diff --git a/packages/ui/src/dropdown/multi-select.tsx b/packages/ui/src/dropdown/multi-select.tsx index 08bc58638..064f4fe95 100644 --- a/packages/ui/src/dropdown/multi-select.tsx +++ b/packages/ui/src/dropdown/multi-select.tsx @@ -1,3 +1,5 @@ +"use client"; + import React, { FC, useMemo, useRef, useState } from "react"; import sortBy from "lodash/sortBy"; // headless ui diff --git a/packages/ui/src/dropdown/single-select.tsx b/packages/ui/src/dropdown/single-select.tsx index 045296873..ca00c8fd9 100644 --- a/packages/ui/src/dropdown/single-select.tsx +++ b/packages/ui/src/dropdown/single-select.tsx @@ -1,3 +1,5 @@ +"use client"; + import React, { FC, useMemo, useRef, useState } from "react"; import sortBy from "lodash/sortBy"; // headless ui diff --git a/packages/ui/src/emoji/emoji-icon-helper.tsx b/packages/ui/src/emoji/emoji-icon-helper.tsx index 533f025d1..63e0f10ac 100644 --- a/packages/ui/src/emoji/emoji-icon-helper.tsx +++ b/packages/ui/src/emoji/emoji-icon-helper.tsx @@ -1,3 +1,5 @@ +"use client"; + import { Placement } from "@popperjs/core"; import { EmojiClickData, Theme } from "emoji-picker-react"; diff --git a/packages/ui/src/icons/archive-icon.tsx b/packages/ui/src/icons/archive-icon.tsx index ae29d99f7..7cecb0f0d 100644 --- a/packages/ui/src/icons/archive-icon.tsx +++ b/packages/ui/src/icons/archive-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/blocked-icon.tsx b/packages/ui/src/icons/blocked-icon.tsx index 18ea85f8b..8ea8d3924 100644 --- a/packages/ui/src/icons/blocked-icon.tsx +++ b/packages/ui/src/icons/blocked-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/blocker-icon.tsx b/packages/ui/src/icons/blocker-icon.tsx index 432ef9423..77ef65c68 100644 --- a/packages/ui/src/icons/blocker-icon.tsx +++ b/packages/ui/src/icons/blocker-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/calendar-after-icon.tsx b/packages/ui/src/icons/calendar-after-icon.tsx index 905af0716..25f06067d 100644 --- a/packages/ui/src/icons/calendar-after-icon.tsx +++ b/packages/ui/src/icons/calendar-after-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/calendar-before-icon.tsx b/packages/ui/src/icons/calendar-before-icon.tsx index 2e19e6f54..df710f36f 100644 --- a/packages/ui/src/icons/calendar-before-icon.tsx +++ b/packages/ui/src/icons/calendar-before-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/center-panel-icon.tsx b/packages/ui/src/icons/center-panel-icon.tsx index de01e2e2d..cffd8728b 100644 --- a/packages/ui/src/icons/center-panel-icon.tsx +++ b/packages/ui/src/icons/center-panel-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/create-icon.tsx b/packages/ui/src/icons/create-icon.tsx index 34241f553..fa4b658f8 100644 --- a/packages/ui/src/icons/create-icon.tsx +++ b/packages/ui/src/icons/create-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/cycle/circle-dot-full-icon.tsx b/packages/ui/src/icons/cycle/circle-dot-full-icon.tsx index f8b528a61..58bb0b54b 100644 --- a/packages/ui/src/icons/cycle/circle-dot-full-icon.tsx +++ b/packages/ui/src/icons/cycle/circle-dot-full-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/cycle/contrast-icon.tsx b/packages/ui/src/icons/cycle/contrast-icon.tsx index 86ac3619c..bc8775ac8 100644 --- a/packages/ui/src/icons/cycle/contrast-icon.tsx +++ b/packages/ui/src/icons/cycle/contrast-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/cycle/cycle-group-icon.tsx b/packages/ui/src/icons/cycle/cycle-group-icon.tsx index 731d90702..accdbd305 100644 --- a/packages/ui/src/icons/cycle/cycle-group-icon.tsx +++ b/packages/ui/src/icons/cycle/cycle-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ContrastIcon } from "./contrast-icon"; diff --git a/packages/ui/src/icons/cycle/double-circle-icon.tsx b/packages/ui/src/icons/cycle/double-circle-icon.tsx index 37d990e64..0b8dc0fa0 100644 --- a/packages/ui/src/icons/cycle/double-circle-icon.tsx +++ b/packages/ui/src/icons/cycle/double-circle-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/dice-icon.tsx b/packages/ui/src/icons/dice-icon.tsx index 809d66145..fb20c9bf4 100644 --- a/packages/ui/src/icons/dice-icon.tsx +++ b/packages/ui/src/icons/dice-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/discord-icon.tsx b/packages/ui/src/icons/discord-icon.tsx index 42cd42bd0..21780a920 100644 --- a/packages/ui/src/icons/discord-icon.tsx +++ b/packages/ui/src/icons/discord-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/full-screen-panel-icon.tsx b/packages/ui/src/icons/full-screen-panel-icon.tsx index 7b4e9f4c1..97cd061e2 100644 --- a/packages/ui/src/icons/full-screen-panel-icon.tsx +++ b/packages/ui/src/icons/full-screen-panel-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/github-icon.tsx b/packages/ui/src/icons/github-icon.tsx index 207294884..addd50ce2 100644 --- a/packages/ui/src/icons/github-icon.tsx +++ b/packages/ui/src/icons/github-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/info-icon.tsx b/packages/ui/src/icons/info-icon.tsx index 5dbc7f756..817e3d39c 100644 --- a/packages/ui/src/icons/info-icon.tsx +++ b/packages/ui/src/icons/info-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/layer-stack.tsx b/packages/ui/src/icons/layer-stack.tsx index 661eb9d07..0a50b0b9f 100644 --- a/packages/ui/src/icons/layer-stack.tsx +++ b/packages/ui/src/icons/layer-stack.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/layers-icon.tsx b/packages/ui/src/icons/layers-icon.tsx index 73f3433e1..f7e0a8265 100644 --- a/packages/ui/src/icons/layers-icon.tsx +++ b/packages/ui/src/icons/layers-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/module/backlog.tsx b/packages/ui/src/icons/module/backlog.tsx index 22d87cd28..adb770a2b 100644 --- a/packages/ui/src/icons/module/backlog.tsx +++ b/packages/ui/src/icons/module/backlog.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/module/cancelled.tsx b/packages/ui/src/icons/module/cancelled.tsx index b47cc874c..0c05aaaf8 100644 --- a/packages/ui/src/icons/module/cancelled.tsx +++ b/packages/ui/src/icons/module/cancelled.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/module/completed.tsx b/packages/ui/src/icons/module/completed.tsx index d6e4e0d06..0e2db2ea2 100644 --- a/packages/ui/src/icons/module/completed.tsx +++ b/packages/ui/src/icons/module/completed.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/module/in-progress.tsx b/packages/ui/src/icons/module/in-progress.tsx index 2fdcdbe69..d0080acf9 100644 --- a/packages/ui/src/icons/module/in-progress.tsx +++ b/packages/ui/src/icons/module/in-progress.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/module/module-status-icon.tsx b/packages/ui/src/icons/module/module-status-icon.tsx index 9b9fcddd1..536b643ab 100644 --- a/packages/ui/src/icons/module/module-status-icon.tsx +++ b/packages/ui/src/icons/module/module-status-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ModuleBacklogIcon } from "./backlog"; diff --git a/packages/ui/src/icons/module/paused.tsx b/packages/ui/src/icons/module/paused.tsx index a2d728ebf..afc969867 100644 --- a/packages/ui/src/icons/module/paused.tsx +++ b/packages/ui/src/icons/module/paused.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/module/planned.tsx b/packages/ui/src/icons/module/planned.tsx index 0dcc1f71b..7f5b06c04 100644 --- a/packages/ui/src/icons/module/planned.tsx +++ b/packages/ui/src/icons/module/planned.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/photo-filter-icon.tsx b/packages/ui/src/icons/photo-filter-icon.tsx index c7e6a540c..064add391 100644 --- a/packages/ui/src/icons/photo-filter-icon.tsx +++ b/packages/ui/src/icons/photo-filter-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/priority-icon.tsx b/packages/ui/src/icons/priority-icon.tsx index 031b769f1..3873c65b6 100644 --- a/packages/ui/src/icons/priority-icon.tsx +++ b/packages/ui/src/icons/priority-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { AlertCircle, Ban, SignalHigh, SignalLow, SignalMedium } from "lucide-react"; import { cn } from "../../helpers"; diff --git a/packages/ui/src/icons/related-icon.tsx b/packages/ui/src/icons/related-icon.tsx index 514b5e96d..77149352b 100644 --- a/packages/ui/src/icons/related-icon.tsx +++ b/packages/ui/src/icons/related-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/side-panel-icon.tsx b/packages/ui/src/icons/side-panel-icon.tsx index 137b2d24e..46335e065 100644 --- a/packages/ui/src/icons/side-panel-icon.tsx +++ b/packages/ui/src/icons/side-panel-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type"; diff --git a/packages/ui/src/icons/state/backlog-group-icon.tsx b/packages/ui/src/icons/state/backlog-group-icon.tsx index fce4f0024..2fde352f2 100644 --- a/packages/ui/src/icons/state/backlog-group-icon.tsx +++ b/packages/ui/src/icons/state/backlog-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/state/cancelled-group-icon.tsx b/packages/ui/src/icons/state/cancelled-group-icon.tsx index c18a2570a..1b4e0ff31 100644 --- a/packages/ui/src/icons/state/cancelled-group-icon.tsx +++ b/packages/ui/src/icons/state/cancelled-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/state/completed-group-icon.tsx b/packages/ui/src/icons/state/completed-group-icon.tsx index b53292687..18f896080 100644 --- a/packages/ui/src/icons/state/completed-group-icon.tsx +++ b/packages/ui/src/icons/state/completed-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/state/started-group-icon.tsx b/packages/ui/src/icons/state/started-group-icon.tsx index 77f1d1609..23742d8a6 100644 --- a/packages/ui/src/icons/state/started-group-icon.tsx +++ b/packages/ui/src/icons/state/started-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/state/state-group-icon.tsx b/packages/ui/src/icons/state/state-group-icon.tsx index e771fff5e..88e249dd5 100644 --- a/packages/ui/src/icons/state/state-group-icon.tsx +++ b/packages/ui/src/icons/state/state-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { BacklogGroupIcon } from "./backlog-group-icon"; diff --git a/packages/ui/src/icons/state/unstarted-group-icon.tsx b/packages/ui/src/icons/state/unstarted-group-icon.tsx index 5c62b1f12..b95da4337 100644 --- a/packages/ui/src/icons/state/unstarted-group-icon.tsx +++ b/packages/ui/src/icons/state/unstarted-group-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "../type"; diff --git a/packages/ui/src/icons/transfer-icon.tsx b/packages/ui/src/icons/transfer-icon.tsx index 9a5286f94..4814179a6 100644 --- a/packages/ui/src/icons/transfer-icon.tsx +++ b/packages/ui/src/icons/transfer-icon.tsx @@ -1,3 +1,5 @@ +"use client"; + import * as React from "react"; import { ISvgIcons } from "./type";