Skip to content

Commit

Permalink
feat!: remove Spinner component
Browse files Browse the repository at this point in the history
Refs: SHELL-254 (#544)
  • Loading branch information
rodleyorosa authored Nov 25, 2024
1 parent 76bd4e2 commit d9c3790
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 23 deletions.
3 changes: 0 additions & 3 deletions api-extractor/carbonio-shell-ui.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Min, Max = Min> = string & {
min: Min;
Expand Down
2 changes: 0 additions & 2 deletions src/boot/app/load-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -30,7 +29,6 @@ export function loadApp(appPkg: CarbonioModule): Promise<CarbonioModule> {
window.__ZAPP_SHARED_LIBRARIES__['@zextras/carbonio-shell-ui'][appPkg.name] = {
report: report(appPkg.name),
AppLink,
Spinner,
SettingsHeader,
...getAppDependantExports(appPkg),
...appExports,
Expand Down
1 change: 0 additions & 1 deletion src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
17 changes: 0 additions & 17 deletions src/ui-extras/spinner.tsx

This file was deleted.

0 comments on commit d9c3790

Please sign in to comment.