carbon-components-svelte 0.99.2 → 0.99.3

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": "carbon-components-svelte",
3
- "version": "0.99.2",
3
+ "version": "0.99.3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Svelte implementation of the Carbon Design System",
6
6
  "type": "module",
@@ -116,7 +116,7 @@
116
116
  >
117
117
  {#if inline}
118
118
  <div class:bx--text-input__label-helper-wrapper={true}>
119
- {#if labelText}
119
+ {#if labelText || $$slots.labelChildren}
120
120
  <label
121
121
  for={id}
122
122
  class:bx--label={true}
@@ -245,4 +245,4 @@
245
245
  <div class:bx--form-requirement={true} id={warnId}>{warnText}</div>
246
246
  {/if}
247
247
  </div>
248
- </div>
248
+ </div>