@likable-hair/svelte 3.0.3 → 3.0.4

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.
@@ -15,7 +15,7 @@ export let value = void 0, type = "text", placeholder = void 0, disabled = false
15
15
  <Icon name={prependIcon} --icon-size={iconSize}></Icon>
16
16
  {/if}
17
17
  </slot>
18
- <div class="textfield">
18
+ <div class="textfield {clazz.field || ''}">
19
19
  <slot name="prepend-inner" {prependInnerIcon} {iconSize}>
20
20
  {#if !!prependInnerIcon}
21
21
  <Icon name={prependInnerIcon} --icon-size={iconSize}></Icon>
@@ -176,6 +176,7 @@ export let value = void 0, type = "text", placeholder = void 0, disabled = false
176
176
  var(--simple-textfield-default-inner-gap)
177
177
  );
178
178
  display: flex;
179
+ flex-grow: 1;
179
180
  }
180
181
 
181
182
  .textfield:focus-within {
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  class?: {
7
7
  container?: string | undefined;
8
8
  row?: string | undefined;
9
+ field?: string | undefined;
9
10
  hint?: string | undefined;
10
11
  input?: string | undefined;
11
12
  } | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair",
4
- "version": "3.0.3",
4
+ "version": "3.0.4",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",