@devtron-labs/devtron-fe-common-lib 0.2.24-beta-3 → 0.2.24-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.
- package/dist/Shared/Components/Button/Button.component.d.ts +51 -1
- package/dist/Shared/Components/Button/types.d.ts +34 -3
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +3 -0
- package/dist/{cssMode-YVzeJxFA.js → cssMode-BM3TJwTG.js} +1 -1
- package/dist/{freemarker2-Dh9SLwcz.js → freemarker2-dS6_f7Zy.js} +1 -1
- package/dist/{handlebars-DoscZXiY.js → handlebars-7til6fre.js} +1 -1
- package/dist/{html-B1rE-YVB.js → html-BpqEp2M_.js} +1 -1
- package/dist/{htmlMode-gpFr4OaM.js → htmlMode-3AItzs-r.js} +1 -1
- package/dist/{index-B5fDrSZa.js → index-Db8NZveA.js} +44 -43
- package/dist/index.js +1 -1
- package/dist/{javascript-BoZcKvG2.js → javascript-5qQ_SfZW.js} +1 -1
- package/dist/{jsonMode-D6RZTecD.js → jsonMode-BINBC73A.js} +1 -1
- package/dist/{liquid-CXg4I_0D.js → liquid-hZ5oSBzU.js} +1 -1
- package/dist/{mdx-yDHssPVx.js → mdx-Du65d2v6.js} +1 -1
- package/dist/{python-pJvFDw61.js → python-C_uGu4kI.js} +1 -1
- package/dist/{razor-DLBnMYQU.js → razor-Co4-vOmv.js} +1 -1
- package/dist/{tsMode-DsRFSyBI.js → tsMode-B3MLtu4W.js} +1 -1
- package/dist/{typescript-BjbT7C6Y.js → typescript-XY2lJb2K.js} +1 -1
- package/dist/{xml-qWdEl96e.js → xml-DNzwh9ho.js} +1 -1
- package/dist/{yaml-Bm4ivyx_.js → yaml-BpoNPhw5.js} +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,53 @@
|
|
|
1
1
|
import { ButtonProps } from './types';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Generic component for Button.
|
|
4
|
+
* Should be used in combination of variant, size and style.
|
|
5
|
+
*
|
|
6
|
+
* @example Default button
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <Button text="Hello World" />
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* @example Custom variant
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Button text="Hello World" variant={ButtonVariantType.secondary} />
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @example Custom size
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <Button text="Hello World" size={ComponentSizeType.medium} />
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @example Custom style
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <Button text="Hello World" style={ButtonStyleType.positive} />
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example Disabled state
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <Button text="Hello World" disabled />
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @example Loading state
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <Button text="Hello World" isLoading />
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @example With start icon
|
|
37
|
+
* ```tsx
|
|
38
|
+
* <Button text="Hello World" startIcon={<ICCube />} />
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @example With end icon
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <Button text="Hello World" endIcon={<ICCube />} />
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @example With tippy
|
|
47
|
+
* ```tsx
|
|
48
|
+
* <Button text="Hello World" showTippy tippyContent="Tippy content" />
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
declare const Button: ({ variant, size, style, text, startIcon, endIcon, disabled, isLoading, showTippy, tippyContent, type, ...props }: ButtonProps) => JSX.Element;
|
|
3
53
|
export default Button;
|
|
@@ -14,18 +14,49 @@ export declare enum ButtonStyleType {
|
|
|
14
14
|
warning = "warning",
|
|
15
15
|
neutral = "neutral"
|
|
16
16
|
}
|
|
17
|
-
export type ButtonProps = {
|
|
18
|
-
|
|
17
|
+
export type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'styles' | 'className'> & {
|
|
18
|
+
/**
|
|
19
|
+
* Variant of the button
|
|
20
|
+
*
|
|
21
|
+
* @default 'ButtonVariantType.primary'
|
|
22
|
+
*/
|
|
19
23
|
variant?: ButtonVariantType;
|
|
24
|
+
/**
|
|
25
|
+
* Size of the button
|
|
26
|
+
*
|
|
27
|
+
* @default 'ComponentSizeType.large'
|
|
28
|
+
*/
|
|
20
29
|
size?: ComponentSizeType;
|
|
30
|
+
/**
|
|
31
|
+
* Style to be applied on the button
|
|
32
|
+
*
|
|
33
|
+
* @default 'ButtonStyleType.default'
|
|
34
|
+
*/
|
|
21
35
|
style?: ButtonStyleType;
|
|
36
|
+
/**
|
|
37
|
+
* Text to be displayed in the button
|
|
38
|
+
*/
|
|
22
39
|
text: string;
|
|
40
|
+
/**
|
|
41
|
+
* If provided, icon to be displayed at the start of the button
|
|
42
|
+
*/
|
|
23
43
|
startIcon?: ReactElement;
|
|
44
|
+
/**
|
|
45
|
+
* If provided, icon to be displayed at the end of the button
|
|
46
|
+
*/
|
|
24
47
|
endIcon?: ReactElement;
|
|
25
|
-
|
|
48
|
+
/**
|
|
49
|
+
* If true, the loading state is shown for the button with disabled
|
|
50
|
+
*/
|
|
26
51
|
isLoading?: boolean;
|
|
27
52
|
} & ({
|
|
53
|
+
/**
|
|
54
|
+
* If true, the tippy is shown for the button
|
|
55
|
+
*/
|
|
28
56
|
showTippy: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Tippy content to be shown for use cases like disabled etc
|
|
59
|
+
*/
|
|
29
60
|
tippyContent: TooltipProps['content'];
|
|
30
61
|
} | {
|
|
31
62
|
showTippy?: never;
|
|
@@ -8,6 +8,9 @@ export interface ButtonWithLoaderProps {
|
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
type?: 'submit' | 'reset' | 'button';
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated use Button instead
|
|
13
|
+
*/
|
|
11
14
|
export declare class ButtonWithLoader extends Component<ButtonWithLoaderProps> {
|
|
12
15
|
constructor(props: any);
|
|
13
16
|
clickHandler(event: any): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as je } from "./index-
|
|
4
|
+
import { m as je } from "./index-Db8NZveA.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as f } from "./index-
|
|
1
|
+
import { m as f } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Be = Object.defineProperty;
|
|
2
2
|
var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as qe } from "./index-
|
|
4
|
+
import { m as qe } from "./index-Db8NZveA.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -90620,37 +90620,37 @@ ht({
|
|
|
90620
90620
|
id: "freemarker2",
|
|
90621
90621
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
90622
90622
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
90623
|
-
loader: () => import("./freemarker2-
|
|
90623
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagAutoInterpolationDollar)
|
|
90624
90624
|
});
|
|
90625
90625
|
ht({
|
|
90626
90626
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
90627
90627
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
90628
|
-
loader: () => import("./freemarker2-
|
|
90628
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagAngleInterpolationDollar)
|
|
90629
90629
|
});
|
|
90630
90630
|
ht({
|
|
90631
90631
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
90632
90632
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
90633
|
-
loader: () => import("./freemarker2-
|
|
90633
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagBracketInterpolationDollar)
|
|
90634
90634
|
});
|
|
90635
90635
|
ht({
|
|
90636
90636
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
90637
90637
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
90638
|
-
loader: () => import("./freemarker2-
|
|
90638
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagAngleInterpolationBracket)
|
|
90639
90639
|
});
|
|
90640
90640
|
ht({
|
|
90641
90641
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
90642
90642
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
90643
|
-
loader: () => import("./freemarker2-
|
|
90643
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagBracketInterpolationBracket)
|
|
90644
90644
|
});
|
|
90645
90645
|
ht({
|
|
90646
90646
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
90647
90647
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
90648
|
-
loader: () => import("./freemarker2-
|
|
90648
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagAutoInterpolationDollar)
|
|
90649
90649
|
});
|
|
90650
90650
|
ht({
|
|
90651
90651
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
90652
90652
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
90653
|
-
loader: () => import("./freemarker2-
|
|
90653
|
+
loader: () => import("./freemarker2-dS6_f7Zy.js").then((i) => i.TagAutoInterpolationBracket)
|
|
90654
90654
|
});
|
|
90655
90655
|
/*!-----------------------------------------------------------------------------
|
|
90656
90656
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90688,7 +90688,7 @@ ht({
|
|
|
90688
90688
|
extensions: [".handlebars", ".hbs"],
|
|
90689
90689
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
90690
90690
|
mimetypes: ["text/x-handlebars-template"],
|
|
90691
|
-
loader: () => import("./handlebars-
|
|
90691
|
+
loader: () => import("./handlebars-7til6fre.js")
|
|
90692
90692
|
});
|
|
90693
90693
|
/*!-----------------------------------------------------------------------------
|
|
90694
90694
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90713,7 +90713,7 @@ ht({
|
|
|
90713
90713
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
90714
90714
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
90715
90715
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
90716
|
-
loader: () => import("./html-
|
|
90716
|
+
loader: () => import("./html-BpqEp2M_.js")
|
|
90717
90717
|
});
|
|
90718
90718
|
/*!-----------------------------------------------------------------------------
|
|
90719
90719
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90754,7 +90754,7 @@ ht({
|
|
|
90754
90754
|
filenames: ["jakefile"],
|
|
90755
90755
|
aliases: ["JavaScript", "javascript", "js"],
|
|
90756
90756
|
mimetypes: ["text/javascript"],
|
|
90757
|
-
loader: () => import("./javascript-
|
|
90757
|
+
loader: () => import("./javascript-5qQ_SfZW.js")
|
|
90758
90758
|
});
|
|
90759
90759
|
/*!-----------------------------------------------------------------------------
|
|
90760
90760
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90829,7 +90829,7 @@ ht({
|
|
|
90829
90829
|
extensions: [".liquid", ".html.liquid"],
|
|
90830
90830
|
aliases: ["Liquid", "liquid"],
|
|
90831
90831
|
mimetypes: ["application/liquid"],
|
|
90832
|
-
loader: () => import("./liquid-
|
|
90832
|
+
loader: () => import("./liquid-hZ5oSBzU.js")
|
|
90833
90833
|
});
|
|
90834
90834
|
/*!-----------------------------------------------------------------------------
|
|
90835
90835
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90865,7 +90865,7 @@ ht({
|
|
|
90865
90865
|
id: "mdx",
|
|
90866
90866
|
extensions: [".mdx"],
|
|
90867
90867
|
aliases: ["MDX", "mdx"],
|
|
90868
|
-
loader: () => import("./mdx-
|
|
90868
|
+
loader: () => import("./mdx-Du65d2v6.js")
|
|
90869
90869
|
});
|
|
90870
90870
|
/*!-----------------------------------------------------------------------------
|
|
90871
90871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91060,7 +91060,7 @@ ht({
|
|
|
91060
91060
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
91061
91061
|
aliases: ["Python", "py"],
|
|
91062
91062
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
91063
|
-
loader: () => import("./python-
|
|
91063
|
+
loader: () => import("./python-C_uGu4kI.js")
|
|
91064
91064
|
});
|
|
91065
91065
|
/*!-----------------------------------------------------------------------------
|
|
91066
91066
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91097,7 +91097,7 @@ ht({
|
|
|
91097
91097
|
extensions: [".cshtml"],
|
|
91098
91098
|
aliases: ["Razor", "razor"],
|
|
91099
91099
|
mimetypes: ["text/x-cshtml"],
|
|
91100
|
-
loader: () => import("./razor-
|
|
91100
|
+
loader: () => import("./razor-Co4-vOmv.js")
|
|
91101
91101
|
});
|
|
91102
91102
|
/*!-----------------------------------------------------------------------------
|
|
91103
91103
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91349,7 +91349,7 @@ ht({
|
|
|
91349
91349
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
91350
91350
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
91351
91351
|
mimetypes: ["text/typescript"],
|
|
91352
|
-
loader: () => import("./typescript-
|
|
91352
|
+
loader: () => import("./typescript-XY2lJb2K.js")
|
|
91353
91353
|
});
|
|
91354
91354
|
/*!-----------------------------------------------------------------------------
|
|
91355
91355
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91405,7 +91405,7 @@ ht({
|
|
|
91405
91405
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
91406
91406
|
aliases: ["XML", "xml"],
|
|
91407
91407
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
91408
|
-
loader: () => import("./xml-
|
|
91408
|
+
loader: () => import("./xml-DNzwh9ho.js")
|
|
91409
91409
|
});
|
|
91410
91410
|
/*!-----------------------------------------------------------------------------
|
|
91411
91411
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91418,7 +91418,7 @@ ht({
|
|
|
91418
91418
|
extensions: [".yaml", ".yml"],
|
|
91419
91419
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
91420
91420
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
91421
|
-
loader: () => import("./yaml-
|
|
91421
|
+
loader: () => import("./yaml-BpoNPhw5.js")
|
|
91422
91422
|
});
|
|
91423
91423
|
/*!-----------------------------------------------------------------------------
|
|
91424
91424
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91513,7 +91513,7 @@ var qU = class {
|
|
|
91513
91513
|
}, zme = new qU("css", KU, YU), Ume = new qU("scss", KU, YU), Gme = new qU("less", KU, YU);
|
|
91514
91514
|
yb.languages.css = { cssDefaults: zme, lessDefaults: Gme, scssDefaults: Ume };
|
|
91515
91515
|
function XU() {
|
|
91516
|
-
return import("./cssMode-
|
|
91516
|
+
return import("./cssMode-BM3TJwTG.js");
|
|
91517
91517
|
}
|
|
91518
91518
|
yb.languages.onLanguage("less", () => {
|
|
91519
91519
|
XU().then((i) => i.setupMode(Gme));
|
|
@@ -91608,7 +91608,7 @@ t5.languages.html = {
|
|
|
91608
91608
|
registerHTMLLanguageService: r5
|
|
91609
91609
|
};
|
|
91610
91610
|
function AZe() {
|
|
91611
|
-
return import("./htmlMode-
|
|
91611
|
+
return import("./htmlMode-3AItzs-r.js");
|
|
91612
91612
|
}
|
|
91613
91613
|
function r5(i, e = n5, t = i5(i)) {
|
|
91614
91614
|
const n = new xZe(i, e, t);
|
|
@@ -91685,7 +91685,7 @@ var RZe = class {
|
|
|
91685
91685
|
}, Xme = new RZe("json", FZe, BZe);
|
|
91686
91686
|
GS.languages.json = { jsonDefaults: Xme };
|
|
91687
91687
|
function VZe() {
|
|
91688
|
-
return import("./jsonMode-
|
|
91688
|
+
return import("./jsonMode-BINBC73A.js");
|
|
91689
91689
|
}
|
|
91690
91690
|
GS.languages.register({
|
|
91691
91691
|
id: "json",
|
|
@@ -91848,7 +91848,7 @@ O_.languages.typescript = {
|
|
|
91848
91848
|
getJavaScriptWorker: XZe
|
|
91849
91849
|
};
|
|
91850
91850
|
function s5() {
|
|
91851
|
-
return import("./tsMode-
|
|
91851
|
+
return import("./tsMode-B3MLtu4W.js");
|
|
91852
91852
|
}
|
|
91853
91853
|
O_.languages.onLanguage("typescript", () => s5().then((i) => i.setupTypeScript(i0e)));
|
|
91854
91854
|
O_.languages.onLanguage("javascript", () => s5().then((i) => i.setupJavaScript(r0e)));
|
|
@@ -147995,7 +147995,7 @@ const h0t = (i) => {
|
|
|
147995
147995
|
border: `1px solid ${i ? "var(--R500)" : "var(--N200)"}`,
|
|
147996
147996
|
cursor: l.isDisabled ? "not-allowed" : "pointer",
|
|
147997
147997
|
padding: "5px 8px",
|
|
147998
|
-
gap: "
|
|
147998
|
+
gap: "6px",
|
|
147999
147999
|
opacity: l.isDisabled ? 0.5 : 1,
|
|
148000
148000
|
flexWrap: "nowrap",
|
|
148001
148001
|
maxHeight: "120px",
|
|
@@ -149625,31 +149625,32 @@ const Q0t = {
|
|
|
149625
149625
|
style: t,
|
|
149626
149626
|
isLoading: n
|
|
149627
149627
|
}) => `button button__${qq[e]}--${Kq[t]} ${Q0t[i]} ${n ? "button--loading" : ""}`, t1t = ({
|
|
149628
|
-
|
|
149629
|
-
|
|
149630
|
-
|
|
149631
|
-
|
|
149632
|
-
|
|
149633
|
-
|
|
149634
|
-
|
|
149635
|
-
|
|
149636
|
-
|
|
149637
|
-
|
|
149638
|
-
|
|
149628
|
+
variant: i = qq.primary,
|
|
149629
|
+
size: e = mr.large,
|
|
149630
|
+
style: t = Kq.default,
|
|
149631
|
+
text: n,
|
|
149632
|
+
startIcon: r,
|
|
149633
|
+
endIcon: s,
|
|
149634
|
+
disabled: o,
|
|
149635
|
+
isLoading: a,
|
|
149636
|
+
showTippy: l,
|
|
149637
|
+
tippyContent: c,
|
|
149638
|
+
type: d = "button",
|
|
149639
|
+
...u
|
|
149639
149640
|
}) => {
|
|
149640
|
-
const
|
|
149641
|
-
return /* @__PURE__ */ v.jsx(gx, { content:
|
|
149641
|
+
const h = o || a, f = `dc__no-shrink flex dc__fill-available-space ${J0t[e]}`;
|
|
149642
|
+
return /* @__PURE__ */ v.jsx(gx, { content: c, alwaysShowTippyOnHover: l && !!c, children: /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsxs(
|
|
149642
149643
|
"button",
|
|
149643
149644
|
{
|
|
149644
|
-
...
|
|
149645
|
-
disabled:
|
|
149646
|
-
type:
|
|
149647
|
-
className: `br-4 flex cursor dc__mnw-100 dc__tab-focus dc__position-rel dc__capitalize ${e1t({ size:
|
|
149645
|
+
...u,
|
|
149646
|
+
disabled: h,
|
|
149647
|
+
type: d,
|
|
149648
|
+
className: `br-4 flex cursor dc__mnw-100 dc__tab-focus dc__position-rel dc__capitalize ${e1t({ size: e, variant: i, style: t, isLoading: a })} ${h ? "dc__disabled" : ""}`,
|
|
149648
149649
|
children: [
|
|
149649
|
-
|
|
149650
|
-
/* @__PURE__ */ v.jsx("span", { className: "dc__mxw-150 dc__align-left dc__truncate", children:
|
|
149651
|
-
|
|
149652
|
-
|
|
149650
|
+
r && /* @__PURE__ */ v.jsx("span", { className: f, children: r }),
|
|
149651
|
+
/* @__PURE__ */ v.jsx("span", { className: "dc__mxw-150 dc__align-left dc__truncate", children: n }),
|
|
149652
|
+
s && /* @__PURE__ */ v.jsx("span", { className: f, children: s }),
|
|
149653
|
+
a && /* @__PURE__ */ v.jsx(Yr, { size: $0t[e] })
|
|
149653
149654
|
]
|
|
149654
149655
|
}
|
|
149655
149656
|
) }) });
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as s, hi as t, du as i, a7 as o, h0 as r, N as n, he as l, gV as g, dZ as T, cC as d, ay as S, az as c, gI as p, e5 as u, hG as E, hn as A, hg as I, cQ as D, ei as _, gx as C, ck as y, dQ as f, fj as m, ee as R, d9 as P, da as O, d7 as b, dg as h, d8 as L, dJ as N, dN as M, B as U, S as B, b as F, d5 as v, cV as G, d1 as V, cT as H, cU as K, d4 as k, d3 as W, d2 as Y, d6 as x, A as w, dE as X, dH as q, dK as z, dG as j, fR as J, fT as Q, fS as Z, e6 as $, e7 as aa, eg as ea, at as sa, as as ta, ar as ia, al as oa, aj as ra, cj as na, gD as la, dO as ga, dc as Ta, de as da, df as Sa, k as ca, ca as pa, eW as ua, bS as Ea, C as Aa, cN as Ia, cP as Da, cO as _a, fP as Ca, fH as ya, fh as fa, dD as ma, hj as Ra, ch as Pa, aM as Oa, ho as ba, bJ as ha, cm as La, cE as Na, bW as Ma, ff as Ua, fe as Ba, ad as Fa, g$ as va, W as Ga, ac as Va, fA as Ha, fy as Ka, fz as ka, dd as Wa, h1 as Ya, s as xa, f5 as wa, h8 as Xa, ha as qa, Z as za, dr as ja, o as Ja, p as Qa, l as Za, n as $a, f0 as ae, h as ee, gz as se, D as te, bL as ie, gK as oe, au as re, fI as ne, ej as le, eU as ge, eT as Te, eV as de, am as Se, h3 as ce, eh as pe, h4 as ue, by as Ee, fN as Ae, cB as Ie, bM as De, bN as _e, hq as Ce, cG as ye, cH as fe, cF as me, bz as Re, bt as Pe, fa as Oe, h7 as be, x as he, v as Le, a6 as Ne, gZ as Me, h9 as Ue, fO as Be, e2 as Fe, hr as ve, gv as Ge, e8 as Ve, h5 as He, eZ as Ke, E as ke, a as We, dS as Ye, F as xe, a0 as we, ec as Xe, eb as qe, el as ze, fQ as je, dY as Je, av as Qe, fD as Ze, ao as $e, bK as as, cK as es, G as ss, e as ts, d_ as is, eK as os, eY as rs, gJ as ns, i as ls, dz as gs, cA as Ts, e4 as ds, ek as Ss, H as cs, gY as ps, fl as us, dP as Es, dR as As, fi as Is, aq as Ds, gB as _s, gP as Cs, gR as ys, co as fs, cn as ms, ak as Rs, ea as Ps, hC as Os, I as bs, e1 as hs, hh as Ls, K as Ns, d$ as Ms, e0 as Us, fB as Bs, ab as Fs, dy as vs, eI as Gs, eS as Vs, hf as Hs, aa as Ks, O as ks, cL as Ws, fU as Ys, X as xs, M as ws, fc as Xs, f4 as qs, gO as zs, an as js, cJ as Js, ap as Qs, fk as Zs, dB as $s, bA as at, e9 as et, g_ as st, gC as tt, f1 as it, cg as ot, dC as rt, bU as nt, bQ as lt, bR as gt, bT as Tt, eo as dt, gw as St, bO as ct, q as pt, hk as ut, a9 as Et, db as At, en as It, hd as Dt, e3 as _t, cI as Ct, h2 as yt, aw as ft, fp as mt, fo as Rt, fm as Pt, cl as Ot, fw as bt, fn as ht, ce as Lt, gG as Nt, P as Mt, bx as Ut, gL as Bt, bE as Ft, J as vt, cx as Gt, r as Vt, c as Ht, d as Kt, a4 as kt, ci as Wt, cd as Yt, gy as xt, dt as wt, R as Xt, L as qt, bI as zt, cp as jt, gE as Jt, gF as Qt, gX as Zt, Q as $t, dL as ai, ae as ei, a8 as si, gW as ti, ep as ii, f as oi, dT as ri, dn as ni, cf as li, eJ as gi, cb as Ti, cM as di, j as Si, dI as ci, hl as pi, dx as ui, fC as Ei, fF as Ai, ag as Ii, ah as Di, gA as _i, fG as Ci, ed as yi, e$ as fi, bP as mi, cc as Ri, V as Pi, bY as Oi, eq as bi, eX as hi, g as Li, em as Ni, h6 as Mi, a2 as Ui, fd as Bi, w as Fi, y as vi, hm as Gi, bF as Vi, bG as Hi, bH as Ki, hp as ki, f2 as Wi, bD as Yi, ai as xi, aH as wi, aI as Xi, aJ as qi, T as zi, cS as ji, eR as Ji, ef as Qi, z as Zi, gM as $i, U as ao, cv as eo, gT as so, di as to, dl as io, dk as oo, dj as ro, af as no, bB as lo, bC as go, dU as To, $ as So, gH as co, ax as po, bm as uo, a5 as Eo, aF as Ao, gm as Io, bi as Do, _ as _o, bv as Co, eN as yo, bd as fo, ev as mo, ew as Ro, bk as Po, b3 as Oo, b1 as bo, dA as ho, bn as Lo, dp as No, bg as Mo, b4 as Uo, cZ as Bo, c2 as Fo, fb as vo, b9 as Go, bj as Vo, gn as Ho, bo as Ko, g6 as ko, c1 as Wo, c3 as Yo, bh as xo, c0 as wo, aD as Xo, ds as qo, aS as zo, hu as jo, fL as Jo, ht as Qo, fs as Zo, cX as $o, hs as ar, c6 as er, dv as sr, aZ as tr, dw as ir, c4 as or, f9 as rr, fM as nr, eF as lr, eA as gr, ez as Tr, ex as dr, fJ as Sr, aT as cr, c5 as pr, gq as ur, ba as Er, ga as Ar, dq as Ir, gu as Dr, cy as _r, dM as Cr, gs as yr, gt as fr, g9 as mr, aG as Rr, gj as Pr, ey as Or, eH as br, c8 as hr, a1 as Lr, ft as Nr, dW as Mr, eM as Ur, fr as Br, fq as Fr, hB as vr, hA as Gr, hw as Vr, aR as Hr, cz as Kr, be as kr, hv as Wr, c7 as Yr, fE as xr, dV as wr, eP as Xr, eu as qr, bX as zr, gp as jr, f3 as Jr, a3 as Qr, f6 as Zr, cW as $r, et as an, eG as en, eL as sn, eQ as tn, fx as on, b7 as rn, dh as nn, dm as ln, bZ as gn, ge as Tn, c9 as dn, hz as Sn, hx as cn, cD as pn, gi as un, bl as En, a$ as An, g7 as In, gh as Dn, go as _n, bc as Cn, b8 as yn, bu as fn, fK as mn, bV as Rn, aU as Pn, aV as On, gc as bn, dX as hn, fu as Ln, aC as Nn, fv as Mn, aA as Un, bf as Bn, bw as Fn, eD as vn, eB as Gn, eE as Vn, eC as Hn, g8 as Kn, aP as kn, b$ as Wn, b6 as Yn, gl as xn, aB as wn, fg as Xn, bb as qn, hy as zn, aW as jn, e_ as Jn, eO as Qn, gk as Zn, aX as $n, fV as al, gr as el, b_ as sl, bp as tl, aL as il, aN as ol, hc as rl, hb as nl, es as ll, aO as gl, gb as Tl, er as dl, aK as Sl, aE as cl, cR as pl, d0 as ul, cY as El, f8 as Al, f7 as Il, b5 as Dl, u as _l, c$ as Cl, dF as yl, cr as fl, hF as ml, aY as Rl, a_ as Pl, hE as Ol, gQ as bl, gg as hl, bq as Ll, b2 as Nl, bs as Ml, gN as Ul, hD as Bl, cu as Fl, br as vl, b0 as Gl, cw as Vl, cq as Hl, aQ as Kl, ct as kl, gS as Wl, cs as Yl, fX as xl, g4 as wl, g1 as Xl, g5 as ql, fW as zl, g0 as jl, c_ as Jl, f_ as Ql, fZ as Zl, g3 as $l, fY as ag, f$ as eg, g2 as sg, gd as tg, gU as ig, gf as og } from "./index-
|
|
1
|
+
import { Y as s, hi as t, du as i, a7 as o, h0 as r, N as n, he as l, gV as g, dZ as T, cC as d, ay as S, az as c, gI as p, e5 as u, hG as E, hn as A, hg as I, cQ as D, ei as _, gx as C, ck as y, dQ as f, fj as m, ee as R, d9 as P, da as O, d7 as b, dg as h, d8 as L, dJ as N, dN as M, B as U, S as B, b as F, d5 as v, cV as G, d1 as V, cT as H, cU as K, d4 as k, d3 as W, d2 as Y, d6 as x, A as w, dE as X, dH as q, dK as z, dG as j, fR as J, fT as Q, fS as Z, e6 as $, e7 as aa, eg as ea, at as sa, as as ta, ar as ia, al as oa, aj as ra, cj as na, gD as la, dO as ga, dc as Ta, de as da, df as Sa, k as ca, ca as pa, eW as ua, bS as Ea, C as Aa, cN as Ia, cP as Da, cO as _a, fP as Ca, fH as ya, fh as fa, dD as ma, hj as Ra, ch as Pa, aM as Oa, ho as ba, bJ as ha, cm as La, cE as Na, bW as Ma, ff as Ua, fe as Ba, ad as Fa, g$ as va, W as Ga, ac as Va, fA as Ha, fy as Ka, fz as ka, dd as Wa, h1 as Ya, s as xa, f5 as wa, h8 as Xa, ha as qa, Z as za, dr as ja, o as Ja, p as Qa, l as Za, n as $a, f0 as ae, h as ee, gz as se, D as te, bL as ie, gK as oe, au as re, fI as ne, ej as le, eU as ge, eT as Te, eV as de, am as Se, h3 as ce, eh as pe, h4 as ue, by as Ee, fN as Ae, cB as Ie, bM as De, bN as _e, hq as Ce, cG as ye, cH as fe, cF as me, bz as Re, bt as Pe, fa as Oe, h7 as be, x as he, v as Le, a6 as Ne, gZ as Me, h9 as Ue, fO as Be, e2 as Fe, hr as ve, gv as Ge, e8 as Ve, h5 as He, eZ as Ke, E as ke, a as We, dS as Ye, F as xe, a0 as we, ec as Xe, eb as qe, el as ze, fQ as je, dY as Je, av as Qe, fD as Ze, ao as $e, bK as as, cK as es, G as ss, e as ts, d_ as is, eK as os, eY as rs, gJ as ns, i as ls, dz as gs, cA as Ts, e4 as ds, ek as Ss, H as cs, gY as ps, fl as us, dP as Es, dR as As, fi as Is, aq as Ds, gB as _s, gP as Cs, gR as ys, co as fs, cn as ms, ak as Rs, ea as Ps, hC as Os, I as bs, e1 as hs, hh as Ls, K as Ns, d$ as Ms, e0 as Us, fB as Bs, ab as Fs, dy as vs, eI as Gs, eS as Vs, hf as Hs, aa as Ks, O as ks, cL as Ws, fU as Ys, X as xs, M as ws, fc as Xs, f4 as qs, gO as zs, an as js, cJ as Js, ap as Qs, fk as Zs, dB as $s, bA as at, e9 as et, g_ as st, gC as tt, f1 as it, cg as ot, dC as rt, bU as nt, bQ as lt, bR as gt, bT as Tt, eo as dt, gw as St, bO as ct, q as pt, hk as ut, a9 as Et, db as At, en as It, hd as Dt, e3 as _t, cI as Ct, h2 as yt, aw as ft, fp as mt, fo as Rt, fm as Pt, cl as Ot, fw as bt, fn as ht, ce as Lt, gG as Nt, P as Mt, bx as Ut, gL as Bt, bE as Ft, J as vt, cx as Gt, r as Vt, c as Ht, d as Kt, a4 as kt, ci as Wt, cd as Yt, gy as xt, dt as wt, R as Xt, L as qt, bI as zt, cp as jt, gE as Jt, gF as Qt, gX as Zt, Q as $t, dL as ai, ae as ei, a8 as si, gW as ti, ep as ii, f as oi, dT as ri, dn as ni, cf as li, eJ as gi, cb as Ti, cM as di, j as Si, dI as ci, hl as pi, dx as ui, fC as Ei, fF as Ai, ag as Ii, ah as Di, gA as _i, fG as Ci, ed as yi, e$ as fi, bP as mi, cc as Ri, V as Pi, bY as Oi, eq as bi, eX as hi, g as Li, em as Ni, h6 as Mi, a2 as Ui, fd as Bi, w as Fi, y as vi, hm as Gi, bF as Vi, bG as Hi, bH as Ki, hp as ki, f2 as Wi, bD as Yi, ai as xi, aH as wi, aI as Xi, aJ as qi, T as zi, cS as ji, eR as Ji, ef as Qi, z as Zi, gM as $i, U as ao, cv as eo, gT as so, di as to, dl as io, dk as oo, dj as ro, af as no, bB as lo, bC as go, dU as To, $ as So, gH as co, ax as po, bm as uo, a5 as Eo, aF as Ao, gm as Io, bi as Do, _ as _o, bv as Co, eN as yo, bd as fo, ev as mo, ew as Ro, bk as Po, b3 as Oo, b1 as bo, dA as ho, bn as Lo, dp as No, bg as Mo, b4 as Uo, cZ as Bo, c2 as Fo, fb as vo, b9 as Go, bj as Vo, gn as Ho, bo as Ko, g6 as ko, c1 as Wo, c3 as Yo, bh as xo, c0 as wo, aD as Xo, ds as qo, aS as zo, hu as jo, fL as Jo, ht as Qo, fs as Zo, cX as $o, hs as ar, c6 as er, dv as sr, aZ as tr, dw as ir, c4 as or, f9 as rr, fM as nr, eF as lr, eA as gr, ez as Tr, ex as dr, fJ as Sr, aT as cr, c5 as pr, gq as ur, ba as Er, ga as Ar, dq as Ir, gu as Dr, cy as _r, dM as Cr, gs as yr, gt as fr, g9 as mr, aG as Rr, gj as Pr, ey as Or, eH as br, c8 as hr, a1 as Lr, ft as Nr, dW as Mr, eM as Ur, fr as Br, fq as Fr, hB as vr, hA as Gr, hw as Vr, aR as Hr, cz as Kr, be as kr, hv as Wr, c7 as Yr, fE as xr, dV as wr, eP as Xr, eu as qr, bX as zr, gp as jr, f3 as Jr, a3 as Qr, f6 as Zr, cW as $r, et as an, eG as en, eL as sn, eQ as tn, fx as on, b7 as rn, dh as nn, dm as ln, bZ as gn, ge as Tn, c9 as dn, hz as Sn, hx as cn, cD as pn, gi as un, bl as En, a$ as An, g7 as In, gh as Dn, go as _n, bc as Cn, b8 as yn, bu as fn, fK as mn, bV as Rn, aU as Pn, aV as On, gc as bn, dX as hn, fu as Ln, aC as Nn, fv as Mn, aA as Un, bf as Bn, bw as Fn, eD as vn, eB as Gn, eE as Vn, eC as Hn, g8 as Kn, aP as kn, b$ as Wn, b6 as Yn, gl as xn, aB as wn, fg as Xn, bb as qn, hy as zn, aW as jn, e_ as Jn, eO as Qn, gk as Zn, aX as $n, fV as al, gr as el, b_ as sl, bp as tl, aL as il, aN as ol, hc as rl, hb as nl, es as ll, aO as gl, gb as Tl, er as dl, aK as Sl, aE as cl, cR as pl, d0 as ul, cY as El, f8 as Al, f7 as Il, b5 as Dl, u as _l, c$ as Cl, dF as yl, cr as fl, hF as ml, aY as Rl, a_ as Pl, hE as Ol, gQ as bl, gg as hl, bq as Ll, b2 as Nl, bs as Ml, gN as Ul, hD as Bl, cu as Fl, br as vl, b0 as Gl, cw as Vl, cq as Hl, aQ as Kl, ct as kl, gS as Wl, cs as Yl, fX as xl, g4 as wl, g1 as Xl, g5 as ql, fW as zl, g0 as jl, c_ as Jl, f_ as Ql, fZ as Zl, g3 as $l, fY as ag, f$ as eg, g2 as sg, gd as tg, gU as ig, gf as og } from "./index-Db8NZveA.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ACTION_STATE,
|
|
4
4
|
t as ANSI_UP_REGEX,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-XY2lJb2K.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $e = Object.defineProperty;
|
|
2
2
|
var Ge = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var C = (e, n, i) => Ge(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as Qe } from "./index-
|
|
4
|
+
import { m as Qe } from "./index-Db8NZveA.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as i } from "./index-
|
|
1
|
+
import { m as i } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m } from "./index-
|
|
1
|
+
import { m } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var N = Object.defineProperty;
|
|
2
2
|
var M = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var _ = (e, t, r) => M(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { t as R, m as K } from "./index-
|
|
4
|
+
import { t as R, m as K } from "./index-Db8NZveA.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as r } from "./index-
|
|
1
|
+
import { m as r } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-Db8NZveA.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|