@odx/foundation 1.0.0-beta.2 → 1.0.0-beta.20
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.
- package/dist/{lib/facade → cdk/control}/checkbox-form-control.d.ts +2 -2
- package/dist/{lib/facade → cdk/control}/checkbox-group-form-control.d.ts +2 -2
- package/dist/cdk/control/listbox-form-control.d.ts +22 -0
- package/dist/cdk/control/option-control.d.ts +24 -0
- package/dist/{lib/facade → cdk/control}/radio-group-form-control.d.ts +2 -2
- package/dist/cdk/drag-drop/drag.controller.d.ts +1 -0
- package/dist/{components/button/base-button.d.ts → cdk/interactive/interactive-element.d.ts} +9 -8
- package/dist/cdk/interactive/interactive-link.d.ts +15 -0
- package/dist/cdk/main.d.ts +7 -0
- package/dist/cdk/popover/popover-host.d.ts +12 -6
- package/dist/cdk/popover/popover.models.d.ts +1 -1
- package/dist/cdk.js +721 -127
- package/dist/components/accordion/accordion-header.d.ts +1 -2
- package/dist/components/accordion/accordion-panel.d.ts +1 -0
- package/dist/components/accordion/accordion.d.ts +4 -4
- package/dist/components/button/button.d.ts +4 -6
- package/dist/components/button/button.models.d.ts +12 -0
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/button-group/button-group.d.ts +0 -8
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/chip/chip.d.ts +2 -2
- package/dist/components/combobox/combobox.d.ts +20 -0
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/dropdown/dropdown.d.ts +8 -4
- package/dist/components/highlight/highlight.d.ts +3 -0
- package/dist/components/input/input.d.ts +3 -0
- package/dist/components/link/base-link.d.ts +2 -2
- package/dist/components/list/list-item.d.ts +6 -6
- package/dist/components/list/list.d.ts +2 -0
- package/dist/components/main.d.ts +1 -0
- package/dist/components/menu/menu.d.ts +1 -4
- package/dist/components/menu-item/menu-item.d.ts +3 -4
- package/dist/components/navigation-item/navigation-item.d.ts +2 -2
- package/dist/components/option/option.d.ts +1 -2
- package/dist/components/radio-button/radio-button.d.ts +1 -1
- package/dist/components/radio-group/radio-group.d.ts +1 -1
- package/dist/components/select/select.d.ts +9 -5
- package/dist/components/stack/stack.d.ts +3 -3
- package/dist/components/stack/stack.models.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/table/table-header.d.ts +1 -1
- package/dist/components/table/table-row.d.ts +1 -1
- package/dist/components/text/text.models.d.ts +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/toggle-content/toggle-content.d.ts +2 -3
- package/dist/components/tooltip/tooltip.d.ts +1 -4
- package/dist/components.js +705 -649
- package/dist/i18n/lib/config.d.ts +4 -3
- package/dist/i18n.js +14 -10
- package/dist/lib/controllers/active-desendants-controller.d.ts +25 -0
- package/dist/lib/controllers/expandable-controller.d.ts +17 -0
- package/dist/lib/controllers/focus-trap.controller.d.ts +1 -0
- package/dist/lib/custom-element.d.ts +1 -1
- package/dist/lib/main.d.ts +9 -12
- package/dist/lib/mixins/can-be-disabled.d.ts +1 -1
- package/dist/lib/mixins/can-be-expanded.d.ts +2 -4
- package/dist/lib/mixins/can-be-highlighted.d.ts +8 -0
- package/dist/lib/mixins/can-be-readonly.d.ts +1 -1
- package/dist/lib/mixins/can-be-required.d.ts +1 -1
- package/dist/lib/mixins/can-be-selected.d.ts +2 -2
- package/dist/lib/mixins/can-be-validated.d.ts +1 -1
- package/dist/lib/mixins/form-control.d.ts +2 -2
- package/dist/lib/mixins/number-control.d.ts +1 -1
- package/dist/lib/mixins/with-loading-state.d.ts +1 -1
- package/dist/lib/{utils → types}/a11y.d.ts +0 -6
- package/dist/lib/utils/dom.d.ts +0 -2
- package/dist/lib/{directives/slot-fallback.d.ts → utils/empty-slot-fallback-fix.d.ts} +1 -1
- package/dist/lib/utils/lit.d.ts +5 -0
- package/dist/lib/utils/query-assigned-element.d.ts +16 -0
- package/dist/lib/utils/search-text-content.d.ts +1 -0
- package/dist/lib/utils/transformers.d.ts +5 -0
- package/dist/main.js +366 -626
- package/dist/styles.css +1 -1
- package/dist/vendor-dJxQG085.js +138 -0
- package/package.json +8 -8
- package/dist/lib/decorators/request-update-on-aria-change.d.ts +0 -4
- package/dist/lib/directives/optional-attr.d.ts +0 -2
- package/dist/lib/directives/optional-slot.d.ts +0 -3
- package/dist/lib/facade/option-control.d.ts +0 -16
- package/dist/lib/facade/select-form-control.d.ts +0 -19
- package/dist/lib/utils/object.d.ts +0 -2
- package/dist/vendor-C_WVAD3D.js +0 -3680
- package/dist/vite.config.d.ts +0 -3
- /package/dist/lib/{mixins → utils}/dedupe-mixin.d.ts +0 -0
|
@@ -9,11 +9,10 @@ declare global {
|
|
|
9
9
|
declare const OdxAccordionHeader_base: import('../../lib/main.js').Constructor<CanBeExpanded> & typeof CustomElement;
|
|
10
10
|
export declare class OdxAccordionHeader extends OdxAccordionHeader_base {
|
|
11
11
|
#private;
|
|
12
|
-
static shadowRootOptions: ShadowRootInit;
|
|
13
12
|
get panel(): OdxAccordionPanel | null;
|
|
14
13
|
connectedCallback(): void;
|
|
15
14
|
protected render(): TemplateResult;
|
|
16
|
-
protected
|
|
15
|
+
protected updated(props: PropertyValues<this>): void;
|
|
17
16
|
}
|
|
18
17
|
export {};
|
|
19
18
|
//# sourceMappingURL=accordion-header.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { OdxAccordionHeader } from './accordion-header.js';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-accordion': OdxAccordion;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxAccordion extends CustomElement {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
items: OdxAccordionHeader[];
|
|
10
|
+
controlPosition?: 'start';
|
|
11
11
|
multiple: boolean;
|
|
12
12
|
constructor();
|
|
13
|
-
|
|
13
|
+
toggleAll(force?: boolean, emitEvent?: boolean): void;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { InteractiveElement } from '../../cdk/main.js';
|
|
1
2
|
import { TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
3
|
-
import { ButtonSize, ButtonVariant } from './button.models.js';
|
|
3
|
+
import { ButtonBadgeAlign, ButtonSize, ButtonVariant } from './button.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-button': OdxButton;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxButton_base: import('../../lib/main.js').Constructor<import('../../lib/main.js').HasLoadingState> & typeof BaseButton;
|
|
10
9
|
/**
|
|
11
10
|
* A button is clickable text or an icon that triggers an action on the page or in the background.
|
|
12
11
|
* Depending on the action, content, and hierarchy, a button can be used on its own or grouped with
|
|
@@ -19,10 +18,10 @@ declare const OdxButton_base: import('../../lib/main.js').Constructor<import('..
|
|
|
19
18
|
* @slot suffix - Contains the button's icon or state indicator, e.g. a spinner.
|
|
20
19
|
* @slot - Contains button text
|
|
21
20
|
*/
|
|
22
|
-
export declare class OdxButton extends
|
|
21
|
+
export declare class OdxButton extends InteractiveElement {
|
|
23
22
|
#private;
|
|
24
23
|
static readonly formAssociated = true;
|
|
25
|
-
alignBadge?:
|
|
24
|
+
alignBadge?: ButtonBadgeAlign;
|
|
26
25
|
block: boolean;
|
|
27
26
|
/**
|
|
28
27
|
* The type of the button.
|
|
@@ -39,5 +38,4 @@ export declare class OdxButton extends OdxButton_base {
|
|
|
39
38
|
constructor();
|
|
40
39
|
protected render(): TemplateResult;
|
|
41
40
|
}
|
|
42
|
-
export {};
|
|
43
41
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type ButtonSize = (typeof ButtonSize)[keyof typeof ButtonSize];
|
|
2
2
|
export declare const ButtonSize: {
|
|
3
|
+
readonly XS: "xs";
|
|
3
4
|
readonly SM: "sm";
|
|
4
5
|
readonly MD: "md";
|
|
5
6
|
readonly LG: "lg";
|
|
@@ -12,4 +13,15 @@ export declare const ButtonVariant: {
|
|
|
12
13
|
readonly GHOST: "ghost";
|
|
13
14
|
readonly DANGER: "danger";
|
|
14
15
|
};
|
|
16
|
+
export type ButtonLoaderSlot = (typeof ButtonLoaderSlot)[keyof typeof ButtonLoaderSlot];
|
|
17
|
+
export declare const ButtonLoaderSlot: {
|
|
18
|
+
readonly PREFIX: "prefix";
|
|
19
|
+
readonly SUFFIX: "suffix";
|
|
20
|
+
};
|
|
21
|
+
export type ButtonBadgeAlign = (typeof ButtonBadgeAlign)[keyof typeof ButtonBadgeAlign];
|
|
22
|
+
export declare const ButtonBadgeAlign: {
|
|
23
|
+
readonly START: "start";
|
|
24
|
+
readonly CENTER: "center";
|
|
25
|
+
readonly END: "end";
|
|
26
|
+
};
|
|
15
27
|
//# sourceMappingURL=button.models.d.ts.map
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import { ButtonSize, ButtonVariant, OdxButton } from '../button/index.js';
|
|
4
2
|
declare global {
|
|
5
3
|
interface HTMLElementTagNameMap {
|
|
6
4
|
'odx-button-group': OdxButtonGroup;
|
|
@@ -8,14 +6,8 @@ declare global {
|
|
|
8
6
|
}
|
|
9
7
|
declare const OdxButtonGroup_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
8
|
export declare class OdxButtonGroup extends OdxButtonGroup_base {
|
|
11
|
-
protected buttons: OdxButton[];
|
|
12
|
-
constructor();
|
|
13
9
|
block: boolean;
|
|
14
|
-
connected: boolean;
|
|
15
10
|
vertical: boolean;
|
|
16
|
-
size?: ButtonSize;
|
|
17
|
-
variant?: ButtonVariant;
|
|
18
|
-
protected updated(props: PropertyValues<this>): void;
|
|
19
11
|
}
|
|
20
12
|
export {};
|
|
21
13
|
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckboxFormControl } from '../../
|
|
1
|
+
import { CheckboxFormControl } from '../../cdk/main.js';
|
|
2
2
|
import { PropertyValueMap, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
export declare class OdxCheckbox extends CheckboxFormControl {
|
|
9
9
|
indeterminate: boolean;
|
|
10
10
|
protected render(): TemplateResult;
|
|
11
|
-
protected willUpdate(
|
|
11
|
+
protected willUpdate(props: PropertyValueMap<this>): void;
|
|
12
12
|
toggle(state?: boolean, dispatchEvent?: boolean): void;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -15,8 +15,8 @@ export declare class OdxChip extends OdxChip_base {
|
|
|
15
15
|
variant?: ChipVariant;
|
|
16
16
|
protected render(): TemplateResult;
|
|
17
17
|
protected renderAction(): TemplateResult;
|
|
18
|
-
protected willUpdate(
|
|
19
|
-
protected updated(
|
|
18
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
19
|
+
protected updated(props: PropertyValues<this>): void;
|
|
20
20
|
}
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ListboxFormControl, OptionControl } from '../../cdk/main.js';
|
|
2
|
+
import { TemplateResult } from 'lit';
|
|
3
|
+
import { OdxDropdown } from '../dropdown/index.js';
|
|
4
|
+
import { OdxOption } from '../option/index.js';
|
|
5
|
+
declare global {
|
|
6
|
+
interface HTMLElementTagNameMap {
|
|
7
|
+
'odx-combobox': OdxCombobox;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class OdxCombobox extends ListboxFormControl<OptionControl> {
|
|
11
|
+
#private;
|
|
12
|
+
control?: HTMLInputElement | HTMLButtonElement;
|
|
13
|
+
protected options: OdxOption[];
|
|
14
|
+
protected readonly dropdown: OdxDropdown;
|
|
15
|
+
protected base?: HTMLDivElement;
|
|
16
|
+
constructor();
|
|
17
|
+
canAutoSelect(option: OptionControl): boolean;
|
|
18
|
+
protected render(): TemplateResult;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=combobox.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CanBeDisabled
|
|
1
|
+
import { CanBeDisabled } from '../../lib/main.js';
|
|
2
2
|
import { OdxPopover, PopoverHost, PopoverPlacementOptions } from '../../cdk/main.js';
|
|
3
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
4
|
import { DropdownPlacement } from './dropdown.models.js';
|
|
@@ -7,18 +7,22 @@ declare global {
|
|
|
7
7
|
'odx-dropdown': OdxDropdown;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
declare const OdxDropdown_base: import('../../lib/main.js').Constructor<
|
|
10
|
+
declare const OdxDropdown_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof PopoverHost;
|
|
11
11
|
export declare class OdxDropdown extends OdxDropdown_base {
|
|
12
12
|
#private;
|
|
13
|
-
|
|
13
|
+
popoverElement: OdxPopover;
|
|
14
14
|
matchReferenceWidth: boolean;
|
|
15
15
|
placement: DropdownPlacement;
|
|
16
16
|
get options(): PopoverPlacementOptions;
|
|
17
17
|
connectedCallback(): void;
|
|
18
18
|
mountPopover(referenceElement?: HTMLElement | null): void;
|
|
19
19
|
unmountPopover(referenceElement: HTMLElement): void;
|
|
20
|
+
onBeforePopoverShow(): void;
|
|
21
|
+
onPopoverShow(): void;
|
|
22
|
+
onBeforePopoverHide(): void;
|
|
23
|
+
onPopoverHide(): void;
|
|
20
24
|
protected render(): TemplateResult;
|
|
21
|
-
protected willUpdate(
|
|
25
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
22
26
|
}
|
|
23
27
|
export {};
|
|
24
28
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -7,7 +7,10 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxHighlight extends CustomElement {
|
|
9
9
|
query?: string | null;
|
|
10
|
+
selector?: string;
|
|
10
11
|
minlength: number;
|
|
12
|
+
subtle: boolean;
|
|
13
|
+
disabled: boolean;
|
|
11
14
|
protected updated(props: PropertyValueMap<this>): void;
|
|
12
15
|
protected highlight(): void;
|
|
13
16
|
}
|
|
@@ -10,11 +10,14 @@ declare const OdxInput_base: import('../../lib/main.js').Constructor<import('../
|
|
|
10
10
|
export declare class OdxInput extends OdxInput_base {
|
|
11
11
|
#private;
|
|
12
12
|
static readonly formAssociated = true;
|
|
13
|
+
private focusableElement;
|
|
14
|
+
block: boolean;
|
|
13
15
|
clearable: boolean;
|
|
14
16
|
placeholder: string;
|
|
15
17
|
type: HTMLInputElement['type'];
|
|
16
18
|
variant?: InputVariant | null;
|
|
17
19
|
clear(): void;
|
|
20
|
+
focus(): void;
|
|
18
21
|
protected render(): TemplateResult;
|
|
19
22
|
}
|
|
20
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare const BaseLink_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
4
4
|
export declare class BaseLink extends BaseLink_base {
|
|
@@ -8,7 +8,7 @@ export declare class BaseLink extends BaseLink_base {
|
|
|
8
8
|
target: '_blank' | '_parent' | '_self' | '_top' | '';
|
|
9
9
|
rel: string;
|
|
10
10
|
download?: string;
|
|
11
|
-
protected render(
|
|
11
|
+
protected render(): TemplateResult;
|
|
12
12
|
protected renderContent(): TemplateResult;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { CanBeExpanded, CanBeSelected } from '../../lib/main.js';
|
|
2
|
+
import { InteractiveElement } from '../../cdk/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { BaseButton } from '../button/index.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-list-item': OdxListItem;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxListItem_base: import('../../lib/main.js').Constructor<CanBeSelected> & import('../../lib/main.js').Constructor<CanBeExpanded> & typeof
|
|
9
|
+
declare const OdxListItem_base: import('../../lib/main.js').Constructor<CanBeSelected> & import('../../lib/main.js').Constructor<CanBeExpanded> & typeof InteractiveElement;
|
|
10
10
|
export declare class OdxListItem extends OdxListItem_base {
|
|
11
11
|
#private;
|
|
12
|
+
private expandableItems;
|
|
12
13
|
compact: boolean;
|
|
13
14
|
muted: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
withExpandControl: boolean;
|
|
16
|
+
withExpandIndicator: boolean;
|
|
16
17
|
constructor();
|
|
17
18
|
isExpandable(): boolean;
|
|
18
19
|
connectedCallback(): void;
|
|
19
20
|
protected render(): TemplateResult;
|
|
20
21
|
protected renderContent(): TemplateResult;
|
|
21
|
-
protected
|
|
22
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
22
|
+
protected updated(props: PropertyValues<this>): void;
|
|
23
23
|
}
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -13,6 +13,7 @@ export * from './checkbox-group/index.js';
|
|
|
13
13
|
export * from './checkbox/index.js';
|
|
14
14
|
export * from './chip/index.js';
|
|
15
15
|
export * from './circular-progress-bar/index.js';
|
|
16
|
+
export * from './combobox/index.js';
|
|
16
17
|
export * from './content-box/index.js';
|
|
17
18
|
export * from './dropdown/index.js';
|
|
18
19
|
export * from './form-field/index.js';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
1
|
import { PopoverHost } from '../../cdk/main.js';
|
|
3
2
|
import { TemplateResult } from 'lit';
|
|
4
3
|
import { OdxMenuItem } from '../menu-item/index.js';
|
|
@@ -7,8 +6,7 @@ declare global {
|
|
|
7
6
|
'odx-menu': OdxMenu;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
|
-
declare
|
|
11
|
-
export declare class OdxMenu extends OdxMenu_base {
|
|
9
|
+
export declare class OdxMenu extends PopoverHost {
|
|
12
10
|
#private;
|
|
13
11
|
getItems(): OdxMenuItem[];
|
|
14
12
|
connectedCallback(): void;
|
|
@@ -20,5 +18,4 @@ export declare class OdxMenu extends OdxMenu_base {
|
|
|
20
18
|
protected isMenuItem(element: Element): element is OdxMenuItem;
|
|
21
19
|
protected render(): TemplateResult;
|
|
22
20
|
}
|
|
23
|
-
export {};
|
|
24
21
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { AvailableIcons } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { InteractiveElement } from '../../cdk/main.js';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-menu-item': OdxMenuItem;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export declare class OdxMenuItem extends
|
|
9
|
+
export declare class OdxMenuItem extends InteractiveElement {
|
|
10
10
|
icon?: AvailableIcons | null;
|
|
11
11
|
protected renderContent(): TemplateResult;
|
|
12
12
|
connectedCallback(): void;
|
|
13
|
-
protected renderOverlay(): typeof nothing;
|
|
14
13
|
}
|
|
15
14
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CanBeSelected } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { InteractiveElement } from '../../cdk/main.js';
|
|
3
3
|
import { NavigationItemSize } from './navigation-item.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-navigation-item': OdxNavigationItem;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxNavigationItem_base: import('../../lib/main.js').Constructor<CanBeSelected> & typeof
|
|
9
|
+
declare const OdxNavigationItem_base: import('../../lib/main.js').Constructor<CanBeSelected> & typeof InteractiveElement;
|
|
10
10
|
export declare class OdxNavigationItem extends OdxNavigationItem_base {
|
|
11
11
|
size?: NavigationItemSize | null;
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OptionControl } from '../../
|
|
1
|
+
import { OptionControl } from '../../cdk/main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -6,7 +6,6 @@ declare global {
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxOption extends OptionControl {
|
|
9
|
-
type?: 'checkbox' | null;
|
|
10
9
|
protected render(): TemplateResult;
|
|
11
10
|
}
|
|
12
11
|
//# sourceMappingURL=option.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ListboxFormControl, OptionControl } from '../../cdk/main.js';
|
|
2
|
+
import { TemplateResult } from 'lit';
|
|
3
3
|
import { OdxDropdown } from '../dropdown/index.js';
|
|
4
4
|
import { OdxOption } from '../option/index.js';
|
|
5
5
|
declare global {
|
|
@@ -7,12 +7,16 @@ declare global {
|
|
|
7
7
|
'odx-select': OdxSelect;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare class OdxSelect extends
|
|
10
|
+
export declare class OdxSelect extends ListboxFormControl<OptionControl> {
|
|
11
11
|
#private;
|
|
12
|
+
private focusableElement;
|
|
12
13
|
protected options: OdxOption[];
|
|
13
|
-
protected
|
|
14
|
+
protected readonly dropdown: OdxDropdown;
|
|
15
|
+
maxVisibleSelectedOptions: number;
|
|
16
|
+
constructor();
|
|
17
|
+
clear(): void;
|
|
18
|
+
focus(): void;
|
|
14
19
|
protected render(): TemplateResult;
|
|
15
20
|
protected renderSelectedOptions(): TemplateResult;
|
|
16
|
-
protected willUpdate(changes: PropertyValues<this>): void;
|
|
17
21
|
}
|
|
18
22
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
3
|
import { StackAlign, StackGap, StackJustify } from './stack.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
@@ -10,8 +10,8 @@ export declare class OdxStack extends CustomElement {
|
|
|
10
10
|
align?: StackAlign;
|
|
11
11
|
justify?: StackJustify;
|
|
12
12
|
gap?: StackGap | null;
|
|
13
|
-
|
|
13
|
+
horizontal: boolean;
|
|
14
14
|
wrap: boolean;
|
|
15
|
-
protected
|
|
15
|
+
protected updated(props: PropertyValues<this>): void;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type StackAlign = (typeof StackAlign)[keyof typeof StackAlign];
|
|
2
2
|
export declare const StackAlign: {
|
|
3
3
|
readonly START: "start";
|
|
4
|
-
readonly END: "end";
|
|
5
4
|
readonly CENTER: "center";
|
|
5
|
+
readonly END: "end";
|
|
6
6
|
};
|
|
7
7
|
export type StackGap = (typeof StackGap)[keyof typeof StackGap];
|
|
8
8
|
export declare const StackGap: {
|
|
@@ -14,7 +14,7 @@ export declare class OdxTableRow extends OdxTableRow_base {
|
|
|
14
14
|
value: string;
|
|
15
15
|
connectedCallback(): void;
|
|
16
16
|
protected render(): TemplateResult;
|
|
17
|
-
protected willUpdate(
|
|
17
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=table-row.d.ts.map
|
|
@@ -8,7 +8,7 @@ export declare const TextSize: {
|
|
|
8
8
|
export type TextVariant = (typeof TextVariant)[keyof typeof TextVariant];
|
|
9
9
|
export declare const TextVariant: {
|
|
10
10
|
readonly HINT: "hint";
|
|
11
|
-
readonly
|
|
11
|
+
readonly HIGHLIGHT: "highlight";
|
|
12
12
|
readonly DANGER: "danger";
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=text.models.d.ts.map
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { HTMLTemplateResult,
|
|
2
|
+
import { HTMLTemplateResult, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-toggle-content': OdxToggleContent;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxToggleContent extends CustomElement {
|
|
9
|
-
|
|
9
|
+
hidden: boolean;
|
|
10
10
|
protected render(): HTMLTemplateResult | TemplateResult | string;
|
|
11
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=toggle-content.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
1
|
import { PopoverHost } from '../../cdk/main.js';
|
|
3
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
3
|
declare global {
|
|
@@ -6,8 +5,7 @@ declare global {
|
|
|
6
5
|
'odx-tooltip': OdxTooltip;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
|
-
declare
|
|
10
|
-
export declare class OdxTooltip extends OdxTooltip_base {
|
|
8
|
+
export declare class OdxTooltip extends PopoverHost {
|
|
11
9
|
#private;
|
|
12
10
|
placement: "top";
|
|
13
11
|
interactive: boolean;
|
|
@@ -17,5 +15,4 @@ export declare class OdxTooltip extends OdxTooltip_base {
|
|
|
17
15
|
protected render(): TemplateResult;
|
|
18
16
|
protected willUpdate(props: PropertyValues<this>): void;
|
|
19
17
|
}
|
|
20
|
-
export {};
|
|
21
18
|
//# sourceMappingURL=tooltip.d.ts.map
|