@devtron-labs/devtron-fe-common-lib 1.21.1-beta-7 → 1.22.0-alpha-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-DuhoMIyQ.js → @code-editor-DFLTDZTB.js} +11526 -9725
- package/dist/{@common-rjsf-UusmJr4t.js → @common-rjsf-BlgqY3Xw.js} +30 -30
- package/dist/{@framer-motion-DZveCoIL.js → @framer-motion-LZK2bgCK.js} +141 -139
- package/dist/{@react-dates-CZ1bNWJM.js → @react-dates-CbpfVsC0.js} +1 -1
- package/dist/{@react-select-DS68hCUM.js → @react-select-BuPEYnTv.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-V-8klKy9.js → @react-virtualized-sticky-tree-DX7VkyTZ.js} +1 -1
- package/dist/{@vendor-3ORIJA0h.js → @vendor-BsABdDGm.js} +28472 -19353
- package/dist/Common/API/types.d.ts +1 -1
- package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
- package/dist/Common/BreadCrumb/Types.d.ts +20 -0
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
- package/dist/Common/ClipboardButton/types.d.ts +12 -2
- package/dist/Common/Common.service.d.ts +4 -1
- package/dist/Common/Constants.d.ts +67 -18
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
- package/dist/Common/DraggableWrapper/types.d.ts +2 -6
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +8 -0
- package/dist/Common/SegmentedBarChart/types.d.ts +10 -2
- package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
- package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
- package/dist/Common/SegmentedControl/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +13 -9
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Common/Types.d.ts +64 -5
- package/dist/Common/index.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +0 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +13 -7
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
- package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
- package/dist/Pages/ResourceBrowser/types.d.ts +2 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +8 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +11 -0
- package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +32 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +7 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/constants.d.ts +8 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/index.d.ts +3 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/types.d.ts +26 -0
- package/dist/Pages-Devtron-2.0/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/index.d.ts +7 -0
- package/dist/Shared/Components/ActionMenu/types.d.ts +3 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -2
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
- package/dist/Shared/Components/Badge/utils.d.ts +2 -1
- package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
- package/dist/Shared/Components/Card/Card.component.d.ts +3 -0
- package/dist/Shared/Components/Card/constants.d.ts +4 -0
- package/dist/Shared/Components/Card/index.d.ts +2 -0
- package/dist/Shared/Components/Card/types.d.ts +25 -0
- package/dist/Shared/Components/Charts/Chart.component.d.ts +121 -0
- package/dist/Shared/Components/Charts/constants.d.ts +10 -0
- package/dist/Shared/Components/Charts/index.d.ts +4 -0
- package/dist/Shared/Components/Charts/plugins.d.ts +7 -0
- package/dist/Shared/Components/Charts/types.d.ts +135 -0
- package/dist/Shared/Components/Charts/utils.d.ts +30 -0
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +2 -1
- package/dist/Shared/Components/DocLink/constants.d.ts +15 -4
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
- package/dist/Shared/Components/ExportToCsv/types.d.ts +64 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +0 -4
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +2 -3
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +21 -5
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -3
- package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/constants.d.ts +2 -2
- package/dist/Shared/Components/Header/types.d.ts +8 -1
- package/dist/Shared/Components/Header/utils.d.ts +2 -5
- package/dist/Shared/Components/Icon/Icon.d.ts +71 -0
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +6 -0
- package/dist/Shared/Components/Illustration/Illustration.d.ts +6 -4
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +0 -1
- package/dist/Shared/Components/License/types.d.ts +0 -4
- package/dist/Shared/Components/License/utils.d.ts +1 -1
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
- package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +3 -3
- package/dist/Shared/Components/Security/constants.d.ts +2 -0
- package/dist/Shared/Components/Security/index.d.ts +3 -0
- package/dist/Shared/Components/Security/types.d.ts +10 -0
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +3 -1
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -0
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +12 -6
- package/dist/Shared/Components/TrailingItem/types.d.ts +4 -0
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
- package/dist/Shared/Components/TreeView/constants.d.ts +3 -0
- package/dist/Shared/Components/TreeView/types.d.ts +17 -3
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
- package/dist/Shared/Components/index.d.ts +7 -0
- package/dist/Shared/Helpers.d.ts +11 -0
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -5
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +5 -20
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +31 -2
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +9 -0
- package/dist/Shared/Services/common.service.d.ts +3 -0
- package/dist/Shared/Services/types.d.ts +10 -1
- package/dist/Shared/constants.d.ts +3 -17
- package/dist/Shared/types.d.ts +30 -28
- package/dist/Shared/validations.d.ts +2 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
- package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
- package/dist/assets/ic-ai.25e44e0c.svg +3 -0
- package/dist/assets/ic-alibaba.518d61a4.svg +3 -0
- package/dist/assets/ic-application-group.4b448cca.svg +3 -0
- package/dist/assets/ic-application-management.7fb9e3a0.svg +3 -0
- package/dist/assets/ic-application-template.212d14f1.svg +3 -0
- package/dist/assets/ic-application.4c80bfcf.svg +3 -0
- package/dist/assets/ic-argocd-app.9c5eba79.svg +61 -0
- package/dist/assets/ic-arrow-line-down.b6a98848.svg +3 -0
- package/dist/assets/ic-aws.eb2d0124.svg +12 -0
- package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +3 -0
- package/dist/assets/ic-backup-color.dc62e9d5.svg +6 -0
- package/dist/assets/ic-backup-location.ebaf1148.svg +3 -0
- package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +5 -0
- package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +19 -0
- package/dist/assets/ic-bg-backups.396e99bd.svg +19 -0
- package/dist/assets/ic-bg-build.8609d0ea.svg +13 -0
- package/dist/assets/ic-bg-cpu.15ec70f0.svg +11 -0
- package/dist/assets/ic-bg-deploy.266711fe.svg +22 -0
- package/dist/assets/ic-bg-memory.5373a125.svg +11 -0
- package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +14 -0
- package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +22 -0
- package/dist/assets/ic-bg-project.84658405.svg +12 -0
- package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +7 -0
- package/dist/assets/ic-bg-restore.4fa13869.svg +33 -0
- package/dist/assets/ic-bg-scan.2249360c.svg +28 -0
- package/dist/assets/ic-bg-storage-locations.894070b0.svg +22 -0
- package/dist/assets/ic-bg-webhook.b455152d.svg +13 -0
- package/dist/assets/ic-bot.65f403dd.svg +3 -0
- package/dist/assets/ic-building.2405d07b.svg +3 -0
- package/dist/assets/ic-chart-line-up.7ab47f4e.svg +3 -0
- package/dist/assets/ic-chart-repo.4c12016f.svg +5 -0
- package/dist/assets/ic-check-circle.af18cd7e.svg +3 -0
- package/dist/assets/ic-circle-small.a0740b0e.svg +3 -0
- package/dist/assets/ic-clipboard.2869fa7d.svg +3 -0
- package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +3 -0
- package/dist/assets/ic-cloud-upload.55d9c163.svg +3 -0
- package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +112 -0
- package/dist/assets/ic-coins.2c15f406.svg +3 -0
- package/dist/assets/ic-cost-visibility.5595009f.svg +3 -0
- package/dist/assets/ic-database-backup.b9e7c558.svg +3 -0
- package/dist/assets/ic-devtron-text.67a413b6.svg +3 -0
- package/dist/assets/ic-edit-lines.57927b07.svg +3 -0
- package/dist/assets/ic-external-link.0dd8eed7.svg +4 -0
- package/dist/assets/ic-file-download.ca57c068.svg +5 -0
- package/dist/assets/ic-files-changed.04e6de3f.svg +3 -0
- package/dist/assets/ic-floppy-disk.6d392bcd.svg +3 -0
- package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +22 -0
- package/dist/assets/ic-global-overview.56ba9dc0.svg +3 -0
- package/dist/assets/ic-google-cloud.3077a8dd.svg +6 -0
- package/dist/assets/ic-infrastructure-management.4b052d41.svg +3 -0
- package/dist/assets/ic-kubernetes.7e04c3d2.svg +4 -0
- package/dist/assets/ic-magic-wand.2c29cd4e.svg +10 -0
- package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +3 -0
- package/dist/assets/ic-otc-cloud.43b31bd8.svg +5 -0
- package/dist/assets/ic-party.cfc7e7c6.svg +4 -0
- package/dist/assets/ic-pause.4e5c6056.svg +4 -0
- package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +4 -0
- package/dist/assets/ic-release-hub.25b9707a.svg +3 -0
- package/dist/assets/ic-resource-browser.4ff3e571.svg +3 -0
- package/dist/assets/ic-resource-watcher.7cce5305.svg +3 -0
- package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +3 -0
- package/dist/assets/ic-security-fixable.168b5bf8.svg +12 -0
- package/dist/assets/ic-security-not-fixable.be099f65.svg +12 -0
- package/dist/assets/ic-security-policy.874568da.svg +3 -0
- package/dist/assets/ic-security-scan.3ae78d50.svg +3 -0
- package/dist/assets/ic-security-vulnerability.c954b87a.svg +4 -0
- package/dist/assets/ic-software-release-management.dceedf80.svg +3 -0
- package/dist/assets/ic-symbol-greater-than.8f71342d.svg +3 -0
- package/dist/assets/ic-tenants.4f997b9a.svg +3 -0
- package/dist/assets/ic-trend-up.5752ef30.svg +3 -0
- package/dist/assets/ic-warning-stroke.fc850a4a.svg +3 -0
- package/dist/assets/img-folder-empty.8e898c33.svg +33 -0
- package/dist/assets/img-no-backup-location.0e8699c5.svg +180 -0
- package/dist/assets/img-no-restores.f26cb7db.svg +114 -0
- package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
- package/dist/index.d.ts +15 -11
- package/dist/index.js +1144 -972
- package/package.json +6 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
- package/dist/assets/img-celebration.8ceac2a9.svg +0 -149
- package/dist/assets/img-install-freemium-saas.4388531c.svg +0 -40
- package/dist/assets/img-install-via-aws-marketplace.df85f572.svg +0 -48
- package/dist/assets/img-page-not-found.3c4f114b.svg +0 -81
|
@@ -53,13 +53,13 @@ export declare const NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG: {
|
|
|
53
53
|
export declare const GVK_FILTER_KIND_QUERY_PARAM_KEY = "gvkFilterKind";
|
|
54
54
|
export declare const GVK_FILTER_API_VERSION_QUERY_PARAM_KEY = "gvkFilterApiVersion";
|
|
55
55
|
export declare const RESOURCE_BROWSER_ROUTES: {
|
|
56
|
-
readonly OVERVIEW: "/resource-browser/:clusterId/overview";
|
|
57
|
-
readonly MONITORING_DASHBOARD: "/resource-browser/:clusterId/monitoring-dashboard";
|
|
58
|
-
readonly TERMINAL: "/resource-browser/:clusterId/terminal";
|
|
59
|
-
readonly CLUSTER_UPGRADE: "/resource-browser/:clusterId/cluster-upgrade";
|
|
60
|
-
readonly NODE_DETAIL: "/resource-browser/:clusterId/node/detail/:name";
|
|
61
|
-
readonly K8S_RESOURCE_DETAIL: "/resource-browser/:clusterId/:namespace/:kind/:group/:name";
|
|
62
|
-
readonly K8S_RESOURCE_LIST: "/resource-browser/:clusterId/:kind/:group";
|
|
63
|
-
readonly RESOURCE_RECOMMENDER: "/resource-browser/:clusterId/resource-recommender";
|
|
56
|
+
readonly OVERVIEW: "/infrastructure-management/resource-browser/:clusterId/overview";
|
|
57
|
+
readonly MONITORING_DASHBOARD: "/infrastructure-management/resource-browser/:clusterId/monitoring-dashboard";
|
|
58
|
+
readonly TERMINAL: "/infrastructure-management/resource-browser/:clusterId/terminal";
|
|
59
|
+
readonly CLUSTER_UPGRADE: "/infrastructure-management/resource-browser/:clusterId/cluster-upgrade";
|
|
60
|
+
readonly NODE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/node/detail/:name";
|
|
61
|
+
readonly K8S_RESOURCE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/:namespace/:kind/:group/:name";
|
|
62
|
+
readonly K8S_RESOURCE_LIST: "/infrastructure-management/resource-browser/:clusterId/:kind/:group";
|
|
63
|
+
readonly RESOURCE_RECOMMENDER: "/infrastructure-management/resource-browser/:clusterId/resource-recommender";
|
|
64
64
|
};
|
|
65
65
|
export declare const K8S_EMPTY_GROUP = "k8sEmptyGroup";
|
|
@@ -5,7 +5,8 @@ import { NodeActionRequest } from './ResourceBrowser.Types';
|
|
|
5
5
|
export declare enum ClusterFiltersType {
|
|
6
6
|
ALL_CLUSTERS = "all",
|
|
7
7
|
HEALTHY = "healthy",
|
|
8
|
-
UNHEALTHY = "unhealthy"
|
|
8
|
+
UNHEALTHY = "unhealthy",
|
|
9
|
+
CONNECTION_FAILED = "connectionFailed"
|
|
9
10
|
}
|
|
10
11
|
export declare enum InstallationClusterStatus {
|
|
11
12
|
Creating = "Creating",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ApplicationManagementIcon: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ApplicationManagementIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Shared';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IconName } from '../../../Shared/Components';
|
|
2
|
+
import { ClusterProviderType } from './types';
|
|
3
|
+
export declare const CLUSTER_PROVIDER_TO_ICON_NAME: Record<ClusterProviderType, IconName | null>;
|
|
4
|
+
export declare const CLUSTER_PROVIDER_TO_LABEL: Record<ClusterProviderType, string>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { RJSFFormSchema } from '../../../Common/RJSF';
|
|
3
|
+
import { ClusterDetailListType } from '../../../Common/Types';
|
|
4
|
+
export declare enum CostBreakdownViewType {
|
|
5
|
+
CLUSTERS = "clusters",
|
|
6
|
+
ENVIRONMENTS = "environments",
|
|
7
|
+
PROJECTS = "projects",
|
|
8
|
+
APPLICATIONS = "applications"
|
|
9
|
+
}
|
|
10
|
+
export declare enum CostBreakdownItemViewParamsType {
|
|
11
|
+
ITEM_NAME = "itemName",
|
|
12
|
+
VIEW = "view",
|
|
13
|
+
DETAIL = "detail"
|
|
14
|
+
}
|
|
15
|
+
type RenderClusterFormParamsType = {
|
|
16
|
+
clusterDetails: ClusterDetailListType;
|
|
17
|
+
handleClose: () => void;
|
|
18
|
+
handleSuccess: () => void;
|
|
19
|
+
};
|
|
20
|
+
export interface CostVisibilityRenderContextType {
|
|
21
|
+
renderClusterForm: (params: RenderClusterFormParamsType) => JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export interface CostVisibilityRenderProviderProps extends CostVisibilityRenderContextType {
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export type ClusterProviderType = 'AWS' | 'GCP' | 'Azure' | 'Alibaba' | 'Scaleway' | 'Oracle' | 'OTC' | 'DigitalOcean' | 'Unknown';
|
|
27
|
+
export interface ClusterProviderDetailsType {
|
|
28
|
+
clusterProvider: ClusterProviderType;
|
|
29
|
+
costModuleSchema: RJSFFormSchema;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Shared';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobalOverview: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GlobalOverview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const InfrastructureManagementIcon: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfrastructureManagementIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Shared';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { customEnv, Never } from 'src';
|
|
2
|
+
import { IconsProps } from '../../Shared/Components';
|
|
3
|
+
export type NavigationItemID = 'application-management-overview' | 'application-management-devtron-applications' | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-applications' | 'infrastructure-management-chart-store' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants' | 'cost-visibility-overview' | 'cost-visibility-cost-breakdown' | 'cost-visibility-configurations' | 'security-center-overview' | 'security-center-security-vulnerabilities' | 'security-center-security-enablement' | 'security-center-security-policy' | 'automation-and-enablement-jobs' | 'automation-and-enablement-alerting' | 'automation-and-enablement-incident-response' | 'automation-and-enablement-api-portal' | 'automation-and-enablement-runbook-automation' | 'global-configuration-sso-login-services' | 'global-configuration-host-urls' | 'global-configuration-external-links' | 'global-configuration-chart-repository' | 'global-configuration-cluster-and-environments' | 'global-configuration-container-oci-registry' | 'global-configuration-authorization' | 'data-protection-overview' | 'data-protection-backup-and-schedule' | 'data-protection-restores' | 'data-protection-backup-repositories' | 'data-protection-backup-locations' | 'data-protection-history-and-logs';
|
|
4
|
+
export type NavigationSubMenuItemID = 'application-management-configurations-gitops' | 'application-management-configurations-git-accounts' | 'application-management-configurations-deployment-charts' | 'application-management-configurations-notifications' | 'application-management-configurations-catalog-frameworks' | 'application-management-configurations-scoped-variables' | 'application-management-configurations-build-infra' | 'application-management-policies-deployment-window' | 'application-management-policies-approval-policy' | 'application-management-policies-plugin-policy' | 'application-management-policies-pull-image-digest' | 'application-management-policies-tag-policy' | 'application-management-policies-filter-conditions' | 'application-management-policies-image-promotion' | 'application-management-policies-lock-deployment-configuration' | 'cost-visibility-cost-breakdown-clusters' | 'cost-visibility-cost-breakdown-environments' | 'cost-visibility-cost-breakdown-projects' | 'cost-visibility-cost-breakdown-applications' | 'global-configuration-authorization-user-permissions' | 'global-configuration-authorization-permission-groups' | 'global-configuration-authorization-api-tokens';
|
|
5
|
+
export type NavigationRootItemID = 'application-management' | 'infrastructure-management' | 'software-release-management' | 'cost-visibility' | 'security-center' | 'automation-and-enablement' | 'data-protection-management' | 'global-configuration';
|
|
6
|
+
export type CommonNavigationItemType = {
|
|
7
|
+
title: string;
|
|
8
|
+
dataTestId: string;
|
|
9
|
+
icon: IconsProps['name'];
|
|
10
|
+
href: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
keywords?: string[];
|
|
13
|
+
forceHideEnvKey?: keyof customEnv;
|
|
14
|
+
hideNav?: boolean;
|
|
15
|
+
isAvailableInEA?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type NavigationItemType = Pick<CommonNavigationItemType, 'dataTestId' | 'title' | 'disabled' | 'keywords' | 'hideNav' | 'forceHideEnvKey' | 'isAvailableInEA'> & {
|
|
18
|
+
id: NavigationItemID;
|
|
19
|
+
} & ((Pick<CommonNavigationItemType, 'icon' | 'href'> & {
|
|
20
|
+
hasSubMenu?: false;
|
|
21
|
+
subItems?: never;
|
|
22
|
+
}) | (Never<Pick<CommonNavigationItemType, 'icon' | 'href'>> & {
|
|
23
|
+
hasSubMenu: true;
|
|
24
|
+
subItems: (Omit<CommonNavigationItemType, 'icon'> & {
|
|
25
|
+
id: NavigationSubMenuItemID;
|
|
26
|
+
})[];
|
|
27
|
+
}));
|
|
28
|
+
export interface NavigationGroupType extends Pick<CommonNavigationItemType, 'title' | 'icon' | 'hideNav' | 'forceHideEnvKey' | 'isAvailableInEA'> {
|
|
29
|
+
id: NavigationRootItemID;
|
|
30
|
+
items: NavigationItemType[];
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}
|
package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SecurityCenterIcon: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getSecurityCenterBreadcrumb } from './utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SecurityCenterIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Shared';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MetricsInfoCardProps, SectionEmptyStateProps } from './types';
|
|
2
|
+
export declare const SectionEmptyState: ({ iconName, iconColor, title, subtitle, buttonConfig, }: SectionEmptyStateProps) => JSX.Element;
|
|
3
|
+
export declare const MetricsInfoLoadingCard: ({ withSubtitle }: {
|
|
4
|
+
withSubtitle?: boolean;
|
|
5
|
+
}) => JSX.Element;
|
|
6
|
+
export declare const MetricsInfoCard: ({ dataTestId, metricTitle, metricValue, metricUnit, valueOutOf, iconName, subtitle, redirectionLink, tooltipContent, subtitleRedirection, }: MetricsInfoCardProps) => JSX.Element;
|
|
7
|
+
export declare const LoadingDonutChart: () => JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ButtonComponentType, ButtonProps, IconName } from '../../../Shared/Components';
|
|
2
|
+
import { IconBaseColorType } from '../../../Shared/types';
|
|
3
|
+
export interface SectionEmptyStateProps {
|
|
4
|
+
iconColor?: IconBaseColorType;
|
|
5
|
+
iconName?: IconName;
|
|
6
|
+
title: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
buttonConfig?: ButtonProps<ButtonComponentType>;
|
|
9
|
+
}
|
|
10
|
+
export interface MetricsInfoCardProps {
|
|
11
|
+
dataTestId: string;
|
|
12
|
+
metricTitle: string;
|
|
13
|
+
metricValue: string;
|
|
14
|
+
metricUnit?: string;
|
|
15
|
+
valueOutOf?: string;
|
|
16
|
+
iconName: IconName;
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
tooltipContent: string;
|
|
19
|
+
redirectionLink?: string;
|
|
20
|
+
subtitleRedirection?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum ProdNonProdSelectValueTypes {
|
|
23
|
+
ALL = "All",
|
|
24
|
+
PRODUCTION = "Prod",
|
|
25
|
+
NON_PRODUCTION = "Non-Prod"
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Overview';
|
|
@@ -37,6 +37,9 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
|
|
|
37
37
|
startIcon?: ActionMenuItemIconType;
|
|
38
38
|
/** Defines the item to be displayed at the end of the menu item. */
|
|
39
39
|
trailingItem?: TrailingItemType;
|
|
40
|
+
/** Prevents the menu from closing when the item is clicked. */
|
|
41
|
+
doNotCloseMenuOnClick?: boolean;
|
|
42
|
+
dataAttributesId?: number;
|
|
40
43
|
} & ConditionalActionMenuComponentType;
|
|
41
44
|
export type ActionMenuOptionType<T extends string | number> = {
|
|
42
45
|
/**
|
|
@@ -21,8 +21,8 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
21
21
|
className?: string;
|
|
22
22
|
defaultValue?: string | number | readonly string[];
|
|
23
23
|
id?: string;
|
|
24
|
-
color?: string;
|
|
25
24
|
role?: import('react').AriaRole;
|
|
25
|
+
color?: string;
|
|
26
26
|
about?: string;
|
|
27
27
|
is?: string;
|
|
28
28
|
security?: string;
|
|
@@ -64,7 +64,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
64
64
|
itemRef?: string;
|
|
65
65
|
results?: number;
|
|
66
66
|
unselectable?: "on" | "off";
|
|
67
|
-
inputMode?: "search" | "text" | "none" | "url" | "
|
|
67
|
+
inputMode?: "search" | "text" | "none" | "url" | "decimal" | "tel" | "email" | "numeric";
|
|
68
68
|
"aria-activedescendant"?: string;
|
|
69
69
|
"aria-atomic"?: boolean | "true" | "false";
|
|
70
70
|
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BackdropProps } from './types';
|
|
2
|
-
declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, }: BackdropProps) => import('react').ReactPortal;
|
|
2
|
+
declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, returnFocusOnDeactivate, }: BackdropProps) => import('react').ReactPortal;
|
|
3
3
|
export default Backdrop;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { DTFocusTrapType } from '../DTFocusTrap';
|
|
3
|
-
export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape'> {
|
|
3
|
+
export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape' | 'returnFocusOnDeactivate'> {
|
|
4
4
|
/**
|
|
5
5
|
* The content to be rendered within the backdrop component.
|
|
6
6
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IconBaseColorType } from '../../types';
|
|
1
|
+
import { IconBaseColorType, IconBaseSizeType } from '../../types';
|
|
2
2
|
import { BadgeProps } from './types';
|
|
3
3
|
export declare const getClassNameAccToVariant: (variant: BadgeProps["variant"]) => {
|
|
4
4
|
styles: string;
|
|
5
5
|
iconColor: IconBaseColorType;
|
|
6
6
|
};
|
|
7
7
|
export declare const getClassNameAccToSize: (size: BadgeProps["size"]) => "fs-11 lh-16 px-4 py-1" | "fs-12 lh-16 px-6 py-2" | "fs-13 lh-20 px-6 py-2";
|
|
8
|
+
export declare const COMPONENT_SIZE_TO_ICON_SIZE_MAP: Record<BadgeProps['size'], IconBaseSizeType>;
|
|
@@ -100,7 +100,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
100
100
|
startIcon?: import('react').ReactElement;
|
|
101
101
|
endIcon?: import('react').ReactElement;
|
|
102
102
|
fontWeight?: "bold" | "normal";
|
|
103
|
-
}, "style" | "text" | "id" | "
|
|
103
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
104
104
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
105
105
|
component?: ButtonComponentType.button;
|
|
106
106
|
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
@@ -135,7 +135,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
135
135
|
startIcon?: never;
|
|
136
136
|
endIcon?: never;
|
|
137
137
|
fontWeight?: never;
|
|
138
|
-
}, "style" | "text" | "id" | "
|
|
138
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
139
139
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
140
140
|
component?: ButtonComponentType.button;
|
|
141
141
|
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
@@ -164,7 +164,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
164
164
|
startIcon?: import('react').ReactElement;
|
|
165
165
|
endIcon?: import('react').ReactElement;
|
|
166
166
|
fontWeight?: "bold" | "normal";
|
|
167
|
-
}, "style" | "text" | "id" | "
|
|
167
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
168
168
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
169
169
|
component?: ButtonComponentType.button;
|
|
170
170
|
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
@@ -193,7 +193,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
193
193
|
startIcon?: never;
|
|
194
194
|
endIcon?: never;
|
|
195
195
|
fontWeight?: never;
|
|
196
|
-
}, "style" | "text" | "id" | "
|
|
196
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
197
197
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
198
198
|
component: ButtonComponentType.link;
|
|
199
199
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -228,7 +228,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
228
228
|
startIcon?: import('react').ReactElement;
|
|
229
229
|
endIcon?: import('react').ReactElement;
|
|
230
230
|
fontWeight?: "bold" | "normal";
|
|
231
|
-
}, "style" | "text" | "id" | "
|
|
231
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
232
232
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
233
233
|
component: ButtonComponentType.link;
|
|
234
234
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -263,7 +263,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
263
263
|
startIcon?: never;
|
|
264
264
|
endIcon?: never;
|
|
265
265
|
fontWeight?: never;
|
|
266
|
-
}, "style" | "text" | "id" | "
|
|
266
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
267
267
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
268
268
|
component: ButtonComponentType.link;
|
|
269
269
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -292,7 +292,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
292
292
|
startIcon?: import('react').ReactElement;
|
|
293
293
|
endIcon?: import('react').ReactElement;
|
|
294
294
|
fontWeight?: "bold" | "normal";
|
|
295
|
-
}, "style" | "text" | "id" | "
|
|
295
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
296
296
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
297
297
|
component: ButtonComponentType.link;
|
|
298
298
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -321,7 +321,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
321
321
|
startIcon?: never;
|
|
322
322
|
endIcon?: never;
|
|
323
323
|
fontWeight?: never;
|
|
324
|
-
}, "style" | "text" | "id" | "
|
|
324
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
325
325
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
326
326
|
component: ButtonComponentType.anchor;
|
|
327
327
|
linkProps?: never;
|
|
@@ -356,7 +356,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
356
356
|
startIcon?: import('react').ReactElement;
|
|
357
357
|
endIcon?: import('react').ReactElement;
|
|
358
358
|
fontWeight?: "bold" | "normal";
|
|
359
|
-
}, "style" | "text" | "id" | "
|
|
359
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
360
360
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
361
361
|
component: ButtonComponentType.anchor;
|
|
362
362
|
linkProps?: never;
|
|
@@ -391,7 +391,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
391
391
|
startIcon?: never;
|
|
392
392
|
endIcon?: never;
|
|
393
393
|
fontWeight?: never;
|
|
394
|
-
}, "style" | "text" | "id" | "
|
|
394
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
395
395
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
396
396
|
component: ButtonComponentType.anchor;
|
|
397
397
|
linkProps?: never;
|
|
@@ -420,7 +420,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
420
420
|
startIcon?: import('react').ReactElement;
|
|
421
421
|
endIcon?: import('react').ReactElement;
|
|
422
422
|
fontWeight?: "bold" | "normal";
|
|
423
|
-
}, "style" | "text" | "id" | "
|
|
423
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
424
424
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
425
425
|
component: ButtonComponentType.anchor;
|
|
426
426
|
linkProps?: never;
|
|
@@ -449,5 +449,5 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
449
449
|
startIcon?: never;
|
|
450
450
|
endIcon?: never;
|
|
451
451
|
fontWeight?: never;
|
|
452
|
-
}, "style" | "text" | "id" | "
|
|
452
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy">) & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
453
453
|
export default Button;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentLayoutType } from '../../types';
|
|
3
|
+
export type CardProps = {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* @default primary--outlined
|
|
8
|
+
*/
|
|
9
|
+
variant?: 'primary--outlined' | 'secondary--outlined';
|
|
10
|
+
/**
|
|
11
|
+
* @default 'column'
|
|
12
|
+
*/
|
|
13
|
+
flexDirection?: ComponentLayoutType;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0px
|
|
16
|
+
*/
|
|
17
|
+
flexGap?: 0 | 2 | 4 | 6 | 8 | 12 | 16 | 20 | 24 | 32;
|
|
18
|
+
padding?: 0 | 2 | 4 | 6 | 8 | 12 | 16 | 20 | 24 | 32;
|
|
19
|
+
} & ({
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
shimmerVariant: 'A' | 'B' | 'C';
|
|
22
|
+
} | {
|
|
23
|
+
isLoading?: never;
|
|
24
|
+
shimmerVariant?: never;
|
|
25
|
+
});
|