noph-ui 0.34.0 → 0.34.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.
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}: AutoCompleteProps = $props()
|
|
28
28
|
|
|
29
29
|
const uid = $props.id()
|
|
30
|
-
const query = $derived(value ? value
|
|
30
|
+
const query = $derived(value ? `${value}`.toLocaleLowerCase() : '')
|
|
31
31
|
const filterFn = $derived(
|
|
32
32
|
optionsFilter ||
|
|
33
33
|
((option: AutoCompleteOption) => !query || option.label.toLocaleLowerCase().includes(query)),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Badge } from './Badge.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Badge } from './Badge.svelte';
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -29,6 +29,6 @@ export interface TextAreaFieldProps extends HTMLTextareaAttributes, FieldProps {
|
|
|
29
29
|
}
|
|
30
30
|
export interface TextFieldProps extends HTMLAttributes<TextFieldElement>, Omit<HTMLInputAttributes, keyof HTMLAttributes<HTMLInputElement> | 'type' | 'value' | 'defaultValue' | 'defaultvalue'>, Omit<HTMLTextareaAttributes, keyof HTMLAttributes<HTMLTextAreaElement> | 'value' | 'defaultValue' | 'defaultvalue'>, FieldProps {
|
|
31
31
|
type?: TextFieldType | 'textarea';
|
|
32
|
-
value?: string;
|
|
32
|
+
value?: string | number | null;
|
|
33
33
|
}
|
|
34
34
|
export {};
|