@odx/foundation 1.0.0-alpha.20 → 1.0.0-alpha.21
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/cdk.js +1 -1
- package/dist/components/list/list-item.component.d.ts +9 -0
- package/dist/components/list/list-item.stories.d.ts +1 -0
- package/dist/components/main.d.ts +6 -4
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/pagination.component.d.ts +32 -0
- package/dist/components/pagination/pagination.stories.d.ts +9 -0
- package/dist/components/toggle-content/index.d.ts +2 -0
- package/dist/components/toggle-content/toggle-content.component.d.ts +13 -0
- package/dist/components/toggle-content/toggle-content.stories.d.ts +9 -0
- package/dist/components.js +1256 -1065
- package/dist/i18n/lib/translate.d.ts +1 -1
- package/dist/i18n.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{vendor-okSCJWYL.js → vendor-UwJOss6U.js} +5 -1
- package/package.json +1 -1
package/dist/cdk.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dedupeMixin, createOptions, toPx, waitForAnimations, findClosestDocument, createMutationObserver, customElement, CustomElement } from '@odx/foundation';
|
|
2
2
|
import { property, state } from 'lit/decorators.js';
|
|
3
|
-
import { m as minBy, a as computePosition, o as offset, s as shift, f as flip, b as size, d as arrow, h as hide, e as autoUpdate } from './vendor-
|
|
3
|
+
import { m as minBy, a as computePosition, o as offset, s as shift, f as flip, b as size, d as arrow, h as hide, e as autoUpdate } from './vendor-UwJOss6U.js';
|
|
4
4
|
import { isServer, unsafeCSS, html } from 'lit';
|
|
5
5
|
import { when } from 'lit/directives/when.js';
|
|
6
6
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CanBeSelected } from '../../lib/main.js';
|
|
2
|
+
import { TemplateResult } from 'lit';
|
|
2
3
|
import { BaseButtonComponent } from '../button';
|
|
3
4
|
declare global {
|
|
4
5
|
interface HTMLElementTagNameMap {
|
|
@@ -7,8 +8,16 @@ declare global {
|
|
|
7
8
|
}
|
|
8
9
|
declare const OdxListItemComponent_base: import('../../lib/main.js', { with: { "resolution-mode": "import" } }).Constructor<CanBeSelected> & typeof BaseButtonComponent;
|
|
9
10
|
export declare class OdxListItemComponent extends OdxListItemComponent_base {
|
|
11
|
+
#private;
|
|
12
|
+
expanded: boolean;
|
|
10
13
|
muted: boolean;
|
|
14
|
+
withControl: boolean;
|
|
15
|
+
constructor();
|
|
16
|
+
isExpandable(): boolean;
|
|
17
|
+
toggle(force?: boolean, emitEvent?: boolean): void;
|
|
11
18
|
connectedCallback(): void;
|
|
19
|
+
protected render(): TemplateResult;
|
|
20
|
+
protected renderContent(): TemplateResult;
|
|
12
21
|
}
|
|
13
22
|
export {};
|
|
14
23
|
//# sourceMappingURL=list-item.component.d.ts.map
|
|
@@ -15,6 +15,7 @@ export * from './chip/index.js';
|
|
|
15
15
|
export * from './circular-progress-bar/index.js';
|
|
16
16
|
export * from './content-box/index.js';
|
|
17
17
|
export * from './dropdown/index.js';
|
|
18
|
+
export * from './form-field/index.js';
|
|
18
19
|
export * from './format/index.js';
|
|
19
20
|
export * from './header/index.js';
|
|
20
21
|
export * from './headline/index.js';
|
|
@@ -36,6 +37,7 @@ export * from './navigation-item/index.js';
|
|
|
36
37
|
export * from './option/index.js';
|
|
37
38
|
export * from './page-layout/index.js';
|
|
38
39
|
export * from './page/index.js';
|
|
40
|
+
export * from './pagination/index.js';
|
|
39
41
|
export * from './progress-bar/index.js';
|
|
40
42
|
export * from './radio-button/index.js';
|
|
41
43
|
export * from './radio-group/index.js';
|
|
@@ -49,13 +51,13 @@ export * from './spacer/index.js';
|
|
|
49
51
|
export * from './spinbox/index.js';
|
|
50
52
|
export * from './stack/index.js';
|
|
51
53
|
export * from './switch/index.js';
|
|
54
|
+
export * from './table/index.js';
|
|
52
55
|
export * from './text/index.js';
|
|
53
56
|
export * from './title/index.js';
|
|
57
|
+
export * from './toast/index.js';
|
|
54
58
|
export * from './toggle-button/index.js';
|
|
59
|
+
export * from './toggle-content/index.js';
|
|
60
|
+
export * from './tooltip/index.js';
|
|
55
61
|
export * from './translate/index.js';
|
|
56
62
|
export * from './visually-hidden/index.js';
|
|
57
|
-
export * from './form-field/index.js';
|
|
58
|
-
export * from './table/index.js';
|
|
59
|
-
export * from './toast/index.js';
|
|
60
|
-
export * from './tooltip/index.js';
|
|
61
63
|
//# sourceMappingURL=main.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CustomElement } from '../../lib/main.js';
|
|
2
|
+
import { IsLocalized } from '../../i18n/main.js';
|
|
3
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-pagination': OdxPaginationComponent;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
declare const OdxPaginationComponent_base: import('../../lib/main.js', { with: { "resolution-mode": "import" } }).Constructor<IsLocalized> & typeof CustomElement;
|
|
10
|
+
export declare class OdxPaginationComponent extends OdxPaginationComponent_base {
|
|
11
|
+
page: number;
|
|
12
|
+
pageSize: number;
|
|
13
|
+
totalItems: number;
|
|
14
|
+
get paginationContext(): {
|
|
15
|
+
pageStart: number;
|
|
16
|
+
pageEnd: number;
|
|
17
|
+
page: number;
|
|
18
|
+
totalPages: number;
|
|
19
|
+
totalItems: number;
|
|
20
|
+
hasPreviousPage: boolean;
|
|
21
|
+
hasNextPage: boolean;
|
|
22
|
+
};
|
|
23
|
+
get totalPages(): number;
|
|
24
|
+
previousPage(): void;
|
|
25
|
+
nextPage(): void;
|
|
26
|
+
firstPage(): void;
|
|
27
|
+
lastPage(): void;
|
|
28
|
+
protected render(): TemplateResult;
|
|
29
|
+
protected updated(props: PropertyValues<this>): void;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=pagination.component.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OdxPaginationComponent } from '../main.js';
|
|
2
|
+
import { StoryObj } from '@storybook/web-components';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
type Story = StoryObj<OdxPaginationComponent>;
|
|
8
|
+
export declare const Demo: Story;
|
|
9
|
+
//# sourceMappingURL=pagination.stories.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomElement } from '../../lib/main.js';
|
|
2
|
+
import { HTMLTemplateResult, PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'odx-toggle-content': OdxToggleContentComponent;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export declare class OdxToggleContentComponent extends CustomElement {
|
|
9
|
+
expanded: boolean;
|
|
10
|
+
protected render(): HTMLTemplateResult | TemplateResult | string;
|
|
11
|
+
protected willUpdate(props: PropertyValues<this>): void;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=toggle-content.component.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OdxToggleContentComponent } from '../main.js';
|
|
2
|
+
import { StoryObj } from '@storybook/web-components';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
type Story = StoryObj<OdxToggleContentComponent>;
|
|
8
|
+
export declare const Demo: Story;
|
|
9
|
+
//# sourceMappingURL=toggle-content.stories.d.ts.map
|