react-native-exp-fig 0.1.7 → 0.1.8
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/LICENSE +20 -20
- package/lib/commonjs/common/icons-svg/check-box/index.js +45 -0
- package/lib/commonjs/common/icons-svg/check-box/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +5 -4
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +14 -5
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +9 -9
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +16 -14
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/header-profile/index.js +13 -12
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js +11 -3
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/header-profile/header-profile.stories.js +17 -1
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/module/common/icons-svg/check-box/index.js +37 -0
- package/lib/module/common/icons-svg/check-box/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +5 -4
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +14 -5
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/components/check-box/index.js +9 -9
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/coil/index.js +16 -14
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/header-profile/index.js +13 -12
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js +10 -2
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/header-profile/header-profile.stories.js +16 -0
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/check-box/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +52 -51
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts +11 -11
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/box/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/box/styles.d.ts +12 -12
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +23 -23
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-history/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/interface.d.ts +32 -32
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/check-box/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/coil/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/coil/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/input/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/input/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/input/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/no-data/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +63 -63
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +56 -56
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +29 -29
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/index.d.ts +31 -31
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts +10 -10
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +10 -10
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts +9 -8
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts +10 -9
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts +14 -14
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +15 -15
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +46 -46
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +148 -148
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +150 -150
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts +17 -17
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts +3 -3
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts.map +1 -1
- package/lib/typescript/module/src/common/constants/index.d.ts +4 -4
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/check-box/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/check-box/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +52 -51
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts +4 -4
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +11 -11
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +13 -13
- package/lib/typescript/module/src/components/box/index.d.ts +9 -9
- package/lib/typescript/module/src/components/box/styles.d.ts +12 -12
- package/lib/typescript/module/src/components/box/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/button/index.d.ts +9 -9
- package/lib/typescript/module/src/components/button/styles.d.ts +23 -23
- package/lib/typescript/module/src/components/button/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +13 -13
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-history/index.d.ts +14 -14
- package/lib/typescript/module/src/components/card-hours/index.d.ts +9 -9
- package/lib/typescript/module/src/components/card-loading/index.d.ts +14 -14
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +13 -13
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts +32 -32
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts +10 -10
- package/lib/typescript/module/src/components/check-box/index.d.ts +13 -13
- package/lib/typescript/module/src/components/coil/index.d.ts +10 -10
- package/lib/typescript/module/src/components/coil/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/filter-date-selector/index.d.ts +14 -14
- package/lib/typescript/module/src/components/filter-journey/index.d.ts +10 -10
- package/lib/typescript/module/src/components/header-profile/index.d.ts +13 -13
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts +14 -14
- package/lib/typescript/module/src/components/input/index.d.ts +14 -14
- package/lib/typescript/module/src/components/input/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/input/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/loading-details/index.d.ts +10 -10
- package/lib/typescript/module/src/components/loading-progress/index.d.ts +14 -14
- package/lib/typescript/module/src/components/menu-item/index.d.ts +14 -14
- package/lib/typescript/module/src/components/no-data/index.d.ts +7 -7
- package/lib/typescript/module/src/components/notification-loading/index.d.ts +10 -10
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts +10 -10
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +13 -13
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +63 -63
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +14 -14
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +13 -13
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +56 -56
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +13 -13
- package/lib/typescript/module/src/components/typography/styles.d.ts +29 -29
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts +14 -14
- package/lib/typescript/module/src/index.d.ts +31 -31
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +10 -10
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +10 -10
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts +9 -8
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +10 -9
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/input/input.stories.d.ts +14 -14
- package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts +15 -15
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/styles.d.ts +46 -46
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +148 -148
- package/lib/typescript/module/src/styles/theme/theme.d.ts +150 -150
- package/lib/typescript/module/src/utils/format-data/index.d.ts +17 -17
- package/lib/typescript/module/src/utils/format-data/index.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/mutiply/index.d.ts +1 -1
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts +3 -3
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/icons-svg/check-box/index.tsx +28 -0
- package/src/common/icons-svg/constants/index.ts +55 -54
- package/src/common/icons-svg/index.tsx +203 -199
- package/src/components/check-box/index.tsx +125 -125
- package/src/components/coil/index.tsx +90 -82
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/header-profile/index.tsx +132 -131
- package/src/stories/coil/coil.stories.tsx +74 -64
- package/src/stories/header-profile/header-profile.stories.tsx +103 -88
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import Svg, { Path } from "react-native-svg";
|
|
6
|
+
/**
|
|
7
|
+
* typings
|
|
8
|
+
*/
|
|
9
|
+
import { ISvgProps } from "../interface";
|
|
10
|
+
|
|
11
|
+
const SvgIconCheckBox: React.FC<ISvgProps> = ({ color, size, background, ...res }) => (
|
|
12
|
+
<Svg
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width={size ?? 20}
|
|
16
|
+
height={size ?? 20}
|
|
17
|
+
fill="none"
|
|
18
|
+
viewBox="0 0 20 20"
|
|
19
|
+
{...res}
|
|
20
|
+
>
|
|
21
|
+
<Path fill={color ?? "#fff"} stroke={background ?? "#D9D9D9"} d="M.5.5h19v19H.5z"></Path>
|
|
22
|
+
</Svg>
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* EXPORTS
|
|
27
|
+
*/
|
|
28
|
+
export { SvgIconCheckBox };
|
|
@@ -1,54 +1,55 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
const SVG_NAME = {
|
|
6
|
-
CAMERA_PLUS: "camera-plus",
|
|
7
|
-
STEERING_WHEEL: "steering-wheel",
|
|
8
|
-
CHECK_BOX_FILL: "check-box-fill",
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const SVG_NAME = {
|
|
6
|
+
CAMERA_PLUS: "camera-plus",
|
|
7
|
+
STEERING_WHEEL: "steering-wheel",
|
|
8
|
+
CHECK_BOX_FILL: "check-box-fill",
|
|
9
|
+
CHECK_BOX: "check-box",
|
|
10
|
+
CHECK_BOX_OUTLINE: "check-box-outline",
|
|
11
|
+
MOON_STARS: "moon-stars",
|
|
12
|
+
CALL_BELL: "call-bell",
|
|
13
|
+
STEERING_WHEEL_FILL: "steering-wheel-fill",
|
|
14
|
+
TROPHY: "trophy",
|
|
15
|
+
SHOPPING_CART: "Pedido Realizado",
|
|
16
|
+
CREDIT_CARD: "Pagamento Aprovado",
|
|
17
|
+
FILE_TEXT: "Pedido Faturado",
|
|
18
|
+
TRUCK: "Pedido Enviado",
|
|
19
|
+
PACKAGE_CHECK: "Pedido Entregue",
|
|
20
|
+
PLUS: "plus",
|
|
21
|
+
EYE_SLASH: "eye-slash",
|
|
22
|
+
EYE: "eye",
|
|
23
|
+
CALENDAR: "calendar",
|
|
24
|
+
TIMER: "timer",
|
|
25
|
+
GEAR: "gear",
|
|
26
|
+
CURRENCY: "currency",
|
|
27
|
+
GAUGE: "gauge",
|
|
28
|
+
GAS_PUMP: "gas-pump",
|
|
29
|
+
ARROW_LEFT: "arrow-left",
|
|
30
|
+
BLUETOOTH: "bluetooth",
|
|
31
|
+
BLUETOOTH_CONNECTED: "bluetooth-connected",
|
|
32
|
+
LIST: "list",
|
|
33
|
+
WIFI_X: "wifi-x",
|
|
34
|
+
WIFI_HIGH: "wifi-high",
|
|
35
|
+
NOTE_PINCEL: "note-pincel",
|
|
36
|
+
CHECK_CIRCLE: "check-circle",
|
|
37
|
+
ARROW_DROP_DOWN: "arrow-drop-down",
|
|
38
|
+
CLOSED: "closed",
|
|
39
|
+
LOADING: "currency-circle-dollar",
|
|
40
|
+
COIL: "package",
|
|
41
|
+
HISTORY: "chart-bar",
|
|
42
|
+
BELL: "bell",
|
|
43
|
+
FILES: "files",
|
|
44
|
+
LIFEBUOY: "lifebuoy",
|
|
45
|
+
RECUSED: "recused",
|
|
46
|
+
EXCLAMATION_CIRCLE: "exclamation-circle",
|
|
47
|
+
X_CIRCLE: "x-circle",
|
|
48
|
+
ELLIPSE: "ellipsis",
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* EXPORTS
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { SVG_NAME };
|
|
@@ -1,199 +1,203 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
|
|
6
|
-
// commons / svg
|
|
7
|
-
import { SvgIconSteeringWheel } from "./steering-wheel";
|
|
8
|
-
import { SvgIconCheckBoxFill } from "./check-box-fill";
|
|
9
|
-
import { SvgIconCheckBoxOutline } from "./check-box-outline";
|
|
10
|
-
import { SvgIconCameraPlus } from "./camera-plus";
|
|
11
|
-
import { SvgIconMoonStars } from "./moon-stars";
|
|
12
|
-
import { SvgIconCallBell } from "./call-bell";
|
|
13
|
-
import { SvgIconSteeringWheelFill } from "./steering-wheel-fill";
|
|
14
|
-
import { SvgIconTrophy } from "./trophy";
|
|
15
|
-
import { IconShoppingCart } from "./shopping-cart";
|
|
16
|
-
import { IconCreditCard } from "./credit-card";
|
|
17
|
-
import { IconFileText } from "./file-text";
|
|
18
|
-
import { IconTruck } from "./truck";
|
|
19
|
-
import { IconPackageCheck } from "./package-check";
|
|
20
|
-
import { SvgIconEyeSlash } from "./eye-slash";
|
|
21
|
-
import { SvgIconCalendar } from "./calendar";
|
|
22
|
-
import { SvgIconCurrency } from "./currency";
|
|
23
|
-
import { SvgIconEye } from "./eye";
|
|
24
|
-
import { SvgIconGasPump } from "./gas-pump";
|
|
25
|
-
import { SvgIconGauge } from "./gauge";
|
|
26
|
-
import { SvgIconGear } from "./gear";
|
|
27
|
-
import { SvgIconTimer } from "./timer";
|
|
28
|
-
import { SvgIconNotePencil } from "./note-pincel";
|
|
29
|
-
import { SvgIconCheckCircle } from "./check-circle";
|
|
30
|
-
import { SvgIconArrowLeft } from "./arrow-left";
|
|
31
|
-
import { SvgIconBluetooth } from "./bluetooth";
|
|
32
|
-
import { SvgIconBluetoothConnected } from "./bluetooth-connected";
|
|
33
|
-
import { SvgIconList } from "./list";
|
|
34
|
-
import { SvgIconWiFiHigh } from "./wifi-high";
|
|
35
|
-
import { SvgIconWiFiX } from "./wifi-x";
|
|
36
|
-
import { SvgIconArrowDropDown } from "./arrow-drop-down";
|
|
37
|
-
import { SvgIconClosed } from "./closed";
|
|
38
|
-
import { SvgPackage } from "./package";
|
|
39
|
-
import { SvgChartBar } from "./chart-bar";
|
|
40
|
-
import { SvgTruckTrailer } from "./truck-trailer";
|
|
41
|
-
import { SvgIconBell } from "./bell";
|
|
42
|
-
import { SvgIconFiles } from "./files";
|
|
43
|
-
import { SvgIconLifebuoy } from "./lifebuoy";
|
|
44
|
-
import { SvgIconRecused } from "./recused";
|
|
45
|
-
import { SvgIconExclamationCircle } from "./exclamation-circle";
|
|
46
|
-
import { SvgIconPlus } from "./plus";
|
|
47
|
-
import { SvgIconXCirle } from "./x-circle";
|
|
48
|
-
|
|
49
|
-
// typing
|
|
50
|
-
import { ISvgProps } from "./interface";
|
|
51
|
-
|
|
52
|
-
// styles
|
|
53
|
-
import { theme } from "../../styles/theme/theme";
|
|
54
|
-
import { SvgIconEllipse } from "./ellipse";
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
// commons / svg
|
|
7
|
+
import { SvgIconSteeringWheel } from "./steering-wheel";
|
|
8
|
+
import { SvgIconCheckBoxFill } from "./check-box-fill";
|
|
9
|
+
import { SvgIconCheckBoxOutline } from "./check-box-outline";
|
|
10
|
+
import { SvgIconCameraPlus } from "./camera-plus";
|
|
11
|
+
import { SvgIconMoonStars } from "./moon-stars";
|
|
12
|
+
import { SvgIconCallBell } from "./call-bell";
|
|
13
|
+
import { SvgIconSteeringWheelFill } from "./steering-wheel-fill";
|
|
14
|
+
import { SvgIconTrophy } from "./trophy";
|
|
15
|
+
import { IconShoppingCart } from "./shopping-cart";
|
|
16
|
+
import { IconCreditCard } from "./credit-card";
|
|
17
|
+
import { IconFileText } from "./file-text";
|
|
18
|
+
import { IconTruck } from "./truck";
|
|
19
|
+
import { IconPackageCheck } from "./package-check";
|
|
20
|
+
import { SvgIconEyeSlash } from "./eye-slash";
|
|
21
|
+
import { SvgIconCalendar } from "./calendar";
|
|
22
|
+
import { SvgIconCurrency } from "./currency";
|
|
23
|
+
import { SvgIconEye } from "./eye";
|
|
24
|
+
import { SvgIconGasPump } from "./gas-pump";
|
|
25
|
+
import { SvgIconGauge } from "./gauge";
|
|
26
|
+
import { SvgIconGear } from "./gear";
|
|
27
|
+
import { SvgIconTimer } from "./timer";
|
|
28
|
+
import { SvgIconNotePencil } from "./note-pincel";
|
|
29
|
+
import { SvgIconCheckCircle } from "./check-circle";
|
|
30
|
+
import { SvgIconArrowLeft } from "./arrow-left";
|
|
31
|
+
import { SvgIconBluetooth } from "./bluetooth";
|
|
32
|
+
import { SvgIconBluetoothConnected } from "./bluetooth-connected";
|
|
33
|
+
import { SvgIconList } from "./list";
|
|
34
|
+
import { SvgIconWiFiHigh } from "./wifi-high";
|
|
35
|
+
import { SvgIconWiFiX } from "./wifi-x";
|
|
36
|
+
import { SvgIconArrowDropDown } from "./arrow-drop-down";
|
|
37
|
+
import { SvgIconClosed } from "./closed";
|
|
38
|
+
import { SvgPackage } from "./package";
|
|
39
|
+
import { SvgChartBar } from "./chart-bar";
|
|
40
|
+
import { SvgTruckTrailer } from "./truck-trailer";
|
|
41
|
+
import { SvgIconBell } from "./bell";
|
|
42
|
+
import { SvgIconFiles } from "./files";
|
|
43
|
+
import { SvgIconLifebuoy } from "./lifebuoy";
|
|
44
|
+
import { SvgIconRecused } from "./recused";
|
|
45
|
+
import { SvgIconExclamationCircle } from "./exclamation-circle";
|
|
46
|
+
import { SvgIconPlus } from "./plus";
|
|
47
|
+
import { SvgIconXCirle } from "./x-circle";
|
|
48
|
+
|
|
49
|
+
// typing
|
|
50
|
+
import { ISvgProps } from "./interface";
|
|
51
|
+
|
|
52
|
+
// styles
|
|
53
|
+
import { theme } from "../../styles/theme/theme";
|
|
54
|
+
import { SvgIconEllipse } from "./ellipse";
|
|
55
|
+
import { SvgIconCheckBox } from "./check-box";
|
|
56
|
+
|
|
57
|
+
const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
|
|
58
|
+
switch (icon) {
|
|
59
|
+
case "STEERING_WHEEL":
|
|
60
|
+
return <SvgIconSteeringWheel icon="STEERING_WHEEL" color={color} size={size} />;
|
|
61
|
+
|
|
62
|
+
case "CHECK_BOX_FILL":
|
|
63
|
+
return <SvgIconCheckBoxFill icon="CHECK_BOX_FILL" color={color} size={size} />;
|
|
64
|
+
|
|
65
|
+
case "CHECK_BOX_OUTLINE":
|
|
66
|
+
return <SvgIconCheckBoxOutline icon="CHECK_BOX_OUTLINE" color={color} size={size} />;
|
|
67
|
+
|
|
68
|
+
case "CHECK_BOX":
|
|
69
|
+
return <SvgIconCheckBox icon="CHECK_BOX" color={color} size={size} background={background} />;
|
|
70
|
+
|
|
71
|
+
case "CAMERA_PLUS":
|
|
72
|
+
return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
|
|
73
|
+
|
|
74
|
+
case "MOON_STARS":
|
|
75
|
+
return <SvgIconMoonStars color={color} size={size} icon={"MOON_STARS"} />;
|
|
76
|
+
|
|
77
|
+
case "CALL_BELL":
|
|
78
|
+
return <SvgIconCallBell color={color} size={size} icon={"CALL_BELL"} />;
|
|
79
|
+
|
|
80
|
+
case "STEERING_WHEEL_FILL":
|
|
81
|
+
return <SvgIconSteeringWheelFill color={color} size={size} icon={"STEERING_WHEEL_FILL"} />;
|
|
82
|
+
|
|
83
|
+
case "TROPHY":
|
|
84
|
+
return <SvgIconTrophy color={theme.colors.orange[150]} size={size} icon={"TROPHY"} />;
|
|
85
|
+
|
|
86
|
+
case "SHOPPING_CART":
|
|
87
|
+
return <IconShoppingCart icon={"SHOPPING_CART"} />;
|
|
88
|
+
|
|
89
|
+
case "CREDIT_CARD":
|
|
90
|
+
return <IconCreditCard icon={"CREDIT_CARD"} />;
|
|
91
|
+
|
|
92
|
+
case "FILE_TEXT":
|
|
93
|
+
return <IconFileText icon={"FILE_TEXT"} />;
|
|
94
|
+
|
|
95
|
+
case "TRUCK":
|
|
96
|
+
return <IconTruck icon={"TRUCK"} />;
|
|
97
|
+
|
|
98
|
+
case "PACKAGE_CHECK":
|
|
99
|
+
return <IconPackageCheck icon={"PACKAGE_CHECK"} />;
|
|
100
|
+
|
|
101
|
+
case "EYE_SLASH":
|
|
102
|
+
return <SvgIconEyeSlash color={color} size={size} icon={"EYE_SLASH"} />;
|
|
103
|
+
|
|
104
|
+
case "EYE":
|
|
105
|
+
return <SvgIconEye color={color} size={size} icon={"EYE"} />;
|
|
106
|
+
|
|
107
|
+
case "CALENDAR":
|
|
108
|
+
return <SvgIconCalendar color={color} size={size} icon={"CALENDAR"} />;
|
|
109
|
+
|
|
110
|
+
case "TIMER":
|
|
111
|
+
return <SvgIconTimer color={color} size={size} icon={"TIMER"} />;
|
|
112
|
+
|
|
113
|
+
case "GEAR":
|
|
114
|
+
return <SvgIconGear color={color} size={size} icon={"GEAR"} />;
|
|
115
|
+
|
|
116
|
+
case "CURRENCY":
|
|
117
|
+
return <SvgIconCurrency color={color} size={size} icon={"CURRENCY"} />;
|
|
118
|
+
|
|
119
|
+
case "GAUGE":
|
|
120
|
+
return <SvgIconGauge color={color} size={size} icon={"GAUGE"} />;
|
|
121
|
+
|
|
122
|
+
case "GAS_PUMP":
|
|
123
|
+
return <SvgIconGasPump color={color} size={size} icon={"GAS_PUMP"} />;
|
|
124
|
+
|
|
125
|
+
case "ARROW_LEFT":
|
|
126
|
+
return <SvgIconArrowLeft color={color} size={size} icon={"ARROW_LEFT"} />;
|
|
127
|
+
|
|
128
|
+
case "BLUETOOTH":
|
|
129
|
+
return <SvgIconBluetooth color={color} size={size} icon={"BLUETOOTH"} />;
|
|
130
|
+
|
|
131
|
+
case "BLUETOOTH_CONNECTED":
|
|
132
|
+
return <SvgIconBluetoothConnected color={color} size={size} icon={"BLUETOOTH_CONNECTED"} />;
|
|
133
|
+
|
|
134
|
+
case "LIST":
|
|
135
|
+
return <SvgIconList color={color} size={size} icon={"LIST"} />;
|
|
136
|
+
|
|
137
|
+
case "WIFI_HIGH":
|
|
138
|
+
return <SvgIconWiFiHigh color={color} size={size} icon={"WIFI_HIGH"} />;
|
|
139
|
+
|
|
140
|
+
case "WIFI_X":
|
|
141
|
+
return <SvgIconWiFiX color={color} size={size} icon={"WIFI_X"} />;
|
|
142
|
+
|
|
143
|
+
case "NOTE_PINCEL":
|
|
144
|
+
return <SvgIconNotePencil color={color} size={size} icon={"NOTE_PINCEL"} />;
|
|
145
|
+
|
|
146
|
+
case "CHECK_CIRCLE":
|
|
147
|
+
return <SvgIconCheckCircle color={color} size={size} icon={"CHECK_CIRCLE"} />;
|
|
148
|
+
|
|
149
|
+
case "ARROW_DROP_DOWN":
|
|
150
|
+
return <SvgIconArrowDropDown color={color} size={size} icon={"ARROW_DROP_DOWN"} />;
|
|
151
|
+
|
|
152
|
+
case "CLOSED":
|
|
153
|
+
return <SvgIconClosed color={color} size={size} icon={"CLOSED"} />;
|
|
154
|
+
|
|
155
|
+
case "BELL":
|
|
156
|
+
return <SvgIconBell color={color} size={size} icon={"BELL"} />;
|
|
157
|
+
|
|
158
|
+
case "FILES":
|
|
159
|
+
return <SvgIconFiles color={color} size={size} icon={"FILES"} />;
|
|
160
|
+
|
|
161
|
+
case "LIFEBUOY":
|
|
162
|
+
return <SvgIconLifebuoy color={color} size={size} icon={"LIFEBUOY"} />;
|
|
163
|
+
|
|
164
|
+
case "RECUSED":
|
|
165
|
+
return <SvgIconRecused color={color} size={size} icon={"RECUSED"} />;
|
|
166
|
+
|
|
167
|
+
case "EXCLAMATION_CIRCLE":
|
|
168
|
+
return <SvgIconExclamationCircle color={color} size={size} icon={"EXCLAMATION_CIRCLE"} />;
|
|
169
|
+
|
|
170
|
+
case "PLUS":
|
|
171
|
+
return <SvgIconPlus color={color} size={size} icon={"PLUS"} />;
|
|
172
|
+
|
|
173
|
+
case "X_CIRCLE":
|
|
174
|
+
return <SvgIconXCirle color={color} size={size} icon={"X_CIRCLE"} />;
|
|
175
|
+
|
|
176
|
+
case "ELLIPSE":
|
|
177
|
+
return <SvgIconEllipse color={color} size={size} icon={"ELLIPSE"} />;
|
|
178
|
+
|
|
179
|
+
default:
|
|
180
|
+
return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
const IconsMenuItems: React.FC<ISvgProps> = ({ icon, color, size }) => {
|
|
185
|
+
switch (icon) {
|
|
186
|
+
case "COIL":
|
|
187
|
+
return <SvgPackage color={color} size={size} icon={"COIL"} />;
|
|
188
|
+
case "LOADING":
|
|
189
|
+
return <SvgTruckTrailer color={color} size={size} icon={"LOADING"} />;
|
|
190
|
+
|
|
191
|
+
case "HISTORY":
|
|
192
|
+
return <SvgChartBar color={color} size={size} icon={"HISTORY"} />;
|
|
193
|
+
|
|
194
|
+
default:
|
|
195
|
+
return <SvgPackage color={color} size={size} icon={"COIL"} />;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* EXPORTS
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
export { Icons, IconsMenuItems };
|