@functionalcms/svelte-components 4.19.6 → 4.19.8

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.
@@ -1,5 +1,6 @@
1
1
  <script lang="ts">
2
- import { type Field, FieldType, Input } from './form.ts';
2
+ import Input from './Input.svelte';
3
+ import { type Field, FieldType} from './form.js';
3
4
  import { fade } from 'svelte/transition';
4
5
 
5
6
  interface Props {
@@ -54,6 +55,7 @@
54
55
  <Input
55
56
  name={field.name}
56
57
  id={field.name}
58
+ label={field.label}
57
59
  placeholder={field.placeholder}
58
60
  type={field.subType}
59
61
  isRequired={field.isRequired || false}
@@ -62,6 +64,7 @@
62
64
  <Input
63
65
  name={field.name}
64
66
  id={field.name}
67
+ label={field.label}
65
68
  placeholder={field.placeholder}
66
69
  isRequired={field.isRequired || false}
67
70
  />
@@ -1,4 +1,4 @@
1
- import { type Field } from './form.ts';
1
+ import { type Field } from './form.js';
2
2
  interface Props {
3
3
  action: string;
4
4
  css?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "4.19.6",
3
+ "version": "4.19.8",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [