@revotech-group/revotech-ui-kit 0.1.30 → 0.1.32

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,9 +1,11 @@
1
- import { LitElement } from 'lit';
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
2
3
 
3
- export declare class AvatarFallback extends LitElement {
4
+ export declare class AvatarFallback extends BaseElement {
4
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
5
- customClass: string;
6
- customStyle: string;
6
+ spanElement: HTMLButtonElement;
7
+ protected getAttributesToRemoveFromParent(): string[];
8
+ protected firstUpdated(_changedProperties: PropertyValues): void;
7
9
  render(): import('lit').TemplateResult<1>;
8
10
  }
9
11
  declare global {
@@ -1,10 +1,12 @@
1
- import { LitElement } from 'lit';
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
2
3
 
3
- export declare class AvatarImage extends LitElement {
4
+ export declare class AvatarImage extends BaseElement {
4
5
  alt: string;
5
6
  src: string;
6
- customClass: string;
7
- customStyle: string;
7
+ imgElement: HTMLButtonElement;
8
+ protected getAttributesToRemoveFromParent(): string[];
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
8
10
  protected createRenderRoot(): HTMLElement | DocumentFragment;
9
11
  render(): import('lit').TemplateResult<1>;
10
12
  }
@@ -1,11 +1,13 @@
1
- import { LitElement } from 'lit';
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
2
3
  import { AvatarFallback } from './avatar-fallback';
3
4
  import { AvatarImage } from './avatar-image';
4
5
 
5
- declare class Avatar extends LitElement {
6
+ declare class Avatar extends BaseElement {
6
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
- customClass: string;
8
- customStyle: string;
8
+ spanElement: HTMLButtonElement;
9
+ protected getAttributesToRemoveFromParent(): string[];
10
+ protected firstUpdated(_changedProperties: PropertyValues): void;
9
11
  render(): import('lit').TemplateResult<1>;
10
12
  }
11
13
  export { Avatar, AvatarFallback, AvatarImage };
@@ -1,3 +1,3 @@
1
- export declare const avatarStyles = "rtg-relative rtg-flex rtg-h-10 rtg-w-10 rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full";
2
- export declare const avatarImageStyles = "rtg-aspect-square rtg-w-10 rtg-h-10 rtg-rounded-full";
3
- export declare const avatarFallbackStyles = "rtg-flex rtg-h-full rtg-w-full rtg-items-center rtg-justify-center rtg-rounded-full rtg-bg-muted";
1
+ export declare const avatarStyles = "rtg-relative rtg-flex rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full";
2
+ export declare const avatarImageStyles = "rtg-aspect-square rtg-w-auto rtg-h-auto rtg-rounded-full";
3
+ export declare const avatarFallbackStyles = "rtg-aspect-square rtg-h-auto rtg-w-auto rtg-rounded-full rtg-bg-muted rtg-inline-block";
@@ -1,6 +1,11 @@
1
- import { LitElement } from 'lit';
1
+ import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
 
3
- export declare class CardContent extends LitElement {
4
+ export declare class CardContent extends BaseElement {
4
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
6
+ wrapperDivElement: HTMLDivElement;
7
+ protected getAttributesToExclude(): string[];
8
+ protected getAttributesToRemoveFromParent(): string[];
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
5
10
  render(): import('lit').TemplateResult<1>;
6
11
  }
@@ -1,6 +1,11 @@
1
- import { LitElement } from 'lit';
1
+ import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
 
3
- export declare class CardDescription extends LitElement {
4
+ export declare class CardDescription extends BaseElement {
4
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
6
+ wrapperDivElement: HTMLDivElement;
7
+ protected getAttributesToExclude(): string[];
8
+ protected getAttributesToRemoveFromParent(): string[];
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
5
10
  render(): import('lit').TemplateResult<1>;
6
11
  }
@@ -1,6 +1,11 @@
1
- import { LitElement } from 'lit';
1
+ import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
 
3
- export declare class CardFooter extends LitElement {
4
+ export declare class CardFooter extends BaseElement {
4
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
6
+ wrapperDivElement: HTMLDivElement;
7
+ protected getAttributesToExclude(): string[];
8
+ protected getAttributesToRemoveFromParent(): string[];
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
5
10
  render(): import('lit').TemplateResult<1>;
6
11
  }
@@ -1,6 +1,11 @@
1
- import { LitElement } from 'lit';
1
+ import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
 
3
- export declare class CardHeader extends LitElement {
4
+ export declare class CardHeader extends BaseElement {
4
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
6
+ wrapperDivElement: HTMLDivElement;
7
+ protected getAttributesToExclude(): string[];
8
+ protected getAttributesToRemoveFromParent(): string[];
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
5
10
  render(): import('lit').TemplateResult<1>;
6
11
  }
@@ -1,6 +1,11 @@
1
- import { LitElement } from 'lit';
1
+ import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
 
3
- export declare class CardTitle extends LitElement {
4
+ export declare class CardTitle extends BaseElement {
4
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
6
+ wrapperDivElement: HTMLDivElement;
7
+ protected getAttributesToExclude(): string[];
8
+ protected getAttributesToRemoveFromParent(): string[];
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
5
10
  render(): import('lit').TemplateResult<1>;
6
11
  }
@@ -10,8 +10,7 @@ declare class Card extends BaseElement {
10
10
  wrapperDivElement: HTMLDivElement;
11
11
  protected createRenderRoot(): HTMLElement | DocumentFragment;
12
12
  protected getAttributesToExclude(): string[];
13
- customClass: string;
14
- customStyle: string;
13
+ protected getAttributesToRemoveFromParent(): string[];
15
14
  protected firstUpdated(_changedProperties: PropertyValues): void;
16
15
  render(): import('lit').TemplateResult<1>;
17
16
  }
@@ -4,8 +4,6 @@ import { BaseElement } from '../../../helpers';
4
4
 
5
5
  declare class TabContent extends BaseElement {
6
6
  value: string;
7
- customClass: string;
8
- customStyle: string;
9
7
  selectedValue: string;
10
8
  get _tab(): Tab | null;
11
9
  get _containerElement(): HTMLDivElement | null;
@@ -14,6 +12,8 @@ declare class TabContent extends BaseElement {
14
12
  disconnectedCallback(): void;
15
13
  protected createRenderRoot(): HTMLElement | DocumentFragment;
16
14
  protected firstUpdated(_changedProperties: PropertyValues): void;
15
+ protected getAttributesToExclude(): string[];
16
+ protected getAttributesToRemoveFromParent(): string[];
17
17
  render(): import('lit-element').TemplateResult<1>;
18
18
  }
19
19
  declare global {
@@ -4,12 +4,11 @@ import { Tab } from './tab';
4
4
 
5
5
  declare class TabList extends BaseElement {
6
6
  tabindex: number;
7
- customClass: string;
8
- customStyle: string;
9
7
  orientation: 'horizontal' | 'vertical';
10
8
  get _tab(): Tab | null;
11
9
  get _containerElement(): HTMLDivElement | null;
12
10
  protected getAttributesToExclude(): string[];
11
+ protected getAttributesToRemoveFromParent(): string[];
13
12
  connectedCallback(): void;
14
13
  disconnectedCallback(): void;
15
14
  changeTabs(currentValue: string): void;
@@ -7,14 +7,13 @@ declare class TabsTrigger extends BaseElement {
7
7
  defaultValue: string;
8
8
  value: string;
9
9
  onClickCallback?: (tabValue: string) => void;
10
- customClass: string;
11
- customStyle: string;
12
10
  get _tab(): Tab | null;
13
11
  get _tabList(): TabList | null;
14
12
  get _containerElement(): HTMLButtonElement | null;
15
13
  protected firstUpdated(_changedProperties: PropertyValues): void;
16
14
  handleClick: (event: Event) => void;
17
15
  protected getAttributesToExclude(): string[];
16
+ protected getAttributesToRemoveFromParent(): string[];
18
17
  protected createRenderRoot(): HTMLElement | DocumentFragment;
19
18
  get orientation(): 'horizontal' | 'vertical';
20
19
  render(): import('lit-element').TemplateResult<1>;
@@ -7,14 +7,13 @@ import { TabContent } from './tab-contents';
7
7
  declare class Tab extends BaseElement {
8
8
  defaultValue: string;
9
9
  tabindex: number;
10
- customClass: string;
11
- customStyle: string;
12
10
  orientation: 'horizontal' | 'vertical';
13
11
  get _containerElement(): HTMLDivElement | null;
14
12
  connectedCallback(): void;
15
13
  disconnectedCallback(): void;
16
14
  protected updated(_changedProperties: PropertyValues): void;
17
15
  protected getAttributesToExclude(): string[];
16
+ protected getAttributesToRemoveFromParent(): string[];
18
17
  raiseEvent(): void;
19
18
  protected createRenderRoot(): HTMLElement | DocumentFragment;
20
19
  protected firstUpdated(_changedProperties: PropertyValues): void;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent wc-ui following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "wc-ui",
6
- "version": "0.1.30",
6
+ "version": "0.1.32",
7
7
  "type": "module",
8
8
  "main": "dist/rtg-ui-kit.umd.cjs",
9
9
  "module": "./dist/rtg-ui-kit.js",