@mw-kit/mw-ui 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,6 @@ export interface AbsoluteContainerProps extends CommonProps {
24
24
  ref?: React.Ref<HTMLDivElement>;
25
25
  }
26
26
  export interface ContainerProps extends CommonProps {
27
- position: Position;
28
- firstRender: boolean;
27
+ position: Position | null;
29
28
  }
30
29
  export {};
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ColProps } from './interfaces';
3
+ declare const Col: (props: ColProps) => JSX.Element;
4
+ export default Col;
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import { SpacingOrZero, Spacings } from '../../../../interfaces';
3
+ import { ColorOptions, OpacitiyOptions } from '../../../../theme/interfaces';
4
+ import { HorizontalAligns, VerticalAligns } from '../../interfaces';
5
+ declare type Widths = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto';
6
+ export interface BaseColProps {
7
+ width?: Widths;
8
+ spacing?: SpacingOrZero | Spacings;
9
+ align?: {
10
+ self?: {
11
+ horizontal?: Exclude<HorizontalAligns, 'around' | 'between'>;
12
+ vertical?: VerticalAligns;
13
+ };
14
+ content?: {
15
+ horizontal?: HorizontalAligns;
16
+ vertical?: VerticalAligns;
17
+ };
18
+ text?: 'center' | 'left' | 'right' | 'justify';
19
+ };
20
+ spacingAround?: boolean;
21
+ bordered?: true;
22
+ hover?: true | ColorOptions | [ColorOptions, OpacitiyOptions];
23
+ pointer?: true;
24
+ ellipsis?: true;
25
+ }
26
+ export interface ColProps extends React.HtmlHTMLAttributes<HTMLDivElement>, BaseColProps {
27
+ backgroundColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
28
+ fontColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
29
+ }
30
+ export declare type StyledColProps = Omit<ColProps, 'ellipsis'>;
31
+ export {};
@@ -0,0 +1 @@
1
+ export declare const Col: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").ColProps, "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "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" | "bordered" | "pointer" | "backgroundColor" | "fontColor" | "manifest" | "spacing" | "align" | "spacingAround" | "hover">, never>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ContextInterface } from './interfaces';
3
+ declare const Provider: React.Context<ContextInterface>;
4
+ export declare const useContext: () => ContextInterface;
5
+ export default Provider;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { GridProps } from './interfaces';
3
+ declare const Grid: (props: GridProps) => JSX.Element;
4
+ export default Grid;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { SpacingOrZero, Spacings } from '../../../../interfaces';
3
+ import { BaseColProps } from '../Col/interfaces';
4
+ import { BaseRowProps } from '../Row/interfaces';
5
+ export interface BaseGridProps {
6
+ spacing?: SpacingOrZero | Spacings;
7
+ }
8
+ export interface GridProps extends React.HtmlHTMLAttributes<HTMLDivElement>, BaseGridProps {
9
+ rows?: BaseRowProps;
10
+ cols?: BaseColProps;
11
+ borderless?: true;
12
+ }
13
+ export declare type StyledGridProps = Omit<GridProps, 'cols' | 'rows'>;
14
+ export interface ContextInterface {
15
+ rows: BaseRowProps;
16
+ cols: BaseColProps;
17
+ }
@@ -0,0 +1 @@
1
+ export declare const Grid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").GridProps, "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "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" | "manifest" | "spacing" | "borderless">, never>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ContextInterface } from './interfaces';
3
+ declare const Provider: React.Context<ContextInterface>;
4
+ export declare const useContext: () => ContextInterface;
5
+ export default Provider;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { RowProps } from './interfaces';
3
+ declare const Row: (props: RowProps) => JSX.Element;
4
+ export default Row;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { SpacingOrZero, Spacings } from '../../../../interfaces';
3
+ import { ColorOptions, OpacitiyOptions } from '../../../../theme/interfaces';
4
+ import { HorizontalAligns, VerticalAligns } from '../../interfaces';
5
+ import { BaseColProps } from '../Col/interfaces';
6
+ export declare type Striped = {
7
+ [key in 'even' | 'odd']: ColorOptions | [ColorOptions, OpacitiyOptions];
8
+ };
9
+ export interface BaseRowProps {
10
+ spacing?: SpacingOrZero | Spacings;
11
+ horizontalAlign?: HorizontalAligns;
12
+ verticalAlign?: VerticalAligns;
13
+ spacingAround?: boolean;
14
+ striped?: true | Striped | Omit<Striped, 'even'> | Omit<Striped, 'odd'>;
15
+ borderless?: true;
16
+ hover?: true | ColorOptions | [ColorOptions, OpacitiyOptions];
17
+ }
18
+ export interface RowProps extends React.HtmlHTMLAttributes<HTMLDivElement>, BaseRowProps {
19
+ cols?: BaseColProps;
20
+ backgroundColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
21
+ fontColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
22
+ }
23
+ export declare type StyledRowProps = Omit<RowProps, 'cols'>;
24
+ export interface ContextInterface {
25
+ cols: BaseColProps;
26
+ }
@@ -0,0 +1 @@
1
+ export declare const Row: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").RowProps, "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "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" | "backgroundColor" | "fontColor" | "manifest" | "spacing" | "spacingAround" | "hover" | "borderless" | "horizontalAlign" | "verticalAlign" | "striped">, never>;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const Grid: ((props: import("./components/Grid/interfaces").GridProps) => JSX.Element) & {
3
+ Row: (props: import("./components/Row/interfaces").RowProps) => JSX.Element;
4
+ Col: (props: import("./components/Col/interfaces").ColProps) => JSX.Element;
5
+ };
6
+ export default Grid;
@@ -0,0 +1,2 @@
1
+ export declare type HorizontalAligns = 'left' | 'center' | 'right' | 'around' | 'between';
2
+ export declare type VerticalAligns = 'top' | 'center' | 'bottom';
@@ -12,7 +12,7 @@ export interface RangeProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
12
12
  invalid?: boolean;
13
13
  disabled?: boolean;
14
14
  required?: boolean;
15
- value?: string;
15
+ value: number;
16
16
  width?: string;
17
17
  onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: number) => void;
18
18
  markers?: {
@@ -4,5 +4,6 @@ export interface LoaderProps {
4
4
  bgColor?: string | keyof typeof colors;
5
5
  size?: string;
6
6
  borderSize?: string;
7
- filled?: boolean;
7
+ filled?: true | string | keyof typeof colors;
8
+ zIndex?: number;
8
9
  }
@@ -1,11 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { ModalProps } from './interfaces';
3
- import { ConfirmDelete, ConfirmEdit, Audit } from './templates';
4
- interface ModalInteface {
5
- (props: ModalProps): JSX.Element;
6
- ConfirmDelete: typeof ConfirmDelete;
7
- ConfirmEdit: typeof ConfirmEdit;
8
- Audit: typeof Audit;
9
- }
10
- declare const Modal: ModalInteface;
2
+ declare const Modal: ((props: import("./interfaces").ModalProps) => JSX.Element) & {
3
+ ConfirmDelete: (props: import("./templates/ConfirmDelete/interfaces").ConfirmDeleteProps) => JSX.Element;
4
+ ConfirmEdit: (props: import("./templates/ConfirmEdit/interfaces").ConfirmSuccessProps) => JSX.Element;
5
+ Audit: (props: import("./templates/Audit/interfaces").AuditProps) => JSX.Element;
6
+ };
11
7
  export default Modal;
@@ -19,3 +19,4 @@ export { default as MwZoom } from './Zoom';
19
19
  export { default as MwEllipsisContainer } from './EllipsisContainer';
20
20
  export { default as MwFilters } from './Filters/Filters';
21
21
  export { default as MwAppliedFilters } from './Filters/AppliedFilters';
22
+ export { default as MwGrid } from './Grid';
@@ -1,2 +1,3 @@
1
1
  export declare const stripAccents: (value: string) => string;
2
2
  export declare const isKeyOf: <T>(object: T, key: string | number | symbol) => key is keyof T;
3
+ export declare const isObject: <T = unknown>(value: unknown) => value is T;
@@ -22,3 +22,4 @@ export declare const dateToIsoString: (date: Date) => string;
22
22
  export declare const isoStringToDate: (value: string) => Date | null;
23
23
  export { stripAccents } from './common';
24
24
  export declare const getSpacings: (value: SpacingOrZero | Spacings, defaults?: "s1" | "s2" | "s3" | "s4" | "s5" | "s6" | "0" | Spacings | undefined) => string;
25
+ export declare const clone: <T>(value: T) => T;
@@ -2,7 +2,6 @@
2
2
  export declare const notEmptyString: (value: unknown) => value is string;
3
3
  export declare const isNumber: (value: unknown) => value is number;
4
4
  export declare const isNumeric: (value: unknown) => value is import("react").Key;
5
- export declare const isObject: <T = unknown>(value: unknown) => value is T;
6
5
  export declare const isBoolean: (value: unknown) => value is boolean;
7
6
  export declare const isNumericString: (value: unknown) => value is string;
8
7
  export declare const isString: (value: unknown) => value is string;
@@ -15,4 +14,4 @@ export declare const strCmp: (x: string, y: string, options?: {
15
14
  contain?: boolean;
16
15
  }) => boolean;
17
16
  export declare const isValidEmail: (value: string) => boolean;
18
- export { isKeyOf } from './common';
17
+ export { isObject, isKeyOf } from './common';