@loadsmart/miranda-wc 1.19.0 → 1.20.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.
@@ -1,11 +1,14 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { type ColorToken } from '@loadsmart/miranda-tokens';
3
3
  import type { TypographyVariant } from '../../styles/typography';
4
+ import type { HTMLTag } from '../../mixins/polymorphic-tag';
4
5
  export interface TextProps {
5
6
  variant?: TypographyVariant;
6
7
  color?: ColorToken;
8
+ as?: HTMLTag;
7
9
  }
8
- export declare class Text extends LitElement {
10
+ declare const Text_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<import("../../mixins/polymorphic-tag/polymorphic-tag.types").PolymorphicTagInterface> & typeof LitElement;
11
+ export declare class Text extends Text_base {
9
12
  static styles: import("lit").CSSResult[];
10
13
  static get properties(): {
11
14
  variant: {
@@ -27,11 +30,12 @@ export declare class Text extends LitElement {
27
30
  */
28
31
  color: ColorToken;
29
32
  constructor();
30
- render(): import("lit-html").TemplateResult<1>;
33
+ render(): import("lit-html").TemplateResult<2 | 1>;
31
34
  }
32
35
  declare global {
33
36
  interface HTMLElementTagNameMap {
34
37
  'm-text': Text;
35
38
  }
36
39
  }
40
+ export {};
37
41
  //# sourceMappingURL=text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/text/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,EAAE,KAAK,UAAU,EAAc,MAAM,2BAA2B,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,MAAM,WAAW,SAAS;IACzB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,UAAU,CAAC;CACnB;AAED,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,4BAA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