@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.
- package/dist/components/AbsoluteContainer/interfaces.d.ts +1 -2
- package/dist/components/Grid/components/Col/index.d.ts +4 -0
- package/dist/components/Grid/components/Col/interfaces.d.ts +31 -0
- package/dist/components/Grid/components/Col/styles.d.ts +1 -0
- package/dist/components/Grid/components/Grid/context.d.ts +5 -0
- package/dist/components/Grid/components/Grid/index.d.ts +4 -0
- package/dist/components/Grid/components/Grid/interfaces.d.ts +17 -0
- package/dist/components/Grid/components/Grid/styles.d.ts +1 -0
- package/dist/components/Grid/components/Row/context.d.ts +5 -0
- package/dist/components/Grid/components/Row/index.d.ts +4 -0
- package/dist/components/Grid/components/Row/interfaces.d.ts +26 -0
- package/dist/components/Grid/components/Row/styles.d.ts +1 -0
- package/dist/components/Grid/index.d.ts +6 -0
- package/dist/components/Grid/interfaces.d.ts +2 -0
- package/dist/components/Input/components/Range/interfaces.d.ts +1 -1
- package/dist/components/Loader/interfaces.d.ts +2 -1
- package/dist/components/Modal/index.d.ts +5 -9
- package/dist/components/index.d.ts +1 -0
- package/dist/functions/common.d.ts +1 -0
- package/dist/functions/formatters.d.ts +1 -0
- package/dist/functions/validators.d.ts +1 -2
- package/dist/index.js +325 -49
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +325 -50
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,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,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;
|
|
@@ -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
|
|
15
|
+
value: number;
|
|
16
16
|
width?: string;
|
|
17
17
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: number) => void;
|
|
18
18
|
markers?: {
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
(props:
|
|
6
|
-
|
|
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';
|
|
@@ -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';
|