@orfium/ictinus 4.36.0-alpha.7 → 4.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dist/components → components}/Avatar/Avatar.d.ts +0 -0
- package/dist/components/Avatar/Avatar.js +60 -0
- package/dist/{dist/components → components}/Avatar/Avatar.style.d.ts +0 -0
- package/dist/components/Avatar/Avatar.style.js +60 -0
- package/dist/{dist/components → components}/Avatar/Avatar.types.d.ts +0 -0
- package/dist/components/Avatar/Avatar.types.js +3 -0
- package/dist/{dist/components → components}/Avatar/AvatarStack/AvatarStack.d.ts +0 -0
- package/dist/components/Avatar/AvatarStack/AvatarStack.js +76 -0
- package/dist/{dist/components → components}/Avatar/AvatarStack/AvatarStack.style.d.ts +0 -0
- package/dist/components/Avatar/AvatarStack/AvatarStack.style.js +43 -0
- package/dist/{dist/components → components}/Avatar/AvatarStack/AvatarStack.types.d.ts +0 -0
- package/dist/components/Avatar/AvatarStack/AvatarStack.types.js +3 -0
- package/dist/{dist/components → components}/Avatar/AvatarStack/index.d.ts +0 -0
- package/dist/components/Avatar/AvatarStack/index.js +10 -0
- package/dist/{dist/components → components}/Avatar/AvatarStack/utils.d.ts +0 -0
- package/dist/components/Avatar/AvatarStack/utils.js +16 -0
- package/dist/{dist/components → components}/Avatar/index.d.ts +0 -0
- package/dist/components/Avatar/index.js +10 -0
- package/dist/{dist/components → components}/Avatar/utils.d.ts +0 -0
- package/dist/components/Avatar/utils.js +22 -0
- package/dist/{dist/components → components}/Breadcrumb/Breadcrumb.d.ts +0 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +65 -0
- package/dist/{dist/components → components}/Breadcrumb/Breadcrumb.style.d.ts +0 -0
- package/dist/components/Breadcrumb/Breadcrumb.style.js +34 -0
- package/dist/{dist/components → components}/Breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +0 -0
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +30 -0
- package/dist/{dist/components → components}/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.d.ts +0 -0
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js +22 -0
- package/dist/{dist/components → components}/Breadcrumb/Separator/Separator.d.ts +0 -0
- package/dist/components/Breadcrumb/Separator/Separator.js +35 -0
- package/dist/{dist/components → components}/Breadcrumb/Separator/Separator.style.d.ts +0 -0
- package/dist/components/Breadcrumb/Separator/Separator.style.js +19 -0
- package/dist/{dist/components → components}/Breadcrumb/index.d.ts +0 -0
- package/dist/components/Breadcrumb/index.js +10 -0
- package/dist/{dist/components → components}/Breadcrumb/types.d.ts +0 -0
- package/dist/components/Breadcrumb/types.js +3 -0
- package/dist/{dist/components → components}/Button/Button.d.ts +0 -0
- package/dist/components/Button/Button.js +87 -0
- package/dist/{dist/components → components}/Button/Button.style.d.ts +0 -0
- package/dist/components/Button/Button.style.js +42 -0
- package/dist/{dist/components → components}/Button/ButtonLoader/ButtonLoader.d.ts +0 -0
- package/dist/components/Button/ButtonLoader/ButtonLoader.js +43 -0
- package/dist/{dist/components → components}/Button/ButtonLoader/ButtonLoader.style.d.ts +0 -0
- package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +21 -0
- package/dist/{dist/components → components}/Button/ButtonLoader/index.d.ts +0 -0
- package/dist/components/Button/ButtonLoader/index.js +10 -0
- package/dist/{dist/components → components}/Button/index.d.ts +0 -0
- package/dist/components/Button/index.js +10 -0
- package/dist/{dist/components → components}/Button/utils.d.ts +0 -0
- package/dist/components/Button/utils.js +58 -0
- package/dist/{dist/components → components}/ButtonBase/ButtonBase.d.ts +0 -0
- package/dist/components/ButtonBase/ButtonBase.js +86 -0
- package/dist/{dist/components → components}/ButtonBase/ButtonBase.style.d.ts +0 -0
- package/dist/components/ButtonBase/ButtonBase.style.js +120 -0
- package/dist/{dist/components → components}/ButtonBase/config.d.ts +0 -0
- package/dist/components/ButtonBase/config.js +38 -0
- package/dist/{dist/components → components}/ButtonBase/index.d.ts +0 -0
- package/dist/components/ButtonBase/index.js +10 -0
- package/dist/{dist/components → components}/ButtonBase/utils.d.ts +0 -0
- package/dist/components/ButtonBase/utils.js +63 -0
- package/dist/{dist/components → components}/Card/Card.d.ts +0 -0
- package/dist/components/Card/Card.js +30 -0
- package/dist/{dist/components → components}/Card/Card.style.d.ts +0 -0
- package/dist/components/Card/Card.style.js +33 -0
- package/dist/{dist/components → components}/Card/index.d.ts +0 -0
- package/dist/components/Card/index.js +10 -0
- package/dist/{dist/components → components}/Chart/BarChart/BarChart.d.ts +0 -0
- package/dist/components/Chart/BarChart/BarChart.js +185 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomLabel/CustomLabel.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomLabel/CustomLabel.js +40 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomLabel/index.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomLabel/index.js +10 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomTooltip/CustomTooltip.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +51 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js +47 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomTooltip/index.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomTooltip/index.js +10 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +36 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +71 -0
- package/dist/{dist/components → components}/Chart/BarChart/components/CustomTooltipContent/index.d.ts +0 -0
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/index.js +10 -0
- package/dist/{dist/components → components}/Chart/BarChart/index.d.ts +0 -0
- package/dist/components/Chart/BarChart/index.js +10 -0
- package/dist/{dist/components → components}/Chart/BarChart/utils.d.ts +0 -0
- package/dist/components/Chart/BarChart/utils.js +39 -0
- package/dist/{dist/components → components}/Chart/DonutChart/DonutChart.d.ts +0 -0
- package/dist/components/Chart/DonutChart/DonutChart.js +57 -0
- package/dist/{dist/components → components}/Chart/DonutChart/components/CustomLabel/CustomLabel.d.ts +0 -0
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +48 -0
- package/dist/{dist/components → components}/Chart/DonutChart/components/CustomLabel/CustomLabel.style.d.ts +0 -0
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js +39 -0
- package/dist/{dist/components → components}/Chart/DonutChart/components/CustomLabel/index.d.ts +0 -0
- package/dist/components/Chart/DonutChart/components/CustomLabel/index.js +10 -0
- package/dist/{dist/components → components}/Chart/DonutChart/index.d.ts +0 -0
- package/dist/components/Chart/DonutChart/index.js +10 -0
- package/dist/{dist/components → components}/Chart/LineChart/LineChart.d.ts +0 -0
- package/dist/components/Chart/LineChart/LineChart.js +131 -0
- package/dist/{dist/components → components}/Chart/LineChart/components/CustomTooltip/CustomTooltip.d.ts +0 -0
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +40 -0
- package/dist/{dist/components → components}/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.d.ts +0 -0
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +64 -0
- package/dist/{dist/components → components}/Chart/LineChart/components/CustomTooltip/index.d.ts +0 -0
- package/dist/components/Chart/LineChart/components/CustomTooltip/index.js +10 -0
- package/dist/{dist/components → components}/Chart/LineChart/components/GradientLine/GradientLine.d.ts +0 -0
- package/dist/components/Chart/LineChart/components/GradientLine/GradientLine.js +34 -0
- package/dist/{dist/components → components}/Chart/LineChart/components/GradientLine/index.d.ts +0 -0
- package/dist/components/Chart/LineChart/components/GradientLine/index.js +10 -0
- package/dist/{dist/components → components}/Chart/LineChart/index.d.ts +0 -0
- package/dist/components/Chart/LineChart/index.js +10 -0
- package/dist/{dist/components → components}/Chart/LineChart/mockedData.d.ts +0 -0
- package/dist/components/Chart/LineChart/mockedData.js +40 -0
- package/dist/{dist/components → components}/Chart/LineChart/story.utils.d.ts +0 -0
- package/dist/components/Chart/LineChart/story.utils.js +22 -0
- package/dist/{dist/components → components}/Chart/LineChart/utils.d.ts +0 -0
- package/dist/components/Chart/LineChart/utils.js +30 -0
- package/dist/{dist/components → components}/Chart/Wrapper.d.ts +0 -0
- package/dist/components/Chart/Wrapper.js +41 -0
- package/dist/{dist/components → components}/CheckBox/CheckBox.d.ts +0 -0
- package/dist/components/CheckBox/CheckBox.js +121 -0
- package/dist/{dist/components → components}/CheckBox/CheckBox.style.d.ts +0 -0
- package/dist/components/CheckBox/CheckBox.style.js +89 -0
- package/dist/{dist/components → components}/CheckBox/index.d.ts +0 -0
- package/dist/components/CheckBox/index.js +10 -0
- package/dist/{dist/components → components}/Chip/Chip.d.ts +0 -0
- package/dist/components/Chip/Chip.js +99 -0
- package/dist/{dist/components → components}/Chip/Chip.style.d.ts +0 -0
- package/dist/components/Chip/Chip.style.js +59 -0
- package/dist/{dist/components → components}/Chip/Chip.types.d.ts +0 -0
- package/dist/components/Chip/Chip.types.js +10 -0
- package/dist/{dist/components → components}/Chip/components/Badge/Badge.d.ts +0 -0
- package/dist/components/Chip/components/Badge/Badge.js +31 -0
- package/dist/{dist/components → components}/Chip/components/Badge/Badge.style.d.ts +0 -0
- package/dist/components/Chip/components/Badge/Badge.style.js +24 -0
- package/dist/{dist/components → components}/Chip/components/Badge/index.d.ts +0 -0
- package/dist/components/Chip/components/Badge/index.js +10 -0
- package/dist/{dist/components → components}/Chip/index.d.ts +0 -0
- package/dist/components/Chip/index.js +10 -0
- package/dist/{dist/components → components}/Chip/utils.d.ts +0 -0
- package/dist/components/Chip/utils.js +34 -0
- package/dist/{dist/components → components}/DatePicker/DatePickInput/DatePickInput.d.ts +0 -0
- package/dist/components/DatePicker/DatePickInput/DatePickInput.js +102 -0
- package/dist/{dist/components → components}/DatePicker/DatePickInput/DatePickInput.style.d.ts +0 -0
- package/dist/components/DatePicker/DatePickInput/DatePickInput.style.js +21 -0
- package/dist/{dist/components → components}/DatePicker/DatePickInput/index.d.ts +0 -0
- package/dist/components/DatePicker/DatePickInput/index.js +10 -0
- package/dist/{dist/components → components}/DatePicker/DatePicker.d.ts +0 -0
- package/dist/components/DatePicker/DatePicker.js +239 -0
- package/dist/{dist/components → components}/DatePicker/DatePicker.style.d.ts +0 -0
- package/dist/components/DatePicker/DatePicker.style.js +19 -0
- package/dist/{dist/components → components}/DatePicker/Day/Day.d.ts +0 -0
- package/dist/components/DatePicker/Day/Day.js +93 -0
- package/dist/{dist/components → components}/DatePicker/Day/Day.style.d.ts +0 -0
- package/dist/components/DatePicker/Day/Day.style.js +68 -0
- package/dist/{dist/components → components}/DatePicker/Day/index.d.ts +0 -0
- package/dist/components/DatePicker/Day/index.js +10 -0
- package/dist/{dist/components → components}/DatePicker/Month/Month.d.ts +0 -0
- package/dist/components/DatePicker/Month/Month.js +102 -0
- package/dist/{dist/components → components}/DatePicker/Month/Month.style.d.ts +0 -0
- package/dist/components/DatePicker/Month/Month.style.js +47 -0
- package/dist/{dist/components → components}/DatePicker/Month/Month.utils.d.ts +0 -0
- package/dist/components/DatePicker/Month/Month.utils.js +79 -0
- package/dist/{dist/components → components}/DatePicker/Month/index.d.ts +0 -0
- package/dist/components/DatePicker/Month/index.js +10 -0
- package/dist/{dist/components → components}/DatePicker/OverlayComponent/OverlayComponent.d.ts +0 -0
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +117 -0
- package/dist/{dist/components → components}/DatePicker/OverlayComponent/OverlayComponent.style.d.ts +0 -0
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.style.js +89 -0
- package/dist/{dist/components → components}/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.d.ts +0 -0
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +133 -0
- package/dist/{dist/components → components}/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.d.ts +0 -0
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +89 -0
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/index.js +1 -0
- package/dist/{dist/components → components}/DatePicker/OverlayComponent/index.d.ts +0 -0
- package/dist/components/DatePicker/OverlayComponent/index.js +10 -0
- package/dist/{dist/components → components}/DatePicker/index.d.ts +0 -0
- package/dist/components/DatePicker/index.js +10 -0
- package/dist/{dist/components → components}/DatePicker/utils.d.ts +0 -0
- package/dist/components/DatePicker/utils.js +25 -0
- package/dist/{dist/components → components}/Drawer/Drawer.d.ts +0 -0
- package/dist/components/Drawer/Drawer.js +35 -0
- package/dist/{dist/components → components}/Drawer/Drawer.style.d.ts +0 -0
- package/dist/components/Drawer/Drawer.style.js +23 -0
- package/dist/{dist/components → components}/Drawer/Navigation/MenuItem/MenuItem.d.ts +0 -0
- package/dist/components/Drawer/Navigation/MenuItem/MenuItem.js +119 -0
- package/dist/{dist/components → components}/Drawer/Navigation/Navigation.d.ts +0 -0
- package/dist/components/Drawer/Navigation/Navigation.js +54 -0
- package/dist/{dist/components → components}/Drawer/Navigation/Navigation.style.d.ts +0 -0
- package/dist/components/Drawer/Navigation/Navigation.style.js +149 -0
- package/dist/{dist/components → components}/Drawer/index.d.ts +0 -0
- package/dist/components/Drawer/index.js +10 -0
- package/dist/{dist/components → components}/Drawer/types.d.ts +0 -0
- package/dist/components/Drawer/types.js +3 -0
- package/dist/{dist/components → components}/ExpandCollapse/ExpandCollapse.d.ts +0 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.js +71 -0
- package/dist/{dist/components → components}/ExpandCollapse/ExpandCollapse.style.d.ts +0 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.style.js +19 -0
- package/dist/{dist/components → components}/ExpandCollapse/ExpandCollapse.types.d.ts +0 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.types.js +3 -0
- package/dist/{dist/components → components}/ExpandCollapse/index.d.ts +0 -0
- package/dist/components/ExpandCollapse/index.js +10 -0
- package/dist/{dist/components → components}/ExpandCollapse/useManageContentRef.d.ts +0 -0
- package/dist/components/ExpandCollapse/useManageContentRef.js +56 -0
- package/dist/{dist/components → components}/ExpandCollapse/utils.d.ts +0 -0
- package/dist/components/ExpandCollapse/utils.js +23 -0
- package/dist/{dist/components → components}/Filter/Filter.d.ts +0 -0
- package/dist/components/Filter/Filter.js +152 -0
- package/dist/{dist/components → components}/Filter/Filter.style.d.ts +0 -0
- package/dist/components/Filter/Filter.style.js +295 -0
- package/dist/{dist/components → components}/Filter/components/FilterBase/FilterBase.d.ts +0 -0
- package/dist/components/Filter/components/FilterBase/FilterBase.js +125 -0
- package/dist/{dist/components → components}/Filter/components/FilterBase/index.d.ts +0 -0
- package/dist/components/Filter/components/FilterBase/index.js +10 -0
- package/dist/{dist/components → components}/Filter/components/Options/Options.d.ts +0 -0
- package/dist/components/Filter/components/Options/Options.js +49 -0
- package/dist/{dist/components → components}/Filter/components/Options/Options.style.d.ts +0 -0
- package/dist/components/Filter/components/Options/Options.style.js +23 -0
- package/dist/{dist/components → components}/Filter/components/SearchInput/SearchInput.d.ts +0 -0
- package/dist/components/Filter/components/SearchInput/SearchInput.js +58 -0
- package/dist/{dist/components → components}/Filter/components/SearchInput/SearchInput.style.d.ts +0 -0
- package/dist/components/Filter/components/SearchInput/SearchInput.style.js +34 -0
- package/dist/{dist/components → components}/Filter/index.d.ts +0 -0
- package/dist/components/Filter/index.js +10 -0
- package/dist/{dist/components → components}/Filter/types.d.ts +0 -0
- package/dist/components/Filter/types.js +3 -0
- package/dist/{dist/components → components}/Filter/utils.d.ts +0 -0
- package/dist/components/Filter/utils.js +116 -0
- package/dist/{dist/components → components}/Icon/Icon.d.ts +0 -0
- package/dist/components/Icon/Icon.js +46 -0
- package/dist/{dist/components → components}/Icon/Icon.style.d.ts +0 -0
- package/dist/components/Icon/Icon.style.js +37 -0
- package/dist/{dist/components → components}/Icon/assets/iconSelector.d.ts +0 -0
- package/dist/components/Icon/assets/iconSelector.js +2471 -0
- package/dist/{dist/components → components}/Icon/index.d.ts +0 -0
- package/dist/components/Icon/index.js +10 -0
- package/dist/{dist/components → components}/Icon/types.d.ts +0 -0
- package/dist/components/Icon/types.js +3 -0
- package/dist/{dist/components → components}/IconButton/IconButton.d.ts +0 -0
- package/dist/components/IconButton/IconButton.js +53 -0
- package/dist/{dist/components → components}/IconButton/IconButton.style.d.ts +0 -0
- package/dist/components/IconButton/IconButton.style.js +22 -0
- package/dist/{dist/components → components}/IconButton/index.d.ts +0 -0
- package/dist/components/IconButton/index.js +10 -0
- package/dist/{dist/components → components}/Label/Label.d.ts +0 -0
- package/dist/components/Label/Label.js +40 -0
- package/dist/{dist/components → components}/Label/Label.style.d.ts +0 -0
- package/dist/components/Label/Label.style.js +29 -0
- package/dist/{dist/components → components}/Label/index.d.ts +0 -0
- package/dist/components/Label/index.js +10 -0
- package/dist/{dist/components → components}/List/List.d.ts +0 -0
- package/dist/components/List/List.js +72 -0
- package/dist/{dist/components → components}/List/List.style.d.ts +0 -0
- package/dist/components/List/List.style.js +39 -0
- package/dist/{dist/components → components}/List/ListItem/ListItem.d.ts +0 -0
- package/dist/components/List/ListItem/ListItem.js +60 -0
- package/dist/{dist/components → components}/List/ListItem/ListItem.style.d.ts +0 -0
- package/dist/components/List/ListItem/ListItem.style.js +44 -0
- package/dist/{dist/components → components}/List/ListItem/index.d.ts +0 -0
- package/dist/components/List/ListItem/index.js +10 -0
- package/dist/{dist/components → components}/List/ListItemGroup/ListGroupTitle/ListGroupTitle.d.ts +0 -0
- package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.js +35 -0
- package/dist/{dist/components → components}/List/ListItemGroup/ListGroupTitle/ListGroupTitle.style.d.ts +0 -0
- package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.style.js +41 -0
- package/dist/{dist/components → components}/List/ListItemGroup/ListGroupTitle/index.d.ts +0 -0
- package/dist/components/List/ListItemGroup/ListGroupTitle/index.js +10 -0
- package/dist/{dist/components → components}/List/ListItemGroup/ListItemGroup.d.ts +0 -0
- package/dist/components/List/ListItemGroup/ListItemGroup.js +63 -0
- package/dist/{dist/components → components}/List/ListItemGroup/index.d.ts +0 -0
- package/dist/components/List/ListItemGroup/index.js +10 -0
- package/dist/{dist/components → components}/List/NormalList/NormalList.d.ts +0 -0
- package/dist/components/List/NormalList/NormalList.js +80 -0
- package/dist/components/List/NormalList/NormalList.style.d.ts +0 -0
- package/dist/components/List/NormalList/NormalList.style.js +1 -0
- package/dist/{dist/components → components}/List/NormalList/index.d.ts +0 -0
- package/dist/components/List/NormalList/index.js +10 -0
- package/dist/{dist/components → components}/List/VirtualizedList/VirtualizedList.d.ts +0 -0
- package/dist/components/List/VirtualizedList/VirtualizedList.js +114 -0
- package/dist/components/List/VirtualizedList/VirtualizedList.style.d.ts +0 -0
- package/dist/components/List/VirtualizedList/VirtualizedList.style.js +1 -0
- package/dist/{dist/components → components}/List/VirtualizedList/index.d.ts +0 -0
- package/dist/components/List/VirtualizedList/index.js +10 -0
- package/dist/{dist/components → components}/List/index.d.ts +0 -0
- package/dist/components/List/index.js +10 -0
- package/dist/{dist/components → components}/List/types.d.ts +0 -0
- package/dist/components/List/types.js +3 -0
- package/dist/{dist/components → components}/List/utils.d.ts +0 -0
- package/dist/components/List/utils.js +72 -0
- package/dist/{dist/components → components}/Loader/Loader.d.ts +0 -0
- package/dist/components/Loader/Loader.js +27 -0
- package/dist/{dist/components → components}/Loader/Loader.style.d.ts +0 -0
- package/dist/components/Loader/Loader.style.js +26 -0
- package/dist/{dist/components → components}/Loader/Loader.utils.d.ts +0 -0
- package/dist/components/Loader/Loader.utils.js +46 -0
- package/dist/{dist/components → components}/Loader/components/DotsLoader/DotsLoader.d.ts +0 -0
- package/dist/components/Loader/components/DotsLoader/DotsLoader.js +28 -0
- package/dist/{dist/components → components}/Loader/components/DotsLoader/DotsLoader.style.d.ts +0 -0
- package/dist/components/Loader/components/DotsLoader/DotsLoader.style.js +50 -0
- package/dist/{dist/components → components}/Loader/components/DotsLoader/index.d.ts +0 -0
- package/dist/components/Loader/components/DotsLoader/index.js +10 -0
- package/dist/{dist/components → components}/Loader/components/IndeterminateLoader/IndeterminateLoader.d.ts +0 -0
- package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.js +32 -0
- package/dist/{dist/components → components}/Loader/components/IndeterminateLoader/IndeterminateLoader.style.d.ts +0 -0
- package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.style.js +73 -0
- package/dist/{dist/components → components}/Loader/components/IndeterminateLoader/index.d.ts +0 -0
- package/dist/components/Loader/components/IndeterminateLoader/index.js +10 -0
- package/dist/{dist/components → components}/Loader/components/Spinner/Spinner.d.ts +0 -0
- package/dist/components/Loader/components/Spinner/Spinner.js +26 -0
- package/dist/{dist/components → components}/Loader/components/Spinner/Spinner.style.d.ts +0 -0
- package/dist/components/Loader/components/Spinner/Spinner.style.js +27 -0
- package/dist/{dist/components → components}/Loader/components/Spinner/index.d.ts +0 -0
- package/dist/components/Loader/components/Spinner/index.js +10 -0
- package/dist/{dist/components → components}/Loader/index.d.ts +0 -0
- package/dist/components/Loader/index.js +10 -0
- package/dist/{dist/components → components}/Menu/Menu.d.ts +0 -0
- package/dist/components/Menu/Menu.js +119 -0
- package/dist/{dist/components → components}/Menu/Menu.style.d.ts +0 -0
- package/dist/components/Menu/Menu.style.js +46 -0
- package/dist/{dist/components → components}/Menu/index.d.ts +0 -0
- package/dist/components/Menu/index.js +10 -0
- package/dist/{dist/components → components}/Modal/Modal.d.ts +0 -0
- package/dist/components/Modal/Modal.js +80 -0
- package/dist/{dist/components → components}/Modal/Modal.style.d.ts +0 -0
- package/dist/components/Modal/Modal.style.js +49 -0
- package/dist/{dist/components → components}/Modal/ModalContent/ModalContent.d.ts +0 -0
- package/dist/components/Modal/ModalContent/ModalContent.js +59 -0
- package/dist/{dist/components → components}/Modal/ModalContent/ModalContent.style.d.ts +0 -0
- package/dist/components/Modal/ModalContent/ModalContent.style.js +63 -0
- package/dist/{dist/components → components}/Modal/ModalContent/index.d.ts +0 -0
- package/dist/components/Modal/ModalContent/index.js +10 -0
- package/dist/{dist/components → components}/Modal/index.d.ts +0 -0
- package/dist/components/Modal/index.js +10 -0
- package/dist/{dist/components → components}/Notification/Banner/Banner.d.ts +0 -0
- package/dist/components/Notification/Banner/Banner.js +47 -0
- package/dist/{dist/components → components}/Notification/Banner/index.d.ts +0 -0
- package/dist/components/Notification/Banner/index.js +10 -0
- package/dist/{dist/components → components}/Notification/InlineNotification/InlineNotification.d.ts +0 -0
- package/dist/components/Notification/InlineNotification/InlineNotification.js +45 -0
- package/dist/{dist/components → components}/Notification/InlineNotification/index.d.ts +0 -0
- package/dist/components/Notification/InlineNotification/index.js +10 -0
- package/dist/{dist/components → components}/Notification/Notification.d.ts +0 -0
- package/dist/components/Notification/Notification.js +3 -0
- package/dist/{dist/components → components}/Notification/Notification.style.d.ts +0 -0
- package/dist/components/Notification/Notification.style.js +93 -0
- package/dist/{dist/components → components}/Notification/NotificationVisual/NotificationVisual.d.ts +0 -0
- package/dist/components/Notification/NotificationVisual/NotificationVisual.js +62 -0
- package/dist/{dist/components → components}/Notification/NotificationVisual/NotificationVisual.style.d.ts +0 -0
- package/dist/components/Notification/NotificationVisual/NotificationVisual.style.js +34 -0
- package/dist/{dist/components → components}/Notification/NotificationVisual/index.d.ts +0 -0
- package/dist/components/Notification/NotificationVisual/index.js +10 -0
- package/dist/{dist/components → components}/Notification/NotificationsContainer/NotificationsContainer.d.ts +0 -0
- package/dist/components/Notification/NotificationsContainer/NotificationsContainer.js +25 -0
- package/dist/{dist/components → components}/Notification/NotificationsContainer/NotificationsContainer.style.d.ts +0 -0
- package/dist/components/Notification/NotificationsContainer/NotificationsContainer.style.js +37 -0
- package/dist/{dist/components → components}/Notification/NotificationsContainer/index.d.ts +0 -0
- package/dist/components/Notification/NotificationsContainer/index.js +10 -0
- package/dist/{dist/components → components}/Notification/Snackbar/Snackbar.d.ts +0 -0
- package/dist/components/Notification/Snackbar/Snackbar.js +95 -0
- package/dist/{dist/components → components}/Notification/Snackbar/Snackbar.style.d.ts +0 -0
- package/dist/components/Notification/Snackbar/Snackbar.style.js +73 -0
- package/dist/{dist/components → components}/Notification/Snackbar/index.d.ts +0 -0
- package/dist/components/Notification/Snackbar/index.js +10 -0
- package/dist/{dist/components → components}/Notification/subcomponents/CompactNotification/CompactNotification.d.ts +0 -0
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +89 -0
- package/dist/{dist/components → components}/Notification/subcomponents/CompactNotification/CompactNotification.style.d.ts +0 -0
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +95 -0
- package/dist/{dist/components → components}/Notification/subcomponents/CompactNotification/index.d.ts +0 -0
- package/dist/components/Notification/subcomponents/CompactNotification/index.js +10 -0
- package/dist/{dist/components → components}/Overlay/Overlay.d.ts +0 -0
- package/dist/components/Overlay/Overlay.js +84 -0
- package/dist/{dist/components → components}/Overlay/Overlay.style.d.ts +0 -0
- package/dist/components/Overlay/Overlay.style.js +138 -0
- package/dist/{dist/components → components}/Overlay/index.d.ts +0 -0
- package/dist/components/Overlay/index.js +10 -0
- package/dist/{dist/components → components}/Pagination/Pagination.d.ts +0 -0
- package/dist/components/Pagination/Pagination.js +94 -0
- package/dist/{dist/components → components}/Pagination/index.d.ts +0 -0
- package/dist/components/Pagination/index.js +10 -0
- package/dist/{dist/components → components}/Radio/Radio.d.ts +0 -0
- package/dist/components/Radio/Radio.js +111 -0
- package/dist/{dist/components → components}/Radio/Radio.style.d.ts +0 -0
- package/dist/components/Radio/Radio.style.js +102 -0
- package/dist/{dist/components → components}/Radio/index.d.ts +0 -0
- package/dist/components/Radio/index.js +10 -0
- package/dist/{dist/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
- package/dist/components/RadioGroup/RadioGroup.js +56 -0
- package/dist/{dist/components → components}/RadioGroup/RadioGroupContext.d.ts +0 -0
- package/dist/components/RadioGroup/RadioGroupContext.js +14 -0
- package/dist/{dist/components → components}/RadioGroup/index.d.ts +0 -0
- package/dist/components/RadioGroup/index.js +10 -0
- package/dist/{dist/components → components}/RadioGroup/useRadioGroup.d.ts +0 -0
- package/dist/components/RadioGroup/useRadioGroup.js +18 -0
- package/dist/{dist/components → components}/SearchField/SearchField.d.ts +0 -0
- package/dist/components/SearchField/SearchField.js +99 -0
- package/dist/components/SearchField/SearchField.style.d.ts +0 -0
- package/dist/components/SearchField/SearchField.style.js +1 -0
- package/dist/{dist/components → components}/SearchField/SearchFieldShowcase.d.ts +0 -0
- package/dist/components/SearchField/SearchFieldShowcase.js +55 -0
- package/dist/{dist/components → components}/SearchField/index.d.ts +0 -0
- package/dist/components/SearchField/index.js +10 -0
- package/dist/{dist/components → components}/Select/Select.d.ts +0 -0
- package/dist/components/Select/Select.js +246 -0
- package/dist/{dist/components → components}/Select/Select.style.d.ts +0 -0
- package/dist/components/Select/Select.style.js +37 -0
- package/dist/{dist/components → components}/Select/components/SelectMenu/SelectMenu.d.ts +0 -0
- package/dist/components/Select/components/SelectMenu/SelectMenu.js +76 -0
- package/dist/{dist/components → components}/Select/components/SelectMenu/SelectMenu.style.d.ts +0 -0
- package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +47 -0
- package/dist/{dist/components → components}/Select/components/SelectMenu/index.d.ts +0 -0
- package/dist/components/Select/components/SelectMenu/index.js +10 -0
- package/dist/{dist/components → components}/Select/index.d.ts +0 -0
- package/dist/components/Select/index.js +10 -0
- package/dist/{dist/components → components}/Table/Table.d.ts +0 -0
- package/dist/components/Table/Table.js +270 -0
- package/dist/{dist/components → components}/Table/Table.style.d.ts +0 -0
- package/dist/components/Table/Table.style.js +76 -0
- package/dist/{dist/components → components}/Table/TableRowContext.d.ts +0 -0
- package/dist/components/Table/TableRowContext.js +28 -0
- package/dist/{dist/components → components}/Table/components/ExtendedColumnItem/ExtendedColumnItem.d.ts +0 -0
- package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.js +115 -0
- package/dist/{dist/components → components}/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.d.ts +0 -0
- package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.js +36 -0
- package/dist/{dist/components → components}/Table/components/ExtendedColumnItem/index.d.ts +0 -0
- package/dist/components/Table/components/ExtendedColumnItem/index.js +10 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js +182 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js +57 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js +60 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js +24 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/components/ContentCell/index.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/index.js +10 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +64 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.js +10 -0
- package/dist/{dist/components → components}/Table/components/RenderRowOrNestedRow/index.d.ts +0 -0
- package/dist/components/Table/components/RenderRowOrNestedRow/index.js +10 -0
- package/dist/{dist/components → components}/Table/components/TableCell/TableCell.d.ts +0 -0
- package/dist/components/Table/components/TableCell/TableCell.js +99 -0
- package/dist/{dist/components → components}/Table/components/TableCell/TableCell.style.d.ts +0 -0
- package/dist/components/Table/components/TableCell/TableCell.style.js +38 -0
- package/dist/{dist/components → components}/Table/components/TableCell/index.d.ts +0 -0
- package/dist/components/Table/components/TableCell/index.js +10 -0
- package/dist/{dist/components → components}/Table/components/TableRow/TableRow.d.ts +0 -0
- package/dist/components/Table/components/TableRow/TableRow.js +53 -0
- package/dist/{dist/components → components}/Table/components/TableRow/index.d.ts +0 -0
- package/dist/components/Table/components/TableRow/index.js +10 -0
- package/dist/{dist/components → components}/Table/components/TableRowWrapper/TableRowWrapper.d.ts +0 -0
- package/dist/components/Table/components/TableRowWrapper/TableRowWrapper.js +60 -0
- package/dist/{dist/components → components}/Table/components/TableRowWrapper/index.d.ts +0 -0
- package/dist/components/Table/components/TableRowWrapper/index.js +10 -0
- package/dist/{dist/components → components}/Table/index.d.ts +0 -0
- package/dist/components/Table/index.js +10 -0
- package/dist/{dist/components → components}/Table/types.d.ts +0 -0
- package/dist/components/Table/types.js +3 -0
- package/dist/{dist/components → components}/Table/utils/index.d.ts +0 -0
- package/dist/components/Table/utils/index.js +11 -0
- package/dist/{dist/components → components}/Table/utils/utils.d.ts +0 -0
- package/dist/components/Table/utils/utils.js +16 -0
- package/dist/{dist/components → components}/TextArea/TextArea.d.ts +0 -0
- package/dist/components/TextArea/TextArea.js +72 -0
- package/dist/{dist/components → components}/TextArea/TextArea.style.d.ts +0 -0
- package/dist/components/TextArea/TextArea.style.js +30 -0
- package/dist/{dist/components → components}/TextArea/index.d.ts +0 -0
- package/dist/components/TextArea/index.js +10 -0
- package/dist/{dist/components → components}/TextField/TextField.d.ts +0 -0
- package/dist/components/TextField/TextField.js +119 -0
- package/dist/{dist/components → components}/TextField/TextField.style.d.ts +0 -0
- package/dist/components/TextField/TextField.style.js +23 -0
- package/dist/{dist/components → components}/TextField/components/commons.d.ts +0 -0
- package/dist/components/TextField/components/commons.js +27 -0
- package/dist/{dist/components → components}/TextField/index.d.ts +0 -0
- package/dist/components/TextField/index.js +10 -0
- package/dist/{dist/components → components}/TextInputBase/TextInputBase.d.ts +0 -0
- package/dist/components/TextInputBase/TextInputBase.js +78 -0
- package/dist/{dist/components → components}/TextInputBase/TextInputBase.style.d.ts +0 -0
- package/dist/components/TextInputBase/TextInputBase.style.js +138 -0
- package/dist/{dist/components → components}/TextInputBase/config.d.ts +0 -0
- package/dist/components/TextInputBase/config.js +42 -0
- package/dist/{dist/components → components}/TextInputBase/index.d.ts +0 -0
- package/dist/components/TextInputBase/index.js +19 -0
- package/dist/{dist/components → components}/ThemeProvider/ThemeProvider.d.ts +0 -0
- package/dist/components/ThemeProvider/ThemeProvider.js +73 -0
- package/dist/{dist/components → components}/ThemeProvider/index.d.ts +0 -0
- package/dist/components/ThemeProvider/index.js +10 -0
- package/dist/{dist/components → components}/Toast/Toast.d.ts +0 -0
- package/dist/components/Toast/Toast.js +91 -0
- package/dist/{dist/components → components}/Toast/Toast.style.d.ts +0 -0
- package/dist/components/Toast/Toast.style.js +112 -0
- package/dist/{dist/components → components}/Toast/index.d.ts +0 -0
- package/dist/components/Toast/index.js +10 -0
- package/dist/{dist/components → components}/Tooltip/Tooltip.d.ts +0 -0
- package/dist/components/Tooltip/Tooltip.js +44 -0
- package/dist/{dist/components → components}/Tooltip/Tooltip.style.d.ts +0 -0
- package/dist/components/Tooltip/Tooltip.style.js +39 -0
- package/dist/{dist/components → components}/Tooltip/index.d.ts +0 -0
- package/dist/components/Tooltip/index.js +10 -0
- package/dist/{dist/components → components}/TopAppBar/TopAppBar.d.ts +0 -0
- package/dist/components/TopAppBar/TopAppBar.js +65 -0
- package/dist/{dist/components → components}/TopAppBar/TopAppBar.style.d.ts +0 -0
- package/dist/components/TopAppBar/TopAppBar.style.js +57 -0
- package/dist/{dist/components → components}/TopAppBar/TopAppBar.types.d.ts +0 -0
- package/dist/components/TopAppBar/TopAppBar.types.js +3 -0
- package/dist/{dist/components → components}/TopAppBar/components/Logo/Logo.style.d.ts +0 -0
- package/dist/components/TopAppBar/components/Logo/Logo.style.js +37 -0
- package/dist/{dist/components → components}/TopAppBar/components/Logo/Logo.wrapper.d.ts +0 -0
- package/dist/components/TopAppBar/components/Logo/Logo.wrapper.js +28 -0
- package/dist/{dist/components → components}/TopAppBar/components/Logo/index.d.ts +0 -0
- package/dist/components/TopAppBar/components/Logo/index.js +10 -0
- package/dist/{dist/components → components}/TopAppBar/components/Search/Search.d.ts +0 -0
- package/dist/components/TopAppBar/components/Search/Search.js +57 -0
- package/dist/{dist/components → components}/TopAppBar/components/Search/Search.style.d.ts +0 -0
- package/dist/components/TopAppBar/components/Search/Search.style.js +51 -0
- package/dist/{dist/components → components}/TopAppBar/components/Search/index.d.ts +0 -0
- package/dist/components/TopAppBar/components/Search/index.js +10 -0
- package/dist/{dist/components → components}/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.d.ts +0 -0
- package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js +30 -0
- package/dist/{dist/components → components}/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.d.ts +0 -0
- package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js +20 -0
- package/dist/{dist/components → components}/TopAppBar/components/SidebarMenuIcon/index.d.ts +0 -0
- package/dist/components/TopAppBar/components/SidebarMenuIcon/index.js +10 -0
- package/dist/{dist/components → components}/TopAppBar/components/UserMenu/UserMenu.d.ts +0 -0
- package/dist/components/TopAppBar/components/UserMenu/UserMenu.js +39 -0
- package/dist/{dist/components → components}/TopAppBar/components/UserMenu/UserMenu.style.d.ts +0 -0
- package/dist/components/TopAppBar/components/UserMenu/UserMenu.style.js +20 -0
- package/dist/{dist/components → components}/TopAppBar/components/UserMenu/index.d.ts +0 -0
- package/dist/components/TopAppBar/components/UserMenu/index.js +10 -0
- package/dist/{dist/components → components}/TopAppBar/components/index.d.ts +0 -0
- package/dist/components/TopAppBar/components/index.js +18 -0
- package/dist/{dist/components → components}/TopAppBar/index.d.ts +0 -0
- package/dist/components/TopAppBar/index.js +10 -0
- package/dist/{dist/components → components}/TruncatedContent/TruncatedContent.d.ts +0 -0
- package/dist/components/TruncatedContent/TruncatedContent.js +69 -0
- package/dist/{dist/components → components}/TruncatedContent/TruncatedContent.style.d.ts +0 -0
- package/dist/components/TruncatedContent/TruncatedContent.style.js +26 -0
- package/dist/{dist/components → components}/TruncatedContent/index.d.ts +0 -0
- package/dist/components/TruncatedContent/index.js +10 -0
- package/dist/components/storyUtils/Stack/Stack.d.ts +6 -0
- package/dist/components/storyUtils/Stack/index.d.ts +1 -0
- package/dist/{dist/components → components}/utils/ClickAwayListener/ClickAwayListener.d.ts +0 -0
- package/dist/components/utils/ClickAwayListener/ClickAwayListener.js +52 -0
- package/dist/{dist/components → components}/utils/ClickAwayListener/index.d.ts +0 -0
- package/dist/components/utils/ClickAwayListener/index.js +10 -0
- package/dist/{dist/components → components}/utils/DropdownOptions/index.d.ts +0 -0
- package/dist/components/utils/DropdownOptions/index.js +22 -0
- package/dist/{dist/components → components}/utils/PositionInScreen/PositionInScreen.d.ts +0 -0
- package/dist/components/utils/PositionInScreen/PositionInScreen.js +98 -0
- package/dist/{dist/components → components}/utils/PositionInScreen/PositionInScreen.style.d.ts +0 -0
- package/dist/components/utils/PositionInScreen/PositionInScreen.style.js +32 -0
- package/dist/{dist/components → components}/utils/PositionInScreen/index.d.ts +0 -0
- package/dist/components/utils/PositionInScreen/index.js +10 -0
- package/dist/{dist/components → components}/utils/handleSearch.d.ts +0 -0
- package/dist/components/utils/handleSearch.js +33 -0
- package/dist/{dist/hooks → hooks}/useBreakpoints.d.ts +0 -0
- package/dist/hooks/useBreakpoints.js +38 -0
- package/dist/{dist/hooks → hooks}/useCheck.d.ts +0 -0
- package/dist/hooks/useCheck.js +31 -0
- package/dist/{dist/hooks → hooks}/useCombinedRefs.d.ts +0 -0
- package/dist/hooks/useCombinedRefs.js +35 -0
- package/dist/{dist/hooks → hooks}/useEscape.d.ts +0 -0
- package/dist/hooks/useEscape.js +24 -0
- package/dist/{dist/hooks → hooks}/useLoading.d.ts +0 -0
- package/dist/hooks/useLoading.js +31 -0
- package/dist/{dist/hooks → hooks}/useLocationToGetCurrentMenuItem.d.ts +0 -0
- package/dist/hooks/useLocationToGetCurrentMenuItem.js +36 -0
- package/dist/{dist/hooks → hooks}/usePagination.d.ts +0 -0
- package/dist/hooks/usePagination.js +71 -0
- package/dist/{dist/hooks → hooks}/useTheme.d.ts +0 -0
- package/dist/hooks/useTheme.js +13 -0
- package/dist/{dist/hooks → hooks}/useThemeSwitch.d.ts +0 -0
- package/dist/hooks/useThemeSwitch.js +49 -0
- package/dist/{dist/hooks → hooks}/useToggle.d.ts +0 -0
- package/dist/hooks/useToggle.js +30 -0
- package/dist/{dist/hooks → hooks}/useTypeColorToColorMatch.d.ts +0 -0
- package/dist/hooks/useTypeColorToColorMatch.js +95 -0
- package/dist/index.d.ts +59 -1330
- package/dist/index.js +211 -14
- package/dist/{dist/test → test}/index.d.ts +0 -0
- package/dist/test/index.js +11 -0
- package/dist/{dist/test → test}/setup.d.ts +0 -0
- package/dist/test/setup.js +43 -0
- package/dist/{dist/test → test}/utils.d.ts +0 -0
- package/dist/test/utils.js +78 -0
- package/dist/{dist/theme → theme}/elevation.d.ts +0 -0
- package/dist/theme/elevation.js +12 -0
- package/dist/theme/emotion.d.js +3 -0
- package/dist/{dist/theme → theme}/functions.d.ts +0 -0
- package/dist/theme/functions.js +103 -0
- package/dist/{dist/theme → theme}/index.d.ts +0 -0
- package/dist/theme/index.js +46 -0
- package/dist/{dist/theme → theme}/overrides.d.ts +0 -0
- package/dist/theme/overrides.js +7 -0
- package/dist/{dist/theme → theme}/palette.config.d.ts +0 -0
- package/dist/theme/palette.config.js +86 -0
- package/dist/{dist/theme → theme}/palette.d.ts +1 -0
- package/dist/theme/palette.js +93 -0
- package/dist/{dist/theme → theme}/spacing.d.ts +0 -0
- package/dist/theme/spacing.js +24 -0
- package/dist/{dist/theme → theme}/states/disabled.d.ts +0 -0
- package/dist/theme/states/disabled.js +25 -0
- package/dist/{dist/theme → theme}/states/focus.d.ts +0 -0
- package/dist/theme/states/focus.js +31 -0
- package/dist/{dist/theme → theme}/states/hover.d.ts +0 -0
- package/dist/theme/states/hover.js +31 -0
- package/dist/{dist/theme → theme}/states/index.d.ts +0 -0
- package/dist/theme/states/index.js +19 -0
- package/dist/{dist/theme → theme}/states/pressed.d.ts +0 -0
- package/dist/theme/states/pressed.js +31 -0
- package/dist/{dist/theme → theme}/states/statesConfig.d.ts +0 -0
- package/dist/theme/states/statesConfig.js +36 -0
- package/dist/{dist/theme → theme}/states/utils.d.ts +0 -0
- package/dist/theme/states/utils.js +24 -0
- package/dist/theme/tests/const.d.ts +21 -0
- package/dist/{dist/theme → theme}/types.d.ts +2 -2
- package/dist/theme/types.js +3 -0
- package/dist/{dist/theme → theme}/typography.d.ts +0 -0
- package/dist/theme/typography.js +40 -0
- package/dist/{dist/theme → theme}/utils.d.ts +0 -0
- package/dist/theme/utils.js +91 -0
- package/dist/{dist/utils → utils}/common.d.ts +0 -0
- package/dist/utils/common.js +3 -0
- package/dist/{dist/utils → utils}/errors.d.ts +0 -0
- package/dist/utils/errors.js +50 -0
- package/dist/{dist/utils → utils}/helpers.d.ts +0 -0
- package/dist/utils/helpers.js +75 -0
- package/dist/{dist/utils → utils}/initLocaleFormat.d.ts +0 -0
- package/dist/utils/initLocaleFormat.js +22 -0
- package/dist/{dist/utils → utils}/size-utils.d.ts +0 -0
- package/dist/utils/size-utils.js +58 -0
- package/dist/{dist/utils → utils}/storyshots.d.ts +0 -0
- package/dist/utils/storyshots.js +60 -0
- package/dist/{dist/utils → utils}/themeFunctions.d.ts +0 -0
- package/dist/utils/themeFunctions.js +133 -0
- package/dist/{dist/utils → utils}/types.d.ts +0 -0
- package/dist/utils/types.js +3 -0
- package/package.json +12 -20
- package/dist/dist/index.d.ts +0 -59
|
File without changes
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _index = require("../../index");
|
|
9
|
+
|
|
10
|
+
var _themeFunctions = require("../../utils/themeFunctions");
|
|
11
|
+
|
|
12
|
+
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
13
|
+
|
|
14
|
+
var _Avatar = require("./Avatar.style");
|
|
15
|
+
|
|
16
|
+
var _Avatar2 = require("./Avatar.types");
|
|
17
|
+
|
|
18
|
+
exports.Props = _Avatar2.Props;
|
|
19
|
+
exports.AvatarSizes = _Avatar2.AvatarSizes;
|
|
20
|
+
|
|
21
|
+
var _utils = require("./utils");
|
|
22
|
+
|
|
23
|
+
var _react2 = require("@emotion/react");
|
|
24
|
+
|
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
26
|
+
|
|
27
|
+
var Avatar = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
28
|
+
var _ref$src = _ref.src,
|
|
29
|
+
src = _ref$src === void 0 ? '' : _ref$src,
|
|
30
|
+
_ref$iconName = _ref.iconName,
|
|
31
|
+
iconName = _ref$iconName === void 0 ? 'user' : _ref$iconName,
|
|
32
|
+
_ref$size = _ref.size,
|
|
33
|
+
size = _ref$size === void 0 ? 'md' : _ref$size,
|
|
34
|
+
_ref$color = _ref.color,
|
|
35
|
+
color = _ref$color === void 0 ? 'lightGrey-600' : _ref$color,
|
|
36
|
+
children = _ref.children,
|
|
37
|
+
className = _ref.className;
|
|
38
|
+
var theme = (0, _index.useTheme)();
|
|
39
|
+
var calculatedColor = (0, _themeFunctions.calculateActualColorFromComponentProp)(color);
|
|
40
|
+
return (0, _react2.jsx)("div", {
|
|
41
|
+
ref: ref,
|
|
42
|
+
className: className,
|
|
43
|
+
css: (0, _Avatar.avatarStyle)({
|
|
44
|
+
size: size,
|
|
45
|
+
fill: calculatedColor.color,
|
|
46
|
+
fillShade: calculatedColor.shade
|
|
47
|
+
})
|
|
48
|
+
}, src && (0, _react2.jsx)("img", {
|
|
49
|
+
src: src
|
|
50
|
+
}), !src && !children && iconName && (0, _react2.jsx)(_Icon["default"], {
|
|
51
|
+
color: theme.utils.getAAColorFromSwatches(calculatedColor.color, calculatedColor.shade),
|
|
52
|
+
name: iconName,
|
|
53
|
+
size: (0, _utils.iconSizeBasedOnAvatar)(size)
|
|
54
|
+
}), !src && children);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
Avatar.displayName = 'Avatar';
|
|
58
|
+
var _default = Avatar; //TODO: Remove on v5 and change import where necessary
|
|
59
|
+
|
|
60
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.avatarStyle = exports.sizeBasedOnProp = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = require("@emotion/react");
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../theme/utils");
|
|
9
|
+
|
|
10
|
+
var _functions = require("../../theme/functions");
|
|
11
|
+
|
|
12
|
+
var sizeBasedOnProp = function sizeBasedOnProp(size) {
|
|
13
|
+
switch (size) {
|
|
14
|
+
case 'md':
|
|
15
|
+
return 24;
|
|
16
|
+
|
|
17
|
+
case 'sm':
|
|
18
|
+
return 20;
|
|
19
|
+
|
|
20
|
+
case 'xs':
|
|
21
|
+
return 16;
|
|
22
|
+
|
|
23
|
+
default:
|
|
24
|
+
return 46;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
exports.sizeBasedOnProp = sizeBasedOnProp;
|
|
29
|
+
|
|
30
|
+
var fontSizeBasedOnProp = function fontSizeBasedOnProp(theme, size) {
|
|
31
|
+
switch (size) {
|
|
32
|
+
case 'md':
|
|
33
|
+
return theme.typography.fontSizes['11'];
|
|
34
|
+
|
|
35
|
+
case 'sm':
|
|
36
|
+
return theme.typography.fontSizes['10'];
|
|
37
|
+
|
|
38
|
+
case 'xs':
|
|
39
|
+
return theme.typography.fontSizes['8'];
|
|
40
|
+
|
|
41
|
+
default:
|
|
42
|
+
return theme.typography.fontSizes['16'];
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
var avatarStyle = function avatarStyle(_ref) {
|
|
47
|
+
var size = _ref.size,
|
|
48
|
+
fill = _ref.fill,
|
|
49
|
+
fillShade = _ref.fillShade;
|
|
50
|
+
return function (theme) {
|
|
51
|
+
return (
|
|
52
|
+
/*#__PURE__*/
|
|
53
|
+
|
|
54
|
+
/*#__PURE__*/
|
|
55
|
+
(0, _react.css)(_functions.flex, ";width:", (0, _utils.rem)(sizeBasedOnProp(size)), ";height:", (0, _utils.rem)(sizeBasedOnProp(size)), ";border-radius:100%;border:", (0, _utils.rem)(1), " solid ", theme.utils.getColor('lightGrey', 100), ";box-sizing:border-box;background:", theme.utils.getColor(fill, fillShade), ";overflow:hidden;position:relative;font-size:", fontSizeBasedOnProp(theme, size), ";font-weight:", theme.typography.weights.medium, ";align-items:center;flex-shrink:0;line-height:1;user-select:none;justify-content:center;color:", theme.utils.getAAColorFromSwatches(fill, fillShade), ";img{border-radius:100%;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:avatarStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0F2YXRhci9BdmF0YXIuc3R5bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEM2QyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9BdmF0YXIvQXZhdGFyLnN0eWxlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtIH0gZnJvbSAndGhlbWUvdXRpbHMnO1xuXG5pbXBvcnQgeyBUaGVtZSB9IGZyb20gJy4uLy4uL3RoZW1lJztcbmltcG9ydCB7IGZsZXggfSBmcm9tICcuLi8uLi90aGVtZS9mdW5jdGlvbnMnO1xuaW1wb3J0IHsgY29sb3JTaGFkZXMsIGZsYXRDb2xvcnMgfSBmcm9tICcuLi8uLi90aGVtZS9wYWxldHRlJztcbmltcG9ydCB7IEF2YXRhclNpemVzIH0gZnJvbSAnLi9BdmF0YXInO1xuXG5leHBvcnQgY29uc3Qgc2l6ZUJhc2VkT25Qcm9wID0gKHNpemU6IEF2YXRhclNpemVzKTogbnVtYmVyID0+IHtcbiAgc3dpdGNoIChzaXplKSB7XG4gICAgY2FzZSAnbWQnOlxuICAgICAgcmV0dXJuIDI0O1xuICAgIGNhc2UgJ3NtJzpcbiAgICAgIHJldHVybiAyMDtcbiAgICBjYXNlICd4cyc6XG4gICAgICByZXR1cm4gMTY7XG4gICAgZGVmYXVsdDpcbiAgICAgIHJldHVybiA0NjtcbiAgfVxufTtcblxuY29uc3QgZm9udFNpemVCYXNlZE9uUHJvcCA9ICh0aGVtZTogVGhlbWUsIHNpemU6IEF2YXRhclNpemVzKSA9PiB7XG4gIHN3aXRjaCAoc2l6ZSkge1xuICAgIGNhc2UgJ21kJzpcbiAgICAgIHJldHVybiB0aGVtZS50eXBvZ3JhcGh5LmZvbnRTaXplc1snMTEnXTtcbiAgICBjYXNlICdzbSc6XG4gICAgICByZXR1cm4gdGhlbWUudHlwb2dyYXBoeS5mb250U2l6ZXNbJzEwJ107XG4gICAgY2FzZSAneHMnOlxuICAgICAgcmV0dXJuIHRoZW1lLnR5cG9ncmFwaHkuZm9udFNpemVzWyc4J107XG4gICAgZGVmYXVsdDpcbiAgICAgIHJldHVybiB0aGVtZS50eXBvZ3JhcGh5LmZvbnRTaXplc1snMTYnXTtcbiAgfVxufTtcblxuZXhwb3J0IGNvbnN0IGF2YXRhclN0eWxlID0gKHtcbiAgc2l6ZSxcbiAgZmlsbCxcbiAgZmlsbFNoYWRlLFxufToge1xuICBzaXplOiBBdmF0YXJTaXplcztcbiAgZmlsbDogdHlwZW9mIGZsYXRDb2xvcnNbbnVtYmVyXTtcbiAgZmlsbFNoYWRlOiB0eXBlb2YgY29sb3JTaGFkZXNbbnVtYmVyXTtcbn0pID0+ICh0aGVtZTogVGhlbWUpOiBTZXJpYWxpemVkU3R5bGVzID0+IGNzc2BcbiAgJHtmbGV4fTtcbiAgd2lkdGg6ICR7cmVtKHNpemVCYXNlZE9uUHJvcChzaXplKSl9O1xuICBoZWlnaHQ6ICR7cmVtKHNpemVCYXNlZE9uUHJvcChzaXplKSl9O1xuICBib3JkZXItcmFkaXVzOiAxMDAlO1xuICBib3JkZXI6ICR7cmVtKDEpfSBzb2xpZCAke3RoZW1lLnV0aWxzLmdldENvbG9yKCdsaWdodEdyZXknLCAxMDApfTtcbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgYmFja2dyb3VuZDogJHt0aGVtZS51dGlscy5nZXRDb2xvcihmaWxsLCBmaWxsU2hhZGUpfTtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBmb250LXNpemU6ICR7Zm9udFNpemVCYXNlZE9uUHJvcCh0aGVtZSwgc2l6ZSl9O1xuICBmb250LXdlaWdodDogJHt0aGVtZS50eXBvZ3JhcGh5LndlaWdodHMubWVkaXVtfTtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgZmxleC1zaHJpbms6IDA7XG4gIGxpbmUtaGVpZ2h0OiAxO1xuICB1c2VyLXNlbGVjdDogbm9uZTtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIGNvbG9yOiAke3RoZW1lLnV0aWxzLmdldEFBQ29sb3JGcm9tU3dhdGNoZXMoZmlsbCwgZmlsbFNoYWRlKX07XG5cbiAgaW1nIHtcbiAgICBib3JkZXItcmFkaXVzOiAxMDAlO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgfVxuYDtcbiJdfQ== */", process.env.NODE_ENV === "production" ? "" : ";label:avatarStyle;")
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
exports.avatarStyle = avatarStyle;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
+
|
|
8
|
+
var _helpers = require("../../../utils/helpers");
|
|
9
|
+
|
|
10
|
+
var _Avatar = _interopRequireDefault(require("../Avatar"));
|
|
11
|
+
|
|
12
|
+
var _AvatarStack = require("./AvatarStack.style");
|
|
13
|
+
|
|
14
|
+
var _AvatarStack2 = require("./AvatarStack.types");
|
|
15
|
+
|
|
16
|
+
exports.Props = _AvatarStack2.Props;
|
|
17
|
+
|
|
18
|
+
var _utils = require("./utils");
|
|
19
|
+
|
|
20
|
+
var _react2 = require("@emotion/react");
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
var AvatarStack = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
29
|
+
var _ref$maxAvatars = _ref.maxAvatars,
|
|
30
|
+
maxAvatars = _ref$maxAvatars === void 0 ? 4 : _ref$maxAvatars,
|
|
31
|
+
_ref$size = _ref.size,
|
|
32
|
+
size = _ref$size === void 0 ? 'md' : _ref$size,
|
|
33
|
+
_ref$color = _ref.color,
|
|
34
|
+
color = _ref$color === void 0 ? 'lightGrey-600' : _ref$color,
|
|
35
|
+
_ref$dataTestId = _ref.dataTestId,
|
|
36
|
+
dataTestId = _ref$dataTestId === void 0 ? '' : _ref$dataTestId,
|
|
37
|
+
childrenProp = _ref.children;
|
|
38
|
+
(0, _helpers.errorHandler)(_utils.errors, {
|
|
39
|
+
maxAvatars: maxAvatars
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
var children = _react["default"].Children.toArray(childrenProp);
|
|
43
|
+
|
|
44
|
+
var extraAvatars = children.length > maxAvatars ? children.length - maxAvatars : 0;
|
|
45
|
+
var renderContent = (0, _react.useCallback)(function () {
|
|
46
|
+
return children.slice(0, children.length - extraAvatars).map(function (child, index) {
|
|
47
|
+
return (0, _react2.jsx)("div", {
|
|
48
|
+
key: index,
|
|
49
|
+
css: (0, _AvatarStack.avatarWrapperStyle)({
|
|
50
|
+
zIndex: children.length - index,
|
|
51
|
+
size: size
|
|
52
|
+
})
|
|
53
|
+
}, child);
|
|
54
|
+
});
|
|
55
|
+
}, [children, extraAvatars, size]);
|
|
56
|
+
return (0, _react2.jsx)("div", {
|
|
57
|
+
ref: ref,
|
|
58
|
+
"data-testid": (0, _helpers.generateTestDataId)('avatarstack', dataTestId),
|
|
59
|
+
css: (0, _AvatarStack.avatarStackStyle)({
|
|
60
|
+
size: size
|
|
61
|
+
})
|
|
62
|
+
}, renderContent(), extraAvatars ? (0, _react2.jsx)("div", {
|
|
63
|
+
css: (0, _AvatarStack.avatarWrapperStyle)({
|
|
64
|
+
zIndex: 0,
|
|
65
|
+
size: size
|
|
66
|
+
})
|
|
67
|
+
}, (0, _react2.jsx)(_Avatar["default"], {
|
|
68
|
+
size: size,
|
|
69
|
+
color: color
|
|
70
|
+
}, "+", extraAvatars)) : null);
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
AvatarStack.displayName = 'AvatarStack';
|
|
74
|
+
var _default = AvatarStack; //TODO: Remove on v5 and change import where necessary
|
|
75
|
+
|
|
76
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.avatarWrapperStyle = exports.avatarStackStyle = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = require("@emotion/react");
|
|
7
|
+
|
|
8
|
+
var _functions = require("../../../theme/functions");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../theme/utils");
|
|
11
|
+
|
|
12
|
+
var _Avatar = require("../Avatar.style");
|
|
13
|
+
|
|
14
|
+
var OVERLAP_FACTOR = 0.8;
|
|
15
|
+
|
|
16
|
+
var avatarStackStyle = function avatarStackStyle(_ref) {
|
|
17
|
+
var size = _ref.size;
|
|
18
|
+
return function () {
|
|
19
|
+
return (
|
|
20
|
+
/*#__PURE__*/
|
|
21
|
+
|
|
22
|
+
/*#__PURE__*/
|
|
23
|
+
(0, _react.css)(_functions.flex, ";div:last-child{width:", (0, _utils.rem)((0, _Avatar.sizeBasedOnProp)(size)), ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:avatarStackStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0F2YXRhci9BdmF0YXJTdGFjay9BdmF0YXJTdGFjay5zdHlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVSyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9BdmF0YXIvQXZhdGFyU3RhY2svQXZhdGFyU3RhY2suc3R5bGUudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFNlcmlhbGl6ZWRTdHlsZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyBmbGV4IH0gZnJvbSAndGhlbWUvZnVuY3Rpb25zJztcbmltcG9ydCB7IHJlbSB9IGZyb20gJ3RoZW1lL3V0aWxzJztcblxuaW1wb3J0IHsgQXZhdGFyU2l6ZXMgfSBmcm9tICcuLi9BdmF0YXInO1xuaW1wb3J0IHsgc2l6ZUJhc2VkT25Qcm9wIH0gZnJvbSAnLi4vQXZhdGFyLnN0eWxlJztcblxuY29uc3QgT1ZFUkxBUF9GQUNUT1IgPSAwLjg7XG5cbmV4cG9ydCBjb25zdCBhdmF0YXJTdGFja1N0eWxlID0gKHsgc2l6ZSB9OiB7IHNpemU6IEF2YXRhclNpemVzIH0pID0+ICgpOiBTZXJpYWxpemVkU3R5bGVzID0+XG4gIGNzc2BcbiAgICAke2ZsZXh9O1xuXG4gICAgZGl2Omxhc3QtY2hpbGQge1xuICAgICAgd2lkdGg6ICR7cmVtKHNpemVCYXNlZE9uUHJvcChzaXplKSl9O1xuICAgIH1cbiAgYDtcblxuZXhwb3J0IGNvbnN0IGF2YXRhcldyYXBwZXJTdHlsZSA9ICh7XG4gIHpJbmRleCxcbiAgc2l6ZSxcbn06IHtcbiAgekluZGV4OiBudW1iZXI7XG4gIHNpemU6IEF2YXRhclNpemVzO1xufSkgPT4gKCk6IFNlcmlhbGl6ZWRTdHlsZXMgPT5cbiAgY3NzYFxuICAgIHotaW5kZXg6ICR7ekluZGV4fTtcbiAgICB3aWR0aDogJHtyZW0oc2l6ZUJhc2VkT25Qcm9wKHNpemUpICogT1ZFUkxBUF9GQUNUT1IpfTtcbiAgYDtcbiJdfQ== */", process.env.NODE_ENV === "production" ? "" : ";label:avatarStackStyle;")
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
exports.avatarStackStyle = avatarStackStyle;
|
|
29
|
+
|
|
30
|
+
var avatarWrapperStyle = function avatarWrapperStyle(_ref2) {
|
|
31
|
+
var zIndex = _ref2.zIndex,
|
|
32
|
+
size = _ref2.size;
|
|
33
|
+
return function () {
|
|
34
|
+
return (
|
|
35
|
+
/*#__PURE__*/
|
|
36
|
+
|
|
37
|
+
/*#__PURE__*/
|
|
38
|
+
(0, _react.css)("z-index:", zIndex, ";width:", (0, _utils.rem)((0, _Avatar.sizeBasedOnProp)(size) * OVERLAP_FACTOR), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:avatarWrapperStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0F2YXRhci9BdmF0YXJTdGFjay9BdmF0YXJTdGFjay5zdHlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5QksiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvQXZhdGFyL0F2YXRhclN0YWNrL0F2YXRhclN0YWNrLnN0eWxlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgZmxleCB9IGZyb20gJ3RoZW1lL2Z1bmN0aW9ucyc7XG5pbXBvcnQgeyByZW0gfSBmcm9tICd0aGVtZS91dGlscyc7XG5cbmltcG9ydCB7IEF2YXRhclNpemVzIH0gZnJvbSAnLi4vQXZhdGFyJztcbmltcG9ydCB7IHNpemVCYXNlZE9uUHJvcCB9IGZyb20gJy4uL0F2YXRhci5zdHlsZSc7XG5cbmNvbnN0IE9WRVJMQVBfRkFDVE9SID0gMC44O1xuXG5leHBvcnQgY29uc3QgYXZhdGFyU3RhY2tTdHlsZSA9ICh7IHNpemUgfTogeyBzaXplOiBBdmF0YXJTaXplcyB9KSA9PiAoKTogU2VyaWFsaXplZFN0eWxlcyA9PlxuICBjc3NgXG4gICAgJHtmbGV4fTtcblxuICAgIGRpdjpsYXN0LWNoaWxkIHtcbiAgICAgIHdpZHRoOiAke3JlbShzaXplQmFzZWRPblByb3Aoc2l6ZSkpfTtcbiAgICB9XG4gIGA7XG5cbmV4cG9ydCBjb25zdCBhdmF0YXJXcmFwcGVyU3R5bGUgPSAoe1xuICB6SW5kZXgsXG4gIHNpemUsXG59OiB7XG4gIHpJbmRleDogbnVtYmVyO1xuICBzaXplOiBBdmF0YXJTaXplcztcbn0pID0+ICgpOiBTZXJpYWxpemVkU3R5bGVzID0+XG4gIGNzc2BcbiAgICB6LWluZGV4OiAke3pJbmRleH07XG4gICAgd2lkdGg6ICR7cmVtKHNpemVCYXNlZE9uUHJvcChzaXplKSAqIE9WRVJMQVBfRkFDVE9SKX07XG4gIGA7XG4iXX0= */", process.env.NODE_ENV === "production" ? "" : ";label:avatarWrapperStyle;")
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
exports.avatarWrapperStyle = avatarWrapperStyle;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _AvatarStack = _interopRequireDefault(require("./AvatarStack"));
|
|
7
|
+
|
|
8
|
+
exports["default"] = _AvatarStack["default"];
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.errors = void 0;
|
|
5
|
+
|
|
6
|
+
var _errors = require("../../../utils/errors");
|
|
7
|
+
|
|
8
|
+
var errors = [{
|
|
9
|
+
condition: function condition(_ref) {
|
|
10
|
+
var _ref$maxAvatars = _ref.maxAvatars,
|
|
11
|
+
maxAvatars = _ref$maxAvatars === void 0 ? 4 : _ref$maxAvatars;
|
|
12
|
+
return Boolean(maxAvatars < 1);
|
|
13
|
+
},
|
|
14
|
+
error: new _errors.PropsValidationError('maxAvatars prop must be greater than 0')
|
|
15
|
+
}];
|
|
16
|
+
exports.errors = errors;
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _Avatar = _interopRequireDefault(require("./Avatar"));
|
|
7
|
+
|
|
8
|
+
exports["default"] = _Avatar["default"];
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.iconSizeBasedOnAvatar = void 0;
|
|
5
|
+
|
|
6
|
+
var iconSizeBasedOnAvatar = function iconSizeBasedOnAvatar(size) {
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'md':
|
|
9
|
+
return 16;
|
|
10
|
+
|
|
11
|
+
case 'sm':
|
|
12
|
+
return 12;
|
|
13
|
+
|
|
14
|
+
case 'xs':
|
|
15
|
+
return 10;
|
|
16
|
+
|
|
17
|
+
default:
|
|
18
|
+
return 28;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.iconSizeBasedOnAvatar = iconSizeBasedOnAvatar;
|
|
File without changes
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
|
|
7
|
+
|
|
8
|
+
var _uniqueId = _interopRequireDefault(require("lodash/uniqueId"));
|
|
9
|
+
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _reactRouterDom = require("react-router-dom");
|
|
13
|
+
|
|
14
|
+
var _Breadcrumb = require("./Breadcrumb.style");
|
|
15
|
+
|
|
16
|
+
var _BreadcrumbItem = _interopRequireDefault(require("./BreadcrumbItem/BreadcrumbItem"));
|
|
17
|
+
|
|
18
|
+
var _react2 = require("@emotion/react");
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
var isLastItem = function isLastItem(dataItems, itemIndex) {
|
|
27
|
+
return itemIndex === dataItems.length - 1;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var Breadcrumb = function Breadcrumb(_ref) {
|
|
31
|
+
var children = _ref.children,
|
|
32
|
+
_ref$data = _ref.data,
|
|
33
|
+
data = _ref$data === void 0 ? [] : _ref$data;
|
|
34
|
+
var passDataToRouterLink = React.useCallback(function (dataItem, index) {
|
|
35
|
+
var to = dataItem.to,
|
|
36
|
+
label = dataItem.label;
|
|
37
|
+
var isLast = isLastItem(data, index);
|
|
38
|
+
return to ? (0, _react2.jsx)(_reactRouterDom.Link, {
|
|
39
|
+
css: (0, _Breadcrumb.breadcrumbLinkStyles)(isLast),
|
|
40
|
+
key: to,
|
|
41
|
+
to: to
|
|
42
|
+
}, label) : (0, _react2.jsx)("div", null, label);
|
|
43
|
+
}, [data]);
|
|
44
|
+
var childrenCollection = React.Children.toArray(children);
|
|
45
|
+
var dataItems = (0, _isEmpty["default"])(data) ? childrenCollection : data.map(passDataToRouterLink);
|
|
46
|
+
var getBreadcrumbItem = React.useMemo( // eslint-disable-next-line react/display-name
|
|
47
|
+
function () {
|
|
48
|
+
return function (child, index) {
|
|
49
|
+
var itemKey = (0, _uniqueId["default"])('data_item_');
|
|
50
|
+
var isLast = isLastItem(dataItems, index);
|
|
51
|
+
return (0, _react2.jsx)(_BreadcrumbItem["default"], {
|
|
52
|
+
key: itemKey,
|
|
53
|
+
childComponent: child,
|
|
54
|
+
isLastItem: isLast
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
}, [dataItems]);
|
|
58
|
+
return (0, _react2.jsx)("ol", {
|
|
59
|
+
"aria-label": "Breadcrumb",
|
|
60
|
+
css: (0, _Breadcrumb.breadcrumbStyles)()
|
|
61
|
+
}, dataItems.map(getBreadcrumbItem));
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
var _default = Breadcrumb;
|
|
65
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.breadcrumbLinkStyles = exports.breadcrumbStyles = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = require("@emotion/react");
|
|
7
|
+
|
|
8
|
+
var _functions = require("../../theme/functions");
|
|
9
|
+
|
|
10
|
+
var breadcrumbStyles = function breadcrumbStyles() {
|
|
11
|
+
return function () {
|
|
12
|
+
return (
|
|
13
|
+
/*#__PURE__*/
|
|
14
|
+
|
|
15
|
+
/*#__PURE__*/
|
|
16
|
+
(0, _react.css)(_functions.flex, ";flex-wrap:nowrap;list-style:none;padding:0;margin:0;" + (process.env.NODE_ENV === "production" ? "" : ";label:breadcrumbStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JyZWFkY3J1bWIvQnJlYWRjcnVtYi5zdHlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLaUUiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvQnJlYWRjcnVtYi9CcmVhZGNydW1iLnN0eWxlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgZmxleCB9IGZyb20gJ3RoZW1lL2Z1bmN0aW9ucyc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vdGhlbWUnO1xuXG5leHBvcnQgY29uc3QgYnJlYWRjcnVtYlN0eWxlcyA9ICgpID0+ICgpOiBTZXJpYWxpemVkU3R5bGVzID0+IGNzc2BcbiAgJHtmbGV4fTtcbiAgZmxleC13cmFwOiBub3dyYXA7XG4gIGxpc3Qtc3R5bGU6IG5vbmU7XG4gIHBhZGRpbmc6IDA7XG4gIG1hcmdpbjogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBicmVhZGNydW1iTGlua1N0eWxlcyA9IChpc0xhc3Q6IGJvb2xlYW4pID0+ICh0aGVtZTogVGhlbWUpOiBTZXJpYWxpemVkU3R5bGVzID0+IGNzc2BcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBjb2xvcjogaW5oZXJpdDtcbiAgJjpob3ZlciB7XG4gICAgY29sb3I6ICR7aXNMYXN0ID8gdGhlbWUudXRpbHMuZ2V0Q29sb3IoJ2JsdWUnLCA2NTApIDogdGhlbWUudXRpbHMuZ2V0Q29sb3IoJ2RhcmtHcmV5JywgNjUwKX07XG4gIH1cbmA7XG4iXX0= */", process.env.NODE_ENV === "production" ? "" : ";label:breadcrumbStyles;")
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.breadcrumbStyles = breadcrumbStyles;
|
|
22
|
+
|
|
23
|
+
var breadcrumbLinkStyles = function breadcrumbLinkStyles(isLast) {
|
|
24
|
+
return function (theme) {
|
|
25
|
+
return (
|
|
26
|
+
/*#__PURE__*/
|
|
27
|
+
|
|
28
|
+
/*#__PURE__*/
|
|
29
|
+
(0, _react.css)("text-decoration:none;color:inherit;&:hover{color:", isLast ? theme.utils.getColor('blue', 650) : theme.utils.getColor('darkGrey', 650), ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:breadcrumbLinkStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JyZWFkY3J1bWIvQnJlYWRjcnVtYi5zdHlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhZ0ciLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvQnJlYWRjcnVtYi9CcmVhZGNydW1iLnN0eWxlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgZmxleCB9IGZyb20gJ3RoZW1lL2Z1bmN0aW9ucyc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vdGhlbWUnO1xuXG5leHBvcnQgY29uc3QgYnJlYWRjcnVtYlN0eWxlcyA9ICgpID0+ICgpOiBTZXJpYWxpemVkU3R5bGVzID0+IGNzc2BcbiAgJHtmbGV4fTtcbiAgZmxleC13cmFwOiBub3dyYXA7XG4gIGxpc3Qtc3R5bGU6IG5vbmU7XG4gIHBhZGRpbmc6IDA7XG4gIG1hcmdpbjogMDtcbmA7XG5cbmV4cG9ydCBjb25zdCBicmVhZGNydW1iTGlua1N0eWxlcyA9IChpc0xhc3Q6IGJvb2xlYW4pID0+ICh0aGVtZTogVGhlbWUpOiBTZXJpYWxpemVkU3R5bGVzID0+IGNzc2BcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBjb2xvcjogaW5oZXJpdDtcbiAgJjpob3ZlciB7XG4gICAgY29sb3I6ICR7aXNMYXN0ID8gdGhlbWUudXRpbHMuZ2V0Q29sb3IoJ2JsdWUnLCA2NTApIDogdGhlbWUudXRpbHMuZ2V0Q29sb3IoJ2RhcmtHcmV5JywgNjUwKX07XG4gIH1cbmA7XG4iXX0= */", process.env.NODE_ENV === "production" ? "" : ";label:breadcrumbLinkStyles;")
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
exports.breadcrumbLinkStyles = breadcrumbLinkStyles;
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _BreadcrumbItem = require("./BreadcrumbItem.style");
|
|
9
|
+
|
|
10
|
+
var _Separator = _interopRequireDefault(require("../Separator/Separator"));
|
|
11
|
+
|
|
12
|
+
var _react2 = require("@emotion/react");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
var BreadcrumbItem = function BreadcrumbItem(_ref) {
|
|
17
|
+
var childComponent = _ref.childComponent,
|
|
18
|
+
_ref$isLastItem = _ref.isLastItem,
|
|
19
|
+
isLastItem = _ref$isLastItem === void 0 ? false : _ref$isLastItem;
|
|
20
|
+
return (0, _react2.jsx)("li", null, (0, _react2.jsx)("div", {
|
|
21
|
+
css: (0, _BreadcrumbItem.breadcrumbItemStyles)({
|
|
22
|
+
active: isLastItem
|
|
23
|
+
})
|
|
24
|
+
}, childComponent, (0, _react2.jsx)(_Separator["default"], {
|
|
25
|
+
isLastItem: isLastItem
|
|
26
|
+
})));
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
var _default = BreadcrumbItem;
|
|
30
|
+
exports["default"] = _default;
|
package/dist/{dist/components → components}/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.d.ts
RENAMED
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.breadcrumbItemStyles = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = require("@emotion/react");
|
|
7
|
+
|
|
8
|
+
var _palette = require("../../../theme/palette");
|
|
9
|
+
|
|
10
|
+
var breadcrumbItemStyles = function breadcrumbItemStyles(_ref) {
|
|
11
|
+
var active = _ref.active;
|
|
12
|
+
return function (theme) {
|
|
13
|
+
return (
|
|
14
|
+
/*#__PURE__*/
|
|
15
|
+
|
|
16
|
+
/*#__PURE__*/
|
|
17
|
+
(0, _react.css)("display:flex;cursor:default;font-size:", theme.typography.fontSizes[15], ";font-weight:", active ? theme.typography.weights.medium : theme.typography.weights.regular, ";color:", active ? theme.utils.getColor('primary', _palette.BASE_SHADE, 'normal') : theme.utils.getColor('lightGrey', 650), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:breadcrumbItemStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JyZWFkY3J1bWIvQnJlYWRjcnVtYkl0ZW0vQnJlYWRjcnVtYkl0ZW0uc3R5bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWTBCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JyZWFkY3J1bWIvQnJlYWRjcnVtYkl0ZW0vQnJlYWRjcnVtYkl0ZW0uc3R5bGUudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFNlcmlhbGl6ZWRTdHlsZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyBCQVNFX1NIQURFIH0gZnJvbSAndGhlbWUvcGFsZXR0ZSc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vdGhlbWUnO1xuaW1wb3J0IHsgUmVxdWlyZWRQcm9wZXJ0aWVzIH0gZnJvbSAnLi4vLi4vLi4vdXRpbHMvY29tbW9uJztcblxudHlwZSBTdHlsZVByb3BzID0ge1xuICBhY3RpdmU6IGJvb2xlYW47XG59O1xuXG5leHBvcnQgY29uc3QgYnJlYWRjcnVtYkl0ZW1TdHlsZXMgPSAoeyBhY3RpdmUgfTogUmVxdWlyZWRQcm9wZXJ0aWVzPFN0eWxlUHJvcHM+KSA9PiAoXG4gIHRoZW1lOiBUaGVtZVxuKTogU2VyaWFsaXplZFN0eWxlcyA9PiBjc3NgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGN1cnNvcjogZGVmYXVsdDtcbiAgZm9udC1zaXplOiAke3RoZW1lLnR5cG9ncmFwaHkuZm9udFNpemVzWzE1XX07XG4gIGZvbnQtd2VpZ2h0OiAke2FjdGl2ZSA/IHRoZW1lLnR5cG9ncmFwaHkud2VpZ2h0cy5tZWRpdW0gOiB0aGVtZS50eXBvZ3JhcGh5LndlaWdodHMucmVndWxhcn07XG4gIGNvbG9yOiAke2FjdGl2ZVxuICAgID8gdGhlbWUudXRpbHMuZ2V0Q29sb3IoJ3ByaW1hcnknLCBCQVNFX1NIQURFLCAnbm9ybWFsJylcbiAgICA6IHRoZW1lLnV0aWxzLmdldENvbG9yKCdsaWdodEdyZXknLCA2NTApfTtcbmA7XG4iXX0= */", process.env.NODE_ENV === "production" ? "" : ";label:breadcrumbItemStyles;")
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.breadcrumbItemStyles = breadcrumbItemStyles;
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var React = _interopRequireWildcard(require("react"));
|
|
7
|
+
|
|
8
|
+
var _Icon = _interopRequireDefault(require("../../Icon"));
|
|
9
|
+
|
|
10
|
+
var _Separator = require("./Separator.style");
|
|
11
|
+
|
|
12
|
+
var _react2 = require("@emotion/react");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
var Separator = function Separator(props) {
|
|
21
|
+
var _props$isLastItem = props.isLastItem,
|
|
22
|
+
isLastItem = _props$isLastItem === void 0 ? false : _props$isLastItem;
|
|
23
|
+
if (isLastItem) return null;
|
|
24
|
+
return (0, _react2.jsx)("span", {
|
|
25
|
+
css: (0, _Separator.separatorStyles)()
|
|
26
|
+
}, (0, _react2.jsx)(_Icon["default"], {
|
|
27
|
+
name: 'triangleRight',
|
|
28
|
+
color: 'lightGrey',
|
|
29
|
+
variant: 650,
|
|
30
|
+
size: 12
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
var _default = Separator;
|
|
35
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.separatorStyles = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = require("@emotion/react");
|
|
7
|
+
|
|
8
|
+
var separatorStyles = function separatorStyles() {
|
|
9
|
+
return function (theme) {
|
|
10
|
+
return (
|
|
11
|
+
/*#__PURE__*/
|
|
12
|
+
|
|
13
|
+
/*#__PURE__*/
|
|
14
|
+
(0, _react.css)("margin:auto ", theme.spacing.md, ";cursor:default;" + (process.env.NODE_ENV === "production" ? "" : ";label:separatorStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JyZWFkY3J1bWIvU2VwYXJhdG9yL1NlcGFyYXRvci5zdHlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHNEUiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvQnJlYWRjcnVtYi9TZXBhcmF0b3IvU2VwYXJhdG9yLnN0eWxlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICd0aGVtZSc7XG5cbmV4cG9ydCBjb25zdCBzZXBhcmF0b3JTdHlsZXMgPSAoKSA9PiAodGhlbWU6IFRoZW1lKTogU2VyaWFsaXplZFN0eWxlcyA9PiBjc3NgXG4gIG1hcmdpbjogYXV0byAke3RoZW1lLnNwYWNpbmcubWR9O1xuICBjdXJzb3I6IGRlZmF1bHQ7XG5gO1xuIl19 */", process.env.NODE_ENV === "production" ? "" : ";label:separatorStyles;")
|
|
15
|
+
);
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.separatorStyles = separatorStyles;
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
|
|
6
|
+
var _Breadcrumb = _interopRequireDefault(require("./Breadcrumb"));
|
|
7
|
+
|
|
8
|
+
exports["default"] = _Breadcrumb["default"];
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
File without changes
|
|
File without changes
|