react-native-exp-fig 0.1.5 → 0.1.7
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/lib/commonjs/components/card-history/index.js +7 -7
- package/lib/commonjs/components/card-work-session/index.js +4 -4
- package/lib/commonjs/components/header-profile/index.js +6 -6
- package/lib/commonjs/components/input/index.js +7 -7
- package/lib/commonjs/components/notification-loading/index.js +4 -4
- package/lib/module/components/card-history/index.js +7 -7
- package/lib/module/components/card-work-session/index.js +4 -4
- package/lib/module/components/header-profile/index.js +6 -6
- package/lib/module/components/input/index.js +7 -7
- package/lib/module/components/notification-loading/index.js +4 -4
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +51 -51
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts +11 -11
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/box/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/box/styles.d.ts +12 -12
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +23 -23
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-history/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/interface.d.ts +32 -32
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/check-box/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/coil/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/input/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/input/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/input/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/no-data/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +63 -63
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +56 -56
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +29 -29
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/index.d.ts +31 -31
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts +10 -10
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +10 -10
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts +14 -14
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +15 -15
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +46 -46
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +148 -148
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +150 -150
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts +17 -17
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts +3 -3
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts.map +1 -1
- package/lib/typescript/module/src/common/constants/index.d.ts +4 -4
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +51 -51
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts +4 -4
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +11 -11
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +13 -13
- package/lib/typescript/module/src/components/box/index.d.ts +9 -9
- package/lib/typescript/module/src/components/box/styles.d.ts +12 -12
- package/lib/typescript/module/src/components/box/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/button/index.d.ts +9 -9
- package/lib/typescript/module/src/components/button/styles.d.ts +23 -23
- package/lib/typescript/module/src/components/button/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +13 -13
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-history/index.d.ts +14 -14
- package/lib/typescript/module/src/components/card-hours/index.d.ts +9 -9
- package/lib/typescript/module/src/components/card-loading/index.d.ts +14 -14
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +13 -13
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts +32 -32
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts +10 -10
- package/lib/typescript/module/src/components/check-box/index.d.ts +13 -13
- package/lib/typescript/module/src/components/coil/index.d.ts +10 -10
- package/lib/typescript/module/src/components/filter-date-selector/index.d.ts +14 -14
- package/lib/typescript/module/src/components/filter-journey/index.d.ts +10 -10
- package/lib/typescript/module/src/components/header-profile/index.d.ts +13 -13
- package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts +14 -14
- package/lib/typescript/module/src/components/input/index.d.ts +14 -14
- package/lib/typescript/module/src/components/input/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/input/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/loading-details/index.d.ts +10 -10
- package/lib/typescript/module/src/components/loading-progress/index.d.ts +14 -14
- package/lib/typescript/module/src/components/menu-item/index.d.ts +14 -14
- package/lib/typescript/module/src/components/no-data/index.d.ts +7 -7
- package/lib/typescript/module/src/components/notification-loading/index.d.ts +10 -10
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts +10 -10
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +13 -13
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +63 -63
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +14 -14
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +13 -13
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +56 -56
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +13 -13
- package/lib/typescript/module/src/components/typography/styles.d.ts +29 -29
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts +14 -14
- package/lib/typescript/module/src/index.d.ts +31 -31
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +10 -10
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +10 -10
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/input/input.stories.d.ts +14 -14
- package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts +15 -15
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/styles.d.ts +46 -46
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +148 -148
- package/lib/typescript/module/src/styles/theme/theme.d.ts +150 -150
- package/lib/typescript/module/src/utils/format-data/index.d.ts +17 -17
- package/lib/typescript/module/src/utils/format-data/index.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/mutiply/index.d.ts +1 -1
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts +3 -3
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/card-history/index.tsx +150 -150
- package/src/components/card-work-session/index.tsx +161 -161
- package/src/components/card-work-session/interface.d.ts +48 -48
- package/src/components/header-profile/index.tsx +131 -131
- package/src/components/header-profile/interface.d.ts +57 -57
- package/src/components/input/index.tsx +181 -181
- package/src/components/notification-loading/index.tsx +144 -144
- package/src/stories/header-profile/header-profile.stories.tsx +88 -88
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Image, TouchableOpacity } from "react-native";
|
|
6
|
-
|
|
7
|
-
// components
|
|
8
|
-
import { Box } from "../box";
|
|
9
|
-
import { Typography } from "../typography";
|
|
10
|
-
|
|
11
|
-
// typings
|
|
12
|
-
import { ICardHistory } from "./interface";
|
|
13
|
-
|
|
14
|
-
// styles
|
|
15
|
-
import { theme } from "../../styles/theme/theme";
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* Componente CardLoading para a interação do usuário com ui.
|
|
20
|
-
*/
|
|
21
|
-
const CardHistory: React.FC<ICardHistory> = ({
|
|
22
|
-
width,
|
|
23
|
-
title = "Carregamento #01020304050607",
|
|
24
|
-
local = "Doca 1, Patío 03 - Usiminas Ipatinga",
|
|
25
|
-
vehicle = "EXP-0000",
|
|
26
|
-
prevision = "12:34 10/03/2025",
|
|
27
|
-
testID,
|
|
28
|
-
handleNavigation,
|
|
29
|
-
}: ICardHistory) => {
|
|
30
|
-
return (
|
|
31
|
-
<TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>
|
|
32
|
-
<Box
|
|
33
|
-
testID={testID}
|
|
34
|
-
width={width ?? "100%"}
|
|
35
|
-
backgroundColor={theme.colors.blue[400]}
|
|
36
|
-
marginStyle={{ marginBottom: theme.margins.md }}
|
|
37
|
-
paddingStyle={{ padding: theme.paddings["2xs"] }}
|
|
38
|
-
borderStyled={{
|
|
39
|
-
borderWidth: theme.borderWidths.thin,
|
|
40
|
-
borderColor: theme.colors.blue[400],
|
|
41
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
42
|
-
}}
|
|
43
|
-
flexStyle={{ flexDirection: "row", justifyContent: "flex-start", alignItems: "center" }}
|
|
44
|
-
>
|
|
45
|
-
<Box width={"25%"} borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}>
|
|
46
|
-
<Image
|
|
47
|
-
source={{
|
|
48
|
-
uri: "https://th.bing.com/th/id/OIP.Rr9_IUNo8J66QbvQkxzXtwHaEJ?w=276&h=180&c=7&r=0&o=5&pid=1.7",
|
|
49
|
-
}}
|
|
50
|
-
style={{
|
|
51
|
-
width: "100%",
|
|
52
|
-
height: 90,
|
|
53
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
54
|
-
}}
|
|
55
|
-
/>
|
|
56
|
-
</Box>
|
|
57
|
-
|
|
58
|
-
<Box width={"75%"} marginStyle={{ marginLeft: 5 }} height={90}>
|
|
59
|
-
<Typography
|
|
60
|
-
text={title}
|
|
61
|
-
ellipsizeMode="tail"
|
|
62
|
-
numberOfLines={1}
|
|
63
|
-
color={theme.colors.neutral[25]}
|
|
64
|
-
size={theme.fontSizes.sm}
|
|
65
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
66
|
-
lineHeight={theme.fontSizes.xl ?? 20}
|
|
67
|
-
letterSpacing={"regular"}
|
|
68
|
-
/>
|
|
69
|
-
|
|
70
|
-
<Typography
|
|
71
|
-
text={local}
|
|
72
|
-
color={theme.colors.neutral[25]}
|
|
73
|
-
size={theme.fontSizes.xs}
|
|
74
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
75
|
-
lineHeight={theme.fontSizes.md ?? 16}
|
|
76
|
-
letterSpacing={"regular"}
|
|
77
|
-
/>
|
|
78
|
-
|
|
79
|
-
{/**DADOS DO VEÍCULOS */}
|
|
80
|
-
<Box
|
|
81
|
-
flexStyle={{
|
|
82
|
-
flexDirection: "row",
|
|
83
|
-
justifyContent: "flex-start",
|
|
84
|
-
alignItems: "center",
|
|
85
|
-
}}
|
|
86
|
-
>
|
|
87
|
-
<Typography
|
|
88
|
-
text={"Dados Veículo:"}
|
|
89
|
-
color={theme.colors.neutral[25]}
|
|
90
|
-
size={theme.fontSizes.xs}
|
|
91
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
92
|
-
lineHeight={theme.fontSizes.md ?? 16}
|
|
93
|
-
letterSpacing={"regular"}
|
|
94
|
-
/>
|
|
95
|
-
<Typography
|
|
96
|
-
text={vehicle}
|
|
97
|
-
color={theme.colors.neutral[25]}
|
|
98
|
-
size={theme.fontSizes.xs}
|
|
99
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
100
|
-
lineHeight={theme.fontSizes.md ?? 16}
|
|
101
|
-
letterSpacing={"regular"}
|
|
102
|
-
marginLeft={4}
|
|
103
|
-
/>
|
|
104
|
-
</Box>
|
|
105
|
-
|
|
106
|
-
{/**PREVISÃO DO CARREGAMENTO */}
|
|
107
|
-
<Box
|
|
108
|
-
width={"100%"}
|
|
109
|
-
flexStyle={{
|
|
110
|
-
flexDirection: "row",
|
|
111
|
-
alignItems: "center",
|
|
112
|
-
justifyContent: "space-between",
|
|
113
|
-
}}
|
|
114
|
-
>
|
|
115
|
-
<Box
|
|
116
|
-
flexStyle={{
|
|
117
|
-
flexDirection: "row",
|
|
118
|
-
justifyContent: "flex-start",
|
|
119
|
-
alignItems: "center",
|
|
120
|
-
}}
|
|
121
|
-
>
|
|
122
|
-
<Typography
|
|
123
|
-
text={"Previsão:"}
|
|
124
|
-
color={theme.colors.neutral[25]}
|
|
125
|
-
size={theme.fontSizes.xs}
|
|
126
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
127
|
-
lineHeight={theme.fontSizes.md ?? 16}
|
|
128
|
-
letterSpacing={"regular"}
|
|
129
|
-
/>
|
|
130
|
-
<Typography
|
|
131
|
-
text={prevision}
|
|
132
|
-
color={theme.colors.neutral[25]}
|
|
133
|
-
size={theme.fontSizes.xs}
|
|
134
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
135
|
-
lineHeight={theme.fontSizes.md ?? 16}
|
|
136
|
-
letterSpacing={"regular"}
|
|
137
|
-
marginLeft={4}
|
|
138
|
-
/>
|
|
139
|
-
</Box>
|
|
140
|
-
</Box>
|
|
141
|
-
</Box>
|
|
142
|
-
</Box>
|
|
143
|
-
</TouchableOpacity>
|
|
144
|
-
);
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* EXPORTS
|
|
149
|
-
*/
|
|
150
|
-
export { CardHistory };
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Image, TouchableOpacity } from "react-native";
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import { Box } from "../box";
|
|
9
|
+
import { Typography } from "../typography";
|
|
10
|
+
|
|
11
|
+
// typings
|
|
12
|
+
import { ICardHistory } from "./interface";
|
|
13
|
+
|
|
14
|
+
// styles
|
|
15
|
+
import { theme } from "../../styles/theme/theme";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* Componente CardLoading para a interação do usuário com ui.
|
|
20
|
+
*/
|
|
21
|
+
const CardHistory: React.FC<ICardHistory> = ({
|
|
22
|
+
width,
|
|
23
|
+
title = "Carregamento #01020304050607",
|
|
24
|
+
local = "Doca 1, Patío 03 - Usiminas Ipatinga",
|
|
25
|
+
vehicle = "EXP-0000",
|
|
26
|
+
prevision = "12:34 10/03/2025",
|
|
27
|
+
testID,
|
|
28
|
+
handleNavigation,
|
|
29
|
+
}: ICardHistory) => {
|
|
30
|
+
return (
|
|
31
|
+
<TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>
|
|
32
|
+
<Box
|
|
33
|
+
testID={testID}
|
|
34
|
+
width={width ?? "100%"}
|
|
35
|
+
backgroundColor={theme.colors.blue[400]}
|
|
36
|
+
marginStyle={{ marginBottom: theme.margins.md }}
|
|
37
|
+
paddingStyle={{ padding: theme.paddings["2xs"] }}
|
|
38
|
+
borderStyled={{
|
|
39
|
+
borderWidth: theme.borderWidths.thin,
|
|
40
|
+
borderColor: theme.colors.blue[400],
|
|
41
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
42
|
+
}}
|
|
43
|
+
flexStyle={{ flexDirection: "row", justifyContent: "flex-start", alignItems: "center" }}
|
|
44
|
+
>
|
|
45
|
+
<Box width={"25%"} borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}>
|
|
46
|
+
<Image
|
|
47
|
+
source={{
|
|
48
|
+
uri: "https://th.bing.com/th/id/OIP.Rr9_IUNo8J66QbvQkxzXtwHaEJ?w=276&h=180&c=7&r=0&o=5&pid=1.7",
|
|
49
|
+
}}
|
|
50
|
+
style={{
|
|
51
|
+
width: "100%",
|
|
52
|
+
height: 90,
|
|
53
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
</Box>
|
|
57
|
+
|
|
58
|
+
<Box width={"75%"} marginStyle={{ marginLeft: 5 }} height={90}>
|
|
59
|
+
<Typography
|
|
60
|
+
text={title}
|
|
61
|
+
ellipsizeMode="tail"
|
|
62
|
+
numberOfLines={1}
|
|
63
|
+
color={theme.colors.neutral[25]}
|
|
64
|
+
size={theme.fontSizes.sm}
|
|
65
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
66
|
+
lineHeight={theme.fontSizes.xl ?? 20}
|
|
67
|
+
letterSpacing={"regular"}
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<Typography
|
|
71
|
+
text={local}
|
|
72
|
+
color={theme.colors.neutral[25]}
|
|
73
|
+
size={theme.fontSizes.xs}
|
|
74
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
75
|
+
lineHeight={theme.fontSizes.md ?? 16}
|
|
76
|
+
letterSpacing={"regular"}
|
|
77
|
+
/>
|
|
78
|
+
|
|
79
|
+
{/**DADOS DO VEÍCULOS */}
|
|
80
|
+
<Box
|
|
81
|
+
flexStyle={{
|
|
82
|
+
flexDirection: "row",
|
|
83
|
+
justifyContent: "flex-start",
|
|
84
|
+
alignItems: "center",
|
|
85
|
+
}}
|
|
86
|
+
>
|
|
87
|
+
<Typography
|
|
88
|
+
text={"Dados Veículo:"}
|
|
89
|
+
color={theme.colors.neutral[25]}
|
|
90
|
+
size={theme.fontSizes.xs}
|
|
91
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
92
|
+
lineHeight={theme.fontSizes.md ?? 16}
|
|
93
|
+
letterSpacing={"regular"}
|
|
94
|
+
/>
|
|
95
|
+
<Typography
|
|
96
|
+
text={vehicle}
|
|
97
|
+
color={theme.colors.neutral[25]}
|
|
98
|
+
size={theme.fontSizes.xs}
|
|
99
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
100
|
+
lineHeight={theme.fontSizes.md ?? 16}
|
|
101
|
+
letterSpacing={"regular"}
|
|
102
|
+
marginLeft={4}
|
|
103
|
+
/>
|
|
104
|
+
</Box>
|
|
105
|
+
|
|
106
|
+
{/**PREVISÃO DO CARREGAMENTO */}
|
|
107
|
+
<Box
|
|
108
|
+
width={"100%"}
|
|
109
|
+
flexStyle={{
|
|
110
|
+
flexDirection: "row",
|
|
111
|
+
alignItems: "center",
|
|
112
|
+
justifyContent: "space-between",
|
|
113
|
+
}}
|
|
114
|
+
>
|
|
115
|
+
<Box
|
|
116
|
+
flexStyle={{
|
|
117
|
+
flexDirection: "row",
|
|
118
|
+
justifyContent: "flex-start",
|
|
119
|
+
alignItems: "center",
|
|
120
|
+
}}
|
|
121
|
+
>
|
|
122
|
+
<Typography
|
|
123
|
+
text={"Previsão:"}
|
|
124
|
+
color={theme.colors.neutral[25]}
|
|
125
|
+
size={theme.fontSizes.xs}
|
|
126
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
127
|
+
lineHeight={theme.fontSizes.md ?? 16}
|
|
128
|
+
letterSpacing={"regular"}
|
|
129
|
+
/>
|
|
130
|
+
<Typography
|
|
131
|
+
text={prevision}
|
|
132
|
+
color={theme.colors.neutral[25]}
|
|
133
|
+
size={theme.fontSizes.xs}
|
|
134
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
135
|
+
lineHeight={theme.fontSizes.md ?? 16}
|
|
136
|
+
letterSpacing={"regular"}
|
|
137
|
+
marginLeft={4}
|
|
138
|
+
/>
|
|
139
|
+
</Box>
|
|
140
|
+
</Box>
|
|
141
|
+
</Box>
|
|
142
|
+
</Box>
|
|
143
|
+
</TouchableOpacity>
|
|
144
|
+
);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* EXPORTS
|
|
149
|
+
*/
|
|
150
|
+
export { CardHistory };
|
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Imports
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Image, TouchableOpacity } from "react-native";
|
|
6
|
-
|
|
7
|
-
// components
|
|
8
|
-
import { Box } from "../box";
|
|
9
|
-
import { Typography } from "../typography";
|
|
10
|
-
|
|
11
|
-
// commons / icons
|
|
12
|
-
import { Icons } from "../../common/icons-svg";
|
|
13
|
-
|
|
14
|
-
// typings
|
|
15
|
-
import { ICardWorkSession } from "./interface";
|
|
16
|
-
|
|
17
|
-
// styles
|
|
18
|
-
import { theme } from "../../styles/theme/theme";
|
|
19
|
-
|
|
20
|
-
const CardWorkSession: React.FC<ICardWorkSession> = ({
|
|
21
|
-
name = "Weverson L.S",
|
|
22
|
-
workDate = "25/01/2025",
|
|
23
|
-
timeWork = "",
|
|
24
|
-
initialTime = "11:40",
|
|
25
|
-
duration = "05:20",
|
|
26
|
-
avatar = "",
|
|
27
|
-
backgroundColor,
|
|
28
|
-
handleNavigation,
|
|
29
|
-
}) => {
|
|
30
|
-
return (
|
|
31
|
-
<Box
|
|
32
|
-
paddingStyle={{ padding: theme.paddings.md }}
|
|
33
|
-
borderStyled={{
|
|
34
|
-
borderBottomWidth: theme.borderWidths.thin,
|
|
35
|
-
borderColor: theme.colors.gray[350],
|
|
36
|
-
}}
|
|
37
|
-
backgroundColor={backgroundColor ?? theme.colors.gray[300]}
|
|
38
|
-
style={{
|
|
39
|
-
position: "relative",
|
|
40
|
-
}}
|
|
41
|
-
>
|
|
42
|
-
{/* Cabeçalho com imagem e ícone */}
|
|
43
|
-
<Box
|
|
44
|
-
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
45
|
-
>
|
|
46
|
-
<Image
|
|
47
|
-
style={{
|
|
48
|
-
width: 50,
|
|
49
|
-
height: 50,
|
|
50
|
-
borderRadius: 25,
|
|
51
|
-
borderWidth: theme.borderWidths.thin_medium,
|
|
52
|
-
borderColor: theme.colors.blue[500],
|
|
53
|
-
}}
|
|
54
|
-
source={{
|
|
55
|
-
uri:
|
|
56
|
-
avatar ||
|
|
57
|
-
"https://static.vakinha.com.br/uploads/user/avatar/2251959/download.png?ims=225x225",
|
|
58
|
-
}}
|
|
59
|
-
/>
|
|
60
|
-
<Box style={{ position: "absolute", left: 57, top: 5 }}>
|
|
61
|
-
<Box flexStyle={{ flexDirection: "row" }} marginStyle={{ marginTop: -5 }}>
|
|
62
|
-
<Typography
|
|
63
|
-
text={"Jornada Trabalho: "}
|
|
64
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
65
|
-
size={theme.fontSizes.sm}
|
|
66
|
-
color={theme.colors.black[100]}
|
|
67
|
-
letterSpacing={"regular"}
|
|
68
|
-
/>
|
|
69
|
-
<Typography
|
|
70
|
-
text={workDate}
|
|
71
|
-
size={theme.fontSizes.xs}
|
|
72
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
73
|
-
color={theme.colors.black[100]}
|
|
74
|
-
/>
|
|
75
|
-
</Box>
|
|
76
|
-
<Box flexStyle={{ flexDirection: "row" }}>
|
|
77
|
-
<Typography
|
|
78
|
-
text={"Tempo Jornada: "}
|
|
79
|
-
size={theme.fontSizes.sm}
|
|
80
|
-
color={theme.colors.black[100]}
|
|
81
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
82
|
-
letterSpacing={"regular"}
|
|
83
|
-
/>
|
|
84
|
-
|
|
85
|
-
{timeWork && (
|
|
86
|
-
<Typography
|
|
87
|
-
text={timeWork}
|
|
88
|
-
size={theme.fontSizes.xs}
|
|
89
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
90
|
-
color={theme.colors.gray[800]}
|
|
91
|
-
letterSpacing={"regular"}
|
|
92
|
-
/>
|
|
93
|
-
)}
|
|
94
|
-
</Box>
|
|
95
|
-
</Box>
|
|
96
|
-
<TouchableOpacity activeOpacity={0.7} onPress={handleNavigation}>
|
|
97
|
-
<Icons icon={"BELL"} size={28} />
|
|
98
|
-
</TouchableOpacity>
|
|
99
|
-
</Box>
|
|
100
|
-
|
|
101
|
-
<Box
|
|
102
|
-
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
103
|
-
>
|
|
104
|
-
<Typography
|
|
105
|
-
text={`Olá, ${name}`}
|
|
106
|
-
size={16}
|
|
107
|
-
color={theme.colors.black[100]}
|
|
108
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
109
|
-
marginLeft={-5}
|
|
110
|
-
/>
|
|
111
|
-
|
|
112
|
-
{/* Seção de horário */}
|
|
113
|
-
<Box flexStyle={{ flexDirection: "row" }}>
|
|
114
|
-
<Box marginStyle={{ marginRight: 15 }}>
|
|
115
|
-
<Typography
|
|
116
|
-
text={`${initialTime}`}
|
|
117
|
-
size={theme.fontSizes.md}
|
|
118
|
-
align="center"
|
|
119
|
-
color={theme.colors.black[100]}
|
|
120
|
-
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
121
|
-
/>
|
|
122
|
-
|
|
123
|
-
<Typography
|
|
124
|
-
text={"INÍCIO"}
|
|
125
|
-
size={theme.fontSizes["2xs"]}
|
|
126
|
-
align="center"
|
|
127
|
-
color={theme.colors.black[100]}
|
|
128
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
129
|
-
fontWeight={"500"}
|
|
130
|
-
marginTop={-4}
|
|
131
|
-
/>
|
|
132
|
-
</Box>
|
|
133
|
-
|
|
134
|
-
<Box>
|
|
135
|
-
<Typography
|
|
136
|
-
text={`${duration}`}
|
|
137
|
-
size={theme.fontSizes.md}
|
|
138
|
-
align="center"
|
|
139
|
-
color={theme.colors.black[100]}
|
|
140
|
-
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
141
|
-
/>
|
|
142
|
-
|
|
143
|
-
<Typography
|
|
144
|
-
text={"DURAÇÃO"}
|
|
145
|
-
size={theme.fontSizes["2xs"]}
|
|
146
|
-
align="center"
|
|
147
|
-
color={theme.colors.black[100]}
|
|
148
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
149
|
-
marginTop={-4}
|
|
150
|
-
/>
|
|
151
|
-
</Box>
|
|
152
|
-
</Box>
|
|
153
|
-
</Box>
|
|
154
|
-
</Box>
|
|
155
|
-
);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* EXPORTS
|
|
160
|
-
*/
|
|
161
|
-
export { CardWorkSession };
|
|
1
|
+
/**
|
|
2
|
+
* Imports
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Image, TouchableOpacity } from "react-native";
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import { Box } from "../box";
|
|
9
|
+
import { Typography } from "../typography";
|
|
10
|
+
|
|
11
|
+
// commons / icons
|
|
12
|
+
import { Icons } from "../../common/icons-svg";
|
|
13
|
+
|
|
14
|
+
// typings
|
|
15
|
+
import { ICardWorkSession } from "./interface";
|
|
16
|
+
|
|
17
|
+
// styles
|
|
18
|
+
import { theme } from "../../styles/theme/theme";
|
|
19
|
+
|
|
20
|
+
const CardWorkSession: React.FC<ICardWorkSession> = ({
|
|
21
|
+
name = "Weverson L.S",
|
|
22
|
+
workDate = "25/01/2025",
|
|
23
|
+
timeWork = "",
|
|
24
|
+
initialTime = "11:40",
|
|
25
|
+
duration = "05:20",
|
|
26
|
+
avatar = "",
|
|
27
|
+
backgroundColor,
|
|
28
|
+
handleNavigation,
|
|
29
|
+
}) => {
|
|
30
|
+
return (
|
|
31
|
+
<Box
|
|
32
|
+
paddingStyle={{ padding: theme.paddings.md }}
|
|
33
|
+
borderStyled={{
|
|
34
|
+
borderBottomWidth: theme.borderWidths.thin,
|
|
35
|
+
borderColor: theme.colors.gray[350],
|
|
36
|
+
}}
|
|
37
|
+
backgroundColor={backgroundColor ?? theme.colors.gray[300]}
|
|
38
|
+
style={{
|
|
39
|
+
position: "relative",
|
|
40
|
+
}}
|
|
41
|
+
>
|
|
42
|
+
{/* Cabeçalho com imagem e ícone */}
|
|
43
|
+
<Box
|
|
44
|
+
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
45
|
+
>
|
|
46
|
+
<Image
|
|
47
|
+
style={{
|
|
48
|
+
width: 50,
|
|
49
|
+
height: 50,
|
|
50
|
+
borderRadius: 25,
|
|
51
|
+
borderWidth: theme.borderWidths.thin_medium,
|
|
52
|
+
borderColor: theme.colors.blue[500],
|
|
53
|
+
}}
|
|
54
|
+
source={{
|
|
55
|
+
uri:
|
|
56
|
+
avatar ||
|
|
57
|
+
"https://static.vakinha.com.br/uploads/user/avatar/2251959/download.png?ims=225x225",
|
|
58
|
+
}}
|
|
59
|
+
/>
|
|
60
|
+
<Box style={{ position: "absolute", left: 57, top: 5 }}>
|
|
61
|
+
<Box flexStyle={{ flexDirection: "row" }} marginStyle={{ marginTop: -5 }}>
|
|
62
|
+
<Typography
|
|
63
|
+
text={"Jornada Trabalho: "}
|
|
64
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
65
|
+
size={theme.fontSizes.sm}
|
|
66
|
+
color={theme.colors.black[100]}
|
|
67
|
+
letterSpacing={"regular"}
|
|
68
|
+
/>
|
|
69
|
+
<Typography
|
|
70
|
+
text={workDate}
|
|
71
|
+
size={theme.fontSizes.xs}
|
|
72
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
73
|
+
color={theme.colors.black[100]}
|
|
74
|
+
/>
|
|
75
|
+
</Box>
|
|
76
|
+
<Box flexStyle={{ flexDirection: "row" }}>
|
|
77
|
+
<Typography
|
|
78
|
+
text={"Tempo Jornada: "}
|
|
79
|
+
size={theme.fontSizes.sm}
|
|
80
|
+
color={theme.colors.black[100]}
|
|
81
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
82
|
+
letterSpacing={"regular"}
|
|
83
|
+
/>
|
|
84
|
+
|
|
85
|
+
{timeWork && (
|
|
86
|
+
<Typography
|
|
87
|
+
text={timeWork}
|
|
88
|
+
size={theme.fontSizes.xs}
|
|
89
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
90
|
+
color={theme.colors.gray[800]}
|
|
91
|
+
letterSpacing={"regular"}
|
|
92
|
+
/>
|
|
93
|
+
)}
|
|
94
|
+
</Box>
|
|
95
|
+
</Box>
|
|
96
|
+
<TouchableOpacity activeOpacity={0.7} onPress={handleNavigation}>
|
|
97
|
+
<Icons icon={"BELL"} size={28} />
|
|
98
|
+
</TouchableOpacity>
|
|
99
|
+
</Box>
|
|
100
|
+
|
|
101
|
+
<Box
|
|
102
|
+
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
103
|
+
>
|
|
104
|
+
<Typography
|
|
105
|
+
text={`Olá, ${name}`}
|
|
106
|
+
size={16}
|
|
107
|
+
color={theme.colors.black[100]}
|
|
108
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
109
|
+
marginLeft={-5}
|
|
110
|
+
/>
|
|
111
|
+
|
|
112
|
+
{/* Seção de horário */}
|
|
113
|
+
<Box flexStyle={{ flexDirection: "row" }}>
|
|
114
|
+
<Box marginStyle={{ marginRight: 15 }}>
|
|
115
|
+
<Typography
|
|
116
|
+
text={`${initialTime}`}
|
|
117
|
+
size={theme.fontSizes.md}
|
|
118
|
+
align="center"
|
|
119
|
+
color={theme.colors.black[100]}
|
|
120
|
+
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
121
|
+
/>
|
|
122
|
+
|
|
123
|
+
<Typography
|
|
124
|
+
text={"INÍCIO"}
|
|
125
|
+
size={theme.fontSizes["2xs"]}
|
|
126
|
+
align="center"
|
|
127
|
+
color={theme.colors.black[100]}
|
|
128
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
129
|
+
fontWeight={"500"}
|
|
130
|
+
marginTop={-4}
|
|
131
|
+
/>
|
|
132
|
+
</Box>
|
|
133
|
+
|
|
134
|
+
<Box>
|
|
135
|
+
<Typography
|
|
136
|
+
text={`${duration}`}
|
|
137
|
+
size={theme.fontSizes.md}
|
|
138
|
+
align="center"
|
|
139
|
+
color={theme.colors.black[100]}
|
|
140
|
+
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
141
|
+
/>
|
|
142
|
+
|
|
143
|
+
<Typography
|
|
144
|
+
text={"DURAÇÃO"}
|
|
145
|
+
size={theme.fontSizes["2xs"]}
|
|
146
|
+
align="center"
|
|
147
|
+
color={theme.colors.black[100]}
|
|
148
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
149
|
+
marginTop={-4}
|
|
150
|
+
/>
|
|
151
|
+
</Box>
|
|
152
|
+
</Box>
|
|
153
|
+
</Box>
|
|
154
|
+
</Box>
|
|
155
|
+
);
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* EXPORTS
|
|
160
|
+
*/
|
|
161
|
+
export { CardWorkSession };
|