@fluid-topics/ft-text-field 0.3.62 → 0.3.64

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.
@@ -59,7 +59,11 @@ export class FtTextField extends FtLitElement {
59
59
  ${this.outlined ? nothing : html `
60
60
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
61
61
  `}
62
- <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
62
+ ${this.prefix ? html `
63
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">
64
+ ${this.prefix}
65
+ </ft-typography>
66
+ ` : nothing}
63
67
  <input type="text"
64
68
  maxlength=${ifDefined(this.maxLength || undefined)}
65
69
  aria-label="${this.label}"
@@ -571,7 +571,11 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
571
571
  ${this.outlined?i.nothing:i.html`
572
572
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
573
573
  `}
574
- <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
574
+ ${this.prefix?i.html`
575
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">
576
+ ${this.prefix}
577
+ </ft-typography>
578
+ `:i.nothing}
575
579
  <input type="text"
576
580
  maxlength=${(t=>null!=t?t:E)(this.maxLength||void 0)}
577
581
  aria-label="${this.label}"
@@ -687,7 +687,11 @@ class ri extends kt{constructor(t){if(super(t),this.it=X,t.type!==Ot)throw Error
687
687
  ${this.outlined?X:J`
688
688
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
689
689
  `}
690
- <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
690
+ ${this.prefix?J`
691
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">
692
+ ${this.prefix}
693
+ </ft-typography>
694
+ `:X}
691
695
  <input type="text"
692
696
  maxlength=${(t=>null!=t?t:X)
693
697
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-text-field",
3
- "version": "0.3.62",
3
+ "version": "0.3.64",
4
4
  "description": "A fluidtopics text field",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.62",
23
- "@fluid-topics/ft-input-label": "0.3.62",
24
- "@fluid-topics/ft-ripple": "0.3.62",
25
- "@fluid-topics/ft-typography": "0.3.62",
26
- "@fluid-topics/ft-wc-utils": "0.3.62",
22
+ "@fluid-topics/ft-icon": "0.3.64",
23
+ "@fluid-topics/ft-input-label": "0.3.64",
24
+ "@fluid-topics/ft-ripple": "0.3.64",
25
+ "@fluid-topics/ft-typography": "0.3.64",
26
+ "@fluid-topics/ft-wc-utils": "0.3.64",
27
27
  "lit": "2.2.8"
28
28
  },
29
- "gitHead": "801f5c7705e58471510eca9ccb943d558e42e3fb"
29
+ "gitHead": "4f42c34c49255250cddf729582cc01c17b334857"
30
30
  }