diff --git a/src/lib/components/radio/Description.svelte b/src/lib/components/radio/Description.svelte index 8d193b59..a308ecd2 100644 --- a/src/lib/components/radio/Description.svelte +++ b/src/lib/components/radio/Description.svelte @@ -4,6 +4,11 @@ import { useContext } from '$lib/utils/useContext'; import { RADIO_GROUP_RADIO_CONTEXT_ID } from './Radio.svelte'; import { RADIO_GROUP_CONTEXT_ID } from './RadioGroup.svelte'; + import { get_current_component } from 'svelte/internal'; + import { forwardEventsBuilder, useActions, type ActionArray } from '../../actions'; + export let use: ActionArray = []; + import { exclude } from '../../utils/exclude'; + const forwardEvents = forwardEventsBuilder(get_current_component()); useContext({ context_id: RADIO_GROUP_CONTEXT_ID, @@ -23,6 +28,10 @@ $: finalClass = twMerge(defaultClass, $$props.class); - diff --git a/src/lib/components/radio/GroupLabel.svelte b/src/lib/components/radio/GroupLabel.svelte index 9ae07ddc..766762aa 100644 --- a/src/lib/components/radio/GroupLabel.svelte +++ b/src/lib/components/radio/GroupLabel.svelte @@ -3,6 +3,11 @@ import { useContext } from '../../utils/useContext'; import { getContext } from 'svelte'; import { twMerge } from 'tailwind-merge'; + import { get_current_component } from 'svelte/internal'; + import { forwardEventsBuilder, useActions, type ActionArray } from '../../actions'; + export let use: ActionArray = []; + import { exclude } from '../../utils/exclude'; + const forwardEvents = forwardEventsBuilder(get_current_component()); useContext({ context_id: RADIO_GROUP_CONTEXT_ID, @@ -17,4 +22,10 @@ $: finalClass = twMerge(defaultClass, $$props.class); - + diff --git a/src/lib/components/radio/Label.svelte b/src/lib/components/radio/Label.svelte index a0e1ec29..ec4a3792 100644 --- a/src/lib/components/radio/Label.svelte +++ b/src/lib/components/radio/Label.svelte @@ -4,6 +4,11 @@ import { useContext } from '$lib/utils/useContext'; import { RADIO_GROUP_RADIO_CONTEXT_ID } from './Radio.svelte'; import { RADIO_GROUP_CONTEXT_ID } from './RadioGroup.svelte'; + import { get_current_component } from 'svelte/internal'; + import { forwardEventsBuilder, useActions, type ActionArray } from '../../actions'; + export let use: ActionArray = []; + import { exclude } from '../../utils/exclude'; + const forwardEvents = forwardEventsBuilder(get_current_component()); useContext({ context_id: RADIO_GROUP_CONTEXT_ID, @@ -23,4 +28,10 @@ $: finalClass = twMerge(defaultClass, $$props.class); - +