jornada-ui 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +33 -0
- package/lib/commonjs/@types/as-base-component.js +12 -0
- package/lib/commonjs/@types/as-base-component.js.map +1 -0
- package/lib/commonjs/assets/fonts/Inter-Black.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-ExtraLight.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Light.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Thin.ttf +0 -0
- package/lib/commonjs/common/constants/index.js +10 -0
- package/lib/commonjs/common/constants/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js +44 -0
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/arrow-left/index.js +42 -0
- package/lib/commonjs/common/icons-svg/arrow-left/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bell/index.js +35 -0
- package/lib/commonjs/common/icons-svg/bell/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bluetooth/index.js +53 -0
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js +56 -0
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/calendar/index.js +55 -0
- package/lib/commonjs/common/icons-svg/calendar/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/call-bell/index.js +39 -0
- package/lib/commonjs/common/icons-svg/call-bell/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/camera-plus/index.js +54 -0
- package/lib/commonjs/common/icons-svg/camera-plus/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/chart-bar/index.js +39 -0
- package/lib/commonjs/common/icons-svg/chart-bar/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js +43 -0
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js +42 -0
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/check-circle/index.js +50 -0
- package/lib/commonjs/common/icons-svg/check-circle/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/closed/index.js +56 -0
- package/lib/commonjs/common/icons-svg/closed/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +58 -0
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/credit-card/index.js +44 -0
- package/lib/commonjs/common/icons-svg/credit-card/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/currency/index.js +53 -0
- package/lib/commonjs/common/icons-svg/currency/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js +39 -0
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js +47 -0
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/eye/index.js +43 -0
- package/lib/commonjs/common/icons-svg/eye/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/eye-slash/index.js +41 -0
- package/lib/commonjs/common/icons-svg/eye-slash/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/file-text/index.js +51 -0
- package/lib/commonjs/common/icons-svg/file-text/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/files/index.js +35 -0
- package/lib/commonjs/common/icons-svg/files/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/gas-pump/index.js +54 -0
- package/lib/commonjs/common/icons-svg/gas-pump/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/gauge/index.js +53 -0
- package/lib/commonjs/common/icons-svg/gauge/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/gear/index.js +54 -0
- package/lib/commonjs/common/icons-svg/gear/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +332 -0
- package/lib/commonjs/common/icons-svg/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/interface.d.js +6 -0
- package/lib/commonjs/common/icons-svg/interface.d.js.map +1 -0
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js +39 -0
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/list/index.js +67 -0
- package/lib/commonjs/common/icons-svg/list/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/moon-stars/index.js +39 -0
- package/lib/commonjs/common/icons-svg/moon-stars/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/note-pincel/index.js +56 -0
- package/lib/commonjs/common/icons-svg/note-pincel/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/package/index.js +39 -0
- package/lib/commonjs/common/icons-svg/package/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/package-check/index.js +56 -0
- package/lib/commonjs/common/icons-svg/package-check/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/plus/index.js +55 -0
- package/lib/commonjs/common/icons-svg/plus/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/recused/index.js +48 -0
- package/lib/commonjs/common/icons-svg/recused/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js +51 -0
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js +61 -0
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js +50 -0
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/timer/index.js +53 -0
- package/lib/commonjs/common/icons-svg/timer/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/trophy/index.js +39 -0
- package/lib/commonjs/common/icons-svg/trophy/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/truck/index.js +51 -0
- package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js +50 -0
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/wifi-high/index.js +57 -0
- package/lib/commonjs/common/icons-svg/wifi-high/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/wifi-x/index.js +63 -0
- package/lib/commonjs/common/icons-svg/wifi-x/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/x-circle/index.js +56 -0
- package/lib/commonjs/common/icons-svg/x-circle/index.js.map +1 -0
- package/lib/commonjs/components/badge/index.js +34 -0
- package/lib/commonjs/components/badge/index.js.map +1 -0
- package/lib/commonjs/components/box/index.js +60 -0
- package/lib/commonjs/components/box/index.js.map +1 -0
- package/lib/commonjs/components/box/interface.d.js +6 -0
- package/lib/commonjs/components/box/interface.d.js.map +1 -0
- package/lib/commonjs/components/box/styles.js +28 -0
- package/lib/commonjs/components/box/styles.js.map +1 -0
- package/lib/commonjs/components/button/index.js +81 -0
- package/lib/commonjs/components/button/index.js.map +1 -0
- package/lib/commonjs/components/button/interface.d.js +6 -0
- package/lib/commonjs/components/button/interface.d.js.map +1 -0
- package/lib/commonjs/components/button/styles.js +41 -0
- package/lib/commonjs/components/button/styles.js.map +1 -0
- package/lib/commonjs/components/capture-photo/index.js +118 -0
- package/lib/commonjs/components/capture-photo/index.js.map +1 -0
- package/lib/commonjs/components/capture-photo/interface.d.js +6 -0
- package/lib/commonjs/components/capture-photo/interface.d.js.map +1 -0
- package/lib/commonjs/components/capture-photo/styles.js +29 -0
- package/lib/commonjs/components/capture-photo/styles.js.map +1 -0
- package/lib/commonjs/components/card-hours/index.js +121 -0
- package/lib/commonjs/components/card-hours/index.js.map +1 -0
- package/lib/commonjs/components/card-hours/interface.d.js +6 -0
- package/lib/commonjs/components/card-hours/interface.d.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js +136 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/interface.d.js +6 -0
- package/lib/commonjs/components/card-scheduled-journey/interface.d.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/styles.js +28 -0
- package/lib/commonjs/components/card-scheduled-journey/styles.js.map +1 -0
- package/lib/commonjs/components/card-work-session/index.js +184 -0
- package/lib/commonjs/components/card-work-session/index.js.map +1 -0
- package/lib/commonjs/components/card-work-session/interface.d.js +6 -0
- package/lib/commonjs/components/card-work-session/interface.d.js.map +1 -0
- package/lib/commonjs/components/header-profile/index.js +151 -0
- package/lib/commonjs/components/header-profile/index.js.map +1 -0
- package/lib/commonjs/components/header-profile/interface.d.js +6 -0
- package/lib/commonjs/components/header-profile/interface.d.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/index.js +113 -0
- package/lib/commonjs/components/selects/select-option/index.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/interface.d.js +6 -0
- package/lib/commonjs/components/selects/select-option/interface.d.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/styles.js +80 -0
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -0
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js +25 -0
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js.map +1 -0
- package/lib/commonjs/components/step-indicator/index.js +160 -0
- package/lib/commonjs/components/step-indicator/index.js.map +1 -0
- package/lib/commonjs/components/step-indicator/interface.d.js +6 -0
- package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -0
- package/lib/commonjs/components/step-indicator/styles.js +70 -0
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -0
- package/lib/commonjs/components/typography/index.js +81 -0
- package/lib/commonjs/components/typography/index.js.map +1 -0
- package/lib/commonjs/components/typography/interface.d.js +6 -0
- package/lib/commonjs/components/typography/interface.d.js.map +1 -0
- package/lib/commonjs/components/typography/styles.js +38 -0
- package/lib/commonjs/components/typography/styles.js.map +1 -0
- package/lib/commonjs/components/user-profile/index.js +220 -0
- package/lib/commonjs/components/user-profile/index.js.map +1 -0
- package/lib/commonjs/components/user-profile/interface.d.js +6 -0
- package/lib/commonjs/components/user-profile/interface.d.js.map +1 -0
- package/lib/commonjs/index.js +105 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/stories/box/box.stories.js +115 -0
- package/lib/commonjs/stories/box/box.stories.js.map +1 -0
- package/lib/commonjs/stories/button/button.stories.js +207 -0
- package/lib/commonjs/stories/button/button.stories.js.map +1 -0
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +173 -0
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -0
- package/lib/commonjs/stories/card-hours/card-hours.stories.js +108 -0
- package/lib/commonjs/stories/card-hours/card-hours.stories.js.map +1 -0
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js +102 -0
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -0
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +54 -0
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -0
- package/lib/commonjs/stories/header-profile/header-profile.stories.js +103 -0
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -0
- package/lib/commonjs/stories/select-option/select-option.stories.js +57 -0
- package/lib/commonjs/stories/select-option/select-option.stories.js.map +1 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js +106 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -0
- package/lib/commonjs/stories/typography/typography.stories.js +143 -0
- package/lib/commonjs/stories/typography/typography.stories.js.map +1 -0
- package/lib/commonjs/stories/user-profile/user-profile.stories.js +55 -0
- package/lib/commonjs/stories/user-profile/user-profile.stories.js.map +1 -0
- package/lib/commonjs/styles/global/interface.d.js +6 -0
- package/lib/commonjs/styles/global/interface.d.js.map +1 -0
- package/lib/commonjs/styles/global/styles.js +61 -0
- package/lib/commonjs/styles/global/styles.js.map +1 -0
- package/lib/commonjs/styles/global/theme-provider.js +30 -0
- package/lib/commonjs/styles/global/theme-provider.js.map +1 -0
- package/lib/commonjs/styles/theme/theme.js +167 -0
- package/lib/commonjs/styles/theme/theme.js.map +1 -0
- package/lib/commonjs/utils/format-date/index.js +40 -0
- package/lib/commonjs/utils/format-date/index.js.map +1 -0
- package/lib/module/@types/as-base-component.js +8 -0
- package/lib/module/@types/as-base-component.js.map +1 -0
- package/lib/module/assets/fonts/Inter-Black.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-ExtraLight.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Light.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Thin.ttf +0 -0
- package/lib/module/common/constants/index.js +7 -0
- package/lib/module/common/constants/index.js.map +1 -0
- package/lib/module/common/icons-svg/arrow-drop-down/index.js +35 -0
- package/lib/module/common/icons-svg/arrow-drop-down/index.js.map +1 -0
- package/lib/module/common/icons-svg/arrow-left/index.js +35 -0
- package/lib/module/common/icons-svg/arrow-left/index.js.map +1 -0
- package/lib/module/common/icons-svg/bell/index.js +28 -0
- package/lib/module/common/icons-svg/bell/index.js.map +1 -0
- package/lib/module/common/icons-svg/bluetooth/index.js +46 -0
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -0
- package/lib/module/common/icons-svg/bluetooth-connected/index.js +49 -0
- package/lib/module/common/icons-svg/bluetooth-connected/index.js.map +1 -0
- package/lib/module/common/icons-svg/calendar/index.js +48 -0
- package/lib/module/common/icons-svg/calendar/index.js.map +1 -0
- package/lib/module/common/icons-svg/call-bell/index.js +32 -0
- package/lib/module/common/icons-svg/call-bell/index.js.map +1 -0
- package/lib/module/common/icons-svg/camera-plus/index.js +47 -0
- package/lib/module/common/icons-svg/camera-plus/index.js.map +1 -0
- package/lib/module/common/icons-svg/chart-bar/index.js +32 -0
- package/lib/module/common/icons-svg/chart-bar/index.js.map +1 -0
- package/lib/module/common/icons-svg/check-box-fill/index.js +34 -0
- package/lib/module/common/icons-svg/check-box-fill/index.js.map +1 -0
- package/lib/module/common/icons-svg/check-box-outline/index.js +34 -0
- package/lib/module/common/icons-svg/check-box-outline/index.js.map +1 -0
- package/lib/module/common/icons-svg/check-circle/index.js +43 -0
- package/lib/module/common/icons-svg/check-circle/index.js.map +1 -0
- package/lib/module/common/icons-svg/closed/index.js +47 -0
- package/lib/module/common/icons-svg/closed/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +56 -0
- package/lib/module/common/icons-svg/constants/index.js.map +1 -0
- package/lib/module/common/icons-svg/credit-card/index.js +35 -0
- package/lib/module/common/icons-svg/credit-card/index.js.map +1 -0
- package/lib/module/common/icons-svg/currency/index.js +46 -0
- package/lib/module/common/icons-svg/currency/index.js.map +1 -0
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js +32 -0
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js.map +1 -0
- package/lib/module/common/icons-svg/exclamation-circle/index.js +40 -0
- package/lib/module/common/icons-svg/exclamation-circle/index.js.map +1 -0
- package/lib/module/common/icons-svg/eye/index.js +36 -0
- package/lib/module/common/icons-svg/eye/index.js.map +1 -0
- package/lib/module/common/icons-svg/eye-slash/index.js +34 -0
- package/lib/module/common/icons-svg/eye-slash/index.js.map +1 -0
- package/lib/module/common/icons-svg/file-text/index.js +42 -0
- package/lib/module/common/icons-svg/file-text/index.js.map +1 -0
- package/lib/module/common/icons-svg/files/index.js +28 -0
- package/lib/module/common/icons-svg/files/index.js.map +1 -0
- package/lib/module/common/icons-svg/gas-pump/index.js +47 -0
- package/lib/module/common/icons-svg/gas-pump/index.js.map +1 -0
- package/lib/module/common/icons-svg/gauge/index.js +46 -0
- package/lib/module/common/icons-svg/gauge/index.js.map +1 -0
- package/lib/module/common/icons-svg/gear/index.js +47 -0
- package/lib/module/common/icons-svg/gear/index.js.map +1 -0
- package/lib/module/common/icons-svg/index.js +326 -0
- package/lib/module/common/icons-svg/index.js.map +1 -0
- package/lib/module/common/icons-svg/interface.d.js +4 -0
- package/lib/module/common/icons-svg/interface.d.js.map +1 -0
- package/lib/module/common/icons-svg/lifebuoy/index.js +32 -0
- package/lib/module/common/icons-svg/lifebuoy/index.js.map +1 -0
- package/lib/module/common/icons-svg/list/index.js +60 -0
- package/lib/module/common/icons-svg/list/index.js.map +1 -0
- package/lib/module/common/icons-svg/moon-stars/index.js +32 -0
- package/lib/module/common/icons-svg/moon-stars/index.js.map +1 -0
- package/lib/module/common/icons-svg/note-pincel/index.js +49 -0
- package/lib/module/common/icons-svg/note-pincel/index.js.map +1 -0
- package/lib/module/common/icons-svg/package/index.js +32 -0
- package/lib/module/common/icons-svg/package/index.js.map +1 -0
- package/lib/module/common/icons-svg/package-check/index.js +47 -0
- package/lib/module/common/icons-svg/package-check/index.js.map +1 -0
- package/lib/module/common/icons-svg/plus/index.js +48 -0
- package/lib/module/common/icons-svg/plus/index.js.map +1 -0
- package/lib/module/common/icons-svg/recused/index.js +41 -0
- package/lib/module/common/icons-svg/recused/index.js.map +1 -0
- package/lib/module/common/icons-svg/shopping-cart/index.js +42 -0
- package/lib/module/common/icons-svg/shopping-cart/index.js.map +1 -0
- package/lib/module/common/icons-svg/steering-wheel/index.js +54 -0
- package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -0
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js +43 -0
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js.map +1 -0
- package/lib/module/common/icons-svg/timer/index.js +46 -0
- package/lib/module/common/icons-svg/timer/index.js.map +1 -0
- package/lib/module/common/icons-svg/trophy/index.js +32 -0
- package/lib/module/common/icons-svg/trophy/index.js.map +1 -0
- package/lib/module/common/icons-svg/truck/index.js +42 -0
- package/lib/module/common/icons-svg/truck/index.js.map +1 -0
- package/lib/module/common/icons-svg/truck-trailer/index.js +43 -0
- package/lib/module/common/icons-svg/truck-trailer/index.js.map +1 -0
- package/lib/module/common/icons-svg/wifi-high/index.js +50 -0
- package/lib/module/common/icons-svg/wifi-high/index.js.map +1 -0
- package/lib/module/common/icons-svg/wifi-x/index.js +56 -0
- package/lib/module/common/icons-svg/wifi-x/index.js.map +1 -0
- package/lib/module/common/icons-svg/x-circle/index.js +47 -0
- package/lib/module/common/icons-svg/x-circle/index.js.map +1 -0
- package/lib/module/components/badge/index.js +26 -0
- package/lib/module/components/badge/index.js.map +1 -0
- package/lib/module/components/box/index.js +52 -0
- package/lib/module/components/box/index.js.map +1 -0
- package/lib/module/components/box/interface.d.js +4 -0
- package/lib/module/components/box/interface.d.js.map +1 -0
- package/lib/module/components/box/styles.js +23 -0
- package/lib/module/components/box/styles.js.map +1 -0
- package/lib/module/components/button/index.js +73 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/button/interface.d.js +4 -0
- package/lib/module/components/button/interface.d.js.map +1 -0
- package/lib/module/components/button/styles.js +37 -0
- package/lib/module/components/button/styles.js.map +1 -0
- package/lib/module/components/capture-photo/index.js +109 -0
- package/lib/module/components/capture-photo/index.js.map +1 -0
- package/lib/module/components/capture-photo/interface.d.js +4 -0
- package/lib/module/components/capture-photo/interface.d.js.map +1 -0
- package/lib/module/components/capture-photo/styles.js +24 -0
- package/lib/module/components/capture-photo/styles.js.map +1 -0
- package/lib/module/components/card-hours/index.js +112 -0
- package/lib/module/components/card-hours/index.js.map +1 -0
- package/lib/module/components/card-hours/interface.d.js +4 -0
- package/lib/module/components/card-hours/interface.d.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/index.js +127 -0
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/interface.d.js +4 -0
- package/lib/module/components/card-scheduled-journey/interface.d.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/styles.js +23 -0
- package/lib/module/components/card-scheduled-journey/styles.js.map +1 -0
- package/lib/module/components/card-work-session/index.js +177 -0
- package/lib/module/components/card-work-session/index.js.map +1 -0
- package/lib/module/components/card-work-session/interface.d.js +4 -0
- package/lib/module/components/card-work-session/interface.d.js.map +1 -0
- package/lib/module/components/header-profile/index.js +142 -0
- package/lib/module/components/header-profile/index.js.map +1 -0
- package/lib/module/components/header-profile/interface.d.js +4 -0
- package/lib/module/components/header-profile/interface.d.js.map +1 -0
- package/lib/module/components/selects/select-option/index.js +106 -0
- package/lib/module/components/selects/select-option/index.js.map +1 -0
- package/lib/module/components/selects/select-option/interface.d.js +4 -0
- package/lib/module/components/selects/select-option/interface.d.js.map +1 -0
- package/lib/module/components/selects/select-option/styles.js +75 -0
- package/lib/module/components/selects/select-option/styles.js.map +1 -0
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js +21 -0
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js.map +1 -0
- package/lib/module/components/step-indicator/index.js +152 -0
- package/lib/module/components/step-indicator/index.js.map +1 -0
- package/lib/module/components/step-indicator/interface.d.js +4 -0
- package/lib/module/components/step-indicator/interface.d.js.map +1 -0
- package/lib/module/components/step-indicator/styles.js +66 -0
- package/lib/module/components/step-indicator/styles.js.map +1 -0
- package/lib/module/components/typography/index.js +74 -0
- package/lib/module/components/typography/index.js.map +1 -0
- package/lib/module/components/typography/interface.d.js +4 -0
- package/lib/module/components/typography/interface.d.js.map +1 -0
- package/lib/module/components/typography/styles.js +34 -0
- package/lib/module/components/typography/styles.js.map +1 -0
- package/lib/module/components/user-profile/index.js +211 -0
- package/lib/module/components/user-profile/index.js.map +1 -0
- package/lib/module/components/user-profile/interface.d.js +4 -0
- package/lib/module/components/user-profile/interface.d.js.map +1 -0
- package/lib/module/index.js +24 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/stories/box/box.stories.js +109 -0
- package/lib/module/stories/box/box.stories.js.map +1 -0
- package/lib/module/stories/button/button.stories.js +200 -0
- package/lib/module/stories/button/button.stories.js.map +1 -0
- package/lib/module/stories/capture-photo/capture-photo.stories.js +167 -0
- package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -0
- package/lib/module/stories/card-hours/card-hours.stories.js +102 -0
- package/lib/module/stories/card-hours/card-hours.stories.js.map +1 -0
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js +96 -0
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -0
- package/lib/module/stories/card-work-session/card-work-session.stories.js +49 -0
- package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -0
- package/lib/module/stories/header-profile/header-profile.stories.js +97 -0
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -0
- package/lib/module/stories/select-option/select-option.stories.js +51 -0
- package/lib/module/stories/select-option/select-option.stories.js.map +1 -0
- package/lib/module/stories/step-indicator/step-indicator.stories.js +100 -0
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -0
- package/lib/module/stories/typography/typography.stories.js +137 -0
- package/lib/module/stories/typography/typography.stories.js.map +1 -0
- package/lib/module/stories/user-profile/user-profile.stories.js +50 -0
- package/lib/module/stories/user-profile/user-profile.stories.js.map +1 -0
- package/lib/module/styles/global/interface.d.js +4 -0
- package/lib/module/styles/global/interface.d.js.map +1 -0
- package/lib/module/styles/global/styles.js +57 -0
- package/lib/module/styles/global/styles.js.map +1 -0
- package/lib/module/styles/global/theme-provider.js +21 -0
- package/lib/module/styles/global/theme-provider.js.map +1 -0
- package/lib/module/styles/theme/theme.js +163 -0
- package/lib/module/styles/theme/theme.js.map +1 -0
- package/lib/module/utils/format-date/index.js +37 -0
- package/lib/module/utils/format-date/index.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/@types/as-base-component.d.ts +3 -0
- package/lib/typescript/commonjs/src/@types/as-base-component.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/common/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +51 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/badge/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/badge/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/box/index.d.ts +74 -0
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/box/styles.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts +80 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts +82 -0
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +76 -0
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +68 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +77 -0
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts +70 -0
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +16 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +64 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +23 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +57 -0
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +32 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +30 -0
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts +71 -0
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts +9 -0
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts +11 -0
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts +8 -0
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +11 -0
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts +7 -0
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts +11 -0
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts +7 -0
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts +8 -0
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +16 -0
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts +8 -0
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +47 -0
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +152 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +151 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/format-date/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/utils/format-date/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/@types/as-base-component.d.ts +3 -0
- package/lib/typescript/module/src/@types/as-base-component.d.ts.map +1 -0
- package/lib/typescript/module/src/common/constants/index.d.ts +5 -0
- package/lib/typescript/module/src/common/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts +8 -0
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +51 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +8 -0
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +8 -0
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +12 -0
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/badge/index.d.ts +20 -0
- package/lib/typescript/module/src/components/badge/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/box/index.d.ts +74 -0
- package/lib/typescript/module/src/components/box/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/box/styles.d.ts +15 -0
- package/lib/typescript/module/src/components/box/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/index.d.ts +80 -0
- package/lib/typescript/module/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/styles.d.ts +24 -0
- package/lib/typescript/module/src/components/button/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +82 -0
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +12 -0
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-hours/index.d.ts +76 -0
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +68 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts +12 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-work-session/index.d.ts +77 -0
- package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/header-profile/index.d.ts +70 -0
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +16 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +64 -0
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +23 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +57 -0
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/typography/index.d.ts +32 -0
- package/lib/typescript/module/src/components/typography/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/typography/styles.d.ts +30 -0
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/user-profile/index.d.ts +71 -0
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +18 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +9 -0
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +11 -0
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +8 -0
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +11 -0
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +7 -0
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +11 -0
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +7 -0
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +8 -0
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts +16 -0
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +8 -0
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/global/styles.d.ts +47 -0
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +152 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts +151 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/format-date/index.d.ts +18 -0
- package/lib/typescript/module/src/utils/format-date/index.d.ts.map +1 -0
- package/package.json +191 -0
- package/react-native.config.js +4 -0
- package/src/@types/as-base-component.ts +9 -0
- package/src/assets/fonts/Inter-Black.ttf +0 -0
- package/src/assets/fonts/Inter-Bold.ttf +0 -0
- package/src/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/src/assets/fonts/Inter-ExtraLight.ttf +0 -0
- package/src/assets/fonts/Inter-Light.ttf +0 -0
- package/src/assets/fonts/Inter-Medium.ttf +0 -0
- package/src/assets/fonts/Inter-Regular.ttf +0 -0
- package/src/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/src/assets/fonts/Inter-Thin.ttf +0 -0
- package/src/common/constants/index.ts +5 -0
- package/src/common/icons-svg/arrow-drop-down/index.tsx +28 -0
- package/src/common/icons-svg/arrow-left/index.tsx +32 -0
- package/src/common/icons-svg/bell/index.tsx +26 -0
- package/src/common/icons-svg/bluetooth/index.tsx +39 -0
- package/src/common/icons-svg/bluetooth-connected/index.tsx +43 -0
- package/src/common/icons-svg/calendar/index.tsx +40 -0
- package/src/common/icons-svg/call-bell/index.tsx +29 -0
- package/src/common/icons-svg/camera-plus/index.tsx +40 -0
- package/src/common/icons-svg/chart-bar/index.tsx +29 -0
- package/src/common/icons-svg/check-box-fill/index.tsx +30 -0
- package/src/common/icons-svg/check-box-outline/index.tsx +30 -0
- package/src/common/icons-svg/check-circle/index.tsx +40 -0
- package/src/common/icons-svg/closed/index.tsx +34 -0
- package/src/common/icons-svg/constants/index.ts +53 -0
- package/src/common/icons-svg/credit-card/index.tsx +32 -0
- package/src/common/icons-svg/currency/index.tsx +39 -0
- package/src/common/icons-svg/currency-circle-dollar/index.tsx +29 -0
- package/src/common/icons-svg/exclamation-circle/index.tsx +33 -0
- package/src/common/icons-svg/eye/index.tsx +31 -0
- package/src/common/icons-svg/eye-slash/index.tsx +31 -0
- package/src/common/icons-svg/file-text/index.tsx +39 -0
- package/src/common/icons-svg/files/index.tsx +26 -0
- package/src/common/icons-svg/gas-pump/index.tsx +39 -0
- package/src/common/icons-svg/gauge/index.tsx +39 -0
- package/src/common/icons-svg/gear/index.tsx +39 -0
- package/src/common/icons-svg/index.tsx +195 -0
- package/src/common/icons-svg/interface.d.ts +19 -0
- package/src/common/icons-svg/lifebuoy/index.tsx +29 -0
- package/src/common/icons-svg/list/index.tsx +58 -0
- package/src/common/icons-svg/moon-stars/index.tsx +29 -0
- package/src/common/icons-svg/note-pincel/index.tsx +40 -0
- package/src/common/icons-svg/package/index.tsx +29 -0
- package/src/common/icons-svg/package-check/index.tsx +45 -0
- package/src/common/icons-svg/plus/index.tsx +40 -0
- package/src/common/icons-svg/recused/index.tsx +33 -0
- package/src/common/icons-svg/shopping-cart/index.tsx +39 -0
- package/src/common/icons-svg/steering-wheel/index.tsx +49 -0
- package/src/common/icons-svg/steering-wheel-fill/index.tsx +36 -0
- package/src/common/icons-svg/timer/index.tsx +39 -0
- package/src/common/icons-svg/trophy/index.tsx +29 -0
- package/src/common/icons-svg/truck/index.tsx +39 -0
- package/src/common/icons-svg/truck-trailer/index.tsx +36 -0
- package/src/common/icons-svg/wifi-high/index.tsx +43 -0
- package/src/common/icons-svg/wifi-x/index.tsx +50 -0
- package/src/common/icons-svg/x-circle/index.tsx +40 -0
- package/src/components/box/index.tsx +53 -0
- package/src/components/box/interface.d.ts +147 -0
- package/src/components/box/styles.ts +24 -0
- package/src/components/button/index.tsx +75 -0
- package/src/components/button/interface.d.ts +153 -0
- package/src/components/button/styles.ts +35 -0
- package/src/components/capture-photo/index.tsx +133 -0
- package/src/components/capture-photo/interface.d.ts +160 -0
- package/src/components/capture-photo/styles.ts +26 -0
- package/src/components/card-hours/index.tsx +121 -0
- package/src/components/card-hours/interface.d.ts +153 -0
- package/src/components/card-scheduled-journey/index.tsx +138 -0
- package/src/components/card-scheduled-journey/interface.d.ts +140 -0
- package/src/components/card-scheduled-journey/styles.ts +26 -0
- package/src/components/card-work-session/index.tsx +172 -0
- package/src/components/card-work-session/interface.d.ts +150 -0
- package/src/components/header-profile/index.tsx +137 -0
- package/src/components/header-profile/interface.d.ts +143 -0
- package/src/components/selects/select-option/index.tsx +95 -0
- package/src/components/selects/select-option/interface.d.ts +25 -0
- package/src/components/selects/select-option/styles.ts +75 -0
- package/src/components/step-indicator/helpers/get-icon-by-status.tsx +20 -0
- package/src/components/step-indicator/index.tsx +170 -0
- package/src/components/step-indicator/interface.d.ts +36 -0
- package/src/components/step-indicator/styles.ts +66 -0
- package/src/components/typography/index.tsx +78 -0
- package/src/components/typography/interface.d.ts +102 -0
- package/src/components/typography/styles.ts +34 -0
- package/src/components/user-profile/index.tsx +217 -0
- package/src/components/user-profile/interface.d.ts +126 -0
- package/src/index.tsx +21 -0
- package/src/stories/box/box.stories.tsx +105 -0
- package/src/stories/button/button.stories.tsx +208 -0
- package/src/stories/capture-photo/capture-photo.stories.tsx +174 -0
- package/src/stories/card-hours/card-hours.stories.tsx +108 -0
- package/src/stories/card-scheduled-journey/card-scheduled-journey.stories.tsx +105 -0
- package/src/stories/card-work-session/card-work-session.stories.tsx +53 -0
- package/src/stories/header-profile/header-profile.stories.tsx +105 -0
- package/src/stories/select-option/select-option.stories.tsx +50 -0
- package/src/stories/step-indicator/step-indicator.stories.tsx +117 -0
- package/src/stories/typography/typography.stories.tsx +151 -0
- package/src/stories/user-profile/user-profile.stories.tsx +56 -0
- package/src/styles/global/interface.d.ts +131 -0
- package/src/styles/global/styles.ts +63 -0
- package/src/styles/global/theme-provider.tsx +15 -0
- package/src/styles/theme/theme.ts +167 -0
- package/src/utils/format-date/index.ts +40 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TextProps } from "react-native";
|
|
2
|
+
|
|
3
|
+
type IOptions = {
|
|
4
|
+
id?: number | string;
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* IMPORTS
|
|
10
|
+
*/
|
|
11
|
+
type ISelectDropDownProps = TextProps & {
|
|
12
|
+
dataOption: IOptions[];
|
|
13
|
+
titleLabel: string;
|
|
14
|
+
sizeTitleLabel?: number;
|
|
15
|
+
colortitleLabel?: string;
|
|
16
|
+
|
|
17
|
+
/**retorna o valor selecionado */
|
|
18
|
+
// eslint-disable-next-line no-unused-vars
|
|
19
|
+
handleSelectDown: (value: string) => void;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* EXPORTS
|
|
24
|
+
*/
|
|
25
|
+
export type { ISelectDropDownProps };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import { StyleSheet } from "react-native";
|
|
5
|
+
|
|
6
|
+
// typings
|
|
7
|
+
import { type ISelectDropDownProps } from "./interface";
|
|
8
|
+
|
|
9
|
+
// theme
|
|
10
|
+
import { theme } from "../../../styles/theme/theme";
|
|
11
|
+
|
|
12
|
+
const styles = (props: ISelectDropDownProps) =>
|
|
13
|
+
StyleSheet.create({
|
|
14
|
+
container: {
|
|
15
|
+
width: "100%",
|
|
16
|
+
marginBottom: 16,
|
|
17
|
+
},
|
|
18
|
+
label: {
|
|
19
|
+
fontSize: props.sizeTitleLabel ?? 16,
|
|
20
|
+
fontWeight: "bold",
|
|
21
|
+
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
22
|
+
marginBottom: 5,
|
|
23
|
+
},
|
|
24
|
+
selectBox: {
|
|
25
|
+
flexDirection: "row",
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
justifyContent: "space-between",
|
|
28
|
+
width: "100%",
|
|
29
|
+
height: 45,
|
|
30
|
+
borderWidth: 1,
|
|
31
|
+
borderColor: theme.colors.gray[700],
|
|
32
|
+
borderRadius: 10,
|
|
33
|
+
backgroundColor: theme.colors.neutral[25],
|
|
34
|
+
paddingHorizontal: 10,
|
|
35
|
+
},
|
|
36
|
+
selectedText: {
|
|
37
|
+
fontSize: 14,
|
|
38
|
+
color: "#666",
|
|
39
|
+
},
|
|
40
|
+
modalOverlay: {
|
|
41
|
+
flex: 1,
|
|
42
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
43
|
+
justifyContent: "center",
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
padding: 24,
|
|
46
|
+
},
|
|
47
|
+
modalContainer: {
|
|
48
|
+
width: "100%",
|
|
49
|
+
backgroundColor: theme.colors.neutral[25],
|
|
50
|
+
borderRadius: 10,
|
|
51
|
+
padding: 15,
|
|
52
|
+
alignItems: "center",
|
|
53
|
+
},
|
|
54
|
+
option: {
|
|
55
|
+
width: "100%",
|
|
56
|
+
padding: 10,
|
|
57
|
+
alignItems: "flex-start",
|
|
58
|
+
borderBottomWidth: 1,
|
|
59
|
+
borderBottomColor: theme.colors.gray[300],
|
|
60
|
+
},
|
|
61
|
+
optionText: {
|
|
62
|
+
fontSize: 14,
|
|
63
|
+
color: theme.colors.black[100],
|
|
64
|
+
fontWeight: "500",
|
|
65
|
+
},
|
|
66
|
+
closeButtonText: {
|
|
67
|
+
color: theme.colors.neutral[25],
|
|
68
|
+
fontWeight: "bold",
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* EXPORTS
|
|
74
|
+
*/
|
|
75
|
+
export { styles };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import { SVG_NAME } from "../../../common/icons-svg/constants";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Função que mapeará os ícones correspondentes em SVG 🛠️.
|
|
8
|
+
* @param propertyType
|
|
9
|
+
* @returns SVG
|
|
10
|
+
*/
|
|
11
|
+
const getIconKeyByValue = (propertyType: string): keyof typeof SVG_NAME | undefined => {
|
|
12
|
+
return (Object.keys(SVG_NAME) as Array<keyof typeof SVG_NAME>).find(
|
|
13
|
+
(key) => SVG_NAME[key] === propertyType
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* EXPORTS
|
|
19
|
+
*/
|
|
20
|
+
export { getIconKeyByValue };
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React, { forwardRef } from "react";
|
|
5
|
+
import { View, Text } from "react-native";
|
|
6
|
+
|
|
7
|
+
import { getIconKeyByValue } from "./helpers/get-icon-by-status";
|
|
8
|
+
|
|
9
|
+
// commons / svg
|
|
10
|
+
import { Icons } from "../../common/icons-svg";
|
|
11
|
+
|
|
12
|
+
// typings
|
|
13
|
+
import { asBaseComponent } from "../../@types/as-base-component";
|
|
14
|
+
import { type IStepIndicator } from "./interface";
|
|
15
|
+
|
|
16
|
+
// styles
|
|
17
|
+
import { styles } from "./styles";
|
|
18
|
+
|
|
19
|
+
const StepIndicator = forwardRef<any, IStepIndicator>((props, ref): React.ReactElement => {
|
|
20
|
+
const {
|
|
21
|
+
data = [],
|
|
22
|
+
type,
|
|
23
|
+
backgroundColorBall,
|
|
24
|
+
textColorDescription,
|
|
25
|
+
titleColor,
|
|
26
|
+
titleNumberColor,
|
|
27
|
+
} = props;
|
|
28
|
+
|
|
29
|
+
const StepDefault = () => {
|
|
30
|
+
return (
|
|
31
|
+
<>
|
|
32
|
+
{data!.length > 0 &&
|
|
33
|
+
data!.map((history, index) => (
|
|
34
|
+
<View
|
|
35
|
+
ref={ref}
|
|
36
|
+
testID="step-indicator"
|
|
37
|
+
style={styles({}).containerIndicator}
|
|
38
|
+
key={history.id}
|
|
39
|
+
>
|
|
40
|
+
<View style={styles({ backgroundColorBall }).containerBall}>
|
|
41
|
+
{data!?.length > 1 && index < data!?.length - 1 && (
|
|
42
|
+
<View
|
|
43
|
+
style={{
|
|
44
|
+
width: 2,
|
|
45
|
+
height: 84,
|
|
46
|
+
marginTop: 116,
|
|
47
|
+
position: "relative",
|
|
48
|
+
backgroundColor: "#050022",
|
|
49
|
+
}}
|
|
50
|
+
/>
|
|
51
|
+
)}
|
|
52
|
+
<Text style={styles({ titleNumberColor }).titleNumber}>
|
|
53
|
+
{data!?.length - index}
|
|
54
|
+
</Text>
|
|
55
|
+
</View>
|
|
56
|
+
|
|
57
|
+
<View style={styles({}).containerMain}>
|
|
58
|
+
<Text style={styles({ titleColor }).title}>{history?.titleLabel}</Text>
|
|
59
|
+
|
|
60
|
+
{history?.data_inicio && (
|
|
61
|
+
<Text style={styles({ textColorDescription }).titleDescription}>
|
|
62
|
+
{`Inicio: ${history.data_inicio} ás ${history.data_fim}`}
|
|
63
|
+
</Text>
|
|
64
|
+
)}
|
|
65
|
+
|
|
66
|
+
{history.description && (
|
|
67
|
+
<Text style={styles({ textColorDescription }).titleDescription}>
|
|
68
|
+
Duração: {history?.description}
|
|
69
|
+
</Text>
|
|
70
|
+
)}
|
|
71
|
+
</View>
|
|
72
|
+
</View>
|
|
73
|
+
))}
|
|
74
|
+
</>
|
|
75
|
+
);
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const StepCustom = () => {
|
|
79
|
+
return (
|
|
80
|
+
<View
|
|
81
|
+
style={{
|
|
82
|
+
width: "100%",
|
|
83
|
+
height: 84,
|
|
84
|
+
paddingHorizontal: 24,
|
|
85
|
+
display: "flex",
|
|
86
|
+
flexDirection: "row",
|
|
87
|
+
}}
|
|
88
|
+
>
|
|
89
|
+
{data.map((step, indexCustom) => {
|
|
90
|
+
const titleLabel = getIconKeyByValue(step.titleLabel);
|
|
91
|
+
|
|
92
|
+
return (
|
|
93
|
+
<>
|
|
94
|
+
<View
|
|
95
|
+
key={String(Math.random() * 10)}
|
|
96
|
+
style={{
|
|
97
|
+
width: 45,
|
|
98
|
+
height: 45,
|
|
99
|
+
backgroundColor: indexCustom <= 3 ? "orange" : "transparent",
|
|
100
|
+
borderRadius: 50,
|
|
101
|
+
alignItems: "center",
|
|
102
|
+
justifyContent: "center",
|
|
103
|
+
borderWidth: 1,
|
|
104
|
+
borderColor: "#fff",
|
|
105
|
+
}}
|
|
106
|
+
>
|
|
107
|
+
<View
|
|
108
|
+
style={{
|
|
109
|
+
width: 45,
|
|
110
|
+
height: 45,
|
|
111
|
+
backgroundColor: "transparent",
|
|
112
|
+
borderRadius: 50,
|
|
113
|
+
alignItems: "center",
|
|
114
|
+
justifyContent: "center",
|
|
115
|
+
}}
|
|
116
|
+
>
|
|
117
|
+
{titleLabel && <Icons icon={titleLabel} />}
|
|
118
|
+
</View>
|
|
119
|
+
<Text
|
|
120
|
+
style={{
|
|
121
|
+
position: "absolute",
|
|
122
|
+
top: 56,
|
|
123
|
+
fontWeight: "600",
|
|
124
|
+
fontSize: 10,
|
|
125
|
+
lineHeight: 14,
|
|
126
|
+
textAlign: "center",
|
|
127
|
+
color: "#fff",
|
|
128
|
+
}}
|
|
129
|
+
>
|
|
130
|
+
{step.titleLabel}
|
|
131
|
+
</Text>
|
|
132
|
+
</View>
|
|
133
|
+
|
|
134
|
+
{data!?.length > 1 && indexCustom < data!?.length - 1 && (
|
|
135
|
+
<View
|
|
136
|
+
key={indexCustom}
|
|
137
|
+
style={{
|
|
138
|
+
width: 90,
|
|
139
|
+
height: 2,
|
|
140
|
+
marginTop: 24,
|
|
141
|
+
position: "relative",
|
|
142
|
+
backgroundColor: "orange",
|
|
143
|
+
}}
|
|
144
|
+
/>
|
|
145
|
+
)}
|
|
146
|
+
</>
|
|
147
|
+
);
|
|
148
|
+
})}
|
|
149
|
+
</View>
|
|
150
|
+
);
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
const handleRenderComponent = (stepType: "default" | "custom") => {
|
|
154
|
+
switch (stepType) {
|
|
155
|
+
case "default":
|
|
156
|
+
return <StepDefault />;
|
|
157
|
+
case "custom":
|
|
158
|
+
return <StepCustom />;
|
|
159
|
+
default:
|
|
160
|
+
return <View />;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
return <>{handleRenderComponent(type!)}</>;
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Componente StepIndicator para a interação da ui.
|
|
169
|
+
*/
|
|
170
|
+
export default asBaseComponent(StepIndicator);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import type { ViewProps } from "react-native";
|
|
6
|
+
|
|
7
|
+
type IData = {
|
|
8
|
+
id: number;
|
|
9
|
+
titleLabel: string;
|
|
10
|
+
data_inicio: string;
|
|
11
|
+
data_fim: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
type IStepIndicator = ViewProps & {
|
|
15
|
+
/**dados que vão ser renderizados */
|
|
16
|
+
data?: IData[];
|
|
17
|
+
|
|
18
|
+
/**tupo de renderização padrão ou customizada */
|
|
19
|
+
type?: "default" | "custom";
|
|
20
|
+
|
|
21
|
+
/**tamanho do step indicator */
|
|
22
|
+
backgroundColorBall?: string;
|
|
23
|
+
|
|
24
|
+
/**cor do texto */
|
|
25
|
+
titleColor?: string;
|
|
26
|
+
|
|
27
|
+
/**cor do numero do step indicator */
|
|
28
|
+
titleNumberColor?: string;
|
|
29
|
+
|
|
30
|
+
/**cor do texto da descrição */
|
|
31
|
+
textColorDescription?: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* EXPORTS
|
|
35
|
+
*/
|
|
36
|
+
export type { IStepIndicator };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { StyleSheet } from "react-native";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
import { type IStepIndicator } from "./interface";
|
|
9
|
+
|
|
10
|
+
// styles
|
|
11
|
+
import { theme } from "../../styles/theme/theme";
|
|
12
|
+
|
|
13
|
+
const styles = (props: IStepIndicator) =>
|
|
14
|
+
StyleSheet.create({
|
|
15
|
+
containerIndicator: {
|
|
16
|
+
width: "100%",
|
|
17
|
+
height: 86,
|
|
18
|
+
flexDirection: "row",
|
|
19
|
+
justifyContent: "flex-start",
|
|
20
|
+
},
|
|
21
|
+
containerBall: {
|
|
22
|
+
width: 32,
|
|
23
|
+
height: 32,
|
|
24
|
+
backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],
|
|
25
|
+
flexDirection: "row",
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
justifyContent: "center",
|
|
28
|
+
borderRadius: 16,
|
|
29
|
+
},
|
|
30
|
+
title: {
|
|
31
|
+
color: props.titleColor ?? "black",
|
|
32
|
+
textAlign: "center",
|
|
33
|
+
lineHeight: 24,
|
|
34
|
+
fontSize: theme.fontSizes["sm"],
|
|
35
|
+
fontWeight: "500",
|
|
36
|
+
marginLeft: 8,
|
|
37
|
+
},
|
|
38
|
+
titleNumber: {
|
|
39
|
+
color: props.titleNumberColor ?? theme.colors.neutral[25],
|
|
40
|
+
textAlign: "center",
|
|
41
|
+
lineHeight: 18,
|
|
42
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
43
|
+
fontSize: theme.fontSizes["xs"],
|
|
44
|
+
position: "absolute",
|
|
45
|
+
},
|
|
46
|
+
titleDescription: {
|
|
47
|
+
color: props.textColorDescription ?? theme.colors.gray[700],
|
|
48
|
+
textAlign: "center",
|
|
49
|
+
lineHeight: 16,
|
|
50
|
+
fontSize: 12,
|
|
51
|
+
fontFamily: theme.fonts.inter_light_300,
|
|
52
|
+
marginLeft: 8,
|
|
53
|
+
},
|
|
54
|
+
containerMain: {
|
|
55
|
+
width: "100%",
|
|
56
|
+
height: 56,
|
|
57
|
+
flexDirection: "column",
|
|
58
|
+
alignItems: "flex-start",
|
|
59
|
+
marginLeft: 2,
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* EXPORTS
|
|
65
|
+
*/
|
|
66
|
+
export { styles };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React, { forwardRef } from "react";
|
|
5
|
+
import { Text } from "react-native";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
import { asBaseComponent } from "../../@types/as-base-component";
|
|
9
|
+
|
|
10
|
+
//styles
|
|
11
|
+
import { styles } from "./styles";
|
|
12
|
+
|
|
13
|
+
import type { ITextInterface } from "./interface";
|
|
14
|
+
|
|
15
|
+
const Typography = forwardRef<any, ITextInterface>((props, ref): React.ReactElement => {
|
|
16
|
+
// desestruturando as propiedades do componente
|
|
17
|
+
const {
|
|
18
|
+
text = "Hello Dev",
|
|
19
|
+
color = "#1E1E1E",
|
|
20
|
+
size = 23,
|
|
21
|
+
lineHeight = 24,
|
|
22
|
+
align = "left",
|
|
23
|
+
textDecoration,
|
|
24
|
+
fontWeight = "300",
|
|
25
|
+
fontFamily,
|
|
26
|
+
margin,
|
|
27
|
+
marginLeft,
|
|
28
|
+
marginRight,
|
|
29
|
+
marginTop,
|
|
30
|
+
marginBottom,
|
|
31
|
+
padding,
|
|
32
|
+
paddingLeft,
|
|
33
|
+
paddingRight,
|
|
34
|
+
paddingTop,
|
|
35
|
+
paddingBottom,
|
|
36
|
+
numberOfLines,
|
|
37
|
+
ellipsizeMode,
|
|
38
|
+
} = props;
|
|
39
|
+
|
|
40
|
+
// montando os dados que estão vindo via props para o componente
|
|
41
|
+
const data = {
|
|
42
|
+
color,
|
|
43
|
+
size,
|
|
44
|
+
lineHeight,
|
|
45
|
+
align,
|
|
46
|
+
textDecoration,
|
|
47
|
+
fontWeight,
|
|
48
|
+
fontFamily,
|
|
49
|
+
margin,
|
|
50
|
+
marginLeft,
|
|
51
|
+
marginRight,
|
|
52
|
+
marginTop,
|
|
53
|
+
marginBottom,
|
|
54
|
+
padding,
|
|
55
|
+
paddingLeft,
|
|
56
|
+
paddingRight,
|
|
57
|
+
paddingTop,
|
|
58
|
+
paddingBottom,
|
|
59
|
+
} as ITextInterface;
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<Text
|
|
63
|
+
ref={ref}
|
|
64
|
+
numberOfLines={numberOfLines}
|
|
65
|
+
ellipsizeMode={ellipsizeMode}
|
|
66
|
+
style={styles(data).text}
|
|
67
|
+
>
|
|
68
|
+
{text}
|
|
69
|
+
</Text>
|
|
70
|
+
);
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
Typography.displayName = "Text";
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Componente Typography para a interação da ui.
|
|
77
|
+
*/
|
|
78
|
+
export default asBaseComponent(Typography);
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import { type TextProps as RNTextProps } from "react-native";
|
|
5
|
+
|
|
6
|
+
import { theme } from "../../styles/theme/theme";
|
|
7
|
+
|
|
8
|
+
type ITextInterface = RNTextProps & {
|
|
9
|
+
/**
|
|
10
|
+
* Propiedade texto que serar renderizado pro usuário final
|
|
11
|
+
*/
|
|
12
|
+
text: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
color?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Propiedade size define o tamanho e a orientação da caixa que é usada para representar uma página. Na maioria das vezes, esse tamanho corresponde ao tamanho alvo da página impressa, se aplicável.
|
|
21
|
+
*/
|
|
22
|
+
size?: number;
|
|
23
|
+
|
|
24
|
+
align?: "center" | "left" | "right";
|
|
25
|
+
lineHeight?: number;
|
|
26
|
+
letterSpacing?: keyof typeof theme.letterSpacing;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* A propriedade text-decoration do CSS é usada para definir a formatação de underline, overline, line-through ou blink. As decorações underline e overline são posicionadas abaixo e acima do texto (respectivamente), e line-through cortando-o.
|
|
30
|
+
*/
|
|
31
|
+
textDecoration?: "line-through" | "underline" | "none";
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* A propriedade CSS font-weight define o peso (ou negrito) da fonte. Os pesos disponíveis dependem da família de fontes definida atualmente.
|
|
35
|
+
*/
|
|
36
|
+
fontWeight?: "100" | "300" | "400" | "500" | "600" | "700";
|
|
37
|
+
|
|
38
|
+
// fontFamily?: keyof typeof theme.fonts;
|
|
39
|
+
fontFamily?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* A propriedade margin do CSS define a área de margem nos quatro lados do elemento. É uma abreviação que define todas as margens individuais de uma só vez: margin-top, margin-right (en-US), margin-bottom, e margin-left (en-US).
|
|
43
|
+
*/
|
|
44
|
+
margin?: number;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A propriedade CSS define a área de margem no lado esquerdo de um elemento. Um valor positivo o coloca mais distante de seus vizinhos, enquanto um valor negativo o coloca mais próximo.margin-left
|
|
48
|
+
*/
|
|
49
|
+
marginLeft?: number;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* A propriedade CSS define a área de margem no lado direito de um elemento. Um valor positivo o coloca mais distante de seus vizinhos, enquanto um valor negativo o coloca mais próximo.margin-right
|
|
53
|
+
*/
|
|
54
|
+
marginRight?: number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* A propriedade CSS margin-top de um elemento indica o espaço acima do elemento. Valores negativos são aceitos.
|
|
58
|
+
*/
|
|
59
|
+
marginTop?: number;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* A propriedade CSS margin-bottom define a margin area na parte inferior de um elemento. Um valor positivo coloca o valor mais longe de outros elementos vizinhos, enquanto um valor negativo, aproxima.
|
|
63
|
+
*/
|
|
64
|
+
marginBottom?: number;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* A propriedade padding define uma a distância entre o conteúdo de um elemento e suas bordas. É um atalho que evita definir uma distância para cada lado separadamente (padding-top, padding-right, padding-bottom, padding-left).
|
|
68
|
+
*/
|
|
69
|
+
padding?: number;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* A propriedade CSS padding-left é um elemento que define o espaço de preenchimento obrigatório no lado esquerdo de um elemento. padding area é o espaço entre o conteúdo do elemento e a borda. Um valor negativo não é permitido.
|
|
73
|
+
*/
|
|
74
|
+
paddingLeft?: number;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* A propriedade CSS define a largura da área de preenchimento à direita de um elemento.padding-right
|
|
78
|
+
*/
|
|
79
|
+
paddingRight?: number;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* A propriedade CSS define a altura da área de preenchimento na parte superior de um elemento.padding-top
|
|
83
|
+
*/
|
|
84
|
+
paddingTop?: number;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* A propriedade CSS define a altura da área de preenchimento na parte inferior de um elemento.padding-bottom
|
|
88
|
+
*/
|
|
89
|
+
paddingBottom?: number;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Define o número máximo de linhas que o texto pode ocupar. Se o texto for maior que esse limite, ele será truncado. numberOfLines
|
|
93
|
+
*
|
|
94
|
+
* Define onde a elipse (...) será adicionada quando o texto for cortado devido ao numberOfLines.
|
|
95
|
+
*/
|
|
96
|
+
numberOfLines?: number;
|
|
97
|
+
ellipsizeMode?: "head" | "middle" | "tail" | "clip";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* EXPORTS
|
|
101
|
+
*/
|
|
102
|
+
export { ITextInterface };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { StyleSheet } from "react-native";
|
|
6
|
+
import { type ITextInterface } from "./interface";
|
|
7
|
+
|
|
8
|
+
const styles = (props: ITextInterface) =>
|
|
9
|
+
StyleSheet.create({
|
|
10
|
+
text: {
|
|
11
|
+
textAlign: props?.align,
|
|
12
|
+
fontSize: props?.size ?? 20,
|
|
13
|
+
fontWeight: props?.fontWeight,
|
|
14
|
+
fontFamily: props.fontFamily ?? "Inter-Medium",
|
|
15
|
+
color: props?.color,
|
|
16
|
+
lineHeight: props?.lineHeight,
|
|
17
|
+
letterSpacing: 0.5,
|
|
18
|
+
margin: props?.margin,
|
|
19
|
+
marginLeft: props?.marginLeft ?? 0,
|
|
20
|
+
marginRight: props?.marginRight ?? 0,
|
|
21
|
+
marginTop: props?.marginTop ?? 0,
|
|
22
|
+
marginBottom: props?.marginBottom ?? 0,
|
|
23
|
+
padding: props?.padding ?? 0,
|
|
24
|
+
paddingLeft: props?.paddingLeft ?? 0,
|
|
25
|
+
paddingRight: props?.paddingRight ?? 0,
|
|
26
|
+
paddingTop: props?.paddingTop ?? 0,
|
|
27
|
+
paddingBottom: props?.paddingBottom ?? 0,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* EXPORTS
|
|
33
|
+
*/
|
|
34
|
+
export { styles };
|