@r2digisolutions/ui 0.15.0 → 0.15.1

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,5 @@
1
1
  <script lang="ts">
2
- import type { FileInputProps, Props } from './type.js';
2
+ import type { IFileInputProps, Props } from './type.js';
3
3
 
4
4
  const { onchange, type = 'text', ...props }: Props = $props();
5
5
  </script>
@@ -16,7 +16,7 @@
16
16
  const inputEl = e.currentTarget as HTMLInputElement;
17
17
  const files = inputEl.files;
18
18
 
19
- const fileValue = (props as FileInputProps).multiple
19
+ const fileValue = (props as IFileInputProps).multiple
20
20
  ? Array.from(files ?? [])
21
21
  : (files?.[0] ?? null);
22
22
 
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import type { Props } from './type';
2
+ import type { Props } from './type.js';
3
3
 
4
4
  let { children, ...props }: Props = $props();
5
5
  </script>
@@ -1,4 +1,4 @@
1
- import type { Props } from './type';
1
+ import type { Props } from './type.js';
2
2
  declare const Label: import("svelte").Component<Props, {}, "">;
3
3
  type Label = ReturnType<typeof Label>;
4
4
  export default Label;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/ui",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "private": false,
5
5
  "packageManager": "bun@1.2.19",
6
6
  "publishConfig": {