@tactics/toddle-styleguide 1.0.0 → 1.0.2
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/App.tsx +27 -0
- package/index.d.ts +5 -1
- package/index.tsx +8 -0
- package/package.json +1 -1
- package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.tsx +1 -1
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +54 -54
- package/src/components/atoms/calendar/calendar.component.tsx +4 -2
- package/src/components/atoms/footer/__snapshots__/footer.test.js.snap +9 -9
- package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +18 -18
- package/src/components/atoms/increment-input/increment-input.component.tsx +12 -2
- package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +9 -9
- package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +9 -9
- package/src/components/molecules/blocked-message/blocked-message.component.tsx +6 -1
- package/src/components/molecules/button/__snapshots__/button.test.js.snap +36 -30
- package/src/components/molecules/button/button.component.d.ts +6 -3
- package/src/components/molecules/button/button.component.tsx +27 -3
- package/src/components/molecules/button/button.preview.tsx +6 -3
- package/src/components/molecules/button/button.test.js +9 -6
- package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +29 -29
- package/src/components/molecules/calendar-select/calendar-select.component.tsx +7 -4
- package/src/components/molecules/calendar-select/calendar-select.styles.js +2 -2
- package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +9 -9
- package/src/components/molecules/date-input/date-input.component.tsx +5 -1
- package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +9 -9
- package/src/components/molecules/default-select/default-select.component.tsx +5 -1
- package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +27 -27
- package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +14 -3
- package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +95 -0
- package/src/components/molecules/language-button/language-button.component.d.ts +7 -0
- package/src/components/molecules/language-button/language-button.component.tsx +33 -0
- package/src/components/molecules/language-button/language-button.preview.d.ts +1 -0
- package/src/components/molecules/language-button/language-button.preview.tsx +29 -0
- package/src/components/molecules/language-button/language-button.styles.d.ts +8 -0
- package/src/components/molecules/language-button/language-button.styles.js +12 -0
- package/src/components/molecules/language-button/language-button.test.js +29 -0
- package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +140 -72
- package/src/components/molecules/message-input/message-input.component.tsx +10 -2
- package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +99 -0
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +7 -0
- package/src/components/molecules/more-info-button/more-info-button.component.tsx +33 -0
- package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +1 -0
- package/src/components/molecules/more-info-button/more-info-button.preview.tsx +29 -0
- package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +10 -0
- package/src/components/molecules/more-info-button/more-info-button.styles.js +15 -0
- package/src/components/molecules/more-info-button/more-info-button.test.js +29 -0
- package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +30 -30
- package/src/components/molecules/password-input/password-input.component.tsx +10 -2
- package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +36 -36
- package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +4 -4
- package/src/components/molecules/pressable-icon/pressable-icon.test.js +8 -4
- package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +15 -18
- package/src/components/molecules/search-input/search.component.tsx +6 -2
- package/src/components/molecules/search-input/search.styles.js +5 -8
- package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +431 -431
- package/src/components/molecules/select-list-item/select-list-item-preview.tsx +3 -4
- package/src/components/molecules/select-list-item/select-list-item.component.tsx +21 -18
- package/src/components/molecules/select-list-item/select-list-item.styles.js +10 -7
- package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +18 -20
- package/src/components/molecules/select-picker/select-picker.component.tsx +6 -1
- package/src/components/molecules/select-picker/select-picker.styles.js +2 -2
- package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +108 -108
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +2 -2
- package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +36 -36
- package/src/components/molecules/snackbar/snackbar.component.tsx +21 -2
- package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +15 -11
- package/src/components/molecules/swipe/swipe.component.tsx +10 -2
- package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +10 -10
- package/src/components/organisms/child-list-item/child-list-item.component.tsx +7 -2
- package/src/components/organisms/child-list-item/child-list-item.preview.tsx +7 -1
- package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +18 -18
- package/src/components/organisms/contact-item/contact-item.component.tsx +6 -1
- package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +474 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.ts +164 -0
- package/src/components/organisms/loading-indicator/container.component.d.ts +1 -0
- package/src/components/organisms/loading-indicator/container.component.tsx +65 -0
- package/src/components/organisms/loading-indicator/dot.component.d.ts +6 -0
- package/src/components/organisms/loading-indicator/dot.component.tsx +27 -0
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -0
- package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +21 -0
- package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +1 -0
- package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +100 -0
- package/src/components/organisms/loading-indicator/loading-indicator.test.js +40 -0
- package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +18 -18
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +12 -2
- package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +135 -135
- package/src/components/organisms/text-bubble/text-bubble.test.js +0 -1
- package/src/components/templates/modal/components/fade-panel.component.d.ts +11 -0
- package/src/components/templates/modal/components/fade-panel.component.tsx +53 -0
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +16 -0
- package/src/components/templates/modal/components/fade-panel.styles.js +17 -0
- package/src/components/templates/modal/modal-preview.styles.d.ts +13 -0
- package/src/components/templates/modal/modal-preview.styles.js +17 -0
- package/src/components/templates/modal/modal.component.d.ts +10 -0
- package/src/components/templates/modal/modal.component.tsx +56 -0
- package/src/components/templates/modal/modal.preview.d.ts +1 -0
- package/src/components/templates/modal/modal.preview.tsx +73 -0
- package/src/components/templates/modal/modal.styles.d.ts +21 -0
- package/src/components/templates/modal/modal.styles.js +23 -0
- package/src/components/templates/popover/components/index.js +1 -1
- package/src/components/templates/popover/components/modal/close/close.component.tsx +9 -4
- package/src/components/templates/popover/components/modal/close/close.styles.d.ts +4 -3
- package/src/components/templates/popover/components/modal/close/close.styles.js +8 -5
- package/src/components/templates/popover/components/modal/heading/heading.styles.js +1 -1
- package/src/components/templates/popover/components/modal/modal.component.tsx +1 -1
- package/src/components/templates/popover/components/modal/modal.styles.js +1 -1
- package/src/components/templates/popover/popover.component.tsx +2 -1
- package/src/context/loading-dots.context.d.ts +8 -0
- package/src/context/loading-dots.context.tsx +33 -0
- package/src/icons/__snapshots__/icons.test.js.snap +572 -482
- package/src/icons/icons.test.js +126 -51
- package/src/icons/index.d.ts +2 -56
- package/src/icons/index.tsx +11 -3
- package/src/icons/outline/calendar/calendar.icon.d.ts +2 -2
- package/src/icons/outline/calendar/calendar.icon.tsx +5 -4
- package/src/icons/outline/chat/chat.icon.d.ts +2 -2
- package/src/icons/outline/chat/chat.icon.tsx +5 -4
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -2
- package/src/icons/outline/chat-alt/chat-alt.icon.tsx +5 -4
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -2
- package/src/icons/outline/check-circle/check-circle.icon.tsx +5 -4
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -2
- package/src/icons/outline/chevron-left/chevron-left.icon.tsx +5 -4
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -2
- package/src/icons/outline/chevron-right/chevron-right.icon.tsx +5 -4
- package/src/icons/outline/clock/clock.icon.d.ts +2 -2
- package/src/icons/outline/clock/clock.icon.tsx +5 -4
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -2
- package/src/icons/outline/cloud-download/cloud-download.icon.tsx +5 -4
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -2
- package/src/icons/outline/currency-euro/currency-euro.icon.tsx +5 -4
- package/src/icons/outline/document-text/document-text.icon.d.ts +2 -2
- package/src/icons/outline/document-text/document-text.icon.tsx +5 -4
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -2
- package/src/icons/outline/exclamation/exclamation.icon.tsx +5 -4
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -2
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +8 -4
- package/src/icons/outline/eye/eye.icon.d.ts +2 -2
- package/src/icons/outline/eye/eye.icon.tsx +6 -5
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -2
- package/src/icons/outline/eye-off/eye-off.icon.tsx +4 -3
- package/src/icons/outline/filter/filter.icon.d.ts +2 -2
- package/src/icons/outline/filter/filter.icon.tsx +5 -42
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -2
- package/src/icons/outline/information-circle/information-circle.icon.tsx +8 -4
- package/src/icons/outline/logout/logout.icon.d.ts +2 -2
- package/src/icons/outline/logout/logout.icon.tsx +11 -4
- package/src/icons/outline/mail/mail.icon.d.ts +2 -2
- package/src/icons/outline/mail/mail.icon.tsx +5 -4
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -2
- package/src/icons/outline/mail-open/mail-open.icon.tsx +5 -4
- package/src/icons/outline/menu/menu.icon.d.ts +2 -2
- package/src/icons/outline/menu/menu.icon.tsx +5 -4
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -2
- package/src/icons/outline/minus-sm/minus-sm.icon.tsx +5 -9
- package/src/icons/outline/office-building/office-building.icon.d.ts +2 -2
- package/src/icons/outline/office-building/office-building.icon.tsx +5 -4
- package/src/icons/outline/outline-default.preview.tsx +49 -45
- package/src/icons/outline/outline-grey.preview.tsx +56 -40
- package/src/icons/outline/outline-white.preview.tsx +61 -41
- package/src/icons/outline/outline.d.ts +2 -42
- package/src/icons/outline/outline.tsx +99 -42
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -2
- package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +11 -4
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -2
- package/src/icons/outline/paperclip/paperclip.icon.tsx +5 -4
- package/src/icons/outline/pencil/pencil.icon.d.ts +2 -2
- package/src/icons/outline/pencil/pencil.icon.tsx +5 -4
- package/src/icons/outline/phone/phone.icon.d.ts +2 -2
- package/src/icons/outline/phone/phone.icon.tsx +5 -4
- package/src/icons/outline/plus/plus.icon.d.ts +2 -2
- package/src/icons/outline/plus/plus.icon.tsx +5 -4
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -2
- package/src/icons/outline/plus-sm/plus-sm.icon.tsx +5 -9
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -2
- package/src/icons/outline/qrcode/qrcode.icon.tsx +5 -4
- package/src/icons/outline/refresh/refresh.icon.d.ts +2 -2
- package/src/icons/outline/refresh/refresh.icon.tsx +5 -4
- package/src/icons/outline/search/search.icon.d.ts +2 -2
- package/src/icons/outline/search/search.icon.tsx +5 -4
- package/src/icons/outline/selector/selector.icon.d.ts +2 -2
- package/src/icons/outline/selector/selector.icon.tsx +5 -4
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -2
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +5 -4
- package/src/icons/outline/status-online/status-online.icon.d.ts +2 -2
- package/src/icons/outline/status-online/status-online.icon.tsx +5 -4
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -2
- package/src/icons/outline/thumb-up/thumb-up.icon.tsx +5 -4
- package/src/icons/outline/trash/trash.icon.d.ts +2 -2
- package/src/icons/outline/trash/trash.icon.tsx +5 -4
- package/src/icons/outline/user/user.icon.d.ts +2 -2
- package/src/icons/outline/user/user.icon.tsx +6 -5
- package/src/icons/outline/user-group/user-group.icon.d.ts +2 -2
- package/src/icons/outline/user-group/user-group.icon.tsx +5 -4
- package/src/icons/outline/users/users.icon.d.ts +2 -2
- package/src/icons/outline/users/users.icon.tsx +5 -4
- package/src/icons/outline/xmark/xmark.icon.d.ts +2 -0
- package/src/icons/outline/{cross/cross.icon.tsx → xmark/xmark.icon.tsx} +5 -4
- package/src/icons/solid/calendar/calendar.icon.d.ts +2 -0
- package/src/icons/solid/calendar/calendar.icon.tsx +21 -0
- package/src/icons/solid/chat/chat.icon.d.ts +2 -0
- package/src/icons/solid/chat/chat.icon.tsx +21 -0
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -2
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +5 -4
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +2 -0
- package/src/icons/solid/check-circle/check-circle.icon.tsx +21 -0
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +2 -0
- package/src/icons/solid/chevron-left/chevron-left.icon.tsx +21 -0
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +2 -0
- package/src/icons/solid/chevron-right/chevron-right.icon.tsx +21 -0
- package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
- package/src/icons/solid/clock/clock-solid.icon.tsx +5 -4
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +2 -0
- package/src/icons/solid/cloud-download/cloud-download.icon.tsx +21 -0
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +2 -0
- package/src/icons/solid/currency-euro/currency-euro.icon.tsx +21 -0
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +2 -2
- package/src/icons/solid/document-text/document-text-solid.icon.tsx +4 -3
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +2 -0
- package/src/icons/solid/exclamation/exclamation.icon.tsx +20 -0
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +2 -0
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +23 -0
- package/src/icons/solid/eye/eye.icon.d.ts +2 -0
- package/src/icons/solid/eye/eye.icon.tsx +24 -0
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -0
- package/src/icons/solid/eye-off/eye-off.icon.tsx +24 -0
- package/src/icons/solid/filter/filter.icon.d.ts +2 -0
- package/src/icons/solid/filter/filter.icon.tsx +21 -0
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -2
- package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +8 -4
- package/src/icons/solid/logout/logout.icon.d.ts +2 -0
- package/src/icons/solid/logout/logout.icon.tsx +26 -0
- package/src/icons/solid/mail/mail.icon.d.ts +2 -0
- package/src/icons/solid/mail/mail.icon.tsx +23 -0
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -0
- package/src/icons/solid/mail-open/mail-open.icon.tsx +21 -0
- package/src/icons/solid/menu/menu.icon.d.ts +2 -0
- package/src/icons/solid/menu/menu.icon.tsx +33 -0
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +2 -0
- package/src/icons/solid/minus-sm/minus-sm.icon.tsx +21 -0
- package/src/icons/solid/office-building/office-building.icon.d.ts +2 -0
- package/src/icons/solid/office-building/office-building.icon.tsx +21 -0
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +2 -0
- package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +25 -0
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +2 -0
- package/src/icons/solid/paperclip/paperclip.icon.tsx +21 -0
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -2
- package/src/icons/solid/pencil/pencil-solid.icon.tsx +6 -5
- package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -2
- package/src/icons/solid/phone/phone-solid.icon.tsx +5 -4
- package/src/icons/solid/plus/plus.icon.d.ts +2 -0
- package/src/icons/solid/plus/plus.icon.tsx +21 -0
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +2 -0
- package/src/icons/solid/plus-sm/plus-sm.icon.tsx +21 -0
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -0
- package/src/icons/solid/qrcode/qrcode.icon.tsx +60 -0
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -2
- package/src/icons/solid/refresh/refresh-solid.icon.tsx +5 -4
- package/src/icons/solid/search/search.icon.d.ts +2 -0
- package/src/icons/solid/search/search.icon.tsx +21 -0
- package/src/icons/solid/selector/selector.icon.d.ts +2 -0
- package/src/icons/solid/selector/selector.icon.tsx +21 -0
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -0
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +31 -0
- package/src/icons/solid/solid.d.ts +2 -12
- package/src/icons/solid/solid.preview.tsx +95 -30
- package/src/icons/solid/solid.tsx +133 -21
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -2
- package/src/icons/solid/status-online/status-online-solid.icon.tsx +5 -10
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +2 -0
- package/src/icons/solid/thumb-up/thumb-up.icon.tsx +23 -0
- package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -2
- package/src/icons/solid/trash/trash-solid.icon.tsx +5 -4
- package/src/icons/solid/user/user.icon.d.ts +2 -0
- package/src/icons/solid/user/user.icon.tsx +23 -0
- package/src/icons/solid/user-group/user-group.icon.d.ts +2 -0
- package/src/icons/solid/user-group/user-group.icon.tsx +72 -0
- package/src/icons/solid/users/users-solid.icon.d.ts +2 -2
- package/src/icons/solid/users/users-solid.icon.tsx +29 -3
- package/src/icons/solid/xmark/xmark.icon.d.ts +2 -0
- package/src/icons/solid/xmark/xmark.icon.tsx +21 -0
- package/src/interfaces/icon.interface.d.ts +11 -0
- package/src/interfaces/icon.interface.ts +12 -0
- package/src/theme/provider/parent.theme.ts +1 -1
- package/src/types/icontype.type.d.ts +2 -4
- package/src/types/icontype.type.ts +43 -4
- package/src/types/loading-dots.type.d.ts +8 -0
- package/src/types/loading-dots.type.ts +8 -0
- package/src/icons/outline/cross/cross.icon.d.ts +0 -2
- /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.d.ts +0 -0
- /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.styles.d.ts +0 -0
- /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.styles.js +0 -0
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const ChevronRightIcon = ({color}:
|
|
9
|
+
export const ChevronRightIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 11 19" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const ChevronRightIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M1.75 1.625L9.33333 9.5L1.75 17.375"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ClockIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const ClockIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const ClockIcon = ({color}:
|
|
9
|
+
export const ClockIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 23 22" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const ClockIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M11.5 6.66667V11L14.875 14.25M21.625 11C21.625 16.3848 17.0919 20.75 11.5 20.75C5.90812 20.75 1.375 16.3848 1.375 11C1.375 5.61522 5.90812 1.25 11.5 1.25C17.0919 1.25 21.625 5.61522 21.625 11Z"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const CloudDownloadIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const CloudDownloadIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const CloudDownloadIcon = ({color}:
|
|
9
|
+
export const CloudDownloadIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 23 25" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const CloudDownloadIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M5.875 17C3.38972 17 1.375 14.9853 1.375 12.5C1.375 10.3546 2.87639 8.5598 4.8858 8.10907C4.7969 7.71194 4.75 7.29895 4.75 6.875C4.75 3.7684 7.2684 1.25 10.375 1.25C13.0967 1.25 15.3669 3.18303 15.8877 5.7511C15.925 5.75037 15.9625 5.75 16 5.75C19.1066 5.75 21.625 8.2684 21.625 11.375C21.625 14.0963 19.6925 16.3663 17.125 16.8875M8.125 20.375L11.5 23.75M11.5 23.75L14.875 20.375M11.5 23.75V10.25"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const CurrencyEuroIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const CurrencyEuroIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const CurrencyEuroIcon = ({color}:
|
|
9
|
+
export const CurrencyEuroIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 22 23" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const CurrencyEuroIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M13.2981 15.4775C12.0289 17.6742 9.97111 17.6742 8.7019 15.4775C7.4327 13.2808 7.4327 9.71922 8.7019 7.52252C9.97111 5.32583 12.0289 5.32583 13.2981 7.52252M6.66667 9.8125H11M6.66667 13.1875H11M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const DocumentTextIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const DocumentTextIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,18 +2,19 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const DocumentTextIcon = ({color}:
|
|
8
|
+
export const DocumentTextIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
8
9
|
const context = useContext(ThemeCtx);
|
|
9
10
|
return (
|
|
10
|
-
<Svg width=
|
|
11
|
+
<Svg width={size} height={size} viewBox="0 0 18 22" fill="none">
|
|
11
12
|
<Path
|
|
12
13
|
stroke={color ? color : context.colors.main['0']}
|
|
13
14
|
strokeWidth="2"
|
|
14
15
|
strokeLinecap="round"
|
|
15
16
|
strokeLinejoin="round"
|
|
16
|
-
d="
|
|
17
|
+
d="M5.74996 11H12.25M5.74996 15.3333H12.25M14.4166 20.75H3.58329C2.38668 20.75 1.41663 19.78 1.41663 18.5833V3.41667C1.41663 2.22005 2.38668 1.25 3.58329 1.25H9.63456C9.92188 1.25 10.1974 1.36414 10.4006 1.5673L16.266 7.4327C16.4692 7.63586 16.5833 7.91141 16.5833 8.19873V18.5833C16.5833 19.7799 15.6132 20.75 14.4166 20.75Z"
|
|
17
18
|
/>
|
|
18
19
|
</Svg>
|
|
19
20
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ExclamationIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const ExclamationIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,18 +2,19 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const ExclamationIcon = ({color}:
|
|
8
|
+
export const ExclamationIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
8
9
|
const context = useContext(ThemeCtx);
|
|
9
10
|
return (
|
|
10
|
-
<Svg width=
|
|
11
|
+
<Svg width={size} height={size} viewBox="0 0 23 21" fill="none">
|
|
11
12
|
<Path
|
|
12
13
|
stroke={color ? color : context.colors.main['0']}
|
|
13
14
|
strokeWidth="2"
|
|
14
15
|
strokeLinecap="round"
|
|
15
16
|
strokeLinejoin="round"
|
|
16
|
-
d="
|
|
17
|
+
d="M11.5 8.125V10.375M11.5 14.875H11.5113M3.70581 19.375H19.2943C21.0263 19.375 22.1088 17.5 21.2428 16L13.4486 2.5C12.5826 1 10.4175 1 9.55148 2.5L1.75725 16C0.891228 17.5 1.97376 19.375 3.70581 19.375Z"
|
|
17
18
|
/>
|
|
18
19
|
</Svg>
|
|
19
20
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ExclamationCircleIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const ExclamationCircleIcon: ({ color, size, }: IconSVGProps) => JSX.Element;
|
|
@@ -2,18 +2,22 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const ExclamationCircleIcon = ({
|
|
8
|
+
export const ExclamationCircleIcon = ({
|
|
9
|
+
color,
|
|
10
|
+
size = Scale.l,
|
|
11
|
+
}: IconSVGProps) => {
|
|
8
12
|
const context = useContext(ThemeCtx);
|
|
9
13
|
return (
|
|
10
|
-
<Svg width=
|
|
14
|
+
<Svg width={size} height={size} viewBox="0 0 22 23" fill="none">
|
|
11
15
|
<Path
|
|
12
16
|
stroke={color ? color : context.colors.main['0']}
|
|
13
17
|
strokeWidth="2"
|
|
14
18
|
strokeLinecap="round"
|
|
15
19
|
strokeLinejoin="round"
|
|
16
|
-
d="
|
|
20
|
+
d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
|
|
17
21
|
/>
|
|
18
22
|
</Svg>
|
|
19
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const EyeIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const EyeIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,25 +2,26 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const EyeIcon = ({color}:
|
|
8
|
+
export const EyeIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
8
9
|
const context = useContext(ThemeCtx);
|
|
9
10
|
return (
|
|
10
|
-
<Svg width=
|
|
11
|
+
<Svg width={size} height={size} viewBox="0 0 25 19" fill="none">
|
|
11
12
|
<Path
|
|
12
13
|
stroke={color ? color : context.colors.main['0']}
|
|
13
14
|
strokeWidth="2"
|
|
14
15
|
strokeLinecap="round"
|
|
15
16
|
strokeLinejoin="round"
|
|
16
|
-
d="
|
|
17
|
+
d="M15.875 9.5C15.875 11.364 14.3639 12.875 12.5 12.875C10.636 12.875 9.12497 11.364 9.12497 9.5C9.12497 7.63604 10.636 6.125 12.5 6.125C14.3639 6.125 15.875 7.63604 15.875 9.5Z"
|
|
17
18
|
/>
|
|
18
19
|
<Path
|
|
19
20
|
stroke={color ? color : context.colors.main['0']}
|
|
20
21
|
strokeWidth="2"
|
|
21
22
|
strokeLinecap="round"
|
|
22
23
|
strokeLinejoin="round"
|
|
23
|
-
d="
|
|
24
|
+
d="M1.7655 9.49996C3.19906 4.93574 7.46313 1.625 12.5005 1.625C17.5378 1.625 21.8019 4.93578 23.2354 9.50004C21.8019 14.0643 17.5378 17.375 12.5005 17.375C7.46313 17.375 3.19904 14.0642 1.7655 9.49996Z"
|
|
24
25
|
/>
|
|
25
26
|
</Svg>
|
|
26
27
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const EyeOffIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const EyeOffIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,12 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const EyeOffIcon = ({color}:
|
|
8
|
+
export const EyeOffIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
8
9
|
const context = useContext(ThemeCtx);
|
|
9
10
|
return (
|
|
10
|
-
<Svg width=
|
|
11
|
+
<Svg width={size} height={size} viewBox="0 0 25 23" fill="none">
|
|
11
12
|
<Path
|
|
12
13
|
stroke={color ? color : context.colors.main['0']}
|
|
13
14
|
strokeWidth="2"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const FilterIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const FilterIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,57 +2,20 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const FilterIcon = ({color}:
|
|
8
|
+
export const FilterIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
8
9
|
const context = useContext(ThemeCtx);
|
|
9
10
|
|
|
10
|
-
const d = [
|
|
11
|
-
'M3.25',
|
|
12
|
-
'4.25C3.25',
|
|
13
|
-
'3.69772',
|
|
14
|
-
'3.69772',
|
|
15
|
-
'3.25',
|
|
16
|
-
'4.25',
|
|
17
|
-
'3.25H21.75C22.3023',
|
|
18
|
-
'3.25',
|
|
19
|
-
'22.75',
|
|
20
|
-
'3.69772',
|
|
21
|
-
'22.75',
|
|
22
|
-
'4.25V7.16912C22.75',
|
|
23
|
-
'7.43434',
|
|
24
|
-
'22.6446',
|
|
25
|
-
'7.68869',
|
|
26
|
-
'22.4571',
|
|
27
|
-
'7.87623L15.4596',
|
|
28
|
-
'14.8738C15.272',
|
|
29
|
-
'15.0613',
|
|
30
|
-
'15.1667',
|
|
31
|
-
'15.3157',
|
|
32
|
-
'15.1667',
|
|
33
|
-
'15.5809V18.4167L10.8333',
|
|
34
|
-
'22.75V15.5809C10.8333',
|
|
35
|
-
'15.3157',
|
|
36
|
-
'10.728',
|
|
37
|
-
'15.0613',
|
|
38
|
-
'10.5404',
|
|
39
|
-
'14.8738L3.54289',
|
|
40
|
-
'7.87623C3.35536',
|
|
41
|
-
'7.68869',
|
|
42
|
-
'3.25',
|
|
43
|
-
'7.43434',
|
|
44
|
-
'3.25',
|
|
45
|
-
'7.16912V4.25Z',
|
|
46
|
-
];
|
|
47
|
-
|
|
48
11
|
return (
|
|
49
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 22 22" fill="none">
|
|
50
13
|
<Path
|
|
51
14
|
stroke={color ? color : context.colors.main['0']}
|
|
52
15
|
strokeWidth="2"
|
|
53
16
|
strokeLinecap="round"
|
|
54
17
|
strokeLinejoin="round"
|
|
55
|
-
d=
|
|
18
|
+
d="M1.25 2.25C1.25 1.69772 1.69772 1.25 2.25 1.25H19.75C20.3023 1.25 20.75 1.69772 20.75 2.25V5.16912C20.75 5.43434 20.6446 5.68869 20.4571 5.87623L13.4596 12.8738C13.272 13.0613 13.1667 13.3157 13.1667 13.5809V16.4167L8.83333 20.75V13.5809C8.83333 13.3157 8.72798 13.0613 8.54044 12.8738L1.54289 5.87623C1.35536 5.68869 1.25 5.43434 1.25 5.16912V2.25Z"
|
|
56
19
|
/>
|
|
57
20
|
</Svg>
|
|
58
21
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const InformationCircleIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const InformationCircleIcon: ({ color, size, }: IconSVGProps) => JSX.Element;
|
|
@@ -2,18 +2,22 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const InformationCircleIcon = ({
|
|
8
|
+
export const InformationCircleIcon = ({
|
|
9
|
+
color,
|
|
10
|
+
size = Scale.l,
|
|
11
|
+
}: IconSVGProps) => {
|
|
8
12
|
const context = useContext(ThemeCtx);
|
|
9
13
|
return (
|
|
10
|
-
<Svg width=
|
|
14
|
+
<Svg width={size} height={size} viewBox="0 0 22 22" fill="none">
|
|
11
15
|
<Path
|
|
12
16
|
stroke={color ? color : context.colors.main['0']}
|
|
13
17
|
strokeWidth="2"
|
|
14
18
|
strokeLinecap="round"
|
|
15
19
|
strokeLinejoin="round"
|
|
16
|
-
d="
|
|
20
|
+
d="M12.0833 15.3333H11V11H9.91667M11 6.66667H11.0108M20.75 11C20.75 16.3848 16.3848 20.75 11 20.75C5.61522 20.75 1.25 16.3848 1.25 11C1.25 5.61522 5.61522 1.25 11 1.25C16.3848 1.25 20.75 5.61522 20.75 11Z"
|
|
17
21
|
/>
|
|
18
22
|
</Svg>
|
|
19
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const LogoutIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const LogoutIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,18 +2,25 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
|
+
import {Scale} from '../../../theme/scale/index';
|
|
6
7
|
|
|
7
|
-
export const LogoutIcon = ({color}:
|
|
8
|
+
export const LogoutIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
8
9
|
const context = useContext(ThemeCtx);
|
|
9
10
|
return (
|
|
10
|
-
<Svg
|
|
11
|
+
<Svg
|
|
12
|
+
width={size}
|
|
13
|
+
height={size}
|
|
14
|
+
viewBox="0 0 22 21"
|
|
15
|
+
fill="none"
|
|
16
|
+
style={{transform: [{scaleX: -1}]}}
|
|
17
|
+
>
|
|
11
18
|
<Path
|
|
12
19
|
stroke={color ? color : context.colors.main['0']}
|
|
13
20
|
strokeWidth="2"
|
|
14
21
|
strokeLinecap="round"
|
|
15
22
|
strokeLinejoin="round"
|
|
16
|
-
d="
|
|
23
|
+
d="M9.91667 15L5.58333 10.5M5.58333 10.5L9.91667 6M5.58333 10.5L20.75 10.5M15.3333 15V16.125C15.3333 17.989 13.8783 19.5 12.0833 19.5H4.5C2.70507 19.5 1.25 17.989 1.25 16.125V4.875C1.25 3.01104 2.70507 1.5 4.5 1.5H12.0833C13.8783 1.5 15.3333 3.01104 15.3333 4.875V6"
|
|
17
24
|
/>
|
|
18
25
|
</Svg>
|
|
19
26
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const MailIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const MailIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const MailIcon = ({color}:
|
|
9
|
+
export const MailIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 23 19" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const MailIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M1.375 5L10.2519 10.9179C11.0077 11.4218 11.9923 11.4218 12.7481 10.9179L21.625 5M3.625 17.375H19.375C20.6176 17.375 21.625 16.3676 21.625 15.125V3.875C21.625 2.63236 20.6176 1.625 19.375 1.625H3.625C2.38236 1.625 1.375 2.63236 1.375 3.875V15.125C1.375 16.3676 2.38236 17.375 3.625 17.375Z"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const MailOpenIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const MailOpenIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const MailOpenIcon = ({color}:
|
|
9
|
+
export const MailOpenIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 23 22" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const MailOpenIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M1.375 18.5833V8.90954C1.375 8.18511 1.75098 7.50861 2.37692 7.10676L10.2519 2.05121C11.0077 1.56602 11.9923 1.56602 12.7481 2.05121L20.6231 7.10676C21.249 7.50861 21.625 8.18511 21.625 8.90954V18.5833M1.375 18.5833C1.375 19.7799 2.38236 20.75 3.625 20.75H19.375C20.6176 20.75 21.625 19.7799 21.625 18.5833M1.375 18.5833L8.96875 13.7083M21.625 18.5833L14.0312 13.7083M1.375 8.83331L8.96875 13.7083M21.625 8.83331L14.0312 13.7083M14.0312 13.7083L12.7481 14.5321C11.9923 15.0173 11.0077 15.0173 10.2519 14.5321L8.96875 13.7083"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const MenuIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const MenuIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,13 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const MenuIcon = ({color}:
|
|
9
|
+
export const MenuIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg width=
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 21 17" fill="none">
|
|
12
13
|
<Path
|
|
13
14
|
stroke={
|
|
14
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -16,7 +17,7 @@ export const MenuIcon = ({color}: IconType) => {
|
|
|
16
17
|
strokeWidth="2"
|
|
17
18
|
strokeLinecap="round"
|
|
18
19
|
strokeLinejoin="round"
|
|
19
|
-
d="
|
|
20
|
+
d="M1.5 1.75H19.5M1.5 8.5H19.5M1.5 15.25H19.5"
|
|
20
21
|
/>
|
|
21
22
|
</Svg>
|
|
22
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const MinusSmallIcon: ({ color, size }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const MinusSmallIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|
|
@@ -2,18 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import Svg, {Path} from 'react-native-svg';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
5
|
+
import {IconSVGProps} from '../../../interfaces/icon.interface';
|
|
6
6
|
import {HexColor} from '../../../models/hex-color.model';
|
|
7
|
+
import {Scale} from '../../../theme/scale/index';
|
|
7
8
|
|
|
8
|
-
export const MinusSmallIcon = ({color, size}:
|
|
9
|
+
export const MinusSmallIcon = ({color, size = Scale.l}: IconSVGProps) => {
|
|
9
10
|
const context = useContext(ThemeCtx);
|
|
10
11
|
return (
|
|
11
|
-
<Svg
|
|
12
|
-
width={!size ? 28 : size}
|
|
13
|
-
height={!size ? 28 : size}
|
|
14
|
-
viewBox="0 0 26 26"
|
|
15
|
-
fill="none"
|
|
16
|
-
>
|
|
12
|
+
<Svg width={size} height={size} viewBox="0 0 16 3" fill="none">
|
|
17
13
|
<Path
|
|
18
14
|
stroke={
|
|
19
15
|
color ? HexColor.of(color).toString() : context.colors.main['0']
|
|
@@ -21,7 +17,7 @@ export const MinusSmallIcon = ({color, size}: IconType) => {
|
|
|
21
17
|
strokeWidth="2"
|
|
22
18
|
strokeLinecap="round"
|
|
23
19
|
strokeLinejoin="round"
|
|
24
|
-
d="
|
|
20
|
+
d="M14.5 1.5H1.5"
|
|
25
21
|
/>
|
|
26
22
|
</Svg>
|
|
27
23
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const OfficeBuildingIcon: ({ color }:
|
|
1
|
+
import { IconSVGProps } from '../../../interfaces/icon.interface';
|
|
2
|
+
export declare const OfficeBuildingIcon: ({ color, size }: IconSVGProps) => JSX.Element;
|