noph-ui 0.30.7 → 0.30.9

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.
@@ -120,6 +120,8 @@
120
120
  selectOption(option)
121
121
  }}
122
122
  variant="button"
123
+ start={option.start}
124
+ end={option.end}
123
125
  >{option.label}
124
126
  </Item>
125
127
  {/snippet}
@@ -1,7 +1,10 @@
1
1
  import type { InputFieldProps } from '../types.ts';
2
+ import type { Snippet } from 'svelte';
2
3
  export interface AutoCompleteOption {
3
4
  value?: string | number;
4
5
  label: string;
6
+ start?: Snippet;
7
+ end?: Snippet;
5
8
  }
6
9
  export interface AutoCompleteProps extends Omit<InputFieldProps, 'clientWidth' | 'clientHeight'> {
7
10
  options: AutoCompleteOption[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.30.7",
3
+ "version": "0.30.9",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {