@commonsku/styles 1.16.12-1 → 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 +493 -480
- package/dist/index.es.js +1479 -1373
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1534 -1426
- 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 +4 -0
- 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,13 +1404,14 @@ declare type PopupProps = React$1.PropsWithChildren<{
|
|
|
1401
1404
|
overlayZIndex?: number;
|
|
1402
1405
|
popupClassName?: string;
|
|
1403
1406
|
contentClassName?: string;
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
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;
|
|
1407
1411
|
noHeader?: boolean | undefined;
|
|
1408
|
-
title?: string |
|
|
1409
|
-
controls?:
|
|
1410
|
-
onClose?: ((event?:
|
|
1412
|
+
title?: string | React__default.Component<{}, {}, any> | undefined;
|
|
1413
|
+
controls?: React__default.ReactNode[] | undefined;
|
|
1414
|
+
onClose?: ((event?: React__default.MouseEvent) => void) | undefined;
|
|
1411
1415
|
noCloseButton?: boolean | undefined;
|
|
1412
1416
|
closeOnClickOutside?: boolean | undefined;
|
|
1413
1417
|
closeOnEsc?: boolean | undefined;
|
|
@@ -1418,39 +1422,42 @@ declare const Popup: React$1.ForwardRefExoticComponent<{
|
|
|
1418
1422
|
overlayZIndex?: number | undefined;
|
|
1419
1423
|
popupClassName?: string | undefined;
|
|
1420
1424
|
contentClassName?: string | undefined;
|
|
1425
|
+
PopupWindowComponent?: React__default.ComponentType<any> | undefined;
|
|
1421
1426
|
} & SharedStyleTypes & {
|
|
1422
|
-
children?:
|
|
1423
|
-
} &
|
|
1424
|
-
declare const ShowPopup:
|
|
1425
|
-
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>;
|
|
1426
1431
|
autoOpen?: boolean;
|
|
1427
|
-
render?:
|
|
1432
|
+
render?: React__default.FC<{
|
|
1428
1433
|
onClick: () => void;
|
|
1429
1434
|
}>;
|
|
1430
|
-
}>;
|
|
1435
|
+
}>;
|
|
1436
|
+
declare type ChevronPopupProps = Omit<PopupProps, 'PopupWindowComponent'>;
|
|
1437
|
+
declare const ChevronPopup: (props: ChevronPopupProps) => JSX.Element;
|
|
1431
1438
|
|
|
1432
|
-
declare const TaskLabel: StyledComponent<"div", any, {
|
|
1439
|
+
declare const TaskLabel: styled_components.StyledComponent<"div", any, {
|
|
1433
1440
|
hasCheckbox?: boolean | undefined;
|
|
1434
1441
|
}, never>;
|
|
1435
|
-
declare const TaskName: StyledComponent<"div", any, {}, never>;
|
|
1436
|
-
declare const StyledTask: StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
1437
|
-
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>;
|
|
1438
1445
|
declare type TaskProps = {
|
|
1439
1446
|
taskName: string;
|
|
1440
1447
|
date?: string;
|
|
1441
1448
|
done?: boolean;
|
|
1442
1449
|
assignee?: string;
|
|
1443
|
-
taskBody: string |
|
|
1450
|
+
taskBody: string | React__default.ReactNode;
|
|
1444
1451
|
checked?: boolean;
|
|
1445
1452
|
initialChecked?: boolean;
|
|
1446
1453
|
onClickCheckbox?: (checked?: boolean) => any;
|
|
1447
1454
|
};
|
|
1448
|
-
declare const Task: ({ taskName, date, done, assignee, taskBody, initialChecked, onClickCheckbox, ...props }:
|
|
1449
|
-
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>;
|
|
1450
1457
|
declare type CalendarTaskProps = {
|
|
1451
1458
|
id?: string;
|
|
1452
1459
|
title: string;
|
|
1453
|
-
description: string |
|
|
1460
|
+
description: string | React__default.ReactNode;
|
|
1454
1461
|
date?: Date;
|
|
1455
1462
|
completed?: boolean;
|
|
1456
1463
|
colorType?: string;
|
|
@@ -1462,12 +1469,12 @@ declare type CalendarTaskProps = {
|
|
|
1462
1469
|
isDescriptionHtml?: boolean;
|
|
1463
1470
|
draggable?: boolean;
|
|
1464
1471
|
hideCheckbox?: boolean;
|
|
1465
|
-
Icon?:
|
|
1472
|
+
Icon?: React__default.ReactNode;
|
|
1466
1473
|
};
|
|
1467
|
-
declare const CalendarTask:
|
|
1474
|
+
declare const CalendarTask: React__default.ForwardRefExoticComponent<CalendarTaskProps & SharedStyleTypes & React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1468
1475
|
|
|
1469
1476
|
declare type AdditionalStyles = CSSObject | string | ((p: ThemeProps<DefaultTheme>) => CSSObject | string | undefined | null);
|
|
1470
|
-
declare const GlobalStyle: GlobalStyleComponent<{
|
|
1477
|
+
declare const GlobalStyle: styled_components.GlobalStyleComponent<{
|
|
1471
1478
|
additionalStyles?: AdditionalStyles | undefined;
|
|
1472
1479
|
}, DefaultTheme>;
|
|
1473
1480
|
|
|
@@ -2431,7 +2438,7 @@ declare function getThemeFontFamily(props: {
|
|
|
2431
2438
|
declare function getThemeProperty(props: {
|
|
2432
2439
|
[key: string]: any;
|
|
2433
2440
|
}, prop: string, value?: string, fallbackValue?: string): string;
|
|
2434
|
-
declare const Theme: ({ theme, globalStyles, additionalGlobalStyles, children }:
|
|
2441
|
+
declare const Theme: ({ theme, globalStyles, additionalGlobalStyles, children }: React__default.PropsWithChildren<{
|
|
2435
2442
|
theme?: object | undefined;
|
|
2436
2443
|
globalStyles?: boolean | undefined;
|
|
2437
2444
|
additionalGlobalStyles?: AdditionalStyles | undefined;
|
|
@@ -2441,11 +2448,11 @@ declare type TextProp = {
|
|
|
2441
2448
|
color?: keyof typeof colors;
|
|
2442
2449
|
bold?: boolean;
|
|
2443
2450
|
} & SharedStyleTypes;
|
|
2444
|
-
declare const Text: StyledComponent<"span", any, {
|
|
2451
|
+
declare const Text: styled_components.StyledComponent<"span", any, {
|
|
2445
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;
|
|
2446
2453
|
bold?: boolean | undefined;
|
|
2447
2454
|
} & SharedStyleTypes, never>;
|
|
2448
|
-
declare const Link: StyledComponent<
|
|
2455
|
+
declare const Link: styled_components.StyledComponent<React__default.FC<{
|
|
2449
2456
|
highlight?: boolean | undefined;
|
|
2450
2457
|
} & {
|
|
2451
2458
|
[x: string]: any;
|
|
@@ -2454,22 +2461,22 @@ declare const Link: StyledComponent<React$1.FC<{
|
|
|
2454
2461
|
} & {
|
|
2455
2462
|
theme?: any;
|
|
2456
2463
|
} & {
|
|
2457
|
-
as?: string |
|
|
2458
|
-
forwardedAs?: string |
|
|
2464
|
+
as?: string | React__default.ComponentType<any> | undefined;
|
|
2465
|
+
forwardedAs?: string | React__default.ComponentType<any> | undefined;
|
|
2459
2466
|
} & SharedStyleTypes>, any, {}, never>;
|
|
2460
|
-
declare const Number:
|
|
2467
|
+
declare const Number: React__default.FC<{
|
|
2461
2468
|
num: number;
|
|
2462
2469
|
commas?: boolean;
|
|
2463
2470
|
decimalPoints?: number;
|
|
2464
2471
|
} & SharedStyleTypes>;
|
|
2465
2472
|
|
|
2466
|
-
declare const Publisher: (props:
|
|
2467
|
-
declare const FeedPost: (props:
|
|
2473
|
+
declare const Publisher: (props: React__default.PropsWithChildren<{}>) => JSX.Element;
|
|
2474
|
+
declare const FeedPost: (props: React__default.PropsWithChildren<{
|
|
2468
2475
|
author: any;
|
|
2469
2476
|
subject?: string;
|
|
2470
|
-
body:
|
|
2477
|
+
body: React__default.ReactNode;
|
|
2471
2478
|
date: string;
|
|
2472
|
-
comments?:
|
|
2479
|
+
comments?: React__default.ReactNode[];
|
|
2473
2480
|
} & SharedStyleTypes>) => JSX.Element;
|
|
2474
2481
|
|
|
2475
2482
|
declare type StateType = {
|
|
@@ -2478,28 +2485,28 @@ declare type StateType = {
|
|
|
2478
2485
|
declare class ErrorBoundary extends Component<object, StateType> {
|
|
2479
2486
|
constructor(props: StateType);
|
|
2480
2487
|
componentDidCatch(error: Error | any, info: string | any): void;
|
|
2481
|
-
render():
|
|
2488
|
+
render(): React__default.ReactNode;
|
|
2482
2489
|
}
|
|
2483
2490
|
|
|
2484
|
-
declare const CustomDateInput:
|
|
2491
|
+
declare const CustomDateInput: React__default.ForwardRefExoticComponent<{
|
|
2485
2492
|
noMargin?: boolean | undefined;
|
|
2486
2493
|
error?: boolean | undefined;
|
|
2487
2494
|
} & {
|
|
2488
2495
|
hasIcon?: boolean | undefined;
|
|
2489
|
-
} & SharedStyleTypes &
|
|
2496
|
+
} & SharedStyleTypes & React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
2490
2497
|
isClearable?: boolean | undefined;
|
|
2491
|
-
} &
|
|
2498
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
2492
2499
|
declare type DatepickerPorps = Omit<ReactDatePickerProps, 'value'> & Omit<InputProps, 'value'> & {
|
|
2493
2500
|
value?: Date | null;
|
|
2494
2501
|
placeholder?: string;
|
|
2495
2502
|
};
|
|
2496
|
-
declare const Datepicker:
|
|
2503
|
+
declare const Datepicker: React__default.ForwardRefExoticComponent<Omit<ReactDatePickerProps, "value"> & Omit<InputProps, "value"> & {
|
|
2497
2504
|
value?: Date | null | undefined;
|
|
2498
2505
|
placeholder?: string | undefined;
|
|
2499
|
-
} &
|
|
2506
|
+
} & React__default.RefAttributes<BaseDatePicker>>;
|
|
2500
2507
|
|
|
2501
|
-
declare const StyledDropdown: StyledComponent<"div", any, {}, never>;
|
|
2502
|
-
declare type DropdownContentProps = {
|
|
2508
|
+
declare const StyledDropdown: styled_components.StyledComponent<"div", any, {}, never>;
|
|
2509
|
+
declare type DropdownContentProps$2 = {
|
|
2503
2510
|
primary?: boolean;
|
|
2504
2511
|
underlined?: boolean;
|
|
2505
2512
|
text?: string;
|
|
@@ -2510,8 +2517,8 @@ declare type DropdownItemProps = {
|
|
|
2510
2517
|
primary?: boolean;
|
|
2511
2518
|
underlined?: boolean;
|
|
2512
2519
|
};
|
|
2513
|
-
declare const DropdownItem: StyledComponent<"div", any, DropdownItemProps, never>;
|
|
2514
|
-
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>;
|
|
2515
2522
|
declare type TDropdownItem = {
|
|
2516
2523
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
2517
2524
|
props?: {
|
|
@@ -2525,7 +2532,7 @@ declare type DropdownProps = {
|
|
|
2525
2532
|
icon?: ReactNode;
|
|
2526
2533
|
openMenu?: boolean;
|
|
2527
2534
|
mouseLeaveCallback?: any;
|
|
2528
|
-
size?: TSize
|
|
2535
|
+
size?: TSize;
|
|
2529
2536
|
style?: CSSObject;
|
|
2530
2537
|
buttonVariant?: ButtonVariant;
|
|
2531
2538
|
buttonProps?: ButtonProps;
|
|
@@ -2534,18 +2541,18 @@ declare type DropdownProps = {
|
|
|
2534
2541
|
hideOnMouseLeave?: boolean;
|
|
2535
2542
|
onToggleMenu?: (value: boolean) => void;
|
|
2536
2543
|
};
|
|
2537
|
-
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;
|
|
2538
2545
|
|
|
2539
|
-
declare const Badge: StyledComponent<"span", any, {
|
|
2546
|
+
declare const Badge: styled_components.StyledComponent<"span", any, {
|
|
2540
2547
|
color?: string | undefined;
|
|
2541
2548
|
} & SharedStyleTypes, never>;
|
|
2542
2549
|
|
|
2543
2550
|
declare type BackdropTypes = {
|
|
2544
2551
|
animationDuration?: number;
|
|
2545
2552
|
};
|
|
2546
|
-
declare const Backdrop: StyledComponent<"div", any, BackdropTypes, never>;
|
|
2553
|
+
declare const Backdrop: styled_components.StyledComponent<"div", any, BackdropTypes, never>;
|
|
2547
2554
|
|
|
2548
|
-
declare type HeadlessTableProps =
|
|
2555
|
+
declare type HeadlessTableProps = React__default.PropsWithChildren<{
|
|
2549
2556
|
columns: any;
|
|
2550
2557
|
data: object[];
|
|
2551
2558
|
rowIdField: string;
|
|
@@ -2570,7 +2577,7 @@ declare type HeadlessTableProps = React$1.PropsWithChildren<{
|
|
|
2570
2577
|
} & SharedStyleTypes>;
|
|
2571
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;
|
|
2572
2579
|
|
|
2573
|
-
declare const Sparkles:
|
|
2580
|
+
declare const Sparkles: React__default.FC<{
|
|
2574
2581
|
color: string;
|
|
2575
2582
|
}>;
|
|
2576
2583
|
|
|
@@ -2604,7 +2611,7 @@ declare const StatusDropdown: ({ items, text, value, row, setMenuIsOpen, disable
|
|
|
2604
2611
|
disabled?: boolean | undefined;
|
|
2605
2612
|
} & DropdownContentProps$1) => JSX.Element;
|
|
2606
2613
|
|
|
2607
|
-
declare type DropdownContentProps
|
|
2614
|
+
declare type DropdownContentProps = {
|
|
2608
2615
|
text?: string;
|
|
2609
2616
|
active?: boolean;
|
|
2610
2617
|
rounded?: boolean;
|
|
@@ -2630,7 +2637,7 @@ declare type StateDropdownProps = {
|
|
|
2630
2637
|
dataTip?: any;
|
|
2631
2638
|
dataFor?: string;
|
|
2632
2639
|
background?: string;
|
|
2633
|
-
} & DropdownContentProps
|
|
2640
|
+
} & DropdownContentProps;
|
|
2634
2641
|
declare const StateDropdown: ({ items, text, value, row, showCircles, maxCircles, dataTip, dataFor, background, ...props }: StateDropdownProps) => JSX.Element;
|
|
2635
2642
|
|
|
2636
2643
|
declare type CollapseStyledProps = {
|
|
@@ -2639,8 +2646,8 @@ declare type CollapseStyledProps = {
|
|
|
2639
2646
|
};
|
|
2640
2647
|
declare type CollapseWrapperProps = CollapseStyledProps;
|
|
2641
2648
|
declare type CollapsiblePanelTitleProps = {};
|
|
2642
|
-
declare type CollapsibleProps = CollapseWrapperProps & CollapsiblePanelTitleProps & {
|
|
2643
|
-
style?:
|
|
2649
|
+
declare type CollapsibleProps$1 = CollapseWrapperProps & CollapsiblePanelTitleProps & {
|
|
2650
|
+
style?: React__default.CSSProperties;
|
|
2644
2651
|
isOpen?: boolean;
|
|
2645
2652
|
padded?: boolean;
|
|
2646
2653
|
onEntering?: Function;
|
|
@@ -2649,7 +2656,7 @@ declare type CollapsibleProps = CollapseWrapperProps & CollapsiblePanelTitleProp
|
|
|
2649
2656
|
onExiting?: Function;
|
|
2650
2657
|
onExited?: Function;
|
|
2651
2658
|
};
|
|
2652
|
-
declare type CollapsiblePanelProps =
|
|
2659
|
+
declare type CollapsiblePanelProps = React__default.PropsWithChildren<Omit<CollapsibleProps$1 & {
|
|
2653
2660
|
onClick?: null | ((i?: number | null) => void);
|
|
2654
2661
|
}, "isOpen"> & {
|
|
2655
2662
|
title?: string;
|
|
@@ -2670,11 +2677,11 @@ declare type CollapsiblePanelsProps = {
|
|
|
2670
2677
|
spaceBetween?: boolean;
|
|
2671
2678
|
onClickPanel?: null | ((i?: number | null) => void);
|
|
2672
2679
|
};
|
|
2673
|
-
declare const CollapseStyled: StyledComponent<"div", any, CollapseStyledProps, never>;
|
|
2674
|
-
declare const CollapseWrapper: StyledComponent<"div", any, CollapseStyledProps, never>;
|
|
2675
|
-
declare const CollapsiblePanelTitle: StyledComponent<"div", any, {}, never>;
|
|
2676
|
-
declare function Collapsible({ onEntering, onEntered, onExit, onExiting, onExited, duration, isOpen, children, style, padded, ...props }:
|
|
2677
|
-
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;
|
|
2678
2685
|
declare function CollapsiblePanels({ panels, spaceBetween, onClickPanel }: CollapsiblePanelsProps): JSX.Element;
|
|
2679
2686
|
|
|
2680
2687
|
declare type ProgressBarValue = {
|
|
@@ -2683,7 +2690,7 @@ declare type ProgressBarValue = {
|
|
|
2683
2690
|
color?: string;
|
|
2684
2691
|
textColor?: string;
|
|
2685
2692
|
};
|
|
2686
|
-
declare type ProgressBarsProps =
|
|
2693
|
+
declare type ProgressBarsProps = React__default.PropsWithChildren<{
|
|
2687
2694
|
values: ProgressBarValue[];
|
|
2688
2695
|
max: number;
|
|
2689
2696
|
color?: string;
|
|
@@ -2697,18 +2704,18 @@ declare const MultiProgress: ({ labeled, error, values, max: maxVal, ...props }:
|
|
|
2697
2704
|
error?: string | undefined;
|
|
2698
2705
|
title?: string | undefined;
|
|
2699
2706
|
} & SharedStyleTypes & {
|
|
2700
|
-
children?:
|
|
2707
|
+
children?: React__default.ReactNode;
|
|
2701
2708
|
} & {
|
|
2702
2709
|
labeled?: boolean | undefined;
|
|
2703
|
-
style?:
|
|
2710
|
+
style?: React__default.CSSProperties | undefined;
|
|
2704
2711
|
}) => JSX.Element;
|
|
2705
2712
|
declare const LabeledMultiProgress: ({ title, ...props }: ProgressBarsProps & {
|
|
2706
|
-
style?:
|
|
2713
|
+
style?: React__default.CSSProperties;
|
|
2707
2714
|
}) => JSX.Element;
|
|
2708
2715
|
//# sourceMappingURL=MultiProgress.d.ts.map
|
|
2709
2716
|
|
|
2710
2717
|
declare type ThermometerProps = {
|
|
2711
|
-
style?:
|
|
2718
|
+
style?: React__default.CSSProperties;
|
|
2712
2719
|
title?: string;
|
|
2713
2720
|
target: number;
|
|
2714
2721
|
value1: number;
|
|
@@ -2723,11 +2730,11 @@ declare type LightIndicatorProps = {
|
|
|
2723
2730
|
name: string;
|
|
2724
2731
|
on?: boolean;
|
|
2725
2732
|
large?: boolean;
|
|
2726
|
-
textProps?:
|
|
2733
|
+
textProps?: React__default.HTMLAttributes<HTMLParagraphElement>;
|
|
2727
2734
|
};
|
|
2728
2735
|
declare function LightIndicator({ name, on, large, textProps, ...props }: LightIndicatorProps): JSX.Element;
|
|
2729
2736
|
|
|
2730
|
-
declare type DefaultStarProps =
|
|
2737
|
+
declare type DefaultStarProps = React__default.PropsWithChildren<{
|
|
2731
2738
|
initialSelected?: boolean;
|
|
2732
2739
|
forceSelected?: boolean;
|
|
2733
2740
|
hoverText?: any;
|
|
@@ -2738,15 +2745,15 @@ declare type DefaultStarProps = React$1.PropsWithChildren<{
|
|
|
2738
2745
|
declare function DefaultStar({ initialSelected, forceSelected, hoverText, noText, children, width, color, ...props }: DefaultStarProps): JSX.Element;
|
|
2739
2746
|
|
|
2740
2747
|
declare type CancelButtonProps = {
|
|
2741
|
-
size?: TSize
|
|
2742
|
-
style?:
|
|
2748
|
+
size?: TSize;
|
|
2749
|
+
style?: React__default.CSSProperties;
|
|
2743
2750
|
variant?: ButtonVariant;
|
|
2744
2751
|
} & SharedStyleTypes & SizerTypes;
|
|
2745
2752
|
declare function CancelButton({ size, variant, style, ...Props }: CancelButtonProps): JSX.Element;
|
|
2746
2753
|
|
|
2747
2754
|
declare type DoneButtonProps = {
|
|
2748
|
-
size?: TSize
|
|
2749
|
-
style?:
|
|
2755
|
+
size?: TSize;
|
|
2756
|
+
style?: React__default.CSSProperties;
|
|
2750
2757
|
variant?: ButtonVariant;
|
|
2751
2758
|
} & SharedStyleTypes & SizerTypes;
|
|
2752
2759
|
declare function DoneButton({ size, variant, style, ...Props }: DoneButtonProps): JSX.Element;
|
|
@@ -2759,18 +2766,18 @@ declare type NotificationExtraContentProps = {
|
|
|
2759
2766
|
declare type NotificationIconProps = {
|
|
2760
2767
|
alertType?: "neutral" | "success" | "error";
|
|
2761
2768
|
};
|
|
2762
|
-
declare type AlertNotificationProps =
|
|
2763
|
-
style?:
|
|
2769
|
+
declare type AlertNotificationProps = React__default.PropsWithChildren<{
|
|
2770
|
+
style?: React__default.CSSProperties;
|
|
2764
2771
|
}> & NotificationIconProps & NotificationExtraContentProps & SharedStyleTypes & SizerTypes;
|
|
2765
2772
|
declare const AlertNotification: ({ href, linkText, children, alertType, learnMore, style, ...props }: AlertNotificationProps) => JSX.Element;
|
|
2766
2773
|
//# sourceMappingURL=AlertNotification.d.ts.map
|
|
2767
2774
|
|
|
2768
|
-
declare type IconFuncProps
|
|
2775
|
+
declare type IconFuncProps = {
|
|
2769
2776
|
color: string;
|
|
2770
2777
|
[key: string]: any;
|
|
2771
2778
|
};
|
|
2772
|
-
declare type LinkWithIconProps =
|
|
2773
|
-
Icon?: TButtonIcon |
|
|
2779
|
+
declare type LinkWithIconProps = React__default.PropsWithChildren<{
|
|
2780
|
+
Icon?: TButtonIcon | React__default.ReactElement<IconFuncProps>;
|
|
2774
2781
|
href?: string;
|
|
2775
2782
|
color?: string;
|
|
2776
2783
|
hoverColor?: string;
|
|
@@ -2778,7 +2785,7 @@ declare type LinkWithIconProps = React$1.PropsWithChildren<{
|
|
|
2778
2785
|
iconProps?: {
|
|
2779
2786
|
[key: string]: any;
|
|
2780
2787
|
};
|
|
2781
|
-
style?:
|
|
2788
|
+
style?: React__default.CSSProperties;
|
|
2782
2789
|
} & SharedStyleTypes & SizerTypes>;
|
|
2783
2790
|
declare function LinkWithIcon({ Icon, href, children, color, hoverColor, flexShrink, iconProps, style, ...props }: LinkWithIconProps): JSX.Element;
|
|
2784
2791
|
|
|
@@ -2803,10 +2810,10 @@ declare type LocaleOptions = {
|
|
|
2803
2810
|
declare type NumberInputProps = Omit<InputProps, 'onChange'> & {
|
|
2804
2811
|
defaultValue?: string | number;
|
|
2805
2812
|
label?: string;
|
|
2806
|
-
icon?: (props: object) =>
|
|
2813
|
+
icon?: (props: object) => React__default.ReactElement;
|
|
2807
2814
|
onClickIcon?: (value: string | number) => string | undefined | void;
|
|
2808
2815
|
iconStyles?: {};
|
|
2809
|
-
labelStyle?:
|
|
2816
|
+
labelStyle?: React__default.CSSProperties;
|
|
2810
2817
|
onChange?: (value: number | string | null, action?: string) => void;
|
|
2811
2818
|
localeOptions?: LocaleOptions;
|
|
2812
2819
|
inputMode?: "none" | "text" | "numeric" | "decimal";
|
|
@@ -2819,31 +2826,31 @@ declare type InputStepperProps = Omit<NumberInputProps, 'value'> & {
|
|
|
2819
2826
|
initialValue?: number | string;
|
|
2820
2827
|
width?: string;
|
|
2821
2828
|
label?: string;
|
|
2822
|
-
labelStyle?:
|
|
2829
|
+
labelStyle?: React__default.CSSProperties;
|
|
2823
2830
|
inputDisabled?: boolean;
|
|
2824
2831
|
delayChangeTimeout?: number;
|
|
2825
2832
|
holdIncrement?: boolean;
|
|
2826
2833
|
holdDecrement?: boolean;
|
|
2827
2834
|
};
|
|
2828
2835
|
declare type InputStepperStyledProps = Omit<NumberInputProps, 'onChange'> & {
|
|
2829
|
-
onCHange?:
|
|
2836
|
+
onCHange?: React__default.ChangeEventHandler<HTMLInputElement>;
|
|
2830
2837
|
containerWidth?: string;
|
|
2831
2838
|
style?: CSSProperties$1;
|
|
2832
2839
|
label?: string;
|
|
2833
|
-
labelStyle?:
|
|
2834
|
-
containerStyle?:
|
|
2840
|
+
labelStyle?: React__default.CSSProperties;
|
|
2841
|
+
containerStyle?: React__default.CSSProperties;
|
|
2835
2842
|
inputDisabled?: boolean;
|
|
2836
2843
|
decrementButtonProps?: IconButtonProps;
|
|
2837
2844
|
incrementButtonProps?: IconButtonProps;
|
|
2838
|
-
onIncrement?:
|
|
2839
|
-
onDecrement?:
|
|
2845
|
+
onIncrement?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
2846
|
+
onDecrement?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
2840
2847
|
};
|
|
2841
2848
|
declare function InputStepperStyled(props: InputStepperStyledProps): JSX.Element;
|
|
2842
2849
|
declare function InputStepper(props: InputStepperProps): JSX.Element;
|
|
2843
2850
|
|
|
2844
2851
|
interface ColumnInstance<D extends Record<string, unknown> = Record<string, unknown>> extends UseFiltersColumnProps<D>, UseGroupByColumnProps<D>, UseResizeColumnsColumnProps<D>, UseSortByColumnProps<D> {
|
|
2845
2852
|
}
|
|
2846
|
-
interface Row
|
|
2853
|
+
interface Row<D extends Record<string, unknown> = Record<string, unknown>> extends UseTableRowProps<D>, UseExpandedRowProps<D>, UseGroupByRowProps<D>, UseRowSelectRowProps<D>, UseRowStateRowProps<D> {
|
|
2847
2854
|
}
|
|
2848
2855
|
|
|
2849
2856
|
declare type VirtualTableProps = {
|
|
@@ -2851,7 +2858,7 @@ declare type VirtualTableProps = {
|
|
|
2851
2858
|
data: object[];
|
|
2852
2859
|
itemSize?: (value: {
|
|
2853
2860
|
index: number;
|
|
2854
|
-
row: Row
|
|
2861
|
+
row: Row;
|
|
2855
2862
|
}) => number;
|
|
2856
2863
|
height?: number;
|
|
2857
2864
|
minWidth?: number;
|
|
@@ -2868,42 +2875,42 @@ declare type VirtualTableProps = {
|
|
|
2868
2875
|
useTableProps?: object;
|
|
2869
2876
|
tableHeaderProps?: {
|
|
2870
2877
|
className?: string;
|
|
2871
|
-
style?:
|
|
2878
|
+
style?: React__default.CSSProperties;
|
|
2872
2879
|
};
|
|
2873
2880
|
tableFooterProps?: {
|
|
2874
2881
|
className?: string;
|
|
2875
|
-
style?:
|
|
2882
|
+
style?: React__default.CSSProperties;
|
|
2876
2883
|
};
|
|
2877
|
-
TableFooter?: (props:
|
|
2884
|
+
TableFooter?: (props: React__default.PropsWithChildren<{
|
|
2878
2885
|
[key: string]: any;
|
|
2879
|
-
}>) =>
|
|
2886
|
+
}>) => React__default.ReactElement;
|
|
2880
2887
|
customTableFooterProps?: object;
|
|
2881
2888
|
className?: string;
|
|
2882
2889
|
hideFooter?: boolean;
|
|
2883
2890
|
hideHeader?: boolean;
|
|
2884
|
-
NoRowsFound?: (props:
|
|
2891
|
+
NoRowsFound?: (props: React__default.PropsWithChildren<{
|
|
2885
2892
|
[key: string]: any;
|
|
2886
|
-
}>) =>
|
|
2887
|
-
renderRowSubComponent?: (props:
|
|
2893
|
+
}>) => React__default.ReactElement;
|
|
2894
|
+
renderRowSubComponent?: (props: React__default.PropsWithChildren<{
|
|
2888
2895
|
[key: string]: any;
|
|
2889
|
-
}>) =>
|
|
2896
|
+
}>) => React__default.ReactElement;
|
|
2890
2897
|
onSort?: (value: {
|
|
2891
2898
|
column: ColumnInstance;
|
|
2892
2899
|
}) => void;
|
|
2893
2900
|
onResize?: VoidFunction;
|
|
2894
2901
|
rowGroupStyles?: (value: {
|
|
2895
|
-
row: Row
|
|
2896
|
-
style:
|
|
2897
|
-
}) =>
|
|
2902
|
+
row: Row;
|
|
2903
|
+
style: React__default.CSSProperties;
|
|
2904
|
+
}) => React__default.CSSProperties;
|
|
2898
2905
|
rowStyles?: (value: {
|
|
2899
|
-
row: Row
|
|
2900
|
-
style:
|
|
2901
|
-
}) =>
|
|
2906
|
+
row: Row;
|
|
2907
|
+
style: React__default.CSSProperties;
|
|
2908
|
+
}) => React__default.CSSProperties;
|
|
2902
2909
|
gutterSize?: number;
|
|
2903
2910
|
};
|
|
2904
2911
|
declare const VirtualTable: (props: VirtualTableProps) => JSX.Element;
|
|
2905
2912
|
|
|
2906
|
-
declare const VirtualTableStyles: StyledComponent<"div", any, {
|
|
2913
|
+
declare const VirtualTableStyles: styled_components.StyledComponent<"div", any, {
|
|
2907
2914
|
tableHeight?: string | number | undefined;
|
|
2908
2915
|
bordered?: string | boolean | undefined;
|
|
2909
2916
|
rowClickable?: boolean | undefined;
|
|
@@ -2964,7 +2971,7 @@ declare type BaseCskuProps = {
|
|
|
2964
2971
|
style?: ResponsiveValue<CSSObject>;
|
|
2965
2972
|
sx?: ResponsiveValue<CSSObject>;
|
|
2966
2973
|
};
|
|
2967
|
-
declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false | CSSObject | Keyframes | {
|
|
2974
|
+
declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false | CSSObject | styled_components.Keyframes | {
|
|
2968
2975
|
readonly $$typeof: symbol;
|
|
2969
2976
|
defaultProps?: Partial<{
|
|
2970
2977
|
[x: string]: any;
|
|
@@ -2972,43 +2979,43 @@ declare const parseCskuStyles: (p: BaseCskuProps) => (string | number | false |
|
|
|
2972
2979
|
theme?: any;
|
|
2973
2980
|
}> | undefined;
|
|
2974
2981
|
displayName?: string | undefined;
|
|
2975
|
-
propTypes?: WeakValidationMap<{
|
|
2982
|
+
propTypes?: React$1.WeakValidationMap<{
|
|
2976
2983
|
[x: string]: any;
|
|
2977
2984
|
} & {
|
|
2978
2985
|
theme?: any;
|
|
2979
2986
|
}> | undefined;
|
|
2980
2987
|
withComponent: {
|
|
2981
|
-
<WithC extends AnyStyledComponent>(component: WithC): StyledComponent<StyledComponentInnerComponent<WithC>, any, any, any>;
|
|
2982
|
-
<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>;
|
|
2983
2990
|
};
|
|
2984
2991
|
} | {
|
|
2985
2992
|
[key: string]: CSSObject;
|
|
2986
|
-
} | FlattenSimpleInterpolation | null | undefined)[];
|
|
2987
|
-
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>;
|
|
2988
2995
|
declare const Csku: StyledComponent<"div", any, BaseCskuProps, never>;
|
|
2989
2996
|
|
|
2990
2997
|
declare type BaseGridProps = {
|
|
2991
2998
|
columns?: number;
|
|
2992
2999
|
gap?: number | string;
|
|
2993
3000
|
};
|
|
2994
|
-
declare type GridProps =
|
|
2995
|
-
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>;
|
|
2996
3003
|
declare type BaseGridItemProps = {
|
|
2997
3004
|
colSpan?: ResponsiveValue<string | number | boolean>;
|
|
2998
3005
|
style?: ResponsiveValue<CSSObject>;
|
|
2999
3006
|
};
|
|
3000
|
-
declare type GridItemProps = Omit<
|
|
3001
|
-
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>;
|
|
3002
3009
|
|
|
3003
|
-
declare type TReactNode =
|
|
3004
|
-
declare type CollapsibleProps
|
|
3005
|
-
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;
|
|
3006
3013
|
label: TReactNode;
|
|
3007
3014
|
controls?: TReactNode;
|
|
3008
3015
|
open?: boolean;
|
|
3009
3016
|
onToggleOpen?: (v: boolean) => void;
|
|
3010
3017
|
}>;
|
|
3011
|
-
declare const Collapsible
|
|
3018
|
+
declare const Collapsible: (props: CollapsibleProps) => JSX.Element;
|
|
3012
3019
|
declare type CollapsibleLabelProps = {
|
|
3013
3020
|
children?: TReactNode;
|
|
3014
3021
|
isOpen?: boolean;
|
|
@@ -3019,7 +3026,7 @@ declare type CollapsibleArrowIconProps = {
|
|
|
3019
3026
|
};
|
|
3020
3027
|
declare const CollapsibleArrowIcon: (props: CollapsibleArrowIconProps) => JSX.Element;
|
|
3021
3028
|
declare type CollapsiblesProps = {
|
|
3022
|
-
list: CollapsibleProps
|
|
3029
|
+
list: CollapsibleProps[];
|
|
3023
3030
|
controls?: TReactNode;
|
|
3024
3031
|
};
|
|
3025
3032
|
declare function Collapsibles(props: CollapsiblesProps): JSX.Element;
|
|
@@ -3053,7 +3060,7 @@ declare function ClientApprovedIcon({ color, size, altText, ...props }: ClientAp
|
|
|
3053
3060
|
declare type ProofingCompleteIconProps = SVGIconProps;
|
|
3054
3061
|
declare function ProofingCompleteIcon({ color, size, altText, ...props }: ProofingCompleteIconProps): JSX.Element;
|
|
3055
3062
|
|
|
3056
|
-
declare function ChatIcon({ color, width, mr, mt, notifs }:
|
|
3063
|
+
declare function ChatIcon({ color, width, mr, mt, notifs }: React__default.PropsWithChildren<{
|
|
3057
3064
|
color?: string;
|
|
3058
3065
|
width?: string;
|
|
3059
3066
|
mr?: number;
|
|
@@ -3154,7 +3161,7 @@ declare type CircleProgressIconProps = SVGIconProps & {
|
|
|
3154
3161
|
textColor?: string;
|
|
3155
3162
|
text?: string;
|
|
3156
3163
|
viewBox?: string;
|
|
3157
|
-
textStyle?:
|
|
3164
|
+
textStyle?: React__default.CSSProperties;
|
|
3158
3165
|
};
|
|
3159
3166
|
declare function CircleProgressIcon({ sqSize, strokeWidth, percentage, strokeColor, textColor, text, textStyle, color, size, altText, ...props }: CircleProgressIconProps): JSX.Element;
|
|
3160
3167
|
|
|
@@ -3184,8 +3191,8 @@ declare type AlertIconProps = SVGIconProps & {
|
|
|
3184
3191
|
};
|
|
3185
3192
|
declare function AlertIcon({ color, size, filled, altText, ...props }: AlertIconProps): JSX.Element;
|
|
3186
3193
|
|
|
3187
|
-
declare type AddIconProps = SVGIconProps;
|
|
3188
|
-
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;
|
|
3189
3196
|
|
|
3190
3197
|
declare type BulletIconProps = SVGIconProps;
|
|
3191
3198
|
declare function BulletIcon({ color, size, ...props }: BulletIconProps): JSX.Element;
|
|
@@ -3208,30 +3215,30 @@ declare function PromostandardsIcon({ size, altText, ...props }: PromostandardsI
|
|
|
3208
3215
|
declare type XIconProps = SVGIconProps;
|
|
3209
3216
|
declare function XIcon({ color, size, altText, ...props }: XIconProps): JSX.Element;
|
|
3210
3217
|
|
|
3211
|
-
declare type IconVariants = 'primary' | 'cta';
|
|
3218
|
+
declare type IconVariants$3 = 'primary' | 'cta';
|
|
3212
3219
|
declare type OpportunityCircleIconProps = SVGIconProps & {
|
|
3213
|
-
variant?: IconVariants;
|
|
3220
|
+
variant?: IconVariants$3;
|
|
3214
3221
|
selected?: boolean;
|
|
3215
3222
|
};
|
|
3216
3223
|
declare function OpportunityCircleIcon({ variant, selected, size, altText, style, ...props }: OpportunityCircleIconProps): JSX.Element;
|
|
3217
3224
|
|
|
3218
|
-
declare type IconVariants$
|
|
3225
|
+
declare type IconVariants$2 = 'primary' | 'cta';
|
|
3219
3226
|
declare type PresentationCircleIconProps = SVGIconProps & {
|
|
3220
|
-
variant?: IconVariants$
|
|
3227
|
+
variant?: IconVariants$2;
|
|
3221
3228
|
selected?: boolean;
|
|
3222
3229
|
};
|
|
3223
3230
|
declare function PresentationCircleIcon({ variant, selected, size, altText, style, ...props }: PresentationCircleIconProps): JSX.Element;
|
|
3224
3231
|
|
|
3225
|
-
declare type IconVariants$
|
|
3232
|
+
declare type IconVariants$1 = 'primary' | 'cta';
|
|
3226
3233
|
declare type EstimateCircleIconProps = SVGIconProps & {
|
|
3227
|
-
variant?: IconVariants$
|
|
3234
|
+
variant?: IconVariants$1;
|
|
3228
3235
|
selected?: boolean;
|
|
3229
3236
|
};
|
|
3230
3237
|
declare function EstimateCircleIcon({ variant, selected, size, altText, style, ...props }: EstimateCircleIconProps): JSX.Element;
|
|
3231
3238
|
|
|
3232
|
-
declare type IconVariants
|
|
3239
|
+
declare type IconVariants = 'primary' | 'cta';
|
|
3233
3240
|
declare type SalesOrderCircleIconProps = SVGIconProps & {
|
|
3234
|
-
variant?: IconVariants
|
|
3241
|
+
variant?: IconVariants;
|
|
3235
3242
|
selected?: boolean;
|
|
3236
3243
|
};
|
|
3237
3244
|
declare function SalesOrderCircleIcon({ variant, selected, size, altText, style, ...props }: SalesOrderCircleIconProps): JSX.Element;
|
|
@@ -3256,9 +3263,9 @@ declare function TilesIcon({ color, size, filled, altText, ...props }: TilesIcon
|
|
|
3256
3263
|
declare type UserIconProps = SVGIconProps;
|
|
3257
3264
|
declare function UserIcon({ color, size, altText, ...props }: UserIconProps): JSX.Element;
|
|
3258
3265
|
|
|
3259
|
-
declare type ArrowIconDirection = 'up' | 'right' | 'down' | 'left';
|
|
3266
|
+
declare type ArrowIconDirection$1 = 'up' | 'right' | 'down' | 'left';
|
|
3260
3267
|
declare type ArrowIconProps = SVGIconProps & {
|
|
3261
|
-
direction?: ArrowIconDirection;
|
|
3268
|
+
direction?: ArrowIconDirection$1;
|
|
3262
3269
|
};
|
|
3263
3270
|
declare function ArrowIcon({ color, direction, altText, size, ...props }: ArrowIconProps): JSX.Element;
|
|
3264
3271
|
|
|
@@ -3277,8 +3284,8 @@ declare function FilledChevronIcon({ color, direction, altText, size, ...props }
|
|
|
3277
3284
|
declare type CheckmarkIconProps = SVGIconProps;
|
|
3278
3285
|
declare function CheckmarkIcon({ color, size, altText, ...props }: CheckmarkIconProps): JSX.Element;
|
|
3279
3286
|
|
|
3280
|
-
declare type AddIconProps
|
|
3281
|
-
declare function AddIcon({ color, size, altText, ...props }: AddIconProps
|
|
3287
|
+
declare type AddIconProps = SVGIconProps;
|
|
3288
|
+
declare function AddIcon({ color, size, altText, ...props }: AddIconProps): JSX.Element;
|
|
3282
3289
|
|
|
3283
3290
|
declare type SubtractIconProps = SVGIconProps;
|
|
3284
3291
|
declare function SubtractIcon({ color, size, altText, ...props }: SubtractIconProps): JSX.Element;
|
|
@@ -3395,16 +3402,22 @@ declare function HelpIcon({ color, size, altText, ...props }: HelpIconProps): JS
|
|
|
3395
3402
|
declare type FileUploadIconProps = SVGIconProps;
|
|
3396
3403
|
declare function FileUploadIcon({ color, size, altText, ...props }: FileUploadIconProps): JSX.Element;
|
|
3397
3404
|
|
|
3398
|
-
declare type ArrowIconDirection
|
|
3405
|
+
declare type ArrowIconDirection = 'left' | 'right' | 'down' | 'up';
|
|
3399
3406
|
declare type DoubleArrowIconProps = SVGIconProps & {
|
|
3400
|
-
direction?: ArrowIconDirection
|
|
3407
|
+
direction?: ArrowIconDirection;
|
|
3401
3408
|
};
|
|
3402
3409
|
declare function DoubleArrowIcon({ color, direction, size, altText, ...props }: DoubleArrowIconProps): JSX.Element;
|
|
3403
3410
|
|
|
3404
3411
|
declare type ImageIcon = SVGIconProps;
|
|
3405
3412
|
declare function ImageIcon(props: ImageIcon): JSX.Element;
|
|
3406
3413
|
|
|
3407
|
-
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";
|
|
3408
3421
|
//# sourceMappingURL=datepickerStyles.d.ts.map
|
|
3409
3422
|
|
|
3410
3423
|
declare type ConfirmPopupProps = {
|
|
@@ -3415,22 +3428,22 @@ declare type ConfirmPopupProps = {
|
|
|
3415
3428
|
};
|
|
3416
3429
|
declare const ConfirmPopup: (props: ConfirmPopupProps) => JSX.Element;
|
|
3417
3430
|
|
|
3418
|
-
declare type ConfirmAlertPopupProps =
|
|
3431
|
+
declare type ConfirmAlertPopupProps = React__default.PropsWithChildren<{
|
|
3419
3432
|
padding?: string;
|
|
3420
3433
|
maxWidth: string | number;
|
|
3421
|
-
title?:
|
|
3434
|
+
title?: React__default.ReactNode;
|
|
3422
3435
|
disableActionButton?: boolean;
|
|
3423
|
-
cancelButtonContent?:
|
|
3424
|
-
actionButtonContent?:
|
|
3436
|
+
cancelButtonContent?: React__default.ReactNode;
|
|
3437
|
+
actionButtonContent?: React__default.ReactNode;
|
|
3425
3438
|
onAction?: () => void;
|
|
3426
3439
|
onClose?: () => void;
|
|
3427
3440
|
}>;
|
|
3428
3441
|
declare const ConfirmAlertPopup: (props: ConfirmAlertPopupProps) => JSX.Element;
|
|
3429
3442
|
|
|
3430
|
-
declare type CalendarDayBodyProps =
|
|
3443
|
+
declare type CalendarDayBodyProps = React__default.PropsWithChildren<{
|
|
3431
3444
|
day: Date;
|
|
3432
3445
|
selectedDate: Date;
|
|
3433
|
-
onClick:
|
|
3446
|
+
onClick: React__default.MouseEventHandler<HTMLDivElement>;
|
|
3434
3447
|
weekend?: boolean;
|
|
3435
3448
|
}>;
|
|
3436
3449
|
declare const CalendarDayBody: ({ day, selectedDate, onClick, children, weekend, ...props }: CalendarDayBodyProps) => JSX.Element;
|
|
@@ -3449,12 +3462,12 @@ declare type CalendarDaysBodyProps = {
|
|
|
3449
3462
|
};
|
|
3450
3463
|
weekend?: boolean;
|
|
3451
3464
|
components?: {
|
|
3452
|
-
DayBody?: (props:
|
|
3465
|
+
DayBody?: (props: React__default.PropsWithChildren<{
|
|
3453
3466
|
day: Date;
|
|
3454
3467
|
selectedDate: Date;
|
|
3455
|
-
onClick:
|
|
3468
|
+
onClick: React__default.MouseEventHandler;
|
|
3456
3469
|
[key: string]: any;
|
|
3457
|
-
}>) =>
|
|
3470
|
+
}>) => React__default.ReactElement;
|
|
3458
3471
|
};
|
|
3459
3472
|
};
|
|
3460
3473
|
declare const CalendarDaysBody: ({ days, currentMonth, selectedDate, onClickDay, components, dayBodyProps, weekend, ...props }: CalendarDaysBodyProps) => JSX.Element;
|
|
@@ -3468,13 +3481,13 @@ declare const CalendarDaysHeader: ({ currentMonth, selectedDate, weekend }: {
|
|
|
3468
3481
|
}) => JSX.Element;
|
|
3469
3482
|
//# sourceMappingURL=CalendarDaysHeader.d.ts.map
|
|
3470
3483
|
|
|
3471
|
-
declare const CalendarWrapper: StyledComponent<"div", any, {}, never>;
|
|
3484
|
+
declare const CalendarWrapper: styled_components.StyledComponent<"div", any, {}, never>;
|
|
3472
3485
|
//# sourceMappingURL=CalendarWrapper.d.ts.map
|
|
3473
3486
|
|
|
3474
|
-
declare const DaysBodyWrapper: StyledComponent<"div", any, {}, never>;
|
|
3487
|
+
declare const DaysBodyWrapper: styled_components.StyledComponent<"div", any, {}, never>;
|
|
3475
3488
|
//# sourceMappingURL=DaysBodyWrapper.d.ts.map
|
|
3476
3489
|
|
|
3477
|
-
declare const DaysHeaderWrapper: StyledComponent<"div", any, {
|
|
3490
|
+
declare const DaysHeaderWrapper: styled_components.StyledComponent<"div", any, {
|
|
3478
3491
|
justify?: string | undefined;
|
|
3479
3492
|
wrap?: string | undefined;
|
|
3480
3493
|
align?: string | undefined;
|
|
@@ -3491,13 +3504,13 @@ declare const DefaultCalendarFooter: ({ currentWeek }: {
|
|
|
3491
3504
|
//# sourceMappingURL=DefaultCalendarFooter.d.ts.map
|
|
3492
3505
|
|
|
3493
3506
|
declare const DefaultCalendarHeader: ({ onPrevWeek, onNextWeek, currentMonth, }: {
|
|
3494
|
-
onPrevWeek:
|
|
3495
|
-
onNextWeek:
|
|
3507
|
+
onPrevWeek: React__default.MouseEventHandler;
|
|
3508
|
+
onNextWeek: React__default.MouseEventHandler;
|
|
3496
3509
|
currentMonth: Date;
|
|
3497
3510
|
}) => JSX.Element;
|
|
3498
3511
|
//# sourceMappingURL=DefaultCalendarHeader.d.ts.map
|
|
3499
3512
|
|
|
3500
|
-
declare const HeaderWrapper: StyledComponent<"div", any, {
|
|
3513
|
+
declare const HeaderWrapper: styled_components.StyledComponent<"div", any, {
|
|
3501
3514
|
justify?: string | undefined;
|
|
3502
3515
|
wrap?: string | undefined;
|
|
3503
3516
|
align?: string | undefined;
|
|
@@ -3508,7 +3521,7 @@ declare const HeaderWrapper: StyledComponent<"div", any, {
|
|
|
3508
3521
|
} & SharedStyleTypes, never>;
|
|
3509
3522
|
//# sourceMappingURL=HeaderWrapper.d.ts.map
|
|
3510
3523
|
|
|
3511
|
-
declare const StyledDayBody: StyledComponent<"div", any, SizerTypes & SharedStyleTypes & {
|
|
3524
|
+
declare const StyledDayBody: styled_components.StyledComponent<"div", any, SizerTypes & SharedStyleTypes & {
|
|
3512
3525
|
selected?: boolean | undefined;
|
|
3513
3526
|
today?: boolean | undefined;
|
|
3514
3527
|
row?: boolean | undefined;
|
|
@@ -3516,7 +3529,7 @@ declare const StyledDayBody: StyledComponent<"div", any, SizerTypes & SharedStyl
|
|
|
3516
3529
|
}, never>;
|
|
3517
3530
|
//# sourceMappingURL=StyledDayBody.d.ts.map
|
|
3518
3531
|
|
|
3519
|
-
declare const StyledDayText: StyledComponent<"span", any, {
|
|
3532
|
+
declare const StyledDayText: styled_components.StyledComponent<"span", any, {
|
|
3520
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;
|
|
3521
3534
|
bold?: boolean | undefined;
|
|
3522
3535
|
} & SharedStyleTypes & {
|
|
@@ -3572,9 +3585,9 @@ declare const useCalendar: ({ onChangeWeek, onChangeMonth, }: useCalendarProps)
|
|
|
3572
3585
|
currentMonth: Date;
|
|
3573
3586
|
currentWeek: number;
|
|
3574
3587
|
selectedDate: Date;
|
|
3575
|
-
setSelectedDate: Dispatch<SetStateAction<Date>>;
|
|
3576
|
-
setCurrentWeek: Dispatch<SetStateAction<number>>;
|
|
3577
|
-
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>>;
|
|
3578
3591
|
onClickDay: (day: Date) => void;
|
|
3579
3592
|
onNextWeek: () => void;
|
|
3580
3593
|
onPrevWeek: () => void;
|
|
@@ -3604,7 +3617,7 @@ declare type TasksCalendarHeaderProps = {
|
|
|
3604
3617
|
views?: TCalendarView[];
|
|
3605
3618
|
onClickView?: onClickViewFunc;
|
|
3606
3619
|
};
|
|
3607
|
-
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;
|
|
3608
3621
|
|
|
3609
3622
|
declare type TasksCalendarFooterProps = {
|
|
3610
3623
|
onNextWeek: VoidFunction;
|
|
@@ -3616,7 +3629,7 @@ declare type TasksCalendarFooterProps = {
|
|
|
3616
3629
|
selectedDate: Date;
|
|
3617
3630
|
[key: string]: any;
|
|
3618
3631
|
};
|
|
3619
|
-
declare const TasksCalendarFooter: ({ currentWeek, tasks, }:
|
|
3632
|
+
declare const TasksCalendarFooter: ({ currentWeek, tasks, }: React__default.PropsWithChildren<TasksCalendarFooterProps>) => JSX.Element;
|
|
3620
3633
|
|
|
3621
3634
|
declare type CalendarHeaderComponentProps = {
|
|
3622
3635
|
onNextWeek: VoidFunction;
|
|
@@ -3630,11 +3643,11 @@ declare type CalendarHeaderComponentProps = {
|
|
|
3630
3643
|
};
|
|
3631
3644
|
declare type CalendarProps = {
|
|
3632
3645
|
components?: {
|
|
3633
|
-
Header?: (props:
|
|
3634
|
-
Footer?: (props:
|
|
3635
|
-
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<{
|
|
3636
3649
|
[key: string]: any;
|
|
3637
|
-
}>) =>
|
|
3650
|
+
}>) => React__default.ReactElement;
|
|
3638
3651
|
};
|
|
3639
3652
|
showHeader?: boolean;
|
|
3640
3653
|
showFooter?: boolean;
|
|
@@ -3657,12 +3670,12 @@ declare type TasksCalendarProps = CalendarProps & {
|
|
|
3657
3670
|
headerTabs?: Array<TTab>;
|
|
3658
3671
|
footerTasks?: Array<CalendarTaskProps>;
|
|
3659
3672
|
components?: {
|
|
3660
|
-
Header?: (props:
|
|
3673
|
+
Header?: (props: React__default.PropsWithChildren<{
|
|
3661
3674
|
[key: string]: any;
|
|
3662
|
-
}>) =>
|
|
3663
|
-
Footer?: (props:
|
|
3675
|
+
}>) => React__default.ReactElement;
|
|
3676
|
+
Footer?: (props: React__default.PropsWithChildren<{
|
|
3664
3677
|
[key: string]: any;
|
|
3665
|
-
}>) =>
|
|
3678
|
+
}>) => React__default.ReactElement;
|
|
3666
3679
|
};
|
|
3667
3680
|
};
|
|
3668
3681
|
declare const TasksCalendar: ({ tasks, headerTabs, footerTasks, components, ...props }: TasksCalendarProps) => JSX.Element;
|
|
@@ -3675,12 +3688,12 @@ declare type DraggableTasksCalendarProps = CalendarProps & {
|
|
|
3675
3688
|
footerTasks?: Array<CalendarTaskProps>;
|
|
3676
3689
|
weekend?: boolean;
|
|
3677
3690
|
components?: {
|
|
3678
|
-
Header?: (props:
|
|
3691
|
+
Header?: (props: React__default.PropsWithChildren<{
|
|
3679
3692
|
[key: string]: any;
|
|
3680
|
-
}>) =>
|
|
3681
|
-
Footer?: (props:
|
|
3693
|
+
}>) => React__default.ReactElement;
|
|
3694
|
+
Footer?: (props: React__default.PropsWithChildren<{
|
|
3682
3695
|
[key: string]: any;
|
|
3683
|
-
}>) =>
|
|
3696
|
+
}>) => React__default.ReactElement;
|
|
3684
3697
|
};
|
|
3685
3698
|
onToggleWeekend?: (weekend: boolean) => void;
|
|
3686
3699
|
showAddTaskBtn?: boolean;
|
|
@@ -3692,7 +3705,7 @@ declare type DraggableTasksCalendarProps = CalendarProps & {
|
|
|
3692
3705
|
} & useCalendarProps;
|
|
3693
3706
|
declare const DraggableTasksCalendar: ({ views, tasks, onUpdateTask, onClickTask, headerTabs, footerTasks, components, weekend, onChangeWeek, onChangeMonth, onToggleWeekend, showAddTaskBtn, onClickAddTask, onClickView, loading, showFooterTasks, ...props }: DraggableTasksCalendarProps) => JSX.Element;
|
|
3694
3707
|
|
|
3695
|
-
declare const SimpleWindowedTableStyles: StyledComponent<"div", any, {
|
|
3708
|
+
declare const SimpleWindowedTableStyles: styled_components.StyledComponent<"div", any, {
|
|
3696
3709
|
bordered?: string | boolean | undefined;
|
|
3697
3710
|
rowClickable?: boolean | undefined;
|
|
3698
3711
|
hoverRowBg?: string | boolean | undefined;
|
|
@@ -3713,20 +3726,20 @@ declare type SimpleWindowedTableProps = {
|
|
|
3713
3726
|
useTableProps?: object;
|
|
3714
3727
|
tableHeaderProps?: {
|
|
3715
3728
|
className?: string;
|
|
3716
|
-
style?:
|
|
3729
|
+
style?: React__default.CSSProperties;
|
|
3717
3730
|
};
|
|
3718
3731
|
tableFooterProps?: {
|
|
3719
3732
|
className?: string;
|
|
3720
|
-
style?:
|
|
3733
|
+
style?: React__default.CSSProperties;
|
|
3721
3734
|
};
|
|
3722
|
-
headerGroupStyle?:
|
|
3723
|
-
TableFooter?:
|
|
3735
|
+
headerGroupStyle?: React__default.CSSProperties;
|
|
3736
|
+
TableFooter?: React__default.ReactNode;
|
|
3724
3737
|
className?: string;
|
|
3725
3738
|
hideFooter?: boolean;
|
|
3726
3739
|
clearRowFullWidth?: boolean;
|
|
3727
|
-
NoRowsFound?: (props:
|
|
3740
|
+
NoRowsFound?: (props: React__default.PropsWithChildren<{
|
|
3728
3741
|
[key: string]: any;
|
|
3729
|
-
}>) =>
|
|
3742
|
+
}>) => React__default.ReactElement;
|
|
3730
3743
|
};
|
|
3731
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;
|
|
3732
3745
|
|
|
@@ -3759,7 +3772,7 @@ declare const useClickOutside: <T extends HTMLElement = HTMLElement>(props: {
|
|
|
3759
3772
|
declare const useFallbackRef: <T>(forwardedRef: ForwardedRef<T>) => MutableRefObject<T | null>;
|
|
3760
3773
|
//# sourceMappingURL=useFallbackRef.d.ts.map
|
|
3761
3774
|
|
|
3762
|
-
declare const toggleSizes
|
|
3775
|
+
declare const toggleSizes: {
|
|
3763
3776
|
small: {
|
|
3764
3777
|
'font-family': string;
|
|
3765
3778
|
'font-size': string;
|
|
@@ -3785,22 +3798,22 @@ declare const toggleSizes$1: {
|
|
|
3785
3798
|
height: string;
|
|
3786
3799
|
};
|
|
3787
3800
|
};
|
|
3788
|
-
declare type ToggleSize
|
|
3801
|
+
declare type ToggleSize = keyof typeof toggleSizes;
|
|
3789
3802
|
declare type CommonProps = {
|
|
3790
3803
|
selected?: boolean;
|
|
3791
3804
|
stretch?: boolean;
|
|
3792
|
-
size?: ToggleSize
|
|
3805
|
+
size?: ToggleSize;
|
|
3793
3806
|
};
|
|
3794
3807
|
declare type ToggleSwitchProps = {
|
|
3795
|
-
onClick?:
|
|
3796
|
-
style?:
|
|
3808
|
+
onClick?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
3809
|
+
style?: React__default.CSSProperties;
|
|
3797
3810
|
} & CommonProps & Omit<Omit<Omit<BaseCskuProps, 'hidden'>, 'color'>, 'style'>;
|
|
3798
3811
|
declare type ToggleSwitchStatedProps = {
|
|
3799
3812
|
initialSelected?: boolean;
|
|
3800
|
-
style?:
|
|
3813
|
+
style?: React__default.CSSProperties;
|
|
3801
3814
|
onClick?: (value: boolean) => void;
|
|
3802
3815
|
} & Omit<CommonProps, 'selected'> & Omit<BaseCskuProps, 'style'>;
|
|
3803
3816
|
declare const ToggleSwitchStyled: ({ onClick, size, selected, stretch, style, ...props }: ToggleSwitchProps) => JSX.Element;
|
|
3804
3817
|
declare const ToggleSwitch: ({ size, initialSelected, stretch, onClick, ...props }: ToggleSwitchStatedProps) => JSX.Element;
|
|
3805
3818
|
|
|
3806
|
-
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, 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 };
|