From b2425ae73c1346cc764eb4011f294af9e7b528a5 Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Mon, 18 Nov 2024 16:42:13 +0530 Subject: [PATCH 1/9] feat: replace hibernate modal with confirmation dialog --- .../app/details/appDetails/AppDetails.tsx | 82 +++++++++---------- src/components/cdPipeline/DeleteCDNode.tsx | 35 ++++++-- src/css/base.scss | 4 + 3 files changed, 70 insertions(+), 51 deletions(-) diff --git a/src/components/app/details/appDetails/AppDetails.tsx b/src/components/app/details/appDetails/AppDetails.tsx index 0daca73e57..1ec55aec07 100644 --- a/src/components/app/details/appDetails/AppDetails.tsx +++ b/src/components/app/details/appDetails/AppDetails.tsx @@ -35,6 +35,8 @@ import { ToastVariantType, ToastManager, SelectPicker, + ConfirmationModal, + ConfirmationModalVariantType, } from '@devtron-labs/devtron-fe-common-lib' import { Link, useParams, useHistory, useRouteMatch, generatePath, Route, useLocation } from 'react-router-dom' import Tippy from '@tippyjs/react' @@ -58,8 +60,8 @@ import { getAppConfigStatus, getAppOtherEnvironmentMin, stopStartApp } from '../ // @ts-check import AppNotDeployedIcon from '../../../../assets/img/app-not-deployed.png' import AppNotConfiguredIcon from '../../../../assets/img/app-not-configured.png' -import restoreIcon from '../../../../assets/icons/ic-restore.svg' -import warningIcon from '../../../../assets/icons/ic-warning.svg' +import { ReactComponent as ICRestore } from '../../../../assets/icons/ic-restore.svg' +import { ReactComponent as ICWarning } from '../../../../assets/icons/ic-warning-y5.svg' import { ReactComponent as PlayButton } from '../../../../assets/icons/ic-play.svg' import { ReactComponent as Connect } from '../../../../assets/icons/ic-connected.svg' import { ReactComponent as Disconnect } from '../../../../assets/icons/ic-disconnected.svg' @@ -677,46 +679,38 @@ export const Details: React.FC = ({ ) } return ( - - - - Pods for this application will be - - scaled - {hibernateConfirmationModal === 'hibernate' - ? ' down to 0 ' - : ' up to its original count '} - on {appDetails.environmentName} - - environment. -

- } - > -

Are you sure you want to continue?

-
- - - - -
+ + Pods for this application will be + + scaled + {hibernateConfirmationModal === 'hibernate' ? ' down to 0 ' : ' up to its original count '} + on {appDetails.environmentName} + + environment. +

+ } + buttonConfig={{ + secondaryButtonConfig: { + dataTestId: 'cancel-hibernate-unhibernate-dialog', + disabled: hibernating, + onClick: handleHibernateConfirmationModalClose, + text: 'Cancel', + }, + primaryButtonConfig: { + dataTestId: `app-details-${hibernateConfirmationModal === 'hibernate' ? 'hibernate' : 'restore'}`, + isLoading: hibernating, + onClick: handleHibernate, + text: getHibernateText(), + }, + }} + > + Are you sure you want to continue? +
) } @@ -831,7 +825,9 @@ export const Details: React.FC = ({ isVirtualEnvironment={isVirtualEnvRef.current} /> } - {isConfigDriftEnabled && ConfigDriftModalRoute && !isVirtualEnvRef.current && } + {isConfigDriftEnabled && ConfigDriftModalRoute && !isVirtualEnvRef.current && ( + + )} ) } diff --git a/src/components/cdPipeline/DeleteCDNode.tsx b/src/components/cdPipeline/DeleteCDNode.tsx index e1a62500d5..ea698aaca4 100644 --- a/src/components/cdPipeline/DeleteCDNode.tsx +++ b/src/components/cdPipeline/DeleteCDNode.tsx @@ -14,7 +14,12 @@ * limitations under the License. */ -import { DeleteDialog, DeploymentAppTypes, ForceDeleteDialog } from '@devtron-labs/devtron-fe-common-lib' +import { + DeploymentAppTypes, + ForceDeleteDialog, + ConfirmationModal, + ConfirmationModalVariantType, +} from '@devtron-labs/devtron-fe-common-lib' import ClusterNotReachableDailog from '../common/ClusterNotReachableDailog/ClusterNotReachableDialog' import { DELETE_ACTION } from '../../config' import { DeleteCDNodeProps, DeleteDialogType } from './types' @@ -67,14 +72,28 @@ const DeleteCDNode = ({ } return ( - handleDeleteCDNodePipeline(deleteCD, deploymentAppType as DeploymentAppTypes)} - closeDelete={hideDeleteModal} - apiCallInProgress={isLoading} - showDeleteConfirmation - deleteConfirmationText={deleteTitleName} + subtitle={`Are you sure you want to delete this CD Pipeline from '${appName}' application?`} + buttonConfig={{ + secondaryButtonConfig: { + dataTestId: 'delete-cd-node-cancel', + text: 'Cancel', + onClick: hideDeleteModal, + disabled: isLoading, + }, + primaryButtonConfig: { + dataTestId: 'delete-cd-node-delete', + text: 'Delete', + onClick: () => handleDeleteCDNodePipeline(deleteCD, deploymentAppType as DeploymentAppTypes), + isLoading, + }, + }} + customInputConfig={{ + identifier: 'delete-cd-node-input', + confirmationKeyword: deleteTitleName, + }} /> ) } diff --git a/src/css/base.scss b/src/css/base.scss index 1dbe9dacf3..a0daf1cf93 100644 --- a/src/css/base.scss +++ b/src/css/base.scss @@ -3988,6 +3988,10 @@ textarea, margin-bottom: 0px !important; } +.mt-40 { + margin-top: 40px; +} + .mt-120 { margin-top: 120px; } From d41950955c319febc2f5d8fdcc77f0799a4e8596 Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Mon, 18 Nov 2024 18:14:04 +0530 Subject: [PATCH 2/9] chore: add prop handleClose --- src/components/app/details/appDetails/AppDetails.tsx | 1 + src/components/cdPipeline/DeleteCDNode.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/app/details/appDetails/AppDetails.tsx b/src/components/app/details/appDetails/AppDetails.tsx index 1ec55aec07..3c3ed4876b 100644 --- a/src/components/app/details/appDetails/AppDetails.tsx +++ b/src/components/app/details/appDetails/AppDetails.tsx @@ -708,6 +708,7 @@ export const Details: React.FC = ({ text: getHibernateText(), }, }} + handleClose={handleHibernateConfirmationModalClose} > Are you sure you want to continue? diff --git a/src/components/cdPipeline/DeleteCDNode.tsx b/src/components/cdPipeline/DeleteCDNode.tsx index ea698aaca4..8e5032a1a4 100644 --- a/src/components/cdPipeline/DeleteCDNode.tsx +++ b/src/components/cdPipeline/DeleteCDNode.tsx @@ -94,6 +94,7 @@ const DeleteCDNode = ({ identifier: 'delete-cd-node-input', confirmationKeyword: deleteTitleName, }} + handleClose={hideDeleteModal} /> ) } From 3030d5f5faca8f146f07d3aeb33c10a8a769f8e2 Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Tue, 19 Nov 2024 11:35:36 +0530 Subject: [PATCH 3/9] Chore: version bump --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f41f5f4524..e78d4e9723 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "homepage": "/dashboard", "dependencies": { - "@devtron-labs/devtron-fe-common-lib": "1.0.8", + "@devtron-labs/devtron-fe-common-lib": "1.0.8-beta-1", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@rjsf/core": "^5.13.3", "@rjsf/utils": "^5.13.3", diff --git a/yarn.lock b/yarn.lock index d987f19c5e..508621278b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -974,10 +974,10 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@devtron-labs/devtron-fe-common-lib@1.0.8": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.0.8.tgz#74105a389dab077e52ba34e6d44242606465c7e9" - integrity sha512-gwcFjnuQKVlLG65sNwQ8pDaikDsTl9/fovUWxEUAbgv/yokL5TasHj0wN6FaH3nLwxerJFTF+CAub60rrwohGw== +"@devtron-labs/devtron-fe-common-lib@1.0.8-beta-1": + version "1.0.8-beta-1" + resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.0.8-beta-1.tgz#c25162c9165713954b40a96f163539b493be9be5" + integrity sha512-2FlFmX9ziKQFQ2NKnfWZRzj7VVtsgDG0zkq8q6q8LR/u5ZHV4ya/bAro6IXEtHkjotCI0wi5dYnCgo2nUNY5qA== dependencies: "@types/react-dates" "^21.8.6" ansi_up "^5.2.1" From 1a322e98c1973ccf90a8e0778bc1952ba3e2bbb6 Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Mon, 25 Nov 2024 16:40:26 +0530 Subject: [PATCH 4/9] feat: add props show delete dialog --- src/App.tsx | 1 + .../app/details/appDetails/AppDetails.tsx | 33 ++++++++-------- .../app/details/triggerView/ciMaterial.tsx | 1 + src/components/cdPipeline/CDPipeline.tsx | 4 +- src/components/cdPipeline/DeleteCDNode.tsx | 4 +- src/components/cdPipeline/types.ts | 1 + .../common/navigation/NavigationRoutes.tsx | 2 +- .../workflowEditor/nodes/CDNode.tsx | 38 ++++++++++--------- 8 files changed, 45 insertions(+), 39 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 590ad6cac0..9e6971c180 100755 --- a/src/App.tsx +++ b/src/App.tsx @@ -333,6 +333,7 @@ export default function App() {
+
{import.meta.env.VITE_NODE_ENV === 'production' && window._env_ && window._env_.HOTJAR_ENABLED && } diff --git a/src/components/app/details/appDetails/AppDetails.tsx b/src/components/app/details/appDetails/AppDetails.tsx index 3c3ed4876b..7c4a0a0afd 100644 --- a/src/components/app/details/appDetails/AppDetails.tsx +++ b/src/components/app/details/appDetails/AppDetails.tsx @@ -18,7 +18,6 @@ import React, { useEffect, useState, useMemo, useRef, useCallback } from 'react' import { showError, Progressing, - ConfirmationDialog, noop, stopPropagation, multiSelectStyles, @@ -41,6 +40,7 @@ import { import { Link, useParams, useHistory, useRouteMatch, generatePath, Route, useLocation } from 'react-router-dom' import Tippy from '@tippyjs/react' import Select from 'react-select' +import { AnimatePresence, motion } from 'framer-motion' import { fetchAppDetailsInTime, fetchResourceTreeInTime } from '../../service' import { URLS, @@ -60,14 +60,14 @@ import { getAppConfigStatus, getAppOtherEnvironmentMin, stopStartApp } from '../ // @ts-check import AppNotDeployedIcon from '../../../../assets/img/app-not-deployed.png' import AppNotConfiguredIcon from '../../../../assets/img/app-not-configured.png' -import { ReactComponent as ICRestore } from '../../../../assets/icons/ic-restore.svg' -import { ReactComponent as ICWarning } from '../../../../assets/icons/ic-warning-y5.svg' -import { ReactComponent as PlayButton } from '../../../../assets/icons/ic-play.svg' -import { ReactComponent as Connect } from '../../../../assets/icons/ic-connected.svg' -import { ReactComponent as Disconnect } from '../../../../assets/icons/ic-disconnected.svg' -import { ReactComponent as Abort } from '../../../../assets/icons/ic-abort.svg' -import { ReactComponent as StopButton } from '../../../../assets/icons/ic-stop.svg' -import { ReactComponent as ForwardArrow } from '../../../../assets/icons/ic-arrow-forward.svg' +import { ReactComponent as ICHibernate } from '@Icons/ic-medium-hibernate.svg' +import { ReactComponent as ICUnhibernate } from '@Icons/ic-medium-unhibernate.svg' +import { ReactComponent as PlayButton } from '@Icons/ic-play.svg' +import { ReactComponent as Connect } from '@Icons/ic-connected.svg' +import { ReactComponent as Disconnect } from '@Icons/ic-disconnected.svg' +import { ReactComponent as Abort } from '@Icons/ic-abort.svg' +import { ReactComponent as StopButton } from '@Icons/ic-stop.svg' +import { ReactComponent as ForwardArrow } from '@Icons/ic-arrow-forward.svg' import { SourceInfo } from './SourceInfo' import { Application, Nodes, AggregatedNodes, NodeDetailTabs } from '../../types' @@ -659,12 +659,12 @@ export const Details: React.FC = ({ } const handleHibernateConfirmationModalClose = (e) => { - e.stopPropagation() + e?.stopPropagation() setHibernateConfirmationModal('') } const renderHibernateModal = (): JSX.Element => { - if (isDeploymentBlocked && DeploymentWindowConfirmationDialog) { + if (hibernateConfirmationModal && isDeploymentBlocked && DeploymentWindowConfirmationDialog) { return ( = ({ return ( +

Pods for this application will be scaled @@ -696,21 +696,20 @@ export const Details: React.FC = ({ } buttonConfig={{ secondaryButtonConfig: { - dataTestId: 'cancel-hibernate-unhibernate-dialog', disabled: hibernating, onClick: handleHibernateConfirmationModalClose, text: 'Cancel', }, primaryButtonConfig: { - dataTestId: `app-details-${hibernateConfirmationModal === 'hibernate' ? 'hibernate' : 'restore'}`, isLoading: hibernating, onClick: handleHibernate, text: getHibernateText(), }, }} + showConfirmationModal={!!hibernateConfirmationModal} handleClose={handleHibernateConfirmationModalClose} > - Are you sure you want to continue? + Are you sure you want to continue? ) } @@ -816,7 +815,7 @@ export const Details: React.FC = ({ renderCIListHeader={renderCIListHeader} /> )} - {hibernateConfirmationModal && renderHibernateModal()} + {appDetails && renderHibernateModal()} {rotateModal && renderRestartWorkload()} { )} - - {cdPipelineId && showDeleteModal && ( + {cdPipelineId && ( handleDeleteCDNodePipeline(deleteCD, deploymentAppType as DeploymentAppTypes), isLoading, @@ -94,6 +93,7 @@ const DeleteCDNode = ({ identifier: 'delete-cd-node-input', confirmationKeyword: deleteTitleName, }} + showConfirmationModal={showDeleteDialog} handleClose={hideDeleteModal} /> ) diff --git a/src/components/cdPipeline/types.ts b/src/components/cdPipeline/types.ts index 77b46e8df7..8c23c4aaa6 100644 --- a/src/components/cdPipeline/types.ts +++ b/src/components/cdPipeline/types.ts @@ -46,6 +46,7 @@ export interface ForceDeleteMessageType { } export interface DeleteCDNodeProps { + showDeleteDialog: boolean deleteDialog: DeleteDialogType setDeleteDialog: React.Dispatch> | ((deleteDialog: DeleteDialogType) => void) clusterName: string diff --git a/src/components/common/navigation/NavigationRoutes.tsx b/src/components/common/navigation/NavigationRoutes.tsx index acbd8181cb..c90f0a0038 100644 --- a/src/components/common/navigation/NavigationRoutes.tsx +++ b/src/components/common/navigation/NavigationRoutes.tsx @@ -380,7 +380,7 @@ export default function NavigationRoutes() { isSuperAdmin, }} > -

+
{!_isOnboardingPage && ( { } renderWrapWithLink = (children: ReactElement) => ( - + {children} ) @@ -306,7 +311,7 @@ export class CDNode extends Component { const currentNodeKey = `${WorkflowNodeType.CD}-${this.props.id.substring(4)}` return (
{ > {this.props.cdNamesList?.length > 0 ? this.renderReadOnlyCard() : this.renderCardContent()} - - {this.state.showDeleteDialog && ( - - )} + + {this.renderDeleteConformationDialog()} ) From 4963af45f0ef1d28a91eb23e24003ef4ad61c209 Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Mon, 25 Nov 2024 18:08:11 +0530 Subject: [PATCH 5/9] chore: rename backdrop id --- src/App.tsx | 2 +- src/components/app/details/appDetails/AppDetails.tsx | 5 ++--- src/components/common/navigation/NavigationRoutes.tsx | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 373fbebd8c..5e744fd021 100755 --- a/src/App.tsx +++ b/src/App.tsx @@ -337,7 +337,7 @@ export default function App() {
-
+
{import.meta.env.VITE_NODE_ENV === 'production' && window._env_ && window._env_.HOTJAR_ENABLED && } diff --git a/src/components/app/details/appDetails/AppDetails.tsx b/src/components/app/details/appDetails/AppDetails.tsx index 7c4a0a0afd..8b774a40ff 100644 --- a/src/components/app/details/appDetails/AppDetails.tsx +++ b/src/components/app/details/appDetails/AppDetails.tsx @@ -40,7 +40,6 @@ import { import { Link, useParams, useHistory, useRouteMatch, generatePath, Route, useLocation } from 'react-router-dom' import Tippy from '@tippyjs/react' import Select from 'react-select' -import { AnimatePresence, motion } from 'framer-motion' import { fetchAppDetailsInTime, fetchResourceTreeInTime } from '../../service' import { URLS, @@ -58,8 +57,8 @@ import { NavigationArrow, useAppContext, FragmentHOC } from '../../../common' import { groupHeaderStyle, Option } from '../../../v2/common/ReactSelect.utils' import { getAppConfigStatus, getAppOtherEnvironmentMin, stopStartApp } from '../../../../services/service' // @ts-check -import AppNotDeployedIcon from '../../../../assets/img/app-not-deployed.png' -import AppNotConfiguredIcon from '../../../../assets/img/app-not-configured.png' +import AppNotDeployedIcon from '@Images/app-not-deployed.png' +import AppNotConfiguredIcon from '@Images/app-not-configured.png' import { ReactComponent as ICHibernate } from '@Icons/ic-medium-hibernate.svg' import { ReactComponent as ICUnhibernate } from '@Icons/ic-medium-unhibernate.svg' import { ReactComponent as PlayButton } from '@Icons/ic-play.svg' diff --git a/src/components/common/navigation/NavigationRoutes.tsx b/src/components/common/navigation/NavigationRoutes.tsx index c90f0a0038..b5e79193c9 100644 --- a/src/components/common/navigation/NavigationRoutes.tsx +++ b/src/components/common/navigation/NavigationRoutes.tsx @@ -28,6 +28,7 @@ import { URLS as CommonURLS, AppListConstants, MODES, + DEVTRON_BASE_MAIN_ID, } from '@devtron-labs/devtron-fe-common-lib' import { Route, Switch, useRouteMatch, useHistory, useLocation } from 'react-router-dom' import * as Sentry from '@sentry/browser' @@ -380,7 +381,7 @@ export default function NavigationRoutes() { isSuperAdmin, }} > -
+
{!_isOnboardingPage && ( Date: Tue, 26 Nov 2024 15:14:26 +0530 Subject: [PATCH 6/9] feat: add backdrop class --- src/css/base.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/css/base.scss b/src/css/base.scss index 1d94b357c2..11ccdd5e3c 100644 --- a/src/css/base.scss +++ b/src/css/base.scss @@ -5258,3 +5258,9 @@ textarea::placeholder { .code-editor-red-diff { background: var(--R100); } + +.backdrop { + background: rgba(0, 0, 0, 0.75); + z-index: var(--modal-index); + backdrop-filter: blur(1px); +} \ No newline at end of file From 9d5b35f3026ceebcd29d2371026613aa37d80d6b Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Tue, 26 Nov 2024 17:10:50 +0530 Subject: [PATCH 7/9] chore: version bump --- package.json | 2 +- yarn.lock | 123 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 120 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 03aeb64fa9..b7d3f039e9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "homepage": "/dashboard", "dependencies": { - "@devtron-labs/devtron-fe-common-lib": "1.1.4", + "@devtron-labs/devtron-fe-common-lib": "1.1.4-beta-2", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@rjsf/core": "^5.13.3", "@rjsf/utils": "^5.13.3", diff --git a/yarn.lock b/yarn.lock index c7981b677a..65a005d21e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -974,15 +974,16 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@devtron-labs/devtron-fe-common-lib@1.1.4": - version "1.1.4" - resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.1.4.tgz#039dc9718bf3371336bc56d4a66b7fcc17ead5d5" - integrity sha512-4dY1d3XC9l1yREmBEvlcij2iczlgV6IM42EfCzUWFMfwXV1estHreoy1/gmfSnBOVqyS0ObPJJiMTHLU6bDHeg== +"@devtron-labs/devtron-fe-common-lib@1.1.4-beta-2": + version "1.1.4-beta-2" + resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.1.4-beta-2.tgz#2e43a2ec3db0ac4e9549e0f753cfd091d7f4b97f" + integrity sha512-RQZC9uzyRO0zpejOm40Pl/lR9ye9BZnpekfyw5qbPnI7/4FwLWKX5mwIKJoeK+AYKj8FibMoatf9jbS+xv0Cqw== dependencies: "@types/react-dates" "^21.8.6" ansi_up "^5.2.1" dayjs "^1.11.13" fast-json-patch "^3.1.1" + framer-motion "^6.5.1" jsonpath-plus "^10.0.0" react-dates "^21.8.0" react-diff-viewer-continued "^3.4.0" @@ -1067,6 +1068,18 @@ resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.2.tgz#ff9221b9f58b4dfe61e619a7788734bd63f6898b" integrity sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g== +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + "@emotion/memoize@^0.8.1": version "0.8.1" resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz" @@ -1570,6 +1583,59 @@ dependencies: "@types/mdx" "^2.0.0" +"@motionone/animation@^10.12.0": + version "10.18.0" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.18.0.tgz#868d00b447191816d5d5cf24b1cafa144017922b" + integrity sha512-9z2p5GFGCm0gBsZbi8rVMOAJCtw1WqBTIPw3ozk06gDvZInBPIsQcHgYogEJ4yuHJ+akuW8g1SEIOpTOvYs8hw== + dependencies: + "@motionone/easing" "^10.18.0" + "@motionone/types" "^10.17.1" + "@motionone/utils" "^10.18.0" + tslib "^2.3.1" + +"@motionone/dom@10.12.0": + version "10.12.0" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.12.0.tgz#ae30827fd53219efca4e1150a5ff2165c28351ed" + integrity sha512-UdPTtLMAktHiqV0atOczNYyDd/d8Cf5fFsd1tua03PqTwwCe/6lwhLSQ8a7TbnQ5SN0gm44N1slBfj+ORIhrqw== + dependencies: + "@motionone/animation" "^10.12.0" + "@motionone/generators" "^10.12.0" + "@motionone/types" "^10.12.0" + "@motionone/utils" "^10.12.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.18.0": + version "10.18.0" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.18.0.tgz#7b82f6010dfee3a1bb0ee83abfbaff6edae0c708" + integrity sha512-VcjByo7XpdLS4o9T8t99JtgxkdMcNWD3yHU/n6CLEz3bkmKDRZyYQ/wmSf6daum8ZXqfUAgFeCZSpJZIMxaCzg== + dependencies: + "@motionone/utils" "^10.18.0" + tslib "^2.3.1" + +"@motionone/generators@^10.12.0": + version "10.18.0" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.18.0.tgz#fe09ab5cfa0fb9a8884097feb7eb60abeb600762" + integrity sha512-+qfkC2DtkDj4tHPu+AFKVfR/C30O1vYdvsGYaR13W/1cczPrrcjdvYCj0VLFuRMN+lP1xvpNZHCRNM4fBzn1jg== + dependencies: + "@motionone/types" "^10.17.1" + "@motionone/utils" "^10.18.0" + tslib "^2.3.1" + +"@motionone/types@^10.12.0", "@motionone/types@^10.17.1": + version "10.17.1" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.17.1.tgz#cf487badbbdc9da0c2cb86ffc1e5d11147c6e6fb" + integrity sha512-KaC4kgiODDz8hswCrS0btrVrzyU2CSQKO7Ps90ibBVSQmjkrt2teqta6/sOG59v7+dPnKMAg13jyqtMKV2yJ7A== + +"@motionone/utils@^10.12.0", "@motionone/utils@^10.18.0": + version "10.18.0" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.18.0.tgz#a59ff8932ed9009624bca07c56b28ef2bb2f885e" + integrity sha512-3XVF7sgyTSI2KWvTf6uLlBJ5iAgRgmvp3bpuOiQJvInd4nZ19ET8lX5unn30SlmRH7hXbBbH+Gxd0m0klJ3Xtw== + dependencies: + "@motionone/types" "^10.17.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" @@ -4740,6 +4806,27 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" +framer-motion@^6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-6.5.1.tgz#802448a16a6eb764124bf36d8cbdfa6dd6b931a7" + integrity sha512-o1BGqqposwi7cgDrtg0dNONhkmPsUFDaLcKXigzuTFC5x58mE8iyTazxSudFzmT6MEyJKfjjU8ItoMe3W+3fiw== + dependencies: + "@motionone/dom" "10.12.0" + framesync "6.0.1" + hey-listen "^1.0.8" + popmotion "11.0.3" + style-value-types "5.0.0" + tslib "^2.1.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.0.1.tgz#5e32fc01f1c42b39c654c35b16440e07a25d6f20" + integrity sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA== + dependencies: + tslib "^2.1.0" + fs-extra@^9.0.1: version "9.1.0" resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz" @@ -4978,6 +5065,11 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: dependencies: function-bind "^1.1.2" +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + history@^4.9.0: version "4.10.1" resolved "https://registry.npmjs.org/history/-/history-4.10.1.tgz" @@ -6252,6 +6344,16 @@ polished@^4.2.2: dependencies: "@babel/runtime" "^7.17.8" +popmotion@11.0.3: + version "11.0.3" + resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.3.tgz#565c5f6590bbcddab7a33a074bb2ba97e24b0cc9" + integrity sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA== + dependencies: + framesync "6.0.1" + hey-listen "^1.0.8" + style-value-types "5.0.0" + tslib "^2.1.0" + possible-typed-array-names@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz" @@ -7316,6 +7418,14 @@ strip-json-comments@^3.1.1: resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +style-value-types@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.0.0.tgz#76c35f0e579843d523187989da866729411fc8ad" + integrity sha512-08yq36Ikn4kx4YU6RD7jWEv27v4V+PUsOGa4n/as8Et3CuODMJQ00ENeAVXAeydX4Z2j1XHZF1K2sX4mGl18fA== + dependencies: + hey-listen "^1.0.8" + tslib "^2.1.0" + stylis@4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz" @@ -7550,6 +7660,11 @@ tslib@^2.1.0: resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== +tslib@^2.3.1: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + tslib@^2.6.2: version "2.6.3" resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz" From 418782cd655921c754c1d9d58876c712de5f9212 Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Tue, 26 Nov 2024 18:29:38 +0530 Subject: [PATCH 8/9] chore: version bump --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b7d3f039e9..7cd1367f6a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "homepage": "/dashboard", "dependencies": { - "@devtron-labs/devtron-fe-common-lib": "1.1.4-beta-2", + "@devtron-labs/devtron-fe-common-lib": "1.1.4-beta-5", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@rjsf/core": "^5.13.3", "@rjsf/utils": "^5.13.3", diff --git a/yarn.lock b/yarn.lock index 65a005d21e..386c448c70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -974,10 +974,10 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@devtron-labs/devtron-fe-common-lib@1.1.4-beta-2": - version "1.1.4-beta-2" - resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.1.4-beta-2.tgz#2e43a2ec3db0ac4e9549e0f753cfd091d7f4b97f" - integrity sha512-RQZC9uzyRO0zpejOm40Pl/lR9ye9BZnpekfyw5qbPnI7/4FwLWKX5mwIKJoeK+AYKj8FibMoatf9jbS+xv0Cqw== +"@devtron-labs/devtron-fe-common-lib@1.1.4-beta-5": + version "1.1.4-beta-5" + resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.1.4-beta-5.tgz#199f76fc49ae8466feae8da9f0c1290e3ac6e6b5" + integrity sha512-lF7PctEt9dS2dAD3pO57ZaZRvpCUgQbo9O8j7+LNUlegty1pyS8epctKsOxJFwUBp5Y/frf8h14s9wnLjxhOAw== dependencies: "@types/react-dates" "^21.8.6" ansi_up "^5.2.1" From 86202cabba671e65c67051ddd2bf3c75453926bc Mon Sep 17 00:00:00 2001 From: arunjaindev Date: Thu, 28 Nov 2024 11:21:47 +0530 Subject: [PATCH 9/9] chore: version bump --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7cd1367f6a..b8a8f104c9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "homepage": "/dashboard", "dependencies": { - "@devtron-labs/devtron-fe-common-lib": "1.1.4-beta-5", + "@devtron-labs/devtron-fe-common-lib": "1.1.4-beta-11", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@rjsf/core": "^5.13.3", "@rjsf/utils": "^5.13.3", diff --git a/yarn.lock b/yarn.lock index 386c448c70..b71e65e46b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -974,10 +974,10 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@devtron-labs/devtron-fe-common-lib@1.1.4-beta-5": - version "1.1.4-beta-5" - resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.1.4-beta-5.tgz#199f76fc49ae8466feae8da9f0c1290e3ac6e6b5" - integrity sha512-lF7PctEt9dS2dAD3pO57ZaZRvpCUgQbo9O8j7+LNUlegty1pyS8epctKsOxJFwUBp5Y/frf8h14s9wnLjxhOAw== +"@devtron-labs/devtron-fe-common-lib@1.1.4-beta-11": + version "1.1.4-beta-11" + resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.1.4-beta-11.tgz#9f99fd7248a7a48939615dc2d0f8562b154315c4" + integrity sha512-lfWqfbKLctlFScw5bPgJAIA2p8EQUsgghXIkNyuw7GovGULxq4oKWKJrBdeDVjw4onfXF6eHRil9YfSa4PWQyw== dependencies: "@types/react-dates" "^21.8.6" ansi_up "^5.2.1"