@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,52 @@
|
|
|
1
|
+
import{css as e}from"@emotion/react";const o=e`
|
|
2
|
+
display: grid;
|
|
3
|
+
|
|
4
|
+
grid-auto-columns: 1fr;
|
|
5
|
+
`,t=e`
|
|
6
|
+
border-radius: 6px;
|
|
7
|
+
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
|
|
8
|
+
background-color: white;
|
|
9
|
+
`,i=e`
|
|
10
|
+
position: absolute;
|
|
11
|
+
margin: auto;
|
|
12
|
+
top: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
`,n=(o,t="all")=>e`
|
|
15
|
+
-webkit-transition: ${t} ${o}s ease-in-out;
|
|
16
|
+
-moz-transition: ${t} ${o}s ease-in-out;
|
|
17
|
+
-ms-transition: ${t} ${o}s ease-in-out;
|
|
18
|
+
-o-transition: ${t} ${o}s ease-in-out;
|
|
19
|
+
transition: ${t} ${o}s ease-in-out;
|
|
20
|
+
`,r=e`
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
text-overflow: ellipsis;
|
|
24
|
+
`,s=e`
|
|
25
|
+
display: -webkit-box;
|
|
26
|
+
display: -moz-box;
|
|
27
|
+
display: -ms-flexbox;
|
|
28
|
+
display: flex;
|
|
29
|
+
`,a=e`
|
|
30
|
+
${s};
|
|
31
|
+
-webkit-align-items: center;
|
|
32
|
+
-moz-box-align: center;
|
|
33
|
+
-ms-flex-align: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
`,l=e`
|
|
37
|
+
${s};
|
|
38
|
+
-webkit-align-items: center;
|
|
39
|
+
-moz-box-align: center;
|
|
40
|
+
-ms-flex-align: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
`,b=e`
|
|
43
|
+
${n(.1,"color")}
|
|
44
|
+
border: none;
|
|
45
|
+
background: transparent;
|
|
46
|
+
box-shadow: none;
|
|
47
|
+
text-shadow: none;
|
|
48
|
+
padding: 0;
|
|
49
|
+
margin: 0;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
`;export{i as centerAbsoluteVertical,s as flex,a as flexCenter,l as flexCenterVertical,o as grid,r as lineEllipsis,b as plainTextButton,n as transition,t as well};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getFigmaTokensValue as s,FigmaTokenValueType as t}from"../utils.js";import o from"./constants/borderRadius.js";const r={get:s(o,t.Pixels)};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getFigmaTokensValue as t,FigmaTokenValueType as o}from"../utils.js";import s from"./constants/borderWidth.js";const r={get:t(s,o.Pixels)};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getFigmaTokensValue as o,FigmaTokenValueType as t}from"../utils.js";import s from"./constants/boxShadow.js";const a={get:o(s,t.BoxShadow)};export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{paletteConfig as t}from"../palette.config.js";import{enhancePaletteWithShades as o}from"../utils.js";const r=o(t);export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const r={0:{value:"0px",type:"borderRadius",description:"Corner radius = 0px"},1:{value:"2px",type:"borderRadius",description:"Corner radius = 2px"},2:{value:"4px",type:"borderRadius",description:"Corner radius = 4px"},3:{value:"8px",type:"borderRadius",description:"Corner radius = 8px"},4:{value:"16px",type:"borderRadius",description:"Corner radius = 16px"},5:{value:"36px",type:"borderRadius",description:"Corner radius = 36px"},6:{value:"48px",type:"borderRadius",description:"Corner radius = 48px"},7:{value:"100px",type:"borderRadius",description:"Corner radius = 100px used for circles and pill shaped elements"}};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={1:{value:"1px",type:"borderWidth",description:"Default 1pxs stroke"},2:{value:"2px",type:"borderWidth"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o={0:{value:{x:"0",y:"0",blur:"0",spread:"0",color:"#",type:"innerShadow"},type:"boxShadow"},1:{value:{x:"0",y:"2",blur:"5",spread:"0",color:"#10306612",type:"dropShadow"},type:"boxShadow"},2:{value:{x:"0",y:"4",blur:"8",spread:"0",color:"#10306612",type:"dropShadow"},type:"boxShadow"},3:{value:{color:"#10306612",type:"dropShadow",x:"0",y:"8",blur:"16",spread:"0"},type:"boxShadow"},4:{value:{color:"#10306612",type:"dropShadow",x:"0",y:"16",blur:"24",spread:"0"},type:"boxShadow"}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o={roboto:{value:"Roboto",type:"fontFamilies"}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={1:{value:"10",type:"fontSizes",description:"smallest possible body size. Used only for avatar initials"},2:{value:"12",type:"fontSizes"},3:{value:"14",type:"fontSizes"},4:{value:"16",type:"fontSizes"},5:{value:"18",type:"fontSizes"},6:{value:"20",type:"fontSizes"},7:{value:"22",type:"fontSizes"},8:{value:"24",type:"fontSizes"},9:{value:"28",type:"fontSizes"},10:{value:"32",type:"fontSizes"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={regular:{value:"400",type:"fontWeights"},medium:{value:"500",type:"fontWeights"},semiBold:{value:"600",type:"fontWeights"},bold:{value:"700",type:"fontWeights"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={0:{value:"0",type:"letterSpacing"},1:{value:"0.1",type:"letterSpacing"},2:{value:".25",type:"letterSpacing"},3:{value:".5",type:"letterSpacing"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={1:{value:"14",type:"lineHeights",description:"For form field labels only"},2:{value:"16",type:"lineHeights",description:"For input fields only (Form Fields & Tables)"},3:{value:"18px",type:"lineHeights"},4:{value:"20",type:"lineHeights"},5:{value:"22",type:"lineHeights"},6:{value:"24",type:"lineHeights"},7:{value:"28",type:"lineHeights"},8:{value:"32",type:"lineHeights"},9:{value:"36",type:"lineHeights"},10:{value:"40",type:"lineHeights"},11:{value:"48",type:"lineHeights"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={0:{value:"0",type:"opacity"},1:{value:"7%",type:"opacity"},2:{value:"14%",type:"opacity"},3:{value:"21%",type:"opacity"},4:{value:"50%",type:"opacity",description:"used in disabled state"},5:{value:"75%",type:"opacity",description:"used in backdrop overlays"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={0:{value:"0",type:"sizing"},1:{value:"4",type:"sizing"},2:{value:"8",type:"sizing"},3:{value:"12",type:"sizing"},4:{value:"16",type:"sizing"},5:{value:"20",type:"sizing"},6:{value:"24",type:"sizing"},7:{value:"28",type:"sizing"},8:{value:"32",type:"sizing"},9:{value:"36",type:"sizing"},10:{value:"40",type:"sizing"},11:{value:"44",type:"sizing"},12:{value:"48",type:"sizing"},13:{value:"52",type:"sizing"},14:{value:"56",type:"sizing"},15:{value:"64",type:"sizing"},16:{value:"72",type:"sizing"},17:{value:"80",type:"sizing"},18:{value:"88",type:"sizing"},19:{value:"92",type:"sizing"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a={0:{value:"0",type:"spacing"},1:{value:"1",type:"spacing"},2:{value:"2",type:"spacing"},3:{value:"4",type:"spacing"},4:{value:"8",type:"spacing"},5:{value:"12",type:"spacing"},6:{value:"16",type:"spacing"},7:{value:"20",type:"spacing"},8:{value:"24",type:"spacing"},9:{value:"32",type:"spacing"},10:{value:"36",type:"spacing"},11:{value:"40",type:"spacing"},12:{value:"44",type:"spacing"}};export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={none:{value:"none",type:"textCase"},uppercase:{value:"uppercase",type:"textCase"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={link:{value:"underline",type:"textDecoration",description:"underline that appears on link while hovering"},none:{value:"none",type:"textDecoration"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const p={"01":"0px 2px 5px rgba(16, 48, 102, 0.07)","02":"0px 4px 8px rgba(16, 48, 102, 0.07)","03":"0px 8px 16px rgba(16, 48, 102, 0.07)","04":"0px 16px 24px rgba(16, 48, 102, 0.07)"};export{p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./borderRadius.js";import r from"./borderWidth.js";import i from"./boxShadow.js";import t from"./colors.js";import s from"./elevation.js";import m from"./opacity.js";import p from"./sizing.js";import a from"./spacing.js";import d from"./typography.js";const e={colors:t,typography:d,spacing:a,elevation:s,borderRadius:o,borderWidth:r,boxShadow:i,opacity:m,sizing:p};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getFigmaTokensValue as t,FigmaTokenValueType as o}from"../utils.js";import s from"./constants/opacity.js";const r={get:t(s,o.String)};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getFigmaTokensValue as s,FigmaTokenValueType as t}from"../utils.js";import o from"./constants/sizing.js";const i={get:s(o,t.Pixels)};export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getFigmaTokensValue as s,FigmaTokenValueType as t}from"../utils.js";import o from"./constants/spacing.js";const i={get:s(o,t.Pixels)};export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{rem as t}from"polished";import{getFigmaTokensValue as o,FigmaTokenValueType as s}from"../utils.js";import e from"./constants/fontFamily.js";import i from"./constants/fontSize.js";import n from"./constants/fontWeight.js";import r from"./constants/letterSpacing.js";import m from"./constants/lineHeight.js";import a from"./constants/textCase.js";import g from"./constants/textDecoration.js";const p={get:o(i,s.Pixels),8:t("8px"),11:t("11px"),13:t("13px"),15:t("15px")},f={get:o(n,s.Number)},l={get:o(e,s.String)},c={get:o(m,s.Pixels)},x={get:o(r,s.String)},S={get:o(a,s.String)},j={get:o(g,s.String)},h=l.get("roboto"),F={globalFontSize:16,fontSizes:p,weights:f,fontFamilies:l,fontFamily:h,lineHeights:c,letterSpacings:x,textCases:S,textDecorations:j};export{F as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"lodash/get";import r from"./globals/index.js";import e from"./overrides.js";import{getColor as s,getAAColorFromSwatches as t,getAAColor as l}from"./palette.js";import m from"./tokens/index.js";const i=i=>({globals:r,colorScheme:i,overrides:e,tokens:Object.assign({},o(m,i,"semantic")),utils:{getColor:s(r.colors),getAAColorFromSwatches:t(r.colors),getAAColor:l(r.colors)}});export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t={};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={orange:"#FF9F0F",red:"#FF176B",lightPurple:"#a8b1ff",blue:"#175bf5",darkBlue:"#4945ee",teal:"#1de9b6",purple:"#8833ff",magenta:"#F814E1",greyScale:"#808080",darkGrey:"#32324E",lightGrey:"#889BBF",lightBlue:"#28BDFF",green:"#36C152",yellow:"#FDD835",darkOrange:"#BF360C",neutralWhite:"#fbfbfb",neutralBlack:"#030303"},r={greyScale:"#F9F9F9",darkGrey:"#F5F5F6",lightGrey:"#F9FAFC",red:"#FFF3F6",magenta:"#FCF3FD",purple:"#F9F5FF",lightPurple:"#a8b1ff",darkBlue:"#F6F6FE",blue:"#F4F8FF",lightBlue:"#F4FCFF",teal:"#F4FEFB",green:"#F5FCF6",yellow:"#FFFDF5",orange:"#FFF8F2"},F={flat:Object.assign({},e),neutral:{light:"#ffffff",dark:"#32354c",grey:"#54587F",transparent:"rgba(0,0,0,0)"},gradient:{primary:"linear-gradient(90deg, #4945EE 0%, #175BF5 100%)",secondary:"linear-gradient(45deg, #a8b1ff 0%, #cad0ff 100%)",tertiary:"linear-gradient(90deg, #1DE9B6 0%, #8EF4DA 100%)",upsell:"linear-gradient(90deg, #F943E7 0%, #FA72ED 100%)",inverted:"linear-gradient(45deg, #212332 0%, #32354C 100%)"},primary:e.blue,secondary:e.teal,success:e.green,error:e.red,warning:e.orange,info:e.darkBlue,light:e.greyScale,link:"#246CE5",pale:Object.assign({},r),text:{primary:e.darkGrey,secondary:e.lightGrey,light:e.greyScale},white:"white",black:"black"};export{e as flatPaletteConfig,r as palePaletteConfig,F as paletteConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getContrast as e}from"polished";import{errorHandler as l}from"../utils/helpers.js";import{getColorErrors as r}from"./utils.js";const t=["neutralWhite","neutralBlack"],a=["semantic","dark"],i=["greyScale","darkGrey","lightGrey","red","magenta","lightPurple","purple","darkBlue","blue","lightBlue","teal","green","yellow","orange","darkOrange",...t],n=["greyScale","darkGrey","lightGrey","red","magenta","lightPurple","purple","darkBlue","blue","lightBlue","teal","green","yellow","orange"],o=[50,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950],u=50,d=500,g=950,s=["primary","secondary","success","error","warning","info","light","link"],p=e=>(t,a,i="flat")=>{var n,o,u;let d;return d=null===a?null===(n=null==e?void 0:e[i])||void 0===n?void 0:n[t]:"normal"===i?e[t][a]:null===(u=null===(o=null==e?void 0:e[i])||void 0===o?void 0:o[t])||void 0===u?void 0:u[a],l(r,d),d},c=e=>(l,r)=>{const t=p(e)(l,r);return h(e)(t)},h=l=>r=>{const t=l.white,a=l.black;return e(r,a)>e(r,t)?a:t};export{d as BASE_SHADE,g as MAX_SHADE,u as MIN_SHADE,a as colorSchemes,o as colorShades,i as flatColors,h as getAAColor,c as getAAColorFromSwatches,p as getColor,s as mainTypes,t as neutralColors,n as paleColors};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{statesConfig as o}from"./statesConfig.js";const s=o.semantic.disabled.opacity.amount,t=o.semantic.disabled.cursor.name,a=()=>({style:{opacity:s,cursor:t},opacity:s,cursor:t});export{a as getDisabled};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{rem as o}from"../utils.js";import{statesConfig as t}from"./statesConfig.js";const r=t.semantic.focus.border.width.step,e=t.semantic.focus.border.color,s=({theme:t,borderWidth:s=0})=>{const i=s+r,d=t.utils.getColor(e.name,e.shade);return{borderWidth:o(i),focusColor:d,styleBorder:`${o(i)} solid ${d}`,styleOutline:`${d} auto ${o(i)}`}};export{s as getFocus};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{statesConfig as o}from"./statesConfig.js";import{getShadeWithStep as r}from"./utils.js";const e=({theme:e,color:c,shade:t})=>{const l=o[e.colorScheme].hover.backgroundColor.step,s=c||("dark"===e.colorScheme?"darkGrey":"lightGrey"),h=t||("dark"===e.colorScheme?700:0),m=r({shade:h,step:l,colorScheme:e.colorScheme});return{backgroundColor:e.utils.getColor(s,m)}};export{e as getHover};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{statesConfig as o}from"./statesConfig.js";import{getShadeWithStep as e}from"./utils.js";const r=({theme:r,color:c,shade:t})=>{const s=o[r.colorScheme].pressed.backgroundColor.step,l=c||("dark"===r.colorScheme?"darkGrey":"lightGrey"),m=t||("dark"===r.colorScheme?700:0),h=e({shade:m,step:s,colorScheme:r.colorScheme});return{backgroundColor:r.utils.getColor(l,h)}};export{r as getPressed};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o={hover:{backgroundColor:{step:50}},focus:{border:{width:{step:1},color:{name:"magenta",shade:500}}},pressed:{backgroundColor:{step:100}},disabled:{opacity:{amount:.5},cursor:{name:"not-allowed"}}},e={hover:{backgroundColor:{step:50}},focus:{border:{width:{step:1},color:{name:"magenta",shade:500}}},pressed:{backgroundColor:{step:100}},disabled:{opacity:{amount:.5},cursor:{name:"not-allowed"}}},a={semantic:o,dark:e};export{e as darkStatesConfig,o as semanticStatesConfig,a as statesConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{MAX_SHADE as e,MIN_SHADE as t}from"../palette.js";const o=({shade:o=0,step:r=50,colorScheme:s})=>{let c=o;return("semantic"===s?o+r>e:o-r>t)?c-=r:c+=r,c};export{o as getShadeWithStep};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"./semantic/index.js";const e={semantic:t};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTokensValue as o}from"../utils.js";import r from"./variables/backdrop.js";const t={get:o(r)};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTokensValue as o}from"../utils.js";import r from"./variables/backgroundColor.js";const t={get:o(r)};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTokensValue as o}from"../utils.js";import r from"./variables/borderColor.js";const t={get:o(r)};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTokensValue as t}from"../utils.js";import s from"./variables/disabledState.js";const a={get:t(s)};export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./backdrop.js";import r from"./backgroundColor.js";import t from"./borderColor.js";import e from"./disabledState.js";import a from"./palette.js";import m from"./textColor.js";const d={backdrop:o,backgroundColor:r,borderColor:t,disabledState:e,palette:a,textColor:m};export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTokensValue as t}from"../utils.js";import e from"./variables/palette.js";const o={get:t(e)};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTokensValue as t}from"../utils.js";import o from"./variables/textColor.js";const r={get:t(o)};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={light:{value:"rgba(255,255,255,0.75)",type:"color",description:"The shade overlay that appears behind a modal on a given screen"},dark:{value:"rgba(2,9,24,0.75)",type:"color",description:"The shade overlay that appears behind a modal on a given screen"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o={light:{value:"#ffffff",type:"color",description:"for use as background color in pages"},neutralLight:{value:"#f9fafc",type:"color",description:"for use as background color in pages"},neutralDark:{value:"#f3f5f8",type:"color",description:"for use as background color in pages"},tintedLight:{value:"#f4f8ff",type:"color",description:"for use as background color in pages"},tintedDark:{value:"#e7eefe",type:"color",description:"for use as background color in pages"},inverted:{value:"#32354c",type:"color",description:"for use as background color in dark sections on pages"},invertedDark:{value:"#212332",type:"color",description:"for use as a background color in dark sections on pages"},transparent:{value:"rgba(0,0,0,0)",type:"color"},invertedAlt:{value:"#1d1b5f",type:"color"}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const l={decorative:{transparent:{value:"rgba(0,0,0,0)",type:"color"},light:{muted:{value:"{colors.lightPurple.150}",type:"color"},contrast:{value:"{colors.lightPurple.350}",type:"color"}},inverted:{muted:{value:"{colors.lightPurple.800}",type:"color"},contrast:{value:"{colors.lightPurple.750}",type:"color"}}},interactive:{inactive:{value:"{colors.blue.200}",type:"color"},inactiveAlt:{value:"{colors.lightPurple.150}",type:"color"},active:{value:"{colors.blue.500}",type:"color"},activeAlt:{value:"{colors.lightPurple.350}",type:"color"},focused:{value:"{colors.purple.500}",type:"color"},error:{value:"{colors.red.300}",type:"color"},success:{value:"{colors.teal.300}",type:"color"},warning:{value:"{colors.orange.300}",type:"color"}}};export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t={value:"{opacity.4}",type:"opacity"};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o={systemic:{light:{neutral:{light:{type:"color",value:"{colors.neutral.light}"},main:{type:"color",value:"{colors.blue.50}"},dark:{type:"color",value:"{colors.blue.100}"}},tertiary:{light:{value:"rgba(23,91,245,0)",type:"color"},main:{type:"color",value:"rgba(23,91,245,0.07)"},dark:{type:"color",value:"rgba(23,91,245,0.14)"}},primary:{light:{type:"color",value:"{colors.blue.400}"},main:{type:"color",value:"{colors.blue.500}"},dark:{type:"color",value:"{colors.blue.600}"}},secondary:{light:{type:"color",value:"{colors.lightPurple.100}"},main:{type:"color",value:"{colors.lightPurple.200}"},dark:{type:"color",value:"{colors.lightPurple.300}"}},upsell:{light:{type:"color",value:"{colors.magenta.300}"},main:{type:"color",value:"{colors.magenta.500}"},dark:{type:"color",value:"{colors.magenta.650}"}}},error:{light:{type:"color",value:"{colors.red.50}"},main:{type:"color",value:"{colors.red.100}"},dark:{type:"color",value:"{colors.red.550}"}},success:{light:{type:"color",value:"{colors.teal.50}"},main:{type:"color",value:"{colors.teal.500}"},dark:{type:"color",value:"{colors.teal.650}"}},warning:{light:{type:"color",value:"{colors.orange.50}"},main:{type:"color",value:"{colors.orange.500}"},dark:{type:"color",value:"{colors.orange.650}"}},inverted:{neutral:{light:{type:"color",value:"{colors.lightPurple.850}"},main:{type:"color",value:"{colors.lightPurple.800}"},dark:{type:"color",value:"{colors.lightPurple.750}"}},tertiary:{light:{value:"rgba(23,91,245,0)",type:"color"},main:{type:"color",value:"rgba(168,177,255,0.07)"},dark:{type:"color",value:"rgba(168,177,255,0.14)"}},primary:{light:{type:"color",value:"{colors.teal.400}"},main:{type:"color",value:"{colors.teal.300}"},dark:{type:"color",value:"{colors.teal.500}"}},secondary:{light:{type:"color",value:"{colors.lightPurple.800}"},main:{type:"color",value:"{colors.lightPurple.750}"},dark:{type:"color",value:"{colors.lightPurple.900}"}}}},accents:{blue:{light:{value:"{colors.blue.100}",type:"color"},main:{value:"{colors.blue.150}",type:"color"},dark:{value:"{colors.blue.500}",type:"color"},contrast:{value:"{colors.blue.550}",type:"color"}},darkBlue:{light:{value:"{colors.darkBlue.100}",type:"color"},main:{value:"{colors.darkBlue.150}",type:"color"},dark:{value:"{colors.darkBlue.450}",type:"color"},contrast:{value:"{colors.darkBlue.550}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},purple:{light:{value:"{colors.purple.100}",type:"color"},main:{value:"{colors.purple.150}",type:"color"},dark:{value:"{colors.purple.500}",type:"color"},contrast:{value:"{colors.purple.550}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},magenta:{light:{value:"{colors.magenta.100}",type:"color"},main:{value:"{colors.magenta.200}",type:"color"},dark:{value:"{colors.magenta.550}",type:"color"},contrast:{value:"{colors.magenta.650}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},orange:{light:{value:"{colors.orange.100}",type:"color"},main:{value:"{colors.orange.200}",type:"color"},dark:{value:"{colors.orange.550}",type:"color"},contrast:{value:"{colors.orange.700}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},teal:{light:{value:"{colors.teal.150}",type:"color"},main:{value:"{colors.teal.250}",type:"color"},dark:{value:"{colors.teal.550}",type:"color"},contrast:{value:"{colors.teal.750}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},red:{light:{value:"{colors.red.100}",type:"color"},main:{value:"{colors.red.200}",type:"color"},dark:{value:"{colors.red.550}",type:"color"},contrast:{value:"{colors.red.650}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}},lightPurple:{light:{value:"{colors.lightPurple.200}",type:"color"},main:{value:"{colors.lightPurple.400}",type:"color"},dark:{value:"{colors.lightPurple.650}",type:"color"},contrast:{value:"{colors.lightPurple.750}",type:"color",description:"AA compliant for small text on 'Light' and 'Main' values of same color "}}}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o={light:{primary:{value:"{colors.lightPurple.900}",type:"color"},secondary:{value:"{colors.lightPurple.750}",type:"color"},error:{value:"{colors.red.650}",type:"color",description:"AA compliant against white and pale red (error)"},success:{value:"{colors.teal.750}",type:"color",description:"AA compliant for small text on all backgrounds"},warning:{value:"{colors.orange.500}",type:"color",description:"Not AA compliant use for icons only"},active:{value:"{colors.blue.550}",type:"color"},visited:{value:"{colors.purple.500}",type:"color"}},inverted:{visited:{value:"{colors.purple.250}",type:"color"},primary:{value:"{colors.neutral.light}",type:"color"},secondary:{value:"{colors.blue.150}",type:"color"},error:{value:"{colors.red.300}",type:"color"},success:{value:"{colors.teal.350}",type:"color"},warning:{value:"{colors.orange.350}",type:"color",description:"Not AA compliant use for icons only"},active:{value:"{colors.teal.500}",type:"color"},activeAlt:{value:"{colors.blue.300}",type:"color",description:"Alternative color for inverted link"}}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"lodash/get";import o from"lodash/isEmpty";import r from"../globals/index.js";const l=o=>{const{type:l}=o;return"color"===l?(o=>{const{value:l}=o;if(l.startsWith("{colors.")){const o=l.slice(1,-1).split("."),s=o[1],e=Number(o[2]);return t(r.colors.flat,[s,e],"")}return l})(o):(o=>{var l,s;const{value:e}=o,i=e.slice(1,-1).split("."),n=i[0],u=i[1];return null!==(s=null===(l=t(r,n))||void 0===l?void 0:l.get(u))&&void 0!==s?s:""})(o)},s=r=>s=>{if(null==r?void 0:r.value)return l(r);const e=s.split("."),i=t(r,e,{});return o(i)?"":l(i)};export{s as getTokensValue};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"lodash/get";import{rem as r,tint as o,shade as t}from"polished";import{PropsValidationError as u}from"../utils/errors.js";const a=["white","black","pale","neutral","gradient"],n=(e,r=10,u=9)=>{const a=(e,r)=>Array.from({length:r},e),n=t=>a(((t,u)=>o((u+1)*r/100,e)),t),s=o=>a(((o,u)=>t((u+1)*r/100,e)),o);return((r=u)=>[...n(r).reverse(),e,...s(r)])().reduce(((e,r,o)=>(e[""+50*(o+1)]=r,e)),{})},s=(e,r)=>Object.keys(e).reduce(((o,t)=>("object"!=typeof e[t]?o[t]=r(e[t],t):a.includes(t)?o[t]=e[t]:o[t]=s(e[t],r),o)),{}),l=e=>s(e,((e,r)=>a.includes(r)?e:n(e,10))),i=e=>r(e,16),c=[{condition:e=>!e,error:new u("No color found with that name")}];var m;!function(e){e.Pixels="pixels",e.String="string",e.Number="number",e.BoxShadow="boxShadow"}(m||(m={}));const b=(r,o)=>t=>{switch(o){case m.Pixels:return i(Number(e(r,[t,"value"],"0")));case m.String:return e(r,[t,"value"],"0");case m.Number:return Number(e(r,[t,"value"],"0"));case m.BoxShadow:return((r,o)=>`${i(Number(e(r,[o,"value","x"],"0")))} ${i(Number(e(r,[o,"value","y"],"0")))} ${i(Number(e(r,[o,"value","blur"],"0")))} ${i(Number(e(r,[o,"value","spread"],"0")))} ${e(r,[o,"value","color"],"transparent")}`)(r,t)}};export{m as FigmaTokenValueType,n as colorShadesCreator,l as enhancePaletteWithShades,c as getColorErrors,b as getFigmaTokensValue,s as iterateObject,i as rem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class r extends Error{constructor(r){super(r),this.name="ValidationError"}}class s extends r{constructor(r){super(r),this.name="PropsValidationError"}}export{s as PropsValidationError,r as ValidationError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"dayjs";import*as t from"react";const n=(o="")=>o+"_"+(Date.now()+Math.random()).toString(36).substr(2,9),r=(o,t)=>t?`${o}-${t}`:o;function i(o){return"function"==typeof o&&t.isValidElement(o())}const a=t=>{var n,r;const i=null===(r=null===(n=o())||void 0===n?void 0:n.localeData())||void 0===r?void 0:r.longDateFormat("L");return t||i},e=(o,t)=>o.map((({condition:o,error:n})=>{if(o(t))throw"function"==typeof n?n(t):n}));export{e as errorHandler,r as generateTestDataId,n as generateUniqueID,a as getLocaleFormat,i as isComponentFunctionType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import a from"dayjs";import o from"dayjs/plugin/localeData";import n from"dayjs/plugin/localizedFormat";import"dayjs/locale/en-gb";import"dayjs/locale/en";!function(l,i){[n,o].forEach(a.extend);const e="en-GB"===(null===navigator||void 0===navigator?void 0:navigator.language)?i:l;a.locale(e)}("en","en-gb");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{rem as t}from"polished";import{SM_HEIGHT as e,MD_HEIGHT as r,MIN_WIDTH as s}from"../components/TextInputBase/config.js";const o="md",m=s=>{switch(s){case"md":return t(r);case"sm":return t(e);default:return"auto"}},n=e=>{switch(e){case"md":case"sm":return t(s);default:return"auto"}},i=(t=!0,e)=>t?{minWidth:n(e),height:m(e)}:{height:m(e)};export{o as DEFAULT_SIZE,i as getTextFieldSize};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mainTypes as o,flatColors as r,colorShades as e,BASE_SHADE as t}from"../theme/palette.js";import{PropsValidationError as l}from"./errors.js";import{errorHandler as n}from"./helpers.js";const s=(e,l,n=50)=>{const s=n&&50!==n?n:t;if(Object.values(o).includes(e)){const o=e;return"primary"===o?l.utils.getColor(o,n,"normal"):l.utils.getColor(o,s,"normal")}if(Object.values(r).includes(e)){const o=e;return l.utils.getColor(o,s)}return e},i=(o,r=50)=>e=>s(o,e,r),c=[{condition:({colorAfterSplit:o})=>Boolean(2!==o.length),error:({color:o})=>new l(`Error trying to translate your component color: ${o}`)},{condition:({colorAfterSplit:o})=>Boolean(!r.includes(o[0])),error:({color:o})=>new l(`You passed a wrong color for the first argument: ${o} - try something like red-500`)},{condition:({colorAfterSplit:o})=>Boolean(!e.includes(Number(o[1]))),error:({color:o})=>new l(`You passed a wrong shade for the second argument: ${o} - try something like red-500`)}],u=o=>{const r=o.split("-");n(c,{color:o,colorAfterSplit:r});return{color:r[0],shade:Number(r[1])}};export{u as calculateActualColorFromComponentProp,c as errors,i as fillPickerBasedOnType,s as getColorFromType};
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orfium/ictinus",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.9",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
|
-
"module": "./dist/index.
|
|
5
|
+
"module": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"sideEffects": false,
|
|
8
10
|
"devDependencies": {
|
|
9
11
|
"@amanda-mitchell/semantic-release-npm-multiple": "^2.8.0",
|
|
10
12
|
"@babel/cli": "^7.13.16",
|
|
@@ -22,7 +24,7 @@
|
|
|
22
24
|
"@emotion/jest": "^11.3.0",
|
|
23
25
|
"@mdx-js/react": "^1.6.22",
|
|
24
26
|
"@rollup/plugin-babel": "^6.0.3",
|
|
25
|
-
"@rollup/plugin-commonjs": "^23.0.
|
|
27
|
+
"@rollup/plugin-commonjs": "^23.0.7",
|
|
26
28
|
"@rollup/plugin-image": "^3.0.1",
|
|
27
29
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
28
30
|
"@rollup/plugin-typescript": "^10.0.1",
|
|
@@ -92,13 +94,15 @@
|
|
|
92
94
|
"react-router-dom": "^5.2.0",
|
|
93
95
|
"react-test-renderer": "^16.13.1",
|
|
94
96
|
"rimraf": "^3.0.2",
|
|
95
|
-
"rollup": "
|
|
97
|
+
"rollup": "3.9.1",
|
|
96
98
|
"rollup-plugin-delete": "^2.0.0",
|
|
97
|
-
"rollup-plugin-dts": "^
|
|
99
|
+
"rollup-plugin-dts": "^5.1.1",
|
|
98
100
|
"rollup-plugin-flat-dts": "^2.0.0",
|
|
99
101
|
"rollup-plugin-import-css": "^3.1.0",
|
|
102
|
+
"rollup-plugin-node-externals": "^5.0.3",
|
|
100
103
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
101
104
|
"rollup-plugin-postcss": "^4.0.2",
|
|
105
|
+
"rollup-plugin-rename": "^1.0.1",
|
|
102
106
|
"rollup-plugin-svg": "^2.0.0",
|
|
103
107
|
"rollup-plugin-terser": "^7.0.2",
|
|
104
108
|
"storybook-addon-designs": "^6.2.1",
|
|
@@ -127,6 +131,8 @@
|
|
|
127
131
|
"react-switch": "^6.0.0",
|
|
128
132
|
"react-window": "^1.8.6",
|
|
129
133
|
"recharts": "^1.8.5",
|
|
134
|
+
"rollup-plugin-visualizer": "^5.9.0",
|
|
135
|
+
"tslib": "^2.4.1",
|
|
130
136
|
"uuid": "^8.3.2"
|
|
131
137
|
},
|
|
132
138
|
"peerDependencies": {
|
|
@@ -140,7 +146,7 @@
|
|
|
140
146
|
"prepare": "yarn build && husky install",
|
|
141
147
|
"start": "start-storybook -p 6006",
|
|
142
148
|
"prebuild": "rimraf dist && rimraf example/src/dist",
|
|
143
|
-
"build": "rollup -c",
|
|
149
|
+
"build": "rollup -c --bundleConfigAsCjs",
|
|
144
150
|
"build:partial:style": "cross-env NODE_ENV=production BABEL_ENV=production babel src --config-file ./babelrc.build.json --extensions '.ts' --out-dir ./dist2 --plugins=babel-plugin-inline-import-data-uri",
|
|
145
151
|
"build:partial:nostyle": "cross-env NODE_ENV=production BABEL_ENV=production babel src --config-file ./babelrc.build.json --extensions '.ts,.tsx' --out-dir ./dist2 --plugins=babel-plugin-inline-react-svg --ignore '**/*.style.ts'",
|
|
146
152
|
"build:partial:types": "tsc --emitDeclarationOnly",
|
package/dist/index.esm.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
|