react-native-exp-fig 0.1.9 → 0.1.11
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/README.md +1 -1
- package/lib/commonjs/common/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/agent/index.js +45 -0
- package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js +10 -14
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/arrow-left/index.js +11 -13
- package/lib/commonjs/common/icons-svg/arrow-left/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bed/index.js +47 -0
- package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bell/index.js +8 -10
- package/lib/commonjs/common/icons-svg/bell/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bluetooth/index.js +18 -24
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js +21 -27
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/calendar/index.js +20 -26
- package/lib/commonjs/common/icons-svg/calendar/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/call-bell/index.js +8 -10
- package/lib/commonjs/common/icons-svg/call-bell/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/camera-plus/index.js +19 -27
- package/lib/commonjs/common/icons-svg/camera-plus/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/car/index.js +37 -0
- package/lib/commonjs/common/icons-svg/car/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/chart-bar/index.js +8 -10
- package/lib/commonjs/common/icons-svg/chart-bar/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-box/index.js +11 -15
- package/lib/commonjs/common/icons-svg/check-box/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js +8 -12
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js +8 -12
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-circle/index.js +18 -20
- package/lib/commonjs/common/icons-svg/check-circle/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-outline/index.js +50 -0
- package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/closed/index.js +18 -24
- package/lib/commonjs/common/icons-svg/closed/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/coffee/index.js +50 -0
- package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +13 -5
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/credit-card/index.js +10 -12
- package/lib/commonjs/common/icons-svg/credit-card/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/currency/index.js +18 -24
- package/lib/commonjs/common/icons-svg/currency/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js +8 -10
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/ellipse/index.js +12 -16
- package/lib/commonjs/common/icons-svg/ellipse/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js +15 -21
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/eye/index.js +12 -17
- package/lib/commonjs/common/icons-svg/eye/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/eye-slash/index.js +10 -13
- package/lib/commonjs/common/icons-svg/eye-slash/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/file-text/index.js +17 -21
- package/lib/commonjs/common/icons-svg/file-text/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/files/index.js +8 -10
- package/lib/commonjs/common/icons-svg/files/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/gas-pump/index.js +19 -25
- package/lib/commonjs/common/icons-svg/gas-pump/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/gauge/index.js +18 -24
- package/lib/commonjs/common/icons-svg/gauge/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/gear/index.js +20 -26
- package/lib/commonjs/common/icons-svg/gear/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +150 -94
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/interface.d.js.map +1 -1
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js +8 -10
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/list/index.js +32 -38
- package/lib/commonjs/common/icons-svg/list/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/moon-stars/index.js +8 -10
- package/lib/commonjs/common/icons-svg/moon-stars/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/note-pincel/index.js +21 -27
- package/lib/commonjs/common/icons-svg/note-pincel/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/package/index.js +8 -10
- package/lib/commonjs/common/icons-svg/package/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/package-check/index.js +22 -26
- package/lib/commonjs/common/icons-svg/package-check/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/pencil/index.js +40 -0
- package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/plus/index.js +20 -28
- package/lib/commonjs/common/icons-svg/plus/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/recused/index.js +16 -18
- package/lib/commonjs/common/icons-svg/recused/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +47 -0
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js +17 -21
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js +27 -33
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js +15 -21
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/timer/index.js +18 -24
- package/lib/commonjs/common/icons-svg/timer/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/trophy/index.js +8 -10
- package/lib/commonjs/common/icons-svg/trophy/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck/index.js +17 -21
- package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck-activity/index.js +37 -0
- package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js +15 -21
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/wifi-high/index.js +22 -28
- package/lib/commonjs/common/icons-svg/wifi-high/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/wifi-x/index.js +28 -34
- package/lib/commonjs/common/icons-svg/wifi-x/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/x-circle/index.js +18 -24
- package/lib/commonjs/common/icons-svg/x-circle/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/index.js +120 -0
- package/lib/commonjs/components/activities-daily/index.js.map +1 -0
- package/lib/commonjs/components/activities-daily/interface.d.js +6 -0
- package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -0
- package/lib/commonjs/components/activities-progress/index.js +165 -0
- package/lib/commonjs/components/activities-progress/index.js.map +1 -0
- package/lib/commonjs/components/activities-progress/interface.d.js +6 -0
- package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -0
- package/lib/commonjs/components/avatar-profile/index.js +101 -0
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -0
- package/lib/commonjs/components/avatar-profile/interface.d.js +6 -0
- package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -0
- package/lib/commonjs/components/box/index.js +4 -6
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/box/interface.d.js.map +1 -1
- package/lib/commonjs/components/box/styles.js +1 -1
- package/lib/commonjs/components/box/styles.js.map +1 -1
- package/lib/commonjs/components/button/index.js +12 -20
- package/lib/commonjs/components/button/index.js.map +1 -1
- package/lib/commonjs/components/button/interface.d.js.map +1 -1
- package/lib/commonjs/components/button/styles.js +19 -16
- package/lib/commonjs/components/button/styles.js.map +1 -1
- package/lib/commonjs/components/capture-photo/index.js +47 -51
- package/lib/commonjs/components/capture-photo/index.js.map +1 -1
- package/lib/commonjs/components/capture-photo/interface.d.js.map +1 -1
- package/lib/commonjs/components/capture-photo/styles.js +1 -1
- package/lib/commonjs/components/capture-photo/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +121 -127
- package/lib/commonjs/components/card-history/index.js.map +1 -1
- package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-hours/index.js +51 -53
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +230 -229
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/index.js +77 -80
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/interface.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/styles.js +1 -1
- package/lib/commonjs/components/card-scheduled-journey/styles.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +157 -165
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/interface.d.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +77 -110
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +85 -91
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/coil/interface.d.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/index.js +56 -51
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/interface.d.js.map +1 -1
- package/lib/commonjs/components/filter-journey/index.js +4 -5
- package/lib/commonjs/components/filter-journey/index.js.map +1 -1
- package/lib/commonjs/components/filter-journey/interface.d.js.map +1 -1
- package/lib/commonjs/components/header-profile/index.js +84 -91
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/components/header-profile/interface.d.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +104 -0
- package/lib/commonjs/components/history-details/index.js.map +1 -0
- package/lib/commonjs/components/history-details/interface.d.js +6 -0
- package/lib/commonjs/components/history-details/interface.d.js.map +1 -0
- package/lib/commonjs/components/image-capture-with-remove/index.js +61 -61
- package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/commonjs/components/input/index.js +100 -118
- package/lib/commonjs/components/input/index.js.map +1 -1
- package/lib/commonjs/components/input/interface.d.js.map +1 -1
- package/lib/commonjs/components/input/styles.js +1 -1
- package/lib/commonjs/components/input/styles.js.map +1 -1
- package/lib/commonjs/components/loading-details/index.js +117 -122
- package/lib/commonjs/components/loading-details/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/interface.d.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +70 -75
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/loading-progress/interface.d.js.map +1 -1
- package/lib/commonjs/components/menu-item/index.js +42 -44
- package/lib/commonjs/components/menu-item/index.js.map +1 -1
- package/lib/commonjs/components/menu-item/interface.d.js.map +1 -1
- package/lib/commonjs/components/menu-item/styles.js.map +1 -1
- package/lib/commonjs/components/no-data/index.js +15 -17
- package/lib/commonjs/components/no-data/index.js.map +1 -1
- package/lib/commonjs/components/no-data/interface.d.js.map +1 -1
- package/lib/commonjs/components/notification-loading/index.js +114 -123
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/index.js +75 -0
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -0
- package/lib/commonjs/components/profile-menu-option/interface.d.js +6 -0
- package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -0
- package/lib/commonjs/components/scheduled-journey-indicators/index.js +47 -52
- package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/commonjs/components/scheduled-journey-indicators/interface.d.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/index.js +54 -64
- package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/interface.d.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/styles.js +62 -59
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js +2 -2
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +101 -112
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/styles.js +53 -50
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +6 -7
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/typography/interface.d.js.map +1 -1
- package/lib/commonjs/components/typography/styles.js +24 -21
- package/lib/commonjs/components/typography/styles.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +161 -176
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/interface.d.js.map +1 -1
- package/lib/commonjs/index.js +97 -56
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js +40 -0
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -0
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js +59 -0
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -0
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js +32 -0
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -0
- package/lib/commonjs/stories/box/box.stories.js +7 -8
- package/lib/commonjs/stories/box/box.stories.js.map +1 -1
- package/lib/commonjs/stories/button/button.stories.js +4 -5
- package/lib/commonjs/stories/button/button.stories.js.map +1 -1
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +3 -3
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -1
- package/lib/commonjs/stories/card-history/card-history.stories.js +3 -3
- package/lib/commonjs/stories/card-history/card-history.stories.js.map +1 -1
- package/lib/commonjs/stories/card-hours/card-hours.stories.js +6 -6
- package/lib/commonjs/stories/card-hours/card-hours.stories.js.map +1 -1
- package/lib/commonjs/stories/card-loading/card-loading.stories.js +5 -5
- package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js +3 -3
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -1
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +2 -2
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -1
- package/lib/commonjs/stories/check-box/check-box.stories.js +3 -5
- package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js +28 -7
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js +29 -7
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-journey/filter-journey.stories.js +5 -5
- package/lib/commonjs/stories/filter-journey/filter-journey.stories.js.map +1 -1
- package/lib/commonjs/stories/header-profile/header-profile.stories.js +2 -2
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/commonjs/stories/history-details/history-details.stories.js +37 -0
- package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -0
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js +14 -4
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/commonjs/stories/input/input.stories.js +10 -9
- package/lib/commonjs/stories/input/input.stories.js.map +1 -1
- package/lib/commonjs/stories/loading-details/loading-details.stories.js +2 -2
- package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -1
- package/lib/commonjs/stories/loading-progress/loading-progress.stories.js +2 -2
- package/lib/commonjs/stories/loading-progress/loading-progress.stories.js.map +1 -1
- package/lib/commonjs/stories/menu-item/menu-item.stories.js +3 -3
- package/lib/commonjs/stories/menu-item/menu-item.stories.js.map +1 -1
- package/lib/commonjs/stories/no-data/no-data.stories.js +2 -2
- package/lib/commonjs/stories/no-data/no-data.stories.js.map +1 -1
- package/lib/commonjs/stories/notification-loading/notification-loading.stories.js +18 -4
- package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js +68 -0
- package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -0
- package/lib/commonjs/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js +2 -2
- package/lib/commonjs/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js.map +1 -1
- package/lib/commonjs/stories/select-option/select-option.stories.js +3 -3
- package/lib/commonjs/stories/select-option/select-option.stories.js.map +1 -1
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js +24 -18
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/commonjs/stories/typography/typography.stories.js +3 -3
- package/lib/commonjs/stories/typography/typography.stories.js.map +1 -1
- package/lib/commonjs/stories/user-profile/user-profile.stories.js +2 -2
- package/lib/commonjs/stories/user-profile/user-profile.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/commonjs/styles/global/styles.js +49 -46
- package/lib/commonjs/styles/global/styles.js.map +1 -1
- package/lib/commonjs/styles/global/theme-provider.js +4 -6
- package/lib/commonjs/styles/global/theme-provider.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +6 -4
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/format-data/index.js +30 -9
- package/lib/commonjs/utils/format-data/index.js.map +1 -1
- package/lib/commonjs/utils/mutiply/index.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +13 -4
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/module/common/constants/index.js +0 -2
- package/lib/module/common/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/agent/index.js +37 -0
- package/lib/module/common/icons-svg/agent/index.js.map +1 -0
- package/lib/module/common/icons-svg/arrow-drop-down/index.js +11 -14
- package/lib/module/common/icons-svg/arrow-drop-down/index.js.map +1 -1
- package/lib/module/common/icons-svg/arrow-left/index.js +12 -15
- package/lib/module/common/icons-svg/arrow-left/index.js.map +1 -1
- package/lib/module/common/icons-svg/bed/index.js +39 -0
- package/lib/module/common/icons-svg/bed/index.js.map +1 -0
- package/lib/module/common/icons-svg/bell/index.js +9 -12
- package/lib/module/common/icons-svg/bell/index.js.map +1 -1
- package/lib/module/common/icons-svg/bluetooth/index.js +18 -26
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/module/common/icons-svg/bluetooth-connected/index.js +21 -29
- package/lib/module/common/icons-svg/bluetooth-connected/index.js.map +1 -1
- package/lib/module/common/icons-svg/calendar/index.js +21 -28
- package/lib/module/common/icons-svg/calendar/index.js.map +1 -1
- package/lib/module/common/icons-svg/call-bell/index.js +9 -12
- package/lib/module/common/icons-svg/call-bell/index.js.map +1 -1
- package/lib/module/common/icons-svg/camera-plus/index.js +20 -27
- package/lib/module/common/icons-svg/camera-plus/index.js.map +1 -1
- package/lib/module/common/icons-svg/car/index.js +29 -0
- package/lib/module/common/icons-svg/car/index.js.map +1 -0
- package/lib/module/common/icons-svg/chart-bar/index.js +9 -12
- package/lib/module/common/icons-svg/chart-bar/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-box/index.js +12 -15
- package/lib/module/common/icons-svg/check-box/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-box-fill/index.js +9 -12
- package/lib/module/common/icons-svg/check-box-fill/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-box-outline/index.js +9 -12
- package/lib/module/common/icons-svg/check-box-outline/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-circle/index.js +19 -22
- package/lib/module/common/icons-svg/check-circle/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-outline/index.js +43 -0
- package/lib/module/common/icons-svg/check-outline/index.js.map +1 -0
- package/lib/module/common/icons-svg/closed/index.js +19 -26
- package/lib/module/common/icons-svg/closed/index.js.map +1 -1
- package/lib/module/common/icons-svg/coffee/index.js +42 -0
- package/lib/module/common/icons-svg/coffee/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +13 -7
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/credit-card/index.js +11 -14
- package/lib/module/common/icons-svg/credit-card/index.js.map +1 -1
- package/lib/module/common/icons-svg/currency/index.js +19 -26
- package/lib/module/common/icons-svg/currency/index.js.map +1 -1
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js +9 -12
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js.map +1 -1
- package/lib/module/common/icons-svg/ellipse/index.js +13 -16
- package/lib/module/common/icons-svg/ellipse/index.js.map +1 -1
- package/lib/module/common/icons-svg/exclamation-circle/index.js +16 -23
- package/lib/module/common/icons-svg/exclamation-circle/index.js.map +1 -1
- package/lib/module/common/icons-svg/eye/index.js +13 -17
- package/lib/module/common/icons-svg/eye/index.js.map +1 -1
- package/lib/module/common/icons-svg/eye-slash/index.js +11 -15
- package/lib/module/common/icons-svg/eye-slash/index.js.map +1 -1
- package/lib/module/common/icons-svg/file-text/index.js +18 -21
- package/lib/module/common/icons-svg/file-text/index.js.map +1 -1
- package/lib/module/common/icons-svg/files/index.js +9 -12
- package/lib/module/common/icons-svg/files/index.js.map +1 -1
- package/lib/module/common/icons-svg/gas-pump/index.js +20 -27
- package/lib/module/common/icons-svg/gas-pump/index.js.map +1 -1
- package/lib/module/common/icons-svg/gauge/index.js +19 -26
- package/lib/module/common/icons-svg/gauge/index.js.map +1 -1
- package/lib/module/common/icons-svg/gear/index.js +21 -28
- package/lib/module/common/icons-svg/gear/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +150 -96
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/interface.d.js +0 -2
- package/lib/module/common/icons-svg/interface.d.js.map +1 -1
- package/lib/module/common/icons-svg/lifebuoy/index.js +9 -12
- package/lib/module/common/icons-svg/lifebuoy/index.js.map +1 -1
- package/lib/module/common/icons-svg/list/index.js +33 -40
- package/lib/module/common/icons-svg/list/index.js.map +1 -1
- package/lib/module/common/icons-svg/moon-stars/index.js +9 -12
- package/lib/module/common/icons-svg/moon-stars/index.js.map +1 -1
- package/lib/module/common/icons-svg/note-pincel/index.js +22 -29
- package/lib/module/common/icons-svg/note-pincel/index.js.map +1 -1
- package/lib/module/common/icons-svg/package/index.js +9 -12
- package/lib/module/common/icons-svg/package/index.js.map +1 -1
- package/lib/module/common/icons-svg/package-check/index.js +23 -26
- package/lib/module/common/icons-svg/package-check/index.js.map +1 -1
- package/lib/module/common/icons-svg/pencil/index.js +32 -0
- package/lib/module/common/icons-svg/pencil/index.js.map +1 -0
- package/lib/module/common/icons-svg/plus/index.js +21 -28
- package/lib/module/common/icons-svg/plus/index.js.map +1 -1
- package/lib/module/common/icons-svg/recused/index.js +17 -20
- package/lib/module/common/icons-svg/recused/index.js.map +1 -1
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +39 -0
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -0
- package/lib/module/common/icons-svg/shopping-cart/index.js +18 -21
- package/lib/module/common/icons-svg/shopping-cart/index.js.map +1 -1
- package/lib/module/common/icons-svg/steering-wheel/index.js +28 -35
- package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -1
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js +16 -23
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js.map +1 -1
- package/lib/module/common/icons-svg/timer/index.js +19 -26
- package/lib/module/common/icons-svg/timer/index.js.map +1 -1
- package/lib/module/common/icons-svg/trophy/index.js +9 -12
- package/lib/module/common/icons-svg/trophy/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck/index.js +18 -21
- package/lib/module/common/icons-svg/truck/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck-activity/index.js +29 -0
- package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -0
- package/lib/module/common/icons-svg/truck-trailer/index.js +16 -23
- package/lib/module/common/icons-svg/truck-trailer/index.js.map +1 -1
- package/lib/module/common/icons-svg/wifi-high/index.js +23 -30
- package/lib/module/common/icons-svg/wifi-high/index.js.map +1 -1
- package/lib/module/common/icons-svg/wifi-x/index.js +29 -36
- package/lib/module/common/icons-svg/wifi-x/index.js.map +1 -1
- package/lib/module/common/icons-svg/x-circle/index.js +19 -26
- package/lib/module/common/icons-svg/x-circle/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +113 -0
- package/lib/module/components/activities-daily/index.js.map +1 -0
- package/lib/module/components/activities-daily/interface.d.js +2 -0
- package/lib/module/components/activities-daily/interface.d.js.map +1 -0
- package/lib/module/components/activities-progress/index.js +158 -0
- package/lib/module/components/activities-progress/index.js.map +1 -0
- package/lib/module/components/activities-progress/interface.d.js +2 -0
- package/lib/module/components/activities-progress/interface.d.js.map +1 -0
- package/lib/module/components/avatar-profile/index.js +95 -0
- package/lib/module/components/avatar-profile/index.js.map +1 -0
- package/lib/module/components/avatar-profile/interface.d.js +2 -0
- package/lib/module/components/avatar-profile/interface.d.js.map +1 -0
- package/lib/module/components/box/index.js +4 -8
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/box/interface.d.js +0 -2
- package/lib/module/components/box/interface.d.js.map +1 -1
- package/lib/module/components/box/styles.js +1 -3
- package/lib/module/components/box/styles.js.map +1 -1
- package/lib/module/components/button/index.js +11 -16
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/button/interface.d.js +0 -2
- package/lib/module/components/button/interface.d.js.map +1 -1
- package/lib/module/components/button/styles.js +19 -18
- package/lib/module/components/button/styles.js.map +1 -1
- package/lib/module/components/capture-photo/index.js +45 -52
- package/lib/module/components/capture-photo/index.js.map +1 -1
- package/lib/module/components/capture-photo/interface.d.js +0 -2
- package/lib/module/components/capture-photo/interface.d.js.map +1 -1
- package/lib/module/components/capture-photo/styles.js +1 -3
- package/lib/module/components/capture-photo/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +119 -128
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-history/interface.d.js +0 -2
- package/lib/module/components/card-history/interface.d.js.map +1 -1
- package/lib/module/components/card-hours/index.js +52 -57
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-hours/interface.d.js +0 -2
- package/lib/module/components/card-hours/interface.d.js.map +1 -1
- package/lib/module/components/card-loading/index.js +228 -230
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-loading/interface.d.js +0 -2
- package/lib/module/components/card-loading/interface.d.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/index.js +75 -81
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/interface.js +0 -2
- package/lib/module/components/card-scheduled-journey/interface.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/styles.js +1 -3
- package/lib/module/components/card-scheduled-journey/styles.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +157 -167
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/card-work-session/interface.d.js +0 -2
- package/lib/module/components/card-work-session/interface.d.js.map +1 -1
- package/lib/module/components/check-box/index.js +75 -104
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/check-box/interface.d.js +0 -2
- package/lib/module/components/check-box/interface.d.js.map +1 -1
- package/lib/module/components/coil/index.js +85 -93
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/coil/interface.d.js +0 -2
- package/lib/module/components/coil/interface.d.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +58 -53
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/filter-date-selector/interface.d.js +0 -2
- package/lib/module/components/filter-date-selector/interface.d.js.map +1 -1
- package/lib/module/components/filter-journey/index.js +4 -7
- package/lib/module/components/filter-journey/index.js.map +1 -1
- package/lib/module/components/filter-journey/interface.d.js +0 -2
- package/lib/module/components/filter-journey/interface.d.js.map +1 -1
- package/lib/module/components/header-profile/index.js +82 -92
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/components/header-profile/interface.d.js +0 -2
- package/lib/module/components/header-profile/interface.d.js.map +1 -1
- package/lib/module/components/history-details/index.js +96 -0
- package/lib/module/components/history-details/index.js.map +1 -0
- package/lib/module/components/history-details/interface.d.js +2 -0
- package/lib/module/components/history-details/interface.d.js.map +1 -0
- package/lib/module/components/image-capture-with-remove/index.js +59 -62
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/interface.d.js +0 -2
- package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/module/components/input/index.js +97 -112
- package/lib/module/components/input/index.js.map +1 -1
- package/lib/module/components/input/interface.d.js +0 -2
- package/lib/module/components/input/interface.d.js.map +1 -1
- package/lib/module/components/input/styles.js +1 -3
- package/lib/module/components/input/styles.js.map +1 -1
- package/lib/module/components/loading-details/index.js +117 -124
- package/lib/module/components/loading-details/index.js.map +1 -1
- package/lib/module/components/loading-details/interface.d.js +0 -2
- package/lib/module/components/loading-details/interface.d.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +68 -76
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/loading-progress/interface.d.js +0 -2
- package/lib/module/components/loading-progress/interface.d.js.map +1 -1
- package/lib/module/components/menu-item/index.js +40 -45
- package/lib/module/components/menu-item/index.js.map +1 -1
- package/lib/module/components/menu-item/interface.d.js +0 -2
- package/lib/module/components/menu-item/interface.d.js.map +1 -1
- package/lib/module/components/menu-item/styles.js +1 -1
- package/lib/module/components/menu-item/styles.js.map +1 -1
- package/lib/module/components/no-data/index.js +16 -19
- package/lib/module/components/no-data/index.js.map +1 -1
- package/lib/module/components/no-data/interface.d.js +0 -2
- package/lib/module/components/no-data/interface.d.js.map +1 -1
- package/lib/module/components/notification-loading/index.js +114 -125
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/notification-loading/interface.d.js +0 -2
- package/lib/module/components/notification-loading/interface.d.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js +69 -0
- package/lib/module/components/profile-menu-option/index.js.map +1 -0
- package/lib/module/components/profile-menu-option/interface.d.js +2 -0
- package/lib/module/components/profile-menu-option/interface.d.js.map +1 -0
- package/lib/module/components/scheduled-journey-indicators/index.js +47 -54
- package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/module/components/scheduled-journey-indicators/interface.d.js +0 -2
- package/lib/module/components/scheduled-journey-indicators/interface.d.js.map +1 -1
- package/lib/module/components/selects/select-option/index.js +52 -65
- package/lib/module/components/selects/select-option/index.js.map +1 -1
- package/lib/module/components/selects/select-option/interface.d.js +0 -2
- package/lib/module/components/selects/select-option/interface.d.js.map +1 -1
- package/lib/module/components/selects/select-option/styles.js +62 -61
- package/lib/module/components/selects/select-option/styles.js.map +1 -1
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js +1 -3
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +99 -113
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/step-indicator/interface.d.js +0 -2
- package/lib/module/components/step-indicator/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +53 -52
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/components/typography/index.js +4 -8
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/typography/interface.d.js +0 -2
- package/lib/module/components/typography/interface.d.js.map +1 -1
- package/lib/module/components/typography/styles.js +24 -23
- package/lib/module/components/typography/styles.js.map +1 -1
- package/lib/module/components/user-profile/index.js +159 -177
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/components/user-profile/interface.d.js +0 -2
- package/lib/module/components/user-profile/interface.d.js.map +1 -1
- package/lib/module/index.js +35 -32
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/activities-daily/activities-daily.stories.js +34 -0
- package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -0
- package/lib/module/stories/activities-progress/activities-progress.stories.js +53 -0
- package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -0
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js +26 -0
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -0
- package/lib/module/stories/box/box.stories.js +6 -9
- package/lib/module/stories/box/box.stories.js.map +1 -1
- package/lib/module/stories/button/button.stories.js +3 -6
- package/lib/module/stories/button/button.stories.js.map +1 -1
- package/lib/module/stories/capture-photo/capture-photo.stories.js +2 -4
- package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -1
- package/lib/module/stories/card-history/card-history.stories.js +2 -4
- package/lib/module/stories/card-history/card-history.stories.js.map +1 -1
- package/lib/module/stories/card-hours/card-hours.stories.js +3 -5
- package/lib/module/stories/card-hours/card-hours.stories.js.map +1 -1
- package/lib/module/stories/card-loading/card-loading.stories.js +4 -6
- package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js +2 -4
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -1
- package/lib/module/stories/card-work-session/card-work-session.stories.js +1 -3
- package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -1
- package/lib/module/stories/check-box/check-box.stories.js +2 -6
- package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js +26 -7
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js +26 -6
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/module/stories/filter-journey/filter-journey.stories.js +4 -6
- package/lib/module/stories/filter-journey/filter-journey.stories.js.map +1 -1
- package/lib/module/stories/header-profile/header-profile.stories.js +1 -3
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/module/stories/history-details/history-details.stories.js +31 -0
- package/lib/module/stories/history-details/history-details.stories.js.map +1 -0
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js +12 -4
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/module/stories/input/input.stories.js +9 -10
- package/lib/module/stories/input/input.stories.js.map +1 -1
- package/lib/module/stories/loading-details/loading-details.stories.js +1 -3
- package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -1
- package/lib/module/stories/loading-progress/loading-progress.stories.js +1 -3
- package/lib/module/stories/loading-progress/loading-progress.stories.js.map +1 -1
- package/lib/module/stories/menu-item/menu-item.stories.js +2 -4
- package/lib/module/stories/menu-item/menu-item.stories.js.map +1 -1
- package/lib/module/stories/no-data/no-data.stories.js +1 -3
- package/lib/module/stories/no-data/no-data.stories.js.map +1 -1
- package/lib/module/stories/notification-loading/notification-loading.stories.js +16 -4
- package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js +62 -0
- package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -0
- package/lib/module/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js +1 -3
- package/lib/module/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js.map +1 -1
- package/lib/module/stories/select-option/select-option.stories.js +2 -4
- package/lib/module/stories/select-option/select-option.stories.js.map +1 -1
- package/lib/module/stories/step-indicator/step-indicator.stories.js +23 -19
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/module/stories/typography/typography.stories.js +2 -4
- package/lib/module/stories/typography/typography.stories.js.map +1 -1
- package/lib/module/stories/user-profile/user-profile.stories.js +1 -3
- package/lib/module/stories/user-profile/user-profile.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js +0 -2
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/module/styles/global/styles.js +49 -48
- package/lib/module/styles/global/styles.js.map +1 -1
- package/lib/module/styles/global/theme-provider.js +4 -8
- package/lib/module/styles/global/theme-provider.js.map +1 -1
- package/lib/module/styles/theme/theme.js +6 -6
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/format-data/index.js +30 -10
- package/lib/module/utils/format-data/index.js.map +1 -1
- package/lib/module/utils/mutiply/index.js +0 -2
- package/lib/module/utils/mutiply/index.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +13 -7
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/typescript/example/src/App.d.ts +1 -0
- package/lib/typescript/{module/src → src}/common/constants/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/agent/index.d.ts +7 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/arrow-drop-down/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/arrow-left/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/bed/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/bell/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/bluetooth/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/bluetooth-connected/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/calendar/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/call-bell/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/camera-plus/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/car/index.d.ts +10 -0
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/chart-bar/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/check-box/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/check-box-fill/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/check-box-outline/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/check-circle/index.d.ts +0 -1
- package/lib/typescript/{module/src/common/icons-svg/check-box → src/common/icons-svg/check-outline}/index.d.ts +2 -3
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/closed/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/coffee/index.d.ts +10 -0
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/constants/index.d.ts +8 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/credit-card/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/currency/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/currency-circle-dollar/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/ellipse/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/exclamation-circle/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/eye/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/eye-slash/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/file-text/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/files/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/gas-pump/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/gauge/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/gear/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/lifebuoy/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/list/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/moon-stars/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/note-pincel/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/package/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/package-check/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/pencil/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/plus/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/recused/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/refresh-ccw-dot/index.d.ts +7 -0
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/shopping-cart/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/steering-wheel/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/steering-wheel-fill/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/timer/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/trophy/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/truck/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/truck-activity/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/truck-trailer/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/wifi-high/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/wifi-x/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/x-circle/index.d.ts +0 -1
- package/lib/typescript/src/components/activities-daily/index.d.ts +10 -0
- package/lib/typescript/src/components/activities-progress/index.d.ts +10 -0
- package/lib/typescript/src/components/avatar-profile/index.d.ts +4 -0
- package/lib/typescript/{module/src → src}/components/box/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/box/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/button/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/button/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/capture-photo/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/capture-photo/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-history/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/card-hours/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-loading/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-scheduled-journey/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-scheduled-journey/interface.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/card-scheduled-journey/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/card-work-session/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/check-box/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/coil/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/filter-date-selector/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/filter-journey/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/header-profile/index.d.ts +0 -1
- package/lib/typescript/src/components/history-details/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/components/image-capture-with-remove/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/input/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/input/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/loading-details/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/loading-progress/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/menu-item/index.d.ts +0 -1
- package/lib/typescript/src/components/menu-item/styles.d.ts +0 -0
- package/lib/typescript/{commonjs/src → src}/components/no-data/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/notification-loading/index.d.ts +0 -1
- package/lib/typescript/src/components/profile-menu-option/index.d.ts +4 -0
- package/lib/typescript/{commonjs/src → src}/components/scheduled-journey-indicators/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/selects/select-option/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/selects/select-option/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/step-indicator/helpers/get-icon-by-status.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/step-indicator/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/step-indicator/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/typography/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/typography/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/user-profile/index.d.ts +0 -2
- package/lib/typescript/{commonjs/src → src}/index.d.ts +6 -2
- package/lib/typescript/src/stories/activities-daily/activities-daily.stories.d.ts +6 -0
- package/lib/typescript/src/stories/activities-progress/activities-progress.stories.d.ts +8 -0
- package/lib/typescript/src/stories/avatar-profile/avatar-profile.stories.d.ts +7 -0
- package/lib/typescript/{commonjs/src → src}/stories/box/box.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/button/button.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/capture-photo/capture-photo.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/card-history/card-history.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/card-hours/card-hours.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/card-loading/card-loading.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/card-work-session/card-work-session.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/check-box/check-box.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/coil/coil.stories.d.ts +2 -1
- package/lib/typescript/{module/src → src}/stories/filter-date-selector/filter-date-selector.stories.d.ts +1 -1
- package/lib/typescript/{module/src → src}/stories/filter-journey/filter-journey.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/header-profile/header-profile.stories.d.ts +0 -1
- package/lib/typescript/src/stories/history-details/history-details.stories.d.ts +6 -0
- package/lib/typescript/{commonjs/src → src}/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +1 -1
- package/lib/typescript/{commonjs/src → src}/stories/input/input.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/loading-details/loading-details.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/loading-progress/loading-progress.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/menu-item/menu-item.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/no-data/no-data.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/notification-loading/notification-loading.stories.d.ts +1 -1
- package/lib/typescript/src/stories/profile-menu-option/profile-menu-option.stories.d.ts +8 -0
- package/lib/typescript/{commonjs/src → src}/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/select-option/select-option.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/step-indicator/step-indicator.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/typography/typography.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/user-profile/user-profile.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/styles/global/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/styles/global/theme-provider.d.ts +2 -1
- package/lib/typescript/{module/src → src}/styles/theme/theme.d.ts +2 -1
- package/lib/typescript/{commonjs/src → src}/utils/format-data/index.d.ts +13 -3
- package/lib/typescript/{commonjs/src → src}/utils/mutiply/index.d.ts +0 -1
- package/lib/typescript/src/utils/status-color/return-color.d.ts +4 -0
- package/package.json +15 -2
- package/src/common/icons-svg/agent/index.tsx +40 -0
- package/src/common/icons-svg/bed/index.tsx +41 -0
- package/src/common/icons-svg/car/index.tsx +29 -0
- package/src/common/icons-svg/check-outline/index.tsx +42 -0
- package/src/common/icons-svg/coffee/index.tsx +43 -0
- package/src/common/icons-svg/constants/index.ts +63 -55
- package/src/common/icons-svg/index.tsx +255 -217
- package/src/common/icons-svg/pencil/index.tsx +32 -0
- package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -0
- package/src/common/icons-svg/truck-activity/index.tsx +29 -0
- package/src/components/activities-daily/index.tsx +116 -0
- package/src/components/activities-daily/interface.d.ts +22 -0
- package/src/components/activities-progress/index.tsx +162 -0
- package/src/components/activities-progress/interface.d.ts +41 -0
- package/src/components/avatar-profile/index.tsx +95 -0
- package/src/components/avatar-profile/interface.d.ts +39 -0
- package/src/components/card-history/index.tsx +149 -150
- package/src/components/card-loading/index.tsx +278 -263
- package/src/components/card-work-session/index.tsx +187 -185
- package/src/components/check-box/index.tsx +94 -125
- package/src/components/check-box/interface.d.ts +31 -27
- package/src/components/coil/index.tsx +103 -103
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/filter-date-selector/index.tsx +101 -89
- package/src/components/history-details/index.tsx +100 -0
- package/src/components/history-details/interface.d.ts +18 -0
- package/src/components/image-capture-with-remove/index.tsx +89 -83
- package/src/components/image-capture-with-remove/interface.d.ts +25 -22
- package/src/components/notification-loading/index.tsx +155 -144
- package/src/components/notification-loading/interface.d.ts +35 -31
- package/src/components/profile-menu-option/index.tsx +65 -0
- package/src/components/profile-menu-option/interface.d.ts +42 -0
- package/src/components/step-indicator/index.tsx +164 -164
- package/src/components/step-indicator/interface.d.ts +34 -34
- package/src/components/user-profile/index.tsx +204 -216
- package/src/index.ts +42 -37
- package/src/stories/activities-daily/activities-daily.stories.tsx +40 -0
- package/src/stories/activities-progress/activities-progress.stories.tsx +61 -0
- package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -0
- package/src/stories/card-loading/card-loading.stories.tsx +85 -85
- package/src/stories/check-box/check-box.stories.tsx +81 -83
- package/src/stories/coil/coil.stories.tsx +98 -75
- package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -93
- package/src/stories/history-details/history-details.stories.tsx +36 -0
- package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -47
- package/src/stories/notification-loading/notification-loading.stories.tsx +88 -73
- package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -0
- package/src/stories/step-indicator/step-indicator.stories.tsx +124 -116
- package/src/styles/theme/theme.ts +170 -168
- package/src/utils/format-data/index.ts +66 -40
- package/src/utils/status-color/return-color.ts +23 -15
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +0 -5
- package/lib/typescript/commonjs/src/common/constants/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +0 -8
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-box/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/box/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +0 -24
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-history/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/interface.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +0 -12
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/check-box/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/coil/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/components/coil/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts +0 -15
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts +0 -15
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/input/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/input/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/menu-item/styles.d.ts +0 -1
- package/lib/typescript/commonjs/src/components/menu-item/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/no-data/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +0 -64
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +0 -30
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +0 -10
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts +0 -9
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +0 -11
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +0 -16
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +0 -47
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +0 -150
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +0 -152
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts +0 -4
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts.map +0 -1
- package/lib/typescript/module/package.json +0 -1
- package/lib/typescript/module/src/common/constants/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-box/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +0 -53
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts +0 -5
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +0 -8
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +0 -8
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +0 -12
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/box/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/box/styles.d.ts +0 -13
- package/lib/typescript/module/src/components/box/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +0 -14
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +0 -12
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-history/index.d.ts +0 -15
- package/lib/typescript/module/src/components/card-history/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-loading/index.d.ts +0 -15
- package/lib/typescript/module/src/components/card-loading/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +0 -14
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts +0 -33
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/check-box/index.d.ts +0 -14
- package/lib/typescript/module/src/components/check-box/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/coil/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/filter-date-selector/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/filter-journey/index.d.ts +0 -11
- package/lib/typescript/module/src/components/filter-journey/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/header-profile/index.d.ts +0 -14
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/input/index.d.ts +0 -15
- package/lib/typescript/module/src/components/input/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/input/styles.d.ts +0 -12
- package/lib/typescript/module/src/components/input/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/loading-details/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/loading-progress/index.d.ts +0 -15
- package/lib/typescript/module/src/components/loading-progress/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/menu-item/index.d.ts +0 -15
- package/lib/typescript/module/src/components/menu-item/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/menu-item/styles.d.ts +0 -1
- package/lib/typescript/module/src/components/menu-item/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/no-data/index.d.ts +0 -8
- package/lib/typescript/module/src/components/no-data/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/notification-loading/index.d.ts +0 -11
- package/lib/typescript/module/src/components/notification-loading/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts +0 -11
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +0 -14
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +0 -15
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +0 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +0 -14
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +0 -57
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +0 -14
- package/lib/typescript/module/src/components/typography/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts +0 -15
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -32
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +0 -9
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +0 -11
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts +0 -10
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts +0 -10
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +0 -11
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/input/input.stories.d.ts +0 -15
- package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts +0 -7
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts +0 -7
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts +0 -9
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts +0 -9
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +0 -10
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +0 -7
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +0 -1
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/format-data/index.d.ts +0 -18
- package/lib/typescript/module/src/utils/format-data/index.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/mutiply/index.d.ts +0 -2
- package/lib/typescript/module/src/utils/mutiply/index.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts +0 -4
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts.map +0 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TouchableOpacity, Image } from "react-native";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import { Box } from "../box";
|
|
6
|
+
import { Typography } from "../typography";
|
|
7
|
+
|
|
8
|
+
// styles
|
|
9
|
+
import { theme } from "../../styles/theme/theme";
|
|
10
|
+
|
|
11
|
+
// icons
|
|
12
|
+
import { Icons } from "../../common/icons-svg";
|
|
13
|
+
|
|
14
|
+
// types
|
|
15
|
+
|
|
16
|
+
const AvatarProfile = ({
|
|
17
|
+
avatar,
|
|
18
|
+
isEdit = false,
|
|
19
|
+
handleTakePicker,
|
|
20
|
+
name,
|
|
21
|
+
email,
|
|
22
|
+
testID
|
|
23
|
+
}) => {
|
|
24
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
25
|
+
flexStyle: {
|
|
26
|
+
justifyContent: "center",
|
|
27
|
+
alignItems: "center"
|
|
28
|
+
}
|
|
29
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
30
|
+
backgroundColor: theme.colors.neutral[25],
|
|
31
|
+
width: 96,
|
|
32
|
+
height: 96,
|
|
33
|
+
borderStyled: {
|
|
34
|
+
borderRadius: 50
|
|
35
|
+
},
|
|
36
|
+
flexStyle: {
|
|
37
|
+
justifyContent: "center",
|
|
38
|
+
alignItems: "center"
|
|
39
|
+
},
|
|
40
|
+
testID: testID
|
|
41
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
42
|
+
source: {
|
|
43
|
+
uri: avatar !== null && avatar !== void 0 ? avatar : ""
|
|
44
|
+
},
|
|
45
|
+
alt: avatar !== null && avatar !== void 0 ? avatar : "foto de perfil",
|
|
46
|
+
style: {
|
|
47
|
+
width: 90,
|
|
48
|
+
height: 90,
|
|
49
|
+
borderRadius: 45,
|
|
50
|
+
borderWidth: theme.borderWidths.thin_medium,
|
|
51
|
+
borderColor: theme.colors.black[25]
|
|
52
|
+
}
|
|
53
|
+
}), isEdit && /*#__PURE__*/React.createElement(Box, {
|
|
54
|
+
width: 20,
|
|
55
|
+
height: 20,
|
|
56
|
+
backgroundColor: theme.colors.blue[350],
|
|
57
|
+
borderStyled: {
|
|
58
|
+
borderRadius: 10,
|
|
59
|
+
borderWidth: theme.borderWidths.thin_medium,
|
|
60
|
+
borderColor: theme.colors.black[25]
|
|
61
|
+
},
|
|
62
|
+
flexStyle: {
|
|
63
|
+
justifyContent: "center",
|
|
64
|
+
alignItems: "center"
|
|
65
|
+
},
|
|
66
|
+
style: {
|
|
67
|
+
position: "absolute",
|
|
68
|
+
bottom: 5,
|
|
69
|
+
right: 5
|
|
70
|
+
}
|
|
71
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
72
|
+
activeOpacity: 0.7,
|
|
73
|
+
onPress: handleTakePicker,
|
|
74
|
+
testID: "avatar-profile"
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
76
|
+
size: 12,
|
|
77
|
+
icon: "PENCIL"
|
|
78
|
+
})))), /*#__PURE__*/React.createElement(Typography, {
|
|
79
|
+
text: name,
|
|
80
|
+
size: theme.fontSizes.xl,
|
|
81
|
+
fontFamily: theme.fonts.inter_bold_700,
|
|
82
|
+
fontWeight: "700",
|
|
83
|
+
lineHeight: theme.fontSizes["2xl"],
|
|
84
|
+
color: theme.colors.black[100]
|
|
85
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
86
|
+
text: email,
|
|
87
|
+
size: theme.fontSizes.xs,
|
|
88
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
89
|
+
fontWeight: "400",
|
|
90
|
+
lineHeight: theme.fontSizes.sm,
|
|
91
|
+
color: theme.colors.gray[900]
|
|
92
|
+
}));
|
|
93
|
+
};
|
|
94
|
+
export { AvatarProfile };
|
|
95
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","TouchableOpacity","Image","Box","Typography","theme","Icons","AvatarProfile","avatar","isEdit","handleTakePicker","name","email","testID","createElement","flexStyle","justifyContent","alignItems","backgroundColor","colors","neutral","width","height","borderStyled","borderRadius","source","uri","alt","style","borderWidth","borderWidths","thin_medium","borderColor","black","blue","position","bottom","right","activeOpacity","onPress","size","icon","text","fontSizes","xl","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","color","xs","inter_regular_400","sm","gray"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\r\nimport { TouchableOpacity, Image } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// types\r\nimport { IAvatarProfile } from \"./interface\";\r\n\r\nconst AvatarProfile: React.FC<IAvatarProfile> = ({\r\n avatar,\r\n isEdit = false,\r\n handleTakePicker,\r\n name,\r\n email,\r\n testID,\r\n}) => {\r\n return (\r\n <Box flexStyle={{ justifyContent: \"center\", alignItems: \"center\" }}>\r\n <Box\r\n backgroundColor={theme.colors.neutral[25]}\r\n width={96}\r\n height={96}\r\n borderStyled={{ borderRadius: 50 }}\r\n flexStyle={{ justifyContent: \"center\", alignItems: \"center\" }}\r\n testID={testID}\r\n >\r\n <Image\r\n source={{ uri: avatar ?? \"\" }}\r\n alt={avatar ?? \"foto de perfil\"}\r\n style={{\r\n width: 90,\r\n height: 90,\r\n borderRadius: 45,\r\n borderWidth: theme.borderWidths.thin_medium,\r\n borderColor: theme.colors.black[25],\r\n }}\r\n />\r\n {isEdit && (\r\n <Box\r\n width={20}\r\n height={20}\r\n backgroundColor={theme.colors.blue[350]}\r\n borderStyled={{\r\n borderRadius: 10,\r\n borderWidth: theme.borderWidths.thin_medium,\r\n borderColor: theme.colors.black[25],\r\n }}\r\n flexStyle={{ justifyContent: \"center\", alignItems: \"center\" }}\r\n style={{\r\n position: \"absolute\",\r\n bottom: 5,\r\n right: 5,\r\n }}\r\n >\r\n <TouchableOpacity\r\n activeOpacity={0.7}\r\n onPress={handleTakePicker}\r\n testID=\"avatar-profile\"\r\n >\r\n <Icons size={12} icon={\"PENCIL\"} />\r\n </TouchableOpacity>\r\n </Box>\r\n )}\r\n </Box>\r\n\r\n {/* Informações do usuário */}\r\n <Typography\r\n text={name}\r\n size={theme.fontSizes.xl}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes[\"2xl\"]}\r\n color={theme.colors.black[100]}\r\n />\r\n <Typography\r\n text={email}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight={\"400\"}\r\n lineHeight={theme.fontSizes.sm}\r\n color={theme.colors.gray[900]}\r\n />\r\n </Box>\r\n );\r\n};\r\n\r\nexport { AvatarProfile };\r\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { ViewProps } from \"react-native\";\r\n\r\n// typing\r\nimport { IGlobalCss } from \"../../styles/global/interface\";\r\n\r\ninterface IAvatarProfile extends ViewProps, IGlobalCss {\r\n /**\r\n * Função que tira uma foto e editar.\r\n */\r\n handleTakePicker?: () => void;\r\n\r\n /**\r\n * foto do usuário.\r\n */\r\n avatar: string;\r\n\r\n /**\r\n * nome do usuário.\r\n */\r\n name: string;\r\n\r\n /**\r\n * email do usuário.\r\n */\r\n email: string;\r\n\r\n /**\r\n * A propriedade para editar a foto do usuário.\r\n */\r\n isEdit: boolean;\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport type { IAvatarProfile };\r\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -9,12 +7,11 @@ import { View } from "react-native";
|
|
|
9
7
|
// typings
|
|
10
8
|
|
|
11
9
|
// styles
|
|
12
|
-
import { styles } from "./styles
|
|
10
|
+
import { styles } from "./styles";
|
|
13
11
|
|
|
14
12
|
/**
|
|
15
13
|
* Componente Box para envolver outros componentes de forma flexível.
|
|
16
14
|
*/
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
15
|
export const Box = ({
|
|
19
16
|
children,
|
|
20
17
|
width,
|
|
@@ -40,10 +37,9 @@ export const Box = ({
|
|
|
40
37
|
opacity,
|
|
41
38
|
style
|
|
42
39
|
};
|
|
43
|
-
return /*#__PURE__*/
|
|
40
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
44
41
|
testID: testID,
|
|
45
|
-
style: [styles(styleProps).boxStyle, style]
|
|
46
|
-
|
|
47
|
-
});
|
|
42
|
+
style: [styles(styleProps).boxStyle, style]
|
|
43
|
+
}, children);
|
|
48
44
|
};
|
|
49
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","styles","
|
|
1
|
+
{"version":3,"names":["React","View","styles","Box","children","width","height","backgroundColor","borderStyled","flexStyle","paddingStyle","marginStyle","opacity","testID","style","styleProps","createElement","boxStyle"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { View } from \"react-native\";\n\n// typings\nimport { IBoxProps } from \"./interface\";\n\n// styles\nimport { styles } from \"./styles\";\n\n/**\n * Componente Box para envolver outros componentes de forma flexível.\n */\nexport const Box: React.FC<IBoxProps> = ({\n children,\n width,\n height,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n opacity = 1,\n testID = \"box\",\n style,\n}) => {\n // Criando o objeto de estilos dinamicamente\n const styleProps: Partial<IBoxProps> = {\n width,\n height,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n opacity,\n style,\n };\n\n return (\n <View testID={testID} style={[styles(styleProps).boxStyle, style]}>\n {children}\n </View>\n );\n};\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;;AAEnC;;AAGA;AACA,SAASC,MAAM,QAAQ,UAAU;;AAEjC;AACA;AACA;AACA,OAAO,MAAMC,GAAwB,GAAGA,CAAC;EACvCC,QAAQ;EACRC,KAAK;EACLC,MAAM;EACNC,eAAe;EACfC,YAAY;EACZC,SAAS;EACTC,YAAY;EACZC,WAAW;EACXC,OAAO,GAAG,CAAC;EACXC,MAAM,GAAG,KAAK;EACdC;AACF,CAAC,KAAK;EACJ;EACA,MAAMC,UAA8B,GAAG;IACrCV,KAAK;IACLC,MAAM;IACNC,eAAe;IACfC,YAAY;IACZC,SAAS;IACTC,YAAY;IACZC,WAAW;IACXC,OAAO;IACPE;EACF,CAAC;EAED,oBACEd,KAAA,CAAAgB,aAAA,CAACf,IAAI;IAACY,MAAM,EAAEA,MAAO;IAACC,KAAK,EAAE,CAACZ,MAAM,CAACa,UAAU,CAAC,CAACE,QAAQ,EAAEH,KAAK;EAAE,GAC/DV,QACG,CAAC;AAEX,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport { type ViewProps } from \"react-native\";\n/**\n * INTERFACE\n */\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface IBoxProps extends ViewProps, IGlobalCss {\n /**\n * A propriedade CSS de Shadow Box adiciona efeitos de sombra em torno da estrutura de um elemento. Você pode definir vários efeitos separados por vírgulas. Uma sombra de caixa é descrita por compensações x e y em relação ao elemento, borrão e raio espalhado e cor.\n */\n boxShadow?: string;\n\n /**\n * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..\n */\n backgroundColor?: string;\n\n /**\n * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).\n */\n opacity?: number;\n}\n\n/**\n * EXPORT\n */\nexport type { IBoxProps };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { StyleSheet } from "react-native";
|
|
4
2
|
|
|
5
3
|
// typing
|
|
6
4
|
|
|
7
|
-
import { stylesGlobal } from "../../styles/global/styles
|
|
5
|
+
import { stylesGlobal } from "../../styles/global/styles";
|
|
8
6
|
const styles = props => StyleSheet.create({
|
|
9
7
|
boxStyle: {
|
|
10
8
|
...stylesGlobal(props),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","boxStyle"],"
|
|
1
|
+
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","boxStyle"],"sources":["styles.ts"],"sourcesContent":["import { StyleSheet, ViewProps } from \"react-native\";\nimport { IBoxProps } from \"./interface.d\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\nimport { stylesGlobal } from \"../../styles/global/styles\";\n\ninterface BoxProps extends IBoxProps, IGlobalCss {}\nconst styles = (props: BoxProps) =>\n StyleSheet.create({\n boxStyle: {\n ...stylesGlobal(props),\n ...props,\n } as ViewProps,\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":"AAAA,SAASA,UAAU,QAAmB,cAAc;;AAGpD;;AAGA,SAASC,YAAY,QAAQ,4BAA4B;AAGzD,MAAMC,MAAM,GAAIC,KAAe,IAC7BH,UAAU,CAACI,MAAM,CAAC;EAChBC,QAAQ,EAAE;IACR,GAAGJ,YAAY,CAACE,KAAK,CAAC;IACtB,GAAGA;EACL;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AACA,SAASD,MAAM","ignoreList":[]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
2
|
/**
|
|
4
3
|
* IMPORTS
|
|
5
4
|
*/
|
|
@@ -9,12 +8,11 @@ import { Text, TouchableOpacity, ActivityIndicator } from "react-native";
|
|
|
9
8
|
// typings
|
|
10
9
|
|
|
11
10
|
// styles
|
|
12
|
-
import { styles } from "./styles
|
|
11
|
+
import { styles } from "./styles";
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* Componente Button para a interação da ui.
|
|
16
15
|
*/
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
16
|
export const Button = ({
|
|
19
17
|
title = "Button",
|
|
20
18
|
width,
|
|
@@ -50,20 +48,17 @@ export const Button = ({
|
|
|
50
48
|
style,
|
|
51
49
|
isLoading
|
|
52
50
|
};
|
|
53
|
-
return /*#__PURE__*/
|
|
51
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
|
|
54
52
|
activeOpacity: 0.7,
|
|
55
53
|
testID: testID,
|
|
56
54
|
style: [styles(styleProps).buttonStyle, style],
|
|
57
|
-
onPress: onPress
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
children: title
|
|
66
|
-
})
|
|
67
|
-
});
|
|
55
|
+
onPress: onPress
|
|
56
|
+
}, res), isLoading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
57
|
+
testID: "button-loading",
|
|
58
|
+
size: "small",
|
|
59
|
+
color: "white"
|
|
60
|
+
}) : /*#__PURE__*/React.createElement(Text, {
|
|
61
|
+
style: [styles(styleProps).buttonTextStyle]
|
|
62
|
+
}, title));
|
|
68
63
|
};
|
|
69
64
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","TouchableOpacity","ActivityIndicator","styles","
|
|
1
|
+
{"version":3,"names":["React","Text","TouchableOpacity","ActivityIndicator","styles","Button","title","width","height","backgroundColor","borderStyled","flexStyle","paddingStyle","marginStyle","testID","opacity","children","style","fontStyle","buttonTextStyle","onPress","isLoading","res","styleProps","createElement","_extends","activeOpacity","buttonStyle","size","color"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Text, TouchableOpacity, TextStyle, ActivityIndicator } from \"react-native\";\n\n// typings\nimport { type IButtonProps } from \"./interface\";\n\n// styles\nimport { styles } from \"./styles\";\n\n/**\n * Componente Button para a interação da ui.\n */\nexport const Button: React.FC<IButtonProps> = ({\n title = \"Button\",\n width,\n height,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n testID,\n opacity = 1,\n children,\n style,\n fontStyle,\n buttonTextStyle,\n onPress,\n isLoading,\n ...res\n}) => {\n const styleProps = {\n width,\n height,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n testID,\n opacity,\n children,\n fontStyle,\n buttonTextStyle,\n style,\n isLoading,\n } as IButtonProps;\n\n return (\n <TouchableOpacity\n activeOpacity={0.7}\n testID={testID}\n style={[styles(styleProps).buttonStyle, style]}\n onPress={onPress}\n {...res}\n >\n {isLoading ? (\n <ActivityIndicator testID=\"button-loading\" size=\"small\" color=\"white\" />\n ) : (\n <Text style={[styles(styleProps).buttonTextStyle as TextStyle]}>{title}</Text>\n )}\n </TouchableOpacity>\n );\n};\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,gBAAgB,EAAaC,iBAAiB,QAAQ,cAAc;;AAEnF;;AAGA;AACA,SAASC,MAAM,QAAQ,UAAU;;AAEjC;AACA;AACA;AACA,OAAO,MAAMC,MAA8B,GAAGA,CAAC;EAC7CC,KAAK,GAAG,QAAQ;EAChBC,KAAK;EACLC,MAAM;EACNC,eAAe;EACfC,YAAY;EACZC,SAAS;EACTC,YAAY;EACZC,WAAW;EACXC,MAAM;EACNC,OAAO,GAAG,CAAC;EACXC,QAAQ;EACRC,KAAK;EACLC,SAAS;EACTC,eAAe;EACfC,OAAO;EACPC,SAAS;EACT,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAG;IACjBhB,KAAK;IACLC,MAAM;IACNC,eAAe;IACfC,YAAY;IACZC,SAAS;IACTC,YAAY;IACZC,WAAW;IACXC,MAAM;IACNC,OAAO;IACPC,QAAQ;IACRE,SAAS;IACTC,eAAe;IACfF,KAAK;IACLI;EACF,CAAiB;EAEjB,oBACErB,KAAA,CAAAwB,aAAA,CAACtB,gBAAgB,EAAAuB,QAAA;IACfC,aAAa,EAAE,GAAI;IACnBZ,MAAM,EAAEA,MAAO;IACfG,KAAK,EAAE,CAACb,MAAM,CAACmB,UAAU,CAAC,CAACI,WAAW,EAAEV,KAAK,CAAE;IAC/CG,OAAO,EAAEA;EAAQ,GACbE,GAAG,GAEND,SAAS,gBACRrB,KAAA,CAAAwB,aAAA,CAACrB,iBAAiB;IAACW,MAAM,EAAC,gBAAgB;IAACc,IAAI,EAAC,OAAO;IAACC,KAAK,EAAC;EAAO,CAAE,CAAC,gBAExE7B,KAAA,CAAAwB,aAAA,CAACvB,IAAI;IAACgB,KAAK,EAAE,CAACb,MAAM,CAACmB,UAAU,CAAC,CAACJ,eAAe;EAAe,GAAEb,KAAY,CAE/D,CAAC;AAEvB,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { type TouchableOpacityProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface IButtonProps extends TouchableOpacityProps, Omit<IGlobalCss, \"color\"> {\n /**\n * Define se o botão está carregando\n */\n isLoading: boolean;\n\n /**\n * Texto do botão\n */\n title: string;\n\n /**\n * A propriedade CSS de Shadow Box adiciona efeitos de sombra em torno da estrutura de um elemento. Você pode definir vários efeitos separados por vírgulas. Uma sombra de caixa é descrita por compensações x e y em relação ao elemento, borrão e raio espalhado e cor.\n */\n boxShadow?: string;\n\n /**\n * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).\n */\n opacity?: number;\n\n /**\n * A propriedade CSS color define o valor da cor de primeiro plano do texto e das decorações de texto de um elemento e define o valor currentcolor. currentcolor pode ser usado como um valor indireto em outras propriedades e é o padrão para outras propriedades de cores, como border-color.\n */\n\n buttonTextStyle: {\n color: string;\n font?: string;\n fontSize?: number;\n fontWeight?: \"100\" | \"300\" | \"400\" | \"500\" | \"600\" | \"700\" | \"bold\";\n fontFamily?: string;\n letterSpacing?: number;\n lineHeight?: number;\n textAlign?: \"auto\" | \"left\" | \"right\" | \"center\" | \"justify\" | undefined;\n };\n}\n\n/**\n * EXPORT\n */\nexport type { IButtonProps };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -7,27 +5,30 @@ import { StyleSheet } from "react-native";
|
|
|
7
5
|
|
|
8
6
|
// typings
|
|
9
7
|
|
|
10
|
-
import { stylesGlobal } from "../../styles/global/styles
|
|
8
|
+
import { stylesGlobal } from "../../styles/global/styles";
|
|
11
9
|
|
|
12
10
|
/**
|
|
13
11
|
* Interface ButtonProps
|
|
14
12
|
*/
|
|
15
13
|
|
|
16
|
-
const styles = props =>
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
14
|
+
const styles = props => {
|
|
15
|
+
var _props$buttonTextStyl, _props$buttonTextStyl2, _props$buttonTextStyl3, _props$buttonTextStyl4, _props$buttonTextStyl5, _props$buttonTextStyl6, _props$buttonTextStyl7, _props$buttonTextStyl8, _props$buttonTextStyl9, _props$buttonTextStyl0, _props$buttonTextStyl1, _props$buttonTextStyl10;
|
|
16
|
+
return StyleSheet.create({
|
|
17
|
+
buttonStyle: {
|
|
18
|
+
...stylesGlobal(props),
|
|
19
|
+
...props
|
|
20
|
+
},
|
|
21
|
+
buttonTextStyle: {
|
|
22
|
+
color: (_props$buttonTextStyl = (_props$buttonTextStyl2 = props.buttonTextStyle) === null || _props$buttonTextStyl2 === void 0 ? void 0 : _props$buttonTextStyl2.color) !== null && _props$buttonTextStyl !== void 0 ? _props$buttonTextStyl : "black",
|
|
23
|
+
fontSize: (_props$buttonTextStyl3 = (_props$buttonTextStyl4 = props.buttonTextStyle) === null || _props$buttonTextStyl4 === void 0 ? void 0 : _props$buttonTextStyl4.fontSize) !== null && _props$buttonTextStyl3 !== void 0 ? _props$buttonTextStyl3 : 14,
|
|
24
|
+
letterSpacing: (_props$buttonTextStyl5 = (_props$buttonTextStyl6 = props.buttonTextStyle) === null || _props$buttonTextStyl6 === void 0 ? void 0 : _props$buttonTextStyl6.letterSpacing) !== null && _props$buttonTextStyl5 !== void 0 ? _props$buttonTextStyl5 : 0.5,
|
|
25
|
+
lineHeight: (_props$buttonTextStyl7 = (_props$buttonTextStyl8 = props.buttonTextStyle) === null || _props$buttonTextStyl8 === void 0 ? void 0 : _props$buttonTextStyl8.lineHeight) !== null && _props$buttonTextStyl7 !== void 0 ? _props$buttonTextStyl7 : 24,
|
|
26
|
+
fontWeight: (_props$buttonTextStyl9 = props.buttonTextStyle) === null || _props$buttonTextStyl9 === void 0 ? void 0 : _props$buttonTextStyl9.fontWeight,
|
|
27
|
+
fontFamily: (_props$buttonTextStyl0 = (_props$buttonTextStyl1 = props.buttonTextStyle) === null || _props$buttonTextStyl1 === void 0 ? void 0 : _props$buttonTextStyl1.fontFamily) !== null && _props$buttonTextStyl0 !== void 0 ? _props$buttonTextStyl0 : "Inter-Medium",
|
|
28
|
+
textAlign: (_props$buttonTextStyl10 = props.buttonTextStyle) === null || _props$buttonTextStyl10 === void 0 ? void 0 : _props$buttonTextStyl10.textAlign
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
};
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
34
|
* EXPORTS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","buttonStyle","buttonTextStyle","color","fontSize","letterSpacing","lineHeight","fontWeight","fontFamily","textAlign"],"
|
|
1
|
+
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","_props$buttonTextStyl","_props$buttonTextStyl2","_props$buttonTextStyl3","_props$buttonTextStyl4","_props$buttonTextStyl5","_props$buttonTextStyl6","_props$buttonTextStyl7","_props$buttonTextStyl8","_props$buttonTextStyl9","_props$buttonTextStyl0","_props$buttonTextStyl1","_props$buttonTextStyl10","create","buttonStyle","buttonTextStyle","color","fontSize","letterSpacing","lineHeight","fontWeight","fontFamily","textAlign"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { type IButtonProps } from \"./interface\";\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\nimport { stylesGlobal } from \"../../styles/global/styles\";\n\n/**\n * Interface ButtonProps\n */\ninterface ButtonProps extends Omit<IButtonProps, \"color\">, Omit<IGlobalCss, \"color\"> {}\n\nconst styles = (props: ButtonProps) =>\n StyleSheet.create({\n buttonStyle: { ...stylesGlobal(props), ...props } as IGlobalCss,\n buttonTextStyle: {\n color: props.buttonTextStyle?.color ?? \"black\",\n fontSize: props.buttonTextStyle?.fontSize ?? 14,\n letterSpacing: props.buttonTextStyle?.letterSpacing ?? 0.5,\n lineHeight: props.buttonTextStyle?.lineHeight ?? 24,\n fontWeight: props.buttonTextStyle?.fontWeight,\n fontFamily: props.buttonTextStyle?.fontFamily ?? \"Inter-Medium\",\n textAlign: props.buttonTextStyle?.textAlign,\n },\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAIA,SAASC,YAAY,QAAQ,4BAA4B;;AAEzD;AACA;AACA;;AAGA,MAAMC,MAAM,GAAIC,KAAkB;EAAA,IAAAC,qBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,uBAAA;EAAA,OAChCf,UAAU,CAACgB,MAAM,CAAC;IAChBC,WAAW,EAAE;MAAE,GAAGhB,YAAY,CAACE,KAAK,CAAC;MAAE,GAAGA;IAAM,CAAe;IAC/De,eAAe,EAAE;MACfC,KAAK,GAAAf,qBAAA,IAAAC,sBAAA,GAAEF,KAAK,CAACe,eAAe,cAAAb,sBAAA,uBAArBA,sBAAA,CAAuBc,KAAK,cAAAf,qBAAA,cAAAA,qBAAA,GAAI,OAAO;MAC9CgB,QAAQ,GAAAd,sBAAA,IAAAC,sBAAA,GAAEJ,KAAK,CAACe,eAAe,cAAAX,sBAAA,uBAArBA,sBAAA,CAAuBa,QAAQ,cAAAd,sBAAA,cAAAA,sBAAA,GAAI,EAAE;MAC/Ce,aAAa,GAAAb,sBAAA,IAAAC,sBAAA,GAAEN,KAAK,CAACe,eAAe,cAAAT,sBAAA,uBAArBA,sBAAA,CAAuBY,aAAa,cAAAb,sBAAA,cAAAA,sBAAA,GAAI,GAAG;MAC1Dc,UAAU,GAAAZ,sBAAA,IAAAC,sBAAA,GAAER,KAAK,CAACe,eAAe,cAAAP,sBAAA,uBAArBA,sBAAA,CAAuBW,UAAU,cAAAZ,sBAAA,cAAAA,sBAAA,GAAI,EAAE;MACnDa,UAAU,GAAAX,sBAAA,GAAET,KAAK,CAACe,eAAe,cAAAN,sBAAA,uBAArBA,sBAAA,CAAuBW,UAAU;MAC7CC,UAAU,GAAAX,sBAAA,IAAAC,sBAAA,GAAEX,KAAK,CAACe,eAAe,cAAAJ,sBAAA,uBAArBA,sBAAA,CAAuBU,UAAU,cAAAX,sBAAA,cAAAA,sBAAA,GAAI,cAAc;MAC/DY,SAAS,GAAAV,uBAAA,GAAEZ,KAAK,CAACe,eAAe,cAAAH,uBAAA,uBAArBA,uBAAA,CAAuBU;IACpC;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AACA,SAASvB,MAAM","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -7,21 +5,20 @@ import React from "react";
|
|
|
7
5
|
import { Image, TouchableOpacity } from "react-native";
|
|
8
6
|
|
|
9
7
|
// components
|
|
10
|
-
import { Typography } from "../typography
|
|
8
|
+
import { Typography } from "../typography";
|
|
11
9
|
|
|
12
10
|
// icons / svg
|
|
13
|
-
import { Icons } from "../../common/icons-svg
|
|
11
|
+
import { Icons } from "../../common/icons-svg";
|
|
14
12
|
|
|
15
13
|
// typings
|
|
16
14
|
|
|
17
15
|
// styles
|
|
18
|
-
import { theme } from "../../styles/theme/theme
|
|
19
|
-
import { styles } from "./styles
|
|
16
|
+
import { theme } from "../../styles/theme/theme";
|
|
17
|
+
import { styles } from "./styles";
|
|
20
18
|
|
|
21
19
|
/**
|
|
22
20
|
* Componente Capturar foto para a interação do usuário com ui.
|
|
23
21
|
*/
|
|
24
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
25
22
|
const CapturePhoto = ({
|
|
26
23
|
imageComprovante,
|
|
27
24
|
takePhotoWithImagePicker,
|
|
@@ -56,51 +53,47 @@ const CapturePhoto = ({
|
|
|
56
53
|
smallText,
|
|
57
54
|
paddingStyle
|
|
58
55
|
};
|
|
59
|
-
return /*#__PURE__*/
|
|
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
|
-
letterSpacing: fontStyle?.letterSpacing ? fontStyle?.letterSpacing : "regular"
|
|
101
|
-
})]
|
|
102
|
-
})
|
|
103
|
-
});
|
|
56
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, imageComprovante ? /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
57
|
+
activeOpacity: 0.7,
|
|
58
|
+
onPress: takePhotoWithImagePicker,
|
|
59
|
+
testID: testID
|
|
60
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
61
|
+
style: [{
|
|
62
|
+
width,
|
|
63
|
+
height,
|
|
64
|
+
borderWidth: Number(borderStyled === null || borderStyled === void 0 ? void 0 : borderStyled.borderWidth),
|
|
65
|
+
borderColor: borderStyled === null || borderStyled === void 0 ? void 0 : borderStyled.borderColor,
|
|
66
|
+
borderRadius: Number(borderStyled === null || borderStyled === void 0 ? void 0 : borderStyled.borderRadius)
|
|
67
|
+
}, styles(styleProps).capturePhoto],
|
|
68
|
+
source: {
|
|
69
|
+
uri: imageComprovante
|
|
70
|
+
}
|
|
71
|
+
})) : /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
72
|
+
activeOpacity: 0.7,
|
|
73
|
+
style: [styles(styleProps).capturePhoto, style],
|
|
74
|
+
onPress: takePhotoWithImagePicker,
|
|
75
|
+
testID: testID
|
|
76
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
77
|
+
icon: "CAMERA_PLUS",
|
|
78
|
+
size: theme.fontSizes["2xl"] || 24,
|
|
79
|
+
color: color === null || color === void 0 ? void 0 : color.colorSvg
|
|
80
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
81
|
+
text: title.text || "Sem foto capturada.",
|
|
82
|
+
align: (flexStyle === null || flexStyle === void 0 ? void 0 : flexStyle.textAlign) === "left" || (flexStyle === null || flexStyle === void 0 ? void 0 : flexStyle.textAlign) === "right" ? flexStyle.textAlign : "center",
|
|
83
|
+
color: color !== null && color !== void 0 && color.colorText ? color.colorText : theme.colors.gray[875],
|
|
84
|
+
size: fontStyle !== null && fontStyle !== void 0 && fontStyle.fontSize ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.fontSize : theme.fontSizes.md,
|
|
85
|
+
fontFamily: fontStyle !== null && fontStyle !== void 0 && fontStyle.fontFamily ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.fontFamily : theme.fonts.inter_regular_400,
|
|
86
|
+
lineHeight: fontStyle !== null && fontStyle !== void 0 && fontStyle.lineHeight ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.lineHeight : theme.fontSizes["2xl"],
|
|
87
|
+
letterSpacing: fontStyle !== null && fontStyle !== void 0 && fontStyle.letterSpacing ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.letterSpacing : "regular"
|
|
88
|
+
}), smallText && /*#__PURE__*/React.createElement(Typography, {
|
|
89
|
+
text: title.textSmallPhoto || "aqui vai o texto de baixo da foto",
|
|
90
|
+
align: (flexStyle === null || flexStyle === void 0 ? void 0 : flexStyle.textAlign) === "left" || (flexStyle === null || flexStyle === void 0 ? void 0 : flexStyle.textAlign) === "right" ? flexStyle.textAlign : "center",
|
|
91
|
+
color: color !== null && color !== void 0 && color.colorText ? color.colorText : theme.colors.gray[875],
|
|
92
|
+
size: fontStyle !== null && fontStyle !== void 0 && fontStyle.fontSize ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.fontSize : theme.fontSizes.sm,
|
|
93
|
+
fontFamily: fontStyle !== null && fontStyle !== void 0 && fontStyle.fontFamily ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.fontFamily : theme.fonts.inter_regular_400,
|
|
94
|
+
lineHeight: fontStyle !== null && fontStyle !== void 0 && fontStyle.lineHeight ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.lineHeight : theme.fontSizes.md,
|
|
95
|
+
letterSpacing: fontStyle !== null && fontStyle !== void 0 && fontStyle.letterSpacing ? fontStyle === null || fontStyle === void 0 ? void 0 : fontStyle.letterSpacing : "regular"
|
|
96
|
+
})));
|
|
104
97
|
};
|
|
105
98
|
|
|
106
99
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","TouchableOpacity","Typography","Icons","theme","styles","
|
|
1
|
+
{"version":3,"names":["React","Image","TouchableOpacity","Typography","Icons","theme","styles","CapturePhoto","imageComprovante","takePhotoWithImagePicker","testID","width","height","marginStyle","flexStyle","title","borderStyled","color","fontStyle","opacity","style","smallText","paddingStyle","styleProps","createElement","Fragment","activeOpacity","onPress","borderWidth","Number","borderColor","borderRadius","capturePhoto","source","uri","icon","size","fontSizes","colorSvg","text","align","textAlign","colorText","colors","gray","fontSize","md","fontFamily","fonts","inter_regular_400","lineHeight","letterSpacing","textSmallPhoto","sm"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Image, TouchableOpacity } from \"react-native\";\n\n// components\nimport { Typography } from \"../typography\";\n\n// icons / svg\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { ICapturePhotoProps } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\nimport { styles } from \"./styles\";\n\n/**\n * Componente Capturar foto para a interação do usuário com ui.\n */\nconst CapturePhoto: React.FC<ICapturePhotoProps> = ({\n imageComprovante,\n takePhotoWithImagePicker,\n testID,\n width,\n height,\n marginStyle,\n flexStyle,\n title,\n borderStyled,\n color,\n fontStyle,\n opacity,\n style,\n smallText,\n paddingStyle,\n}) => {\n const styleProps = {\n imageComprovante,\n takePhotoWithImagePicker,\n testID,\n width,\n height,\n marginStyle,\n flexStyle,\n title,\n borderStyled,\n color,\n fontStyle,\n opacity,\n style,\n smallText,\n paddingStyle,\n } as ICapturePhotoProps;\n\n return (\n <>\n {imageComprovante ? (\n <TouchableOpacity activeOpacity={0.7} onPress={takePhotoWithImagePicker} testID={testID}>\n <Image\n style={[\n {\n width,\n height,\n borderWidth: Number(borderStyled?.borderWidth),\n borderColor: borderStyled?.borderColor,\n borderRadius: Number(borderStyled?.borderRadius),\n },\n styles(styleProps).capturePhoto,\n ]}\n source={{ uri: imageComprovante }}\n />\n </TouchableOpacity>\n ) : (\n <TouchableOpacity\n activeOpacity={0.7}\n style={[styles(styleProps).capturePhoto, style]}\n onPress={takePhotoWithImagePicker}\n testID={testID}\n >\n <Icons icon={\"CAMERA_PLUS\"} size={theme.fontSizes[\"2xl\"] || 24} color={color?.colorSvg} />\n <Typography\n text={title.text || \"Sem foto capturada.\"}\n align={\n flexStyle?.textAlign === \"left\" || flexStyle?.textAlign === \"right\"\n ? flexStyle.textAlign\n : \"center\"\n }\n color={color?.colorText ? color.colorText : theme.colors.gray[875]}\n size={fontStyle?.fontSize ? fontStyle?.fontSize : theme.fontSizes.md}\n fontFamily={\n fontStyle?.fontFamily ? fontStyle?.fontFamily : theme.fonts.inter_regular_400\n }\n lineHeight={fontStyle?.lineHeight ? fontStyle?.lineHeight : theme.fontSizes[\"2xl\"]}\n letterSpacing={fontStyle?.letterSpacing ? fontStyle?.letterSpacing : \"regular\"}\n />\n {smallText && (\n <Typography\n text={title.textSmallPhoto || \"aqui vai o texto de baixo da foto\"}\n align={\n flexStyle?.textAlign === \"left\" || flexStyle?.textAlign === \"right\"\n ? flexStyle.textAlign\n : \"center\"\n }\n color={color?.colorText ? color.colorText : theme.colors.gray[875]}\n size={fontStyle?.fontSize ? fontStyle?.fontSize : theme.fontSizes.sm}\n fontFamily={\n fontStyle?.fontFamily ? fontStyle?.fontFamily : theme.fonts.inter_regular_400\n }\n lineHeight={fontStyle?.lineHeight ? fontStyle?.lineHeight : theme.fontSizes.md}\n letterSpacing={fontStyle?.letterSpacing ? fontStyle?.letterSpacing : \"regular\"}\n />\n )}\n </TouchableOpacity>\n )}\n </>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { CapturePhoto };\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { TouchableOpacityProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface ICapturePhotoProps extends TouchableOpacityProps, IGlobalCss {\n /**\n * Estilo customizado\n */\n style?: any;\n\n /**\n * Função que tira uma foto.\n */\n takePhotoWithImagePicker: () => void;\n\n /**\n * Valor com a foto do capturada\n */\n imageComprovante: string | null;\n\n /**\n * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).\n */\n opacity?: number;\n\n /**\n * A propriedade smallPhoto define quando vai ser foto pequena exemplo para manutenção : foto1 em baixo o texto informando o lado :direito , esquerdo ou frente.\n */\n smallText: boolean;\n\n title: {\n text: string;\n textSmallPhoto?: string;\n };\n}\n\n/**\n * EXPORTS\n */\nexport type { ICapturePhotoProps };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -7,7 +5,7 @@ import { StyleSheet } from "react-native";
|
|
|
7
5
|
|
|
8
6
|
// typing
|
|
9
7
|
|
|
10
|
-
import { stylesGlobal } from "../../styles/global/styles
|
|
8
|
+
import { stylesGlobal } from "../../styles/global/styles";
|
|
11
9
|
const styles = props => StyleSheet.create({
|
|
12
10
|
capturePhoto: {
|
|
13
11
|
...stylesGlobal(props),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","capturePhoto","opacity"],"
|
|
1
|
+
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","capturePhoto","opacity"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typing\nimport { ICapturePhotoProps } from \"./interface\";\nimport { stylesGlobal } from \"../../styles/global/styles\";\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface CapturePhotoProps extends ICapturePhotoProps, IGlobalCss {}\nconst styles = (props: CapturePhotoProps) =>\n StyleSheet.create({\n capturePhoto: {\n ...stylesGlobal(props),\n opacity: props.opacity,\n ...props,\n } as IGlobalCss,\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAEA,SAASC,YAAY,QAAQ,4BAA4B;AAIzD,MAAMC,MAAM,GAAIC,KAAwB,IACtCH,UAAU,CAACI,MAAM,CAAC;EAChBC,YAAY,EAAE;IACZ,GAAGJ,YAAY,CAACE,KAAK,CAAC;IACtBG,OAAO,EAAEH,KAAK,CAACG,OAAO;IACtB,GAAGH;EACL;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AACA,SAASD,MAAM","ignoreList":[]}
|