@sjsf/daisyui5-theme
Advanced tools
@@ -17,3 +17,3 @@ <script lang="ts"> | ||
| }), | ||
| hasInitialValue = config.schema.default !== undefined | ||
| clearable = config.schema.default === undefined | ||
| }: ComponentProps['selectWidget'] = $props(); | ||
@@ -31,3 +31,3 @@ | ||
| > | ||
| {#if !hasInitialValue} | ||
| {#if clearable} | ||
| <option value={EMPTY_VALUE}>{attributes.placeholder}</option> | ||
@@ -34,0 +34,0 @@ {/if} |
+7
-6
| { | ||
| "name": "@sjsf/daisyui5-theme", | ||
| "version": "3.4.0", | ||
| "version": "3.5.0", | ||
| "description": "The daisyUI v5 based theme for svelte-jsonschema-form", | ||
@@ -28,2 +28,3 @@ "license": "MIT", | ||
| "exports": { | ||
| "./package.json": "./package.json", | ||
| "./components/*": { | ||
@@ -52,6 +53,6 @@ "types": "./dist/components/*.d.ts", | ||
| "dependencies": { | ||
| "@sjsf/basic-theme": "^3.4.0" | ||
| "@sjsf/basic-theme": "^3.5.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "@sjsf/form": "^3.4.0", | ||
| "@sjsf/form": "^3.5.0", | ||
| "cally": "^0.8.0 || ^0.9.0", | ||
@@ -80,5 +81,5 @@ "daisyui": "^5.4.0", | ||
| "tailwindcss": "^4.2.2", | ||
| "@sjsf/ajv8-validator": "3.4.0", | ||
| "@sjsf/form": "3.4.0", | ||
| "theme-testing": "1.0.25" | ||
| "@sjsf/ajv8-validator": "3.5.0", | ||
| "@sjsf/form": "3.5.0", | ||
| "theme-testing": "1.0.26" | ||
| }, | ||
@@ -85,0 +86,0 @@ "svelte": "./dist/index.js", |
110540
0.02%+ Added
- Removed
Updated