@orfium/ictinus 5.0.0-next.7 → 5.0.0-next.9
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.css → bundle.css} +0 -0
- package/dist/components/Avatar/Avatar.js +1 -0
- package/dist/components/Avatar/Avatar.style.js +25 -0
- package/dist/components/Avatar/AvatarStack/AvatarStack.js +1 -0
- package/dist/components/Avatar/AvatarStack/AvatarStack.style.js +10 -0
- package/dist/components/Avatar/AvatarStack/utils.js +1 -0
- package/dist/components/Avatar/utils.js +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.style.js +13 -0
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +1 -0
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js +7 -0
- package/dist/components/Breadcrumb/Separator/Separator.js +1 -0
- package/dist/components/Breadcrumb/Separator/Separator.style.js +4 -0
- package/dist/components/Button/Button.js +1 -0
- package/dist/components/Button/Button.style.js +1 -0
- package/dist/components/Button/ButtonLoader/ButtonLoader.js +1 -0
- package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +5 -0
- package/dist/components/Button/utils.js +1 -0
- package/dist/components/ButtonBase/ButtonBase.js +1 -0
- package/dist/components/ButtonBase/ButtonBase.style.js +1 -0
- package/dist/components/ButtonBase/config.js +1 -0
- package/dist/components/ButtonBase/utils.js +1 -0
- package/dist/components/Card/Card.js +1 -0
- package/dist/components/Card/Card.style.js +7 -0
- package/dist/components/Chart/BarChart/BarChart.js +1 -0
- package/dist/components/Chart/BarChart/components/CustomLabel/CustomLabel.js +1 -0
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +1 -0
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js +28 -0
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +1 -0
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +1 -0
- package/dist/components/Chart/BarChart/utils.js +1 -0
- package/dist/components/Chart/DonutChart/DonutChart.js +1 -0
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +1 -0
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js +10 -0
- package/dist/components/Chart/LineChart/LineChart.js +1 -0
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +1 -0
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +1 -0
- package/dist/components/Chart/LineChart/components/GradientLine/GradientLine.js +1 -0
- package/dist/components/Chart/LineChart/utils.js +1 -0
- package/dist/components/Chart/Wrapper.js +1 -0
- package/dist/components/CheckBox/CheckBox.js +1 -0
- package/dist/components/CheckBox/CheckBox.style.js +73 -0
- package/dist/components/Chip/Chip.js +1 -0
- package/dist/components/Chip/Chip.style.js +33 -0
- package/dist/components/Chip/Chip.types.js +1 -0
- package/dist/components/Chip/components/Badge/Badge.js +1 -0
- package/dist/components/Chip/components/Badge/Badge.style.js +14 -0
- package/dist/components/Chip/utils.js +1 -0
- package/dist/components/DatePicker/DatePickInput/DatePickInput.js +1 -0
- package/dist/components/DatePicker/DatePickInput/DatePickInput.style.js +3 -0
- package/dist/components/DatePicker/DatePicker.js +1 -0
- package/dist/components/DatePicker/DatePicker.style.js +7 -0
- package/dist/components/DatePicker/Day/Day.js +1 -0
- package/dist/components/DatePicker/Day/Day.style.js +35 -0
- package/dist/components/DatePicker/Month/Month.js +1 -0
- package/dist/components/DatePicker/Month/Month.style.js +17 -0
- package/dist/components/DatePicker/Month/Month.utils.js +1 -0
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +1 -0
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.style.js +47 -0
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +1 -0
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +36 -0
- package/dist/components/DatePicker/utils.js +1 -0
- package/dist/components/Drawer/Drawer.js +1 -0
- package/dist/components/Drawer/Drawer.style.js +13 -0
- package/dist/components/Drawer/Navigation/MenuItem/MenuItem.js +1 -0
- package/dist/components/Drawer/Navigation/Navigation.js +1 -0
- package/dist/components/Drawer/Navigation/Navigation.style.js +99 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.js +1 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.style.js +6 -0
- package/dist/components/ExpandCollapse/useManageContentRef.js +1 -0
- package/dist/components/ExpandCollapse/utils.js +1 -0
- package/dist/components/Filter/Filter.js +1 -0
- package/dist/components/Filter/Filter.style.js +19 -0
- package/dist/components/Filter/components/FilterBase/FilterBase.js +1 -0
- package/dist/components/Filter/components/Options/Options.js +1 -0
- package/dist/components/Filter/components/Options/Options.style.js +7 -0
- package/dist/components/Filter/components/SearchInput/SearchInput.js +1 -0
- package/dist/components/Filter/components/SearchInput/SearchInput.style.js +23 -0
- package/dist/components/Filter/utils.js +1 -0
- package/dist/components/Icon/Icon.js +1 -0
- package/dist/components/Icon/Icon.style.js +1 -0
- package/dist/components/Icon/assets/TVCinema.svg.js +1 -0
- package/dist/components/Icon/assets/TVRadio.svg.js +1 -0
- package/dist/components/Icon/assets/account.svg.js +1 -0
- package/dist/components/Icon/assets/actions.svg.js +1 -0
- package/dist/components/Icon/assets/add.svg.js +1 -0
- package/dist/components/Icon/assets/alert.svg.js +1 -0
- package/dist/components/Icon/assets/analytics.svg.js +1 -0
- package/dist/components/Icon/assets/analyticsVideos.svg.js +1 -0
- package/dist/components/Icon/assets/ancient-building.svg.js +1 -0
- package/dist/components/Icon/assets/arrow-left.svg.js +1 -0
- package/dist/components/Icon/assets/arrow-right.svg.js +1 -0
- package/dist/components/Icon/assets/artist.svg.js +1 -0
- package/dist/components/Icon/assets/asset-matching.svg.js +1 -0
- package/dist/components/Icon/assets/asset.svg.js +1 -0
- package/dist/components/Icon/assets/auto.svg.js +1 -0
- package/dist/components/Icon/assets/broadcast.svg.js +1 -0
- package/dist/components/Icon/assets/calendar-empty.svg.js +1 -0
- package/dist/components/Icon/assets/calendar-filled.svg.js +1 -0
- package/dist/components/Icon/assets/catalog-files.svg.js +1 -0
- package/dist/components/Icon/assets/catalog-overview.svg.js +1 -0
- package/dist/components/Icon/assets/catalog.svg.js +1 -0
- package/dist/components/Icon/assets/chat-bubble.svg.js +1 -0
- package/dist/components/Icon/assets/check.svg.js +1 -0
- package/dist/components/Icon/assets/checked-list.svg.js +1 -0
- package/dist/components/Icon/assets/checkmark.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-extra-small-down.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-extra-small-left.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-extra-small-right.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-extra-small-up.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-large-down.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-large-left.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-large-right.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-large-up.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-small-down.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-small-left.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-small-right.svg.js +1 -0
- package/dist/components/Icon/assets/chevron-small-up.svg.js +1 -0
- package/dist/components/Icon/assets/claimList.svg.js +1 -0
- package/dist/components/Icon/assets/clock-outlined.svg.js +1 -0
- package/dist/components/Icon/assets/clock.svg.js +1 -0
- package/dist/components/Icon/assets/close-tag.svg.js +1 -0
- package/dist/components/Icon/assets/close.svg.js +1 -0
- package/dist/components/Icon/assets/cms-process.svg.js +1 -0
- package/dist/components/Icon/assets/composition-v2.svg.js +1 -0
- package/dist/components/Icon/assets/composition.svg.js +1 -0
- package/dist/components/Icon/assets/concert.svg.js +1 -0
- package/dist/components/Icon/assets/confirmed-matches.svg.js +1 -0
- package/dist/components/Icon/assets/conflicts.svg.js +1 -0
- package/dist/components/Icon/assets/dashboard.svg.js +1 -0
- package/dist/components/Icon/assets/dataset.svg.js +1 -0
- package/dist/components/Icon/assets/dd-arrow.svg.js +1 -0
- package/dist/components/Icon/assets/delete.svg.js +1 -0
- package/dist/components/Icon/assets/delivery.svg.js +1 -0
- package/dist/components/Icon/assets/details.svg.js +1 -0
- package/dist/components/Icon/assets/digitalUse.svg.js +1 -0
- package/dist/components/Icon/assets/distribution.svg.js +1 -0
- package/dist/components/Icon/assets/dots-vertical.svg.js +1 -0
- package/dist/components/Icon/assets/download.svg.js +1 -0
- package/dist/components/Icon/assets/duplicate.svg.js +1 -0
- package/dist/components/Icon/assets/duplicate2.svg.js +1 -0
- package/dist/components/Icon/assets/earnings.svg.js +1 -0
- package/dist/components/Icon/assets/earnings2.svg.js +1 -0
- package/dist/components/Icon/assets/edit.svg.js +1 -0
- package/dist/components/Icon/assets/entities.svg.js +1 -0
- package/dist/components/Icon/assets/entity.svg.js +1 -0
- package/dist/components/Icon/assets/error.svg.js +1 -0
- package/dist/components/Icon/assets/expenses.svg.js +1 -0
- package/dist/components/Icon/assets/external-link-v2.svg.js +1 -0
- package/dist/components/Icon/assets/external-link.svg.js +1 -0
- package/dist/components/Icon/assets/fat-arrow-down.svg.js +1 -0
- package/dist/components/Icon/assets/fat-arrow-left.svg.js +1 -0
- package/dist/components/Icon/assets/fat-arrow-right.svg.js +1 -0
- package/dist/components/Icon/assets/fat-arrow-up.svg.js +1 -0
- package/dist/components/Icon/assets/file.svg.js +1 -0
- package/dist/components/Icon/assets/financial-chart.svg.js +1 -0
- package/dist/components/Icon/assets/generatedReports.svg.js +1 -0
- package/dist/components/Icon/assets/generic-file.svg.js +1 -0
- package/dist/components/Icon/assets/generic-ordering.svg.js +1 -0
- package/dist/components/Icon/assets/global-item.svg.js +1 -0
- package/dist/components/Icon/assets/heart-fill.svg.js +1 -0
- package/dist/components/Icon/assets/heart-stroke.svg.js +1 -0
- package/dist/components/Icon/assets/help.svg.js +1 -0
- package/dist/components/Icon/assets/hourglass.svg.js +1 -0
- package/dist/components/Icon/assets/iconSelector.js +1 -0
- package/dist/components/Icon/assets/income.svg.js +1 -0
- package/dist/components/Icon/assets/info-filled.svg.js +1 -0
- package/dist/components/Icon/assets/info.svg.js +1 -0
- package/dist/components/Icon/assets/issues.svg.js +1 -0
- package/dist/components/Icon/assets/keyword.svg.js +1 -0
- package/dist/components/Icon/assets/legal-files.svg.js +1 -0
- package/dist/components/Icon/assets/linked.svg.js +1 -0
- package/dist/components/Icon/assets/lock.svg.js +1 -0
- package/dist/components/Icon/assets/mail.svg.js +1 -0
- package/dist/components/Icon/assets/manual.svg.js +1 -0
- package/dist/components/Icon/assets/menu.svg.js +1 -0
- package/dist/components/Icon/assets/microphone.svg.js +1 -0
- package/dist/components/Icon/assets/minus.svg.js +1 -0
- package/dist/components/Icon/assets/more-options-horizontal.svg.js +1 -0
- package/dist/components/Icon/assets/more-options-vertical.svg.js +1 -0
- package/dist/components/Icon/assets/music-note.svg.js +1 -0
- package/dist/components/Icon/assets/myEarnings.svg.js +1 -0
- package/dist/components/Icon/assets/notifications.svg.js +1 -0
- package/dist/components/Icon/assets/notifications2.svg.js +1 -0
- package/dist/components/Icon/assets/one-way.svg.js +1 -0
- package/dist/components/Icon/assets/others.svg.js +1 -0
- package/dist/components/Icon/assets/ownership-validation.svg.js +1 -0
- package/dist/components/Icon/assets/page-first.svg.js +1 -0
- package/dist/components/Icon/assets/page-last.svg.js +1 -0
- package/dist/components/Icon/assets/pagination-end.svg.js +1 -0
- package/dist/components/Icon/assets/pagination-start.svg.js +1 -0
- package/dist/components/Icon/assets/pause.svg.js +1 -0
- package/dist/components/Icon/assets/percentage.svg.js +1 -0
- package/dist/components/Icon/assets/play-count.svg.js +1 -0
- package/dist/components/Icon/assets/plus.svg.js +1 -0
- package/dist/components/Icon/assets/policies.svg.js +1 -0
- package/dist/components/Icon/assets/process-management.svg.js +1 -0
- package/dist/components/Icon/assets/process.svg.js +1 -0
- package/dist/components/Icon/assets/processed-logs.svg.js +1 -0
- package/dist/components/Icon/assets/proposed.svg.js +1 -0
- package/dist/components/Icon/assets/publicPerformance.svg.js +1 -0
- package/dist/components/Icon/assets/publisher.svg.js +1 -0
- package/dist/components/Icon/assets/record-label-v2.svg.js +1 -0
- package/dist/components/Icon/assets/record-label.svg.js +1 -0
- package/dist/components/Icon/assets/recording.svg.js +1 -0
- package/dist/components/Icon/assets/reference-file.svg.js +1 -0
- package/dist/components/Icon/assets/refresh.svg.js +1 -0
- package/dist/components/Icon/assets/relations.svg.js +1 -0
- package/dist/components/Icon/assets/restart.svg.js +1 -0
- package/dist/components/Icon/assets/restore.svg.js +1 -0
- package/dist/components/Icon/assets/result.svg.js +1 -0
- package/dist/components/Icon/assets/resume.svg.js +1 -0
- package/dist/components/Icon/assets/royaltyShares.svg.js +1 -0
- package/dist/components/Icon/assets/search-music.svg.js +1 -0
- package/dist/components/Icon/assets/search-thunder.svg.js +1 -0
- package/dist/components/Icon/assets/search.svg.js +1 -0
- package/dist/components/Icon/assets/settings.svg.js +1 -0
- package/dist/components/Icon/assets/sight.svg.js +1 -0
- package/dist/components/Icon/assets/sort-ascending.svg.js +1 -0
- package/dist/components/Icon/assets/sort-descending.svg.js +1 -0
- package/dist/components/Icon/assets/stamp.svg.js +1 -0
- package/dist/components/Icon/assets/star.svg.js +1 -0
- package/dist/components/Icon/assets/statements.svg.js +1 -0
- package/dist/components/Icon/assets/success.svg.js +1 -0
- package/dist/components/Icon/assets/television.svg.js +1 -0
- package/dist/components/Icon/assets/thunder.svg.js +1 -0
- package/dist/components/Icon/assets/tic-tac-toe-arrow.svg.js +1 -0
- package/dist/components/Icon/assets/time-out.svg.js +1 -0
- package/dist/components/Icon/assets/training.svg.js +1 -0
- package/dist/components/Icon/assets/triangle-down.svg.js +1 -0
- package/dist/components/Icon/assets/triangle-left.svg.js +1 -0
- package/dist/components/Icon/assets/triangle-right.svg.js +1 -0
- package/dist/components/Icon/assets/triangle-up.svg.js +1 -0
- package/dist/components/Icon/assets/trophy.svg.js +1 -0
- package/dist/components/Icon/assets/unpaired-v2.svg.js +1 -0
- package/dist/components/Icon/assets/unpaired.svg.js +1 -0
- package/dist/components/Icon/assets/update.svg.js +1 -0
- package/dist/components/Icon/assets/upload.svg.js +1 -0
- package/dist/components/Icon/assets/user-avatar.svg.js +1 -0
- package/dist/components/Icon/assets/user.svg.js +1 -0
- package/dist/components/Icon/assets/userCheck.svg.js +1 -0
- package/dist/components/Icon/assets/users.svg.js +1 -0
- package/dist/components/Icon/assets/users2.svg.js +1 -0
- package/dist/components/Icon/assets/videoConfirmation.svg.js +1 -0
- package/dist/components/Icon/assets/view.svg.js +1 -0
- package/dist/components/Icon/assets/warning.svg.js +1 -0
- package/dist/components/Icon/assets/works.svg.js +1 -0
- package/dist/components/Icon/assets/writer.svg.js +1 -0
- package/dist/components/Icon/assets/youtube.svg.js +1 -0
- package/dist/components/IconButton/IconButton.js +1 -0
- package/dist/components/IconButton/IconButton.style.js +1 -0
- package/dist/components/Label/Label.js +1 -0
- package/dist/components/Label/Label.style.js +17 -0
- package/dist/components/List/List.js +1 -0
- package/dist/components/List/List.style.js +14 -0
- package/dist/components/List/ListItem/ListItem.js +1 -0
- package/dist/components/List/ListItem/ListItem.style.js +30 -0
- package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.js +1 -0
- package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.style.js +16 -0
- package/dist/components/List/ListItemGroup/ListItemGroup.js +1 -0
- package/dist/components/List/NormalList/NormalList.js +1 -0
- package/dist/components/List/VirtualizedList/VirtualizedList.js +1 -0
- package/dist/components/List/utils.js +1 -0
- package/dist/components/Loader/Loader.js +1 -0
- package/dist/components/Loader/Loader.style.js +3 -0
- package/dist/components/Loader/Loader.utils.js +1 -0
- package/dist/components/Loader/components/DotsLoader/DotsLoader.js +1 -0
- package/dist/components/Loader/components/DotsLoader/DotsLoader.style.js +46 -0
- package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.js +1 -0
- package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.style.js +45 -0
- package/dist/components/Loader/components/Spinner/Spinner.js +1 -0
- package/dist/components/Loader/components/Spinner/Spinner.style.js +23 -0
- package/dist/components/Menu/Menu.js +1 -0
- package/dist/components/Menu/Menu.style.js +4 -0
- package/dist/components/Modal/Modal.js +1 -0
- package/dist/components/Modal/Modal.style.js +32 -0
- package/dist/components/Modal/ModalContent/ModalContent.js +1 -0
- package/dist/components/Modal/ModalContent/ModalContent.style.js +35 -0
- package/dist/components/Notification/Banner/Banner.js +1 -0
- package/dist/components/Notification/InlineNotification/InlineNotification.js +1 -0
- package/dist/components/Notification/Notification.style.js +24 -0
- package/dist/components/Notification/NotificationVisual/NotificationVisual.js +1 -0
- package/dist/components/Notification/NotificationVisual/NotificationVisual.style.js +8 -0
- package/dist/components/Notification/NotificationsContainer/NotificationsContainer.js +1 -0
- package/dist/components/Notification/NotificationsContainer/NotificationsContainer.style.js +36 -0
- package/dist/components/Notification/Snackbar/Snackbar.js +1 -0
- package/dist/components/Notification/Snackbar/Snackbar.style.js +26 -0
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +1 -0
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +28 -0
- package/dist/components/Overlay/Overlay.js +1 -0
- package/dist/components/Overlay/Overlay.style.js +37 -0
- package/dist/components/Pagination/Pagination.js +1 -0
- package/dist/components/Radio/Radio.js +1 -0
- package/dist/components/Radio/Radio.style.js +88 -0
- package/dist/components/RadioGroup/RadioGroup.js +1 -0
- package/dist/components/RadioGroup/RadioGroupContext.js +1 -0
- package/dist/components/RadioGroup/useRadioGroup.js +1 -0
- package/dist/components/SearchField/SearchField.js +1 -0
- package/dist/components/Select/Select.js +1 -0
- package/dist/components/Select/Select.style.js +13 -0
- package/dist/components/Select/components/SelectMenu/SelectMenu.js +1 -0
- package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +27 -0
- package/dist/components/Slider/Slider.js +1 -0
- package/dist/components/Slider/Slider.style.js +14 -0
- package/dist/components/Slider/components/SliderMark/SliderMark.js +1 -0
- package/dist/components/Slider/components/SliderMark/SliderMark.style.js +62 -0
- package/dist/components/Slider/components/SliderThumb/SliderThumb.js +1 -0
- package/dist/components/Slider/components/SliderThumb/SliderThumb.style.js +33 -0
- package/dist/components/Slider/components/SliderTrack/SliderTrack.js +1 -0
- package/dist/components/Slider/components/SliderTrack/SliderTrack.style.js +6 -0
- package/dist/components/Switch/Switch.js +1 -0
- package/dist/components/Switch/Switch.style.js +34 -0
- package/dist/components/Table/Table.js +1 -0
- package/dist/components/Table/Table.style.js +1 -0
- package/dist/components/Table/TableRowContext.js +1 -0
- package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.js +1 -0
- package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.js +8 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js +1 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js +1 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js +1 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js +1 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +1 -0
- package/dist/components/Table/components/TableCell/TableCell.js +1 -0
- package/dist/components/Table/components/TableCell/TableCell.style.js +17 -0
- package/dist/components/Table/components/TableCell/utils.js +1 -0
- package/dist/components/Table/components/TableRow/TableRow.js +1 -0
- package/dist/components/Table/components/TableRowWrapper/TableRowWrapper.js +1 -0
- package/dist/components/Table/utils/utils.js +1 -0
- package/dist/components/TextArea/TextArea.js +1 -0
- package/dist/components/TextArea/TextArea.style.js +1 -0
- package/dist/components/TextField/TextField.js +1 -0
- package/dist/components/TextField/TextField.style.js +9 -0
- package/dist/components/TextField/components/commons.js +1 -0
- package/dist/components/TextInputBase/TextInputBase.js +1 -0
- package/dist/components/TextInputBase/TextInputBase.style.js +1 -0
- package/dist/components/TextInputBase/config.js +1 -0
- package/dist/components/ThemeProvider/ThemeProvider.js +21 -0
- package/dist/components/Toast/Toast.js +1 -0
- package/dist/components/Toast/Toast.style.js +35 -0
- package/dist/components/Tooltip/Tooltip.js +1 -0
- package/dist/components/Tooltip/Tooltip.style.js +21 -0
- package/dist/components/TopAppBar/TopAppBar.js +1 -0
- package/dist/components/TopAppBar/TopAppBar.style.js +23 -0
- package/dist/components/TopAppBar/components/Logo/Logo.style.js +15 -0
- package/dist/components/TopAppBar/components/Logo/Logo.wrapper.js +1 -0
- package/dist/components/TopAppBar/components/Search/Search.js +1 -0
- package/dist/components/TopAppBar/components/Search/Search.style.js +26 -0
- package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js +1 -0
- package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js +4 -0
- package/dist/components/TopAppBar/components/UserMenu/UserMenu.js +1 -0
- package/dist/components/TopAppBar/components/UserMenu/UserMenu.style.js +3 -0
- package/dist/components/TruncatedContent/TruncatedContent.js +1 -0
- package/dist/components/TruncatedContent/TruncatedContent.style.js +5 -0
- package/dist/components/utils/ClickAwayListener/ClickAwayListener.js +1 -0
- package/dist/components/utils/DropdownOptions/index.js +15 -0
- package/dist/components/utils/PositionInScreen/PositionInScreen.js +1 -0
- package/dist/components/utils/PositionInScreen/PositionInScreen.style.js +18 -0
- package/dist/components/utils/handleSearch.js +1 -0
- package/dist/hooks/useBreakpoints.js +1 -0
- package/dist/hooks/useCombinedRefs.js +1 -0
- package/dist/hooks/useEscape.js +1 -0
- package/dist/hooks/useLoading.js +1 -0
- package/dist/hooks/useLocationToGetCurrentMenuItem.js +1 -0
- package/dist/hooks/usePagination.js +1 -0
- package/dist/hooks/useTheme.js +1 -0
- package/dist/hooks/useThemeSwitch.js +1 -0
- package/dist/hooks/useToggle.js +1 -0
- package/dist/hooks/useTypeColorToColorMatch.js +1 -0
- package/dist/index.d.ts +58 -58
- package/dist/index.js +1 -75557
- package/dist/theme/functions.js +52 -0
- package/dist/theme/globals/borderRadius.js +1 -0
- package/dist/theme/globals/borderWidth.js +1 -0
- package/dist/theme/globals/boxShadow.js +1 -0
- package/dist/theme/globals/colors.js +1 -0
- package/dist/theme/globals/constants/borderRadius.js +1 -0
- package/dist/theme/globals/constants/borderWidth.js +1 -0
- package/dist/theme/globals/constants/boxShadow.js +1 -0
- package/dist/theme/globals/constants/fontFamily.js +1 -0
- package/dist/theme/globals/constants/fontSize.js +1 -0
- package/dist/theme/globals/constants/fontWeight.js +1 -0
- package/dist/theme/globals/constants/letterSpacing.js +1 -0
- package/dist/theme/globals/constants/lineHeight.js +1 -0
- package/dist/theme/globals/constants/opacity.js +1 -0
- package/dist/theme/globals/constants/sizing.js +1 -0
- package/dist/theme/globals/constants/spacing.js +1 -0
- package/dist/theme/globals/constants/textCase.js +1 -0
- package/dist/theme/globals/constants/textDecoration.js +1 -0
- package/dist/theme/globals/elevation.js +1 -0
- package/dist/theme/globals/index.js +1 -0
- package/dist/theme/globals/opacity.js +1 -0
- package/dist/theme/globals/sizing.js +1 -0
- package/dist/theme/globals/spacing.js +1 -0
- package/dist/theme/globals/typography.js +1 -0
- package/dist/theme/index.js +1 -0
- package/dist/theme/overrides.js +1 -0
- package/dist/theme/palette.config.js +1 -0
- package/dist/theme/palette.js +1 -0
- package/dist/theme/states/disabled.js +1 -0
- package/dist/theme/states/focus.js +1 -0
- package/dist/theme/states/hover.js +1 -0
- package/dist/theme/states/pressed.js +1 -0
- package/dist/theme/states/statesConfig.js +1 -0
- package/dist/theme/states/utils.js +1 -0
- package/dist/theme/tokens/index.js +1 -0
- package/dist/theme/tokens/semantic/backdrop.js +1 -0
- package/dist/theme/tokens/semantic/backgroundColor.js +1 -0
- package/dist/theme/tokens/semantic/borderColor.js +1 -0
- package/dist/theme/tokens/semantic/disabledState.js +1 -0
- package/dist/theme/tokens/semantic/index.js +1 -0
- package/dist/theme/tokens/semantic/palette.js +1 -0
- package/dist/theme/tokens/semantic/textColor.js +1 -0
- package/dist/theme/tokens/semantic/variables/backdrop.js +1 -0
- package/dist/theme/tokens/semantic/variables/backgroundColor.js +1 -0
- package/dist/theme/tokens/semantic/variables/borderColor.js +1 -0
- package/dist/theme/tokens/semantic/variables/disabledState.js +1 -0
- package/dist/theme/tokens/semantic/variables/palette.js +1 -0
- package/dist/theme/tokens/semantic/variables/textColor.js +1 -0
- package/dist/theme/tokens/utils.js +1 -0
- package/dist/theme/utils.js +1 -0
- package/dist/utils/errors.js +1 -0
- package/dist/utils/helpers.js +1 -0
- package/dist/utils/initLocaleFormat.js +1 -0
- package/dist/utils/size-utils.js +1 -0
- package/dist/utils/themeFunctions.js +1 -0
- package/package.json +12 -6
- package/dist/index.esm.css +0 -1
- package/dist/index.esm.js +0 -75463
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{css as t}from"@emotion/react";import{rem as r}from"../../theme/utils.js";const o=({size:o,isTransparent:e})=>a=>{const g="darkGrey",s=e?"transparent":a.utils.getColor(g,850);return t`
|
|
2
|
+
background: transparent;
|
|
3
|
+
|
|
4
|
+
.tippy-content {
|
|
5
|
+
color: ${a.utils.getAAColorFromSwatches(g,850)};
|
|
6
|
+
background-color: ${s};
|
|
7
|
+
max-width: ${r(256)};
|
|
8
|
+
padding: ${a.globals.spacing.get("4")};
|
|
9
|
+
font-size: ${(t=>"large"===t?a.globals.typography.fontSizes.get("4"):"small"===t?a.globals.typography.fontSizes.get("2"):a.globals.typography.fontSizes.get("3"))(o)};
|
|
10
|
+
font-weight: ${a.globals.typography.weights.get("regular")};
|
|
11
|
+
line-height: 110%;
|
|
12
|
+
border-radius: ${a.globals.spacing.get("4")};
|
|
13
|
+
text-align: start;
|
|
14
|
+
white-space: pre-wrap;
|
|
15
|
+
word-break: break-word;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.tippy-arrow {
|
|
19
|
+
color: ${s};
|
|
20
|
+
}
|
|
21
|
+
`};export{o as tooltipStyle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as o,jsx as e}from"@emotion/react/jsx-runtime";import r from"./components/Logo/Logo.wrapper.js";import n from"./components/SidebarMenuIcon/SidebarMenuIcon.js";import s from"./components/UserMenu/UserMenu.js";import a from"./components/Search/Search.js";import i from"./TopAppBar.style.js";import c from"../../hooks/useBreakpoints.js";const t=({searchPlaceholder:t="Search",searchDefaultValue:l="",logoIcon:d,onMenuIconClick:p,additionalTools:m,userMenu:h,onSearchHandler:u,onKeyPressHandler:j,isSearchDisabled:v=!1,isDark:S=!1})=>{const b=c();return o("div",Object.assign({role:"banner","aria-label":"Top Application Banner",css:i.topAppBarWrapper(S)},{children:[o("div",Object.assign({css:i.mainSection(Boolean(u))},{children:[!b.des1200&&e(n,{onMenuIconClick:p},void 0),e(r,{logoIcon:d},void 0),u&&e(a,{onSearchHandler:u,onKeyPressHandler:j,searchPlaceholder:t,searchDefaultValue:l,isSearchDisabled:v,isDark:S},void 0)]}),void 0),e("div",Object.assign({css:i.additionalToolsSection(Boolean(m))},{children:m}),void 0),e("div",Object.assign({css:i.topAppBarSection},{children:e(s,Object.assign({isDark:S},h),void 0)}),void 0)]}),void 0)};export{t as default};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{css as o}from"@emotion/react";import{rem as t}from"../../theme/utils.js";import{flexCenter as e}from"../../theme/functions.js";const a=o`
|
|
2
|
+
${e};
|
|
3
|
+
flex-wrap: nowrap;
|
|
4
|
+
`;var l={topAppBarWrapper:a=>l=>o`
|
|
5
|
+
${e};
|
|
6
|
+
position: relative;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
background-color: ${a?l.globals.colors.black:l.globals.colors.white};
|
|
9
|
+
height: ${t(62)};
|
|
10
|
+
padding: 0 ${l.globals.spacing.get("6")};
|
|
11
|
+
box-shadow: ${l.globals.elevation["02"]};
|
|
12
|
+
> *:not(:last-of-type) {
|
|
13
|
+
color: ${a?l.globals.colors.white:l.utils.getColor("darkGrey",850)};
|
|
14
|
+
}
|
|
15
|
+
`,topAppBarSection:a,additionalToolsSection:t=>e=>o`
|
|
16
|
+
${a};
|
|
17
|
+
margin: 0 ${e.globals.spacing.get("6")};
|
|
18
|
+
flex-grow: ${t?1:0};
|
|
19
|
+
`,mainSection:t=>o`
|
|
20
|
+
${a};
|
|
21
|
+
flex-grow: ${t?1:0};
|
|
22
|
+
justify-content: flex-start;
|
|
23
|
+
`};export{l as default};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{css as t}from"@emotion/react";import{rem as a}from"../../../../theme/utils.js";import{flexCenter as e}from"../../../../theme/functions.js";const r=t`
|
|
2
|
+
margin: auto;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
cursor: default;
|
|
8
|
+
`;var o={wrapper:r=>t`
|
|
9
|
+
${e};
|
|
10
|
+
background-color: transparent;
|
|
11
|
+
margin: ${r.globals.spacing.get("6")} ${r.globals.spacing.get("8")}
|
|
12
|
+
${r.globals.spacing.get("6")} ${r.globals.spacing.get("6")};
|
|
13
|
+
border-radius: ${r.globals.spacing.get("3")};
|
|
14
|
+
max-width: ${a(400)};
|
|
15
|
+
`,placeholderWrapper:r};export{o as default,r as placeholderWrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o,jsxs as r}from"@emotion/react/jsx-runtime";import e from"./Logo.style.js";const i=()=>r("div",Object.assign({css:e.placeholderWrapper},{children:[o("strong",{children:"LOGO"},void 0),"PLACEHOLDER"]}),void 0),s=({logoIcon:r})=>o("div",Object.assign({css:e.wrapper},{children:r||o(i,{},void 0)}),void 0);export{s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as e,jsx as s}from"@emotion/react/jsx-runtime";import o from"../../../Icon/Icon.js";import{iconWrapperStyle as r}from"../../../TextField/TextField.style.js";import{searchWrapper as a,customInputStyle as i}from"./Search.style.js";import t from"../../../../hooks/useTheme.js";const l=({searchPlaceholder:l="Search",searchDefaultValue:c="",onSearchHandler:d,onKeyPressHandler:n,isSearchDisabled:h=!1,isDark:m=!1})=>{const p=t();return e("div",Object.assign({"aria-disabled":h,css:a(m)},{children:[e("div",Object.assign({css:r({iconPosition:"left"})},{children:[s(o,{name:"search",color:m?p.globals.colors.white:p.utils.getColor("lightGrey",650),size:20},void 0)," "]}),void 0),s("input",{readOnly:!1,css:i(l,m),placeholder:l,defaultValue:c,id:"top-nav-search","data-testid":"top-nav-search",disabled:!1,onChange:d,onKeyPress:n},void 0)]}),void 0)};export{l as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import{css as o}from"@emotion/react";import{lighten as r,darken as e}from"polished";import{rem as t}from"../../../../theme/utils.js";import{inputStyle as n}from"../../../TextInputBase/TextInputBase.style.js";import{flex as l,flexCenterVertical as i}from"../../../../theme/functions.js";const s=n=>s=>{const a=((o,r)=>o?r.utils.getColor("darkGrey",650):r.utils.getColor("lightGrey",50))(n,s);return o`
|
|
2
|
+
flex-grow: 1;
|
|
3
|
+
max-width: ${t(520)};
|
|
4
|
+
${l}
|
|
5
|
+
${i}
|
|
6
|
+
height: ${t(36)};
|
|
7
|
+
background-color: ${a};
|
|
8
|
+
padding-left: ${s.globals.spacing.get("6")};
|
|
9
|
+
border-radius: ${s.globals.spacing.get("3")};
|
|
10
|
+
|
|
11
|
+
&[aria-disabled='true'] {
|
|
12
|
+
opacity: 0.5;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
background: ${n?r(.03,a):e(.03,a)};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:focus-within {
|
|
21
|
+
background: ${a};
|
|
22
|
+
}
|
|
23
|
+
`},a=(r,e)=>l=>{const i=n({placeholder:r,size:"sm",isDark:e})(l),s=`\n border-radius: ${t(4)};\n color: ${e?l.utils.getColor("darkGrey",50):l.utils.getColor("lightGrey",750)};\n\n \n &:focus {\n color: ${e?l.globals.colors.white:l.utils.getColor("darkGrey",850)};\n outline: none;\n }\n \n &::placeholder {\n color: ${e?l.utils.getColor("darkGrey",50):l.utils.getColor("lightGrey",850)};\n outline: none;\n }\n\n `;return o`
|
|
24
|
+
${i};
|
|
25
|
+
${s};
|
|
26
|
+
`};export{a as customInputStyle,s as searchWrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"@emotion/react/jsx-runtime";import e from"../../../Icon/Icon.js";import n from"./SidebarMenuIcon.style.js";const i=({onMenuIconClick:i})=>o("div",Object.assign({css:n.iconWrapper,onClick:i,"data-testid":"menu-handler"},{children:o(e,{color:"primary",name:"menu",size:24},void 0)}),void 0);export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import t from"../../../Menu/Menu.js";import r from"./UserMenu.style.js";const n=({items:n,userAvatar:o,userName:s,onSelect:a,isDark:i=!1})=>e(t,{items:n,size:"sm",color:i?"neutralBlack-500":"neutralWhite-100",buttonText:e("span",Object.assign({css:r.buttonTextStyle},{children:s}),void 0),buttonType:"warning",rightIconName:"chevronLargeDown",avatar:o,onSelect:a,dataTestId:"userMenu"},void 0);export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{useState as o,useRef as t,useCallback as n,useMemo as r}from"react";import{TruncationDiv as i}from"./TruncatedContent.style.js";import s from"../Tooltip/Tooltip.js";const c=({children:c,isAlwaysVisible:l=!1,tooltipContent:a,placement:m="bottom"})=>{const[d,p]=o(!1),u=t(null),f=u.current,h=n((()=>{p(!0)}),[]),j=n((()=>{p(!1)}),[]),v=r((()=>!!f&&f.scrollWidth>f.offsetWidth),[f]),b=n(((e,o,t,n)=>void 0!==e&&(!!n||o&&t)),[]);return b(a,d,v,l)?e(s,Object.assign({placement:m,content:a},{children:e(i,Object.assign({ref:u,onMouseEnter:h,onMouseLeave:j},{children:c}),void 0)}),void 0):e(i,Object.assign({ref:u,onMouseEnter:h,onMouseLeave:j},{children:c}),void 0)};export{c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__rest as e}from"tslib";import{jsx as t}from"@emotion/react/jsx-runtime";import*as o from"react";const r=r=>{var{onClick:n,CustomHtmlTag:s="div",ariaRole:c="button",cssStyles:i}=r,m=e(r,["onClick","CustomHtmlTag","ariaRole","cssStyles"]);const a=o.useRef(null);return((e,t)=>{const r=o=>{e.current&&!e.current.contains(o.target)&&t()};o.useEffect((()=>(document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)})))})(a,n),t(s,Object.assign({role:c,ref:a,style:i},{children:m.children}),void 0)};export{r as default};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{css as o}from"@emotion/react";import{rem as t}from"../../../theme/utils.js";const i=({menuPosition:i})=>e=>o`
|
|
2
|
+
max-height: ${t(253)};
|
|
3
|
+
overflow-y: auto;
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: ${t(48)};
|
|
6
|
+
left: ${"left"===i?0:"initial"};
|
|
7
|
+
right: 0;
|
|
8
|
+
min-width: ${t(150)};
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: auto;
|
|
11
|
+
background-color: ${e.globals.colors.white};
|
|
12
|
+
box-shadow: ${e.globals.elevation["02"]};
|
|
13
|
+
border-radius: ${t(4)};
|
|
14
|
+
z-index: 1;
|
|
15
|
+
`;export{i as optionsStyle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as i,jsx as n}from"@emotion/react/jsx-runtime";import{useRef as e,useState as t,useEffect as o}from"react";import{container as r,itemContainer as l}from"./PositionInScreen.style.js";const d=({isVisible:d,parent:u,isOverflowAllowed:s,offsetX:c=0,offsetY:v=0,children:h})=>{const f=e(null),g=e(null),{x:w,y:a}=((i,n,e)=>{const[r,l]=t({x:-1,y:-1});return o((()=>{var e,t,o,r;let{x:d,y:u}=(null==i?void 0:i.current)?null===(e=null==i?void 0:i.current)||void 0===e?void 0:e.getBoundingClientRect():{x:0,y:0};const s=(null===(t=null==i?void 0:i.current)||void 0===t?void 0:t.offsetHeight)||0,{width:c,height:v}=(null==n?void 0:n.current)?null===(r=null===(o=null==n?void 0:n.current)||void 0===o?void 0:o.children[0])||void 0===r?void 0:r.getBoundingClientRect():{width:0,height:0};u+s+v>window.innerHeight?(u-=v,u<0&&(u=0)):u+=s,d+c>window.innerWidth&&(d=window.innerWidth-c),l({x:d,y:u})}),[i,n,e]),r})(f,g,d),m=d&&-1!==w&&-1!==a,x=u;return i("div",Object.assign({css:r(s,m),ref:f},{children:[n(x,{},void 0),m&&n("div",Object.assign({css:l(w+c,a+v),id:"unique-tooltip-id",ref:g},{children:h}),void 0)]}),void 0)};export{d as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{css as t}from"@emotion/react";const i=(i,o)=>e=>t`
|
|
2
|
+
overflow: ${i?"hidden":"inherit"};
|
|
3
|
+
text-overflow: ${i?"ellipsis":"inherit"};
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: inherit;
|
|
6
|
+
|
|
7
|
+
#unique-tooltip-id {
|
|
8
|
+
display: ${o?"block !important":"none !important"};
|
|
9
|
+
}
|
|
10
|
+
`,o=(i,o)=>e=>t`
|
|
11
|
+
position: fixed;
|
|
12
|
+
opacity: 1 !important;
|
|
13
|
+
top: ${o+"px"};
|
|
14
|
+
left: ${i+"px"};
|
|
15
|
+
z-index: 999999999;
|
|
16
|
+
width: fit-content;
|
|
17
|
+
height: fit-content;
|
|
18
|
+
`;export{i as container,o as itemContainer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=({event:e,isSearchable:t,setSearchValue:a,isAsync:r,onChange:n,minCharactersToSearch:s=0})=>{const{target:{value:c}}=e;if(t&&a(c),r){if(e.persist(),s&&c.length&&c.length<s)return;n(c.trim())}};export{e as default,e as handleSearch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"lodash/toPairs";import{useMedia as t}from"react-media";const d=["des1920","des1440","des1366","des1200","tab1024","tab970","tab750","mob480","mob320"],s={des1920:"1920",des1440:"1440",des1366:"1366",des1200:"1200",tab1024:"1024",tab970:"970",tab750:"750",mob480:"480",mob320:"320"},a=e(s).reduce(((e,t)=>(e[t[0]]=`(min-width: ${t[1]}px)`,e)),{}),o=()=>t({queries:a});export{o as default,d as queriesKeys,s as queriesSizes};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as t from"react";const e=(...e)=>{const r=t.useRef(null);return t.useEffect((()=>{e.forEach((t=>{t&&("function"==typeof t?t(r.current):t&&"object"==typeof t&&(t.current=r.current))}))}),[e]),r};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useEffect as e}from"react";const n=n=>{e((()=>{const e=e=>{"Escape"===e.key&&n()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}),[n])};export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useState as n,useCallback as o}from"react";const r=(r,t=!1)=>{const[e,a]=n(t),c=o((n=>{a(n)}),[a]);return{isLoading:e,handleAsyncOperation:o((n=>{r&&r(c,n)}),[c,r])}};export{r as useLoading};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useState as r,useLayoutEffect as t}from"react";import{useLocation as a}from"react-router-dom";const o=(o,e)=>{const m=a(),[n,p]=r();return t((()=>{o.forEach((r=>{(r.options.map((r=>r.url)).includes(m.pathname)||r.url===m.pathname)&&(p(r.url),e([r.url]))}))}),[m.pathname,o,e]),[n]};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as a from"react";const e=({page:e=1,count:t=1,onChange:s})=>{const[g,n]=a.useState(e),o=g+1<=t,c=g-1>=1;a.useEffect((()=>{n(e)}),[e]);const l=a.useCallback((()=>{n(1),s(1)}),[s]),r=a.useCallback((()=>{n(t),s(t)}),[s,t]),u=a.useCallback((()=>{let a=g;a+1<=t&&(a+=1),n(a),s(a)}),[s,t,g]),P=a.useCallback((()=>{let a=g;a-1>=1&&(a-=1),n(a),s(a)}),[s,g]);return{currentPage:g,hasNextPage:o,hasPrevPage:c,navigateToFirstPage:l,navigateToLastPage:r,navigateToNextPage:u,navigateToPrevPage:P}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTheme as e}from"@emotion/react";var a=()=>e();export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"@emotion/react/jsx-runtime";import*as e from"react";const t=e.createContext({isDark:!1,toggle:()=>{}}),i=()=>e.useContext(t),o=({children:i})=>{const[o,s]=e.useState({isDark:!1});return r(t.Provider,Object.assign({value:{isDark:o.isDark,toggle:()=>{s((r=>({isDark:!r.isDark})))}}},{children:i}),void 0)};export{o as ThemeSwitchProvider,i as useThemeSwitch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as t from"react";const a=(a=!1)=>{const[e,r]=t.useState(a);return[e,t.useCallback((()=>r((t=>!t))),[r])]};export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import o from"./useTheme.js";import r from"lodash/keys";import t from"lodash/pick";import*as s from"react";import{mainTypes as l,BASE_SHADE as a}from"../theme/palette.js";import{calculateActualColorFromComponentProp as c}from"../utils/themeFunctions.js";const n=s.createContext({typesShadesColor:{},calculateColorBetweenColorAndType:(e,o)=>{}}),m=()=>s.useContext(n),i=({children:m})=>{const i=o(),u=t(i.globals.colors,l),d=s.useMemo((()=>((e,o)=>l.reduce(((t,s)=>{const l=e[s][a],c=r(o);return t[s]=c.reduce(((e,t)=>{const s=r(o[t]).find((e=>o[t][e].toLowerCase()===l.toLowerCase()));return s?{shade:Number(s),color:t}:e}),{}),t}),{}))(u,i.globals.colors.flat)),[u,i]),p=s.useCallback(((e,o)=>{const r=e?c(e):void 0;return r||d[o]}),[u,i,d]);return e(n.Provider,Object.assign({value:{typesShadesColor:d,calculateColorBetweenColorAndType:p}},{children:m}),void 0)};export{i as TypeColorToColorMatchProvider,m as useTypeColorToColorMatch};
|
package/dist/index.d.ts
CHANGED
|
@@ -38,26 +38,26 @@ declare const flexCenter: _emotion_react.SerializedStyles;
|
|
|
38
38
|
declare const flexCenterVertical: _emotion_react.SerializedStyles;
|
|
39
39
|
declare const plainTextButton: _emotion_react.SerializedStyles;
|
|
40
40
|
|
|
41
|
-
declare const functions_d_grid: typeof grid;
|
|
42
|
-
declare const functions_d_well: typeof well;
|
|
43
41
|
declare const functions_d_centerAbsoluteVertical: typeof centerAbsoluteVertical;
|
|
44
|
-
declare const functions_d_transition: typeof transition;
|
|
45
|
-
declare const functions_d_lineEllipsis: typeof lineEllipsis;
|
|
46
42
|
declare const functions_d_flex: typeof flex;
|
|
47
43
|
declare const functions_d_flexCenter: typeof flexCenter;
|
|
48
44
|
declare const functions_d_flexCenterVertical: typeof flexCenterVertical;
|
|
45
|
+
declare const functions_d_grid: typeof grid;
|
|
46
|
+
declare const functions_d_lineEllipsis: typeof lineEllipsis;
|
|
49
47
|
declare const functions_d_plainTextButton: typeof plainTextButton;
|
|
48
|
+
declare const functions_d_transition: typeof transition;
|
|
49
|
+
declare const functions_d_well: typeof well;
|
|
50
50
|
declare namespace functions_d {
|
|
51
51
|
export {
|
|
52
|
-
functions_d_grid as grid,
|
|
53
|
-
functions_d_well as well,
|
|
54
52
|
functions_d_centerAbsoluteVertical as centerAbsoluteVertical,
|
|
55
|
-
functions_d_transition as transition,
|
|
56
|
-
functions_d_lineEllipsis as lineEllipsis,
|
|
57
53
|
functions_d_flex as flex,
|
|
58
54
|
functions_d_flexCenter as flexCenter,
|
|
59
55
|
functions_d_flexCenterVertical as flexCenterVertical,
|
|
56
|
+
functions_d_grid as grid,
|
|
57
|
+
functions_d_lineEllipsis as lineEllipsis,
|
|
60
58
|
functions_d_plainTextButton as plainTextButton,
|
|
59
|
+
functions_d_transition as transition,
|
|
60
|
+
functions_d_well as well,
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -72,8 +72,8 @@ declare const elevation: Elevation;
|
|
|
72
72
|
type elevation_d_Elevation = Elevation;
|
|
73
73
|
declare namespace elevation_d {
|
|
74
74
|
export {
|
|
75
|
-
elevation as default,
|
|
76
75
|
elevation_d_Elevation as Elevation,
|
|
76
|
+
elevation as default,
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -138,13 +138,13 @@ declare type Spacing = {
|
|
|
138
138
|
};
|
|
139
139
|
declare const spacing: Spacing;
|
|
140
140
|
|
|
141
|
-
type spacing_d_SpacingKey = SpacingKey;
|
|
142
141
|
type spacing_d_Spacing = Spacing;
|
|
142
|
+
type spacing_d_SpacingKey = SpacingKey;
|
|
143
143
|
declare namespace spacing_d {
|
|
144
144
|
export {
|
|
145
|
-
spacing as default,
|
|
146
|
-
spacing_d_SpacingKey as SpacingKey,
|
|
147
145
|
spacing_d_Spacing as Spacing,
|
|
146
|
+
spacing_d_SpacingKey as SpacingKey,
|
|
147
|
+
spacing as default,
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -355,39 +355,39 @@ declare type Typography = {
|
|
|
355
355
|
};
|
|
356
356
|
declare const typography: Typography;
|
|
357
357
|
|
|
358
|
-
type
|
|
359
|
-
type typography_d_FontWeightKey = FontWeightKey;
|
|
358
|
+
type typography_d_FontFamily = FontFamily;
|
|
360
359
|
type typography_d_FontFamilyKey = FontFamilyKey;
|
|
361
|
-
type typography_d_LineHeightKey = LineHeightKey;
|
|
362
|
-
type typography_d_LetterSpacingKey = LetterSpacingKey;
|
|
363
|
-
type typography_d_TextCaseKey = TextCaseKey;
|
|
364
|
-
type typography_d_TextDecorationKey = TextDecorationKey;
|
|
365
360
|
type typography_d_FontSize = FontSize;
|
|
361
|
+
type typography_d_FontSizeKey = FontSizeKey;
|
|
366
362
|
type typography_d_FontWeight = FontWeight;
|
|
367
|
-
type
|
|
368
|
-
type typography_d_LineHeight = LineHeight;
|
|
363
|
+
type typography_d_FontWeightKey = FontWeightKey;
|
|
369
364
|
type typography_d_LetterSpacing = LetterSpacing;
|
|
365
|
+
type typography_d_LetterSpacingKey = LetterSpacingKey;
|
|
366
|
+
type typography_d_LineHeight = LineHeight;
|
|
367
|
+
type typography_d_LineHeightKey = LineHeightKey;
|
|
370
368
|
type typography_d_TextCase = TextCase;
|
|
369
|
+
type typography_d_TextCaseKey = TextCaseKey;
|
|
371
370
|
type typography_d_TextDecoration = TextDecoration;
|
|
371
|
+
type typography_d_TextDecorationKey = TextDecorationKey;
|
|
372
372
|
type typography_d_Typography = Typography;
|
|
373
373
|
declare namespace typography_d {
|
|
374
374
|
export {
|
|
375
|
-
|
|
376
|
-
typography_d_FontSizeKey as FontSizeKey,
|
|
377
|
-
typography_d_FontWeightKey as FontWeightKey,
|
|
375
|
+
typography_d_FontFamily as FontFamily,
|
|
378
376
|
typography_d_FontFamilyKey as FontFamilyKey,
|
|
379
|
-
typography_d_LineHeightKey as LineHeightKey,
|
|
380
|
-
typography_d_LetterSpacingKey as LetterSpacingKey,
|
|
381
|
-
typography_d_TextCaseKey as TextCaseKey,
|
|
382
|
-
typography_d_TextDecorationKey as TextDecorationKey,
|
|
383
377
|
typography_d_FontSize as FontSize,
|
|
378
|
+
typography_d_FontSizeKey as FontSizeKey,
|
|
384
379
|
typography_d_FontWeight as FontWeight,
|
|
385
|
-
|
|
386
|
-
typography_d_LineHeight as LineHeight,
|
|
380
|
+
typography_d_FontWeightKey as FontWeightKey,
|
|
387
381
|
typography_d_LetterSpacing as LetterSpacing,
|
|
382
|
+
typography_d_LetterSpacingKey as LetterSpacingKey,
|
|
383
|
+
typography_d_LineHeight as LineHeight,
|
|
384
|
+
typography_d_LineHeightKey as LineHeightKey,
|
|
388
385
|
typography_d_TextCase as TextCase,
|
|
386
|
+
typography_d_TextCaseKey as TextCaseKey,
|
|
389
387
|
typography_d_TextDecoration as TextDecoration,
|
|
388
|
+
typography_d_TextDecorationKey as TextDecorationKey,
|
|
390
389
|
typography_d_Typography as Typography,
|
|
390
|
+
typography as default,
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
393
|
|
|
@@ -397,8 +397,8 @@ declare const overrides: Overrides;
|
|
|
397
397
|
type overrides_d_Overrides = Overrides;
|
|
398
398
|
declare namespace overrides_d {
|
|
399
399
|
export {
|
|
400
|
-
overrides as default,
|
|
401
400
|
overrides_d_Overrides as Overrides,
|
|
401
|
+
overrides as default,
|
|
402
402
|
};
|
|
403
403
|
}
|
|
404
404
|
|
|
@@ -798,48 +798,48 @@ declare type GetAAColor = {
|
|
|
798
798
|
};
|
|
799
799
|
declare const getAAColor: (palette: Palette) => GetAAColor;
|
|
800
800
|
|
|
801
|
-
declare const palette_d_neutralColors: typeof neutralColors;
|
|
802
|
-
declare const palette_d_colorSchemes: typeof colorSchemes;
|
|
803
|
-
declare const palette_d_flatColors: typeof flatColors;
|
|
804
|
-
declare const palette_d_paleColors: typeof paleColors;
|
|
805
|
-
declare const palette_d_colorShades: typeof colorShades;
|
|
806
|
-
declare const palette_d_MIN_SHADE: typeof MIN_SHADE;
|
|
807
801
|
declare const palette_d_BASE_SHADE: typeof BASE_SHADE;
|
|
808
|
-
declare const palette_d_MAX_SHADE: typeof MAX_SHADE;
|
|
809
|
-
declare const palette_d_mainTypes: typeof mainTypes;
|
|
810
802
|
type palette_d_FlatPalette = FlatPalette;
|
|
811
|
-
type palette_d_PalePalette = PalePalette;
|
|
812
803
|
type palette_d_GeneratedColorShades = GeneratedColorShades;
|
|
804
|
+
type palette_d_GetAAColor = GetAAColor;
|
|
805
|
+
type palette_d_GetAAColorFromSwatches = GetAAColorFromSwatches;
|
|
806
|
+
type palette_d_GetColor = GetColor;
|
|
807
|
+
declare const palette_d_MAX_SHADE: typeof MAX_SHADE;
|
|
808
|
+
declare const palette_d_MIN_SHADE: typeof MIN_SHADE;
|
|
809
|
+
type palette_d_PalePalette = PalePalette;
|
|
813
810
|
type palette_d_Palette = Palette;
|
|
811
|
+
declare const palette_d_colorSchemes: typeof colorSchemes;
|
|
812
|
+
declare const palette_d_colorShades: typeof colorShades;
|
|
813
|
+
declare const palette_d_flatColors: typeof flatColors;
|
|
814
814
|
type palette_d_formFieldStyles = formFieldStyles;
|
|
815
|
-
type palette_d_GetColor = GetColor;
|
|
816
|
-
declare const palette_d_getColor: typeof getColor;
|
|
817
|
-
type palette_d_GetAAColorFromSwatches = GetAAColorFromSwatches;
|
|
818
|
-
declare const palette_d_getAAColorFromSwatches: typeof getAAColorFromSwatches;
|
|
819
|
-
type palette_d_GetAAColor = GetAAColor;
|
|
820
815
|
declare const palette_d_getAAColor: typeof getAAColor;
|
|
816
|
+
declare const palette_d_getAAColorFromSwatches: typeof getAAColorFromSwatches;
|
|
817
|
+
declare const palette_d_getColor: typeof getColor;
|
|
818
|
+
declare const palette_d_mainTypes: typeof mainTypes;
|
|
819
|
+
declare const palette_d_neutralColors: typeof neutralColors;
|
|
820
|
+
declare const palette_d_paleColors: typeof paleColors;
|
|
821
821
|
declare namespace palette_d {
|
|
822
822
|
export {
|
|
823
|
-
palette_d_neutralColors as neutralColors,
|
|
824
|
-
palette_d_colorSchemes as colorSchemes,
|
|
825
|
-
palette_d_flatColors as flatColors,
|
|
826
|
-
palette_d_paleColors as paleColors,
|
|
827
|
-
palette_d_colorShades as colorShades,
|
|
828
|
-
palette_d_MIN_SHADE as MIN_SHADE,
|
|
829
823
|
palette_d_BASE_SHADE as BASE_SHADE,
|
|
830
|
-
palette_d_MAX_SHADE as MAX_SHADE,
|
|
831
|
-
palette_d_mainTypes as mainTypes,
|
|
832
824
|
palette_d_FlatPalette as FlatPalette,
|
|
833
|
-
palette_d_PalePalette as PalePalette,
|
|
834
825
|
palette_d_GeneratedColorShades as GeneratedColorShades,
|
|
826
|
+
palette_d_GetAAColor as GetAAColor,
|
|
827
|
+
palette_d_GetAAColorFromSwatches as GetAAColorFromSwatches,
|
|
828
|
+
palette_d_GetColor as GetColor,
|
|
829
|
+
palette_d_MAX_SHADE as MAX_SHADE,
|
|
830
|
+
palette_d_MIN_SHADE as MIN_SHADE,
|
|
831
|
+
palette_d_PalePalette as PalePalette,
|
|
835
832
|
palette_d_Palette as Palette,
|
|
833
|
+
palette_d_colorSchemes as colorSchemes,
|
|
834
|
+
palette_d_colorShades as colorShades,
|
|
835
|
+
palette_d_flatColors as flatColors,
|
|
836
836
|
palette_d_formFieldStyles as formFieldStyles,
|
|
837
|
-
palette_d_GetColor as GetColor,
|
|
838
|
-
palette_d_getColor as getColor,
|
|
839
|
-
palette_d_GetAAColorFromSwatches as GetAAColorFromSwatches,
|
|
840
|
-
palette_d_getAAColorFromSwatches as getAAColorFromSwatches,
|
|
841
|
-
palette_d_GetAAColor as GetAAColor,
|
|
842
837
|
palette_d_getAAColor as getAAColor,
|
|
838
|
+
palette_d_getAAColorFromSwatches as getAAColorFromSwatches,
|
|
839
|
+
palette_d_getColor as getColor,
|
|
840
|
+
palette_d_mainTypes as mainTypes,
|
|
841
|
+
palette_d_neutralColors as neutralColors,
|
|
842
|
+
palette_d_paleColors as paleColors,
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
845
|
|