@koine/react 1.0.36 → 1.0.39

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/Tabs/TabsMui.d.ts CHANGED
@@ -42,7 +42,7 @@ export declare type Props = Simplify<WithComponents<OwnProps, Components>>;
42
42
  export declare type TabsProps = Props;
43
43
  export declare type KoineTabsProps = Props;
44
44
  export declare const Root: import("@mui/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
45
- export declare const List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>;
45
+ export declare const List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
46
46
  export declare const Indicator: import("react").ElementType<Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>>, "style" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "onAnimationEnd"> & Pick<{
47
47
  selected: boolean;
48
48
  focusVisible: boolean;
@@ -53,7 +53,7 @@ export declare const Indicator: import("react").ElementType<Omit<Pick<import("re
53
53
  }, "disabled" | "selected" | "active"> & {
54
54
  children?: import("react").ReactNode;
55
55
  }>;
56
- export declare const Panel: import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>;
56
+ export declare const Panel: import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
57
57
  export declare const Tab: import("react").ForwardRefExoticComponent<Pick<import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
58
58
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
59
59
  }, keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps> & {
@@ -72,7 +72,7 @@ export declare const Tab: import("react").ForwardRefExoticComponent<Pick<import(
72
72
  }, "key" | "id" | "title" | "color" | "form" | "slot" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "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" | "name" | "component" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps | "Indicator"> & import("react").RefAttributes<unknown>>;
73
73
  export declare const KoineTabs: ((props: Pick<Simplify<WithComponents<OwnProps, Components>>, "key" | "value" | "id" | "title" | "color" | "slot" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "children" | "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" | "direction" | "orientation" | "selectionFollowsFocus" | keyof Components | "mTab"> & import("react").RefAttributes<HTMLDivElement>) => import("react").FunctionComponentElement<any>) & {
74
74
  Root: import("@mui/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
75
- List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>;
75
+ List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
76
76
  Tab: import("react").ForwardRefExoticComponent<Pick<import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
77
77
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
78
78
  }, keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps> & {
@@ -99,11 +99,11 @@ export declare const KoineTabs: ((props: Pick<Simplify<WithComponents<OwnProps,
99
99
  }, "disabled" | "selected" | "active"> & {
100
100
  children?: import("react").ReactNode;
101
101
  }>;
102
- Panel: import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>;
102
+ Panel: import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
103
103
  } & {
104
104
  defaultProps: {
105
105
  Root: import("@mui/types").OverridableComponent<import("@mui/base/TabsUnstyled").TabsUnstyledTypeMap<{}, "div">>;
106
- List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>;
106
+ List: import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>;
107
107
  Tab: import("react").ForwardRefExoticComponent<Pick<import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
108
108
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
109
109
  }, keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps> & {
@@ -130,7 +130,7 @@ export declare const KoineTabs: ((props: Pick<Simplify<WithComponents<OwnProps,
130
130
  }, "disabled" | "selected" | "active"> & {
131
131
  children?: import("react").ReactNode;
132
132
  }>;
133
- Panel: import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>;
133
+ Panel: import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>;
134
134
  };
135
135
  };
136
136
  export {};
package/Tabs/tw/bare.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare const Root: import("react").ForwardRefExoticComponent<Pick<{
8
8
  export declare const List: import("react").ForwardRefExoticComponent<Pick<{
9
9
  className?: string | undefined;
10
10
  ref?: import("react").Ref<any> | undefined;
11
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>>>;
11
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>;
12
12
  export declare const Tab: import("react").ForwardRefExoticComponent<Pick<{
13
13
  className?: string | undefined;
14
14
  ref?: import("react").Ref<any> | undefined;
@@ -44,7 +44,7 @@ export declare const Indicator: import("react").ForwardRefExoticComponent<Pick<{
44
44
  export declare const Panel: import("react").ForwardRefExoticComponent<Pick<{
45
45
  className?: string | undefined;
46
46
  ref?: import("react").Ref<any> | undefined;
47
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>>>;
47
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>;
48
48
  export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify").Simplify<import("../../helpers").WithComponents<_.OwnProps, _.Components>>, "key" | "value" | "id" | "title" | "color" | "slot" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "children" | "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" | "direction" | "orientation" | "selectionFollowsFocus" | keyof _.Components | "mTab"> & import("react").RefAttributes<HTMLDivElement>) => import("react").FunctionComponentElement<any>) & {
49
49
  Root: import("react").ForwardRefExoticComponent<Pick<{
50
50
  className?: string | undefined;
@@ -53,7 +53,7 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
53
53
  List: import("react").ForwardRefExoticComponent<Pick<{
54
54
  className?: string | undefined;
55
55
  ref?: import("react").Ref<any> | undefined;
56
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>>>;
56
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>;
57
57
  Tab: import("react").ForwardRefExoticComponent<Pick<{
58
58
  className?: string | undefined;
59
59
  ref?: import("react").Ref<any> | undefined;
@@ -89,7 +89,7 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
89
89
  Panel: import("react").ForwardRefExoticComponent<Pick<{
90
90
  className?: string | undefined;
91
91
  ref?: import("react").Ref<any> | undefined;
92
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>>>;
92
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>;
93
93
  } & {
94
94
  defaultProps: {
95
95
  Root: import("react").ForwardRefExoticComponent<Pick<{
@@ -99,7 +99,7 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
99
99
  List: import("react").ForwardRefExoticComponent<Pick<{
100
100
  className?: string | undefined;
101
101
  ref?: import("react").Ref<any> | undefined;
102
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>>>;
102
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>;
103
103
  Tab: import("react").ForwardRefExoticComponent<Pick<{
104
104
  className?: string | undefined;
105
105
  ref?: import("react").Ref<any> | undefined;
@@ -135,6 +135,6 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
135
135
  Panel: import("react").ForwardRefExoticComponent<Pick<{
136
136
  className?: string | undefined;
137
137
  ref?: import("react").Ref<any> | undefined;
138
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>>>;
138
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>;
139
139
  };
140
140
  };
@@ -13,7 +13,7 @@ export declare const List: import("react").ForwardRefExoticComponent<Pick<{
13
13
  }, "className"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Pick<{
14
14
  className?: string | undefined;
15
15
  ref?: import("react").Ref<any> | undefined;
16
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>>>>>;
16
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>>>;
17
17
  export declare const Tab: import("react").ForwardRefExoticComponent<(Pick<import("react").HTMLProps<any> & import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
18
18
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
19
19
  }, keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps> & {
@@ -82,7 +82,7 @@ export declare const Panel: import("react").ForwardRefExoticComponent<Pick<{
82
82
  }, "className"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Pick<{
83
83
  className?: string | undefined;
84
84
  ref?: import("react").Ref<any> | undefined;
85
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>>>>>;
85
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>>>;
86
86
  export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify").Simplify<import("../../helpers").WithComponents<import("../TabsMui").OwnProps, import("../TabsMui").Components>>, "key" | "value" | "id" | "title" | "color" | "slot" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "children" | "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" | "direction" | "orientation" | "selectionFollowsFocus" | keyof import("../TabsMui").Components | "mTab"> & import("react").RefAttributes<HTMLDivElement>) => import("react").FunctionComponentElement<any>) & {
87
87
  Root: import("react").ForwardRefExoticComponent<Pick<{
88
88
  className?: string | undefined;
@@ -97,7 +97,7 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
97
97
  }, "className"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Pick<{
98
98
  className?: string | undefined;
99
99
  ref?: import("react").Ref<any> | undefined;
100
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>>>>>;
100
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>>>;
101
101
  Tab: import("react").ForwardRefExoticComponent<(Pick<import("react").HTMLProps<any> & import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
102
102
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
103
103
  }, keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps> & {
@@ -166,7 +166,7 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
166
166
  }, "className"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Pick<{
167
167
  className?: string | undefined;
168
168
  ref?: import("react").Ref<any> | undefined;
169
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>>>>>;
169
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>>>;
170
170
  } & {
171
171
  defaultProps: {
172
172
  Root: import("react").ForwardRefExoticComponent<Pick<{
@@ -182,7 +182,7 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
182
182
  }, "className"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Pick<{
183
183
  className?: string | undefined;
184
184
  ref?: import("react").Ref<any> | undefined;
185
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled/TabsListUnstyledProps").TabsListUnstyledTypeMap<{}, "div">>>>>>;
185
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabsListUnstyled").TabsListUnstyledTypeMap<{}, "div">>>>>>;
186
186
  Tab: import("react").ForwardRefExoticComponent<(Pick<import("react").HTMLProps<any> & import("@mui/base/TabUnstyled").TabUnstyledOwnProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
187
187
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
188
188
  }, keyof import("@mui/base/TabUnstyled").TabUnstyledOwnProps> & {
@@ -251,6 +251,6 @@ export declare const KoineTabs: ((props: Pick<import("type-fest/source/simplify"
251
251
  }, "className"> & import("react").RefAttributes<import("react").ForwardRefExoticComponent<Pick<{
252
252
  className?: string | undefined;
253
253
  ref?: import("react").Ref<any> | undefined;
254
- }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled/TabPanelUnstyledProps").TabPanelUnstyledTypeMap<{}, "div">>>>>>;
254
+ }, "className"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/base/TabPanelUnstyled").TabPanelUnstyledTypeMap<{}, "div">>>>>>;
255
255
  };
256
256
  };
@@ -27,7 +27,7 @@ exports.Body = "div";
27
27
  // Body: _Body,
28
28
  // ...props
29
29
  // }: KoineDialogProps) => (
30
- // <Root BackdropComponent={Backdrop} onBackdropClick={props.onClose} {...props}>
30
+ // <Root components={{ Backdrop }} onBackdropClick={props.onClose} {...props}>
31
31
  // <Container $scrollPaper={$scrollPaper}>
32
32
  // <Paper aria-label={title || ""} $scrollPaper={$scrollPaper}>
33
33
  // {title && <Header>{title}</Header>}
@@ -70,7 +70,7 @@ var DialogWithRef = (0, react_1.forwardRef)(function Dialog(_a, ref) {
70
70
  onClose(event, "backdropClick");
71
71
  }
72
72
  };
73
- return ((0, jsx_runtime_1.jsx)(exports.Root, tslib_1.__assign({ BackdropComponent: exports.Backdrop, onClick: handleBackdropClick, onClose: onClose, ref: ref }, props, { children: (0, jsx_runtime_1.jsx)(exports.Container, tslib_1.__assign({ "$scrollPaper": $scrollPaper, onMouseDown: handleMouseDown }, { children: (0, jsx_runtime_1.jsxs)(exports.Paper, tslib_1.__assign({ "aria-label": title || "", "$scrollPaper": $scrollPaper }, { children: [title && (0, jsx_runtime_1.jsx)(exports.Header, { children: title }), (0, jsx_runtime_1.jsx)(exports.Close, tslib_1.__assign({ onClick: onClose }, { children: (0, jsx_runtime_1.jsx)(md_1.MdClear, {}) })), (0, jsx_runtime_1.jsx)(exports.Body, { children: children })] })) })) })));
73
+ return ((0, jsx_runtime_1.jsx)(exports.Root, tslib_1.__assign({ components: { Backdrop: exports.Backdrop }, onClick: handleBackdropClick, onClose: onClose, ref: ref }, props, { children: (0, jsx_runtime_1.jsx)(exports.Container, tslib_1.__assign({ "$scrollPaper": $scrollPaper, onMouseDown: handleMouseDown }, { children: (0, jsx_runtime_1.jsxs)(exports.Paper, tslib_1.__assign({ "aria-label": title || "", "$scrollPaper": $scrollPaper }, { children: [title && (0, jsx_runtime_1.jsx)(exports.Header, { children: title }), (0, jsx_runtime_1.jsx)(exports.Close, tslib_1.__assign({ onClick: onClose }, { children: (0, jsx_runtime_1.jsx)(md_1.MdClear, {}) })), (0, jsx_runtime_1.jsx)(exports.Body, { children: children })] })) })) })));
74
74
  });
75
75
  exports.KoineDialog = (0, helpers_1.extendComponent)(DialogWithRef, {
76
76
  Root: exports.Root,
@@ -40,7 +40,7 @@ var Dialog = (0, react_1.forwardRef)(function Dialog(_a, ref) {
40
40
  onClose(event, "backdropClick");
41
41
  }
42
42
  };
43
- return ((0, jsx_runtime_1.jsx)(Root, tslib_1.__assign({ keepMounted: true, BackdropComponent: BackdropMotion, onClick: handleBackdropClick, onClose: onClose, ref: ref }, props, { style: (0, index_1.mRootStyle)(props) }, { children: (0, jsx_runtime_1.jsx)(Container, tslib_1.__assign({ "$scrollPaper": $scrollPaper, onMouseDown: handleMouseDown }, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { children: props.open && (
43
+ return ((0, jsx_runtime_1.jsx)(Root, tslib_1.__assign({ keepMounted: true, components: { Backdrop: BackdropMotion }, onClick: handleBackdropClick, onClose: onClose, ref: ref }, props, { style: (0, index_1.mRootStyle)(props) }, { children: (0, jsx_runtime_1.jsx)(Container, tslib_1.__assign({ "$scrollPaper": $scrollPaper, onMouseDown: handleMouseDown }, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { children: props.open && (
44
44
  // @ts-expect-error framer props collision...
45
45
  (0, jsx_runtime_1.jsxs)(Paper, tslib_1.__assign({}, mPaper, { "aria-label": title || "", "$scrollPaper": $scrollPaper }, { children: [title && (0, jsx_runtime_1.jsx)(Header, { children: title }), (0, jsx_runtime_1.jsx)(Close, tslib_1.__assign({ onClick: onClose }, { children: (0, jsx_runtime_1.jsx)(md_1.MdClear, {}) })), (0, jsx_runtime_1.jsx)(Body, { children: children })] }))) }) })) })));
46
46
  });
@@ -11,30 +11,13 @@ exports.FieldRoot = (0, styled_components_1.default)(exports.FieldBase)(template
11
11
  return (p.$danger &&
12
12
  "\n color: var(--danger);\n \n textarea,\n input,\n select {\n color: var(--danger);\n }\n ");
13
13
  });
14
- /**
15
- * Yup's errors produce by these validations:
16
- *
17
- * ```
18
- * email: string().email().required(),
19
- * name: string().required()
20
- * ```
21
- *
22
- * determine the `error.type` of the `FieldError` to be "required" and "email".
23
- * We assume these as standard translations keys without needing to pass
24
- * a string into the validation, e.g. `required("mySpecialKey")`.
25
- */
26
- var YUP_ERROR_TYPES_AS_KEYS = {
27
- required: 1,
28
- email: 1,
29
- };
30
14
  var Field = function (_a) {
31
15
  var name = _a.name, t = _a.t, error = _a.error, errors = _a.errors, children = _a.children, props = tslib_1.__rest(_a, ["name", "t", "error", "errors", "children"]);
32
- var err = errors && name ? errors[name] : error;
16
+ var err = (errors && name ? errors[name] : error);
33
17
  var msg = "";
34
18
  if (err) {
35
19
  if (name && t && err.type !== "plain") {
36
- var translationKey = err.type && YUP_ERROR_TYPES_AS_KEYS[err.type] ? err.type : "";
37
- msg = t("errors.".concat(name, ".").concat(translationKey || err.message));
20
+ msg = t("errors.".concat(name, ".").concat(err.type || err.message));
38
21
  }
39
22
  else {
40
23
  msg = err.message;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.decodeForm = exports.encodeForm = void 0;
4
- var yup_1 = require("yup");
4
+ var yup_1 = require("@kuus/yup");
5
5
  var utils_1 = require("@koine/utils");
6
6
  /**
7
7
  * Encode form
@@ -11,6 +11,8 @@ var utils_1 = require("@koine/utils");
11
11
  *
12
12
  * We skip the names prefixed wth an underscore which are considered programmatic
13
13
  * form data not created by user input.
14
+ *
15
+ * FIXME: types https://github.com/jquense/yup/issues/1700
14
16
  */
15
17
  function encodeForm(validationRules) {
16
18
  var encoded = {};
@@ -27,7 +27,6 @@ exports.Menu = (0, react_1.forwardRef)(function Menu(props, ref) {
27
27
  }).styles;
28
28
  var _c = (0, MenuUnstyled_1.useMenu)({
29
29
  listboxId: id,
30
- // @ts-expect-error fix if we are going to use all this...
31
30
  listboxRef: setPopperElement,
32
31
  // these two make the Tab key behaviour correct, closing the menu on Tab
33
32
  // press and re-focusing the Button trigger element
@@ -68,7 +67,7 @@ exports.Menu = (0, react_1.forwardRef)(function Menu(props, ref) {
68
67
  var childrenProps = { close: close };
69
68
  return children(childrenProps);
70
69
  }, [children, close]);
71
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Button, { ref: buttonRef, id: id, "aria-haspopup": "true", "aria-controls": open ? id : undefined, "aria-expanded": open ? "true" : undefined, onClick: handleButtonClick, onKeyDown: handleButtonKeyDown }), (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { children: open && ((0, jsx_runtime_1.jsx)(ModalUnstyled_1.default, tslib_1.__assign({ BackdropComponent: MenuBackdrop, onClose: close, onBackdropClick: close, open: open }, { children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, tslib_1.__assign({ onClickAway: close }, { children: (0, jsx_runtime_1.jsx)(MenuRoot, tslib_1.__assign({ initial: {
70
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Button, { ref: buttonRef, id: id, "aria-haspopup": "true", "aria-controls": open ? id : undefined, "aria-expanded": open ? "true" : undefined, onClick: handleButtonClick, onKeyDown: handleButtonKeyDown }), (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { children: open && ((0, jsx_runtime_1.jsx)(ModalUnstyled_1.default, tslib_1.__assign({ components: { Backdrop: MenuBackdrop }, onClose: close, onBackdropClick: close, open: open }, { children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, tslib_1.__assign({ onClickAway: close }, { children: (0, jsx_runtime_1.jsx)(MenuRoot, tslib_1.__assign({ initial: {
72
71
  opacity: 0,
73
72
  }, animate: {
74
73
  opacity: 1,
package/package.json CHANGED
@@ -6,22 +6,22 @@
6
6
  "dependencies": {},
7
7
  "peerDependencies": {
8
8
  "styled-components": "^5.3.5",
9
- "framer-motion": "^6.3.10",
9
+ "framer-motion": "^6.3.16",
10
10
  "react": "^16.8 || ^17 || ^18",
11
- "@mui/base": "^5.0.0-alpha.83",
12
- "@koine/utils": "1.0.36",
11
+ "@mui/base": "^5.0.0-alpha.87",
12
+ "@koine/utils": "1.0.39",
13
13
  "react-icons": "^4.4.0",
14
14
  "date-fns": "^2.28.0",
15
15
  "react-swipeable": "^7.0.0",
16
- "@tiptap/react": "^2.0.0-beta.109",
17
- "@tiptap/starter-kit": "^2.0.0-beta.185",
18
- "yup": "^0.32.11",
19
- "react-hook-form": "^7.31.3",
20
- "type-fest": "^2.13.0",
16
+ "@tiptap/react": "^2.0.0-beta.114",
17
+ "@tiptap/starter-kit": "^2.0.0-beta.190",
18
+ "@kuus/yup": "^1.0.0-beta.4",
19
+ "react-hook-form": "^7.33.0",
20
+ "type-fest": "^2.14.0",
21
21
  "react-popper": "^2.3.0",
22
22
  "tslib": "^2.4.0"
23
23
  },
24
- "version": "1.0.36",
24
+ "version": "1.0.39",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts"
27
27
  }