@mw-kit/mw-ui 1.3.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.
Files changed (47) hide show
  1. package/dist/components/AbsoluteContainer/index.d.ts +2 -2
  2. package/dist/components/AbsoluteContainer/interfaces.d.ts +2 -3
  3. package/dist/components/Calendar/styles.d.ts +1 -1
  4. package/dist/components/Filters/AppliedFilters/index.d.ts +4 -0
  5. package/dist/components/Filters/AppliedFilters/interfaces.d.ts +7 -0
  6. package/dist/components/Filters/AppliedFilters/styles.d.ts +5 -0
  7. package/dist/components/{FilterMenu → Filters/Filters}/components/Submenu/components/Header/index.d.ts +0 -0
  8. package/dist/components/{FilterMenu → Filters/Filters}/components/Submenu/components/Header/interfaces.d.ts +1 -1
  9. package/dist/components/{FilterMenu → Filters/Filters}/components/Submenu/components/Header/styles.d.ts +0 -0
  10. package/dist/components/{FilterMenu → Filters/Filters}/components/Submenu/index.d.ts +0 -0
  11. package/dist/components/{FilterMenu → Filters/Filters}/components/Submenu/interfaces.d.ts +2 -1
  12. package/dist/components/{FilterMenu → Filters/Filters}/components/Submenu/styles.d.ts +0 -0
  13. package/dist/components/Filters/Filters/index.d.ts +4 -0
  14. package/dist/components/{FilterMenu → Filters/Filters}/interfaces.d.ts +3 -21
  15. package/dist/components/Filters/interfaces.d.ts +20 -0
  16. package/dist/components/Grid/components/Col/index.d.ts +4 -0
  17. package/dist/components/Grid/components/Col/interfaces.d.ts +31 -0
  18. package/dist/components/Grid/components/Col/styles.d.ts +1 -0
  19. package/dist/components/Grid/components/Grid/context.d.ts +5 -0
  20. package/dist/components/Grid/components/Grid/index.d.ts +4 -0
  21. package/dist/components/Grid/components/Grid/interfaces.d.ts +17 -0
  22. package/dist/components/Grid/components/Grid/styles.d.ts +1 -0
  23. package/dist/components/Grid/components/Row/context.d.ts +5 -0
  24. package/dist/components/Grid/components/Row/index.d.ts +4 -0
  25. package/dist/components/Grid/components/Row/interfaces.d.ts +26 -0
  26. package/dist/components/Grid/components/Row/styles.d.ts +1 -0
  27. package/dist/components/Grid/index.d.ts +6 -0
  28. package/dist/components/Grid/interfaces.d.ts +2 -0
  29. package/dist/components/Input/components/Range/interfaces.d.ts +1 -1
  30. package/dist/components/Input/components/Select/interfaces.d.ts +4 -1
  31. package/dist/components/Loader/interfaces.d.ts +2 -1
  32. package/dist/components/Menu/interfaces.d.ts +7 -7
  33. package/dist/components/Menu/styles.d.ts +1 -1
  34. package/dist/components/Modal/index.d.ts +5 -9
  35. package/dist/components/index.d.ts +3 -1
  36. package/dist/functions/common.d.ts +1 -0
  37. package/dist/functions/formatters.d.ts +1 -0
  38. package/dist/functions/validators.d.ts +1 -2
  39. package/dist/index.js +514 -99
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.modern.js +513 -100
  42. package/dist/index.modern.js.map +1 -1
  43. package/dist/interfaces.d.ts +1 -1
  44. package/dist/theme/constants.d.ts +2 -15
  45. package/dist/theme/interfaces.d.ts +15 -2
  46. package/package.json +1 -1
  47. package/dist/components/FilterMenu/index.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { AbsoluteContainerProps } from './interfaces';
3
- export declare const AbsoluteContainer: (props: AbsoluteContainerProps) => JSX.Element;
3
+ export declare const AbsoluteContainer: React.ForwardRefExoticComponent<Pick<AbsoluteContainerProps, "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" | "position" | "axis" | "center" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex"> & React.RefAttributes<HTMLDivElement>>;
4
4
  export default AbsoluteContainer;
@@ -21,10 +21,9 @@ export interface AbsoluteContainerProps extends CommonProps {
21
21
  x: number;
22
22
  y: number;
23
23
  };
24
- disableAutoPosition?: boolean;
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 {};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const AbsoluteContainer: import("styled-components").StyledComponent<(props: import("../AbsoluteContainer/interfaces").AbsoluteContainerProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const AbsoluteContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("../AbsoluteContainer/interfaces").AbsoluteContainerProps, "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" | "position" | "axis" | "center" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
4
4
  export declare const Footer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
5
  export declare const MonthContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
6
  export declare const NavBtn: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { AppliedFiltersProps } from './interfaces';
3
+ declare const AppliedFilters: (props: AppliedFiltersProps) => JSX.Element;
4
+ export default AppliedFilters;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { AppliedFilter } from '../interfaces';
3
+ export interface AppliedFiltersProps {
4
+ open: boolean;
5
+ close: () => void;
6
+ appliedFilters: [AppliedFilter[], React.Dispatch<React.SetStateAction<AppliedFilter[]>>];
7
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("../../AbsoluteContainer/interfaces").AbsoluteContainerProps, "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" | "position" | "axis" | "center" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const Item: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ElementOrString } from '../../../../../../interfaces';
2
+ import { ElementOrString } from '../../../../../../../interfaces';
3
3
  export interface HeaderProps {
4
4
  search: [string, React.Dispatch<React.SetStateAction<string>>];
5
5
  title: string | {
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { AppliedFilter, Filter } from '../../interfaces';
2
+ import { AppliedFilter } from '../../../interfaces';
3
+ import { Filter } from '../../interfaces';
3
4
  export interface SubmenuProps {
4
5
  item: Filter;
5
6
  close: () => void;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { FiltersProps } from './interfaces';
3
+ declare const Filters: (props: FiltersProps) => JSX.Element;
4
+ export default Filters;
@@ -1,24 +1,6 @@
1
1
  import React from 'react';
2
- import { ElementOrString, SpacingOrZero } from '../../interfaces';
3
- export interface AppliedFilter {
4
- /** nome da chave do filtro */
5
- name: string;
6
- /** labels do filtro */
7
- labels: {
8
- /** label do filtro */
9
- filter: {
10
- text: string;
11
- element: ElementOrString;
12
- };
13
- /** label da opcao escolhida */
14
- option: {
15
- text: string;
16
- element: ElementOrString;
17
- };
18
- };
19
- /** valor da opcao escolhida */
20
- value: string | number | boolean;
21
- }
2
+ import { ElementOrString, SpacingOrZero } from '../../../interfaces';
3
+ import { AppliedFilter } from '../interfaces';
22
4
  export interface Option {
23
5
  /** label da opcao */
24
6
  label: string | {
@@ -56,7 +38,7 @@ export interface Filter {
56
38
  /** espacamento das opcoes deste filtro, default s1 */
57
39
  optionSpacing?: SpacingOrZero;
58
40
  }
59
- export interface FilterMenuProps {
41
+ export interface FiltersProps {
60
42
  open: boolean;
61
43
  items: Filter[];
62
44
  close: () => void;
@@ -0,0 +1,20 @@
1
+ import { ElementOrString } from '../../interfaces';
2
+ export interface AppliedFilter {
3
+ /** nome da chave do filtro */
4
+ name: string;
5
+ /** labels do filtro */
6
+ labels: {
7
+ /** label do filtro */
8
+ filter: {
9
+ text: string;
10
+ element: ElementOrString;
11
+ };
12
+ /** label da opcao escolhida */
13
+ option: {
14
+ text: string;
15
+ element: ElementOrString;
16
+ };
17
+ };
18
+ /** valor da opcao escolhida */
19
+ value: string | number | boolean;
20
+ }
@@ -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?: {
@@ -20,9 +20,12 @@ export declare type Loader = (search: string, page: number) => Promise<LoaderRet
20
20
  interface CommonProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'setValue' | 'name' | 'value' | 'onChange'> {
21
21
  onScrollEnd?: () => Promise<void>;
22
22
  position?: Position;
23
- disableAutoPosition?: boolean;
24
23
  loader: Loader;
25
24
  search?: boolean;
25
+ center?: {
26
+ x: number;
27
+ y: number;
28
+ };
26
29
  }
27
30
  export interface OneSelectProps extends CommonProps {
28
31
  type: 'select';
@@ -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,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ElementOrString, SpacingOrZero, Spacings } from '../../interfaces';
3
3
  import { AbsoluteContainerProps } from '../AbsoluteContainer/interfaces';
4
4
  interface CommonOption {
@@ -37,11 +37,6 @@ export interface CommonProps extends Omit<AbsoluteContainerProps, 'children'> {
37
37
  bordered?: boolean;
38
38
  containerSpacing?: SpacingOrZero | Omit<Spacings, 'right'>;
39
39
  itemSpacing?: SpacingOrZero | Spacings;
40
- scrollSpacing?: SpacingOrZero | Spacings;
41
- onScrollEnd?: () => void;
42
- before?: ElementOrString;
43
- after?: ElementOrString;
44
- scrollHeight?: string;
45
40
  children?: JSX.Element | (string & (string | JSX.Element | undefined)) | null;
46
41
  }
47
42
  export interface MenuProps<T = undefined> extends CommonProps {
@@ -50,9 +45,14 @@ export interface MenuProps<T = undefined> extends CommonProps {
50
45
  options: Option<T>[];
51
46
  loading?: boolean;
52
47
  innerContent?: ElementOrString;
48
+ scrollSpacing?: SpacingOrZero | Spacings;
49
+ onScrollEnd?: () => void;
50
+ before?: ElementOrString;
51
+ after?: ElementOrString;
52
+ scrollHeight?: string;
53
53
  }
54
54
  export declare type ContainerProps = CommonProps;
55
- export declare type MenuInterface = <T = undefined>(props: MenuProps<T>) => JSX.Element;
55
+ export declare type MenuInterface = <T = undefined>(props: MenuProps<T>, ref?: React.ForwardedRef<HTMLDivElement>) => JSX.Element;
56
56
  export interface StyledOptionProps extends React.HTMLAttributes<HTMLDivElement> {
57
57
  disabled?: boolean;
58
58
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { StyledOptionProps } from './interfaces';
3
3
  export declare const Option: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledOptionProps, never>;
4
- export declare const Container: import("styled-components").StyledComponent<(props: import("../AbsoluteContainer/interfaces").AbsoluteContainerProps) => JSX.Element, import("styled-components").DefaultTheme, import("./interfaces").CommonProps, never>;
4
+ export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("../AbsoluteContainer/interfaces").AbsoluteContainerProps, "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" | "position" | "axis" | "center" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, import("./interfaces").CommonProps, never>;
5
5
  export declare const Delimiter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -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;
@@ -17,4 +17,6 @@ export { default as MwCalendarInterval } from './CalendarInterval';
17
17
  export { default as MwPlaceholder } from './Placeholder';
18
18
  export { default as MwZoom } from './Zoom';
19
19
  export { default as MwEllipsisContainer } from './EllipsisContainer';
20
- export { default as MwFilterMenu } from './FilterMenu';
20
+ export { default as MwFilters } from './Filters/Filters';
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';