@commonsku/styles 1.14.2 → 1.14.3
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 +236 -14
- package/dist/index.es.js +758 -206
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +770 -204
- package/dist/index.js.map +1 -1
- package/dist/styles/AlertNotification.d.ts +13 -0
- package/dist/styles/AlertNotification.d.ts.map +1 -0
- package/dist/styles/Button.d.ts +2 -2
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CancelButton.d.ts.map +1 -1
- package/dist/styles/DoneButton.d.ts +11 -0
- package/dist/styles/DoneButton.d.ts.map +1 -0
- package/dist/styles/Dropdown.d.ts +3 -2
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +25 -5
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/InputStepper.d.ts +16 -0
- package/dist/styles/InputStepper.d.ts.map +1 -0
- package/dist/styles/LightIndicator.d.ts.map +1 -1
- package/dist/styles/LinkWithIcon.d.ts +22 -0
- package/dist/styles/LinkWithIcon.d.ts.map +1 -0
- package/dist/styles/NumberInput.d.ts +54 -0
- package/dist/styles/NumberInput.d.ts.map +1 -0
- package/dist/styles/Theme.d.ts +4 -0
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Toggle.d.ts +30 -1
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/colors.d.ts +8 -0
- package/dist/styles/colors.d.ts.map +1 -1
- package/dist/styles/hooks/index.d.ts +1 -0
- package/dist/styles/hooks/index.d.ts.map +1 -1
- package/dist/styles/hooks/useLongPress.d.ts +8 -0
- package/dist/styles/hooks/useLongPress.d.ts.map +1 -0
- package/dist/styles/icons/CheckboxIcon.d.ts +12 -0
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -0
- package/dist/styles/icons/CommentIcon.d.ts +28 -0
- package/dist/styles/icons/CommentIcon.d.ts.map +1 -0
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts +1 -1
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/EllipsisIcon.d.ts +6 -0
- package/dist/styles/icons/EllipsisIcon.d.ts.map +1 -0
- package/dist/styles/icons/RadioIcon.d.ts +5 -1
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -1
- package/dist/styles/icons/SvgIcon.d.ts +2 -0
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -1
- package/dist/styles/icons/index.d.ts +3 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +7 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts +57 -0
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -0
- package/dist/styles/tables/VirtualTableStyles.d.ts +11 -0
- package/dist/styles/tables/VirtualTableStyles.d.ts.map +1 -0
- package/dist/styles/tables/index.d.ts +2 -0
- package/dist/styles/tables/index.d.ts.map +1 -1
- package/dist/styles/tables/table-types.d.ts +19 -0
- package/dist/styles/tables/table-types.d.ts.map +1 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import BaseCreatableSelect, { Props as Props$2 } from 'react-select/creatable';
|
|
|
8
8
|
export { makeCreatableSelect } from 'react-select/creatable';
|
|
9
9
|
import BaseAsyncSelect, { Props as Props$1 } from 'react-select/async';
|
|
10
10
|
import BaseDatePicker, { ReactDatePickerProps } from 'react-datepicker';
|
|
11
|
-
import { Column, SortingRule } from 'react-table';
|
|
11
|
+
import { UseFiltersColumnProps, UseGroupByColumnProps, UseResizeColumnsColumnProps, UseSortByColumnProps, UseTableRowProps, UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps, UseRowStateRowProps, Column, SortingRule } from 'react-table';
|
|
12
12
|
import { ListOnScrollProps } from 'react-window';
|
|
13
13
|
|
|
14
14
|
declare type SharedStyleTypes = {
|
|
@@ -226,7 +226,7 @@ declare const sizes: {
|
|
|
226
226
|
};
|
|
227
227
|
declare type TSize$1 = keyof typeof sizes;
|
|
228
228
|
declare type ButtonPreset = 'edit' | 'delete' | 'add' | 'remove' | 'close';
|
|
229
|
-
declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | '
|
|
229
|
+
declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-light';
|
|
230
230
|
declare type ButtonProps = {
|
|
231
231
|
secondary?: boolean;
|
|
232
232
|
cta?: boolean;
|
|
@@ -250,7 +250,7 @@ declare type IconButtonProps = React$1.PropsWithChildren<ButtonProps & {
|
|
|
250
250
|
iconProps?: {
|
|
251
251
|
[key: string]: any;
|
|
252
252
|
};
|
|
253
|
-
iconPosition?: 'left' | 'right' | 'top';
|
|
253
|
+
iconPosition?: 'left' | 'right' | 'top' | 'bottom';
|
|
254
254
|
preset?: ButtonPreset;
|
|
255
255
|
style?: React$1.CSSProperties;
|
|
256
256
|
}> & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
@@ -309,7 +309,11 @@ declare const LabeledIconInput: React$1.ForwardRefExoticComponent<React$1.InputH
|
|
|
309
309
|
labelOnTop?: boolean | undefined;
|
|
310
310
|
Icon: React$1.ReactElement;
|
|
311
311
|
iconPosition?: "left" | "right" | undefined;
|
|
312
|
+
iconLabelStyles?: React$1.CSSProperties | undefined;
|
|
312
313
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
314
|
+
declare const CheckboxLabel: StyledComponent<"label", any, {
|
|
315
|
+
disabled?: boolean | undefined;
|
|
316
|
+
}, never>;
|
|
313
317
|
declare const RadioLabel: StyledComponent<"label", any, {
|
|
314
318
|
disabled?: boolean | undefined;
|
|
315
319
|
}, never>;
|
|
@@ -328,10 +332,25 @@ declare const Dot: StyledComponent<"span", any, {
|
|
|
328
332
|
isHovering?: boolean | undefined;
|
|
329
333
|
disabled?: boolean | undefined;
|
|
330
334
|
} & SharedStyleTypes, never>;
|
|
331
|
-
declare
|
|
335
|
+
declare type LabeledRadioProps = RadioProps & {
|
|
332
336
|
label: string;
|
|
337
|
+
labelStyle?: React$1.CSSProperties;
|
|
338
|
+
radioIconStyle?: React$1.CSSProperties;
|
|
339
|
+
radioColor?: string;
|
|
340
|
+
radioHoverColor?: string;
|
|
341
|
+
};
|
|
342
|
+
declare const LabeledRadio: React$1.FC<LabeledRadioProps>;
|
|
343
|
+
declare const LabeledRadioInButton: React$1.FC<LabeledRadioProps & {
|
|
344
|
+
flexGrow?: boolean;
|
|
345
|
+
}>;
|
|
346
|
+
declare const LabeledRadioGroup: React$1.FC<LabeledRadioProps & {
|
|
347
|
+
name: string;
|
|
348
|
+
radios: [{
|
|
349
|
+
label: string;
|
|
350
|
+
value: any;
|
|
351
|
+
}];
|
|
333
352
|
}>;
|
|
334
|
-
declare const
|
|
353
|
+
declare const LabeledRadioInButtonGroup: React$1.FC<LabeledRadioProps & {
|
|
335
354
|
name: string;
|
|
336
355
|
radios: [{
|
|
337
356
|
label: string;
|
|
@@ -343,9 +362,10 @@ declare type LabeledCheckboxProps = {
|
|
|
343
362
|
disabled?: boolean;
|
|
344
363
|
label: string | React$1.ReactNode;
|
|
345
364
|
name?: string;
|
|
346
|
-
checkboxStyle?: CSSProperties;
|
|
347
365
|
labelStyle?: CSSProperties;
|
|
348
|
-
|
|
366
|
+
checkboxStyle?: React$1.CSSProperties;
|
|
367
|
+
checkboxColor?: string;
|
|
368
|
+
checkboxHoverColor?: string;
|
|
349
369
|
hoverByLabel?: boolean;
|
|
350
370
|
stopPropagation?: boolean;
|
|
351
371
|
[key: string]: any;
|
|
@@ -506,16 +526,44 @@ declare class Tabs extends Component<TabsProps, TabsState> {
|
|
|
506
526
|
render(): JSX.Element;
|
|
507
527
|
}
|
|
508
528
|
|
|
529
|
+
declare const toggleSizes: {
|
|
530
|
+
small: {
|
|
531
|
+
'font-family': string;
|
|
532
|
+
'font-size': string;
|
|
533
|
+
'line-height': string;
|
|
534
|
+
padding: string;
|
|
535
|
+
borderRadius: string;
|
|
536
|
+
height: string;
|
|
537
|
+
};
|
|
538
|
+
medium: {
|
|
539
|
+
'font-family': string;
|
|
540
|
+
'font-size': string;
|
|
541
|
+
'line-height': string;
|
|
542
|
+
padding: string;
|
|
543
|
+
borderRadius: string;
|
|
544
|
+
height: string;
|
|
545
|
+
};
|
|
546
|
+
large: {
|
|
547
|
+
'font-family': string;
|
|
548
|
+
'font-size': string;
|
|
549
|
+
'line-height': string;
|
|
550
|
+
padding: string;
|
|
551
|
+
borderRadius: string;
|
|
552
|
+
height: string;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
declare type ToggleSize = keyof typeof toggleSizes;
|
|
509
556
|
declare const ToggleLink: StyledComponent<"a", any, {
|
|
510
557
|
selected?: boolean | undefined;
|
|
511
558
|
stretch?: boolean | undefined;
|
|
559
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
512
560
|
} & SharedStyleTypes, never>;
|
|
513
561
|
declare type ToggleProps = React$1.PropsWithChildren<{
|
|
514
562
|
stretch?: boolean;
|
|
515
563
|
onClick?: React$1.MouseEventHandler<HTMLDivElement>;
|
|
564
|
+
size?: ToggleSize;
|
|
516
565
|
} & SharedStyleTypes>;
|
|
517
|
-
declare const Toggle: (props: ToggleProps) => JSX.Element;
|
|
518
|
-
//# sourceMappingURL=Toggle.d.ts.map
|
|
566
|
+
declare const Toggle: ({ size, ...props }: ToggleProps) => JSX.Element;
|
|
519
567
|
|
|
520
568
|
declare type BaseTextareaProps = {
|
|
521
569
|
noMargin?: boolean;
|
|
@@ -669,10 +717,12 @@ declare const colors: {
|
|
|
669
717
|
'90': string;
|
|
670
718
|
main: string;
|
|
671
719
|
'main-hover': string;
|
|
720
|
+
mainHover: string;
|
|
672
721
|
light: string;
|
|
673
722
|
lightest: string;
|
|
674
723
|
dark: string;
|
|
675
724
|
'dark-hover': string;
|
|
725
|
+
darkHover: string;
|
|
676
726
|
darkest: string;
|
|
677
727
|
};
|
|
678
728
|
secondary1: {
|
|
@@ -754,10 +804,12 @@ declare const colors: {
|
|
|
754
804
|
'90': string;
|
|
755
805
|
main: string;
|
|
756
806
|
'main-hover': string;
|
|
807
|
+
mainHover: string;
|
|
757
808
|
light: string;
|
|
758
809
|
lightest: string;
|
|
759
810
|
dark: string;
|
|
760
811
|
'dark-hover': string;
|
|
812
|
+
darkHover: string;
|
|
761
813
|
darkest: string;
|
|
762
814
|
};
|
|
763
815
|
pink: {
|
|
@@ -1122,10 +1174,12 @@ declare const themeOptions: {
|
|
|
1122
1174
|
'90': string;
|
|
1123
1175
|
main: string;
|
|
1124
1176
|
'main-hover': string;
|
|
1177
|
+
mainHover: string;
|
|
1125
1178
|
light: string;
|
|
1126
1179
|
lightest: string;
|
|
1127
1180
|
dark: string;
|
|
1128
1181
|
'dark-hover': string;
|
|
1182
|
+
darkHover: string;
|
|
1129
1183
|
darkest: string;
|
|
1130
1184
|
};
|
|
1131
1185
|
secondary1: {
|
|
@@ -1207,10 +1261,12 @@ declare const themeOptions: {
|
|
|
1207
1261
|
'90': string;
|
|
1208
1262
|
main: string;
|
|
1209
1263
|
'main-hover': string;
|
|
1264
|
+
mainHover: string;
|
|
1210
1265
|
light: string;
|
|
1211
1266
|
lightest: string;
|
|
1212
1267
|
dark: string;
|
|
1213
1268
|
'dark-hover': string;
|
|
1269
|
+
darkHover: string;
|
|
1214
1270
|
darkest: string;
|
|
1215
1271
|
};
|
|
1216
1272
|
pink: {
|
|
@@ -1681,8 +1737,9 @@ declare type DropdownProps = {
|
|
|
1681
1737
|
mouseLeaveCallback?: any;
|
|
1682
1738
|
size?: TSize$1;
|
|
1683
1739
|
style?: CSSObject;
|
|
1740
|
+
buttonVariant?: ButtonVariant;
|
|
1684
1741
|
};
|
|
1685
|
-
declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, ...props }: React$1.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
1742
|
+
declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, buttonVariant, ...props }: React$1.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
1686
1743
|
|
|
1687
1744
|
declare const Badge: StyledComponent<"span", any, {
|
|
1688
1745
|
color?: string | undefined;
|
|
@@ -1908,6 +1965,7 @@ declare type BaseSVGIconProps = {
|
|
|
1908
1965
|
altText?: string;
|
|
1909
1966
|
pointer?: boolean;
|
|
1910
1967
|
iconSizes?: TIconSizeObj;
|
|
1968
|
+
disabled?: boolean;
|
|
1911
1969
|
} & SharedStyleTypes;
|
|
1912
1970
|
declare type SVGIconProps = React.SVGAttributes<SVGElement> & BaseSVGIconProps;
|
|
1913
1971
|
declare const SVG: StyledComponent<"svg", any, {
|
|
@@ -1948,6 +2006,7 @@ declare const SVG: StyledComponent<"svg", any, {
|
|
|
1948
2006
|
viewBox: string;
|
|
1949
2007
|
};
|
|
1950
2008
|
} | undefined;
|
|
2009
|
+
disabled?: boolean | undefined;
|
|
1951
2010
|
} & SharedStyleTypes, never>;
|
|
1952
2011
|
|
|
1953
2012
|
declare type LightIndicatorProps = {
|
|
@@ -1974,6 +2033,148 @@ declare type CancelButtonProps = {
|
|
|
1974
2033
|
} & SharedStyleTypes & SizerTypes;
|
|
1975
2034
|
declare function CancelButton({ size, variant, style, ...Props }: CancelButtonProps): JSX.Element;
|
|
1976
2035
|
|
|
2036
|
+
declare type DoneButtonProps = {
|
|
2037
|
+
size?: TSize$1;
|
|
2038
|
+
style?: React$1.CSSProperties;
|
|
2039
|
+
variant?: ButtonVariant;
|
|
2040
|
+
} & SharedStyleTypes & SizerTypes;
|
|
2041
|
+
declare function DoneButton({ size, variant, style, ...Props }: DoneButtonProps): JSX.Element;
|
|
2042
|
+
|
|
2043
|
+
declare type AlertNotificationProps = React$1.PropsWithChildren<{
|
|
2044
|
+
alertType?: "neutral" | "success" | "error";
|
|
2045
|
+
style?: React$1.CSSProperties;
|
|
2046
|
+
learnMore?: boolean;
|
|
2047
|
+
href?: string;
|
|
2048
|
+
linkText?: string;
|
|
2049
|
+
}> & SharedStyleTypes & SizerTypes;
|
|
2050
|
+
declare function AlertNotification({ alertType, learnMore, href, linkText, children, style, ...props }: AlertNotificationProps): JSX.Element;
|
|
2051
|
+
|
|
2052
|
+
declare type IconFuncProps$1 = {
|
|
2053
|
+
color: string;
|
|
2054
|
+
[key: string]: any;
|
|
2055
|
+
};
|
|
2056
|
+
declare type LinkWithIconProps = React$1.PropsWithChildren<{
|
|
2057
|
+
Icon?: TButtonIcon | React$1.ReactElement<IconFuncProps$1>;
|
|
2058
|
+
href?: string;
|
|
2059
|
+
color?: string;
|
|
2060
|
+
hoverColor?: string;
|
|
2061
|
+
flexShrink?: boolean;
|
|
2062
|
+
iconProps?: {
|
|
2063
|
+
[key: string]: any;
|
|
2064
|
+
};
|
|
2065
|
+
style?: React$1.CSSProperties;
|
|
2066
|
+
} & SharedStyleTypes & SizerTypes>;
|
|
2067
|
+
declare function LinkWithIcon({ Icon, href, children, color, hoverColor, flexShrink, iconProps, style, ...props }: LinkWithIconProps): JSX.Element;
|
|
2068
|
+
|
|
2069
|
+
declare type LocaleOptions = {
|
|
2070
|
+
maximumFractionDigits?: number;
|
|
2071
|
+
minimumSignificantDigits?: number;
|
|
2072
|
+
maximumSignificantDigits?: number;
|
|
2073
|
+
numberingSystem?: string;
|
|
2074
|
+
currencySign?: string;
|
|
2075
|
+
currency?: string;
|
|
2076
|
+
unit?: string;
|
|
2077
|
+
style?: 'decimal' | 'currency' | 'percent' | 'unit';
|
|
2078
|
+
unitDisplay?: 'long' | 'short' | 'narrow';
|
|
2079
|
+
currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
|
|
2080
|
+
notation?: 'standard' | 'scientific' | 'engineering' | 'compact';
|
|
2081
|
+
signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero';
|
|
2082
|
+
localeMatcher?: string;
|
|
2083
|
+
useGrouping?: boolean;
|
|
2084
|
+
minimumIntegerDigits?: number;
|
|
2085
|
+
minimumFractionDigits?: number;
|
|
2086
|
+
};
|
|
2087
|
+
declare type NumberInputProps = Omit<InputProps, 'onChange'> & {
|
|
2088
|
+
defaultValue?: string | number;
|
|
2089
|
+
label?: string;
|
|
2090
|
+
icon?: (props: object) => React$1.ReactElement;
|
|
2091
|
+
onClickIcon?: (value: string | number) => string | undefined | void;
|
|
2092
|
+
iconStyles?: {};
|
|
2093
|
+
labelStyle?: React$1.CSSProperties;
|
|
2094
|
+
onChange?: (value: number | string | null, action?: string) => void;
|
|
2095
|
+
localeOptions?: LocaleOptions;
|
|
2096
|
+
inputMode?: "none" | "text" | "numeric" | "decimal";
|
|
2097
|
+
};
|
|
2098
|
+
declare function NumberInput(props: NumberInputProps): JSX.Element;
|
|
2099
|
+
|
|
2100
|
+
declare type InputStepperProps = Omit<NumberInputProps, 'value'> & {
|
|
2101
|
+
min?: number;
|
|
2102
|
+
max?: number;
|
|
2103
|
+
initialValue?: number | string;
|
|
2104
|
+
width?: string;
|
|
2105
|
+
label?: string;
|
|
2106
|
+
labelStyle?: React$1.CSSProperties;
|
|
2107
|
+
inputDisabled?: boolean;
|
|
2108
|
+
};
|
|
2109
|
+
declare function InputStepper(props: InputStepperProps): JSX.Element;
|
|
2110
|
+
|
|
2111
|
+
interface ColumnInstance<D extends Record<string, unknown> = Record<string, unknown>> extends UseFiltersColumnProps<D>, UseGroupByColumnProps<D>, UseResizeColumnsColumnProps<D>, UseSortByColumnProps<D> {
|
|
2112
|
+
}
|
|
2113
|
+
interface Row$1<D extends Record<string, unknown> = Record<string, unknown>> extends UseTableRowProps<D>, UseExpandedRowProps<D>, UseGroupByRowProps<D>, UseRowSelectRowProps<D>, UseRowStateRowProps<D> {
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
declare type VirtualTableProps = {
|
|
2117
|
+
columns: Column<object>[];
|
|
2118
|
+
data: object[];
|
|
2119
|
+
itemSize?: (value: {
|
|
2120
|
+
index: number;
|
|
2121
|
+
row: Row$1;
|
|
2122
|
+
}) => number;
|
|
2123
|
+
height?: number;
|
|
2124
|
+
minWidth?: number;
|
|
2125
|
+
maxWidth?: number;
|
|
2126
|
+
defaultSort?: SortingRule<string>;
|
|
2127
|
+
onClickRow?: (row?: object, index?: number) => void;
|
|
2128
|
+
onScroll?: ((props: ListOnScrollProps) => any);
|
|
2129
|
+
onUpdateData?: (...args: any) => void;
|
|
2130
|
+
useTableProps?: object;
|
|
2131
|
+
tableHeaderProps?: {
|
|
2132
|
+
className?: string;
|
|
2133
|
+
style?: React$1.CSSProperties;
|
|
2134
|
+
};
|
|
2135
|
+
tableFooterProps?: {
|
|
2136
|
+
className?: string;
|
|
2137
|
+
style?: React$1.CSSProperties;
|
|
2138
|
+
};
|
|
2139
|
+
TableFooter?: (props: React$1.PropsWithChildren<{
|
|
2140
|
+
[key: string]: any;
|
|
2141
|
+
}>) => React$1.ReactElement;
|
|
2142
|
+
customTableFooterProps?: object;
|
|
2143
|
+
className?: string;
|
|
2144
|
+
hideFooter?: boolean;
|
|
2145
|
+
hideHeader?: boolean;
|
|
2146
|
+
NoRowsFound?: (props: React$1.PropsWithChildren<{
|
|
2147
|
+
[key: string]: any;
|
|
2148
|
+
}>) => React$1.ReactElement;
|
|
2149
|
+
renderRowSubComponent?: (props: React$1.PropsWithChildren<{
|
|
2150
|
+
[key: string]: any;
|
|
2151
|
+
}>) => React$1.ReactElement;
|
|
2152
|
+
onSort?: (value: {
|
|
2153
|
+
column: ColumnInstance;
|
|
2154
|
+
}) => void;
|
|
2155
|
+
onResize?: VoidFunction;
|
|
2156
|
+
rowGroupStyles?: (value: {
|
|
2157
|
+
row: Row$1;
|
|
2158
|
+
style: React$1.CSSProperties;
|
|
2159
|
+
}) => React$1.CSSProperties;
|
|
2160
|
+
rowStyles?: (value: {
|
|
2161
|
+
row: Row$1;
|
|
2162
|
+
style: React$1.CSSProperties;
|
|
2163
|
+
}) => React$1.CSSProperties;
|
|
2164
|
+
gutterSize?: number;
|
|
2165
|
+
};
|
|
2166
|
+
declare const VirtualTable: (props: VirtualTableProps) => JSX.Element;
|
|
2167
|
+
|
|
2168
|
+
declare const VirtualTableStyles: StyledComponent<"div", any, {
|
|
2169
|
+
tableHeight?: string | number | undefined;
|
|
2170
|
+
bordered?: string | boolean | undefined;
|
|
2171
|
+
rowClickable?: boolean | undefined;
|
|
2172
|
+
hoverRowBg?: string | boolean | undefined;
|
|
2173
|
+
selectedRowIndex?: number | undefined;
|
|
2174
|
+
selectedRowStyle?: boolean | CSSObject | undefined;
|
|
2175
|
+
}, never>;
|
|
2176
|
+
//# sourceMappingURL=VirtualTableStyles.d.ts.map
|
|
2177
|
+
|
|
1977
2178
|
declare type TableIconProps = SVGIconProps;
|
|
1978
2179
|
declare function TableIcon({ color, size, altText, ...props }: TableIconProps): JSX.Element;
|
|
1979
2180
|
|
|
@@ -2132,7 +2333,7 @@ declare type AlertIconProps = SVGIconProps & {
|
|
|
2132
2333
|
declare function AlertIcon({ color, size, filled, altText, ...props }: AlertIconProps): JSX.Element;
|
|
2133
2334
|
|
|
2134
2335
|
declare type AddIconProps = SVGIconProps;
|
|
2135
|
-
declare function
|
|
2336
|
+
declare function CompletedCheckmarkIcon({ color, size, altText, ...props }: AddIconProps): JSX.Element;
|
|
2136
2337
|
|
|
2137
2338
|
declare type BulletIconProps = SVGIconProps;
|
|
2138
2339
|
declare function BulletIcon({ color, size, ...props }: BulletIconProps): JSX.Element;
|
|
@@ -2225,7 +2426,7 @@ declare type CheckmarkIconProps = SVGIconProps;
|
|
|
2225
2426
|
declare function CheckmarkIcon({ color, size, altText, ...props }: CheckmarkIconProps): JSX.Element;
|
|
2226
2427
|
|
|
2227
2428
|
declare type AddIconProps$1 = SVGIconProps;
|
|
2228
|
-
declare function AddIcon
|
|
2429
|
+
declare function AddIcon({ color, size, altText, ...props }: AddIconProps$1): JSX.Element;
|
|
2229
2430
|
|
|
2230
2431
|
declare type SubtractIconProps = SVGIconProps;
|
|
2231
2432
|
declare function SubtractIcon({ color, size, altText, ...props }: SubtractIconProps): JSX.Element;
|
|
@@ -2241,8 +2442,21 @@ declare function ClipboardIcon({ color, size, ...props }: ClipboardIconProps): J
|
|
|
2241
2442
|
|
|
2242
2443
|
declare type RadioIconProps = SVGIconProps & {
|
|
2243
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;
|
|
2244
2458
|
};
|
|
2245
|
-
declare function
|
|
2459
|
+
declare function CheckboxIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, altText, ...props }: CheckboxIconProps): JSX.Element;
|
|
2246
2460
|
|
|
2247
2461
|
declare type EditIconProps = SVGIconProps & {
|
|
2248
2462
|
filled?: boolean;
|
|
@@ -2290,6 +2504,14 @@ declare function EyeIcon({ color, size, hide, altText, ...props }: EyeIconProps)
|
|
|
2290
2504
|
declare type MenuIconProps = SVGIconProps;
|
|
2291
2505
|
declare function MenuIcon({ color, size, altText, ...props }: MenuIconProps): JSX.Element;
|
|
2292
2506
|
|
|
2507
|
+
declare type CommentIconProps = {
|
|
2508
|
+
number?: number;
|
|
2509
|
+
} & SVGIconProps;
|
|
2510
|
+
declare function CommentIcon({ color, size, altText, number, ...props }: CommentIconProps): JSX.Element;
|
|
2511
|
+
|
|
2512
|
+
declare type EllipsisIconProps = SVGIconProps;
|
|
2513
|
+
declare function EllipsisIcon({ color, size, altText, ...props }: EllipsisIconProps): JSX.Element;
|
|
2514
|
+
|
|
2293
2515
|
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";
|
|
2294
2516
|
//# sourceMappingURL=datepickerStyles.d.ts.map
|
|
2295
2517
|
|
|
@@ -2577,4 +2799,4 @@ declare type SimpleWindowedTableProps = {
|
|
|
2577
2799
|
};
|
|
2578
2800
|
declare function SimpleWindowedTable({ columns, data, itemSize, height, minWidth, maxWidth, defaultSort, onClickRow, onScroll, onUpdateData, useTableProps, tableHeaderProps, tableFooterProps, hideFooter, className, NoRowsFound, }: SimpleWindowedTableProps): JSX.Element;
|
|
2579
2801
|
|
|
2580
|
-
export { AddIcon
|
|
2802
|
+
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, 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, HeaderWrapper, HeadlessTable, 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, 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 };
|