🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@sjsf-lab/beercss-theme

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sjsf-lab/beercss-theme - npm Package Compare versions

Comparing version
3.2.0
to
3.2.1
+3
-20
dist/extra-widgets/date-picker.svelte

@@ -1,20 +0,6 @@

<script lang="ts" module>
import type { HTMLInputAttributes } from 'svelte/elements';
import '@sjsf/form/fields/extra-widgets/date-picker';
declare module '@sjsf/form' {
interface UiOptions {
daisyui5PikadayCalendar?: HTMLInputAttributes;
}
}
</script>
<script lang="ts">
import { getFormContext, inputAttributes, type ComponentProps } from '@sjsf/form';
import '@sjsf/basic-theme/extra-widgets/date-picker.svelte';
let {
value = $bindable(),
handlers,
config
}: ComponentProps['datePickerWidget'] = $props();
let { value = $bindable(), handlers, config }: ComponentProps['datePickerWidget'] = $props();

@@ -24,5 +10,2 @@ const ctx = getFormContext();

<input
{...inputAttributes(ctx, config, 'daisyui5PikadayCalendar', handlers, { type: 'date' })}
bind:value
/>
<input {...inputAttributes(ctx, config, 'datePicker', handlers, { type: 'date' })} bind:value />

@@ -1,10 +0,4 @@

import type { HTMLInputAttributes } from 'svelte/elements';
import '@sjsf/form/fields/extra-widgets/date-picker';
declare module '@sjsf/form' {
interface UiOptions {
daisyui5PikadayCalendar?: HTMLInputAttributes;
}
}
import '@sjsf/basic-theme/extra-widgets/date-picker.svelte';
declare const DatePicker: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<string>, {}, "value">;
type DatePicker = ReturnType<typeof DatePicker>;
export default DatePicker;
+3
-3

@@ -7,3 +7,3 @@ <script lang="ts" module>

interface UiOptions {
daisyui5Switch?: HTMLInputAttributes;
beercssSwitch?: HTMLInputAttributes;
}

@@ -23,3 +23,3 @@ }

<input
{...inputAttributes(ctx, config, 'daisyui5Switch', handlers, {})}
{...inputAttributes(ctx, config, 'beercssSwitch', handlers, {})}
type="checkbox"

@@ -35,2 +35,2 @@ bind:checked={() => value ?? false, (v) => (value = v)}

}
</style>
</style>

@@ -5,3 +5,3 @@ import type { HTMLInputAttributes } from 'svelte/elements';

interface UiOptions {
daisyui5Switch?: HTMLInputAttributes;
beercssSwitch?: HTMLInputAttributes;
}

@@ -8,0 +8,0 @@ }

{
"name": "@sjsf-lab/beercss-theme",
"version": "3.2.0",
"version": "3.2.1",
"description": "The Beer CSS v3 based theme for svelte-jsonschema-form",

@@ -50,6 +50,6 @@ "license": "MIT",

"dependencies": {
"@sjsf/basic-theme": "^3.1.1"
"@sjsf/basic-theme": "^3.2.1"
},
"peerDependencies": {
"@sjsf/form": "^3.1.1",
"@sjsf/form": "^3.2.1",
"beercss": "^3.13.0",

@@ -60,11 +60,11 @@ "material-dynamic-colors": "^1.1.0",

"devDependencies": {
"@tailwindcss/vite": "^4.1.17",
"@tailwindcss/vite": "^4.1.18",
"ajv": "^8.17.1",
"beercss": "^3.13.1",
"globals": "16.5.0",
"beercss": "^3.13.3",
"globals": "17.0.0",
"material-dynamic-colors": "^1.1.2",
"svelte": "^5.45.4",
"@sjsf/ajv8-validator": "3.1.1",
"@sjsf/form": "3.1.1",
"theme-testing": "1.0.18"
"svelte": "^5.46.1",
"@sjsf/form": "3.2.1",
"theme-testing": "1.0.20",
"@sjsf/ajv8-validator": "3.2.1"
},

@@ -71,0 +71,0 @@ "svelte": "./dist/index.js",