@commonsku/styles 1.17.31 → 1.17.33
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +15 -4
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles/DateRangeDropdown.d.ts +2 -1
- package/dist/styles/DateRangeDropdown.d.ts.map +1 -1
- package/dist/styles/DateRangePicker.d.ts +4 -2
- package/dist/styles/DateRangePicker.d.ts.map +1 -1
- package/dist/styles/Pagination.d.ts +9 -0
- package/dist/styles/Pagination.d.ts.map +1 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SelectionTable.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts +1 -0
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -1
- package/dist/styles/tables/types.d.ts +1 -0
- package/dist/styles/tables/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2488,6 +2488,7 @@ type VirtualTableProps<RowType extends Record<string, unknown>, TableProps, Tabl
|
|
|
2488
2488
|
}) => React__default.CSSProperties;
|
|
2489
2489
|
gutterSize?: number;
|
|
2490
2490
|
onSortChange?: (sortState: UseSortByState<RowType>) => void;
|
|
2491
|
+
disableResizing?: boolean;
|
|
2491
2492
|
};
|
|
2492
2493
|
declare const VirtualTable: <RowType extends Record<string, unknown>, TableProps, TableFooterProps>(props: VirtualTableProps<RowType, TableProps, TableFooterProps>) => React__default.JSX.Element;
|
|
2493
2494
|
|
|
@@ -2520,14 +2521,16 @@ interface DateRangePreset {
|
|
|
2520
2521
|
type DateRangePickerProps = Omit<DatepickerProps, 'value' | 'onChange' | 'dateFormat'> & {
|
|
2521
2522
|
range: DateRange;
|
|
2522
2523
|
dateFormat?: string;
|
|
2523
|
-
onChange?: (range: DateRange, event?: SyntheticEvent<any
|
|
2524
|
+
onChange?: (range: DateRange, event?: SyntheticEvent<any>, closeDropdown?: boolean) => void;
|
|
2524
2525
|
presets?: DateRangePreset[];
|
|
2526
|
+
initialActiveTab?: 'custom' | 'preset';
|
|
2525
2527
|
};
|
|
2526
2528
|
declare const DateRangePicker: React__default.ForwardRefExoticComponent<Omit<DatepickerProps, "value" | "dateFormat" | "onChange"> & {
|
|
2527
2529
|
range: DateRange;
|
|
2528
2530
|
dateFormat?: string | undefined;
|
|
2529
|
-
onChange?: ((range: DateRange, event?: SyntheticEvent<any
|
|
2531
|
+
onChange?: ((range: DateRange, event?: SyntheticEvent<any>, closeDropdown?: boolean) => void) | undefined;
|
|
2530
2532
|
presets?: DateRangePreset[] | undefined;
|
|
2533
|
+
initialActiveTab?: "custom" | "preset" | undefined;
|
|
2531
2534
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
2532
2535
|
|
|
2533
2536
|
interface DateRangeInputProps extends Omit<InputProps, "onChange"> {
|
|
@@ -2535,8 +2538,9 @@ interface DateRangeInputProps extends Omit<InputProps, "onChange"> {
|
|
|
2535
2538
|
selected: DateRange;
|
|
2536
2539
|
dateFormat: string;
|
|
2537
2540
|
onInputSelect: () => void;
|
|
2541
|
+
onClear?: () => void;
|
|
2538
2542
|
}
|
|
2539
|
-
declare const DateRangeInput: ({ value, error, noMargin, onClick, isClearable, selected, dateFormat, onInputSelect, ...props }: DateRangeInputProps) => React__default.JSX.Element;
|
|
2543
|
+
declare const DateRangeInput: ({ value, error, noMargin, onClick, isClearable, selected, dateFormat, onInputSelect, onClear, ...props }: DateRangeInputProps) => React__default.JSX.Element;
|
|
2540
2544
|
interface DateRangeDropdownProps extends DateRangePickerProps {
|
|
2541
2545
|
dateText?: string;
|
|
2542
2546
|
}
|
|
@@ -3632,4 +3636,11 @@ type AddressAutocompleteInputProps = InputDropdownProps<true, TOption> & {
|
|
|
3632
3636
|
};
|
|
3633
3637
|
declare function AddressAutocompleteInput({ apiKey, value, country, currentLocBias, delayValue, onChange, onInputChange, ...props }: Readonly<AddressAutocompleteInputProps>): React__default.JSX.Element;
|
|
3634
3638
|
|
|
3635
|
-
|
|
3639
|
+
interface PaginationProps {
|
|
3640
|
+
currentPage: number;
|
|
3641
|
+
totalPages: number;
|
|
3642
|
+
onChange: (page: number) => void;
|
|
3643
|
+
}
|
|
3644
|
+
declare const Pagination: ({ currentPage, totalPages, onChange, }: PaginationProps) => React__default.JSX.Element;
|
|
3645
|
+
|
|
3646
|
+
export { AddIcon, AddNoteIcon, AddShoppingCartIcon, AddTaskIcon, AddressAutocompleteInput, 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, CommentBubbleIcon, CommentIcon, CommonskuMainLogo, CommunityIcon, CompletedCheckmarkIcon, ConfirmAlertPopup, ConfirmPopup, ConnectedIcon, ConnectedPlusIcon, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CskuProps, CustomDateInput, DateRange, DateRangeDropdown, DateRangeDropdownProps, DateRangeInput, DateRangeInputProps, DateRangePicker, DateRangePickerProps, DateRangePreset, Datepicker, DaysBodyWrapper, DebouncedInput, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DesignIcon, DollarIcon, DoneButton, Dot, DoubleArrowIcon, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropAreaProps, DropDownContent, Dropdown, DropdownItem, DropdownProps, Dropzone, DropzoneProps, DropzoneTypes, Dropzoned, DropzonedPreviews, EPOIcon, EditIcon, EllipsisIcon, EmptyStateArrowIcon as EmptyStateArrow, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FileUploadIcon, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridItemProps, GridProps, GridRow, GridTable, GridTableContainer, H1$1 as H1, H2$1 as H2, H3, H4, H5$1 as H5, H6, HandleIcon, HeadlessTable, HelpIcon, HistoryIcon, IconButton, IconButtonProps, IconDoc, ImageIcon, Img, InfoIcon, Input, InputDropdown, InputIconLabel, InputIconLabelContainer, InputProps, InputStepper, InputStepperStyled, IntegrationsIcon, InventoryIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCheckboxProps, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledInputProps, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledRadioProps, LabeledSelect, LabeledTextarea, LayersIcon, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MagicEraserIcon, MagicIcon, MailIcon, MarketingStatusIcon, MenuIcon, MergeIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavReportsIcon, NavResourcesIcon, NavSalesIcon, NestedOption, NoteIcon, Number, NumberInput, OpportunityCircleIcon, OrderStatusIcon, Overlay, Padding, Page, Pagination, PanelContact, PanelTileContact, PanelledSelect, PanelledSelectProps, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PopupProps, PresentationCircleIcon, Product, ProductCard, ProductDetail, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, RadioProps, ReceiptLongIcon, RenderChild, ResizableIcon, ResponsiveTable, Row$1 as Row, RowPropTypes, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SelectionTable, SharedStyleTypes, SharedStyles, ShopIcon, ShoppingCartIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableProps, SimpleWindowedTableStyles, SizerCss, SizerTypes, SizerWrapper, SkubotLogo, SkubotSpinner, SlideInIcon, Sparkles, Spinner, StarDarkIcon, StarIcon, StarLightIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, 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, TagIcon, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TaskProps, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TemplateIcon, Text$1 as Text, TextProp, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, ToggleSwitch, ToggleSwitchProps, ToggleSwitchStatedProps, ToggleSwitchStyled, Tooltip, TrashIcon, TrendIcon, Typography, UploadIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, WarnIcon, 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, useValue, useWindowSize };
|