@ark-ui/react 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -2
- package/accordion/accordion-context.d.ts +2 -9
- package/accordion/accordion.cjs +3 -2
- package/accordion/accordion.d.ts +2 -2
- package/accordion/accordion.mjs +3 -2
- package/accordion/index.d.ts +4 -4
- package/accordion/use-accordion.d.ts +2 -7
- package/avatar/avatar-context.d.ts +2 -9
- package/avatar/use-avatar.d.ts +2 -7
- package/carousel/carousel-context.d.ts +2 -9
- package/carousel/carousel.d.ts +3 -3
- package/carousel/index.d.ts +7 -12
- package/carousel/use-carousel.d.ts +2 -7
- package/checkbox/checkbox-context.d.ts +2 -9
- package/checkbox/checkbox.d.ts +3 -3
- package/checkbox/index.d.ts +7 -13
- package/checkbox/use-checkbox.d.ts +2 -7
- package/color-picker/color-picker-context.d.ts +2 -9
- package/color-picker/use-color-picker.d.ts +2 -7
- package/combobox/combobox-context.d.ts +2 -9
- package/combobox/combobox.cjs +0 -1
- package/combobox/combobox.d.ts +1 -1
- package/combobox/combobox.mjs +0 -1
- package/combobox/index.d.ts +7 -12
- package/combobox/use-combobox.d.ts +2 -7
- package/compose-refs.cjs +0 -1
- package/compose-refs.mjs +0 -1
- package/date-picker/date-picker-context.d.ts +2 -9
- package/date-picker/use-date-picker.d.ts +2 -7
- package/dialog/dialog-context.d.ts +2 -9
- package/dialog/use-dialog.d.ts +2 -7
- package/editable/editable-context.d.ts +2 -9
- package/editable/editable.d.ts +3 -3
- package/editable/index.d.ts +7 -12
- package/editable/use-editable.d.ts +2 -7
- package/factory.cjs +2 -2
- package/factory.mjs +1 -1
- package/hover-card/hover-card-context.d.ts +2 -9
- package/hover-card/use-hover-card.d.ts +2 -7
- package/index.cjs +0 -2
- package/index.mjs +0 -1
- package/menu/index.d.ts +2 -2
- package/menu/menu-item.d.ts +5 -8
- package/menu/use-menu.d.ts +1 -1
- package/number-input/index.d.ts +2 -2
- package/number-input/number-input-context.d.ts +2 -9
- package/number-input/number-input.d.ts +1 -1
- package/number-input/use-number-input.d.ts +2 -7
- package/package.json +49 -48
- package/pagination/index.d.ts +5 -11
- package/pagination/pagination-context.d.ts +2 -9
- package/pagination/pagination.d.ts +2 -2
- package/pagination/use-pagination.d.ts +2 -7
- package/pin-input/index.d.ts +2 -2
- package/pin-input/pin-input-context.d.ts +2 -9
- package/pin-input/pin-input.d.ts +1 -1
- package/pin-input/use-pin-input.d.ts +2 -7
- package/popover/popover-context.d.ts +2 -9
- package/popover/use-popover.d.ts +2 -7
- package/presence/use-presence.d.ts +1 -1
- package/pressable/use-pressable.d.ts +2 -7
- package/radio-group/index.d.ts +2 -2
- package/radio-group/radio-group-context.d.ts +2 -9
- package/radio-group/radio-group.d.ts +1 -1
- package/radio-group/use-radio-group.d.ts +2 -7
- package/range-slider/index.d.ts +8 -16
- package/range-slider/range-slider-context.d.ts +2 -9
- package/range-slider/range-slider.cjs +3 -0
- package/range-slider/range-slider.d.ts +1 -1
- package/range-slider/range-slider.mjs +3 -0
- package/range-slider/use-range-slider.d.ts +2 -7
- package/rating-group/index.d.ts +6 -8
- package/rating-group/rating-group-context.d.ts +2 -9
- package/rating-group/rating-group-control.d.ts +2 -2
- package/rating-group/rating-group.d.ts +1 -1
- package/rating-group/use-rating-group.d.ts +2 -7
- package/segment-group/index.d.ts +2 -2
- package/segment-group/segment-group-context.d.ts +2 -9
- package/segment-group/segment-group.d.ts +1 -1
- package/segment-group/use-segment-group.d.ts +2 -7
- package/select/select-context.d.ts +2 -9
- package/select/use-select.d.ts +2 -7
- package/slider/index.d.ts +5 -15
- package/slider/slider-context.d.ts +2 -9
- package/slider/slider.cjs +2 -0
- package/slider/slider.mjs +2 -0
- package/slider/use-slider.d.ts +2 -7
- package/splitter/index.d.ts +7 -12
- package/splitter/splitter-context.d.ts +2 -9
- package/splitter/splitter.d.ts +1 -1
- package/splitter/use-splitter.d.ts +2 -7
- package/switch/index.cjs +0 -3
- package/switch/index.d.ts +6 -19
- package/switch/index.mjs +1 -3
- package/switch/switch-context.d.ts +2 -9
- package/switch/switch-control.cjs +5 -2
- package/switch/switch-control.mjs +6 -3
- package/switch/switch.d.ts +2 -2
- package/switch/use-switch.d.ts +2 -7
- package/tabs/index.d.ts +2 -2
- package/tabs/tabs-context.d.ts +2 -9
- package/tabs/tabs.d.ts +1 -1
- package/tabs/use-tabs.cjs +21 -2
- package/tabs/use-tabs.d.ts +5 -10
- package/tabs/use-tabs.mjs +3 -3
- package/tags-input/index.d.ts +2 -2
- package/tags-input/tags-input-context.d.ts +2 -9
- package/tags-input/tags-input.cjs +1 -2
- package/tags-input/tags-input.d.ts +2 -2
- package/tags-input/tags-input.mjs +1 -2
- package/tags-input/use-tags-input.d.ts +2 -7
- package/toast/index.d.ts +1 -1
- package/toast/toast-group.d.ts +2 -2
- package/toast/toast-item-context.d.ts +2 -9
- package/toast/toast-provider.d.ts +2 -57
- package/toast/use-toast-item.d.ts +2 -7
- package/tooltip/tooltip-context.d.ts +2 -9
- package/tooltip/use-tooltip.d.ts +2 -7
- package/switch/switch-input.cjs +0 -19
- package/switch/switch-input.d.ts +0 -8
- package/switch/switch-input.mjs +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,22 @@ description: All notable changes to this project will be documented in this file
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.14.0] - 2023-08-29
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Changed `MenuItem` from a `button` to a `div` element.
|
|
14
|
+
- `Accordion`: Remove support for passing value as `string`. The value property must be an array of strings.
|
|
15
|
+
- `Combobox`: Remove `selectInputOnFocus` option in favor of userland control
|
|
16
|
+
- `TagsInput`: Rename `onHighlight` to `onFocusChange`
|
|
17
|
+
|
|
18
|
+
### Removed
|
|
19
|
+
|
|
20
|
+
- Removed `'use client'` annotation from `compose-refs` function.
|
|
21
|
+
- Removed `Switchinput`. This component is no longer required.
|
|
22
|
+
- `TagsInput`: Removed`onTagUpdate` use `onChange` instead.
|
|
23
|
+
- `Switch`: Removed `defaultChecked` in favor of `defaultIsChecked`
|
|
24
|
+
|
|
9
25
|
## [0.13.1] - 2023-08-13
|
|
10
26
|
|
|
11
27
|
### Changed
|
|
@@ -191,7 +207,7 @@ description: All notable changes to this project will be documented in this file
|
|
|
191
207
|
- Add `Toast`
|
|
192
208
|
- Add `Tooltip`
|
|
193
209
|
|
|
194
|
-
[unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.
|
|
210
|
+
[unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.14.0...HEAD
|
|
195
211
|
[0.1.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.1.0
|
|
196
212
|
[0.2.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.2.0
|
|
197
213
|
[0.3.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.3.0
|
|
@@ -217,5 +233,6 @@ description: All notable changes to this project will be documented in this file
|
|
|
217
233
|
|
|
218
234
|
[0.12.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.12.0
|
|
219
235
|
[0.13.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.13.0
|
|
220
|
-
|
|
221
236
|
[0.13.1]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.13.1
|
|
237
|
+
|
|
238
|
+
[0.14.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.14.0
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseAccordionReturn } from './use-accordion';
|
|
5
4
|
export type AccordionContext = UseAccordionReturn;
|
|
6
|
-
export declare const AccordionProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useAccordionContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const AccordionProvider: Provider<UseAccordionReturn>, useAccordionContext: () => UseAccordionReturn;
|
package/accordion/accordion.cjs
CHANGED
|
@@ -22,8 +22,9 @@ const Accordion = react.forwardRef((props, ref) => {
|
|
|
22
22
|
"ids",
|
|
23
23
|
"multiple",
|
|
24
24
|
"onChange",
|
|
25
|
-
"
|
|
26
|
-
"orientation"
|
|
25
|
+
"onFocusChange",
|
|
26
|
+
"orientation",
|
|
27
|
+
"value"
|
|
27
28
|
]);
|
|
28
29
|
const accordion = useAccordion.useAccordion(useAccordionProps);
|
|
29
30
|
const mergedProps = react$1.mergeProps(accordion.rootProps, divProps);
|
package/accordion/accordion.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export declare const Accordion: ForwardRefExoticComponent<Omit<Omit<Omit<Detaile
|
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
9
9
|
} & {
|
|
10
10
|
asChild?: boolean | undefined;
|
|
11
|
-
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "disabled" | "
|
|
12
|
-
defaultValue?: string
|
|
11
|
+
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "disabled" | "defaultValue" | "dir" | "onChange" | "multiple" | "orientation" | "collapsible" | "onFocusChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
12
|
+
defaultValue?: string[] | undefined;
|
|
13
13
|
} & RefAttributes<HTMLDivElement>>;
|
package/accordion/accordion.mjs
CHANGED
|
@@ -18,8 +18,9 @@ const Accordion = forwardRef((props, ref) => {
|
|
|
18
18
|
"ids",
|
|
19
19
|
"multiple",
|
|
20
20
|
"onChange",
|
|
21
|
-
"
|
|
22
|
-
"orientation"
|
|
21
|
+
"onFocusChange",
|
|
22
|
+
"orientation",
|
|
23
|
+
"value"
|
|
23
24
|
]);
|
|
24
25
|
const accordion = useAccordion(useAccordionProps);
|
|
25
26
|
const mergedProps = mergeProps(accordion.rootProps, divProps);
|
package/accordion/index.d.ts
CHANGED
|
@@ -13,15 +13,15 @@ declare const Accordion: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLPr
|
|
|
13
13
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
14
14
|
} & {
|
|
15
15
|
asChild?: boolean | undefined;
|
|
16
|
-
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "disabled" | "
|
|
17
|
-
defaultValue?: string
|
|
16
|
+
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "disabled" | "defaultValue" | "dir" | "onChange" | "multiple" | "orientation" | "collapsible" | "onFocusChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
17
|
+
defaultValue?: string[] | undefined;
|
|
18
18
|
} & RefAttributes<HTMLDivElement>> & {
|
|
19
19
|
Root: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
20
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
21
21
|
} & {
|
|
22
22
|
asChild?: boolean | undefined;
|
|
23
|
-
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "disabled" | "
|
|
24
|
-
defaultValue?: string
|
|
23
|
+
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "disabled" | "defaultValue" | "dir" | "onChange" | "multiple" | "orientation" | "collapsible" | "onFocusChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
24
|
+
defaultValue?: string[] | undefined;
|
|
25
25
|
} & RefAttributes<HTMLDivElement>>;
|
|
26
26
|
Content: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
27
27
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as accordion from '@zag-js/accordion';
|
|
4
2
|
import { type Optional } from '../types';
|
|
5
3
|
export type UseAccordionProps = Optional<accordion.Context, 'id'> & {
|
|
6
4
|
defaultValue?: accordion.Context['value'];
|
|
7
5
|
};
|
|
8
|
-
export type UseAccordionReturn =
|
|
9
|
-
export declare const useAccordion: (props: UseAccordionProps) =>
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
6
|
+
export type UseAccordionReturn = accordion.Api;
|
|
7
|
+
export declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseAvatarReturn } from './use-avatar';
|
|
5
4
|
export type AvatarContext = UseAvatarReturn;
|
|
6
|
-
export declare const AvatarProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useAvatarContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const AvatarProvider: Provider<UseAvatarReturn>, useAvatarContext: () => UseAvatarReturn;
|
package/avatar/use-avatar.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as avatar from '@zag-js/avatar';
|
|
4
2
|
import { type Optional } from '../types';
|
|
5
3
|
export type UseAvatarProps = Optional<avatar.Context, 'id'>;
|
|
6
|
-
export type UseAvatarReturn =
|
|
7
|
-
export declare const useAvatar: (props: UseAvatarProps) =>
|
|
8
|
-
element: HTMLAttributes<HTMLElement>;
|
|
9
|
-
style: CSSProperties;
|
|
10
|
-
}>;
|
|
4
|
+
export type UseAvatarReturn = avatar.Api;
|
|
5
|
+
export declare const useAvatar: (props: UseAvatarProps) => UseAvatarReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseCarouselReturn } from './use-carousel';
|
|
5
4
|
export type CarouselContext = UseCarouselReturn;
|
|
6
|
-
export declare const CarouselProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useCarouselContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const CarouselProvider: Provider<UseCarouselReturn>, useCarouselContext: () => UseCarouselReturn;
|
package/carousel/carousel.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ import { type Assign } from '../types';
|
|
|
5
5
|
import { type CarouselContext } from './carousel-context';
|
|
6
6
|
import { type UseCarouselProps } from './use-carousel';
|
|
7
7
|
export type CarouselProps = Assign<ComponentPropsWithoutRef<typeof ark.div> & {
|
|
8
|
-
children
|
|
8
|
+
children?: ReactNode | ((pages: CarouselContext) => ReactNode);
|
|
9
9
|
}, UseCarouselProps>;
|
|
10
10
|
export declare const Carousel: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
12
12
|
} & {
|
|
13
13
|
asChild?: boolean | undefined;
|
|
14
14
|
}, "ref"> & {
|
|
15
|
-
children
|
|
16
|
-
}, "getRootNode" | "id" | "ids" | "
|
|
15
|
+
children?: ReactNode | ((pages: CarouselContext) => ReactNode);
|
|
16
|
+
}, "getRootNode" | "id" | "ids" | "dir" | "orientation" | "spacing" | "loop" | "align" | "slidesPerView" | "index" | "onSlideChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & RefAttributes<HTMLDivElement>>;
|
package/carousel/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Context, SlideIndicatorProps, SlideProps } from '@zag-js/carousel';
|
|
2
|
+
import { UseCarouselReturn } from './use-carousel';
|
|
3
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, ReactNode, RefAttributes, ButtonHTMLAttributes } from 'react';
|
|
3
4
|
/// <reference types="react" />
|
|
4
5
|
import { type CarouselProps } from './carousel';
|
|
5
6
|
import { useCarouselContext } from './carousel-context';
|
|
@@ -17,21 +18,15 @@ declare const Carousel: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLPro
|
|
|
17
18
|
} & {
|
|
18
19
|
asChild?: boolean | undefined;
|
|
19
20
|
}, "ref"> & {
|
|
20
|
-
children
|
|
21
|
-
|
|
22
|
-
style: CSSProperties;
|
|
23
|
-
}>) => ReactNode);
|
|
24
|
-
}, "getRootNode" | "id" | "ids" | "orientation" | "spacing" | "dir" | "loop" | "align" | "slidesPerView" | "index" | "onSlideChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & RefAttributes<HTMLDivElement>> & {
|
|
21
|
+
children?: ReactNode | ((pages: UseCarouselReturn) => ReactNode);
|
|
22
|
+
}, "getRootNode" | "id" | "ids" | "dir" | "orientation" | "spacing" | "loop" | "align" | "slidesPerView" | "index" | "onSlideChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & RefAttributes<HTMLDivElement>> & {
|
|
25
23
|
Root: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
24
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
27
25
|
} & {
|
|
28
26
|
asChild?: boolean | undefined;
|
|
29
27
|
}, "ref"> & {
|
|
30
|
-
children
|
|
31
|
-
|
|
32
|
-
style: CSSProperties;
|
|
33
|
-
}>) => ReactNode);
|
|
34
|
-
}, "getRootNode" | "id" | "ids" | "orientation" | "spacing" | "dir" | "loop" | "align" | "slidesPerView" | "index" | "onSlideChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & RefAttributes<HTMLDivElement>>;
|
|
28
|
+
children?: ReactNode | ((pages: UseCarouselReturn) => ReactNode);
|
|
29
|
+
}, "getRootNode" | "id" | "ids" | "dir" | "orientation" | "spacing" | "loop" | "align" | "slidesPerView" | "index" | "onSlideChange"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & RefAttributes<HTMLDivElement>>;
|
|
35
30
|
Control: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
36
31
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
37
32
|
} & {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as carousel from '@zag-js/carousel';
|
|
4
2
|
import { type Optional } from '../types';
|
|
5
3
|
export type UseCarouselProps = Optional<carousel.Context, 'id'>;
|
|
6
|
-
export type UseCarouselReturn =
|
|
7
|
-
export declare const useCarousel: (props: UseCarouselProps) =>
|
|
8
|
-
element: HTMLAttributes<HTMLElement>;
|
|
9
|
-
style: CSSProperties;
|
|
10
|
-
}>;
|
|
4
|
+
export type UseCarouselReturn = carousel.Api;
|
|
5
|
+
export declare const useCarousel: (props: UseCarouselProps) => UseCarouselReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseCheckboxReturn } from './use-checkbox';
|
|
5
4
|
export type CheckboxContext = UseCheckboxReturn;
|
|
6
|
-
export declare const CheckboxProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useCheckboxContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const CheckboxProvider: Provider<UseCheckboxReturn>, useCheckboxContext: () => UseCheckboxReturn;
|
package/checkbox/checkbox.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ import { type Assign } from '../types';
|
|
|
4
4
|
import { type CheckboxContext } from './checkbox-context';
|
|
5
5
|
import { type UseCheckboxProps } from './use-checkbox';
|
|
6
6
|
export type CheckboxProps = Assign<ComponentPropsWithoutRef<typeof ark.label>, Assign<UseCheckboxProps, {
|
|
7
|
-
children
|
|
7
|
+
children?: ReactNode | ((pages: CheckboxContext) => ReactNode);
|
|
8
8
|
}>>;
|
|
9
9
|
export declare const Checkbox: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
10
10
|
ref?: ((instance: HTMLLabelElement | null) => void) | RefObject<HTMLLabelElement> | null | undefined;
|
|
11
11
|
} & {
|
|
12
12
|
asChild?: boolean | undefined;
|
|
13
|
-
}, "ref">, "name" | "value" | "children" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "
|
|
14
|
-
children
|
|
13
|
+
}, "ref">, "name" | "value" | "children" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "defaultChecked" | "dir" | "onChange" | "checked" | "required" | "invalid"> & Omit<UseCheckboxProps, "children"> & {
|
|
14
|
+
children?: ReactNode | ((pages: CheckboxContext) => ReactNode);
|
|
15
15
|
} & RefAttributes<HTMLLabelElement>>;
|
package/checkbox/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UseCheckboxProps } from './use-checkbox';
|
|
2
|
-
import { ForwardRefExoticComponent, DetailedHTMLProps, LabelHTMLAttributes, RefObject, ReactNode,
|
|
1
|
+
import { UseCheckboxProps, UseCheckboxReturn } from './use-checkbox';
|
|
2
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, LabelHTMLAttributes, RefObject, ReactNode, RefAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
/// <reference types="react" />
|
|
4
|
-
import {
|
|
4
|
+
import type { CheckedState } from '@zag-js/checkbox';
|
|
5
5
|
import { type CheckboxProps } from './checkbox';
|
|
6
6
|
import { useCheckboxContext } from './checkbox-context';
|
|
7
7
|
import { CheckboxControl, type CheckboxControlProps } from './checkbox-control';
|
|
@@ -11,21 +11,15 @@ declare const Checkbox: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLPro
|
|
|
11
11
|
ref?: ((instance: HTMLLabelElement | null) => void) | RefObject<HTMLLabelElement> | null | undefined;
|
|
12
12
|
} & {
|
|
13
13
|
asChild?: boolean | undefined;
|
|
14
|
-
}, "ref">, "name" | "value" | "children" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "
|
|
15
|
-
children
|
|
16
|
-
element: HTMLAttributes<HTMLElement>;
|
|
17
|
-
style: CSSProperties;
|
|
18
|
-
}>) => ReactNode);
|
|
14
|
+
}, "ref">, "name" | "value" | "children" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "defaultChecked" | "dir" | "onChange" | "checked" | "required" | "invalid"> & Omit<UseCheckboxProps, "children"> & {
|
|
15
|
+
children?: ReactNode | ((pages: UseCheckboxReturn) => ReactNode);
|
|
19
16
|
} & RefAttributes<HTMLLabelElement>> & {
|
|
20
17
|
Root: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
21
18
|
ref?: ((instance: HTMLLabelElement | null) => void) | RefObject<HTMLLabelElement> | null | undefined;
|
|
22
19
|
} & {
|
|
23
20
|
asChild?: boolean | undefined;
|
|
24
|
-
}, "ref">, "name" | "value" | "children" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "
|
|
25
|
-
children
|
|
26
|
-
element: HTMLAttributes<HTMLElement>;
|
|
27
|
-
style: CSSProperties;
|
|
28
|
-
}>) => ReactNode);
|
|
21
|
+
}, "ref">, "name" | "value" | "children" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "defaultChecked" | "dir" | "onChange" | "checked" | "required" | "invalid"> & Omit<UseCheckboxProps, "children"> & {
|
|
22
|
+
children?: ReactNode | ((pages: UseCheckboxReturn) => ReactNode);
|
|
29
23
|
} & RefAttributes<HTMLLabelElement>>;
|
|
30
24
|
Control: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
31
25
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as checkbox from '@zag-js/checkbox';
|
|
4
2
|
import { type Optional } from '../types';
|
|
5
3
|
export type UseCheckboxProps = Optional<checkbox.Context, 'id'> & {
|
|
6
4
|
defaultChecked?: boolean;
|
|
7
5
|
};
|
|
8
|
-
export type UseCheckboxReturn =
|
|
9
|
-
export declare const useCheckbox: (props: UseCheckboxProps) =>
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
6
|
+
export type UseCheckboxReturn = checkbox.Api;
|
|
7
|
+
export declare const useCheckbox: (props: UseCheckboxProps) => UseCheckboxReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseColorPickerReturn } from './use-color-picker';
|
|
5
4
|
export type ColorPickerContext = UseColorPickerReturn;
|
|
6
|
-
export declare const ColorPickerProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useColorPickerContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const ColorPickerProvider: Provider<UseColorPickerReturn>, useColorPickerContext: () => UseColorPickerReturn;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as colorPicker from '@zag-js/color-picker';
|
|
4
2
|
import type { Optional } from '../types';
|
|
5
3
|
export type UseColorPickerProps = Optional<colorPicker.Context, 'id'> & {
|
|
6
4
|
defaultValue?: colorPicker.Context['value'];
|
|
7
5
|
};
|
|
8
|
-
export type UseColorPickerReturn =
|
|
9
|
-
export declare const useColorPicker: (props: UseColorPickerProps) =>
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
6
|
+
export type UseColorPickerReturn = colorPicker.Api;
|
|
7
|
+
export declare const useColorPicker: (props: UseColorPickerProps) => UseColorPickerReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseComboboxReturn } from './use-combobox';
|
|
5
4
|
export type ComboboxContext = UseComboboxReturn;
|
|
6
|
-
export declare const ComboboxProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useComboboxContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const ComboboxProvider: Provider<UseComboboxReturn>, useComboboxContext: () => UseComboboxReturn;
|
package/combobox/combobox.cjs
CHANGED
package/combobox/combobox.d.ts
CHANGED
|
@@ -10,6 +10,6 @@ export declare const Combobox: ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Det
|
|
|
10
10
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
11
11
|
} & {
|
|
12
12
|
asChild?: boolean | undefined;
|
|
13
|
-
}, "ref">, "children">, "name" | "getRootNode" | "form" | "id" | "ids" | "onOpen" | "onClose" | "positioning" | "disabled" | "
|
|
13
|
+
}, "ref">, "children">, "name" | "getRootNode" | "form" | "id" | "ids" | "onOpen" | "onClose" | "positioning" | "disabled" | "autoFocus" | "dir" | "placeholder" | "onSelect" | "readOnly" | "loop" | "invalid" | "inputValue" | "selectionData" | "inputBehavior" | "blurOnSelect" | "selectionBehavior" | "selectOnTab" | "focusOnClear" | "openOnClick" | "allowCustomValue" | "ariaHidden" | "isCustomValue" | "onInputChange" | "onHighlight" | "translations" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
14
14
|
children?: ReactNode | ((props: UseComboboxReturn) => React.ReactNode);
|
|
15
15
|
} & RefAttributes<HTMLDivElement>>;
|
package/combobox/combobox.mjs
CHANGED
package/combobox/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PresenceProps } from '..';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { UseComboboxReturn } from './use-combobox';
|
|
3
|
+
import { Context, OptionData, OptionGroupProps, OptionGroupLabelProps } from '@zag-js/combobox';
|
|
4
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, ReactNode, RefAttributes, ButtonHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
4
5
|
/// <reference types="react" />
|
|
5
6
|
import { type ComboboxProps } from './combobox';
|
|
6
7
|
import { ComboboxClearTrigger, type ComboboxClearTriggerProps } from './combobox-clear-trigger';
|
|
@@ -19,21 +20,15 @@ declare const Combobox: ForwardRefExoticComponent<Omit<Omit<Omit<Omit<DetailedHT
|
|
|
19
20
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
20
21
|
} & {
|
|
21
22
|
asChild?: boolean | undefined;
|
|
22
|
-
}, "ref">, "children">, "name" | "getRootNode" | "form" | "id" | "ids" | "onOpen" | "onClose" | "positioning" | "disabled" | "
|
|
23
|
-
children?: ReactNode | ((props:
|
|
24
|
-
element: HTMLAttributes<HTMLElement>;
|
|
25
|
-
style: CSSProperties;
|
|
26
|
-
}>) => ReactNode);
|
|
23
|
+
}, "ref">, "children">, "name" | "getRootNode" | "form" | "id" | "ids" | "onOpen" | "onClose" | "positioning" | "disabled" | "autoFocus" | "dir" | "placeholder" | "onSelect" | "readOnly" | "loop" | "invalid" | "inputValue" | "selectionData" | "inputBehavior" | "blurOnSelect" | "selectionBehavior" | "selectOnTab" | "focusOnClear" | "openOnClick" | "allowCustomValue" | "ariaHidden" | "isCustomValue" | "onInputChange" | "onHighlight" | "translations" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
24
|
+
children?: ReactNode | ((props: UseComboboxReturn) => ReactNode);
|
|
27
25
|
} & RefAttributes<HTMLDivElement>> & {
|
|
28
26
|
Root: ForwardRefExoticComponent<Omit<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
27
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
30
28
|
} & {
|
|
31
29
|
asChild?: boolean | undefined;
|
|
32
|
-
}, "ref">, "children">, "name" | "getRootNode" | "form" | "id" | "ids" | "onOpen" | "onClose" | "positioning" | "disabled" | "
|
|
33
|
-
children?: ReactNode | ((props:
|
|
34
|
-
element: HTMLAttributes<HTMLElement>;
|
|
35
|
-
style: CSSProperties;
|
|
36
|
-
}>) => ReactNode);
|
|
30
|
+
}, "ref">, "children">, "name" | "getRootNode" | "form" | "id" | "ids" | "onOpen" | "onClose" | "positioning" | "disabled" | "autoFocus" | "dir" | "placeholder" | "onSelect" | "readOnly" | "loop" | "invalid" | "inputValue" | "selectionData" | "inputBehavior" | "blurOnSelect" | "selectionBehavior" | "selectOnTab" | "focusOnClear" | "openOnClick" | "allowCustomValue" | "ariaHidden" | "isCustomValue" | "onInputChange" | "onHighlight" | "translations" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
31
|
+
children?: ReactNode | ((props: UseComboboxReturn) => ReactNode);
|
|
37
32
|
} & RefAttributes<HTMLDivElement>>;
|
|
38
33
|
ClearTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
39
34
|
ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | null | undefined;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as combobox from '@zag-js/combobox';
|
|
4
2
|
import { type Optional } from '../types';
|
|
5
3
|
export type UseComboboxProps = Optional<combobox.Context, 'id'>;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>;
|
|
10
|
-
export type UseComboboxReturn = ReturnType<typeof useCombobox>;
|
|
4
|
+
export type UseComboboxReturn = combobox.Api;
|
|
5
|
+
export declare const useCombobox: (props: UseComboboxProps) => UseComboboxReturn;
|
package/compose-refs.cjs
CHANGED
package/compose-refs.mjs
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseDatePickerReturn } from './use-date-picker';
|
|
5
4
|
export type DatePickerContext = UseDatePickerReturn;
|
|
6
|
-
export declare const DatePickerProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useDatePickerContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const DatePickerProvider: Provider<UseDatePickerReturn>, useDatePickerContext: () => UseDatePickerReturn;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as datePicker from '@zag-js/date-picker';
|
|
4
2
|
import type { Optional } from '../types';
|
|
5
3
|
export type UseDatePickerProps = Optional<datePicker.Context, 'id'>;
|
|
6
|
-
export type UseDatePickerReturn =
|
|
7
|
-
export declare const useDatePicker: (props: UseDatePickerProps) =>
|
|
8
|
-
element: HTMLAttributes<HTMLElement>;
|
|
9
|
-
style: CSSProperties;
|
|
10
|
-
}>;
|
|
4
|
+
export type UseDatePickerReturn = datePicker.Api;
|
|
5
|
+
export declare const useDatePicker: (props: UseDatePickerProps) => UseDatePickerReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseDialogReturn } from './use-dialog';
|
|
5
4
|
export type DialogContext = UseDialogReturn;
|
|
6
|
-
export declare const DialogProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useDialogContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const DialogProvider: Provider<UseDialogReturn>, useDialogContext: () => UseDialogReturn;
|
package/dialog/use-dialog.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
import * as dialog from '@zag-js/dialog';
|
|
4
2
|
import { type Optional } from '../types';
|
|
5
3
|
export type UseDialogProps = Optional<dialog.Context, 'id'>;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>;
|
|
10
|
-
export type UseDialogReturn = ReturnType<typeof useDialog>;
|
|
4
|
+
export type UseDialogReturn = dialog.Api;
|
|
5
|
+
export declare const useDialog: (props: UseDialogProps) => UseDialogReturn;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
1
|
+
import { Provider } from 'react';
|
|
3
2
|
/// <reference types="react" />
|
|
4
3
|
import { type UseEditableReturn } from './use-editable';
|
|
5
4
|
export type EditableContext = UseEditableReturn;
|
|
6
|
-
export declare const EditableProvider: Provider<
|
|
7
|
-
element: HTMLAttributes<HTMLElement>;
|
|
8
|
-
style: CSSProperties;
|
|
9
|
-
}>>, useEditableContext: () => PublicApi<JSX.IntrinsicElements & {
|
|
10
|
-
element: HTMLAttributes<HTMLElement>;
|
|
11
|
-
style: CSSProperties;
|
|
12
|
-
}>;
|
|
5
|
+
export declare const EditableProvider: Provider<UseEditableReturn>, useEditableContext: () => UseEditableReturn;
|
package/editable/editable.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ import { type Assign } from '../types';
|
|
|
5
5
|
import { type EditableContext } from './editable-context';
|
|
6
6
|
import { type UseEditableProps } from './use-editable';
|
|
7
7
|
export type EditableProps = Assign<Omit<ComponentPropsWithoutRef<typeof ark.div>, 'children'> & {
|
|
8
|
-
children
|
|
8
|
+
children?: ReactNode | ((pages: EditableContext) => ReactNode);
|
|
9
9
|
}, UseEditableProps>;
|
|
10
10
|
export declare const Editable: ForwardRefExoticComponent<Omit<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
12
12
|
} & {
|
|
13
13
|
asChild?: boolean | undefined;
|
|
14
14
|
}, "ref">, "children"> & {
|
|
15
|
-
children
|
|
16
|
-
}, "name" | "value" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "
|
|
15
|
+
children?: ReactNode | ((pages: EditableContext) => ReactNode);
|
|
16
|
+
}, "name" | "value" | "getRootNode" | "form" | "id" | "ids" | "disabled" | "defaultValue" | "dir" | "placeholder" | "onChange" | "onSubmit" | "maxLength" | "readOnly" | "onCancel" | "invalid" | "translations" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "finalFocusEl" | "autoResize" | "activationMode" | "submitMode" | "startWithEditView" | "selectOnFocus" | "onEdit"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
17
17
|
defaultValue?: string | undefined;
|
|
18
18
|
} & RefAttributes<HTMLDivElement>>;
|