@odx/foundation 1.0.0-beta.9 → 1.0.0-beta.91
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/card/card.d.ts +3 -1
- 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 +13 -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 +2895 -3612
- 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 +24 -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 +906 -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
package/README.md
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
# @odx/foundation
|
|
3
3
|
|
|
4
|
-
The `@odx/foundation` package is
|
|
4
|
+
The `@odx/foundation` package is a core part of the ODX Design System, providing essential building blocks for creating consistent and cohesive user interfaces. This package includes foundational components, styles, and utilities to ensure a unified design across all ODX projects.
|
|
5
5
|
|
|
6
6
|
### Features
|
|
7
7
|
|
|
8
|
-
- **
|
|
9
|
-
- **
|
|
10
|
-
- **Global Styles**: Comprehensive global styles
|
|
11
|
-
|
|
12
|
-
### Prequisites
|
|
8
|
+
- **Components**: Reusable web components, including buttons, tables, headers, and more.
|
|
9
|
+
- **i18n**: Internationalization utilities for building multilingual applications, with support for locale changes and translations.
|
|
10
|
+
- **Global Styles**: Comprehensive global styles, including colors, spacing, and themes.
|
|
13
11
|
|
|
12
|
+
### Prerequisites
|
|
14
13
|
|
|
15
14
|
### Install
|
|
16
15
|
|
|
17
16
|
[<img alt="NPM Version (with dist tag)" src="https://img.shields.io/npm/v/%40odx%2Ffoundation/latest?style=flat-square">](https://npmjs.org/package/@odx/foundation)
|
|
18
17
|
|
|
19
18
|
|
|
20
|
-
To install `@odx/foundation` in your project, run the following command:
|
|
19
|
+
To install `@odx/foundation` and it's peer dependencies in your project, run the following command:
|
|
21
20
|
|
|
22
21
|
```bash
|
|
23
|
-
npm install @odx/foundation @odx/icons@next --save
|
|
22
|
+
npm install @odx/design-tokens @odx/foundation @odx/icons@next --save
|
|
24
23
|
```
|
|
25
24
|
|
|
26
25
|
> We depend on the <a href="https://lit.dev" target="_blank" rel="noopener">**Lit package**</a> for building web elements because it offers a lightweight, efficient framework with a simple syntax for creating fast, reusable elements. Its powerful templating system ensures high performance and seamless user experience. Lit is also highly interoperable, making it easy to integrate with other frameworks and libraries.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
|
|
4
|
+
const __decorateClass = (decorators, target, key, kind) => {
|
|
5
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
6
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
7
|
+
if (decorator = decorators[i])
|
|
8
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9
|
+
if (kind && result) __defProp(target, key, result);
|
|
10
|
+
return result;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { __decorateClass as _ };
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
+
import { OdxAccordionItem } from '../accordion-item/accordion-item.js';
|
|
2
3
|
declare global {
|
|
3
4
|
interface HTMLElementTagNameMap {
|
|
4
5
|
'odx-accordion': OdxAccordion;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
8
|
+
export type AccordionIndicatorPosition = ValuesOf<typeof AccordionIndicatorPosition>;
|
|
9
|
+
export declare const AccordionIndicatorPosition: {
|
|
10
|
+
readonly START: "start";
|
|
11
|
+
readonly END: "end";
|
|
12
|
+
};
|
|
7
13
|
export declare class OdxAccordion extends CustomElement {
|
|
14
|
+
/** @internal */
|
|
15
|
+
items: OdxAccordionItem[];
|
|
16
|
+
indicatorPosition: AccordionIndicatorPosition;
|
|
8
17
|
multiple: boolean;
|
|
9
18
|
constructor();
|
|
19
|
+
toggleAll(state?: boolean, emitEvent?: boolean): void;
|
|
10
20
|
}
|
|
11
21
|
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CanBeExpanded, InteractiveElement } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-accordion-item': OdxAccordionItem;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
declare const OdxAccordionItem_base: import('../../lib/main.js').Constructor<CanBeExpanded> & typeof InteractiveElement;
|
|
9
|
+
export declare class OdxAccordionItem extends OdxAccordionItem_base {
|
|
10
|
+
#private;
|
|
11
|
+
get panel(): HTMLElement | null;
|
|
12
|
+
protected renderContent(): TemplateResult;
|
|
13
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=accordion-item.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OdxIconName } from '@odx/icons';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { OdxButton } from '../button/button.js';
|
|
4
|
+
import { OdxTooltip } from '../tooltip/tooltip.js';
|
|
5
|
+
declare global {
|
|
6
|
+
interface HTMLElementTagNameMap {
|
|
7
|
+
'odx-action-button': OdxActionButton;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class OdxActionButton extends OdxButton {
|
|
11
|
+
#private;
|
|
12
|
+
protected tooltip?: OdxTooltip;
|
|
13
|
+
/** @internal */
|
|
14
|
+
protected isStatusMessageShown: boolean;
|
|
15
|
+
done: boolean;
|
|
16
|
+
icon: OdxIconName | undefined;
|
|
17
|
+
statusIcon: OdxIconName;
|
|
18
|
+
statusMessage: string;
|
|
19
|
+
statusTimeout: number;
|
|
20
|
+
statusMessageTimeout: number;
|
|
21
|
+
replaceContent: boolean;
|
|
22
|
+
protected firstUpdated(props: PropertyValues<this>): void;
|
|
23
|
+
protected render(): TemplateResult;
|
|
24
|
+
protected renderContent(): TemplateResult;
|
|
25
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=action-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-anchor-navigation': OdxAnchorNavigation;
|
|
@@ -13,9 +13,9 @@ export declare class OdxAnchorNavigation extends OdxAnchorNavigation_base {
|
|
|
13
13
|
constructor();
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
disconnectedCallback(): void;
|
|
16
|
-
renderAnchorLink(anchor: Element, isActive?: boolean):
|
|
16
|
+
renderAnchorLink(anchor: Element, isActive?: boolean): TemplateResult;
|
|
17
17
|
protected render(): TemplateResult;
|
|
18
|
-
protected updated(props:
|
|
18
|
+
protected updated(props: PropertyValues<this>): void;
|
|
19
19
|
}
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=anchor-navigation.d.ts.map
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { AreaHeaderSize, AreaHeaderVariant } from './area-header.models.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-area-header': OdxAreaHeader;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type AreaHeaderSize = ValuesOf<typeof AreaHeaderSize>;
|
|
9
|
+
export declare const AreaHeaderSize: 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" | "XL">;
|
|
9
17
|
export declare class OdxAreaHeader extends CustomElement {
|
|
10
|
-
size
|
|
11
|
-
variant?: AreaHeaderVariant;
|
|
18
|
+
size: AreaHeaderSize;
|
|
12
19
|
protected render(): TemplateResult;
|
|
13
20
|
}
|
|
14
21
|
//# sourceMappingURL=area-header.d.ts.map
|
|
@@ -1,14 +1,36 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
import { AvatarSize, AvatarVariant } from './avatar.models.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
4
2
|
declare global {
|
|
5
3
|
interface HTMLElementTagNameMap {
|
|
6
4
|
'odx-avatar': OdxAvatar;
|
|
7
5
|
}
|
|
8
6
|
}
|
|
7
|
+
export type AvatarShape = ValuesOf<typeof AvatarShape>;
|
|
8
|
+
export declare const AvatarShape: Pick<{
|
|
9
|
+
readonly CIRCLE: "circle";
|
|
10
|
+
readonly RECTANGLE: "rectangle";
|
|
11
|
+
}, "CIRCLE" | "RECTANGLE">;
|
|
12
|
+
export type AvatarSize = ValuesOf<typeof AvatarSize>;
|
|
13
|
+
export declare const AvatarSize: Pick<{
|
|
14
|
+
readonly XS: "xs";
|
|
15
|
+
readonly SM: "sm";
|
|
16
|
+
readonly MD: "md";
|
|
17
|
+
readonly LG: "lg";
|
|
18
|
+
readonly XL: "xl";
|
|
19
|
+
readonly XXL: "xxl";
|
|
20
|
+
}, "SM" | "MD" | "LG" | "XL">;
|
|
21
|
+
export type AvatarVariant = ValuesOf<typeof AvatarVariant>;
|
|
22
|
+
export declare const AvatarVariant: Pick<{
|
|
23
|
+
readonly NEUTRAL: "neutral";
|
|
24
|
+
readonly PRIMARY: "primary";
|
|
25
|
+
readonly ACCENT: "accent";
|
|
26
|
+
readonly SUCCESS: "success";
|
|
27
|
+
readonly WARNING: "warning";
|
|
28
|
+
readonly DANGER: "danger";
|
|
29
|
+
readonly GHOST: "ghost";
|
|
30
|
+
}, "NEUTRAL" | "PRIMARY">;
|
|
9
31
|
export declare class OdxAvatar extends CustomElement {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
32
|
+
shape: AvatarShape;
|
|
33
|
+
size: AvatarSize;
|
|
34
|
+
variant: AvatarVariant;
|
|
13
35
|
}
|
|
14
36
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
2
|
import { PropertyValues } from 'lit';
|
|
3
|
-
import { AvatarSize, AvatarVariant, OdxAvatar } from '../avatar/
|
|
3
|
+
import { AvatarSize, AvatarVariant, OdxAvatar } from '../avatar/avatar.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-avatar-group': OdxAvatarGroup;
|
|
@@ -8,8 +8,8 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class OdxAvatarGroup extends CustomElement implements Pick<OdxAvatar, 'size' | 'variant'> {
|
|
10
10
|
avatars: OdxAvatar[];
|
|
11
|
-
size
|
|
12
|
-
variant
|
|
11
|
+
size: AvatarSize;
|
|
12
|
+
variant: AvatarVariant;
|
|
13
13
|
protected updated(props: PropertyValues<this>): void;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=avatar-group.d.ts.map
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { BadgeVariant } from './badge.models.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-badge': OdxBadge;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type BadgeVariant = ValuesOf<typeof BadgeVariant>;
|
|
9
|
+
export declare const BadgeVariant: 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" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
9
18
|
export declare class OdxBadge extends CustomElement {
|
|
10
|
-
compact
|
|
11
|
-
pulse
|
|
12
|
-
variant
|
|
19
|
+
compact: boolean;
|
|
20
|
+
pulse: boolean;
|
|
21
|
+
variant: BadgeVariant;
|
|
13
22
|
protected render(): TemplateResult;
|
|
14
23
|
}
|
|
15
24
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { OdxLink } from '../link/
|
|
3
|
+
import { OdxLink } from '../link/link.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-breadcrumbs-item': OdxBreadcrumbsItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomElement } from '../../lib/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
interface BreadcrumbsItem {
|
|
3
|
+
export interface BreadcrumbsItem {
|
|
4
4
|
href: string;
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
@@ -19,5 +19,4 @@ export declare class OdxBreadcrumbs extends CustomElement {
|
|
|
19
19
|
protected render(): TemplateResult;
|
|
20
20
|
protected updated(props: PropertyValues<this>): void;
|
|
21
21
|
}
|
|
22
|
-
export {};
|
|
23
22
|
//# sourceMappingURL=breadcrumbs.d.ts.map
|
|
@@ -1,29 +1,40 @@
|
|
|
1
|
+
import { InteractiveElement, ValuesOf } from '../../lib/main.js';
|
|
1
2
|
import { TemplateResult } from 'lit';
|
|
2
|
-
import { BaseButton } from './base-button.js';
|
|
3
|
-
import { ButtonBadgeAlign, ButtonSize, ButtonVariant } from './button.models.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-button': OdxButton;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
8
|
+
export type ButtonBadgeAlign = ValuesOf<typeof ButtonBadgeAlign>;
|
|
9
|
+
export declare const ButtonBadgeAlign: {
|
|
10
|
+
readonly START: "start";
|
|
11
|
+
readonly CENTER: "center";
|
|
12
|
+
readonly END: "end";
|
|
13
|
+
};
|
|
14
|
+
export type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
15
|
+
export declare const ButtonSize: Pick<{
|
|
16
|
+
readonly XS: "xs";
|
|
17
|
+
readonly SM: "sm";
|
|
18
|
+
readonly MD: "md";
|
|
19
|
+
readonly LG: "lg";
|
|
20
|
+
readonly XL: "xl";
|
|
21
|
+
readonly XXL: "xxl";
|
|
22
|
+
}, "XS" | "SM" | "MD" | "LG">;
|
|
23
|
+
export type ButtonVariant = ValuesOf<typeof ButtonVariant>;
|
|
24
|
+
export declare const ButtonVariant: Pick<{
|
|
25
|
+
readonly NEUTRAL: "neutral";
|
|
26
|
+
readonly PRIMARY: "primary";
|
|
27
|
+
readonly ACCENT: "accent";
|
|
28
|
+
readonly SUCCESS: "success";
|
|
29
|
+
readonly WARNING: "warning";
|
|
30
|
+
readonly DANGER: "danger";
|
|
31
|
+
readonly GHOST: "ghost";
|
|
32
|
+
}, "NEUTRAL" | "PRIMARY" | "ACCENT" | "DANGER" | "GHOST">;
|
|
33
|
+
export declare class OdxButton extends InteractiveElement {
|
|
23
34
|
#private;
|
|
35
|
+
/** @internal */
|
|
24
36
|
static readonly formAssociated = true;
|
|
25
37
|
alignBadge?: ButtonBadgeAlign;
|
|
26
|
-
block: boolean;
|
|
27
38
|
/**
|
|
28
39
|
* The type of the button.
|
|
29
40
|
*/
|
|
@@ -31,13 +42,13 @@ export declare class OdxButton extends OdxButton_base {
|
|
|
31
42
|
/**
|
|
32
43
|
* The size of the button.
|
|
33
44
|
*/
|
|
34
|
-
size
|
|
45
|
+
size: ButtonSize;
|
|
35
46
|
/**
|
|
36
47
|
* The variant of the button.
|
|
37
48
|
*/
|
|
38
|
-
variant
|
|
49
|
+
variant: ButtonVariant;
|
|
39
50
|
constructor();
|
|
51
|
+
connectedCallback(): void;
|
|
40
52
|
protected render(): TemplateResult;
|
|
41
53
|
}
|
|
42
|
-
export {};
|
|
43
54
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { ButtonVariant } from '../button/button.js';
|
|
2
4
|
declare global {
|
|
3
5
|
interface HTMLElementTagNameMap {
|
|
4
6
|
'odx-button-group': OdxButtonGroup;
|
|
@@ -6,8 +8,13 @@ declare global {
|
|
|
6
8
|
}
|
|
7
9
|
declare const OdxButtonGroup_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
8
10
|
export declare class OdxButtonGroup extends OdxButtonGroup_base {
|
|
11
|
+
#private;
|
|
12
|
+
private buttons;
|
|
9
13
|
block: boolean;
|
|
10
14
|
vertical: boolean;
|
|
15
|
+
variant?: ButtonVariant;
|
|
16
|
+
protected render(): TemplateResult;
|
|
17
|
+
protected updated(props: PropertyValues<this>): void;
|
|
11
18
|
}
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-card': OdxCard;
|
|
@@ -7,6 +7,8 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
declare const OdxCard_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
9
9
|
export declare class OdxCard extends OdxCard_base {
|
|
10
|
+
interactive: boolean;
|
|
11
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
10
12
|
protected render(): TemplateResult;
|
|
11
13
|
}
|
|
12
14
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CheckboxFormControl } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-checkbox': OdxCheckbox;
|
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
export declare class OdxCheckbox extends CheckboxFormControl {
|
|
9
9
|
indeterminate: boolean;
|
|
10
10
|
protected render(): TemplateResult;
|
|
11
|
-
protected willUpdate(
|
|
11
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
12
12
|
toggle(state?: boolean, dispatchEvent?: boolean): void;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { CheckboxGroupFormControl } from '../../lib/main.js';
|
|
1
|
+
import { ValuesOf, CheckboxGroupFormControl } from '../../lib/main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { CheckboxGroupVariant } from './checkbox-group.models.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-checkbox-group': OdxCheckboxGroup;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type CheckboxGroupLayout = ValuesOf<typeof CheckboxGroupLayout>;
|
|
9
|
+
export declare const CheckboxGroupLayout: {
|
|
10
|
+
readonly VERTICAL: "vertical";
|
|
11
|
+
readonly HORIZONTAL: "horizontal";
|
|
12
|
+
readonly LIST: "list";
|
|
13
|
+
};
|
|
9
14
|
export declare class OdxCheckboxGroup extends CheckboxGroupFormControl {
|
|
10
15
|
#private;
|
|
11
|
-
|
|
16
|
+
layout: CheckboxGroupLayout;
|
|
12
17
|
protected render(): TemplateResult;
|
|
13
18
|
}
|
|
14
19
|
//# sourceMappingURL=checkbox-group.d.ts.map
|
|
@@ -1,22 +1,31 @@
|
|
|
1
|
-
import { CanBeDisabled, CustomElement } from '../../lib/main.js';
|
|
1
|
+
import { CanBeDisabled, CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { ChipVariant } from './chip.models.js';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-chip': OdxChip;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type ChipVariant = ValuesOf<typeof ChipVariant>;
|
|
9
|
+
export declare const ChipVariant: 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" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
9
18
|
declare const OdxChip_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
19
|
export declare class OdxChip extends OdxChip_base {
|
|
11
20
|
#private;
|
|
12
21
|
protected actionElement?: HTMLElement;
|
|
13
22
|
removable: boolean;
|
|
14
23
|
interactive: boolean;
|
|
15
|
-
variant
|
|
24
|
+
variant: ChipVariant;
|
|
16
25
|
protected render(): TemplateResult;
|
|
17
26
|
protected renderAction(): TemplateResult;
|
|
18
|
-
protected willUpdate(
|
|
19
|
-
protected updated(
|
|
27
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
28
|
+
protected updated(props: PropertyValues<this>): void;
|
|
20
29
|
}
|
|
21
30
|
export {};
|
|
22
31
|
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
3
|
-
import { CircularProgressBarSize } from './circular-progress-bar.models.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-circular-progress-bar': OdxCircularProgressBar;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type CircularProgressBarSize = ValuesOf<typeof CircularProgressBarSize>;
|
|
9
|
+
export declare const CircularProgressBarSize: 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">;
|
|
9
17
|
/**
|
|
10
18
|
* A circular progress bar that indicates the progress of a task.
|
|
11
19
|
* @summary Displays the progress of a task in a circular format
|
|
@@ -34,9 +42,8 @@ export declare class OdxCircularProgressBar extends CustomElement {
|
|
|
34
42
|
* The size of the progress bar.
|
|
35
43
|
*/
|
|
36
44
|
size: CircularProgressBarSize;
|
|
37
|
-
firstUpdated(changes:
|
|
45
|
+
firstUpdated(changes: PropertyValues<this>): void;
|
|
38
46
|
disconnectedCallback(): void;
|
|
39
47
|
protected render(): TemplateResult;
|
|
40
|
-
private setAttributes;
|
|
41
48
|
}
|
|
42
49
|
//# sourceMappingURL=circular-progress-bar.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ActiveDescendantsController, FormControl, OptionControl } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { OdxDropdown } from '../dropdown/dropdown.js';
|
|
4
|
+
import { OdxHighlight } from '../highlight/highlight.js';
|
|
5
|
+
declare global {
|
|
6
|
+
interface HTMLElementTagNameMap {
|
|
7
|
+
'odx-autocomplete': OdxAutocomplete;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class OdxAutocomplete extends FormControl {
|
|
11
|
+
#private;
|
|
12
|
+
protected readonly activeDescendants: ActiveDescendantsController<OptionControl>;
|
|
13
|
+
protected options: OptionControl[];
|
|
14
|
+
protected readonly highlight: OdxHighlight;
|
|
15
|
+
protected readonly dropdown: OdxDropdown;
|
|
16
|
+
minQueryLength: number;
|
|
17
|
+
searchFn: (option: OptionControl, query?: string) => boolean;
|
|
18
|
+
get control(): HTMLInputElement | undefined;
|
|
19
|
+
get controlValue(): string;
|
|
20
|
+
firstUpdated(props: PropertyValues<this>): void;
|
|
21
|
+
protected render(): TemplateResult;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=autocomplete.d.ts.map
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OdxPopover, PopoverHost, PopoverPlacementOptions } from '../../cdk/main.js';
|
|
1
|
+
import { PopoverPlacementOptions, ValuesOf } from '../../lib/main.js';
|
|
3
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
|
-
import {
|
|
3
|
+
import { PopoverHost } from '../popover/popover-host.js';
|
|
5
4
|
declare global {
|
|
6
5
|
interface HTMLElementTagNameMap {
|
|
7
6
|
'odx-dropdown': OdxDropdown;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
export declare
|
|
9
|
+
export type DropdownPlacement = ValuesOf<typeof DropdownPlacement>;
|
|
10
|
+
export declare const DropdownPlacement: {
|
|
11
|
+
readonly TOP: "top";
|
|
12
|
+
readonly BOTTOM: "bottom";
|
|
13
|
+
};
|
|
14
|
+
export declare class OdxDropdown extends PopoverHost {
|
|
12
15
|
#private;
|
|
13
|
-
protected popoverElement: OdxPopover;
|
|
14
16
|
matchReferenceWidth: boolean;
|
|
15
17
|
placement: DropdownPlacement;
|
|
16
18
|
get options(): PopoverPlacementOptions;
|
|
17
19
|
connectedCallback(): void;
|
|
18
|
-
mountPopover(referenceElement
|
|
20
|
+
mountPopover(referenceElement: HTMLElement | null): void;
|
|
19
21
|
unmountPopover(referenceElement: HTMLElement): void;
|
|
20
22
|
protected render(): TemplateResult;
|
|
21
|
-
protected willUpdate(
|
|
23
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
22
24
|
}
|
|
23
|
-
export {};
|
|
24
25
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseFormat } from './base-format.js';
|
|
2
1
|
import { NumberFormatOptions, SingleUnitIdentifier } from '../../i18n/main.js';
|
|
2
|
+
import { BaseFormat } from './base-format.js';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-format-number': OdxFormatNumber;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RelativeTimeFormatOptions } from '../../i18n/main.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
import { BaseFormat } from './base-format.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
@@ -15,7 +15,7 @@ export declare class OdxRelativeTime extends BaseFormat<number | string | Date>
|
|
|
15
15
|
syncInterval?: number | null;
|
|
16
16
|
get valueAsDate(): Date | null;
|
|
17
17
|
disconnectedCallback(): void;
|
|
18
|
-
willUpdate(props:
|
|
18
|
+
willUpdate(props: PropertyValues<this>): void;
|
|
19
19
|
protected transform(value: Date | string): TemplateResult;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=relative-time.d.ts.map
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
import { CustomElement } from '../../lib/main.js';
|
|
2
|
-
import {
|
|
3
|
-
import { HeadlineSize } from './headline.models.js';
|
|
1
|
+
import { CustomElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
4
3
|
declare global {
|
|
5
4
|
interface HTMLElementTagNameMap {
|
|
6
5
|
'odx-headline': OdxHeadline;
|
|
7
6
|
}
|
|
8
7
|
}
|
|
8
|
+
export type HeadlineSize = ValuesOf<typeof HeadlineSize>;
|
|
9
|
+
export declare const HeadlineSize: 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" | "XL">;
|
|
9
17
|
export declare class OdxHeadline extends CustomElement {
|
|
10
|
-
size
|
|
11
|
-
|
|
18
|
+
size: HeadlineSize;
|
|
19
|
+
level?: number;
|
|
20
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
12
21
|
}
|
|
13
22
|
//# sourceMappingURL=headline.d.ts.map
|