diff --git a/apps/admin/package.json b/apps/admin/package.json index e2361a51..64f8472c 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -1,6 +1,6 @@ { "name": "admin", - "version": "1.4.39", + "version": "1.4.40", "private": true, "description": "Admin UI for Pace", "license": "AGPL-3.0", diff --git a/apps/space/core/components/account/auth-forms/email.tsx b/apps/space/core/components/account/auth-forms/email.tsx index 303b4025..a0520c43 100644 --- a/apps/space/core/components/account/auth-forms/email.tsx +++ b/apps/space/core/components/account/auth-forms/email.tsx @@ -13,7 +13,8 @@ import { CloseCircleOutline, WarningCircleOutline } from "@makeplane/propel/icon import { Button } from "@pace/propel/button"; import type { IEmailCheckData } from "@pace/types"; // ui -import { Input, Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; +import { Input } from "@pace/propel/input"; // helpers import { checkEmailValidity, cn } from "@pace/utils"; diff --git a/apps/space/core/components/account/auth-forms/password.tsx b/apps/space/core/components/account/auth-forms/password.tsx index a33e5acd..e2dfd3e9 100644 --- a/apps/space/core/components/account/auth-forms/password.tsx +++ b/apps/space/core/components/account/auth-forms/password.tsx @@ -11,7 +11,9 @@ import { CloseCircleOutline, HideOutline, ShowOutline } from "@makeplane/propel/ import { API_BASE_URL, EAuthModes, EAuthSteps, E_PASSWORD_STRENGTH } from "@pace/constants"; import { Button } from "@pace/propel/button"; import { AuthService } from "@pace/services"; -import { Input, Spinner, PasswordStrengthIndicator } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; +import { Input } from "@pace/propel/input"; +import { PasswordStrengthIndicator } from "@pace/ui"; import { getPasswordStrength } from "@pace/utils"; // types diff --git a/apps/space/core/components/account/auth-forms/unique-code.tsx b/apps/space/core/components/account/auth-forms/unique-code.tsx index db87689b..768ee74b 100644 --- a/apps/space/core/components/account/auth-forms/unique-code.tsx +++ b/apps/space/core/components/account/auth-forms/unique-code.tsx @@ -10,7 +10,8 @@ import { CloseCircleOutline, TickCircleOutline } from "@makeplane/propel/icons"; import { API_BASE_URL, EAuthModes } from "@pace/constants"; import { Button } from "@pace/propel/button"; import { AuthService } from "@pace/services"; -import { Input, Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; +import { Input } from "@pace/propel/input"; // hooks import { useTimer } from "@pace/hooks"; // types diff --git a/apps/space/core/components/issues/filters/labels.tsx b/apps/space/core/components/issues/filters/labels.tsx index 8c8ed7d6..7e6751ca 100644 --- a/apps/space/core/components/issues/filters/labels.tsx +++ b/apps/space/core/components/issues/filters/labels.tsx @@ -6,7 +6,7 @@ import React, { useState } from "react"; // pace imports -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // types import type { IIssueLabel } from "@/types/issue"; // local imports @@ -76,11 +76,11 @@ export function FilterLabels(props: Props) {

No matches found

) ) : ( - - - - - + + + + + )} )} diff --git a/apps/space/core/components/issues/filters/state.tsx b/apps/space/core/components/issues/filters/state.tsx index edfbe282..35ad7879 100644 --- a/apps/space/core/components/issues/filters/state.tsx +++ b/apps/space/core/components/issues/filters/state.tsx @@ -9,7 +9,7 @@ import { observer } from "mobx-react"; // ui import { EIconSize } from "@pace/constants"; import { StateGroupIcon } from "@pace/propel/icons"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // hooks import { useStates } from "@/hooks/store/use-state"; // local imports @@ -76,11 +76,11 @@ export const FilterState = observer(function FilterState(props: Props) {

No matches found

) ) : ( - - - - - + + + + + )} )} diff --git a/apps/space/core/components/issues/issue-layouts/properties/member.tsx b/apps/space/core/components/issues/issue-layouts/properties/member.tsx index 0f31d34b..f20d88d6 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/member.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/member.tsx @@ -8,8 +8,7 @@ import { observer } from "mobx-react"; // icons import type { LucideIcon } from "lucide-react"; import { MembersOutline } from "@makeplane/propel/icons"; -// pace ui -import { Avatar, AvatarGroup } from "@pace/ui"; +import { Avatar, AvatarGroup } from "@pace/propel/avatar"; // pace utils import { cn } from "@pace/utils"; // hooks diff --git a/apps/space/core/components/issues/issue-layouts/utils.tsx b/apps/space/core/components/issues/issue-layouts/utils.tsx index fd28cec7..4eed7600 100644 --- a/apps/space/core/components/issues/issue-layouts/utils.tsx +++ b/apps/space/core/components/issues/issue-layouts/utils.tsx @@ -7,6 +7,7 @@ import { isNil } from "lodash-es"; // types import { EIconSize, ISSUE_PRIORITIES } from "@pace/constants"; +import { Avatar } from "@pace/propel/avatar"; import { CycleGroupIcon, PriorityIcon, StateGroupIcon } from "@pace/propel/icons"; import { CyclesOutline, ModuleOutline } from "@makeplane/propel/icons"; import type { @@ -17,7 +18,6 @@ import type { TGroupedIssues, } from "@pace/types"; // ui -import { Avatar } from "@pace/ui"; // components // constants // stores diff --git a/apps/space/core/components/issues/navbar/user-avatar.tsx b/apps/space/core/components/issues/navbar/user-avatar.tsx index 17cc2a61..a1c809b3 100644 --- a/apps/space/core/components/issues/navbar/user-avatar.tsx +++ b/apps/space/core/components/issues/navbar/user-avatar.tsx @@ -13,9 +13,9 @@ import { LogOutOutline } from "@makeplane/propel/icons"; import { Popover, Transition } from "@headlessui/react"; // pace imports import { API_BASE_URL } from "@pace/constants"; +import { Avatar } from "@pace/propel/avatar"; import { Button } from "@pace/propel/button"; import { AuthService } from "@pace/services"; -import { Avatar } from "@pace/ui"; import { getFileURL } from "@pace/utils"; // helpers import { queryParamGenerator } from "@/helpers/query-param-generator"; diff --git a/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx b/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx index 2538749c..22e1041e 100644 --- a/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx @@ -6,7 +6,7 @@ import { observer } from "mobx-react"; // pace imports -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // types import type { IIssue } from "@/types/issue"; // local imports @@ -44,14 +44,14 @@ export const FullScreenPeekView = observer(function FullScreenPeekView(props: Pr ) : ( - - + +
- - - + + +
-
+ )}
@@ -60,12 +60,12 @@ export const FullScreenPeekView = observer(function FullScreenPeekView(props: Pr {issueDetails ? ( ) : ( - - - - - - + + + + + + )}
diff --git a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx index 1feb9a7c..4faf0895 100644 --- a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx @@ -6,7 +6,7 @@ import { observer } from "mobx-react"; // pace imports -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // store hooks import { usePublish } from "@/hooks/store/publish"; // types @@ -53,14 +53,14 @@ export const SidePeekView = observer(function SidePeekView(props: Props) { )} ) : ( - - + +
- - - + + +
-
+ )} ); diff --git a/apps/space/package.json b/apps/space/package.json index 7fe586f1..f0935b01 100644 --- a/apps/space/package.json +++ b/apps/space/package.json @@ -1,6 +1,6 @@ { "name": "space", - "version": "1.4.39", + "version": "1.4.40", "private": true, "license": "AGPL-3.0", "type": "module", diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx index 04ad07cb..fd402336 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx @@ -12,7 +12,7 @@ import useSWR from "swr"; import { useTranslation } from "@pace/i18n"; import type { TIssue } from "@pace/types"; import { EIssueServiceType } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // assets import emptyIssueDark from "@/app/assets/empty-state/search/issues-dark.webp?url"; import emptyIssueLight from "@/app/assets/empty-state/search/issues-light.webp?url"; @@ -107,20 +107,20 @@ export const IssueDetailsPage = observer(function IssueDetailsPage({ params }: R if (issueLoader) { return ( - +
- - - - + + + +
- - - - + + + +
-
+ ); } diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx index 81bc4c6c..abee02b0 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx @@ -12,7 +12,7 @@ import { Banner } from "@makeplane/propel/components/banner"; import { ArchiveOutline } from "@makeplane/propel/icons"; import { useTranslation } from "@pace/i18n"; import { Button } from "@pace/propel/button"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // components import { PageHead } from "@/components/core/page-title"; import { IssueDetailRoot } from "@/components/issues/issue-detail"; @@ -53,20 +53,20 @@ function ArchivedIssueDetailsPage({ params }: Route.ComponentProps) { <> {issueLoader ? ( - +
- - - - + + + +
- - - - + + + +
-
+ ) : ( <> {count} ) : ( - + )} ); diff --git a/apps/web/core/components/analytics/insight-table/loader.tsx b/apps/web/core/components/analytics/insight-table/loader.tsx index 8a7f77db..1b787608 100644 --- a/apps/web/core/components/analytics/insight-table/loader.tsx +++ b/apps/web/core/components/analytics/insight-table/loader.tsx @@ -7,7 +7,7 @@ import * as React from "react"; import type { ColumnDef } from "@tanstack/react-table"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@pace/propel/table"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; interface TableSkeletonProps { columns: ColumnDef[]; @@ -31,7 +31,7 @@ export function TableLoader({ columns, rows }: TableSkeletonProps) { {columns.map((_, colIndex) => ( - + ))} diff --git a/apps/web/core/components/analytics/loaders.tsx b/apps/web/core/components/analytics/loaders.tsx index a62787cf..c9f1fdf4 100644 --- a/apps/web/core/components/analytics/loaders.tsx +++ b/apps/web/core/components/analytics/loaders.tsx @@ -4,21 +4,21 @@ * See the LICENSE file for details. */ -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; export function ProjectInsightsLoader() { return (
- - - + + +
- - - - - - + + + + + +
); @@ -26,8 +26,8 @@ export function ProjectInsightsLoader() { export function ChartLoader() { return ( - - - + + + ); } diff --git a/apps/web/core/components/analytics/overview/active-projects.tsx b/apps/web/core/components/analytics/overview/active-projects.tsx index ca157ba1..f8abacbe 100644 --- a/apps/web/core/components/analytics/overview/active-projects.tsx +++ b/apps/web/core/components/analytics/overview/active-projects.tsx @@ -10,7 +10,7 @@ import { useParams } from "@/app/hooks/navigation"; import useSWR from "swr"; // pace package imports import { useTranslation } from "@pace/i18n"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // pace web hooks import { useAnalytics } from "@/hooks/store/use-analytics"; import { useProject } from "@/hooks/store/use-project"; @@ -40,7 +40,7 @@ const ActiveProjects = observer(function ActiveProjects() { >
{isProjectAnalyticsCountLoading && - Array.from({ length: 5 }).map((_, index) => )} + Array.from({ length: 5 }).map((_, index) => )} {!isProjectAnalyticsCountLoading && projectAnalyticsCount?.map((project) => )}
diff --git a/apps/web/core/components/analytics/work-items/modal/content.tsx b/apps/web/core/components/analytics/work-items/modal/content.tsx index fe872c43..11a11e63 100644 --- a/apps/web/core/components/analytics/work-items/modal/content.tsx +++ b/apps/web/core/components/analytics/work-items/modal/content.tsx @@ -9,7 +9,7 @@ import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; // pace package imports import type { ICycle, IModule, IProject } from "@pace/types"; -import { Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; // hooks import { useAnalytics } from "@/hooks/store/use-analytics"; // pace web components diff --git a/apps/web/core/components/automation/auto-archive-automation.tsx b/apps/web/core/components/automation/auto-archive-automation.tsx index 079423bf..8df151a5 100644 --- a/apps/web/core/components/automation/auto-archive-automation.tsx +++ b/apps/web/core/components/automation/auto-archive-automation.tsx @@ -13,7 +13,8 @@ import { PROJECT_AUTOMATION_MONTHS, EUserPermissions, EUserPermissionsLevel } fr import { useTranslation } from "@pace/i18n"; import type { IProject } from "@pace/types"; import { Switch } from "@makeplane/propel/components/switch"; -import { CustomSelect, Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; +import { CustomSelect } from "@pace/ui"; // component import { SelectMonthModal } from "@/components/automation"; import { SettingsControlItem } from "@/components/settings/control-item"; @@ -125,9 +126,9 @@ export const AutoArchiveAutomation = observer(function AutoArchiveAutomation(pro ) ) : ( - - - + + + )} diff --git a/apps/web/core/components/automation/auto-close-automation.tsx b/apps/web/core/components/automation/auto-close-automation.tsx index a780560c..6024c8de 100644 --- a/apps/web/core/components/automation/auto-close-automation.tsx +++ b/apps/web/core/components/automation/auto-close-automation.tsx @@ -14,7 +14,8 @@ import { useTranslation } from "@pace/i18n"; import { StateGroupIcon } from "@pace/propel/icons"; import type { IProject } from "@pace/types"; import { Switch } from "@makeplane/propel/components/switch"; -import { CustomSelect, CustomSearchSelect, Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; +import { CustomSelect, CustomSearchSelect } from "@pace/ui"; import { SelectMonthModal } from "@/components/automation"; import { SettingsControlItem } from "@/components/settings/control-item"; // hooks @@ -188,9 +189,9 @@ export const AutoCloseAutomation = observer(function AutoCloseAutomation(props: ) ) : ( - - - + + + )} diff --git a/apps/web/core/components/base-layouts/gantt/sidebar.tsx b/apps/web/core/components/base-layouts/gantt/sidebar.tsx index 57e0c666..a5311520 100644 --- a/apps/web/core/components/base-layouts/gantt/sidebar.tsx +++ b/apps/web/core/components/base-layouts/gantt/sidebar.tsx @@ -8,7 +8,8 @@ import type { RefObject } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; import type { IBaseLayoutsBaseItem, IBlockUpdateData } from "@pace/types"; -import { Loader, Row } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; +import { Row } from "@pace/ui"; import { cn } from "@pace/utils"; import RenderIfVisible from "@/components/core/render-if-visible-HOC"; import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants"; @@ -143,12 +144,12 @@ export const BaseGanttSidebar = observer(function BaseGanttSidebar ) : ( - - - - - - + + + + + + )} ); diff --git a/apps/web/core/components/base-layouts/list/group.tsx b/apps/web/core/components/base-layouts/list/group.tsx index 5f847275..c3d2b28f 100644 --- a/apps/web/core/components/base-layouts/list/group.tsx +++ b/apps/web/core/components/base-layouts/list/group.tsx @@ -7,7 +7,7 @@ import { observer } from "mobx-react"; import { useTranslation } from "@pace/i18n"; import type { IBaseLayoutsListItem, IBaseLayoutsListGroupProps } from "@pace/types"; -import { cn } from "@pace/ui"; +import { cn } from "@pace/utils"; import { useGroupDropTarget } from "../hooks/use-group-drop-target"; import { GroupHeader } from "./group-header"; import { BaseListItem } from "./item"; diff --git a/apps/web/core/components/base-layouts/list/layout.tsx b/apps/web/core/components/base-layouts/list/layout.tsx index c4879863..0d2edb73 100644 --- a/apps/web/core/components/base-layouts/list/layout.tsx +++ b/apps/web/core/components/base-layouts/list/layout.tsx @@ -6,7 +6,7 @@ import { observer } from "mobx-react"; import type { IBaseLayoutsListItem, IBaseLayoutsListProps } from "@pace/types"; -import { cn } from "@pace/ui"; +import { cn } from "@pace/utils"; import { useLayoutState } from "../hooks/use-layout-state"; import { BaseListGroup } from "./group"; diff --git a/apps/web/core/components/common/filters/created-by.tsx b/apps/web/core/components/common/filters/created-by.tsx index 9e654c5c..aa970c27 100644 --- a/apps/web/core/components/common/filters/created-by.tsx +++ b/apps/web/core/components/common/filters/created-by.tsx @@ -9,7 +9,7 @@ import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; // ui import { Avatar } from "@makeplane/propel/components/avatar"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // components import { getFileURL } from "@pace/utils"; import { FilterHeader, FilterOption } from "@/components/issues/issue-layouts/filters"; @@ -103,11 +103,11 @@ export const FilterCreatedBy = observer(function FilterCreatedBy(props: Props) {

No matches found

) ) : ( - - - - - + + + + + )} )} diff --git a/apps/web/core/components/core/description-versions/modal.tsx b/apps/web/core/components/core/description-versions/modal.tsx index 5d68d6e9..be897c90 100644 --- a/apps/web/core/components/core/description-versions/modal.tsx +++ b/apps/web/core/components/core/description-versions/modal.tsx @@ -15,7 +15,8 @@ import { ChevronLeftOutline, ChevronRightOutline, CopyOutline } from "@makeplane import { setToast, TOAST_TYPE } from "@pace/propel/toast"; import { Tooltip } from "@makeplane/propel/components/tooltip"; import type { TDescriptionVersion } from "@pace/types"; -import { EModalPosition, EModalWidth, Loader, ModalCore } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; +import { EModalPosition, EModalWidth, ModalCore } from "@pace/ui"; import { calculateTimeAgo, cn, getFileURL } from "@pace/utils"; // components import { RichTextEditor } from "@/components/editor/rich-text"; @@ -140,18 +141,18 @@ export const DescriptionVersionsModal = observer(function DescriptionVersionsMod /> ) : (
- - + +
- - + +
- - + +
- - + +
)} diff --git a/apps/web/core/components/core/image-picker-popover.tsx b/apps/web/core/components/core/image-picker-popover.tsx index ff43dbc4..c04d6121 100644 --- a/apps/web/core/components/core/image-picker-popover.tsx +++ b/apps/web/core/components/core/image-picker-popover.tsx @@ -20,7 +20,7 @@ import { useOutsideClickDetector } from "@pace/hooks"; import { Button, getButtonStyling } from "@pace/propel/button"; import { TOAST_TYPE, setToast } from "@pace/propel/toast"; import { EFileAssetType } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // helpers import { STATIC_COVER_IMAGES, getCoverImageDisplayURL } from "@/helpers/cover-image.helper"; // hooks @@ -277,16 +277,16 @@ function ImagePickerPopoverComponentNo images found.

) ) : ( - - - - - - - - - - + + + + + + + + + + )} )} diff --git a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx index 49fcecfe..7bdc0a4b 100644 --- a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx +++ b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx @@ -18,7 +18,8 @@ import { SearchOutline } from "@makeplane/propel/icons"; import { TOAST_TYPE, setToast } from "@pace/propel/toast"; import type { ISearchIssueResponse, IUser } from "@pace/types"; import { EIssuesStoreType } from "@pace/types"; -import { Loader, EModalPosition, EModalWidth, ModalCore } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; +import { EModalPosition, EModalWidth, ModalCore } from "@pace/ui"; // assets import darkIssuesAsset from "@/app/assets/empty-state/search/issues-dark.webp?url"; import lightIssuesAsset from "@/app/assets/empty-state/search/issues-light.webp?url"; @@ -185,12 +186,12 @@ export const BulkDeleteIssuesModal = observer(function BulkDeleteIssuesModal(pro {isSearching ? ( - - - - - - + + + + + + ) : ( <>{issueList} )} diff --git a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx index 7a5bf364..f1a7124c 100644 --- a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx +++ b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx @@ -16,7 +16,8 @@ import { Tooltip } from "@makeplane/propel/components/tooltip"; import type { ISearchIssueResponse, TProjectIssuesSearchParams } from "@pace/types"; // ui import { Switch } from "@makeplane/propel/components/switch"; -import { Loader, EModalPosition, EModalWidth, ModalCore } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; +import { EModalPosition, EModalWidth, ModalCore } from "@pace/ui"; import { generateWorkItemLink, getTabIndex } from "@pace/utils"; // helpers // hooks @@ -235,12 +236,12 @@ export function ExistingIssuesListModal(props: Props) { )} {isSearching || isLoading ? ( - - - - - - + + + + + + ) : ( <> {filteredIssues.length === 0 ? ( diff --git a/apps/web/core/components/core/sidebar/progress-chart.tsx b/apps/web/core/components/core/sidebar/progress-chart.tsx index f743a746..d4ca935d 100644 --- a/apps/web/core/components/core/sidebar/progress-chart.tsx +++ b/apps/web/core/components/core/sidebar/progress-chart.tsx @@ -7,7 +7,7 @@ import React, { lazy, Suspense } from "react"; // pace imports import type { TChartData, TModuleCompletionChartDistribution } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; import { renderFormattedDateWithoutYear } from "@pace/utils"; const AreaChart = lazy(function AreaChart() { @@ -34,9 +34,9 @@ function ProgressChart({ distribution, totalIssues, className = "", plotTitle =
- - + + + } > - - - - + + + + + ); return cycleId ? ( @@ -370,8 +370,8 @@ export const ActiveCycleStats = observer(function ActiveCycleStats(props: Active
) : ( - - - + + + ); }); diff --git a/apps/web/core/components/cycles/active-cycle/productivity.tsx b/apps/web/core/components/cycles/active-cycle/productivity.tsx index 57e6a81f..cabb1619 100644 --- a/apps/web/core/components/cycles/active-cycle/productivity.tsx +++ b/apps/web/core/components/cycles/active-cycle/productivity.tsx @@ -11,7 +11,7 @@ import { useTheme } from "next-themes"; // pace imports import { useTranslation } from "@pace/i18n"; import type { ICycle, TCycleEstimateType } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // assets import darkChartAsset from "@/app/assets/empty-state/active-cycle/chart-dark.webp?url"; import lightChartAsset from "@/app/assets/empty-state/active-cycle/chart-light.webp?url"; @@ -101,8 +101,8 @@ export const ActiveCycleProductivity = observer(function ActiveCycleProductivity ) : ( - - - + + + ); }); diff --git a/apps/web/core/components/cycles/active-cycle/progress.tsx b/apps/web/core/components/cycles/active-cycle/progress.tsx index f4d97b61..b54e5c2d 100644 --- a/apps/web/core/components/cycles/active-cycle/progress.tsx +++ b/apps/web/core/components/cycles/active-cycle/progress.tsx @@ -12,7 +12,7 @@ import { useTranslation } from "@pace/i18n"; import type { TWorkItemFilterCondition } from "@pace/shared-state"; import { LinearProgress } from "@makeplane/propel/components/linear-progress"; import type { ICycle } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // assets import darkProgressAsset from "@/app/assets/empty-state/active-cycle/progress-dark.webp?url"; import lightProgressAsset from "@/app/assets/empty-state/active-cycle/progress-light.webp?url"; @@ -116,8 +116,8 @@ export const ActiveCycleProgress = observer(function ActiveCycleProgress(props: )} ) : ( - - - + + + ); }); diff --git a/apps/web/core/components/cycles/analytics-sidebar/root.tsx b/apps/web/core/components/cycles/analytics-sidebar/root.tsx index 30253e09..77712ccd 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/root.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/root.tsx @@ -7,7 +7,7 @@ import React from "react"; import { observer } from "mobx-react"; // pace imports -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // local imports import useCyclesDetails from "../active-cycle/use-cycles-details"; import { CycleAnalyticsProgress } from "./issue-progress"; @@ -34,17 +34,17 @@ export const CycleDetailsSidebar = observer(function CycleDetailsSidebar(props: if (!cycleDetails) return ( - +
- - + +
- - - + + +
-
+ ); return ( diff --git a/apps/web/core/components/cycles/analytics-sidebar/sidebar-chart.tsx b/apps/web/core/components/cycles/analytics-sidebar/sidebar-chart.tsx index b8d35190..cde79d59 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/sidebar-chart.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/sidebar-chart.tsx @@ -9,7 +9,7 @@ import { observer } from "mobx-react"; // pace imports import { useTranslation } from "@pace/i18n"; import type { TCycleEstimateType } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; import { getDate } from "@pace/utils"; // components import ProgressChart from "@/components/core/sidebar/progress-chart"; @@ -79,9 +79,9 @@ export const SidebarChart = observer(function SidebarChart(props: ProgressChartP /> ) : ( - - - + + + )} diff --git a/apps/web/core/components/dropdowns/intake-state/base.tsx b/apps/web/core/components/dropdowns/intake-state/base.tsx index 6f936f04..ca8d2e4c 100644 --- a/apps/web/core/components/dropdowns/intake-state/base.tsx +++ b/apps/web/core/components/dropdowns/intake-state/base.tsx @@ -14,7 +14,8 @@ import { useTranslation } from "@pace/i18n"; import { IntakeStateGroupIcon } from "@pace/propel/icons"; import { ChevronDownOutline, SearchOutline } from "@makeplane/propel/icons"; import type { IIntakeState } from "@pace/types"; -import { ComboDropDown, Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; +import { ComboDropDown } from "@pace/ui"; import { cn } from "@pace/utils"; // components import { DropdownButton } from "@/components/dropdowns/buttons"; diff --git a/apps/web/core/components/dropdowns/state/base.tsx b/apps/web/core/components/dropdowns/state/base.tsx index 6889263d..747a4b48 100644 --- a/apps/web/core/components/dropdowns/state/base.tsx +++ b/apps/web/core/components/dropdowns/state/base.tsx @@ -14,7 +14,8 @@ import { useTranslation } from "@pace/i18n"; import { StateGroupIcon } from "@pace/propel/icons"; import { ChevronDownOutline, SearchOutline } from "@makeplane/propel/icons"; import type { IState } from "@pace/types"; -import { ComboDropDown, Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; +import { ComboDropDown } from "@pace/ui"; import { cn } from "@pace/utils"; // components import { DropdownButton } from "@/components/dropdowns/buttons"; diff --git a/apps/web/core/components/editor/rich-text/description-input/loader.tsx b/apps/web/core/components/editor/rich-text/description-input/loader.tsx index 7651dadf..5bddc4d0 100644 --- a/apps/web/core/components/editor/rich-text/description-input/loader.tsx +++ b/apps/web/core/components/editor/rich-text/description-input/loader.tsx @@ -5,7 +5,7 @@ */ // pace imports -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; import { cn } from "@pace/utils"; type Props = { @@ -16,24 +16,24 @@ export function DescriptionInputLoader(props: Props) { const { className } = props; return ( - - + +
- - + +
- - + +
- +
- +
- - + +
-
+ ); } diff --git a/apps/web/core/components/estimates/loader-screen.tsx b/apps/web/core/components/estimates/loader-screen.tsx index 15453c82..393d3236 100644 --- a/apps/web/core/components/estimates/loader-screen.tsx +++ b/apps/web/core/components/estimates/loader-screen.tsx @@ -4,15 +4,15 @@ * See the LICENSE file for details. */ -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; export function EstimateLoaderScreen() { return ( - - - - - - + + + + + + ); } diff --git a/apps/web/core/components/estimates/points/create.tsx b/apps/web/core/components/estimates/points/create.tsx index 953be1e1..5f4414a1 100644 --- a/apps/web/core/components/estimates/points/create.tsx +++ b/apps/web/core/components/estimates/points/create.tsx @@ -13,7 +13,7 @@ import { useTranslation } from "@pace/i18n"; import { TOAST_TYPE, setToast } from "@pace/propel/toast"; import { Tooltip } from "@makeplane/propel/components/tooltip"; import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@pace/types"; -import { Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; import { cn, isEstimatePointValuesRepeated } from "@pace/utils"; import { EstimateInputRoot } from "@/components/estimates/inputs/root"; // helpers diff --git a/apps/web/core/components/estimates/points/update.tsx b/apps/web/core/components/estimates/points/update.tsx index 2c750be5..c57b7359 100644 --- a/apps/web/core/components/estimates/points/update.tsx +++ b/apps/web/core/components/estimates/points/update.tsx @@ -13,7 +13,7 @@ import { useTranslation } from "@pace/i18n"; import { TOAST_TYPE, setToast } from "@pace/propel/toast"; import { Tooltip } from "@makeplane/propel/components/tooltip"; import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@pace/types"; -import { Spinner } from "@pace/ui"; +import { Spinner } from "@pace/propel/spinners"; import { cn, isEstimatePointValuesRepeated } from "@pace/utils"; import { EstimateInputRoot } from "@/components/estimates/inputs/root"; // helpers diff --git a/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx b/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx index 639ee7d2..7e1a6850 100644 --- a/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx @@ -10,7 +10,7 @@ import { observer } from "mobx-react"; // ui import { GANTT_TIMELINE_TYPE } from "@pace/types"; import type { IBlockUpdateData } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // components import RenderIfVisible from "@/components/core/render-if-visible-HOC"; import { GanttLayoutListItemLoader } from "@/components/ui/loader/layouts/gantt-layout-loader"; @@ -122,12 +122,12 @@ export const IssueGanttSidebar = observer(function IssueGanttSidebar(props: Prop )} ) : ( - - - - - - + + + + + + )} ); diff --git a/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx b/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx index 2048b17a..fae2bc59 100644 --- a/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx @@ -8,7 +8,7 @@ import { observer } from "mobx-react"; // ui import { GANTT_TIMELINE_TYPE } from "@pace/types"; import type { IBlockUpdateData } from "@pace/types"; -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; // components // hooks import { useTimeLineChart } from "@/hooks/use-timeline-chart"; @@ -52,12 +52,12 @@ export const ModuleGanttSidebar = observer(function ModuleGanttSidebar(props: Pr )) ) : ( - - - - - - + + + + + + )} ); diff --git a/apps/web/core/components/global/product-updates/changelog.tsx b/apps/web/core/components/global/product-updates/changelog.tsx index e9f565ad..d3dfa7c1 100644 --- a/apps/web/core/components/global/product-updates/changelog.tsx +++ b/apps/web/core/components/global/product-updates/changelog.tsx @@ -7,7 +7,7 @@ import { useState, useEffect, useRef } from "react"; import { observer } from "mobx-react"; // hooks -import { Loader } from "@pace/ui"; +import { Skeleton } from "@pace/propel/skeleton"; import { ProductUpdatesFallback } from "@/components/global/product-updates/fallback"; import { useInstance } from "@/hooks/store/use-instance"; @@ -74,9 +74,9 @@ export const ProductUpdatesChangelog = observer(function ProductUpdatesChangelog return (
{isLoading && ( - - - + + + )} {/* eslint-disable-next-line react/iframe-missing-sandbox oxlint-disable-next-line jsx_a11y/iframe-has-title */}