@devtron-labs/devtron-fe-common-lib 0.0.9-beta-3 → 0.0.9-beta-4
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.
|
@@ -218,6 +218,7 @@ export interface FormType {
|
|
|
218
218
|
postBuildStage?: BuildStageType;
|
|
219
219
|
isDockerConfigOverridden?: boolean;
|
|
220
220
|
dockerConfigOverride?: DockerConfigOverrideType;
|
|
221
|
+
isOffendingMandatoryPlugin?: boolean;
|
|
221
222
|
}
|
|
222
223
|
export interface ErrorObj {
|
|
223
224
|
isValid: boolean;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export interface TippyCustomizedProps {
|
|
|
47
47
|
theme: TippyTheme;
|
|
48
48
|
visible?: boolean;
|
|
49
49
|
heading?: ReactNode | string;
|
|
50
|
-
headingInfo?: string;
|
|
50
|
+
headingInfo?: ReactNode | string;
|
|
51
51
|
noHeadingBorder?: boolean;
|
|
52
52
|
infoTextHeading?: string;
|
|
53
53
|
placement: Placement;
|
package/dist/index.js
CHANGED
|
@@ -8694,7 +8694,7 @@ function TippyCustomized(props) {
|
|
|
8694
8694
|
var Icon = props.Icon, iconPath = props.iconPath, iconClass = props.iconClass, iconSize = props.iconSize, onImageLoadError = props.onImageLoadError, heading = props.heading, headingInfo = props.headingInfo, infoTextHeading = props.infoTextHeading, infoText = props.infoText, showCloseButton = props.showCloseButton, additionalContent = props.additionalContent, documentationLink = props.documentationLink, documentationLinkText = props.documentationLinkText;
|
|
8695
8695
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", __assign({ className: "dc__word-break dc__hyphens-auto flex left ".concat(isWhiteTheme
|
|
8696
8696
|
? "p-12 cn-9 ".concat(props.noHeadingBorder ? '' : 'dc__border-bottom-n1')
|
|
8697
|
-
: 'pt-20 pb-12 pr-20 pl-20 cn-0 top') }, { children: [iconPath ? (jsxRuntime.jsx("img", { className: "icon-dim-".concat(iconSize || 20, " mr-6 ").concat(iconClass || ''), src: iconPath, alt: "Heading", onError: onImageLoadError })) : (Icon && (jsxRuntime.jsx("div", __assign({ className: "icon-dim-".concat(iconSize || 20, " mr-6") }, { children: jsxRuntime.jsx(Icon, { className: "icon-dim-".concat(iconSize || 20, " ").concat(iconClass || '') }) })))), heading && jsxRuntime.jsx("span", __assign({ className: "fs-14 fw-6 lh-20 ".concat(showCloseButton ? 'mr-6' : '') }, { children: heading })), headingInfo && (jsxRuntime.jsx("div", __assign({ className: "icon-dim-20 cursor", onClick: toggleHeadingInfo }, { children: jsxRuntime.jsx(SvgIcHelp, { className: "icon-dim-20" }) }))), showCloseButton && (jsxRuntime.jsx("div", __assign({ className: "icon-dim-16 ml-auto" }, { children: jsxRuntime.jsx(SvgIcCross, { className: "icon-dim-16 cursor ".concat(isWhiteTheme ? 'fcn-9' : 'fcn-0'), onClick: closeTippy }) })))] })), showHeadingInfo && (jsxRuntime.jsxs("div", __assign({ className: "flex left bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ".concat(isWhiteTheme ? 'pl-12 pr-12' : 'pl-20 pr-20') }, { children: [jsxRuntime.jsx("div", __assign({ className: "icon-dim-20 mr-8" }, { children: jsxRuntime.jsx(SvgIcHelp, { className: "icon-dim-20 fcv-5" }) })), jsxRuntime.jsx("div", __assign({ className: "dc__word-break dc__hyphens-auto" }, { children: headingInfo }))] }))), infoTextHeading && (jsxRuntime.jsx("div", __assign({ className: "dc__word-break dc__hyphens-auto fs-14 fw-6 lh-20 ".concat(isWhiteTheme ? 'pl-12 pr-12' : 'pl-20 pr-20') }, { children: infoTextHeading }))), infoText && (jsxRuntime.jsx("div", __assign({ className: "dc__word-break dc__hyphens-auto fs-13 fw-4 lh-20 ".concat(isWhiteTheme
|
|
8697
|
+
: 'pt-20 pb-12 pr-20 pl-20 cn-0 top') }, { children: [iconPath ? (jsxRuntime.jsx("img", { className: "icon-dim-".concat(iconSize || 20, " mr-6 ").concat(iconClass || ''), src: iconPath, alt: "Heading", onError: onImageLoadError })) : (Icon && (jsxRuntime.jsx("div", __assign({ className: "icon-dim-".concat(iconSize || 20, " mr-6") }, { children: jsxRuntime.jsx(Icon, { className: "icon-dim-".concat(iconSize || 20, " ").concat(iconClass || '') }) })))), heading && jsxRuntime.jsx("span", __assign({ className: "fs-14 fw-6 lh-20 ".concat(showCloseButton ? 'mr-6' : '') }, { children: heading })), headingInfo && (jsxRuntime.jsx("div", __assign({ className: "icon-dim-20 cursor", onClick: toggleHeadingInfo }, { children: jsxRuntime.jsx(SvgIcHelp, { className: "icon-dim-20" }) }))), showCloseButton && (jsxRuntime.jsx("div", __assign({ className: "icon-dim-16 ml-auto" }, { children: jsxRuntime.jsx(SvgIcCross, { className: "icon-dim-16 cursor ".concat(isWhiteTheme ? 'fcn-9' : 'fcn-0'), onClick: closeTippy }) })))] })), showHeadingInfo && (jsxRuntime.jsxs("div", __assign({ className: "flex left top bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ".concat(isWhiteTheme ? 'pl-12 pr-12' : 'pl-20 pr-20') }, { children: [jsxRuntime.jsx("div", __assign({ className: "icon-dim-20 mr-8" }, { children: jsxRuntime.jsx(SvgIcHelp, { className: "icon-dim-20 fcv-5" }) })), jsxRuntime.jsx("div", __assign({ className: "dc__word-break dc__hyphens-auto" }, { children: headingInfo }))] }))), infoTextHeading && (jsxRuntime.jsx("div", __assign({ className: "dc__word-break dc__hyphens-auto fs-14 fw-6 lh-20 ".concat(isWhiteTheme ? 'pl-12 pr-12' : 'pl-20 pr-20') }, { children: infoTextHeading }))), infoText && (jsxRuntime.jsx("div", __assign({ className: "dc__word-break dc__hyphens-auto fs-13 fw-4 lh-20 ".concat(isWhiteTheme
|
|
8698
8698
|
? 'p-12'
|
|
8699
8699
|
: "pl-20 pr-20 pt-4 ".concat(additionalContent && documentationLink ? 'pb-12' : 'pb-20')) }, { children: infoText }))), additionalContent, documentationLink && (jsxRuntime.jsx("div", __assign({ className: "pl-12 pb-12" }, { children: jsxRuntime.jsx("a", __assign({ href: documentationLink, target: "_blank", rel: "noreferrer noopener", className: "fs-13 cb-5", onClick: closeTippy }, { children: documentationLinkText || 'Learn more' })) })))] }));
|
|
8700
8700
|
};
|
package/package.json
CHANGED
|
@@ -235,6 +235,7 @@ export interface FormType {
|
|
|
235
235
|
postBuildStage?: BuildStageType
|
|
236
236
|
isDockerConfigOverridden?: boolean
|
|
237
237
|
dockerConfigOverride?: DockerConfigOverrideType
|
|
238
|
+
isOffendingMandatoryPlugin?: boolean
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
export interface ErrorObj {
|
|
@@ -265,12 +266,12 @@ export interface FormErrorObjectType {
|
|
|
265
266
|
}
|
|
266
267
|
|
|
267
268
|
export interface PluginDetailType {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
269
|
+
id: number
|
|
270
|
+
name: string
|
|
271
|
+
type: string
|
|
272
|
+
description: string
|
|
273
|
+
icon: string
|
|
274
|
+
tags: string[]
|
|
275
|
+
inputVariables?: VariableType[]
|
|
276
|
+
outputVariables?: VariableType[]
|
|
276
277
|
}
|
|
@@ -96,7 +96,7 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
96
96
|
</div>
|
|
97
97
|
{showHeadingInfo && (
|
|
98
98
|
<div
|
|
99
|
-
className={`flex left bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ${
|
|
99
|
+
className={`flex left top bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ${
|
|
100
100
|
isWhiteTheme ? 'pl-12 pr-12' : 'pl-20 pr-20'
|
|
101
101
|
}`}
|
|
102
102
|
>
|
package/src/Common/Types.ts
CHANGED