@odx/foundation 1.0.0-beta.99 → 1.0.0-rc.0
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/CHANGELOG.md +335 -0
- package/README.md +61 -29
- package/dist/lib/breakpoints.d.ts +61 -0
- package/dist/lib/breakpoints.js +139 -0
- package/dist/lib/format.d.ts +58 -0
- package/dist/lib/format.js +63 -0
- package/dist/lib/localization.d.ts +12 -0
- package/dist/lib/localization.js +28 -0
- package/dist/lib/models.d.ts +39 -0
- package/dist/lib/models.js +34 -0
- package/dist/lib/signals.d.ts +20 -0
- package/dist/lib/signals.js +47 -0
- package/dist/lib/theming.d.ts +18 -0
- package/dist/lib/theming.js +38 -0
- package/dist/lib/utils/breakpoint.d.ts +38 -0
- package/dist/lib/utils/breakpoint.js +103 -0
- package/dist/lib/utils/shared-media-observer.d.ts +4 -0
- package/dist/lib/utils/shared-media-observer.js +43 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.js +5 -1227
- package/dist/oss-licenses.json +1 -0
- package/dist/styles.css +1 -1
- package/package.json +27 -50
- package/dist/_virtual_class-decorator-runtime.js +0 -13
- package/dist/components/accordion/accordion.d.ts +0 -25
- package/dist/components/accordion-item/accordion-item.d.ts +0 -26
- package/dist/components/accordion-panel/accordion-panel.d.ts +0 -13
- package/dist/components/action-button/action-button.d.ts +0 -27
- package/dist/components/anchor-navigation/anchor-navigation.d.ts +0 -21
- package/dist/components/anchor-navigation/anchor-observer.d.ts +0 -11
- package/dist/components/anchor-navigation/index.d.ts +0 -3
- package/dist/components/area-header/area-header.d.ts +0 -21
- package/dist/components/avatar/avatar.d.ts +0 -36
- package/dist/components/avatar-group/avatar-group.d.ts +0 -15
- package/dist/components/badge/badge.d.ts +0 -24
- package/dist/components/breadcrumbs/breadcrumbs-item.d.ts +0 -17
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +0 -21
- package/dist/components/breadcrumbs/index.d.ts +0 -3
- package/dist/components/button/button.d.ts +0 -54
- package/dist/components/button-group/button-group.d.ts +0 -20
- package/dist/components/card/card.d.ts +0 -15
- package/dist/components/checkbox/checkbox.d.ts +0 -14
- package/dist/components/checkbox-group/checkbox-group.d.ts +0 -19
- package/dist/components/chip/chip.d.ts +0 -31
- package/dist/components/circular-progress-bar/circular-progress-bar.d.ts +0 -49
- package/dist/components/combobox/autocomplete.d.ts +0 -23
- package/dist/components/content-box/content-box.d.ts +0 -11
- package/dist/components/dropdown/dropdown.d.ts +0 -25
- package/dist/components/form-field/form-field.d.ts +0 -16
- package/dist/components/format/base-format.d.ts +0 -13
- package/dist/components/format/format-bytes.d.ts +0 -13
- package/dist/components/format/format-date.d.ts +0 -14
- package/dist/components/format/format-number.d.ts +0 -20
- package/dist/components/format/index.d.ts +0 -6
- package/dist/components/format/relative-time.d.ts +0 -21
- package/dist/components/header/header-actions.d.ts +0 -10
- package/dist/components/header/header.d.ts +0 -14
- package/dist/components/header/index.d.ts +0 -3
- package/dist/components/headline/headline.d.ts +0 -22
- package/dist/components/highlight/highlight.d.ts +0 -23
- package/dist/components/icon-button/icon-button.d.ts +0 -14
- package/dist/components/image/image.d.ts +0 -34
- package/dist/components/inline-message/inline-message.d.ts +0 -28
- package/dist/components/input/input.d.ts +0 -27
- package/dist/components/kpi/kpi.d.ts +0 -36
- package/dist/components/line-clamp/line-clamp.d.ts +0 -12
- package/dist/components/link/link.d.ts +0 -11
- package/dist/components/list/list.d.ts +0 -15
- package/dist/components/list-item/list-item.d.ts +0 -26
- package/dist/components/loader.d.ts +0 -2
- package/dist/components/loading-overlay/loading-overlay.d.ts +0 -20
- package/dist/components/loading-spinner/loading-spinner.d.ts +0 -12
- package/dist/components/logo/logo.d.ts +0 -21
- package/dist/components/main-menu/index.d.ts +0 -6
- package/dist/components/main-menu/main-menu-button.d.ts +0 -12
- package/dist/components/main-menu/main-menu-link.d.ts +0 -9
- package/dist/components/main-menu/main-menu-subtitle.d.ts +0 -12
- package/dist/components/main-menu/main-menu-title.d.ts +0 -12
- package/dist/components/main-menu/main-menu.d.ts +0 -17
- package/dist/components/main.d.ts +0 -72
- package/dist/components/menu/index.d.ts +0 -3
- package/dist/components/menu/menu-label.d.ts +0 -9
- package/dist/components/menu/menu.d.ts +0 -21
- package/dist/components/menu-item/menu-item.d.ts +0 -14
- package/dist/components/modal/modal.d.ts +0 -37
- package/dist/components/navigation-item/navigation-item.d.ts +0 -22
- package/dist/components/option/option.d.ts +0 -11
- package/dist/components/page/page.d.ts +0 -27
- package/dist/components/page-layout/page-layout.d.ts +0 -11
- package/dist/components/pagination/pagination.d.ts +0 -32
- package/dist/components/popover/popover-host.d.ts +0 -35
- package/dist/components/popover/popover-observer.d.ts +0 -11
- package/dist/components/popover/popover.d.ts +0 -13
- package/dist/components/progress-bar/progress-bar.d.ts +0 -30
- package/dist/components/radio-button/radio-button.d.ts +0 -13
- package/dist/components/radio-group/radio-group.d.ts +0 -16
- package/dist/components/rail-navigation/rail-navigation.d.ts +0 -19
- package/dist/components/search-bar/index.d.ts +0 -3
- package/dist/components/search-bar/search-bar.d.ts +0 -33
- package/dist/components/search-bar/search-bar.events.d.ts +0 -7
- package/dist/components/select/select.d.ts +0 -26
- package/dist/components/separator/separator.d.ts +0 -21
- package/dist/components/skeleton/skeleton.d.ts +0 -31
- package/dist/components/slider/index.d.ts +0 -5
- package/dist/components/slider/slider-handle.d.ts +0 -28
- package/dist/components/slider/slider-marks.d.ts +0 -16
- package/dist/components/slider/slider.d.ts +0 -26
- package/dist/components/slider/slider.models.d.ts +0 -29
- package/dist/components/spacer/spacer.d.ts +0 -13
- package/dist/components/spinbox/spinbox.d.ts +0 -23
- package/dist/components/stack/stack.d.ts +0 -38
- package/dist/components/status/status.d.ts +0 -23
- package/dist/components/switch/switch.d.ts +0 -12
- package/dist/components/table/index.d.ts +0 -9
- package/dist/components/table/table-body.d.ts +0 -12
- package/dist/components/table/table-cell.d.ts +0 -12
- package/dist/components/table/table-checkbox-cell.d.ts +0 -19
- package/dist/components/table/table-header-cell.d.ts +0 -13
- package/dist/components/table/table-header.d.ts +0 -14
- package/dist/components/table/table-row.d.ts +0 -20
- package/dist/components/table/table.d.ts +0 -20
- package/dist/components/table/table.models.d.ts +0 -10
- package/dist/components/text/text.d.ts +0 -33
- package/dist/components/title/title.d.ts +0 -22
- package/dist/components/toast/toast.d.ts +0 -24
- package/dist/components/toggle-button/toggle-button.d.ts +0 -13
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +0 -10
- package/dist/components/toggle-content/toggle-content.d.ts +0 -12
- package/dist/components/tooltip/tooltip.d.ts +0 -37
- package/dist/components/translate/translate.d.ts +0 -16
- package/dist/components/visually-hidden/visually-hidden.d.ts +0 -11
- package/dist/components.js +0 -4493
- package/dist/i18n/config.d.ts +0 -32
- package/dist/i18n/format.d.ts +0 -6
- package/dist/i18n/is-localized.d.ts +0 -15
- package/dist/i18n/localization.d.ts +0 -5
- package/dist/i18n/main.d.ts +0 -7
- package/dist/i18n/models.d.ts +0 -7
- package/dist/i18n/translate.d.ts +0 -11
- package/dist/i18n.js +0 -145
- package/dist/lib/control/checkbox-form-control.d.ts +0 -16
- package/dist/lib/control/checkbox-group-form-control.d.ts +0 -23
- package/dist/lib/control/form-control.d.ts +0 -30
- package/dist/lib/control/listbox-form-control.d.ts +0 -26
- 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 -22
- package/dist/lib/controllers/active-descendants-controller.d.ts +0 -29
- package/dist/lib/controllers/drag.controller.d.ts +0 -19
- package/dist/lib/controllers/expandable-controller.d.ts +0 -17
- package/dist/lib/custom-element.d.ts +0 -16
- package/dist/lib/interactive/interactive-element.d.ts +0 -23
- package/dist/lib/interactive/interactive-link.d.ts +0 -21
- package/dist/lib/main.d.ts +0 -28
- package/dist/lib/mixins/can-be-disabled.d.ts +0 -7
- package/dist/lib/mixins/can-be-expanded.d.ts +0 -10
- package/dist/lib/mixins/is-draggable.d.ts +0 -16
- package/dist/lib/models/drag-event.d.ts +0 -9
- package/dist/lib/models/placement.d.ts +0 -17
- package/dist/lib/models/shape.d.ts +0 -7
- package/dist/lib/models/size.d.ts +0 -11
- package/dist/lib/models/variant.d.ts +0 -12
- package/dist/lib/utils/compute-popover-placement.d.ts +0 -14
- package/dist/lib/utils/dom.d.ts +0 -27
- package/dist/lib/utils/get-unique-id.d.ts +0 -19
- package/dist/lib/utils/lit.d.ts +0 -4
- package/dist/lib/utils/shared-resize-observer.d.ts +0 -11
- package/dist/lib/utils/types.d.ts +0 -60
- package/dist/loader.js +0 -7
- package/dist/vendor.js +0 -1982
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ValuesOf } from '../../lib/main.js';
|
|
2
|
-
export type SliderLabelVisibility = ValuesOf<typeof SliderLabelVisibility>;
|
|
3
|
-
export declare const SliderLabelVisibility: {
|
|
4
|
-
readonly AUTO: "auto";
|
|
5
|
-
readonly HIDDEN: "hidden";
|
|
6
|
-
};
|
|
7
|
-
export type SliderTrackVisibility = ValuesOf<typeof SliderTrackVisibility>;
|
|
8
|
-
export declare const SliderTrackVisibility: {
|
|
9
|
-
readonly AUTO: "auto";
|
|
10
|
-
readonly HIDDEN: "hidden";
|
|
11
|
-
readonly VISIBLE: "visible";
|
|
12
|
-
};
|
|
13
|
-
export interface SliderContext {
|
|
14
|
-
step: number;
|
|
15
|
-
min: number;
|
|
16
|
-
max: number;
|
|
17
|
-
minRange: number;
|
|
18
|
-
range: number;
|
|
19
|
-
maxRange: number;
|
|
20
|
-
labelVisibility: SliderLabelVisibility;
|
|
21
|
-
unit: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const sliderContext: {
|
|
24
|
-
context: {
|
|
25
|
-
__context__: SliderContext;
|
|
26
|
-
};
|
|
27
|
-
defaultValue: SliderContext;
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=slider.models.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
declare global {
|
|
3
|
-
interface HTMLElementTagNameMap {
|
|
4
|
-
'odx-spacer': OdxSpacer;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export declare class OdxSpacer extends CustomElement {
|
|
8
|
-
horizontal: boolean;
|
|
9
|
-
dynamic: boolean;
|
|
10
|
-
fill: boolean;
|
|
11
|
-
protected render(): string;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=spacer.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FormControl } from '../../lib/main.js';
|
|
2
|
-
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-spinbox': OdxSpinbox;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxSpinbox extends FormControl<string> {
|
|
9
|
-
#private;
|
|
10
|
-
static shadowRootOptions: ShadowRootInit;
|
|
11
|
-
private options;
|
|
12
|
-
selectedIndex: number;
|
|
13
|
-
value: string;
|
|
14
|
-
constructor();
|
|
15
|
-
clear(): void;
|
|
16
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
17
|
-
protected updated(props: PropertyValues<this>): void;
|
|
18
|
-
previous(): void;
|
|
19
|
-
next(): void;
|
|
20
|
-
connectedCallback(): void;
|
|
21
|
-
protected render(): TemplateResult | string;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=spinbox.d.ts.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
-
declare global {
|
|
3
|
-
interface HTMLElementTagNameMap {
|
|
4
|
-
'odx-stack': OdxStack;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export type StackAlign = ValuesOf<typeof StackAlign>;
|
|
8
|
-
export declare const StackAlign: {
|
|
9
|
-
readonly START: "start";
|
|
10
|
-
readonly CENTER: "center";
|
|
11
|
-
readonly END: "end";
|
|
12
|
-
};
|
|
13
|
-
export type StackGap = ValuesOf<typeof StackGap>;
|
|
14
|
-
export declare const StackGap: {
|
|
15
|
-
readonly XS: "xs";
|
|
16
|
-
readonly SM: "sm";
|
|
17
|
-
readonly MD: "md";
|
|
18
|
-
readonly LG: "lg";
|
|
19
|
-
readonly XL: "xl";
|
|
20
|
-
readonly NONE: "none";
|
|
21
|
-
};
|
|
22
|
-
export type StackJustify = ValuesOf<typeof StackJustify>;
|
|
23
|
-
export declare const StackJustify: {
|
|
24
|
-
readonly START: "start";
|
|
25
|
-
readonly END: "end";
|
|
26
|
-
readonly CENTER: "center";
|
|
27
|
-
readonly SPACE_BETWEEN: "space-between";
|
|
28
|
-
readonly SPACE_AROUND: "space-around";
|
|
29
|
-
readonly SPACE_EVENLY: "space-evenly";
|
|
30
|
-
};
|
|
31
|
-
export declare class OdxStack extends CustomElement {
|
|
32
|
-
align?: StackAlign;
|
|
33
|
-
justify?: StackJustify;
|
|
34
|
-
gap?: StackGap;
|
|
35
|
-
horizontal: boolean;
|
|
36
|
-
wrap: boolean;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-status': OdxStatus;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export type StatusVariant = ValuesOf<typeof StatusVariant>;
|
|
9
|
-
export declare const StatusVariant: Pick<{
|
|
10
|
-
readonly NEUTRAL: "neutral";
|
|
11
|
-
readonly PRIMARY: "primary";
|
|
12
|
-
readonly ACCENT: "accent";
|
|
13
|
-
readonly SUCCESS: "success";
|
|
14
|
-
readonly WARNING: "warning";
|
|
15
|
-
readonly DANGER: "danger";
|
|
16
|
-
readonly GHOST: "ghost";
|
|
17
|
-
}, "NEUTRAL" | "PRIMARY" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
18
|
-
export declare class OdxStatus extends CustomElement {
|
|
19
|
-
pulse: boolean;
|
|
20
|
-
variant: StatusVariant;
|
|
21
|
-
protected render(): TemplateResult;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CheckboxFormControl } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-switch': OdxSwitch;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxSwitch extends CheckboxFormControl {
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
protected render(): TemplateResult;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './table.js';
|
|
2
|
-
export * from './table.models.js';
|
|
3
|
-
export * from './table-body.js';
|
|
4
|
-
export * from './table-cell.js';
|
|
5
|
-
export * from './table-checkbox-cell.js';
|
|
6
|
-
export * from './table-header.js';
|
|
7
|
-
export * from './table-header-cell.js';
|
|
8
|
-
export * from './table-row.js';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-table-body': OdxTableBody;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxTableBody extends CustomElement {
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
protected render(): TemplateResult;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=table-body.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-table-cell': OdxTableCell;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxTableCell extends CustomElement {
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
protected render(): TemplateResult;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=table-cell.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-table-checkbox-cell': OdxTableCheckboxCell;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
declare const OdxTableCheckboxCell_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
9
|
-
export declare class OdxTableCheckboxCell extends OdxTableCheckboxCell_base {
|
|
10
|
-
#private;
|
|
11
|
-
private control;
|
|
12
|
-
checked: boolean;
|
|
13
|
-
indeterminate: boolean;
|
|
14
|
-
connectedCallback(): void;
|
|
15
|
-
click(): void;
|
|
16
|
-
protected render(): TemplateResult;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=table-checkbox-cell.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-table-header-cell': OdxTableHeaderCell;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxTableHeaderCell extends CustomElement {
|
|
9
|
-
sortable: boolean;
|
|
10
|
-
connectedCallback(): void;
|
|
11
|
-
protected render(): TemplateResult;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=table-header-cell.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CheckboxFormControl } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-table-header': OdxTableHeader;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxTableHeader extends CheckboxFormControl {
|
|
9
|
-
#private;
|
|
10
|
-
selected: boolean;
|
|
11
|
-
connectedCallback(): void;
|
|
12
|
-
protected render(): TemplateResult;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=table-header.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-table-row': OdxTableRow;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
declare const OdxTableRow_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
9
|
-
export declare class OdxTableRow extends OdxTableRow_base {
|
|
10
|
-
#private;
|
|
11
|
-
private checkboxCells;
|
|
12
|
-
selected: boolean;
|
|
13
|
-
selectable: boolean;
|
|
14
|
-
value: string;
|
|
15
|
-
connectedCallback(): void;
|
|
16
|
-
protected render(): TemplateResult;
|
|
17
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
20
|
-
//# sourceMappingURL=table-row.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
import { OdxTableHeader } from './table-header.js';
|
|
4
|
-
import { OdxTableRow } from './table-row.js';
|
|
5
|
-
declare global {
|
|
6
|
-
interface HTMLElementTagNameMap {
|
|
7
|
-
'odx-table': OdxTable;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class OdxTable extends CustomElement {
|
|
11
|
-
#private;
|
|
12
|
-
protected get headerElements(): OdxTableHeader[];
|
|
13
|
-
protected get rowElements(): OdxTableRow[];
|
|
14
|
-
mode: string;
|
|
15
|
-
selected: string[];
|
|
16
|
-
items: Record<string, unknown>[];
|
|
17
|
-
connectedCallback(): void;
|
|
18
|
-
protected render(): TemplateResult;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
-
declare global {
|
|
3
|
-
interface HTMLElementTagNameMap {
|
|
4
|
-
'odx-text': OdxText;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export type TextSize = ValuesOf<typeof TextSize>;
|
|
8
|
-
export declare const TextSize: 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">;
|
|
16
|
-
export type TextVariant = ValuesOf<typeof TextVariant>;
|
|
17
|
-
export declare const TextVariant: Pick<{
|
|
18
|
-
readonly NEUTRAL: "neutral";
|
|
19
|
-
readonly PRIMARY: "primary";
|
|
20
|
-
readonly ACCENT: "accent";
|
|
21
|
-
readonly SUCCESS: "success";
|
|
22
|
-
readonly WARNING: "warning";
|
|
23
|
-
readonly DANGER: "danger";
|
|
24
|
-
readonly GHOST: "ghost";
|
|
25
|
-
}, "NEUTRAL" | "ACCENT" | "SUCCESS" | "DANGER">;
|
|
26
|
-
export declare class OdxText extends CustomElement {
|
|
27
|
-
strong: boolean;
|
|
28
|
-
subtle: boolean;
|
|
29
|
-
inline: boolean;
|
|
30
|
-
size?: TextSize;
|
|
31
|
-
variant: TextVariant;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-title': OdxTitle;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export type TitleSize = ValuesOf<typeof TitleSize>;
|
|
9
|
-
export declare const TitleSize: 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
|
-
}, "XS" | "SM" | "MD" | "LG" | "XL" | "XXL">;
|
|
17
|
-
export declare class OdxTitle extends CustomElement {
|
|
18
|
-
size: TitleSize;
|
|
19
|
-
level?: number;
|
|
20
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=title.d.ts.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
-
import { OdxIconName } from '@odx/icons';
|
|
3
|
-
import { TemplateResult } from 'lit';
|
|
4
|
-
declare global {
|
|
5
|
-
interface HTMLElementTagNameMap {
|
|
6
|
-
'odx-toast': OdxToast;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export type ToastVariant = ValuesOf<typeof ToastVariant>;
|
|
10
|
-
export declare const ToastVariant: 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">;
|
|
19
|
-
export declare class OdxToast extends CustomElement {
|
|
20
|
-
icon?: OdxIconName;
|
|
21
|
-
variant: ToastVariant;
|
|
22
|
-
protected render(): TemplateResult;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CheckboxFormControl } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-toggle-button': OdxToggleButton;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxToggleButton extends CheckboxFormControl {
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
updateAriaAttributes(): void;
|
|
11
|
-
protected render(): TemplateResult;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=toggle-button.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RadioGroupFormControl } from '../../lib/main.js';
|
|
2
|
-
declare global {
|
|
3
|
-
interface HTMLElementTagNameMap {
|
|
4
|
-
'odx-toggle-button-group': OdxToggleButtonGroup;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export declare class OdxToggleButtonGroup extends RadioGroupFormControl {
|
|
8
|
-
block: boolean;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=toggle-button-group.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-toggle-content': OdxToggleContent;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxToggleContent extends CustomElement {
|
|
9
|
-
hidden: boolean;
|
|
10
|
-
protected render(): TemplateResult;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=toggle-content.d.ts.map
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ValuesOf } from '../../lib/main.js';
|
|
2
|
-
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { PopoverHost } from '../popover/popover-host.js';
|
|
4
|
-
declare global {
|
|
5
|
-
interface HTMLElementTagNameMap {
|
|
6
|
-
'odx-tooltip': OdxTooltip;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export type TooltipPlacement = ValuesOf<typeof TooltipPlacement>;
|
|
10
|
-
export declare const TooltipPlacement: Pick<{
|
|
11
|
-
readonly TOP: "top";
|
|
12
|
-
readonly TOP_START: "top-start";
|
|
13
|
-
readonly TOP_END: "top-end";
|
|
14
|
-
readonly RIGHT: "right";
|
|
15
|
-
readonly RIGHT_START: "right-start";
|
|
16
|
-
readonly RIGHT_END: "right-end";
|
|
17
|
-
readonly BOTTOM: "bottom";
|
|
18
|
-
readonly BOTTOM_START: "bottom-start";
|
|
19
|
-
readonly BOTTOM_END: "bottom-end";
|
|
20
|
-
readonly LEFT: "left";
|
|
21
|
-
readonly LEFT_START: "left-start";
|
|
22
|
-
readonly LEFT_END: "left-end";
|
|
23
|
-
}, "TOP" | "RIGHT" | "BOTTOM" | "LEFT">;
|
|
24
|
-
export declare class OdxTooltip extends PopoverHost {
|
|
25
|
-
#private;
|
|
26
|
-
show: boolean;
|
|
27
|
-
timeout?: number;
|
|
28
|
-
placement: TooltipPlacement;
|
|
29
|
-
connectedCallback(): void;
|
|
30
|
-
onPopoverShow(): void;
|
|
31
|
-
onBeforePopoverHide(): void;
|
|
32
|
-
mountPopover(referenceElement: HTMLElement): void;
|
|
33
|
-
unmountPopover(referenceElement: HTMLElement): void;
|
|
34
|
-
protected render(): TemplateResult;
|
|
35
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { IsLocalized, TranslateContext } from '../../i18n/main.js';
|
|
3
|
-
import { PropertyValues } from 'lit';
|
|
4
|
-
declare global {
|
|
5
|
-
interface HTMLElementTagNameMap {
|
|
6
|
-
'odx-translate': OdxTranslate;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
declare const OdxTranslate_base: import('../../lib/main.js').Constructor<IsLocalized> & typeof CustomElement;
|
|
10
|
-
export declare class OdxTranslate extends OdxTranslate_base {
|
|
11
|
-
key?: string | null;
|
|
12
|
-
context?: TranslateContext;
|
|
13
|
-
protected updated(props: PropertyValues<this>): void;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=translate.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
declare global {
|
|
4
|
-
interface HTMLElementTagNameMap {
|
|
5
|
-
'odx-visually-hidden': OdxVisuallyHidden;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export declare class OdxVisuallyHidden extends CustomElement {
|
|
9
|
-
protected render(): TemplateResult;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=visually-hidden.d.ts.map
|