@odx/foundation 1.0.0-beta.256 → 1.0.0-beta.258
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 +1 -1
- package/dist/components/highlight/highlight.d.ts +2 -1
- package/dist/components/main-menu/main-menu.d.ts +2 -0
- package/dist/components/option/option.d.ts +0 -1
- package/dist/components/select/select.d.ts +4 -1
- package/dist/components.js +135 -103
- package/dist/lib/behaviors/listbox-control.d.ts +2 -3
- package/dist/lib/controllers/active-descendants-controller.d.ts +3 -5
- package/dist/main.js +69 -67
- package/dist/styles.css +1 -1
- package/dist/utils/detect-keyboard-focus.d.ts +3 -0
- package/dist/utils/main.d.ts +1 -0
- package/dist/utils.js +85 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ The `@odx/foundation` package is a core part of the ODX Design System, providing
|
|
|
19
19
|
To install `@odx/foundation` and it's peer dependencies in your project, run the following command:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npm install @odx/foundation @odx/icons
|
|
22
|
+
npm install @odx/foundation @odx/icons --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
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.
|
|
@@ -32,8 +32,9 @@ export declare class OdxHighlight extends OdxHighlight_base {
|
|
|
32
32
|
selector?: string;
|
|
33
33
|
minlength: number;
|
|
34
34
|
variant: HighlightVariant;
|
|
35
|
-
|
|
35
|
+
observeContent: boolean;
|
|
36
36
|
disconnectedCallback(): void;
|
|
37
|
+
protected updated(props: PropertyValues<this>): void;
|
|
37
38
|
private static updateGlobalHighlights;
|
|
38
39
|
}
|
|
39
40
|
export {};
|
|
@@ -9,6 +9,8 @@ export * from './main-menu-button.js';
|
|
|
9
9
|
export declare class OdxMainMenu extends CustomElement {
|
|
10
10
|
#private;
|
|
11
11
|
static observeSlots: boolean;
|
|
12
|
+
controlled: boolean;
|
|
13
|
+
constructor();
|
|
12
14
|
protected render(): TemplateResult;
|
|
13
15
|
}
|
|
14
16
|
//# sourceMappingURL=main-menu.d.ts.map
|
|
@@ -9,7 +9,6 @@ declare global {
|
|
|
9
9
|
export declare class OdxOption extends ControlElement implements OptionControl {
|
|
10
10
|
#private;
|
|
11
11
|
role: 'option' | 'gridcell' | 'row' | 'tab' | null;
|
|
12
|
-
hideIndicator: boolean;
|
|
13
12
|
set label(value: string);
|
|
14
13
|
get label(): string;
|
|
15
14
|
readonly: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ListboxControl } from '../../main.js';
|
|
2
|
+
import { IsLocalized } from '../../i18n/main.js';
|
|
2
3
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
4
|
import { OdxDropdown } from '../dropdown/dropdown.js';
|
|
4
5
|
import { OdxOption } from '../option/option.js';
|
|
@@ -7,7 +8,8 @@ declare global {
|
|
|
7
8
|
'odx-select': OdxSelect;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
declare const OdxSelect_base: import('../../utils/main.js').Constructor<IsLocalized> & typeof ListboxControl<OdxOption>;
|
|
12
|
+
export declare class OdxSelect extends OdxSelect_base {
|
|
11
13
|
#private;
|
|
12
14
|
static shadowRootOptions: ShadowRootInit;
|
|
13
15
|
private dropdownOpen;
|
|
@@ -21,4 +23,5 @@ export declare class OdxSelect extends ListboxControl<OdxOption> {
|
|
|
21
23
|
protected canSelect(option: OdxOption): boolean;
|
|
22
24
|
protected render(): TemplateResult;
|
|
23
25
|
}
|
|
26
|
+
export {};
|
|
24
27
|
//# sourceMappingURL=select.d.ts.map
|