@ark-ui/react 5.22.0 → 5.23.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/dist/components/combobox/combobox-root-provider.d.cts +3 -2
- package/dist/components/combobox/combobox-root-provider.d.ts +3 -2
- package/dist/components/combobox/combobox-root.d.cts +2 -2
- package/dist/components/combobox/combobox-root.d.ts +2 -2
- package/dist/components/combobox/combobox.d.cts +2 -2
- package/dist/components/combobox/combobox.d.ts +2 -2
- package/dist/components/combobox/index.d.cts +2 -2
- package/dist/components/combobox/index.d.ts +2 -2
- package/dist/components/field/use-field.cjs +2 -1
- package/dist/components/field/use-field.js +2 -1
- package/dist/components/listbox/index.d.cts +2 -2
- package/dist/components/listbox/index.d.ts +2 -2
- package/dist/components/listbox/listbox-root-provider.d.cts +3 -2
- package/dist/components/listbox/listbox-root-provider.d.ts +3 -2
- package/dist/components/listbox/listbox-root.d.cts +2 -2
- package/dist/components/listbox/listbox-root.d.ts +2 -2
- package/dist/components/listbox/listbox.d.cts +2 -2
- package/dist/components/listbox/listbox.d.ts +2 -2
- package/dist/components/menu/menu-trigger-item.cjs +2 -1
- package/dist/components/menu/menu-trigger-item.js +2 -1
- package/dist/components/select/index.d.cts +2 -2
- package/dist/components/select/index.d.ts +2 -2
- package/dist/components/select/select-root-provider.d.cts +3 -2
- package/dist/components/select/select-root-provider.d.ts +3 -2
- package/dist/components/select/select-root.d.cts +2 -2
- package/dist/components/select/select-root.d.ts +2 -2
- package/dist/components/select/select.d.cts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/tree-view/index.d.cts +2 -2
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/tree-view-root-provider.d.cts +3 -2
- package/dist/components/tree-view/tree-view-root-provider.d.ts +3 -2
- package/dist/components/tree-view/tree-view-root.d.cts +3 -2
- package/dist/components/tree-view/tree-view-root.d.ts +3 -2
- package/dist/components/tree-view/tree-view.d.cts +2 -2
- package/dist/components/tree-view/tree-view.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX, RefAttributes } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UsePresenceProps } from '../presence';
|
|
@@ -10,6 +11,6 @@ export interface ComboboxRootProviderBaseProps<T extends CollectionItem> extends
|
|
|
10
11
|
}
|
|
11
12
|
export interface ComboboxRootProviderProps<T extends CollectionItem> extends HTMLProps<'div'>, ComboboxRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const ComboboxRootProvider:
|
|
14
|
+
export type ComboboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProviderProps<T>, P> & RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const ComboboxRootProvider: ComboboxRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX, RefAttributes } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UsePresenceProps } from '../presence';
|
|
@@ -10,6 +11,6 @@ export interface ComboboxRootProviderBaseProps<T extends CollectionItem> extends
|
|
|
10
11
|
}
|
|
11
12
|
export interface ComboboxRootProviderProps<T extends CollectionItem> extends HTMLProps<'div'>, ComboboxRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const ComboboxRootProvider:
|
|
14
|
+
export type ComboboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProviderProps<T>, P> & RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const ComboboxRootProvider: ComboboxRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -8,5 +8,5 @@ export interface ComboboxRootBaseProps<T extends CollectionItem> extends UseComb
|
|
|
8
8
|
}
|
|
9
9
|
export interface ComboboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ComboboxRootBaseProps<T>> {
|
|
10
10
|
}
|
|
11
|
-
export type
|
|
12
|
-
export declare const ComboboxRoot:
|
|
11
|
+
export type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProps<T>, P> & RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const ComboboxRoot: ComboboxRootComponent;
|
|
@@ -8,5 +8,5 @@ export interface ComboboxRootBaseProps<T extends CollectionItem> extends UseComb
|
|
|
8
8
|
}
|
|
9
9
|
export interface ComboboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ComboboxRootBaseProps<T>> {
|
|
10
10
|
}
|
|
11
|
-
export type
|
|
12
|
-
export declare const ComboboxRoot:
|
|
11
|
+
export type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProps<T>, P> & RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const ComboboxRoot: ComboboxRootComponent;
|
|
@@ -15,6 +15,6 @@ export { ComboboxItemText as ItemText, type ComboboxItemTextBaseProps as ItemTex
|
|
|
15
15
|
export { ComboboxLabel as Label, type ComboboxLabelBaseProps as LabelBaseProps, type ComboboxLabelProps as LabelProps, } from './combobox-label';
|
|
16
16
|
export { ComboboxList as List, type ComboboxListBaseProps as ListBaseProps, type ComboboxListProps as ListProps, } from './combobox-list';
|
|
17
17
|
export { ComboboxPositioner as Positioner, type ComboboxPositionerBaseProps as PositionerBaseProps, type ComboboxPositionerProps as PositionerProps, } from './combobox-positioner';
|
|
18
|
-
export { ComboboxRoot as Root, type ComboboxRootBaseProps as RootBaseProps, type ComboboxRootProps as RootProps, } from './combobox-root';
|
|
19
|
-
export { ComboboxRootProvider as RootProvider, type ComboboxRootProviderBaseProps as RootProviderBaseProps, type ComboboxRootProviderProps as RootProviderProps, } from './combobox-root-provider';
|
|
18
|
+
export { ComboboxRoot as Root, type ComboboxRootBaseProps as RootBaseProps, type ComboboxRootProps as RootProps, type ComboboxRootComponent as RootComponent, } from './combobox-root';
|
|
19
|
+
export { ComboboxRootProvider as RootProvider, type ComboboxRootProviderBaseProps as RootProviderBaseProps, type ComboboxRootProviderProps as RootProviderProps, type ComboboxRootProviderComponent as RootProviderComponent, } from './combobox-root-provider';
|
|
20
20
|
export { ComboboxTrigger as Trigger, type ComboboxTriggerBaseProps as TriggerBaseProps, type ComboboxTriggerProps as TriggerProps, } from './combobox-trigger';
|
|
@@ -15,6 +15,6 @@ export { ComboboxItemText as ItemText, type ComboboxItemTextBaseProps as ItemTex
|
|
|
15
15
|
export { ComboboxLabel as Label, type ComboboxLabelBaseProps as LabelBaseProps, type ComboboxLabelProps as LabelProps, } from './combobox-label';
|
|
16
16
|
export { ComboboxList as List, type ComboboxListBaseProps as ListBaseProps, type ComboboxListProps as ListProps, } from './combobox-list';
|
|
17
17
|
export { ComboboxPositioner as Positioner, type ComboboxPositionerBaseProps as PositionerBaseProps, type ComboboxPositionerProps as PositionerProps, } from './combobox-positioner';
|
|
18
|
-
export { ComboboxRoot as Root, type ComboboxRootBaseProps as RootBaseProps, type ComboboxRootProps as RootProps, } from './combobox-root';
|
|
19
|
-
export { ComboboxRootProvider as RootProvider, type ComboboxRootProviderBaseProps as RootProviderBaseProps, type ComboboxRootProviderProps as RootProviderProps, } from './combobox-root-provider';
|
|
18
|
+
export { ComboboxRoot as Root, type ComboboxRootBaseProps as RootBaseProps, type ComboboxRootProps as RootProps, type ComboboxRootComponent as RootComponent, } from './combobox-root';
|
|
19
|
+
export { ComboboxRootProvider as RootProvider, type ComboboxRootProviderBaseProps as RootProviderBaseProps, type ComboboxRootProviderProps as RootProviderProps, type ComboboxRootProviderComponent as RootProviderComponent, } from './combobox-root-provider';
|
|
20
20
|
export { ComboboxTrigger as Trigger, type ComboboxTriggerBaseProps as TriggerBaseProps, type ComboboxTriggerProps as TriggerProps, } from './combobox-trigger';
|
|
@@ -15,8 +15,8 @@ export { ComboboxItemText, type ComboboxItemTextBaseProps, type ComboboxItemText
|
|
|
15
15
|
export { ComboboxLabel, type ComboboxLabelBaseProps, type ComboboxLabelProps } from './combobox-label';
|
|
16
16
|
export { ComboboxList, type ComboboxListBaseProps, type ComboboxListProps } from './combobox-list';
|
|
17
17
|
export { ComboboxPositioner, type ComboboxPositionerBaseProps, type ComboboxPositionerProps, } from './combobox-positioner';
|
|
18
|
-
export { ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootProps } from './combobox-root';
|
|
19
|
-
export { ComboboxRootProvider, type ComboboxRootProviderBaseProps, type ComboboxRootProviderProps, } from './combobox-root-provider';
|
|
18
|
+
export { ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootProps, type ComboboxRootComponent, } from './combobox-root';
|
|
19
|
+
export { ComboboxRootProvider, type ComboboxRootProviderBaseProps, type ComboboxRootProviderProps, type ComboboxRootProviderComponent, } from './combobox-root-provider';
|
|
20
20
|
export { ComboboxTrigger, type ComboboxTriggerBaseProps, type ComboboxTriggerProps } from './combobox-trigger';
|
|
21
21
|
export { comboboxAnatomy } from './combobox.anatomy';
|
|
22
22
|
export { useCombobox, type UseComboboxProps, type UseComboboxReturn } from './use-combobox';
|
|
@@ -15,8 +15,8 @@ export { ComboboxItemText, type ComboboxItemTextBaseProps, type ComboboxItemText
|
|
|
15
15
|
export { ComboboxLabel, type ComboboxLabelBaseProps, type ComboboxLabelProps } from './combobox-label';
|
|
16
16
|
export { ComboboxList, type ComboboxListBaseProps, type ComboboxListProps } from './combobox-list';
|
|
17
17
|
export { ComboboxPositioner, type ComboboxPositionerBaseProps, type ComboboxPositionerProps, } from './combobox-positioner';
|
|
18
|
-
export { ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootProps } from './combobox-root';
|
|
19
|
-
export { ComboboxRootProvider, type ComboboxRootProviderBaseProps, type ComboboxRootProviderProps, } from './combobox-root-provider';
|
|
18
|
+
export { ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootProps, type ComboboxRootComponent, } from './combobox-root';
|
|
19
|
+
export { ComboboxRootProvider, type ComboboxRootProviderBaseProps, type ComboboxRootProviderProps, type ComboboxRootProviderComponent, } from './combobox-root-provider';
|
|
20
20
|
export { ComboboxTrigger, type ComboboxTriggerBaseProps, type ComboboxTriggerProps } from './combobox-trigger';
|
|
21
21
|
export { comboboxAnatomy } from './combobox.anatomy';
|
|
22
22
|
export { useCombobox, type UseComboboxProps, type UseComboboxReturn } from './use-combobox';
|
|
@@ -62,9 +62,10 @@ const useField = (props = {}) => {
|
|
|
62
62
|
"data-disabled": domQuery.dataAttr(disabled),
|
|
63
63
|
"data-invalid": domQuery.dataAttr(invalid),
|
|
64
64
|
"data-readonly": domQuery.dataAttr(readOnly),
|
|
65
|
+
"data-required": domQuery.dataAttr(required),
|
|
65
66
|
htmlFor: id
|
|
66
67
|
}),
|
|
67
|
-
[disabled, invalid, readOnly, id, labelId]
|
|
68
|
+
[disabled, invalid, readOnly, required, id, labelId]
|
|
68
69
|
);
|
|
69
70
|
const getControlProps = react.useMemo(
|
|
70
71
|
() => () => ({
|
|
@@ -58,9 +58,10 @@ const useField = (props = {}) => {
|
|
|
58
58
|
"data-disabled": dataAttr(disabled),
|
|
59
59
|
"data-invalid": dataAttr(invalid),
|
|
60
60
|
"data-readonly": dataAttr(readOnly),
|
|
61
|
+
"data-required": dataAttr(required),
|
|
61
62
|
htmlFor: id
|
|
62
63
|
}),
|
|
63
|
-
[disabled, invalid, readOnly, id, labelId]
|
|
64
|
+
[disabled, invalid, readOnly, required, id, labelId]
|
|
64
65
|
);
|
|
65
66
|
const getControlProps = useMemo(
|
|
66
67
|
() => () => ({
|
|
@@ -11,8 +11,8 @@ export { ListboxItemGroupLabel, type ListboxItemGroupLabelBaseProps, type Listbo
|
|
|
11
11
|
export { ListboxItemIndicator, type ListboxItemIndicatorBaseProps, type ListboxItemIndicatorProps, } from './listbox-item-indicator';
|
|
12
12
|
export { ListboxItemText, type ListboxItemTextBaseProps, type ListboxItemTextProps } from './listbox-item-text';
|
|
13
13
|
export { ListboxLabel, type ListboxLabelBaseProps, type ListboxLabelProps } from './listbox-label';
|
|
14
|
-
export { ListboxRoot, type ListboxRootBaseProps, type ListboxRootProps } from './listbox-root';
|
|
15
|
-
export { ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderProps, } from './listbox-root-provider';
|
|
14
|
+
export { ListboxRoot, type ListboxRootBaseProps, type ListboxRootProps, type ListboxRootComponent, } from './listbox-root';
|
|
15
|
+
export { ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderProps, type ListboxRootProviderComponent, } from './listbox-root-provider';
|
|
16
16
|
export { ListboxValueText, type ListboxValueTextBaseProps, type ListboxValueTextProps } from './listbox-value-text';
|
|
17
17
|
export { listboxAnatomy } from './listbox.anatomy';
|
|
18
18
|
export { useListbox, type UseListboxProps, type UseListboxReturn } from './use-listbox';
|
|
@@ -11,8 +11,8 @@ export { ListboxItemGroupLabel, type ListboxItemGroupLabelBaseProps, type Listbo
|
|
|
11
11
|
export { ListboxItemIndicator, type ListboxItemIndicatorBaseProps, type ListboxItemIndicatorProps, } from './listbox-item-indicator';
|
|
12
12
|
export { ListboxItemText, type ListboxItemTextBaseProps, type ListboxItemTextProps } from './listbox-item-text';
|
|
13
13
|
export { ListboxLabel, type ListboxLabelBaseProps, type ListboxLabelProps } from './listbox-label';
|
|
14
|
-
export { ListboxRoot, type ListboxRootBaseProps, type ListboxRootProps } from './listbox-root';
|
|
15
|
-
export { ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderProps, } from './listbox-root-provider';
|
|
14
|
+
export { ListboxRoot, type ListboxRootBaseProps, type ListboxRootProps, type ListboxRootComponent, } from './listbox-root';
|
|
15
|
+
export { ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderProps, type ListboxRootProviderComponent, } from './listbox-root-provider';
|
|
16
16
|
export { ListboxValueText, type ListboxValueTextBaseProps, type ListboxValueTextProps } from './listbox-value-text';
|
|
17
17
|
export { listboxAnatomy } from './listbox.anatomy';
|
|
18
18
|
export { useListbox, type UseListboxProps, type UseListboxReturn } from './use-listbox';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UseListboxReturn } from './use-listbox';
|
|
@@ -9,6 +10,6 @@ export interface ListboxRootProviderBaseProps<T extends CollectionItem> extends
|
|
|
9
10
|
}
|
|
10
11
|
export interface ListboxRootProviderProps<T extends CollectionItem> extends HTMLProps<'div'>, ListboxRootProviderBaseProps<T> {
|
|
11
12
|
}
|
|
12
|
-
export type
|
|
13
|
-
export declare const ListboxRootProvider:
|
|
13
|
+
export type ListboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
14
|
+
export declare const ListboxRootProvider: ListboxRootProviderComponent;
|
|
14
15
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UseListboxReturn } from './use-listbox';
|
|
@@ -9,6 +10,6 @@ export interface ListboxRootProviderBaseProps<T extends CollectionItem> extends
|
|
|
9
10
|
}
|
|
10
11
|
export interface ListboxRootProviderProps<T extends CollectionItem> extends HTMLProps<'div'>, ListboxRootProviderBaseProps<T> {
|
|
11
12
|
}
|
|
12
|
-
export type
|
|
13
|
-
export declare const ListboxRootProvider:
|
|
13
|
+
export type ListboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
14
|
+
export declare const ListboxRootProvider: ListboxRootProviderComponent;
|
|
14
15
|
export {};
|
|
@@ -7,5 +7,5 @@ export interface ListboxRootBaseProps<T extends CollectionItem> extends UseListb
|
|
|
7
7
|
}
|
|
8
8
|
export interface ListboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ListboxRootBaseProps<T>> {
|
|
9
9
|
}
|
|
10
|
-
export type
|
|
11
|
-
export declare const ListboxRoot:
|
|
10
|
+
export type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
11
|
+
export declare const ListboxRoot: ListboxRootComponent;
|
|
@@ -7,5 +7,5 @@ export interface ListboxRootBaseProps<T extends CollectionItem> extends UseListb
|
|
|
7
7
|
}
|
|
8
8
|
export interface ListboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ListboxRootBaseProps<T>> {
|
|
9
9
|
}
|
|
10
|
-
export type
|
|
11
|
-
export declare const ListboxRoot:
|
|
10
|
+
export type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
11
|
+
export declare const ListboxRoot: ListboxRootComponent;
|
|
@@ -10,6 +10,6 @@ export { ListboxItemGroupLabel as ItemGroupLabel, type ListboxItemGroupLabelBase
|
|
|
10
10
|
export { ListboxItemIndicator as ItemIndicator, type ListboxItemIndicatorBaseProps as ItemIndicatorBaseProps, type ListboxItemIndicatorProps as ItemIndicatorProps, } from './listbox-item-indicator';
|
|
11
11
|
export { ListboxItemText as ItemText, type ListboxItemTextBaseProps as ItemTextBaseProps, type ListboxItemTextProps as ItemTextProps, } from './listbox-item-text';
|
|
12
12
|
export { ListboxLabel as Label, type ListboxLabelBaseProps as LabelBaseProps, type ListboxLabelProps as LabelProps, } from './listbox-label';
|
|
13
|
-
export { ListboxRoot as Root, type ListboxRootBaseProps as RootBaseProps, type ListboxRootProps as RootProps, } from './listbox-root';
|
|
14
|
-
export { ListboxRootProvider as RootProvider, type ListboxRootProviderBaseProps as RootProviderBaseProps, type ListboxRootProviderProps as RootProviderProps, } from './listbox-root-provider';
|
|
13
|
+
export { ListboxRoot as Root, type ListboxRootBaseProps as RootBaseProps, type ListboxRootProps as RootProps, type ListboxRootComponent as RootComponent, } from './listbox-root';
|
|
14
|
+
export { ListboxRootProvider as RootProvider, type ListboxRootProviderBaseProps as RootProviderBaseProps, type ListboxRootProviderProps as RootProviderProps, type ListboxRootProviderComponent as RootProviderComponent, } from './listbox-root-provider';
|
|
15
15
|
export { ListboxValueText as ValueText, type ListboxValueTextBaseProps as ValueTextBaseProps, type ListboxValueTextProps as ValueTextProps, } from './listbox-value-text';
|
|
@@ -10,6 +10,6 @@ export { ListboxItemGroupLabel as ItemGroupLabel, type ListboxItemGroupLabelBase
|
|
|
10
10
|
export { ListboxItemIndicator as ItemIndicator, type ListboxItemIndicatorBaseProps as ItemIndicatorBaseProps, type ListboxItemIndicatorProps as ItemIndicatorProps, } from './listbox-item-indicator';
|
|
11
11
|
export { ListboxItemText as ItemText, type ListboxItemTextBaseProps as ItemTextBaseProps, type ListboxItemTextProps as ItemTextProps, } from './listbox-item-text';
|
|
12
12
|
export { ListboxLabel as Label, type ListboxLabelBaseProps as LabelBaseProps, type ListboxLabelProps as LabelProps, } from './listbox-label';
|
|
13
|
-
export { ListboxRoot as Root, type ListboxRootBaseProps as RootBaseProps, type ListboxRootProps as RootProps, } from './listbox-root';
|
|
14
|
-
export { ListboxRootProvider as RootProvider, type ListboxRootProviderBaseProps as RootProviderBaseProps, type ListboxRootProviderProps as RootProviderProps, } from './listbox-root-provider';
|
|
13
|
+
export { ListboxRoot as Root, type ListboxRootBaseProps as RootBaseProps, type ListboxRootProps as RootProps, type ListboxRootComponent as RootComponent, } from './listbox-root';
|
|
14
|
+
export { ListboxRootProvider as RootProvider, type ListboxRootProviderBaseProps as RootProviderBaseProps, type ListboxRootProviderProps as RootProviderProps, type ListboxRootProviderComponent as RootProviderComponent, } from './listbox-root-provider';
|
|
15
15
|
export { ListboxValueText as ValueText, type ListboxValueTextBaseProps as ValueTextBaseProps, type ListboxValueTextProps as ValueTextProps, } from './listbox-value-text';
|
|
@@ -8,11 +8,12 @@ const react$1 = require('@zag-js/react');
|
|
|
8
8
|
const react = require('react');
|
|
9
9
|
const factory = require('../factory.cjs');
|
|
10
10
|
const useMenuTriggerItemContext = require('./use-menu-trigger-item-context.cjs');
|
|
11
|
+
const useMenuOptionItemPropsContext = require('./use-menu-option-item-props-context.cjs');
|
|
11
12
|
|
|
12
13
|
const MenuTriggerItem = react.forwardRef((props, ref) => {
|
|
13
14
|
const getTriggerItemProps = useMenuTriggerItemContext.useMenuTriggerItemContext();
|
|
14
15
|
const mergedProps = react$1.mergeProps(getTriggerItemProps?.() ?? {}, props);
|
|
15
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref });
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(useMenuOptionItemPropsContext.MenuItemPropsProvider, { value: { value: mergedProps["data-value"] }, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref }) });
|
|
16
17
|
});
|
|
17
18
|
MenuTriggerItem.displayName = "MenuTriggerItem";
|
|
18
19
|
|
|
@@ -4,11 +4,12 @@ import { mergeProps } from '@zag-js/react';
|
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import { ark } from '../factory.js';
|
|
6
6
|
import { useMenuTriggerItemContext } from './use-menu-trigger-item-context.js';
|
|
7
|
+
import { MenuItemPropsProvider } from './use-menu-option-item-props-context.js';
|
|
7
8
|
|
|
8
9
|
const MenuTriggerItem = forwardRef((props, ref) => {
|
|
9
10
|
const getTriggerItemProps = useMenuTriggerItemContext();
|
|
10
11
|
const mergedProps = mergeProps(getTriggerItemProps?.() ?? {}, props);
|
|
11
|
-
return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });
|
|
12
|
+
return /* @__PURE__ */ jsx(MenuItemPropsProvider, { value: { value: mergedProps["data-value"] }, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });
|
|
12
13
|
});
|
|
13
14
|
MenuTriggerItem.displayName = "MenuTriggerItem";
|
|
14
15
|
|
|
@@ -15,8 +15,8 @@ export { SelectItemText, type SelectItemTextBaseProps, type SelectItemTextProps
|
|
|
15
15
|
export { SelectLabel, type SelectLabelBaseProps, type SelectLabelProps } from './select-label';
|
|
16
16
|
export { SelectList, type SelectListBaseProps, type SelectListProps } from './select-list';
|
|
17
17
|
export { SelectPositioner, type SelectPositionerBaseProps, type SelectPositionerProps } from './select-positioner';
|
|
18
|
-
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps } from './select-root';
|
|
19
|
-
export { SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, } from './select-root-provider';
|
|
18
|
+
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps, type SelectRootComponent } from './select-root';
|
|
19
|
+
export { SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, type SelectRootProviderComponent, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger, type SelectTriggerBaseProps, type SelectTriggerProps } from './select-trigger';
|
|
21
21
|
export { SelectValueText, type SelectValueTextBaseProps, type SelectValueTextProps } from './select-value-text';
|
|
22
22
|
export { selectAnatomy } from './select.anatomy';
|
|
@@ -15,8 +15,8 @@ export { SelectItemText, type SelectItemTextBaseProps, type SelectItemTextProps
|
|
|
15
15
|
export { SelectLabel, type SelectLabelBaseProps, type SelectLabelProps } from './select-label';
|
|
16
16
|
export { SelectList, type SelectListBaseProps, type SelectListProps } from './select-list';
|
|
17
17
|
export { SelectPositioner, type SelectPositionerBaseProps, type SelectPositionerProps } from './select-positioner';
|
|
18
|
-
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps } from './select-root';
|
|
19
|
-
export { SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, } from './select-root-provider';
|
|
18
|
+
export { SelectRoot, type SelectRootBaseProps, type SelectRootProps, type SelectRootComponent } from './select-root';
|
|
19
|
+
export { SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderProps, type SelectRootProviderComponent, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger, type SelectTriggerBaseProps, type SelectTriggerProps } from './select-trigger';
|
|
21
21
|
export { SelectValueText, type SelectValueTextBaseProps, type SelectValueTextProps } from './select-value-text';
|
|
22
22
|
export { selectAnatomy } from './select.anatomy';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UsePresenceProps } from '../presence';
|
|
@@ -10,6 +11,6 @@ export interface SelectRootProviderBaseProps<T extends CollectionItem> extends R
|
|
|
10
11
|
}
|
|
11
12
|
export interface SelectRootProviderProps<T extends CollectionItem> extends HTMLProps<'div'>, SelectRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const SelectRootProvider:
|
|
14
|
+
export type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const SelectRootProvider: SelectRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UsePresenceProps } from '../presence';
|
|
@@ -10,6 +11,6 @@ export interface SelectRootProviderBaseProps<T extends CollectionItem> extends R
|
|
|
10
11
|
}
|
|
11
12
|
export interface SelectRootProviderProps<T extends CollectionItem> extends HTMLProps<'div'>, SelectRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const SelectRootProvider:
|
|
14
|
+
export type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const SelectRootProvider: SelectRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -8,5 +8,5 @@ export interface SelectRootBaseProps<T extends CollectionItem> extends UseSelect
|
|
|
8
8
|
}
|
|
9
9
|
export interface SelectRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, SelectRootBaseProps<T>> {
|
|
10
10
|
}
|
|
11
|
-
export type
|
|
12
|
-
export declare const SelectRoot:
|
|
11
|
+
export type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const SelectRoot: SelectRootComponent;
|
|
@@ -8,5 +8,5 @@ export interface SelectRootBaseProps<T extends CollectionItem> extends UseSelect
|
|
|
8
8
|
}
|
|
9
9
|
export interface SelectRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, SelectRootBaseProps<T>> {
|
|
10
10
|
}
|
|
11
|
-
export type
|
|
12
|
-
export declare const SelectRoot:
|
|
11
|
+
export type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const SelectRoot: SelectRootComponent;
|
|
@@ -15,7 +15,7 @@ export { SelectItemText as ItemText, type SelectItemTextBaseProps as ItemTextBas
|
|
|
15
15
|
export { SelectLabel as Label, type SelectLabelBaseProps as LabelBaseProps, type SelectLabelProps as LabelProps, } from './select-label';
|
|
16
16
|
export { SelectList as List, type SelectListBaseProps as ListBaseProps, type SelectListProps as ListProps, } from './select-list';
|
|
17
17
|
export { SelectPositioner as Positioner, type SelectPositionerBaseProps as PositionerBaseProps, type SelectPositionerProps as PositionerProps, } from './select-positioner';
|
|
18
|
-
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root';
|
|
19
|
-
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider';
|
|
18
|
+
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, type SelectRootComponent as RootComponent, } from './select-root';
|
|
19
|
+
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, type SelectRootProviderComponent as RootProviderComponent, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger as Trigger, type SelectTriggerBaseProps as TriggerBaseProps, type SelectTriggerProps as TriggerProps, } from './select-trigger';
|
|
21
21
|
export { SelectValueText as ValueText, type SelectValueTextBaseProps as ValueTextBaseProps, type SelectValueTextProps as ValueTextProps, } from './select-value-text';
|
|
@@ -15,7 +15,7 @@ export { SelectItemText as ItemText, type SelectItemTextBaseProps as ItemTextBas
|
|
|
15
15
|
export { SelectLabel as Label, type SelectLabelBaseProps as LabelBaseProps, type SelectLabelProps as LabelProps, } from './select-label';
|
|
16
16
|
export { SelectList as List, type SelectListBaseProps as ListBaseProps, type SelectListProps as ListProps, } from './select-list';
|
|
17
17
|
export { SelectPositioner as Positioner, type SelectPositionerBaseProps as PositionerBaseProps, type SelectPositionerProps as PositionerProps, } from './select-positioner';
|
|
18
|
-
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root';
|
|
19
|
-
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider';
|
|
18
|
+
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, type SelectRootComponent as RootComponent, } from './select-root';
|
|
19
|
+
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, type SelectRootProviderComponent as RootProviderComponent, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger as Trigger, type SelectTriggerBaseProps as TriggerBaseProps, type SelectTriggerProps as TriggerProps, } from './select-trigger';
|
|
21
21
|
export { SelectValueText as ValueText, type SelectValueTextBaseProps as ValueTextBaseProps, type SelectValueTextProps as ValueTextProps, } from './select-value-text';
|
|
@@ -14,8 +14,8 @@ export { TreeViewItemText, type TreeViewItemTextBaseProps, type TreeViewItemText
|
|
|
14
14
|
export { TreeViewLabel, type TreeViewLabelBaseProps, type TreeViewLabelProps } from './tree-view-label';
|
|
15
15
|
export { TreeViewNodeContext, type TreeViewNodeContextProps } from './tree-view-node-context';
|
|
16
16
|
export { TreeViewNodeProvider, type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, } from './tree-view-node-provider';
|
|
17
|
-
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootProps } from './tree-view-root';
|
|
18
|
-
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
17
|
+
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootComponent, type TreeViewRootProps, } from './tree-view-root';
|
|
18
|
+
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderComponent, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
19
19
|
export { TreeViewTree, type TreeViewTreeBaseProps, type TreeViewTreeProps } from './tree-view-tree';
|
|
20
20
|
export { TreeViewNodeCheckbox, type TreeViewNodeCheckboxBaseProps, type TreeViewNodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
21
21
|
export { TreeViewNodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
|
@@ -14,8 +14,8 @@ export { TreeViewItemText, type TreeViewItemTextBaseProps, type TreeViewItemText
|
|
|
14
14
|
export { TreeViewLabel, type TreeViewLabelBaseProps, type TreeViewLabelProps } from './tree-view-label';
|
|
15
15
|
export { TreeViewNodeContext, type TreeViewNodeContextProps } from './tree-view-node-context';
|
|
16
16
|
export { TreeViewNodeProvider, type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, } from './tree-view-node-provider';
|
|
17
|
-
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootProps } from './tree-view-root';
|
|
18
|
-
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
17
|
+
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootComponent, type TreeViewRootProps, } from './tree-view-root';
|
|
18
|
+
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderComponent, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
19
19
|
export { TreeViewTree, type TreeViewTreeBaseProps, type TreeViewTreeProps } from './tree-view-tree';
|
|
20
20
|
export { TreeViewNodeCheckbox, type TreeViewNodeCheckboxBaseProps, type TreeViewNodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
21
21
|
export { TreeViewNodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -10,6 +11,6 @@ export interface TreeViewRootProviderBaseProps<T extends TreeNode> extends RootP
|
|
|
10
11
|
}
|
|
11
12
|
export interface TreeViewRootProviderProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const TreeViewRootProvider:
|
|
14
|
+
export type TreeViewRootProviderComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const TreeViewRootProvider: TreeViewRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -10,6 +11,6 @@ export interface TreeViewRootProviderBaseProps<T extends TreeNode> extends RootP
|
|
|
10
11
|
}
|
|
11
12
|
export interface TreeViewRootProviderProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const TreeViewRootProvider:
|
|
14
|
+
export type TreeViewRootProviderComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const TreeViewRootProvider: TreeViewRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -7,5 +8,5 @@ export interface TreeViewRootBaseProps<T extends TreeNode> extends UseTreeViewPr
|
|
|
7
8
|
}
|
|
8
9
|
export interface TreeViewRootProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootBaseProps<T> {
|
|
9
10
|
}
|
|
10
|
-
export type
|
|
11
|
-
export declare const TreeViewRoot:
|
|
11
|
+
export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const TreeViewRoot: TreeViewRootComponent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -7,5 +8,5 @@ export interface TreeViewRootBaseProps<T extends TreeNode> extends UseTreeViewPr
|
|
|
7
8
|
}
|
|
8
9
|
export interface TreeViewRootProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootBaseProps<T> {
|
|
9
10
|
}
|
|
10
|
-
export type
|
|
11
|
-
export declare const TreeViewRoot:
|
|
11
|
+
export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const TreeViewRoot: TreeViewRootComponent;
|
|
@@ -13,8 +13,8 @@ export { TreeViewItemText as ItemText, type TreeViewItemTextBaseProps as ItemTex
|
|
|
13
13
|
export { TreeViewLabel as Label, type TreeViewLabelBaseProps as LabelBaseProps, type TreeViewLabelProps as LabelProps, } from './tree-view-label';
|
|
14
14
|
export { TreeViewNodeContext as NodeContext, type TreeViewNodeContextProps as NodeContextProps, } from './tree-view-node-context';
|
|
15
15
|
export { TreeViewNodeProvider as NodeProvider, type TreeViewNodeProviderBaseProps as NodeProviderBaseProps, type TreeViewNodeProviderProps as NodeProviderProps, } from './tree-view-node-provider';
|
|
16
|
-
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
-
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
16
|
+
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootComponent as RootComponent, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
+
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderComponent as RootProviderComponent, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
18
18
|
export { TreeViewTree as Tree, type TreeViewTreeBaseProps as TreeBaseProps, type TreeViewTreeProps as TreeProps, } from './tree-view-tree';
|
|
19
19
|
export { TreeViewNodeCheckbox as NodeCheckbox, type TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, type TreeViewNodeCheckboxProps as NodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
20
20
|
export { TreeViewNodeCheckboxIndicator as NodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
|
@@ -13,8 +13,8 @@ export { TreeViewItemText as ItemText, type TreeViewItemTextBaseProps as ItemTex
|
|
|
13
13
|
export { TreeViewLabel as Label, type TreeViewLabelBaseProps as LabelBaseProps, type TreeViewLabelProps as LabelProps, } from './tree-view-label';
|
|
14
14
|
export { TreeViewNodeContext as NodeContext, type TreeViewNodeContextProps as NodeContextProps, } from './tree-view-node-context';
|
|
15
15
|
export { TreeViewNodeProvider as NodeProvider, type TreeViewNodeProviderBaseProps as NodeProviderBaseProps, type TreeViewNodeProviderProps as NodeProviderProps, } from './tree-view-node-provider';
|
|
16
|
-
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
-
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
16
|
+
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootComponent as RootComponent, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
+
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderComponent as RootProviderComponent, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
18
18
|
export { TreeViewTree as Tree, type TreeViewTreeBaseProps as TreeBaseProps, type TreeViewTreeProps as TreeProps, } from './tree-view-tree';
|
|
19
19
|
export { TreeViewNodeCheckbox as NodeCheckbox, type TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, type TreeViewNodeCheckboxProps as NodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
20
20
|
export { TreeViewNodeCheckboxIndicator as NodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
package/package.json
CHANGED