@mw-kit/mw-ui 1.7.61 → 1.7.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ColProps } from './interfaces';
3
- declare const Col: (props: ColProps) => JSX.Element;
3
+ declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>;
4
4
  export default Col;
@@ -23,7 +23,7 @@ export interface BaseColProps {
23
23
  pointer?: true;
24
24
  ellipsis?: true;
25
25
  }
26
- export interface ColProps extends React.HtmlHTMLAttributes<HTMLDivElement>, BaseColProps {
26
+ export interface ColProps extends React.HTMLAttributes<HTMLDivElement>, BaseColProps {
27
27
  backgroundColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
28
28
  fontColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
29
29
  }
@@ -1 +1 @@
1
- export declare const Col: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").ColProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "pointer" | "spacing" | "manifest" | "align" | "bordered" | "backgroundColor" | "fontColor" | "spacingAround" | "hover">, never>;
1
+ export declare const Col: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").ColProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "pointer" | "spacing" | "align" | "bordered" | "backgroundColor" | "fontColor" | "spacingAround" | "hover">, never>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { GridProps } from './interfaces';
3
- declare const Grid: (props: GridProps) => JSX.Element;
3
+ declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
4
4
  export default Grid;
@@ -5,7 +5,7 @@ import { BaseRowProps } from '../Row/interfaces';
5
5
  export interface BaseGridProps {
6
6
  spacing?: SpacingOrZero | Spacings;
7
7
  }
8
- export interface GridProps extends React.HtmlHTMLAttributes<HTMLDivElement>, BaseGridProps {
8
+ export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, BaseGridProps {
9
9
  rows?: BaseRowProps;
10
10
  cols?: BaseColProps;
11
11
  borderless?: true;
@@ -1 +1 @@
1
- export declare const Grid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").GridProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spacing" | "manifest" | "borderless">, never>;
1
+ export declare const Grid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").GridProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spacing" | "borderless">, never>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { RowProps } from './interfaces';
3
- declare const Row: (props: RowProps) => JSX.Element;
3
+ declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
4
4
  export default Row;
@@ -15,7 +15,7 @@ export interface BaseRowProps {
15
15
  borderless?: true;
16
16
  hover?: true | ColorOptions | [ColorOptions, OpacitiyOptions];
17
17
  }
18
- export interface RowProps extends React.HtmlHTMLAttributes<HTMLDivElement>, BaseRowProps {
18
+ export interface RowProps extends React.HTMLAttributes<HTMLDivElement>, BaseRowProps {
19
19
  cols?: BaseColProps;
20
20
  backgroundColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
21
21
  fontColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
@@ -1 +1 @@
1
- export declare const Row: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").RowProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spacing" | "manifest" | "borderless" | "backgroundColor" | "fontColor" | "spacingAround" | "hover" | "horizontalAlign" | "verticalAlign" | "striped">, never>;
1
+ export declare const Row: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<import("./interfaces").RowProps, "hidden" | "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spacing" | "borderless" | "backgroundColor" | "fontColor" | "horizontalAlign" | "verticalAlign" | "spacingAround" | "striped" | "hover">, never>;
@@ -1,6 +1,6 @@
1
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;
2
+ declare const Grid: import("react").ForwardRefExoticComponent<import("./components/Grid/interfaces").GridProps & import("react").RefAttributes<HTMLDivElement>> & {
3
+ Row: import("react").ForwardRefExoticComponent<import("./components/Row/interfaces").RowProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ Col: import("react").ForwardRefExoticComponent<import("./components/Col/interfaces").ColProps & import("react").RefAttributes<HTMLDivElement>>;
5
5
  };
6
6
  export default Grid;
@@ -1,4 +1,6 @@
1
- declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
1
+ declare type InputProps = {
2
2
  $activeBullet: boolean;
3
- }, never>;
3
+ $bulletSize: number;
4
+ };
5
+ declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, InputProps, never>;
4
6
  export default Input;
@@ -1,5 +1,6 @@
1
1
  declare type NavBarProps = {
2
- position: 'bottom' | 'top';
2
+ $position: 'bottom' | 'top';
3
+ $strict: boolean | undefined;
3
4
  };
4
5
  declare const NavBar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, NavBarProps, never>;
5
6
  export default NavBar;
package/dist/index.js CHANGED
@@ -15605,18 +15605,21 @@ var Switch = function Switch(props) {
15605
15605
  };
15606
15606
 
15607
15607
  var _templateObject$q, _templateObject2$m;
15608
- var bullet = styled.css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", ";\n height: ", ";\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n box-shadow: 0px 1px 3px ", ";\n\n background-color: ", ";\n\n transition: background-color 0.2s ease-in-out;\n"])), function (_ref) {
15609
- var theme = _ref.theme;
15610
- return theme.spacings.s4;
15608
+ var bullet = styled.css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", "px;\n height: ", "px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n\n box-shadow: 0px 1px 3px ", ";\n box-sizing: border-box;\n\n background-color: ", ";\n\n transition: background-color 0.2s ease-in-out;\n"])), function (_ref) {
15609
+ var bulletSize = _ref.$bulletSize;
15610
+ return bulletSize;
15611
15611
  }, function (_ref2) {
15612
- var theme = _ref2.theme;
15613
- return theme.spacings.s4;
15612
+ var bulletSize = _ref2.$bulletSize;
15613
+ return bulletSize;
15614
15614
  }, function (_ref3) {
15615
15615
  var theme = _ref3.theme;
15616
- return theme.getColor('black', 10);
15616
+ return theme.colors.platinum;
15617
15617
  }, function (_ref4) {
15618
- var theme = _ref4.theme,
15619
- activeBullet = _ref4.$activeBullet;
15618
+ var theme = _ref4.theme;
15619
+ return theme.getColor('black', 10);
15620
+ }, function (_ref5) {
15621
+ var theme = _ref5.theme,
15622
+ activeBullet = _ref5.$activeBullet;
15620
15623
  return theme.colors[activeBullet ? 'blue' : 'white'];
15621
15624
  });
15622
15625
  var Input$2 = styled__default.input(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: 100%;\n height: 10px;\n background-color: transparent;\n outline: none;\n position: relative;\n z-index: 3;\n margin: 0;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n /** firefox */\n ::-moz-range-thumb {\n ", "\n }\n /** ie */\n ::-ms-thumb {\n ", "\n }\n /** chrome */\n ::-webkit-slider-thumb {\n ", "\n }\n"])), bullet, bullet, bullet);
@@ -15649,47 +15652,26 @@ var LabelContainer$4 = styled__default.div(_templateObject$t || (_templateObject
15649
15652
  });
15650
15653
 
15651
15654
  var _templateObject$u, _templateObject2$o, _templateObject3$j;
15652
- var NavBar = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 2;\n\n left: 0;\n width: 100%;\n height: calc(33px + ", ");\n transition: height 0.25s ease-in-out;\n overflow: hidden;\n\n ", "\n\n > div:nth-child(1) {\n position: absolute;\n z-index: 2;\n\n width: 100px;\n background-color: ", ";\n color: ", ";\n padding: ", ";\n border-radius: 4px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n > div:nth-child(2) {\n position: absolute;\n\n width: ", ";\n height: ", ";\n border-radius: 2px 0 0 0;\n\n transform: rotate(45deg);\n\n background-color: ", ";\n }\n"])), function (_ref) {
15655
+ var NavBar = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 2;\n\n left: 0;\n width: 100%;\n height: calc(33px + ", ");\n transition: height 0.25s ease-in-out;\n overflow: hidden;\n\n ", "\n\n > div:nth-child(1) {\n position: absolute;\n z-index: 2;\n\n width: 93px;\n /* height: 30px; */\n padding: 9px 7px;\n font-size: 13px;\n line-height: 16px;\n border-radius: 1px;\n\n background-color: ", ";\n color: ", ";\n padding: ", ";\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n > div:nth-child(2) {\n position: absolute;\n width: 0px;\n height: 0px;\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-top: 5px solid ", ";\n }\n"])), function (_ref) {
15653
15656
  var theme = _ref.theme;
15654
15657
  return theme.spacings.s3;
15655
15658
  }, function (_ref2) {
15656
- var position = _ref2.position;
15657
- return position === 'bottom' ? styled.css(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n bottom: calc(100% + ", ");\n > div:nth-child(1) {\n bottom: ", ";\n }\n\n > div:nth-child(2) {\n top: calc(\n (100% - 19.8px / 2) - ", "\n );\n }\n "])), function (_ref3) {
15658
- var theme = _ref3.theme;
15659
- return theme.spacings.s1;
15660
- }, function (_ref4) {
15661
- var theme = _ref4.theme;
15662
- return theme.spacings.s1;
15663
- }, function (_ref5) {
15664
- var theme = _ref5.theme;
15665
- return theme.spacings.s1;
15666
- }) : styled.css(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n top: calc(100% + ", ");\n > div:nth-child(1) {\n top: ", ";\n }\n\n > div:nth-child(2) {\n bottom: calc(\n (100% - 19.8px / 2) - ", "\n );\n }\n "])), function (_ref6) {
15667
- var theme = _ref6.theme;
15668
- return theme.spacings.s1;
15669
- }, function (_ref7) {
15670
- var theme = _ref7.theme;
15671
- return theme.spacings.s1;
15672
- }, function (_ref8) {
15673
- var theme = _ref8.theme;
15674
- return theme.spacings.s1;
15675
- });
15676
- }, function (_ref9) {
15677
- var theme = _ref9.theme;
15659
+ var theme = _ref2.theme,
15660
+ position = _ref2.$position,
15661
+ strict = _ref2.$strict;
15662
+ var distance = strict ? "calc(" + theme.spacings.s1 + " / 2)" : '0px';
15663
+ return position === 'bottom' ? styled.css(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n bottom: calc(100% + ", ");\n > div:nth-child(1) {\n bottom: ", ";\n }\n\n > div:nth-child(2) {\n top: calc(100% - 7px);\n }\n "])), distance, theme.spacings.s1) : styled.css(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n top: calc(100% + ", ");\n > div:nth-child(1) {\n top: ", ";\n }\n\n > div:nth-child(2) {\n bottom: calc(100% - 7px);\n transform: rotate(180deg);\n }\n "])), distance, theme.spacings.s1);
15664
+ }, function (_ref3) {
15665
+ var theme = _ref3.theme;
15678
15666
  return theme.colors.blue;
15679
- }, function (_ref10) {
15680
- var theme = _ref10.theme;
15667
+ }, function (_ref4) {
15668
+ var theme = _ref4.theme;
15681
15669
  return theme.colors.white;
15682
- }, function (_ref11) {
15683
- var theme = _ref11.theme;
15670
+ }, function (_ref5) {
15671
+ var theme = _ref5.theme;
15684
15672
  return theme.spacings.s1;
15685
- }, function (_ref12) {
15686
- var theme = _ref12.theme;
15687
- return theme.spacings.s3;
15688
- }, function (_ref13) {
15689
- var theme = _ref13.theme;
15690
- return theme.spacings.s3;
15691
- }, function (_ref14) {
15692
- var theme = _ref14.theme;
15673
+ }, function (_ref6) {
15674
+ var theme = _ref6.theme;
15693
15675
  return theme.colors.blue;
15694
15676
  });
15695
15677
 
@@ -15728,10 +15710,10 @@ var LabelsContainer = styled__default.div(_templateObject$y || (_templateObject$
15728
15710
  var position = _ref.position;
15729
15711
 
15730
15712
  if (position === 'bottom') {
15731
- return styled.css(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 10.5px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15713
+ return styled.css(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 10px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15732
15714
  }
15733
15715
 
15734
- return styled.css(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 8px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15716
+ return styled.css(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 9px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15735
15717
  });
15736
15718
 
15737
15719
  var _templateObject$z;
@@ -15817,12 +15799,18 @@ var getMarkerLeft = function getMarkerLeft(markers, range, index, value, min, st
15817
15799
  return left;
15818
15800
  };
15819
15801
 
15820
- var getBarLeft = function getBarLeft(size, percent) {
15821
- return "min(max(calc(" + percent + "% - " + size / 2 + "px + 22px * " + (size / 2 - percent) / 100 + "), 0%), calc(100% - " + size + "px))";
15802
+ var getLeftCalc = function getLeftCalc(size, bullet, value, min, max) {
15803
+ var percent = (value - min) * 100 / (max - min);
15804
+ var calc = "calc(" + percent + "% - " + bullet * percent / 100 + "px + " + (bullet - size) / 2 + "px)";
15805
+ return calc;
15806
+ };
15807
+
15808
+ var getBarLeft = function getBarLeft(size, calc) {
15809
+ return "min(max(" + calc + ", 0%), calc(100% - " + size + "px))";
15822
15810
  };
15823
15811
 
15824
- var getIndicatorLeft = function getIndicatorLeft(size, percent) {
15825
- return "min(max(calc(((" + percent + "% - " + size / 2 + "px + 22px * " + (size / 2 - percent) / 100 + ")) + (" + size / 2 + "px + 2px)), 0%), calc(100% - " + size + "px))";
15812
+ var getIndicatorLeft = function getIndicatorLeft(size, calc) {
15813
+ return "min(max(" + calc + ", calc(0% - " + size + "px)), calc(100% - " + size + "px))";
15826
15814
  };
15827
15815
 
15828
15816
  var Range = React__default.forwardRef(function (props, ref) {
@@ -15923,6 +15911,7 @@ var Range = React__default.forwardRef(function (props, ref) {
15923
15911
  onChange: onChange,
15924
15912
  value: value
15925
15913
  });
15914
+ var bulletSize = strict === true ? 22 : 14;
15926
15915
  return React__default.createElement(Label$5, {
15927
15916
  required: required ? 1 : 0,
15928
15917
  disabled: disabled ? 1 : 0,
@@ -15935,7 +15924,7 @@ var Range = React__default.forwardRef(function (props, ref) {
15935
15924
  invalid: invalid ? 1 : 0
15936
15925
  }, markers.length > 0 && React__default.createElement(MarkersContainer, null, markers.map(function (marker, index) {
15937
15926
  var left = getMarkerLeft(markers.length, range, index, marker.value, min, strict);
15938
- var bullet = marker.value > currentValue ? 1 : 0;
15927
+ var bullet = strict || marker.value > currentValue && marker.value < max ? 1 : 0;
15939
15928
  return React__default.createElement(Marker, {
15940
15929
  key: index,
15941
15930
  left: left,
@@ -15944,26 +15933,34 @@ var Range = React__default.forwardRef(function (props, ref) {
15944
15933
  })), React__default.createElement("div", null, React__default.createElement(Input$2, Object.assign({
15945
15934
  ref: ref
15946
15935
  }, inputProps, {
15947
- "$activeBullet": (strict === true ? markers[value].value : value) !== 0
15936
+ "$activeBullet": (strict === true ? markers[value].value : value) !== 0,
15937
+ "$bulletSize": bulletSize
15948
15938
  })), React__default.createElement(NavBar, {
15949
- position: position
15939
+ "$position": position,
15940
+ "$strict": strict
15950
15941
  }, React__default.createElement("div", {
15951
15942
  style: {
15952
- left: getBarLeft(100, (value - min) * 100 / (max - min))
15943
+ left: getBarLeft(93, getLeftCalc(93, bulletSize, value, min, max))
15953
15944
  }
15954
15945
  }, React__default.createElement(Icon, {
15955
15946
  type: 'feather',
15956
15947
  icon: 'minus_circle',
15957
15948
  color: 'white',
15958
- onClick: canDecrement ? decrement : undefined
15949
+ onClick: canDecrement ? decrement : undefined,
15950
+ width: '12px',
15951
+ height: '12px',
15952
+ strokeWidth: '2.5px'
15959
15953
  }), currentValue, React__default.createElement(Icon, {
15960
15954
  type: 'feather',
15961
15955
  icon: 'plus_circle',
15962
15956
  color: 'white',
15963
- onClick: canIncrement ? increment : undefined
15957
+ onClick: canIncrement ? increment : undefined,
15958
+ width: '12px',
15959
+ height: '12px',
15960
+ strokeWidth: '2.5px'
15964
15961
  })), React__default.createElement("div", {
15965
15962
  style: {
15966
- left: getIndicatorLeft(14, (value - min) * 100 / (max - min))
15963
+ left: getIndicatorLeft(14, getLeftCalc(14, bulletSize, value, min, max))
15967
15964
  }
15968
15965
  })), React__default.createElement(SelectedArea, {
15969
15966
  percent: percent
@@ -17880,14 +17877,17 @@ var Col = styled__default.div(_templateObject$M || (_templateObject$M = _taggedT
17880
17877
  return styled.css(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
17881
17878
  });
17882
17879
 
17883
- var Col$1 = function Col$1(props) {
17880
+ var Col$1 = React__default.forwardRef(function (props, ref) {
17884
17881
  var context = useContext$2();
17885
17882
 
17886
17883
  var _props = _extends({}, context.cols, props);
17887
17884
 
17888
17885
  var colProps = filterObject(_props, ['ellipsis', 'children']);
17889
- return React__default.createElement(Col, Object.assign({}, colProps), _props.ellipsis ? React__default.createElement(EllipsisContainer$1, null, _props.children) : _props.children);
17890
- };
17886
+ return React__default.createElement(Col, Object.assign({
17887
+ ref: ref
17888
+ }, colProps), _props.ellipsis ? React__default.createElement(EllipsisContainer$1, null, _props.children) : _props.children);
17889
+ });
17890
+ Col$1.displayName = 'Col';
17891
17891
 
17892
17892
  var Provider$3 = React__default.createContext({
17893
17893
  rows: {},
@@ -17910,7 +17910,7 @@ var Grid = styled__default.div(_templateObject$N || (_templateObject$N = _tagged
17910
17910
  return styled.css(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
17911
17911
  });
17912
17912
 
17913
- var Grid$1 = function Grid$1(props) {
17913
+ var Grid$1 = React__default.forwardRef(function (props, ref) {
17914
17914
  var cols = props.cols || {};
17915
17915
  var rows = props.rows || {};
17916
17916
  var gridProps = filterObject(props, ['cols', 'rows']);
@@ -17919,8 +17919,11 @@ var Grid$1 = function Grid$1(props) {
17919
17919
  rows: rows,
17920
17920
  cols: cols
17921
17921
  }
17922
- }, React__default.createElement(Grid, Object.assign({}, gridProps)));
17923
- };
17922
+ }, React__default.createElement(Grid, Object.assign({
17923
+ ref: ref
17924
+ }, gridProps)));
17925
+ });
17926
+ Grid$1.displayName = 'Grid';
17924
17927
 
17925
17928
  var _templateObject$O, _templateObject2$B, _templateObject3$u, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a;
17926
17929
  var horizontalAligns = {
@@ -18000,7 +18003,7 @@ var Row = styled__default.div(_templateObject$O || (_templateObject$O = _taggedT
18000
18003
  return styled.css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
18001
18004
  });
18002
18005
 
18003
- var Row$1 = function Row$1(props) {
18006
+ var Row$1 = React__default.forwardRef(function (props, ref) {
18004
18007
  var context = useContext$3();
18005
18008
 
18006
18009
  var cols = _extends({}, props.cols || {}, context.cols);
@@ -18010,8 +18013,11 @@ var Row$1 = function Row$1(props) {
18010
18013
  value: {
18011
18014
  cols: cols
18012
18015
  }
18013
- }, React__default.createElement(Row, Object.assign({}, rowProps)));
18014
- };
18016
+ }, React__default.createElement(Row, Object.assign({
18017
+ ref: ref
18018
+ }, rowProps)));
18019
+ });
18020
+ Row$1.displayName = 'Row';
18015
18021
 
18016
18022
  var Grid$2 = Object.assign(Grid$1, {
18017
18023
  Row: Row$1,