UNPKG

@ark-ui/solid

Version:

A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.

144 lines (122 loc) 12.8 kB
import { NodeState, NodeProps, CheckedChangeDetails, ExpandedChangeDetails, FocusChangeDetails, LoadChildrenCompleteDetails, LoadChildrenDetails, LoadChildrenErrorDetails, RenameCompleteDetails, RenameStartDetails, SelectionChangeDetails } from '@zag-js/tree-view'; export { CheckedChangeDetails as TreeViewCheckedChangeDetails, ExpandedChangeDetails as TreeViewExpandedChangeDetails, FocusChangeDetails as TreeViewFocusChangeDetails, LoadChildrenCompleteDetails as TreeViewLoadChildrenCompleteDetails, LoadChildrenDetails as TreeViewLoadChildrenDetails, LoadChildrenErrorDetails as TreeViewLoadChildrenErrorDetails, NodeProps as TreeViewNodeProps, NodeState as TreeViewNodeState, RenameCompleteDetails as TreeViewRenameCompleteDetails, RenameStartDetails as TreeViewRenameStartDetails, SelectionChangeDetails as TreeViewSelectionChangeDetails, anatomy as treeViewAnatomy } from '@zag-js/tree-view'; import { TreeNode } from '@zag-js/collection'; export { TreeCollection, TreeNode } from '@zag-js/collection'; export { c as createFileTreeCollection, a as createTreeCollection } from '../../tree-collection-BGrnj3vg.js'; import * as solid_js from 'solid-js'; import { JSX, Accessor } from 'solid-js'; import { A as Assign } from '../../types-Sr_80hg9.js'; import { HTMLProps, PolymorphicProps } from '../factory.js'; import { l as UseTreeViewReturn, T as TreeViewRoot, a as TreeViewRootBaseProps, b as TreeViewRootComponent, c as TreeViewRootComponentProps, d as TreeViewRootProps, e as TreeViewRootProvider, f as TreeViewRootProviderBaseProps, g as TreeViewRootProviderComponent, h as TreeViewRootProviderProps, i as TreeViewTree, j as TreeViewTreeBaseProps, k as TreeViewTreeProps } from '../../tree-view-tree-DTB5aCol.js'; export { U as UseTreeViewProps, u as useTreeView } from '../../tree-view-tree-DTB5aCol.js'; import '../../render-strategy-B5MqQP3X.js'; import '@zag-js/solid'; interface TreeViewBranchBaseProps extends PolymorphicProps<'div'> { } interface TreeViewBranchProps extends Assign<HTMLProps<'div'>, TreeViewBranchBaseProps> { } declare const TreeViewBranch: (props: TreeViewBranchProps) => solid_js.JSX.Element; interface TreeViewBranchContentBaseProps extends PolymorphicProps<'div'> { } interface TreeViewBranchContentProps extends HTMLProps<'div'>, TreeViewBranchContentBaseProps { } declare const TreeViewBranchContent: (props: TreeViewBranchContentProps) => solid_js.JSX.Element; interface TreeViewBranchControlBaseProps extends PolymorphicProps<'div'> { } interface TreeViewBranchControlProps extends HTMLProps<'div'>, TreeViewBranchControlBaseProps { } declare const TreeViewBranchControl: (props: TreeViewBranchControlProps) => solid_js.JSX.Element; interface TreeViewBranchIndentGuideBaseProps extends PolymorphicProps<'div'> { } interface TreeViewBranchIndentGuideProps extends HTMLProps<'div'>, TreeViewBranchIndentGuideBaseProps { } declare const TreeViewBranchIndentGuide: (props: TreeViewBranchIndentGuideProps) => solid_js.JSX.Element; interface TreeViewBranchIndicatorBaseProps extends PolymorphicProps<'div'> { } interface TreeViewBranchIndicatorProps extends HTMLProps<'div'>, TreeViewBranchIndicatorBaseProps { } declare const TreeViewBranchIndicator: (props: TreeViewBranchIndicatorProps) => solid_js.JSX.Element; interface TreeViewBranchTextBaseProps extends PolymorphicProps<'span'> { } interface TreeViewBranchTextProps extends HTMLProps<'span'>, TreeViewBranchTextBaseProps { } declare const TreeViewBranchText: (props: TreeViewBranchTextProps) => solid_js.JSX.Element; interface TreeViewBranchTriggerBaseProps extends PolymorphicProps<'div'> { } interface TreeViewBranchTriggerProps extends HTMLProps<'div'>, TreeViewBranchTriggerBaseProps { } declare const TreeViewBranchTrigger: (props: TreeViewBranchTriggerProps) => solid_js.JSX.Element; interface UseTreeViewContext<T extends TreeNode> extends UseTreeViewReturn<T> { } declare const useTreeViewContext: () => UseTreeViewContext<any>; interface TreeViewContextProps<T extends TreeNode> { children: (context: UseTreeViewContext<T>) => JSX.Element; } declare const TreeViewContext: <T extends TreeNode>(props: TreeViewContextProps<T>) => JSX.Element; interface TreeViewItemBaseProps extends PolymorphicProps<'div'> { } interface TreeViewItemProps extends Assign<HTMLProps<'div'>, TreeViewItemBaseProps> { } declare const TreeViewItem: (props: TreeViewItemProps) => solid_js.JSX.Element; interface TreeViewItemIndicatorBaseProps extends PolymorphicProps<'div'> { } interface TreeViewItemIndicatorProps extends HTMLProps<'div'>, TreeViewItemIndicatorBaseProps { } declare const TreeViewItemIndicator: (props: TreeViewItemIndicatorProps) => solid_js.JSX.Element; interface TreeViewItemTextBaseProps extends PolymorphicProps<'span'> { } interface TreeViewItemTextProps extends HTMLProps<'span'>, TreeViewItemTextBaseProps { } declare const TreeViewItemText: (props: TreeViewItemTextProps) => solid_js.JSX.Element; interface TreeViewLabelBaseProps extends PolymorphicProps<'h3'> { } interface TreeViewLabelProps extends HTMLProps<'h3'>, TreeViewLabelBaseProps { } declare const TreeViewLabel: (props: TreeViewLabelProps) => solid_js.JSX.Element; interface TreeViewNodeCheckboxBaseProps extends PolymorphicProps<'span'> { } interface TreeViewNodeCheckboxProps extends HTMLProps<'span'>, TreeViewNodeCheckboxBaseProps { } declare const TreeViewNodeCheckbox: (props: TreeViewNodeCheckboxProps) => solid_js.JSX.Element; interface TreeViewNodeCheckboxIndicatorBaseProps { children?: JSX.Element; indeterminate?: JSX.Element; fallback?: JSX.Element; } interface TreeViewNodeCheckboxIndicatorProps extends TreeViewNodeCheckboxIndicatorBaseProps { } declare const TreeViewNodeCheckboxIndicator: (props: TreeViewNodeCheckboxIndicatorProps) => JSX.Element; interface TreeViewNodeRenameInputBaseProps extends PolymorphicProps<'input'> { } interface TreeViewNodeRenameInputProps extends Assign<HTMLProps<'input'>, TreeViewNodeRenameInputBaseProps> { } declare const TreeViewNodeRenameInput: (props: TreeViewNodeRenameInputProps) => solid_js.JSX.Element; interface UseTreeViewNodeContext extends Accessor<NodeState> { } declare const useTreeViewNodeContext: () => UseTreeViewNodeContext; interface TreeViewNodeContextProps { children: (context: UseTreeViewNodeContext) => JSX.Element; } declare const TreeViewNodeContext: (props: TreeViewNodeContextProps) => JSX.Element; interface TreeViewNodeProviderBaseProps<T> extends NodeProps { node: T; } interface TreeViewNodeProviderProps<T> extends TreeViewNodeProviderBaseProps<T> { children?: JSX.Element; } declare function TreeViewNodeProvider<T>(props: TreeViewNodeProviderProps<T>): JSX.Element; declare const treeView_CheckedChangeDetails: typeof CheckedChangeDetails; declare const treeView_ExpandedChangeDetails: typeof ExpandedChangeDetails; declare const treeView_FocusChangeDetails: typeof FocusChangeDetails; declare const treeView_LoadChildrenCompleteDetails: typeof LoadChildrenCompleteDetails; declare const treeView_LoadChildrenDetails: typeof LoadChildrenDetails; declare const treeView_LoadChildrenErrorDetails: typeof LoadChildrenErrorDetails; declare const treeView_NodeProps: typeof NodeProps; declare const treeView_NodeState: typeof NodeState; declare const treeView_RenameCompleteDetails: typeof RenameCompleteDetails; declare const treeView_RenameStartDetails: typeof RenameStartDetails; declare const treeView_SelectionChangeDetails: typeof SelectionChangeDetails; declare namespace treeView { export { TreeViewBranch as Branch, type TreeViewBranchBaseProps as BranchBaseProps, TreeViewBranchContent as BranchContent, type TreeViewBranchContentBaseProps as BranchContentBaseProps, type TreeViewBranchContentProps as BranchContentProps, TreeViewBranchControl as BranchControl, type TreeViewBranchControlBaseProps as BranchControlBaseProps, type TreeViewBranchControlProps as BranchControlProps, TreeViewBranchIndentGuide as BranchIndentGuide, type TreeViewBranchIndentGuideBaseProps as BranchIndentGuideBaseProps, type TreeViewBranchIndentGuideProps as BranchIndentGuideProps, TreeViewBranchIndicator as BranchIndicator, type TreeViewBranchIndicatorBaseProps as BranchIndicatorBaseProps, type TreeViewBranchIndicatorProps as BranchIndicatorProps, type TreeViewBranchProps as BranchProps, TreeViewBranchText as BranchText, type TreeViewBranchTextBaseProps as BranchTextBaseProps, type TreeViewBranchTextProps as BranchTextProps, TreeViewBranchTrigger as BranchTrigger, type TreeViewBranchTriggerBaseProps as BranchTriggerBaseProps, type TreeViewBranchTriggerProps as BranchTriggerProps, treeView_CheckedChangeDetails as CheckedChangeDetails, TreeViewContext as Context, type TreeViewContextProps as ContextProps, treeView_ExpandedChangeDetails as ExpandedChangeDetails, treeView_FocusChangeDetails as FocusChangeDetails, TreeViewItem as Item, type TreeViewItemBaseProps as ItemBaseProps, TreeViewItemIndicator as ItemIndicator, type TreeViewItemIndicatorBaseProps as ItemIndicatorBaseProps, type TreeViewItemIndicatorProps as ItemIndicatorProps, type TreeViewItemProps as ItemProps, TreeViewItemText as ItemText, type TreeViewItemTextBaseProps as ItemTextBaseProps, type TreeViewItemTextProps as ItemTextProps, TreeViewLabel as Label, type TreeViewLabelBaseProps as LabelBaseProps, type TreeViewLabelProps as LabelProps, treeView_LoadChildrenCompleteDetails as LoadChildrenCompleteDetails, treeView_LoadChildrenDetails as LoadChildrenDetails, treeView_LoadChildrenErrorDetails as LoadChildrenErrorDetails, TreeViewNodeCheckbox as NodeCheckbox, type TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, TreeViewNodeCheckboxIndicator as NodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, type TreeViewNodeCheckboxProps as NodeCheckboxProps, TreeViewNodeContext as NodeContext, type TreeViewNodeContextProps as NodeContextProps, treeView_NodeProps as NodeProps, TreeViewNodeProvider as NodeProvider, type TreeViewNodeProviderBaseProps as NodeProviderBaseProps, type TreeViewNodeProviderProps as NodeProviderProps, TreeViewNodeRenameInput as NodeRenameInput, type TreeViewNodeRenameInputBaseProps as NodeRenameInputBaseProps, type TreeViewNodeRenameInputProps as NodeRenameInputProps, treeView_NodeState as NodeState, treeView_RenameCompleteDetails as RenameCompleteDetails, treeView_RenameStartDetails as RenameStartDetails, TreeViewRoot as Root, TreeViewRootBaseProps as RootBaseProps, TreeViewRootComponent as RootComponent, TreeViewRootComponentProps as RootComponentProps, TreeViewRootProps as RootProps, TreeViewRootProvider as RootProvider, TreeViewRootProviderBaseProps as RootProviderBaseProps, TreeViewRootProviderComponent as RootProviderComponent, TreeViewRootProviderProps as RootProviderProps, treeView_SelectionChangeDetails as SelectionChangeDetails, TreeViewTree as Tree, TreeViewTreeBaseProps as TreeBaseProps, TreeViewTreeProps as TreeProps }; } export { treeView as TreeView, TreeViewBranch, type TreeViewBranchBaseProps, TreeViewBranchContent, type TreeViewBranchContentBaseProps, type TreeViewBranchContentProps, TreeViewBranchControl, type TreeViewBranchControlBaseProps, type TreeViewBranchControlProps, TreeViewBranchIndentGuide, type TreeViewBranchIndentGuideBaseProps, type TreeViewBranchIndentGuideProps, TreeViewBranchIndicator, type TreeViewBranchIndicatorBaseProps, type TreeViewBranchIndicatorProps, type TreeViewBranchProps, TreeViewBranchText, type TreeViewBranchTextBaseProps, type TreeViewBranchTextProps, TreeViewBranchTrigger, type TreeViewBranchTriggerBaseProps, type TreeViewBranchTriggerProps, TreeViewContext, type TreeViewContextProps, TreeViewItem, type TreeViewItemBaseProps, TreeViewItemIndicator, type TreeViewItemIndicatorBaseProps, type TreeViewItemIndicatorProps, type TreeViewItemProps, TreeViewItemText, type TreeViewItemTextBaseProps, type TreeViewItemTextProps, TreeViewLabel, type TreeViewLabelBaseProps, type TreeViewLabelProps, TreeViewNodeCheckbox, type TreeViewNodeCheckboxBaseProps, TreeViewNodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps, type TreeViewNodeCheckboxProps, TreeViewNodeContext, type TreeViewNodeContextProps, TreeViewNodeProvider, type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, TreeViewNodeRenameInput, type TreeViewNodeRenameInputBaseProps, type TreeViewNodeRenameInputProps, TreeViewRoot, TreeViewRootBaseProps, TreeViewRootComponent, TreeViewRootComponentProps, TreeViewRootProps, TreeViewRootProvider, TreeViewRootProviderBaseProps, TreeViewRootProviderComponent, TreeViewRootProviderProps, TreeViewTree, TreeViewTreeBaseProps, TreeViewTreeProps, type UseTreeViewContext, type UseTreeViewNodeContext, UseTreeViewReturn, useTreeViewContext, useTreeViewNodeContext };