@namiml/web-sdk 1.5.9 → 1.5.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.10 (May 22, 2025)
4
+
5
+ ## Enhancements
6
+ - Support focused styling on buttons and toggle
7
+ - Support tab key focus for collapsible component
8
+ - Support alt tags on images
9
+
10
+ ## Bugfixes
11
+ - Fix toggle switch not preserving state on re-render
12
+ - Fix additional spacing in text list items
13
+ - Fix issue with screenreader and collapsed content
14
+
3
15
  ## 1.5.9 (Apr 2, 2025)
4
16
 
5
17
  ## Bugfixes
@@ -6,6 +6,8 @@ export declare class NamiBackgroundContainer extends NamiElement {
6
6
  fullscreen: boolean;
7
7
  inFocusedState: boolean;
8
8
  scaleFactor: number;
9
+ connectedCallback(): void;
10
+ disconnectedCallback(): void;
9
11
  protected styles(): CSSResult;
10
12
  protected updated(): void;
11
13
  render(): any[];
@@ -6,7 +6,7 @@ export declare class NamiCollapseContainer extends NamiElement {
6
6
  inFocusedState: boolean;
7
7
  height: number;
8
8
  scaleFactor: number;
9
- constructor();
9
+ private isCollapsed;
10
10
  private _handleClick;
11
11
  protected styles(): CSSResult;
12
12
  render(): import("lit-html").TemplateResult<1>;
@@ -12,6 +12,7 @@ export declare class NamiButton extends NamiElement {
12
12
  private _handleFocus;
13
13
  private _handleBlur;
14
14
  private _dispatchFocusChange;
15
+ private _handleKeyDown;
15
16
  private _handleClick;
16
17
  protected styles(): CSSResult;
17
18
  render(): any[] | import("lit-html").TemplateResult<1>;
@@ -9,6 +9,7 @@ export declare class NamiPlayPauseButton extends NamiElement {
9
9
  constructor();
10
10
  private _handleFocus;
11
11
  private _handleBlur;
12
+ private _handleKeyDown;
12
13
  private _handleClick;
13
14
  updated(): void;
14
15
  protected styles(): CSSResult;
@@ -7,6 +7,7 @@ export declare class NamiSegmentPickerItem extends NamiElement {
7
7
  scaleFactor: number;
8
8
  private _isActive;
9
9
  constructor();
10
+ private _handleKeyDown;
10
11
  private _handleClick;
11
12
  private _handleHover;
12
13
  updated(changedProperties: PropertyValues): void;
@@ -9,6 +9,7 @@ export declare class NamiVolumeButton extends NamiElement {
9
9
  constructor();
10
10
  private _handleFocus;
11
11
  private _handleBlur;
12
+ private _handleKeyDown;
12
13
  private _handleClick;
13
14
  updated(): void;
14
15
  protected styles(): CSSResult;