@odx/foundation 1.0.0-beta.160 → 1.0.0-beta.162
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/components/navigation-item/navigation-item.d.ts +1 -3
- package/dist/components/navigation-item-group/navigation-item-group.d.ts +1 -1
- package/dist/components/rail-navigation/rail-navigation.d.ts +3 -1
- package/dist/components/scroll-container/scroll-container.d.ts +2 -1
- package/dist/components/tab-bar/tab-bar.d.ts +2 -0
- package/dist/components.js +179 -690
- package/dist/main.js +7 -44
- package/dist/styles.css +1 -1
- package/package.json +5 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InteractiveElement, ValuesOf } from '../../lib/main.js';
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
2
|
declare global {
|
|
4
3
|
interface HTMLElementTagNameMap {
|
|
5
4
|
'odx-navigation-item': OdxNavigationItem;
|
|
@@ -15,8 +14,7 @@ export declare const NavigationItemSize: Pick<{
|
|
|
15
14
|
readonly XXL: "xxl";
|
|
16
15
|
}, "MD" | "LG">;
|
|
17
16
|
export declare class OdxNavigationItem extends InteractiveElement {
|
|
17
|
+
active: boolean;
|
|
18
18
|
compact: boolean;
|
|
19
19
|
size: NavigationItemSize;
|
|
20
|
-
selected: boolean;
|
|
21
|
-
protected willUpdate(props: PropertyValues<this>): void;
|
|
22
20
|
}
|
|
@@ -8,9 +8,9 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
declare const OdxNavigationItemGroup_base: import('../../lib/main.js').Constructor<CanBeExpanded> & import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
|
|
10
10
|
export declare class OdxNavigationItemGroup extends OdxNavigationItemGroup_base {
|
|
11
|
+
active: boolean;
|
|
11
12
|
label: string;
|
|
12
13
|
loading: boolean;
|
|
13
|
-
selected: boolean;
|
|
14
14
|
size: NavigationItemSize;
|
|
15
15
|
getItems(): OdxNavigationItem[];
|
|
16
16
|
protected render(): TemplateResult;
|
|
@@ -13,8 +13,10 @@ export declare class OdxRailNavigation extends OdxRailNavigation_base {
|
|
|
13
13
|
#private;
|
|
14
14
|
collapsed: boolean;
|
|
15
15
|
size: NavigationItemSize;
|
|
16
|
+
connectedCallback(): void;
|
|
16
17
|
protected render(): TemplateResult;
|
|
17
|
-
|
|
18
|
+
getAssignedElements(): Array<OdxNavigationItemGroup | OdxNavigationItem>;
|
|
19
|
+
getItems(): OdxNavigationItem[];
|
|
18
20
|
protected updated(props: PropertyValues<this>): void;
|
|
19
21
|
}
|
|
20
22
|
export {};
|
|
@@ -25,8 +25,9 @@ export declare class OdxScrollContainer extends CustomElement {
|
|
|
25
25
|
leftOverflow: boolean;
|
|
26
26
|
rightOverflow: boolean;
|
|
27
27
|
constructor();
|
|
28
|
-
|
|
28
|
+
scrollToElement(element: HTMLElement): void;
|
|
29
29
|
disconnectedCallback(): void;
|
|
30
|
+
protected firstUpdated(props: PropertyValues<this>): void;
|
|
30
31
|
protected render(): TemplateResult | string;
|
|
31
32
|
protected updated(props: PropertyValues<this>): void;
|
|
32
33
|
}
|
|
@@ -8,7 +8,9 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class OdxTabBar extends CustomElement {
|
|
10
10
|
#private;
|
|
11
|
+
private readonly scrollContainer;
|
|
11
12
|
autoSelect: boolean;
|
|
13
|
+
controlled: boolean;
|
|
12
14
|
selectedIndex: number;
|
|
13
15
|
get selectedItem(): OdxNavigationItem | undefined;
|
|
14
16
|
constructor();
|