@choice-ui/react 1.4.1 → 1.4.2
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/button/dist/index.d.ts +1 -1
- package/dist/components/button/src/button.d.ts +1 -1
- package/dist/components/calendar/dist/index.d.ts +1 -1
- package/dist/components/calendar/src/date-input/date-input.d.ts +1 -1
- package/dist/components/calendar/src/date-range-input/date-range-input.d.ts +1 -1
- package/dist/components/calendar/src/time-input/time-input.d.ts +1 -1
- package/dist/components/calendar/src/time-range-input/time-range-input.d.ts +1 -1
- package/dist/components/combobox/dist/index.d.ts +1 -1
- package/dist/components/combobox/src/combobox.d.ts +1 -1
- package/dist/components/command/dist/index.d.ts +4 -4
- package/dist/components/command/src/components/command-input.d.ts +1 -1
- package/dist/components/command/src/components/command-item.d.ts +1 -1
- package/dist/components/command/src/components/command-list.d.ts +1 -1
- package/dist/components/command/src/components/command-tabs.d.ts +1 -1
- package/dist/components/command/src/index.d.ts +2 -2
- package/dist/components/context-input/dist/index.d.ts +1 -1
- package/dist/components/context-input/src/components/copy-button.d.ts +1 -1
- package/dist/components/context-input/src/components/insert-mentions-button.d.ts +1 -1
- package/dist/components/context-menu/dist/index.d.ts +1 -1
- package/dist/components/context-menu/src/context-menu.d.ts +1 -1
- package/dist/components/dialog/dist/index.d.ts +2 -2
- package/dist/components/dialog/src/components/dialog-header.d.ts +1 -1
- package/dist/components/dialog/src/dialog.d.ts +1 -1
- package/dist/components/dropdown/dist/index.d.ts +1 -1
- package/dist/components/dropdown/src/dropdown.d.ts +1 -1
- package/dist/components/form/dist/index.d.ts +11 -11
- package/dist/components/form/src/index.d.ts +1 -1
- package/dist/components/form/src/types.d.ts +10 -10
- package/dist/components/icon-button/dist/index.d.ts +1 -1
- package/dist/components/icon-button/src/icon-button.d.ts +1 -1
- package/dist/components/list/dist/index.d.ts +2 -2
- package/dist/components/list/src/components/list-item.d.ts +1 -1
- package/dist/components/list/src/list.d.ts +1 -1
- package/dist/components/md-input/dist/index.d.ts +2 -2
- package/dist/components/md-input/src/components/md-input-editor.d.ts +1 -1
- package/dist/components/md-input/src/components/md-input-render.d.ts +1 -1
- package/dist/components/menus/dist/index.d.ts +4 -4
- package/dist/components/menus/src/components/menu-button.d.ts +1 -1
- package/dist/components/menus/src/components/menu-input.d.ts +1 -1
- package/dist/components/menus/src/components/menu-item.d.ts +1 -1
- package/dist/components/menus/src/components/menu-search.d.ts +1 -1
- package/dist/components/menus/src/components/menu-trigger.d.ts +1 -1
- package/dist/components/modal/dist/index.d.ts +3 -3
- package/dist/components/modal/src/components/modal-input.d.ts +1 -1
- package/dist/components/modal/src/components/modal-select.d.ts +1 -1
- package/dist/components/modal/src/components/modal-textarea.d.ts +1 -1
- package/dist/components/multi-select/dist/index.d.ts +2 -2
- package/dist/components/multi-select/src/components/multi-select-trigger.d.ts +1 -1
- package/dist/components/multi-select/src/multi-select.d.ts +2 -2
- package/dist/components/numeric-input/dist/index.d.ts +2 -2
- package/dist/components/numeric-input/src/components/numeric-input-menu-trigger.d.ts +1 -1
- package/dist/components/numeric-input/src/numeric-input.d.ts +1 -1
- package/dist/components/pagination/dist/index.d.ts +1 -1
- package/dist/components/pagination/src/types.d.ts +1 -1
- package/dist/components/popover/dist/index.d.ts +1 -1
- package/dist/components/popover/src/components/popover-header.d.ts +1 -1
- package/dist/components/popover/src/popover.d.ts +1 -1
- package/dist/components/progress/dist/index.d.ts +1 -1
- package/dist/components/progress/src/progress-bar.d.ts +1 -1
- package/dist/components/rich-input/dist/index.d.ts +1 -1
- package/dist/components/rich-input/src/types/props-types.d.ts +1 -1
- package/dist/components/search-input/dist/index.d.ts +1 -1
- package/dist/components/search-input/src/search-input.d.ts +1 -1
- package/dist/components/segmented/dist/index.d.ts +1 -1
- package/dist/components/segmented/src/segmented-item.d.ts +1 -1
- package/dist/components/segmented/src/segmented.d.ts +1 -1
- package/dist/components/select/dist/index.d.ts +1 -1
- package/dist/components/select/src/select.d.ts +1 -1
- package/dist/components/text-field/dist/index.d.ts +2 -2
- package/dist/components/text-field/src/text-field.d.ts +2 -2
- package/dist/components/toggle-button/dist/index.d.ts +1 -1
- package/dist/components/toggle-button/src/toggle-button.d.ts +1 -1
- package/dist/components/tooltip/dist/index.d.ts +1 -1
- package/dist/components/tooltip/src/types.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React__default } from 'react';
|
|
2
2
|
import { Locale, Quarter as Quarter$1, Day, isSameDay, isSameMonth, isSameYear, addMonths, startOfMonth, endOfMonth, startOfWeek, endOfWeek } from 'date-fns';
|
|
3
|
-
import { TextFieldProps } from '
|
|
3
|
+
import { TextFieldProps } from '../../text-field/src';
|
|
4
4
|
import { TZDate } from '@date-fns/tz';
|
|
5
5
|
import { Locale as Locale$1 } from 'date-fns/locale';
|
|
6
6
|
import { PressMoveProps } from '../../../../../shared/src';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextFieldProps } from '
|
|
1
|
+
import { TextFieldProps } from '../../../text-field/src';
|
|
2
2
|
import { Locale } from 'date-fns';
|
|
3
3
|
import { DateDataFormat } from '../types';
|
|
4
4
|
interface DateRangeInputProps extends Omit<TextFieldProps, "value" | "onChange" | "step" | "defaultValue"> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextFieldProps } from '
|
|
1
|
+
import { TextFieldProps } from '../../../text-field/src';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { BaseTimeProps, StepProps, TimeInteractionProps } from '../types';
|
|
4
4
|
interface TimeInputProps extends Omit<TextFieldProps, "value" | "onChange" | "format" | "defaultValue" | "step">, BaseTimeProps, StepProps, TimeInteractionProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextFieldProps } from '
|
|
1
|
+
import { TextFieldProps } from '../../../text-field/src';
|
|
2
2
|
import { Locale } from 'date-fns';
|
|
3
3
|
import { TimeDataFormat } from '../types';
|
|
4
4
|
interface TimeRangeInputProps extends Omit<TextFieldProps, "value" | "onChange" | "step" | "defaultValue"> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton, MenuContextContent, MenuDivider, MenuInput, MenuContextItem, MenuContextLabel, MenuValue } from '
|
|
1
|
+
import { MenuButton, MenuContextContent, MenuDivider, MenuInput, MenuContextItem, MenuContextLabel, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React, HTMLProps, ReactNode } from 'react';
|
|
4
4
|
interface ComboboxTriggerProps extends Omit<HTMLProps<HTMLInputElement>, "size" | "onChange"> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton, MenuContextContent, MenuContextItem, MenuContextLabel, MenuDivider, MenuInput, MenuValue } from '
|
|
1
|
+
import { MenuButton, MenuContextContent, MenuContextItem, MenuContextLabel, MenuDivider, MenuInput, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { ComboboxTrigger } from './combobox-trigger';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as react__default, HTMLProps, ReactNode } from 'react';
|
|
2
|
-
import { InputProps } from '
|
|
3
|
-
import { KbdKey } from '
|
|
4
|
-
import { ScrollAreaProps } from '
|
|
5
|
-
import * as _choice_ui_tabs from '
|
|
2
|
+
import { InputProps } from '../../input/src';
|
|
3
|
+
import { KbdKey } from '../../kbd/src';
|
|
4
|
+
import { ScrollAreaProps } from '../../scroll-area/src';
|
|
5
|
+
import * as _choice_ui_tabs from '../../tabs/src';
|
|
6
6
|
import * as react from 'react';
|
|
7
7
|
|
|
8
8
|
interface CommandEmptyProps extends HTMLProps<HTMLDivElement> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabsProps } from '
|
|
1
|
+
import { TabsProps } from '../../../tabs/src';
|
|
2
2
|
export declare const CommandTabs: import('react').ForwardRefExoticComponent<Omit<TabsProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -10,6 +10,6 @@ export declare const Command: import('react').ForwardRefExoticComponent<import('
|
|
|
10
10
|
Loading: import('react').ForwardRefExoticComponent<import('./components').CommandLoadingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
11
|
Divider: import('react').ForwardRefExoticComponent<Omit<import('./components').CommandDividerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
12
|
Value: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLProps<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
-
Tabs: import('react').ForwardRefExoticComponent<Omit<import('
|
|
14
|
-
TabItem: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<import('
|
|
13
|
+
Tabs: import('react').ForwardRefExoticComponent<Omit<import('../../tabs/src').TabsProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
+
TabItem: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<import('../../tabs/src').TabItemProps, "ref"> & import('react').RefAttributes<HTMLElement>>>;
|
|
15
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React__default, ComponentType } from 'react';
|
|
2
|
-
import { IconButtonProps } from '
|
|
2
|
+
import { IconButtonProps } from '../../icon-button/src';
|
|
3
3
|
import { RenderElementProps, ReactEditor } from 'slate-react';
|
|
4
4
|
import { Descendant, Editor, Range } from 'slate';
|
|
5
5
|
import { HistoryEditor } from 'slate-history';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconButtonProps } from '
|
|
1
|
+
import { IconButtonProps } from '../../../icon-button/src';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
export interface CopyButtonProps extends Omit<IconButtonProps, "onClick"> {
|
|
4
4
|
onClick?: (copiedText: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton, MenuContextContent, MenuDivider, MenuInput, MenuContextItem, MenuContextLabel, MenuSearch, MenuContextSubTrigger, MenuValue } from '
|
|
1
|
+
import { MenuButton, MenuContextContent, MenuDivider, MenuInput, MenuContextItem, MenuContextLabel, MenuSearch, MenuContextSubTrigger, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React, HTMLProps, ReactNode } from 'react';
|
|
4
4
|
interface ContextMenuProps extends HTMLProps<HTMLDivElement> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton, MenuContextContent, MenuContextItem, MenuContextLabel, MenuContextSubTrigger, MenuDivider, MenuInput, MenuSearch, MenuValue } from '
|
|
1
|
+
import { MenuButton, MenuContextContent, MenuContextItem, MenuContextLabel, MenuContextSubTrigger, MenuDivider, MenuInput, MenuSearch, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React, HTMLProps, ReactNode } from 'react';
|
|
4
4
|
export interface ContextMenuProps extends HTMLProps<HTMLDivElement> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ModalBackdrop, ModalContent, ModalFooter } from '
|
|
1
|
+
import { ModalBackdrop, ModalContent, ModalFooter } from '../../modal/src';
|
|
2
2
|
import { FloatingFocusManagerProps, UseTransitionStylesProps } from '@floating-ui/react';
|
|
3
3
|
import { default as react__default } from 'react';
|
|
4
|
-
import * as _choice_ui_modal from '
|
|
4
|
+
import * as _choice_ui_modal from '../../modal/src';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
|
|
7
7
|
declare const DialogHeader: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<Omit<_choice_ui_modal.ModalHeaderProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DialogHeader: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<Omit<import('
|
|
1
|
+
export declare const DialogHeader: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<Omit<import('../../../modal/src').ModalHeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalBackdrop, ModalContent, ModalFooter } from '
|
|
1
|
+
import { ModalBackdrop, ModalContent, ModalFooter } from '../../modal/src';
|
|
2
2
|
import { FloatingFocusManagerProps, UseTransitionStylesProps } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { DialogHeader, DialogTrigger } from './components';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton, MenuContextContent, MenuDivider, MenuInput, MenuContextItem, MenuContextLabel, MenuSearch, MenuContextSubTrigger, MenuTrigger, MenuValue } from '
|
|
1
|
+
import { MenuButton, MenuContextContent, MenuDivider, MenuInput, MenuContextItem, MenuContextLabel, MenuSearch, MenuContextSubTrigger, MenuTrigger, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
interface DropdownProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton, MenuContextContent, MenuContextItem, MenuContextLabel, MenuContextSubTrigger, MenuDivider, MenuInput, MenuSearch, MenuTrigger, MenuValue } from '
|
|
1
|
+
import { MenuButton, MenuContextContent, MenuContextItem, MenuContextLabel, MenuContextSubTrigger, MenuDivider, MenuInput, MenuSearch, MenuTrigger, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
export interface DropdownProps {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CheckboxProps } from '
|
|
3
|
-
import { InputProps } from '
|
|
4
|
-
import { SelectProps } from '
|
|
5
|
-
import { TextareaProps } from '
|
|
6
|
-
import { RadioGroupProps } from '
|
|
7
|
-
import { SwitchProps } from '
|
|
8
|
-
import { RangeProps } from '
|
|
9
|
-
import { NumericInputProps } from '
|
|
10
|
-
import { MultiSelectProps } from '
|
|
11
|
-
import { SegmentedProps } from '
|
|
2
|
+
import { CheckboxProps } from '../../checkbox/src';
|
|
3
|
+
import { InputProps } from '../../input/src';
|
|
4
|
+
import { SelectProps } from '../../select/src';
|
|
5
|
+
import { TextareaProps } from '../../textarea/src';
|
|
6
|
+
import { RadioGroupProps } from '../../radio/src';
|
|
7
|
+
import { SwitchProps } from '../../switch/src';
|
|
8
|
+
import { RangeProps } from '../../range/src';
|
|
9
|
+
import { NumericInputProps } from '../../numeric-input/src';
|
|
10
|
+
import { MultiSelectProps } from '../../multi-select/src';
|
|
11
|
+
import { SegmentedProps } from '../../segmented/src';
|
|
12
12
|
import * as react from 'react';
|
|
13
|
-
import * as _choice_ui_button from '
|
|
13
|
+
import * as _choice_ui_button from '../../button/src';
|
|
14
14
|
import * as _tanstack_react_form from '@tanstack/react-form';
|
|
15
15
|
export { _tanstack_react_form as TanstackReactForm };
|
|
16
16
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -32,5 +32,5 @@ export declare function useForm(options: {
|
|
|
32
32
|
NumericInput: typeof NumericInputAdapter;
|
|
33
33
|
MultiSelect: typeof MultiSelectAdapter;
|
|
34
34
|
Segmented: typeof SegmentedAdapter;
|
|
35
|
-
Button: import('react').ForwardRefExoticComponent<Omit<import('
|
|
35
|
+
Button: import('react').ForwardRefExoticComponent<Omit<import('../../button/src').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
36
36
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CheckboxProps } from '
|
|
3
|
-
import { InputProps } from '
|
|
4
|
-
import { SelectProps } from '
|
|
5
|
-
import { TextareaProps } from '
|
|
6
|
-
import { RadioGroupProps } from '
|
|
7
|
-
import { SwitchProps } from '
|
|
8
|
-
import { RangeProps } from '
|
|
9
|
-
import { NumericInputProps } from '
|
|
10
|
-
import { MultiSelectProps } from '
|
|
11
|
-
import { SegmentedProps } from '
|
|
2
|
+
import { CheckboxProps } from '../../checkbox/src';
|
|
3
|
+
import { InputProps } from '../../input/src';
|
|
4
|
+
import { SelectProps } from '../../select/src';
|
|
5
|
+
import { TextareaProps } from '../../textarea/src';
|
|
6
|
+
import { RadioGroupProps } from '../../radio/src';
|
|
7
|
+
import { SwitchProps } from '../../switch/src';
|
|
8
|
+
import { RangeProps } from '../../range/src';
|
|
9
|
+
import { NumericInputProps } from '../../numeric-input/src';
|
|
10
|
+
import { MultiSelectProps } from '../../multi-select/src';
|
|
11
|
+
import { SegmentedProps } from '../../segmented/src';
|
|
12
12
|
/**
|
|
13
13
|
* 表单验证器类型
|
|
14
14
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, HTMLProps } from 'react';
|
|
2
|
-
import { MenuValue } from '
|
|
3
|
-
import { KbdKey } from '
|
|
2
|
+
import { MenuValue } from '../../menus/src';
|
|
3
|
+
import { KbdKey } from '../../kbd/src';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
|
|
6
6
|
interface ListContentProps extends React.HTMLProps<HTMLDivElement> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as react__default, HTMLAttributes } from 'react';
|
|
2
|
-
import { TextareaProps } from '
|
|
3
|
-
import { MdRenderProps } from '
|
|
2
|
+
import { TextareaProps } from '../../textarea/src';
|
|
3
|
+
import { MdRenderProps } from '../../md-render/src';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
|
|
6
6
|
interface MdInputContainerProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as react__default, HTMLProps, ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps } from '
|
|
3
|
-
import { KbdKey } from '
|
|
4
|
-
import { SearchInputProps } from '
|
|
5
|
-
import { InputProps } from '
|
|
2
|
+
import { ButtonProps } from '../../button/src';
|
|
3
|
+
import { KbdKey } from '../../kbd/src';
|
|
4
|
+
import { SearchInputProps } from '../../search-input/src';
|
|
5
|
+
import { InputProps } from '../../input/src';
|
|
6
6
|
import { SideObject, Placement, useFloating, useHover, useInteractions, useListItem, useFloatingTree } from '@floating-ui/react';
|
|
7
7
|
import * as react from 'react';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonProps } from '
|
|
1
|
+
import { ButtonProps } from '../../../button/src';
|
|
2
2
|
export declare const MenuButton: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InputProps } from '
|
|
1
|
+
import { InputProps } from '../../../input/src';
|
|
2
2
|
export declare const MenuInput: import('react').ForwardRefExoticComponent<Omit<InputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchInputProps } from '
|
|
1
|
+
import { SearchInputProps } from '../../../search-input/src';
|
|
2
2
|
export declare const MenuSearch: import('react').ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
3
3
|
interface MenuSearchEmptyProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
children?: React.ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HTMLProps, ReactNode } from 'react';
|
|
2
|
-
import { SelectProps } from '
|
|
2
|
+
import { SelectProps } from '../../select/src';
|
|
3
3
|
import { MotionProps } from 'framer-motion';
|
|
4
|
-
import { InputProps } from '
|
|
5
|
-
import { TextareaProps } from '
|
|
4
|
+
import { InputProps } from '../../input/src';
|
|
5
|
+
import { TextareaProps } from '../../textarea/src';
|
|
6
6
|
import * as react from 'react';
|
|
7
7
|
|
|
8
8
|
declare const ModalContent: react.ForwardRefExoticComponent<Omit<HTMLProps<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChipProps } from '
|
|
2
|
-
import { MenuContextContent, MenuDivider, MenuContextItem, MenuContextLabel, MenuValue } from '
|
|
1
|
+
import { ChipProps } from '../../chip/src';
|
|
2
|
+
import { MenuContextContent, MenuDivider, MenuContextItem, MenuContextLabel, MenuValue } from '../../menus/src';
|
|
3
3
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
4
4
|
import { default as React__default, HTMLProps, ReactNode } from 'react';
|
|
5
5
|
import * as React$1 from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChipProps } from '
|
|
2
|
-
import { MenuContextContent, MenuContextItem, MenuContextLabel, MenuDivider, MenuValue } from '
|
|
1
|
+
import { ChipProps } from '../../chip/src';
|
|
2
|
+
import { MenuContextContent, MenuContextItem, MenuContextLabel, MenuDivider, MenuValue } from '../../menus/src';
|
|
3
3
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
4
4
|
import { default as React } from 'react';
|
|
5
5
|
import { MultiSelectTrigger } from './components';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React__default, ReactNode, HTMLProps, RefObject } from 'react';
|
|
2
|
-
import { IconButtonProps } from '
|
|
2
|
+
import { IconButtonProps } from '../../icon-button/src';
|
|
3
3
|
import { PressMoveProps } from '../../../../../shared/src';
|
|
4
|
-
import { TooltipProps } from '
|
|
4
|
+
import { TooltipProps } from '../../tooltip/src';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
|
|
7
7
|
type ElementType = "action" | "handler" | "menu";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TooltipProps } from '
|
|
1
|
+
import { TooltipProps } from '../../tooltip/src';
|
|
2
2
|
import { default as React, HTMLProps, ReactNode } from 'react';
|
|
3
3
|
import { NumericInputElement, NumericInputMenuActionPrompt, NumericInputMenuTrigger, NumericInputVariable } from './components';
|
|
4
4
|
import { NumericInputContextValue } from './context';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalHeaderProps, ModalContent, ModalFooter } from '
|
|
1
|
+
import { ModalHeaderProps, ModalContent, ModalFooter } from '../../modal/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as react__default } from 'react';
|
|
4
4
|
import * as react from 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ModalHeaderProps } from '
|
|
1
|
+
import { ModalHeaderProps } from '../../../modal/src';
|
|
2
2
|
export declare const PopoverHeader: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<ModalHeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalContent, ModalFooter } from '
|
|
1
|
+
import { ModalContent, ModalFooter } from '../../modal/src';
|
|
2
2
|
import { FloatingFocusManagerProps, Placement } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { PopoverHeader, PopoverTrigger } from './components';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as react__default } from 'react';
|
|
2
|
-
import { IconButtonProps } from '
|
|
2
|
+
import { IconButtonProps } from '../../icon-button/src';
|
|
3
3
|
import { UseFloatingReturn } from '@floating-ui/react';
|
|
4
4
|
import { Editor, BaseElement, BaseText, Descendant } from 'slate';
|
|
5
5
|
import { ReactEditor, RenderElementProps, RenderLeafProps } from 'slate-react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconButtonProps } from '
|
|
1
|
+
import { IconButtonProps } from '../../../icon-button/src';
|
|
2
2
|
import { UseFloatingReturn } from '@floating-ui/react';
|
|
3
3
|
import { Descendant, Editor } from 'slate';
|
|
4
4
|
import { RenderElementProps, RenderLeafProps } from 'slate-react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuContextContent, MenuDivider, MenuContextItem, MenuContextLabel, MenuTrigger, MenuValue } from '
|
|
1
|
+
import { MenuContextContent, MenuDivider, MenuContextItem, MenuContextLabel, MenuTrigger, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
interface SelectProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuContextContent, MenuContextItem, MenuContextLabel, MenuDivider, MenuTrigger, MenuValue } from '
|
|
1
|
+
import { MenuContextContent, MenuContextItem, MenuContextLabel, MenuDivider, MenuTrigger, MenuValue } from '../../menus/src';
|
|
2
2
|
import { FloatingFocusManagerProps } from '@floating-ui/react';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
export interface SelectProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputProps } from '
|
|
2
|
-
import { Label } from '
|
|
1
|
+
import { InputProps } from '../../input/src';
|
|
2
|
+
import { Label } from '../../label/src';
|
|
3
3
|
import { default as react__default, HTMLProps, ReactNode } from 'react';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputProps } from '
|
|
2
|
-
import { Label } from '
|
|
1
|
+
import { InputProps } from '../../input/src';
|
|
2
|
+
import { Label } from '../../label/src';
|
|
3
3
|
import { default as React, ReactNode } from 'react';
|
|
4
4
|
import { FieldAddon, FieldDescription } from './components';
|
|
5
5
|
export interface TextFieldProps extends Omit<InputProps, "children"> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
|
-
import { TooltipProps } from '
|
|
2
|
+
import { TooltipProps } from '../../tooltip/src';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
|
|
5
5
|
interface ToggleButtonProps extends Omit<HTMLProps<HTMLInputElement>, "value" | "onChange" | "size"> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLProps, ReactNode } from 'react';
|
|
2
2
|
import { Placement, UseFloatingReturn } from '@floating-ui/react';
|
|
3
|
-
import { KbdKey } from '
|
|
3
|
+
import { KbdKey } from '../../kbd/src';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
export { FloatingDelayGroup as TooltipProvider } from '@floating-ui/react';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Placement, UseFloatingReturn } from '@floating-ui/react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { KbdKey } from '
|
|
3
|
+
import { KbdKey } from '../../kbd/src';
|
|
4
4
|
export interface TooltipOptions {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
initialOpen?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './components';
|
|
2
|
-
export * from
|
|
2
|
+
export * from './shared';
|
package/package.json
CHANGED