@loadsmart/miranda-wc 1.33.1 → 1.35.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.
Files changed (44) hide show
  1. package/dist/components/layout/base-layout/base-layout.d.ts +1 -1
  2. package/dist/components/layout/base-layout/base-layout.d.ts.map +1 -1
  3. package/dist/components/layout/base-layout/base-layout.styles.d.ts +1 -1
  4. package/dist/components/layout/base-layout/base-layout.styles.d.ts.map +1 -1
  5. package/dist/components/layout/base-layout/index.d.ts +4 -0
  6. package/dist/components/layout/base-layout/index.d.ts.map +1 -0
  7. package/dist/components/layout/box/box.d.ts +3 -1
  8. package/dist/components/layout/box/box.d.ts.map +1 -1
  9. package/dist/components/layout/grid/grid.d.ts +3 -1
  10. package/dist/components/layout/grid/grid.d.ts.map +1 -1
  11. package/dist/components/layout/group/group.d.ts +3 -1
  12. package/dist/components/layout/group/group.d.ts.map +1 -1
  13. package/dist/components/layout/sidebar/sidebar.d.ts +3 -1
  14. package/dist/components/layout/sidebar/sidebar.d.ts.map +1 -1
  15. package/dist/components/layout/stack/stack.d.ts +3 -1
  16. package/dist/components/layout/stack/stack.d.ts.map +1 -1
  17. package/dist/components/layout/switcher/switcher.d.ts +3 -1
  18. package/dist/components/layout/switcher/switcher.d.ts.map +1 -1
  19. package/dist/components/tabs/index.d.ts +5 -0
  20. package/dist/components/tabs/index.d.ts.map +1 -0
  21. package/dist/components/tabs/tab-panel.d.ts +86 -0
  22. package/dist/components/tabs/tab-panel.d.ts.map +1 -0
  23. package/dist/components/tabs/tab-panel.styles.d.ts +3 -0
  24. package/dist/components/tabs/tab-panel.styles.d.ts.map +1 -0
  25. package/dist/components/tabs/tab.d.ts +41 -0
  26. package/dist/components/tabs/tab.d.ts.map +1 -0
  27. package/dist/components/tabs/tab.styles.d.ts +3 -0
  28. package/dist/components/tabs/tab.styles.d.ts.map +1 -0
  29. package/dist/components/tabs/tabs.constants.d.ts +2 -0
  30. package/dist/components/tabs/tabs.constants.d.ts.map +1 -0
  31. package/dist/components/tabs/tabs.context.d.ts +6 -0
  32. package/dist/components/tabs/tabs.context.d.ts.map +1 -0
  33. package/dist/components/tabs/tabs.d.ts +66 -0
  34. package/dist/components/tabs/tabs.d.ts.map +1 -0
  35. package/dist/components/tabs/tabs.styles.d.ts +3 -0
  36. package/dist/components/tabs/tabs.styles.d.ts.map +1 -0
  37. package/dist/components/tabs/tabs.types.d.ts +54 -0
  38. package/dist/components/tabs/tabs.types.d.ts.map +1 -0
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +658 -533
  42. package/dist/index.js.map +1 -1
  43. package/dist/styles/focusable.d.ts.map +1 -1
  44. package/package.json +1 -1
@@ -2,7 +2,6 @@ import { LitElement, type PropertyValues } from 'lit';
2
2
  import type { BaseLayoutProps } from './base-layout.types';
3
3
  export declare class BaseLayout extends LitElement {
4
4
  #private;
5
- static styles: import("lit").CSSResult[];
6
5
  static get properties(): {
7
6
  padding: {
8
7
  type: StringConstructor;
@@ -39,6 +38,7 @@ export declare class BaseLayout extends LitElement {
39
38
  paddingB: BaseLayoutProps['paddingB'];
40
39
  paddingL: BaseLayoutProps['paddingL'];
41
40
  paddingR: BaseLayoutProps['paddingR'];
41
+ getCSSPropertiesPrefix(): string;
42
42
  protected update(changedProperties: PropertyValues<BaseLayoutProps>): void;
43
43
  render(): import("lit-html").TemplateResult<1>;
44
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"base-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,qBAAa,UAAW,SAAQ,UAAU;;IACzC,OAAgB,MAAM,4BAAwB;IAE9C,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU7B;IAEO,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IAEpC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;cAE3B,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,eAAe,CAAC,GAChD,IAAI;IA6BE,MAAM;CAcf"}
1
+ {"version":3,"file":"base-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAM5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,qBAAa,UAAW,SAAQ,UAAU;;IACzC,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU7B;IAEO,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IAEpC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAEtC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAG9C,sBAAsB,IAAI,MAAM;cAIb,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,eAAe,CAAC,GAChD,IAAI;IAiDE,MAAM;CAcf"}
@@ -1,2 +1,2 @@
1
- export declare function baseLayoutStyles(): import("lit").CSSResult;
1
+ export declare function getBaseLayoutStyles(cssPropertiesPrefix: string): import("lit").CSSResult;
2
2
  //# sourceMappingURL=base-layout.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-layout.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.styles.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,4BAqB/B"}
1
+ {"version":3,"file":"base-layout.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/base-layout.styles.ts"],"names":[],"mappings":"AAEA,wBAAgB,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,2BAiC9D"}
@@ -0,0 +1,4 @@
1
+ export { BaseLayout } from './base-layout';
2
+ export { getBaseLayoutStyles } from './base-layout.styles';
3
+ export type { BaseLayoutProps } from './base-layout.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/base-layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { type PropertyValues } from 'lit';
2
+ import { BaseLayout } from '../base-layout';
2
3
  import type { BoxProps } from './box.types';
3
- import { BaseLayout } from '../base-layout/base-layout';
4
4
  export declare class Box extends BaseLayout {
5
+ protected static CSSPropertiesPrefix: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static get properties(): {
7
8
  backgroundColor: {
@@ -58,6 +59,7 @@ export declare class Box extends BaseLayout {
58
59
  borderColor: BoxProps['borderColor'];
59
60
  textAlign: BoxProps['textAlign'];
60
61
  constructor();
62
+ getCSSPropertiesPrefix(): string;
61
63
  protected update(changedProperties: PropertyValues<BoxProps>): void;
62
64
  render(): import("lit-html").TemplateResult<1>;
63
65
  }
@@ -1 +1 @@
1
- {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,GAAI,SAAQ,UAAU;IAClC,OAAgB,MAAM,4BAAkC;IAExD,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAE7C,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAEvC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAErC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAErC,SAAS,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;;cAYtB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI;IAuCnE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,OAAO,EAAE,GAAG,CAAC;KACb;CACD"}
1
+ {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAuB,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,qBAAa,GAAI,SAAQ,UAAU;IAClC,SAAS,CAAC,MAAM,CAAC,mBAAmB,SAAS;IAE7C,OAAgB,MAAM,4BAGpB;IAEF,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAE7C,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAEvC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAErC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAErC,SAAS,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;;IAahC,sBAAsB,IAAI,MAAM;cAItB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI;IAuCnE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,OAAO,EAAE,GAAG,CAAC;KACb;CACD"}
@@ -1,7 +1,8 @@
1
1
  import { type PropertyValues } from 'lit';
2
+ import { BaseLayout } from '../base-layout';
2
3
  import type { GridProps } from './grid.types';
3
- import { BaseLayout } from '../base-layout/base-layout';
4
4
  export declare class Grid extends BaseLayout {
5
+ protected static CSSPropertiesPrefix: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static get properties(): {
7
8
  gap: {
@@ -52,6 +53,7 @@ export declare class Grid extends BaseLayout {
52
53
  columnGap: GridProps['columnGap'];
53
54
  minColumnWidth: GridProps['minColumnWidth'];
54
55
  constructor();
56
+ getCSSPropertiesPrefix(): string;
55
57
  protected update(changedProperties: PropertyValues<GridProps>): void;
56
58
  render(): import("lit-html").TemplateResult<1>;
57
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,4BAAmC;IAEzD,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ7B;IAEO,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAEtB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAE5B,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAElC,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;;cASjC,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,SAAS,CAAC,GAC1C,IAAI;IAqCE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
1
+ {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAuB,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,qBAAa,IAAK,SAAQ,UAAU;IACnC,SAAS,CAAC,MAAM,CAAC,mBAAmB,SAAU;IAE9C,OAAgB,MAAM,4BAGpB;IAEF,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ7B;IAEO,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAEtB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAE5B,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAElC,cAAc,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;;IAU3C,sBAAsB,IAAI,MAAM;cAItB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,SAAS,CAAC,GAC1C,IAAI;IAqCE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
@@ -1,7 +1,8 @@
1
1
  import { type PropertyValues } from 'lit';
2
+ import { BaseLayout } from '../base-layout';
2
3
  import type { GroupProps } from './group.types';
3
- import { BaseLayout } from '../base-layout/base-layout';
4
4
  export declare class Group extends BaseLayout {
5
+ protected static CSSPropertiesPrefix: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static get properties(): {
7
8
  gap: {
@@ -45,6 +46,7 @@ export declare class Group extends BaseLayout {
45
46
  align: GroupProps['align'];
46
47
  justify: GroupProps['justify'];
47
48
  constructor();
49
+ getCSSPropertiesPrefix(): string;
48
50
  protected update(changedProperties: PropertyValues<GroupProps>): void;
49
51
  render(): import("lit-html").TemplateResult<1>;
50
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,KAAM,SAAQ,UAAU;IACpC,OAAgB,MAAM,4BAAoC;IAE1D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;cAUpB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAC3C,IAAI;IAiBE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/group/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAuB,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,qBAAa,KAAM,SAAQ,UAAU;IACpC,SAAS,CAAC,MAAM,CAAC,mBAAmB,SAAW;IAE/C,OAAgB,MAAM,4BAGpB;IAEF,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;IAW9B,sBAAsB,IAAI,MAAM;cAItB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAC3C,IAAI;IAiBE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
@@ -1,7 +1,8 @@
1
1
  import { type PropertyValues } from 'lit';
2
+ import { BaseLayout } from '../base-layout';
2
3
  import type { SidebarProps } from './sidebar.types';
3
- import { BaseLayout } from '../base-layout/base-layout';
4
4
  export declare class Sidebar extends BaseLayout {
5
+ protected static CSSPropertiesPrefix: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static get properties(): {
7
8
  gap: {
@@ -51,6 +52,7 @@ export declare class Sidebar extends BaseLayout {
51
52
  minContentWidth: SidebarProps['minContentWidth'];
52
53
  reversed: SidebarProps['reversed'];
53
54
  constructor();
55
+ getCSSPropertiesPrefix(): string;
54
56
  protected update(changedProperties: PropertyValues<SidebarProps>): void;
55
57
  render(): import("lit-html").TemplateResult<1>;
56
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,OAAQ,SAAQ,UAAU;IACtC,OAAgB,MAAM,4BAAsC;IAE5D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ7B;IAEO,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;IAEzB,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAErC,eAAe,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAEjD,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;;cAWxB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,YAAY,CAAC,GAC7C,IAAI;IA6BE,MAAM;CAMf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,OAAO,CAAC;KACrB;CACD"}
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAuB,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAIpD,qBAAa,OAAQ,SAAQ,UAAU;IACtC,SAAS,CAAC,MAAM,CAAC,mBAAmB,SAAa;IAEjD,OAAgB,MAAM,4BAGpB;IAEF,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ7B;IAEO,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;IAEzB,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAErC,eAAe,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAEjD,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;;IAYlC,sBAAsB,IAAI,MAAM;cAItB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,YAAY,CAAC,GAC7C,IAAI;IA6BE,MAAM;CAMf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,OAAO,CAAC;KACrB;CACD"}
@@ -1,7 +1,8 @@
1
1
  import { type PropertyValues } from 'lit';
2
+ import { BaseLayout } from '../base-layout';
2
3
  import type { StackProps } from './stack.types';
3
- import { BaseLayout } from '../base-layout/base-layout';
4
4
  export declare class Stack extends BaseLayout {
5
+ protected static CSSPropertiesPrefix: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static get properties(): {
7
8
  gap: {
@@ -45,6 +46,7 @@ export declare class Stack extends BaseLayout {
45
46
  align: StackProps['align'];
46
47
  justify: StackProps['justify'];
47
48
  constructor();
49
+ getCSSPropertiesPrefix(): string;
48
50
  protected update(changedProperties: PropertyValues<StackProps>): void;
49
51
  render(): import("lit-html").TemplateResult<1>;
50
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,KAAM,SAAQ,UAAU;IACpC,OAAgB,MAAM,4BAAoC;IAE1D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;cAUpB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAC3C,IAAI;IAiBE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
1
+ {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAuB,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,qBAAa,KAAM,SAAQ,UAAU;IACpC,SAAS,CAAC,MAAM,CAAC,mBAAmB,SAAW;IAE/C,OAAgB,MAAM,4BAGpB;IAEF,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAO7B;IAEO,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAEvB,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;;IAW9B,sBAAsB,IAAI,MAAM;cAItB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,UAAU,CAAC,GAC3C,IAAI;IAiBE,MAAM;CAGf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
@@ -1,7 +1,8 @@
1
1
  import { type PropertyValues } from 'lit';
2
+ import { BaseLayout } from '../base-layout';
2
3
  import type { SwitcherProps } from './switcher.types';
3
- import { BaseLayout } from '../base-layout/base-layout';
4
4
  export declare class Switcher extends BaseLayout {
5
+ protected static CSSPropertiesPrefix: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static get properties(): {
7
8
  gap: {
@@ -55,6 +56,7 @@ export declare class Switcher extends BaseLayout {
55
56
  threshold: SwitcherProps['threshold'];
56
57
  limit: SwitcherProps['limit'];
57
58
  constructor();
59
+ getCSSPropertiesPrefix(): string;
58
60
  protected update(changedProperties: PropertyValues<SwitcherProps>): void;
59
61
  render(): import("lit-html").TemplateResult<1>;
60
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,qBAAa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,4BAAuC;IAE7D,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAE1B,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhC,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;;cASnB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,aAAa,CAAC,GAC9C,IAAI;IAqCE,MAAM;CAmBf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,QAAQ,CAAC;KACvB;CACD"}
1
+ {"version":3,"file":"switcher.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/switcher/switcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAuB,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,qBAAa,QAAS,SAAQ,UAAU;IACvC,SAAS,CAAC,MAAM,CAAC,mBAAmB,SAAc;IAElD,OAAgB,MAAM,4BAGpB;IAEF,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS7B;IAEO,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAE1B,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhC,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;;IAU7B,sBAAsB,IAAI,MAAM;cAItB,MAAM,CACxB,iBAAiB,EAAE,cAAc,CAAC,aAAa,CAAC,GAC9C,IAAI;IAqCE,MAAM;CAmBf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,QAAQ,CAAC;KACvB;CACD"}
@@ -0,0 +1,5 @@
1
+ export { Tabs } from './tabs';
2
+ export { Tab } from './tab';
3
+ export { TabPanel } from './tab-panel';
4
+ export type { TabsProps, TabProps, TabPanelProps, TabContentDirection, TabChangeEventDetail, } from './tabs.types';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,YAAY,EACX,SAAS,EACT,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,86 @@
1
+ import { type PropertyValues } from 'lit';
2
+ import type { TabPanelProps } from './tabs.types';
3
+ import { Box } from '../layout';
4
+ export declare class TabPanel extends Box {
5
+ #private;
6
+ static styles: import("lit").CSSResult[];
7
+ static get properties(): {
8
+ forTab: {
9
+ type: StringConstructor;
10
+ attribute: string;
11
+ };
12
+ lazy: {
13
+ type: BooleanConstructor;
14
+ };
15
+ backgroundColor: {
16
+ type: StringConstructor;
17
+ attribute: string;
18
+ };
19
+ borderRadius: {
20
+ type: StringConstructor;
21
+ attribute: string;
22
+ };
23
+ borderWidth: {
24
+ type: StringConstructor;
25
+ attribute: string;
26
+ };
27
+ borderColor: {
28
+ type: StringConstructor;
29
+ attribute: string;
30
+ };
31
+ textAlign: {
32
+ type: StringConstructor;
33
+ attribute: string;
34
+ };
35
+ padding: {
36
+ type: StringConstructor;
37
+ };
38
+ paddingX: {
39
+ type: StringConstructor;
40
+ attribute: string;
41
+ };
42
+ paddingY: {
43
+ type: StringConstructor;
44
+ attribute: string;
45
+ };
46
+ paddingT: {
47
+ type: StringConstructor;
48
+ /**
49
+ * The name of the tab that controls this panel.
50
+ */
51
+ attribute: string;
52
+ };
53
+ paddingB: {
54
+ type: StringConstructor;
55
+ attribute: string;
56
+ };
57
+ paddingL: {
58
+ type: StringConstructor;
59
+ attribute: string;
60
+ };
61
+ paddingR: {
62
+ type: StringConstructor;
63
+ attribute: string;
64
+ };
65
+ };
66
+ /**
67
+ * The name of the tab that controls this panel.
68
+ */
69
+ forTab: TabPanelProps['forTab'];
70
+ /**
71
+ * If set to true, the content will only be rendered if the tab is selected.
72
+ * Otherwise it's just hidden.
73
+ */
74
+ lazy: TabPanelProps['lazy'];
75
+ private tabs;
76
+ constructor();
77
+ connectedCallback(): void;
78
+ protected updated(changedProperties: PropertyValues<this>): void;
79
+ render(): import("lit-html").TemplateResult<1>;
80
+ }
81
+ declare global {
82
+ interface HTMLElementTagNameMap {
83
+ 'm-tab-panel': TabPanel;
84
+ }
85
+ }
86
+ //# sourceMappingURL=tab-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-panel.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tab-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,qBAAa,QAAS,SAAQ,GAAG;;IAChC,OAAgB,MAAM,4BAA+B;IAErD,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAQ9B;;eAEG;;;;;;;;;;;;;;;MAJF;IAED;;OAEG;IACK,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAExC;;;OAGG;IACK,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAEpC,OAAO,CAAC,IAAI,CAA2D;;IAU9D,iBAAiB,IAAI,IAAI;cAQf,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAiBhE,MAAM;CAcf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,QAAQ,CAAC;KACxB;CACD"}
@@ -0,0 +1,3 @@
1
+ declare function styles(): import("lit").CSSResult;
2
+ export default styles;
3
+ //# sourceMappingURL=tab-panel.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-panel.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tab-panel.styles.ts"],"names":[],"mappings":"AAEA,iBAAS,MAAM,4BAQd;AAED,eAAe,MAAM,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { type PropertyValues } from 'lit';
2
+ import { Component } from '../component';
3
+ import type { TabProps } from './tabs.types';
4
+ export declare class Tab extends Component {
5
+ #private;
6
+ static styles: import("lit").CSSResult[];
7
+ static get properties(): {
8
+ name: {
9
+ type: StringConstructor;
10
+ };
11
+ disabled: {
12
+ type: BooleanConstructor;
13
+ reflect: boolean;
14
+ };
15
+ slot: {
16
+ type: StringConstructor;
17
+ reflect: boolean;
18
+ };
19
+ };
20
+ slot: string;
21
+ /**
22
+ * Name of the tab, raised with the event.
23
+ */
24
+ name: TabProps['name'];
25
+ /**
26
+ * Should the button be disabled.
27
+ */
28
+ disabled: TabProps['disabled'];
29
+ private tabs;
30
+ constructor();
31
+ connectedCallback(): void;
32
+ protected updated(changedProperties: PropertyValues<this>): void;
33
+ render(): import("lit-html").TemplateResult<1>;
34
+ focus(options?: FocusOptions | undefined): void;
35
+ }
36
+ declare global {
37
+ interface HTMLElementTagNameMap {
38
+ 'm-tab': Tab;
39
+ }
40
+ }
41
+ //# sourceMappingURL=tab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,OAAO,KAAK,EAAE,QAAQ,EAAe,MAAM,cAAc,CAAC;AAG1D,qBAAa,GAAI,SAAQ,SAAS;;IACjC,OAAgB,MAAM,4BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;;MAM7B;IAEO,IAAI,EAAE,MAAM,CAAC;IAErB;;OAEG;IACK,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE/B;;OAEG;IACK,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAEvC,OAAO,CAAC,IAAI,CAA2D;;IAQ9D,iBAAiB,IAAI,IAAI;cAWf,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAmBhE,MAAM;IAmBN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CAmCxD;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,OAAO,EAAE,GAAG,CAAC;KACb;CACD"}
@@ -0,0 +1,3 @@
1
+ declare function styles(): import("lit").CSSResult;
2
+ export default styles;
3
+ //# sourceMappingURL=tab.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tab.styles.ts"],"names":[],"mappings":"AAKA,iBAAS,MAAM,4BAsFd;AAED,eAAe,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TAB_SELECT_EVENT = "m-select-tab";
2
+ //# sourceMappingURL=tabs.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.constants.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,iBAAiB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { TabsContext } from './tabs.types';
2
+ declare const tabsContext: {
3
+ __context__: TabsContext;
4
+ };
5
+ export default tabsContext;
6
+ //# sourceMappingURL=tabs.context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.context.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,QAAA,MAAM,WAAW;;CAAqC,CAAC;AAEvD,eAAe,WAAW,CAAC"}
@@ -0,0 +1,66 @@
1
+ import { type PropertyValues } from 'lit';
2
+ import type { SelectionState, SelectionType } from '../../controllers/selection';
3
+ import { Component } from '../component';
4
+ import type { TabsProps } from './tabs.types';
5
+ export declare class Tabs extends Component {
6
+ #private;
7
+ static styles: import("lit").CSSResult[];
8
+ static get properties(): {
9
+ activeTab: {
10
+ type: StringConstructor;
11
+ attribute: string;
12
+ reflect: boolean;
13
+ };
14
+ disabled: {
15
+ type: BooleanConstructor;
16
+ reflect: boolean;
17
+ };
18
+ lazy: {
19
+ type: BooleanConstructor;
20
+ };
21
+ selection: {
22
+ state: boolean;
23
+ };
24
+ tabContentDirection: {
25
+ type: StringConstructor;
26
+ attribute: string;
27
+ };
28
+ };
29
+ /**
30
+ * Controlled value of the selected tab.
31
+ */
32
+ activeTab: TabsProps['activeTab'];
33
+ /**
34
+ * Direction of the tabs content.
35
+ */
36
+ tabContentDirection: TabsProps['tabContentDirection'];
37
+ /**
38
+ * Should the tabs be disabled.
39
+ */
40
+ disabled: TabsProps['disabled'];
41
+ /**
42
+ * If set to true, the tab-panels content will only be rendered if the tab is selected.
43
+ * Otherwise it's just hidden.
44
+ */
45
+ lazy: TabsProps['lazy'];
46
+ /**
47
+ * Type of selection to be managed.
48
+ * It is necessary due to elegibility as a SelectionHost for the SelectionController.
49
+ */
50
+ type: SelectionType;
51
+ /**
52
+ * Inner tab selection state.
53
+ */
54
+ selection: SelectionState;
55
+ private provider;
56
+ constructor();
57
+ connectedCallback(): void;
58
+ protected update(changedProperties: PropertyValues<this>): void;
59
+ render(): import("lit-html").TemplateResult<1>;
60
+ }
61
+ declare global {
62
+ interface HTMLElementTagNameMap {
63
+ 'm-tabs': Tabs;
64
+ }
65
+ }
66
+ //# sourceMappingURL=tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,qBAAa,IAAK,SAAQ,SAAS;;IAClC,OAAgB,MAAM,4BAAc;IAMpC,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;MAQ7B;IAED;;OAEG;IACK,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAE1C;;OAEG;IACK,mBAAmB,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAC;IAE9D;;OAEG;IACK,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAExC;;;OAGG;IACK,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC;;;OAGG;IACK,IAAI,EAAE,aAAa,CAAC;IAE5B;;OAEG;IACK,SAAS,EAAE,cAAc,CAAC;IAElC,OAAO,CAAC,QAAQ,CAKb;;IAaM,iBAAiB,IAAI,IAAI;cAYf,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAiC/D,MAAM;CAoCf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
@@ -0,0 +1,3 @@
1
+ declare function styles(): import("lit").CSSResult;
2
+ export default styles;
3
+ //# sourceMappingURL=tabs.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.styles.ts"],"names":[],"mappings":"AAIA,iBAAS,MAAM,4BAgBd;AAED,eAAe,MAAM,CAAC"}
@@ -0,0 +1,54 @@
1
+ import type { AcceptedType, SelectionState } from '../../controllers/selection';
2
+ export type TabContentDirection = 'vertical' | 'horizontal';
3
+ export type TabChangeEventDetail = {
4
+ value: SelectionState;
5
+ };
6
+ export type TabsProps = {
7
+ /**
8
+ * Controlled value of the selected tab.
9
+ */
10
+ activeTab?: AcceptedType;
11
+ /**
12
+ * Direction of the tabs content.
13
+ * @default 'horizontal'
14
+ */
15
+ tabContentDirection?: TabContentDirection;
16
+ /**
17
+ * Should the tabs be disabled.
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * If set to true, the tab-panels content will only be rendered if the tab is selected.
22
+ * Otherwise it's just hidden.
23
+ */
24
+ lazy?: boolean;
25
+ /**
26
+ * Event triggered on tab change.
27
+ */
28
+ 'm-tab-change'?: (event: CustomEvent<TabChangeEventDetail>) => void;
29
+ };
30
+ export type TabProps = {
31
+ /**
32
+ * Name of the tab, raised with the event.
33
+ */
34
+ name: string;
35
+ /**
36
+ * Should the tab be disabled.
37
+ */
38
+ disabled?: boolean;
39
+ };
40
+ export type TabPanelProps = {
41
+ /**
42
+ * The name of the tab that controls this panel.
43
+ */
44
+ forTab: string;
45
+ /**
46
+ * If set to true, the content will only be rendered if the tab is selected.
47
+ * Otherwise it's just hidden.
48
+ */
49
+ lazy?: boolean;
50
+ };
51
+ export type TabsContext = Pick<TabsProps, 'tabContentDirection' | 'disabled' | 'lazy'> & {
52
+ selection: SelectionState;
53
+ };
54
+ //# sourceMappingURL=tabs.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.types.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,YAAY,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG;IAClC,KAAK,EAAE,cAAc,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,IAAI,CAC7B,SAAS,EACT,qBAAqB,GAAG,UAAU,GAAG,MAAM,CAC3C,GAAG;IACH,SAAS,EAAE,cAAc,CAAC;CAC1B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './components/layout';
10
10
  export * from './components/progress-bar';
11
11
  export * from './components/progress-bar-countdown';
12
12
  export * from './components/radio-group';
13
+ export * from './components/tabs';
13
14
  export * from './components/tag';
14
15
  export * from './components/text';
15
16
  export * from './components/text-field';
@@ -1 +1 @@
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,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,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,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}