@loadsmart/miranda-wc
Advanced tools
Comparing version 1.15.0 to 1.15.1
@@ -14,2 +14,3 @@ import { type PropertyValues } from 'lit'; | ||
export declare class Button extends FormControl { | ||
#private; | ||
static styles: import("lit").CSSResult[][]; | ||
@@ -63,4 +64,2 @@ static get properties(): { | ||
render(): import("lit").TemplateResult<1>; | ||
_isDisabled(): boolean; | ||
_setDisabled(): void; | ||
private handleClick; | ||
@@ -67,0 +66,0 @@ } |
@@ -14,2 +14,3 @@ import { LitElement } from 'lit'; | ||
export declare class Checkbox extends LitElement { | ||
#private; | ||
static styles: import("lit").CSSResult[]; | ||
@@ -57,7 +58,7 @@ static get properties(): { | ||
*/ | ||
private _input; | ||
private input; | ||
/** | ||
* Label element within component. | ||
*/ | ||
private _label; | ||
private label; | ||
connectedCallback(): void; | ||
@@ -68,4 +69,2 @@ disconnectedCallback(): void; | ||
render(): import("lit").TemplateResult<1>; | ||
private _setAttributes; | ||
private _handleChange; | ||
} | ||
@@ -72,0 +71,0 @@ declare global { |
import { LitElement, type PropertyValues } from 'lit'; | ||
export declare class FormControl extends LitElement { | ||
_form?: HTMLFormElement | null; | ||
#private; | ||
static get properties(): { | ||
@@ -5,0 +5,0 @@ assignedForm: { |
@@ -7,2 +7,3 @@ import { LitElement } from 'lit'; | ||
export declare class ProgressBar extends LitElement { | ||
#private; | ||
static styles: import("lit").CSSResult[]; | ||
@@ -19,12 +20,2 @@ static get properties(): { | ||
}; | ||
/** | ||
* Specifies how much of the task that has been completed. | ||
* @type {number} | ||
*/ | ||
_safeValue: number; | ||
/** | ||
* Describes how much work the task indicated by the progress element requires. | ||
* @type {number} | ||
*/ | ||
_safeMax: number; | ||
set value(val: number); | ||
@@ -37,3 +28,2 @@ get value(): number; | ||
protected updated(): void; | ||
_getWidth(): number; | ||
render(): import("lit").TemplateResult<1>; | ||
@@ -40,0 +30,0 @@ } |
import { LitElement, PropertyValues } from 'lit'; | ||
import SelectionController, { AcceptedType, SelectionState, SelectionType } from '../../controllers/selection'; | ||
import type { Radio } from './radio'; | ||
import { AcceptedType, SelectionState, SelectionType } from '../../controllers/selection'; | ||
export declare type RadioGroupOrientation = 'vertical' | 'horizontal'; | ||
@@ -16,5 +15,4 @@ export declare type RadioGroupChangeEventDetail = { | ||
export declare class RadioGroup extends LitElement { | ||
#private; | ||
static styles: import("lit").CSSResult[]; | ||
_selectionController: SelectionController | null; | ||
_defaultSlot: HTMLSlotElement | null; | ||
static get properties(): { | ||
@@ -62,6 +60,2 @@ value: { | ||
render(): import("lit").TemplateResult<1>; | ||
_getDefaultChecked(): string | undefined; | ||
_getButtons(): Radio[]; | ||
_setButtonChecked(button: Radio): void; | ||
_setButtonDisabled(button: Radio): void; | ||
} | ||
@@ -68,0 +62,0 @@ declare global { |
@@ -8,2 +8,3 @@ import { LitElement, PropertyValues } from 'lit'; | ||
export declare class Radio extends LitElement { | ||
#private; | ||
static styles: import("lit").CSSResult[]; | ||
@@ -40,4 +41,2 @@ static get properties(): { | ||
handleClick(event: MouseEvent): void; | ||
_setDisabled(): void; | ||
_setChecked(): void; | ||
} | ||
@@ -44,0 +43,0 @@ declare global { |
import { LitElement, type PropertyValues } from 'lit'; | ||
import type { AcceptedType, SelectionType, SelectionState } from '../../controllers/selection'; | ||
import type { Toggle } from './toggle'; | ||
import '../layout/group'; | ||
@@ -19,5 +18,4 @@ export declare type ToggleSize = 'small' | 'default'; | ||
export declare class ToggleGroup extends LitElement { | ||
#private; | ||
static styles: import("lit").CSSResult[][]; | ||
private _selectionController; | ||
private _defaultSlot; | ||
static get properties(): { | ||
@@ -79,6 +77,2 @@ disabled: { | ||
render(): import("lit").TemplateResult<1>; | ||
_getToggles(): Toggle[]; | ||
_setToggleRole(toggle: Toggle): void; | ||
_setToggleChecked(toggle: Toggle): void; | ||
_setToggleDisabled(toggle: Toggle): void; | ||
} | ||
@@ -85,0 +79,0 @@ declare global { |
@@ -8,2 +8,3 @@ import { LitElement, type PropertyValues } from 'lit'; | ||
export declare class Toggle extends LitElement { | ||
#private; | ||
static styles: import("lit").CSSResult[][]; | ||
@@ -48,5 +49,2 @@ static get properties(): { | ||
render(): import("lit").TemplateResult<1>; | ||
_handleClick(): void; | ||
_setDisabled(): void; | ||
_setChecked(): void; | ||
} | ||
@@ -53,0 +51,0 @@ declare global { |
@@ -12,2 +12,3 @@ import type { ReactiveControllerHost, ReactiveController } from 'lit'; | ||
declare class SelectionController implements ReactiveController { | ||
#private; | ||
disabled: boolean; | ||
@@ -28,8 +29,2 @@ event: string; | ||
hostUpdate(): void; | ||
/** | ||
* using arrow function so we keep the lexical context this is necessary | ||
* because the event itself will happen in the context of the host element. | ||
*/ | ||
_handleSelectionEvent: (e: Event) => void; | ||
_publish(): void; | ||
init: (values: AcceptedType[]) => void; | ||
@@ -36,0 +31,0 @@ select: (values: AcceptedType[]) => void; |
{ | ||
"name": "@loadsmart/miranda-wc", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "Miranda Web Components component library", | ||
@@ -13,3 +13,3 @@ "main": "dist/index.js", | ||
"build": "rollup -c --environment BUILD:prod", | ||
"deploy-storybook": "storybook-to-ghpages --existing-output-dir=docs", | ||
"deploy-storybook": "storybook-to-ghpages --existing-output-dir=docs --ci --host-token-env-variable=GITHUB_TOKEN", | ||
"cypress": "cypress open --component --browser chrome", | ||
@@ -16,0 +16,0 @@ "dev": "start-storybook -p 6006", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
397805
206
2571