diff --git a/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-details/cluster-workflow-template-details.tsx b/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-details/cluster-workflow-template-details.tsx index f072ccbf193d..55fd4c29301e 100644 --- a/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-details/cluster-workflow-template-details.tsx +++ b/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-details/cluster-workflow-template-details.tsx @@ -1,8 +1,10 @@ -import {NotificationType, Page} from 'argo-ui'; +import type {NotificationType} from 'argo-ui/src/components/notifications/notifications'; +import {Page} from 'argo-ui/src/components/page/page'; import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {RouteComponentProps} from 'react-router'; + import {ClusterWorkflowTemplate} from '../../../../models'; import {uiUrl} from '../../../shared/base'; import {ErrorNotice} from '../../../shared/components/error-notice'; diff --git a/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-editor.tsx b/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-editor.tsx index 533c18db8c52..84c945489746 100644 --- a/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-editor.tsx +++ b/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-editor.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; -import {Tabs} from 'argo-ui'; import {WorkflowTemplate} from '../../../models'; import {LabelsAndAnnotationsEditor} from '../../shared/components/editors/labels-and-annotations-editor'; import {MetadataEditor} from '../../shared/components/editors/metadata-editor'; diff --git a/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-list/cluster-workflow-template-list.tsx b/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-list/cluster-workflow-template-list.tsx index 4f713c8df273..8e098f2206c4 100644 --- a/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-list/cluster-workflow-template-list.tsx +++ b/ui/src/app/cluster-workflow-templates/components/cluster-workflow-template-list/cluster-workflow-template-list.tsx @@ -1,7 +1,9 @@ -import {Page, SlidingPanel} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {Link, RouteComponentProps} from 'react-router-dom'; + import * as models from '../../../../models'; import {uiUrl} from '../../../shared/base'; import {ErrorNotice} from '../../../shared/components/error-notice'; diff --git a/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx b/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx index 2c7ea3801a38..b2496c3e77a1 100644 --- a/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx +++ b/ui/src/app/cron-workflows/components/cron-workflow-details/cron-workflow-details.tsx @@ -1,7 +1,10 @@ -import {NotificationType, Page, SlidingPanel} from 'argo-ui'; +import type {NotificationType} from 'argo-ui/src/components/notifications/notifications'; +import {Page} from 'argo-ui/src/components/page/page'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {RouteComponentProps} from 'react-router'; + import * as models from '../../../../models'; import {CronWorkflow, Link, Workflow} from '../../../../models'; import {uiUrl} from '../../../shared/base'; diff --git a/ui/src/app/cron-workflows/components/cron-workflow-editor.tsx b/ui/src/app/cron-workflows/components/cron-workflow-editor.tsx index 854471a9938e..6722bd0dd82a 100644 --- a/ui/src/app/cron-workflows/components/cron-workflow-editor.tsx +++ b/ui/src/app/cron-workflows/components/cron-workflow-editor.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; -import {Tabs} from 'argo-ui'; import {CronWorkflow} from '../../../models'; import {LabelsAndAnnotationsEditor} from '../../shared/components/editors/labels-and-annotations-editor'; import {MetadataEditor} from '../../shared/components/editors/metadata-editor'; diff --git a/ui/src/app/cron-workflows/components/cron-workflow-list/cron-workflow-list.tsx b/ui/src/app/cron-workflows/components/cron-workflow-list/cron-workflow-list.tsx index 5ecd5b3ee17f..33613bd380c7 100644 --- a/ui/src/app/cron-workflows/components/cron-workflow-list/cron-workflow-list.tsx +++ b/ui/src/app/cron-workflows/components/cron-workflow-list/cron-workflow-list.tsx @@ -1,7 +1,10 @@ -import {Page, SlidingPanel, Ticker} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; +import {Ticker} from 'argo-ui/src/components/ticker'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {Link, RouteComponentProps} from 'react-router-dom'; + import {CronWorkflow} from '../../../../models'; import {uiUrl} from '../../../shared/base'; import {ErrorNotice} from '../../../shared/components/error-notice'; diff --git a/ui/src/app/cron-workflows/components/cron-workflow-spec-editior.tsx b/ui/src/app/cron-workflows/components/cron-workflow-spec-editior.tsx index c7f920c5295f..a86025b8a81e 100644 --- a/ui/src/app/cron-workflows/components/cron-workflow-spec-editior.tsx +++ b/ui/src/app/cron-workflows/components/cron-workflow-spec-editior.tsx @@ -1,5 +1,7 @@ -import {Checkbox, Select} from 'argo-ui'; +import {Checkbox} from 'argo-ui/src/components/checkbox'; +import {Select} from 'argo-ui/src/components/select/select'; import * as React from 'react'; + import {ConcurrencyPolicy, CronWorkflowSpec} from '../../../models'; import {NumberInput} from '../../shared/components/number-input'; import {TextInput} from '../../shared/components/text-input'; diff --git a/ui/src/app/cron-workflows/components/cron-workflow-status-viewer.tsx b/ui/src/app/cron-workflows/components/cron-workflow-status-viewer.tsx index 3812afea01e6..abae8019f07b 100644 --- a/ui/src/app/cron-workflows/components/cron-workflow-status-viewer.tsx +++ b/ui/src/app/cron-workflows/components/cron-workflow-status-viewer.tsx @@ -1,5 +1,6 @@ import * as kubernetes from 'argo-ui/src/models/kubernetes'; import * as React from 'react'; + import {CronWorkflowSpec, CronWorkflowStatus} from '../../../models'; import {Timestamp} from '../../shared/components/timestamp'; import {ConditionsPanel} from '../../shared/conditions-panel'; diff --git a/ui/src/app/event-flow/components/event-flow-details/event-flow-page.tsx b/ui/src/app/event-flow/components/event-flow-details/event-flow-page.tsx index d147d389458d..38664e735d74 100644 --- a/ui/src/app/event-flow/components/event-flow-details/event-flow-page.tsx +++ b/ui/src/app/event-flow/components/event-flow-details/event-flow-page.tsx @@ -1,9 +1,12 @@ -import {Page, SlidingPanel, Tabs} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; import {useContext, useEffect, useState} from 'react'; import * as React from 'react'; import {RouteComponentProps} from 'react-router-dom'; import {Observable} from 'rxjs'; import {filter, map} from 'rxjs/operators'; + import {kubernetes, Workflow} from '../../../../models'; import {EventSource} from '../../../../models/event-source'; import {Sensor} from '../../../../models/sensor'; diff --git a/ui/src/app/event-sources/components/event-source-details/event-source-details.tsx b/ui/src/app/event-sources/components/event-source-details/event-source-details.tsx index 7735ff299018..d71bb640fec2 100644 --- a/ui/src/app/event-sources/components/event-source-details/event-source-details.tsx +++ b/ui/src/app/event-sources/components/event-source-details/event-source-details.tsx @@ -5,6 +5,7 @@ import {Tabs} from 'argo-ui/src/components/tabs/tabs'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {RouteComponentProps} from 'react-router'; + import {EventSource} from '../../../../models'; import {ID} from '../../../event-flow/components/event-flow-details/id'; import {uiUrl} from '../../../shared/base'; diff --git a/ui/src/app/event-sources/components/event-source-editor.tsx b/ui/src/app/event-sources/components/event-source-editor.tsx index 4630660be1f9..583979d9807e 100644 --- a/ui/src/app/event-sources/components/event-source-editor.tsx +++ b/ui/src/app/event-sources/components/event-source-editor.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; -import {Tabs} from 'argo-ui'; import {EventSource} from '../../../models'; import {MetadataEditor} from '../../shared/components/editors/metadata-editor'; import {ObjectEditor} from '../../shared/components/object-editor/object-editor'; diff --git a/ui/src/app/event-sources/components/event-source-list/event-source-list.tsx b/ui/src/app/event-sources/components/event-source-list/event-source-list.tsx index d71a61ffee5d..8be7a86b62b6 100644 --- a/ui/src/app/event-sources/components/event-source-list/event-source-list.tsx +++ b/ui/src/app/event-sources/components/event-source-list/event-source-list.tsx @@ -1,8 +1,11 @@ -import {Page, SlidingPanel, Tabs} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; import classNames from 'classnames'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {Link, RouteComponentProps} from 'react-router-dom'; + import {EventSource, kubernetes} from '../../../../models'; import {ID} from '../../../event-flow/components/event-flow-details/id'; import {Utils as EventsUtils} from '../../../sensors/components/utils'; diff --git a/ui/src/app/help/components/help.tsx b/ui/src/app/help/components/help.tsx index 6c8efe75cfae..2476e94c19d6 100644 --- a/ui/src/app/help/components/help.tsx +++ b/ui/src/app/help/components/help.tsx @@ -1,4 +1,4 @@ -import {Page} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; import * as React from 'react'; import {uiUrl} from '../../shared/base'; diff --git a/ui/src/app/login/components/login.tsx b/ui/src/app/login/components/login.tsx index 93ff29899d04..338e7cc54078 100644 --- a/ui/src/app/login/components/login.tsx +++ b/ui/src/app/login/components/login.tsx @@ -1,4 +1,4 @@ -import {Page} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; import * as React from 'react'; import {uiUrl, uiUrlWithParams} from '../../shared/base'; diff --git a/ui/src/app/plugins/components/plugin-list/plugin-list.tsx b/ui/src/app/plugins/components/plugin-list/plugin-list.tsx index a08618de2a98..ddbf626f660a 100644 --- a/ui/src/app/plugins/components/plugin-list/plugin-list.tsx +++ b/ui/src/app/plugins/components/plugin-list/plugin-list.tsx @@ -1,7 +1,8 @@ -import {Page} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; import * as React from 'react'; import {useEffect, useState} from 'react'; import {RouteComponentProps} from 'react-router-dom'; + import {uiUrl} from '../../../shared/base'; import {useCollectEvent} from '../../../shared/components/use-collect-event'; import {ZeroState} from '../../../shared/components/zero-state'; diff --git a/ui/src/app/reports/components/reports.tsx b/ui/src/app/reports/components/reports.tsx index ccf99fbeb300..5d8bce3c82fe 100644 --- a/ui/src/app/reports/components/reports.tsx +++ b/ui/src/app/reports/components/reports.tsx @@ -5,6 +5,7 @@ import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {Bar, ChartData} from 'react-chartjs-2'; import {RouteComponentProps} from 'react-router-dom'; + import {uiUrl} from '../../shared/base'; import {ErrorNotice} from '../../shared/components/error-notice'; import {InfoIcon} from '../../shared/components/fa-icons'; diff --git a/ui/src/app/sensors/components/sensor-details/sensor-details.tsx b/ui/src/app/sensors/components/sensor-details/sensor-details.tsx index 1e69de361186..7fceec853ca7 100644 --- a/ui/src/app/sensors/components/sensor-details/sensor-details.tsx +++ b/ui/src/app/sensors/components/sensor-details/sensor-details.tsx @@ -1,4 +1,5 @@ -import {NotificationType, Page} from 'argo-ui'; +import type {NotificationType} from 'argo-ui/src/components/notifications/notifications'; +import {Page} from 'argo-ui/src/components/page/page'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {RouteComponentProps} from 'react-router'; diff --git a/ui/src/app/sensors/components/sensor-editor.tsx b/ui/src/app/sensors/components/sensor-editor.tsx index c75eb8dc2d78..e3780a8190d7 100644 --- a/ui/src/app/sensors/components/sensor-editor.tsx +++ b/ui/src/app/sensors/components/sensor-editor.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; -import {Tabs} from 'argo-ui'; import {Sensor} from '../../../models'; import {MetadataEditor} from '../../shared/components/editors/metadata-editor'; import {ObjectEditor} from '../../shared/components/object-editor/object-editor'; diff --git a/ui/src/app/sensors/components/sensor-list/sensor-list.tsx b/ui/src/app/sensors/components/sensor-list/sensor-list.tsx index 8bb4d32a40cc..422a3554488f 100644 --- a/ui/src/app/sensors/components/sensor-list/sensor-list.tsx +++ b/ui/src/app/sensors/components/sensor-list/sensor-list.tsx @@ -1,8 +1,10 @@ -import {Page, SlidingPanel} from 'argo-ui'; +import {Page} from 'argo-ui/src/components/page/page'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; import classNames from 'classnames'; import * as React from 'react'; import {useContext, useEffect, useState} from 'react'; import {Link, RouteComponentProps} from 'react-router-dom'; + import {kubernetes, Sensor} from '../../../../models'; import {ID} from '../../../event-flow/components/event-flow-details/id'; import {uiUrl} from '../../../shared/base'; diff --git a/ui/src/app/sensors/components/sensor-side-panel.tsx b/ui/src/app/sensors/components/sensor-side-panel.tsx index abb7c8d414d4..8ec31edeecfa 100644 --- a/ui/src/app/sensors/components/sensor-side-panel.tsx +++ b/ui/src/app/sensors/components/sensor-side-panel.tsx @@ -1,6 +1,8 @@ -import {SlidingPanel, Tabs} from 'argo-ui'; +import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel'; +import {Tabs} from 'argo-ui/src/components/tabs/tabs'; import * as React from 'react'; import {useState} from 'react'; + import {Sensor} from '../../../models'; import {Node} from '../../shared/components/graph/types'; import {EventsPanel} from '../../workflows/components/events-panel'; diff --git a/ui/src/app/shared/components/checkbox-filter/checkbox-filter.tsx b/ui/src/app/shared/components/checkbox-filter/checkbox-filter.tsx index 96d450c2086e..29244c02cb27 100644 --- a/ui/src/app/shared/components/checkbox-filter/checkbox-filter.tsx +++ b/ui/src/app/shared/components/checkbox-filter/checkbox-filter.tsx @@ -1,4 +1,4 @@ -import {Checkbox} from 'argo-ui'; +import {Checkbox} from 'argo-ui/src/components/checkbox'; import * as React from 'react'; import './checkbox-filter.scss'; diff --git a/ui/src/app/shared/components/clipboard-text.tsx b/ui/src/app/shared/components/clipboard-text.tsx index 949a598f01e3..c8bcfa7aec04 100644 --- a/ui/src/app/shared/components/clipboard-text.tsx +++ b/ui/src/app/shared/components/clipboard-text.tsx @@ -1,4 +1,4 @@ -import {Tooltip} from 'argo-ui'; +import {Tooltip} from 'argo-ui/src/components/tooltip/tooltip'; import * as React from 'react'; import {useState} from 'react'; diff --git a/ui/src/app/shared/components/data-loader-dropdown.tsx b/ui/src/app/shared/components/data-loader-dropdown.tsx index 173eb5772676..a05748a9c989 100644 --- a/ui/src/app/shared/components/data-loader-dropdown.tsx +++ b/ui/src/app/shared/components/data-loader-dropdown.tsx @@ -1,4 +1,5 @@ -import {DataLoader, Select, SelectOption} from 'argo-ui'; +import {DataLoader} from 'argo-ui/src/components/data-loader'; +import {Select, SelectOption} from 'argo-ui/src/components/select/select'; import * as React from 'react'; import {useState} from 'react'; diff --git a/ui/src/app/shared/components/filter-drop-down.tsx b/ui/src/app/shared/components/filter-drop-down.tsx index c2a95293bfc3..dd5aca8c5580 100644 --- a/ui/src/app/shared/components/filter-drop-down.tsx +++ b/ui/src/app/shared/components/filter-drop-down.tsx @@ -1,6 +1,7 @@ -import {Checkbox} from 'argo-ui'; +import {Checkbox} from 'argo-ui/src/components/checkbox'; import classNames from 'classnames'; import * as React from 'react'; + import {DropDown} from './dropdown/dropdown'; interface FilterDropDownProps { diff --git a/ui/src/app/shared/components/input-filter.tsx b/ui/src/app/shared/components/input-filter.tsx index e870a7f97efb..14e781aa420c 100644 --- a/ui/src/app/shared/components/input-filter.tsx +++ b/ui/src/app/shared/components/input-filter.tsx @@ -1,4 +1,4 @@ -import {Autocomplete} from 'argo-ui'; +import {Autocomplete} from 'argo-ui/src/components/autocomplete/autocomplete'; import React, {useState} from 'react'; interface InputProps { diff --git a/ui/src/app/shared/components/links.tsx b/ui/src/app/shared/components/links.tsx index 52cd4677e1c2..0808d7d2d005 100644 --- a/ui/src/app/shared/components/links.tsx +++ b/ui/src/app/shared/components/links.tsx @@ -1,6 +1,7 @@ import {ObjectMeta} from 'argo-ui/src/models/kubernetes'; import {useEffect, useState} from 'react'; import * as React from 'react'; + import {Link, Workflow} from '../../../models'; import {services} from '../services'; import {Button} from './button'; diff --git a/ui/src/app/shared/components/loading.tsx b/ui/src/app/shared/components/loading.tsx index 31f75903428f..07745c48e650 100644 --- a/ui/src/app/shared/components/loading.tsx +++ b/ui/src/app/shared/components/loading.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import {MockupList} from '../../../../node_modules/argo-ui'; +import {MockupList} from 'argo-ui/src/components/mockup-list/mockup-list'; export const Loading = () => (