@mackin.com/styleguide 8.11.2 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +33 -94
- package/index.js +923 -1131
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -29,40 +29,24 @@ interface AccordianProps {
|
|
|
29
29
|
declare const Accordian: (props: AccordianProps) => JSX.Element;
|
|
30
30
|
declare const useAccordianState: (count: number, openIndex?: number | undefined) => [boolean[], (index: number, open: boolean) => void];
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
interface AutocompleteProps<T extends AutocompleteValue> {
|
|
38
|
-
value: T | undefined;
|
|
39
|
-
round?: boolean;
|
|
40
|
-
rightControl?: JSX.Element;
|
|
41
|
-
placeholder?: string;
|
|
42
|
-
id?: string;
|
|
43
|
-
disabled?: boolean;
|
|
32
|
+
declare type BaseInputProps$1 = Omit<TextInputProps, 'value' | 'className' | 'wrapperClassName' | 'type' | 'showErrorDisplay'>;
|
|
33
|
+
interface AutocompleteProps extends BaseInputProps$1 {
|
|
34
|
+
value: string | undefined;
|
|
35
|
+
options: string[];
|
|
36
|
+
/** Applied to the Autocomplete wrapper. */
|
|
44
37
|
className?: string;
|
|
38
|
+
inputWrapperClassName?: string;
|
|
45
39
|
inputClassName?: string;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
listClassName?: string;
|
|
41
|
+
listItemClassName?: string;
|
|
42
|
+
listItemButtonClassName?: string;
|
|
49
43
|
/** Limits what will be show in the autocomplete options. Default is 7. */
|
|
50
44
|
maxShownValues?: number;
|
|
51
|
-
/** The minimum characters before 'getOptions' is called. No default. */
|
|
52
|
-
minChars?: number;
|
|
53
|
-
inputAriaAttributes?: React.AriaAttributes;
|
|
54
|
-
/** Defaults to 0ms. */
|
|
55
|
-
getOptionsDebounceMs?: number;
|
|
56
|
-
autoFocus?: boolean;
|
|
57
45
|
/** Will enable scrolling in the results list. */
|
|
58
46
|
allowScroll?: boolean;
|
|
59
|
-
|
|
60
|
-
getOptions: (value: string) => Promise<T[]>;
|
|
61
|
-
onPick: (value: T) => void;
|
|
62
|
-
onKeyPress?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
63
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
47
|
+
onPick: (value: string | undefined) => void;
|
|
64
48
|
}
|
|
65
|
-
declare const Autocomplete:
|
|
49
|
+
declare const Autocomplete: (p: AutocompleteProps) => JSX.Element;
|
|
66
50
|
|
|
67
51
|
/** @deprecated Use Backdrop2 going forward. */
|
|
68
52
|
declare const Backdrop$1: (props: {
|
|
@@ -209,8 +193,8 @@ interface FileUploaderProps {
|
|
|
209
193
|
declare const FileUploader: (p: FileUploaderProps) => JSX.Element;
|
|
210
194
|
declare const getFileSizeDisplay: (size: number) => string;
|
|
211
195
|
|
|
212
|
-
declare type BaseProps$
|
|
213
|
-
interface FormProps extends BaseProps$
|
|
196
|
+
declare type BaseProps$4 = React.ClassAttributes<HTMLFormElement> & React.FormHTMLAttributes<HTMLFormElement>;
|
|
197
|
+
interface FormProps extends BaseProps$4 {
|
|
214
198
|
inline?: boolean;
|
|
215
199
|
/** If true, preventDefault and stopPropagation will be applied prior to onSubmit being called. Defaults to true. */
|
|
216
200
|
ajax?: boolean;
|
|
@@ -326,8 +310,8 @@ interface ValidationMessageProps {
|
|
|
326
310
|
patternErrorMessage?: string;
|
|
327
311
|
}
|
|
328
312
|
|
|
329
|
-
declare type BaseProps$
|
|
330
|
-
interface DateInputProps extends BaseProps$
|
|
313
|
+
declare type BaseProps$3 = Omit<BaseInputProps, 'type' | 'value' | 'min' | 'max' | 'step' | 'pattern' | 'maxLength' | 'rightControl' | 'ref'> & Omit<ValidationMessageProps, 'pattern'>;
|
|
314
|
+
interface DateInputProps extends BaseProps$3 {
|
|
331
315
|
/** The epoch timestamp. Equivalent to Date.valueOf(). */
|
|
332
316
|
value?: number;
|
|
333
317
|
/** The min epoch timestamp. */
|
|
@@ -340,52 +324,8 @@ interface DateInputProps extends BaseProps$2 {
|
|
|
340
324
|
}
|
|
341
325
|
declare const DateInput: React.ForwardRefExoticComponent<DateInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
342
326
|
|
|
343
|
-
declare type
|
|
344
|
-
|
|
345
|
-
interface InputProps {
|
|
346
|
-
type: InputType;
|
|
347
|
-
name?: string;
|
|
348
|
-
style?: React.CSSProperties;
|
|
349
|
-
value?: InputValue;
|
|
350
|
-
placeholder?: string;
|
|
351
|
-
id?: string;
|
|
352
|
-
disabled?: boolean;
|
|
353
|
-
className?: string;
|
|
354
|
-
inputClassName?: string;
|
|
355
|
-
readOnly?: boolean;
|
|
356
|
-
required?: boolean;
|
|
357
|
-
/** Defaults to 250ms */
|
|
358
|
-
debounceMs?: number;
|
|
359
|
-
/** Defaults to 'off'. */
|
|
360
|
-
autoComplete?: string;
|
|
361
|
-
autoFocus?: boolean;
|
|
362
|
-
inputAriaAttributes?: React.AriaAttributes;
|
|
363
|
-
/** Called with debounce when the input changes. */
|
|
364
|
-
onChange?: (value: InputValue, name?: string, event?: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
365
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
366
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
367
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
368
|
-
onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
369
|
-
onKeyPress?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
370
|
-
/** Defaults to 100. Ignored for type=number and type=date. */
|
|
371
|
-
maxLength?: number;
|
|
372
|
-
/** Ignored for type=textarea. */
|
|
373
|
-
rightControl?: JSX.Element;
|
|
374
|
-
/** Ignored for type=textarea. */
|
|
375
|
-
round?: boolean;
|
|
376
|
-
/** Only used for type=number and type=date. If type=date, this is the ms from Date.valueOf(). */
|
|
377
|
-
min?: number;
|
|
378
|
-
/** Only used for type=number. If type=date, this is the ms from Date.valueOf(). */
|
|
379
|
-
max?: number;
|
|
380
|
-
/** Only used for type=textarea. Defaults to 10. */
|
|
381
|
-
rows?: number;
|
|
382
|
-
pattern?: string;
|
|
383
|
-
}
|
|
384
|
-
/** @deprecated Use DateInput, NumberInput, or TextInput instead. */
|
|
385
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<any>>;
|
|
386
|
-
|
|
387
|
-
declare type BaseProps$1 = Omit<BaseInputProps, 'type' | 'value' | 'min' | 'max' | 'step' | 'maxLength' | 'error' | 'pattern'> & Omit<ValidationMessageProps, 'pattern'>;
|
|
388
|
-
interface NumberInputProps extends BaseProps$1 {
|
|
327
|
+
declare type BaseProps$2 = Omit<BaseInputProps, 'type' | 'value' | 'min' | 'max' | 'step' | 'maxLength' | 'error' | 'pattern'> & Omit<ValidationMessageProps, 'pattern'>;
|
|
328
|
+
interface NumberInputProps extends BaseProps$2 {
|
|
389
329
|
value?: number;
|
|
390
330
|
min?: number;
|
|
391
331
|
max?: number;
|
|
@@ -397,8 +337,8 @@ interface NumberInputProps extends BaseProps$1 {
|
|
|
397
337
|
}
|
|
398
338
|
declare const NumberInput: React.ForwardRefExoticComponent<Pick<NumberInputProps, "value" | "min" | "max" | "step" | "rightControl" | "round" | "wrapperClassName" | "showErrorDisplay" | "key" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "size" | "src" | "width" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "customError" | "patternErrorMessage" | "onValueChange"> & React.RefAttributes<HTMLInputElement>>;
|
|
399
339
|
|
|
400
|
-
declare type BaseProps = Omit<BaseInputProps, 'type' | 'value' | 'max' | 'min' | 'step' | 'error'> & ValidationMessageProps;
|
|
401
|
-
interface TextInputProps extends BaseProps {
|
|
340
|
+
declare type BaseProps$1 = Omit<BaseInputProps, 'type' | 'value' | 'max' | 'min' | 'step' | 'error'> & ValidationMessageProps;
|
|
341
|
+
interface TextInputProps extends BaseProps$1 {
|
|
402
342
|
value?: string;
|
|
403
343
|
/** Defaults to 'text'. */
|
|
404
344
|
type?: 'text' | 'email' | 'url' | 'password';
|
|
@@ -467,8 +407,6 @@ interface ModalProps {
|
|
|
467
407
|
__debug?: boolean;
|
|
468
408
|
onClick?: () => void;
|
|
469
409
|
}
|
|
470
|
-
/** Add to fixed positioned elements so their contents do not jump around when scrolling is disabled. */
|
|
471
|
-
declare const modalScrollFixClassName = "modal-scroll-fix";
|
|
472
410
|
declare const Modal: (p: ModalProps) => React__default.ReactPortal | null;
|
|
473
411
|
|
|
474
412
|
declare const Nav: (props: {
|
|
@@ -717,25 +655,23 @@ declare const ProgressBar: (props: {
|
|
|
717
655
|
className?: string;
|
|
718
656
|
}) => JSX.Element;
|
|
719
657
|
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
placeholder?: string;
|
|
725
|
-
round?: boolean;
|
|
726
|
-
/** Defaults to 250ms */
|
|
727
|
-
debounceMs?: number;
|
|
728
|
-
autoFocus?: boolean;
|
|
729
|
-
/** This will be applied to the containing element (Form). */
|
|
730
|
-
className?: string;
|
|
658
|
+
declare type BaseProps = Omit<TextInputProps, 'rightControl' | 'wrapperClassName' | 'type' | 'className'>;
|
|
659
|
+
interface SearchBoxProps extends BaseProps {
|
|
660
|
+
/** This will be applied to the containing element (Form or DIV when 'noForm'=true). */
|
|
661
|
+
wrapperClassName?: string;
|
|
731
662
|
buttonClassName?: string;
|
|
663
|
+
inputWrapperClassName?: string;
|
|
732
664
|
inputClassName?: string;
|
|
733
665
|
/** This will be ignored if 'noForm' is true. */
|
|
734
666
|
onSubmit?: () => Promise<void>;
|
|
735
667
|
/** If true, the controls will not be wrapped in a Form component. In addition, 'onSubmit' will be ignored. */
|
|
736
668
|
noForm?: boolean;
|
|
669
|
+
/** If true, the onSubmit handler will not be called when the input value is nullish or empty string. Defaults to 'true'. */
|
|
670
|
+
noSubmitWhenEmpty?: boolean;
|
|
671
|
+
/** The submit button will change to clear if present and there is a value. */
|
|
672
|
+
onClear?: () => void;
|
|
737
673
|
}
|
|
738
|
-
declare const SearchBox:
|
|
674
|
+
declare const SearchBox: React.ForwardRefExoticComponent<Pick<SearchBoxProps, "wrapperClassName" | "value" | "round" | "showErrorDisplay" | "key" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "maxLength" | "minLength" | "multiple" | "name" | "pattern" | "placeholder" | "readOnly" | "required" | "size" | "src" | "width" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "trim" | "emptyString" | "onValueChange" | "customError" | "patternErrorMessage" | "buttonClassName" | "inputWrapperClassName" | "inputClassName" | "noForm" | "noSubmitWhenEmpty" | "onClear"> & React.RefAttributes<HTMLInputElement>>;
|
|
739
675
|
|
|
740
676
|
declare type Alignment = 'left' | 'right' | 'center';
|
|
741
677
|
|
|
@@ -1149,4 +1085,7 @@ interface TabContainerProps {
|
|
|
1149
1085
|
}
|
|
1150
1086
|
declare const TabContainer: (p: TabContainerProps) => JSX.Element;
|
|
1151
1087
|
|
|
1152
|
-
|
|
1088
|
+
/** Add to fixed positioned elements so their contents do not jump around when scrolling is disabled. */
|
|
1089
|
+
declare const modalScrollFixClassName = "modal-scroll-fix";
|
|
1090
|
+
|
|
1091
|
+
export { Accordian, AccordianProps, Alignment, Autocomplete, AutocompleteProps, Backdrop$1 as Backdrop, Backdrop as Backdrop2, BoundMemoryPager, BoundStaticPager, Button, ButtonProps, Calendar, CalendarProps, Checkbox, CheckboxProps, ConfirmModal, ConfirmModalProps, CopyButton, DateInput, DateInputProps, Divider, ErrorModal, FileUploader, Form, FormColumnRow, FormFlexRow, FormProps, GlobalStyles, Header, Highlight, ICONS, Icon, Image, ImageProps, InfoPanel, InfoTip, InfoTipProps, ItemPager, Label, LabelProps, Link, LinkProps, List, ListItem, ListItemProps, ListProps, MackinTheme, Modal, ModalProps, Nav, NormalizeCss, NumberInput, NumberInputProps, OmniLink, OmniLinkProps, PagedResult, Pager, PagerProps, Picker, PickerOption, PickerProps, PickerValue, Popover, ProgressBar, ProgressBarProps, SearchBox, SearchBoxProps, Slider, SliderProps, SliderValue, TabContainer, TabContainerProps, TabHeader, TabHeaderProps, TabLocker, Table, Td, TdCurrency, TdNumber, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, Th, ThSort, ThemeProvider, ThemeRenderer, ToggleButton, ToggleButtonGroup, ToggleButtonGroupProps, ToggleButtonProps, TogglePasswordInput, Tr, WaitingIndicator, calcDynamicThemeProps, defaultTheme, enumToEntities, getCurrencyDisplay, getFileSizeDisplay, modalScrollFixClassName, useAccordianState, useBooleanChanged, useIgnoreMount, useMediaQuery, useScrollbarSize, useThemeSafely, useWaiting };
|