Comparing version 17.0.0-next.7 to 17.0.0-next.8
import * as React from 'react'; | ||
import { GridProps } from './types'; | ||
declare const forwardRef: React.ForwardRefExoticComponent<Pick<Partial<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & GridProps & { | ||
ref: React.Ref<HTMLDivElement>; | ||
}>, "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "margin" | "padding" | "show" | "children" | "align" | "className" | "direction" | "justify" | "size" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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"> & React.RefAttributes<HTMLDivElement>>; | ||
declare const forwardRef: React.ForwardRefExoticComponent<Pick<Partial<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & GridProps>, "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "margin" | "padding" | "show" | "children" | "align" | "className" | "direction" | "justify" | "size" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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"> & React.RefAttributes<HTMLDivElement>>; | ||
export default forwardRef; |
import * as React from 'react'; | ||
import { GridProps } from './types'; | ||
declare const forwardRef: React.ForwardRefExoticComponent<Pick<Partial<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & GridProps & { | ||
ref: React.Ref<HTMLDivElement>; | ||
}>, "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "margin" | "padding" | "show" | "children" | "align" | "className" | "direction" | "justify" | "size" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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"> & React.RefAttributes<HTMLDivElement>>; | ||
declare const forwardRef: React.ForwardRefExoticComponent<Pick<Partial<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & GridProps>, "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "margin" | "padding" | "show" | "children" | "align" | "className" | "direction" | "justify" | "size" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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"> & React.RefAttributes<HTMLDivElement>>; | ||
export default forwardRef; |
@@ -8,2 +8,2 @@ import './cxs'; | ||
export { default as log } from './log'; | ||
export { AlignValues, DisplayAliases, DisplayValues, DirectionValues, GridProps, GridRef, Size, Spacing, SpacingProps, SpacingValues, } from './types.d'; | ||
export { AlignValues, DisplayAliases, DisplayValues, DirectionValues, GridProps, Size, Spacing, SpacingProps, SpacingValues, } from './types.d'; |
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.gymnast=n(require("react")):t.gymnast=n(t.react)}(window,function(t){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=7)}([function(n,e){n.exports=t},function(t,n){},function(t,n,e){t.exports=e(4)},function(t,n){t.exports=function(t){for(var n=-1,e=null==t?0:t.length,r=0,o=[];++n<e;){var i=t[n];i&&(o[r++]=i)}return o}},function(t,n,e){"use strict";var r={},o="_cxs",i=[],a=function(t){return i.push(t)},u=function(t,n){return t.replace(/[A-Z]|^ms/g,"-$&").toLowerCase()+":"+n},c=function(t){var n=function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=[],i=[];for(var a in n){var c=n[a];if(null!==c)if("object"!=typeof c){var l=u(a,c);i.push(l)}else{var f=/^@/.test(a)?a:null;t(c,f?e:e+a.replace(/&/g,""),f).forEach(function(t){return o.push(t)})}}return o.unshift({media:r,child:e,declarations:i}),o}(t),e=[];return n.forEach(function(t){var n=JSON.stringify(t);if(r[n])e.push(r[n]);else{var u=o+i.length.toString(36);e.push(u);var c=function(t){var n=t.className,e=t.child,r=t.media;return function(t,n){return n?n+"{"+t+"}":t}("."+(n+e)+"{"+t.declarations.join(";")+"}",r)}(Object.assign(t,{className:u}));a(c),r[n]=u}}),e.join(" ")};if(t.exports=function(){for(var t=arguments.length,n=Array(t),e=0;e<t;e++)n[e]=arguments[e];return n.map(function(t){return c(t)}).join(" ").trim()},t.exports.css=function(){return i.sort().join("")},t.exports.reset=function(){for(r={};i.length;)i.pop()},t.exports.prefix=function(t){return o=t},"undefined"!=typeof document){var l=document.createElement("style");window&&(l.nonce=window.__webpack_nonce__);var f=document.head.appendChild(l),s=f.sheet;f.id="_cxs_",a=function(t){i.push(t),s.insertRule(t,s.cssRules.length)}}},function(t,n,e){t.exports=e(6)},function(t,n,e){const r=function(t,n){return t[n]=n,t},o={};r(o,"INVALIDSPACING","Invalid spacing property type used, only array, undefined, string or numbers allowed."),r(o,"MIXEDSPACING","You cannot define margin or padding and a direction at the same time."),r(o,"NOMATCHMEDIA",'"window.matchMedia" is not available in your environment, media queries will not work.'),r(o,"TOOMANYSPACEVAL","Invalid Spacing size, only first 4 values used. Spacing values follow CSS syntax, this means you can specify 1, 2, 3 or 4 values but not more."),r(o,"INVALIDLOGLEVEL",'Specified logger log level is invalid. Valid values are: "info", "warn" and "error"'),t.exports=o},function(t,n,e){"use strict";e.r(n);var r=e(2),o=e.n(r);o.a.prefix("gym_");var i=o.a,a=e(0),u=e(3),c=e.n(u),l={base:8,columns:12,displayAliases:{small:[{maxWidth:"599px"},{maxDeviceWidth:"599px"}],medium:[{minWidth:"600px",maxWidth:"899px"},{minDeviceWidth:"600px",maxDeviceWidth:"899px"}],large:[{minWidth:"900px"},{minDeviceWidth:"900px"}]},gutter:3,spacingAliases:{XS:.5,"S/2":.5,S:1,"M/2":1,M:2,"L/2":1.5,L:3,"XL/2":2,XL:4,"2XL/2":3,"2XL":6},verticalGutter:3},f=e(5),s=["info","warn","error"],p=0,d=console,y={info:function(){var t;return p<=0&&(t=d).info.apply(t,arguments)},warn:function(){var t;return p<=1&&(t=d).warn.apply(t,arguments)},error:function(){var t;return p<=2&&(t=d).error.apply(t,arguments)},setLevel:function(t){var n=s.indexOf(t);n>=0?p=n:y.error(f.INVALIDLOGLEVEL,t)},setLogger:function(t){d=t}},g=y;function b(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function v(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){h(t,n,e[n])})}return t}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var O=function(t){return void 0!==t},w=/(?:(?:\s+)?,(?:\s+)?|\s+)/,j=function(t){return t.replace(/^[A-Z]/,function(t){return t.toLowerCase()}).replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})};function S(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(!n||!n.length)return{};var r=[];switch(n.length){case 1:r=[n[0],n[0],n[0],n[0]];break;case 2:r=[n[0],n[1],n[0],n[1]];break;case 3:r=[n[0],n[1],n[2],n[1]];break;case 4:r=n;break;default:g.error(f.TOOMANYSPACEVAL,'"'.concat(JSON.stringify(n),'" used')),r=n}return h(t={},"".concat(e,"Top"),r[0]),h(t,"".concat(e,"Right"),r[1]),h(t,"".concat(e,"Bottom"),r[2]),h(t,"".concat(e,"Left"),r[3]),t}function x(t,n,e){var r="number"==typeof n?n:parseFloat(n||"0");return t&&void 0!==n?t.includes("padding")?h({},t,r*e):h({},"".concat(t.replace("margin","border"),"Width"),r*e):{}}function A(t,n){if(void 0!==t){if("number"==typeof t)return[t];var e;if(t instanceof Array?e=t:"string"==typeof t&&(e=t.split(w)),e)return E(e,n).map(function(t){return parseFloat("".concat(t))});g.error(f.INVALIDSPACING,'"'.concat(m(t),'" used'))}}function P(t,n){return n&&"string"==typeof t&&t in n?n[t]:t}function E(t,n){return t.map(function(t){return P(t,n)})}function k(t){var n=t.spacingProps,e=t.base,r=t.spacingAliases,o=t.gutter,i=void 0===o?l.gutter:o,a=t.verticalGutter,u=void 0===a?l.verticalGutter:a,c=v({},l.spacingAliases,r,{gutter:i,"gutter/2":i/2,verticalGutter:u,"verticalGutter/2":u/2}),f=n.margin,s=n.padding,p=b(n,["margin","padding"]),d=A(f,c),y=A(s,c);v({marginArray:d,paddingArray:y},p);var g=v({},function(t){var n=t.props,e=t.spacingAliases;return Object.keys(n).reduce(function(t,r){return v({},t,h({},r,P(n[r],e)))},{})}({props:p,spacingAliases:c}),S(d,"margin"),S(y,"padding"));return Object.keys(g).reduce(function(t,n){return v({},t,x(n,g[n],e))},{})}function L(t){var n={};return Object.keys(t).forEach(function(e){n[e]=i(t[e])}),n}function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return[arguments.length>2?arguments[2]:void 0,t[n],l[n]].find(O)}function D(t,n){return v({},l,t||{},n||{})}var C=L({grid:{border:"0 transparent solid",boxSizing:"border-box",display:"flex",flexFlow:"row wrap",width:"100%"},fraction:{flexGrow:1},startJustify:{justifyContent:"flex-start",marginRight:"auto"},centerJustify:{justifyContent:"center",marginLeft:"auto",marginRight:"auto"},endJustify:{justifyContent:"flex-end",marginLeft:"auto"},startAlign:{alignContent:"flex-start",alignItems:"flex-start"},centerAlign:{alignContent:"center",alignItems:"center"},endAlign:{alignContent:"flex-end",alignItems:"flex-end"},colAuto:{flexGrow:1,flexShrink:1,flexBasis:"0%"},colFit:{flexGrow:0,flexShrink:0,width:"auto",whiteSpace:"nowrap"},rowDirection:{flexDirection:"row"},columnDirection:{flexDirection:"column"}});function G(t,n){return"auto"===t?C.colAuto:"fit"===t?C.colFit:void 0===t||0===t?C.fraction:i({flexBasis:"".concat(parseInt("".concat(t),10)/n*100,"%"),maxWidth:"".concat(parseInt("".concat(t),10)/n*100,"%")})}var T={},_={};var N=!(!window||!window.matchMedia);function R(t,n,e){if(t&&N){if(M(t,e),t in T)T[t].push({callback:e,alias:n});else{var r=window.matchMedia(t),o=function(t){return function(){T[t].forEach(function(n){var e=n.callback,r=n.alias;return e(_[t].mediaQuery,r)})}}(t);_[t]={mediaQuery:r,allCallbacks:o},T[t]=[{callback:e,alias:n}],r.addListener(o)}e(_[t].mediaQuery,n)}}function M(t,n){N&&t&&t in T&&(T[t]=T[t].filter(function(t){var e=t.callback;return n!==e}),0===T[t].length&&(_[t].mediaQuery.removeListener(_[t].allCallbacks),delete _[t],delete T[t]))}var V=a.createContext(l);function B(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function W(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function z(){return(z=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}var F="default";function J(t){return function(n){return!0===t[n]}}function K(t){var n=function(t){return Object.keys(t).find(J(t))}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return n&&n in t?t[n]:t[F]}function X(t){return"[object Object]"===Object.prototype.toString.call(t)}function Q(t){var n=t.props,e=t.shouldShow,r=t.resolutionKeys,o=void 0===r?[]:r,i=z({},n);return delete i.show,Object.keys(i).forEach(function(t){var n=i[t];X(n)&&o.includes(t)&&(i[t]=K(n,e))}),i}function q(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"@media ",r=n[t];return(Array.isArray(r)?r:[r]).map(function(t){return"".concat(e).concat(Object.keys(t).map(function(n){return"(".concat(j(n),": ").concat(t[n],")")}).join(" and "))}).join(", ")}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return(t instanceof Array?t:t.split(w)).filter(function(t){return t in n}).map(function(t){return[t,q(t,n,"")]}).reduce(function(t,n){var e=W(n,2),r=e[0],o=e[1];return o?function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){B(t,n,e[n])})}return t}({},t,B({},r,o)):t},{})}function Z(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function H(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function $(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function U(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function tt(t){var n=t.show,e=t.resolutionKeys,r=t.context,o=t.props,i=I(r,"displayAliases"),a=n;return!n&&function(t,n){return t.some(function(t){return X(n[t])})}(e,o)&&(a=Object.keys(i)),Y(a,i)}function nt(t){var n=tt(t),e=function(t){if(0!==Object.keys(t).length){var n={};return Object.keys(t).forEach(function(e){n[e]=window.matchMedia(t[e]).matches}),n}}(n),r=U(a.useState(e),2),o=r[0],i=r[1];function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;o&&o[n]!==t.matches&&i(function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){$(t,n,e[n])})}return t}({},o,$({},n,t.matches)))}return a.useEffect(function(){return Object.keys(n).forEach(function(t){R(n[t],t,u)}),function(){return Object.keys(n).forEach(function(t){M(n[t],u)})}},[].concat(H(Object.values(o||{})),[t.show])),o}function et(t,n){if(!(arguments.length>2&&void 0!==arguments[2]?arguments[2]:N))return g.warn(f.NOMATCHMEDIA),[!0,Q({props:n,shouldShow:void 0,resolutionKeys:[]})];var e=a.useContext(V),r=n.show,o=nt({show:r,resolutionKeys:t,context:e,props:Z(n,["show"])});return r&&o&&!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).some(J(t))}(o)?[!1,Q({props:n,shouldShow:void 0,resolutionKeys:[]})]:[!0,Q({props:n,shouldShow:o,resolutionKeys:t})]}function rt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){ot(t,n,e[n])})}return t}function ot(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function it(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function at(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ut=["align","direction","justify","margin","marginBottom","marginLeft","marginRight","marginTop","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","size"];function ct(t){var n=at(et(ut,t),2),e=n[0],r=n[1],o=r.align,i=(r.base,r.className),u=r.direction,l=r.justify,f=r.margin,s=r.marginBottom,p=r.marginLeft,d=r.marginRight,y=r.marginTop,g=r.padding,b=r.paddingBottom,v=r.paddingLeft,m=r.paddingRight,h=r.paddingTop,O=r.size,w=r.style,j=it(r,["align","base","className","direction","justify","margin","marginBottom","marginLeft","marginRight","marginTop","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","size","style"]),S=a.useContext(V);if(!e)return[!1,rt({style:{},className:i},j)];var x=D(S,t),A=x.gutter,P=x.verticalGutter;return[!0,rt({style:rt({},w,k({spacingProps:{margin:f,padding:g,marginTop:y,marginRight:d,marginBottom:s,marginLeft:p,paddingTop:h,paddingRight:m,paddingBottom:b,paddingLeft:v},base:x.base,spacingAliases:x.spacingAliases,gutter:A,verticalGutter:P})),className:c()([C.grid,G(O,I(S,"columns")),i,o&&C["".concat(o,"Align")],l&&C["".concat(l,"Justify")],u&&C["".concat(u,"Direction")]]).join(" ")},j)]}function lt(){return(lt=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function ft(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function st(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var pt={marginTop:0,marginRight:"gutter/2",marginBottom:"verticalGutter",marginLeft:"gutter/2"},dt=a.forwardRef(function(t,n){var e=ft(ct(void 0!==t.margin?t:function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){st(t,n,e[n])})}return t}({},pt,t)),2),r=e[0],o=e[1];return r?a.createElement("div",lt({},o,{ref:n})):null});dt.displayName="Col";var yt=dt;function gt(){return(gt=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function bt(t){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vt(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function mt(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ht(t){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ot(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wt(t,n){return(wt=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function jt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var St=function(t){function n(){var t,e,r,o;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return r=this,e=!(o=(t=ht(n)).call.apply(t,[this].concat(a)))||"object"!==bt(o)&&"function"!=typeof o?Ot(r):o,jt(Ot(e),"state",l),e}var e,r,o;return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&wt(t,n)}(n,a["Component"]),e=n,o=[{key:"getDerivedStateFromProps",value:function(t,n){t.children;return function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){jt(t,n,e[n])})}return t}({},n,vt(t,["children"]))}}],(r=[{key:"render",value:function(){var t=this.state,n=this.props.children;return a.createElement(V.Provider,{value:t},n)}}])&&mt(e.prototype,r),o&&mt(e,o),n}(),xt=function(t){var n=a.useContext(V);return a.createElement(St,gt({},n,t))};function At(){return(At=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function Pt(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Et=a.forwardRef(function(t,n){var e=Pt(ct(t),2),r=e[0],o=e[1];return r?a.createElement("div",At({},o,{ref:n})):null});Et.displayName="Grid";var kt=Et,Lt=e(1);e.d(n,"Col",function(){return yt}),e.d(n,"GymnastProvider",function(){return xt}),e.d(n,"Grid",function(){return kt}),e.d(n,"useGrid",function(){return ct}),e.d(n,"defaults",function(){return l}),e.d(n,"log",function(){return g}),e.d(n,"AlignValues",function(){return Lt.AlignValues}),e.d(n,"DisplayAliases",function(){return Lt.DisplayAliases}),e.d(n,"DisplayValues",function(){return Lt.DisplayValues}),e.d(n,"DirectionValues",function(){return Lt.DirectionValues}),e.d(n,"GridProps",function(){return Lt.GridProps}),e.d(n,"GridRef",function(){return Lt.GridRef}),e.d(n,"Size",function(){return Lt.Size}),e.d(n,"Spacing",function(){return Lt.Spacing}),e.d(n,"SpacingProps",function(){return Lt.SpacingProps}),e.d(n,"SpacingValues",function(){return Lt.SpacingValues})}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.gymnast=n(require("react")):t.gymnast=n(t.react)}(window,function(t){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=7)}([function(n,e){n.exports=t},function(t,n){},function(t,n,e){t.exports=e(4)},function(t,n){t.exports=function(t){for(var n=-1,e=null==t?0:t.length,r=0,o=[];++n<e;){var i=t[n];i&&(o[r++]=i)}return o}},function(t,n,e){"use strict";var r={},o="_cxs",i=[],a=function(t){return i.push(t)},u=function(t,n){return t.replace(/[A-Z]|^ms/g,"-$&").toLowerCase()+":"+n},c=function(t){var n=function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=[],i=[];for(var a in n){var c=n[a];if(null!==c)if("object"!=typeof c){var l=u(a,c);i.push(l)}else{var f=/^@/.test(a)?a:null;t(c,f?e:e+a.replace(/&/g,""),f).forEach(function(t){return o.push(t)})}}return o.unshift({media:r,child:e,declarations:i}),o}(t),e=[];return n.forEach(function(t){var n=JSON.stringify(t);if(r[n])e.push(r[n]);else{var u=o+i.length.toString(36);e.push(u);var c=function(t){var n=t.className,e=t.child,r=t.media;return function(t,n){return n?n+"{"+t+"}":t}("."+(n+e)+"{"+t.declarations.join(";")+"}",r)}(Object.assign(t,{className:u}));a(c),r[n]=u}}),e.join(" ")};if(t.exports=function(){for(var t=arguments.length,n=Array(t),e=0;e<t;e++)n[e]=arguments[e];return n.map(function(t){return c(t)}).join(" ").trim()},t.exports.css=function(){return i.sort().join("")},t.exports.reset=function(){for(r={};i.length;)i.pop()},t.exports.prefix=function(t){return o=t},"undefined"!=typeof document){var l=document.createElement("style");window&&(l.nonce=window.__webpack_nonce__);var f=document.head.appendChild(l),s=f.sheet;f.id="_cxs_",a=function(t){i.push(t),s.insertRule(t,s.cssRules.length)}}},function(t,n,e){t.exports=e(6)},function(t,n,e){const r=function(t,n){return t[n]=n,t},o={};r(o,"INVALIDSPACING","Invalid spacing property type used, only array, undefined, string or numbers allowed."),r(o,"MIXEDSPACING","You cannot define margin or padding and a direction at the same time."),r(o,"NOMATCHMEDIA",'"window.matchMedia" is not available in your environment, media queries will not work.'),r(o,"TOOMANYSPACEVAL","Invalid Spacing size, only first 4 values used. Spacing values follow CSS syntax, this means you can specify 1, 2, 3 or 4 values but not more."),r(o,"INVALIDLOGLEVEL",'Specified logger log level is invalid. Valid values are: "info", "warn" and "error"'),t.exports=o},function(t,n,e){"use strict";e.r(n);var r=e(2),o=e.n(r);o.a.prefix("gym_");var i=o.a,a=e(0),u=e(3),c=e.n(u),l={base:8,columns:12,displayAliases:{small:[{maxWidth:"599px"},{maxDeviceWidth:"599px"}],medium:[{minWidth:"600px",maxWidth:"899px"},{minDeviceWidth:"600px",maxDeviceWidth:"899px"}],large:[{minWidth:"900px"},{minDeviceWidth:"900px"}]},gutter:3,spacingAliases:{XS:.5,"S/2":.5,S:1,"M/2":1,M:2,"L/2":1.5,L:3,"XL/2":2,XL:4,"2XL/2":3,"2XL":6},verticalGutter:3},f=e(5),s=["info","warn","error"],p=0,y=console,d={info:function(){var t;return p<=0&&(t=y).info.apply(t,arguments)},warn:function(){var t;return p<=1&&(t=y).warn.apply(t,arguments)},error:function(){var t;return p<=2&&(t=y).error.apply(t,arguments)},setLevel:function(t){var n=s.indexOf(t);n>=0?p=n:d.error(f.INVALIDLOGLEVEL,t)},setLogger:function(t){y=t}},g=d;function b(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function v(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){h(t,n,e[n])})}return t}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var O=function(t){return void 0!==t},w=/(?:(?:\s+)?,(?:\s+)?|\s+)/,j=function(t){return t.replace(/^[A-Z]/,function(t){return t.toLowerCase()}).replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})};function S(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(!n||!n.length)return{};var r=[];switch(n.length){case 1:r=[n[0],n[0],n[0],n[0]];break;case 2:r=[n[0],n[1],n[0],n[1]];break;case 3:r=[n[0],n[1],n[2],n[1]];break;case 4:r=n;break;default:g.error(f.TOOMANYSPACEVAL,'"'.concat(JSON.stringify(n),'" used')),r=n}return h(t={},"".concat(e,"Top"),r[0]),h(t,"".concat(e,"Right"),r[1]),h(t,"".concat(e,"Bottom"),r[2]),h(t,"".concat(e,"Left"),r[3]),t}function x(t,n,e){var r="number"==typeof n?n:parseFloat(n||"0");return t&&void 0!==n?t.includes("padding")?h({},t,r*e):h({},"".concat(t.replace("margin","border"),"Width"),r*e):{}}function A(t,n){if(void 0!==t){if("number"==typeof t)return[t];var e;if(t instanceof Array?e=t:"string"==typeof t&&(e=t.split(w)),e)return E(e,n).map(function(t){return parseFloat("".concat(t))});g.error(f.INVALIDSPACING,'"'.concat(m(t),'" used'))}}function P(t,n){return n&&"string"==typeof t&&t in n?n[t]:t}function E(t,n){return t.map(function(t){return P(t,n)})}function k(t){var n=t.spacingProps,e=t.base,r=t.spacingAliases,o=t.gutter,i=void 0===o?l.gutter:o,a=t.verticalGutter,u=void 0===a?l.verticalGutter:a,c=v({},l.spacingAliases,r,{gutter:i,"gutter/2":i/2,verticalGutter:u,"verticalGutter/2":u/2}),f=n.margin,s=n.padding,p=b(n,["margin","padding"]),y=A(f,c),d=A(s,c);v({marginArray:y,paddingArray:d},p);var g=v({},function(t){var n=t.props,e=t.spacingAliases;return Object.keys(n).reduce(function(t,r){return v({},t,h({},r,P(n[r],e)))},{})}({props:p,spacingAliases:c}),S(y,"margin"),S(d,"padding"));return Object.keys(g).reduce(function(t,n){return v({},t,x(n,g[n],e))},{})}function L(t){var n={};return Object.keys(t).forEach(function(e){n[e]=i(t[e])}),n}function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return[arguments.length>2?arguments[2]:void 0,t[n],l[n]].find(O)}function D(t,n){return v({},l,t||{},n||{})}var C=L({grid:{border:"0 transparent solid",boxSizing:"border-box",display:"flex",flexFlow:"row wrap",width:"100%"},fraction:{flexGrow:1},startJustify:{justifyContent:"flex-start",marginRight:"auto"},centerJustify:{justifyContent:"center",marginLeft:"auto",marginRight:"auto"},endJustify:{justifyContent:"flex-end",marginLeft:"auto"},startAlign:{alignContent:"flex-start",alignItems:"flex-start"},centerAlign:{alignContent:"center",alignItems:"center"},endAlign:{alignContent:"flex-end",alignItems:"flex-end"},colAuto:{flexGrow:1,flexShrink:1,flexBasis:"0%"},colFit:{flexGrow:0,flexShrink:0,width:"auto",whiteSpace:"nowrap"},rowDirection:{flexDirection:"row"},columnDirection:{flexDirection:"column"}});function T(t,n){return"auto"===t?C.colAuto:"fit"===t?C.colFit:void 0===t||0===t?C.fraction:i({flexBasis:"".concat(parseInt("".concat(t),10)/n*100,"%"),maxWidth:"".concat(parseInt("".concat(t),10)/n*100,"%")})}var _={},G={};var N=!(!window||!window.matchMedia);function M(t,n,e){if(t&&N){if(R(t,e),t in _)_[t].push({callback:e,alias:n});else{var r=window.matchMedia(t),o=function(t){return function(){_[t].forEach(function(n){var e=n.callback,r=n.alias;return e(G[t].mediaQuery,r)})}}(t);G[t]={mediaQuery:r,allCallbacks:o},_[t]=[{callback:e,alias:n}],r.addListener(o)}e(G[t].mediaQuery,n)}}function R(t,n){N&&t&&t in _&&(_[t]=_[t].filter(function(t){var e=t.callback;return n!==e}),0===_[t].length&&(G[t].mediaQuery.removeListener(G[t].allCallbacks),delete G[t],delete _[t]))}var V=a.createContext(l);function B(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function W(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function z(){return(z=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}var F="default";function J(t){return function(n){return!0===t[n]}}function K(t){var n=function(t){return Object.keys(t).find(J(t))}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return n&&n in t?t[n]:t[F]}function X(t){return"[object Object]"===Object.prototype.toString.call(t)}function Q(t){var n=t.props,e=t.shouldShow,r=t.resolutionKeys,o=void 0===r?[]:r,i=z({},n);return delete i.show,Object.keys(i).forEach(function(t){var n=i[t];X(n)&&o.includes(t)&&(i[t]=K(n,e))}),i}function q(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"@media ",r=n[t];return(Array.isArray(r)?r:[r]).map(function(t){return"".concat(e).concat(Object.keys(t).map(function(n){return"(".concat(j(n),": ").concat(t[n],")")}).join(" and "))}).join(", ")}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return(t instanceof Array?t:t.split(w)).filter(function(t){return t in n}).map(function(t){return[t,q(t,n,"")]}).reduce(function(t,n){var e=W(n,2),r=e[0],o=e[1];return o?function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){B(t,n,e[n])})}return t}({},t,B({},r,o)):t},{})}function Z(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function H(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function $(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function U(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function tt(t){var n=t.show,e=t.resolutionKeys,r=t.context,o=t.props,i=I(r,"displayAliases"),a=n;return!n&&function(t,n){return t.some(function(t){return X(n[t])})}(e,o)&&(a=Object.keys(i)),Y(a,i)}function nt(t){var n=tt(t),e=function(t){if(0!==Object.keys(t).length){var n={};return Object.keys(t).forEach(function(e){n[e]=window.matchMedia(t[e]).matches}),n}}(n),r=U(a.useState(e),2),o=r[0],i=r[1];function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;o&&o[n]!==t.matches&&i(function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){$(t,n,e[n])})}return t}({},o,$({},n,t.matches)))}return a.useEffect(function(){return Object.keys(n).forEach(function(t){M(n[t],t,u)}),function(){return Object.keys(n).forEach(function(t){R(n[t],u)})}},[].concat(H(Object.values(o||{})),[t.show])),o}function et(t,n){if(!(arguments.length>2&&void 0!==arguments[2]?arguments[2]:N))return g.warn(f.NOMATCHMEDIA),[!0,Q({props:n,shouldShow:void 0,resolutionKeys:[]})];var e=a.useContext(V),r=n.show,o=nt({show:r,resolutionKeys:t,context:e,props:Z(n,["show"])});return r&&o&&!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).some(J(t))}(o)?[!1,Q({props:n,shouldShow:void 0,resolutionKeys:[]})]:[!0,Q({props:n,shouldShow:o,resolutionKeys:t})]}function rt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){ot(t,n,e[n])})}return t}function ot(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function it(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function at(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ut=["align","direction","justify","margin","marginBottom","marginLeft","marginRight","marginTop","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","size"];function ct(t){var n=at(et(ut,t),2),e=n[0],r=n[1],o=r.align,i=(r.base,r.className),u=r.direction,l=r.justify,f=r.margin,s=r.marginBottom,p=r.marginLeft,y=r.marginRight,d=r.marginTop,g=r.padding,b=r.paddingBottom,v=r.paddingLeft,m=r.paddingRight,h=r.paddingTop,O=r.size,w=r.style,j=it(r,["align","base","className","direction","justify","margin","marginBottom","marginLeft","marginRight","marginTop","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","size","style"]),S=a.useContext(V);if(!e)return[!1,rt({style:{},className:i},j)];var x=D(S,t),A=x.gutter,P=x.verticalGutter;return[!0,rt({style:rt({},w,k({spacingProps:{margin:f,padding:g,marginTop:d,marginRight:y,marginBottom:s,marginLeft:p,paddingTop:h,paddingRight:m,paddingBottom:b,paddingLeft:v},base:x.base,spacingAliases:x.spacingAliases,gutter:A,verticalGutter:P})),className:c()([C.grid,T(O,I(S,"columns")),i,o&&C["".concat(o,"Align")],l&&C["".concat(l,"Justify")],u&&C["".concat(u,"Direction")]]).join(" ")},j)]}function lt(){return(lt=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function ft(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function st(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var pt={marginTop:0,marginRight:"gutter/2",marginBottom:"verticalGutter",marginLeft:"gutter/2"},yt=a.forwardRef(function(t,n){var e=ft(ct(void 0!==t.margin?t:function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){st(t,n,e[n])})}return t}({},pt,t)),2),r=e[0],o=e[1];return r?a.createElement("div",lt({},o,{ref:n})):null});yt.displayName="Col";var dt=yt;function gt(){return(gt=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function bt(t){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vt(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function mt(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ht(t){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ot(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wt(t,n){return(wt=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function jt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var St=function(t){function n(){var t,e,r,o;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return r=this,e=!(o=(t=ht(n)).call.apply(t,[this].concat(a)))||"object"!==bt(o)&&"function"!=typeof o?Ot(r):o,jt(Ot(e),"state",l),e}var e,r,o;return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&wt(t,n)}(n,a["Component"]),e=n,o=[{key:"getDerivedStateFromProps",value:function(t,n){t.children;return function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){jt(t,n,e[n])})}return t}({},n,vt(t,["children"]))}}],(r=[{key:"render",value:function(){var t=this.state,n=this.props.children;return a.createElement(V.Provider,{value:t},n)}}])&&mt(e.prototype,r),o&&mt(e,o),n}(),xt=function(t){var n=a.useContext(V);return a.createElement(St,gt({},n,t))};function At(){return(At=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function Pt(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(e.push(a.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Et=a.forwardRef(function(t,n){var e=Pt(ct(t),2),r=e[0],o=e[1];return r?a.createElement("div",At({},o,{ref:n})):null});Et.displayName="Grid";var kt=Et,Lt=e(1);e.d(n,"Col",function(){return dt}),e.d(n,"GymnastProvider",function(){return xt}),e.d(n,"Grid",function(){return kt}),e.d(n,"useGrid",function(){return ct}),e.d(n,"defaults",function(){return l}),e.d(n,"log",function(){return g}),e.d(n,"AlignValues",function(){return Lt.AlignValues}),e.d(n,"DisplayAliases",function(){return Lt.DisplayAliases}),e.d(n,"DisplayValues",function(){return Lt.DisplayValues}),e.d(n,"DirectionValues",function(){return Lt.DirectionValues}),e.d(n,"GridProps",function(){return Lt.GridProps}),e.d(n,"Size",function(){return Lt.Size}),e.d(n,"Spacing",function(){return Lt.Spacing}),e.d(n,"SpacingProps",function(){return Lt.SpacingProps}),e.d(n,"SpacingValues",function(){return Lt.SpacingValues})}])}); | ||
//# sourceMappingURL=gymnast.min.js.map |
@@ -96,4 +96,2 @@ export type Noop = (...params: any[]) => null | ||
export type GridRef = React.Ref<HTMLDivElement> | ||
export type Logger = { | ||
@@ -100,0 +98,0 @@ info: (...args: any[]) => void |
@@ -146,3 +146,2 @@ /** | ||
} & GymnastContextType; | ||
export type GridRef = React$Ref<HTMLDivElement>; | ||
export type Logger = { | ||
@@ -149,0 +148,0 @@ info: (...args: any[]) => void, |
{ | ||
"name": "gymnast", | ||
"version": "17.0.0-next.7", | ||
"version": "17.0.0-next.8", | ||
"description": "Configurable grid for React", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -96,4 +96,2 @@ export type Noop = (...params: any[]) => null | ||
export type GridRef = React.Ref<HTMLDivElement> | ||
export type Logger = { | ||
@@ -100,0 +98,0 @@ info: (...args: any[]) => void |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
819619
3746