@mw-kit/mw-ui 1.7.92 → 1.7.94

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { MenuProps } from '../../../../../Menu/interfaces';
3
- declare const MonthPicker: (props: Pick<MenuProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex" | "pointer" | "bgColor" | "open" | "position" | "axis" | "center" | "boundRef" | "transition" | "loading" | "bordered" | "close" | "onScrollEnd" | "after" | "scrollSpacing" | "emptyContent" | "containerSpacing" | "itemSpacing"> & {
3
+ declare const MonthPicker: (props: Pick<MenuProps<Record<string | number | symbol, any>>, "hidden" | "children" | "dir" | "label" | "slot" | "style" | "title" | "id" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex" | "pointer" | "bgColor" | "open" | "position" | "axis" | "center" | "boundRef" | "transition" | "loading" | "rules" | "bordered" | "highlight" | "close" | "onScrollEnd" | "after" | "scrollSpacing" | "scrollTabIndex" | "emptyContent" | "onClickOption" | "containerSpacing" | "itemSpacing"> & {
4
4
  year: number;
5
5
  setValue: (year: number, month: number) => void;
6
6
  min?: Date | undefined;
@@ -1,8 +1,10 @@
1
1
  /// <reference types="react" />
2
+ import { OptionLabelComponent } from '../../../../Menu/interfaces';
2
3
  import { AppliedFilter } from '../../../interfaces';
3
- import { Common, Filter } from '../../interfaces';
4
+ import { Common, Filter, Option } from '../../interfaces';
4
5
  export interface SubmenuProps {
5
6
  item?: Filter;
7
+ optionLabel?: OptionLabelComponent<Option>;
6
8
  close: () => void;
7
9
  closeParent: () => void;
8
10
  setAppliedFilters: React.Dispatch<React.SetStateAction<AppliedFilter[]>>;
@@ -1,16 +1,16 @@
1
1
  import React from 'react';
2
2
  import { ReactNode, SpacingOrZero } from '../../../interfaces';
3
3
  import { AbsoluteContainerProps } from '../../AbsoluteContainer/interfaces';
4
+ import { OptionLabelComponent } from '../../Menu/interfaces';
4
5
  import { ButtonProps } from '../Button/interfaces';
5
6
  import { AppliedFilter } from '../interfaces';
6
7
  export interface Label {
7
8
  text: string;
8
9
  element: ReactNode;
9
10
  }
10
- declare type LabelOrString = string | Label;
11
11
  export interface Option {
12
12
  /** label da opcao */
13
- label: LabelOrString;
13
+ label: string;
14
14
  /** valor da opcao */
15
15
  value: string | number | boolean;
16
16
  }
@@ -25,7 +25,7 @@ export interface OptionsReturn {
25
25
  export declare type OptionsCallback = (value: string, page?: number) => Promise<OptionsReturn | Option[]>;
26
26
  export interface Filter {
27
27
  /** label do filtro */
28
- label: LabelOrString;
28
+ label: string;
29
29
  /** nome da chave do filtro */
30
30
  name: string;
31
31
  /** lista de opcoes ou funcao que retorna a lista de opcoes */
@@ -43,9 +43,12 @@ export interface Filter {
43
43
  }
44
44
  export interface Common {
45
45
  items: Filter[];
46
+ optionLabel?: {
47
+ [key: string]: OptionLabelComponent<Option>;
48
+ };
49
+ filterLabel?: OptionLabelComponent<Filter>;
46
50
  setAppliedFilters: React.Dispatch<React.SetStateAction<AppliedFilter[]>>;
47
51
  containerProps?: Omit<AbsoluteContainerProps, 'open'>;
48
52
  subContainerProps?: Pick<AbsoluteContainerProps, 'center'>;
49
53
  }
50
54
  export declare type FiltersProps = Common & Omit<ButtonProps, 'getContent' | 'gap'>;
51
- export {};
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { MenuProps } from '../../../../../Menu/interfaces';
3
+ import { Option } from '../interfaces';
4
+ export declare const isAvailable: (index: number, option: Option, rules: MenuProps['rules']) => boolean;
5
+ declare const useNavigation: (props: {
6
+ highlight: [number, React.Dispatch<React.SetStateAction<number>>];
7
+ options: Option[];
8
+ rules: MenuProps['rules'];
9
+ onSelectHighlight: (index: number, option: Option) => void;
10
+ }) => {
11
+ onKeyDown: (event: import("react").KeyboardEvent<HTMLInputElement>) => void;
12
+ onFocus: (event: import("react").FocusEvent<HTMLInputElement, Element>) => void;
13
+ onBlur: (event: import("react").FocusEvent<HTMLInputElement, Element>) => void;
14
+ };
15
+ export default useNavigation;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import { useSelectReturn } from '../interfaces';
3
- import { Option, SelectProps } from './interfaces';
4
- declare const useSelect: (props: SelectProps, [options, setOptions]: [Option[], React.Dispatch<React.SetStateAction<Option[]>>]) => useSelectReturn;
1
+ import { useSelect } from '../interfaces';
2
+ import { SelectProps } from './interfaces';
3
+ declare const useSelect: useSelect<SelectProps>;
5
4
  export default useSelect;
@@ -1,11 +1,12 @@
1
+ import { GenericObject } from '../../../../../../interfaces';
1
2
  import { CommonContext, CommonProps, Option } from '../interfaces';
2
- export interface SelectProps extends CommonProps {
3
+ export interface SelectProps<T extends GenericObject = GenericObject> extends CommonProps<T> {
3
4
  type: 'select';
4
5
  name?: string;
5
- setValue: (value: string, option: Option['data']) => void;
6
+ setValue: (value: string, option: Option<T>['data']) => void;
6
7
  onClear?: (value: '') => void;
7
- value: string | Pick<Option, 'value' | 'data' | 'label'>;
8
- dirty?: (() => void) | Pick<Option, 'value' | 'data'>;
8
+ value: string | Pick<Option<T>, 'value' | 'data' | 'label'>;
9
+ dirty?: (() => void) | Pick<Option<T>, 'value' | 'data'>;
9
10
  }
10
11
  export declare type ContextInterface = CommonContext<SelectProps>;
11
12
  export * from '../interfaces';
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- import { SelectOptionLabelProps, Option } from '../../interfaces';
1
+ import React from 'react';
2
+ import { Option } from '../../interfaces';
3
3
  declare const Label: (props: {
4
- option: SelectOptionLabelProps;
5
- label: Option['label'];
4
+ option: Option;
5
+ label: React.FunctionComponent<Option> | undefined;
6
6
  value: Pick<Option, 'data' | 'value'>[];
7
7
  }) => JSX.Element;
8
8
  export default Label;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import { useSelectReturn } from '../interfaces';
3
- import { Option, SelectProps } from './interfaces';
4
- declare const useSelectMultiple: (props: SelectProps, [options, setOptions]: [Option[], React.Dispatch<React.SetStateAction<Option[]>>]) => useSelectReturn;
1
+ import { useSelect } from '../interfaces';
2
+ import { SelectProps } from './interfaces';
3
+ declare const useSelectMultiple: useSelect<SelectProps>;
5
4
  export default useSelectMultiple;
@@ -1,11 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { GenericObject } from '../../../../../../interfaces';
2
3
  import { CommonContext, CommonProps, Option } from '../interfaces';
3
- export interface SelectProps extends CommonProps {
4
+ export interface SelectProps<T extends GenericObject = GenericObject> extends CommonProps<T> {
4
5
  type: 'select-multiple';
5
- setValue: (value: string[], data: Option['data'][]) => void;
6
- value: (Pick<Option, 'value' | 'data'> | string)[];
6
+ setValue: (value: string[], data: Option<T>['data'][]) => void;
7
+ value: (Pick<Option<T>, 'value' | 'data'> | string)[];
7
8
  selectAll?: boolean;
8
- dirty?: (() => void) | Pick<Option, 'value' | 'data'>[];
9
+ dirty?: (() => void) | Pick<Option<T>, 'value' | 'data'>[];
9
10
  }
10
11
  export interface ContextInterface extends CommonContext<SelectProps> {
11
12
  checked: [Pick<Option, 'value' | 'data'>[], React.Dispatch<React.SetStateAction<Pick<Option, 'value' | 'data'>[]>>];
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ReactNode, GenericObject } from '../../../../../interfaces';
3
- import { Position } from '../../../../AbsoluteContainer/interfaces';
2
+ import { GenericObject } from '../../../../../interfaces';
4
3
  import { MenuProps, Option as MenuOption } from '../../../../Menu/interfaces';
5
4
  import { InputProps } from '../../Input/interfaces';
6
5
  export declare type SelectOptionLabelProps<T extends GenericObject = GenericObject> = {
@@ -10,8 +9,7 @@ export declare type SelectOptionLabelProps<T extends GenericObject = GenericObje
10
9
  mode?: 'placeholder';
11
10
  };
12
11
  export declare type SelectOptionLabelComponent<T extends GenericObject = GenericObject> = React.FunctionComponent<SelectOptionLabelProps<T>>;
13
- export declare type Option<T extends GenericObject = GenericObject> = Pick<MenuOption<T>, 'onClick' | 'rules' | 'data' | 'disabled'> & {
14
- label: ReactNode | SelectOptionLabelComponent<T>;
12
+ export declare type Option<T extends GenericObject = GenericObject> = Pick<MenuOption<T>, 'label' | 'data' | 'disabled'> & {
15
13
  value: string;
16
14
  };
17
15
  interface LoaderReturn<T extends GenericObject = GenericObject> {
@@ -19,31 +17,22 @@ interface LoaderReturn<T extends GenericObject = GenericObject> {
19
17
  lastPage: boolean;
20
18
  }
21
19
  export declare type Loader<T extends GenericObject = GenericObject> = (search: string, page: number) => Promise<LoaderReturn<T> | Option<T>[] | null>;
22
- export interface CommonProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'setValue' | 'value' | 'onChange' | 'children' | 'clearable' | 'dirty'> {
23
- onScrollEnd?: () => Promise<void>;
24
- position?: Position;
20
+ export declare type CommonProps<T extends GenericObject = GenericObject> = Omit<InputProps, 'type' | 'mask' | 'icon' | 'setValue' | 'value' | 'onChange' | 'children' | 'clearable' | 'dirty'> & Pick<MenuProps<T>, 'onClickOption' | 'rules' | 'onScrollEnd' | 'position' | 'center' | 'maxHeight' | 'emptyContent'> & {
25
21
  search?: boolean;
26
- center?: {
27
- x: number;
28
- y: number;
29
- };
30
22
  /**
31
23
  * async function to load options
32
24
  *
33
25
  * returning null will keep loading, until the loader be called again (useful when aborting requests)
34
26
  */
35
- loader: Loader;
36
- maxHeight?: string;
37
- emptyContent?: ReactNode;
38
- initialLoader?: () => Option[];
39
- }
27
+ loader: Loader<T>;
28
+ initialLoader?: () => Option<T>[];
29
+ optionLabel?: React.FunctionComponent<Option & {
30
+ mode?: 'placeholder';
31
+ }>;
32
+ };
40
33
  interface BaseContext {
41
34
  setOpen: React.Dispatch<React.SetStateAction<boolean>>;
42
- loading: boolean;
43
- search: [string, React.Dispatch<React.SetStateAction<string>>];
44
35
  searchInput: [string, React.Dispatch<React.SetStateAction<string>>];
45
- onSearch: () => void;
46
- onClearSearch: () => void;
47
36
  }
48
37
  export interface CommonContext<SelectProps extends CommonProps> extends BaseContext {
49
38
  props: SelectProps;
@@ -54,11 +43,10 @@ export interface useSelectReturn {
54
43
  options: [Option[], React.Dispatch<React.SetStateAction<Option[]>>];
55
44
  inputContent: React.ReactNode;
56
45
  onReset: () => void;
57
- menu: Pick<MenuProps, 'itemSpacing' | 'before' | 'after'> & {
58
- maxHeight: string;
59
- };
46
+ menu: Pick<MenuProps, 'itemSpacing' | 'before' | 'after' | 'maxHeight' | 'label' | 'onClickOption'>;
60
47
  getContext: (base: BaseContext, children: JSX.Element) => JSX.Element;
61
48
  onClear?: () => void;
62
49
  dirty?: InputProps['dirty'];
63
50
  }
51
+ export declare type useSelect<Props extends CommonProps> = (props: Props, highlight: [number, React.Dispatch<React.SetStateAction<number>>], options: [Option[], React.Dispatch<React.SetStateAction<Option[]>>], setOpen: React.Dispatch<React.SetStateAction<boolean>>) => useSelectReturn;
64
52
  export {};
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { SelectProps as SingleSelectProps } from './hooks/Select/interfaces';
3
3
  import { SelectProps as MultipleSelectProps } from './hooks/SelectMultiple/interfaces';
4
- export declare type SelectProps = SingleSelectProps | MultipleSelectProps;
5
- declare const Select: React.ForwardRefExoticComponent<(SingleSelectProps & React.RefAttributes<HTMLInputElement>) | (MultipleSelectProps & React.RefAttributes<HTMLInputElement>)>;
4
+ import { GenericObject } from '../../../../interfaces';
5
+ export declare type SelectProps<T extends GenericObject = GenericObject> = SingleSelectProps<T> | MultipleSelectProps<T>;
6
+ declare const Select: React.ForwardRefExoticComponent<(SingleSelectProps<Record<string | number | symbol, any>> & React.RefAttributes<HTMLInputElement>) | (MultipleSelectProps<Record<string | number | symbol, any>> & React.RefAttributes<HTMLInputElement>)>;
6
7
  export default Select;
@@ -1,3 +1,4 @@
1
1
  import { SelectProps } from './';
2
- export declare const RelativeContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<SelectProps, "width">, never>;
2
+ export declare const RelativeContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<SelectProps<Record<string | number | symbol, any>>, "width">, never>;
3
3
  export declare const EmptyContentContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const HiddenInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
@@ -14,7 +14,7 @@ import { DateIntervalPickerProps } from './components/DateIntervalPicker/interfa
14
14
  import { TagsProps } from './components/Tags/interfaces';
15
15
  import { DateTimeProps } from './components/DateTime/interfaces';
16
16
  export declare type Props = DateProps | TimeProps | CheckboxProps | SelectProps | PasswordProps | PhoneProps | DatePickerProps | RangeProps | DefaultInputProps | SwitchProps | RadioButtonProps | DateIntervalPickerProps | TagsProps | DateTimeProps;
17
- declare const Input: React.ForwardRefExoticComponent<(TimeProps & React.RefAttributes<HTMLInputElement>) | (DefaultInputProps & React.RefAttributes<HTMLInputElement>) | (DateProps & React.RefAttributes<HTMLInputElement>) | (CheckboxProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/Select/interfaces").SelectProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/SelectMultiple/interfaces").SelectProps & React.RefAttributes<HTMLInputElement>) | (PasswordProps & React.RefAttributes<HTMLInputElement>) | (PhoneProps & React.RefAttributes<HTMLInputElement>) | (DatePickerProps & React.RefAttributes<HTMLInputElement>) | (RangeProps & React.RefAttributes<HTMLInputElement>) | (SwitchProps & React.RefAttributes<HTMLInputElement>) | (RadioButtonProps & React.RefAttributes<HTMLInputElement>) | (DateIntervalPickerProps & React.RefAttributes<HTMLInputElement>) | (TagsProps & React.RefAttributes<HTMLInputElement>) | (DateTimeProps & React.RefAttributes<HTMLInputElement>)> & {
17
+ declare const Input: React.ForwardRefExoticComponent<(TimeProps & React.RefAttributes<HTMLInputElement>) | (DefaultInputProps & React.RefAttributes<HTMLInputElement>) | (DateProps & React.RefAttributes<HTMLInputElement>) | (CheckboxProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/Select/interfaces").SelectProps<Record<string | number | symbol, any>> & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/SelectMultiple/interfaces").SelectProps<Record<string | number | symbol, any>> & React.RefAttributes<HTMLInputElement>) | (PasswordProps & React.RefAttributes<HTMLInputElement>) | (PhoneProps & React.RefAttributes<HTMLInputElement>) | (DatePickerProps & React.RefAttributes<HTMLInputElement>) | (RangeProps & React.RefAttributes<HTMLInputElement>) | (SwitchProps & React.RefAttributes<HTMLInputElement>) | (RadioButtonProps & React.RefAttributes<HTMLInputElement>) | (DateIntervalPickerProps & React.RefAttributes<HTMLInputElement>) | (TagsProps & React.RefAttributes<HTMLInputElement>) | (DateTimeProps & React.RefAttributes<HTMLInputElement>)> & {
18
18
  useDefaultDateIntervalState: (min?: Date | undefined, max?: Date | undefined) => [string, string];
19
19
  getPhoneDetails: (phone: string) => import("./components/Phone/interfaces").Details | null;
20
20
  };
@@ -5,37 +5,45 @@ import { AbsoluteContainerProps } from '../AbsoluteContainer/interfaces';
5
5
  import { ScrollContainerProps } from '../ScrollContainer/interfaces';
6
6
  /** funcao que fara a validacao da regra, deve retornar true caso passe na validacao, e false ou o conteudo do popup caso contrario */
7
7
  declare type Rule<T extends GenericObject = GenericObject> = (index: number, data: T) => boolean | Omit<PopupProps, 'trigger'>;
8
- export declare type MenuOptionLabelProps<T extends GenericObject = GenericObject> = {
8
+ export declare type Option<T extends GenericObject = GenericObject> = {
9
9
  delimiter?: boolean;
10
10
  keepOpen?: boolean;
11
11
  caret?: boolean;
12
12
  disabled?: boolean;
13
13
  border?: Borders;
14
+ label: string;
14
15
  data: T;
15
16
  };
16
- export declare type OptionLabelComponent<T extends GenericObject = GenericObject> = React.FunctionComponent<MenuOptionLabelProps<T>>;
17
- export declare type Option<T extends GenericObject = GenericObject> = MenuOptionLabelProps<T> & {
18
- label: ReactNode | OptionLabelComponent<T>;
19
- onClick?: (index: number, option: Option, event: React.MouseEvent) => void;
20
- rules?: Rule<T>[];
21
- };
17
+ export declare type OptionLabelComponent<T extends GenericObject = GenericObject> = React.FunctionComponent<Option<T>>;
22
18
  export interface CommonProps extends Omit<AbsoluteContainerProps, 'children' | 'content'> {
23
19
  bordered?: boolean;
24
20
  containerSpacing?: SpacingOrZero | Omit<Spacings, 'right'>;
25
21
  itemSpacing?: SpacingOrZero | Spacings;
26
22
  children?: JSX.Element | (string & (string | JSX.Element | undefined)) | null;
27
23
  }
28
- export interface MenuProps extends CommonProps, Pick<ScrollContainerProps, 'onScrollEnd' | 'loading' | 'before' | 'after'> {
24
+ export interface MenuProps<T extends GenericObject = GenericObject> extends CommonProps, Pick<ScrollContainerProps, 'onScrollEnd' | 'loading' | 'before' | 'after'> {
29
25
  open: boolean;
30
26
  close: () => void;
31
- options: Option[];
27
+ options: (Option<T> & {
28
+ labelComponent?: OptionLabelComponent<T>;
29
+ onClick?: (index: number, option: T, event: React.MouseEvent) => void;
30
+ rules?: Rule<T>[];
31
+ })[];
32
32
  scrollSpacing?: ScrollContainerProps['spacing'];
33
+ scrollTabIndex?: number;
33
34
  emptyContent?: ReactNode;
35
+ label?: OptionLabelComponent<T>;
36
+ rules?: Rule<T>[];
37
+ onClickOption?: (index: number, option: T, event: React.MouseEvent) => void;
38
+ highlight?: number;
34
39
  }
35
- export declare type ContainerProps = CommonProps;
36
- export declare type MenuInterface = (props: MenuProps, ref?: React.ForwardedRef<HTMLDivElement>) => JSX.Element;
40
+ export declare type ContainerProps = CommonProps & {
41
+ $highlight?: number;
42
+ };
43
+ export declare type MenuInterface = <T extends GenericObject = GenericObject>(props: MenuProps<T>, ref?: React.ForwardedRef<HTMLDivElement>) => JSX.Element;
37
44
  export interface StyledOptionProps extends React.HTMLAttributes<HTMLDivElement> {
38
- disabled?: boolean;
39
- border?: Borders;
45
+ $disabled?: boolean;
46
+ $border?: Borders;
47
+ $highlighted?: boolean;
40
48
  }
41
49
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { StyledOptionProps } from './interfaces';
2
+ import { ContainerProps, StyledOptionProps } from './interfaces';
3
3
  export declare const Option: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledOptionProps, never>;
4
4
  export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<(Pick<Pick<import("react").HTMLAttributes<HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
5
5
  width?: string | number | undefined;
@@ -53,5 +53,5 @@ export declare const Container: import("styled-components").StyledComponent<impo
53
53
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
54
54
  boundRef?: HTMLDivElement | null | undefined;
55
55
  transition?: Partial<Pick<import("../Transition/interfaces").Transition<"width" | "height" | "max-width" | "max-height">, "mountDuration" | "properties">> | undefined;
56
- }, "hidden" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex" | "pointer" | "bgColor" | "open" | "position" | "axis" | "center" | "boundRef" | "transition" | "content"> & import("react").RefAttributes<HTMLDivElement>)>, import("styled-components").DefaultTheme, import("./interfaces").CommonProps, never>;
56
+ }, "hidden" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex" | "pointer" | "bgColor" | "open" | "position" | "axis" | "center" | "boundRef" | "transition" | "content"> & import("react").RefAttributes<HTMLDivElement>)>, import("styled-components").DefaultTheme, ContainerProps, never>;
57
57
  export declare const Delimiter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;