@kubex/zinc 1.0.100 → 1.0.101

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.
@@ -31401,7 +31401,7 @@
31401
31401
  "text": "object"
31402
31402
  },
31403
31403
  "static": true,
31404
- "default": "{ 'zn-navbar': ZnNavbar, 'zn-input': ZnInput, 'zn-inline-edit': ZnInlineEdit }"
31404
+ "default": "{ 'zn-button': ZnButton, 'zn-button-group': ZnButtonGroup, 'zn-dropdown': ZnDropdown, 'zn-inline-edit': ZnInlineEdit, 'zn-input': ZnInput, 'zn-menu': ZnMenu }"
31405
31405
  },
31406
31406
  {
31407
31407
  "kind": "field",
@@ -31418,7 +31418,7 @@
31418
31418
  "name": "hasSlotController",
31419
31419
  "privacy": "private",
31420
31420
  "readonly": true,
31421
- "default": "new HasSlotController(this, 'label')"
31421
+ "default": "new HasSlotController(this, 'label', 'expand')"
31422
31422
  },
31423
31423
  {
31424
31424
  "kind": "field",
@@ -31601,7 +31601,7 @@
31601
31601
  },
31602
31602
  {
31603
31603
  "kind": "field",
31604
- "name": "handleNavbarClick",
31604
+ "name": "switchLanguage",
31605
31605
  "privacy": "private"
31606
31606
  },
31607
31607
  {
@@ -31994,7 +31994,7 @@
31994
31994
  "package": {
31995
31995
  "name": "@kubex/zinc",
31996
31996
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
31997
- "version": "1.0.100",
31997
+ "version": "1.0.101",
31998
31998
  "author": "",
31999
31999
  "license": "MIT"
32000
32000
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@kubex/zinc",
4
- "version": "1.0.100",
4
+ "version": "1.0.101",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/zn.d.ts CHANGED
@@ -7246,17 +7246,23 @@ declare module "components/audio-select/index" {
7246
7246
  }
7247
7247
  declare module "components/translations/translations.component" {
7248
7248
  import ZincElement from "internal/zinc-element";
7249
+ import ZnButton from "components/button/index";
7250
+ import ZnButtonGroup from "components/button-group/index";
7251
+ import ZnDropdown from "components/dropdown/index";
7249
7252
  import ZnInlineEdit from "components/inline-edit/index";
7250
7253
  import ZnInput from "components/input/index";
7251
- import ZnNavbar from "components/navbar/index";
7254
+ import ZnMenu from "components/menu/index";
7252
7255
  import type { PropertyValues } from 'lit';
7253
7256
  import type { ZincFormControl } from "internal/zinc-element";
7254
7257
  export default class ZnTranslations extends ZincElement implements ZincFormControl {
7255
7258
  static styles: import("lit").CSSResult;
7256
7259
  static dependencies: {
7257
- 'zn-navbar': typeof ZnNavbar;
7258
- 'zn-input': typeof ZnInput;
7260
+ 'zn-button': typeof ZnButton;
7261
+ 'zn-button-group': typeof ZnButtonGroup;
7262
+ 'zn-dropdown': typeof ZnDropdown;
7259
7263
  'zn-inline-edit': typeof ZnInlineEdit;
7264
+ 'zn-input': typeof ZnInput;
7265
+ 'zn-menu': typeof ZnMenu;
7260
7266
  };
7261
7267
  private readonly formControlController;
7262
7268
  private readonly hasSlotController;
@@ -7288,7 +7294,7 @@ declare module "components/translations/translations.component" {
7288
7294
  protected firstUpdated(): void;
7289
7295
  willUpdate(changedProperties: PropertyValues): void;
7290
7296
  private handleLanguageAdd;
7291
- private handleNavbarClick;
7297
+ private switchLanguage;
7292
7298
  private handleValueUpdate;
7293
7299
  private updateValue;
7294
7300
  private handleKeyDown;