revotech-ui-kit 0.0.31 → 0.0.33

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, PropertyValues } from 'lit-element';
2
- import { Accordion } from './accordion.atoms';
2
+ import { Accordion, AccordionItem } from './accordion.atoms';
3
3
  declare class AccordionContent extends LitElement {
4
4
  value: string;
5
5
  selectedValue: string;
6
6
  static styles: import("lit-element").CSSResult[];
7
- get _accordion(): Accordion | null;
8
7
  protected updated(_changedProperties: PropertyValues): void;
8
+ protected firstUpdated(_changedProperties: PropertyValues): void;
9
+ get _accordion(): Accordion | null;
10
+ get _item(): AccordionItem | null;
11
+ hasActiveState(): Boolean;
9
12
  render(): import("lit-html").TemplateResult<1>;
10
13
  }
11
14
  export { AccordionContent };
@@ -1,11 +1,15 @@
1
+ import { PropertyValues } from 'lit-element';
1
2
  import { BaseElement } from '../../../helpers';
3
+ import { Accordion, AccordionItem } from './accordion.atoms';
2
4
  declare class AccordionTrigger extends BaseElement {
3
- defaultValue: string;
4
- value: string;
5
5
  onClickCallback?: (tabValue: string) => void;
6
6
  static styles: import("lit-element").CSSResult[];
7
7
  connectedCallback(): void;
8
+ protected firstUpdated(_changedProperties: PropertyValues): void;
8
9
  protected getAttributesToExclude(): string[];
10
+ get _accordion(): Accordion | null;
11
+ get _item(): AccordionItem | null;
12
+ hasActiveState(): Boolean;
9
13
  render(): import("lit-html").TemplateResult<1>;
10
14
  }
11
15
  export { AccordionTrigger };
@@ -1,6 +1,7 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
2
  export declare class HoverContent extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
+ twClass: string;
4
5
  state: string;
5
6
  isOpen: boolean;
6
7
  connectedCallback(): void;
@@ -9,3 +10,8 @@ export declare class HoverContent extends LitElement {
9
10
  handleHoverEnter(event: MouseEvent): void;
10
11
  render(): import("lit-html").TemplateResult<1>;
11
12
  }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-hover-card-content': HoverContent;
16
+ }
17
+ }
@@ -1,6 +1,7 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
2
  export declare class HoverCard extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
+ twClass: string;
4
5
  isOpen: boolean;
5
6
  handleMouseEnter(): void;
6
7
  handleMouseLeave(): void;
@@ -10,3 +11,8 @@ export declare class HoverCard extends LitElement {
10
11
  disconnectedCallback(): void;
11
12
  render(): import("lit-html").TemplateResult<1>;
12
13
  }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'rtg-hover-card': HoverCard;
17
+ }
18
+ }
@@ -1,11 +1,15 @@
1
+ export * from './accordion/accordion.atoms';
2
+ export * from './alert/alert.atom';
3
+ export * from './aspect-ratio/aspect-ratio-atom';
1
4
  export * from './avatar/avatar.atom';
2
5
  export * from './avatar/avatar-fallback';
3
6
  export * from './avatar/avatar-image';
4
7
  export * from './button/button.atom';
8
+ export * from './badge/badge.atom';
9
+ export * from './card/card.atom';
10
+ export * from './collapsible/collapsible.atom';
5
11
  export * from './checkbox/checkbox.atom';
6
- export * from './dialog/dialog.atom';
7
- export * from './input/input.atom';
8
- export * from './label/label.atom';
12
+ export * from './context-menu/context-menu.atom';
9
13
  export * from './command/command.atom';
10
14
  export * from './command/command-empty.atom';
11
15
  export * from './command/command-group.atom';
@@ -13,19 +17,18 @@ export * from './command/command-input.atom';
13
17
  export * from './command/command-item.atom';
14
18
  export * from './command/command-list.atom';
15
19
  export * from './command/command-separator.atom';
16
- export * from './card/card.atom';
17
- export * from './popover/popover.atom';
18
- export * from './alert/alert.atom';
19
- export * from './badge/badge.atom';
20
20
  export * from './combobox/combo-box.atom';
21
+ export * from './dialog/dialog.atom';
21
22
  export * from './dropdown-menu/dropdown-menu.atom';
22
- export * from './toggle/toggle.atom';
23
- export * from './context-menu/context-menu.atom';
24
- export * from './select/select.atom';
25
- export * from './switch/switch.atom';
23
+ export * from './hoverCard/hover-card.atom';
24
+ export * from './input/input.atom';
25
+ export * from './label/label.atom';
26
+ export * from './popover/popover.atom';
26
27
  export * from './radio-group/radio-group.atom';
27
- export * from './accordion/accordion.atoms';
28
+ export * from './select/select.atom';
28
29
  export * from './seperator/separator.atom';
30
+ export * from './switch/switch.atom';
31
+ export * from './textarea/textarea.atom';
32
+ export * from './toast/toast.atom';
33
+ export * from './toggle/toggle.atom';
29
34
  export * from './sample-demo/sample-demo';
30
- export * from './collapsible/collapsible.atom';
31
- export * from './aspect-ratio/aspect-ratio-atom';
@@ -2,6 +2,7 @@ import { LitElement } from 'lit';
2
2
  import { RadioGroupItem } from './radio-group-item';
3
3
  declare class RadioGroup extends LitElement {
4
4
  static styles: import("lit").CSSResult[];
5
+ twClass: string;
5
6
  connectedCallback(): void;
6
7
  private _handleRadioSelected;
7
8
  render(): import("lit-html").TemplateResult<1>;
@@ -2,6 +2,7 @@ import { BaseElement } from '../../../helpers';
2
2
  import { SEPARATOR_ORIENTATION } from './separator.defs';
3
3
  export declare class Separator extends BaseElement {
4
4
  orientation: SEPARATOR_ORIENTATION;
5
+ twClass: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  protected getAttributesToExclude(): string[];
7
8
  render(): import("lit-html").TemplateResult<1>;
@@ -2,6 +2,7 @@ import { LitElement } from 'lit';
2
2
  export declare class Switch extends LitElement {
3
3
  checked: boolean;
4
4
  disabled: boolean;
5
+ twClass: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  private _toggleChecked;
7
8
  render(): import("lit-html").TemplateResult<1>;
@@ -15,3 +15,8 @@ export declare class TextArea extends BaseElement {
15
15
  protected getAttributesToExclude(): string[];
16
16
  render(): import("lit-html").TemplateResult<1>;
17
17
  }
18
+ declare global {
19
+ interface HTMLElementTagNameMap {
20
+ 'rtg-textarea': TextArea;
21
+ }
22
+ }
@@ -12,3 +12,8 @@ export declare class ToastAction extends LitElement {
12
12
  };
13
13
  render(): import("lit-html").TemplateResult<1>;
14
14
  }
15
+ declare global {
16
+ interface HTMLElementTagNameMap {
17
+ 'rtg-toast-action': ToastAction;
18
+ }
19
+ }
@@ -3,3 +3,8 @@ export declare class ToastDescription extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
4
  render(): import("lit-html").TemplateResult<1>;
5
5
  }
6
+ declare global {
7
+ interface HTMLElementTagNameMap {
8
+ 'rtg-toast-description': ToastDescription;
9
+ }
10
+ }
@@ -3,3 +3,8 @@ export declare class ToastTitle extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
4
  render(): import("lit-html").TemplateResult<1>;
5
5
  }
6
+ declare global {
7
+ interface HTMLElementTagNameMap {
8
+ 'rtg-toast-title': ToastTitle;
9
+ }
10
+ }
@@ -10,3 +10,8 @@ export declare class ToastViewPort extends LitElement {
10
10
  private handleCloseButtonClick;
11
11
  render(): import("lit-html").TemplateResult<1>;
12
12
  }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-toast-view-port': ToastViewPort;
16
+ }
17
+ }
@@ -9,3 +9,8 @@ export declare class Toast extends LitElement {
9
9
  protected updated(_changedProperties: PropertyValues): void;
10
10
  render(): import("lit-html").TemplateResult<1>;
11
11
  }
12
+ declare global {
13
+ interface HTMLElementTagNameMap {
14
+ 'rtg-toast': Toast;
15
+ }
16
+ }
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.0.31",
6
+ "version": "0.0.33",
7
7
  "type": "module",
8
8
  "main": "dist/revotech-ui-kit.umd.cjs",
9
9
  "module": "./dist/revotech-ui-kit.js",