@commonsku/styles 1.16.15 → 1.17.0
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.js → index.cjs} +1347 -1311
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +516 -531
- package/dist/{index.es.js → index.mjs} +116 -77
- package/dist/index.mjs.map +1 -0
- package/dist/styles/AlertNotification.d.ts +4 -4
- package/dist/styles/AlertNotification.d.ts.map +1 -1
- package/dist/styles/Artwork.d.ts +2 -2
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Avatar.d.ts +4 -4
- package/dist/styles/Avatar.d.ts.map +1 -1
- package/dist/styles/Backdrop.d.ts +1 -1
- package/dist/styles/Backdrop.d.ts.map +1 -1
- package/dist/styles/Box.d.ts +2 -2
- package/dist/styles/Box.d.ts.map +1 -1
- package/dist/styles/Button.d.ts +7 -7
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CancelButton.d.ts +2 -2
- package/dist/styles/CancelButton.d.ts.map +1 -1
- package/dist/styles/Collapsible.d.ts +9 -9
- package/dist/styles/Collapsible.d.ts.map +1 -1
- package/dist/styles/CollapsibleV2.d.ts +11 -11
- package/dist/styles/CollapsibleV2.d.ts.map +1 -1
- package/dist/styles/ConfirmAlertPopup.d.ts +2 -2
- package/dist/styles/ConfirmAlertPopup.d.ts.map +1 -1
- package/dist/styles/ConfirmPopup.d.ts +3 -3
- package/dist/styles/ConfirmPopup.d.ts.map +1 -1
- package/dist/styles/Csku.d.ts +2 -2
- package/dist/styles/Csku.d.ts.map +1 -1
- package/dist/styles/Datepicker.d.ts +4 -6
- package/dist/styles/Datepicker.d.ts.map +1 -1
- package/dist/styles/DefaultStar.d.ts +2 -2
- package/dist/styles/DefaultStar.d.ts.map +1 -1
- package/dist/styles/DoneButton.d.ts +2 -2
- package/dist/styles/DoneButton.d.ts.map +1 -1
- package/dist/styles/DropArea.d.ts +5 -5
- package/dist/styles/DropArea.d.ts.map +1 -1
- package/dist/styles/Dropdown.d.ts +5 -5
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/Dropzone.d.ts +8 -8
- package/dist/styles/Dropzone.d.ts.map +1 -1
- package/dist/styles/ErrorBoundary.d.ts +3 -3
- package/dist/styles/ErrorBoundary.d.ts.map +1 -1
- package/dist/styles/Feed.d.ts +2 -2
- package/dist/styles/Feed.d.ts.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts +2 -2
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/Grid.d.ts +4 -4
- package/dist/styles/Grid.d.ts.map +1 -1
- package/dist/styles/GridTable.d.ts +7 -7
- package/dist/styles/GridTable.d.ts.map +1 -1
- package/dist/styles/HeadlessTable.d.ts +2 -2
- package/dist/styles/HeadlessTable.d.ts.map +1 -1
- package/dist/styles/IconShowcase.d.ts +5 -5
- package/dist/styles/IconShowcase.d.ts.map +1 -1
- package/dist/styles/Img.d.ts +2 -2
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +7 -7
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/InputStepper.d.ts +4 -4
- package/dist/styles/InputStepper.d.ts.map +1 -1
- package/dist/styles/LightIndicator.d.ts +4 -4
- package/dist/styles/LightIndicator.d.ts.map +1 -1
- package/dist/styles/LinkWithIcon.d.ts +3 -3
- package/dist/styles/LinkWithIcon.d.ts.map +1 -1
- package/dist/styles/MultiProgress.d.ts +4 -4
- package/dist/styles/MultiProgress.d.ts.map +1 -1
- package/dist/styles/NumberInput.d.ts +4 -4
- package/dist/styles/NumberInput.d.ts.map +1 -1
- package/dist/styles/Page.d.ts +1 -1
- package/dist/styles/Page.d.ts.map +1 -1
- package/dist/styles/Popup.d.ts +3 -3
- package/dist/styles/Popup.d.ts.map +1 -1
- package/dist/styles/Product.d.ts +2 -2
- package/dist/styles/Product.d.ts.map +1 -1
- package/dist/styles/Progress.d.ts +3 -3
- package/dist/styles/Progress.d.ts.map +1 -1
- package/dist/styles/RenderChild.d.ts +5 -5
- package/dist/styles/RenderChild.d.ts.map +1 -1
- package/dist/styles/Select.d.ts +37 -13
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/SharedStyles.d.ts +1 -1
- package/dist/styles/SharedStyles.d.ts.map +1 -1
- package/dist/styles/SidePanel.d.ts +5 -5
- package/dist/styles/SidePanel.d.ts.map +1 -1
- package/dist/styles/Sizer.d.ts +4 -4
- package/dist/styles/Sizer.d.ts.map +1 -1
- package/dist/styles/Spinner.d.ts +1 -1
- package/dist/styles/Spinner.d.ts.map +1 -1
- package/dist/styles/StarRating.d.ts +2 -2
- package/dist/styles/StarRating.d.ts.map +1 -1
- package/dist/styles/StateDropdown.d.ts +5 -5
- package/dist/styles/StateDropdown.d.ts.map +1 -1
- package/dist/styles/StatusDropdown.d.ts +3 -3
- package/dist/styles/StatusDropdown.d.ts.map +1 -1
- package/dist/styles/Table.d.ts +2 -2
- package/dist/styles/Table.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts +5 -5
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Task.d.ts +3 -3
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +1 -1
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Textarea.d.ts +2 -2
- package/dist/styles/Textarea.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +1 -1
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Thermometer.d.ts +2 -2
- package/dist/styles/Thermometer.d.ts.map +1 -1
- package/dist/styles/Toggle.d.ts +3 -3
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/ToggleSwitch.d.ts +6 -6
- package/dist/styles/ToggleSwitch.d.ts.map +1 -1
- package/dist/styles/calendar/Calendar.d.ts +3 -3
- package/dist/styles/calendar/Calendar.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDayBody.d.ts +2 -2
- package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDaysBody.d.ts +2 -2
- package/dist/styles/calendar/CalendarDaysBody.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDaysHeader.d.ts +2 -2
- package/dist/styles/calendar/CalendarDaysHeader.d.ts.map +1 -1
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts +2 -2
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts.map +1 -1
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts +1 -1
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts +2 -2
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableTaskBody.d.ts +3 -3
- package/dist/styles/calendar/DraggableTaskBody.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts +2 -2
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/DroppableDays.d.ts +3 -3
- package/dist/styles/calendar/DroppableDays.d.ts.map +1 -1
- package/dist/styles/calendar/DroppableFooter.d.ts +3 -3
- package/dist/styles/calendar/DroppableFooter.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendar.d.ts +2 -2
- package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts +2 -2
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarFooter.d.ts +2 -2
- package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarHeader.d.ts +2 -2
- package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/index.d.ts +0 -5
- package/dist/styles/calendar/index.d.ts.map +1 -1
- package/dist/styles/calendar/styles.d.ts +2 -2
- package/dist/styles/calendar/types.d.ts +8 -8
- package/dist/styles/calendar/types.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 +1 -1
- package/dist/styles/globalStyles.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts +5 -5
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
- package/dist/styles/icons/AddIcon.d.ts +3 -3
- package/dist/styles/icons/AddIcon.d.ts.map +1 -1
- package/dist/styles/icons/AddNoteIcon.d.ts +3 -3
- package/dist/styles/icons/AddNoteIcon.d.ts.map +1 -1
- package/dist/styles/icons/AddShoppingCartIcon.d.ts +3 -3
- package/dist/styles/icons/AddShoppingCartIcon.d.ts.map +1 -1
- package/dist/styles/icons/AddTaskIcon.d.ts +3 -3
- package/dist/styles/icons/AddTaskIcon.d.ts.map +1 -1
- package/dist/styles/icons/AlertIcon.d.ts +3 -3
- package/dist/styles/icons/AlertIcon.d.ts.map +1 -1
- package/dist/styles/icons/ArrowIcon.d.ts +4 -4
- package/dist/styles/icons/ArrowIcon.d.ts.map +1 -1
- package/dist/styles/icons/AwaitingProofIcon.d.ts +3 -3
- package/dist/styles/icons/AwaitingProofIcon.d.ts.map +1 -1
- package/dist/styles/icons/BotIcon.d.ts +3 -3
- package/dist/styles/icons/BotIcon.d.ts.map +1 -1
- package/dist/styles/icons/BulletIcon.d.ts +3 -3
- package/dist/styles/icons/BulletIcon.d.ts.map +1 -1
- package/dist/styles/icons/CalendarIcon.d.ts +3 -3
- package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChangeRequestedIcon.d.ts +3 -3
- package/dist/styles/icons/ChangeRequestedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChatIcon.d.ts +1 -1
- package/dist/styles/icons/ChatIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckboxIcon.d.ts +4 -4
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckmarkIcon.d.ts +3 -3
- package/dist/styles/icons/CheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChevronIcon.d.ts +4 -4
- package/dist/styles/icons/ChevronIcon.d.ts.map +1 -1
- package/dist/styles/icons/CircleProgressIcon.d.ts +2 -2
- package/dist/styles/icons/CircleProgressIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClientApprovedIcon.d.ts +3 -3
- package/dist/styles/icons/ClientApprovedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClipboardIcon.d.ts +3 -3
- package/dist/styles/icons/ClipboardIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClockIcon.d.ts +3 -3
- package/dist/styles/icons/ClockIcon.d.ts.map +1 -1
- package/dist/styles/icons/CollaborateIcon.d.ts +3 -3
- package/dist/styles/icons/CollaborateIcon.d.ts.map +1 -1
- package/dist/styles/icons/ColumnSelectIcon.d.ts +3 -3
- package/dist/styles/icons/ColumnSelectIcon.d.ts.map +1 -1
- package/dist/styles/icons/CommentIcon.d.ts +3 -3
- package/dist/styles/icons/CommentIcon.d.ts.map +1 -1
- package/dist/styles/icons/CommunityIcon.d.ts +3 -3
- package/dist/styles/icons/CommunityIcon.d.ts.map +1 -1
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts +3 -3
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/ConnectedIcon.d.ts +3 -3
- package/dist/styles/icons/ConnectedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ConnectedPlusIcon.d.ts +3 -3
- package/dist/styles/icons/ConnectedPlusIcon.d.ts.map +1 -1
- package/dist/styles/icons/CouponIcon.d.ts +3 -3
- package/dist/styles/icons/CouponIcon.d.ts.map +1 -1
- package/dist/styles/icons/CreditCardIcon.d.ts +3 -3
- package/dist/styles/icons/CreditCardIcon.d.ts.map +1 -1
- package/dist/styles/icons/DollarIcon.d.ts +3 -3
- package/dist/styles/icons/DollarIcon.d.ts.map +1 -1
- package/dist/styles/icons/DoubleArrowIcon.d.ts +4 -4
- package/dist/styles/icons/DoubleArrowIcon.d.ts.map +1 -1
- package/dist/styles/icons/DownloadIcon.d.ts +3 -3
- package/dist/styles/icons/DownloadIcon.d.ts.map +1 -1
- package/dist/styles/icons/DragIcon.d.ts +3 -3
- package/dist/styles/icons/DragIcon.d.ts.map +1 -1
- package/dist/styles/icons/EPOIcon.d.ts +3 -3
- package/dist/styles/icons/EPOIcon.d.ts.map +1 -1
- package/dist/styles/icons/EditIcon.d.ts +3 -3
- package/dist/styles/icons/EditIcon.d.ts.map +1 -1
- package/dist/styles/icons/EllipsisIcon.d.ts +3 -3
- package/dist/styles/icons/EllipsisIcon.d.ts.map +1 -1
- package/dist/styles/icons/EpsIcon.d.ts +3 -3
- package/dist/styles/icons/EpsIcon.d.ts.map +1 -1
- package/dist/styles/icons/EstimateCircleIcon.d.ts +4 -4
- package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/EyeIcon.d.ts +3 -3
- package/dist/styles/icons/EyeIcon.d.ts.map +1 -1
- package/dist/styles/icons/FileIcon.d.ts +2 -2
- package/dist/styles/icons/FileIcon.d.ts.map +1 -1
- package/dist/styles/icons/FileUploadIcon.d.ts +3 -3
- package/dist/styles/icons/FileUploadIcon.d.ts.map +1 -1
- package/dist/styles/icons/FilledChevronIcon.d.ts +4 -4
- package/dist/styles/icons/FilledChevronIcon.d.ts.map +1 -1
- package/dist/styles/icons/FolderIcon.d.ts +3 -3
- package/dist/styles/icons/FolderIcon.d.ts.map +1 -1
- package/dist/styles/icons/GalleryIcon.d.ts +3 -3
- package/dist/styles/icons/GalleryIcon.d.ts.map +1 -1
- package/dist/styles/icons/GearIcon.d.ts +3 -3
- package/dist/styles/icons/GearIcon.d.ts.map +1 -1
- package/dist/styles/icons/GridIcon.d.ts +3 -3
- package/dist/styles/icons/GridIcon.d.ts.map +1 -1
- package/dist/styles/icons/HandleIcon.d.ts +3 -3
- package/dist/styles/icons/HandleIcon.d.ts.map +1 -1
- package/dist/styles/icons/HelpIcon.d.ts +3 -3
- package/dist/styles/icons/HelpIcon.d.ts.map +1 -1
- package/dist/styles/icons/HistoryIcon.d.ts +3 -3
- package/dist/styles/icons/HistoryIcon.d.ts.map +1 -1
- package/dist/styles/icons/ImageIcon.d.ts +3 -3
- package/dist/styles/icons/ImageIcon.d.ts.map +1 -1
- package/dist/styles/icons/InfoIcon.d.ts +3 -3
- package/dist/styles/icons/InfoIcon.d.ts.map +1 -1
- package/dist/styles/icons/IntegrationsIcon.d.ts +3 -3
- package/dist/styles/icons/IntegrationsIcon.d.ts.map +1 -1
- package/dist/styles/icons/InventoryIcon.d.ts +3 -3
- package/dist/styles/icons/InventoryIcon.d.ts.map +1 -1
- package/dist/styles/icons/ListIcon.d.ts +3 -3
- package/dist/styles/icons/ListIcon.d.ts.map +1 -1
- package/dist/styles/icons/Loading.d.ts +2 -2
- package/dist/styles/icons/Loading.d.ts.map +1 -1
- package/dist/styles/icons/LockIcon.d.ts +3 -3
- package/dist/styles/icons/LockIcon.d.ts.map +1 -1
- package/dist/styles/icons/MagicEraserIcon.d.ts +9 -0
- package/dist/styles/icons/MagicEraserIcon.d.ts.map +1 -0
- package/dist/styles/icons/MagicIcon.d.ts +9 -0
- package/dist/styles/icons/MagicIcon.d.ts.map +1 -0
- package/dist/styles/icons/MailIcon.d.ts +3 -3
- package/dist/styles/icons/MailIcon.d.ts.map +1 -1
- package/dist/styles/icons/MarketingStatusIcon.d.ts +3 -3
- package/dist/styles/icons/MarketingStatusIcon.d.ts.map +1 -1
- package/dist/styles/icons/MenuIcon.d.ts +3 -3
- package/dist/styles/icons/MenuIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavConnectIcon.d.ts +3 -3
- package/dist/styles/icons/NavConnectIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavFinanceIcon.d.ts +3 -3
- package/dist/styles/icons/NavFinanceIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavManagementIcon.d.ts +3 -3
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavProdIcon.d.ts +3 -3
- package/dist/styles/icons/NavProdIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavResourcesIcon.d.ts +3 -3
- package/dist/styles/icons/NavResourcesIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavSalesIcon.d.ts +3 -3
- package/dist/styles/icons/NavSalesIcon.d.ts.map +1 -1
- package/dist/styles/icons/NoteIcon.d.ts +3 -3
- package/dist/styles/icons/NoteIcon.d.ts.map +1 -1
- package/dist/styles/icons/OpportunityCircleIcon.d.ts +4 -4
- package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/OrderStatusIcon.d.ts +3 -3
- package/dist/styles/icons/OrderStatusIcon.d.ts.map +1 -1
- package/dist/styles/icons/PendingApprovalIcon.d.ts +3 -3
- package/dist/styles/icons/PendingApprovalIcon.d.ts.map +1 -1
- package/dist/styles/icons/PercentIcon.d.ts +3 -3
- package/dist/styles/icons/PercentIcon.d.ts.map +1 -1
- package/dist/styles/icons/PinIcon.d.ts +3 -3
- package/dist/styles/icons/PinIcon.d.ts.map +1 -1
- package/dist/styles/icons/PresentationCircleIcon.d.ts +4 -4
- package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/PromostandardsIcon.d.ts +3 -3
- package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -1
- package/dist/styles/icons/ProofReceivedIcon.d.ts +3 -3
- package/dist/styles/icons/ProofReceivedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ProofingCompleteIcon.d.ts +3 -3
- package/dist/styles/icons/ProofingCompleteIcon.d.ts.map +1 -1
- package/dist/styles/icons/RadioIcon.d.ts +3 -3
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -1
- package/dist/styles/icons/ReceiptLongIcon.d.ts +3 -3
- package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -1
- package/dist/styles/icons/SalesArrowIcon.d.ts +4 -4
- package/dist/styles/icons/SalesArrowIcon.d.ts.map +1 -1
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts +4 -4
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/SearchIcon.d.ts +3 -3
- package/dist/styles/icons/SearchIcon.d.ts.map +1 -1
- package/dist/styles/icons/ShopIcon.d.ts +3 -3
- package/dist/styles/icons/ShopIcon.d.ts.map +1 -1
- package/dist/styles/icons/ShoppingCartIcon.d.ts +3 -3
- package/dist/styles/icons/ShoppingCartIcon.d.ts.map +1 -1
- package/dist/styles/icons/SlideInIcon.d.ts +9 -0
- package/dist/styles/icons/SlideInIcon.d.ts.map +1 -0
- package/dist/styles/icons/StarDarkIcon.d.ts +3 -3
- package/dist/styles/icons/StarDarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/StarIcon.d.ts +3 -3
- package/dist/styles/icons/StarIcon.d.ts.map +1 -1
- package/dist/styles/icons/StarLightIcon.d.ts +3 -3
- package/dist/styles/icons/StarLightIcon.d.ts.map +1 -1
- package/dist/styles/icons/SubtractIcon.d.ts +3 -3
- package/dist/styles/icons/SubtractIcon.d.ts.map +1 -1
- package/dist/styles/icons/SvgIcon.d.ts +4 -4
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -1
- package/dist/styles/icons/TableIcon.d.ts +3 -3
- package/dist/styles/icons/TableIcon.d.ts.map +1 -1
- package/dist/styles/icons/TargetIcon.d.ts +3 -3
- package/dist/styles/icons/TargetIcon.d.ts.map +1 -1
- package/dist/styles/icons/TaskIcon.d.ts +3 -3
- package/dist/styles/icons/TaskIcon.d.ts.map +1 -1
- package/dist/styles/icons/TemplateIcon.d.ts +3 -3
- package/dist/styles/icons/TemplateIcon.d.ts.map +1 -1
- package/dist/styles/icons/TilesIcon.d.ts +3 -3
- package/dist/styles/icons/TilesIcon.d.ts.map +1 -1
- package/dist/styles/icons/TrashIcon.d.ts +3 -3
- package/dist/styles/icons/TrashIcon.d.ts.map +1 -1
- package/dist/styles/icons/TrendIcon.d.ts +9 -0
- package/dist/styles/icons/TrendIcon.d.ts.map +1 -0
- package/dist/styles/icons/UploadIcon.d.ts +3 -3
- package/dist/styles/icons/UploadIcon.d.ts.map +1 -1
- package/dist/styles/icons/UserIcon.d.ts +3 -3
- package/dist/styles/icons/UserIcon.d.ts.map +1 -1
- package/dist/styles/icons/UsersIcon.d.ts +3 -3
- package/dist/styles/icons/UsersIcon.d.ts.map +1 -1
- package/dist/styles/icons/XIcon.d.ts +3 -3
- package/dist/styles/icons/XIcon.d.ts.map +1 -1
- package/dist/styles/icons/index.d.ts +4 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SimpleWindowedTable.d.ts +2 -2
- package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts +2 -2
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -1
- package/dist/utils/sizes.d.ts +1 -1
- package/dist/utils/sizes.d.ts.map +1 -1
- package/dist/utils/styled.d.ts +1 -1
- package/dist/utils/styled.d.ts.map +1 -1
- package/package.json +51 -54
- package/dist/index.es.js.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _, { map, pick, keys, isUndefined, get, uniqueId, assign, range as range$1, isEmpty, tail, toNumber, isString, filter, partial, debounce } from 'lodash';
|
|
2
2
|
import styled, { css, createGlobalStyle, ThemeProvider, keyframes } from 'styled-components';
|
|
3
|
-
import React, { useMemo, Fragment, useState, useEffect, useRef, useCallback, useImperativeHandle, Component, createContext, memo,
|
|
3
|
+
import React, { useMemo, Fragment, useState, useEffect, useRef, useCallback, useImperativeHandle, Component, forwardRef, createContext, memo, useLayoutEffect } from 'react';
|
|
4
4
|
import { useDropzone } from 'react-dropzone';
|
|
5
5
|
import BaseSelect from 'react-select';
|
|
6
6
|
export { components, createFilter, mergeStyles } from 'react-select';
|
|
@@ -8,12 +8,12 @@ import BaseCreatableSelect from 'react-select/creatable';
|
|
|
8
8
|
import BaseAsyncSelect from 'react-select/async';
|
|
9
9
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
11
|
-
import { getWeek, addDays, subWeeks, addWeeks, getMonth, getYear, isSameDay, subMonths, addMonths, format, startOfWeek,
|
|
12
|
-
import
|
|
11
|
+
import { getWeek, addDays, subWeeks, addWeeks, getMonth, getYear, isSameDay, subMonths, addMonths, format, startOfWeek, lastDayOfWeek, isDate } from 'date-fns';
|
|
12
|
+
import ReactDatePicker from 'react-datepicker';
|
|
13
13
|
import { useTable, useSortBy, usePagination, useColumnOrder, useBlockLayout, useFlexLayout, useExpanded } from 'react-table';
|
|
14
14
|
import { useSticky } from 'react-table-sticky';
|
|
15
15
|
import { areEqual, FixedSizeList, VariableSizeList } from 'react-window';
|
|
16
|
-
import * as
|
|
16
|
+
import * as require$$0 from 'react-is';
|
|
17
17
|
|
|
18
18
|
/******************************************************************************
|
|
19
19
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1190,7 +1190,7 @@ function GearIcon(_a) {
|
|
|
1190
1190
|
React.createElement("path", { d: renderPath, fill: color }));
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
var 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 @media only screen and (min-height: 600px) and (max-height: 800px ) {\n .react-datepicker__month {\n overflow-y: scroll !important;\n height: 15vh !important;\n }\n }\n @media only screen and (max-height: 599px ) {\n .react-datepicker__month {\n overflow-y: scroll !important;\n height: 5vh !important;\n }\n }\n}\n";
|
|
1193
|
+
var 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__time-container {\n margin-top: -2px;\n border-top-left-radius: 0px;\n border-right: 2px solid var(--color-primary1-60);\n border-bottom: 2px solid var(--color-primary1-60);\n border-top: 2px solid var(--color-primary1-60);\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 @media only screen and (min-height: 600px) and (max-height: 800px ) {\n .react-datepicker__month {\n overflow-y: scroll !important;\n height: 15vh !important;\n }\n }\n @media only screen and (max-height: 599px ) {\n .react-datepicker__month {\n overflow-y: scroll !important;\n height: 5vh !important;\n }\n\n .react-datepicker__time-container {\n margin-top: -2px;\n border-top-left-radius: 0px;\n border-right: 2px solid var(--color-primary1-60);\n border-bottom: 2px solid var(--color-primary1-60);\n border-top: 2px solid var(--color-primary1-60);\n }\n }\n}\n";
|
|
1194
1194
|
|
|
1195
1195
|
var parseColorVars = function (colors, prefix) {
|
|
1196
1196
|
if (prefix === void 0) { prefix = ''; }
|
|
@@ -2730,6 +2730,43 @@ function StarDarkIcon(_a) {
|
|
|
2730
2730
|
React.createElement("path", { d: "M816.161,1280.05C816.87,1278.39 818.503,1277.31 820.31,1277.31C822.117,1277.31 823.75,1278.39 824.459,1280.05L844.406,1326.83L895.064,1331.35C896.864,1331.51 898.395,1332.73 898.954,1334.44C899.512,1336.16 898.991,1338.05 897.628,1339.24L859.299,1372.67L870.66,1422.24C871.064,1424 870.377,1425.83 868.914,1426.9C867.452,1427.96 865.497,1428.05 863.946,1427.12L820.31,1400.99L776.674,1427.12C775.123,1428.05 773.168,1427.96 771.706,1426.9C770.243,1425.83 769.556,1424 769.96,1422.24L781.321,1372.67L742.992,1339.24C741.629,1338.05 741.108,1336.16 741.666,1334.44C742.225,1332.73 743.756,1331.51 745.556,1331.35L796.214,1326.83L816.161,1280.05Z", style: { fill: 'rgb(18,57,82)' } }))))));
|
|
2731
2731
|
}
|
|
2732
2732
|
|
|
2733
|
+
function MagicIcon(_a) {
|
|
2734
|
+
var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c; _a.hover; _a.filled; var _f = _a.altText, altText = _f === void 0 ? "AI" : _f, props = __rest(_a, ["color", "size", "hover", "filled", "altText"]);
|
|
2735
|
+
return React.createElement(SVG$1, __assign({ size: size, "aria-labelledby": "MagicIcon" }, props),
|
|
2736
|
+
React.createElement("title", { id: "MagicIcon" }, altText),
|
|
2737
|
+
React.createElement("path", { d: "M19 9L20.25 6.25L23 5L20.25 3.75L19 1L17.75 3.75L15 5L17.75 6.25L19 9Z", fill: color }),
|
|
2738
|
+
React.createElement("path", { d: "M19 15L17.75 17.75L15 19L17.75 20.25L19 23L20.25 20.25L23 19L20.25 17.75L19 15Z", fill: color }),
|
|
2739
|
+
React.createElement("path", { d: "M11.5 9.5L9 4L6.5 9.5L1 12L6.5 14.5L9 20L11.5 14.5L17 12L11.5 9.5ZM9.99 12.99L9 15.17L8.01 12.99L5.83 12L8.01 11.01L9 8.83L9.99 11.01L12.17 12L9.99 12.99Z", fill: color }));
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
function MagicEraserIcon(_a) {
|
|
2743
|
+
var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c; _a.hover; _a.filled; var _f = _a.altText, altText = _f === void 0 ? "AI Eraser" : _f, props = __rest(_a, ["color", "size", "hover", "filled", "altText"]);
|
|
2744
|
+
return React.createElement(SVG$1, __assign({ size: size, "aria-labelledby": "MagicEraserIcon" }, props),
|
|
2745
|
+
React.createElement("title", { id: "MagicEraserIcon" }, altText),
|
|
2746
|
+
React.createElement("path", { d: "M20.4214 6.40604L21.3574 4.3783L23.4088 3.45302L21.3574 2.52774L20.4214 0.5L19.4853 2.52774L17.4339 3.45302L19.4853 4.3783L20.4214 6.40604Z", fill: color }),
|
|
2747
|
+
React.createElement("path", { d: "M8.96951 6.40604L9.90558 4.3783L11.957 3.45302L9.90558 2.52774L8.96951 0.5L8.03345 2.52774L5.98207 3.45302L8.03345 4.3783L8.96951 6.40604Z", fill: color }),
|
|
2748
|
+
React.createElement("path", { d: "M20.4214 11.8199L19.4853 13.8477L17.4339 14.7729L19.4853 15.6982L20.4214 17.7259L21.3574 15.6982L23.4088 14.7729L21.3574 13.8477L20.4214 11.8199Z", fill: color }),
|
|
2749
|
+
React.createElement("path", { d: "M19.4853 9.8217L14.2374 4.62438C14.0382 4.43736 13.7892 4.33893 13.5303 4.33893C13.2714 4.33893 13.0225 4.43736 12.8233 4.62438L1.70006 15.6195C1.31169 16.0034 1.31169 16.6235 1.70006 17.0074L6.94801 22.2047C7.14717 22.4016 7.39613 22.5 7.65504 22.5C7.91395 22.5 8.1629 22.4016 8.36207 22.2145L19.4853 11.2195C19.8737 10.8356 19.8737 10.2056 19.4853 9.8217ZM13.5303 6.72103L17.3642 10.5206L14.9344 12.8928L11.1005 9.09329L13.5303 6.72103ZM7.65504 20.1277L3.82114 16.3282L9.69643 10.4812L13.5303 14.2808L7.65504 20.1277Z", fill: color }));
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
function TrendIcon(_a) {
|
|
2753
|
+
var _b = _a.size, size = _b === void 0 ? "medium" : _b, _c = _a.direction, direction = _c === void 0 ? "up" : _c, _d = _a.altText, altText = _d === void 0 ? "Trend Direction" : _d, props = __rest(_a, ["size", "direction", "altText"]);
|
|
2754
|
+
return React.createElement(SVG$1, __assign({ size: size, "aria-labelledby": "Trend" }, props),
|
|
2755
|
+
React.createElement("title", { id: "Trend" }, altText),
|
|
2756
|
+
{
|
|
2757
|
+
'up': React.createElement("path", { d: "M16 6L18.29 8.29L13.41 13.17L9.41 9.17L2 16.59L3.41 18L9.41 12L13.41 16L19.71 9.71L22 12V6H16Z", fill: green['60'] }),
|
|
2758
|
+
'down': React.createElement("path", { d: "M16 18L18.29 15.71L13.41 10.83L9.41 14.83L2 7.41L3.41 6L9.41 12L13.41 8L19.71 14.29L22 12V18H16Z", fill: errors['60'] }),
|
|
2759
|
+
'flat': React.createElement("path", { d: "M21.5 12L17.5 8V11H2.5V13H17.5V16L21.5 12Z", fill: neutrals['60'] })
|
|
2760
|
+
}[direction]);
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
function SlideInIcon(_a) {
|
|
2764
|
+
var _b = _a.color, color = _b === void 0 ? teal.main : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c; _a.hover; _a.filled; var _f = _a.altText, altText = _f === void 0 ? "Open panel" : _f, props = __rest(_a, ["color", "size", "hover", "filled", "altText"]);
|
|
2765
|
+
return React.createElement(SVG$1, __assign({ size: size, "aria-labelledby": "SlideInIcon" }, props),
|
|
2766
|
+
React.createElement("title", { id: "SlideInIcon" }, altText),
|
|
2767
|
+
React.createElement("path", { d: "M3 20.99L21 20.99C22.1 20.99 23 20.09 23 18.99L23 15L21 15L21 19.01L3 19.01L3 4.97999L21 4.97999L21 8.99999L23 8.99999L23 4.98999C23 3.88999 22.1 3.00999 21 3.00999L3 3.00999C1.9 3.00999 1 3.88999 1 4.98999L1 18.99C1 20.1 1.9 20.99 3 20.99ZM13 7.99999L9 12L13 16L13 13L23 13L23 11L13 11L13 7.99999ZM3 20.99L21 20.99C22.1 20.99 23 20.09 23 18.99L23 15L21 15L21 19.01L3 19.01L3 4.97999L21 4.97999L21 8.99999L23 8.99999L23 4.98999C23 3.88999 22.1 3.00999 21 3.00999L3 3.00999C1.9 3.00999 1 3.88999 1 4.98999L1 18.99C1 20.1 1.9 20.99 3 20.99ZM13 7.99999L9 12L13 16L13 13L23 13L23 11L13 11L13 7.99999Z", fill: color }));
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2733
2770
|
var avatarSizes = {
|
|
2734
2771
|
tiny: {
|
|
2735
2772
|
size: '24px',
|
|
@@ -4924,16 +4961,18 @@ var ErrorBoundary = /** @class */ (function (_super) {
|
|
|
4924
4961
|
}(Component));
|
|
4925
4962
|
var templateObject_1$p, templateObject_2$c, templateObject_3$7, templateObject_4$3;
|
|
4926
4963
|
|
|
4927
|
-
var CustomDateInput =
|
|
4964
|
+
var CustomDateInput = forwardRef(function (_a, ref) {
|
|
4928
4965
|
var error = _a.error, noMargin = _a.noMargin, onClick = _a.onClick, isClearable = _a.isClearable, props = __rest(_a, ["error", "noMargin", "onClick", "isClearable"]);
|
|
4929
4966
|
return (React.createElement(React.Fragment, null,
|
|
4930
|
-
React.createElement(Input, __assign({ ref: ref, noMargin: noMargin, error: error, style: { marginRight: '2rem', display: 'inline-block' },
|
|
4967
|
+
React.createElement(Input, __assign({ ref: ref, noMargin: noMargin, error: error, style: { marginRight: '2rem', display: 'inline-block' }, type: "text", autoComplete: "off" }, props)),
|
|
4931
4968
|
React.createElement("span", { style: { fontStyle: 'normal', cursor: 'pointer', position: 'absolute', top: '8px', right: '5px' }, onClick: onClick }, !isClearable ? React.createElement(CalendarIcon, { style: { width: '1.9rem', verticalAlign: 'middle', } }) : null)));
|
|
4932
4969
|
});
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4970
|
+
// @ts-ignore
|
|
4971
|
+
var ReactDatePickerComponent = ReactDatePicker.default || ReactDatePicker;
|
|
4972
|
+
var Datepicker = function (_a) {
|
|
4973
|
+
var error = _a.error, value = _a.value, customInput = _a.customInput, _b = _a.locale, locale = _b === void 0 ? 'en' : _b, _c = _a.todayButton, todayButton = _c === void 0 ? 'Today' : _c, placeholder = _a.placeholder, placeholderText = _a.placeholderText, _d = _a.dateFormat, dateFormat = _d === void 0 ? 'yyyy-MM-dd' : _d, _e = _a.isClearable, isClearable = _e === void 0 ? false : _e, _f = _a.peekNextMonth, peekNextMonth = _f === void 0 ? true : _f, _g = _a.showMonthDropdown, showMonthDropdown = _g === void 0 ? true : _g, _h = _a.showYearDropdown, showYearDropdown = _h === void 0 ? true : _h, _j = _a.showPopperArrow, showPopperArrow = _j === void 0 ? false : _j, _k = _a.dropdownMode, dropdownMode = _k === void 0 ? "select" : _k, _l = _a.nextMonthButtonLabel, nextMonthButtonLabel = _l === void 0 ? "" : _l, _m = _a.nextYearButtonLabel, nextYearButtonLabel = _m === void 0 ? "" : _m, _o = _a.previousMonthButtonLabel, previousMonthButtonLabel = _o === void 0 ? "" : _o, _p = _a.previousYearButtonLabel, previousYearButtonLabel = _p === void 0 ? "" : _p, popperClassName = _a.popperClassName, wrapperClassName = _a.wrapperClassName, props = __rest(_a, ["error", "value", "customInput", "locale", "todayButton", "placeholder", "placeholderText", "dateFormat", "isClearable", "peekNextMonth", "showMonthDropdown", "showYearDropdown", "showPopperArrow", "dropdownMode", "nextMonthButtonLabel", "nextYearButtonLabel", "previousMonthButtonLabel", "previousYearButtonLabel", "popperClassName", "wrapperClassName"]);
|
|
4974
|
+
return (React.createElement(ReactDatePickerComponent, __assign({ locale: locale, selected: value || props.selected, todayButton: todayButton, customInput: customInput || React.createElement(CustomDateInput, { noMargin: true, error: error, isClearable: isClearable }), dateFormat: dateFormat, placeholderText: placeholder || placeholderText || 'yyyy-MM-dd', isClearable: isClearable, showMonthDropdown: showMonthDropdown, showYearDropdown: showYearDropdown, nextMonthButtonLabel: nextMonthButtonLabel, nextYearButtonLabel: nextYearButtonLabel, previousMonthButtonLabel: previousMonthButtonLabel, previousYearButtonLabel: previousYearButtonLabel, dropdownMode: dropdownMode, peekNextMonth: peekNextMonth, popperClassName: "commonsku-styles-datepicker ".concat(popperClassName || ''), wrapperClassName: "commonsku-styles-datepicker ".concat(wrapperClassName || ''), showPopperArrow: showPopperArrow }, props)));
|
|
4975
|
+
};
|
|
4937
4976
|
|
|
4938
4977
|
var StyledDropdown$2 = styled.div(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n&&& {\n position: relative;\n display: inline-block;\n}\n"], ["\n&&& {\n position: relative;\n display: inline-block;\n}\n"])));
|
|
4939
4978
|
var DropdownItem$2 = styled.div(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n&&& {\n color: ", ";\n padding: 8px 8px;\n text-decoration: none;\n display: block;\n ", "\n :last-child {\n border-bottom: none;\n }\n\n &:hover {\n background-color: ", ";\n border-radius: 5px;\n cursor: pointer;\n }\n}\n"], ["\n&&& {\n color: ", ";\n padding: 8px 8px;\n text-decoration: none;\n display: block;\n ", "\n :last-child {\n border-bottom: none;\n }\n\n &:hover {\n background-color: ", ";\n border-radius: 5px;\n cursor: pointer;\n }\n}\n"])), function (p) { return getColor$1('primary'); }, function (p) { return p.underlined &&
|
|
@@ -6350,7 +6389,7 @@ var AlertNotification = function (_a) {
|
|
|
6350
6389
|
};
|
|
6351
6390
|
var templateObject_1$c;
|
|
6352
6391
|
|
|
6353
|
-
var RenderChild = function (_a) {
|
|
6392
|
+
var RenderChild = React.forwardRef(function (_a, ref) {
|
|
6354
6393
|
var children = _a.children, parseProps = _a.parseProps, props = __rest(_a, ["children", "parseProps"]);
|
|
6355
6394
|
var ChildElement = React.Children.only(children);
|
|
6356
6395
|
var elementProps = useMemo(function () {
|
|
@@ -6361,8 +6400,8 @@ var RenderChild = function (_a) {
|
|
|
6361
6400
|
|| ChildElement === null) {
|
|
6362
6401
|
return props;
|
|
6363
6402
|
}
|
|
6364
|
-
return parseProps ? parseProps(props, ChildElement) : props;
|
|
6365
|
-
}, [parseProps, props, ChildElement]);
|
|
6403
|
+
return __assign(__assign({}, (parseProps ? parseProps(props, ChildElement) : props)), { ref: ref });
|
|
6404
|
+
}, [parseProps, props, ChildElement, ref]);
|
|
6366
6405
|
if (typeof ChildElement === 'string'
|
|
6367
6406
|
|| typeof ChildElement === 'number'
|
|
6368
6407
|
|| typeof ChildElement === 'boolean'
|
|
@@ -6370,11 +6409,11 @@ var RenderChild = function (_a) {
|
|
|
6370
6409
|
|| ChildElement === null) {
|
|
6371
6410
|
return (React.createElement(React.Fragment, null, ChildElement));
|
|
6372
6411
|
}
|
|
6373
|
-
if (
|
|
6412
|
+
if (require$$0.isElement(ChildElement)) {
|
|
6374
6413
|
return React.cloneElement(ChildElement, elementProps);
|
|
6375
6414
|
}
|
|
6376
|
-
return (React.createElement(ChildElement, __assign({}, elementProps)));
|
|
6377
|
-
};
|
|
6415
|
+
return (React.createElement(ChildElement, __assign({}, elementProps, { ref: ref })));
|
|
6416
|
+
});
|
|
6378
6417
|
|
|
6379
6418
|
function useNumberInput(props) {
|
|
6380
6419
|
var _a = props.defaultValue, defaultValue = _a === void 0 ? "" : _a, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, inputMode = props.inputMode, _b = props.localeOptions, localeOptions = _b === void 0 ? {} : _b;
|
|
@@ -7091,6 +7130,58 @@ var TasksCalendarDayBody = function (_a) {
|
|
|
7091
7130
|
React.createElement(CalendarTask, __assign({}, t, { date: undefined })))); })));
|
|
7092
7131
|
};
|
|
7093
7132
|
|
|
7133
|
+
var TasksCalendarFooter = function (_a) {
|
|
7134
|
+
var currentWeek = _a.currentWeek, _b = _a.tasks, tasks = _b === void 0 ? [] : _b;
|
|
7135
|
+
return (React.createElement(HeaderWrapper, null,
|
|
7136
|
+
React.createElement(Col, { start: true, xs: true },
|
|
7137
|
+
React.createElement("span", { style: { display: 'inline-flex' } }, "Overdue: "),
|
|
7138
|
+
React.createElement("span", { style: { display: 'inline-flex' } },
|
|
7139
|
+
React.createElement(Row, null, tasks
|
|
7140
|
+
/* eslint-disable eqeqeq */
|
|
7141
|
+
.filter(function (t) { return t.date ? currentWeek == getWeek(t.date) : true; })
|
|
7142
|
+
.map(function (t) { return (React.createElement(Col, { xs: true, md: 3, padded: true },
|
|
7143
|
+
React.createElement(CalendarTask, __assign({}, t, { date: undefined })))); }))))));
|
|
7144
|
+
};
|
|
7145
|
+
|
|
7146
|
+
var Calendar = function (_a) {
|
|
7147
|
+
var _b = _a.components, components = _b === void 0 ? {} : _b, extraProps = _a.extraProps, props = __rest(_a, ["components", "extraProps"]);
|
|
7148
|
+
var _c = useCalendar({}), currentMonth = _c.currentMonth, currentWeek = _c.currentWeek, selectedDate = _c.selectedDate, onNextWeek = _c.onNextWeek, onPrevWeek = _c.onPrevWeek, onNextMonth = _c.onNextMonth, onPrevMonth = _c.onPrevMonth, onClickDay = _c.onClickDay;
|
|
7149
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7150
|
+
var _d = useState(getDatesBetween(startOfWeek(currentMonth, { weekStartsOn: 1 }), lastDayOfWeek(currentMonth, { weekStartsOn: 1 })).map(function (day, i) { return ({ __id__: "day-".concat(getWeek(day), "-").concat(i), day: day, }); })), days = _d[0]; _d[1];
|
|
7151
|
+
var headerProps = {
|
|
7152
|
+
onNextWeek: onNextWeek,
|
|
7153
|
+
onPrevWeek: onPrevWeek,
|
|
7154
|
+
onNextMonth: onNextMonth,
|
|
7155
|
+
onPrevMonth: onPrevMonth,
|
|
7156
|
+
currentMonth: currentMonth,
|
|
7157
|
+
currentWeek: currentWeek,
|
|
7158
|
+
selectedDate: selectedDate,
|
|
7159
|
+
};
|
|
7160
|
+
var renderHeader = function () {
|
|
7161
|
+
if (props.showHeader === false) {
|
|
7162
|
+
return;
|
|
7163
|
+
}
|
|
7164
|
+
if (components.Header) {
|
|
7165
|
+
return React.createElement(components.Header, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.header));
|
|
7166
|
+
}
|
|
7167
|
+
return (React.createElement(DefaultCalendarHeader, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.header)));
|
|
7168
|
+
};
|
|
7169
|
+
var renderFooter = function () {
|
|
7170
|
+
if (props.showFooter === false) {
|
|
7171
|
+
return;
|
|
7172
|
+
}
|
|
7173
|
+
if (components.Footer) {
|
|
7174
|
+
return React.createElement(components.Footer, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.footer));
|
|
7175
|
+
}
|
|
7176
|
+
return React.createElement(DefaultCalendarFooter, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.footer));
|
|
7177
|
+
};
|
|
7178
|
+
return (React.createElement(CalendarWrapper, null,
|
|
7179
|
+
React.createElement(CalendarDaysHeader, { currentMonth: currentMonth, selectedDate: selectedDate, weekendsCheckbox: React.createElement("div", null), weekend: true }),
|
|
7180
|
+
renderHeader(),
|
|
7181
|
+
React.createElement(CalendarDaysBody, { currentMonth: currentMonth, selectedDate: selectedDate, onClickDay: onClickDay, dayBodyProps: extraProps === null || extraProps === void 0 ? void 0 : extraProps.dayBody, components: { DayBody: components === null || components === void 0 ? void 0 : components.DayBody, }, days: days }),
|
|
7182
|
+
renderFooter()));
|
|
7183
|
+
};
|
|
7184
|
+
|
|
7094
7185
|
var WeekNav = styled(Text)(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: inline-block;\n padding: 0;\n"], ["\n display: inline-block;\n padding: 0;\n"])));
|
|
7095
7186
|
var CalendarIconDatePicker = React.forwardRef(function (_a, ref) {
|
|
7096
7187
|
_a.value; var onClick = _a.onClick;
|
|
@@ -7166,58 +7257,6 @@ var TasksCalendarHeader = function (_a) {
|
|
|
7166
7257
|
};
|
|
7167
7258
|
var templateObject_1$2;
|
|
7168
7259
|
|
|
7169
|
-
var TasksCalendarFooter = function (_a) {
|
|
7170
|
-
var currentWeek = _a.currentWeek, _b = _a.tasks, tasks = _b === void 0 ? [] : _b;
|
|
7171
|
-
return (React.createElement(HeaderWrapper, null,
|
|
7172
|
-
React.createElement(Col, { start: true, xs: true },
|
|
7173
|
-
React.createElement("span", { style: { display: 'inline-flex' } }, "Overdue: "),
|
|
7174
|
-
React.createElement("span", { style: { display: 'inline-flex' } },
|
|
7175
|
-
React.createElement(Row, null, tasks
|
|
7176
|
-
/* eslint-disable eqeqeq */
|
|
7177
|
-
.filter(function (t) { return t.date ? currentWeek == getWeek(t.date) : true; })
|
|
7178
|
-
.map(function (t) { return (React.createElement(Col, { xs: true, md: 3, padded: true },
|
|
7179
|
-
React.createElement(CalendarTask, __assign({}, t, { date: undefined })))); }))))));
|
|
7180
|
-
};
|
|
7181
|
-
|
|
7182
|
-
var Calendar = function (_a) {
|
|
7183
|
-
var _b = _a.components, components = _b === void 0 ? {} : _b, extraProps = _a.extraProps, props = __rest(_a, ["components", "extraProps"]);
|
|
7184
|
-
var _c = useCalendar({}), currentMonth = _c.currentMonth, currentWeek = _c.currentWeek, selectedDate = _c.selectedDate, onNextWeek = _c.onNextWeek, onPrevWeek = _c.onPrevWeek, onNextMonth = _c.onNextMonth, onPrevMonth = _c.onPrevMonth, onClickDay = _c.onClickDay;
|
|
7185
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7186
|
-
var _d = useState(getDatesBetween(startOfWeek(currentMonth, { weekStartsOn: 1 }), lastDayOfWeek(currentMonth, { weekStartsOn: 1 })).map(function (day, i) { return ({ __id__: "day-".concat(getWeek(day), "-").concat(i), day: day, }); })), days = _d[0]; _d[1];
|
|
7187
|
-
var headerProps = {
|
|
7188
|
-
onNextWeek: onNextWeek,
|
|
7189
|
-
onPrevWeek: onPrevWeek,
|
|
7190
|
-
onNextMonth: onNextMonth,
|
|
7191
|
-
onPrevMonth: onPrevMonth,
|
|
7192
|
-
currentMonth: currentMonth,
|
|
7193
|
-
currentWeek: currentWeek,
|
|
7194
|
-
selectedDate: selectedDate,
|
|
7195
|
-
};
|
|
7196
|
-
var renderHeader = function () {
|
|
7197
|
-
if (props.showHeader === false) {
|
|
7198
|
-
return;
|
|
7199
|
-
}
|
|
7200
|
-
if (components.Header) {
|
|
7201
|
-
return React.createElement(components.Header, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.header));
|
|
7202
|
-
}
|
|
7203
|
-
return (React.createElement(DefaultCalendarHeader, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.header)));
|
|
7204
|
-
};
|
|
7205
|
-
var renderFooter = function () {
|
|
7206
|
-
if (props.showFooter === false) {
|
|
7207
|
-
return;
|
|
7208
|
-
}
|
|
7209
|
-
if (components.Footer) {
|
|
7210
|
-
return React.createElement(components.Footer, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.footer));
|
|
7211
|
-
}
|
|
7212
|
-
return React.createElement(DefaultCalendarFooter, __assign({}, headerProps, extraProps === null || extraProps === void 0 ? void 0 : extraProps.footer));
|
|
7213
|
-
};
|
|
7214
|
-
return (React.createElement(CalendarWrapper, null,
|
|
7215
|
-
React.createElement(CalendarDaysHeader, { currentMonth: currentMonth, selectedDate: selectedDate, weekendsCheckbox: React.createElement("div", null), weekend: true }),
|
|
7216
|
-
renderHeader(),
|
|
7217
|
-
React.createElement(CalendarDaysBody, { currentMonth: currentMonth, selectedDate: selectedDate, onClickDay: onClickDay, dayBodyProps: extraProps === null || extraProps === void 0 ? void 0 : extraProps.dayBody, components: { DayBody: components === null || components === void 0 ? void 0 : components.DayBody, }, days: days }),
|
|
7218
|
-
renderFooter()));
|
|
7219
|
-
};
|
|
7220
|
-
|
|
7221
7260
|
function convertTasksToDays(_a) {
|
|
7222
7261
|
var currentMonth = _a.currentMonth; _a.currentWeek; var tasks = _a.tasks;
|
|
7223
7262
|
return getDatesBetween(startOfWeek(currentMonth, { weekStartsOn: 1 }), lastDayOfWeek(currentMonth, { weekStartsOn: 1 })).map(function (day, i) {
|
|
@@ -7666,7 +7705,7 @@ var ToggleSwitch = function (_a) {
|
|
|
7666
7705
|
var templateObject_1, templateObject_2;
|
|
7667
7706
|
|
|
7668
7707
|
/**
|
|
7669
|
-
*
|
|
7708
|
+
* Dropzone
|
|
7670
7709
|
*
|
|
7671
7710
|
* if `useDropzoneProps={true}` is passed then dropzone options props will passed to child element
|
|
7672
7711
|
*
|
|
@@ -7682,22 +7721,22 @@ var templateObject_1, templateObject_2;
|
|
|
7682
7721
|
* );
|
|
7683
7722
|
* };
|
|
7684
7723
|
*
|
|
7685
|
-
* <
|
|
7724
|
+
* <Dropzone useDropzoneProps={true} noClick={true} onDrop={...}>
|
|
7686
7725
|
* <DropzoneChild />
|
|
7687
|
-
* </
|
|
7726
|
+
* </Dropzone>
|
|
7688
7727
|
* ```
|
|
7689
7728
|
*
|
|
7690
7729
|
* ---------------------------------------------------------
|
|
7691
7730
|
*
|
|
7692
7731
|
* Example without `useDropzoneProps` (dropzone props will NOT be passed in children):
|
|
7693
7732
|
* ```
|
|
7694
|
-
* <
|
|
7733
|
+
* <Dropzone onDrop={...}>
|
|
7695
7734
|
* <button onClick={() => {}}>Upload</button>
|
|
7696
|
-
* </
|
|
7735
|
+
* </Dropzone>
|
|
7697
7736
|
* ```
|
|
7698
7737
|
*
|
|
7699
7738
|
*/
|
|
7700
|
-
var
|
|
7739
|
+
var Dropzone = React.forwardRef(function (_a, ref) {
|
|
7701
7740
|
var children = _a.children, className = _a.className, rootProps = _a.rootProps, inputProps = _a.inputProps, _b = _a.style, style = _b === void 0 ? {} : _b, _c = _a.useDropzoneProps, useDropzoneProps = _c === void 0 ? false : _c, props = __rest(_a, ["children", "className", "rootProps", "inputProps", "style", "useDropzoneProps"]);
|
|
7702
7741
|
var _d = useDropzone(props), getRootProps = _d.getRootProps, rootRef = _d.rootRef, getInputProps = _d.getInputProps, inputRef = _d.inputRef, rest = __rest(_d, ["getRootProps", "rootRef", "getInputProps", "inputRef"]);
|
|
7703
7742
|
useImperativeHandle(ref, function () { return ({ open: rest.open }); }, [rest.open]);
|
|
@@ -7709,5 +7748,5 @@ var DropZone = React.forwardRef(function (_a, ref) {
|
|
|
7709
7748
|
React.createElement(RenderChild, { parseProps: parseChildProps }, children))));
|
|
7710
7749
|
});
|
|
7711
7750
|
|
|
7712
|
-
export { AddIcon, AddNoteIcon, AddShoppingCartIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, SKUAsyncSelect as AsyncSelect, Avatar, AwaitingProofIcon, Backdrop, Background, Badge, BotIcon, Box, BulletIcon, Button, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, ChevronPopup, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, CollaborateIcon, CollapseStyled, CollapseWrapper, Collapsible$1 as Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelTitle, CollapsiblePanels, Collapsible as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CommunityIcon, CompletedCheckmarkIcon, ConfirmAlertPopup, ConfirmPopup, ConnectedIcon, ConnectedPlusIcon, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CustomDateInput, Datepicker, DaysBodyWrapper,
|
|
7713
|
-
//# sourceMappingURL=index.
|
|
7751
|
+
export { AddIcon, AddNoteIcon, AddShoppingCartIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, SKUAsyncSelect as AsyncSelect, Avatar, AwaitingProofIcon, Backdrop, Background, Badge, BotIcon, Box, BulletIcon, Button, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, ChevronPopup, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, CollaborateIcon, CollapseStyled, CollapseWrapper, Collapsible$1 as Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelTitle, CollapsiblePanels, Collapsible as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CommunityIcon, CompletedCheckmarkIcon, ConfirmAlertPopup, ConfirmPopup, ConnectedIcon, ConnectedPlusIcon, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CustomDateInput, Datepicker, DaysBodyWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DoubleArrowIcon, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropDownContent$2 as DropDownContent, Dropdown, DropdownItem$2 as DropdownItem, Dropzone, Dropzoned, DropzonedPreviews, EPOIcon, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FileUploadIcon, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridRow, GridTable, GridTableContainer, H1, H2, H3, H4, H5, H6, HandleIcon, HeadlessTable, HelpIcon, HistoryIcon, IconButton, IconDoc, ImageIcon, Img, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputStepper, InputStepperStyled, IntegrationsIcon, InventoryIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledSelect, LabeledTextarea, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MagicEraserIcon, MagicIcon, MailIcon, MarketingStatusIcon, MenuIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavResourcesIcon, NavSalesIcon, NoteIcon, Number$1 as Number, NumberInput, OpportunityCircleIcon, OrderStatusIcon, Overlay, Padding, Page, PanelContact, PanelTileContact, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PresentationCircleIcon, Product, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, ReceiptLongIcon, RenderChild, ResponsiveTable, Row, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyles, ShopIcon, ShoppingCartIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableStyles, SizerCss, SizerWrapper, SlideInIcon, Sparkles, Spinner, StarDarkIcon, StarIcon, StarLightIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDropArea, StyledDropdown$2 as StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG$1 as SvgIcon, TBody, TD$1 as TD, TH, THSorted, THead, TR, Tab, TabBar, Table, TableIcon, Tabs, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TemplateIcon, Text, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, ToggleSwitch, ToggleSwitchStyled, TrashIcon, TrendIcon, UploadIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper$4 as Wrapper, XIcon, colors, createMeasurementStyle, datepickerStyles, fontFamilies, fontStyles, fonts, getColor$1 as getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, parseCskuStyles, sizes, themeOptions, toggleSizes$1 as toggleSizes, useCalendar, useClickOutside, useDelayUnmount, useFallbackRef, useLongPress, usePrefersReducedMotion, useRandomInterval, useWindowSize };
|
|
7752
|
+
//# sourceMappingURL=index.mjs.map
|