@ark-ui/solid
Advanced tools
Comparing version 0.0.0-rc-20221115160627 to 0.0.0-rc-20221115215058
@@ -7,8 +7,8 @@ import * as solid_js from 'solid-js'; | ||
declare type HTMLArkProps<T extends keyof JSX.IntrinsicElements> = HTMLPolymorphicProps<T>; | ||
type HTMLArkProps<T extends keyof JSX.IntrinsicElements> = HTMLPolymorphicProps<T>; | ||
declare type UseAccordionProps = Omit<accordion.Context, 'id'> & { | ||
type UseAccordionProps = Omit<accordion.Context, 'id'> & { | ||
defaultValue?: accordion.Context['value']; | ||
}; | ||
declare type UseAccordionReturn = ReturnType<typeof useAccordion>; | ||
type UseAccordionReturn = ReturnType<typeof useAccordion>; | ||
declare const useAccordion: (props: UseAccordionProps) => solid_js.Accessor<{ | ||
@@ -40,9 +40,9 @@ value: string | string[] | null; | ||
declare type AccordionProps = Assign<HTMLArkProps<'div'>, UseAccordionProps>; | ||
type AccordionProps = Assign<HTMLArkProps<'div'>, UseAccordionProps>; | ||
declare function Accordion(props: AccordionProps): solid_js.JSX.Element; | ||
declare type AccordionButtonProps = HTMLArkProps<'button'>; | ||
type AccordionButtonProps = HTMLArkProps<'button'>; | ||
declare function AccordionButton(props: AccordionButtonProps): solid_js.JSX.Element; | ||
declare type AccordionItemProps = Assign<HTMLArkProps<'div'>, { | ||
type AccordionItemProps = Assign<HTMLArkProps<'div'>, { | ||
value: string; | ||
@@ -53,9 +53,9 @@ disabled?: boolean; | ||
declare type AccordionPanelProps = HTMLArkProps<'div'>; | ||
type AccordionPanelProps = HTMLArkProps<'div'>; | ||
declare function AccordionPanel(props: AccordionPanelProps): solid_js.JSX.Element; | ||
declare type UsePinInputProps = Omit<pinInput.Context, 'id'> & { | ||
type UsePinInputProps = Omit<pinInput.Context, 'id'> & { | ||
defaultValue?: pinInput.Context['value']; | ||
}; | ||
declare type UsePinInputReturn = ReturnType<typeof usePinInput>; | ||
type UsePinInputReturn = ReturnType<typeof usePinInput>; | ||
declare const usePinInput: (props: UsePinInputProps) => solid_js.Accessor<{ | ||
@@ -77,6 +77,6 @@ value: string[]; | ||
declare type PinInputProps = Assign<HTMLArkProps<'div'>, UsePinInputProps>; | ||
type PinInputProps = Assign<HTMLArkProps<'div'>, UsePinInputProps>; | ||
declare const PinInput: (props: PinInputProps) => solid_js.JSX.Element; | ||
declare type PinInputFieldProps = Assign<HTMLArkProps<'input'>, { | ||
type PinInputFieldProps = Assign<HTMLArkProps<'input'>, { | ||
index: number; | ||
@@ -83,0 +83,0 @@ }>; |
{ | ||
"name": "@ark-ui/solid", | ||
"version": "0.0.0-rc-20221115160627", | ||
"version": "0.0.0-rc-20221115215058", | ||
"description": "", | ||
@@ -68,3 +68,3 @@ "keywords": [], | ||
"tsup": "6.5.0", | ||
"typescript": "4.8.4", | ||
"typescript": "4.9.3", | ||
"vite": "3.2.4", | ||
@@ -71,0 +71,0 @@ "vitest": "0.25.2", |
17262