diff --git a/package-lock.json b/package-lock.json index 6ec603ebe..4abe3ed19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.12.0", + "version": "1.12.0-ath-3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.12.0", + "version": "1.12.0-ath-3", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 7a0801063..70d70ca2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.12.0", + "version": "1.12.0-ath-3", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", diff --git a/src/Shared/Components/Confetti/Confetti.component.tsx b/src/Shared/Components/Confetti/Confetti.component.tsx index 6a68f734e..12ff3e361 100644 --- a/src/Shared/Components/Confetti/Confetti.component.tsx +++ b/src/Shared/Components/Confetti/Confetti.component.tsx @@ -16,6 +16,24 @@ import { ComponentProps } from 'react' import Pride from 'react-canvas-confetti/dist/presets/pride' +import Snow from 'react-canvas-confetti/dist/presets/snow' + +export const SnowConfetti = () => { + const decorateOptions: ComponentProps['decorateOptions'] = (options) => ({ + ...options, + colors: ['#a864fd'], + }) + + return ( + + ) +} const Confetti = () => { const decorateOptions: ComponentProps['decorateOptions'] = (options) => ({ diff --git a/src/Shared/Components/Confetti/index.ts b/src/Shared/Components/Confetti/index.ts index d6af234ed..8dc9405a6 100644 --- a/src/Shared/Components/Confetti/index.ts +++ b/src/Shared/Components/Confetti/index.ts @@ -14,4 +14,4 @@ * limitations under the License. */ -export { default as Confetti } from './Confetti.component' +export { default as Confetti, SnowConfetti } from './Confetti.component' diff --git a/src/index.ts b/src/index.ts index f582c59a3..3dd1801eb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -155,6 +155,7 @@ export interface customEnv { */ FEATURE_APPLICATION_TEMPLATES_ENABLE?: boolean GATEKEEPER_URL?: string + LOGIN_PAGE_IMAGE?: string } declare global { interface Window {