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,174 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import CapturePhoto from "../../components/capture-photo";
|
|
6
|
+
|
|
7
|
+
// styles
|
|
8
|
+
import { theme } from "../../styles/theme/theme";
|
|
9
|
+
|
|
10
|
+
const meta: Meta<typeof CapturePhoto> = {
|
|
11
|
+
title: "componente/ CapturePhoto",
|
|
12
|
+
component: CapturePhoto as React.FC,
|
|
13
|
+
args: {
|
|
14
|
+
takePhotoWithImagePicker: () => {},
|
|
15
|
+
imageComprovante: null,
|
|
16
|
+
onPress: () => {},
|
|
17
|
+
},
|
|
18
|
+
parameters: {
|
|
19
|
+
notes: `
|
|
20
|
+
# CapturePhoto
|
|
21
|
+
|
|
22
|
+
Este é um componente de Captura de Foto.
|
|
23
|
+
Você usa assim:
|
|
24
|
+
\`\`\`tsx
|
|
25
|
+
<CapturePhoto
|
|
26
|
+
takePhotoWithImagePicker={() => takePhotoWithImagePicker}
|
|
27
|
+
imageComprovante={null}
|
|
28
|
+
flexStyle={{
|
|
29
|
+
textAlign: "center",
|
|
30
|
+
justifyContent: "center",
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
}}
|
|
34
|
+
color={{ colorSvg: "#050022", colorText: "gray" }}
|
|
35
|
+
borderStyled={{
|
|
36
|
+
borderWidth: 2,
|
|
37
|
+
borderRadius: 8,
|
|
38
|
+
borderStyle: "dashed",
|
|
39
|
+
borderColor: "#050022",
|
|
40
|
+
}}
|
|
41
|
+
title={{
|
|
42
|
+
text: "Sem foto capturada...",
|
|
43
|
+
textSmallPhoto: "",
|
|
44
|
+
}}
|
|
45
|
+
smallText={false}
|
|
46
|
+
/>
|
|
47
|
+
\`\`\`
|
|
48
|
+
`,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export default meta;
|
|
53
|
+
|
|
54
|
+
type story = StoryObj<typeof CapturePhoto>;
|
|
55
|
+
|
|
56
|
+
/* eslint-disable no-undef */
|
|
57
|
+
export const CaptureSimple: story = {
|
|
58
|
+
name: "capture-simple",
|
|
59
|
+
args: {
|
|
60
|
+
takePhotoWithImagePicker: () => console.log("capturar foto..."),
|
|
61
|
+
testID: "capture-simple",
|
|
62
|
+
opacity: 0.7,
|
|
63
|
+
marginStyle: {
|
|
64
|
+
marginBottom: 24,
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
width: "100%",
|
|
68
|
+
height: 168,
|
|
69
|
+
borderStyled: {
|
|
70
|
+
borderWidth: 2,
|
|
71
|
+
borderColor: theme.colors.blue[500],
|
|
72
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
73
|
+
borderStyle: "dashed",
|
|
74
|
+
},
|
|
75
|
+
flexStyle: {
|
|
76
|
+
textAlign: "center",
|
|
77
|
+
justifyContent: "center",
|
|
78
|
+
flexDirection: "column",
|
|
79
|
+
alignItems: "center",
|
|
80
|
+
},
|
|
81
|
+
color: {
|
|
82
|
+
colorSvg: theme.colors.gray[875],
|
|
83
|
+
colorText: theme.colors.green[200],
|
|
84
|
+
},
|
|
85
|
+
fontStyle: {
|
|
86
|
+
fontSize: 16,
|
|
87
|
+
fontWeight: "500",
|
|
88
|
+
fontFamily: "inter_medium_500",
|
|
89
|
+
lineHeight: 24,
|
|
90
|
+
letterSpacing: "regular",
|
|
91
|
+
},
|
|
92
|
+
title: {
|
|
93
|
+
text: "Sem foto capturada...",
|
|
94
|
+
},
|
|
95
|
+
smallText: false,
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
export const CaptureSmallPhoto: story = {
|
|
99
|
+
name: "capture-small-photo",
|
|
100
|
+
args: {
|
|
101
|
+
takePhotoWithImagePicker: () => console.log("capturar foto da manutenção..."),
|
|
102
|
+
testID: "capture-small",
|
|
103
|
+
opacity: 0.7,
|
|
104
|
+
marginStyle: {
|
|
105
|
+
marginBottom: 24,
|
|
106
|
+
},
|
|
107
|
+
paddingStyle: { paddingTop: 8, paddingBottom: 8 },
|
|
108
|
+
width: 126,
|
|
109
|
+
borderStyled: {
|
|
110
|
+
borderWidth: 2,
|
|
111
|
+
borderColor: theme.colors.blue[500],
|
|
112
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
113
|
+
borderStyle: "solid",
|
|
114
|
+
},
|
|
115
|
+
flexStyle: {
|
|
116
|
+
textAlign: "center",
|
|
117
|
+
justifyContent: "center",
|
|
118
|
+
flexDirection: "column",
|
|
119
|
+
alignItems: "center",
|
|
120
|
+
},
|
|
121
|
+
color: {
|
|
122
|
+
colorSvg: theme.colors.gray[875],
|
|
123
|
+
colorText: theme.colors.green[200],
|
|
124
|
+
},
|
|
125
|
+
fontStyle: {
|
|
126
|
+
fontSize: 16,
|
|
127
|
+
fontWeight: "500",
|
|
128
|
+
fontFamily: "inter_medium_500",
|
|
129
|
+
lineHeight: 24,
|
|
130
|
+
letterSpacing: "regular",
|
|
131
|
+
},
|
|
132
|
+
title: {
|
|
133
|
+
text: "foto 1 ",
|
|
134
|
+
textSmallPhoto: "frente do caminhão",
|
|
135
|
+
},
|
|
136
|
+
smallText: true,
|
|
137
|
+
},
|
|
138
|
+
};
|
|
139
|
+
export const CaptureSimplePhoto: story = {
|
|
140
|
+
name: "capture-simples-photo",
|
|
141
|
+
args: {
|
|
142
|
+
imageComprovante:
|
|
143
|
+
"https://media.gettyimages.com/id/78766489/pt/foto/close-up-of-hand-on-steering-wheel.jpg?s=612x612&w=0&k=20&c=utmC6gNhwrCD-p4S6iBpsOG6CA7UCud1VMh4AAhaaE8=",
|
|
144
|
+
takePhotoWithImagePicker: () => console.log("tirar outra foto"),
|
|
145
|
+
testID: "capture-photo",
|
|
146
|
+
|
|
147
|
+
width: 300,
|
|
148
|
+
height: 168,
|
|
149
|
+
borderStyled: {
|
|
150
|
+
borderWidth: theme.borderWidths.thin,
|
|
151
|
+
borderColor: theme.colors.blue[500],
|
|
152
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
153
|
+
borderStyle: "solid",
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
};
|
|
157
|
+
export const CaptureSmallWithPhoto: story = {
|
|
158
|
+
name: "capture-small-with-photo",
|
|
159
|
+
args: {
|
|
160
|
+
imageComprovante:
|
|
161
|
+
"https://media.gettyimages.com/id/163031041/pt/foto/pneu-furado-em-um-semi-reboque.jpg?s=612x612&w=0&k=20&c=YBz1gLqUOf8HvXM1yHgBEOMllo3eNAL6oHlSylkMwo0=",
|
|
162
|
+
takePhotoWithImagePicker: () => console.log("tirar outra foto"),
|
|
163
|
+
testID: "capture-small-photo",
|
|
164
|
+
|
|
165
|
+
width: 123,
|
|
166
|
+
height: 120,
|
|
167
|
+
borderStyled: {
|
|
168
|
+
borderWidth: 2,
|
|
169
|
+
borderColor: theme.colors.blue[500],
|
|
170
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
171
|
+
borderStyle: "dashed",
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import CardHours from "../../components/card-hours";
|
|
6
|
+
|
|
7
|
+
// utils
|
|
8
|
+
import { formatDate } from "../../utils/format-date";
|
|
9
|
+
|
|
10
|
+
// styles
|
|
11
|
+
import { theme } from "../../styles/theme/theme";
|
|
12
|
+
|
|
13
|
+
const meta: Meta<typeof CardHours> = {
|
|
14
|
+
title: "componente/CardHours",
|
|
15
|
+
component: CardHours as React.FC,
|
|
16
|
+
args: {
|
|
17
|
+
handleFormatDataInDayMonthYearNotHours: () => new Date(),
|
|
18
|
+
},
|
|
19
|
+
parameters: {
|
|
20
|
+
notes: `
|
|
21
|
+
# CardHours
|
|
22
|
+
|
|
23
|
+
Este é um componente de Card de horas.
|
|
24
|
+
Você usa assim:
|
|
25
|
+
\`\`\`tsx
|
|
26
|
+
<CardHours
|
|
27
|
+
hoursWorked={"10:20"}
|
|
28
|
+
handleFormatDataInDayMonthYearNotHours={(date: Date) => formatDate(date)}
|
|
29
|
+
text="Hours Worked"
|
|
30
|
+
width={"100%"}
|
|
31
|
+
backgroundColor={theme.colors.neutral[25]}
|
|
32
|
+
color={{
|
|
33
|
+
colorText: theme.colors.gray[700],
|
|
34
|
+
colorTextBold: theme.colors.orange[150],
|
|
35
|
+
colorTextData: theme.colors.gray[700],
|
|
36
|
+
}}
|
|
37
|
+
marginStyle={{
|
|
38
|
+
marginBottom: 10
|
|
39
|
+
}}
|
|
40
|
+
borderStyled={{
|
|
41
|
+
borderWidth: theme.borderWidths.thin,
|
|
42
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
43
|
+
borderStyle: "solid",
|
|
44
|
+
borderColor: theme.colors.blue[500],
|
|
45
|
+
}}
|
|
46
|
+
sizeHours={theme.fontSizes["3xl"]}
|
|
47
|
+
sizeDescription={theme.fontSizes.xs}
|
|
48
|
+
/>
|
|
49
|
+
\`\`\`
|
|
50
|
+
`,
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export default meta;
|
|
55
|
+
|
|
56
|
+
type Story = StoryObj<typeof meta>;
|
|
57
|
+
|
|
58
|
+
export const CardTrabalho: Story = {
|
|
59
|
+
name: "card-hours-work",
|
|
60
|
+
args: {
|
|
61
|
+
width: "100%",
|
|
62
|
+
text: "Total horas de trabalho:",
|
|
63
|
+
sizeHours: 34,
|
|
64
|
+
sizeDescription: 14,
|
|
65
|
+
hoursWorked: "18:32 H",
|
|
66
|
+
fontStyle: {
|
|
67
|
+
fontFamily: theme.fonts.inter_medium_500 as "inter_medium_500",
|
|
68
|
+
fontSize: theme.fontSizes["2xl"],
|
|
69
|
+
},
|
|
70
|
+
borderStyled: {
|
|
71
|
+
borderWidth: theme.borderWidths.thin,
|
|
72
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
73
|
+
borderStyle: "solid",
|
|
74
|
+
borderColor: theme.colors.gray[300],
|
|
75
|
+
},
|
|
76
|
+
color: {
|
|
77
|
+
colorText: theme.colors.gray[700],
|
|
78
|
+
colorTextBold: theme.colors.black[100],
|
|
79
|
+
colorTextData: theme.colors.gray[700],
|
|
80
|
+
},
|
|
81
|
+
handleFormatDataInDayMonthYearNotHours: () => formatDate(new Date()),
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
export const CardPendente: Story = {
|
|
86
|
+
name: "card-hours-pending",
|
|
87
|
+
args: {
|
|
88
|
+
text: "Total horas pendentes:",
|
|
89
|
+
width: "100%",
|
|
90
|
+
hoursWorked: "22:12 H",
|
|
91
|
+
fontStyle: {
|
|
92
|
+
fontFamily: theme.fonts.inter_bold_700 as "inter_bold_700",
|
|
93
|
+
fontSize: theme.fontSizes["2xl"],
|
|
94
|
+
},
|
|
95
|
+
borderStyled: {
|
|
96
|
+
borderWidth: theme.borderWidths.thin,
|
|
97
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
98
|
+
borderStyle: "solid",
|
|
99
|
+
borderColor: theme.colors.gray[300],
|
|
100
|
+
},
|
|
101
|
+
color: {
|
|
102
|
+
colorText: theme.colors.gray[700],
|
|
103
|
+
colorTextBold: theme.colors.orange[150],
|
|
104
|
+
colorTextData: theme.colors.gray[700],
|
|
105
|
+
},
|
|
106
|
+
handleFormatDataInDayMonthYearNotHours: () => formatDate(new Date()),
|
|
107
|
+
},
|
|
108
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import CardScheduledJourney from "../../components/card-scheduled-journey";
|
|
6
|
+
|
|
7
|
+
// styles
|
|
8
|
+
import { theme } from "../../styles/theme/theme";
|
|
9
|
+
|
|
10
|
+
const meta: Meta<typeof CardScheduledJourney> = {
|
|
11
|
+
title: "componente/CardScheduledJourney",
|
|
12
|
+
component: CardScheduledJourney as React.FC,
|
|
13
|
+
args: {
|
|
14
|
+
width: "100%",
|
|
15
|
+
height: 58,
|
|
16
|
+
widthChildren: "100%",
|
|
17
|
+
icon: "STEERING_WHEEL",
|
|
18
|
+
title: "Tempo total de trabalho do dia",
|
|
19
|
+
duracao: "10:00 H",
|
|
20
|
+
backgroundColor: theme.colors.neutral[25],
|
|
21
|
+
borderRight: theme.colors.green[400],
|
|
22
|
+
},
|
|
23
|
+
parameters: {
|
|
24
|
+
notes: `
|
|
25
|
+
# CardScheduledJourney
|
|
26
|
+
|
|
27
|
+
Este é um componente de resumo de trabalho, abrangente para diversos apps.
|
|
28
|
+
Você usa assim:
|
|
29
|
+
\`\`\`tsx
|
|
30
|
+
<CardScheduledJourney
|
|
31
|
+
|
|
32
|
+
/>
|
|
33
|
+
\`\`\`
|
|
34
|
+
`,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export default meta;
|
|
39
|
+
|
|
40
|
+
type Story = StoryObj<typeof meta>;
|
|
41
|
+
|
|
42
|
+
export const CardWorkTime: Story = {
|
|
43
|
+
name: "Tempo Trabalho - Simples",
|
|
44
|
+
args: {
|
|
45
|
+
width: "100%",
|
|
46
|
+
widthChildren: "100%",
|
|
47
|
+
icon: "STEERING_WHEEL",
|
|
48
|
+
title: "Tempo total de trabalho do dia",
|
|
49
|
+
duracao: "10:00 H",
|
|
50
|
+
backgroundColor: theme.colors.neutral[25],
|
|
51
|
+
borderRight: theme.colors.green[400],
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const CardMealInterval: Story = {
|
|
56
|
+
name: "Intervalo Refeição - Refeição",
|
|
57
|
+
args: {
|
|
58
|
+
width: "100%",
|
|
59
|
+
height: 58,
|
|
60
|
+
widthChildren: "100%",
|
|
61
|
+
icon: "CALL_BELL",
|
|
62
|
+
title: "Intervalo de refeição",
|
|
63
|
+
duracao: "01:00 H",
|
|
64
|
+
borderRight: theme.colors.orange[150],
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export const CardNightBreak: Story = {
|
|
69
|
+
name: "Intervalo Noturno - Repouso",
|
|
70
|
+
args: {
|
|
71
|
+
width: "100%",
|
|
72
|
+
height: 58,
|
|
73
|
+
widthChildren: "100%",
|
|
74
|
+
icon: "MOON_STARS",
|
|
75
|
+
title: "Intervalo interjonada anterior",
|
|
76
|
+
duracao: "10:00 H",
|
|
77
|
+
borderRight: theme.colors.gray[700],
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const CardHoursExtra: Story = {
|
|
82
|
+
name: "Horas Extras - Extras",
|
|
83
|
+
args: {
|
|
84
|
+
width: "100%",
|
|
85
|
+
height: 58,
|
|
86
|
+
widthChildren: "100%",
|
|
87
|
+
icon: "STEERING_WHEEL_FILL",
|
|
88
|
+
title: "TOTAL",
|
|
89
|
+
duracao: "16:20 H",
|
|
90
|
+
borderRight: theme.colors.green[400],
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export const CardRankingWeek: Story = {
|
|
95
|
+
name: "Raking Semanal - RANKING",
|
|
96
|
+
args: {
|
|
97
|
+
width: "100%",
|
|
98
|
+
height: 58,
|
|
99
|
+
widthChildren: "100%",
|
|
100
|
+
icon: "TROPHY",
|
|
101
|
+
title: "FATOR RANKING DA SEMANA",
|
|
102
|
+
duracao: "46:35 H",
|
|
103
|
+
borderRight: theme.colors.orange[150],
|
|
104
|
+
},
|
|
105
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
|
|
3
|
+
// components
|
|
4
|
+
import CardWorkSession from "../../components/card-work-session";
|
|
5
|
+
import { theme } from "../../styles/theme/theme";
|
|
6
|
+
|
|
7
|
+
const meta: Meta<typeof CardWorkSession> = {
|
|
8
|
+
title: "componente/CardWorkSession",
|
|
9
|
+
component: CardWorkSession,
|
|
10
|
+
args: {
|
|
11
|
+
name: "Weverson L.S",
|
|
12
|
+
workDate: "25/01/2025",
|
|
13
|
+
timeWork: "",
|
|
14
|
+
initialTime: "11:40",
|
|
15
|
+
duration: "05:20",
|
|
16
|
+
avatar: "https://avatars.githubusercontent.com/u/100369327?v=4&size=64",
|
|
17
|
+
},
|
|
18
|
+
parameters: {
|
|
19
|
+
notes: `
|
|
20
|
+
# CardWorkSession
|
|
21
|
+
|
|
22
|
+
Este é um componente de CardWorkSession de session de trabalho.
|
|
23
|
+
Você usa assim:
|
|
24
|
+
\`\`\`tsx
|
|
25
|
+
<CardWorkSession
|
|
26
|
+
name="Weverson L.S"s
|
|
27
|
+
workDate="25/01/2025"
|
|
28
|
+
initialTime="11:40"
|
|
29
|
+
duration="03:45"
|
|
30
|
+
avatar={"https://avatars.githubusercontent.com/u/100369327?v=4&size=64"}
|
|
31
|
+
/>
|
|
32
|
+
\`\`\`
|
|
33
|
+
`,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default meta;
|
|
38
|
+
|
|
39
|
+
type Story = StoryObj<typeof meta>;
|
|
40
|
+
|
|
41
|
+
export const CardTrabalhoSession: Story = {
|
|
42
|
+
name: "card-work-session",
|
|
43
|
+
args: {
|
|
44
|
+
width: 400,
|
|
45
|
+
name: "Weverson L.S",
|
|
46
|
+
workDate: "25/01/2025",
|
|
47
|
+
timeWork: "",
|
|
48
|
+
initialTime: "11:40",
|
|
49
|
+
duration: "05:20",
|
|
50
|
+
avatar: "https://avatars.githubusercontent.com/u/100369327?v=4&size=64",
|
|
51
|
+
backgroundColor: theme.colors.gray[300],
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import HeaderNavigation from "../../components/header-profile";
|
|
6
|
+
|
|
7
|
+
const meta: Meta<typeof HeaderNavigation> = {
|
|
8
|
+
title: "componente/HeaderNavigation",
|
|
9
|
+
component: HeaderNavigation as React.FC,
|
|
10
|
+
args: {
|
|
11
|
+
testID: "header",
|
|
12
|
+
arrow: false,
|
|
13
|
+
title: "aqui",
|
|
14
|
+
handleNavigation: () => {},
|
|
15
|
+
permission: false,
|
|
16
|
+
bluetoothIsConnected: false,
|
|
17
|
+
isInternetReachable: true,
|
|
18
|
+
},
|
|
19
|
+
parameters: {
|
|
20
|
+
notes: `
|
|
21
|
+
# HeaderNavigation
|
|
22
|
+
|
|
23
|
+
Este é um componente de HeaderNavigation de horas.
|
|
24
|
+
Você usa assim:
|
|
25
|
+
\`\`\`tsx
|
|
26
|
+
<HeaderNavigation
|
|
27
|
+
title={"Login"}
|
|
28
|
+
permission={false}
|
|
29
|
+
isInternetReachable={true}
|
|
30
|
+
bluetoothIsConnected={false}
|
|
31
|
+
handleNavigation={() => {}}
|
|
32
|
+
arrow={false}
|
|
33
|
+
/>
|
|
34
|
+
\`\`\`
|
|
35
|
+
`,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default meta;
|
|
40
|
+
|
|
41
|
+
type Story = StoryObj<typeof meta>;
|
|
42
|
+
|
|
43
|
+
export const HeaderLogin: Story = {
|
|
44
|
+
name: "header-login",
|
|
45
|
+
args: {
|
|
46
|
+
testID: "header",
|
|
47
|
+
arrow: false,
|
|
48
|
+
title: "Login",
|
|
49
|
+
handleNavigation: () => {},
|
|
50
|
+
permission: false,
|
|
51
|
+
bluetoothIsConnected: false,
|
|
52
|
+
isInternetReachable: true,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
export const HeaderArrow: Story = {
|
|
56
|
+
name: "header-arrow",
|
|
57
|
+
args: {
|
|
58
|
+
testID: "header",
|
|
59
|
+
arrow: true,
|
|
60
|
+
title: "SINCRONIZAR ATIVIDADES",
|
|
61
|
+
handleNavigation: () => {},
|
|
62
|
+
permission: false,
|
|
63
|
+
bluetoothIsConnected: false,
|
|
64
|
+
isInternetReachable: false,
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export const HeaderList: Story = {
|
|
69
|
+
name: "header-list",
|
|
70
|
+
args: {
|
|
71
|
+
testID: "header",
|
|
72
|
+
arrow: true,
|
|
73
|
+
title: "Controle de Jornada",
|
|
74
|
+
handleNavigation: () => {},
|
|
75
|
+
permission: false,
|
|
76
|
+
bluetoothIsConnected: true,
|
|
77
|
+
isInternetReachable: true,
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const HeaderWithWifiAndBluetooh: Story = {
|
|
82
|
+
name: "header-wifi-bluetooh",
|
|
83
|
+
args: {
|
|
84
|
+
testID: "header-wifi-bluetooh",
|
|
85
|
+
arrow: true,
|
|
86
|
+
title: "Header com wifi e bluetooh",
|
|
87
|
+
handleNavigation: () => {},
|
|
88
|
+
permission: true,
|
|
89
|
+
bluetoothIsConnected: true,
|
|
90
|
+
isInternetReachable: true,
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export const HeaderWithWifi: Story = {
|
|
95
|
+
name: "header-com-wifi",
|
|
96
|
+
args: {
|
|
97
|
+
testID: "header-with-wifi",
|
|
98
|
+
arrow: true,
|
|
99
|
+
title: "Header com wifi",
|
|
100
|
+
handleNavigation: () => {},
|
|
101
|
+
permission: false,
|
|
102
|
+
bluetoothIsConnected: false,
|
|
103
|
+
isInternetReachable: true,
|
|
104
|
+
},
|
|
105
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import SelectOption from "../../components/selects/select-option";
|
|
6
|
+
|
|
7
|
+
// styles
|
|
8
|
+
import { theme } from "../../styles/theme/theme";
|
|
9
|
+
|
|
10
|
+
const meta: Meta<typeof SelectOption> = {
|
|
11
|
+
title: "componente/SelectOption",
|
|
12
|
+
component: SelectOption as React.FC,
|
|
13
|
+
args: { dataOption: [] },
|
|
14
|
+
parameters: {
|
|
15
|
+
notes: `
|
|
16
|
+
# SelectOption
|
|
17
|
+
|
|
18
|
+
Este é um componente de select.
|
|
19
|
+
Você usa assim:
|
|
20
|
+
\`\`\`tsx
|
|
21
|
+
<SelectOption
|
|
22
|
+
titleLabel="Selecione um motivo"
|
|
23
|
+
sizeTitleLabel={18}
|
|
24
|
+
dataOption={options}
|
|
25
|
+
handleSelectDown={() => {}}
|
|
26
|
+
/>
|
|
27
|
+
\`\`\`
|
|
28
|
+
`,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const options = [
|
|
33
|
+
{ label: "Local com infraestrutura ruim", value: "option1" },
|
|
34
|
+
{ label: "Pretendo fazer o repouso em casa ou outro local", value: "option2" },
|
|
35
|
+
{ label: "Outro motivo", value: "option3" },
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
export default meta;
|
|
39
|
+
|
|
40
|
+
type Story = StoryObj<typeof meta>;
|
|
41
|
+
|
|
42
|
+
export const SelectRefuseRest: Story = {
|
|
43
|
+
name: "select-refuse-rest-week",
|
|
44
|
+
args: {
|
|
45
|
+
dataOption: options,
|
|
46
|
+
handleSelectDown: () => {},
|
|
47
|
+
titleLabel: "Selecione uma opção",
|
|
48
|
+
colortitleLabel: theme.colors.neutral[25],
|
|
49
|
+
},
|
|
50
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
// components
|
|
5
|
+
import StepIndicator from "../../components/step-indicator";
|
|
6
|
+
|
|
7
|
+
// styles
|
|
8
|
+
import { theme } from "../../styles/theme/theme";
|
|
9
|
+
|
|
10
|
+
const meta: Meta<typeof StepIndicator> = {
|
|
11
|
+
title: "Componente/StepIndicator",
|
|
12
|
+
component: StepIndicator as React.FC,
|
|
13
|
+
args: {
|
|
14
|
+
data: [],
|
|
15
|
+
backgroundColorBall: theme.colors.blue[500],
|
|
16
|
+
titleColor: theme.colors.neutral[25],
|
|
17
|
+
titleNumberColor: theme.colors.neutral[25],
|
|
18
|
+
},
|
|
19
|
+
parameters: {
|
|
20
|
+
notes: `
|
|
21
|
+
# StepIndicator
|
|
22
|
+
|
|
23
|
+
Este é um componente de step indicator.
|
|
24
|
+
Você usa assim:
|
|
25
|
+
\`\`\`tsx
|
|
26
|
+
<StepIndicator
|
|
27
|
+
backgroundColorBall="#050022"
|
|
28
|
+
type="default"
|
|
29
|
+
data={dataMock}
|
|
30
|
+
/>
|
|
31
|
+
\`\`\`
|
|
32
|
+
`,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default meta;
|
|
37
|
+
|
|
38
|
+
type Story = StoryObj<typeof meta>;
|
|
39
|
+
|
|
40
|
+
const dataMock = [
|
|
41
|
+
{
|
|
42
|
+
id: 1,
|
|
43
|
+
titleLabel: "Repouso Noturno",
|
|
44
|
+
data_inicio: "07/03/2024 14:52",
|
|
45
|
+
data_fim: "07/03/2024 17:52",
|
|
46
|
+
description: "01:00",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 2,
|
|
50
|
+
titleLabel: "Descarga",
|
|
51
|
+
data_inicio: "06/03/2024 14:52",
|
|
52
|
+
data_fim: "06/03/2024 16:52",
|
|
53
|
+
description: "02:00",
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
|
|
57
|
+
const dataMockCustom = [
|
|
58
|
+
{
|
|
59
|
+
id: 1,
|
|
60
|
+
titleLabel: "Pedido Realizado",
|
|
61
|
+
data_inicio: "",
|
|
62
|
+
data_fim: "",
|
|
63
|
+
description: "",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 2,
|
|
67
|
+
titleLabel: "Pagamento Aprovado",
|
|
68
|
+
data_inicio: "07/03/2024 14:52",
|
|
69
|
+
data_fim: "07/03/2024 17:52",
|
|
70
|
+
description: "01:00",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 3,
|
|
74
|
+
titleLabel: "Pedido Faturado",
|
|
75
|
+
data_inicio: "",
|
|
76
|
+
data_fim: "",
|
|
77
|
+
description: "",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: 4,
|
|
81
|
+
titleLabel: "Pedido Enviado",
|
|
82
|
+
data_inicio: "",
|
|
83
|
+
data_fim: "",
|
|
84
|
+
description: "",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: 4,
|
|
88
|
+
titleLabel: "Pedido Entregue",
|
|
89
|
+
data_inicio: "07/03/2024 14:52",
|
|
90
|
+
data_fim: "07/03/2024 17:52",
|
|
91
|
+
description: "01:00",
|
|
92
|
+
},
|
|
93
|
+
];
|
|
94
|
+
|
|
95
|
+
export const StepIndicatorDefault: Story = {
|
|
96
|
+
name: "step-indicator-default",
|
|
97
|
+
args: {
|
|
98
|
+
data: dataMock,
|
|
99
|
+
type: "default",
|
|
100
|
+
backgroundColorBall: theme.colors.blue[500],
|
|
101
|
+
titleColor: theme.colors.neutral[25],
|
|
102
|
+
textColorDescription: theme.colors.gray[300],
|
|
103
|
+
titleNumberColor: theme.colors.neutral[25],
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export const StepIndicationCustom: Story = {
|
|
108
|
+
name: "step-indicator-custom",
|
|
109
|
+
args: {
|
|
110
|
+
data: dataMockCustom,
|
|
111
|
+
type: "custom",
|
|
112
|
+
backgroundColorBall: theme.colors.orange[150],
|
|
113
|
+
titleColor: theme.colors.blue[500],
|
|
114
|
+
textColorDescription: theme.colors.gray[300],
|
|
115
|
+
titleNumberColor: theme.colors.neutral[25],
|
|
116
|
+
},
|
|
117
|
+
};
|