@loadsmart/miranda-wc 1.18.0 → 1.19.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-action-primary.d.ts +11 -0
- package/dist/components/banner/banner-action-primary.d.ts.map +1 -0
- package/dist/components/banner/banner-action-secondary.d.ts +11 -0
- package/dist/components/banner/banner-action-secondary.d.ts.map +1 -0
- package/dist/components/banner/banner-actions.d.ts +12 -0
- package/dist/components/banner/banner-actions.d.ts.map +1 -0
- package/dist/components/banner/banner-actions.styles.d.ts +2 -0
- package/dist/components/banner/banner-actions.styles.d.ts.map +1 -0
- package/dist/components/banner/banner-description.d.ts +12 -0
- package/dist/components/banner/banner-description.d.ts.map +1 -0
- package/dist/components/banner/banner-description.styles.d.ts +2 -0
- package/dist/components/banner/banner-description.styles.d.ts.map +1 -0
- package/dist/components/banner/banner-icon.d.ts +11 -0
- package/dist/components/banner/banner-icon.d.ts.map +1 -0
- package/dist/components/banner/banner-title.d.ts +12 -0
- package/dist/components/banner/banner-title.d.ts.map +1 -0
- package/dist/components/banner/banner-title.styles.d.ts +2 -0
- package/dist/components/banner/banner-title.styles.d.ts.map +1 -0
- package/dist/components/banner/banner.d.ts +51 -0
- package/dist/components/banner/banner.d.ts.map +1 -0
- package/dist/components/banner/banner.styles.d.ts +2 -0
- package/dist/components/banner/banner.styles.d.ts.map +1 -0
- package/dist/components/banner/index.d.ts +9 -0
- package/dist/components/banner/index.d.ts.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +776 -566
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Button } from '../button';
|
|
2
|
+
export declare class BannerActionPrimary extends Button {
|
|
3
|
+
constructor();
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'm-banner-action-primary': BannerActionPrimary;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=banner-action-primary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-action-primary.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-action-primary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,qBAAa,mBAAoB,SAAQ,MAAM;;IAOrC,iBAAiB,IAAI,IAAI;CAMlC;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,mBAAmB,CAAC;KAC/C;CACD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Button } from '../button';
|
|
2
|
+
export declare class BannerActionSecondary extends Button {
|
|
3
|
+
constructor();
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'm-banner-action-secondary': BannerActionSecondary;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=banner-action-secondary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-action-secondary.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-action-secondary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,qBAAa,qBAAsB,SAAQ,MAAM;;IAQvC,iBAAiB,IAAI,IAAI;CAMlC;AAOD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,2BAA2B,EAAE,qBAAqB,CAAC;KACnD;CACD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class BannerActions extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'm-banner-actions': BannerActions;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=banner-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-actions.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,qBAAa,aAAc,SAAQ,UAAU;IAC5C,OAAgB,MAAM,4BAAc;IAE3B,iBAAiB,IAAI,IAAI;IAOzB,MAAM;CAMf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,aAAa,CAAC;KAClC;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-actions.styles.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-actions.styles.ts"],"names":[],"mappings":"AAIA,wBAAgB,MAAM,4BAQrB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class BannerDescription extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'm-banner-description': BannerDescription;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=banner-description.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-description.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-description.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,OAAgB,MAAM,4BAAc;IAE3B,iBAAiB,IAAI,IAAI;IAOzB,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,sBAAsB,EAAE,iBAAiB,CAAC;KAC1C;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-description.styles.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-description.styles.ts"],"names":[],"mappings":"AAKA,wBAAgB,MAAM,4BAOrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class BannerIcon extends LitElement {
|
|
3
|
+
connectedCallback(): void;
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'm-banner-icon': BannerIcon;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=banner-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-icon.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvC,qBAAa,UAAW,SAAQ,UAAU;IAChC,iBAAiB,IAAI,IAAI;IAOzB,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,eAAe,EAAE,UAAU,CAAC;KAC5B;CACD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class BannerTitle extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'm-banner-title': BannerTitle;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=banner-title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-title.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,qBAAa,WAAY,SAAQ,UAAU;IAC1C,OAAgB,MAAM,4BAAc;IAE3B,iBAAiB,IAAI,IAAI;IAOzB,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,WAAW,CAAC;KAC9B;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner-title.styles.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner-title.styles.ts"],"names":[],"mappings":"AAKA,wBAAgB,MAAM,4BAOrB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { nothing, type PropertyValues } from 'lit';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import type { BannerActionPrimary } from './banner-action-primary';
|
|
4
|
+
import '../button';
|
|
5
|
+
import '../close-button';
|
|
6
|
+
import '../text';
|
|
7
|
+
export type BannerVariant = 'neutral' | 'warning' | 'danger' | 'success';
|
|
8
|
+
export interface BannerProps {
|
|
9
|
+
variant?: BannerVariant;
|
|
10
|
+
dismissible?: boolean;
|
|
11
|
+
dismissed?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class Banner extends Component {
|
|
14
|
+
#private;
|
|
15
|
+
static styles: import("lit").CSSResult[];
|
|
16
|
+
static get properties(): {
|
|
17
|
+
variant: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
dismissible: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
};
|
|
23
|
+
dismissed: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
reflect: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Determines the style. Defaults to 'neutral'.
|
|
30
|
+
*/
|
|
31
|
+
variant: BannerProps['variant'];
|
|
32
|
+
/**
|
|
33
|
+
* Determine if the banner is dismissible. It will not be dismissible if
|
|
34
|
+
* there's an action defined. Defaults to false.
|
|
35
|
+
*/
|
|
36
|
+
dismissible: BannerProps['dismissible'];
|
|
37
|
+
/**
|
|
38
|
+
* Determine if the banner was dismissed or not.
|
|
39
|
+
*/
|
|
40
|
+
dismissed: BannerProps['dismissed'];
|
|
41
|
+
constructor();
|
|
42
|
+
get primaryAction(): BannerActionPrimary | null;
|
|
43
|
+
updated(changedProperties: PropertyValues): void;
|
|
44
|
+
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
45
|
+
}
|
|
46
|
+
declare global {
|
|
47
|
+
interface HTMLElementTagNameMap {
|
|
48
|
+
'm-banner': Banner;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,WAAW,CAAC;AACnB,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AAEjB,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AA0DzE,MAAM,WAAW,WAAW;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,MAAO,SAAQ,SAAS;;IACpC,OAAgB,MAAM,4BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;MAM7B;IAED;;OAEG;IACK,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAExC;;;OAGG;IACK,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IAEhD;;OAEG;IACK,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;;IAe5C,IAAI,aAAa,IAAI,mBAAmB,GAAG,IAAI,CAM9C;IAEQ,OAAO,CAAC,iBAAiB,EAAE,cAAc;IASzC,MAAM;CA4Cf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.styles.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner.styles.ts"],"names":[],"mappings":"AAKA,wBAAgB,MAAM,4BAqErB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { BannerActionPrimary } from './banner-action-primary';
|
|
2
|
+
export { BannerActionSecondary } from './banner-action-secondary';
|
|
3
|
+
export { BannerActions } from './banner-actions';
|
|
4
|
+
export { BannerDescription } from './banner-description';
|
|
5
|
+
export { BannerIcon } from './banner-icon';
|
|
6
|
+
export { BannerTitle } from './banner-title';
|
|
7
|
+
export { Banner } from './banner';
|
|
8
|
+
export type { BannerProps, BannerVariant } from './banner';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
export * from './components/banner';
|
|
1
2
|
export * from './components/button';
|
|
2
3
|
export * from './components/card';
|
|
4
|
+
export * from './components/checkbox';
|
|
5
|
+
export * from './components/close-button';
|
|
3
6
|
export * from './components/divider';
|
|
4
7
|
export * from './components/layout';
|
|
5
8
|
export * from './components/progress-bar';
|
|
6
|
-
export * from './components/text';
|
|
7
|
-
export * from './components/toggle-group';
|
|
8
|
-
export * from './components/checkbox';
|
|
9
9
|
export * from './components/radio-group';
|
|
10
10
|
export * from './components/tag';
|
|
11
|
+
export * from './components/text';
|
|
12
|
+
export * from './components/toggle-group';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC"}
|