@commonsku/styles 1.17.39 → 1.17.41
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 +22 -12
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles/AddressAutocomplete/utils.d.ts.map +1 -1
- package/dist/styles/AlertNotification.d.ts +1 -1
- package/dist/styles/AlertNotification.d.ts.map +1 -1
- package/dist/styles/Img.d.ts +8 -9
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/InputDropdown.d.ts.map +1 -1
- package/dist/styles/ProductCard.d.ts.map +1 -1
- package/dist/styles/Toggle.d.ts +1 -0
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/ToggleSwitch.d.ts +2 -1
- package/dist/styles/ToggleSwitch.d.ts.map +1 -1
- package/dist/styles/icons/CopyIcon.d.ts +6 -0
- package/dist/styles/icons/CopyIcon.d.ts.map +1 -0
- package/dist/styles/icons/MeetingIcon.d.ts +6 -0
- package/dist/styles/icons/MeetingIcon.d.ts.map +1 -0
- package/dist/styles/icons/PhoneIcon.d.ts +6 -0
- package/dist/styles/icons/PhoneIcon.d.ts.map +1 -0
- package/dist/styles/icons/index.d.ts +3 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -316,15 +316,14 @@ declare const H6: styled_components.StyledComponent<"h6", any, {
|
|
|
316
316
|
} & SharedStyleTypes, never>;
|
|
317
317
|
//# sourceMappingURL=Headings.d.ts.map
|
|
318
318
|
|
|
319
|
-
|
|
320
|
-
src?: string;
|
|
321
|
-
alt?: string;
|
|
322
|
-
max_attempts?: number;
|
|
323
|
-
attempt_interval?: number;
|
|
324
|
-
onRetry?: OnErrorEventHandler;
|
|
325
|
-
onFailed?: OnErrorEventHandler;
|
|
326
|
-
} & React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement
|
|
327
|
-
declare const Img: React__default.ForwardRefExoticComponent<Omit<ImgProps, "ref"> & React__default.RefAttributes<HTMLImageElement>>;
|
|
319
|
+
declare const Img: React__default.ForwardRefExoticComponent<{
|
|
320
|
+
src?: string | undefined;
|
|
321
|
+
alt?: string | undefined;
|
|
322
|
+
max_attempts?: number | undefined;
|
|
323
|
+
attempt_interval?: number | undefined;
|
|
324
|
+
onRetry?: OnErrorEventHandler | undefined;
|
|
325
|
+
onFailed?: OnErrorEventHandler | undefined;
|
|
326
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & React__default.RefAttributes<HTMLImageElement>>;
|
|
328
327
|
//# sourceMappingURL=Img.d.ts.map
|
|
329
328
|
|
|
330
329
|
declare const iconSize: {
|
|
@@ -831,6 +830,7 @@ type ToggleProps = React__default.PropsWithChildren<{
|
|
|
831
830
|
stretch?: boolean;
|
|
832
831
|
onClick?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
833
832
|
size?: ToggleSize$2;
|
|
833
|
+
style?: React__default.CSSProperties;
|
|
834
834
|
} & SharedStyleTypes>;
|
|
835
835
|
declare const Toggle: ({ size, ...props }: ToggleProps) => React__default.JSX.Element;
|
|
836
836
|
|
|
@@ -2354,7 +2354,7 @@ type NotificationExtraContentProps = {
|
|
|
2354
2354
|
linkText?: string;
|
|
2355
2355
|
};
|
|
2356
2356
|
type NotificationIconProps = {
|
|
2357
|
-
alertType?: "neutral" | "success" | "error";
|
|
2357
|
+
alertType?: "neutral" | "success" | "error" | "warn";
|
|
2358
2358
|
};
|
|
2359
2359
|
type AlertNotificationProps = React__default.PropsWithChildren<{
|
|
2360
2360
|
style?: React__default.CSSProperties;
|
|
@@ -2746,6 +2746,12 @@ type PinIconProps = SVGIconProps & {
|
|
|
2746
2746
|
};
|
|
2747
2747
|
declare function PinIcon({ color, size, filled, unpin, pinned, altText, ...props }: PinIconProps): React__default.JSX.Element;
|
|
2748
2748
|
|
|
2749
|
+
type PhoneIconProps = SVGIconProps;
|
|
2750
|
+
declare function PhoneIcon({ color, size, altText, ...props }: PhoneIconProps): React__default.JSX.Element;
|
|
2751
|
+
|
|
2752
|
+
type MeetingIconProps = SVGIconProps;
|
|
2753
|
+
declare function MeetingIcon({ color, size, altText, ...props }: MeetingIconProps): React__default.JSX.Element;
|
|
2754
|
+
|
|
2749
2755
|
type TaskIconProps = SVGIconProps;
|
|
2750
2756
|
declare function TaskIcon({ color, size, altText, ...props }: TaskIconProps): React__default.JSX.Element;
|
|
2751
2757
|
|
|
@@ -3119,6 +3125,9 @@ type CommentBubbleIconProps = {
|
|
|
3119
3125
|
} & SVGIconProps;
|
|
3120
3126
|
declare function CommentBubbleIcon({ color, size, altText, number, numberStyle, ...props }: CommentBubbleIconProps): React__default.JSX.Element;
|
|
3121
3127
|
|
|
3128
|
+
type CopyIconProps = SVGIconProps;
|
|
3129
|
+
declare function CopyIcon({ color, size, altText, ...props }: CopyIconProps): React__default.JSX.Element;
|
|
3130
|
+
|
|
3122
3131
|
type WarnIconProps = SVGIconProps;
|
|
3123
3132
|
declare function WarnIcon({ color, size, altText, ...props }: WarnIconProps): React__default.JSX.Element;
|
|
3124
3133
|
|
|
@@ -3462,13 +3471,14 @@ type CommonProps$1 = {
|
|
|
3462
3471
|
type ToggleSwitchProps = {
|
|
3463
3472
|
onClick?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
3464
3473
|
style?: React__default.CSSProperties;
|
|
3474
|
+
dotStyles?: React__default.CSSProperties;
|
|
3465
3475
|
} & CommonProps$1 & Omit<Omit<Omit<BaseCskuProps, 'hidden'>, 'color'>, 'style'>;
|
|
3466
3476
|
type ToggleSwitchStatedProps = {
|
|
3467
3477
|
initialSelected?: boolean;
|
|
3468
3478
|
style?: React__default.CSSProperties;
|
|
3469
3479
|
onClick?: (value: boolean) => void;
|
|
3470
3480
|
} & Omit<CommonProps$1, 'selected'> & Omit<BaseCskuProps, 'style'>;
|
|
3471
|
-
declare const ToggleSwitchStyled: ({ onClick, size, selected, stretch, style, ...props }: ToggleSwitchProps) => React__default.JSX.Element;
|
|
3481
|
+
declare const ToggleSwitchStyled: ({ onClick, size, selected, stretch, style, dotStyles, ...props }: ToggleSwitchProps) => React__default.JSX.Element;
|
|
3472
3482
|
declare const ToggleSwitch: ({ size, initialSelected, stretch, onClick, ...props }: ToggleSwitchStatedProps) => React__default.JSX.Element;
|
|
3473
3483
|
|
|
3474
3484
|
type GenericObj = {
|
|
@@ -3678,4 +3688,4 @@ type SwitchStatedProps = {
|
|
|
3678
3688
|
declare const SwitchStyled: ({ onClick, size, selected, stretch, style, ...props }: SwitchProps) => React__default.JSX.Element;
|
|
3679
3689
|
declare const Switch: ({ size, initialSelected, stretch, onClick, ...props }: SwitchStatedProps) => React__default.JSX.Element;
|
|
3680
3690
|
|
|
3681
|
-
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, ClearIcon, 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, Switch, SwitchProps, SwitchStatedProps, SwitchStyled, 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$2 as toggleSizes, useCalendar, useClickOutside, useDelayUnmount, useFallbackRef, useLongPress, usePrefersReducedMotion, useRandomInterval, useValue, useWindowSize };
|
|
3691
|
+
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, ClearIcon, 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, CopyIcon, 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, MeetingIcon, 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, PhoneIcon, 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, Switch, SwitchProps, SwitchStatedProps, SwitchStyled, 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$2 as toggleSizes, useCalendar, useClickOutside, useDelayUnmount, useFallbackRef, useLongPress, usePrefersReducedMotion, useRandomInterval, useValue, useWindowSize };
|