Skip to content

Commit 6b831c6

Browse files
author
Amrit Kashyap Borah
committed
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-lib into feat/app-details-chat
2 parents 5db01d2 + c223ab8 commit 6b831c6

8 files changed

Lines changed: 27 additions & 26 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.15.0-pre-7",
3+
"version": "1.15.1-pre-2",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Assets/IconV2/ic-add.svg

Lines changed: 2 additions & 18 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

src/Assets/IconV2/ic-minus.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Shared/Components/Icon/Icon.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ import { ReactComponent as ICFiles } from '@IconsV2/ic-files.svg'
7979
import { ReactComponent as ICFilter } from '@IconsV2/ic-filter.svg'
8080
import { ReactComponent as ICFilterApplied } from '@IconsV2/ic-filter-applied.svg'
8181
import { ReactComponent as ICFlask } from '@IconsV2/ic-flask.svg'
82+
import { ReactComponent as ICFolderColor } from '@IconsV2/ic-folder-color.svg'
8283
import { ReactComponent as ICFolderUser } from '@IconsV2/ic-folder-user.svg'
8384
import { ReactComponent as ICGear } from '@IconsV2/ic-gear.svg'
8485
import { ReactComponent as ICGift } from '@IconsV2/ic-gift.svg'
@@ -125,6 +126,7 @@ import { ReactComponent as ICMegaphoneRight } from '@IconsV2/ic-megaphone-right.
125126
import { ReactComponent as ICMemory } from '@IconsV2/ic-memory.svg'
126127
import { ReactComponent as ICMicrosoft } from '@IconsV2/ic-microsoft.svg'
127128
import { ReactComponent as ICMinikube } from '@IconsV2/ic-minikube.svg'
129+
import { ReactComponent as ICMinus } from '@IconsV2/ic-minus.svg'
128130
import { ReactComponent as ICMissing } from '@IconsV2/ic-missing.svg'
129131
import { ReactComponent as ICMobile } from '@IconsV2/ic-mobile.svg'
130132
import { ReactComponent as ICMonitoring } from '@IconsV2/ic-monitoring.svg'
@@ -273,6 +275,7 @@ export const iconMap = {
273275
'ic-filter-applied': ICFilterApplied,
274276
'ic-filter': ICFilter,
275277
'ic-flask': ICFlask,
278+
'ic-folder-color': ICFolderColor,
276279
'ic-folder-user': ICFolderUser,
277280
'ic-gear': ICGear,
278281
'ic-gift-gradient': ICGiftGradient,
@@ -319,6 +322,7 @@ export const iconMap = {
319322
'ic-memory': ICMemory,
320323
'ic-microsoft': ICMicrosoft,
321324
'ic-minikube': ICMinikube,
325+
'ic-minus': ICMinus,
322326
'ic-missing': ICMissing,
323327
'ic-mobile': ICMobile,
324328
'ic-monitoring': ICMonitoring,

src/Shared/Components/TabGroup/TabGroup.helpers.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { ReactComponent as ICErrorExclamation } from '@Icons/ic-error-exclamation.svg'
18-
import { ReactComponent as ICWarning } from '@Icons/ic-warning.svg'
19-
2017
import { Icon } from '../Icon'
2118
import { TabGroupProps, TabProps } from './TabGroup.types'
2219
import { TAB_ICON_SIZE_MAP } from './TabGroup.utils'
@@ -32,10 +29,10 @@ export const getTabIcon = ({
3229
}: Pick<TabProps, 'showError' | 'showWarning' | 'icon' | 'active' | 'iconElement'> &
3330
Pick<TabGroupProps, 'size'> & { className: string }) => {
3431
if (showError) {
35-
return <ICErrorExclamation className={className} />
32+
return <Icon name="ic-error" color={null} size={TAB_ICON_SIZE_MAP[size]} />
3633
}
3734
if (showWarning) {
38-
return <ICWarning className={`${className} warning-icon-y7`} />
35+
return <Icon name="ic-warning" color={null} size={TAB_ICON_SIZE_MAP[size]} />
3936
}
4037
if (typeof icon === 'string') {
4138
return <Icon name={icon} color={active ? 'B500' : 'N700'} size={TAB_ICON_SIZE_MAP[size]} />

src/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ export interface customEnv {
166166
* @default false
167167
*/
168168
FEATURE_MANAGE_TRAFFIC_ENABLE?: boolean
169+
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE?: boolean
170+
/**
171+
* If true, online/offline connectivity banner is enabled
172+
*
173+
* @default true
174+
*/
175+
FEATURE_INTERNET_CONNECTIVITY_ENABLE?: boolean
169176
}
170177
declare global {
171178
interface Window {

0 commit comments

Comments
 (0)