revotech-ui-kit 0.0.29 → 0.0.30

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.
@@ -5,6 +5,7 @@ import { AccordionContent } from './accordion-content';
5
5
  import { ACCORDION_GROUP_TYPE } from './accordion.defs';
6
6
  declare class Accordion extends BaseElement {
7
7
  static styles: import("lit").CSSResult[];
8
+ twCLass: string;
8
9
  type: ACCORDION_GROUP_TYPE;
9
10
  selectedItems: string[];
10
11
  protected getAttributesToExclude(): string[];
@@ -2,6 +2,7 @@ import { LitElement } from 'lit';
2
2
  import { AlertTitle } from './alert-title';
3
3
  import { AlertDescription } from './alert-description';
4
4
  declare class Alert extends LitElement {
5
+ twCLass: string;
5
6
  static styles: import("lit").CSSResult[];
6
7
  static alertVairants: (props?: ({
7
8
  variant?: "error" | "success" | "warning" | "info" | null | undefined;
@@ -1,5 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class AspectRatio extends LitElement {
3
+ twCLass: string;
3
4
  static styles: import("lit").CSSResult[];
4
5
  ratio: number;
5
6
  render(): import("lit-html").TemplateResult<1>;
@@ -3,3 +3,8 @@ export declare class AvatarFallback 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-avatar-fallback': AvatarFallback;
9
+ }
10
+ }
@@ -5,3 +5,8 @@ export declare class AvatarImage extends LitElement {
5
5
  src: string;
6
6
  render(): import("lit-html").TemplateResult<1>;
7
7
  }
8
+ declare global {
9
+ interface HTMLElementTagNameMap {
10
+ 'rtg-avatar-image': AvatarImage;
11
+ }
12
+ }
@@ -1,5 +1,11 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class Avatar extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
+ twCLass: string;
4
5
  render(): import("lit-html").TemplateResult<1>;
5
6
  }
7
+ declare global {
8
+ interface HTMLElementTagNameMap {
9
+ 'rtg-avatar': Avatar;
10
+ }
11
+ }
@@ -4,7 +4,9 @@ export declare class Badge extends BaseElement {
4
4
  static badgeVariants: (props?: ({
5
5
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
6
6
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
+ twCLass: string;
7
8
  variant: badgeType.BadgeVariant;
9
+ id: string;
8
10
  static styles: import("lit").CSSResult[];
9
11
  protected getAttributesToExclude(): string[];
10
12
  render(): import("lit-html").TemplateResult<1>;
@@ -6,6 +6,7 @@ export declare class Checkbox extends LitElement implements CheckboxProperties {
6
6
  type: string;
7
7
  value: string;
8
8
  required: boolean;
9
+ twCLass: string;
9
10
  static styles: import("lit").CSSResult[];
10
11
  private _onClick;
11
12
  click(): void;
@@ -5,6 +5,7 @@ declare class Collapsible extends BaseElement {
5
5
  static styles: import("lit").CSSResult[];
6
6
  open: boolean;
7
7
  onOpenChange: () => void;
8
+ twCLass: string;
8
9
  protected getAttributesToExclude(): string[];
9
10
  render(): import("lit-html").TemplateResult<1>;
10
11
  }
@@ -5,7 +5,7 @@ export declare class ComboBoxItem extends LitElement {
5
5
  value: string;
6
6
  tabindex: number;
7
7
  isSelected: boolean;
8
- class: string;
8
+ twClass: string;
9
9
  onSelect: () => void;
10
10
  static styles: import("lit").CSSResult[];
11
11
  connectedCallback(): void;
@@ -1,6 +1,7 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class Command extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
+ twCLass: string;
4
5
  _input: Array<HTMLElement>;
5
6
  render(): import("lit-html").TemplateResult<1>;
6
7
  }
@@ -1,3 +1,6 @@
1
+ export * from './avatar/avatar.atom';
2
+ export * from './avatar/avatar-fallback';
3
+ export * from './avatar/avatar-image';
1
4
  export * from './button/button.atom';
2
5
  export * from './checkbox/checkbox.atom';
3
6
  export * from './dialog/dialog.atom';
@@ -8,7 +8,7 @@ export declare class Input extends BaseElement {
8
8
  placeholder: string;
9
9
  defaultValue: string;
10
10
  value: string;
11
- twCLass: string;
11
+ twClass: string;
12
12
  static styles: import("lit").CSSResult[];
13
13
  protected firstUpdated(_changedProperties: PropertyValues): void;
14
14
  handleInputChange(event: Event): void;
@@ -8,6 +8,7 @@ export declare class TextArea extends BaseElement {
8
8
  rows: string;
9
9
  cols: string;
10
10
  value: string;
11
+ twCLass: string;
11
12
  static styles: import("lit").CSSResult[];
12
13
  protected firstUpdated(_changedProperties: PropertyValues): void;
13
14
  handleInputChange(event: Event): void;
@@ -1,6 +1,7 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
2
  export declare class Toast extends LitElement {
3
3
  static styles: import("lit").CSSResult[];
4
+ twClass: string;
4
5
  isOpen: boolean;
5
6
  onClick(): void;
6
7
  connectedCallback(): void;
@@ -3,6 +3,7 @@ import { BaseElement } from '../../../helpers';
3
3
  export { TOGGLE_SIZE, TOGGLE_VARIANT };
4
4
  declare class Toggle extends BaseElement {
5
5
  disabled: boolean;
6
+ twCLass: string;
6
7
  checked: boolean;
7
8
  required: boolean;
8
9
  variant: TOGGLE_VARIANT;
@@ -3,6 +3,7 @@ import { BaseElement } from '../../../helpers';
3
3
  declare class Tab extends BaseElement {
4
4
  defaultValue: string;
5
5
  tabindex: number;
6
+ twCLass: string;
6
7
  static styles: import("lit-element").CSSResult[];
7
8
  connectedCallback(): void;
8
9
  disconnectedCallback(): void;
@@ -1,6 +1,7 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './toggle-group.defs';
3
3
  declare class ToggleGroup extends BaseElement {
4
+ twClass: string;
4
5
  disabled: boolean;
5
6
  type: TOGGLE_GROUP_TYPE;
6
7
  required: boolean;
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.29",
6
+ "version": "0.0.30",
7
7
  "type": "module",
8
8
  "main": "dist/revotech-ui-kit.umd.cjs",
9
9
  "module": "./dist/revotech-ui-kit.js",