@namiml/web-sdk 3.4.4-dev.202607022250 → 3.4.4-dev.202607031905
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSResult } from 'lit';
|
|
1
|
+
import { CSSResult, PropertyValues } from 'lit';
|
|
2
2
|
import { TSegmentPicker } from '@namiml/sdk-core';
|
|
3
3
|
import { NamiElement } from '../NamiElement';
|
|
4
4
|
import type { TSemverObj } from '@namiml/sdk-core';
|
|
@@ -7,8 +7,15 @@ export declare class NamiSegmentPicker extends NamiElement {
|
|
|
7
7
|
inFocusedState: boolean;
|
|
8
8
|
scaleFactor: number;
|
|
9
9
|
minSDKVersion: TSemverObj;
|
|
10
|
+
/** Whether any item in this picker is currently focused (television form factor only). */
|
|
11
|
+
private _anyItemFocused;
|
|
12
|
+
private get _isTv();
|
|
10
13
|
constructor();
|
|
14
|
+
firstUpdated(changedProperties: PropertyValues): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
11
16
|
private _handleClick;
|
|
17
|
+
private _handleFocusIn;
|
|
18
|
+
private _handleFocusOut;
|
|
12
19
|
protected styles(): CSSResult;
|
|
13
20
|
render(): import("lit-html").TemplateResult<1>;
|
|
14
21
|
}
|
|
@@ -6,10 +6,14 @@ export declare class NamiSegmentPickerItem extends NamiElement {
|
|
|
6
6
|
inFocusedState: boolean;
|
|
7
7
|
scaleFactor: number;
|
|
8
8
|
private _isActive;
|
|
9
|
+
private _isFocused;
|
|
10
|
+
private get _isTv();
|
|
9
11
|
connectedCallback(): void;
|
|
10
12
|
disconnectedCallback(): void;
|
|
11
13
|
private _handleFocus;
|
|
14
|
+
private _handleBlur;
|
|
12
15
|
private _handleKeyDown;
|
|
16
|
+
private _moveFocusToSibling;
|
|
13
17
|
private _getParentPicker;
|
|
14
18
|
private _getParentFormId;
|
|
15
19
|
private _updateFormState;
|