@loadsmart/miranda-wc 1.16.2 → 1.17.0
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/close-button/close-button.d.ts +58 -0
- package/dist/components/close-button/close-button.d.ts.map +1 -0
- package/dist/components/close-button/close-button.styles.d.ts +2 -0
- package/dist/components/close-button/close-button.styles.d.ts.map +1 -0
- package/dist/components/close-button/index.d.ts +3 -0
- package/dist/components/close-button/index.d.ts.map +1 -0
- package/dist/components/component/component.d.ts +5 -0
- package/dist/components/component/component.d.ts.map +1 -0
- package/dist/components/component/index.d.ts +2 -0
- package/dist/components/component/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/padding.d.ts +9 -7
- package/dist/styles/padding.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Component } from '../component';
|
|
2
|
+
export type CloseButtonSize = 'small' | 'default' | 'large';
|
|
3
|
+
export interface CloseButtonProps {
|
|
4
|
+
controls?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
inverted?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
size?: CloseButtonSize;
|
|
9
|
+
}
|
|
10
|
+
export declare class CloseButton extends Component {
|
|
11
|
+
#private;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
static get properties(): {
|
|
14
|
+
controls: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
};
|
|
20
|
+
inverted: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
};
|
|
23
|
+
label: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Id of the element being controlled by the close button.
|
|
32
|
+
*/
|
|
33
|
+
controls: CloseButtonProps['controls'];
|
|
34
|
+
/**
|
|
35
|
+
* Determine if the button will be disabled.
|
|
36
|
+
*/
|
|
37
|
+
disabled: CloseButtonProps['disabled'];
|
|
38
|
+
/**
|
|
39
|
+
* Determine if the button will be displayed with inverted colors.
|
|
40
|
+
*/
|
|
41
|
+
inverted: CloseButtonProps['inverted'];
|
|
42
|
+
/**
|
|
43
|
+
* Button label. Defaults to 'Close'.
|
|
44
|
+
*/
|
|
45
|
+
label: CloseButtonProps['label'];
|
|
46
|
+
/**
|
|
47
|
+
* Text field size. Defaults to 'default'.
|
|
48
|
+
*/
|
|
49
|
+
size: CloseButtonProps['size'];
|
|
50
|
+
constructor();
|
|
51
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
52
|
+
}
|
|
53
|
+
declare global {
|
|
54
|
+
interface HTMLElementTagNameMap {
|
|
55
|
+
'm-close-button': CloseButton;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=close-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-button.d.ts","sourceRoot":"","sources":["../../../src/components/close-button/close-button.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,eAAe,CAAC;CACvB;AAED,qBAAa,WAAY,SAAQ,SAAS;;IACzC,OAAgB,MAAM,4BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;;;;;;MAQ7B;IAED;;OAEG;IACK,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAE/C;;OAEG;IACK,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAE/C;;OAEG;IACK,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAE/C;;OAEG;IACK,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAEzC;;OAEG;IACK,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;;IAU9B,MAAM;CA6Bf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,WAAW,CAAC;KAC9B;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/close-button/close-button.styles.ts"],"names":[],"mappings":"AAMA,wBAAgB,MAAM,4BAyErB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/close-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/components/component/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,qBAAa,SAAU,SAAQ,UAAU;IACxC,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC;CAUvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|