tera-system-ui 0.0.67 → 0.0.68

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.
@@ -3,11 +3,12 @@
3
3
 
4
4
  import {type SelectProps, styles} from "./Select";
5
5
 
6
- let {children, variant, disabled, size, class: className, ...props}: SelectProps = $props();
6
+ let {children, variant, disabled, size, class: className, value = $bindable(), ...props}: SelectProps = $props();
7
7
 
8
8
  </script>
9
9
 
10
10
  <select {...props}
11
+ bind:value
11
12
  class={"tera-select pr-3" + styles({ variant, disabled , size, className: className})}
12
13
  >
13
14
  {@render children?.()}
@@ -1,4 +1,4 @@
1
1
  import './select.scss';
2
2
  import { type SelectProps } from "./Select";
3
- declare const Select: import("svelte").Component<SelectProps, {}, "">;
3
+ declare const Select: import("svelte").Component<SelectProps, {}, "value">;
4
4
  export default Select;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tera-system-ui",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "npm run customPrepublish && npm run generate-index && vite build && npm run package && npm run postpublish",