@odx/foundation 1.0.0-beta.191 → 1.0.0-beta.193
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/components/accordion/accordion.d.ts +4 -3
- package/dist/components/accordion-item/accordion-item.d.ts +3 -12
- package/dist/components/autocomplete/autocomplete.d.ts +8 -6
- package/dist/components/avatar/avatar.d.ts +4 -2
- package/dist/components/button/button.d.ts +3 -16
- package/dist/components/button-group/button-group.d.ts +3 -2
- package/dist/components/card/card.d.ts +2 -1
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox-group/checkbox-group.d.ts +3 -2
- package/dist/components/chip/chip.d.ts +2 -1
- package/dist/components/drawer/drawer.d.ts +2 -2
- package/dist/components/form-field/form-field.d.ts +3 -3
- package/dist/components/highlight/highlight.d.ts +2 -1
- package/dist/components/inline-message/inline-message.d.ts +1 -1
- package/dist/components/input/input.d.ts +5 -3
- package/dist/components/key-value-list/key-value-list.d.ts +2 -2
- package/dist/components/link/link.d.ts +13 -3
- package/dist/components/list/list.d.ts +6 -5
- package/dist/components/list-item/list-item.d.ts +2 -12
- package/dist/components/loading-overlay/loading-overlay.d.ts +0 -1
- package/dist/components/loading-spinner/loading-spinner.d.ts +3 -3
- package/dist/components/main-menu/main-menu-button.d.ts +2 -0
- package/dist/components/main.d.ts +0 -1
- package/dist/components/menu-item/menu-item.d.ts +3 -3
- package/dist/components/modal/modal.d.ts +2 -8
- package/dist/components/navigation/navigation.d.ts +5 -4
- package/dist/components/navigation-item/navigation-item.d.ts +9 -13
- package/dist/components/navigation-item-group/navigation-item-group.d.ts +5 -4
- package/dist/components/option/option.d.ts +3 -4
- package/dist/components/popover/popover-host.d.ts +2 -1
- package/dist/components/radio-button/radio-button.d.ts +2 -2
- package/dist/components/radio-group/radio-group.d.ts +3 -2
- package/dist/components/rail-navigation/rail-navigation.d.ts +2 -2
- package/dist/components/search-bar/search-bar.d.ts +2 -1
- package/dist/components/select/select.d.ts +3 -4
- package/dist/components/skeleton/skeleton.d.ts +10 -18
- package/dist/components/slider/slider-handle.d.ts +3 -3
- package/dist/components/slider/slider.d.ts +2 -1
- package/dist/components/spinbox/spinbox.d.ts +5 -2
- package/dist/components/switch/switch.d.ts +3 -2
- package/dist/components/tab-bar/tab-bar.d.ts +2 -1
- package/dist/components/table/table-checkbox-cell.d.ts +2 -1
- package/dist/components/table/table-header.d.ts +2 -2
- package/dist/components/table/table-row.d.ts +2 -1
- package/dist/components/textarea/textarea.d.ts +5 -3
- package/dist/components/toggle-button/toggle-button.d.ts +3 -2
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +2 -2
- package/dist/components/toolbar/toolbar.d.ts +4 -12
- package/dist/components.js +344 -476
- package/dist/css.css +1 -1
- package/dist/cssNative.css +1 -1
- package/dist/{lib/mixins → elements/behaviors}/can-be-disabled.d.ts +2 -2
- package/dist/{lib/mixins → elements/behaviors}/can-be-expanded.d.ts +1 -2
- package/dist/elements/behaviors/form-associated.d.ts +21 -0
- package/dist/{lib/mixins → elements/behaviors}/is-draggable.d.ts +10 -4
- package/dist/elements/behaviors/number-form-control.d.ts +10 -0
- package/dist/{lib/control/checkbox-form-control.d.ts → elements/checkbox-control.d.ts} +6 -3
- package/dist/elements/checkbox-group-control.d.ts +25 -0
- package/dist/elements/control.d.ts +42 -0
- package/dist/{lib → elements}/controllers/drag.controller.d.ts +1 -1
- package/dist/{lib → elements}/controllers/expandable-controller.d.ts +1 -1
- package/dist/elements/dialog.d.ts +63 -0
- package/dist/elements/interactive-control.d.ts +31 -0
- package/dist/{lib/control/listbox-form-control.d.ts → elements/listbox-control.d.ts} +7 -5
- package/dist/elements/main.d.ts +16 -0
- package/dist/elements/option-control.d.ts +23 -0
- package/dist/elements/radio-group-control.d.ts +18 -0
- package/dist/elements.js +1077 -0
- package/dist/en.js +6 -0
- package/dist/i18n/main.d.ts +1 -0
- package/dist/i18n/translate.d.ts +3 -7
- package/dist/i18n/translations/en.json.d.ts +19 -0
- package/dist/i18n/types.d.ts +30 -0
- package/dist/i18n.js +44 -36
- package/dist/lib/custom-element.d.ts +6 -8
- package/dist/lib/utils/attribute-directive.d.ts +0 -5
- package/dist/lib/utils/command-directive.d.ts +4 -5
- package/dist/lib/utils/dom.d.ts +5 -4
- package/dist/lib/utils/shared-event-listener.d.ts +2 -2
- package/dist/lib/utils/shared-resize-observer.d.ts +1 -1
- package/dist/lib/utils/types.d.ts +2 -0
- package/dist/main.d.ts +0 -16
- package/dist/main.js +173 -991
- package/dist/styles.css +1 -1
- package/dist/vendor.js +4 -4
- package/package.json +8 -3
- package/dist/components/overlay/overlay.d.ts +0 -47
- package/dist/lib/control/checkbox-group-form-control.d.ts +0 -22
- package/dist/lib/control/form-control.d.ts +0 -28
- package/dist/lib/control/number-form-control.d.ts +0 -13
- package/dist/lib/control/option-control.d.ts +0 -24
- package/dist/lib/control/radio-group-form-control.d.ts +0 -15
- package/dist/lib/facade/list.d.ts +0 -4
- package/dist/lib/interactive/interactive-element.d.ts +0 -31
- package/dist/lib/interactive/interactive-link.d.ts +0 -21
- package/dist/lib/models/drag-event.d.ts +0 -9
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { CustomElement
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ControlSize, ExpandableItemManagerHost } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { AccordionItemIndicatorPosition,
|
|
4
|
+
import { AccordionItemIndicatorPosition, OdxAccordionItem } from '../accordion-item/accordion-item.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-accordion': OdxAccordion;
|
|
@@ -10,7 +11,7 @@ export declare class OdxAccordion extends CustomElement implements ExpandableIte
|
|
|
10
11
|
#private;
|
|
11
12
|
indicatorPosition: AccordionItemIndicatorPosition;
|
|
12
13
|
multiple: boolean;
|
|
13
|
-
size:
|
|
14
|
+
size: ControlSize;
|
|
14
15
|
constructor();
|
|
15
16
|
protected render(): TemplateResult | string;
|
|
16
17
|
getItems(): OdxAccordionItem[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { CanBeExpanded, InteractiveControlElement } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
4
|
import { OdxAccordionPanel } from '../accordion-panel/accordion-panel.js';
|
|
4
5
|
declare global {
|
|
@@ -6,25 +7,15 @@ declare global {
|
|
|
6
7
|
'odx-accordion-item': OdxAccordionItem;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
export type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
|
|
10
|
-
export declare const AccordionItemSize: Pick<{
|
|
11
|
-
readonly XS: "xs";
|
|
12
|
-
readonly SM: "sm";
|
|
13
|
-
readonly MD: "md";
|
|
14
|
-
readonly LG: "lg";
|
|
15
|
-
readonly XL: "xl";
|
|
16
|
-
readonly XXL: "xxl";
|
|
17
|
-
}, "SM" | "MD" | "LG">;
|
|
18
10
|
export type AccordionItemIndicatorPosition = ValuesOf<typeof AccordionItemIndicatorPosition>;
|
|
19
11
|
export declare const AccordionItemIndicatorPosition: Pick<{
|
|
20
12
|
readonly START: "start";
|
|
21
13
|
readonly CENTER: "center";
|
|
22
14
|
readonly END: "end";
|
|
23
15
|
}, "START" | "END">;
|
|
24
|
-
declare const OdxAccordionItem_base: import('../../main.js').Constructor<CanBeExpanded> & typeof
|
|
16
|
+
declare const OdxAccordionItem_base: import('../../main.js').Constructor<CanBeExpanded> & typeof InteractiveControlElement;
|
|
25
17
|
export declare class OdxAccordionItem extends OdxAccordionItem_base {
|
|
26
18
|
indicatorPosition: AccordionItemIndicatorPosition;
|
|
27
|
-
size: AccordionItemSize;
|
|
28
19
|
getPanel(): OdxAccordionPanel | null;
|
|
29
20
|
connectedCallback(): void;
|
|
30
21
|
protected renderContent(): TemplateResult;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ActiveDescendantsController,
|
|
1
|
+
import { ActiveDescendantsController, CustomElement } from '../../main.js';
|
|
2
|
+
import { FormAssociated, OptionControlElement } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
4
|
import { OdxDropdown } from '../dropdown/dropdown.js';
|
|
4
5
|
import { OdxHighlight } from '../highlight/highlight.js';
|
|
@@ -7,19 +8,20 @@ declare global {
|
|
|
7
8
|
'odx-autocomplete': OdxAutocomplete;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
declare const OdxAutocomplete_base: import('../../main.js').Constructor<FormAssociated<string>> & typeof CustomElement;
|
|
12
|
+
export declare class OdxAutocomplete extends OdxAutocomplete_base {
|
|
11
13
|
#private;
|
|
12
|
-
/** @internal */
|
|
13
14
|
static shadowRootOptions: ShadowRootInit;
|
|
14
|
-
protected readonly activeDescendants: ActiveDescendantsController<
|
|
15
|
-
protected get options():
|
|
15
|
+
protected readonly activeDescendants: ActiveDescendantsController<OptionControlElement>;
|
|
16
|
+
protected get options(): OptionControlElement[];
|
|
16
17
|
protected readonly highlight: OdxHighlight;
|
|
17
18
|
protected readonly dropdown: OdxDropdown;
|
|
18
19
|
minQueryLength: number;
|
|
19
|
-
searchFn: (option:
|
|
20
|
+
searchFn: (option: OptionControlElement, query?: string) => boolean;
|
|
20
21
|
get control(): HTMLInputElement | undefined;
|
|
21
22
|
get controlValue(): string;
|
|
22
23
|
protected firstUpdated(props: PropertyValues<this>): void;
|
|
23
24
|
protected render(): TemplateResult;
|
|
24
25
|
}
|
|
26
|
+
export {};
|
|
25
27
|
//# sourceMappingURL=autocomplete.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomElement, ValuesOf } from '../../main.js';
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-avatar': OdxAvatar;
|
|
@@ -35,9 +35,11 @@ export declare const AvatarVariant: Pick<{
|
|
|
35
35
|
}, "NEUTRAL" | "PRIMARY" | "ACCENT" | "GHOST">;
|
|
36
36
|
export declare class OdxAvatar extends CustomElement {
|
|
37
37
|
interactive: boolean;
|
|
38
|
+
name: string;
|
|
38
39
|
shape: AvatarShape;
|
|
39
40
|
size: AvatarSize;
|
|
40
41
|
variant: AvatarVariant;
|
|
41
|
-
protected willUpdate(
|
|
42
|
+
protected willUpdate(props: PropertyValues): void;
|
|
43
|
+
protected render(): TemplateResult;
|
|
42
44
|
}
|
|
43
45
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { InteractiveControlElement } from '../../elements/main.js';
|
|
2
3
|
declare global {
|
|
3
4
|
interface HTMLElementTagNameMap {
|
|
4
5
|
'odx-button': OdxButton;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
8
|
export declare const buttonDirective: import('../../main.js').BooleanAttributeDirective<"odx-button">;
|
|
8
|
-
export type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
9
|
-
export declare const ButtonSize: Pick<{
|
|
10
|
-
readonly XS: "xs";
|
|
11
|
-
readonly SM: "sm";
|
|
12
|
-
readonly MD: "md";
|
|
13
|
-
readonly LG: "lg";
|
|
14
|
-
readonly XL: "xl";
|
|
15
|
-
readonly XXL: "xxl";
|
|
16
|
-
}, "SM" | "MD" | "LG">;
|
|
17
9
|
export type ButtonVariant = ValuesOf<typeof ButtonVariant>;
|
|
18
10
|
export declare const ButtonVariant: Pick<{
|
|
19
11
|
readonly NEUTRAL: "neutral";
|
|
@@ -28,15 +20,10 @@ export declare const ButtonVariant: Pick<{
|
|
|
28
20
|
readonly DANGER_SUBTLE: "danger-subtle";
|
|
29
21
|
readonly GHOST: "ghost";
|
|
30
22
|
}, "NEUTRAL" | "PRIMARY" | "ACCENT" | "DANGER" | "DANGER_SUBTLE" | "GHOST">;
|
|
31
|
-
export declare class OdxButton extends
|
|
23
|
+
export declare class OdxButton extends InteractiveControlElement {
|
|
32
24
|
#private;
|
|
33
|
-
/** @internal */
|
|
34
25
|
static readonly formAssociated = true;
|
|
35
26
|
active: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* The size of the button.
|
|
38
|
-
*/
|
|
39
|
-
size: ButtonSize;
|
|
40
27
|
/**
|
|
41
28
|
* The type of the button.
|
|
42
29
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ControlSize } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import {
|
|
4
|
+
import { ButtonVariant } from '../button/button.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-button-group': OdxButtonGroup;
|
|
@@ -8,7 +9,7 @@ declare global {
|
|
|
8
9
|
}
|
|
9
10
|
export declare class OdxButtonGroup extends CustomElement {
|
|
10
11
|
block: boolean;
|
|
11
|
-
size:
|
|
12
|
+
size: ControlSize;
|
|
12
13
|
variant: ButtonVariant;
|
|
13
14
|
vertical: boolean;
|
|
14
15
|
protected render(): TemplateResult;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../main.js';
|
|
2
|
+
import { CanBeDisabled } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckboxControlElement } from '../../elements/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-checkbox': OdxCheckbox;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
export declare class OdxCheckbox extends
|
|
8
|
+
export declare class OdxCheckbox extends CheckboxControlElement {
|
|
9
9
|
indeterminate: boolean;
|
|
10
10
|
protected render(): TemplateResult;
|
|
11
11
|
protected willUpdate(props: PropertyValues<this>): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ValuesOf
|
|
1
|
+
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { CheckboxGroupControlElement } from '../../elements/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
@@ -11,7 +12,7 @@ export declare const CheckboxGroupLayout: {
|
|
|
11
12
|
readonly HORIZONTAL: "horizontal";
|
|
12
13
|
readonly LIST: "list";
|
|
13
14
|
};
|
|
14
|
-
export declare class OdxCheckboxGroup extends
|
|
15
|
+
export declare class OdxCheckboxGroup extends CheckboxGroupControlElement {
|
|
15
16
|
#private;
|
|
16
17
|
layout: CheckboxGroupLayout;
|
|
17
18
|
protected render(): TemplateResult;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../main.js';
|
|
2
|
+
import { CanBeDisabled } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ValuesOf } from '../../main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { DialogElement } from '../../elements/main.js';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-drawer': OdxDrawer;
|
|
@@ -11,7 +11,7 @@ export declare const DrawerPosition: Pick<{
|
|
|
11
11
|
readonly CENTER: "center";
|
|
12
12
|
readonly END: "end";
|
|
13
13
|
}, "START" | "END">;
|
|
14
|
-
export declare class OdxDrawer extends
|
|
14
|
+
export declare class OdxDrawer extends DialogElement {
|
|
15
15
|
position: DrawerPosition;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CustomElement
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { FormAssociated } from '../../elements/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
@@ -8,8 +9,7 @@ declare global {
|
|
|
8
9
|
export declare class OdxFormField extends CustomElement {
|
|
9
10
|
#private;
|
|
10
11
|
touched: boolean;
|
|
11
|
-
getControl():
|
|
12
|
-
connectedCallback(): void;
|
|
12
|
+
getControl(): FormAssociated | null;
|
|
13
13
|
protected render(): TemplateResult;
|
|
14
14
|
protected renderErrorMessage(): TemplateResult;
|
|
15
15
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../main.js';
|
|
2
|
+
import { CanBeDisabled } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
@@ -21,7 +21,7 @@ export declare const InlineMessageVariant: Pick<{
|
|
|
21
21
|
readonly GHOST: "ghost";
|
|
22
22
|
}, "NEUTRAL" | "PRIMARY" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
23
23
|
export declare class OdxInlineMessage extends CustomElement {
|
|
24
|
-
|
|
24
|
+
dismissible: boolean;
|
|
25
25
|
strong: boolean;
|
|
26
26
|
icon?: OdxIconName | null;
|
|
27
27
|
variant: InlineMessageVariant;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { FormAssociated } from '../../elements/main.js';
|
|
2
3
|
import { OdxIconName } from '@odx/icons';
|
|
3
4
|
import { nothing, PropertyValues, TemplateResult } from 'lit';
|
|
4
5
|
declare global {
|
|
@@ -6,9 +7,9 @@ declare global {
|
|
|
6
7
|
'odx-input': OdxInput;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
+
declare const OdxInput_base: import('../../main.js').Constructor<FormAssociated<string>> & typeof CustomElement;
|
|
11
|
+
export declare class OdxInput extends OdxInput_base {
|
|
10
12
|
#private;
|
|
11
|
-
/** @internal */
|
|
12
13
|
static shadowRootOptions: ShadowRootInit;
|
|
13
14
|
private nativeInput;
|
|
14
15
|
block: boolean;
|
|
@@ -27,4 +28,5 @@ export declare class OdxInput extends FormControl<string> {
|
|
|
27
28
|
protected render(): TemplateResult;
|
|
28
29
|
protected renderControl(type: string, icon: OdxIconName, listener: EventListener, disabled: boolean): TemplateResult | typeof nothing;
|
|
29
30
|
}
|
|
31
|
+
export {};
|
|
30
32
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomElement
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
import { KeyValueSize, OdxKeyValue } from '../key-value/key-value.js';
|
|
4
4
|
declare global {
|
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
'odx-key-value-list': OdxKeyValueList;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export declare class OdxKeyValueList extends CustomElement
|
|
9
|
+
export declare class OdxKeyValueList extends CustomElement {
|
|
10
10
|
size: KeyValueSize;
|
|
11
11
|
getItems(_deep?: boolean): OdxKeyValue[];
|
|
12
12
|
protected render(): TemplateResult;
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { CanBeDisabled } from '../../elements/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
5
6
|
'odx-link': OdxLink;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
+
declare const OdxLink_base: import('../../main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
|
+
export declare class OdxLink extends OdxLink_base {
|
|
11
|
+
readonly linkElement: HTMLAnchorElement;
|
|
12
|
+
href: string;
|
|
13
|
+
target: '_blank' | '_parent' | '_self' | '_top' | '';
|
|
14
|
+
rel: string;
|
|
15
|
+
download?: string;
|
|
9
16
|
external: boolean;
|
|
10
17
|
strong: boolean;
|
|
11
18
|
subtle: boolean;
|
|
12
|
-
protected
|
|
19
|
+
protected render(): TemplateResult;
|
|
20
|
+
click(): void;
|
|
21
|
+
focus(options?: FocusOptions): void;
|
|
13
22
|
}
|
|
23
|
+
export {};
|
|
14
24
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { CustomElement
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ControlSize, ExpandableItemManagerHost } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import {
|
|
4
|
+
import { OdxListItem } from '../list-item/list-item.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-list': OdxList;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
export declare class OdxList extends CustomElement implements ExpandableItemManagerHost
|
|
10
|
+
export declare class OdxList extends CustomElement implements ExpandableItemManagerHost {
|
|
10
11
|
multiple: boolean;
|
|
11
12
|
muted: boolean;
|
|
12
|
-
size:
|
|
13
|
+
size: ControlSize;
|
|
13
14
|
constructor();
|
|
14
15
|
getItems(_deep?: boolean): OdxListItem[];
|
|
15
16
|
toggleAll(state?: boolean, emitEvent?: boolean): void;
|
|
16
17
|
connectedCallback(): void;
|
|
17
|
-
protected render(): TemplateResult
|
|
18
|
+
protected render(): TemplateResult;
|
|
18
19
|
protected updated(props: PropertyValues<this>): void;
|
|
19
20
|
}
|
|
20
21
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
import { CanBeExpanded,
|
|
1
|
+
import { CanBeExpanded, InteractiveControlElement } from '../../elements/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-list-item': OdxListItem;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
export declare const ListItemSize: Pick<{
|
|
10
|
-
readonly XS: "xs";
|
|
11
|
-
readonly SM: "sm";
|
|
12
|
-
readonly MD: "md";
|
|
13
|
-
readonly LG: "lg";
|
|
14
|
-
readonly XL: "xl";
|
|
15
|
-
readonly XXL: "xxl";
|
|
16
|
-
}, "SM" | "MD" | "LG">;
|
|
17
|
-
declare const OdxListItem_base: import('../../main.js').Constructor<CanBeExpanded> & typeof InteractiveElement;
|
|
8
|
+
declare const OdxListItem_base: import('../../main.js').Constructor<CanBeExpanded> & typeof InteractiveControlElement;
|
|
18
9
|
export declare class OdxListItem extends OdxListItem_base {
|
|
19
10
|
#private;
|
|
20
11
|
region?: HTMLElementTagNameMap['odx-toggle-content'];
|
|
21
12
|
muted: boolean;
|
|
22
13
|
selected: boolean;
|
|
23
|
-
size: ListItemSize;
|
|
24
14
|
withExpandControl: boolean;
|
|
25
15
|
isExpandable(): boolean;
|
|
26
16
|
getExpandControl(): HTMLElement | null;
|
|
@@ -5,14 +5,14 @@ declare global {
|
|
|
5
5
|
'odx-loading-spinner': OdxLoadingSpinner;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
export type
|
|
9
|
-
export declare const
|
|
8
|
+
export type LoadingSpinnerAppearance = ValuesOf<typeof LoadingSpinnerAppearance>;
|
|
9
|
+
export declare const LoadingSpinnerAppearance: {
|
|
10
10
|
readonly SPINNER: "spinner";
|
|
11
11
|
readonly DOTS: "dots";
|
|
12
12
|
readonly INLINE: "inline";
|
|
13
13
|
};
|
|
14
14
|
export declare class OdxLoadingSpinner extends CustomElement {
|
|
15
|
-
|
|
15
|
+
appearance: LoadingSpinnerAppearance;
|
|
16
16
|
protected render(): TemplateResult;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=loading-spinner.d.ts.map
|
|
@@ -46,7 +46,6 @@ export * from './navigation/navigation.js';
|
|
|
46
46
|
export * from './navigation-item/navigation-item.js';
|
|
47
47
|
export * from './navigation-item-group/navigation-item-group.js';
|
|
48
48
|
export * from './option/option.js';
|
|
49
|
-
export * from './overlay/overlay.js';
|
|
50
49
|
export * from './page/page.js';
|
|
51
50
|
export * from './page-layout/page-layout.js';
|
|
52
51
|
export * from './pagination/pagination.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { InteractiveControlElement } from '../../elements/main.js';
|
|
2
3
|
import { OdxIconName } from '@odx/icons';
|
|
3
4
|
import { TemplateResult } from 'lit';
|
|
4
5
|
declare global {
|
|
@@ -20,8 +21,7 @@ export declare const MenuItemVariant: Pick<{
|
|
|
20
21
|
readonly DANGER_SUBTLE: "danger-subtle";
|
|
21
22
|
readonly GHOST: "ghost";
|
|
22
23
|
}, "NEUTRAL" | "DANGER">;
|
|
23
|
-
export declare class OdxMenuItem extends
|
|
24
|
-
/** @internal */
|
|
24
|
+
export declare class OdxMenuItem extends InteractiveControlElement {
|
|
25
25
|
protected loadingSpinnerSlot: "prefix";
|
|
26
26
|
icon?: OdxIconName | null;
|
|
27
27
|
variant: MenuItemVariant;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { DialogElement } from '../../elements/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { OdxOverlay } from '../overlay/overlay.js';
|
|
4
4
|
declare global {
|
|
5
|
-
interface HTMLElement {
|
|
6
|
-
'odx-modal-toggle': string;
|
|
7
|
-
}
|
|
8
5
|
interface HTMLElementTagNameMap {
|
|
9
6
|
'odx-modal': OdxModal;
|
|
10
7
|
}
|
|
@@ -14,10 +11,7 @@ export declare const ModalLayout: {
|
|
|
14
11
|
MODAL: string;
|
|
15
12
|
SIDESHEET: string;
|
|
16
13
|
};
|
|
17
|
-
export
|
|
18
|
-
export type ModalGuardFn = (modal: OdxModal) => Promise<boolean> | boolean;
|
|
19
|
-
export declare const ModalToggleCommand: import('../../main.js').CommandDirective<"odx-modal-toggle">;
|
|
20
|
-
export declare class OdxModal extends OdxOverlay {
|
|
14
|
+
export declare class OdxModal extends DialogElement {
|
|
21
15
|
protected renderContent(): TemplateResult;
|
|
22
16
|
}
|
|
23
17
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { CustomElement
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ControlSize } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import {
|
|
4
|
+
import { OdxNavigationItem } from '../navigation-item/navigation-item.js';
|
|
4
5
|
import { OdxNavigationItemGroup } from '../navigation-item-group/navigation-item-group.js';
|
|
5
6
|
declare global {
|
|
6
7
|
interface HTMLElementTagNameMap {
|
|
7
8
|
'odx-navigation': OdxNavigation;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
|
-
export declare class OdxNavigation extends CustomElement
|
|
11
|
+
export declare class OdxNavigation extends CustomElement {
|
|
11
12
|
horizontal: boolean;
|
|
12
|
-
size:
|
|
13
|
+
size: ControlSize;
|
|
13
14
|
getItems(deep?: boolean): Array<OdxNavigationItemGroup | OdxNavigationItem>;
|
|
14
15
|
connectedCallback(): void;
|
|
15
16
|
protected render(): TemplateResult;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { InteractiveControlElement } from '../../elements/main.js';
|
|
2
3
|
declare global {
|
|
3
4
|
interface HTMLElementTagNameMap {
|
|
4
5
|
'odx-navigation-item': OdxNavigationItem;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
|
-
export type
|
|
8
|
-
export declare const
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
readonly XXL: "xxl";
|
|
15
|
-
}, "SM" | "MD" | "LG">;
|
|
16
|
-
export declare class OdxNavigationItem extends InteractiveElement {
|
|
8
|
+
export type NavigationItemAppearance = ValuesOf<typeof NavigationItemAppearance>;
|
|
9
|
+
export declare const NavigationItemAppearance: {
|
|
10
|
+
readonly BUTTON: "button";
|
|
11
|
+
readonly LINK: "link";
|
|
12
|
+
};
|
|
13
|
+
export declare class OdxNavigationItem extends InteractiveControlElement {
|
|
14
|
+
appearance: NavigationItemAppearance;
|
|
17
15
|
active: boolean;
|
|
18
16
|
compact: boolean;
|
|
19
|
-
size: NavigationItemSize;
|
|
20
|
-
type: 'button' | 'link';
|
|
21
17
|
}
|
|
22
18
|
//# sourceMappingURL=navigation-item.d.ts.map
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { CanBeDisabled, CanBeExpanded, ControlSize } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import {
|
|
4
|
+
import { OdxNavigationItem } from '../navigation-item/navigation-item.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-navigation-item-group': OdxNavigationItemGroup;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
declare const OdxNavigationItemGroup_base: import('../../main.js').Constructor<CanBeExpanded> & import('../../main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
|
-
export declare class OdxNavigationItemGroup extends OdxNavigationItemGroup_base
|
|
11
|
+
export declare class OdxNavigationItemGroup extends OdxNavigationItemGroup_base {
|
|
11
12
|
active: boolean;
|
|
12
13
|
label: string;
|
|
13
14
|
loading: boolean;
|
|
14
|
-
size:
|
|
15
|
+
size: ControlSize;
|
|
15
16
|
getItems(_deep?: boolean): OdxNavigationItem[];
|
|
16
17
|
protected render(): TemplateResult;
|
|
17
18
|
protected updated(props: PropertyValues<this>): void;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
1
|
+
import { OptionControlElement } from '../../elements/main.js';
|
|
3
2
|
declare global {
|
|
4
3
|
interface HTMLElementTagNameMap {
|
|
5
4
|
'odx-option': OdxOption;
|
|
6
5
|
}
|
|
7
6
|
}
|
|
8
|
-
export declare class OdxOption extends
|
|
9
|
-
|
|
7
|
+
export declare class OdxOption extends OptionControlElement {
|
|
8
|
+
connectedCallback(): void;
|
|
10
9
|
}
|
|
11
10
|
//# sourceMappingURL=option.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement, Placement, PopoverPlacementOptions } from '../../main.js';
|
|
2
|
+
import { CanBeDisabled } from '../../elements/main.js';
|
|
2
3
|
import { PropertyValues } from 'lit';
|
|
3
4
|
import { OdxPopover } from './popover.js';
|
|
4
5
|
declare global {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckboxControlElement } from '../../elements/main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-radio-button': OdxRadioButton;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
export declare class OdxRadioButton extends
|
|
8
|
+
export declare class OdxRadioButton extends CheckboxControlElement {
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
protected render(): TemplateResult;
|
|
11
11
|
toggle(state?: boolean, emitEvent?: boolean): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValuesOf } from '../../main.js';
|
|
2
|
+
import { RadioGroupControlElement } from '../../elements/main.js';
|
|
2
3
|
declare global {
|
|
3
4
|
interface HTMLElementTagNameMap {
|
|
4
5
|
'odx-radio-group': OdxRadioGroup;
|
|
@@ -10,7 +11,7 @@ export declare const RadioGroupLayout: {
|
|
|
10
11
|
readonly HORIZONTAL: "horizontal";
|
|
11
12
|
readonly LIST: "list";
|
|
12
13
|
};
|
|
13
|
-
export declare class OdxRadioGroup extends
|
|
14
|
+
export declare class OdxRadioGroup extends RadioGroupControlElement {
|
|
14
15
|
layout?: RadioGroupLayout;
|
|
15
16
|
}
|
|
16
17
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ControlSize } from '../../elements/main.js';
|
|
2
3
|
import { IsLocalized } from '../../i18n/main.js';
|
|
3
4
|
import { TemplateResult } from 'lit';
|
|
4
5
|
import { OdxNavigation } from '../navigation/navigation.js';
|
|
5
|
-
import { NavigationItemSize } from '../navigation-item/navigation-item.js';
|
|
6
6
|
declare global {
|
|
7
7
|
interface HTMLElementTagNameMap {
|
|
8
8
|
'odx-rail-navigation': OdxRailNavigation;
|
|
@@ -13,7 +13,7 @@ export declare class OdxRailNavigation extends OdxRailNavigation_base {
|
|
|
13
13
|
#private;
|
|
14
14
|
navigation: OdxNavigation;
|
|
15
15
|
collapsed: boolean;
|
|
16
|
-
size:
|
|
16
|
+
size: ControlSize;
|
|
17
17
|
protected render(): TemplateResult;
|
|
18
18
|
}
|
|
19
19
|
export {};
|