@ssa-ui-kit/core 0.0.36-alpha → 1.0.1
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/components/AccordionGroup/AccordionContent.d.ts +6 -1
- package/dist/components/AccordionGroup/AccordionContext.d.ts +1 -0
- package/dist/components/AccordionGroup/stories/helpers.d.ts +1 -1
- package/dist/components/AddNewAccountCard/types.d.ts +1 -0
- package/dist/components/Avatar/Avatar.d.ts +3 -2
- package/dist/components/Badge/BadgeBase.d.ts +3 -2
- package/dist/components/Badge/helpers.d.ts +5 -4
- package/dist/components/Badge/types.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +1 -0
- package/dist/components/Button/ButtonBase.d.ts +3 -2
- package/dist/components/Button/fixtures.d.ts +33 -32
- package/dist/components/Button/helpers.d.ts +5 -4
- package/dist/components/Card/CardBase.d.ts +4 -3
- package/dist/components/Card/types.d.ts +1 -0
- package/dist/components/CardContent/CardContent.d.ts +1 -0
- package/dist/components/CardContent/CardContentBase.d.ts +4 -3
- package/dist/components/CardHeader/CardHeader.d.ts +1 -0
- package/dist/components/CardHeader/CardHeaderBase.d.ts +5 -4
- package/dist/components/CardList/types.d.ts +1 -0
- package/dist/components/Checkbox/CheckboxBase.d.ts +1 -1
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarBase.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarItem.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +2 -1
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarList.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarWrapper.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +9 -4
- package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +1 -1
- package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +2 -1
- package/dist/components/CollapsibleNavBar/NavBarPopover.d.ts +2 -1
- package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +3 -3
- package/dist/components/CollapsibleNavBar/types.d.ts +1 -0
- package/dist/components/ColorPicker/styles.d.ts +3 -2
- package/dist/components/Dropdown/types.d.ts +1 -0
- package/dist/components/DropdownArrow/DropdownArrow.d.ts +3 -2
- package/dist/components/DropdownBase/DropdownBase.d.ts +3 -2
- package/dist/components/DropdownOption/DropdownOption.d.ts +2 -2
- package/dist/components/DropdownOptions/types.d.ts +1 -0
- package/dist/components/DropdownToggle/DropdownToggle.d.ts +3 -2
- package/dist/components/Filters/FilterBlockWrapper.d.ts +7 -6
- package/dist/components/Filters/Filters.d.ts +13 -2
- package/dist/components/Filters/FiltersContext.d.ts +13 -3
- package/dist/components/Filters/FiltersWrapper.d.ts +4 -3
- package/dist/components/Filters/hooks/useVisibility.d.ts +1 -0
- package/dist/components/Form/Form.d.ts +3 -2
- package/dist/components/FormAction/FormAction.d.ts +3 -2
- package/dist/components/FormGroup/FormGroup.d.ts +3 -2
- package/dist/components/FormHelperText/FormHelperTextBase.d.ts +4 -3
- package/dist/components/FormHelperText/types.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/icons/Archive.d.ts +2 -1
- package/dist/components/Icon/icons/ArrowDown.d.ts +2 -1
- package/dist/components/Icon/icons/ArrowUp.d.ts +2 -1
- package/dist/components/Icon/icons/Attention.d.ts +2 -1
- package/dist/components/Icon/icons/BanUser.d.ts +2 -1
- package/dist/components/Icon/icons/Bin.d.ts +2 -1
- package/dist/components/Icon/icons/Calendar.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotDown.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotLeft.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotRight.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotUp.d.ts +2 -1
- package/dist/components/Icon/icons/Change.d.ts +2 -1
- package/dist/components/Icon/icons/Chart.d.ts +2 -1
- package/dist/components/Icon/icons/Check.d.ts +2 -1
- package/dist/components/Icon/icons/CheckCircle.d.ts +2 -1
- package/dist/components/Icon/icons/Circle.d.ts +2 -1
- package/dist/components/Icon/icons/Circular.d.ts +2 -1
- package/dist/components/Icon/icons/Clock.d.ts +2 -1
- package/dist/components/Icon/icons/Cogwheel.d.ts +2 -1
- package/dist/components/Icon/icons/ConfirmEmail.d.ts +2 -1
- package/dist/components/Icon/icons/Copy.d.ts +2 -1
- package/dist/components/Icon/icons/Cross.d.ts +2 -1
- package/dist/components/Icon/icons/Diet.d.ts +2 -1
- package/dist/components/Icon/icons/Edit.d.ts +2 -1
- package/dist/components/Icon/icons/Email.d.ts +2 -1
- package/dist/components/Icon/icons/Filter.d.ts +2 -1
- package/dist/components/Icon/icons/Home.d.ts +2 -1
- package/dist/components/Icon/icons/Import.d.ts +2 -1
- package/dist/components/Icon/icons/Information.d.ts +2 -1
- package/dist/components/Icon/icons/Invisible.d.ts +2 -1
- package/dist/components/Icon/icons/Lock.d.ts +2 -1
- package/dist/components/Icon/icons/LogIn.d.ts +2 -1
- package/dist/components/Icon/icons/LogOut.d.ts +2 -1
- package/dist/components/Icon/icons/Measurements.d.ts +2 -1
- package/dist/components/Icon/icons/Minus.d.ts +2 -1
- package/dist/components/Icon/icons/More.d.ts +2 -1
- package/dist/components/Icon/icons/MoreVertical.d.ts +2 -1
- package/dist/components/Icon/icons/Notification.d.ts +2 -1
- package/dist/components/Icon/icons/Pages.d.ts +2 -1
- package/dist/components/Icon/icons/Plus.d.ts +2 -1
- package/dist/components/Icon/icons/RadioOn.d.ts +2 -1
- package/dist/components/Icon/icons/Robot.d.ts +2 -1
- package/dist/components/Icon/icons/Roles.d.ts +2 -1
- package/dist/components/Icon/icons/Search.d.ts +2 -1
- package/dist/components/Icon/icons/Settings.d.ts +2 -1
- package/dist/components/Icon/icons/Sleep.d.ts +2 -1
- package/dist/components/Icon/icons/Stats.d.ts +2 -1
- package/dist/components/Icon/icons/Trainings.d.ts +2 -1
- package/dist/components/Icon/icons/UnArchive.d.ts +2 -1
- package/dist/components/Icon/icons/Union.d.ts +2 -1
- package/dist/components/Icon/icons/Unlock.d.ts +2 -1
- package/dist/components/Icon/icons/User.d.ts +2 -1
- package/dist/components/Icon/icons/Visible.d.ts +2 -1
- package/dist/components/Icon/icons/Warning.d.ts +2 -1
- package/dist/components/Icon/icons/all.d.ts +54 -0
- package/dist/components/Icon/icons/iconsList.d.ts +1 -1
- package/dist/components/Icon/types.d.ts +1 -0
- package/dist/components/Indicator/IndicatorBase.d.ts +4 -3
- package/dist/components/Indicator/types.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +1 -0
- package/dist/components/Input/InputBase.d.ts +3 -2
- package/dist/components/Input/InputGroup.d.ts +4 -3
- package/dist/components/Input/InputStatusError.d.ts +3 -2
- package/dist/components/Input/InputStatusSuccess.d.ts +3 -2
- package/dist/components/Label/LabelBase.d.ts +3 -2
- package/dist/components/LargeTab/LargeTabBase.d.ts +3 -2
- package/dist/components/Link/Link.types.d.ts +1 -0
- package/dist/components/Link/LinkBase.d.ts +3 -2
- package/dist/components/LinksTabBar/LinksTabBarBase.d.ts +3 -2
- package/dist/components/Modal/Modal.context.d.ts +1 -0
- package/dist/components/ModalDialog/types.d.ts +1 -0
- package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +1 -0
- package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +1 -0
- package/dist/components/MultipleDropdown/types.d.ts +1 -0
- package/dist/components/MultipleDropdownNotification/MultipleDropdownNotification.d.ts +4 -3
- package/dist/components/MultipleDropdownOptions/types.d.ts +1 -0
- package/dist/components/NavBar/NavBarBase.d.ts +3 -2
- package/dist/components/NavBar/NavBarItem.d.ts +3 -2
- package/dist/components/NavBar/NavBarLink.d.ts +2 -1
- package/dist/components/NavBar/NavBarList.d.ts +3 -2
- package/dist/components/NavBar/NavBarWrapper.d.ts +3 -2
- package/dist/components/NavBar/NavToggleWrapper.d.ts +3 -2
- package/dist/components/NotificationCard/NotificationCard.d.ts +1 -0
- package/dist/components/NotificationCard/types.d.ts +1 -0
- package/dist/components/NotificationMenu/types.d.ts +1 -0
- package/dist/components/Pagination/PaginationContext.d.ts +1 -0
- package/dist/components/Pagination/WithPagination.d.ts +2 -1
- package/dist/components/Pagination/types.d.ts +1 -0
- package/dist/components/PieChart/PieChartBases.d.ts +5 -4
- package/dist/components/PieChart/PieChartLegendList.d.ts +3 -2
- package/dist/components/PieChart/PieChartLegendMarker.d.ts +2 -1
- package/dist/components/PieChart/types.d.ts +1 -0
- package/dist/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/components/Popover/stories/StoryComponent.d.ts +1 -1
- package/dist/components/Popover/types.d.ts +1 -0
- package/dist/components/Progress/types.d.ts +1 -0
- package/dist/components/ProgressCircle/ProgressCircleBase.d.ts +3 -2
- package/dist/components/ProgressCircle/ProgressCircleInner.d.ts +3 -2
- package/dist/components/ProgressCircle/ProgressCircleOuter.d.ts +3 -2
- package/dist/components/ProgressCircle/types.d.ts +1 -0
- package/dist/components/ProgressInfo/ProgressInfoTotals.d.ts +2 -1
- package/dist/components/ProgressLegend/types.d.ts +1 -0
- package/dist/components/ProgressLegendItem/types.d.ts +1 -0
- package/dist/components/ProgressVertical/types.d.ts +1 -0
- package/dist/components/Radio/RadioBase.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroupBase.d.ts +3 -2
- package/dist/components/RadioGroup/types.d.ts +1 -0
- package/dist/components/SearchBox/SearchBoxInput.d.ts +2 -1
- package/dist/components/SearchBox/SearchBoxWrapper.d.ts +3 -2
- package/dist/components/SearchBox/stories/StoryComponent.d.ts +1 -1
- package/dist/components/Step/Step.d.ts +7 -4
- package/dist/components/StepLabel/StepLabel.d.ts +1 -1
- package/dist/components/Stepper/types.d.ts +1 -0
- package/dist/components/Switch/SwitchBase.d.ts +3 -2
- package/dist/components/Switch/SwitchContext.d.ts +2 -1
- package/dist/components/Tab/TabBase.d.ts +3 -2
- package/dist/components/TabBar/TabBarContext.d.ts +2 -1
- package/dist/components/TabBar/stories/helpers.d.ts +9 -4
- package/dist/components/TabBar/types.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +3 -2
- package/dist/components/Table/stories/SortableTable.d.ts +1 -1
- package/dist/components/TableBody/TableBody.d.ts +3 -2
- package/dist/components/TableCell/TableCell.d.ts +4 -3
- package/dist/components/TableFilters/TableFilterTrigger.d.ts +3 -3
- package/dist/components/TableFilters/TableFilterTriggerWithNotification.d.ts +2 -2
- package/dist/components/TableFilters/TableFiltersAccordionContent.d.ts +6 -1
- package/dist/components/TableFilters/TableFiltersButtons.d.ts +2 -2
- package/dist/components/TableHead/TableHead.d.ts +3 -2
- package/dist/components/TableRow/TableRow.d.ts +3 -2
- package/dist/components/Tag/types.d.ts +1 -0
- package/dist/components/Textarea/TextareaBase.d.ts +3 -2
- package/dist/components/Tooltip/TooltipContentBase.d.ts +3 -2
- package/dist/components/Tooltip/types.d.ts +1 -0
- package/dist/components/Tooltip/useTooltipContext.d.ts +1 -0
- package/dist/components/TooltipContent/TooltipContent.d.ts +1 -0
- package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +1 -0
- package/dist/components/Typography/types.d.ts +1 -0
- package/dist/components/WithVisibleLG/WithVisibleLG.d.ts +4 -3
- package/dist/components/WithVisibleMD/WithVisibleMD.d.ts +2 -1
- package/dist/components/WithVisibleSM/WithVisibleSM.d.ts +2 -1
- package/dist/components/WithVisibleUpToLG/WithVisibleUpToLG.d.ts +2 -1
- package/dist/components/Wrapper/Wrapper.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/safari-focus-outline.d.ts +1 -0
- package/dist/types/emotion.d.ts +1 -0
- package/package.json +3 -3
- package/src/components/Icon/Icon.tsx +10 -2
- package/src/components/Icon/icons/Archive.tsx +9 -2
- package/src/components/Icon/icons/ArrowDown.tsx +9 -2
- package/src/components/Icon/icons/ArrowUp.tsx +9 -2
- package/src/components/Icon/icons/Attention.tsx +9 -2
- package/src/components/Icon/icons/BanUser.tsx +9 -2
- package/src/components/Icon/icons/Bin.tsx +9 -2
- package/src/components/Icon/icons/Calendar.tsx +9 -2
- package/src/components/Icon/icons/CarrotDown.tsx +4 -1
- package/src/components/Icon/icons/CarrotLeft.tsx +4 -1
- package/src/components/Icon/icons/CarrotRight.tsx +4 -1
- package/src/components/Icon/icons/CarrotUp.tsx +9 -2
- package/src/components/Icon/icons/Change.tsx +9 -2
- package/src/components/Icon/icons/Chart.tsx +9 -2
- package/src/components/Icon/icons/Check.tsx +9 -2
- package/src/components/Icon/icons/CheckCircle.tsx +4 -1
- package/src/components/Icon/icons/Circle.tsx +9 -2
- package/src/components/Icon/icons/Circular.tsx +9 -2
- package/src/components/Icon/icons/Clock.tsx +9 -2
- package/src/components/Icon/icons/Cogwheel.tsx +9 -2
- package/src/components/Icon/icons/ConfirmEmail.tsx +4 -1
- package/src/components/Icon/icons/Copy.tsx +9 -2
- package/src/components/Icon/icons/Cross.tsx +9 -2
- package/src/components/Icon/icons/Diet.tsx +9 -2
- package/src/components/Icon/icons/Edit.tsx +9 -2
- package/src/components/Icon/icons/Email.tsx +9 -2
- package/src/components/Icon/icons/Filter.tsx +9 -2
- package/src/components/Icon/icons/Home.tsx +9 -2
- package/src/components/Icon/icons/Import.tsx +9 -2
- package/src/components/Icon/icons/Information.tsx +4 -1
- package/src/components/Icon/icons/Invisible.tsx +9 -2
- package/src/components/Icon/icons/Lock.tsx +9 -2
- package/src/components/Icon/icons/LogIn.tsx +9 -2
- package/src/components/Icon/icons/LogOut.tsx +9 -2
- package/src/components/Icon/icons/Measurements.tsx +4 -1
- package/src/components/Icon/icons/Minus.tsx +9 -2
- package/src/components/Icon/icons/More.tsx +9 -2
- package/src/components/Icon/icons/MoreVertical.tsx +4 -1
- package/src/components/Icon/icons/Notification.tsx +4 -1
- package/src/components/Icon/icons/Pages.tsx +9 -2
- package/src/components/Icon/icons/Plus.tsx +9 -2
- package/src/components/Icon/icons/RadioOn.tsx +9 -2
- package/src/components/Icon/icons/Robot.tsx +9 -2
- package/src/components/Icon/icons/Roles.tsx +9 -2
- package/src/components/Icon/icons/Search.tsx +9 -2
- package/src/components/Icon/icons/Settings.tsx +9 -2
- package/src/components/Icon/icons/Sleep.tsx +9 -2
- package/src/components/Icon/icons/Stats.tsx +9 -2
- package/src/components/Icon/icons/Trainings.tsx +9 -2
- package/src/components/Icon/icons/UnArchive.tsx +9 -2
- package/src/components/Icon/icons/Union.tsx +9 -2
- package/src/components/Icon/icons/Unlock.tsx +9 -2
- package/src/components/Icon/icons/User.tsx +9 -2
- package/src/components/Icon/icons/Visible.tsx +9 -2
- package/src/components/Icon/icons/Warning.tsx +9 -2
- package/src/components/Icon/icons/all.ts +59 -0
- package/src/components/Icon/icons/iconsList.tsx +5 -56
- package/src/components/Icon/icons/index.tsx +12 -117
- package/src/components/Icon/types.ts +1 -0
- package/tsbuildcache +1 -1
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Sleep = ({
|
|
3
|
+
export const Sleep = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Sleep',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -8,7 +13,7 @@ export const Sleep = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
8
13
|
xmlns="http://www.w3.org/2000/svg"
|
|
9
14
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
10
15
|
{...props}>
|
|
11
|
-
<title>
|
|
16
|
+
<title>{tooltip}</title>
|
|
12
17
|
<path
|
|
13
18
|
d="M6.00833 2.0001C5.86499 2.002 5.7252 2.04501 5.60557 2.12402C4.00925 3.14394 2.65193 4.502 1.63258 6.0992C1.57541 6.18206 1.53552 6.2756 1.51529 6.37424C1.49506 6.47287 1.4949 6.57457 1.51482 6.67327C1.53474 6.77196 1.57434 6.86563 1.63124 6.94868C1.68814 7.03172 1.76119 7.10245 1.84601 7.15662C1.93084 7.2108 2.0257 7.24732 2.12495 7.264C2.22419 7.28068 2.32577 7.27718 2.42363 7.25371C2.52149 7.23024 2.61363 7.18728 2.69453 7.12739C2.77543 7.06751 2.84343 6.99192 2.89449 6.90516C3.79647 5.49188 4.99859 4.2891 6.41109 3.38663C6.55019 3.30043 6.65725 3.17103 6.71591 3.01821C6.77458 2.86538 6.78161 2.69754 6.73595 2.54034C6.69028 2.38314 6.59443 2.24522 6.46304 2.14766C6.33164 2.05011 6.17194 1.99828 6.00833 2.0001ZM17.9692 2.0001C17.8075 2.00312 17.6512 2.05841 17.5235 2.15772C17.3958 2.25703 17.3037 2.39502 17.2609 2.55107C17.2181 2.70711 17.2269 2.87282 17.286 3.02343C17.3451 3.17404 17.4514 3.30146 17.5889 3.38663C19.0014 4.2891 20.2035 5.49188 21.1055 6.90516C21.1566 6.99192 21.2246 7.06751 21.3055 7.12739C21.3864 7.18727 21.4785 7.23024 21.5764 7.25371C21.6742 7.27718 21.7758 7.28068 21.8751 7.26399C21.9743 7.24731 22.0692 7.2108 22.154 7.15662C22.2388 7.10244 22.3119 7.03172 22.3688 6.94868C22.4257 6.86563 22.4653 6.77196 22.4852 6.67327C22.5051 6.57457 22.5049 6.47287 22.4847 6.37424C22.4645 6.2756 22.4246 6.18206 22.3674 6.0992C21.3481 4.502 19.9907 3.14394 18.3944 2.12402C18.2684 2.04078 18.1202 1.99759 17.9692 2.0001ZM12 3.00512C6.76945 3.00512 2.51319 7.26371 2.51319 12.4971C2.51319 15.3532 3.80753 17.8881 5.80939 19.6298L4.72983 20.71C4.65795 20.779 4.60057 20.8617 4.56104 20.9532C4.5215 21.0448 4.50062 21.1432 4.49961 21.2429C4.49859 21.3426 4.51747 21.4415 4.55514 21.5338C4.5928 21.6261 4.6485 21.71 4.71896 21.7805C4.78942 21.851 4.87323 21.9067 4.96548 21.9444C5.05773 21.9821 5.15658 22.001 5.25622 22C5.35586 21.9989 5.4543 21.9781 5.54576 21.9385C5.63723 21.8989 5.71989 21.8415 5.78891 21.7696L7.01864 20.5392C8.47058 21.4429 10.168 21.9892 12 21.9892C13.832 21.9892 15.5294 21.4429 16.9814 20.5392L18.2111 21.7696C18.2801 21.8415 18.3628 21.8989 18.4542 21.9385C18.5457 21.9781 18.6441 21.9989 18.7438 22C18.8434 22.001 18.9423 21.9821 19.0345 21.9444C19.1268 21.9067 19.2106 21.851 19.281 21.7805C19.3515 21.71 19.4072 21.6261 19.4449 21.5338C19.4825 21.4415 19.5014 21.3426 19.5004 21.2429C19.4994 21.1432 19.4785 21.0448 19.439 20.9532C19.3994 20.8617 19.342 20.779 19.2702 20.71L18.1906 19.6298C20.1925 17.8881 21.4868 15.3532 21.4868 12.4971C21.4868 7.26371 17.2306 3.00512 12 3.00512ZM12 4.50386C16.421 4.50386 19.9889 8.07369 19.9889 12.4971C19.9889 16.9206 16.421 20.4904 12 20.4904C7.57898 20.4904 4.01111 16.9206 4.01111 12.4971C4.01111 8.07369 7.57898 4.50386 12 4.50386ZM10.8 13.3439L10.7992 7.7003C10.7992 7.3137 11.1125 7.00025 11.4991 7.0002C11.8857 7.00014 12.1992 7.31349 12.1992 7.70009L12.1999 12.6035L17.3302 11.3209C17.7053 11.2271 18.0853 11.4552 18.1791 11.8302C18.2729 12.2053 18.0448 12.5853 17.6698 12.6791L11.6698 14.1791C11.2947 14.2729 10.9147 14.0448 10.8209 13.6698C10.8 13.586 10.7951 13.5021 10.8043 13.4211C10.8015 13.3957 10.8001 13.37 10.8 13.3439Z"
|
|
14
19
|
fill={fill}
|
|
@@ -19,3 +24,5 @@ export const Sleep = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
19
24
|
/>
|
|
20
25
|
</svg>
|
|
21
26
|
);
|
|
27
|
+
|
|
28
|
+
export const ICON_NAME = 'sleep';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Stats = ({
|
|
3
|
+
export const Stats = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Stats',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -8,7 +13,7 @@ export const Stats = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
8
13
|
xmlns="http://www.w3.org/2000/svg"
|
|
9
14
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
10
15
|
{...props}>
|
|
11
|
-
<title>
|
|
16
|
+
<title>{tooltip}</title>
|
|
12
17
|
<path
|
|
13
18
|
d="M8.60653 3.62364C7.65543 3.81726 6.74357 4.19357 5.9236 4.73666C4.6787 5.56119 3.7015 6.73312 3.11555 8.10427C2.52961 9.47541 2.36125 10.9842 2.63175 12.4398C2.90226 13.8954 3.59949 15.2324 4.63526 16.2818C5.67104 17.3313 6.99885 18.0459 8.45078 18.3355C9.90272 18.625 11.4136 18.4764 12.7923 17.9085C14.1709 17.3405 15.3556 16.3787 16.1963 15.1447C16.7501 14.332 17.1383 13.4251 17.3444 12.4766L14.2451 12.4766C14.116 12.8294 13.943 13.1672 13.7288 13.4816C13.2234 14.2233 12.5114 14.8014 11.6827 15.1427C10.8541 15.4841 9.94598 15.5734 9.0733 15.3994C8.20061 15.2253 7.40253 14.7958 6.77997 14.165C6.15741 13.5343 5.73834 12.7306 5.57575 11.8557C5.41317 10.9809 5.51436 10.074 5.86654 9.24988C6.21873 8.42575 6.80608 7.72135 7.55433 7.22577C7.87147 7.01572 8.21151 6.84716 8.56596 6.72268L8.60653 3.62364ZM9.12977 2.0268C9.67978 1.96553 10.1232 2.41922 10.116 2.97178L10.0637 6.96592C10.0564 7.51848 9.59085 7.95088 9.06614 8.13122C8.82267 8.2149 8.58921 8.32964 8.37184 8.47361C7.87257 8.80429 7.48066 9.27429 7.24567 9.82419C7.01067 10.3741 6.94315 10.9792 7.05164 11.563C7.16013 12.1467 7.43975 12.683 7.85515 13.1038C8.27055 13.5247 8.80308 13.8113 9.38538 13.9274C9.96768 14.0436 10.5736 13.984 11.1265 13.7562C11.6795 13.5284 12.1546 13.1427 12.4917 12.6478C12.6385 12.4323 12.7563 12.2004 12.8432 11.958C13.0304 11.4357 13.4688 10.9759 14.0214 10.9759L18.0159 10.9759C18.5685 10.9759 19.0164 11.4252 18.9479 11.9743C18.7699 13.402 18.2526 14.776 17.4334 15.9785C16.4245 17.4593 15.0029 18.6135 13.3485 19.295C11.694 19.9765 9.88102 20.1548 8.13871 19.8074C6.39639 19.46 4.80302 18.6024 3.56008 17.343C2.31715 16.0837 1.48047 14.4793 1.15587 12.7326C0.83126 10.9858 1.0333 9.17532 1.73643 7.52995C2.43956 5.88458 3.61221 4.47826 5.10608 3.48882C6.31919 2.68535 7.69987 2.18609 9.12977 2.0268Z"
|
|
14
19
|
fill={fill}
|
|
@@ -19,3 +24,5 @@ export const Stats = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
19
24
|
/>
|
|
20
25
|
</svg>
|
|
21
26
|
);
|
|
27
|
+
|
|
28
|
+
export const ICON_NAME = 'stats';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Trainings = ({
|
|
3
|
+
export const Trainings = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Trainings',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -8,10 +13,12 @@ export const Trainings = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
8
13
|
xmlns="http://www.w3.org/2000/svg"
|
|
9
14
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
10
15
|
{...props}>
|
|
11
|
-
<title>
|
|
16
|
+
<title>{tooltip}</title>
|
|
12
17
|
<path
|
|
13
18
|
d="M6.75 3.75C5.51634 3.75 4.5 4.76634 4.5 6V6.89062C4.26408 6.80564 4.01367 6.75 3.75 6.75C2.51634 6.75 1.5 7.76634 1.5 9V11.25H0V12.75H1.5V15C1.5 16.2329 2.51544 17.25 3.75 17.25C4.01342 17.25 4.26327 17.1968 4.5 17.1123V18C4.5 19.2329 5.51544 20.25 6.75 20.25C7.3669 20.25 7.93454 19.9971 8.34082 19.5908C8.7471 19.1845 9 18.6169 9 18V12.75H15V18C15 18.6169 15.2529 19.1845 15.6592 19.5908C16.0655 19.9971 16.6331 20.25 17.25 20.25C18.4846 20.25 19.5 19.2329 19.5 18V17.1123C19.7367 17.1968 19.9866 17.25 20.25 17.25C21.4846 17.25 22.5 16.2329 22.5 15V12.75H24V11.25H22.5V9C22.5 7.76634 21.4837 6.75 20.25 6.75C19.9863 6.75 19.7359 6.80564 19.5 6.89062V6C19.5 4.76634 18.4837 3.75 17.25 3.75C16.0154 3.75 15 4.76711 15 6V11.25H9V6C9 4.76711 7.98456 3.75 6.75 3.75ZM6.75 5.25C7.17444 5.25 7.5 5.57689 7.5 6V18C7.5 18.2111 7.41699 18.3936 7.28027 18.5303C7.14355 18.667 6.9611 18.75 6.75 18.75C6.32556 18.75 6 18.4231 6 18V6C6 5.57466 6.32466 5.25 6.75 5.25ZM17.25 5.25C17.6753 5.25 18 5.57466 18 6V9V11.4785V15V18C18 18.4231 17.6744 18.75 17.25 18.75C17.0389 18.75 16.8564 18.667 16.7197 18.5303C16.583 18.3936 16.5 18.2111 16.5 18V6C16.5 5.57689 16.8256 5.25 17.25 5.25ZM3.75 8.25C4.17444 8.25 4.5 8.57689 4.5 9V11.4785V15C4.5 15.2111 4.41699 15.3936 4.28027 15.5303C4.14355 15.667 3.9611 15.75 3.75 15.75C3.32556 15.75 3 15.4231 3 15V9C3 8.57466 3.32466 8.25 3.75 8.25ZM20.25 8.25C20.6753 8.25 21 8.57466 21 9V15C21 15.4231 20.6744 15.75 20.25 15.75C20.0389 15.75 19.8564 15.667 19.7197 15.5303C19.583 15.3936 19.5 15.2111 19.5 15V9C19.5 8.57689 19.8256 8.25 20.25 8.25Z"
|
|
14
19
|
fill={fill}
|
|
15
20
|
/>
|
|
16
21
|
</svg>
|
|
17
22
|
);
|
|
23
|
+
|
|
24
|
+
export const ICON_NAME = 'trainings';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const UnArchive = ({
|
|
3
|
+
export const UnArchive = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 20,
|
|
6
|
+
tooltip = 'Unarchive',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
xmlns="http://www.w3.org/2000/svg"
|
|
6
11
|
width={`${size}px`}
|
|
@@ -8,7 +13,7 @@ export const UnArchive = ({ fill = '#000', size = 20, ...props }: SVGProps) => (
|
|
|
8
13
|
viewBox="0 0 21 20"
|
|
9
14
|
fill="none"
|
|
10
15
|
{...props}>
|
|
11
|
-
<title>
|
|
16
|
+
<title>{tooltip}</title>
|
|
12
17
|
<g clipPath="url(#clip0_1141_12546)">
|
|
13
18
|
<path
|
|
14
19
|
d="M16.8271 18.9582H3.49382C2.88616 18.9577 2.30352 18.7161 1.87385 18.2865C1.44417 17.8568 1.20259 17.2742 1.20215 16.6665V6.6665C1.20215 6.50074 1.268 6.34177 1.38521 6.22456C1.50242 6.10735 1.66139 6.0415 1.82715 6.0415H18.4938C18.6596 6.0415 18.8185 6.10735 18.9358 6.22456C19.053 6.34177 19.1188 6.50074 19.1188 6.6665V16.6665C19.1184 17.2742 18.8768 17.8568 18.4471 18.2865C18.0174 18.7161 17.4348 18.9577 16.8271 18.9582ZM2.45215 7.2915V16.6665C2.45259 16.9426 2.56248 17.2073 2.75773 17.4026C2.95299 17.5978 3.21768 17.7077 3.49382 17.7082H16.8271C17.1033 17.7077 17.368 17.5978 17.5632 17.4026C17.7585 17.2073 17.8684 16.9426 17.8688 16.6665V7.2915H2.45215Z"
|
|
@@ -43,3 +48,5 @@ export const UnArchive = ({ fill = '#000', size = 20, ...props }: SVGProps) => (
|
|
|
43
48
|
</defs>
|
|
44
49
|
</svg>
|
|
45
50
|
);
|
|
51
|
+
|
|
52
|
+
export const ICON_NAME = 'unarchive';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Union = ({
|
|
3
|
+
export const Union = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Union',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -9,7 +14,7 @@ export const Union = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
9
14
|
xmlns="http://www.w3.org/2000/svg"
|
|
10
15
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
11
16
|
{...props}>
|
|
12
|
-
<title>
|
|
17
|
+
<title>{tooltip}</title>
|
|
13
18
|
<path
|
|
14
19
|
fillRule="evenodd"
|
|
15
20
|
clipRule="evenodd"
|
|
@@ -18,3 +23,5 @@ export const Union = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
18
23
|
/>
|
|
19
24
|
</svg>
|
|
20
25
|
);
|
|
26
|
+
|
|
27
|
+
export const ICON_NAME = 'union';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Unlock = ({
|
|
3
|
+
export const Unlock = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Unlock',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
xmlns="http://www.w3.org/2000/svg"
|
|
6
11
|
width={`${size}px`}
|
|
@@ -8,7 +13,7 @@ export const Unlock = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
8
13
|
viewBox="0 0 15 15"
|
|
9
14
|
fill="none"
|
|
10
15
|
{...props}>
|
|
11
|
-
<title>
|
|
16
|
+
<title>{tooltip}</title>
|
|
12
17
|
<path
|
|
13
18
|
d="M6.65912 9.39867C6.65912 8.92244 7.02368 8.55788 7.49991 8.55788C7.97614 8.55788 8.3407 8.92244 8.3407 9.39867C8.3407 9.65047 8.22903 9.87161 8.06044 10.0117V10.8C8.06044 11.1087 7.80864 11.3605 7.49991 11.3605C7.19118 11.3605 6.93939 11.1087 6.93939 10.8V10.0117C6.77079 9.87161 6.65912 9.65047 6.65912 9.39867Z"
|
|
14
19
|
fill={fill}
|
|
@@ -21,3 +26,5 @@ export const Unlock = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
21
26
|
/>
|
|
22
27
|
</svg>
|
|
23
28
|
);
|
|
29
|
+
|
|
30
|
+
export const ICON_NAME = 'unlock';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const User = ({
|
|
3
|
+
export const User = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'User',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -9,7 +14,7 @@ export const User = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
9
14
|
xmlns="http://www.w3.org/2000/svg"
|
|
10
15
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
11
16
|
{...props}>
|
|
12
|
-
<title>
|
|
17
|
+
<title>{tooltip}</title>
|
|
13
18
|
<path
|
|
14
19
|
d="M12.1202 12.78C12.0502 12.77 11.9602 12.77 11.8802 12.78C10.1202 12.72 8.72021 11.28 8.72021 9.50998C8.72021 7.69998 10.1802 6.22998 12.0002 6.22998C13.8102 6.22998 15.2802 7.69998 15.2802 9.50998C15.2702 11.28 13.8802 12.72 12.1202 12.78Z"
|
|
15
20
|
stroke={fill}
|
|
@@ -33,3 +38,5 @@ export const User = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
33
38
|
/>
|
|
34
39
|
</svg>
|
|
35
40
|
);
|
|
41
|
+
|
|
42
|
+
export const ICON_NAME = 'user';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Visible = ({
|
|
3
|
+
export const Visible = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Visible',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -9,7 +14,7 @@ export const Visible = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
9
14
|
xmlns="http://www.w3.org/2000/svg"
|
|
10
15
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
11
16
|
{...props}>
|
|
12
|
-
<title>
|
|
17
|
+
<title>{tooltip}</title>
|
|
13
18
|
<path
|
|
14
19
|
d="M15.5799 11.9999C15.5799 13.9799 13.9799 15.5799 11.9999 15.5799C10.0199 15.5799 8.41992 13.9799 8.41992 11.9999C8.41992 10.0199 10.0199 8.41992 11.9999 8.41992C13.9799 8.41992 15.5799 10.0199 15.5799 11.9999Z"
|
|
15
20
|
stroke={fill}
|
|
@@ -26,3 +31,5 @@ export const Visible = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
26
31
|
/>
|
|
27
32
|
</svg>
|
|
28
33
|
);
|
|
34
|
+
|
|
35
|
+
export const ICON_NAME = 'visible';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { SVGProps } from '@components/Icon/types';
|
|
2
2
|
|
|
3
|
-
export const Warning = ({
|
|
3
|
+
export const Warning = ({
|
|
4
|
+
fill = '#000',
|
|
5
|
+
size = 24,
|
|
6
|
+
tooltip = 'Warning',
|
|
7
|
+
...props
|
|
8
|
+
}: SVGProps) => (
|
|
4
9
|
<svg
|
|
5
10
|
width={`${size}px`}
|
|
6
11
|
height={`${size}px`}
|
|
@@ -9,7 +14,7 @@ export const Warning = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
9
14
|
xmlns="http://www.w3.org/2000/svg"
|
|
10
15
|
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
11
16
|
{...props}>
|
|
12
|
-
<title>
|
|
17
|
+
<title>{tooltip}</title>
|
|
13
18
|
<path
|
|
14
19
|
d="M9.65357 1.32393C9.80753 1.05726 10.1924 1.05726 10.3464 1.32393L18.5118 15.4668C18.6657 15.7334 18.4733 16.0668 18.1654 16.0668H1.8346C1.52668 16.0668 1.33423 15.7334 1.48819 15.4668L9.65357 1.32393Z"
|
|
15
20
|
stroke={fill}
|
|
@@ -21,3 +26,5 @@ export const Warning = ({ fill = '#000', size = 24, ...props }: SVGProps) => (
|
|
|
21
26
|
/>
|
|
22
27
|
</svg>
|
|
23
28
|
);
|
|
29
|
+
|
|
30
|
+
export const ICON_NAME = 'warning';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export * as Calendar from './Calendar';
|
|
2
|
+
export * as Diet from './Diet';
|
|
3
|
+
export * as Home from './Home';
|
|
4
|
+
export * as Measurements from './Measurements';
|
|
5
|
+
export * as Settings from './Settings';
|
|
6
|
+
export * as Sleep from './Sleep';
|
|
7
|
+
export * as Stats from './Stats';
|
|
8
|
+
export * as Trainings from './Trainings';
|
|
9
|
+
|
|
10
|
+
export * as Plus from './Plus';
|
|
11
|
+
export * as Minus from './Minus';
|
|
12
|
+
export * as Cross from './Cross';
|
|
13
|
+
export * as Check from './Check';
|
|
14
|
+
export * as CheckCircle from './CheckCircle';
|
|
15
|
+
export * as More from './More';
|
|
16
|
+
export * as MoreVertical from './MoreVertical';
|
|
17
|
+
export * as Notification from './Notification';
|
|
18
|
+
export * as User from './User';
|
|
19
|
+
export * as Union from './Union';
|
|
20
|
+
export * as Visible from './Visible';
|
|
21
|
+
export * as Invisible from './Invisible';
|
|
22
|
+
export * as LogIn from './LogIn';
|
|
23
|
+
export * as LogOut from './LogOut';
|
|
24
|
+
export * as Email from './Email';
|
|
25
|
+
export * as Lock from './Lock';
|
|
26
|
+
export * as Information from './Information';
|
|
27
|
+
export * as Warning from './Warning';
|
|
28
|
+
export * as Attention from './Attention';
|
|
29
|
+
|
|
30
|
+
export * as CarrotDown from './CarrotDown';
|
|
31
|
+
export * as CarrotUp from './CarrotUp';
|
|
32
|
+
export * as CarrotLeft from './CarrotLeft';
|
|
33
|
+
export * as CarrotRight from './CarrotRight';
|
|
34
|
+
|
|
35
|
+
export * as RadioOn from './RadioOn';
|
|
36
|
+
export * as Circle from './Circle';
|
|
37
|
+
|
|
38
|
+
export * as ArrowUp from './ArrowUp';
|
|
39
|
+
export * as ArrowDown from './ArrowDown';
|
|
40
|
+
|
|
41
|
+
export * as Filter from './Filter';
|
|
42
|
+
export * as Search from './Search';
|
|
43
|
+
export * as Archive from './Archive';
|
|
44
|
+
export * as UnArchive from './UnArchive';
|
|
45
|
+
export * as Bin from './Bin';
|
|
46
|
+
export * as Change from './Change';
|
|
47
|
+
export * as Copy from './Copy';
|
|
48
|
+
export * as Robot from './Robot';
|
|
49
|
+
export * as Chart from './Chart';
|
|
50
|
+
export * as Clock from './Clock';
|
|
51
|
+
export * as Cogwheel from './Cogwheel';
|
|
52
|
+
export * as Circular from './Circular';
|
|
53
|
+
export * as BanUser from './BanUser';
|
|
54
|
+
export * as ConfirmEmail from './ConfirmEmail';
|
|
55
|
+
export * as Unlock from './Unlock';
|
|
56
|
+
export * as Edit from './Edit';
|
|
57
|
+
export * as Import from './Import';
|
|
58
|
+
export * as Pages from './Pages';
|
|
59
|
+
export * as Roles from './Roles';
|
|
@@ -7,59 +7,8 @@
|
|
|
7
7
|
//
|
|
8
8
|
// Make sure the order in this array corresponds to the one in the
|
|
9
9
|
// ./index.tsx
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
'sleep',
|
|
16
|
-
'trainings',
|
|
17
|
-
'measurements',
|
|
18
|
-
'settings',
|
|
19
|
-
'plus',
|
|
20
|
-
'minus',
|
|
21
|
-
'more',
|
|
22
|
-
'more-vertical',
|
|
23
|
-
'check',
|
|
24
|
-
'check-circle',
|
|
25
|
-
'cross',
|
|
26
|
-
'user',
|
|
27
|
-
'union',
|
|
28
|
-
'notification',
|
|
29
|
-
'information',
|
|
30
|
-
'warning',
|
|
31
|
-
'attention',
|
|
32
|
-
'visible',
|
|
33
|
-
'invisible',
|
|
34
|
-
'log-out',
|
|
35
|
-
'log-in',
|
|
36
|
-
'email',
|
|
37
|
-
'lock',
|
|
38
|
-
'carrot-down',
|
|
39
|
-
'carrot-up',
|
|
40
|
-
'carrot-left',
|
|
41
|
-
'carrot-right',
|
|
42
|
-
'radio-on',
|
|
43
|
-
'circle',
|
|
44
|
-
'arrow-up',
|
|
45
|
-
'arrow-down',
|
|
46
|
-
'filter',
|
|
47
|
-
'search',
|
|
48
|
-
'archive',
|
|
49
|
-
'bin',
|
|
50
|
-
'change',
|
|
51
|
-
'copy',
|
|
52
|
-
'robot',
|
|
53
|
-
'chart',
|
|
54
|
-
'clock',
|
|
55
|
-
'unarchive',
|
|
56
|
-
'cogwheel',
|
|
57
|
-
'circular',
|
|
58
|
-
'ban-user',
|
|
59
|
-
'confirm-email',
|
|
60
|
-
'unlock',
|
|
61
|
-
'edit',
|
|
62
|
-
'import',
|
|
63
|
-
'pages',
|
|
64
|
-
'roles',
|
|
65
|
-
] as const;
|
|
10
|
+
import * as Icons from './all';
|
|
11
|
+
|
|
12
|
+
export const iconsList = (Object.keys(Icons) as Array<keyof typeof Icons>).map(
|
|
13
|
+
(keyName) => Icons[keyName].ICON_NAME,
|
|
14
|
+
);
|
|
@@ -1,122 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import { Diet } from './Diet';
|
|
5
|
-
import { Home } from './Home';
|
|
6
|
-
import { Measurements } from './Measurements';
|
|
7
|
-
import { Settings } from './Settings';
|
|
8
|
-
import { Sleep } from './Sleep';
|
|
9
|
-
import { Stats } from './Stats';
|
|
10
|
-
import { Trainings } from './Trainings';
|
|
11
|
-
|
|
12
|
-
import { Plus } from './Plus';
|
|
13
|
-
import { Minus } from './Minus';
|
|
14
|
-
import { Cross } from './Cross';
|
|
15
|
-
import { Check } from './Check';
|
|
16
|
-
import { CheckCircle } from './CheckCircle';
|
|
17
|
-
import { More } from './More';
|
|
18
|
-
import { MoreVertical } from './MoreVertical';
|
|
19
|
-
import { Notification } from './Notification';
|
|
20
|
-
import { User } from './User';
|
|
21
|
-
import { Union } from './Union';
|
|
22
|
-
import { Visible } from './Visible';
|
|
23
|
-
import { Invisible } from './Invisible';
|
|
24
|
-
import { LogIn } from './LogIn';
|
|
25
|
-
import { LogOut } from './LogOut';
|
|
26
|
-
import { Email } from './Email';
|
|
27
|
-
import { Lock } from './Lock';
|
|
28
|
-
import { Information } from './Information';
|
|
29
|
-
import { Warning } from './Warning';
|
|
30
|
-
import { Attention } from './Attention';
|
|
31
|
-
|
|
32
|
-
import { CarrotDown } from './CarrotDown';
|
|
33
|
-
import { CarrotUp } from './CarrotUp';
|
|
34
|
-
import { CarrotLeft } from './CarrotLeft';
|
|
35
|
-
import { CarrotRight } from './CarrotRight';
|
|
36
|
-
|
|
37
|
-
import { RadioOn } from './RadioOn';
|
|
38
|
-
import { Circle } from './Circle';
|
|
39
|
-
|
|
40
|
-
import { ArrowUp } from './ArrowUp';
|
|
41
|
-
import { ArrowDown } from './ArrowDown';
|
|
42
|
-
|
|
1
|
+
import { path } from '@ssa-ui-kit/utils';
|
|
2
|
+
import { IconProps, MapIconsType, SVGProps } from '../types';
|
|
3
|
+
import * as Icons from './all';
|
|
43
4
|
import { iconsList } from './iconsList';
|
|
44
|
-
import { Filter } from './Filter';
|
|
45
|
-
import { Search } from './Search';
|
|
46
|
-
import { Archive } from './Archive';
|
|
47
|
-
import { UnArchive } from './UnArchive';
|
|
48
|
-
import { Bin } from './Bin';
|
|
49
|
-
import { Change } from './Change';
|
|
50
|
-
import { Copy } from './Copy';
|
|
51
|
-
import { Robot } from './Robot';
|
|
52
|
-
import { Chart } from './Chart';
|
|
53
|
-
import { Clock } from './Clock';
|
|
54
|
-
import { Cogwheel } from './Cogwheel';
|
|
55
|
-
import { Circular } from './Circular';
|
|
56
|
-
import { BanUser } from './BanUser';
|
|
57
|
-
import { ConfirmEmail } from './ConfirmEmail';
|
|
58
|
-
import { Unlock } from './Unlock';
|
|
59
|
-
import { Edit } from './Edit';
|
|
60
|
-
import { Import } from './Import';
|
|
61
|
-
import { Pages } from './Pages';
|
|
62
|
-
import { Roles } from './Roles';
|
|
63
5
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
Plus,
|
|
74
|
-
Minus,
|
|
75
|
-
More,
|
|
76
|
-
MoreVertical,
|
|
77
|
-
Check,
|
|
78
|
-
CheckCircle,
|
|
79
|
-
Cross,
|
|
80
|
-
User,
|
|
81
|
-
Union,
|
|
82
|
-
Notification,
|
|
83
|
-
Information,
|
|
84
|
-
Warning,
|
|
85
|
-
Attention,
|
|
86
|
-
Visible,
|
|
87
|
-
Invisible,
|
|
88
|
-
LogOut,
|
|
89
|
-
LogIn,
|
|
90
|
-
Email,
|
|
91
|
-
Lock,
|
|
92
|
-
CarrotDown,
|
|
93
|
-
CarrotUp,
|
|
94
|
-
CarrotLeft,
|
|
95
|
-
CarrotRight,
|
|
96
|
-
RadioOn,
|
|
97
|
-
Circle,
|
|
98
|
-
ArrowUp,
|
|
99
|
-
ArrowDown,
|
|
100
|
-
Filter,
|
|
101
|
-
Search,
|
|
102
|
-
Archive,
|
|
103
|
-
Bin,
|
|
104
|
-
Change,
|
|
105
|
-
Copy,
|
|
106
|
-
Robot,
|
|
107
|
-
Chart,
|
|
108
|
-
Clock,
|
|
109
|
-
UnArchive,
|
|
110
|
-
Cogwheel,
|
|
111
|
-
Circular,
|
|
112
|
-
BanUser,
|
|
113
|
-
ConfirmEmail,
|
|
114
|
-
Unlock,
|
|
115
|
-
Edit,
|
|
116
|
-
Import,
|
|
117
|
-
Pages,
|
|
118
|
-
Roles,
|
|
119
|
-
];
|
|
6
|
+
type IconResultType = ({
|
|
7
|
+
fill,
|
|
8
|
+
size,
|
|
9
|
+
...props
|
|
10
|
+
}: SVGProps) => React.ReactElement;
|
|
11
|
+
|
|
12
|
+
const componentsList = (Object.keys(Icons) as Array<keyof typeof Icons>).map(
|
|
13
|
+
(keyName) => path<typeof Icons, IconResultType>([keyName, keyName])(Icons),
|
|
14
|
+
) as unknown as Array<IconResultType>;
|
|
120
15
|
|
|
121
16
|
const iconsMap: MapIconsType = iconsList.reduce((res, name, index) => {
|
|
122
17
|
res[name] = componentsList[index];
|