@kubex/zinc 1.0.101 → 1.0.102

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubex/zinc",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
5
5
  "keywords": [
6
6
  "web components",
@@ -149,6 +149,7 @@ export default class ZnTranslationGroup extends ZnPanel {
149
149
  <div class="${classMap({
150
150
  panel: true,
151
151
  'panel--flush': this.flush,
152
+ 'panel--transparent': this.transparent,
152
153
  'panel--has-header': hasHeader,
153
154
  'panel--has-actions': hasMultipleLanguages || hasActionSlot,
154
155
  'panel--has-footer': hasFooterSlot,
@@ -38,6 +38,7 @@ export default class ZnTranslations extends ZincElement implements ZincFormContr
38
38
  @property({type: Boolean, reflect: true}) disabled = false;
39
39
  @property({type: Boolean, reflect: true}) required = false;
40
40
  @property({type: Boolean, reflect: true}) flush = false;
41
+ @property({attribute: "input-type"}) inputType: 'select' | 'text' | 'number' | 'textarea' = 'text';
41
42
 
42
43
  /** When true, hides the individual language navbar and defers language control to a parent zn-translation-group. */
43
44
  @property({type: Boolean, reflect: true}) grouped = false;
@@ -285,6 +286,7 @@ export default class ZnTranslations extends ZincElement implements ZincFormContr
285
286
  <div part="form-control-input" class="translations__body">
286
287
  ${keyed(this._activeLanguage, html`
287
288
  <zn-inline-edit
289
+ input-type=${this.inputType}
288
290
  .value=${live(currentTranslation)}
289
291
  name="${this.name}"
290
292
  placeholder="Enter translation..."