creates video voice memos from audio clips; with bluesky integration.
trill.ptr.pet
1import { type Assign, Checkbox } from '@ark-ui/solid'
2import type { ComponentProps } from 'solid-js'
3import { type CheckboxVariantProps, checkbox } from 'styled-system/recipes'
4import type { HTMLStyledProps } from 'styled-system/types'
5import { createStyleContext } from './utils/create-style-context'
6
7const { withProvider, withContext } = createStyleContext(checkbox)
8
9export type RootProviderProps = ComponentProps<typeof RootProvider>
10export const RootProvider = withProvider<
11 Assign<Assign<HTMLStyledProps<'label'>, Checkbox.RootProviderBaseProps>, CheckboxVariantProps>
12>(Checkbox.RootProvider, 'root')
13
14export type RootProps = ComponentProps<typeof Root>
15export const Root = withProvider<
16 Assign<Assign<HTMLStyledProps<'label'>, Checkbox.RootBaseProps>, CheckboxVariantProps>
17>(Checkbox.Root, 'root')
18
19export const Control = withContext<Assign<HTMLStyledProps<'div'>, Checkbox.ControlBaseProps>>(
20 Checkbox.Control,
21 'control',
22)
23
24export const Group = withContext<Assign<HTMLStyledProps<'div'>, Checkbox.GroupBaseProps>>(
25 Checkbox.Group,
26 'group',
27)
28
29export const Indicator = withContext<Assign<HTMLStyledProps<'div'>, Checkbox.IndicatorBaseProps>>(
30 Checkbox.Indicator,
31 'indicator',
32)
33
34export const Label = withContext<Assign<HTMLStyledProps<'span'>, Checkbox.LabelBaseProps>>(
35 Checkbox.Label,
36 'label',
37)
38
39export {
40 CheckboxContext as Context,
41 CheckboxHiddenInput as HiddenInput,
42} from '@ark-ui/solid'