@odx/foundation 1.0.0-beta.9 → 1.0.0-beta.90
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/README.md +7 -8
- package/dist/_virtual_class-decorator-runtime.js +13 -0
- package/dist/components/accordion/accordion.d.ts +11 -1
- package/dist/components/accordion-item/accordion-item.d.ts +16 -0
- package/dist/components/action-button/action-button.d.ts +27 -0
- package/dist/components/anchor-navigation/anchor-navigation.d.ts +3 -3
- package/dist/components/area-header/area-header.d.ts +11 -4
- package/dist/components/avatar/avatar.d.ts +28 -6
- package/dist/components/avatar-group/avatar-group.d.ts +3 -3
- package/dist/components/badge/badge.d.ts +14 -5
- package/dist/components/breadcrumbs/breadcrumbs-item.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +1 -2
- package/dist/components/breadcrumbs/index.d.ts +1 -1
- package/dist/components/button/button.d.ts +31 -20
- package/dist/components/button-group/button-group.d.ts +7 -0
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -3
- package/dist/components/chip/chip.d.ts +14 -5
- package/dist/components/circular-progress-bar/circular-progress-bar.d.ts +12 -5
- package/dist/components/combobox/autocomplete.d.ts +23 -0
- package/dist/components/dropdown/dropdown.d.ts +10 -9
- package/dist/components/format/format-bytes.d.ts +1 -1
- package/dist/components/format/format-number.d.ts +1 -1
- package/dist/components/format/relative-time.d.ts +2 -2
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/headline/headline.d.ts +14 -5
- package/dist/components/highlight/highlight.d.ts +14 -5
- package/dist/components/icon-button/icon-button.d.ts +4 -15
- package/dist/components/image/image.d.ts +4 -4
- package/dist/components/inline-message/inline-message.d.ts +15 -5
- package/dist/components/input/input.d.ts +15 -8
- package/dist/components/kpi/kpi.d.ts +36 -0
- package/dist/components/line-clamp/line-clamp.d.ts +2 -2
- package/dist/components/link/link.d.ts +3 -3
- package/dist/components/list/list.d.ts +3 -0
- package/dist/components/{list → list-item}/list-item.d.ts +7 -6
- package/dist/components/loader.d.ts +2 -0
- package/dist/components/loading-overlay/loading-overlay.d.ts +2 -3
- package/dist/components/loading-spinner/loading-spinner.d.ts +1 -2
- package/dist/components/logo/logo.d.ts +11 -3
- package/dist/components/main-menu/index.d.ts +1 -1
- package/dist/components/main-menu/main-menu-link.d.ts +2 -2
- package/dist/components/main-menu/main-menu.d.ts +0 -1
- package/dist/components/main.d.ts +62 -54
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menu.d.ts +4 -7
- package/dist/components/menu-item/menu-item.d.ts +5 -6
- package/dist/components/modal/modal.d.ts +8 -6
- package/dist/components/navigation-item/navigation-item.d.ts +15 -7
- package/dist/components/option/option.d.ts +0 -1
- package/dist/components/page/page.d.ts +16 -6
- package/dist/components/popover/popover-host.d.ts +34 -0
- package/dist/components/popover/popover-observer.d.ts +11 -0
- package/dist/{cdk → components}/popover/popover.d.ts +1 -0
- package/dist/components/progress-bar/progress-bar.d.ts +12 -6
- package/dist/components/radio-group/radio-group.d.ts +8 -3
- package/dist/components/search-bar/index.d.ts +0 -1
- package/dist/components/search-bar/search-bar.d.ts +9 -3
- package/dist/components/select/select.d.ts +12 -7
- package/dist/components/separator/separator.d.ts +9 -4
- package/dist/components/skeleton/skeleton.d.ts +21 -6
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/slider/slider-handle.d.ts +5 -6
- package/dist/components/slider/slider-marks.d.ts +1 -1
- package/dist/components/slider/slider.d.ts +2 -3
- package/dist/components/slider/slider.models.d.ts +3 -2
- package/dist/components/spinbox/spinbox.d.ts +13 -11
- package/dist/components/stack/stack.d.ts +26 -6
- package/dist/components/status/status.d.ts +23 -0
- package/dist/components/table/index.d.ts +3 -3
- 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.d.ts +23 -4
- package/dist/components/title/title.d.ts +14 -5
- package/dist/components/toast/toast.d.ts +14 -3
- package/dist/components/toggle-button/toggle-button.d.ts +1 -4
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +10 -0
- package/dist/components/toggle-content/toggle-content.d.ts +2 -2
- package/dist/components/tooltip/tooltip.d.ts +24 -8
- package/dist/components.js +2886 -3631
- package/dist/i18n/{lib/is-localized.d.ts → is-localized.d.ts} +2 -2
- package/dist/i18n/{lib/localization.d.ts → localization.d.ts} +1 -1
- package/dist/i18n/main.d.ts +6 -6
- package/dist/i18n/{lib/translate.d.ts → translate.d.ts} +1 -1
- package/dist/i18n.js +11 -18
- package/dist/lib/{facade → control}/checkbox-form-control.d.ts +4 -4
- package/dist/lib/control/checkbox-group-form-control.d.ts +22 -0
- package/dist/lib/control/form-control.d.ts +29 -0
- package/dist/lib/control/listbox-form-control.d.ts +25 -0
- package/dist/lib/control/number-form-control.d.ts +12 -0
- package/dist/lib/control/option-control.d.ts +23 -0
- package/dist/lib/control/radio-group-form-control.d.ts +22 -0
- package/dist/lib/controllers/active-descendants-controller.d.ts +29 -0
- package/dist/{cdk/drag-drop → lib/controllers}/drag.controller.d.ts +2 -1
- package/dist/lib/controllers/expandable-controller.d.ts +1 -2
- package/dist/lib/custom-element.d.ts +12 -5
- package/dist/lib/interactive/interactive-element.d.ts +23 -0
- package/dist/lib/interactive/interactive-link.d.ts +21 -0
- package/dist/lib/main.d.ts +20 -25
- package/dist/lib/mixins/can-be-disabled.d.ts +1 -9
- package/dist/lib/mixins/can-be-expanded.d.ts +5 -7
- package/dist/lib/mixins/is-draggable.d.ts +16 -0
- package/dist/{cdk/drag-drop/drag-events.d.ts → lib/models/drag-event.d.ts} +1 -1
- package/dist/lib/models/placement.d.ts +17 -0
- package/dist/lib/models/shape.d.ts +7 -0
- package/dist/lib/models/size.d.ts +11 -0
- package/dist/lib/models/variant.d.ts +12 -0
- package/dist/lib/utils/compute-popover-placement.d.ts +14 -0
- package/dist/lib/utils/dom.d.ts +25 -15
- package/dist/lib/utils/get-unique-id.d.ts +6 -23
- package/dist/lib/utils/lit.d.ts +1 -3
- package/dist/lib/utils/shared-resize-observer.d.ts +0 -7
- package/dist/lib/utils/{a11y.d.ts → types.d.ts} +3 -6
- package/dist/loader.js +6 -11
- package/dist/main.js +901 -867
- package/dist/styles.css +1 -1
- package/dist/vendor.js +1982 -0
- package/package.json +47 -27
- package/dist/cdk/drag-drop/is-draggable.d.ts +0 -18
- package/dist/cdk/main.d.ts +0 -7
- package/dist/cdk/popover/popover-host.d.ts +0 -20
- package/dist/cdk/popover/popover.models.d.ts +0 -34
- package/dist/cdk/popover/popover.utils.d.ts +0 -5
- package/dist/cdk.js +0 -357
- package/dist/components/accordion/accordion-header.d.ts +0 -18
- package/dist/components/accordion/index.d.ts +0 -4
- package/dist/components/action-group/action-group.d.ts +0 -24
- package/dist/components/action-group/index.d.ts +0 -2
- package/dist/components/area-header/area-header.models.d.ts +0 -12
- package/dist/components/area-header/index.d.ts +0 -3
- package/dist/components/avatar/avatar.models.d.ts +0 -13
- package/dist/components/avatar/index.d.ts +0 -3
- package/dist/components/avatar-group/index.d.ts +0 -2
- package/dist/components/badge/badge.models.d.ts +0 -14
- package/dist/components/badge/index.d.ts +0 -3
- package/dist/components/button/base-button.d.ts +0 -30
- package/dist/components/button/button.models.d.ts +0 -26
- package/dist/components/button/index.d.ts +0 -4
- package/dist/components/button-group/index.d.ts +0 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/checkbox-group/checkbox-group.models.d.ts +0 -6
- package/dist/components/checkbox-group/index.d.ts +0 -3
- package/dist/components/chip/chip.models.d.ts +0 -10
- package/dist/components/chip/index.d.ts +0 -3
- package/dist/components/circular-progress-bar/circular-progress-bar.models.d.ts +0 -7
- package/dist/components/circular-progress-bar/index.d.ts +0 -3
- package/dist/components/content-box/content-box.models.d.ts +0 -2
- package/dist/components/content-box/index.d.ts +0 -2
- package/dist/components/dropdown/dropdown.models.d.ts +0 -6
- package/dist/components/dropdown/index.d.ts +0 -3
- package/dist/components/form-field/index.d.ts +0 -2
- package/dist/components/headline/headline.models.d.ts +0 -8
- package/dist/components/headline/index.d.ts +0 -3
- package/dist/components/highlight/index.d.ts +0 -2
- package/dist/components/icon-button/index.d.ts +0 -2
- package/dist/components/image/index.d.ts +0 -2
- package/dist/components/inline-message/index.d.ts +0 -3
- package/dist/components/inline-message/inline-message.models.d.ts +0 -12
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input.models.d.ts +0 -7
- package/dist/components/line-clamp/index.d.ts +0 -2
- package/dist/components/link/base-link.d.ts +0 -15
- package/dist/components/link/index.d.ts +0 -3
- package/dist/components/list/index.d.ts +0 -3
- package/dist/components/loading-overlay/index.d.ts +0 -2
- package/dist/components/loading-spinner/index.d.ts +0 -2
- package/dist/components/logo/index.d.ts +0 -3
- package/dist/components/logo/logo.models.d.ts +0 -9
- package/dist/components/menu-item/index.d.ts +0 -2
- package/dist/components/modal/index.d.ts +0 -3
- package/dist/components/modal/modal.models.d.ts +0 -5
- package/dist/components/navigation-item/index.d.ts +0 -3
- package/dist/components/navigation-item/navigation-item.models.d.ts +0 -6
- package/dist/components/option/index.d.ts +0 -2
- package/dist/components/page/index.d.ts +0 -3
- package/dist/components/page/page.models.d.ts +0 -10
- package/dist/components/page-layout/index.d.ts +0 -2
- package/dist/components/pagination/index.d.ts +0 -2
- package/dist/components/progress-bar/index.d.ts +0 -3
- package/dist/components/progress-bar/progress-bar.models.d.ts +0 -7
- package/dist/components/radio-button/index.d.ts +0 -2
- package/dist/components/radio-group/index.d.ts +0 -3
- package/dist/components/radio-group/radio-group.models.d.ts +0 -6
- package/dist/components/rail-navigation/index.d.ts +0 -2
- package/dist/components/search-bar/search-bar.models.d.ts +0 -6
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/separator/index.d.ts +0 -3
- package/dist/components/separator/separator.models.d.ts +0 -6
- package/dist/components/skeleton/index.d.ts +0 -3
- package/dist/components/skeleton/skeleton.models.d.ts +0 -13
- package/dist/components/spacer/index.d.ts +0 -2
- package/dist/components/spacer/spacer.models.d.ts +0 -7
- package/dist/components/spinbox/index.d.ts +0 -2
- package/dist/components/stack/index.d.ts +0 -3
- package/dist/components/stack/stack.models.d.ts +0 -25
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/text/index.d.ts +0 -3
- package/dist/components/text/text.models.d.ts +0 -14
- package/dist/components/title/index.d.ts +0 -3
- package/dist/components/title/title.models.d.ts +0 -10
- package/dist/components/toast/index.d.ts +0 -3
- package/dist/components/toast/toast.models.d.ts +0 -5
- package/dist/components/toggle-button/index.d.ts +0 -2
- package/dist/components/toggle-content/index.d.ts +0 -2
- package/dist/components/tooltip/index.d.ts +0 -3
- package/dist/components/tooltip/tooltip.models.d.ts +0 -8
- package/dist/components/translate/index.d.ts +0 -2
- package/dist/components/visually-hidden/index.d.ts +0 -2
- package/dist/lib/controllers/focus-trap.controller.d.ts +0 -14
- package/dist/lib/facade/checkbox-group-form-control.d.ts +0 -21
- package/dist/lib/facade/option-control.d.ts +0 -16
- package/dist/lib/facade/radio-group-form-control.d.ts +0 -22
- package/dist/lib/facade/select-form-control.d.ts +0 -19
- package/dist/lib/mixins/can-be-readonly.d.ts +0 -7
- package/dist/lib/mixins/can-be-required.d.ts +0 -7
- package/dist/lib/mixins/can-be-selected.d.ts +0 -9
- package/dist/lib/mixins/can-be-validated.d.ts +0 -12
- package/dist/lib/mixins/form-control.d.ts +0 -17
- package/dist/lib/mixins/number-control.d.ts +0 -12
- package/dist/lib/mixins/with-loading-state.d.ts +0 -8
- package/dist/lib/utils/date.d.ts +0 -2
- package/dist/lib/utils/dedupe-mixin.d.ts +0 -3
- package/dist/lib/utils/empty-slot-fallback-fix.d.ts +0 -8
- package/dist/lib/utils/keyboard-events.d.ts +0 -43
- package/dist/lib/utils/search-text-content.d.ts +0 -7
- package/dist/lib/utils/shared-intersection-observer.d.ts +0 -18
- package/dist/lib/utils/transformers.d.ts +0 -5
- package/dist/loader/main.d.ts +0 -2
- package/dist/vendor-dJxQG085.js +0 -138
- /package/dist/components/{accordion → accordion-panel}/accordion-panel.d.ts +0 -0
- /package/dist/i18n/{lib/config.d.ts → config.d.ts} +0 -0
- /package/dist/i18n/{lib/format.d.ts → format.d.ts} +0 -0
- /package/dist/i18n/{lib/models.d.ts → models.d.ts} +0 -0
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
1
|
+
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-highlight': OdxHighlight;
|
|
6
6
|
}
|
|
7
|
+
export interface HighlightRegistry {
|
|
8
|
+
set(name: string, highlight: Highlight): void;
|
|
9
|
+
delete(name: string): void;
|
|
10
|
+
}
|
|
7
11
|
}
|
|
8
|
-
|
|
12
|
+
declare const OdxHighlight_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
13
|
+
export declare class OdxHighlight extends OdxHighlight_base {
|
|
14
|
+
#private;
|
|
15
|
+
root: Element;
|
|
9
16
|
query?: string | null;
|
|
17
|
+
selector?: string;
|
|
10
18
|
minlength: number;
|
|
11
|
-
|
|
12
|
-
protected
|
|
19
|
+
subtle: boolean;
|
|
20
|
+
protected updated(props: PropertyValues<this>): void;
|
|
13
21
|
}
|
|
22
|
+
export {};
|
|
14
23
|
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -1,25 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OdxIconName } from '@odx/icons';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { OdxButton } from '../button/
|
|
3
|
+
import { OdxButton } from '../button/button.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-icon-button': OdxIconButton;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* A button is clickable text or an icon that triggers an action on the page or in the background.
|
|
11
|
-
* Depending on the action, content, and hierarchy, a button can be used on its own or grouped with
|
|
12
|
-
* other buttons.
|
|
13
|
-
* @summary Triggers actions on the page or in the background
|
|
14
|
-
* @csspart button - Internal button element
|
|
15
|
-
* @csspart prefix - Container for the prefix slot
|
|
16
|
-
* @csspart suffix - Container for the suffix slot
|
|
17
|
-
* @slot prefix - Contains the button's icon or state indicator, e.g. a spinner.
|
|
18
|
-
* @slot suffix - Contains the button's icon or state indicator, e.g. a spinner.
|
|
19
|
-
* @slot - Contains button text
|
|
20
|
-
*/
|
|
21
9
|
export declare class OdxIconButton extends OdxButton {
|
|
22
|
-
|
|
10
|
+
float: boolean;
|
|
11
|
+
icon?: OdxIconName;
|
|
23
12
|
protected renderContent(): TemplateResult;
|
|
24
13
|
}
|
|
25
14
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-image': OdxImage;
|
|
@@ -10,7 +10,7 @@ interface Resource {
|
|
|
10
10
|
}
|
|
11
11
|
declare class ResourceLoader<T = Blob> {
|
|
12
12
|
load(resource: Resource): Promise<T | null>;
|
|
13
|
-
protected parseResponse(response: Response):
|
|
13
|
+
protected parseResponse(response: Response): T;
|
|
14
14
|
}
|
|
15
15
|
declare class ImageLoader extends ResourceLoader<HTMLImageElement> {
|
|
16
16
|
load(options: Resource): Promise<HTMLImageElement>;
|
|
@@ -25,8 +25,8 @@ export declare class OdxImage extends CustomElement {
|
|
|
25
25
|
alt?: string | null;
|
|
26
26
|
height?: number | null;
|
|
27
27
|
width?: number | null;
|
|
28
|
-
protected render():
|
|
29
|
-
protected renderLoader():
|
|
28
|
+
protected render(): TemplateResult;
|
|
29
|
+
protected renderLoader(): TemplateResult;
|
|
30
30
|
protected updated(props: PropertyValues<this>): void;
|
|
31
31
|
load(src: string): Promise<void>;
|
|
32
32
|
}
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
+
import { OdxIconName } from '@odx/icons';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { InlineMessageVariant } from './inline-message.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-inline-message': OdxInlineMessage;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
export type InlineMessageVariant = ValuesOf<typeof InlineMessageVariant>;
|
|
10
|
+
export declare const InlineMessageVariant: Pick<{
|
|
11
|
+
readonly NEUTRAL: "neutral";
|
|
12
|
+
readonly PRIMARY: "primary";
|
|
13
|
+
readonly ACCENT: "accent";
|
|
14
|
+
readonly SUCCESS: "success";
|
|
15
|
+
readonly WARNING: "warning";
|
|
16
|
+
readonly DANGER: "danger";
|
|
17
|
+
readonly GHOST: "ghost";
|
|
18
|
+
}, "NEUTRAL" | "PRIMARY" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
9
19
|
export declare class OdxInlineMessage extends CustomElement {
|
|
10
20
|
closable: boolean;
|
|
11
|
-
|
|
12
|
-
icon?:
|
|
13
|
-
variant
|
|
21
|
+
strong: boolean;
|
|
22
|
+
icon?: OdxIconName | null;
|
|
23
|
+
variant: InlineMessageVariant;
|
|
14
24
|
show(): void;
|
|
15
25
|
hide(): Promise<void>;
|
|
16
26
|
protected render(): TemplateResult;
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { FormControl } from '../../lib/main.js';
|
|
2
|
+
import { OdxIconName } from '@odx/icons';
|
|
3
|
+
import { nothing, PropertyValues, TemplateResult } from 'lit';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-input': OdxInput;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare
|
|
10
|
-
export declare class OdxInput extends OdxInput_base {
|
|
9
|
+
export declare class OdxInput extends FormControl<string> {
|
|
11
10
|
#private;
|
|
12
|
-
|
|
11
|
+
private nativeInput;
|
|
12
|
+
block: boolean;
|
|
13
13
|
clearable: boolean;
|
|
14
|
+
hideControls: boolean;
|
|
14
15
|
placeholder: string;
|
|
16
|
+
min?: number;
|
|
17
|
+
max?: number;
|
|
18
|
+
step?: number;
|
|
15
19
|
type: HTMLInputElement['type'];
|
|
16
|
-
|
|
20
|
+
value: string;
|
|
17
21
|
clear(): void;
|
|
22
|
+
stepUp(): void;
|
|
23
|
+
stepDown(): void;
|
|
24
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
18
25
|
protected render(): TemplateResult;
|
|
26
|
+
protected renderControl(type: string, icon: OdxIconName, listener: EventListener, disabled: boolean): TemplateResult | typeof nothing;
|
|
19
27
|
}
|
|
20
|
-
export {};
|
|
21
28
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
+
import { TemplateResult } from 'lit';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-kpi': OdxKpi;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export type KpiSize = ValuesOf<typeof KpiSize>;
|
|
9
|
+
export declare const KpiSize: 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
|
+
export type KpiVariant = ValuesOf<typeof KpiVariant>;
|
|
18
|
+
export declare const KpiVariant: Pick<{
|
|
19
|
+
readonly NEUTRAL: "neutral";
|
|
20
|
+
readonly PRIMARY: "primary";
|
|
21
|
+
readonly ACCENT: "accent";
|
|
22
|
+
readonly SUCCESS: "success";
|
|
23
|
+
readonly WARNING: "warning";
|
|
24
|
+
readonly DANGER: "danger";
|
|
25
|
+
readonly GHOST: "ghost";
|
|
26
|
+
}, "NEUTRAL" | "ACCENT" | "SUCCESS" | "DANGER">;
|
|
27
|
+
export declare class OdxKpi extends CustomElement {
|
|
28
|
+
label: string;
|
|
29
|
+
unit?: string;
|
|
30
|
+
value: string;
|
|
31
|
+
size: KpiSize;
|
|
32
|
+
variant: KpiVariant;
|
|
33
|
+
vertical: boolean;
|
|
34
|
+
protected render(): TemplateResult;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=kpi.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-line-clamp': OdxLineClamp;
|
|
@@ -7,6 +7,6 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxLineClamp extends CustomElement {
|
|
9
9
|
max?: number | null;
|
|
10
|
-
protected updated(props:
|
|
10
|
+
protected updated(props: PropertyValues<this>): void;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=line-clamp.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InteractiveLink } from '../../lib/main.js';
|
|
2
2
|
declare global {
|
|
3
3
|
interface HTMLElementTagNameMap {
|
|
4
4
|
'odx-link': OdxLink;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
export declare class OdxLink extends
|
|
8
|
-
|
|
7
|
+
export declare class OdxLink extends InteractiveLink {
|
|
8
|
+
strong: boolean;
|
|
9
9
|
subtle: boolean;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
|
+
import { OdxListItem } from '../list-item/list-item.js';
|
|
2
3
|
declare global {
|
|
3
4
|
interface HTMLElementTagNameMap {
|
|
4
5
|
'odx-list': OdxList;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
8
|
export declare class OdxList extends CustomElement {
|
|
9
|
+
items: OdxListItem[];
|
|
8
10
|
multiple: boolean;
|
|
9
11
|
constructor();
|
|
10
12
|
connectedCallback(): void;
|
|
13
|
+
toggleAll(state?: boolean, emitEvent?: boolean): void;
|
|
11
14
|
}
|
|
12
15
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { CanBeExpanded,
|
|
1
|
+
import { CanBeExpanded, InteractiveElement } from '../../lib/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { BaseButton } from '../button/index.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-list-item': OdxListItem;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
|
-
declare const OdxListItem_base: import('../../lib/main.js').Constructor<
|
|
8
|
+
declare const OdxListItem_base: import('../../lib/main.js').Constructor<CanBeExpanded> & typeof InteractiveElement;
|
|
10
9
|
export declare class OdxListItem extends OdxListItem_base {
|
|
11
10
|
#private;
|
|
12
11
|
private expandableItems;
|
|
12
|
+
region?: HTMLElementTagNameMap['odx-toggle-content'];
|
|
13
13
|
compact: boolean;
|
|
14
|
-
|
|
14
|
+
subtle: boolean;
|
|
15
|
+
selected: boolean;
|
|
15
16
|
withExpandControl: boolean;
|
|
16
17
|
withExpandIndicator: boolean;
|
|
17
|
-
constructor();
|
|
18
18
|
isExpandable(): boolean;
|
|
19
|
+
getExpandControl(): HTMLElement | null;
|
|
19
20
|
connectedCallback(): void;
|
|
20
21
|
protected render(): TemplateResult;
|
|
21
22
|
protected renderContent(): TemplateResult;
|
|
22
|
-
protected
|
|
23
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
23
24
|
}
|
|
24
25
|
export {};
|
|
25
26
|
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -6,16 +6,15 @@ declare global {
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
export declare const LOADING_OVERLAY_HOST_DIRECTIVE = "odx-loading-overlay-host";
|
|
9
|
-
declare
|
|
10
|
-
export declare class OdxLoadingOverlay extends OdxLoadingOverlay_base {
|
|
9
|
+
export declare class OdxLoadingOverlay extends CustomElement {
|
|
11
10
|
#private;
|
|
12
11
|
private readonly overlay;
|
|
13
12
|
get loadingContainer(): HTMLElement;
|
|
13
|
+
loading: boolean;
|
|
14
14
|
disconnectedCallback(): void;
|
|
15
15
|
protected updated(props: PropertyValues<this>): Promise<void>;
|
|
16
16
|
protected render(): TemplateResult;
|
|
17
17
|
protected showOverlay(): void;
|
|
18
18
|
protected hideOverlay(): void;
|
|
19
19
|
}
|
|
20
|
-
export {};
|
|
21
20
|
//# sourceMappingURL=loading-overlay.d.ts.map
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { LogoSize } from './logo.models.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
3
2
|
declare global {
|
|
4
3
|
interface HTMLElementTagNameMap {
|
|
5
4
|
'odx-logo': OdxLogo;
|
|
6
5
|
}
|
|
7
6
|
}
|
|
7
|
+
export type LogoSize = ValuesOf<typeof LogoSize>;
|
|
8
|
+
export declare const LogoSize: Pick<{
|
|
9
|
+
readonly XS: "xs";
|
|
10
|
+
readonly SM: "sm";
|
|
11
|
+
readonly MD: "md";
|
|
12
|
+
readonly LG: "lg";
|
|
13
|
+
readonly XL: "xl";
|
|
14
|
+
readonly XXL: "xxl";
|
|
15
|
+
}, "XS" | "SM" | "MD" | "LG" | "XL">;
|
|
8
16
|
export declare class OdxLogo extends CustomElement {
|
|
9
|
-
size
|
|
17
|
+
size: LogoSize;
|
|
10
18
|
compact: boolean;
|
|
11
19
|
connectedCallback(): void;
|
|
12
20
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InteractiveLink } from '../../lib/main.js';
|
|
2
2
|
declare global {
|
|
3
3
|
interface HTMLElementTagNameMap {
|
|
4
4
|
'odx-main-menu-link': OdxMainMenuLink;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
export declare class OdxMainMenuLink extends
|
|
7
|
+
export declare class OdxMainMenuLink extends InteractiveLink {
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=main-menu-link.d.ts.map
|
|
@@ -1,64 +1,72 @@
|
|
|
1
|
-
export * from './accordion/
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './accordion/accordion.js';
|
|
2
|
+
export * from './accordion-item/accordion-item.js';
|
|
3
|
+
export * from './accordion-panel/accordion-panel.js';
|
|
4
|
+
export * from './action-button/action-button.js';
|
|
3
5
|
export * from './anchor-navigation/index.js';
|
|
4
|
-
export * from './area-header/
|
|
5
|
-
export * from './avatar
|
|
6
|
-
export * from './avatar/
|
|
7
|
-
export * from './badge/
|
|
6
|
+
export * from './area-header/area-header.js';
|
|
7
|
+
export * from './avatar/avatar.js';
|
|
8
|
+
export * from './avatar-group/avatar-group.js';
|
|
9
|
+
export * from './badge/badge.js';
|
|
8
10
|
export * from './breadcrumbs/index.js';
|
|
9
|
-
export * from './button
|
|
10
|
-
export * from './button/
|
|
11
|
-
export * from './card/
|
|
12
|
-
export * from './checkbox
|
|
13
|
-
export * from './checkbox/
|
|
14
|
-
export * from './chip/
|
|
15
|
-
export * from './circular-progress-bar/
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
11
|
+
export * from './button/button.js';
|
|
12
|
+
export * from './button-group/button-group.js';
|
|
13
|
+
export * from './card/card.js';
|
|
14
|
+
export * from './checkbox/checkbox.js';
|
|
15
|
+
export * from './checkbox-group/checkbox-group.js';
|
|
16
|
+
export * from './chip/chip.js';
|
|
17
|
+
export * from './circular-progress-bar/circular-progress-bar.js';
|
|
18
|
+
export * from './combobox/autocomplete.js';
|
|
19
|
+
export * from './content-box/content-box.js';
|
|
20
|
+
export * from './dropdown/dropdown.js';
|
|
21
|
+
export * from './form-field/form-field.js';
|
|
19
22
|
export * from './format/index.js';
|
|
20
23
|
export * from './header/index.js';
|
|
21
|
-
export * from './headline/
|
|
22
|
-
export * from './highlight/
|
|
23
|
-
export * from './icon-button/
|
|
24
|
-
export * from './image/
|
|
25
|
-
export * from './inline-message/
|
|
26
|
-
export * from './input/
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
24
|
+
export * from './headline/headline.js';
|
|
25
|
+
export * from './highlight/highlight.js';
|
|
26
|
+
export * from './icon-button/icon-button.js';
|
|
27
|
+
export * from './image/image.js';
|
|
28
|
+
export * from './inline-message/inline-message.js';
|
|
29
|
+
export * from './input/input.js';
|
|
30
|
+
export * from './kpi/kpi.js';
|
|
31
|
+
export * from './line-clamp/line-clamp.js';
|
|
32
|
+
export * from './link/link.js';
|
|
33
|
+
export * from './list/list.js';
|
|
34
|
+
export * from './list-item/list-item.js';
|
|
35
|
+
export * from './loading-overlay/loading-overlay.js';
|
|
36
|
+
export * from './loading-spinner/loading-spinner.js';
|
|
37
|
+
export * from './logo/logo.js';
|
|
33
38
|
export * from './main-menu/index.js';
|
|
34
|
-
export * from './menu-item/index.js';
|
|
35
39
|
export * from './menu/index.js';
|
|
36
|
-
export * from './
|
|
37
|
-
export * from './
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './page/
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
45
|
-
export * from './
|
|
40
|
+
export * from './menu-item/menu-item.js';
|
|
41
|
+
export * from './modal/modal.js';
|
|
42
|
+
export * from './navigation-item/navigation-item.js';
|
|
43
|
+
export * from './option/option.js';
|
|
44
|
+
export * from './page/page.js';
|
|
45
|
+
export * from './page-layout/page-layout.js';
|
|
46
|
+
export * from './pagination/pagination.js';
|
|
47
|
+
export * from './popover/popover.js';
|
|
48
|
+
export * from './progress-bar/progress-bar.js';
|
|
49
|
+
export * from './radio-button/radio-button.js';
|
|
50
|
+
export * from './radio-group/radio-group.js';
|
|
51
|
+
export * from './rail-navigation/rail-navigation.js';
|
|
46
52
|
export * from './search-bar/index.js';
|
|
47
|
-
export * from './select/
|
|
48
|
-
export * from './separator/
|
|
49
|
-
export * from './skeleton/
|
|
53
|
+
export * from './select/select.js';
|
|
54
|
+
export * from './separator/separator.js';
|
|
55
|
+
export * from './skeleton/skeleton.js';
|
|
50
56
|
export * from './slider/index.js';
|
|
51
|
-
export * from './spacer/
|
|
52
|
-
export * from './spinbox/
|
|
53
|
-
export * from './stack/
|
|
54
|
-
export * from './
|
|
57
|
+
export * from './spacer/spacer.js';
|
|
58
|
+
export * from './spinbox/spinbox.js';
|
|
59
|
+
export * from './stack/stack.js';
|
|
60
|
+
export * from './status/status.js';
|
|
61
|
+
export * from './switch/switch.js';
|
|
55
62
|
export * from './table/index.js';
|
|
56
|
-
export * from './text/
|
|
57
|
-
export * from './title/
|
|
58
|
-
export * from './toast/
|
|
59
|
-
export * from './toggle-button/
|
|
60
|
-
export * from './toggle-
|
|
61
|
-
export * from './
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './
|
|
63
|
+
export * from './text/text.js';
|
|
64
|
+
export * from './title/title.js';
|
|
65
|
+
export * from './toast/toast.js';
|
|
66
|
+
export * from './toggle-button/toggle-button.js';
|
|
67
|
+
export * from './toggle-button-group/toggle-button-group.js';
|
|
68
|
+
export * from './toggle-content/toggle-content.js';
|
|
69
|
+
export * from './tooltip/tooltip.js';
|
|
70
|
+
export * from './translate/translate.js';
|
|
71
|
+
export * from './visually-hidden/visually-hidden.js';
|
|
64
72
|
//# sourceMappingURL=main.d.ts.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { PopoverHost } from '../../cdk/main.js';
|
|
3
1
|
import { TemplateResult } from 'lit';
|
|
4
|
-
import { OdxMenuItem } from '../menu-item/
|
|
2
|
+
import { OdxMenuItem } from '../menu-item/menu-item.js';
|
|
3
|
+
import { PopoverHost } from '../popover/popover-host.js';
|
|
5
4
|
declare global {
|
|
6
5
|
interface HTMLElementTagNameMap {
|
|
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;
|
|
15
|
-
mountPopover(referenceElement
|
|
13
|
+
mountPopover(referenceElement: HTMLElement | null): void;
|
|
16
14
|
unmountPopover(referenceElement: HTMLElement): void;
|
|
17
15
|
onBeforePopoverShow(): void;
|
|
18
16
|
onPopoverShow(): 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
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { InteractiveElement } from '../../lib/main.js';
|
|
2
|
+
import { OdxIconName } from '@odx/icons';
|
|
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
|
|
10
|
-
icon?:
|
|
9
|
+
export declare class OdxMenuItem extends InteractiveElement {
|
|
10
|
+
icon?: OdxIconName | 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,23 +1,25 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { ModalVariant } from './modal.models.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-modal': OdxModal;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type ModalLayout = ValuesOf<typeof ModalLayout>;
|
|
9
|
+
export declare const ModalLayout: {
|
|
10
|
+
MODAL: string;
|
|
11
|
+
SIDESHEET: string;
|
|
12
|
+
};
|
|
9
13
|
export type ModalHookFn = (modal: OdxModal) => Promise<void> | void;
|
|
10
14
|
export type ModalGuardFn = (modal: OdxModal) => Promise<boolean> | boolean;
|
|
11
15
|
export declare class OdxModal extends CustomElement {
|
|
12
16
|
#private;
|
|
13
|
-
private closeRequested;
|
|
14
|
-
private showRequested;
|
|
15
17
|
private dialog;
|
|
16
18
|
private modalContainer;
|
|
17
19
|
backdropDisabled?: boolean;
|
|
18
|
-
|
|
20
|
+
dismissible: boolean;
|
|
19
21
|
open: boolean;
|
|
20
|
-
|
|
22
|
+
layout: ModalLayout;
|
|
21
23
|
constructor();
|
|
22
24
|
connectedCallback(): void;
|
|
23
25
|
canShow?: ModalGuardFn;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { NavigationItemSize } from './navigation-item.models.js';
|
|
1
|
+
import { InteractiveElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-navigation-item': OdxNavigationItem;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
export declare
|
|
11
|
-
|
|
8
|
+
export type NavigationItemSize = ValuesOf<typeof NavigationItemSize>;
|
|
9
|
+
export declare const NavigationItemSize: 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
|
+
}, "MD" | "LG">;
|
|
17
|
+
export declare class OdxNavigationItem extends InteractiveElement {
|
|
18
|
+
size: NavigationItemSize;
|
|
19
|
+
selected: boolean;
|
|
20
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
12
21
|
}
|
|
13
|
-
export {};
|
|
14
22
|
//# sourceMappingURL=navigation-item.d.ts.map
|