genus-ui 2.10.30 → 2.10.31

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/index.es.js CHANGED
@@ -87,13 +87,13 @@ let Vt = class extends J {
87
87
  this.withoutLabel,
88
88
  () => b`
89
89
  <div class='form-field form-field--without-label'>
90
- ${this.readOnly ? b`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>` : b`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder=${this.placeholderText}>${this.inputValue}</textarea>`}
90
+ ${this.readOnly ? b`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>` : b`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder='${this.placeholderText}'>${this.inputValue}</textarea>`}
91
91
  </div>
92
92
  `,
93
93
  () => b`
94
94
  <div class='form-field'>
95
95
  <label class='input-label'>${this.labelText}</label>
96
- ${this.readOnly ? b`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>` : b`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder=${this.placeholderText}>${this.inputValue}</textarea>`}
96
+ ${this.readOnly ? b`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>` : b`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder='${this.placeholderText}'>${this.inputValue}</textarea>`}
97
97
  </div>
98
98
  `
99
99
  );
@@ -1501,7 +1501,7 @@ const Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1501
1501
  {
1502
1502
  display: grid;
1503
1503
  grid-template-columns: repeat(6, 1fr);
1504
- grid-template-rows: repeat(2, max-content);
1504
+ grid-template-rows: max-content 3.125rem;
1505
1505
  grid-row-gap: 0.625rem;
1506
1506
  grid-template-areas:
1507
1507
  'ol ol ol ol . .'
package/dist/index.umd.js CHANGED
@@ -62,12 +62,12 @@
62
62
  }
63
63
  `;var ya=Object.defineProperty,va=Object.getOwnPropertyDescriptor,Wt=(i,t,e,n)=>{for(var s=n>1?void 0:n?va(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(s=(n?a(t,e,s):a(s))||s);return n&&s&&ya(t,e,s),s};b.GenusTextArea=class extends u.LitElement{constructor(){super(...arguments),this.labelText="",this.inputValue="",this.withoutLabel=!1,this.placeholderText="",this.readOnly=!1,this.getInputValue=t=>{this.dispatchEvent(new CustomEvent("typed",{detail:t.target.value}))},this._targetInput=null}updated(){this.inputValue===""&&this._targetInput!=null&&(this._targetInput.value="")}render(){return Gt.when(this.withoutLabel,()=>u.html`
64
64
  <div class='form-field form-field--without-label'>
65
- ${this.readOnly?u.html`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>`:u.html`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder=${this.placeholderText}>${this.inputValue}</textarea>`}
65
+ ${this.readOnly?u.html`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>`:u.html`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder='${this.placeholderText}'>${this.inputValue}</textarea>`}
66
66
  </div>
67
67
  `,()=>u.html`
68
68
  <div class='form-field'>
69
69
  <label class='input-label'>${this.labelText}</label>
70
- ${this.readOnly?u.html`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>`:u.html`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder=${this.placeholderText}>${this.inputValue}</textarea>`}
70
+ ${this.readOnly?u.html`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>`:u.html`<textarea class='input-control' rows='5' @input=${this.getInputValue} placeholder='${this.placeholderText}'>${this.inputValue}</textarea>`}
71
71
  </div>
72
72
  `)}},b.GenusTextArea.styles=[Da,Ba,Ga,xa,Ya],Wt([m.property({attribute:"label-text"})],b.GenusTextArea.prototype,"labelText",2),Wt([m.property({attribute:"input-value"})],b.GenusTextArea.prototype,"inputValue",2),Wt([m.property({attribute:"without-label",type:Boolean})],b.GenusTextArea.prototype,"withoutLabel",2),Wt([m.property({attribute:"placeholder-text"})],b.GenusTextArea.prototype,"placeholderText",2),Wt([m.property({attribute:"read-only",type:Boolean})],b.GenusTextArea.prototype,"readOnly",2),Wt([m.state()],b.GenusTextArea.prototype,"_targetInput",2),b.GenusTextArea=Wt([m.customElement("genus-textarea")],b.GenusTextArea);const Ca=u.css`
73
73
  input[type='text'], input[type='email'], input[type='password'], input[type='number']
@@ -1008,7 +1008,7 @@
1008
1008
  {
1009
1009
  display: grid;
1010
1010
  grid-template-columns: repeat(6, 1fr);
1011
- grid-template-rows: repeat(2, max-content);
1011
+ grid-template-rows: max-content 3.125rem;
1012
1012
  grid-row-gap: 0.625rem;
1013
1013
  grid-template-areas:
1014
1014
  'ol ol ol ol . .'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "genus-ui",
3
3
  "private": false,
4
- "version": "2.10.30",
4
+ "version": "2.10.31",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",