diff --git a/api-extractor/carbonio-shell-ui.api.md b/api-extractor/carbonio-shell-ui.api.md index dc05a1728..a5b260221 100644 --- a/api-extractor/carbonio-shell-ui.api.md +++ b/api-extractor/carbonio-shell-ui.api.md @@ -1416,9 +1416,6 @@ type SoapSearchFolder = SoapFolder & SearchFolderFields; // @public (undocumented) type SortBy = 'dateDesc' | 'dateAsc' | 'idDesc' | 'idAsc' | 'subjDesc' | 'subjAsc' | 'nameDesc' | 'nameAsc' | 'durDesc' | 'durAsc' | 'none' | 'taskDueAsc' | 'taskDueDesc' | 'taskStatusAsc' | 'taskStatusDesc' | 'taskPercCompletedAsc' | 'taskPercCompletedDesc' | 'rcptAsc' | 'rcptDesc' | 'readAsc' | 'readDesc'; -// @public (undocumented) -export const Spinner: () => React_2.JSX.Element; - // @public (undocumented) type StringOfLength = string & { min: Min; diff --git a/src/boot/app/load-app.ts b/src/boot/app/load-app.ts index aed224a62..f1fe0499f 100644 --- a/src/boot/app/load-app.ts +++ b/src/boot/app/load-app.ts @@ -18,7 +18,6 @@ import { SettingsHeader } from '../../settings/components/settings-header'; import { useAppStore } from '../../store/app'; import type { CarbonioModule } from '../../types/apps'; import { AppLink } from '../../ui-extras/app-link'; -import { Spinner } from '../../ui-extras/spinner'; export const _scripts: { [pkgName: string]: HTMLScriptElement } = {}; let _scriptId = 0; @@ -30,7 +29,6 @@ export function loadApp(appPkg: CarbonioModule): Promise { window.__ZAPP_SHARED_LIBRARIES__['@zextras/carbonio-shell-ui'][appPkg.name] = { report: report(appPkg.name), AppLink, - Spinner, SettingsHeader, ...getAppDependantExports(appPkg), ...appExports, diff --git a/src/lib.ts b/src/lib.ts index 40e5936f4..1d8ff9a96 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -24,7 +24,6 @@ import type { report as reportApp } from './reporting/functions'; // TODO: export only what is useful and not internal constants export * from './constants'; export * from './ui-extras/app-link'; -export * from './ui-extras/spinner'; export * from './settings/components/settings-header'; export * from './boot/app/app-direct-exports'; diff --git a/src/ui-extras/spinner.tsx b/src/ui-extras/spinner.tsx deleted file mode 100644 index dd9b0bfc1..000000000 --- a/src/ui-extras/spinner.tsx +++ /dev/null @@ -1,17 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021 Zextras - * - * SPDX-License-Identifier: AGPL-3.0-only - */ - -import React from 'react'; - -import { Button, Container } from '@zextras/carbonio-design-system'; -import { noop } from 'lodash'; - -export const Spinner = (): React.JSX.Element => ( - - {/* the "Button" string doesn't need to be translated as it's not rendered */} -