@commonsku/styles 1.16.12 → 1.16.13
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 +490 -481
- package/dist/index.es.js +1473 -1380
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1528 -1434
- package/dist/index.js.map +1 -1
- package/dist/styles/Accordion.d.ts.map +1 -1
- package/dist/styles/AlertNotification.d.ts.map +1 -1
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Avatar.d.ts.map +1 -1
- package/dist/styles/Backdrop.d.ts.map +1 -1
- package/dist/styles/Background.d.ts.map +1 -1
- package/dist/styles/Badge.d.ts.map +1 -1
- package/dist/styles/Box.d.ts.map +1 -1
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CancelButton.d.ts.map +1 -1
- package/dist/styles/Collapsible.d.ts.map +1 -1
- package/dist/styles/CollapsibleV2.d.ts.map +1 -1
- package/dist/styles/ConfirmAlertPopup.d.ts.map +1 -1
- package/dist/styles/ConfirmPopup.d.ts.map +1 -1
- package/dist/styles/Csku.d.ts +1 -1
- package/dist/styles/Csku.d.ts.map +1 -1
- package/dist/styles/Datepicker.d.ts.map +1 -1
- package/dist/styles/DefaultStar.d.ts.map +1 -1
- package/dist/styles/DoneButton.d.ts.map +1 -1
- package/dist/styles/DropArea.d.ts.map +1 -1
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/ErrorBoundary.d.ts.map +1 -1
- package/dist/styles/Feed.d.ts.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/Grid.d.ts.map +1 -1
- package/dist/styles/GridTable.d.ts.map +1 -1
- package/dist/styles/Headings.d.ts.map +1 -1
- package/dist/styles/HeadlessTable.d.ts.map +1 -1
- package/dist/styles/IconShowcase.d.ts.map +1 -1
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/InputStepper.d.ts.map +1 -1
- package/dist/styles/Label.d.ts.map +1 -1
- package/dist/styles/LightIndicator.d.ts.map +1 -1
- package/dist/styles/LinkWithIcon.d.ts.map +1 -1
- package/dist/styles/MultiProgress.d.ts.map +1 -1
- package/dist/styles/NumberInput.d.ts.map +1 -1
- package/dist/styles/Padding.d.ts.map +1 -1
- package/dist/styles/Page.d.ts.map +1 -1
- package/dist/styles/Popup.d.ts.map +1 -1
- package/dist/styles/Product.d.ts.map +1 -1
- package/dist/styles/Progress.d.ts.map +1 -1
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/SharedStyles.d.ts.map +1 -1
- package/dist/styles/SidePanel.d.ts.map +1 -1
- package/dist/styles/Sizer.d.ts.map +1 -1
- package/dist/styles/Sparkles.d.ts.map +1 -1
- package/dist/styles/Spinner.d.ts.map +1 -1
- package/dist/styles/StarRating.d.ts.map +1 -1
- package/dist/styles/StateDropdown.d.ts.map +1 -1
- package/dist/styles/StatusDropdown.d.ts.map +1 -1
- package/dist/styles/Table.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Textarea.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Thermometer.d.ts.map +1 -1
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/ToggleSwitch.d.ts.map +1 -1
- package/dist/styles/calendar/Calendar.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDaysBody.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDaysHeader.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/DaysBodyWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts.map +1 -1
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableTaskBody.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/DroppableDays.d.ts.map +1 -1
- package/dist/styles/calendar/DroppableFooter.d.ts.map +1 -1
- package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/StyledDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/StyledDayText.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/index.d.ts.map +1 -1
- package/dist/styles/calendar/styles.d.ts.map +1 -1
- package/dist/styles/calendar/types.d.ts.map +1 -1
- package/dist/styles/colors.d.ts.map +1 -1
- package/dist/styles/datepickerStyles.d.ts +1 -1
- package/dist/styles/datepickerStyles.d.ts.map +1 -1
- package/dist/styles/globalStyles.d.ts.map +1 -1
- package/dist/styles/hooks/index.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
- package/dist/styles/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/styles/hooks/useDelayUnmount.d.ts.map +1 -1
- package/dist/styles/hooks/useFallbackRef.d.ts.map +1 -1
- package/dist/styles/hooks/useLongPress.d.ts.map +1 -1
- package/dist/styles/hooks/usePrefersReducedMotion.d.ts.map +1 -1
- package/dist/styles/hooks/useRandomInterval.d.ts.map +1 -1
- package/dist/styles/hooks/useWindowSize.d.ts.map +1 -1
- package/dist/styles/icons/AddIcon.d.ts.map +1 -1
- package/dist/styles/icons/AddNoteIcon.d.ts.map +1 -1
- package/dist/styles/icons/AddShoppingCartIcon.d.ts.map +1 -1
- package/dist/styles/icons/AddTaskIcon.d.ts.map +1 -1
- package/dist/styles/icons/AlertIcon.d.ts.map +1 -1
- package/dist/styles/icons/ArrowIcon.d.ts.map +1 -1
- package/dist/styles/icons/AwaitingProofIcon.d.ts.map +1 -1
- package/dist/styles/icons/BotIcon.d.ts.map +1 -1
- package/dist/styles/icons/BulletIcon.d.ts.map +1 -1
- package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChangeRequestedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChatIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChevronIcon.d.ts.map +1 -1
- package/dist/styles/icons/CircleProgressIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClientApprovedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClipboardIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClockIcon.d.ts.map +1 -1
- package/dist/styles/icons/CollaborateIcon.d.ts.map +1 -1
- package/dist/styles/icons/ColumnSelectIcon.d.ts.map +1 -1
- package/dist/styles/icons/CommentIcon.d.ts.map +1 -1
- package/dist/styles/icons/CommunityIcon.d.ts.map +1 -1
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/ConnectedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ConnectedPlusIcon.d.ts.map +1 -1
- package/dist/styles/icons/CouponIcon.d.ts.map +1 -1
- package/dist/styles/icons/CreditCardIcon.d.ts.map +1 -1
- package/dist/styles/icons/DollarIcon.d.ts.map +1 -1
- package/dist/styles/icons/DoubleArrowIcon.d.ts.map +1 -1
- package/dist/styles/icons/DownloadIcon.d.ts.map +1 -1
- package/dist/styles/icons/DragIcon.d.ts.map +1 -1
- package/dist/styles/icons/EPOIcon.d.ts.map +1 -1
- package/dist/styles/icons/EditIcon.d.ts.map +1 -1
- package/dist/styles/icons/EllipsisIcon.d.ts.map +1 -1
- package/dist/styles/icons/EpsIcon.d.ts.map +1 -1
- package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/EyeIcon.d.ts.map +1 -1
- package/dist/styles/icons/FileIcon.d.ts.map +1 -1
- package/dist/styles/icons/FileUploadIcon.d.ts.map +1 -1
- package/dist/styles/icons/FilledChevronIcon.d.ts.map +1 -1
- package/dist/styles/icons/FolderIcon.d.ts.map +1 -1
- package/dist/styles/icons/GalleryIcon.d.ts.map +1 -1
- package/dist/styles/icons/GearIcon.d.ts.map +1 -1
- package/dist/styles/icons/GridIcon.d.ts.map +1 -1
- package/dist/styles/icons/HandleIcon.d.ts.map +1 -1
- package/dist/styles/icons/HelpIcon.d.ts.map +1 -1
- package/dist/styles/icons/HistoryIcon.d.ts.map +1 -1
- package/dist/styles/icons/ImageIcon.d.ts.map +1 -1
- package/dist/styles/icons/InfoIcon.d.ts.map +1 -1
- package/dist/styles/icons/IntegrationsIcon.d.ts.map +1 -1
- package/dist/styles/icons/InventoryIcon.d.ts.map +1 -1
- package/dist/styles/icons/ListIcon.d.ts.map +1 -1
- package/dist/styles/icons/Loading.d.ts.map +1 -1
- package/dist/styles/icons/LockIcon.d.ts.map +1 -1
- package/dist/styles/icons/MailIcon.d.ts.map +1 -1
- package/dist/styles/icons/MarketingStatusIcon.d.ts.map +1 -1
- package/dist/styles/icons/MenuIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavConnectIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavFinanceIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavProdIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavResourcesIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavSalesIcon.d.ts.map +1 -1
- package/dist/styles/icons/NoteIcon.d.ts.map +1 -1
- package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/OrderStatusIcon.d.ts.map +1 -1
- package/dist/styles/icons/PendingApprovalIcon.d.ts.map +1 -1
- package/dist/styles/icons/PercentIcon.d.ts.map +1 -1
- package/dist/styles/icons/PinIcon.d.ts.map +1 -1
- package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -1
- package/dist/styles/icons/ProofReceivedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ProofingCompleteIcon.d.ts.map +1 -1
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -1
- package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -1
- package/dist/styles/icons/SVG.d.ts.map +1 -1
- package/dist/styles/icons/SalesArrowIcon.d.ts.map +1 -1
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/SearchIcon.d.ts.map +1 -1
- package/dist/styles/icons/ShopIcon.d.ts.map +1 -1
- package/dist/styles/icons/ShoppingCartIcon.d.ts.map +1 -1
- package/dist/styles/icons/StarDarkIcon.d.ts +6 -0
- package/dist/styles/icons/StarDarkIcon.d.ts.map +1 -0
- package/dist/styles/icons/StarIcon.d.ts.map +1 -1
- package/dist/styles/icons/StarLightIcon.d.ts +6 -0
- package/dist/styles/icons/StarLightIcon.d.ts.map +1 -0
- package/dist/styles/icons/SubtractIcon.d.ts.map +1 -1
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -1
- package/dist/styles/icons/TableIcon.d.ts.map +1 -1
- package/dist/styles/icons/TargetIcon.d.ts.map +1 -1
- package/dist/styles/icons/TaskIcon.d.ts.map +1 -1
- package/dist/styles/icons/TemplateIcon.d.ts.map +1 -1
- package/dist/styles/icons/TilesIcon.d.ts.map +1 -1
- package/dist/styles/icons/TrashIcon.d.ts.map +1 -1
- package/dist/styles/icons/UploadIcon.d.ts.map +1 -1
- package/dist/styles/icons/UserIcon.d.ts.map +1 -1
- package/dist/styles/icons/UsersIcon.d.ts.map +1 -1
- package/dist/styles/icons/XIcon.d.ts.map +1 -1
- package/dist/styles/icons/index.d.ts +2 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTableStyles.d.ts.map +1 -1
- package/dist/styles/tables/index.d.ts.map +1 -1
- package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -1
- package/dist/styles/tables/table-types.d.ts.map +1 -1
- package/dist/styles/tables/types.d.ts.map +1 -1
- package/dist/styles/verticalScrollbarWidth.d.ts +1 -1
- package/dist/styles/verticalScrollbarWidth.d.ts.map +1 -1
- package/dist/utils/generateColor.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -4
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/sizes.d.ts.map +1 -1
- package/dist/utils/ssr.d.ts.map +1 -1
- package/dist/utils/styled.d.ts.map +1 -1
- package/dist/utils/utils.d.ts +6 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React$1
|
|
3
|
-
import
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default, { CSSProperties, MouseEvent, Component, ReactEventHandler, MouseEventHandler, ReactNode, MutableRefObject, ForwardedRef } from 'react';
|
|
4
|
+
import * as styled_components from 'styled-components';
|
|
5
|
+
import { CSSObject, DefaultTheme, ThemeProps, CSSProperties as CSSProperties$1, StyledComponent } from 'styled-components';
|
|
4
6
|
import { DropzoneOptions } from 'react-dropzone';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import * as react_select_dist_declarations_src_useAsync from 'react-select/dist/declarations/src/useAsync';
|
|
8
|
+
import * as react_select_dist_declarations_src_useCreatable from 'react-select/dist/declarations/src/useCreatable';
|
|
9
|
+
import * as react_select_dist_declarations_src_useStateManager from 'react-select/dist/declarations/src/useStateManager';
|
|
10
|
+
import * as react_select from 'react-select';
|
|
11
|
+
import { GroupBase, StylesConfig, SelectInstance } from 'react-select';
|
|
9
12
|
export { components, createFilter, mergeStyles } from 'react-select';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
+
import * as react_select_dist_declarations_src_filters from 'react-select/dist/declarations/src/filters';
|
|
14
|
+
import * as react_select_dist_declarations_src_components from 'react-select/dist/declarations/src/components';
|
|
15
|
+
import * as react_select_dist_declarations_src_Select from 'react-select/dist/declarations/src/Select';
|
|
13
16
|
import BaseDatePicker, { ReactDatePickerProps } from 'react-datepicker';
|
|
14
17
|
import { UseFiltersColumnProps, UseGroupByColumnProps, UseResizeColumnsColumnProps, UseSortByColumnProps, UseTableRowProps, UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps, UseRowStateRowProps, Column as Column$1, SortingRule, Cell } from 'react-table';
|
|
15
18
|
import { ListOnScrollProps } from 'react-window';
|
|
@@ -37,11 +40,11 @@ declare type SharedStyleTypes = {
|
|
|
37
40
|
bg?: string;
|
|
38
41
|
float?: string;
|
|
39
42
|
};
|
|
40
|
-
declare const SharedStyles: FlattenInterpolation<ThemedStyledProps<SharedStyleTypes, any>>;
|
|
43
|
+
declare const SharedStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<SharedStyleTypes, any>>;
|
|
41
44
|
declare const SHARED_STYLE_MAPS: {
|
|
42
45
|
[key: string]: Function;
|
|
43
46
|
};
|
|
44
|
-
declare const Wrapper: StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
47
|
+
declare const Wrapper: styled_components.StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
45
48
|
|
|
46
49
|
declare const avatarSizes: {
|
|
47
50
|
tiny: {
|
|
@@ -101,8 +104,8 @@ declare type _AvatarProps = {
|
|
|
101
104
|
hasPic?: boolean;
|
|
102
105
|
initials?: string;
|
|
103
106
|
icon?: boolean;
|
|
104
|
-
} &
|
|
105
|
-
declare const Avatar:
|
|
107
|
+
} & React__default.HTMLAttributes<HTMLDivElement> & SharedStyleTypes;
|
|
108
|
+
declare const Avatar: React__default.FC<Omit<_AvatarProps, 'size'> & {
|
|
106
109
|
pic?: string;
|
|
107
110
|
size?: AvatarSize;
|
|
108
111
|
shape?: AvatarShape;
|
|
@@ -111,47 +114,47 @@ declare const Avatar: React$1.FC<Omit<_AvatarProps, 'size'> & {
|
|
|
111
114
|
icon?: boolean;
|
|
112
115
|
}>;
|
|
113
116
|
|
|
114
|
-
declare type BoxProps =
|
|
117
|
+
declare type BoxProps = React__default.PropsWithChildren<{
|
|
115
118
|
borderless?: boolean;
|
|
116
119
|
padded?: boolean;
|
|
117
|
-
title?: string |
|
|
118
|
-
controls?:
|
|
120
|
+
title?: string | React__default.ReactNode;
|
|
121
|
+
controls?: React__default.ReactNode;
|
|
119
122
|
} & SharedStyleTypes>;
|
|
120
123
|
declare const Box: ({ title, controls, children, ...props }: BoxProps) => JSX.Element;
|
|
121
124
|
//# sourceMappingURL=Box.d.ts.map
|
|
122
125
|
|
|
123
|
-
declare const Background: StyledComponent<"div", any, {
|
|
126
|
+
declare const Background: styled_components.StyledComponent<"div", any, {
|
|
124
127
|
padded?: boolean | undefined;
|
|
125
128
|
fillWindow?: boolean | undefined;
|
|
126
129
|
} & SharedStyleTypes, never>;
|
|
127
130
|
|
|
128
|
-
declare const StyledDropArea: StyledComponent<"div", any, {
|
|
131
|
+
declare const StyledDropArea: styled_components.StyledComponent<"div", any, {
|
|
129
132
|
isDragAccept?: boolean | undefined;
|
|
130
133
|
isDragReject?: boolean | undefined;
|
|
131
134
|
isDragActive?: boolean | undefined;
|
|
132
135
|
} & SharedStyleTypes, never>;
|
|
133
|
-
declare type DropAreaProps =
|
|
134
|
-
placeholder?: string |
|
|
136
|
+
declare type DropAreaProps = React__default.PropsWithChildren<{
|
|
137
|
+
placeholder?: string | React__default.ReactNode;
|
|
135
138
|
} & SharedStyleTypes>;
|
|
136
139
|
declare const DropArea: ({ children, placeholder, ...props }: DropAreaProps) => JSX.Element;
|
|
137
140
|
declare type DropzoneTypes = {
|
|
138
|
-
placeholder?: string |
|
|
141
|
+
placeholder?: string | React__default.ReactNode;
|
|
139
142
|
showDroppedFiles?: boolean;
|
|
140
143
|
} & DropzoneOptions;
|
|
141
144
|
declare function Dropzoned({ placeholder, accept, showDroppedFiles, ...props }: DropzoneTypes): JSX.Element;
|
|
142
145
|
declare function DropzonedPreviews({ placeholder, accept, onDrop, ...props }: DropzoneTypes): JSX.Element;
|
|
143
146
|
declare type DropzoneSimpleProps = {
|
|
144
|
-
children:
|
|
147
|
+
children: React__default.ReactElement;
|
|
145
148
|
} & DropzoneOptions;
|
|
146
|
-
declare function DropzonedSimple({ accept, children, ...props }: DropzoneSimpleProps):
|
|
149
|
+
declare function DropzonedSimple({ accept, children, ...props }: DropzoneSimpleProps): React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
147
150
|
|
|
148
|
-
declare type TSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
151
|
+
declare type TSize$1 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
149
152
|
|
|
150
153
|
declare type TSizeOffset = 'xsOffset' | 'smOffset' | 'mdOffset' | 'lgOffset' | 'xlOffset';
|
|
151
154
|
declare type TSizeOffsetRight = 'xsOffsetRight' | 'smOffsetRight' | 'mdOffsetRight' | 'lgOffsetRight' | 'xlOffsetRight';
|
|
152
155
|
declare type TSizeStyle = 'xsStyle' | 'smStyle' | 'mdStyle' | 'lgStyle' | 'xlStyle';
|
|
153
156
|
declare type SizerTypes = {
|
|
154
|
-
collapse?: TSize | Array<TSize>;
|
|
157
|
+
collapse?: TSize$1 | Array<TSize$1>;
|
|
155
158
|
offset?: number;
|
|
156
159
|
first?: string;
|
|
157
160
|
last?: string;
|
|
@@ -181,8 +184,8 @@ declare type SizerTypes = {
|
|
|
181
184
|
center?: boolean;
|
|
182
185
|
totalCols?: number;
|
|
183
186
|
};
|
|
184
|
-
declare const SizerCss: FlattenInterpolation<ThemedStyledProps<SizerTypes, any>>;
|
|
185
|
-
declare const SizerWrapper: StyledComponent<"div", any, SizerTypes, never>;
|
|
187
|
+
declare const SizerCss: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<SizerTypes, any>>;
|
|
188
|
+
declare const SizerWrapper: styled_components.StyledComponent<"div", any, SizerTypes, never>;
|
|
186
189
|
|
|
187
190
|
declare const sizes: {
|
|
188
191
|
tiny: {
|
|
@@ -231,13 +234,13 @@ declare const sizes: {
|
|
|
231
234
|
iconSize: string;
|
|
232
235
|
};
|
|
233
236
|
};
|
|
234
|
-
declare type TSize
|
|
237
|
+
declare type TSize = keyof typeof sizes;
|
|
235
238
|
declare type ButtonPreset = 'edit' | 'delete' | 'add' | 'remove' | 'close' | 'drag';
|
|
236
239
|
declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-light' | 'text-error' | 'error-light' | 'text-error-light' | 'custom';
|
|
237
240
|
declare type ButtonProps = {
|
|
238
241
|
secondary?: boolean;
|
|
239
242
|
cta?: boolean;
|
|
240
|
-
size?: TSize
|
|
243
|
+
size?: TSize;
|
|
241
244
|
variant?: ButtonVariant;
|
|
242
245
|
variantColor?: string;
|
|
243
246
|
variantBg?: string;
|
|
@@ -247,7 +250,7 @@ declare type ButtonProps = {
|
|
|
247
250
|
variantHoverBorderColor?: string;
|
|
248
251
|
style?: CSSObject;
|
|
249
252
|
} & SharedStyleTypes & SizerTypes;
|
|
250
|
-
declare const Button: StyledComponent<"button", any, {
|
|
253
|
+
declare const Button: styled_components.StyledComponent<"button", any, {
|
|
251
254
|
secondary?: boolean | undefined;
|
|
252
255
|
cta?: boolean | undefined;
|
|
253
256
|
size?: "tiny" | "small" | "medium" | "large" | "huge" | undefined;
|
|
@@ -260,22 +263,22 @@ declare const Button: StyledComponent<"button", any, {
|
|
|
260
263
|
variantHoverBorderColor?: string | undefined;
|
|
261
264
|
style?: CSSObject | undefined;
|
|
262
265
|
} & SharedStyleTypes & SizerTypes, never>;
|
|
263
|
-
declare const ButtonsGroup: StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
|
|
264
|
-
declare type IconFuncProps = {
|
|
266
|
+
declare const ButtonsGroup: styled_components.StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
|
|
267
|
+
declare type IconFuncProps$1 = {
|
|
265
268
|
color: string;
|
|
266
269
|
[key: string]: any;
|
|
267
270
|
};
|
|
268
|
-
declare type TButtonIcon = ((props: IconFuncProps) =>
|
|
269
|
-
declare type IconButtonProps =
|
|
270
|
-
Icon?: TButtonIcon |
|
|
271
|
+
declare type TButtonIcon = ((props: IconFuncProps$1) => React__default.ReactElement);
|
|
272
|
+
declare type IconButtonProps = React__default.PropsWithChildren<ButtonProps & {
|
|
273
|
+
Icon?: TButtonIcon | React__default.ReactElement<IconFuncProps$1>;
|
|
271
274
|
iconProps?: {
|
|
272
275
|
[key: string]: any;
|
|
273
276
|
};
|
|
274
277
|
iconPosition?: 'left' | 'right' | 'top' | 'bottom';
|
|
275
278
|
preset?: ButtonPreset;
|
|
276
279
|
style?: CSSObject;
|
|
277
|
-
}> &
|
|
278
|
-
declare const IconButton:
|
|
280
|
+
}> & React__default.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
281
|
+
declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
279
282
|
secondary?: boolean | undefined;
|
|
280
283
|
cta?: boolean | undefined;
|
|
281
284
|
size?: "tiny" | "small" | "medium" | "large" | "huge" | undefined;
|
|
@@ -288,7 +291,7 @@ declare const IconButton: React$1.ForwardRefExoticComponent<{
|
|
|
288
291
|
variantHoverBorderColor?: string | undefined;
|
|
289
292
|
style?: CSSObject | undefined;
|
|
290
293
|
} & SharedStyleTypes & SizerTypes & {
|
|
291
|
-
Icon?: TButtonIcon |
|
|
294
|
+
Icon?: TButtonIcon | React__default.ReactElement<IconFuncProps$1, string | React__default.JSXElementConstructor<any>> | undefined;
|
|
292
295
|
iconProps?: {
|
|
293
296
|
[key: string]: any;
|
|
294
297
|
} | undefined;
|
|
@@ -296,25 +299,25 @@ declare const IconButton: React$1.ForwardRefExoticComponent<{
|
|
|
296
299
|
preset?: ButtonPreset | undefined;
|
|
297
300
|
style?: CSSObject | undefined;
|
|
298
301
|
} & {
|
|
299
|
-
children?:
|
|
300
|
-
} &
|
|
302
|
+
children?: React__default.ReactNode;
|
|
303
|
+
} & React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
301
304
|
|
|
302
|
-
declare const H1: StyledComponent<"h1", any, {
|
|
305
|
+
declare const H1: styled_components.StyledComponent<"h1", any, {
|
|
303
306
|
underlined?: boolean | undefined;
|
|
304
307
|
} & SharedStyleTypes, never>;
|
|
305
|
-
declare const H2: StyledComponent<"h2", any, {
|
|
308
|
+
declare const H2: styled_components.StyledComponent<"h2", any, {
|
|
306
309
|
underlined?: boolean | undefined;
|
|
307
310
|
} & SharedStyleTypes, never>;
|
|
308
|
-
declare const H3: StyledComponent<"h3", any, {
|
|
311
|
+
declare const H3: styled_components.StyledComponent<"h3", any, {
|
|
309
312
|
underlined?: boolean | undefined;
|
|
310
313
|
} & SharedStyleTypes, never>;
|
|
311
|
-
declare const H4: StyledComponent<"h4", any, {
|
|
314
|
+
declare const H4: styled_components.StyledComponent<"h4", any, {
|
|
312
315
|
underlined?: boolean | undefined;
|
|
313
316
|
} & SharedStyleTypes, never>;
|
|
314
|
-
declare const H5: StyledComponent<"h5", any, {
|
|
317
|
+
declare const H5: styled_components.StyledComponent<"h5", any, {
|
|
315
318
|
underlined?: boolean | undefined;
|
|
316
319
|
} & SharedStyleTypes, never>;
|
|
317
|
-
declare const H6: StyledComponent<"h6", any, {
|
|
320
|
+
declare const H6: styled_components.StyledComponent<"h6", any, {
|
|
318
321
|
underlined?: boolean | undefined;
|
|
319
322
|
} & SharedStyleTypes, never>;
|
|
320
323
|
//# sourceMappingURL=Headings.d.ts.map
|
|
@@ -326,8 +329,8 @@ declare type ImgProps = {
|
|
|
326
329
|
attempt_interval?: number;
|
|
327
330
|
onRetry?: OnErrorEventHandler;
|
|
328
331
|
onFailed?: OnErrorEventHandler;
|
|
329
|
-
} &
|
|
330
|
-
declare const Img:
|
|
332
|
+
} & React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
333
|
+
declare const Img: React__default.ForwardRefExoticComponent<Pick<ImgProps, "max_attempts" | "attempt_interval" | "onRetry" | "onFailed" | "key" | keyof React__default.ImgHTMLAttributes<HTMLImageElement>> & React__default.RefAttributes<HTMLImageElement>>;
|
|
331
334
|
//# sourceMappingURL=Img.d.ts.map
|
|
332
335
|
|
|
333
336
|
declare const iconSize: {
|
|
@@ -374,7 +377,7 @@ declare type BaseSVGIconProps = {
|
|
|
374
377
|
disabled?: boolean;
|
|
375
378
|
} & SharedStyleTypes;
|
|
376
379
|
declare type SVGIconProps = React.SVGAttributes<SVGElement> & BaseSVGIconProps;
|
|
377
|
-
declare const SVG: StyledComponent<"svg", any, {
|
|
380
|
+
declare const SVG: styled_components.StyledComponent<"svg", any, {
|
|
378
381
|
size?: "tiny" | "small" | "medium" | "large" | "huge" | "default" | undefined;
|
|
379
382
|
width?: string | number | undefined;
|
|
380
383
|
height?: string | number | undefined;
|
|
@@ -442,79 +445,79 @@ declare type CommonInputProp = {
|
|
|
442
445
|
declare type BaseInputProps = CommonInputProp & {
|
|
443
446
|
hasIcon?: boolean;
|
|
444
447
|
} & SharedStyleTypes;
|
|
445
|
-
declare type InputProps = BaseInputProps &
|
|
446
|
-
declare const InputIconLabel: StyledComponent<"div", any, CommonInputProp & {
|
|
448
|
+
declare type InputProps = BaseInputProps & React__default.InputHTMLAttributes<HTMLInputElement>;
|
|
449
|
+
declare const InputIconLabel: styled_components.StyledComponent<"div", any, CommonInputProp & {
|
|
447
450
|
isActive?: boolean | undefined;
|
|
448
451
|
isDisabled?: boolean | undefined;
|
|
449
452
|
isHover?: boolean | undefined;
|
|
450
453
|
iconPosition?: "left" | "right" | undefined;
|
|
451
454
|
}, never>;
|
|
452
|
-
declare const InputIconLabelContainer: StyledComponent<"div", any, {}, never>;
|
|
453
|
-
declare const Input: StyledComponent<"input", any, CommonInputProp & {
|
|
455
|
+
declare const InputIconLabelContainer: styled_components.StyledComponent<"div", any, {}, never>;
|
|
456
|
+
declare const Input: styled_components.StyledComponent<"input", any, CommonInputProp & {
|
|
454
457
|
hasIcon?: boolean | undefined;
|
|
455
458
|
} & SharedStyleTypes, never>;
|
|
456
|
-
declare const LabeledInput:
|
|
459
|
+
declare const LabeledInput: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & CommonInputProp & {
|
|
457
460
|
hasIcon?: boolean | undefined;
|
|
458
461
|
} & SharedStyleTypes & {
|
|
459
462
|
label: string;
|
|
460
463
|
name?: string | undefined;
|
|
461
464
|
labelOnTop?: boolean | undefined;
|
|
462
|
-
wrapperProps?:
|
|
463
|
-
} &
|
|
464
|
-
declare const LabeledIconInput:
|
|
465
|
+
wrapperProps?: React__default.HTMLAttributes<HTMLDivElement> | undefined;
|
|
466
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
467
|
+
declare const LabeledIconInput: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & CommonInputProp & {
|
|
465
468
|
hasIcon?: boolean | undefined;
|
|
466
469
|
} & SharedStyleTypes & {
|
|
467
470
|
label?: string | undefined;
|
|
468
471
|
name?: string | undefined;
|
|
469
472
|
labelOnTop?: boolean | undefined;
|
|
470
|
-
Icon:
|
|
473
|
+
Icon: React__default.ReactElement;
|
|
471
474
|
iconPosition?: "left" | "right" | undefined;
|
|
472
475
|
iconColor?: string | undefined;
|
|
473
|
-
iconLabelStyles?:
|
|
474
|
-
containerStyle?:
|
|
475
|
-
} &
|
|
476
|
-
declare const CheckboxLabel: StyledComponent<"label", any, {
|
|
476
|
+
iconLabelStyles?: React__default.CSSProperties | undefined;
|
|
477
|
+
containerStyle?: React__default.CSSProperties | undefined;
|
|
478
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
479
|
+
declare const CheckboxLabel: styled_components.StyledComponent<"label", any, {
|
|
477
480
|
disabled?: boolean | undefined;
|
|
478
481
|
}, never>;
|
|
479
|
-
declare const RadioLabel: StyledComponent<"label", any, {
|
|
482
|
+
declare const RadioLabel: styled_components.StyledComponent<"label", any, {
|
|
480
483
|
disabled?: boolean | undefined;
|
|
481
484
|
}, never>;
|
|
482
485
|
declare type BaseRadioProps = {
|
|
483
486
|
isHovering?: boolean;
|
|
484
487
|
};
|
|
485
|
-
declare type RadioProps =
|
|
486
|
-
declare const Radio: StyledComponent<"input", any, BaseRadioProps, never>;
|
|
487
|
-
declare const CheckMark: StyledComponent<"span", any, {
|
|
488
|
+
declare type RadioProps = React__default.InputHTMLAttributes<HTMLInputElement> & BaseRadioProps;
|
|
489
|
+
declare const Radio: styled_components.StyledComponent<"input", any, BaseRadioProps, never>;
|
|
490
|
+
declare const CheckMark: styled_components.StyledComponent<"span", any, {
|
|
488
491
|
checked?: boolean | undefined;
|
|
489
492
|
isHovering?: boolean | undefined;
|
|
490
493
|
disabled?: boolean | undefined;
|
|
491
494
|
} & SharedStyleTypes, never>;
|
|
492
|
-
declare const Dot: StyledComponent<"span", any, {
|
|
495
|
+
declare const Dot: styled_components.StyledComponent<"span", any, {
|
|
493
496
|
checked?: boolean | undefined;
|
|
494
497
|
isHovering?: boolean | undefined;
|
|
495
498
|
disabled?: boolean | undefined;
|
|
496
499
|
} & SharedStyleTypes, never>;
|
|
497
500
|
declare type LabeledRadioProps = RadioProps & {
|
|
498
501
|
label: string;
|
|
499
|
-
labelStyle?:
|
|
500
|
-
radioIconStyle?:
|
|
502
|
+
labelStyle?: React__default.CSSProperties;
|
|
503
|
+
radioIconStyle?: React__default.CSSProperties;
|
|
501
504
|
radioColor?: string;
|
|
502
505
|
radioHoverColor?: string;
|
|
503
|
-
labelProps?:
|
|
506
|
+
labelProps?: React__default.LabelHTMLAttributes<HTMLLabelElement>;
|
|
504
507
|
radioIconProps?: RadioIconProps;
|
|
505
508
|
};
|
|
506
|
-
declare const LabeledRadio:
|
|
507
|
-
declare const LabeledRadioInButton:
|
|
509
|
+
declare const LabeledRadio: React__default.FC<LabeledRadioProps>;
|
|
510
|
+
declare const LabeledRadioInButton: React__default.FC<LabeledRadioProps & {
|
|
508
511
|
flexGrow?: boolean;
|
|
509
512
|
}>;
|
|
510
|
-
declare const LabeledRadioGroup:
|
|
513
|
+
declare const LabeledRadioGroup: React__default.FC<LabeledRadioProps & {
|
|
511
514
|
name: string;
|
|
512
515
|
radios: [{
|
|
513
516
|
label: string;
|
|
514
517
|
value: any;
|
|
515
518
|
}];
|
|
516
519
|
}>;
|
|
517
|
-
declare const LabeledRadioInButtonGroup:
|
|
520
|
+
declare const LabeledRadioInButtonGroup: React__default.FC<LabeledRadioProps & {
|
|
518
521
|
name: string;
|
|
519
522
|
radios: [{
|
|
520
523
|
label: string;
|
|
@@ -524,33 +527,33 @@ declare const LabeledRadioInButtonGroup: React$1.FC<LabeledRadioProps & {
|
|
|
524
527
|
declare type LabeledCheckboxProps = {
|
|
525
528
|
checked?: boolean;
|
|
526
529
|
disabled?: boolean;
|
|
527
|
-
label: string |
|
|
530
|
+
label: string | React__default.ReactNode;
|
|
528
531
|
name?: string;
|
|
529
532
|
labelStyle?: CSSProperties;
|
|
530
|
-
checkboxStyle?:
|
|
533
|
+
checkboxStyle?: React__default.CSSProperties;
|
|
531
534
|
checkboxColor?: string;
|
|
532
535
|
checkboxHoverColor?: string;
|
|
533
536
|
hoverByLabel?: boolean;
|
|
534
537
|
stopPropagation?: boolean;
|
|
535
|
-
labelProps?:
|
|
538
|
+
labelProps?: React__default.LabelHTMLAttributes<HTMLLabelElement>;
|
|
536
539
|
checkboxIconProps?: CheckboxIconProps;
|
|
537
540
|
indeterminate?: boolean;
|
|
538
541
|
[key: string]: any;
|
|
539
|
-
} &
|
|
540
|
-
declare const LabeledCheckbox:
|
|
542
|
+
} & React__default.InputHTMLAttributes<HTMLInputElement>;
|
|
543
|
+
declare const LabeledCheckbox: React__default.ForwardRefExoticComponent<LabeledCheckboxProps>;
|
|
541
544
|
|
|
542
|
-
declare const Label: StyledComponent<"label", any, {
|
|
545
|
+
declare const Label: styled_components.StyledComponent<"label", any, {
|
|
543
546
|
error?: boolean | undefined;
|
|
544
547
|
} & SharedStyleTypes, never>;
|
|
545
548
|
//# sourceMappingURL=Label.d.ts.map
|
|
546
549
|
|
|
547
|
-
declare const Padding: StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
550
|
+
declare const Padding: styled_components.StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
548
551
|
//# sourceMappingURL=Padding.d.ts.map
|
|
549
552
|
|
|
550
|
-
declare function Page(props:
|
|
553
|
+
declare function Page(props: React__default.PropsWithChildren<SharedStyleTypes>): JSX.Element;
|
|
551
554
|
//# sourceMappingURL=Page.d.ts.map
|
|
552
555
|
|
|
553
|
-
declare type ProgressBarProps =
|
|
556
|
+
declare type ProgressBarProps = React__default.PropsWithChildren<{
|
|
554
557
|
value: number;
|
|
555
558
|
max: number;
|
|
556
559
|
error?: string;
|
|
@@ -565,552 +568,552 @@ declare type AdditionalSKUSelectProps = {
|
|
|
565
568
|
menuRelative?: boolean;
|
|
566
569
|
inPopup?: boolean;
|
|
567
570
|
};
|
|
568
|
-
declare const SKUSelect:
|
|
571
|
+
declare const SKUSelect: React__default.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
569
572
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
570
573
|
backspaceRemovesValue?: boolean | undefined;
|
|
571
574
|
blurInputOnSelect?: boolean | undefined;
|
|
572
575
|
captureMenuScroll?: boolean | undefined;
|
|
573
576
|
closeMenuOnSelect?: boolean | undefined;
|
|
574
577
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
575
|
-
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
578
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
576
579
|
controlShouldRenderValue?: boolean | undefined;
|
|
577
580
|
escapeClearsValue?: boolean | undefined;
|
|
578
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
579
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
580
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
581
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
581
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
582
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
583
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
584
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
582
585
|
isDisabled?: boolean | undefined;
|
|
583
586
|
isLoading?: boolean | undefined;
|
|
584
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
587
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
585
588
|
isMulti?: boolean | undefined;
|
|
586
589
|
isRtl?: boolean | undefined;
|
|
587
590
|
isSearchable?: boolean | undefined;
|
|
588
591
|
loadingMessage?: ((obj: {
|
|
589
592
|
inputValue: string;
|
|
590
|
-
}) =>
|
|
593
|
+
}) => React__default.ReactNode) | undefined;
|
|
591
594
|
minMenuHeight?: number | undefined;
|
|
592
595
|
maxMenuHeight?: number | undefined;
|
|
593
596
|
menuIsOpen?: boolean | undefined;
|
|
594
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
595
|
-
menuPosition?: MenuPosition | undefined;
|
|
597
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
598
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
596
599
|
menuShouldBlockScroll?: boolean | undefined;
|
|
597
600
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
598
601
|
noOptionsMessage?: ((obj: {
|
|
599
602
|
inputValue: string;
|
|
600
|
-
}) =>
|
|
603
|
+
}) => React__default.ReactNode) | undefined;
|
|
601
604
|
openMenuOnFocus?: boolean | undefined;
|
|
602
605
|
openMenuOnClick?: boolean | undefined;
|
|
603
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
606
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
604
607
|
pageSize?: number | undefined;
|
|
605
|
-
placeholder?:
|
|
608
|
+
placeholder?: React__default.ReactNode;
|
|
606
609
|
screenReaderStatus?: ((obj: {
|
|
607
610
|
count: number;
|
|
608
611
|
}) => string) | undefined;
|
|
609
612
|
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
610
613
|
tabIndex?: number | undefined;
|
|
611
614
|
tabSelectsValue?: boolean | undefined;
|
|
612
|
-
} & {}, "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"> & {
|
|
615
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
613
616
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
614
617
|
backspaceRemovesValue?: boolean | undefined;
|
|
615
618
|
blurInputOnSelect?: boolean | undefined;
|
|
616
619
|
captureMenuScroll?: boolean | undefined;
|
|
617
620
|
closeMenuOnSelect?: boolean | undefined;
|
|
618
621
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
619
|
-
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
622
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
620
623
|
controlShouldRenderValue?: boolean | undefined;
|
|
621
624
|
escapeClearsValue?: boolean | undefined;
|
|
622
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
623
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
624
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
625
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
625
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
626
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
627
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
628
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
626
629
|
isDisabled?: boolean | undefined;
|
|
627
630
|
isLoading?: boolean | undefined;
|
|
628
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
631
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
629
632
|
isMulti?: boolean | undefined;
|
|
630
633
|
isRtl?: boolean | undefined;
|
|
631
634
|
isSearchable?: boolean | undefined;
|
|
632
635
|
loadingMessage?: ((obj: {
|
|
633
636
|
inputValue: string;
|
|
634
|
-
}) =>
|
|
637
|
+
}) => React__default.ReactNode) | undefined;
|
|
635
638
|
minMenuHeight?: number | undefined;
|
|
636
639
|
maxMenuHeight?: number | undefined;
|
|
637
640
|
menuIsOpen?: boolean | undefined;
|
|
638
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
639
|
-
menuPosition?: MenuPosition | undefined;
|
|
641
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
642
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
640
643
|
menuShouldBlockScroll?: boolean | undefined;
|
|
641
644
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
642
645
|
noOptionsMessage?: ((obj: {
|
|
643
646
|
inputValue: string;
|
|
644
|
-
}) =>
|
|
647
|
+
}) => React__default.ReactNode) | undefined;
|
|
645
648
|
openMenuOnFocus?: boolean | undefined;
|
|
646
649
|
openMenuOnClick?: boolean | undefined;
|
|
647
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
650
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
648
651
|
pageSize?: number | undefined;
|
|
649
|
-
placeholder?:
|
|
652
|
+
placeholder?: React__default.ReactNode;
|
|
650
653
|
screenReaderStatus?: ((obj: {
|
|
651
654
|
count: number;
|
|
652
655
|
}) => string) | undefined;
|
|
653
656
|
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
654
657
|
tabIndex?: number | undefined;
|
|
655
658
|
tabSelectsValue?: boolean | undefined;
|
|
656
|
-
} & {}> & StateManagerAdditionalProps<unknown> &
|
|
657
|
-
declare const LabeledSelect:
|
|
659
|
+
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<unknown> & React__default.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
660
|
+
declare const LabeledSelect: React__default.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
658
661
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
659
662
|
backspaceRemovesValue?: boolean | undefined;
|
|
660
663
|
blurInputOnSelect?: boolean | undefined;
|
|
661
664
|
captureMenuScroll?: boolean | undefined;
|
|
662
665
|
closeMenuOnSelect?: boolean | undefined;
|
|
663
666
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
664
|
-
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
667
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
665
668
|
controlShouldRenderValue?: boolean | undefined;
|
|
666
669
|
escapeClearsValue?: boolean | undefined;
|
|
667
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
668
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
669
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
670
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
670
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
671
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
672
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
673
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
671
674
|
isDisabled?: boolean | undefined;
|
|
672
675
|
isLoading?: boolean | undefined;
|
|
673
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
676
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
674
677
|
isMulti?: boolean | undefined;
|
|
675
678
|
isRtl?: boolean | undefined;
|
|
676
679
|
isSearchable?: boolean | undefined;
|
|
677
680
|
loadingMessage?: ((obj: {
|
|
678
681
|
inputValue: string;
|
|
679
|
-
}) =>
|
|
682
|
+
}) => React__default.ReactNode) | undefined;
|
|
680
683
|
minMenuHeight?: number | undefined;
|
|
681
684
|
maxMenuHeight?: number | undefined;
|
|
682
685
|
menuIsOpen?: boolean | undefined;
|
|
683
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
684
|
-
menuPosition?: MenuPosition | undefined;
|
|
686
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
687
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
685
688
|
menuShouldBlockScroll?: boolean | undefined;
|
|
686
689
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
687
690
|
noOptionsMessage?: ((obj: {
|
|
688
691
|
inputValue: string;
|
|
689
|
-
}) =>
|
|
692
|
+
}) => React__default.ReactNode) | undefined;
|
|
690
693
|
openMenuOnFocus?: boolean | undefined;
|
|
691
694
|
openMenuOnClick?: boolean | undefined;
|
|
692
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
695
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
693
696
|
pageSize?: number | undefined;
|
|
694
|
-
placeholder?:
|
|
697
|
+
placeholder?: React__default.ReactNode;
|
|
695
698
|
screenReaderStatus?: ((obj: {
|
|
696
699
|
count: number;
|
|
697
700
|
}) => string) | undefined;
|
|
698
701
|
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
699
702
|
tabIndex?: number | undefined;
|
|
700
703
|
tabSelectsValue?: boolean | undefined;
|
|
701
|
-
} & {}, "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"> & {
|
|
704
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
702
705
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
703
706
|
backspaceRemovesValue?: boolean | undefined;
|
|
704
707
|
blurInputOnSelect?: boolean | undefined;
|
|
705
708
|
captureMenuScroll?: boolean | undefined;
|
|
706
709
|
closeMenuOnSelect?: boolean | undefined;
|
|
707
710
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
708
|
-
components?: Partial<SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
711
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
709
712
|
controlShouldRenderValue?: boolean | undefined;
|
|
710
713
|
escapeClearsValue?: boolean | undefined;
|
|
711
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
712
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
713
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
714
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
714
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
715
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
716
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
717
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
715
718
|
isDisabled?: boolean | undefined;
|
|
716
719
|
isLoading?: boolean | undefined;
|
|
717
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
720
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
718
721
|
isMulti?: boolean | undefined;
|
|
719
722
|
isRtl?: boolean | undefined;
|
|
720
723
|
isSearchable?: boolean | undefined;
|
|
721
724
|
loadingMessage?: ((obj: {
|
|
722
725
|
inputValue: string;
|
|
723
|
-
}) =>
|
|
726
|
+
}) => React__default.ReactNode) | undefined;
|
|
724
727
|
minMenuHeight?: number | undefined;
|
|
725
728
|
maxMenuHeight?: number | undefined;
|
|
726
729
|
menuIsOpen?: boolean | undefined;
|
|
727
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
728
|
-
menuPosition?: MenuPosition | undefined;
|
|
730
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
731
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
729
732
|
menuShouldBlockScroll?: boolean | undefined;
|
|
730
733
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
731
734
|
noOptionsMessage?: ((obj: {
|
|
732
735
|
inputValue: string;
|
|
733
|
-
}) =>
|
|
736
|
+
}) => React__default.ReactNode) | undefined;
|
|
734
737
|
openMenuOnFocus?: boolean | undefined;
|
|
735
738
|
openMenuOnClick?: boolean | undefined;
|
|
736
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
739
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
737
740
|
pageSize?: number | undefined;
|
|
738
|
-
placeholder?:
|
|
741
|
+
placeholder?: React__default.ReactNode;
|
|
739
742
|
screenReaderStatus?: ((obj: {
|
|
740
743
|
count: number;
|
|
741
744
|
}) => string) | undefined;
|
|
742
745
|
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
743
746
|
tabIndex?: number | undefined;
|
|
744
747
|
tabSelectsValue?: boolean | undefined;
|
|
745
|
-
} & {}> & StateManagerAdditionalProps<unknown> & {
|
|
746
|
-
parentStyle?:
|
|
748
|
+
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<unknown> & {
|
|
749
|
+
parentStyle?: React__default.CSSProperties | undefined;
|
|
747
750
|
label?: string | undefined;
|
|
748
751
|
required?: boolean | undefined;
|
|
749
|
-
} &
|
|
750
|
-
declare const SKUCreatableSelect:
|
|
752
|
+
} & React__default.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
753
|
+
declare const SKUCreatableSelect: React__default.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
751
754
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
752
755
|
backspaceRemovesValue?: boolean | undefined;
|
|
753
756
|
blurInputOnSelect?: boolean | undefined;
|
|
754
757
|
captureMenuScroll?: boolean | undefined;
|
|
755
758
|
closeMenuOnSelect?: boolean | undefined;
|
|
756
759
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
757
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
760
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
758
761
|
controlShouldRenderValue?: boolean | undefined;
|
|
759
762
|
escapeClearsValue?: boolean | undefined;
|
|
760
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
761
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
762
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
763
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
763
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
764
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
765
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
766
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
764
767
|
isDisabled?: boolean | undefined;
|
|
765
768
|
isLoading?: boolean | undefined;
|
|
766
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
769
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
767
770
|
isMulti?: false | undefined;
|
|
768
771
|
isRtl?: boolean | undefined;
|
|
769
772
|
isSearchable?: boolean | undefined;
|
|
770
773
|
loadingMessage?: ((obj: {
|
|
771
774
|
inputValue: string;
|
|
772
|
-
}) =>
|
|
775
|
+
}) => React__default.ReactNode) | undefined;
|
|
773
776
|
minMenuHeight?: number | undefined;
|
|
774
777
|
maxMenuHeight?: number | undefined;
|
|
775
778
|
menuIsOpen?: boolean | undefined;
|
|
776
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
777
|
-
menuPosition?: MenuPosition | undefined;
|
|
779
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
780
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
778
781
|
menuShouldBlockScroll?: boolean | undefined;
|
|
779
782
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
780
783
|
noOptionsMessage?: ((obj: {
|
|
781
784
|
inputValue: string;
|
|
782
|
-
}) =>
|
|
785
|
+
}) => React__default.ReactNode) | undefined;
|
|
783
786
|
openMenuOnFocus?: boolean | undefined;
|
|
784
787
|
openMenuOnClick?: boolean | undefined;
|
|
785
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
788
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
786
789
|
pageSize?: number | undefined;
|
|
787
|
-
placeholder?:
|
|
790
|
+
placeholder?: React__default.ReactNode;
|
|
788
791
|
screenReaderStatus?: ((obj: {
|
|
789
792
|
count: number;
|
|
790
793
|
}) => string) | undefined;
|
|
791
794
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
792
795
|
tabIndex?: number | undefined;
|
|
793
796
|
tabSelectsValue?: boolean | undefined;
|
|
794
|
-
} & {}, "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"> & {
|
|
797
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
795
798
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
796
799
|
backspaceRemovesValue?: boolean | undefined;
|
|
797
800
|
blurInputOnSelect?: boolean | undefined;
|
|
798
801
|
captureMenuScroll?: boolean | undefined;
|
|
799
802
|
closeMenuOnSelect?: boolean | undefined;
|
|
800
803
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
801
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
804
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
802
805
|
controlShouldRenderValue?: boolean | undefined;
|
|
803
806
|
escapeClearsValue?: boolean | undefined;
|
|
804
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
805
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
806
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
807
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
807
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
808
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
809
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
810
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
808
811
|
isDisabled?: boolean | undefined;
|
|
809
812
|
isLoading?: boolean | undefined;
|
|
810
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
813
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
811
814
|
isMulti?: false | undefined;
|
|
812
815
|
isRtl?: boolean | undefined;
|
|
813
816
|
isSearchable?: boolean | undefined;
|
|
814
817
|
loadingMessage?: ((obj: {
|
|
815
818
|
inputValue: string;
|
|
816
|
-
}) =>
|
|
819
|
+
}) => React__default.ReactNode) | undefined;
|
|
817
820
|
minMenuHeight?: number | undefined;
|
|
818
821
|
maxMenuHeight?: number | undefined;
|
|
819
822
|
menuIsOpen?: boolean | undefined;
|
|
820
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
821
|
-
menuPosition?: MenuPosition | undefined;
|
|
823
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
824
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
822
825
|
menuShouldBlockScroll?: boolean | undefined;
|
|
823
826
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
824
827
|
noOptionsMessage?: ((obj: {
|
|
825
828
|
inputValue: string;
|
|
826
|
-
}) =>
|
|
829
|
+
}) => React__default.ReactNode) | undefined;
|
|
827
830
|
openMenuOnFocus?: boolean | undefined;
|
|
828
831
|
openMenuOnClick?: boolean | undefined;
|
|
829
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
832
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
830
833
|
pageSize?: number | undefined;
|
|
831
|
-
placeholder?:
|
|
834
|
+
placeholder?: React__default.ReactNode;
|
|
832
835
|
screenReaderStatus?: ((obj: {
|
|
833
836
|
count: number;
|
|
834
837
|
}) => string) | undefined;
|
|
835
838
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
836
839
|
tabIndex?: number | undefined;
|
|
837
840
|
tabSelectsValue?: boolean | undefined;
|
|
838
|
-
} & {}> & StateManagerAdditionalProps<unknown> & CreatableAdditionalProps<unknown, GroupBase<unknown>> &
|
|
839
|
-
declare const LabeledCreatableSelect:
|
|
841
|
+
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<unknown> & react_select_dist_declarations_src_useCreatable.CreatableAdditionalProps<unknown, GroupBase<unknown>> & React__default.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
842
|
+
declare const LabeledCreatableSelect: React__default.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
840
843
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
841
844
|
backspaceRemovesValue?: boolean | undefined;
|
|
842
845
|
blurInputOnSelect?: boolean | undefined;
|
|
843
846
|
captureMenuScroll?: boolean | undefined;
|
|
844
847
|
closeMenuOnSelect?: boolean | undefined;
|
|
845
848
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
846
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
849
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
847
850
|
controlShouldRenderValue?: boolean | undefined;
|
|
848
851
|
escapeClearsValue?: boolean | undefined;
|
|
849
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
850
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
851
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
852
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
852
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
853
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
854
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
855
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
853
856
|
isDisabled?: boolean | undefined;
|
|
854
857
|
isLoading?: boolean | undefined;
|
|
855
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
858
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
856
859
|
isMulti?: false | undefined;
|
|
857
860
|
isRtl?: boolean | undefined;
|
|
858
861
|
isSearchable?: boolean | undefined;
|
|
859
862
|
loadingMessage?: ((obj: {
|
|
860
863
|
inputValue: string;
|
|
861
|
-
}) =>
|
|
864
|
+
}) => React__default.ReactNode) | undefined;
|
|
862
865
|
minMenuHeight?: number | undefined;
|
|
863
866
|
maxMenuHeight?: number | undefined;
|
|
864
867
|
menuIsOpen?: boolean | undefined;
|
|
865
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
866
|
-
menuPosition?: MenuPosition | undefined;
|
|
868
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
869
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
867
870
|
menuShouldBlockScroll?: boolean | undefined;
|
|
868
871
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
869
872
|
noOptionsMessage?: ((obj: {
|
|
870
873
|
inputValue: string;
|
|
871
|
-
}) =>
|
|
874
|
+
}) => React__default.ReactNode) | undefined;
|
|
872
875
|
openMenuOnFocus?: boolean | undefined;
|
|
873
876
|
openMenuOnClick?: boolean | undefined;
|
|
874
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
877
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
875
878
|
pageSize?: number | undefined;
|
|
876
|
-
placeholder?:
|
|
879
|
+
placeholder?: React__default.ReactNode;
|
|
877
880
|
screenReaderStatus?: ((obj: {
|
|
878
881
|
count: number;
|
|
879
882
|
}) => string) | undefined;
|
|
880
883
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
881
884
|
tabIndex?: number | undefined;
|
|
882
885
|
tabSelectsValue?: boolean | undefined;
|
|
883
|
-
} & {}, "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"> & {
|
|
886
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
884
887
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
885
888
|
backspaceRemovesValue?: boolean | undefined;
|
|
886
889
|
blurInputOnSelect?: boolean | undefined;
|
|
887
890
|
captureMenuScroll?: boolean | undefined;
|
|
888
891
|
closeMenuOnSelect?: boolean | undefined;
|
|
889
892
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
890
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
893
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
891
894
|
controlShouldRenderValue?: boolean | undefined;
|
|
892
895
|
escapeClearsValue?: boolean | undefined;
|
|
893
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
894
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
895
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
896
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
896
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
897
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
898
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
899
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
897
900
|
isDisabled?: boolean | undefined;
|
|
898
901
|
isLoading?: boolean | undefined;
|
|
899
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
902
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
900
903
|
isMulti?: false | undefined;
|
|
901
904
|
isRtl?: boolean | undefined;
|
|
902
905
|
isSearchable?: boolean | undefined;
|
|
903
906
|
loadingMessage?: ((obj: {
|
|
904
907
|
inputValue: string;
|
|
905
|
-
}) =>
|
|
908
|
+
}) => React__default.ReactNode) | undefined;
|
|
906
909
|
minMenuHeight?: number | undefined;
|
|
907
910
|
maxMenuHeight?: number | undefined;
|
|
908
911
|
menuIsOpen?: boolean | undefined;
|
|
909
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
910
|
-
menuPosition?: MenuPosition | undefined;
|
|
912
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
913
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
911
914
|
menuShouldBlockScroll?: boolean | undefined;
|
|
912
915
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
913
916
|
noOptionsMessage?: ((obj: {
|
|
914
917
|
inputValue: string;
|
|
915
|
-
}) =>
|
|
918
|
+
}) => React__default.ReactNode) | undefined;
|
|
916
919
|
openMenuOnFocus?: boolean | undefined;
|
|
917
920
|
openMenuOnClick?: boolean | undefined;
|
|
918
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
921
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
919
922
|
pageSize?: number | undefined;
|
|
920
|
-
placeholder?:
|
|
923
|
+
placeholder?: React__default.ReactNode;
|
|
921
924
|
screenReaderStatus?: ((obj: {
|
|
922
925
|
count: number;
|
|
923
926
|
}) => string) | undefined;
|
|
924
927
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
925
928
|
tabIndex?: number | undefined;
|
|
926
929
|
tabSelectsValue?: boolean | undefined;
|
|
927
|
-
} & {}> & StateManagerAdditionalProps<unknown> & CreatableAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
928
|
-
parentStyle?:
|
|
930
|
+
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<unknown> & react_select_dist_declarations_src_useCreatable.CreatableAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
931
|
+
parentStyle?: React__default.CSSProperties | undefined;
|
|
929
932
|
label?: string | undefined;
|
|
930
933
|
required?: boolean | undefined;
|
|
931
|
-
} &
|
|
932
|
-
declare const SKUAsyncSelect:
|
|
934
|
+
} & React__default.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
935
|
+
declare const SKUAsyncSelect: React__default.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
933
936
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
934
937
|
backspaceRemovesValue?: boolean | undefined;
|
|
935
938
|
blurInputOnSelect?: boolean | undefined;
|
|
936
939
|
captureMenuScroll?: boolean | undefined;
|
|
937
940
|
closeMenuOnSelect?: boolean | undefined;
|
|
938
941
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
939
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
942
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
940
943
|
controlShouldRenderValue?: boolean | undefined;
|
|
941
944
|
escapeClearsValue?: boolean | undefined;
|
|
942
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
943
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
944
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
945
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
945
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
946
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
947
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
948
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
946
949
|
isDisabled?: boolean | undefined;
|
|
947
950
|
isLoading?: boolean | undefined;
|
|
948
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
951
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
949
952
|
isMulti?: false | undefined;
|
|
950
953
|
isRtl?: boolean | undefined;
|
|
951
954
|
isSearchable?: boolean | undefined;
|
|
952
955
|
loadingMessage?: ((obj: {
|
|
953
956
|
inputValue: string;
|
|
954
|
-
}) =>
|
|
957
|
+
}) => React__default.ReactNode) | undefined;
|
|
955
958
|
minMenuHeight?: number | undefined;
|
|
956
959
|
maxMenuHeight?: number | undefined;
|
|
957
960
|
menuIsOpen?: boolean | undefined;
|
|
958
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
959
|
-
menuPosition?: MenuPosition | undefined;
|
|
961
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
962
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
960
963
|
menuShouldBlockScroll?: boolean | undefined;
|
|
961
964
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
962
965
|
noOptionsMessage?: ((obj: {
|
|
963
966
|
inputValue: string;
|
|
964
|
-
}) =>
|
|
967
|
+
}) => React__default.ReactNode) | undefined;
|
|
965
968
|
openMenuOnFocus?: boolean | undefined;
|
|
966
969
|
openMenuOnClick?: boolean | undefined;
|
|
967
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
970
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
968
971
|
pageSize?: number | undefined;
|
|
969
|
-
placeholder?:
|
|
972
|
+
placeholder?: React__default.ReactNode;
|
|
970
973
|
screenReaderStatus?: ((obj: {
|
|
971
974
|
count: number;
|
|
972
975
|
}) => string) | undefined;
|
|
973
976
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
974
977
|
tabIndex?: number | undefined;
|
|
975
978
|
tabSelectsValue?: boolean | undefined;
|
|
976
|
-
} & {}, "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"> & {
|
|
979
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
977
980
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
978
981
|
backspaceRemovesValue?: boolean | undefined;
|
|
979
982
|
blurInputOnSelect?: boolean | undefined;
|
|
980
983
|
captureMenuScroll?: boolean | undefined;
|
|
981
984
|
closeMenuOnSelect?: boolean | undefined;
|
|
982
985
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
983
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
986
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
984
987
|
controlShouldRenderValue?: boolean | undefined;
|
|
985
988
|
escapeClearsValue?: boolean | undefined;
|
|
986
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
987
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
988
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
989
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
989
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
990
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
991
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
992
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
990
993
|
isDisabled?: boolean | undefined;
|
|
991
994
|
isLoading?: boolean | undefined;
|
|
992
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
995
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
993
996
|
isMulti?: false | undefined;
|
|
994
997
|
isRtl?: boolean | undefined;
|
|
995
998
|
isSearchable?: boolean | undefined;
|
|
996
999
|
loadingMessage?: ((obj: {
|
|
997
1000
|
inputValue: string;
|
|
998
|
-
}) =>
|
|
1001
|
+
}) => React__default.ReactNode) | undefined;
|
|
999
1002
|
minMenuHeight?: number | undefined;
|
|
1000
1003
|
maxMenuHeight?: number | undefined;
|
|
1001
1004
|
menuIsOpen?: boolean | undefined;
|
|
1002
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
1003
|
-
menuPosition?: MenuPosition | undefined;
|
|
1005
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
1006
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
1004
1007
|
menuShouldBlockScroll?: boolean | undefined;
|
|
1005
1008
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
1006
1009
|
noOptionsMessage?: ((obj: {
|
|
1007
1010
|
inputValue: string;
|
|
1008
|
-
}) =>
|
|
1011
|
+
}) => React__default.ReactNode) | undefined;
|
|
1009
1012
|
openMenuOnFocus?: boolean | undefined;
|
|
1010
1013
|
openMenuOnClick?: boolean | undefined;
|
|
1011
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1014
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1012
1015
|
pageSize?: number | undefined;
|
|
1013
|
-
placeholder?:
|
|
1016
|
+
placeholder?: React__default.ReactNode;
|
|
1014
1017
|
screenReaderStatus?: ((obj: {
|
|
1015
1018
|
count: number;
|
|
1016
1019
|
}) => string) | undefined;
|
|
1017
1020
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
1018
1021
|
tabIndex?: number | undefined;
|
|
1019
1022
|
tabSelectsValue?: boolean | undefined;
|
|
1020
|
-
} & {}> & StateManagerAdditionalProps<unknown> & AsyncAdditionalProps<unknown, GroupBase<unknown>> &
|
|
1021
|
-
declare const LabeledAsyncSelect:
|
|
1023
|
+
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<unknown> & react_select_dist_declarations_src_useAsync.AsyncAdditionalProps<unknown, GroupBase<unknown>> & React__default.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
1024
|
+
declare const LabeledAsyncSelect: React__default.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
1022
1025
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
1023
1026
|
backspaceRemovesValue?: boolean | undefined;
|
|
1024
1027
|
blurInputOnSelect?: boolean | undefined;
|
|
1025
1028
|
captureMenuScroll?: boolean | undefined;
|
|
1026
1029
|
closeMenuOnSelect?: boolean | undefined;
|
|
1027
1030
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
1028
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
1031
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
1029
1032
|
controlShouldRenderValue?: boolean | undefined;
|
|
1030
1033
|
escapeClearsValue?: boolean | undefined;
|
|
1031
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
1032
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
1033
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
1034
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
1034
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
1035
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
1036
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
1037
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
1035
1038
|
isDisabled?: boolean | undefined;
|
|
1036
1039
|
isLoading?: boolean | undefined;
|
|
1037
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
1040
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
1038
1041
|
isMulti?: false | undefined;
|
|
1039
1042
|
isRtl?: boolean | undefined;
|
|
1040
1043
|
isSearchable?: boolean | undefined;
|
|
1041
1044
|
loadingMessage?: ((obj: {
|
|
1042
1045
|
inputValue: string;
|
|
1043
|
-
}) =>
|
|
1046
|
+
}) => React__default.ReactNode) | undefined;
|
|
1044
1047
|
minMenuHeight?: number | undefined;
|
|
1045
1048
|
maxMenuHeight?: number | undefined;
|
|
1046
1049
|
menuIsOpen?: boolean | undefined;
|
|
1047
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
1048
|
-
menuPosition?: MenuPosition | undefined;
|
|
1050
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
1051
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
1049
1052
|
menuShouldBlockScroll?: boolean | undefined;
|
|
1050
1053
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
1051
1054
|
noOptionsMessage?: ((obj: {
|
|
1052
1055
|
inputValue: string;
|
|
1053
|
-
}) =>
|
|
1056
|
+
}) => React__default.ReactNode) | undefined;
|
|
1054
1057
|
openMenuOnFocus?: boolean | undefined;
|
|
1055
1058
|
openMenuOnClick?: boolean | undefined;
|
|
1056
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1059
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1057
1060
|
pageSize?: number | undefined;
|
|
1058
|
-
placeholder?:
|
|
1061
|
+
placeholder?: React__default.ReactNode;
|
|
1059
1062
|
screenReaderStatus?: ((obj: {
|
|
1060
1063
|
count: number;
|
|
1061
1064
|
}) => string) | undefined;
|
|
1062
1065
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
1063
1066
|
tabIndex?: number | undefined;
|
|
1064
1067
|
tabSelectsValue?: boolean | undefined;
|
|
1065
|
-
} & {}, "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"> & {
|
|
1068
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<react_select_dist_declarations_src_Select.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"> & {
|
|
1066
1069
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
1067
1070
|
backspaceRemovesValue?: boolean | undefined;
|
|
1068
1071
|
blurInputOnSelect?: boolean | undefined;
|
|
1069
1072
|
captureMenuScroll?: boolean | undefined;
|
|
1070
1073
|
closeMenuOnSelect?: boolean | undefined;
|
|
1071
1074
|
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
1072
|
-
components?: Partial<SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
1075
|
+
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
1073
1076
|
controlShouldRenderValue?: boolean | undefined;
|
|
1074
1077
|
escapeClearsValue?: boolean | undefined;
|
|
1075
|
-
filterOption?: ((option: FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
1076
|
-
formatGroupLabel?: ((group: GroupBase<unknown>) =>
|
|
1077
|
-
getOptionLabel?: GetOptionLabel<unknown> | undefined;
|
|
1078
|
-
getOptionValue?: GetOptionValue<unknown> | undefined;
|
|
1078
|
+
filterOption?: ((option: react_select_dist_declarations_src_filters.FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
1079
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React__default.ReactNode) | undefined;
|
|
1080
|
+
getOptionLabel?: react_select.GetOptionLabel<unknown> | undefined;
|
|
1081
|
+
getOptionValue?: react_select.GetOptionValue<unknown> | undefined;
|
|
1079
1082
|
isDisabled?: boolean | undefined;
|
|
1080
1083
|
isLoading?: boolean | undefined;
|
|
1081
|
-
isOptionDisabled?: ((option: unknown, selectValue: Options<unknown>) => boolean) | undefined;
|
|
1084
|
+
isOptionDisabled?: ((option: unknown, selectValue: react_select.Options<unknown>) => boolean) | undefined;
|
|
1082
1085
|
isMulti?: false | undefined;
|
|
1083
1086
|
isRtl?: boolean | undefined;
|
|
1084
1087
|
isSearchable?: boolean | undefined;
|
|
1085
1088
|
loadingMessage?: ((obj: {
|
|
1086
1089
|
inputValue: string;
|
|
1087
|
-
}) =>
|
|
1090
|
+
}) => React__default.ReactNode) | undefined;
|
|
1088
1091
|
minMenuHeight?: number | undefined;
|
|
1089
1092
|
maxMenuHeight?: number | undefined;
|
|
1090
1093
|
menuIsOpen?: boolean | undefined;
|
|
1091
|
-
menuPlacement?: MenuPlacement | undefined;
|
|
1092
|
-
menuPosition?: MenuPosition | undefined;
|
|
1094
|
+
menuPlacement?: react_select.MenuPlacement | undefined;
|
|
1095
|
+
menuPosition?: react_select.MenuPosition | undefined;
|
|
1093
1096
|
menuShouldBlockScroll?: boolean | undefined;
|
|
1094
1097
|
menuShouldScrollIntoView?: boolean | undefined;
|
|
1095
1098
|
noOptionsMessage?: ((obj: {
|
|
1096
1099
|
inputValue: string;
|
|
1097
|
-
}) =>
|
|
1100
|
+
}) => React__default.ReactNode) | undefined;
|
|
1098
1101
|
openMenuOnFocus?: boolean | undefined;
|
|
1099
1102
|
openMenuOnClick?: boolean | undefined;
|
|
1100
|
-
options?: OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1103
|
+
options?: react_select.OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
1101
1104
|
pageSize?: number | undefined;
|
|
1102
|
-
placeholder?:
|
|
1105
|
+
placeholder?: React__default.ReactNode;
|
|
1103
1106
|
screenReaderStatus?: ((obj: {
|
|
1104
1107
|
count: number;
|
|
1105
1108
|
}) => string) | undefined;
|
|
1106
1109
|
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
1107
1110
|
tabIndex?: number | undefined;
|
|
1108
1111
|
tabSelectsValue?: boolean | undefined;
|
|
1109
|
-
} & {}> & StateManagerAdditionalProps<unknown> & AsyncAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
1110
|
-
parentStyle?:
|
|
1112
|
+
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<unknown> & react_select_dist_declarations_src_useAsync.AsyncAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
1113
|
+
parentStyle?: React__default.CSSProperties | undefined;
|
|
1111
1114
|
label?: string | undefined;
|
|
1112
1115
|
required?: boolean | undefined;
|
|
1113
|
-
} &
|
|
1116
|
+
} & React__default.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
1114
1117
|
//# sourceMappingURL=Select.d.ts.map
|
|
1115
1118
|
|
|
1116
1119
|
declare type SidePanelType = {
|
|
@@ -1120,11 +1123,11 @@ declare type SidePanelType = {
|
|
|
1120
1123
|
height?: number;
|
|
1121
1124
|
width?: number;
|
|
1122
1125
|
};
|
|
1123
|
-
declare const StyledPanel: StyledComponent<"div", any, SidePanelType, never>;
|
|
1124
|
-
declare const SidePanel: ({ from, visible, animationDuration, fullWidthTitle, bodyScrollable, backdrop, controls, header, title, children, ...props }:
|
|
1125
|
-
header?:
|
|
1126
|
+
declare const StyledPanel: styled_components.StyledComponent<"div", any, SidePanelType, never>;
|
|
1127
|
+
declare const SidePanel: ({ from, visible, animationDuration, fullWidthTitle, bodyScrollable, backdrop, controls, header, title, children, ...props }: React__default.PropsWithChildren<{
|
|
1128
|
+
header?: React__default.ReactNode;
|
|
1126
1129
|
title: string;
|
|
1127
|
-
controls:
|
|
1130
|
+
controls: React__default.ReactNode;
|
|
1128
1131
|
fullWidthTitle?: boolean | undefined;
|
|
1129
1132
|
backdrop?: boolean | undefined;
|
|
1130
1133
|
bodyScrollable?: boolean | undefined;
|
|
@@ -1134,7 +1137,7 @@ declare const PanelContact: ({ avatar, name, position, email, ...props }: {
|
|
|
1134
1137
|
position?: string | undefined;
|
|
1135
1138
|
email?: string | undefined;
|
|
1136
1139
|
phone?: string | undefined;
|
|
1137
|
-
avatar?:
|
|
1140
|
+
avatar?: React__default.ReactNode;
|
|
1138
1141
|
} & SizerTypes) => JSX.Element;
|
|
1139
1142
|
declare type PhoneType = {
|
|
1140
1143
|
phone_number?: string;
|
|
@@ -1146,33 +1149,33 @@ declare const PanelTileContact: ({ avatar, name, position, email, phones, ...pro
|
|
|
1146
1149
|
position?: string | undefined;
|
|
1147
1150
|
email?: string | undefined;
|
|
1148
1151
|
phones?: PhoneType[] | undefined;
|
|
1149
|
-
avatar?:
|
|
1152
|
+
avatar?: React__default.ReactNode;
|
|
1150
1153
|
} & SizerTypes) => JSX.Element;
|
|
1151
1154
|
|
|
1152
|
-
declare const Table: StyledComponent<"table", any, {
|
|
1155
|
+
declare const Table: styled_components.StyledComponent<"table", any, {
|
|
1153
1156
|
cellPadding: 0;
|
|
1154
1157
|
cellSpacing: 0;
|
|
1155
1158
|
} & SharedStyleTypes, "cellPadding" | "cellSpacing">;
|
|
1156
|
-
declare const TH: StyledComponent<"th", any, {
|
|
1159
|
+
declare const TH: styled_components.StyledComponent<"th", any, {
|
|
1157
1160
|
clickable?: boolean | undefined;
|
|
1158
1161
|
sticky?: boolean | undefined;
|
|
1159
1162
|
stickyTop?: number | undefined;
|
|
1160
1163
|
} & SharedStyleTypes & SizerTypes, never>;
|
|
1161
|
-
declare const TD: StyledComponent<"td", any, {
|
|
1164
|
+
declare const TD: styled_components.StyledComponent<"td", any, {
|
|
1162
1165
|
clickable?: boolean | undefined;
|
|
1163
1166
|
} & SharedStyleTypes & SizerTypes, never>;
|
|
1164
|
-
declare const TR: StyledComponent<"tr", any, SizerTypes & {
|
|
1167
|
+
declare const TR: styled_components.StyledComponent<"tr", any, SizerTypes & {
|
|
1165
1168
|
selected?: boolean | undefined;
|
|
1166
1169
|
}, never>;
|
|
1167
|
-
declare const THead: StyledComponent<"thead", any, SizerTypes, never>;
|
|
1168
|
-
declare const TBody: StyledComponent<"tbody", any, SizerTypes, never>;
|
|
1169
|
-
declare const ResponsiveTable: ({ parentProps, children, ...props }:
|
|
1170
|
+
declare const THead: styled_components.StyledComponent<"thead", any, SizerTypes, never>;
|
|
1171
|
+
declare const TBody: styled_components.StyledComponent<"tbody", any, SizerTypes, never>;
|
|
1172
|
+
declare const ResponsiveTable: ({ parentProps, children, ...props }: React__default.PropsWithChildren<{
|
|
1170
1173
|
parentProps?: {
|
|
1171
1174
|
[key: string]: any;
|
|
1172
1175
|
style?: object | undefined;
|
|
1173
1176
|
} | undefined;
|
|
1174
1177
|
} & SharedStyleTypes>) => JSX.Element;
|
|
1175
|
-
declare const THSorted: ({ children, order, iconHeight, iconStyles, hideIconOnMobile, ...props }:
|
|
1178
|
+
declare const THSorted: ({ children, order, iconHeight, iconStyles, hideIconOnMobile, ...props }: React__default.PropsWithChildren<{
|
|
1176
1179
|
order?: string | undefined;
|
|
1177
1180
|
iconHeight?: number | undefined;
|
|
1178
1181
|
iconStyles?: object | undefined;
|
|
@@ -1180,18 +1183,18 @@ declare const THSorted: ({ children, order, iconHeight, iconStyles, hideIconOnMo
|
|
|
1180
1183
|
}>) => JSX.Element;
|
|
1181
1184
|
//# sourceMappingURL=Table.d.ts.map
|
|
1182
1185
|
|
|
1183
|
-
declare const GridTableContainer: StyledComponent<"div", any, {
|
|
1186
|
+
declare const GridTableContainer: styled_components.StyledComponent<"div", any, {
|
|
1184
1187
|
width?: string | undefined;
|
|
1185
1188
|
gridTemplateRows?: string | undefined;
|
|
1186
1189
|
gridTemplateColumns: string;
|
|
1187
1190
|
gridRowGap?: string | undefined;
|
|
1188
1191
|
gridColumnGap?: string | undefined;
|
|
1189
1192
|
} & SharedStyleTypes, never>;
|
|
1190
|
-
declare const GridRow: StyledComponent<"div", any, {
|
|
1193
|
+
declare const GridRow: styled_components.StyledComponent<"div", any, {
|
|
1191
1194
|
gridTemplateColumns: string;
|
|
1192
1195
|
gridColumnGap?: string | undefined;
|
|
1193
1196
|
} & SharedStyleTypes, never>;
|
|
1194
|
-
declare const GridCell: StyledComponent<"div", any, {
|
|
1197
|
+
declare const GridCell: styled_components.StyledComponent<"div", any, {
|
|
1195
1198
|
width?: string | undefined;
|
|
1196
1199
|
header?: boolean | undefined;
|
|
1197
1200
|
centerContent?: boolean | undefined;
|
|
@@ -1201,10 +1204,10 @@ declare type TransformFunction = (value: any | {
|
|
|
1201
1204
|
label: string;
|
|
1202
1205
|
value: string;
|
|
1203
1206
|
}) => TValue;
|
|
1204
|
-
declare type TChild =
|
|
1207
|
+
declare type TChild = React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>;
|
|
1205
1208
|
declare type ColumnProps = {
|
|
1206
1209
|
name: string;
|
|
1207
|
-
title:
|
|
1210
|
+
title: React__default.ReactNode;
|
|
1208
1211
|
children: TChild;
|
|
1209
1212
|
centerContent?: boolean;
|
|
1210
1213
|
transform?: TransformFunction;
|
|
@@ -1233,22 +1236,22 @@ declare function GridTable({ data, idField, onUpdate, onDelete, onAdd, onSort, v
|
|
|
1233
1236
|
//# sourceMappingURL=GridTable.d.ts.map
|
|
1234
1237
|
|
|
1235
1238
|
declare const tabSizes: {
|
|
1236
|
-
small: FlattenSimpleInterpolation;
|
|
1237
|
-
medium: FlattenSimpleInterpolation;
|
|
1239
|
+
small: styled_components.FlattenSimpleInterpolation;
|
|
1240
|
+
medium: styled_components.FlattenSimpleInterpolation;
|
|
1238
1241
|
};
|
|
1239
|
-
declare const TabBar: StyledComponent<"ul", any, {
|
|
1242
|
+
declare const TabBar: styled_components.StyledComponent<"ul", any, {
|
|
1240
1243
|
padded?: boolean | undefined;
|
|
1241
1244
|
} & SharedStyleTypes, never>;
|
|
1242
1245
|
declare type CommonTabProps = {
|
|
1243
1246
|
size?: keyof typeof tabSizes;
|
|
1244
1247
|
variant?: 'primary' | 'secondary';
|
|
1245
1248
|
};
|
|
1246
|
-
declare const Tab: StyledComponent<"li", any, {
|
|
1249
|
+
declare const Tab: styled_components.StyledComponent<"li", any, {
|
|
1247
1250
|
selected?: boolean | undefined;
|
|
1248
1251
|
} & CommonTabProps & SharedStyleTypes, never>;
|
|
1249
1252
|
declare type TTab = {
|
|
1250
|
-
label: string |
|
|
1251
|
-
content:
|
|
1253
|
+
label: string | React__default.ReactNode;
|
|
1254
|
+
content: React__default.ReactNode;
|
|
1252
1255
|
onClick?: (e?: MouseEvent<HTMLLIElement>) => void;
|
|
1253
1256
|
} & CommonTabProps;
|
|
1254
1257
|
declare type TabsProps = {
|
|
@@ -1267,7 +1270,7 @@ declare class Tabs extends Component<TabsProps, TabsState> {
|
|
|
1267
1270
|
render(): JSX.Element;
|
|
1268
1271
|
}
|
|
1269
1272
|
|
|
1270
|
-
declare const toggleSizes: {
|
|
1273
|
+
declare const toggleSizes$1: {
|
|
1271
1274
|
small: {
|
|
1272
1275
|
'font-family': string;
|
|
1273
1276
|
'font-size': string;
|
|
@@ -1293,16 +1296,16 @@ declare const toggleSizes: {
|
|
|
1293
1296
|
height: string;
|
|
1294
1297
|
};
|
|
1295
1298
|
};
|
|
1296
|
-
declare type ToggleSize = keyof typeof toggleSizes;
|
|
1297
|
-
declare const ToggleLink: StyledComponent<"a", any, {
|
|
1299
|
+
declare type ToggleSize$1 = keyof typeof toggleSizes$1;
|
|
1300
|
+
declare const ToggleLink: styled_components.StyledComponent<"a", any, {
|
|
1298
1301
|
selected?: boolean | undefined;
|
|
1299
1302
|
stretch?: boolean | undefined;
|
|
1300
1303
|
size?: "small" | "medium" | "large" | undefined;
|
|
1301
1304
|
} & SharedStyleTypes, never>;
|
|
1302
|
-
declare type ToggleProps =
|
|
1305
|
+
declare type ToggleProps = React__default.PropsWithChildren<{
|
|
1303
1306
|
stretch?: boolean;
|
|
1304
|
-
onClick?:
|
|
1305
|
-
size?: ToggleSize;
|
|
1307
|
+
onClick?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
1308
|
+
size?: ToggleSize$1;
|
|
1306
1309
|
} & SharedStyleTypes>;
|
|
1307
1310
|
declare const Toggle: ({ size, ...props }: ToggleProps) => JSX.Element;
|
|
1308
1311
|
|
|
@@ -1311,19 +1314,19 @@ declare type BaseTextareaProps = {
|
|
|
1311
1314
|
error?: boolean;
|
|
1312
1315
|
hasIcon?: boolean;
|
|
1313
1316
|
} & SharedStyleTypes;
|
|
1314
|
-
declare const Textarea: StyledComponent<"textarea", any, {
|
|
1317
|
+
declare const Textarea: styled_components.StyledComponent<"textarea", any, {
|
|
1315
1318
|
noMargin?: boolean | undefined;
|
|
1316
1319
|
error?: boolean | undefined;
|
|
1317
1320
|
hasIcon?: boolean | undefined;
|
|
1318
1321
|
} & SharedStyleTypes, never>;
|
|
1319
|
-
declare type TextareaProps =
|
|
1322
|
+
declare type TextareaProps = React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & BaseTextareaProps & {
|
|
1320
1323
|
label: string;
|
|
1321
1324
|
name?: string;
|
|
1322
1325
|
noMargin?: boolean;
|
|
1323
1326
|
} & SharedStyleTypes;
|
|
1324
|
-
declare const LabeledTextarea:
|
|
1327
|
+
declare const LabeledTextarea: React__default.FC<TextareaProps>;
|
|
1325
1328
|
|
|
1326
|
-
declare const Spinner: (props:
|
|
1329
|
+
declare const Spinner: (props: React__default.PropsWithChildren<{
|
|
1327
1330
|
small?: boolean;
|
|
1328
1331
|
} & SharedStyleTypes>) => JSX.Element;
|
|
1329
1332
|
|
|
@@ -1345,14 +1348,14 @@ declare type ArtworkProps = {
|
|
|
1345
1348
|
date?: string;
|
|
1346
1349
|
edit?: boolean;
|
|
1347
1350
|
noTruncate?: boolean;
|
|
1348
|
-
onClick?:
|
|
1351
|
+
onClick?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
1349
1352
|
onEdit?: Function | VoidFunction;
|
|
1350
1353
|
onDelete?: Function | VoidFunction;
|
|
1351
1354
|
onSave?: Function | VoidFunction;
|
|
1352
1355
|
onError?: ReactEventHandler<HTMLImageElement>;
|
|
1353
1356
|
onDownload?: Function | VoidFunction;
|
|
1354
1357
|
inputProps?: InputProps;
|
|
1355
|
-
inputEl?:
|
|
1358
|
+
inputEl?: React__default.ReactNode;
|
|
1356
1359
|
};
|
|
1357
1360
|
declare const Artwork: ({ inputProps, onError, ...props }: ArtworkProps & SharedStyleTypes) => JSX.Element;
|
|
1358
1361
|
|
|
@@ -1369,7 +1372,7 @@ declare type RowPropTypes = {
|
|
|
1369
1372
|
end?: boolean;
|
|
1370
1373
|
middle?: boolean;
|
|
1371
1374
|
} & SharedStyleTypes;
|
|
1372
|
-
declare const Row: StyledComponent<"div", any, {
|
|
1375
|
+
declare const Row$1: styled_components.StyledComponent<"div", any, {
|
|
1373
1376
|
justify?: string | undefined;
|
|
1374
1377
|
wrap?: string | undefined;
|
|
1375
1378
|
align?: string | undefined;
|
|
@@ -1379,18 +1382,18 @@ declare const Row: StyledComponent<"div", any, {
|
|
|
1379
1382
|
middle?: boolean | undefined;
|
|
1380
1383
|
} & SharedStyleTypes, never>;
|
|
1381
1384
|
declare type ColPropTypes = SizerTypes & SharedStyleTypes;
|
|
1382
|
-
declare const Col: StyledComponent<"div", any, SizerTypes & SharedStyleTypes, never>;
|
|
1385
|
+
declare const Col: styled_components.StyledComponent<"div", any, SizerTypes & SharedStyleTypes, never>;
|
|
1383
1386
|
|
|
1384
|
-
declare const Overlay: StyledComponent<"div", any, {
|
|
1387
|
+
declare const Overlay: styled_components.StyledComponent<"div", any, {
|
|
1385
1388
|
zIndex?: number | undefined;
|
|
1386
1389
|
}, never>;
|
|
1387
|
-
declare const PopupHeader: StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
|
|
1388
|
-
declare type PopupProps =
|
|
1389
|
-
header?:
|
|
1390
|
+
declare const PopupHeader: styled_components.StyledComponent<"div", any, SharedStyleTypes & SizerTypes, never>;
|
|
1391
|
+
declare type PopupProps = React__default.PropsWithChildren<{
|
|
1392
|
+
header?: React__default.Component;
|
|
1390
1393
|
noHeader?: boolean;
|
|
1391
|
-
title?: string |
|
|
1392
|
-
controls?: Array<
|
|
1393
|
-
onClose?: (event?:
|
|
1394
|
+
title?: string | React__default.Component;
|
|
1395
|
+
controls?: Array<React__default.ReactNode>;
|
|
1396
|
+
onClose?: (event?: React__default.MouseEvent) => void;
|
|
1394
1397
|
noCloseButton?: boolean;
|
|
1395
1398
|
closeOnClickOutside?: boolean;
|
|
1396
1399
|
closeOnEsc?: boolean;
|
|
@@ -1401,14 +1404,14 @@ declare type PopupProps = React$1.PropsWithChildren<{
|
|
|
1401
1404
|
overlayZIndex?: number;
|
|
1402
1405
|
popupClassName?: string;
|
|
1403
1406
|
contentClassName?: string;
|
|
1404
|
-
PopupWindowComponent?:
|
|
1405
|
-
} & SharedStyleTypes> &
|
|
1406
|
-
declare const Popup:
|
|
1407
|
-
header?:
|
|
1407
|
+
PopupWindowComponent?: React__default.ComponentType<React__default.ComponentPropsWithRef<any>>;
|
|
1408
|
+
} & SharedStyleTypes> & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1409
|
+
declare const Popup: React__default.ForwardRefExoticComponent<{
|
|
1410
|
+
header?: React__default.Component<{}, {}, any> | undefined;
|
|
1408
1411
|
noHeader?: boolean | undefined;
|
|
1409
|
-
title?: string |
|
|
1410
|
-
controls?:
|
|
1411
|
-
onClose?: ((event?:
|
|
1412
|
+
title?: string | React__default.Component<{}, {}, any> | undefined;
|
|
1413
|
+
controls?: React__default.ReactNode[] | undefined;
|
|
1414
|
+
onClose?: ((event?: React__default.MouseEvent) => void) | undefined;
|
|
1412
1415
|
noCloseButton?: boolean | undefined;
|
|
1413
1416
|
closeOnClickOutside?: boolean | undefined;
|
|
1414
1417
|
closeOnEsc?: boolean | undefined;
|
|
@@ -1419,42 +1422,42 @@ declare const Popup: React$1.ForwardRefExoticComponent<{
|
|
|
1419
1422
|
overlayZIndex?: number | undefined;
|
|
1420
1423
|
popupClassName?: string | undefined;
|
|
1421
1424
|
contentClassName?: string | undefined;
|
|
1422
|
-
PopupWindowComponent?:
|
|
1425
|
+
PopupWindowComponent?: React__default.ComponentType<any> | undefined;
|
|
1423
1426
|
} & SharedStyleTypes & {
|
|
1424
|
-
children?:
|
|
1425
|
-
} &
|
|
1426
|
-
declare const ShowPopup:
|
|
1427
|
-
popup:
|
|
1427
|
+
children?: React__default.ReactNode;
|
|
1428
|
+
} & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1429
|
+
declare const ShowPopup: React__default.FC<Omit<PopupProps, 'onClose'> & {
|
|
1430
|
+
popup: React__default.ComponentType<PopupProps>;
|
|
1428
1431
|
autoOpen?: boolean;
|
|
1429
|
-
render?:
|
|
1432
|
+
render?: React__default.FC<{
|
|
1430
1433
|
onClick: () => void;
|
|
1431
1434
|
}>;
|
|
1432
1435
|
}>;
|
|
1433
1436
|
declare type ChevronPopupProps = Omit<PopupProps, 'PopupWindowComponent'>;
|
|
1434
1437
|
declare const ChevronPopup: (props: ChevronPopupProps) => JSX.Element;
|
|
1435
1438
|
|
|
1436
|
-
declare const TaskLabel: StyledComponent<"div", any, {
|
|
1439
|
+
declare const TaskLabel: styled_components.StyledComponent<"div", any, {
|
|
1437
1440
|
hasCheckbox?: boolean | undefined;
|
|
1438
1441
|
}, never>;
|
|
1439
|
-
declare const TaskName: StyledComponent<"div", any, {}, never>;
|
|
1440
|
-
declare const StyledTask: StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
1441
|
-
declare const TaskBody: StyledComponent<"div", any, {}, never>;
|
|
1442
|
+
declare const TaskName: styled_components.StyledComponent<"div", any, {}, never>;
|
|
1443
|
+
declare const StyledTask: styled_components.StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
1444
|
+
declare const TaskBody: styled_components.StyledComponent<"div", any, {}, never>;
|
|
1442
1445
|
declare type TaskProps = {
|
|
1443
1446
|
taskName: string;
|
|
1444
1447
|
date?: string;
|
|
1445
1448
|
done?: boolean;
|
|
1446
1449
|
assignee?: string;
|
|
1447
|
-
taskBody: string |
|
|
1450
|
+
taskBody: string | React__default.ReactNode;
|
|
1448
1451
|
checked?: boolean;
|
|
1449
1452
|
initialChecked?: boolean;
|
|
1450
1453
|
onClickCheckbox?: (checked?: boolean) => any;
|
|
1451
1454
|
};
|
|
1452
|
-
declare const Task: ({ taskName, date, done, assignee, taskBody, initialChecked, onClickCheckbox, ...props }:
|
|
1453
|
-
declare const StyledCalendarTaskBody: StyledComponent<"span", any, {}, never>;
|
|
1455
|
+
declare const Task: ({ taskName, date, done, assignee, taskBody, initialChecked, onClickCheckbox, ...props }: React__default.PropsWithChildren<TaskProps & SharedStyleTypes>) => JSX.Element;
|
|
1456
|
+
declare const StyledCalendarTaskBody: styled_components.StyledComponent<"span", any, {}, never>;
|
|
1454
1457
|
declare type CalendarTaskProps = {
|
|
1455
1458
|
id?: string;
|
|
1456
1459
|
title: string;
|
|
1457
|
-
description: string |
|
|
1460
|
+
description: string | React__default.ReactNode;
|
|
1458
1461
|
date?: Date;
|
|
1459
1462
|
completed?: boolean;
|
|
1460
1463
|
colorType?: string;
|
|
@@ -1466,12 +1469,12 @@ declare type CalendarTaskProps = {
|
|
|
1466
1469
|
isDescriptionHtml?: boolean;
|
|
1467
1470
|
draggable?: boolean;
|
|
1468
1471
|
hideCheckbox?: boolean;
|
|
1469
|
-
Icon?:
|
|
1472
|
+
Icon?: React__default.ReactNode;
|
|
1470
1473
|
};
|
|
1471
|
-
declare const CalendarTask:
|
|
1474
|
+
declare const CalendarTask: React__default.ForwardRefExoticComponent<CalendarTaskProps & SharedStyleTypes & React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1472
1475
|
|
|
1473
1476
|
declare type AdditionalStyles = CSSObject | string | ((p: ThemeProps<DefaultTheme>) => CSSObject | string | undefined | null);
|
|
1474
|
-
declare const GlobalStyle: GlobalStyleComponent<{
|
|
1477
|
+
declare const GlobalStyle: styled_components.GlobalStyleComponent<{
|
|
1475
1478
|
additionalStyles?: AdditionalStyles | undefined;
|
|
1476
1479
|
}, DefaultTheme>;
|
|
1477
1480
|
|
|
@@ -2435,7 +2438,7 @@ declare function getThemeFontFamily(props: {
|
|
|
2435
2438
|
declare function getThemeProperty(props: {
|
|
2436
2439
|
[key: string]: any;
|
|
2437
2440
|
}, prop: string, value?: string, fallbackValue?: string): string;
|
|
2438
|
-
declare const Theme: ({ theme, globalStyles, additionalGlobalStyles, children }:
|
|
2441
|
+
declare const Theme: ({ theme, globalStyles, additionalGlobalStyles, children }: React__default.PropsWithChildren<{
|
|
2439
2442
|
theme?: object | undefined;
|
|
2440
2443
|
globalStyles?: boolean | undefined;
|
|
2441
2444
|
additionalGlobalStyles?: AdditionalStyles | undefined;
|
|
@@ -2445,11 +2448,11 @@ declare type TextProp = {
|
|
|
2445
2448
|
color?: keyof typeof colors;
|
|
2446
2449
|
bold?: boolean;
|
|
2447
2450
|
} & SharedStyleTypes;
|
|
2448
|
-
declare const Text: StyledComponent<"span", any, {
|
|
2451
|
+
declare const Text: styled_components.StyledComponent<"span", any, {
|
|
2449
2452
|
color?: "transparent" | "primary1" | "secondary1" | "secondary2" | "secondary3" | "secondary4" | "teal" | "pink" | "yellow" | "green" | "navy" | "neutrals" | "errors" | "orders" | "notes" | "calls" | "meetings" | "left_nav" | "text" | "white" | "black" | "primary" | "cta" | "primary0" | "primary10" | "primary100" | "disabledButton" | "disabledButtonBorder" | "texttitle" | "textlabel" | "textbody" | "textplaceholder" | "bggray" | "bgblue" | "inputBorder" | "special1" | "special2" | "special3" | "primaryBg" | "special2Bg" | "error" | "primary2" | "primary20" | "primary200" | "tableHeaderBg" | "tableBorder" | "input" | "select" | undefined;
|
|
2450
2453
|
bold?: boolean | undefined;
|
|
2451
2454
|
} & SharedStyleTypes, never>;
|
|
2452
|
-
declare const Link: StyledComponent<
|
|
2455
|
+
declare const Link: styled_components.StyledComponent<React__default.FC<{
|
|
2453
2456
|
highlight?: boolean | undefined;
|
|
2454
2457
|
} & {
|
|
2455
2458
|
[x: string]: any;
|
|
@@ -2458,22 +2461,22 @@ declare const Link: StyledComponent<React$1.FC<{
|
|
|
2458
2461
|
} & {
|
|
2459
2462
|
theme?: any;
|
|
2460
2463
|
} & {
|
|
2461
|
-
as?: string |
|
|
2462
|
-
forwardedAs?: string |
|
|
2464
|
+
as?: string | React__default.ComponentType<any> | undefined;
|
|
2465
|
+
forwardedAs?: string | React__default.ComponentType<any> | undefined;
|
|
2463
2466
|
} & SharedStyleTypes>, any, {}, never>;
|
|
2464
|
-
declare const Number:
|
|
2467
|
+
declare const Number: React__default.FC<{
|
|
2465
2468
|
num: number;
|
|
2466
2469
|
commas?: boolean;
|
|
2467
2470
|
decimalPoints?: number;
|
|
2468
2471
|
} & SharedStyleTypes>;
|
|
2469
2472
|
|
|
2470
|
-
declare const Publisher: (props:
|
|
2471
|
-
declare const FeedPost: (props:
|
|
2473
|
+
declare const Publisher: (props: React__default.PropsWithChildren<{}>) => JSX.Element;
|
|
2474
|
+
declare const FeedPost: (props: React__default.PropsWithChildren<{
|
|
2472
2475
|
author: any;
|
|
2473
2476
|
subject?: string;
|
|
2474
|
-
body:
|
|
2477
|
+
body: React__default.ReactNode;
|
|
2475
2478
|
date: string;
|
|
2476
|
-
comments?:
|
|
2479
|
+
comments?: React__default.ReactNode[];
|
|
2477
2480
|
} & SharedStyleTypes>) => JSX.Element;
|
|
2478
2481
|
|
|
2479
2482
|
declare type StateType = {
|
|
@@ -2482,28 +2485,28 @@ declare type StateType = {
|
|
|
2482
2485
|
declare class ErrorBoundary extends Component<object, StateType> {
|
|
2483
2486
|
constructor(props: StateType);
|
|
2484
2487
|
componentDidCatch(error: Error | any, info: string | any): void;
|
|
2485
|
-
render():
|
|
2488
|
+
render(): React__default.ReactNode;
|
|
2486
2489
|
}
|
|
2487
2490
|
|
|
2488
|
-
declare const CustomDateInput:
|
|
2491
|
+
declare const CustomDateInput: React__default.ForwardRefExoticComponent<{
|
|
2489
2492
|
noMargin?: boolean | undefined;
|
|
2490
2493
|
error?: boolean | undefined;
|
|
2491
2494
|
} & {
|
|
2492
2495
|
hasIcon?: boolean | undefined;
|
|
2493
|
-
} & SharedStyleTypes &
|
|
2496
|
+
} & SharedStyleTypes & React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
2494
2497
|
isClearable?: boolean | undefined;
|
|
2495
|
-
} &
|
|
2498
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
2496
2499
|
declare type DatepickerPorps = Omit<ReactDatePickerProps, 'value'> & Omit<InputProps, 'value'> & {
|
|
2497
2500
|
value?: Date | null;
|
|
2498
2501
|
placeholder?: string;
|
|
2499
2502
|
};
|
|
2500
|
-
declare const Datepicker:
|
|
2503
|
+
declare const Datepicker: React__default.ForwardRefExoticComponent<Omit<ReactDatePickerProps, "value"> & Omit<InputProps, "value"> & {
|
|
2501
2504
|
value?: Date | null | undefined;
|
|
2502
2505
|
placeholder?: string | undefined;
|
|
2503
|
-
} &
|
|
2506
|
+
} & React__default.RefAttributes<BaseDatePicker>>;
|
|
2504
2507
|
|
|
2505
|
-
declare const StyledDropdown: StyledComponent<"div", any, {}, never>;
|
|
2506
|
-
declare type DropdownContentProps = {
|
|
2508
|
+
declare const StyledDropdown: styled_components.StyledComponent<"div", any, {}, never>;
|
|
2509
|
+
declare type DropdownContentProps$2 = {
|
|
2507
2510
|
primary?: boolean;
|
|
2508
2511
|
underlined?: boolean;
|
|
2509
2512
|
text?: string;
|
|
@@ -2514,8 +2517,8 @@ declare type DropdownItemProps = {
|
|
|
2514
2517
|
primary?: boolean;
|
|
2515
2518
|
underlined?: boolean;
|
|
2516
2519
|
};
|
|
2517
|
-
declare const DropdownItem: StyledComponent<"div", any, DropdownItemProps, never>;
|
|
2518
|
-
declare const DropDownContent: StyledComponent<"div", any, DropdownContentProps, never>;
|
|
2520
|
+
declare const DropdownItem: styled_components.StyledComponent<"div", any, DropdownItemProps, never>;
|
|
2521
|
+
declare const DropDownContent: styled_components.StyledComponent<"div", any, DropdownContentProps$2, never>;
|
|
2519
2522
|
declare type TDropdownItem = {
|
|
2520
2523
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
2521
2524
|
props?: {
|
|
@@ -2529,7 +2532,7 @@ declare type DropdownProps = {
|
|
|
2529
2532
|
icon?: ReactNode;
|
|
2530
2533
|
openMenu?: boolean;
|
|
2531
2534
|
mouseLeaveCallback?: any;
|
|
2532
|
-
size?: TSize
|
|
2535
|
+
size?: TSize;
|
|
2533
2536
|
style?: CSSObject;
|
|
2534
2537
|
buttonVariant?: ButtonVariant;
|
|
2535
2538
|
buttonProps?: ButtonProps;
|
|
@@ -2538,18 +2541,18 @@ declare type DropdownProps = {
|
|
|
2538
2541
|
hideOnMouseLeave?: boolean;
|
|
2539
2542
|
onToggleMenu?: (value: boolean) => void;
|
|
2540
2543
|
};
|
|
2541
|
-
declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, onToggleMenu, mouseLeaveCallback, size, style, buttonVariant, buttonProps, width, bordered, hideOnMouseLeave, ...props }:
|
|
2544
|
+
declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, onToggleMenu, mouseLeaveCallback, size, style, buttonVariant, buttonProps, width, bordered, hideOnMouseLeave, ...props }: React__default.PropsWithChildren<DropdownProps & DropdownContentProps$2>) => JSX.Element;
|
|
2542
2545
|
|
|
2543
|
-
declare const Badge: StyledComponent<"span", any, {
|
|
2546
|
+
declare const Badge: styled_components.StyledComponent<"span", any, {
|
|
2544
2547
|
color?: string | undefined;
|
|
2545
2548
|
} & SharedStyleTypes, never>;
|
|
2546
2549
|
|
|
2547
2550
|
declare type BackdropTypes = {
|
|
2548
2551
|
animationDuration?: number;
|
|
2549
2552
|
};
|
|
2550
|
-
declare const Backdrop: StyledComponent<"div", any, BackdropTypes, never>;
|
|
2553
|
+
declare const Backdrop: styled_components.StyledComponent<"div", any, BackdropTypes, never>;
|
|
2551
2554
|
|
|
2552
|
-
declare type HeadlessTableProps =
|
|
2555
|
+
declare type HeadlessTableProps = React__default.PropsWithChildren<{
|
|
2553
2556
|
columns: any;
|
|
2554
2557
|
data: object[];
|
|
2555
2558
|
rowIdField: string;
|
|
@@ -2574,7 +2577,7 @@ declare type HeadlessTableProps = React$1.PropsWithChildren<{
|
|
|
2574
2577
|
} & SharedStyleTypes>;
|
|
2575
2578
|
declare function HeadlessTable({ columns, data, rowIdField, defaultSort, defaultPageSize, defaultPageIndex, defaultScrollOffset, defaultHorizontalOffset, pageIndexDivRef, onChangeSelected, onChangeSortOrColumns, scrollOffsetDivRef, horizontalOffsetDivRef, selectedRowId, sortDirectionDivRef, currentColumnsDivRef, minHeight, pagination }: HeadlessTableProps): JSX.Element;
|
|
2576
2579
|
|
|
2577
|
-
declare const Sparkles:
|
|
2580
|
+
declare const Sparkles: React__default.FC<{
|
|
2578
2581
|
color: string;
|
|
2579
2582
|
}>;
|
|
2580
2583
|
|
|
@@ -2608,7 +2611,7 @@ declare const StatusDropdown: ({ items, text, value, row, setMenuIsOpen, disable
|
|
|
2608
2611
|
disabled?: boolean | undefined;
|
|
2609
2612
|
} & DropdownContentProps$1) => JSX.Element;
|
|
2610
2613
|
|
|
2611
|
-
declare type DropdownContentProps
|
|
2614
|
+
declare type DropdownContentProps = {
|
|
2612
2615
|
text?: string;
|
|
2613
2616
|
active?: boolean;
|
|
2614
2617
|
rounded?: boolean;
|
|
@@ -2634,7 +2637,7 @@ declare type StateDropdownProps = {
|
|
|
2634
2637
|
dataTip?: any;
|
|
2635
2638
|
dataFor?: string;
|
|
2636
2639
|
background?: string;
|
|
2637
|
-
} & DropdownContentProps
|
|
2640
|
+
} & DropdownContentProps;
|
|
2638
2641
|
declare const StateDropdown: ({ items, text, value, row, showCircles, maxCircles, dataTip, dataFor, background, ...props }: StateDropdownProps) => JSX.Element;
|
|
2639
2642
|
|
|
2640
2643
|
declare type CollapseStyledProps = {
|
|
@@ -2643,8 +2646,8 @@ declare type CollapseStyledProps = {
|
|
|
2643
2646
|
};
|
|
2644
2647
|
declare type CollapseWrapperProps = CollapseStyledProps;
|
|
2645
2648
|
declare type CollapsiblePanelTitleProps = {};
|
|
2646
|
-
declare type CollapsibleProps = CollapseWrapperProps & CollapsiblePanelTitleProps & {
|
|
2647
|
-
style?:
|
|
2649
|
+
declare type CollapsibleProps$1 = CollapseWrapperProps & CollapsiblePanelTitleProps & {
|
|
2650
|
+
style?: React__default.CSSProperties;
|
|
2648
2651
|
isOpen?: boolean;
|
|
2649
2652
|
padded?: boolean;
|
|
2650
2653
|
onEntering?: Function;
|
|
@@ -2653,7 +2656,7 @@ declare type CollapsibleProps = CollapseWrapperProps & CollapsiblePanelTitleProp
|
|
|
2653
2656
|
onExiting?: Function;
|
|
2654
2657
|
onExited?: Function;
|
|
2655
2658
|
};
|
|
2656
|
-
declare type CollapsiblePanelProps =
|
|
2659
|
+
declare type CollapsiblePanelProps = React__default.PropsWithChildren<Omit<CollapsibleProps$1 & {
|
|
2657
2660
|
onClick?: null | ((i?: number | null) => void);
|
|
2658
2661
|
}, "isOpen"> & {
|
|
2659
2662
|
title?: string;
|
|
@@ -2674,11 +2677,11 @@ declare type CollapsiblePanelsProps = {
|
|
|
2674
2677
|
spaceBetween?: boolean;
|
|
2675
2678
|
onClickPanel?: null | ((i?: number | null) => void);
|
|
2676
2679
|
};
|
|
2677
|
-
declare const CollapseStyled: StyledComponent<"div", any, CollapseStyledProps, never>;
|
|
2678
|
-
declare const CollapseWrapper: StyledComponent<"div", any, CollapseStyledProps, never>;
|
|
2679
|
-
declare const CollapsiblePanelTitle: StyledComponent<"div", any, {}, never>;
|
|
2680
|
-
declare function Collapsible({ onEntering, onEntered, onExit, onExiting, onExited, duration, isOpen, children, style, padded, ...props }:
|
|
2681
|
-
declare function CollapsiblePanel({ title, duration, isDefaultOpen, components, children, titleProps, ...props }:
|
|
2680
|
+
declare const CollapseStyled: styled_components.StyledComponent<"div", any, CollapseStyledProps, never>;
|
|
2681
|
+
declare const CollapseWrapper: styled_components.StyledComponent<"div", any, CollapseStyledProps, never>;
|
|
2682
|
+
declare const CollapsiblePanelTitle: styled_components.StyledComponent<"div", any, {}, never>;
|
|
2683
|
+
declare function Collapsible$1({ onEntering, onEntered, onExit, onExiting, onExited, duration, isOpen, children, style, padded, ...props }: React__default.PropsWithChildren<CollapsibleProps$1>): JSX.Element;
|
|
2684
|
+
declare function CollapsiblePanel({ title, duration, isDefaultOpen, components, children, titleProps, ...props }: React__default.PropsWithChildren<CollapsiblePanelProps>): JSX.Element;
|
|
2682
2685
|
declare function CollapsiblePanels({ panels, spaceBetween, onClickPanel }: CollapsiblePanelsProps): JSX.Element;
|
|
2683
2686
|
|
|
2684
2687
|
declare type ProgressBarValue = {
|
|
@@ -2687,7 +2690,7 @@ declare type ProgressBarValue = {
|
|
|
2687
2690
|
color?: string;
|
|
2688
2691
|
textColor?: string;
|
|
2689
2692
|
};
|
|
2690
|
-
declare type ProgressBarsProps =
|
|
2693
|
+
declare type ProgressBarsProps = React__default.PropsWithChildren<{
|
|
2691
2694
|
values: ProgressBarValue[];
|
|
2692
2695
|
max: number;
|
|
2693
2696
|
color?: string;
|
|
@@ -2701,18 +2704,18 @@ declare const MultiProgress: ({ labeled, error, values, max: maxVal, ...props }:
|
|
|
2701
2704
|
error?: string | undefined;
|
|
2702
2705
|
title?: string | undefined;
|
|
2703
2706
|
} & SharedStyleTypes & {
|
|
2704
|
-
children?:
|
|
2707
|
+
children?: React__default.ReactNode;
|
|
2705
2708
|
} & {
|
|
2706
2709
|
labeled?: boolean | undefined;
|
|
2707
|
-
style?:
|
|
2710
|
+
style?: React__default.CSSProperties | undefined;
|
|
2708
2711
|
}) => JSX.Element;
|
|
2709
2712
|
declare const LabeledMultiProgress: ({ title, ...props }: ProgressBarsProps & {
|
|
2710
|
-
style?:
|
|
2713
|
+
style?: React__default.CSSProperties;
|
|
2711
2714
|
}) => JSX.Element;
|
|
2712
2715
|
//# sourceMappingURL=MultiProgress.d.ts.map
|
|
2713
2716
|
|
|
2714
2717
|
declare type ThermometerProps = {
|
|
2715
|
-
style?:
|
|
2718
|
+
style?: React__default.CSSProperties;
|
|
2716
2719
|
title?: string;
|
|
2717
2720
|
target: number;
|
|
2718
2721
|
value1: number;
|
|
@@ -2727,11 +2730,11 @@ declare type LightIndicatorProps = {
|
|
|
2727
2730
|
name: string;
|
|
2728
2731
|
on?: boolean;
|
|
2729
2732
|
large?: boolean;
|
|
2730
|
-
textProps?:
|
|
2733
|
+
textProps?: React__default.HTMLAttributes<HTMLParagraphElement>;
|
|
2731
2734
|
};
|
|
2732
2735
|
declare function LightIndicator({ name, on, large, textProps, ...props }: LightIndicatorProps): JSX.Element;
|
|
2733
2736
|
|
|
2734
|
-
declare type DefaultStarProps =
|
|
2737
|
+
declare type DefaultStarProps = React__default.PropsWithChildren<{
|
|
2735
2738
|
initialSelected?: boolean;
|
|
2736
2739
|
forceSelected?: boolean;
|
|
2737
2740
|
hoverText?: any;
|
|
@@ -2742,15 +2745,15 @@ declare type DefaultStarProps = React$1.PropsWithChildren<{
|
|
|
2742
2745
|
declare function DefaultStar({ initialSelected, forceSelected, hoverText, noText, children, width, color, ...props }: DefaultStarProps): JSX.Element;
|
|
2743
2746
|
|
|
2744
2747
|
declare type CancelButtonProps = {
|
|
2745
|
-
size?: TSize
|
|
2746
|
-
style?:
|
|
2748
|
+
size?: TSize;
|
|
2749
|
+
style?: React__default.CSSProperties;
|
|
2747
2750
|
variant?: ButtonVariant;
|
|
2748
2751
|
} & SharedStyleTypes & SizerTypes;
|
|
2749
2752
|
declare function CancelButton({ size, variant, style, ...Props }: CancelButtonProps): JSX.Element;
|
|
2750
2753
|
|
|
2751
2754
|
declare type DoneButtonProps = {
|
|
2752
|
-
size?: TSize
|
|
2753
|
-
style?:
|
|
2755
|
+
size?: TSize;
|
|
2756
|
+
style?: React__default.CSSProperties;
|
|
2754
2757
|
variant?: ButtonVariant;
|
|
2755
2758
|
} & SharedStyleTypes & SizerTypes;
|
|
2756
2759
|
declare function DoneButton({ size, variant, style, ...Props }: DoneButtonProps): JSX.Element;
|
|
@@ -2763,18 +2766,18 @@ declare type NotificationExtraContentProps = {
|
|
|
2763
2766
|
declare type NotificationIconProps = {
|
|
2764
2767
|
alertType?: "neutral" | "success" | "error";
|
|
2765
2768
|
};
|
|
2766
|
-
declare type AlertNotificationProps =
|
|
2767
|
-
style?:
|
|
2769
|
+
declare type AlertNotificationProps = React__default.PropsWithChildren<{
|
|
2770
|
+
style?: React__default.CSSProperties;
|
|
2768
2771
|
}> & NotificationIconProps & NotificationExtraContentProps & SharedStyleTypes & SizerTypes;
|
|
2769
2772
|
declare const AlertNotification: ({ href, linkText, children, alertType, learnMore, style, ...props }: AlertNotificationProps) => JSX.Element;
|
|
2770
2773
|
//# sourceMappingURL=AlertNotification.d.ts.map
|
|
2771
2774
|
|
|
2772
|
-
declare type IconFuncProps
|
|
2775
|
+
declare type IconFuncProps = {
|
|
2773
2776
|
color: string;
|
|
2774
2777
|
[key: string]: any;
|
|
2775
2778
|
};
|
|
2776
|
-
declare type LinkWithIconProps =
|
|
2777
|
-
Icon?: TButtonIcon |
|
|
2779
|
+
declare type LinkWithIconProps = React__default.PropsWithChildren<{
|
|
2780
|
+
Icon?: TButtonIcon | React__default.ReactElement<IconFuncProps>;
|
|
2778
2781
|
href?: string;
|
|
2779
2782
|
color?: string;
|
|
2780
2783
|
hoverColor?: string;
|
|
@@ -2782,7 +2785,7 @@ declare type LinkWithIconProps = React$1.PropsWithChildren<{
|
|
|
2782
2785
|
iconProps?: {
|
|
2783
2786
|
[key: string]: any;
|
|
2784
2787
|
};
|
|
2785
|
-
style?:
|
|
2788
|
+
style?: React__default.CSSProperties;
|
|
2786
2789
|
} & SharedStyleTypes & SizerTypes>;
|
|
2787
2790
|
declare function LinkWithIcon({ Icon, href, children, color, hoverColor, flexShrink, iconProps, style, ...props }: LinkWithIconProps): JSX.Element;
|
|
2788
2791
|
|
|
@@ -2807,10 +2810,10 @@ declare type LocaleOptions = {
|
|
|
2807
2810
|
declare type NumberInputProps = Omit<InputProps, 'onChange'> & {
|
|
2808
2811
|
defaultValue?: string | number;
|
|
2809
2812
|
label?: string;
|
|
2810
|
-
icon?: (props: object) =>
|
|
2813
|
+
icon?: (props: object) => React__default.ReactElement;
|
|
2811
2814
|
onClickIcon?: (value: string | number) => string | undefined | void;
|
|
2812
2815
|
iconStyles?: {};
|
|
2813
|
-
labelStyle?:
|
|
2816
|
+
labelStyle?: React__default.CSSProperties;
|
|
2814
2817
|
onChange?: (value: number | string | null, action?: string) => void;
|
|
2815
2818
|
localeOptions?: LocaleOptions;
|
|
2816
2819
|
inputMode?: "none" | "text" | "numeric" | "decimal";
|
|
@@ -2823,31 +2826,31 @@ declare type InputStepperProps = Omit<NumberInputProps, 'value'> & {
|
|
|
2823
2826
|
initialValue?: number | string;
|
|
2824
2827
|
width?: string;
|
|
2825
2828
|
label?: string;
|
|
2826
|
-
labelStyle?:
|
|
2829
|
+
labelStyle?: React__default.CSSProperties;
|
|
2827
2830
|
inputDisabled?: boolean;
|
|
2828
2831
|
delayChangeTimeout?: number;
|
|
2829
2832
|
holdIncrement?: boolean;
|
|
2830
2833
|
holdDecrement?: boolean;
|
|
2831
2834
|
};
|
|
2832
2835
|
declare type InputStepperStyledProps = Omit<NumberInputProps, 'onChange'> & {
|
|
2833
|
-
onCHange?:
|
|
2836
|
+
onCHange?: React__default.ChangeEventHandler<HTMLInputElement>;
|
|
2834
2837
|
containerWidth?: string;
|
|
2835
2838
|
style?: CSSProperties$1;
|
|
2836
2839
|
label?: string;
|
|
2837
|
-
labelStyle?:
|
|
2838
|
-
containerStyle?:
|
|
2840
|
+
labelStyle?: React__default.CSSProperties;
|
|
2841
|
+
containerStyle?: React__default.CSSProperties;
|
|
2839
2842
|
inputDisabled?: boolean;
|
|
2840
2843
|
decrementButtonProps?: IconButtonProps;
|
|
2841
2844
|
incrementButtonProps?: IconButtonProps;
|
|
2842
|
-
onIncrement?:
|
|
2843
|
-
onDecrement?:
|
|
2845
|
+
onIncrement?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
2846
|
+
onDecrement?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
2844
2847
|
};
|
|
2845
2848
|
declare function InputStepperStyled(props: InputStepperStyledProps): JSX.Element;
|
|
2846
2849
|
declare function InputStepper(props: InputStepperProps): JSX.Element;
|
|
2847
2850
|
|
|
2848
2851
|
interface ColumnInstance<D extends Record<string, unknown> = Record<string, unknown>> extends UseFiltersColumnProps<D>, UseGroupByColumnProps<D>, UseResizeColumnsColumnProps<D>, UseSortByColumnProps<D> {
|
|
2849
2852
|
}
|
|
2850
|
-
interface Row
|
|
2853
|
+
interface Row<D extends Record<string, unknown> = Record<string, unknown>> extends UseTableRowProps<D>, UseExpandedRowProps<D>, UseGroupByRowProps<D>, UseRowSelectRowProps<D>, UseRowStateRowProps<D> {
|
|
2851
2854
|
}
|
|
2852
2855
|
|
|
2853
2856
|
declare type VirtualTableProps = {
|
|
@@ -2855,7 +2858,7 @@ declare type VirtualTableProps = {
|
|
|
2855
2858
|
data: object[];
|
|
2856
2859
|
itemSize?: (value: {
|
|
2857
2860
|
index: number;
|
|
2858
|
-
row: Row
|
|
2861
|
+
row: Row;
|
|
2859
2862
|
}) => number;
|
|
2860
2863
|
height?: number;
|
|
2861
2864
|
minWidth?: number;
|
|
@@ -2872,42 +2875,42 @@ declare type VirtualTableProps = {
|
|
|
2872
2875
|
useTableProps?: object;
|
|
2873
2876
|
tableHeaderProps?: {
|
|
2874
2877
|
className?: string;
|
|
2875
|
-
style?:
|
|
2878
|
+
style?: React__default.CSSProperties;
|
|
2876
2879
|
};
|
|
2877
2880
|
tableFooterProps?: {
|
|
2878
2881
|
className?: string;
|
|
2879
|
-
style?:
|
|
2882
|
+
style?: React__default.CSSProperties;
|
|
2880
2883
|
};
|
|
2881
|
-
TableFooter?: (props:
|
|
2884
|
+
TableFooter?: (props: React__default.PropsWithChildren<{
|
|
2882
2885
|
[key: string]: any;
|
|
2883
|
-
}>) =>
|
|
2886
|
+
}>) => React__default.ReactElement;
|
|
2884
2887
|
customTableFooterProps?: object;
|
|
2885
2888
|
className?: string;
|
|
2886
2889
|
hideFooter?: boolean;
|
|
2887
2890
|
hideHeader?: boolean;
|
|
2888
|
-
NoRowsFound?: (props:
|
|
2891
|
+
NoRowsFound?: (props: React__default.PropsWithChildren<{
|
|
2889
2892
|
[key: string]: any;
|
|
2890
|
-
}>) =>
|
|
2891
|
-
renderRowSubComponent?: (props:
|
|
2893
|
+
}>) => React__default.ReactElement;
|
|
2894
|
+
renderRowSubComponent?: (props: React__default.PropsWithChildren<{
|
|
2892
2895
|
[key: string]: any;
|
|
2893
|
-
}>) =>
|
|
2896
|
+
}>) => React__default.ReactElement;
|
|
2894
2897
|
onSort?: (value: {
|
|
2895
2898
|
column: ColumnInstance;
|
|
2896
2899
|
}) => void;
|
|
2897
2900
|
onResize?: VoidFunction;
|
|
2898
2901
|
rowGroupStyles?: (value: {
|
|
2899
|
-
row: Row
|
|
2900
|
-
style:
|
|
2901
|
-
}) =>
|
|
2902
|
+
row: Row;
|
|
2903
|
+
style: React__default.CSSProperties;
|
|
2904
|
+
}) => React__default.CSSProperties;
|
|
2902
2905
|
rowStyles?: (value: {
|
|
2903
|
-
row: Row
|
|
2904
|
-
style:
|
|
2905
|
-
}) =>
|
|
2906
|
+
row: Row;
|
|
2907
|
+
style: React__default.CSSProperties;
|
|
2908
|
+
}) => React__default.CSSProperties;
|
|
2906
2909
|
gutterSize?: number;
|
|
2907
2910
|
};
|
|
2908
2911
|
declare const VirtualTable: (props: VirtualTableProps) => JSX.Element;
|
|
2909
2912
|
|
|
2910
|
-
declare const VirtualTableStyles: StyledComponent<"div", any, {
|
|
2913
|
+
declare const VirtualTableStyles: styled_components.StyledComponent<"div", any, {
|
|
2911
2914
|
tableHeight?: string | number | undefined;
|
|
2912
2915
|
bordered?: string | boolean | undefined;
|
|
2913
2916
|
rowClickable?: boolean | undefined;
|
|
@@ -2968,7 +2971,7 @@ declare type BaseCskuProps = {
|
|
|
2968
2971
|
style?: ResponsiveValue<CSSObject>;
|
|
2969
2972
|
sx?: ResponsiveValue<CSSObject>;
|
|
2970
2973
|
};
|
|
2971
|
-
declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false | CSSObject | Keyframes | {
|
|
2974
|
+
declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false | CSSObject | styled_components.Keyframes | {
|
|
2972
2975
|
readonly $$typeof: symbol;
|
|
2973
2976
|
defaultProps?: Partial<{
|
|
2974
2977
|
[x: string]: any;
|
|
@@ -2976,43 +2979,43 @@ declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false |
|
|
|
2976
2979
|
theme?: any;
|
|
2977
2980
|
}> | undefined;
|
|
2978
2981
|
displayName?: string | undefined;
|
|
2979
|
-
propTypes?: WeakValidationMap<{
|
|
2982
|
+
propTypes?: React$1.WeakValidationMap<{
|
|
2980
2983
|
[x: string]: any;
|
|
2981
2984
|
} & {
|
|
2982
2985
|
theme?: any;
|
|
2983
2986
|
}> | undefined;
|
|
2984
2987
|
withComponent: {
|
|
2985
|
-
<WithC extends AnyStyledComponent>(component: WithC): StyledComponent<StyledComponentInnerComponent<WithC>, any, any, any>;
|
|
2986
|
-
<WithC_1 extends ComponentType<any> | keyof JSX.IntrinsicElements>(component: WithC_1): StyledComponent<WithC_1, any, any, any>;
|
|
2988
|
+
<WithC extends styled_components.AnyStyledComponent>(component: WithC): StyledComponent<styled_components.StyledComponentInnerComponent<WithC>, any, any, any>;
|
|
2989
|
+
<WithC_1 extends React$1.ComponentType<any> | keyof JSX.IntrinsicElements>(component: WithC_1): StyledComponent<WithC_1, any, any, any>;
|
|
2987
2990
|
};
|
|
2988
2991
|
} | {
|
|
2989
2992
|
[key: string]: CSSObject;
|
|
2990
|
-
} | FlattenSimpleInterpolation | null | undefined)[];
|
|
2991
|
-
declare type CskuProps =
|
|
2993
|
+
} | styled_components.FlattenSimpleInterpolation | null | undefined)[];
|
|
2994
|
+
declare type CskuProps<C extends keyof JSX.IntrinsicElements | React.ComponentType<any> = "div", T extends object = any, O extends object = BaseCskuProps, A extends keyof any = never> = StyledComponent<C, T, O, A>;
|
|
2992
2995
|
declare const Csku: StyledComponent<"div", any, BaseCskuProps, never>;
|
|
2993
2996
|
|
|
2994
2997
|
declare type BaseGridProps = {
|
|
2995
2998
|
columns?: number;
|
|
2996
2999
|
gap?: number | string;
|
|
2997
3000
|
};
|
|
2998
|
-
declare type GridProps =
|
|
2999
|
-
declare const Grid: StyledComponent<"div", any, BaseGridProps, never>;
|
|
3001
|
+
declare type GridProps = React__default.HTMLAttributes<HTMLDivElement & BaseGridProps>;
|
|
3002
|
+
declare const Grid: styled_components.StyledComponent<"div", any, BaseGridProps, never>;
|
|
3000
3003
|
declare type BaseGridItemProps = {
|
|
3001
3004
|
colSpan?: ResponsiveValue<string | number | boolean>;
|
|
3002
3005
|
style?: ResponsiveValue<CSSObject>;
|
|
3003
3006
|
};
|
|
3004
|
-
declare type GridItemProps = Omit<
|
|
3005
|
-
declare const GridItem: StyledComponent<"div", any, BaseGridItemProps, never>;
|
|
3007
|
+
declare type GridItemProps = Omit<React__default.HTMLAttributes<HTMLDivElement>, 'style'> & BaseGridItemProps;
|
|
3008
|
+
declare const GridItem: styled_components.StyledComponent<"div", any, BaseGridItemProps, never>;
|
|
3006
3009
|
|
|
3007
|
-
declare type TReactNode =
|
|
3008
|
-
declare type CollapsibleProps
|
|
3009
|
-
style?:
|
|
3010
|
+
declare type TReactNode = React__default.ReactChild | React__default.ReactPortal | null | undefined;
|
|
3011
|
+
declare type CollapsibleProps = React__default.PropsWithChildren<{
|
|
3012
|
+
style?: React__default.CSSProperties;
|
|
3010
3013
|
label: TReactNode;
|
|
3011
3014
|
controls?: TReactNode;
|
|
3012
3015
|
open?: boolean;
|
|
3013
3016
|
onToggleOpen?: (v: boolean) => void;
|
|
3014
3017
|
}>;
|
|
3015
|
-
declare const Collapsible
|
|
3018
|
+
declare const Collapsible: (props: CollapsibleProps) => JSX.Element;
|
|
3016
3019
|
declare type CollapsibleLabelProps = {
|
|
3017
3020
|
children?: TReactNode;
|
|
3018
3021
|
isOpen?: boolean;
|
|
@@ -3023,7 +3026,7 @@ declare type CollapsibleArrowIconProps = {
|
|
|
3023
3026
|
};
|
|
3024
3027
|
declare const CollapsibleArrowIcon: (props: CollapsibleArrowIconProps) => JSX.Element;
|
|
3025
3028
|
declare type CollapsiblesProps = {
|
|
3026
|
-
list: CollapsibleProps
|
|
3029
|
+
list: CollapsibleProps[];
|
|
3027
3030
|
controls?: TReactNode;
|
|
3028
3031
|
};
|
|
3029
3032
|
declare function Collapsibles(props: CollapsiblesProps): JSX.Element;
|
|
@@ -3057,7 +3060,7 @@ declare function ClientApprovedIcon({ color, size, altText, ...props }: ClientAp
|
|
|
3057
3060
|
declare type ProofingCompleteIconProps = SVGIconProps;
|
|
3058
3061
|
declare function ProofingCompleteIcon({ color, size, altText, ...props }: ProofingCompleteIconProps): JSX.Element;
|
|
3059
3062
|
|
|
3060
|
-
declare function ChatIcon({ color, width, mr, mt, notifs }:
|
|
3063
|
+
declare function ChatIcon({ color, width, mr, mt, notifs }: React__default.PropsWithChildren<{
|
|
3061
3064
|
color?: string;
|
|
3062
3065
|
width?: string;
|
|
3063
3066
|
mr?: number;
|
|
@@ -3158,7 +3161,7 @@ declare type CircleProgressIconProps = SVGIconProps & {
|
|
|
3158
3161
|
textColor?: string;
|
|
3159
3162
|
text?: string;
|
|
3160
3163
|
viewBox?: string;
|
|
3161
|
-
textStyle?:
|
|
3164
|
+
textStyle?: React__default.CSSProperties;
|
|
3162
3165
|
};
|
|
3163
3166
|
declare function CircleProgressIcon({ sqSize, strokeWidth, percentage, strokeColor, textColor, text, textStyle, color, size, altText, ...props }: CircleProgressIconProps): JSX.Element;
|
|
3164
3167
|
|
|
@@ -3188,8 +3191,8 @@ declare type AlertIconProps = SVGIconProps & {
|
|
|
3188
3191
|
};
|
|
3189
3192
|
declare function AlertIcon({ color, size, filled, altText, ...props }: AlertIconProps): JSX.Element;
|
|
3190
3193
|
|
|
3191
|
-
declare type AddIconProps = SVGIconProps;
|
|
3192
|
-
declare function CompletedCheckmarkIcon({ color, size, altText, ...props }: AddIconProps): JSX.Element;
|
|
3194
|
+
declare type AddIconProps$1 = SVGIconProps;
|
|
3195
|
+
declare function CompletedCheckmarkIcon({ color, size, altText, ...props }: AddIconProps$1): JSX.Element;
|
|
3193
3196
|
|
|
3194
3197
|
declare type BulletIconProps = SVGIconProps;
|
|
3195
3198
|
declare function BulletIcon({ color, size, ...props }: BulletIconProps): JSX.Element;
|
|
@@ -3212,30 +3215,30 @@ declare function PromostandardsIcon({ size, altText, ...props }: PromostandardsI
|
|
|
3212
3215
|
declare type XIconProps = SVGIconProps;
|
|
3213
3216
|
declare function XIcon({ color, size, altText, ...props }: XIconProps): JSX.Element;
|
|
3214
3217
|
|
|
3215
|
-
declare type IconVariants = 'primary' | 'cta';
|
|
3218
|
+
declare type IconVariants$3 = 'primary' | 'cta';
|
|
3216
3219
|
declare type OpportunityCircleIconProps = SVGIconProps & {
|
|
3217
|
-
variant?: IconVariants;
|
|
3220
|
+
variant?: IconVariants$3;
|
|
3218
3221
|
selected?: boolean;
|
|
3219
3222
|
};
|
|
3220
3223
|
declare function OpportunityCircleIcon({ variant, selected, size, altText, style, ...props }: OpportunityCircleIconProps): JSX.Element;
|
|
3221
3224
|
|
|
3222
|
-
declare type IconVariants$
|
|
3225
|
+
declare type IconVariants$2 = 'primary' | 'cta';
|
|
3223
3226
|
declare type PresentationCircleIconProps = SVGIconProps & {
|
|
3224
|
-
variant?: IconVariants$
|
|
3227
|
+
variant?: IconVariants$2;
|
|
3225
3228
|
selected?: boolean;
|
|
3226
3229
|
};
|
|
3227
3230
|
declare function PresentationCircleIcon({ variant, selected, size, altText, style, ...props }: PresentationCircleIconProps): JSX.Element;
|
|
3228
3231
|
|
|
3229
|
-
declare type IconVariants$
|
|
3232
|
+
declare type IconVariants$1 = 'primary' | 'cta';
|
|
3230
3233
|
declare type EstimateCircleIconProps = SVGIconProps & {
|
|
3231
|
-
variant?: IconVariants$
|
|
3234
|
+
variant?: IconVariants$1;
|
|
3232
3235
|
selected?: boolean;
|
|
3233
3236
|
};
|
|
3234
3237
|
declare function EstimateCircleIcon({ variant, selected, size, altText, style, ...props }: EstimateCircleIconProps): JSX.Element;
|
|
3235
3238
|
|
|
3236
|
-
declare type IconVariants
|
|
3239
|
+
declare type IconVariants = 'primary' | 'cta';
|
|
3237
3240
|
declare type SalesOrderCircleIconProps = SVGIconProps & {
|
|
3238
|
-
variant?: IconVariants
|
|
3241
|
+
variant?: IconVariants;
|
|
3239
3242
|
selected?: boolean;
|
|
3240
3243
|
};
|
|
3241
3244
|
declare function SalesOrderCircleIcon({ variant, selected, size, altText, style, ...props }: SalesOrderCircleIconProps): JSX.Element;
|
|
@@ -3260,9 +3263,9 @@ declare function TilesIcon({ color, size, filled, altText, ...props }: TilesIcon
|
|
|
3260
3263
|
declare type UserIconProps = SVGIconProps;
|
|
3261
3264
|
declare function UserIcon({ color, size, altText, ...props }: UserIconProps): JSX.Element;
|
|
3262
3265
|
|
|
3263
|
-
declare type ArrowIconDirection = 'up' | 'right' | 'down' | 'left';
|
|
3266
|
+
declare type ArrowIconDirection$1 = 'up' | 'right' | 'down' | 'left';
|
|
3264
3267
|
declare type ArrowIconProps = SVGIconProps & {
|
|
3265
|
-
direction?: ArrowIconDirection;
|
|
3268
|
+
direction?: ArrowIconDirection$1;
|
|
3266
3269
|
};
|
|
3267
3270
|
declare function ArrowIcon({ color, direction, altText, size, ...props }: ArrowIconProps): JSX.Element;
|
|
3268
3271
|
|
|
@@ -3281,8 +3284,8 @@ declare function FilledChevronIcon({ color, direction, altText, size, ...props }
|
|
|
3281
3284
|
declare type CheckmarkIconProps = SVGIconProps;
|
|
3282
3285
|
declare function CheckmarkIcon({ color, size, altText, ...props }: CheckmarkIconProps): JSX.Element;
|
|
3283
3286
|
|
|
3284
|
-
declare type AddIconProps
|
|
3285
|
-
declare function AddIcon({ color, size, altText, ...props }: AddIconProps
|
|
3287
|
+
declare type AddIconProps = SVGIconProps;
|
|
3288
|
+
declare function AddIcon({ color, size, altText, ...props }: AddIconProps): JSX.Element;
|
|
3286
3289
|
|
|
3287
3290
|
declare type SubtractIconProps = SVGIconProps;
|
|
3288
3291
|
declare function SubtractIcon({ color, size, altText, ...props }: SubtractIconProps): JSX.Element;
|
|
@@ -3399,16 +3402,22 @@ declare function HelpIcon({ color, size, altText, ...props }: HelpIconProps): JS
|
|
|
3399
3402
|
declare type FileUploadIconProps = SVGIconProps;
|
|
3400
3403
|
declare function FileUploadIcon({ color, size, altText, ...props }: FileUploadIconProps): JSX.Element;
|
|
3401
3404
|
|
|
3402
|
-
declare type ArrowIconDirection
|
|
3405
|
+
declare type ArrowIconDirection = 'left' | 'right' | 'down' | 'up';
|
|
3403
3406
|
declare type DoubleArrowIconProps = SVGIconProps & {
|
|
3404
|
-
direction?: ArrowIconDirection
|
|
3407
|
+
direction?: ArrowIconDirection;
|
|
3405
3408
|
};
|
|
3406
3409
|
declare function DoubleArrowIcon({ color, direction, size, altText, ...props }: DoubleArrowIconProps): JSX.Element;
|
|
3407
3410
|
|
|
3408
3411
|
declare type ImageIcon = SVGIconProps;
|
|
3409
3412
|
declare function ImageIcon(props: ImageIcon): JSX.Element;
|
|
3410
3413
|
|
|
3411
|
-
declare
|
|
3414
|
+
declare type StarLightIconProps = SVGIconProps;
|
|
3415
|
+
declare function StarLightIcon({ color, size, altText, ...props }: StarLightIconProps): JSX.Element;
|
|
3416
|
+
|
|
3417
|
+
declare type StarDarkIconProps = SVGIconProps;
|
|
3418
|
+
declare function StarDarkIcon({ color, size, altText, ...props }: StarDarkIconProps): JSX.Element;
|
|
3419
|
+
|
|
3420
|
+
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 .react-datepicker__aria-live {\n display: none;\n }\n}\n";
|
|
3412
3421
|
//# sourceMappingURL=datepickerStyles.d.ts.map
|
|
3413
3422
|
|
|
3414
3423
|
declare type ConfirmPopupProps = {
|
|
@@ -3419,22 +3428,22 @@ declare type ConfirmPopupProps = {
|
|
|
3419
3428
|
};
|
|
3420
3429
|
declare const ConfirmPopup: (props: ConfirmPopupProps) => JSX.Element;
|
|
3421
3430
|
|
|
3422
|
-
declare type ConfirmAlertPopupProps =
|
|
3431
|
+
declare type ConfirmAlertPopupProps = React__default.PropsWithChildren<{
|
|
3423
3432
|
padding?: string;
|
|
3424
3433
|
maxWidth: string | number;
|
|
3425
|
-
title?:
|
|
3434
|
+
title?: React__default.ReactNode;
|
|
3426
3435
|
disableActionButton?: boolean;
|
|
3427
|
-
cancelButtonContent?:
|
|
3428
|
-
actionButtonContent?:
|
|
3436
|
+
cancelButtonContent?: React__default.ReactNode;
|
|
3437
|
+
actionButtonContent?: React__default.ReactNode;
|
|
3429
3438
|
onAction?: () => void;
|
|
3430
3439
|
onClose?: () => void;
|
|
3431
3440
|
}>;
|
|
3432
3441
|
declare const ConfirmAlertPopup: (props: ConfirmAlertPopupProps) => JSX.Element;
|
|
3433
3442
|
|
|
3434
|
-
declare type CalendarDayBodyProps =
|
|
3443
|
+
declare type CalendarDayBodyProps = React__default.PropsWithChildren<{
|
|
3435
3444
|
day: Date;
|
|
3436
3445
|
selectedDate: Date;
|
|
3437
|
-
onClick:
|
|
3446
|
+
onClick: React__default.MouseEventHandler<HTMLDivElement>;
|
|
3438
3447
|
weekend?: boolean;
|
|
3439
3448
|
}>;
|
|
3440
3449
|
declare const CalendarDayBody: ({ day, selectedDate, onClick, children, weekend, ...props }: CalendarDayBodyProps) => JSX.Element;
|
|
@@ -3453,12 +3462,12 @@ declare type CalendarDaysBodyProps = {
|
|
|
3453
3462
|
};
|
|
3454
3463
|
weekend?: boolean;
|
|
3455
3464
|
components?: {
|
|
3456
|
-
DayBody?: (props:
|
|
3465
|
+
DayBody?: (props: React__default.PropsWithChildren<{
|
|
3457
3466
|
day: Date;
|
|
3458
3467
|
selectedDate: Date;
|
|
3459
|
-
onClick:
|
|
3468
|
+
onClick: React__default.MouseEventHandler;
|
|
3460
3469
|
[key: string]: any;
|
|
3461
|
-
}>) =>
|
|
3470
|
+
}>) => React__default.ReactElement;
|
|
3462
3471
|
};
|
|
3463
3472
|
};
|
|
3464
3473
|
declare const CalendarDaysBody: ({ days, currentMonth, selectedDate, onClickDay, components, dayBodyProps, weekend, ...props }: CalendarDaysBodyProps) => JSX.Element;
|
|
@@ -3472,13 +3481,13 @@ declare const CalendarDaysHeader: ({ currentMonth, selectedDate, weekend }: {
|
|
|
3472
3481
|
}) => JSX.Element;
|
|
3473
3482
|
//# sourceMappingURL=CalendarDaysHeader.d.ts.map
|
|
3474
3483
|
|
|
3475
|
-
declare const CalendarWrapper: StyledComponent<"div", any, {}, never>;
|
|
3484
|
+
declare const CalendarWrapper: styled_components.StyledComponent<"div", any, {}, never>;
|
|
3476
3485
|
//# sourceMappingURL=CalendarWrapper.d.ts.map
|
|
3477
3486
|
|
|
3478
|
-
declare const DaysBodyWrapper: StyledComponent<"div", any, {}, never>;
|
|
3487
|
+
declare const DaysBodyWrapper: styled_components.StyledComponent<"div", any, {}, never>;
|
|
3479
3488
|
//# sourceMappingURL=DaysBodyWrapper.d.ts.map
|
|
3480
3489
|
|
|
3481
|
-
declare const DaysHeaderWrapper: StyledComponent<"div", any, {
|
|
3490
|
+
declare const DaysHeaderWrapper: styled_components.StyledComponent<"div", any, {
|
|
3482
3491
|
justify?: string | undefined;
|
|
3483
3492
|
wrap?: string | undefined;
|
|
3484
3493
|
align?: string | undefined;
|
|
@@ -3495,13 +3504,13 @@ declare const DefaultCalendarFooter: ({ currentWeek }: {
|
|
|
3495
3504
|
//# sourceMappingURL=DefaultCalendarFooter.d.ts.map
|
|
3496
3505
|
|
|
3497
3506
|
declare const DefaultCalendarHeader: ({ onPrevWeek, onNextWeek, currentMonth, }: {
|
|
3498
|
-
onPrevWeek:
|
|
3499
|
-
onNextWeek:
|
|
3507
|
+
onPrevWeek: React__default.MouseEventHandler;
|
|
3508
|
+
onNextWeek: React__default.MouseEventHandler;
|
|
3500
3509
|
currentMonth: Date;
|
|
3501
3510
|
}) => JSX.Element;
|
|
3502
3511
|
//# sourceMappingURL=DefaultCalendarHeader.d.ts.map
|
|
3503
3512
|
|
|
3504
|
-
declare const HeaderWrapper: StyledComponent<"div", any, {
|
|
3513
|
+
declare const HeaderWrapper: styled_components.StyledComponent<"div", any, {
|
|
3505
3514
|
justify?: string | undefined;
|
|
3506
3515
|
wrap?: string | undefined;
|
|
3507
3516
|
align?: string | undefined;
|
|
@@ -3512,7 +3521,7 @@ declare const HeaderWrapper: StyledComponent<"div", any, {
|
|
|
3512
3521
|
} & SharedStyleTypes, never>;
|
|
3513
3522
|
//# sourceMappingURL=HeaderWrapper.d.ts.map
|
|
3514
3523
|
|
|
3515
|
-
declare const StyledDayBody: StyledComponent<"div", any, SizerTypes & SharedStyleTypes & {
|
|
3524
|
+
declare const StyledDayBody: styled_components.StyledComponent<"div", any, SizerTypes & SharedStyleTypes & {
|
|
3516
3525
|
selected?: boolean | undefined;
|
|
3517
3526
|
today?: boolean | undefined;
|
|
3518
3527
|
row?: boolean | undefined;
|
|
@@ -3520,7 +3529,7 @@ declare const StyledDayBody: StyledComponent<"div", any, SizerTypes & SharedStyl
|
|
|
3520
3529
|
}, never>;
|
|
3521
3530
|
//# sourceMappingURL=StyledDayBody.d.ts.map
|
|
3522
3531
|
|
|
3523
|
-
declare const StyledDayText: StyledComponent<"span", any, {
|
|
3532
|
+
declare const StyledDayText: styled_components.StyledComponent<"span", any, {
|
|
3524
3533
|
color?: "input" | "select" | "text" | "transparent" | "primary1" | "secondary1" | "secondary2" | "secondary3" | "secondary4" | "teal" | "pink" | "yellow" | "green" | "navy" | "neutrals" | "errors" | "orders" | "notes" | "calls" | "meetings" | "left_nav" | "white" | "black" | "primary" | "cta" | "primary0" | "primary10" | "primary100" | "disabledButton" | "disabledButtonBorder" | "texttitle" | "textlabel" | "textbody" | "textplaceholder" | "bggray" | "bgblue" | "inputBorder" | "special1" | "special2" | "special3" | "primaryBg" | "special2Bg" | "error" | "primary2" | "primary20" | "primary200" | "tableHeaderBg" | "tableBorder" | undefined;
|
|
3525
3534
|
bold?: boolean | undefined;
|
|
3526
3535
|
} & SharedStyleTypes & {
|
|
@@ -3576,9 +3585,9 @@ declare const useCalendar: ({ onChangeWeek, onChangeMonth, }: useCalendarProps)
|
|
|
3576
3585
|
currentMonth: Date;
|
|
3577
3586
|
currentWeek: number;
|
|
3578
3587
|
selectedDate: Date;
|
|
3579
|
-
setSelectedDate: Dispatch<SetStateAction<Date>>;
|
|
3580
|
-
setCurrentWeek: Dispatch<SetStateAction<number>>;
|
|
3581
|
-
setCurrentMonth: Dispatch<SetStateAction<Date>>;
|
|
3588
|
+
setSelectedDate: React$1.Dispatch<React$1.SetStateAction<Date>>;
|
|
3589
|
+
setCurrentWeek: React$1.Dispatch<React$1.SetStateAction<number>>;
|
|
3590
|
+
setCurrentMonth: React$1.Dispatch<React$1.SetStateAction<Date>>;
|
|
3582
3591
|
onClickDay: (day: Date) => void;
|
|
3583
3592
|
onNextWeek: () => void;
|
|
3584
3593
|
onPrevWeek: () => void;
|
|
@@ -3608,7 +3617,7 @@ declare type TasksCalendarHeaderProps = {
|
|
|
3608
3617
|
views?: TCalendarView[];
|
|
3609
3618
|
onClickView?: onClickViewFunc;
|
|
3610
3619
|
};
|
|
3611
|
-
declare const TasksCalendarHeader: ({ onPrevWeek, onNextWeek, currentMonth, currentWeek, changeDate, onResetDate, selectedDate, tabs, views, weekendsCheckbox, showAddTaskBtn, onClickAddTask, onClickView, }:
|
|
3620
|
+
declare const TasksCalendarHeader: ({ onPrevWeek, onNextWeek, currentMonth, currentWeek, changeDate, onResetDate, selectedDate, tabs, views, weekendsCheckbox, showAddTaskBtn, onClickAddTask, onClickView, }: React__default.PropsWithChildren<TasksCalendarHeaderProps>) => JSX.Element;
|
|
3612
3621
|
|
|
3613
3622
|
declare type TasksCalendarFooterProps = {
|
|
3614
3623
|
onNextWeek: VoidFunction;
|
|
@@ -3620,7 +3629,7 @@ declare type TasksCalendarFooterProps = {
|
|
|
3620
3629
|
selectedDate: Date;
|
|
3621
3630
|
[key: string]: any;
|
|
3622
3631
|
};
|
|
3623
|
-
declare const TasksCalendarFooter: ({ currentWeek, tasks, }:
|
|
3632
|
+
declare const TasksCalendarFooter: ({ currentWeek, tasks, }: React__default.PropsWithChildren<TasksCalendarFooterProps>) => JSX.Element;
|
|
3624
3633
|
|
|
3625
3634
|
declare type CalendarHeaderComponentProps = {
|
|
3626
3635
|
onNextWeek: VoidFunction;
|
|
@@ -3634,11 +3643,11 @@ declare type CalendarHeaderComponentProps = {
|
|
|
3634
3643
|
};
|
|
3635
3644
|
declare type CalendarProps = {
|
|
3636
3645
|
components?: {
|
|
3637
|
-
Header?: (props:
|
|
3638
|
-
Footer?: (props:
|
|
3639
|
-
DayBody?: (props:
|
|
3646
|
+
Header?: (props: React__default.PropsWithChildren<CalendarHeaderComponentProps>) => React__default.ReactElement;
|
|
3647
|
+
Footer?: (props: React__default.PropsWithChildren<CalendarHeaderComponentProps>) => React__default.ReactElement;
|
|
3648
|
+
DayBody?: (props: React__default.PropsWithChildren<{
|
|
3640
3649
|
[key: string]: any;
|
|
3641
|
-
}>) =>
|
|
3650
|
+
}>) => React__default.ReactElement;
|
|
3642
3651
|
};
|
|
3643
3652
|
showHeader?: boolean;
|
|
3644
3653
|
showFooter?: boolean;
|
|
@@ -3661,12 +3670,12 @@ declare type TasksCalendarProps = CalendarProps & {
|
|
|
3661
3670
|
headerTabs?: Array<TTab>;
|
|
3662
3671
|
footerTasks?: Array<CalendarTaskProps>;
|
|
3663
3672
|
components?: {
|
|
3664
|
-
Header?: (props:
|
|
3673
|
+
Header?: (props: React__default.PropsWithChildren<{
|
|
3665
3674
|
[key: string]: any;
|
|
3666
|
-
}>) =>
|
|
3667
|
-
Footer?: (props:
|
|
3675
|
+
}>) => React__default.ReactElement;
|
|
3676
|
+
Footer?: (props: React__default.PropsWithChildren<{
|
|
3668
3677
|
[key: string]: any;
|
|
3669
|
-
}>) =>
|
|
3678
|
+
}>) => React__default.ReactElement;
|
|
3670
3679
|
};
|
|
3671
3680
|
};
|
|
3672
3681
|
declare const TasksCalendar: ({ tasks, headerTabs, footerTasks, components, ...props }: TasksCalendarProps) => JSX.Element;
|
|
@@ -3679,12 +3688,12 @@ declare type DraggableTasksCalendarProps = CalendarProps & {
|
|
|
3679
3688
|
footerTasks?: Array<CalendarTaskProps>;
|
|
3680
3689
|
weekend?: boolean;
|
|
3681
3690
|
components?: {
|
|
3682
|
-
Header?: (props:
|
|
3691
|
+
Header?: (props: React__default.PropsWithChildren<{
|
|
3683
3692
|
[key: string]: any;
|
|
3684
|
-
}>) =>
|
|
3685
|
-
Footer?: (props:
|
|
3693
|
+
}>) => React__default.ReactElement;
|
|
3694
|
+
Footer?: (props: React__default.PropsWithChildren<{
|
|
3686
3695
|
[key: string]: any;
|
|
3687
|
-
}>) =>
|
|
3696
|
+
}>) => React__default.ReactElement;
|
|
3688
3697
|
};
|
|
3689
3698
|
onToggleWeekend?: (weekend: boolean) => void;
|
|
3690
3699
|
showAddTaskBtn?: boolean;
|
|
@@ -3696,7 +3705,7 @@ declare type DraggableTasksCalendarProps = CalendarProps & {
|
|
|
3696
3705
|
} & useCalendarProps;
|
|
3697
3706
|
declare const DraggableTasksCalendar: ({ views, tasks, onUpdateTask, onClickTask, headerTabs, footerTasks, components, weekend, onChangeWeek, onChangeMonth, onToggleWeekend, showAddTaskBtn, onClickAddTask, onClickView, loading, showFooterTasks, ...props }: DraggableTasksCalendarProps) => JSX.Element;
|
|
3698
3707
|
|
|
3699
|
-
declare const SimpleWindowedTableStyles: StyledComponent<"div", any, {
|
|
3708
|
+
declare const SimpleWindowedTableStyles: styled_components.StyledComponent<"div", any, {
|
|
3700
3709
|
bordered?: string | boolean | undefined;
|
|
3701
3710
|
rowClickable?: boolean | undefined;
|
|
3702
3711
|
hoverRowBg?: string | boolean | undefined;
|
|
@@ -3717,20 +3726,20 @@ declare type SimpleWindowedTableProps = {
|
|
|
3717
3726
|
useTableProps?: object;
|
|
3718
3727
|
tableHeaderProps?: {
|
|
3719
3728
|
className?: string;
|
|
3720
|
-
style?:
|
|
3729
|
+
style?: React__default.CSSProperties;
|
|
3721
3730
|
};
|
|
3722
3731
|
tableFooterProps?: {
|
|
3723
3732
|
className?: string;
|
|
3724
|
-
style?:
|
|
3733
|
+
style?: React__default.CSSProperties;
|
|
3725
3734
|
};
|
|
3726
|
-
headerGroupStyle?:
|
|
3727
|
-
TableFooter?:
|
|
3735
|
+
headerGroupStyle?: React__default.CSSProperties;
|
|
3736
|
+
TableFooter?: React__default.ReactNode;
|
|
3728
3737
|
className?: string;
|
|
3729
3738
|
hideFooter?: boolean;
|
|
3730
3739
|
clearRowFullWidth?: boolean;
|
|
3731
|
-
NoRowsFound?: (props:
|
|
3740
|
+
NoRowsFound?: (props: React__default.PropsWithChildren<{
|
|
3732
3741
|
[key: string]: any;
|
|
3733
|
-
}>) =>
|
|
3742
|
+
}>) => React__default.ReactElement;
|
|
3734
3743
|
};
|
|
3735
3744
|
declare function SimpleWindowedTable({ columns, data, itemSize, height, minWidth, maxWidth, defaultSort, onClickRow, onScroll, onUpdateData, useTableProps, tableHeaderProps, tableFooterProps, headerGroupStyle, hideFooter, clearRowFullWidth, className, NoRowsFound, }: SimpleWindowedTableProps): JSX.Element;
|
|
3736
3745
|
|
|
@@ -3763,7 +3772,7 @@ declare const useClickOutside: <T extends HTMLElement = HTMLElement>(props: {
|
|
|
3763
3772
|
declare const useFallbackRef: <T>(forwardedRef: ForwardedRef<T>) => MutableRefObject<T | null>;
|
|
3764
3773
|
//# sourceMappingURL=useFallbackRef.d.ts.map
|
|
3765
3774
|
|
|
3766
|
-
declare const toggleSizes
|
|
3775
|
+
declare const toggleSizes: {
|
|
3767
3776
|
small: {
|
|
3768
3777
|
'font-family': string;
|
|
3769
3778
|
'font-size': string;
|
|
@@ -3789,22 +3798,22 @@ declare const toggleSizes$1: {
|
|
|
3789
3798
|
height: string;
|
|
3790
3799
|
};
|
|
3791
3800
|
};
|
|
3792
|
-
declare type ToggleSize
|
|
3801
|
+
declare type ToggleSize = keyof typeof toggleSizes;
|
|
3793
3802
|
declare type CommonProps = {
|
|
3794
3803
|
selected?: boolean;
|
|
3795
3804
|
stretch?: boolean;
|
|
3796
|
-
size?: ToggleSize
|
|
3805
|
+
size?: ToggleSize;
|
|
3797
3806
|
};
|
|
3798
3807
|
declare type ToggleSwitchProps = {
|
|
3799
|
-
onClick?:
|
|
3800
|
-
style?:
|
|
3808
|
+
onClick?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
3809
|
+
style?: React__default.CSSProperties;
|
|
3801
3810
|
} & CommonProps & Omit<Omit<Omit<BaseCskuProps, 'hidden'>, 'color'>, 'style'>;
|
|
3802
3811
|
declare type ToggleSwitchStatedProps = {
|
|
3803
3812
|
initialSelected?: boolean;
|
|
3804
|
-
style?:
|
|
3813
|
+
style?: React__default.CSSProperties;
|
|
3805
3814
|
onClick?: (value: boolean) => void;
|
|
3806
3815
|
} & Omit<CommonProps, 'selected'> & Omit<BaseCskuProps, 'style'>;
|
|
3807
3816
|
declare const ToggleSwitchStyled: ({ onClick, size, selected, stretch, style, ...props }: ToggleSwitchProps) => JSX.Element;
|
|
3808
3817
|
declare const ToggleSwitch: ({ size, initialSelected, stretch, onClick, ...props }: ToggleSwitchStatedProps) => JSX.Element;
|
|
3809
3818
|
|
|
3810
|
-
export { AddIcon, AddNoteIcon, AddShoppingCartIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, ArtworkProps, SKUAsyncSelect as AsyncSelect, Avatar, AvatarColor, AvatarShape, AvatarSize, AwaitingProofIcon, Backdrop, Background, Badge, BaseCskuProps, BotIcon, Box, BulletIcon, Button, ButtonPreset, ButtonProps, ButtonVariant, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarTaskProps, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, ChevronPopup, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, ColPropTypes, CollaborateIcon, CollapseStyled, CollapseStyledProps, CollapseWrapper, CollapseWrapperProps, Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelProps, CollapsiblePanelTitle, CollapsiblePanelTitleProps, CollapsiblePanels, CollapsiblePanelsProps, CollapsibleProps, Collapsible
|
|
3819
|
+
export { AddIcon, AddNoteIcon, AddShoppingCartIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, ArtworkProps, SKUAsyncSelect as AsyncSelect, Avatar, AvatarColor, AvatarShape, AvatarSize, AwaitingProofIcon, Backdrop, Background, Badge, BaseCskuProps, BotIcon, Box, BulletIcon, Button, ButtonPreset, ButtonProps, ButtonVariant, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarTaskProps, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, ChevronPopup, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, ColPropTypes, CollaborateIcon, CollapseStyled, CollapseStyledProps, CollapseWrapper, CollapseWrapperProps, Collapsible$1 as Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelProps, CollapsiblePanelTitle, CollapsiblePanelTitleProps, CollapsiblePanels, CollapsiblePanelsProps, CollapsibleProps$1 as CollapsibleProps, Collapsible as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CommunityIcon, CompletedCheckmarkIcon, ConfirmAlertPopup, ConfirmPopup, ConnectedIcon, ConnectedPlusIcon, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CskuProps, CustomDateInput, Datepicker, DatepickerPorps, DaysBodyWrapper, DaysHeaderWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DoubleArrowIcon, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropAreaProps, DropDownContent, Dropdown, DropdownItem, DropdownProps, DropzoneSimpleProps, DropzoneTypes, Dropzoned, DropzonedPreviews, DropzonedSimple, EPOIcon, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FileUploadIcon, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridItemProps, GridProps, GridRow, GridTable, GridTableContainer, H1, H2, H3, H4, H5, H6, HandleIcon, HeaderWrapper, HeadlessTable, HelpIcon, HistoryIcon, IconButton, IconButtonProps, IconDoc, ImageIcon, Img, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputProps, InputStepper, InputStepperStyled, IntegrationsIcon, InventoryIcon, 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, OrderStatusIcon, 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$1 as Row, RowPropTypes, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyleTypes, SharedStyles, ShopIcon, ShoppingCartIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableProps, SimpleWindowedTableStyles, SizerCss, SizerTypes, SizerWrapper, Sparkles, Spinner, StarDarkIcon, StarIcon, StarLightIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDayBody, StyledDayText, StyledDropArea, StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG as SvgIcon, TBody, TButtonIcon, TD, TDropdownItem, TH, THSorted, THead, TR, 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, ToggleSwitch, ToggleSwitchProps, ToggleSwitchStatedProps, ToggleSwitchStyled, TrashIcon, UploadIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper, XIcon, colors, createMeasurementStyle, datepickerStyles, fontFamilies, fontStyles, fonts, getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, parseCskuStyles, sizes, themeOptions, toggleSizes$1 as toggleSizes, useCalendar, useClickOutside, useDelayUnmount, useFallbackRef, useLongPress, usePrefersReducedMotion, useRandomInterval, useWindowSize };
|