@commonsku/styles 1.14.8 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +902 -154
- package/dist/index.es.js +922 -365
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +936 -370
- package/dist/index.js.map +1 -1
- package/dist/styles/Artwork.d.ts +1 -0
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Button.d.ts +18 -3
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CollapsibleV2.d.ts +34 -0
- package/dist/styles/CollapsibleV2.d.ts.map +1 -0
- package/dist/styles/ConfirmPopup.d.ts +10 -0
- package/dist/styles/ConfirmPopup.d.ts.map +1 -0
- package/dist/styles/Csku.d.ts +58 -0
- package/dist/styles/Csku.d.ts.map +1 -0
- package/dist/styles/Dropdown.d.ts +12 -2
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts +0 -1
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/Grid.d.ts +17 -0
- package/dist/styles/Grid.d.ts.map +1 -0
- package/dist/styles/GridTable.d.ts +55 -0
- package/dist/styles/GridTable.d.ts.map +1 -0
- package/dist/styles/IconShowcase.d.ts.map +1 -1
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +8 -0
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/InputStepper.d.ts +2 -2
- package/dist/styles/InputStepper.d.ts.map +1 -1
- package/dist/styles/LightIndicator.d.ts +3 -2
- package/dist/styles/LightIndicator.d.ts.map +1 -1
- package/dist/styles/Popup.d.ts +11 -2
- package/dist/styles/Popup.d.ts.map +1 -1
- package/dist/styles/Select.d.ts +548 -30
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts +1 -0
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +3 -5
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +16 -0
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts +1 -1
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
- package/dist/styles/hooks/useRandomInterval.d.ts +1 -1
- package/dist/styles/hooks/useRandomInterval.d.ts.map +1 -1
- package/dist/styles/icons/CheckboxIcon.d.ts +4 -2
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -1
- package/dist/styles/icons/DragIcon.d.ts +6 -0
- package/dist/styles/icons/DragIcon.d.ts.map +1 -0
- package/dist/styles/icons/RadioIcon.d.ts +1 -2
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -1
- package/dist/styles/icons/index.d.ts +1 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +6 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts +7 -2
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -1
- package/dist/utils/index.d.ts +9 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/sizes.d.ts +16 -1
- package/dist/utils/sizes.d.ts.map +1 -1
- package/dist/utils/ssr.d.ts +4 -0
- package/dist/utils/ssr.d.ts.map +1 -1
- package/dist/utils/styled.d.ts +12 -0
- package/dist/utils/styled.d.ts.map +1 -0
- package/package.json +14 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React$1, { CSSProperties, Component, ReactNode } from 'react';
|
|
3
|
-
import { FlattenInterpolation, ThemedStyledProps, StyledComponent, CSSObject, FlattenSimpleInterpolation, GlobalStyleComponent, DefaultTheme, ThemeProps } from 'styled-components';
|
|
2
|
+
import React$1, { CSSProperties, Component, ReactNode, WeakValidationMap, ComponentType } from 'react';
|
|
3
|
+
import { FlattenInterpolation, ThemedStyledProps, StyledComponent, CSSObject, FlattenSimpleInterpolation, GlobalStyleComponent, DefaultTheme, ThemeProps, Keyframes, AnyStyledComponent, StyledComponentInnerComponent } from 'styled-components';
|
|
4
4
|
import { DropzoneOptions } from 'react-dropzone';
|
|
5
|
-
import
|
|
5
|
+
import { AsyncAdditionalProps } from 'react-select/dist/declarations/src/useAsync';
|
|
6
|
+
import { CreatableAdditionalProps } from 'react-select/dist/declarations/src/useCreatable';
|
|
7
|
+
import { StateManagerAdditionalProps } from 'react-select/dist/declarations/src/useStateManager';
|
|
8
|
+
import { GroupBase, GetOptionLabel, GetOptionValue, Options, MenuPlacement, MenuPosition, OptionsOrGroups, StylesConfig, SelectInstance } from 'react-select';
|
|
6
9
|
export { components, createFilter, mergeStyles } from 'react-select';
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
+
import { FilterOptionOption } from 'react-select/dist/declarations/src/filters';
|
|
11
|
+
import { SelectComponents } from 'react-select/dist/declarations/src/components';
|
|
12
|
+
import { Props } from 'react-select/dist/declarations/src/Select';
|
|
10
13
|
import BaseDatePicker, { ReactDatePickerProps } from 'react-datepicker';
|
|
11
|
-
import { UseFiltersColumnProps, UseGroupByColumnProps, UseResizeColumnsColumnProps, UseSortByColumnProps, UseTableRowProps, UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps, UseRowStateRowProps, Column, SortingRule } from 'react-table';
|
|
14
|
+
import { UseFiltersColumnProps, UseGroupByColumnProps, UseResizeColumnsColumnProps, UseSortByColumnProps, UseTableRowProps, UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps, UseRowStateRowProps, Column as Column$1, SortingRule, Cell } from 'react-table';
|
|
12
15
|
import { ListOnScrollProps } from 'react-window';
|
|
13
16
|
|
|
14
17
|
declare type SharedStyleTypes = {
|
|
@@ -225,8 +228,8 @@ declare const sizes: {
|
|
|
225
228
|
};
|
|
226
229
|
};
|
|
227
230
|
declare type TSize$1 = keyof typeof sizes;
|
|
228
|
-
declare type ButtonPreset = 'edit' | 'delete' | 'add' | 'remove' | 'close';
|
|
229
|
-
declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-light';
|
|
231
|
+
declare type ButtonPreset = 'edit' | 'delete' | 'add' | 'remove' | 'close' | 'drag';
|
|
232
|
+
declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-light' | 'text-error';
|
|
230
233
|
declare type ButtonProps = {
|
|
231
234
|
secondary?: boolean;
|
|
232
235
|
cta?: boolean;
|
|
@@ -254,7 +257,22 @@ declare type IconButtonProps = React$1.PropsWithChildren<ButtonProps & {
|
|
|
254
257
|
preset?: ButtonPreset;
|
|
255
258
|
style?: React$1.CSSProperties;
|
|
256
259
|
}> & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
257
|
-
declare
|
|
260
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<{
|
|
261
|
+
secondary?: boolean | undefined;
|
|
262
|
+
cta?: boolean | undefined;
|
|
263
|
+
size?: "tiny" | "small" | "medium" | "large" | "huge" | undefined;
|
|
264
|
+
variant?: ButtonVariant | undefined;
|
|
265
|
+
} & SharedStyleTypes & SizerTypes & {
|
|
266
|
+
Icon?: TButtonIcon | React$1.ReactElement<IconFuncProps, string | React$1.JSXElementConstructor<any>> | undefined;
|
|
267
|
+
iconProps?: {
|
|
268
|
+
[key: string]: any;
|
|
269
|
+
} | undefined;
|
|
270
|
+
iconPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
271
|
+
preset?: ButtonPreset | undefined;
|
|
272
|
+
style?: React$1.CSSProperties | undefined;
|
|
273
|
+
} & {
|
|
274
|
+
children?: React$1.ReactNode;
|
|
275
|
+
} & React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
258
276
|
|
|
259
277
|
declare const H1: StyledComponent<"h1", any, {
|
|
260
278
|
underlined?: boolean | undefined;
|
|
@@ -276,6 +294,111 @@ declare const H6: StyledComponent<"h6", any, {
|
|
|
276
294
|
} & SharedStyleTypes, never>;
|
|
277
295
|
//# sourceMappingURL=Headings.d.ts.map
|
|
278
296
|
|
|
297
|
+
declare const iconSize: {
|
|
298
|
+
tiny: {
|
|
299
|
+
width: number;
|
|
300
|
+
height: number;
|
|
301
|
+
viewBox: string;
|
|
302
|
+
};
|
|
303
|
+
small: {
|
|
304
|
+
width: number;
|
|
305
|
+
height: number;
|
|
306
|
+
viewBox: string;
|
|
307
|
+
};
|
|
308
|
+
medium: {
|
|
309
|
+
width: number;
|
|
310
|
+
height: number;
|
|
311
|
+
viewBox: string;
|
|
312
|
+
};
|
|
313
|
+
large: {
|
|
314
|
+
width: number;
|
|
315
|
+
height: number;
|
|
316
|
+
viewBox: string;
|
|
317
|
+
};
|
|
318
|
+
huge: {
|
|
319
|
+
width: number;
|
|
320
|
+
height: number;
|
|
321
|
+
viewBox: string;
|
|
322
|
+
};
|
|
323
|
+
default: {
|
|
324
|
+
height: number;
|
|
325
|
+
width: number;
|
|
326
|
+
viewBox: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
declare type TIconSizeObj = typeof iconSize;
|
|
330
|
+
declare type TIconSize = keyof typeof iconSize;
|
|
331
|
+
declare type BaseSVGIconProps = {
|
|
332
|
+
size?: TIconSize;
|
|
333
|
+
width?: string | number;
|
|
334
|
+
height?: string | number;
|
|
335
|
+
altText?: string;
|
|
336
|
+
pointer?: boolean;
|
|
337
|
+
iconSizes?: TIconSizeObj;
|
|
338
|
+
disabled?: boolean;
|
|
339
|
+
} & SharedStyleTypes;
|
|
340
|
+
declare type SVGIconProps = React.SVGAttributes<SVGElement> & BaseSVGIconProps;
|
|
341
|
+
declare const SVG: StyledComponent<"svg", any, {
|
|
342
|
+
size?: "tiny" | "small" | "medium" | "large" | "huge" | "default" | undefined;
|
|
343
|
+
width?: string | number | undefined;
|
|
344
|
+
height?: string | number | undefined;
|
|
345
|
+
altText?: string | undefined;
|
|
346
|
+
pointer?: boolean | undefined;
|
|
347
|
+
iconSizes?: {
|
|
348
|
+
tiny: {
|
|
349
|
+
width: number;
|
|
350
|
+
height: number;
|
|
351
|
+
viewBox: string;
|
|
352
|
+
};
|
|
353
|
+
small: {
|
|
354
|
+
width: number;
|
|
355
|
+
height: number;
|
|
356
|
+
viewBox: string;
|
|
357
|
+
};
|
|
358
|
+
medium: {
|
|
359
|
+
width: number;
|
|
360
|
+
height: number;
|
|
361
|
+
viewBox: string;
|
|
362
|
+
};
|
|
363
|
+
large: {
|
|
364
|
+
width: number;
|
|
365
|
+
height: number;
|
|
366
|
+
viewBox: string;
|
|
367
|
+
};
|
|
368
|
+
huge: {
|
|
369
|
+
width: number;
|
|
370
|
+
height: number;
|
|
371
|
+
viewBox: string;
|
|
372
|
+
};
|
|
373
|
+
default: {
|
|
374
|
+
height: number;
|
|
375
|
+
width: number;
|
|
376
|
+
viewBox: string;
|
|
377
|
+
};
|
|
378
|
+
} | undefined;
|
|
379
|
+
disabled?: boolean | undefined;
|
|
380
|
+
} & SharedStyleTypes, never>;
|
|
381
|
+
|
|
382
|
+
declare type RadioIconProps = SVGIconProps & {
|
|
383
|
+
selected?: boolean;
|
|
384
|
+
hover?: boolean;
|
|
385
|
+
hoverColor?: string;
|
|
386
|
+
disabled?: boolean;
|
|
387
|
+
disabledColor?: string;
|
|
388
|
+
};
|
|
389
|
+
declare function RadioIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, altText, ...props }: RadioIconProps): JSX.Element;
|
|
390
|
+
|
|
391
|
+
declare type BaseCheckboxIconProps = {
|
|
392
|
+
selected?: boolean;
|
|
393
|
+
hover?: boolean;
|
|
394
|
+
hoverColor?: string;
|
|
395
|
+
disabled?: boolean;
|
|
396
|
+
disabledColor?: string;
|
|
397
|
+
indeterminate?: boolean;
|
|
398
|
+
};
|
|
399
|
+
declare type CheckboxIconProps = SVGIconProps & BaseCheckboxIconProps;
|
|
400
|
+
declare function CheckboxIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, indeterminate, altText, ...props }: CheckboxIconProps): JSX.Element;
|
|
401
|
+
|
|
279
402
|
declare type CommonInputProp = {
|
|
280
403
|
noMargin?: boolean;
|
|
281
404
|
error?: boolean;
|
|
@@ -300,6 +423,7 @@ declare const LabeledInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLA
|
|
|
300
423
|
label: string;
|
|
301
424
|
name?: string | undefined;
|
|
302
425
|
labelOnTop?: boolean | undefined;
|
|
426
|
+
wrapperProps?: React$1.HTMLAttributes<HTMLDivElement> | undefined;
|
|
303
427
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
304
428
|
declare const LabeledIconInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & CommonInputProp & {
|
|
305
429
|
hasIcon?: boolean | undefined;
|
|
@@ -338,6 +462,8 @@ declare type LabeledRadioProps = RadioProps & {
|
|
|
338
462
|
radioIconStyle?: React$1.CSSProperties;
|
|
339
463
|
radioColor?: string;
|
|
340
464
|
radioHoverColor?: string;
|
|
465
|
+
labelProps?: React$1.LabelHTMLAttributes<HTMLLabelElement>;
|
|
466
|
+
radioIconProps?: RadioIconProps;
|
|
341
467
|
};
|
|
342
468
|
declare const LabeledRadio: React$1.FC<LabeledRadioProps>;
|
|
343
469
|
declare const LabeledRadioInButton: React$1.FC<LabeledRadioProps & {
|
|
@@ -368,6 +494,9 @@ declare type LabeledCheckboxProps = {
|
|
|
368
494
|
checkboxHoverColor?: string;
|
|
369
495
|
hoverByLabel?: boolean;
|
|
370
496
|
stopPropagation?: boolean;
|
|
497
|
+
labelProps?: React$1.LabelHTMLAttributes<HTMLLabelElement>;
|
|
498
|
+
checkboxIconProps?: CheckboxIconProps;
|
|
499
|
+
indeterminate?: boolean;
|
|
371
500
|
[key: string]: any;
|
|
372
501
|
} & React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
373
502
|
declare const LabeledCheckbox: React$1.ForwardRefExoticComponent<LabeledCheckboxProps>;
|
|
@@ -398,32 +527,552 @@ declare type AdditionalSKUSelectProps = {
|
|
|
398
527
|
menuRelative?: boolean;
|
|
399
528
|
inPopup?: boolean;
|
|
400
529
|
};
|
|
401
|
-
declare
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
530
|
+
declare const SKUSelect: React$1.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
531
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
532
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
533
|
+
blurInputOnSelect?: boolean | undefined;
|
|
534
|
+
captureMenuScroll?: boolean | undefined;
|
|
535
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
536
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
537
|
+
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
538
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
539
|
+
escapeClearsValue?: boolean | undefined;
|
|
540
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
541
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
542
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
543
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
544
|
+
isDisabled?: boolean | undefined;
|
|
545
|
+
isLoading?: boolean | undefined;
|
|
546
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
547
|
+
isMulti?: boolean | undefined;
|
|
548
|
+
isRtl?: boolean | undefined;
|
|
549
|
+
isSearchable?: boolean | undefined;
|
|
550
|
+
loadingMessage?: ((obj: {
|
|
551
|
+
inputValue: string;
|
|
552
|
+
}) => React$1.ReactNode) | undefined;
|
|
553
|
+
minMenuHeight?: number | undefined;
|
|
554
|
+
maxMenuHeight?: number | undefined;
|
|
555
|
+
menuIsOpen?: boolean | undefined;
|
|
556
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
557
|
+
menuPosition?: MenuPosition | undefined;
|
|
558
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
559
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
560
|
+
noOptionsMessage?: ((obj: {
|
|
561
|
+
inputValue: string;
|
|
562
|
+
}) => React$1.ReactNode) | undefined;
|
|
563
|
+
openMenuOnFocus?: boolean | undefined;
|
|
564
|
+
openMenuOnClick?: boolean | undefined;
|
|
565
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
566
|
+
pageSize?: number | undefined;
|
|
567
|
+
placeholder?: React$1.ReactNode;
|
|
568
|
+
screenReaderStatus?: ((obj: {
|
|
569
|
+
count: number;
|
|
570
|
+
}) => string) | undefined;
|
|
571
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
572
|
+
tabIndex?: number | undefined;
|
|
573
|
+
tabSelectsValue?: boolean | undefined;
|
|
574
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
575
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
576
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
577
|
+
blurInputOnSelect?: boolean | undefined;
|
|
578
|
+
captureMenuScroll?: boolean | undefined;
|
|
579
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
580
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
581
|
+
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
582
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
583
|
+
escapeClearsValue?: boolean | undefined;
|
|
584
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
585
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
586
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
587
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
588
|
+
isDisabled?: boolean | undefined;
|
|
589
|
+
isLoading?: boolean | undefined;
|
|
590
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
591
|
+
isMulti?: boolean | undefined;
|
|
592
|
+
isRtl?: boolean | undefined;
|
|
593
|
+
isSearchable?: boolean | undefined;
|
|
594
|
+
loadingMessage?: ((obj: {
|
|
595
|
+
inputValue: string;
|
|
596
|
+
}) => React$1.ReactNode) | undefined;
|
|
597
|
+
minMenuHeight?: number | undefined;
|
|
598
|
+
maxMenuHeight?: number | undefined;
|
|
599
|
+
menuIsOpen?: boolean | undefined;
|
|
600
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
601
|
+
menuPosition?: MenuPosition | undefined;
|
|
602
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
603
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
604
|
+
noOptionsMessage?: ((obj: {
|
|
605
|
+
inputValue: string;
|
|
606
|
+
}) => React$1.ReactNode) | undefined;
|
|
607
|
+
openMenuOnFocus?: boolean | undefined;
|
|
608
|
+
openMenuOnClick?: boolean | undefined;
|
|
609
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
610
|
+
pageSize?: number | undefined;
|
|
611
|
+
placeholder?: React$1.ReactNode;
|
|
612
|
+
screenReaderStatus?: ((obj: {
|
|
613
|
+
count: number;
|
|
614
|
+
}) => string) | undefined;
|
|
615
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
616
|
+
tabIndex?: number | undefined;
|
|
617
|
+
tabSelectsValue?: boolean | undefined;
|
|
618
|
+
} & {}> & StateManagerAdditionalProps<unknown> & React$1.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
619
|
+
declare const LabeledSelect: React$1.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
620
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
621
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
622
|
+
blurInputOnSelect?: boolean | undefined;
|
|
623
|
+
captureMenuScroll?: boolean | undefined;
|
|
624
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
625
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
626
|
+
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
627
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
628
|
+
escapeClearsValue?: boolean | undefined;
|
|
629
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
630
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
631
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
632
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
633
|
+
isDisabled?: boolean | undefined;
|
|
634
|
+
isLoading?: boolean | undefined;
|
|
635
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
636
|
+
isMulti?: boolean | undefined;
|
|
637
|
+
isRtl?: boolean | undefined;
|
|
638
|
+
isSearchable?: boolean | undefined;
|
|
639
|
+
loadingMessage?: ((obj: {
|
|
640
|
+
inputValue: string;
|
|
641
|
+
}) => React$1.ReactNode) | undefined;
|
|
642
|
+
minMenuHeight?: number | undefined;
|
|
643
|
+
maxMenuHeight?: number | undefined;
|
|
644
|
+
menuIsOpen?: boolean | undefined;
|
|
645
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
646
|
+
menuPosition?: MenuPosition | undefined;
|
|
647
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
648
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
649
|
+
noOptionsMessage?: ((obj: {
|
|
650
|
+
inputValue: string;
|
|
651
|
+
}) => React$1.ReactNode) | undefined;
|
|
652
|
+
openMenuOnFocus?: boolean | undefined;
|
|
653
|
+
openMenuOnClick?: boolean | undefined;
|
|
654
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
655
|
+
pageSize?: number | undefined;
|
|
656
|
+
placeholder?: React$1.ReactNode;
|
|
657
|
+
screenReaderStatus?: ((obj: {
|
|
658
|
+
count: number;
|
|
659
|
+
}) => string) | undefined;
|
|
660
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
661
|
+
tabIndex?: number | undefined;
|
|
662
|
+
tabSelectsValue?: boolean | undefined;
|
|
663
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
664
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
665
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
666
|
+
blurInputOnSelect?: boolean | undefined;
|
|
667
|
+
captureMenuScroll?: boolean | undefined;
|
|
668
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
669
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
670
|
+
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
671
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
672
|
+
escapeClearsValue?: boolean | undefined;
|
|
673
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
674
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
675
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
676
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
677
|
+
isDisabled?: boolean | undefined;
|
|
678
|
+
isLoading?: boolean | undefined;
|
|
679
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
680
|
+
isMulti?: boolean | undefined;
|
|
681
|
+
isRtl?: boolean | undefined;
|
|
682
|
+
isSearchable?: boolean | undefined;
|
|
683
|
+
loadingMessage?: ((obj: {
|
|
684
|
+
inputValue: string;
|
|
685
|
+
}) => React$1.ReactNode) | undefined;
|
|
686
|
+
minMenuHeight?: number | undefined;
|
|
687
|
+
maxMenuHeight?: number | undefined;
|
|
688
|
+
menuIsOpen?: boolean | undefined;
|
|
689
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
690
|
+
menuPosition?: MenuPosition | undefined;
|
|
691
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
692
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
693
|
+
noOptionsMessage?: ((obj: {
|
|
694
|
+
inputValue: string;
|
|
695
|
+
}) => React$1.ReactNode) | undefined;
|
|
696
|
+
openMenuOnFocus?: boolean | undefined;
|
|
697
|
+
openMenuOnClick?: boolean | undefined;
|
|
698
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
699
|
+
pageSize?: number | undefined;
|
|
700
|
+
placeholder?: React$1.ReactNode;
|
|
701
|
+
screenReaderStatus?: ((obj: {
|
|
702
|
+
count: number;
|
|
703
|
+
}) => string) | undefined;
|
|
704
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
705
|
+
tabIndex?: number | undefined;
|
|
706
|
+
tabSelectsValue?: boolean | undefined;
|
|
707
|
+
} & {}> & StateManagerAdditionalProps<unknown> & {
|
|
708
|
+
parentStyle?: React$1.CSSProperties | undefined;
|
|
709
|
+
label?: string | undefined;
|
|
710
|
+
required?: boolean | undefined;
|
|
711
|
+
} & React$1.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
712
|
+
declare const SKUCreatableSelect: React$1.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
713
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
714
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
715
|
+
blurInputOnSelect?: boolean | undefined;
|
|
716
|
+
captureMenuScroll?: boolean | undefined;
|
|
717
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
718
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
719
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
720
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
721
|
+
escapeClearsValue?: boolean | undefined;
|
|
722
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
723
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
724
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
725
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
726
|
+
isDisabled?: boolean | undefined;
|
|
727
|
+
isLoading?: boolean | undefined;
|
|
728
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
729
|
+
isMulti?: false | undefined;
|
|
730
|
+
isRtl?: boolean | undefined;
|
|
731
|
+
isSearchable?: boolean | undefined;
|
|
732
|
+
loadingMessage?: ((obj: {
|
|
733
|
+
inputValue: string;
|
|
734
|
+
}) => React$1.ReactNode) | undefined;
|
|
735
|
+
minMenuHeight?: number | undefined;
|
|
736
|
+
maxMenuHeight?: number | undefined;
|
|
737
|
+
menuIsOpen?: boolean | undefined;
|
|
738
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
739
|
+
menuPosition?: MenuPosition | undefined;
|
|
740
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
741
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
742
|
+
noOptionsMessage?: ((obj: {
|
|
743
|
+
inputValue: string;
|
|
744
|
+
}) => React$1.ReactNode) | undefined;
|
|
745
|
+
openMenuOnFocus?: boolean | undefined;
|
|
746
|
+
openMenuOnClick?: boolean | undefined;
|
|
747
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
748
|
+
pageSize?: number | undefined;
|
|
749
|
+
placeholder?: React$1.ReactNode;
|
|
750
|
+
screenReaderStatus?: ((obj: {
|
|
751
|
+
count: number;
|
|
752
|
+
}) => string) | undefined;
|
|
753
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
754
|
+
tabIndex?: number | undefined;
|
|
755
|
+
tabSelectsValue?: boolean | undefined;
|
|
756
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
757
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
758
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
759
|
+
blurInputOnSelect?: boolean | undefined;
|
|
760
|
+
captureMenuScroll?: boolean | undefined;
|
|
761
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
762
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
763
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
764
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
765
|
+
escapeClearsValue?: boolean | undefined;
|
|
766
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
767
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
768
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
769
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
770
|
+
isDisabled?: boolean | undefined;
|
|
771
|
+
isLoading?: boolean | undefined;
|
|
772
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
773
|
+
isMulti?: false | undefined;
|
|
774
|
+
isRtl?: boolean | undefined;
|
|
775
|
+
isSearchable?: boolean | undefined;
|
|
776
|
+
loadingMessage?: ((obj: {
|
|
777
|
+
inputValue: string;
|
|
778
|
+
}) => React$1.ReactNode) | undefined;
|
|
779
|
+
minMenuHeight?: number | undefined;
|
|
780
|
+
maxMenuHeight?: number | undefined;
|
|
781
|
+
menuIsOpen?: boolean | undefined;
|
|
782
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
783
|
+
menuPosition?: MenuPosition | undefined;
|
|
784
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
785
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
786
|
+
noOptionsMessage?: ((obj: {
|
|
787
|
+
inputValue: string;
|
|
788
|
+
}) => React$1.ReactNode) | undefined;
|
|
789
|
+
openMenuOnFocus?: boolean | undefined;
|
|
790
|
+
openMenuOnClick?: boolean | undefined;
|
|
791
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
792
|
+
pageSize?: number | undefined;
|
|
793
|
+
placeholder?: React$1.ReactNode;
|
|
794
|
+
screenReaderStatus?: ((obj: {
|
|
795
|
+
count: number;
|
|
796
|
+
}) => string) | undefined;
|
|
797
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
798
|
+
tabIndex?: number | undefined;
|
|
799
|
+
tabSelectsValue?: boolean | undefined;
|
|
800
|
+
} & {}> & StateManagerAdditionalProps<unknown> & CreatableAdditionalProps<unknown, GroupBase<unknown>> & React$1.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
801
|
+
declare const LabeledCreatableSelect: React$1.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
802
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
803
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
804
|
+
blurInputOnSelect?: boolean | undefined;
|
|
805
|
+
captureMenuScroll?: boolean | undefined;
|
|
806
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
807
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
808
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
809
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
810
|
+
escapeClearsValue?: boolean | undefined;
|
|
811
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
812
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
813
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
814
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
815
|
+
isDisabled?: boolean | undefined;
|
|
816
|
+
isLoading?: boolean | undefined;
|
|
817
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
818
|
+
isMulti?: false | undefined;
|
|
819
|
+
isRtl?: boolean | undefined;
|
|
820
|
+
isSearchable?: boolean | undefined;
|
|
821
|
+
loadingMessage?: ((obj: {
|
|
822
|
+
inputValue: string;
|
|
823
|
+
}) => React$1.ReactNode) | undefined;
|
|
824
|
+
minMenuHeight?: number | undefined;
|
|
825
|
+
maxMenuHeight?: number | undefined;
|
|
826
|
+
menuIsOpen?: boolean | undefined;
|
|
827
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
828
|
+
menuPosition?: MenuPosition | undefined;
|
|
829
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
830
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
831
|
+
noOptionsMessage?: ((obj: {
|
|
832
|
+
inputValue: string;
|
|
833
|
+
}) => React$1.ReactNode) | undefined;
|
|
834
|
+
openMenuOnFocus?: boolean | undefined;
|
|
835
|
+
openMenuOnClick?: boolean | undefined;
|
|
836
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
837
|
+
pageSize?: number | undefined;
|
|
838
|
+
placeholder?: React$1.ReactNode;
|
|
839
|
+
screenReaderStatus?: ((obj: {
|
|
840
|
+
count: number;
|
|
841
|
+
}) => string) | undefined;
|
|
842
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
843
|
+
tabIndex?: number | undefined;
|
|
844
|
+
tabSelectsValue?: boolean | undefined;
|
|
845
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
846
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
847
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
848
|
+
blurInputOnSelect?: boolean | undefined;
|
|
849
|
+
captureMenuScroll?: boolean | undefined;
|
|
850
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
851
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
852
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
853
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
854
|
+
escapeClearsValue?: boolean | undefined;
|
|
855
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
856
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
857
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
858
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
859
|
+
isDisabled?: boolean | undefined;
|
|
860
|
+
isLoading?: boolean | undefined;
|
|
861
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
862
|
+
isMulti?: false | undefined;
|
|
863
|
+
isRtl?: boolean | undefined;
|
|
864
|
+
isSearchable?: boolean | undefined;
|
|
865
|
+
loadingMessage?: ((obj: {
|
|
866
|
+
inputValue: string;
|
|
867
|
+
}) => React$1.ReactNode) | undefined;
|
|
868
|
+
minMenuHeight?: number | undefined;
|
|
869
|
+
maxMenuHeight?: number | undefined;
|
|
870
|
+
menuIsOpen?: boolean | undefined;
|
|
871
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
872
|
+
menuPosition?: MenuPosition | undefined;
|
|
873
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
874
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
875
|
+
noOptionsMessage?: ((obj: {
|
|
876
|
+
inputValue: string;
|
|
877
|
+
}) => React$1.ReactNode) | undefined;
|
|
878
|
+
openMenuOnFocus?: boolean | undefined;
|
|
879
|
+
openMenuOnClick?: boolean | undefined;
|
|
880
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
881
|
+
pageSize?: number | undefined;
|
|
882
|
+
placeholder?: React$1.ReactNode;
|
|
883
|
+
screenReaderStatus?: ((obj: {
|
|
884
|
+
count: number;
|
|
885
|
+
}) => string) | undefined;
|
|
886
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
887
|
+
tabIndex?: number | undefined;
|
|
888
|
+
tabSelectsValue?: boolean | undefined;
|
|
889
|
+
} & {}> & StateManagerAdditionalProps<unknown> & CreatableAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
890
|
+
parentStyle?: React$1.CSSProperties | undefined;
|
|
891
|
+
label?: string | undefined;
|
|
892
|
+
required?: boolean | undefined;
|
|
893
|
+
} & React$1.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
894
|
+
declare const SKUAsyncSelect: React$1.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
895
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
896
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
897
|
+
blurInputOnSelect?: boolean | undefined;
|
|
898
|
+
captureMenuScroll?: boolean | undefined;
|
|
899
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
900
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
901
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
902
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
903
|
+
escapeClearsValue?: boolean | undefined;
|
|
904
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
905
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
906
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
907
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
908
|
+
isDisabled?: boolean | undefined;
|
|
909
|
+
isLoading?: boolean | undefined;
|
|
910
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
911
|
+
isMulti?: false | undefined;
|
|
912
|
+
isRtl?: boolean | undefined;
|
|
913
|
+
isSearchable?: boolean | undefined;
|
|
914
|
+
loadingMessage?: ((obj: {
|
|
915
|
+
inputValue: string;
|
|
916
|
+
}) => React$1.ReactNode) | undefined;
|
|
917
|
+
minMenuHeight?: number | undefined;
|
|
918
|
+
maxMenuHeight?: number | undefined;
|
|
919
|
+
menuIsOpen?: boolean | undefined;
|
|
920
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
921
|
+
menuPosition?: MenuPosition | undefined;
|
|
922
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
923
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
924
|
+
noOptionsMessage?: ((obj: {
|
|
925
|
+
inputValue: string;
|
|
926
|
+
}) => React$1.ReactNode) | undefined;
|
|
927
|
+
openMenuOnFocus?: boolean | undefined;
|
|
928
|
+
openMenuOnClick?: boolean | undefined;
|
|
929
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
930
|
+
pageSize?: number | undefined;
|
|
931
|
+
placeholder?: React$1.ReactNode;
|
|
932
|
+
screenReaderStatus?: ((obj: {
|
|
933
|
+
count: number;
|
|
934
|
+
}) => string) | undefined;
|
|
935
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
936
|
+
tabIndex?: number | undefined;
|
|
937
|
+
tabSelectsValue?: boolean | undefined;
|
|
938
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
939
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
940
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
941
|
+
blurInputOnSelect?: boolean | undefined;
|
|
942
|
+
captureMenuScroll?: boolean | undefined;
|
|
943
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
944
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
945
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
946
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
947
|
+
escapeClearsValue?: boolean | undefined;
|
|
948
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
949
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
950
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
951
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
952
|
+
isDisabled?: boolean | undefined;
|
|
953
|
+
isLoading?: boolean | undefined;
|
|
954
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
955
|
+
isMulti?: false | undefined;
|
|
956
|
+
isRtl?: boolean | undefined;
|
|
957
|
+
isSearchable?: boolean | undefined;
|
|
958
|
+
loadingMessage?: ((obj: {
|
|
959
|
+
inputValue: string;
|
|
960
|
+
}) => React$1.ReactNode) | undefined;
|
|
961
|
+
minMenuHeight?: number | undefined;
|
|
962
|
+
maxMenuHeight?: number | undefined;
|
|
963
|
+
menuIsOpen?: boolean | undefined;
|
|
964
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
965
|
+
menuPosition?: MenuPosition | undefined;
|
|
966
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
967
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
968
|
+
noOptionsMessage?: ((obj: {
|
|
969
|
+
inputValue: string;
|
|
970
|
+
}) => React$1.ReactNode) | undefined;
|
|
971
|
+
openMenuOnFocus?: boolean | undefined;
|
|
972
|
+
openMenuOnClick?: boolean | undefined;
|
|
973
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
974
|
+
pageSize?: number | undefined;
|
|
975
|
+
placeholder?: React$1.ReactNode;
|
|
976
|
+
screenReaderStatus?: ((obj: {
|
|
977
|
+
count: number;
|
|
978
|
+
}) => string) | undefined;
|
|
979
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
980
|
+
tabIndex?: number | undefined;
|
|
981
|
+
tabSelectsValue?: boolean | undefined;
|
|
982
|
+
} & {}> & StateManagerAdditionalProps<unknown> & AsyncAdditionalProps<unknown, GroupBase<unknown>> & React$1.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
983
|
+
declare const LabeledAsyncSelect: React$1.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
984
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
985
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
986
|
+
blurInputOnSelect?: boolean | undefined;
|
|
987
|
+
captureMenuScroll?: boolean | undefined;
|
|
988
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
989
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
990
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
991
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
992
|
+
escapeClearsValue?: boolean | undefined;
|
|
993
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
994
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
995
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
996
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
997
|
+
isDisabled?: boolean | undefined;
|
|
998
|
+
isLoading?: boolean | undefined;
|
|
999
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
1000
|
+
isMulti?: false | undefined;
|
|
1001
|
+
isRtl?: boolean | undefined;
|
|
1002
|
+
isSearchable?: boolean | undefined;
|
|
1003
|
+
loadingMessage?: ((obj: {
|
|
1004
|
+
inputValue: string;
|
|
1005
|
+
}) => React$1.ReactNode) | undefined;
|
|
1006
|
+
minMenuHeight?: number | undefined;
|
|
1007
|
+
maxMenuHeight?: number | undefined;
|
|
1008
|
+
menuIsOpen?: boolean | undefined;
|
|
1009
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
1010
|
+
menuPosition?: MenuPosition | undefined;
|
|
1011
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
1012
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
1013
|
+
noOptionsMessage?: ((obj: {
|
|
1014
|
+
inputValue: string;
|
|
1015
|
+
}) => React$1.ReactNode) | undefined;
|
|
1016
|
+
openMenuOnFocus?: boolean | undefined;
|
|
1017
|
+
openMenuOnClick?: boolean | undefined;
|
|
1018
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1019
|
+
pageSize?: number | undefined;
|
|
1020
|
+
placeholder?: React$1.ReactNode;
|
|
1021
|
+
screenReaderStatus?: ((obj: {
|
|
1022
|
+
count: number;
|
|
1023
|
+
}) => string) | undefined;
|
|
1024
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
1025
|
+
tabIndex?: number | undefined;
|
|
1026
|
+
tabSelectsValue?: boolean | undefined;
|
|
1027
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
1028
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
1029
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
1030
|
+
blurInputOnSelect?: boolean | undefined;
|
|
1031
|
+
captureMenuScroll?: boolean | undefined;
|
|
1032
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
1033
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
1034
|
+
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
1035
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
1036
|
+
escapeClearsValue?: boolean | undefined;
|
|
1037
|
+
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
1038
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React$1.ReactNode) | undefined;
|
|
1039
|
+
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
1040
|
+
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
1041
|
+
isDisabled?: boolean | undefined;
|
|
1042
|
+
isLoading?: boolean | undefined;
|
|
1043
|
+
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
1044
|
+
isMulti?: false | undefined;
|
|
1045
|
+
isRtl?: boolean | undefined;
|
|
1046
|
+
isSearchable?: boolean | undefined;
|
|
1047
|
+
loadingMessage?: ((obj: {
|
|
1048
|
+
inputValue: string;
|
|
1049
|
+
}) => React$1.ReactNode) | undefined;
|
|
1050
|
+
minMenuHeight?: number | undefined;
|
|
1051
|
+
maxMenuHeight?: number | undefined;
|
|
1052
|
+
menuIsOpen?: boolean | undefined;
|
|
1053
|
+
menuPlacement?: MenuPlacement | undefined;
|
|
1054
|
+
menuPosition?: MenuPosition | undefined;
|
|
1055
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
1056
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
1057
|
+
noOptionsMessage?: ((obj: {
|
|
1058
|
+
inputValue: string;
|
|
1059
|
+
}) => React$1.ReactNode) | undefined;
|
|
1060
|
+
openMenuOnFocus?: boolean | undefined;
|
|
1061
|
+
openMenuOnClick?: boolean | undefined;
|
|
1062
|
+
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1063
|
+
pageSize?: number | undefined;
|
|
1064
|
+
placeholder?: React$1.ReactNode;
|
|
1065
|
+
screenReaderStatus?: ((obj: {
|
|
1066
|
+
count: number;
|
|
1067
|
+
}) => string) | undefined;
|
|
1068
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
1069
|
+
tabIndex?: number | undefined;
|
|
1070
|
+
tabSelectsValue?: boolean | undefined;
|
|
1071
|
+
} & {}> & StateManagerAdditionalProps<unknown> & AsyncAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
1072
|
+
parentStyle?: React$1.CSSProperties | undefined;
|
|
1073
|
+
label?: string | undefined;
|
|
1074
|
+
required?: boolean | undefined;
|
|
1075
|
+
} & React$1.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
427
1076
|
//# sourceMappingURL=Select.d.ts.map
|
|
428
1077
|
|
|
429
1078
|
declare type SidePanelType = {
|
|
@@ -493,6 +1142,58 @@ declare const THSorted: ({ children, order, iconHeight, iconStyles, hideIconOnMo
|
|
|
493
1142
|
}>) => JSX.Element;
|
|
494
1143
|
//# sourceMappingURL=Table.d.ts.map
|
|
495
1144
|
|
|
1145
|
+
declare const GridTableContainer: StyledComponent<"div", any, {
|
|
1146
|
+
width?: string | undefined;
|
|
1147
|
+
gridTemplateRows?: string | undefined;
|
|
1148
|
+
gridTemplateColumns: string;
|
|
1149
|
+
gridRowGap?: string | undefined;
|
|
1150
|
+
gridColumnGap?: string | undefined;
|
|
1151
|
+
} & SharedStyleTypes, never>;
|
|
1152
|
+
declare const GridRow: StyledComponent<"div", any, {
|
|
1153
|
+
gridTemplateColumns: string;
|
|
1154
|
+
gridColumnGap?: string | undefined;
|
|
1155
|
+
} & SharedStyleTypes, never>;
|
|
1156
|
+
declare const GridCell: StyledComponent<"div", any, {
|
|
1157
|
+
width?: string | undefined;
|
|
1158
|
+
header?: boolean | undefined;
|
|
1159
|
+
centerContent?: boolean | undefined;
|
|
1160
|
+
} & SharedStyleTypes, never>;
|
|
1161
|
+
declare type TValue = string | number | object;
|
|
1162
|
+
declare type TransformFunction = (value: any | {
|
|
1163
|
+
label: string;
|
|
1164
|
+
value: string;
|
|
1165
|
+
}) => TValue;
|
|
1166
|
+
declare type TChild = React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
|
|
1167
|
+
declare type ColumnProps = {
|
|
1168
|
+
name: string;
|
|
1169
|
+
title: React$1.ReactNode;
|
|
1170
|
+
children: TChild;
|
|
1171
|
+
centerContent?: boolean;
|
|
1172
|
+
transform?: TransformFunction;
|
|
1173
|
+
};
|
|
1174
|
+
declare type GridTableProps = {
|
|
1175
|
+
data: {
|
|
1176
|
+
id: number | string;
|
|
1177
|
+
[key: string]: any;
|
|
1178
|
+
}[];
|
|
1179
|
+
idField?: string;
|
|
1180
|
+
children: TChild | TChild[];
|
|
1181
|
+
onUpdate?: (value: object) => void;
|
|
1182
|
+
onDelete?: (id: number | string) => void;
|
|
1183
|
+
onAdd?: (data: any) => void;
|
|
1184
|
+
onSort?: (id: number | string, index: number | string) => void;
|
|
1185
|
+
validate?: (data: any) => {
|
|
1186
|
+
[key: string]: false | string;
|
|
1187
|
+
};
|
|
1188
|
+
gridTemplateRows?: string;
|
|
1189
|
+
gridTemplateColumns?: string;
|
|
1190
|
+
gridRowGap?: string;
|
|
1191
|
+
gridColumnGap?: string;
|
|
1192
|
+
} & SharedStyleTypes & SizerTypes;
|
|
1193
|
+
declare const Column: ({ name, title, children, centerContent, transform, }: ColumnProps) => JSX.Element;
|
|
1194
|
+
declare function GridTable({ data, idField, onUpdate, onDelete, onAdd, onSort, validate, children, gridTemplateRows, gridTemplateColumns, gridRowGap, gridColumnGap, ...props }: GridTableProps): JSX.Element;
|
|
1195
|
+
//# sourceMappingURL=GridTable.d.ts.map
|
|
1196
|
+
|
|
496
1197
|
declare const tabSizes: {
|
|
497
1198
|
small: FlattenSimpleInterpolation;
|
|
498
1199
|
medium: FlattenSimpleInterpolation;
|
|
@@ -503,6 +1204,7 @@ declare const TabBar: StyledComponent<"ul", any, {
|
|
|
503
1204
|
declare const Tab: StyledComponent<"li", any, {
|
|
504
1205
|
selected?: boolean | undefined;
|
|
505
1206
|
size?: "small" | "medium" | undefined;
|
|
1207
|
+
variant?: "primary" | "secondary" | undefined;
|
|
506
1208
|
} & SharedStyleTypes, never>;
|
|
507
1209
|
declare type TTab = {
|
|
508
1210
|
label: string;
|
|
@@ -608,6 +1310,7 @@ declare type ArtworkProps = {
|
|
|
608
1310
|
onEdit?: Function | VoidFunction;
|
|
609
1311
|
onDelete?: Function | VoidFunction;
|
|
610
1312
|
onSave?: Function | VoidFunction;
|
|
1313
|
+
onError?: Function | VoidFunction;
|
|
611
1314
|
onDownload?: Function | VoidFunction;
|
|
612
1315
|
inputProps?: InputProps;
|
|
613
1316
|
inputEl?: React$1.ReactNode;
|
|
@@ -618,7 +1321,6 @@ declare const StarRating: (props: {
|
|
|
618
1321
|
rating: number;
|
|
619
1322
|
} & SharedStyleTypes) => JSX.Element;
|
|
620
1323
|
|
|
621
|
-
declare const Grid: StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
622
1324
|
declare type RowPropTypes = {
|
|
623
1325
|
justify?: string;
|
|
624
1326
|
wrap?: string;
|
|
@@ -640,17 +1342,26 @@ declare const Row: StyledComponent<"div", any, {
|
|
|
640
1342
|
declare type ColPropTypes = SizerTypes & SharedStyleTypes;
|
|
641
1343
|
declare const Col: StyledComponent<"div", any, SizerTypes & SharedStyleTypes, never>;
|
|
642
1344
|
|
|
643
|
-
declare const Overlay: StyledComponent<"div", any, {
|
|
1345
|
+
declare const Overlay: StyledComponent<"div", any, {
|
|
1346
|
+
zIndex?: number | undefined;
|
|
1347
|
+
}, never>;
|
|
644
1348
|
declare const PopupHeader: StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
|
|
645
1349
|
declare type PopupProps = React$1.PropsWithChildren<{
|
|
646
1350
|
header?: React$1.Component;
|
|
1351
|
+
noHeader?: boolean;
|
|
647
1352
|
title?: string | React$1.Component;
|
|
648
1353
|
controls?: Array<React$1.ReactNode>;
|
|
649
1354
|
onClose?: (event?: React$1.MouseEvent) => void;
|
|
1355
|
+
noCloseButton?: boolean;
|
|
650
1356
|
closeOnClickOutside?: boolean;
|
|
651
1357
|
closeOnEsc?: boolean;
|
|
1358
|
+
width?: string;
|
|
1359
|
+
height?: string;
|
|
1360
|
+
padding?: string;
|
|
1361
|
+
zIndex?: number;
|
|
1362
|
+
overlayZIndex?: number;
|
|
652
1363
|
} & SharedStyleTypes> & React$1.HTMLAttributes<HTMLDivElement>;
|
|
653
|
-
declare const Popup: ({ header, title, controls, children, onClose, closeOnEsc, closeOnClickOutside, ...props }: PopupProps) => JSX.Element;
|
|
1364
|
+
declare const Popup: ({ header, noHeader, title, controls, children, onClose, noCloseButton, closeOnEsc, closeOnClickOutside, overlayZIndex, ...props }: PopupProps) => JSX.Element;
|
|
654
1365
|
declare const ShowPopup: React$1.FC<Omit<PopupProps, 'onClose'> & {
|
|
655
1366
|
popup: React$1.ComponentType<PopupProps>;
|
|
656
1367
|
autoOpen?: boolean;
|
|
@@ -1627,6 +2338,22 @@ declare const themeOptions: {
|
|
|
1627
2338
|
'9': string;
|
|
1628
2339
|
'10': string;
|
|
1629
2340
|
};
|
|
2341
|
+
mediaQueries: {
|
|
2342
|
+
sizeMediaWidth: {
|
|
2343
|
+
xs: string;
|
|
2344
|
+
sm: string;
|
|
2345
|
+
md: string;
|
|
2346
|
+
lg: string;
|
|
2347
|
+
xl: string;
|
|
2348
|
+
};
|
|
2349
|
+
sizeMedia: {
|
|
2350
|
+
xs: string;
|
|
2351
|
+
sm: string;
|
|
2352
|
+
md: string;
|
|
2353
|
+
lg: string;
|
|
2354
|
+
xl: string;
|
|
2355
|
+
};
|
|
2356
|
+
};
|
|
1630
2357
|
};
|
|
1631
2358
|
declare function getColor(color?: string, def?: string): string;
|
|
1632
2359
|
declare function getFontStyle(value?: string, def?: string): string;
|
|
@@ -1661,18 +2388,16 @@ declare const Text: StyledComponent<"span", any, {
|
|
|
1661
2388
|
} & SharedStyleTypes, never>;
|
|
1662
2389
|
declare const Link: StyledComponent<React$1.FC<{
|
|
1663
2390
|
highlight?: boolean | undefined;
|
|
1664
|
-
} &
|
|
2391
|
+
} & {
|
|
1665
2392
|
[x: string]: any;
|
|
1666
2393
|
[x: number]: any;
|
|
1667
2394
|
[x: symbol]: any;
|
|
1668
2395
|
} & {
|
|
1669
2396
|
theme?: any;
|
|
1670
|
-
} &
|
|
1671
|
-
children?: React$1.ReactNode;
|
|
1672
|
-
})) & {
|
|
2397
|
+
} & {
|
|
1673
2398
|
as?: string | React$1.ComponentType<any> | undefined;
|
|
1674
2399
|
forwardedAs?: string | React$1.ComponentType<any> | undefined;
|
|
1675
|
-
}
|
|
2400
|
+
} & SharedStyleTypes>, any, {}, never>;
|
|
1676
2401
|
declare const Number: React$1.FC<{
|
|
1677
2402
|
num: number;
|
|
1678
2403
|
commas?: boolean;
|
|
@@ -1719,8 +2444,14 @@ declare type DropdownContentProps = {
|
|
|
1719
2444
|
primary?: boolean;
|
|
1720
2445
|
underlined?: boolean;
|
|
1721
2446
|
text?: string;
|
|
2447
|
+
width?: string | number;
|
|
2448
|
+
bordered?: boolean;
|
|
1722
2449
|
};
|
|
1723
|
-
declare
|
|
2450
|
+
declare type DropdownItemProps = {
|
|
2451
|
+
primary?: boolean;
|
|
2452
|
+
underlined?: boolean;
|
|
2453
|
+
};
|
|
2454
|
+
declare const DropdownItem: StyledComponent<"div", any, DropdownItemProps, never>;
|
|
1724
2455
|
declare const DropDownContent: StyledComponent<"div", any, DropdownContentProps, never>;
|
|
1725
2456
|
declare type TDropdownItem = {
|
|
1726
2457
|
onClick?: Function | VoidFunction | null;
|
|
@@ -1738,8 +2469,12 @@ declare type DropdownProps = {
|
|
|
1738
2469
|
size?: TSize$1;
|
|
1739
2470
|
style?: CSSObject;
|
|
1740
2471
|
buttonVariant?: ButtonVariant;
|
|
2472
|
+
width?: string | number;
|
|
2473
|
+
bordered?: boolean;
|
|
2474
|
+
hideOnMouseLeave?: boolean;
|
|
2475
|
+
onToggleMenu?: (value: boolean) => void;
|
|
1741
2476
|
};
|
|
1742
|
-
declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, buttonVariant, ...props }: React$1.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
2477
|
+
declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, onToggleMenu, mouseLeaveCallback, size, style, buttonVariant, width, bordered, hideOnMouseLeave, ...props }: React$1.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
1743
2478
|
|
|
1744
2479
|
declare const Badge: StyledComponent<"span", any, {
|
|
1745
2480
|
color?: string | undefined;
|
|
@@ -1924,97 +2659,13 @@ declare type ThermometerProps = {
|
|
|
1924
2659
|
};
|
|
1925
2660
|
declare function Thermometer({ title, target, value1, value1Label, barColor, labelTextColor, isSecondary, ...props }: ThermometerProps): JSX.Element;
|
|
1926
2661
|
|
|
1927
|
-
declare const iconSize: {
|
|
1928
|
-
tiny: {
|
|
1929
|
-
width: number;
|
|
1930
|
-
height: number;
|
|
1931
|
-
viewBox: string;
|
|
1932
|
-
};
|
|
1933
|
-
small: {
|
|
1934
|
-
width: number;
|
|
1935
|
-
height: number;
|
|
1936
|
-
viewBox: string;
|
|
1937
|
-
};
|
|
1938
|
-
medium: {
|
|
1939
|
-
width: number;
|
|
1940
|
-
height: number;
|
|
1941
|
-
viewBox: string;
|
|
1942
|
-
};
|
|
1943
|
-
large: {
|
|
1944
|
-
width: number;
|
|
1945
|
-
height: number;
|
|
1946
|
-
viewBox: string;
|
|
1947
|
-
};
|
|
1948
|
-
huge: {
|
|
1949
|
-
width: number;
|
|
1950
|
-
height: number;
|
|
1951
|
-
viewBox: string;
|
|
1952
|
-
};
|
|
1953
|
-
default: {
|
|
1954
|
-
height: number;
|
|
1955
|
-
width: number;
|
|
1956
|
-
viewBox: string;
|
|
1957
|
-
};
|
|
1958
|
-
};
|
|
1959
|
-
declare type TIconSizeObj = typeof iconSize;
|
|
1960
|
-
declare type TIconSize = keyof typeof iconSize;
|
|
1961
|
-
declare type BaseSVGIconProps = {
|
|
1962
|
-
size?: TIconSize;
|
|
1963
|
-
width?: string | number;
|
|
1964
|
-
height?: string | number;
|
|
1965
|
-
altText?: string;
|
|
1966
|
-
pointer?: boolean;
|
|
1967
|
-
iconSizes?: TIconSizeObj;
|
|
1968
|
-
disabled?: boolean;
|
|
1969
|
-
} & SharedStyleTypes;
|
|
1970
|
-
declare type SVGIconProps = React.SVGAttributes<SVGElement> & BaseSVGIconProps;
|
|
1971
|
-
declare const SVG: StyledComponent<"svg", any, {
|
|
1972
|
-
size?: "tiny" | "small" | "medium" | "large" | "huge" | "default" | undefined;
|
|
1973
|
-
width?: string | number | undefined;
|
|
1974
|
-
height?: string | number | undefined;
|
|
1975
|
-
altText?: string | undefined;
|
|
1976
|
-
pointer?: boolean | undefined;
|
|
1977
|
-
iconSizes?: {
|
|
1978
|
-
tiny: {
|
|
1979
|
-
width: number;
|
|
1980
|
-
height: number;
|
|
1981
|
-
viewBox: string;
|
|
1982
|
-
};
|
|
1983
|
-
small: {
|
|
1984
|
-
width: number;
|
|
1985
|
-
height: number;
|
|
1986
|
-
viewBox: string;
|
|
1987
|
-
};
|
|
1988
|
-
medium: {
|
|
1989
|
-
width: number;
|
|
1990
|
-
height: number;
|
|
1991
|
-
viewBox: string;
|
|
1992
|
-
};
|
|
1993
|
-
large: {
|
|
1994
|
-
width: number;
|
|
1995
|
-
height: number;
|
|
1996
|
-
viewBox: string;
|
|
1997
|
-
};
|
|
1998
|
-
huge: {
|
|
1999
|
-
width: number;
|
|
2000
|
-
height: number;
|
|
2001
|
-
viewBox: string;
|
|
2002
|
-
};
|
|
2003
|
-
default: {
|
|
2004
|
-
height: number;
|
|
2005
|
-
width: number;
|
|
2006
|
-
viewBox: string;
|
|
2007
|
-
};
|
|
2008
|
-
} | undefined;
|
|
2009
|
-
disabled?: boolean | undefined;
|
|
2010
|
-
} & SharedStyleTypes, never>;
|
|
2011
|
-
|
|
2012
2662
|
declare type LightIndicatorProps = {
|
|
2013
2663
|
name: string;
|
|
2014
2664
|
on?: boolean;
|
|
2015
2665
|
large?: boolean;
|
|
2666
|
+
textProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
2016
2667
|
};
|
|
2017
|
-
declare function LightIndicator({ name, on, large, ...props }: LightIndicatorProps): JSX.Element;
|
|
2668
|
+
declare function LightIndicator({ name, on, large, textProps, ...props }: LightIndicatorProps): JSX.Element;
|
|
2018
2669
|
|
|
2019
2670
|
declare type DefaultStarProps = React$1.PropsWithChildren<{
|
|
2020
2671
|
initialSelected?: boolean;
|
|
@@ -2114,7 +2765,7 @@ interface Row$1<D extends Record<string, unknown> = Record<string, unknown>> ext
|
|
|
2114
2765
|
}
|
|
2115
2766
|
|
|
2116
2767
|
declare type VirtualTableProps = {
|
|
2117
|
-
columns: Column<object>[];
|
|
2768
|
+
columns: Column$1<object>[];
|
|
2118
2769
|
data: object[];
|
|
2119
2770
|
itemSize?: (value: {
|
|
2120
2771
|
index: number;
|
|
@@ -2124,7 +2775,12 @@ declare type VirtualTableProps = {
|
|
|
2124
2775
|
minWidth?: number;
|
|
2125
2776
|
maxWidth?: number;
|
|
2126
2777
|
defaultSort?: SortingRule<string>;
|
|
2127
|
-
onClickRow?: (row?: object, index?: number
|
|
2778
|
+
onClickRow?: (row?: object, index?: number, data?: {
|
|
2779
|
+
isScrolling: boolean;
|
|
2780
|
+
cell: Cell<Record<string, unknown>, any>;
|
|
2781
|
+
resetList: (index?: number) => void;
|
|
2782
|
+
toggleAllRowsExpanded: (value?: boolean | undefined) => void;
|
|
2783
|
+
}) => void;
|
|
2128
2784
|
onScroll?: ((props: ListOnScrollProps) => any);
|
|
2129
2785
|
onUpdateData?: (...args: any) => void;
|
|
2130
2786
|
useTableProps?: object;
|
|
@@ -2175,6 +2831,105 @@ declare const VirtualTableStyles: StyledComponent<"div", any, {
|
|
|
2175
2831
|
}, never>;
|
|
2176
2832
|
//# sourceMappingURL=VirtualTableStyles.d.ts.map
|
|
2177
2833
|
|
|
2834
|
+
declare type ResponsiveValue<T = string | number> = T | Array<T | null> | {
|
|
2835
|
+
xs?: T;
|
|
2836
|
+
sm?: T;
|
|
2837
|
+
md?: T;
|
|
2838
|
+
lg?: T;
|
|
2839
|
+
xl?: T;
|
|
2840
|
+
};
|
|
2841
|
+
|
|
2842
|
+
declare const createMeasurementStyle: (v: string | number, keys: string[]) => {};
|
|
2843
|
+
declare type BaseCskuProps = {
|
|
2844
|
+
pr?: ResponsiveValue<string | number>;
|
|
2845
|
+
pl?: ResponsiveValue<string | number>;
|
|
2846
|
+
pt?: ResponsiveValue<string | number>;
|
|
2847
|
+
pb?: ResponsiveValue<string | number>;
|
|
2848
|
+
px?: ResponsiveValue<string | number>;
|
|
2849
|
+
py?: ResponsiveValue<string | number>;
|
|
2850
|
+
mr?: ResponsiveValue<string | number>;
|
|
2851
|
+
ml?: ResponsiveValue<string | number>;
|
|
2852
|
+
mt?: ResponsiveValue<string | number>;
|
|
2853
|
+
mb?: ResponsiveValue<string | number>;
|
|
2854
|
+
mx?: ResponsiveValue<string | number>;
|
|
2855
|
+
my?: ResponsiveValue<string | number>;
|
|
2856
|
+
width?: ResponsiveValue<string | number>;
|
|
2857
|
+
height?: ResponsiveValue<string | number>;
|
|
2858
|
+
color?: ResponsiveValue<string>;
|
|
2859
|
+
bg?: ResponsiveValue<string>;
|
|
2860
|
+
background?: ResponsiveValue<string>;
|
|
2861
|
+
backgroundColor?: ResponsiveValue<string>;
|
|
2862
|
+
hidden?: ResponsiveValue<boolean>;
|
|
2863
|
+
block?: ResponsiveValue<boolean>;
|
|
2864
|
+
inline_block?: ResponsiveValue<boolean>;
|
|
2865
|
+
flex?: ResponsiveValue<boolean>;
|
|
2866
|
+
inline_flex?: ResponsiveValue<boolean>;
|
|
2867
|
+
grid?: ResponsiveValue<boolean>;
|
|
2868
|
+
float?: ResponsiveValue<string>;
|
|
2869
|
+
colSpan?: ResponsiveValue<string | number | boolean>;
|
|
2870
|
+
style?: ResponsiveValue<CSSObject>;
|
|
2871
|
+
sx?: ResponsiveValue<CSSObject>;
|
|
2872
|
+
};
|
|
2873
|
+
declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false | CSSObject | Keyframes | {
|
|
2874
|
+
readonly $$typeof: symbol;
|
|
2875
|
+
defaultProps?: Partial<{
|
|
2876
|
+
[x: string]: any;
|
|
2877
|
+
} & {
|
|
2878
|
+
theme?: any;
|
|
2879
|
+
}> | undefined;
|
|
2880
|
+
displayName?: string | undefined;
|
|
2881
|
+
propTypes?: WeakValidationMap<{
|
|
2882
|
+
[x: string]: any;
|
|
2883
|
+
} & {
|
|
2884
|
+
theme?: any;
|
|
2885
|
+
}> | undefined;
|
|
2886
|
+
withComponent: {
|
|
2887
|
+
<WithC extends AnyStyledComponent>(component: WithC): StyledComponent<StyledComponentInnerComponent<WithC>, any, any, any>;
|
|
2888
|
+
<WithC_1 extends ComponentType<any> | keyof JSX.IntrinsicElements>(component: WithC_1): StyledComponent<WithC_1, any, any, any>;
|
|
2889
|
+
};
|
|
2890
|
+
} | {
|
|
2891
|
+
[key: string]: CSSObject;
|
|
2892
|
+
} | FlattenSimpleInterpolation | null | undefined)[];
|
|
2893
|
+
declare type CskuProps = StyledComponent<"div", any, BaseCskuProps, never>;
|
|
2894
|
+
declare const Csku: StyledComponent<"div", any, BaseCskuProps, never>;
|
|
2895
|
+
|
|
2896
|
+
declare type BaseGridProps = {
|
|
2897
|
+
columns?: number;
|
|
2898
|
+
gap?: number | string;
|
|
2899
|
+
};
|
|
2900
|
+
declare type GridProps = React$1.HTMLAttributes<HTMLDivElement & BaseGridProps>;
|
|
2901
|
+
declare const Grid: StyledComponent<"div", any, BaseGridProps, never>;
|
|
2902
|
+
declare type BaseGridItemProps = {
|
|
2903
|
+
colSpan?: ResponsiveValue<string | number | boolean>;
|
|
2904
|
+
style?: ResponsiveValue<CSSObject>;
|
|
2905
|
+
};
|
|
2906
|
+
declare type GridItemProps = Omit<React$1.HTMLAttributes<HTMLDivElement>, 'style'> & BaseGridItemProps;
|
|
2907
|
+
declare const GridItem: StyledComponent<"div", any, BaseGridItemProps, never>;
|
|
2908
|
+
|
|
2909
|
+
declare type TReactNode = React$1.ReactChild | React$1.ReactPortal | null | undefined;
|
|
2910
|
+
declare type CollapsibleProps$1 = React$1.PropsWithChildren<{
|
|
2911
|
+
style?: React$1.CSSProperties;
|
|
2912
|
+
label: TReactNode;
|
|
2913
|
+
controls?: TReactNode;
|
|
2914
|
+
open?: boolean;
|
|
2915
|
+
onToggleOpen?: (v: boolean) => void;
|
|
2916
|
+
}>;
|
|
2917
|
+
declare const Collapsible$1: (props: CollapsibleProps$1) => JSX.Element;
|
|
2918
|
+
declare type CollapsibleLabelProps = {
|
|
2919
|
+
children?: TReactNode;
|
|
2920
|
+
isOpen?: boolean;
|
|
2921
|
+
};
|
|
2922
|
+
declare const CollapsibleLabel: (props: CollapsibleLabelProps) => JSX.Element | null;
|
|
2923
|
+
declare type CollapsibleArrowIconProps = {
|
|
2924
|
+
isOpen?: boolean;
|
|
2925
|
+
};
|
|
2926
|
+
declare const CollapsibleArrowIcon: (props: CollapsibleArrowIconProps) => JSX.Element;
|
|
2927
|
+
declare type CollapsiblesProps = {
|
|
2928
|
+
list: CollapsibleProps$1[];
|
|
2929
|
+
controls?: TReactNode;
|
|
2930
|
+
};
|
|
2931
|
+
declare function Collapsibles(props: CollapsiblesProps): JSX.Element;
|
|
2932
|
+
|
|
2178
2933
|
declare type TableIconProps = SVGIconProps;
|
|
2179
2934
|
declare function TableIcon({ color, size, altText, ...props }: TableIconProps): JSX.Element;
|
|
2180
2935
|
|
|
@@ -2440,24 +3195,6 @@ declare function ClockIcon({ color, size, ...props }: ClockIconProps): JSX.Eleme
|
|
|
2440
3195
|
declare type ClipboardIconProps = SVGIconProps;
|
|
2441
3196
|
declare function ClipboardIcon({ color, size, ...props }: ClipboardIconProps): JSX.Element;
|
|
2442
3197
|
|
|
2443
|
-
declare type RadioIconProps = SVGIconProps & {
|
|
2444
|
-
selected?: boolean;
|
|
2445
|
-
hover?: boolean;
|
|
2446
|
-
hoverColor?: string;
|
|
2447
|
-
disabled?: boolean;
|
|
2448
|
-
disabledColor?: string;
|
|
2449
|
-
};
|
|
2450
|
-
declare function RadioIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, altText, ...props }: RadioIconProps): JSX.Element;
|
|
2451
|
-
|
|
2452
|
-
declare type CheckboxIconProps = SVGIconProps & {
|
|
2453
|
-
selected?: boolean;
|
|
2454
|
-
hover?: boolean;
|
|
2455
|
-
hoverColor?: string;
|
|
2456
|
-
disabled?: boolean;
|
|
2457
|
-
disabledColor?: string;
|
|
2458
|
-
};
|
|
2459
|
-
declare function CheckboxIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, altText, ...props }: CheckboxIconProps): JSX.Element;
|
|
2460
|
-
|
|
2461
3198
|
declare type EditIconProps = SVGIconProps & {
|
|
2462
3199
|
filled?: boolean;
|
|
2463
3200
|
};
|
|
@@ -2512,6 +3249,9 @@ declare function CommentIcon({ color, size, altText, number, ...props }: Comment
|
|
|
2512
3249
|
declare type EllipsisIconProps = SVGIconProps;
|
|
2513
3250
|
declare function EllipsisIcon({ color, size, altText, ...props }: EllipsisIconProps): JSX.Element;
|
|
2514
3251
|
|
|
3252
|
+
declare type DragIconProps = SVGIconProps;
|
|
3253
|
+
declare function DragIcon({ color, size, altText, ...props }: DragIconProps): JSX.Element;
|
|
3254
|
+
|
|
2515
3255
|
declare type CreditCardIcon = SVGIconProps;
|
|
2516
3256
|
declare function CreditCardIcon({ color, size, altText, ...props }: CreditCardIcon): JSX.Element;
|
|
2517
3257
|
|
|
@@ -2527,6 +3267,14 @@ declare function HandleIcon({ color, size, altText, ...props }: HandleIcon): JSX
|
|
|
2527
3267
|
declare const datepickerStyles = "\n.commonsku-styles-datepicker {\n &.react-datepicker-wrapper {\n width: 100%;\n }\n\n .react-datepicker__input-container {\n display: block;\n width: 100%;\n }\n\n .react-datepicker {\n border: 1px solid var(--color-primary1-60);\n outline: none;\n box-shadow: 1px 1px 0px var(--color-primary1-60),\n -1px -1px 0px var(--color-primary1-60),\n 1px -1px 0px var(--color-primary1-60),\n -1px 1px 0px var(--color-primary1-60);\n }\n\n .react-datepicker__current-month,\n .react-datepicker-time__header,\n .react-datepicker-year-header,\n .react-datepicker__header {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n\n .react-datepicker__header,\n .react-datepicker__today-button {\n background: var(--color-neutrals-20);\n padding-top: 8px;\n padding-bottom: 8px;\n }\n\n .react-datepicker__header {\n border-bottom: none;\n }\n\n .react-datepicker__today-button {\n border-top: none;\n }\n\n .react-datepicker__day {\n outline: none;\n }\n\n .react-datepicker__day :not(\n .react-datepicker__day--outside-month,\n .react-datepicker__day--selected\n ) {\n color: var(--color-neutrals-90);\n }\n\n .react-datepicker__day:hover :not(.react-datepicker__day--selected),\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n background-color: var(--color-neutrals-20);\n }\n\n .react-datepicker__day--outside-month {\n color: var(--color-neutrals-70);\n }\n\n .react-datepicker__day--weekend {\n color: var(--color-errors-main);\n }\n\n .react-datepicker__day--selected,\n .react-datepicker__day--keyboard-selected,\n .react-datepicker__month-text--keyboard-selected,\n .react-datepicker__quarter-text--keyboard-selected,\n .react-datepicker__year-text--keyboard-selected\n {\n background-color: var(--color-primary1-60);\n color: #fff;\n }\n\n .react-datepicker__triangle {\n border-bottom-color: var(--color-neutrals-20) !important;\n }\n\n .react-datepicker__triangle::before {\n border-bottom-color: var(--color-primary1-60) !important;\n border-top-color: var(--color-primary1-60) !important;\n }\n\n .react-datepicker__month-select,\n .react-datepicker__year-select {\n height: 30px;\n border: 2px solid var(--color-primary1-60);\n padding: 3px;\n border-radius: 5px;\n outline: none;\n }\n\n .react-datepicker__navigation {\n border: 0.45rem solid transparent;\n\n &.react-datepicker__navigation--next {\n border-left: 7px solid var(--color-primary1-60);\n margin-top: 8px;\n }\n \n &.react-datepicker__navigation--previous {\n border-right: 7px solid var(--color-primary1-60);\n margin-top: 8px;\n }\n }\n}\n";
|
|
2528
3268
|
//# sourceMappingURL=datepickerStyles.d.ts.map
|
|
2529
3269
|
|
|
3270
|
+
declare type ConfirmPopupProps = {
|
|
3271
|
+
disableDelete?: boolean;
|
|
3272
|
+
confirmText?: string;
|
|
3273
|
+
onDelete?: () => void;
|
|
3274
|
+
onClose?: () => void;
|
|
3275
|
+
};
|
|
3276
|
+
declare const ConfirmPopup: (props: ConfirmPopupProps) => JSX.Element;
|
|
3277
|
+
|
|
2530
3278
|
declare type CalendarDayBodyProps = React$1.PropsWithChildren<{
|
|
2531
3279
|
day: Date;
|
|
2532
3280
|
selectedDate: Date;
|
|
@@ -2783,7 +3531,7 @@ declare const SimpleWindowedTableStyles: StyledComponent<"div", any, {
|
|
|
2783
3531
|
selectedRowStyle?: boolean | CSSObject | undefined;
|
|
2784
3532
|
}, never>;
|
|
2785
3533
|
declare type SimpleWindowedTableProps = {
|
|
2786
|
-
columns: Column<object>[];
|
|
3534
|
+
columns: Column$1<object>[];
|
|
2787
3535
|
data: object[];
|
|
2788
3536
|
itemSize?: number;
|
|
2789
3537
|
height?: number;
|
|
@@ -2811,4 +3559,4 @@ declare type SimpleWindowedTableProps = {
|
|
|
2811
3559
|
};
|
|
2812
3560
|
declare function SimpleWindowedTable({ columns, data, itemSize, height, minWidth, maxWidth, defaultSort, onClickRow, onScroll, onUpdateData, useTableProps, tableHeaderProps, tableFooterProps, hideFooter, className, NoRowsFound, }: SimpleWindowedTableProps): JSX.Element;
|
|
2813
3561
|
|
|
2814
|
-
export { AddIcon, AddNoteIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, ArtworkProps, SKUAsyncSelect as AsyncSelect, Avatar, AvatarColor, AvatarShape, AvatarSize, AwaitingProofIcon, Backdrop, Background, Badge, BotIcon, Box, BulletIcon, Button, ButtonPreset, ButtonVariant, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarTaskProps, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, ColPropTypes, CollapseStyled, CollapseStyledProps, CollapseWrapper, CollapseWrapperProps, Collapsible, CollapsiblePanel, CollapsiblePanelProps, CollapsiblePanelTitle, CollapsiblePanelTitleProps, CollapsiblePanels, CollapsiblePanelsProps, CollapsibleProps, ColumnSelectIcon, CommentIcon, CompletedCheckmarkIcon, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, CustomDateInput, Datepicker, DatepickerPorps, DaysBodyWrapper, DaysHeaderWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DownloadIcon, DraggableTasksCalendar, DropArea, DropAreaProps, DropDownContent, Dropdown, DropdownItem, DropdownProps, DropzoneTypes, Dropzoned, DropzonedPreviews, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridIcon, H1, H2, H3, H4, H5, H6, HandleIcon, HeaderWrapper, HeadlessTable, HistoryIcon, IconButton, IconButtonProps, IconDoc, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputProps, InputStepper, IntegrationsIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCheckboxProps, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledRadioProps, LabeledSelect, LabeledTextarea, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MailIcon, MarketingStatusIcon, MenuIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavResourcesIcon, NavSalesIcon, NoteIcon, Number, NumberInput, OpportunityCircleIcon, Overlay, Padding, Page, PanelContact, PanelTileContact, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PopupProps, PresentationCircleIcon, Product, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, RadioProps, ReceiptLongIcon, ResponsiveTable, Row, RowPropTypes, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyleTypes, SharedStyles, ShopIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableProps, SimpleWindowedTableStyles, SizerCss, SizerTypes, SizerWrapper, Sparkles, Spinner, StarIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDayBody, StyledDayText, StyledDropArea, StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG as SvgIcon, TBody, TButtonIcon, TD, TDropdownItem, TH, THSorted, THead, TR, TSize$1 as TSize, TSizeOffset, TSizeOffsetRight, TSizeStyle, TTab, Tab, TabBar, Table, TableIcon, Tabs, TabsProps, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TaskProps, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TasksCalendarHeader, TemplateIcon, Text, TextProp, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, TrashIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper, XIcon, colors, datepickerStyles, fontFamilies, fontStyles, fonts, getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, sizes, themeOptions, toggleSizes };
|
|
3562
|
+
export { AddIcon, AddNoteIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, ArtworkProps, SKUAsyncSelect as AsyncSelect, Avatar, AvatarColor, AvatarShape, AvatarSize, AwaitingProofIcon, Backdrop, Background, Badge, BaseCskuProps, BotIcon, Box, BulletIcon, Button, ButtonPreset, ButtonVariant, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarTaskProps, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, ColPropTypes, CollapseStyled, CollapseStyledProps, CollapseWrapper, CollapseWrapperProps, Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelProps, CollapsiblePanelTitle, CollapsiblePanelTitleProps, CollapsiblePanels, CollapsiblePanelsProps, CollapsibleProps, Collapsible$1 as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CompletedCheckmarkIcon, ConfirmPopup, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CskuProps, CustomDateInput, Datepicker, DatepickerPorps, DaysBodyWrapper, DaysHeaderWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropAreaProps, DropDownContent, Dropdown, DropdownItem, DropdownProps, DropzoneTypes, Dropzoned, DropzonedPreviews, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridItemProps, GridProps, GridRow, GridTable, GridTableContainer, H1, H2, H3, H4, H5, H6, HandleIcon, HeaderWrapper, HeadlessTable, HistoryIcon, IconButton, IconButtonProps, IconDoc, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputProps, InputStepper, IntegrationsIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCheckboxProps, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledRadioProps, LabeledSelect, LabeledTextarea, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MailIcon, MarketingStatusIcon, MenuIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavResourcesIcon, NavSalesIcon, NoteIcon, Number, NumberInput, OpportunityCircleIcon, Overlay, Padding, Page, PanelContact, PanelTileContact, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PopupProps, PresentationCircleIcon, Product, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, RadioProps, ReceiptLongIcon, ResponsiveTable, Row, RowPropTypes, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyleTypes, SharedStyles, ShopIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableProps, SimpleWindowedTableStyles, SizerCss, SizerTypes, SizerWrapper, Sparkles, Spinner, StarIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDayBody, StyledDayText, StyledDropArea, StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG as SvgIcon, TBody, TButtonIcon, TD, TDropdownItem, TH, THSorted, THead, TR, TSize$1 as TSize, TSizeOffset, TSizeOffsetRight, TSizeStyle, TTab, Tab, TabBar, Table, TableIcon, Tabs, TabsProps, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TaskProps, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TasksCalendarHeader, TemplateIcon, Text, TextProp, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, TrashIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper, XIcon, colors, createMeasurementStyle, datepickerStyles, fontFamilies, fontStyles, fonts, getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, parseCskuStyles, sizes, themeOptions, toggleSizes };
|