@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/dist/custom-elements.json +18 -1
- package/dist/vscode.html-custom-data.json +9 -0
- package/dist/web-types.json +12 -1
- package/dist/zn.d.ts +1 -0
- package/dist/zn.min.js +22 -21
- package/package.json +1 -1
- package/src/components/translation-group/translation-group.component.ts +1 -0
- package/src/components/translations/translations.component.ts +2 -0
package/package.json
CHANGED
|
@@ -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..."
|