@sjsf/daisyui-theme
Advanced tools
@@ -33,3 +33,3 @@ <script lang="ts"> | ||
| class={['checkbox', errors.length > 0 && 'checkbox-error']} | ||
| bind:group={mapped.value} | ||
| bind:group={mapped.current} | ||
| value={option.id} | ||
@@ -36,0 +36,0 @@ {...attributes} |
| import '@sjsf/basic-theme/extra-widgets/checkboxes.svelte'; | ||
| declare const Checkboxes: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form/core").SchemaArrayValue> & import("@sjsf/form/fields/widgets").Options, {}, "value">; | ||
| declare const Checkboxes: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form/core").SchemaArrayValue> & import("@sjsf/form/fields/widgets").MultiSelectOptions, {}, "value">; | ||
| type Checkboxes = ReturnType<typeof Checkboxes>; | ||
| export default Checkboxes; |
@@ -24,3 +24,3 @@ <script lang="ts"> | ||
| class={['select select-bordered grow', errors.length > 0 && 'select-error']} | ||
| bind:value={mapped.value} | ||
| bind:value={mapped.current} | ||
| multiple | ||
@@ -27,0 +27,0 @@ {...selectAttributes(ctx, config, 'multiSelect', handlers, {})} |
| import '@sjsf/basic-theme/extra-widgets/multi-select.svelte'; | ||
| declare const MultiSelect: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form/core").SchemaArrayValue> & import("@sjsf/form/fields/widgets").Options, {}, "value">; | ||
| declare const MultiSelect: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form/core").SchemaArrayValue> & import("@sjsf/form/fields/widgets").MultiSelectOptions, {}, "value">; | ||
| type MultiSelect = ReturnType<typeof MultiSelect>; | ||
| export default MultiSelect; |
@@ -41,3 +41,3 @@ <script lang="ts" module> | ||
| class={['join-item btn', errors.length > 0 && 'btn-error']} | ||
| bind:group={mapped.value} | ||
| bind:group={mapped.current} | ||
| value={option.id} | ||
@@ -44,0 +44,0 @@ aria-label={option.label} |
@@ -8,4 +8,4 @@ import type { HTMLInputAttributes } from 'svelte/elements'; | ||
| } | ||
| declare const RadioButtons: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").Options, {}, "value">; | ||
| declare const RadioButtons: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").SingleSelectOptions, {}, "value">; | ||
| type RadioButtons = ReturnType<typeof RadioButtons>; | ||
| export default RadioButtons; |
@@ -29,3 +29,3 @@ <script lang="ts"> | ||
| class={['radio', errors.length > 0 && 'radio-error']} | ||
| bind:group={mapped.value} | ||
| bind:group={mapped.current} | ||
| value={option.id} | ||
@@ -32,0 +32,0 @@ {...attributes} |
| import '@sjsf/basic-theme/extra-widgets/radio.svelte'; | ||
| declare const Radio: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").Options, {}, "value">; | ||
| declare const Radio: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").SingleSelectOptions, {}, "value">; | ||
| type Radio = ReturnType<typeof Radio>; | ||
| export default Radio; |
@@ -27,3 +27,3 @@ <script lang="ts"> | ||
| class={['select select-bordered grow', errors.length > 0 && 'select-error']} | ||
| bind:value={mapped.value} | ||
| bind:value={mapped.current} | ||
| {...attributes} | ||
@@ -30,0 +30,0 @@ > |
| import '@sjsf/basic-theme/widgets/select.svelte'; | ||
| declare const Select: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").Options, {}, "value">; | ||
| declare const Select: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").SingleSelectOptions, {}, "value">; | ||
| type Select = ReturnType<typeof Select>; | ||
| export default Select; |
+10
-10
| { | ||
| "name": "@sjsf/daisyui-theme", | ||
| "version": "3.0.0", | ||
| "version": "3.1.0", | ||
| "description": "The daisyUI based theme for svelte-jsonschema-form", | ||
@@ -54,6 +54,6 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@sjsf/basic-theme": "^3.0.0" | ||
| "@sjsf/basic-theme": "^3.5.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "@sjsf/form": "^3.0.0", | ||
| "@sjsf/form": "^3.5.0", | ||
| "daisyui": "^4.12.0", | ||
@@ -63,10 +63,10 @@ "svelte": "^5.33.0" | ||
| "devDependencies": { | ||
| "autoprefixer": "^10.4.21", | ||
| "autoprefixer": "^10.4.27", | ||
| "daisyui": "^4.12.24", | ||
| "globals": "16.5.0", | ||
| "postcss": "^8.5.6", | ||
| "svelte": "^5.43.3", | ||
| "tailwindcss": "^3.4.18", | ||
| "@sjsf/form": "3.0.0", | ||
| "theme-testing": "1.0.13" | ||
| "globals": "17.4.0", | ||
| "postcss": "^8.5.8", | ||
| "svelte": "^5.55.1", | ||
| "tailwindcss": "^3.4.19", | ||
| "@sjsf/form": "3.5.0", | ||
| "theme-testing": "1.0.26" | ||
| }, | ||
@@ -73,0 +73,0 @@ "svelte": "./dist/index.js", |
Sorry, the diff of this file is too big to display
99344
-3.96%568
-2.07%Updated