@odx/foundation 1.0.0-beta.2 → 1.0.0-beta.200
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 +51 -9
- package/dist/_virtual_class-decorator-runtime.js +13 -0
- package/dist/components/accordion/accordion.d.ts +10 -5
- package/dist/components/accordion-item/accordion-item.d.ts +25 -0
- package/dist/components/{accordion → accordion-panel}/accordion-panel.d.ts +4 -2
- package/dist/components/action-button/action-button.d.ts +28 -0
- package/dist/components/action-group/action-group.d.ts +6 -13
- package/dist/components/anchor-navigation/anchor-navigation.d.ts +8 -6
- package/dist/components/anchor-navigation/index.d.ts +0 -1
- package/dist/components/area-footer/area-footer.d.ts +29 -0
- package/dist/components/area-header/area-header.d.ts +20 -4
- package/dist/components/autocomplete/autocomplete.d.ts +26 -0
- package/dist/components/avatar/avatar.d.ts +37 -5
- package/dist/components/badge/badge.d.ts +35 -5
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +3 -7
- package/dist/components/button/button.d.ts +30 -25
- package/dist/components/button-group/button-group.d.ts +8 -11
- package/dist/components/card/card.d.ts +22 -3
- package/dist/components/checkbox/checkbox.d.ts +6 -6
- package/dist/components/checkbox-group/checkbox-group.d.ts +10 -5
- package/dist/components/chip/chip.d.ts +20 -7
- package/dist/components/drawer/drawer.d.ts +17 -0
- package/dist/components/dropdown/dropdown.d.ts +25 -10
- package/dist/components/empty-state/empty-state.d.ts +46 -0
- package/dist/components/form-field/form-field.d.ts +3 -4
- package/dist/components/format/base-format.d.ts +2 -2
- 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/gradient-overlay/gradient-overlay.d.ts +23 -0
- package/dist/components/header/header.d.ts +12 -2
- package/dist/components/header/index.d.ts +0 -1
- package/dist/components/highlight/highlight.d.ts +32 -5
- package/dist/components/icon-button/icon-button.d.ts +15 -16
- package/dist/components/image/image.d.ts +5 -5
- package/dist/components/inline-message/inline-message.d.ts +21 -6
- package/dist/components/input/input.d.ts +17 -7
- package/dist/components/key-value/key-value.d.ts +53 -0
- package/dist/components/key-value-list/key-value-list.d.ts +15 -0
- package/dist/components/label/label.d.ts +11 -0
- package/dist/components/line-clamp/line-clamp.d.ts +3 -3
- package/dist/components/link/link.d.ts +15 -3
- package/dist/components/list/list.d.ts +12 -2
- package/dist/components/list-item/list-item.d.ts +24 -0
- package/dist/components/loader.d.ts +2 -0
- package/dist/components/loading-overlay/loading-overlay.d.ts +3 -5
- package/dist/components/loading-spinner/loading-spinner.d.ts +9 -3
- package/dist/components/logo/logo.d.ts +12 -3
- package/dist/components/main-menu/index.d.ts +1 -4
- package/dist/components/main-menu/main-menu-button.d.ts +3 -2
- package/dist/components/main-menu/main-menu.d.ts +1 -7
- package/dist/components/main.d.ts +75 -57
- package/dist/components/menu/menu.d.ts +5 -8
- package/dist/components/menu-item/menu-item.d.ts +22 -6
- package/dist/components/modal/modal.d.ts +10 -27
- package/dist/components/navigation/navigation.d.ts +18 -0
- package/dist/components/navigation-item/navigation-item.d.ts +11 -7
- package/dist/components/navigation-item-group/navigation-item-group.d.ts +20 -0
- package/dist/components/option/option.d.ts +3 -5
- package/dist/components/page/page.d.ts +20 -6
- package/dist/components/page-layout/page-layout.d.ts +9 -1
- package/dist/components/pagination/pagination.d.ts +3 -2
- package/dist/components/popover/compute-popover-placement.d.ts +13 -0
- package/dist/components/popover/popover-host.d.ts +43 -0
- package/dist/components/popover/popover-observer.d.ts +11 -0
- package/dist/{cdk → components}/popover/popover.d.ts +3 -2
- package/dist/components/progress-bar/base-progress.d.ts +14 -0
- package/dist/components/progress-bar/progress-bar.d.ts +2 -14
- package/dist/components/progress-ring/progress-ring.d.ts +33 -0
- package/dist/components/radio-button/radio-button.d.ts +5 -3
- package/dist/components/radio-group/radio-group.d.ts +10 -4
- package/dist/components/rail-navigation/rail-navigation.d.ts +5 -7
- package/dist/components/scroll-container/scroll-container.d.ts +34 -0
- package/dist/components/search-bar/search-bar.d.ts +18 -4
- package/dist/components/select/select.d.ts +15 -8
- package/dist/components/separator/separator.d.ts +10 -4
- package/dist/components/sidebar/sidebar.d.ts +30 -0
- package/dist/components/skeleton/skeleton.d.ts +13 -6
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/slider/slider-handle.d.ts +6 -6
- package/dist/components/slider/slider-marks.d.ts +2 -2
- package/dist/components/slider/slider.d.ts +2 -3
- package/dist/components/slider/slider.models.d.ts +4 -3
- package/dist/components/spinbox/spinbox.d.ts +15 -10
- package/dist/components/status/status.d.ts +28 -0
- package/dist/components/switch/switch.d.ts +12 -2
- package/dist/components/tab-bar/tab-bar.d.ts +36 -0
- package/dist/components/table/index.d.ts +3 -3
- package/dist/components/table/table-body.d.ts +1 -3
- package/dist/components/table/table-cell.d.ts +1 -3
- package/dist/components/table/table-checkbox-cell.d.ts +2 -2
- package/dist/components/table/table-header-cell.d.ts +1 -1
- package/dist/components/table/table-header.d.ts +5 -3
- package/dist/components/table/table-row.d.ts +4 -4
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/text/text.d.ts +27 -3
- package/dist/components/textarea/textarea.d.ts +23 -0
- package/dist/components/tile/tile.d.ts +37 -0
- package/dist/components/title/title.d.ts +19 -5
- package/dist/components/toast/toast.d.ts +19 -3
- package/dist/components/toggle-button/toggle-button.d.ts +40 -6
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +19 -0
- package/dist/components/toggle-content/toggle-content.d.ts +3 -4
- package/dist/components/toolbar/toolbar.d.ts +14 -0
- package/dist/components/tooltip/tooltip.d.ts +55 -7
- package/dist/components/translate/translate.d.ts +2 -2
- package/dist/components-loader.js +3 -0
- package/dist/components.js +3870 -4201
- package/dist/en.js +6 -0
- package/dist/i18n/{lib/config.d.ts → config.d.ts} +4 -3
- package/dist/i18n/{lib/is-localized.d.ts → is-localized.d.ts} +3 -2
- package/dist/i18n/{lib/localization.d.ts → localization.d.ts} +0 -1
- package/dist/i18n/main.d.ts +7 -6
- package/dist/i18n/translate.d.ts +6 -0
- package/dist/i18n/translations/en.json.d.ts +19 -0
- package/dist/i18n/types.d.ts +30 -0
- package/dist/i18n.js +61 -63
- package/dist/lib/behaviors/can-be-collapsed.d.ts +10 -0
- package/dist/lib/behaviors/can-be-disabled.d.ts +7 -0
- package/dist/lib/behaviors/can-be-expanded.d.ts +11 -0
- package/dist/lib/behaviors/checkbox-control-group.d.ts +22 -0
- package/dist/lib/behaviors/checkbox-control.d.ts +15 -0
- package/dist/lib/behaviors/form-associated.d.ts +22 -0
- package/dist/lib/behaviors/is-draggable.d.ts +23 -0
- package/dist/lib/behaviors/number-form-control.d.ts +11 -0
- package/dist/lib/control-element.d.ts +41 -0
- package/dist/lib/controllers/active-descendants-controller.d.ts +29 -0
- package/dist/{cdk/drag-drop → lib/controllers}/drag.controller.d.ts +3 -1
- package/dist/lib/controllers/expandable-controller.d.ts +14 -0
- package/dist/lib/custom-element.d.ts +11 -6
- package/dist/lib/dialog-element.d.ts +183 -0
- package/dist/lib/interactive-control-element.d.ts +19 -0
- package/dist/lib/link-control-element.d.ts +20 -0
- package/dist/lib/listbox-control-element.d.ts +30 -0
- package/dist/lib/models/layout.d.ts +48 -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 +24 -0
- package/dist/lib/option-control-element.d.ts +23 -0
- package/dist/lib/radio-group-control-element.d.ts +17 -0
- package/dist/main.d.ts +30 -0
- package/dist/main.js +1153 -941
- package/dist/styles-native.css +1 -0
- package/dist/styles.css +1 -1
- package/dist/utils/attribute-directive.d.ts +20 -0
- package/dist/utils/command-directive.d.ts +22 -0
- package/dist/utils/dom-events.d.ts +49 -0
- package/dist/{lib/utils/a11y.d.ts → utils/dom-types.d.ts} +1 -23
- package/dist/utils/dom.d.ts +16 -0
- package/dist/utils/lit.d.ts +4 -0
- package/dist/utils/main.d.ts +11 -0
- package/dist/utils/shared-event-listener.d.ts +3 -0
- package/dist/utils/shared-resize-observer.d.ts +7 -0
- package/dist/utils/types.d.ts +5 -0
- package/dist/utils/unique-id.d.ts +20 -0
- package/dist/utils.js +301 -0
- package/dist/vendor.js +1968 -0
- package/package.json +57 -34
- package/dist/cdk/drag-drop/drag-events.d.ts +0 -9
- 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 -19
- 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 -356
- package/dist/components/accordion/accordion-header.d.ts +0 -19
- package/dist/components/accordion/index.d.ts +0 -4
- package/dist/components/action-group/index.d.ts +0 -2
- package/dist/components/anchor-navigation/anchor-observer.d.ts +0 -11
- 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/avatar-group.d.ts +0 -15
- 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/breadcrumbs/breadcrumbs-item.d.ts +0 -17
- package/dist/components/breadcrumbs/index.d.ts +0 -3
- package/dist/components/button/base-button.d.ts +0 -27
- package/dist/components/button/button.models.d.ts +0 -15
- 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.d.ts +0 -42
- 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.d.ts +0 -11
- 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/header/header-actions.d.ts +0 -10
- package/dist/components/headline/headline.d.ts +0 -13
- 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/list/list-item.d.ts +0 -25
- 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/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/menu/index.d.ts +0 -3
- package/dist/components/menu/menu-label.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/index.d.ts +0 -4
- package/dist/components/search-bar/search-bar.events.d.ts +0 -7
- 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.d.ts +0 -13
- 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.d.ts +0 -17
- 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/components/visually-hidden/visually-hidden.d.ts +0 -11
- package/dist/i18n/lib/translate.d.ts +0 -11
- package/dist/lib/controllers/focus-trap.controller.d.ts +0 -13
- package/dist/lib/decorators/request-update-on-aria-change.d.ts +0 -4
- package/dist/lib/directives/optional-attr.d.ts +0 -2
- package/dist/lib/directives/optional-slot.d.ts +0 -3
- package/dist/lib/directives/slot-fallback.d.ts +0 -8
- package/dist/lib/facade/checkbox-form-control.d.ts +0 -15
- 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/main.d.ts +0 -34
- package/dist/lib/mixins/can-be-disabled.d.ts +0 -15
- package/dist/lib/mixins/can-be-expanded.d.ts +0 -12
- 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/dedupe-mixin.d.ts +0 -3
- 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/dom.d.ts +0 -17
- package/dist/lib/utils/get-unique-id.d.ts +0 -36
- package/dist/lib/utils/keyboard-events.d.ts +0 -43
- package/dist/lib/utils/object.d.ts +0 -2
- 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/shared-resize-observer.d.ts +0 -18
- package/dist/loader/main.d.ts +0 -2
- package/dist/loader.js +0 -12
- package/dist/vendor-C_WVAD3D.js +0 -3680
- package/dist/vite.config.d.ts +0 -3
- /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,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CheckboxControl, CustomElement } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-checkbox': OdxCheckbox;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
declare const OdxCheckbox_base: import('../../utils/types.js').Constructor<CheckboxControl> & typeof CustomElement;
|
|
9
|
+
export declare class OdxCheckbox extends OdxCheckbox_base {
|
|
10
10
|
protected render(): TemplateResult;
|
|
11
|
-
protected willUpdate(
|
|
12
|
-
toggle(state?: boolean, dispatchEvent?: boolean): void;
|
|
11
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
13
12
|
}
|
|
13
|
+
export {};
|
|
14
14
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckboxControlGroup } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { CheckboxGroupVariant } from './checkbox-group.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-checkbox-group': OdxCheckboxGroup;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export type CheckboxGroupLayout = ValuesOf<typeof CheckboxGroupLayout>;
|
|
10
|
+
export declare const CheckboxGroupLayout: {
|
|
11
|
+
readonly VERTICAL: "vertical";
|
|
12
|
+
readonly HORIZONTAL: "horizontal";
|
|
13
|
+
readonly LIST: "list";
|
|
14
|
+
};
|
|
15
|
+
export declare class OdxCheckboxGroup extends CheckboxControlGroup {
|
|
16
|
+
layout: CheckboxGroupLayout;
|
|
12
17
|
protected render(): TemplateResult;
|
|
13
18
|
}
|
|
14
19
|
//# sourceMappingURL=checkbox-group.d.ts.map
|
|
@@ -1,22 +1,35 @@
|
|
|
1
|
-
import { CanBeDisabled, CustomElement } from '../../
|
|
1
|
+
import { CanBeDisabled, CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { ChipVariant } from './chip.models.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-chip': OdxChip;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
export type ChipVariant = ValuesOf<typeof ChipVariant>;
|
|
10
|
+
export declare const ChipVariant: Pick<{
|
|
11
|
+
readonly NEUTRAL: "neutral";
|
|
12
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
13
|
+
readonly PRIMARY: "primary";
|
|
14
|
+
readonly PRIMARY_SUBTLE: "primary-subtle";
|
|
15
|
+
readonly ACCENT: "accent";
|
|
16
|
+
readonly ACCENT_SUBTLE: "accent-subtle";
|
|
17
|
+
readonly SUCCESS: "success";
|
|
18
|
+
readonly WARNING: "warning";
|
|
19
|
+
readonly DANGER: "danger";
|
|
20
|
+
readonly DANGER_SUBTLE: "danger-subtle";
|
|
21
|
+
readonly GHOST: "ghost";
|
|
22
|
+
}, "NEUTRAL" | "NEUTRAL_SUBTLE" | "PRIMARY" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
23
|
+
declare const OdxChip_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
24
|
export declare class OdxChip extends OdxChip_base {
|
|
11
25
|
#private;
|
|
12
26
|
protected actionElement?: HTMLElement;
|
|
13
27
|
removable: boolean;
|
|
14
28
|
interactive: boolean;
|
|
15
|
-
variant
|
|
29
|
+
variant: ChipVariant;
|
|
16
30
|
protected render(): TemplateResult;
|
|
17
|
-
protected
|
|
18
|
-
protected
|
|
19
|
-
protected updated(changes: PropertyValues<this>): void;
|
|
31
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
32
|
+
protected updated(props: PropertyValues<this>): void;
|
|
20
33
|
}
|
|
21
34
|
export {};
|
|
22
35
|
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DialogElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-drawer': OdxDrawer;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export type DrawerPosition = ValuesOf<typeof DrawerPosition>;
|
|
9
|
+
export declare const DrawerPosition: Pick<{
|
|
10
|
+
readonly START: "start";
|
|
11
|
+
readonly CENTER: "center";
|
|
12
|
+
readonly END: "end";
|
|
13
|
+
}, "START" | "END">;
|
|
14
|
+
export declare class OdxDrawer extends DialogElement {
|
|
15
|
+
position: DrawerPosition;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -1,24 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OdxPopover, PopoverHost, PopoverPlacementOptions } from '../../cdk/main.js';
|
|
1
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
|
-
import {
|
|
3
|
+
import { PopoverHost, PopoverPlacementOptions } 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: 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" | "TOP_START" | "TOP_END" | "BOTTOM" | "BOTTOM_START" | "BOTTOM_END">;
|
|
24
|
+
export declare class OdxDropdown extends PopoverHost {
|
|
12
25
|
#private;
|
|
13
|
-
|
|
26
|
+
fill: boolean;
|
|
27
|
+
offset: number;
|
|
14
28
|
matchReferenceWidth: boolean;
|
|
15
29
|
placement: DropdownPlacement;
|
|
16
|
-
get
|
|
30
|
+
get popoverPlacementOptions(): PopoverPlacementOptions;
|
|
17
31
|
connectedCallback(): void;
|
|
18
|
-
|
|
32
|
+
onBeforePopoverShow(): Promise<void> | void;
|
|
33
|
+
onBeforePopoverHide(): Promise<void> | void;
|
|
34
|
+
mountPopover(referenceElement: HTMLElement | null): void;
|
|
19
35
|
unmountPopover(referenceElement: HTMLElement): void;
|
|
20
36
|
protected render(): TemplateResult;
|
|
21
|
-
protected willUpdate(
|
|
37
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
22
38
|
}
|
|
23
|
-
export {};
|
|
24
39
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { OdxIconName } from '@odx/icons';
|
|
4
|
+
import { TemplateResult } from 'lit';
|
|
5
|
+
declare global {
|
|
6
|
+
interface HTMLElementTagNameMap {
|
|
7
|
+
'odx-empty-state': OdxEmptyState;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export type EmptyStateAlignment = ValuesOf<typeof EmptyStateAlignment>;
|
|
11
|
+
export declare const EmptyStateAlignment: Pick<{
|
|
12
|
+
readonly START: "start";
|
|
13
|
+
readonly CENTER: "center";
|
|
14
|
+
readonly END: "end";
|
|
15
|
+
}, "START" | "CENTER">;
|
|
16
|
+
export type EmptyStateSize = ValuesOf<typeof EmptyStateSize>;
|
|
17
|
+
export declare const EmptyStateSize: Pick<{
|
|
18
|
+
readonly XS: "xs";
|
|
19
|
+
readonly SM: "sm";
|
|
20
|
+
readonly MD: "md";
|
|
21
|
+
readonly LG: "lg";
|
|
22
|
+
readonly XL: "xl";
|
|
23
|
+
readonly XXL: "xxl";
|
|
24
|
+
}, "SM" | "MD" | "LG">;
|
|
25
|
+
export type EmptyStateVariant = ValuesOf<typeof EmptyStateVariant>;
|
|
26
|
+
export declare const EmptyStateVariant: Pick<{
|
|
27
|
+
readonly NEUTRAL: "neutral";
|
|
28
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
29
|
+
readonly PRIMARY: "primary";
|
|
30
|
+
readonly PRIMARY_SUBTLE: "primary-subtle";
|
|
31
|
+
readonly ACCENT: "accent";
|
|
32
|
+
readonly ACCENT_SUBTLE: "accent-subtle";
|
|
33
|
+
readonly SUCCESS: "success";
|
|
34
|
+
readonly WARNING: "warning";
|
|
35
|
+
readonly DANGER: "danger";
|
|
36
|
+
readonly DANGER_SUBTLE: "danger-subtle";
|
|
37
|
+
readonly GHOST: "ghost";
|
|
38
|
+
}, "NEUTRAL" | "NEUTRAL_SUBTLE" | "DANGER">;
|
|
39
|
+
export declare class OdxEmptyState extends CustomElement {
|
|
40
|
+
alignment: EmptyStateAlignment;
|
|
41
|
+
icon?: OdxIconName;
|
|
42
|
+
size: EmptyStateSize;
|
|
43
|
+
variant: EmptyStateVariant;
|
|
44
|
+
protected render(): TemplateResult | string;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { FormAssociated, CustomElement } from '../../main.js';
|
|
2
2
|
import { TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
@@ -7,9 +7,8 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class OdxFormField extends CustomElement {
|
|
9
9
|
#private;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
connectedCallback(): void;
|
|
10
|
+
touched: boolean;
|
|
11
|
+
getControl(): FormAssociated | undefined;
|
|
13
12
|
protected render(): TemplateResult;
|
|
14
13
|
protected renderErrorMessage(): TemplateResult;
|
|
15
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { IsLocalized } from '../../i18n/main.js';
|
|
3
3
|
import { TemplateResult } from 'lit';
|
|
4
|
-
declare const BaseFormat_base: import('../../
|
|
4
|
+
declare const BaseFormat_base: import('../../utils/types.js').Constructor<IsLocalized> & typeof CustomElement;
|
|
5
5
|
export declare abstract class BaseFormat<T> extends BaseFormat_base {
|
|
6
6
|
static styles: import('lit').CSSResult[];
|
|
7
7
|
abstract value?: T | null;
|
|
@@ -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
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-gradient-overlay': OdxGradientOverlay;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export type GradientOverlaySize = ValuesOf<typeof GradientOverlaySize>;
|
|
10
|
+
export declare const GradientOverlaySize: Pick<{
|
|
11
|
+
readonly XS: "xs";
|
|
12
|
+
readonly SM: "sm";
|
|
13
|
+
readonly MD: "md";
|
|
14
|
+
readonly LG: "lg";
|
|
15
|
+
readonly XL: "xl";
|
|
16
|
+
readonly XXL: "xxl";
|
|
17
|
+
}, "SM" | "MD">;
|
|
18
|
+
export declare class OdxGradientOverlay extends CustomElement {
|
|
19
|
+
active: boolean;
|
|
20
|
+
size: GradientOverlaySize;
|
|
21
|
+
protected render(): TemplateResult | string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=gradient-overlay.d.ts.map
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { TemplateResult } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
5
6
|
'odx-header': OdxHeader;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
9
|
+
export type HeaderSize = ValuesOf<typeof HeaderSize>;
|
|
10
|
+
export declare const HeaderSize: Pick<{
|
|
11
|
+
readonly XS: "xs";
|
|
12
|
+
readonly SM: "sm";
|
|
13
|
+
readonly MD: "md";
|
|
14
|
+
readonly LG: "lg";
|
|
15
|
+
readonly XL: "xl";
|
|
16
|
+
readonly XXL: "xxl";
|
|
17
|
+
}, "SM" | "MD" | "LG">;
|
|
8
18
|
export declare class OdxHeader extends CustomElement {
|
|
9
19
|
#private;
|
|
10
|
-
|
|
20
|
+
size: HeaderSize;
|
|
11
21
|
connectedCallback(): void;
|
|
12
22
|
protected render(): TemplateResult;
|
|
13
23
|
}
|
|
@@ -1,14 +1,41 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
1
|
+
import { CanBeDisabled, CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { PropertyValues } from 'lit';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
5
6
|
'odx-highlight': OdxHighlight;
|
|
6
7
|
}
|
|
8
|
+
export interface HighlightRegistry {
|
|
9
|
+
set(name: string, highlight: Highlight): void;
|
|
10
|
+
delete(name: string): void;
|
|
11
|
+
}
|
|
7
12
|
}
|
|
8
|
-
export
|
|
13
|
+
export type HighlightVariant = ValuesOf<typeof HighlightVariant>;
|
|
14
|
+
export declare const HighlightVariant: Pick<{
|
|
15
|
+
readonly NEUTRAL: "neutral";
|
|
16
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
17
|
+
readonly PRIMARY: "primary";
|
|
18
|
+
readonly PRIMARY_SUBTLE: "primary-subtle";
|
|
19
|
+
readonly ACCENT: "accent";
|
|
20
|
+
readonly ACCENT_SUBTLE: "accent-subtle";
|
|
21
|
+
readonly SUCCESS: "success";
|
|
22
|
+
readonly WARNING: "warning";
|
|
23
|
+
readonly DANGER: "danger";
|
|
24
|
+
readonly DANGER_SUBTLE: "danger-subtle";
|
|
25
|
+
readonly GHOST: "ghost";
|
|
26
|
+
}, "NEUTRAL" | "ACCENT" | "ACCENT_SUBTLE" | "DANGER" | "DANGER_SUBTLE">;
|
|
27
|
+
declare const OdxHighlight_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
28
|
+
export declare class OdxHighlight extends OdxHighlight_base {
|
|
29
|
+
#private;
|
|
30
|
+
private static registry;
|
|
31
|
+
root: Element;
|
|
9
32
|
query?: string | null;
|
|
33
|
+
selector?: string;
|
|
10
34
|
minlength: number;
|
|
11
|
-
|
|
12
|
-
protected
|
|
35
|
+
variant: HighlightVariant;
|
|
36
|
+
protected updated(props: PropertyValues<this>): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
38
|
+
private static updateGlobalHighlights;
|
|
13
39
|
}
|
|
40
|
+
export {};
|
|
14
41
|
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
import { OdxButton } from '../button/
|
|
1
|
+
import { OdxIconName } from '@odx/icons';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { OdxButton } from '../button/button.js';
|
|
4
|
+
import { TooltipPlacement, TooltipVariant } from '../tooltip/tooltip.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-icon-button': OdxIconButton;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
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
10
|
export declare class OdxIconButton extends OdxButton {
|
|
22
|
-
|
|
11
|
+
#private;
|
|
12
|
+
activeIcon?: OdxIconName;
|
|
13
|
+
activeLabel?: string;
|
|
14
|
+
float: boolean;
|
|
15
|
+
icon?: OdxIconName;
|
|
16
|
+
label?: string;
|
|
17
|
+
labelPlacement?: TooltipPlacement;
|
|
18
|
+
labelVariant?: TooltipVariant;
|
|
19
|
+
protected render(): TemplateResult;
|
|
20
|
+
protected updated(props: PropertyValues<this>): void;
|
|
23
21
|
protected renderContent(): TemplateResult;
|
|
22
|
+
protected renderLabel(label: TemplateResult | string): TemplateResult;
|
|
24
23
|
}
|
|
25
24
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
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,10 +25,10 @@ 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(): HTMLTemplateResult | TemplateResult | string;
|
|
28
|
+
protected render(): TemplateResult;
|
|
30
29
|
protected updated(props: PropertyValues<this>): void;
|
|
31
30
|
load(src: string): Promise<void>;
|
|
31
|
+
static renderPlaceholder(image: OdxImage): TemplateResult;
|
|
32
32
|
}
|
|
33
33
|
export {};
|
|
34
34
|
//# sourceMappingURL=image.d.ts.map
|
|
@@ -1,16 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { OdxIconName } from '@odx/icons';
|
|
2
4
|
import { TemplateResult } from 'lit';
|
|
3
|
-
import { InlineMessageVariant } from './inline-message.models.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-inline-message': OdxInlineMessage;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
10
|
+
export type InlineMessageVariant = ValuesOf<typeof InlineMessageVariant>;
|
|
11
|
+
export declare const InlineMessageVariant: Pick<{
|
|
12
|
+
readonly NEUTRAL: "neutral";
|
|
13
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
14
|
+
readonly PRIMARY: "primary";
|
|
15
|
+
readonly PRIMARY_SUBTLE: "primary-subtle";
|
|
16
|
+
readonly ACCENT: "accent";
|
|
17
|
+
readonly ACCENT_SUBTLE: "accent-subtle";
|
|
18
|
+
readonly SUCCESS: "success";
|
|
19
|
+
readonly WARNING: "warning";
|
|
20
|
+
readonly DANGER: "danger";
|
|
21
|
+
readonly DANGER_SUBTLE: "danger-subtle";
|
|
22
|
+
readonly GHOST: "ghost";
|
|
23
|
+
}, "NEUTRAL" | "PRIMARY" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
9
24
|
export declare class OdxInlineMessage extends CustomElement {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
icon?:
|
|
13
|
-
variant
|
|
25
|
+
dismissible: boolean;
|
|
26
|
+
strong: boolean;
|
|
27
|
+
icon?: OdxIconName | null;
|
|
28
|
+
variant: InlineMessageVariant;
|
|
14
29
|
show(): void;
|
|
15
30
|
hide(): Promise<void>;
|
|
16
31
|
protected render(): TemplateResult;
|
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { CustomElement, FormAssociated } from '../../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 const OdxInput_base: import('../../
|
|
9
|
+
declare const OdxInput_base: import('../../utils/main.js').Constructor<FormAssociated<string>> & typeof CustomElement;
|
|
10
10
|
export declare class OdxInput extends OdxInput_base {
|
|
11
11
|
#private;
|
|
12
|
-
static
|
|
12
|
+
static shadowRootOptions: ShadowRootInit;
|
|
13
|
+
private nativeInput;
|
|
14
|
+
block: boolean;
|
|
13
15
|
clearable: boolean;
|
|
16
|
+
hideControls: boolean;
|
|
14
17
|
placeholder: string;
|
|
18
|
+
min?: number;
|
|
19
|
+
max?: number;
|
|
20
|
+
step?: number;
|
|
15
21
|
type: HTMLInputElement['type'];
|
|
16
|
-
|
|
17
|
-
|
|
22
|
+
value: string;
|
|
23
|
+
focus(options?: FocusOptions): void;
|
|
24
|
+
stepUp(): void;
|
|
25
|
+
stepDown(): void;
|
|
26
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
18
27
|
protected render(): TemplateResult;
|
|
28
|
+
protected renderControl(type: string, icon: OdxIconName, listener: EventListener, disabled: boolean): TemplateResult | typeof nothing;
|
|
19
29
|
}
|
|
20
30
|
export {};
|
|
21
31
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-key-value': OdxKeyValue;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export type KeyValueAlignment = ValuesOf<typeof KeyValueAlignment>;
|
|
10
|
+
export declare const KeyValueAlignment: Pick<{
|
|
11
|
+
readonly START: "start";
|
|
12
|
+
readonly CENTER: "center";
|
|
13
|
+
readonly END: "end";
|
|
14
|
+
}, "START" | "END">;
|
|
15
|
+
export type KeyValueLayout = ValuesOf<typeof KeyValueLayout>;
|
|
16
|
+
export declare const KeyValueLayout: {
|
|
17
|
+
VERTICAL: string;
|
|
18
|
+
HORIZONTAL: string;
|
|
19
|
+
};
|
|
20
|
+
export type KeyValueSize = ValuesOf<typeof KeyValueSize>;
|
|
21
|
+
export declare const KeyValueSize: Pick<{
|
|
22
|
+
readonly XS: "xs";
|
|
23
|
+
readonly SM: "sm";
|
|
24
|
+
readonly MD: "md";
|
|
25
|
+
readonly LG: "lg";
|
|
26
|
+
readonly XL: "xl";
|
|
27
|
+
readonly XXL: "xxl";
|
|
28
|
+
}, "SM" | "MD" | "LG" | "XL">;
|
|
29
|
+
export type KeyValueVariant = ValuesOf<typeof KeyValueVariant>;
|
|
30
|
+
export declare const KeyValueVariant: Pick<{
|
|
31
|
+
readonly NEUTRAL: "neutral";
|
|
32
|
+
readonly NEUTRAL_SUBTLE: "neutral-subtle";
|
|
33
|
+
readonly PRIMARY: "primary";
|
|
34
|
+
readonly PRIMARY_SUBTLE: "primary-subtle";
|
|
35
|
+
readonly ACCENT: "accent";
|
|
36
|
+
readonly ACCENT_SUBTLE: "accent-subtle";
|
|
37
|
+
readonly SUCCESS: "success";
|
|
38
|
+
readonly WARNING: "warning";
|
|
39
|
+
readonly DANGER: "danger";
|
|
40
|
+
readonly DANGER_SUBTLE: "danger-subtle";
|
|
41
|
+
readonly GHOST: "ghost";
|
|
42
|
+
}, "NEUTRAL" | "ACCENT" | "SUCCESS" | "DANGER">;
|
|
43
|
+
export declare class OdxKeyValue extends CustomElement {
|
|
44
|
+
alignment: KeyValueAlignment;
|
|
45
|
+
key: string;
|
|
46
|
+
layout: KeyValueLayout;
|
|
47
|
+
size: KeyValueSize;
|
|
48
|
+
unit?: string;
|
|
49
|
+
value: string;
|
|
50
|
+
variant: KeyValueVariant;
|
|
51
|
+
protected render(): TemplateResult;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=key-value.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { KeyValueSize, OdxKeyValue } from '../key-value/key-value.js';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-key-value-list': OdxKeyValueList;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare class OdxKeyValueList extends CustomElement {
|
|
10
|
+
size: KeyValueSize;
|
|
11
|
+
getItems(_deep?: boolean): OdxKeyValue[];
|
|
12
|
+
protected render(): TemplateResult;
|
|
13
|
+
protected updated(props: PropertyValues<this>): void;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=key-value-list.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
2
|
+
import { TemplateResult } from 'lit';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-label': OdxLabel;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export declare class OdxLabel extends CustomElement {
|
|
9
|
+
protected render(): TemplateResult;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomElement } from '../../
|
|
2
|
-
import {
|
|
1
|
+
import { CustomElement } from '../../main.js';
|
|
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,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CanBeDisabled, CustomElement } from '../../main.js';
|
|
2
|
+
import { TemplateResult } from 'lit';
|
|
2
3
|
declare global {
|
|
3
4
|
interface HTMLElementTagNameMap {
|
|
4
5
|
'odx-link': OdxLink;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
declare const OdxLink_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
9
|
+
export declare class OdxLink extends OdxLink_base {
|
|
10
|
+
readonly linkElement: HTMLAnchorElement;
|
|
11
|
+
href: string;
|
|
12
|
+
target: '_blank' | '_parent' | '_self' | '_top' | '';
|
|
13
|
+
rel: string;
|
|
14
|
+
download?: string;
|
|
15
|
+
external: boolean;
|
|
16
|
+
strong: boolean;
|
|
9
17
|
subtle: boolean;
|
|
18
|
+
protected render(): TemplateResult;
|
|
19
|
+
click(): void;
|
|
20
|
+
focus(options?: FocusOptions): void;
|
|
10
21
|
}
|
|
22
|
+
export {};
|
|
11
23
|
//# sourceMappingURL=link.d.ts.map
|