@odx/foundation 1.0.0-beta.246 → 1.0.0-beta.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/breakpoints/types.d.ts +4 -1
- package/dist/components/accordion/accordion.d.ts +11 -4
- package/dist/components/accordion-item/accordion-item.d.ts +7 -8
- package/dist/components/accordion-panel/accordion-panel.d.ts +8 -1
- package/dist/components/action-button/action-button.d.ts +5 -6
- package/dist/components/avatar/avatar.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +2 -0
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button-group/button-group.d.ts +3 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/format/base-format.d.ts +1 -1
- package/dist/components/icon-button/icon-button.d.ts +1 -2
- package/dist/components/inline-message/inline-message.d.ts +11 -1
- package/dist/components/list/list.d.ts +1 -1
- package/dist/components/list-item/list-item.d.ts +0 -1
- package/dist/components/menu/menu.d.ts +0 -1
- package/dist/components/modal/modal.d.ts +2 -1
- package/dist/components/modal/modal.service.d.ts +11 -0
- package/dist/components/navigation/navigation.d.ts +1 -0
- package/dist/components/navigation-item-group/navigation-item-group.d.ts +1 -0
- package/dist/components/option/option.d.ts +1 -1
- package/dist/components/pagination/pagination.d.ts +1 -1
- package/dist/components/rail-navigation/rail-navigation.d.ts +1 -1
- package/dist/components/search-bar/search-bar.d.ts +2 -3
- package/dist/components/tab-bar/tab-bar.d.ts +1 -1
- package/dist/components/table/table-checkbox-cell.d.ts +1 -1
- package/dist/components/table/table-header.d.ts +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +5 -13
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +4 -4
- package/dist/components/translate/translate.d.ts +1 -1
- package/dist/components.js +324 -293
- package/dist/i18n/format.d.ts +1 -0
- package/dist/i18n/main.d.ts +2 -2
- package/dist/i18n.js +13 -3
- package/dist/lib/behaviors/checkbox-control.d.ts +1 -1
- package/dist/lib/behaviors/is-draggable.d.ts +1 -1
- package/dist/lib/behaviors/option-control.d.ts +1 -2
- package/dist/lib/control-element.d.ts +2 -2
- package/dist/lib/controllers/active-descendants-controller.d.ts +1 -1
- package/dist/lib/custom-element.d.ts +2 -1
- package/dist/lib/dark-mode.d.ts +1 -1
- package/dist/lib/dialog-element.d.ts +2 -2
- package/dist/lib/{models/layout.d.ts → models.d.ts} +20 -21
- package/dist/lib/signals.d.ts +1 -1
- package/dist/main.d.ts +1 -4
- package/dist/main.js +95 -94
- package/dist/oss-licenses.json +17 -8
- package/dist/oss-licenses.txt +65 -31
- package/dist/styles.css +1 -1
- package/dist/utils/command-directive.d.ts +4 -4
- package/dist/utils/dom-renderer.d.ts +16 -0
- package/dist/utils/dom.d.ts +5 -7
- package/dist/utils/main.d.ts +5 -1
- package/dist/utils/math.d.ts +2 -0
- package/dist/utils/object.d.ts +4 -0
- package/dist/utils.js +111 -52
- package/dist/vendor.js +48 -88
- package/package.json +6 -6
- 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 -15
- package/dist/utils/types.d.ts +0 -8
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type FilteredKeys<T extends object> = {
|
|
2
|
+
[K in keyof T as T[K] extends true ? K : never]: T[K];
|
|
3
|
+
};
|
|
2
4
|
export type BreakpointOperator = '<' | '<=' | '>=' | '>';
|
|
3
5
|
export interface BreakpointConfig {
|
|
4
6
|
name: keyof FilteredKeys<ODX.Breakpoints.Config>;
|
|
@@ -11,4 +13,5 @@ export interface Breakpoint extends BreakpointConfig {
|
|
|
11
13
|
query: string;
|
|
12
14
|
operator?: BreakpointOperator;
|
|
13
15
|
}
|
|
16
|
+
export {};
|
|
14
17
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { ControlSize, CustomElement, ExpandableItemManagerHost } from '../../main.js';
|
|
2
|
+
import { ValuesOf } from '../../utils/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import {
|
|
4
|
+
import { OdxAccordionItem } from '../accordion-item/accordion-item.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-accordion': OdxAccordion;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
10
|
+
export type AccordionIndicatorPosition = ValuesOf<typeof AccordionIndicatorPosition>;
|
|
11
|
+
export declare const AccordionIndicatorPosition: Pick<{
|
|
12
|
+
readonly START: "start";
|
|
13
|
+
readonly CENTER: "center";
|
|
14
|
+
readonly END: "end";
|
|
15
|
+
}, "START" | "END">;
|
|
9
16
|
/**
|
|
10
17
|
* @summary A container for grouping a set of accordion items and panels.
|
|
11
18
|
* @status beta
|
|
12
19
|
* @since 1.0.0
|
|
13
20
|
*
|
|
14
|
-
* @
|
|
21
|
+
* @dependencies odx-accordion-item
|
|
15
22
|
*
|
|
16
23
|
* @slot - Default slot for accordion items and panels.
|
|
17
24
|
*
|
|
@@ -20,13 +27,13 @@ declare global {
|
|
|
20
27
|
*/
|
|
21
28
|
export declare class OdxAccordion extends CustomElement implements ExpandableItemManagerHost<OdxAccordionItem> {
|
|
22
29
|
#private;
|
|
23
|
-
indicatorPosition:
|
|
30
|
+
indicatorPosition: AccordionIndicatorPosition;
|
|
24
31
|
multiple: boolean;
|
|
25
32
|
size: ControlSize;
|
|
26
33
|
constructor();
|
|
27
|
-
protected render(): TemplateResult | string;
|
|
28
34
|
getItems(): OdxAccordionItem[];
|
|
29
35
|
toggleAll(state?: boolean, emitEvent?: boolean): void;
|
|
36
|
+
protected render(): TemplateResult | string;
|
|
30
37
|
protected updated(props: PropertyValues<this>): void;
|
|
31
38
|
}
|
|
32
39
|
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CanBeExpanded, InteractiveControlElement } from '../../main.js';
|
|
2
|
-
import { ValuesOf } from '../../utils/main.js';
|
|
3
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
3
|
import { OdxAccordionPanel } from '../accordion-panel/accordion-panel.js';
|
|
5
4
|
declare global {
|
|
@@ -7,15 +6,15 @@ declare global {
|
|
|
7
6
|
'odx-accordion-item': OdxAccordionItem;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
|
-
export type AccordionItemIndicatorPosition = ValuesOf<typeof AccordionItemIndicatorPosition>;
|
|
11
|
-
export declare const AccordionItemIndicatorPosition: Pick<{
|
|
12
|
-
readonly START: "start";
|
|
13
|
-
readonly CENTER: "center";
|
|
14
|
-
readonly END: "end";
|
|
15
|
-
}, "START" | "END">;
|
|
16
9
|
declare const OdxAccordionItem_base: import('../../utils/main.js').Constructor<CanBeExpanded> & typeof InteractiveControlElement;
|
|
10
|
+
/**
|
|
11
|
+
* @summary An accordion item component that can be expanded or collapsed to show or hide content.
|
|
12
|
+
* @status beta
|
|
13
|
+
* @since 1.0.0
|
|
14
|
+
*
|
|
15
|
+
* @dependencies odx-accordion-panel
|
|
16
|
+
*/
|
|
17
17
|
export declare class OdxAccordionItem extends OdxAccordionItem_base {
|
|
18
|
-
indicatorPosition: AccordionItemIndicatorPosition;
|
|
19
18
|
getPanel(): OdxAccordionPanel | null;
|
|
20
19
|
connectedCallback(): void;
|
|
21
20
|
protected renderContent(): TemplateResult;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import { CustomElement } from '../../main.js';
|
|
1
|
+
import { ControlSize, CustomElement } from '../../main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
declare global {
|
|
4
4
|
interface HTMLElementTagNameMap {
|
|
5
5
|
'odx-accordion-panel': OdxAccordionPanel;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* @summary A panel component that is used within an accordion to show or hide content.
|
|
10
|
+
* @status beta
|
|
11
|
+
* @since 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
8
14
|
export declare class OdxAccordionPanel extends CustomElement {
|
|
9
15
|
expanded: boolean;
|
|
16
|
+
size: ControlSize;
|
|
10
17
|
connectedCallback(): void;
|
|
11
18
|
protected updated(props: PropertyValues<this>): void;
|
|
12
19
|
protected render(): TemplateResult;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OdxIconName } from '@odx/icons';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
import { OdxButton } from '../button/button.js';
|
|
4
|
-
import {
|
|
4
|
+
import { TooltipPlacement } from '../tooltip/tooltip.js';
|
|
5
5
|
declare global {
|
|
6
6
|
interface HTMLElementTagNameMap {
|
|
7
7
|
'odx-action-button': OdxActionButton;
|
|
@@ -9,20 +9,19 @@ declare global {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class OdxActionButton extends OdxButton {
|
|
11
11
|
#private;
|
|
12
|
-
|
|
12
|
+
static observeSlots: boolean;
|
|
13
|
+
private tooltip?;
|
|
13
14
|
done: boolean;
|
|
14
|
-
icon
|
|
15
|
+
icon?: OdxIconName;
|
|
15
16
|
label: string;
|
|
16
17
|
labelPlacement?: TooltipPlacement;
|
|
17
18
|
statusIcon: OdxIconName;
|
|
18
|
-
|
|
19
|
+
statusLabel: string;
|
|
19
20
|
statusTimeout: number;
|
|
20
|
-
statusMessageTimeout: number;
|
|
21
21
|
replaceContent: boolean;
|
|
22
22
|
protected firstUpdated(props: PropertyValues<this>): void;
|
|
23
23
|
protected render(): TemplateResult;
|
|
24
24
|
protected renderContent(): TemplateResult;
|
|
25
|
-
protected renderLabel(label: TemplateResult | string): TemplateResult;
|
|
26
25
|
protected updated(props: PropertyValues<this>): void;
|
|
27
26
|
}
|
|
28
27
|
//# sourceMappingURL=action-button.d.ts.map
|
|
@@ -7,10 +7,10 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export type AvatarShape = ValuesOf<typeof AvatarShape>;
|
|
10
|
-
export declare const AvatarShape:
|
|
10
|
+
export declare const AvatarShape: {
|
|
11
11
|
readonly CIRCLE: "circle";
|
|
12
12
|
readonly RECTANGLE: "rectangle";
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
export type AvatarSize = ValuesOf<typeof AvatarSize>;
|
|
15
15
|
export declare const AvatarSize: Pick<{
|
|
16
16
|
readonly XS: "xs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CustomElement } from '../../main.js';
|
|
2
2
|
import { ValuesOf } from '../../utils/main.js';
|
|
3
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
|
+
import { OdxLink } from '../link/link.js';
|
|
4
5
|
export interface BreadcrumbsItem {
|
|
5
6
|
href: string;
|
|
6
7
|
label: string;
|
|
@@ -27,6 +28,7 @@ export declare class OdxBreadcrumbs extends CustomElement {
|
|
|
27
28
|
#private;
|
|
28
29
|
max: number;
|
|
29
30
|
variant: BreadcrumbsVariant;
|
|
31
|
+
getItems(): Array<OdxLink | HTMLAnchorElement>;
|
|
30
32
|
connectedCallback(): void;
|
|
31
33
|
protected render(): TemplateResult;
|
|
32
34
|
protected updated(props: PropertyValues<this>): void;
|
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
'odx-button': OdxButton;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export declare const buttonDirective: import('../../utils/main.js').BooleanAttributeDirective<"odx-button">;
|
|
9
|
+
export declare const buttonDirective: import('../../utils/main.js').BooleanAttributeDirective<"data-odx-button">;
|
|
10
10
|
export type ButtonBadgePosition = ValuesOf<typeof ButtonBadgePosition>;
|
|
11
11
|
export declare const ButtonBadgePosition: Pick<{
|
|
12
12
|
readonly START: "start";
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { ControlSize, CustomElement } from '../../main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { ButtonVariant } from '../button/button.js';
|
|
3
|
+
import { ButtonVariant, OdxButton } from '../button/button.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-button-group': OdxButtonGroup;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export declare class OdxButtonGroup extends CustomElement {
|
|
10
|
+
#private;
|
|
10
11
|
size: ControlSize;
|
|
11
12
|
variant?: ButtonVariant;
|
|
12
13
|
vertical: boolean;
|
|
14
|
+
getItems(): OdxButton[];
|
|
13
15
|
connectedCallback(): void;
|
|
14
16
|
protected render(): TemplateResult;
|
|
15
17
|
protected updated(props: PropertyValues<this>): void;
|
|
@@ -5,7 +5,7 @@ declare global {
|
|
|
5
5
|
'odx-checkbox': OdxCheckbox;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare const OdxCheckbox_base: import('../../utils/
|
|
8
|
+
declare const OdxCheckbox_base: import('../../utils/main.js').Constructor<CheckboxControl> & typeof CustomElement;
|
|
9
9
|
export declare class OdxCheckbox extends OdxCheckbox_base {
|
|
10
10
|
protected render(): TemplateResult;
|
|
11
11
|
protected renderContent(): TemplateResult | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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('../../utils/
|
|
4
|
+
declare const BaseFormat_base: import('../../utils/main.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;
|
|
@@ -16,7 +16,7 @@ export declare const IconButtonPreset: {
|
|
|
16
16
|
};
|
|
17
17
|
declare const OdxIconButton_base: import('../../utils/main.js').Constructor<import('../../main.js').HasPresets<OdxButton>> & typeof OdxButton;
|
|
18
18
|
export declare class OdxIconButton extends OdxIconButton_base {
|
|
19
|
-
|
|
19
|
+
private tooltip?;
|
|
20
20
|
readonly presets: PresetsConfig<OdxIconButton>;
|
|
21
21
|
preset?: IconButtonPreset;
|
|
22
22
|
activeIcon?: OdxIconName;
|
|
@@ -29,7 +29,6 @@ export declare class OdxIconButton extends OdxIconButton_base {
|
|
|
29
29
|
protected render(): TemplateResult;
|
|
30
30
|
protected updated(props: PropertyValues<this>): void;
|
|
31
31
|
protected renderContent(): TemplateResult;
|
|
32
|
-
protected renderLabel(label: TemplateResult | string): TemplateResult;
|
|
33
32
|
}
|
|
34
33
|
export {};
|
|
35
34
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -7,6 +7,15 @@ declare global {
|
|
|
7
7
|
'odx-inline-message': OdxInlineMessage;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
+
export type InlineMessageSize = ValuesOf<typeof InlineMessageSize>;
|
|
11
|
+
export declare const InlineMessageSize: Pick<{
|
|
12
|
+
readonly XS: "xs";
|
|
13
|
+
readonly SM: "sm";
|
|
14
|
+
readonly MD: "md";
|
|
15
|
+
readonly LG: "lg";
|
|
16
|
+
readonly XL: "xl";
|
|
17
|
+
readonly XXL: "xxl";
|
|
18
|
+
}, "SM" | "MD">;
|
|
10
19
|
export type InlineMessageVariant = ValuesOf<typeof InlineMessageVariant>;
|
|
11
20
|
export declare const InlineMessageVariant: Pick<{
|
|
12
21
|
readonly NEUTRAL: "neutral";
|
|
@@ -19,11 +28,12 @@ export declare const InlineMessageVariant: Pick<{
|
|
|
19
28
|
readonly DANGER: "danger";
|
|
20
29
|
readonly DANGER_GHOST: "danger-ghost";
|
|
21
30
|
readonly GHOST: "ghost";
|
|
22
|
-
}, "
|
|
31
|
+
}, "PRIMARY" | "SUCCESS" | "WARNING" | "DANGER">;
|
|
23
32
|
export declare class OdxInlineMessage extends CustomElement {
|
|
24
33
|
dismissible: boolean;
|
|
25
34
|
strong: boolean;
|
|
26
35
|
icon?: OdxIconName | null;
|
|
36
|
+
size: InlineMessageSize;
|
|
27
37
|
variant: InlineMessageVariant;
|
|
28
38
|
show(): void;
|
|
29
39
|
hide(): Promise<void>;
|
|
@@ -16,7 +16,6 @@ export declare class OdxMenu extends PopoverHost {
|
|
|
16
16
|
onBeforePopoverShow(): void;
|
|
17
17
|
onPopoverShow(): void;
|
|
18
18
|
onBeforePopoverHide(): void;
|
|
19
|
-
protected isMenuItem(element: HTMLElement): element is OdxMenuItem;
|
|
20
19
|
protected render(): TemplateResult;
|
|
21
20
|
protected updated(props: PropertyValues<this>): void;
|
|
22
21
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DialogElement } from '../../main.js';
|
|
2
2
|
import { ValuesOf } from '../../utils/main.js';
|
|
3
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
|
+
export * from './modal.service.js';
|
|
4
5
|
declare global {
|
|
5
6
|
interface HTMLElementTagNameMap {
|
|
6
7
|
'odx-modal': OdxModal;
|
|
@@ -12,7 +13,7 @@ export declare const ModalLayout: {
|
|
|
12
13
|
SIDESHEET: string;
|
|
13
14
|
};
|
|
14
15
|
export declare class OdxModal extends DialogElement {
|
|
15
|
-
protected
|
|
16
|
+
protected render(): TemplateResult;
|
|
16
17
|
protected update(props: PropertyValues<this>): void;
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { OdxModal } from './modal.js';
|
|
3
|
+
interface ModalProps extends Pick<Partial<Omit<OdxModal, keyof HTMLElement>>, 'size'> {
|
|
4
|
+
}
|
|
5
|
+
export declare function createModal(content: TemplateResult | HTMLElement, initialProps?: Partial<ModalProps>): {
|
|
6
|
+
show(props?: Partial<ModalProps>): Promise<string | undefined>;
|
|
7
|
+
dismiss(): Promise<void>;
|
|
8
|
+
update(props: Partial<ModalProps>): Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=modal.service.d.ts.map
|
|
@@ -8,6 +8,7 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
declare const OdxNavigationItemGroup_base: import('../../utils/main.js').Constructor<CanBeExpanded> & import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
10
|
export declare class OdxNavigationItemGroup extends OdxNavigationItemGroup_base {
|
|
11
|
+
#private;
|
|
11
12
|
active: boolean;
|
|
12
13
|
label: string;
|
|
13
14
|
loading: boolean;
|
|
@@ -5,7 +5,7 @@ declare global {
|
|
|
5
5
|
'odx-option': OdxOption;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare const OdxOption_base: import('../../utils/
|
|
8
|
+
declare const OdxOption_base: import('../../utils/main.js').Constructor<OptionControl> & typeof ControlElement;
|
|
9
9
|
export declare class OdxOption extends OdxOption_base {
|
|
10
10
|
connectedCallback(): void;
|
|
11
11
|
protected renderContent(): TemplateResult;
|
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
'odx-pagination': OdxPagination;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxPagination_base: import('../../utils/
|
|
9
|
+
declare const OdxPagination_base: import('../../utils/main.js').Constructor<IsLocalized> & typeof CustomElement;
|
|
10
10
|
export declare class OdxPagination extends OdxPagination_base {
|
|
11
11
|
compact: boolean;
|
|
12
12
|
page: number;
|
|
@@ -7,7 +7,7 @@ declare global {
|
|
|
7
7
|
'odx-rail-navigation': OdxRailNavigation;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
declare const OdxRailNavigation_base: import('../../utils/
|
|
10
|
+
declare const OdxRailNavigation_base: import('../../utils/main.js').Constructor<IsLocalized> & import('../../utils/main.js').Constructor<CanBeCollapsed> & typeof CustomElement;
|
|
11
11
|
export declare class OdxRailNavigation extends OdxRailNavigation_base {
|
|
12
12
|
navigation: OdxNavigation;
|
|
13
13
|
size: ControlSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CanBeDisabled, CustomElement } from '../../main.js';
|
|
1
|
+
import { CanBeCollapsed, CanBeDisabled, CustomElement } from '../../main.js';
|
|
2
2
|
import { ValuesOf } from '../../utils/main.js';
|
|
3
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
4
|
declare global {
|
|
@@ -22,12 +22,11 @@ export declare class SearchEvent extends CustomEvent<{
|
|
|
22
22
|
}> {
|
|
23
23
|
constructor(value: string, rawValue?: string);
|
|
24
24
|
}
|
|
25
|
-
declare const OdxSearchBar_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
25
|
+
declare const OdxSearchBar_base: import('../../utils/main.js').Constructor<CanBeCollapsed> & import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
26
26
|
export declare class OdxSearchBar extends OdxSearchBar_base {
|
|
27
27
|
#private;
|
|
28
28
|
focusTarget: HTMLInputElement;
|
|
29
29
|
behavior: SearchBarBehavior;
|
|
30
|
-
collapsed: boolean;
|
|
31
30
|
debounceTime?: number;
|
|
32
31
|
placeholder: string;
|
|
33
32
|
readonly: boolean;
|
|
@@ -15,7 +15,7 @@ export declare const TabBarAlignment: Pick<{
|
|
|
15
15
|
}, "START" | "END">;
|
|
16
16
|
export declare class OdxTabBar extends CustomElement {
|
|
17
17
|
#private;
|
|
18
|
-
private readonly
|
|
18
|
+
private readonly baseElement?;
|
|
19
19
|
private readonly indicatorElement?;
|
|
20
20
|
private readonly scrollContainer?;
|
|
21
21
|
alignment: TabBarAlignment;
|
|
@@ -5,7 +5,7 @@ declare global {
|
|
|
5
5
|
'odx-table-checkbox-cell': OdxTableCheckboxCell;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare const OdxTableCheckboxCell_base: import('../../utils/
|
|
8
|
+
declare const OdxTableCheckboxCell_base: import('../../utils/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
9
9
|
export declare class OdxTableCheckboxCell extends OdxTableCheckboxCell_base {
|
|
10
10
|
#private;
|
|
11
11
|
private control;
|
|
@@ -5,7 +5,7 @@ declare global {
|
|
|
5
5
|
'odx-table-header': OdxTableHeader;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare const OdxTableHeader_base: import('../../utils/
|
|
8
|
+
declare const OdxTableHeader_base: import('../../utils/main.js').Constructor<CheckboxControl> & typeof CustomElement;
|
|
9
9
|
export declare class OdxTableHeader extends OdxTableHeader_base {
|
|
10
10
|
#private;
|
|
11
11
|
selected: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckboxControl,
|
|
1
|
+
import { CheckboxControl, InteractiveControlElement } from '../../main.js';
|
|
2
2
|
import { ValuesOf } from '../../utils/main.js';
|
|
3
3
|
import { OdxIconName } from '@odx/icons';
|
|
4
4
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
@@ -21,27 +21,19 @@ export declare const ToggleButtonVariant: Pick<{
|
|
|
21
21
|
readonly DANGER_GHOST: "danger-ghost";
|
|
22
22
|
readonly GHOST: "ghost";
|
|
23
23
|
}, "ACCENT" | "GHOST">;
|
|
24
|
-
|
|
25
|
-
export declare const ToggleButtonSize: Pick<{
|
|
26
|
-
readonly XS: "xs";
|
|
27
|
-
readonly SM: "sm";
|
|
28
|
-
readonly MD: "md";
|
|
29
|
-
readonly LG: "lg";
|
|
30
|
-
readonly XL: "xl";
|
|
31
|
-
readonly XXL: "xxl";
|
|
32
|
-
}, "SM" | "MD" | "LG">;
|
|
33
|
-
declare const OdxToggleButton_base: import('../../utils/main.js').Constructor<CheckboxControl> & typeof CustomElement;
|
|
24
|
+
declare const OdxToggleButton_base: import('../../utils/main.js').Constructor<CheckboxControl> & typeof InteractiveControlElement;
|
|
34
25
|
export declare class OdxToggleButton extends OdxToggleButton_base {
|
|
26
|
+
static observeSlots: boolean;
|
|
27
|
+
private tooltip?;
|
|
35
28
|
label?: string;
|
|
36
29
|
labelChecked?: string;
|
|
37
30
|
labelPlacement?: TooltipPlacement;
|
|
38
31
|
icon?: OdxIconName;
|
|
39
32
|
iconChecked?: OdxIconName;
|
|
40
|
-
size: ToggleButtonSize;
|
|
41
33
|
variant: ToggleButtonVariant;
|
|
42
34
|
connectedCallback(): void;
|
|
43
35
|
protected render(): TemplateResult;
|
|
44
|
-
protected
|
|
36
|
+
protected renderContent(): TemplateResult;
|
|
45
37
|
protected updated(props: PropertyValues<this>): void;
|
|
46
38
|
}
|
|
47
39
|
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { CustomElement, RadioGroupControl } from '../../main.js';
|
|
1
|
+
import { ControlSize, CustomElement, RadioGroupControl } from '../../main.js';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { OdxToggleButton,
|
|
3
|
+
import { OdxToggleButton, ToggleButtonVariant } from '../toggle-button/toggle-button.js';
|
|
4
4
|
declare global {
|
|
5
5
|
interface HTMLElementTagNameMap {
|
|
6
6
|
'odx-toggle-button-group': OdxToggleButtonGroup;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxToggleButtonGroup_base: import('../../utils/
|
|
9
|
+
declare const OdxToggleButtonGroup_base: import('../../utils/main.js').Constructor<RadioGroupControl<OdxToggleButton>> & typeof CustomElement;
|
|
10
10
|
export declare class OdxToggleButtonGroup extends OdxToggleButtonGroup_base {
|
|
11
11
|
#private;
|
|
12
|
-
size:
|
|
12
|
+
size: ControlSize;
|
|
13
13
|
variant?: ToggleButtonVariant;
|
|
14
14
|
constructor();
|
|
15
15
|
isControl(element: HTMLElement): element is OdxToggleButton;
|
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
'odx-translate': OdxTranslate;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
declare const OdxTranslate_base: import('../../utils/
|
|
9
|
+
declare const OdxTranslate_base: import('../../utils/main.js').Constructor<IsLocalized> & typeof CustomElement;
|
|
10
10
|
export declare class OdxTranslate extends OdxTranslate_base {
|
|
11
11
|
key?: string | null;
|
|
12
12
|
context?: TranslateContext;
|