@loadsmart/miranda-wc 1.16.1 → 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.
@@ -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,2 @@
1
+ export declare function styles(): import("lit").CSSResult;
2
+ //# sourceMappingURL=close-button.styles.d.ts.map
@@ -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,3 @@
1
+ export { CloseButton } from './close-button';
2
+ export type { CloseButtonProps } from './close-button';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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,5 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class Component extends LitElement {
3
+ emit<T>(eventName: string, options?: CustomEventInit<T>): void;
4
+ }
5
+ //# sourceMappingURL=component.d.ts.map
@@ -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,2 @@
1
+ export { Component } from './component';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1 +1 @@
1
- {"version":3,"file":"tag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.styles.ts"],"names":[],"mappings":"AAOA,iBAAS,SAAS,8BA8DjB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"tag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.styles.ts"],"names":[],"mappings":"AAOA,iBAAS,SAAS,8BA+DjB;AAED,eAAe,SAAS,CAAC"}
package/dist/index.js CHANGED
@@ -1215,6 +1215,7 @@ const Fo=t=>null!=t?t:R,Vo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
1215
1215
 
1216
1216
  .tag slot[name='leading']::slotted(*) {
1217
1217
  margin-inline-end: ${Et("spacing-1")};
1218
+ vertical-align: middle;
1218
1219
  }
1219
1220
 
1220
1221
  .-size-small {