@loadsmart/miranda-wc 1.26.0 → 1.27.1
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/components/banner/banner.d.ts +1 -1
- package/dist/components/button/button.d.ts +49 -7
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/index.js +534 -533
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ export declare class Banner extends Component {
|
|
|
42
42
|
constructor();
|
|
43
43
|
get primaryAction(): BannerActionPrimary | null;
|
|
44
44
|
updated(changedProperties: PropertyValues): void;
|
|
45
|
-
render(): import("lit-html").TemplateResult<1
|
|
45
|
+
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
46
46
|
}
|
|
47
47
|
declare global {
|
|
48
48
|
interface HTMLElementTagNameMap {
|
|
@@ -3,17 +3,27 @@ import { FormControl } from '../form-control';
|
|
|
3
3
|
export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'warning' | 'danger' | 'icon' | 'icon-secondary';
|
|
4
4
|
export type ButtonSize = 'small' | 'default' | 'large';
|
|
5
5
|
export type ButtonType = 'button' | 'reset' | 'submit';
|
|
6
|
+
type ButtonTarget = '_blank' | '_parent' | '_self' | '_top';
|
|
6
7
|
export interface ButtonProps {
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
loading?: boolean;
|
|
9
10
|
size?: ButtonSize;
|
|
10
11
|
type: ButtonType;
|
|
11
12
|
variant: ButtonVariant;
|
|
13
|
+
href?: string;
|
|
14
|
+
download?: string;
|
|
15
|
+
tabindex?: string;
|
|
16
|
+
target?: ButtonTarget;
|
|
12
17
|
}
|
|
13
|
-
|
|
18
|
+
declare const Button_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<import("../../mixins/polymorphic-tag/polymorphic-tag.types").PolymorphicTagInterface> & typeof FormControl;
|
|
19
|
+
export declare class Button extends Button_base {
|
|
14
20
|
#private;
|
|
15
21
|
static styles: import("lit").CSSResult[][];
|
|
16
22
|
static get properties(): {
|
|
23
|
+
role: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
reflect: boolean;
|
|
26
|
+
};
|
|
17
27
|
loading: {
|
|
18
28
|
type: BooleanConstructor;
|
|
19
29
|
};
|
|
@@ -27,9 +37,21 @@ export declare class Button extends FormControl {
|
|
|
27
37
|
size: {
|
|
28
38
|
type: StringConstructor;
|
|
29
39
|
};
|
|
40
|
+
tabindex: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
};
|
|
30
43
|
type: {
|
|
31
44
|
type: StringConstructor;
|
|
32
45
|
};
|
|
46
|
+
href: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
};
|
|
49
|
+
target: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
};
|
|
52
|
+
download: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
};
|
|
33
55
|
assignedForm: {
|
|
34
56
|
type: StringConstructor;
|
|
35
57
|
attribute: string;
|
|
@@ -38,32 +60,52 @@ export declare class Button extends FormControl {
|
|
|
38
60
|
/**
|
|
39
61
|
* The button is waiting for some operation to be finished.
|
|
40
62
|
*/
|
|
41
|
-
loading:
|
|
63
|
+
loading: ButtonProps['loading'];
|
|
42
64
|
/**
|
|
43
65
|
* Should the button be disabled.
|
|
44
66
|
*/
|
|
45
|
-
disabled:
|
|
67
|
+
disabled: ButtonProps['disabled'];
|
|
46
68
|
/**
|
|
47
69
|
* Button variant.
|
|
48
70
|
*/
|
|
49
|
-
variant:
|
|
71
|
+
variant: ButtonProps['variant'];
|
|
50
72
|
/**
|
|
51
73
|
* Button size.
|
|
52
74
|
*/
|
|
53
|
-
size:
|
|
75
|
+
size: ButtonProps['size'];
|
|
76
|
+
/**
|
|
77
|
+
* Allow making HTML elements focusable, allow or prevent them from being sequentially
|
|
78
|
+
* focusable (usually with the Tab key, hence the name) and determine their relative ordering
|
|
79
|
+
* for sequential focus navigation
|
|
80
|
+
*/
|
|
81
|
+
tabindex: ButtonProps['tabindex'];
|
|
54
82
|
/**
|
|
55
83
|
* Specifies the type of button.
|
|
56
84
|
*/
|
|
57
|
-
type:
|
|
85
|
+
type: ButtonProps['type'];
|
|
86
|
+
/**
|
|
87
|
+
* When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
|
|
88
|
+
*/
|
|
89
|
+
href: ButtonProps['href'];
|
|
90
|
+
/**
|
|
91
|
+
* Tell the browser where to open the link. Only used when `href` is set.
|
|
92
|
+
* */
|
|
93
|
+
target: ButtonProps['target'];
|
|
94
|
+
/**
|
|
95
|
+
* Causes the browser to treat the linked URL as a download. Only used when `href` is set.
|
|
96
|
+
*/
|
|
97
|
+
download: ButtonProps['download'];
|
|
58
98
|
constructor();
|
|
59
99
|
connectedCallback(): void;
|
|
60
100
|
disconnectedCallback(): void;
|
|
101
|
+
protected update(changedProperties: PropertyValues<this>): void;
|
|
61
102
|
protected updated(changedProperties: PropertyValues<this>): void;
|
|
62
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
103
|
+
render(): import("lit-html").TemplateResult<2 | 1>;
|
|
63
104
|
}
|
|
64
105
|
declare global {
|
|
65
106
|
interface HTMLElementTagNameMap {
|
|
66
107
|
'm-button': Button;
|
|
67
108
|
}
|
|
68
109
|
}
|
|
110
|
+
export {};
|
|
69
111
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKnD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,WAAW,GACX,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CAAC;IAEtC;;OAEG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;;IAejC,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;cAMlB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cASrD,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQhE,MAAM;CA8Ff;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-bar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AAQA,iBAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"progress-bar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AAQA,iBAAS,MAAM,4BAqDd;AAED,eAAe,MAAM,CAAC"}
|