@kubex/zinc 1.0.99 → 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.
@@ -24094,7 +24094,7 @@
24094
24094
  "type": {
24095
24095
  "text": "string"
24096
24096
  },
24097
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24097
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24098
24098
  "attribute": "form",
24099
24099
  "reflects": true
24100
24100
  },
@@ -24937,7 +24937,7 @@
24937
24937
  "type": {
24938
24938
  "text": "string"
24939
24939
  },
24940
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24940
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24941
24941
  "fieldName": "form"
24942
24942
  },
24943
24943
  {
@@ -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.99",
31997
+ "version": "1.0.101",
31998
31998
  "author": "",
31999
31999
  "license": "MIT"
32000
32000
  }
@@ -2800,7 +2800,7 @@
2800
2800
  },
2801
2801
  {
2802
2802
  "name": "form",
2803
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2803
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2804
2804
  "values": []
2805
2805
  },
2806
2806
  {
@@ -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.99",
4
+ "version": "1.0.101",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -6219,7 +6219,7 @@
6219
6219
  },
6220
6220
  {
6221
6221
  "name": "form",
6222
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6222
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6223
6223
  "value": { "type": "string" }
6224
6224
  },
6225
6225
  {
@@ -6478,7 +6478,7 @@
6478
6478
  },
6479
6479
  {
6480
6480
  "name": "form",
6481
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6481
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6482
6482
  "type": "string"
6483
6483
  },
6484
6484
  {
package/dist/zn.d.ts CHANGED
@@ -2281,7 +2281,7 @@ declare module "components/select/select.component" {
2281
2281
  helpText: string;
2282
2282
  /**
2283
2283
  * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
2284
- * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
2284
+ * to place the form control outside a form and associate it with the form that has this `id`. The form must be in
2285
2285
  * the same document or shadow root for this to work.
2286
2286
  */
2287
2287
  form: string;
@@ -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;