@revotech-group/revotech-ui-kit 0.0.83 → 0.0.85

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,7 +1,9 @@
1
- import { LitElement } from 'lit';
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
2
3
 
3
- declare class Alert extends LitElement {
4
+ declare class Alert extends BaseElement {
4
5
  protected createRenderRoot(): this;
6
+ private get _containerElement();
5
7
  title: string;
6
8
  message: string;
7
9
  static alertVariants: (props?: ({
@@ -11,6 +13,8 @@ declare class Alert extends LitElement {
11
13
  variant: 'success' | 'error' | 'warning' | 'info';
12
14
  size: 'default' | 'large' | 'small';
13
15
  private get alertClasses();
16
+ protected getAttributesToRemoveFromParent(): string[];
17
+ protected firstUpdated(_changedProperties: PropertyValues): void;
14
18
  render(): import('lit').TemplateResult<1>;
15
19
  }
16
20
  export { Alert };
@@ -1,3 +1,4 @@
1
+ import { PropertyValues } from 'lit';
1
2
  import { BaseElement } from '../../../helpers';
2
3
 
3
4
  import * as buttonType from './button.type';
@@ -12,15 +13,10 @@ export declare class Button extends BaseElement {
12
13
  variant: buttonType.ButtonVariant;
13
14
  size: buttonType.ButtonSize;
14
15
  buttonElement: HTMLButtonElement;
15
- private handleClick;
16
16
  protected createRenderRoot(): HTMLElement | DocumentFragment;
17
17
  protected getAttributesToExclude(): string[];
18
18
  protected getAttributesToRemoveFromParent(): string[];
19
19
  protected firstUpdated(): void;
20
+ protected updated(_changedProperties: PropertyValues): void;
20
21
  render(): import('lit').TemplateResult<1>;
21
22
  }
22
- declare global {
23
- interface HTMLElementTagNameMap {
24
- 'rtg-button': Button;
25
- }
26
- }
@@ -4,6 +4,7 @@ import { BaseElement } from '../../../helpers';
4
4
  import * as inputType from './input.type';
5
5
  export declare class RtgInput extends BaseElement {
6
6
  constructor();
7
+ inputElement: HTMLInputElement;
7
8
  disabled: boolean;
8
9
  type: inputType.InputType;
9
10
  placeholder: string;
@@ -13,7 +14,6 @@ export declare class RtgInput extends BaseElement {
13
14
  country: string;
14
15
  countryCode: string;
15
16
  private handleCountryChange;
16
- private handlePhoneInput;
17
17
  protected firstUpdated(_changedProperties: PropertyValues): void;
18
18
  handleInputChange(event: Event): void;
19
19
  handleFocus(): void;
@@ -2,6 +2,7 @@ import { BaseElement } from '../../../helpers';
2
2
 
3
3
  export declare class LightSampleDemo extends BaseElement {
4
4
  constructor();
5
+ private btnClass;
5
6
  protected getAttributesToExclude(): string[];
6
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
8
  render(): import('lit').TemplateResult<1>;
@@ -5,6 +5,7 @@ export declare abstract class BaseElement extends LitElement {
5
5
  constructor();
6
6
  protected getAttributesToExclude(): string[];
7
7
  protected getAttributesToRemoveFromParent(): string[];
8
+ disconnectedCallback(): void;
8
9
  protected removeParentAttributes(): void;
9
10
  protected getFilteredAttributes(): {
10
11
  [key: string]: string;
@@ -13,4 +14,6 @@ export declare abstract class BaseElement extends LitElement {
13
14
  protected applyCustomClass(variables: string[], selector: string, className?: string): void;
14
15
  protected removeDuplicateContent(): void;
15
16
  protected moveLightDomChildrenInto(target: HTMLElement, specificNodes?: Node[]): void;
17
+ private mutationObserver?;
18
+ protected observeStyleAndClassSync(target: HTMLElement): void;
16
19
  }
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.83",
6
+ "version": "0.0.85",
7
7
  "type": "module",
8
8
  "main": "dist/rtg-ui-kit.umd.cjs",
9
9
  "module": "./dist/rtg-ui-kit.js",