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,207 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.ButtonRectifyJourney = exports.ButtonIsLoading = exports.ButtonConfirm = exports.ButtonCancel = exports.Basic = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _index = _interopRequireDefault(require("../../components/button/index.js"));
|
|
9
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
/* eslint-disable no-undef */
|
|
13
|
+
|
|
14
|
+
// components
|
|
15
|
+
|
|
16
|
+
// styles
|
|
17
|
+
|
|
18
|
+
const meta = {
|
|
19
|
+
title: "Componente/Button",
|
|
20
|
+
component: _index.default,
|
|
21
|
+
args: {
|
|
22
|
+
onPress: () => {},
|
|
23
|
+
isLoading: false
|
|
24
|
+
},
|
|
25
|
+
parameters: {
|
|
26
|
+
notes: `
|
|
27
|
+
# Button
|
|
28
|
+
|
|
29
|
+
Este é um componente de button.
|
|
30
|
+
Você usa assim:
|
|
31
|
+
\`\`\`tsx
|
|
32
|
+
<Button text="Eu sou um button!"
|
|
33
|
+
/>
|
|
34
|
+
\`\`\`
|
|
35
|
+
`
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var _default = exports.default = meta;
|
|
39
|
+
const Basic = exports.Basic = {
|
|
40
|
+
name: "button-basic",
|
|
41
|
+
args: {
|
|
42
|
+
title: "Button",
|
|
43
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
44
|
+
onPress: () => {},
|
|
45
|
+
isLoading: false,
|
|
46
|
+
width: "100%",
|
|
47
|
+
height: 45,
|
|
48
|
+
flexStyle: {
|
|
49
|
+
alignItems: "center",
|
|
50
|
+
justifyContent: "center",
|
|
51
|
+
textAlign: "center"
|
|
52
|
+
},
|
|
53
|
+
borderStyled: {
|
|
54
|
+
borderWidth: 1,
|
|
55
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
56
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
57
|
+
},
|
|
58
|
+
buttonTextStyle: {
|
|
59
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
60
|
+
fontSize: _theme.theme.fontSizes.lg,
|
|
61
|
+
color: _theme.theme.colors.neutral[25],
|
|
62
|
+
fontWeight: "500"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const ButtonConfirm = exports.ButtonConfirm = {
|
|
67
|
+
name: "button-confirm",
|
|
68
|
+
args: {
|
|
69
|
+
testID: "button-confirmar-test-id",
|
|
70
|
+
title: "CONFIRMAR RELATÓRIO",
|
|
71
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
72
|
+
onPress: () => {},
|
|
73
|
+
isLoading: false,
|
|
74
|
+
width: "100%",
|
|
75
|
+
height: 45,
|
|
76
|
+
flexStyle: {
|
|
77
|
+
alignItems: "center",
|
|
78
|
+
justifyContent: "center",
|
|
79
|
+
textAlign: "center"
|
|
80
|
+
},
|
|
81
|
+
borderStyled: {
|
|
82
|
+
borderWidth: 1,
|
|
83
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
84
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
85
|
+
},
|
|
86
|
+
buttonTextStyle: {
|
|
87
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
88
|
+
fontSize: _theme.theme.fontSizes.lg,
|
|
89
|
+
color: _theme.theme.colors.neutral[25],
|
|
90
|
+
fontWeight: "500"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
const ButtonCancel = exports.ButtonCancel = {
|
|
95
|
+
name: "button-cancel",
|
|
96
|
+
args: {
|
|
97
|
+
testID: "button-confirmar-test-id",
|
|
98
|
+
title: "CANCELAR EDIÇÃO",
|
|
99
|
+
backgroundColor: _theme.theme.colors.red[900],
|
|
100
|
+
onPress: () => {},
|
|
101
|
+
isLoading: false,
|
|
102
|
+
width: "100%",
|
|
103
|
+
height: 45,
|
|
104
|
+
flexStyle: {
|
|
105
|
+
alignItems: "center",
|
|
106
|
+
justifyContent: "center",
|
|
107
|
+
textAlign: "center"
|
|
108
|
+
},
|
|
109
|
+
borderStyled: {
|
|
110
|
+
borderWidth: 1,
|
|
111
|
+
borderColor: _theme.theme.colors.red[900],
|
|
112
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
113
|
+
},
|
|
114
|
+
buttonTextStyle: {
|
|
115
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
116
|
+
fontSize: _theme.theme.fontSizes.lg,
|
|
117
|
+
color: _theme.theme.colors.neutral[25],
|
|
118
|
+
fontWeight: "500"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
const ButtonRectifyJourney = exports.ButtonRectifyJourney = {
|
|
123
|
+
name: "button-rectify-journey",
|
|
124
|
+
args: {
|
|
125
|
+
testID: "button-rectify-test-id",
|
|
126
|
+
title: "RETIFICAR JORNADA",
|
|
127
|
+
backgroundColor: _theme.theme.colors.orange[450],
|
|
128
|
+
onPress: () => {},
|
|
129
|
+
isLoading: false,
|
|
130
|
+
width: "100%",
|
|
131
|
+
height: 45,
|
|
132
|
+
flexStyle: {
|
|
133
|
+
alignItems: "center",
|
|
134
|
+
justifyContent: "center",
|
|
135
|
+
textAlign: "center"
|
|
136
|
+
},
|
|
137
|
+
borderStyled: {
|
|
138
|
+
borderWidth: 1,
|
|
139
|
+
borderColor: _theme.theme.colors.orange[450],
|
|
140
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
141
|
+
},
|
|
142
|
+
buttonTextStyle: {
|
|
143
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
144
|
+
fontSize: _theme.theme.fontSizes.lg,
|
|
145
|
+
color: _theme.theme.colors.neutral[25],
|
|
146
|
+
fontWeight: "700"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
const ButtonIsLoading = exports.ButtonIsLoading = {
|
|
151
|
+
name: "button-isLoading",
|
|
152
|
+
render: () => {
|
|
153
|
+
const [isLoading, setIsLoading] = _react.default.useState(false);
|
|
154
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
155
|
+
title: "Carregamento",
|
|
156
|
+
isLoading: isLoading,
|
|
157
|
+
disabled: isLoading,
|
|
158
|
+
width: "100%",
|
|
159
|
+
height: 45,
|
|
160
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
161
|
+
onPress: () => {
|
|
162
|
+
setIsLoading(true);
|
|
163
|
+
setTimeout(() => setIsLoading(false), 1000);
|
|
164
|
+
},
|
|
165
|
+
buttonTextStyle: {
|
|
166
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
167
|
+
fontSize: _theme.theme.fontSizes.lg,
|
|
168
|
+
color: _theme.theme.colors.neutral[25],
|
|
169
|
+
fontWeight: "500"
|
|
170
|
+
},
|
|
171
|
+
borderStyled: {
|
|
172
|
+
borderWidth: 1,
|
|
173
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
174
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
175
|
+
},
|
|
176
|
+
flexStyle: {
|
|
177
|
+
alignItems: "center",
|
|
178
|
+
justifyContent: "center",
|
|
179
|
+
textAlign: "center"
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
},
|
|
183
|
+
args: {
|
|
184
|
+
title: "Button-siLoading",
|
|
185
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
186
|
+
isLoading: false,
|
|
187
|
+
width: "100%",
|
|
188
|
+
height: 45,
|
|
189
|
+
flexStyle: {
|
|
190
|
+
alignItems: "center",
|
|
191
|
+
justifyContent: "center",
|
|
192
|
+
textAlign: "center"
|
|
193
|
+
},
|
|
194
|
+
borderStyled: {
|
|
195
|
+
borderWidth: 1,
|
|
196
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
197
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
198
|
+
},
|
|
199
|
+
buttonTextStyle: {
|
|
200
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
201
|
+
fontSize: _theme.theme.fontSizes.lg,
|
|
202
|
+
color: _theme.theme.colors.neutral[25],
|
|
203
|
+
fontWeight: "500"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
//# sourceMappingURL=button.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_index","_theme","_jsxRuntime","e","__esModule","default","meta","title","component","Button","args","onPress","isLoading","parameters","notes","_default","exports","Basic","name","backgroundColor","theme","colors","blue","width","height","flexStyle","alignItems","justifyContent","textAlign","borderStyled","borderWidth","borderColor","borderRadius","borderWidths","thick_medium","buttonTextStyle","fontFamily","fonts","inter_regular_400","fontSize","fontSizes","lg","color","neutral","fontWeight","ButtonConfirm","testID","inter_medium_500","ButtonCancel","red","inter_bold_700","ButtonRectifyJourney","orange","ButtonIsLoading","render","setIsLoading","React","useState","jsx","disabled","setTimeout"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/button/button.stories.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAAiD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AARjD;;AAIA;;AAGA;;AAGA,MAAMG,IAAyB,GAAG;EAChCC,KAAK,EAAE,mBAAmB;EAC1BC,SAAS,EAAEC,cAAkB;EAC7BC,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE;EACb,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAX,OAAA,GAEaC,IAAI;AAIZ,MAAMW,KAAY,GAAAD,OAAA,CAAAC,KAAA,GAAG;EAC1BC,IAAI,EAAE,cAAc;EACpBR,IAAI,EAAE;IACJH,KAAK,EAAE,QAAQ;IACfY,eAAe,E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AiB;MACzCC,QAAQ,EAAEnB,YAAK,CAACoB,SAAS,CAACC,EAAE;MAC5BC,KAAK,EAAEtB,YAAK,CAACC,MAAM,CAACsB,OAAO,CAAC,EAAE,CAAC;MAC/BC,UAAU,EAAE;IACd;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.CaptureSmallWithPhoto = exports.CaptureSmallPhoto = exports.CaptureSimplePhoto = exports.CaptureSimple = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/capture-photo/index.js"));
|
|
8
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
// components
|
|
11
|
+
|
|
12
|
+
// styles
|
|
13
|
+
|
|
14
|
+
const meta = {
|
|
15
|
+
title: "componente/ CapturePhoto",
|
|
16
|
+
component: _index.default,
|
|
17
|
+
args: {
|
|
18
|
+
takePhotoWithImagePicker: () => {},
|
|
19
|
+
imageComprovante: null,
|
|
20
|
+
onPress: () => {}
|
|
21
|
+
},
|
|
22
|
+
parameters: {
|
|
23
|
+
notes: `
|
|
24
|
+
# CapturePhoto
|
|
25
|
+
|
|
26
|
+
Este é um componente de Captura de Foto.
|
|
27
|
+
Você usa assim:
|
|
28
|
+
\`\`\`tsx
|
|
29
|
+
<CapturePhoto
|
|
30
|
+
takePhotoWithImagePicker={() => takePhotoWithImagePicker}
|
|
31
|
+
imageComprovante={null}
|
|
32
|
+
flexStyle={{
|
|
33
|
+
textAlign: "center",
|
|
34
|
+
justifyContent: "center",
|
|
35
|
+
flexDirection: "column",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
}}
|
|
38
|
+
color={{ colorSvg: "#050022", colorText: "gray" }}
|
|
39
|
+
borderStyled={{
|
|
40
|
+
borderWidth: 2,
|
|
41
|
+
borderRadius: 8,
|
|
42
|
+
borderStyle: "dashed",
|
|
43
|
+
borderColor: "#050022",
|
|
44
|
+
}}
|
|
45
|
+
title={{
|
|
46
|
+
text: "Sem foto capturada...",
|
|
47
|
+
textSmallPhoto: "",
|
|
48
|
+
}}
|
|
49
|
+
smallText={false}
|
|
50
|
+
/>
|
|
51
|
+
\`\`\`
|
|
52
|
+
`
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var _default = exports.default = meta;
|
|
56
|
+
/* eslint-disable no-undef */
|
|
57
|
+
const CaptureSimple = exports.CaptureSimple = {
|
|
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
|
+
width: "100%",
|
|
67
|
+
height: 168,
|
|
68
|
+
borderStyled: {
|
|
69
|
+
borderWidth: 2,
|
|
70
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
71
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
72
|
+
borderStyle: "dashed"
|
|
73
|
+
},
|
|
74
|
+
flexStyle: {
|
|
75
|
+
textAlign: "center",
|
|
76
|
+
justifyContent: "center",
|
|
77
|
+
flexDirection: "column",
|
|
78
|
+
alignItems: "center"
|
|
79
|
+
},
|
|
80
|
+
color: {
|
|
81
|
+
colorSvg: _theme.theme.colors.gray[875],
|
|
82
|
+
colorText: _theme.theme.colors.green[200]
|
|
83
|
+
},
|
|
84
|
+
fontStyle: {
|
|
85
|
+
fontSize: 16,
|
|
86
|
+
fontWeight: "500",
|
|
87
|
+
fontFamily: "inter_medium_500",
|
|
88
|
+
lineHeight: 24,
|
|
89
|
+
letterSpacing: "regular"
|
|
90
|
+
},
|
|
91
|
+
title: {
|
|
92
|
+
text: "Sem foto capturada..."
|
|
93
|
+
},
|
|
94
|
+
smallText: false
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const CaptureSmallPhoto = exports.CaptureSmallPhoto = {
|
|
98
|
+
name: "capture-small-photo",
|
|
99
|
+
args: {
|
|
100
|
+
takePhotoWithImagePicker: () => console.log("capturar foto da manutenção..."),
|
|
101
|
+
testID: "capture-small",
|
|
102
|
+
opacity: 0.7,
|
|
103
|
+
marginStyle: {
|
|
104
|
+
marginBottom: 24
|
|
105
|
+
},
|
|
106
|
+
paddingStyle: {
|
|
107
|
+
paddingTop: 8,
|
|
108
|
+
paddingBottom: 8
|
|
109
|
+
},
|
|
110
|
+
width: 126,
|
|
111
|
+
borderStyled: {
|
|
112
|
+
borderWidth: 2,
|
|
113
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
114
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
115
|
+
borderStyle: "solid"
|
|
116
|
+
},
|
|
117
|
+
flexStyle: {
|
|
118
|
+
textAlign: "center",
|
|
119
|
+
justifyContent: "center",
|
|
120
|
+
flexDirection: "column",
|
|
121
|
+
alignItems: "center"
|
|
122
|
+
},
|
|
123
|
+
color: {
|
|
124
|
+
colorSvg: _theme.theme.colors.gray[875],
|
|
125
|
+
colorText: _theme.theme.colors.green[200]
|
|
126
|
+
},
|
|
127
|
+
fontStyle: {
|
|
128
|
+
fontSize: 16,
|
|
129
|
+
fontWeight: "500",
|
|
130
|
+
fontFamily: "inter_medium_500",
|
|
131
|
+
lineHeight: 24,
|
|
132
|
+
letterSpacing: "regular"
|
|
133
|
+
},
|
|
134
|
+
title: {
|
|
135
|
+
text: "foto 1 ",
|
|
136
|
+
textSmallPhoto: "frente do caminhão"
|
|
137
|
+
},
|
|
138
|
+
smallText: true
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
const CaptureSimplePhoto = exports.CaptureSimplePhoto = {
|
|
142
|
+
name: "capture-simples-photo",
|
|
143
|
+
args: {
|
|
144
|
+
imageComprovante: "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=",
|
|
145
|
+
takePhotoWithImagePicker: () => console.log("tirar outra foto"),
|
|
146
|
+
testID: "capture-photo",
|
|
147
|
+
width: 300,
|
|
148
|
+
height: 168,
|
|
149
|
+
borderStyled: {
|
|
150
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
151
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
152
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
153
|
+
borderStyle: "solid"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
const CaptureSmallWithPhoto = exports.CaptureSmallWithPhoto = {
|
|
158
|
+
name: "capture-small-with-photo",
|
|
159
|
+
args: {
|
|
160
|
+
imageComprovante: "https://media.gettyimages.com/id/163031041/pt/foto/pneu-furado-em-um-semi-reboque.jpg?s=612x612&w=0&k=20&c=YBz1gLqUOf8HvXM1yHgBEOMllo3eNAL6oHlSylkMwo0=",
|
|
161
|
+
takePhotoWithImagePicker: () => console.log("tirar outra foto"),
|
|
162
|
+
testID: "capture-small-photo",
|
|
163
|
+
width: 123,
|
|
164
|
+
height: 120,
|
|
165
|
+
borderStyled: {
|
|
166
|
+
borderWidth: 2,
|
|
167
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
168
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
169
|
+
borderStyle: "dashed"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
//# sourceMappingURL=capture-photo.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","CapturePhoto","args","takePhotoWithImagePicker","imageComprovante","onPress","parameters","notes","_default","exports","CaptureSimple","name","console","log","testID","opacity","marginStyle","marginBottom","width","height","borderStyled","borderWidth","borderColor","theme","colors","blue","borderRadius","borderWidths","thick_medium","borderStyle","flexStyle","textAlign","justifyContent","flexDirection","alignItems","color","colorSvg","gray","colorText","green","fontStyle","fontSize","fontWeight","fontFamily","lineHeight","letterSpacing","text","smallText","CaptureSmallPhoto","paddingStyle","paddingTop","paddingBottom","textSmallPhoto","CaptureSimplePhoto","thin","CaptureSmallWithPhoto"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/capture-photo/capture-photo.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJjD;;AAGA;;AAGA,MAAMG,IAA+B,GAAG;EACtCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,cAAwB;EACnCC,IAAI,EAAE;IACJC,wBAAwB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClCC,gBAAgB,EAAE,IAAI;IACtBC,OAAO,EAAEA,CAAA,KAAM,CAAC;EAClB,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAZ,OAAA,GAEaC,IAAI;AAInB;AACO,MAAMY,aAAoB,GAAAD,OAAA,CAAAC,aAAA,GAAG;EAClCC,IAAI,EAAE,gBAAgB;EACtBT,IAAI,EAAE;IACJC,wBAAwB,EAAEA,CAAA,KAAMS,OAAO,CAACC,GAAG,CAAC,kBAAkB,CAAC;IAC/DC,MAAM,EAAE,gBAAgB;IACxB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AC;AACM,MAAM0B,qBAA4B,GAAA9C,OAAA,CAAA8C,qBAAA,GAAG;EAC1C5C,IAAI,EAAE,0BAA0B;EAChCT,IAAI,EAAE;IACJE,gBAAgB,EACd,yJAAyJ;IAC3JD,wBAAwB,EAAEA,CAAA,KAAMS,OAAO,CAACC,GAAG,CAAC,kBAAkB,CAAC;IAC/DC,MAAM,EAAE,qBAAqB;IAE7BI,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,GAAG;IACXC,YAAY,EAAE;MACZC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;MACnCC,YAAY,EAAEH,YAAK,CAACI,YAAY,CAACC,YAAY;MAC7CC,WAAW,EAAE;IACf;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.CardTrabalho = exports.CardPendente = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/card-hours/index.js"));
|
|
8
|
+
var _index2 = require("../../utils/format-date/index.js");
|
|
9
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
// components
|
|
12
|
+
|
|
13
|
+
// utils
|
|
14
|
+
|
|
15
|
+
// styles
|
|
16
|
+
|
|
17
|
+
const meta = {
|
|
18
|
+
title: "componente/CardHours",
|
|
19
|
+
component: _index.default,
|
|
20
|
+
args: {
|
|
21
|
+
handleFormatDataInDayMonthYearNotHours: () => new Date()
|
|
22
|
+
},
|
|
23
|
+
parameters: {
|
|
24
|
+
notes: `
|
|
25
|
+
# CardHours
|
|
26
|
+
|
|
27
|
+
Este é um componente de Card de horas.
|
|
28
|
+
Você usa assim:
|
|
29
|
+
\`\`\`tsx
|
|
30
|
+
<CardHours
|
|
31
|
+
hoursWorked={"10:20"}
|
|
32
|
+
handleFormatDataInDayMonthYearNotHours={(date: Date) => formatDate(date)}
|
|
33
|
+
text="Hours Worked"
|
|
34
|
+
width={"100%"}
|
|
35
|
+
backgroundColor={theme.colors.neutral[25]}
|
|
36
|
+
color={{
|
|
37
|
+
colorText: theme.colors.gray[700],
|
|
38
|
+
colorTextBold: theme.colors.orange[150],
|
|
39
|
+
colorTextData: theme.colors.gray[700],
|
|
40
|
+
}}
|
|
41
|
+
marginStyle={{
|
|
42
|
+
marginBottom: 10
|
|
43
|
+
}}
|
|
44
|
+
borderStyled={{
|
|
45
|
+
borderWidth: theme.borderWidths.thin,
|
|
46
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
47
|
+
borderStyle: "solid",
|
|
48
|
+
borderColor: theme.colors.blue[500],
|
|
49
|
+
}}
|
|
50
|
+
sizeHours={theme.fontSizes["3xl"]}
|
|
51
|
+
sizeDescription={theme.fontSizes.xs}
|
|
52
|
+
/>
|
|
53
|
+
\`\`\`
|
|
54
|
+
`
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var _default = exports.default = meta;
|
|
58
|
+
const CardTrabalho = exports.CardTrabalho = {
|
|
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.theme.fonts.inter_medium_500,
|
|
68
|
+
fontSize: _theme.theme.fontSizes["2xl"]
|
|
69
|
+
},
|
|
70
|
+
borderStyled: {
|
|
71
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
72
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
73
|
+
borderStyle: "solid",
|
|
74
|
+
borderColor: _theme.theme.colors.gray[300]
|
|
75
|
+
},
|
|
76
|
+
color: {
|
|
77
|
+
colorText: _theme.theme.colors.gray[700],
|
|
78
|
+
colorTextBold: _theme.theme.colors.black[100],
|
|
79
|
+
colorTextData: _theme.theme.colors.gray[700]
|
|
80
|
+
},
|
|
81
|
+
handleFormatDataInDayMonthYearNotHours: () => (0, _index2.formatDate)(new Date())
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
const CardPendente = exports.CardPendente = {
|
|
85
|
+
name: "card-hours-pending",
|
|
86
|
+
args: {
|
|
87
|
+
text: "Total horas pendentes:",
|
|
88
|
+
width: "100%",
|
|
89
|
+
hoursWorked: "22:12 H",
|
|
90
|
+
fontStyle: {
|
|
91
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
92
|
+
fontSize: _theme.theme.fontSizes["2xl"]
|
|
93
|
+
},
|
|
94
|
+
borderStyled: {
|
|
95
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
96
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
97
|
+
borderStyle: "solid",
|
|
98
|
+
borderColor: _theme.theme.colors.gray[300]
|
|
99
|
+
},
|
|
100
|
+
color: {
|
|
101
|
+
colorText: _theme.theme.colors.gray[700],
|
|
102
|
+
colorTextBold: _theme.theme.colors.orange[150],
|
|
103
|
+
colorTextData: _theme.theme.colors.gray[700]
|
|
104
|
+
},
|
|
105
|
+
handleFormatDataInDayMonthYearNotHours: () => (0, _index2.formatDate)(new Date())
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=card-hours.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_index2","_theme","e","__esModule","default","meta","title","component","CardHours","args","handleFormatDataInDayMonthYearNotHours","Date","parameters","notes","_default","exports","CardTrabalho","name","width","text","sizeHours","sizeDescription","hoursWorked","fontStyle","fontFamily","theme","fonts","inter_medium_500","fontSize","fontSizes","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderStyle","borderColor","colors","gray","color","colorText","colorTextBold","black","colorTextData","formatDate","CardPendente","inter_bold_700","orange"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/card-hours/card-hours.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,OAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAAiD,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAPjD;;AAGA;;AAGA;;AAGA,MAAMG,IAA4B,GAAG;EACnCC,KAAK,EAAE,sBAAsB;EAC7BC,SAAS,EAAEC,cAAqB;EAChCC,IAAI,EAAE;IACJC,sCAAsC,EAAEA,CAAA,KAAM,IAAIC,IAAI,CAAC;EACzD,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAX,OAAA,GAEaC,IAAI;AAIZ,MAAMW,YAAmB,GAAAD,OAAA,CAAAC,YAAA,GAAG;EACjCC,IAAI,EAAE,iBAAiB;EACvBR,IAAI,EAAE;IACJS,KAAK,EAAE,MAAM;IACbC,IAAI,EAAE,0BAA0B;IAChCC,SAAS,EAAE,EAAE;IACbC,eAAe,EAAE,EAAE;IACnBC,WAAW,EAAE,SAAS;IACtBC,SAAS,EAAE;MACTC,UAAU,EAAEC,YAAK,CAACC,KAAK,CAACC,gBAAsC;MAC9DC,QAAQ,EAAEH,YAAK,CAACI,SAAS,CAAC,KAAK;IACjC,CAAC;IACDC,YAAY,EAAE;MACZC,WAAW,EAAEN,YAAK,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CAACa,MAAM,CAACC,IAAI,CAAC,GAAG;IACtC,CAAC;IACD7B,sCAAsC,EAAEA,CAAA,KAAM,IAAAmC,kBAAU,EAAC,IAAIlC,IAAI,CAAC,CAAC;EACrE;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.CardWorkTime = exports.CardRankingWeek = exports.CardNightBreak = exports.CardMealInterval = exports.CardHoursExtra = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/card-scheduled-journey/index.js"));
|
|
8
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
// components
|
|
11
|
+
|
|
12
|
+
// styles
|
|
13
|
+
|
|
14
|
+
const meta = {
|
|
15
|
+
title: "componente/CardScheduledJourney",
|
|
16
|
+
component: _index.default,
|
|
17
|
+
args: {
|
|
18
|
+
width: "100%",
|
|
19
|
+
height: 58,
|
|
20
|
+
widthChildren: "100%",
|
|
21
|
+
icon: "STEERING_WHEEL",
|
|
22
|
+
title: "Tempo total de trabalho do dia",
|
|
23
|
+
duracao: "10:00 H",
|
|
24
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
25
|
+
borderRight: _theme.theme.colors.green[400]
|
|
26
|
+
},
|
|
27
|
+
parameters: {
|
|
28
|
+
notes: `
|
|
29
|
+
# CardScheduledJourney
|
|
30
|
+
|
|
31
|
+
Este é um componente de resumo de trabalho, abrangente para diversos apps.
|
|
32
|
+
Você usa assim:
|
|
33
|
+
\`\`\`tsx
|
|
34
|
+
<CardScheduledJourney
|
|
35
|
+
|
|
36
|
+
/>
|
|
37
|
+
\`\`\`
|
|
38
|
+
`
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var _default = exports.default = meta;
|
|
42
|
+
const CardWorkTime = exports.CardWorkTime = {
|
|
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.theme.colors.neutral[25],
|
|
51
|
+
borderRight: _theme.theme.colors.green[400]
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const CardMealInterval = exports.CardMealInterval = {
|
|
55
|
+
name: "Intervalo Refeição - Refeição",
|
|
56
|
+
args: {
|
|
57
|
+
width: "100%",
|
|
58
|
+
height: 58,
|
|
59
|
+
widthChildren: "100%",
|
|
60
|
+
icon: "CALL_BELL",
|
|
61
|
+
title: "Intervalo de refeição",
|
|
62
|
+
duracao: "01:00 H",
|
|
63
|
+
borderRight: _theme.theme.colors.orange[150]
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const CardNightBreak = exports.CardNightBreak = {
|
|
67
|
+
name: "Intervalo Noturno - Repouso",
|
|
68
|
+
args: {
|
|
69
|
+
width: "100%",
|
|
70
|
+
height: 58,
|
|
71
|
+
widthChildren: "100%",
|
|
72
|
+
icon: "MOON_STARS",
|
|
73
|
+
title: "Intervalo interjonada anterior",
|
|
74
|
+
duracao: "10:00 H",
|
|
75
|
+
borderRight: _theme.theme.colors.gray[700]
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
const CardHoursExtra = exports.CardHoursExtra = {
|
|
79
|
+
name: "Horas Extras - Extras",
|
|
80
|
+
args: {
|
|
81
|
+
width: "100%",
|
|
82
|
+
height: 58,
|
|
83
|
+
widthChildren: "100%",
|
|
84
|
+
icon: "STEERING_WHEEL_FILL",
|
|
85
|
+
title: "TOTAL",
|
|
86
|
+
duracao: "16:20 H",
|
|
87
|
+
borderRight: _theme.theme.colors.green[400]
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const CardRankingWeek = exports.CardRankingWeek = {
|
|
91
|
+
name: "Raking Semanal - RANKING",
|
|
92
|
+
args: {
|
|
93
|
+
width: "100%",
|
|
94
|
+
height: 58,
|
|
95
|
+
widthChildren: "100%",
|
|
96
|
+
icon: "TROPHY",
|
|
97
|
+
title: "FATOR RANKING DA SEMANA",
|
|
98
|
+
duracao: "46:35 H",
|
|
99
|
+
borderRight: _theme.theme.colors.orange[150]
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=card-scheduled-journey.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","CardScheduledJourney","args","width","height","widthChildren","icon","duracao","backgroundColor","theme","colors","neutral","borderRight","green","parameters","notes","_default","exports","CardWorkTime","name","CardMealInterval","orange","CardNightBreak","gray","CardHoursExtra","CardRankingWeek"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/card-scheduled-journey/card-scheduled-journey.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJjD;;AAGA;;AAGA,MAAMG,IAAuC,GAAG;EAC9CC,KAAK,EAAE,iCAAiC;EACxCC,SAAS,EAAEC,cAAgC;EAC3CC,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,MAAM;IACrBC,IAAI,EAAE,gBAAgB;IACtBP,KAAK,EAAE,gCAAgC;IACvCQ,OAAO,EAAE,SAAS;IAClBC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,OAAO,CAAC,EAAE,CAAC;IACzCC,WAAW,EAAEH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I,CAAC,GAAG;EACpC;AACF,CAAC;AAEM,MAAMC,cAAqB,GAAAP,OAAA,CAAAO,cAAA,GAAG;EACnCL,IAAI,EAAE,uBAAuB;EAC7BjB,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,MAAM;IACrBC,IAAI,EAAE,qBAAqB;IAC3BP,KAAK,EAAE,OAAO;IACdQ,OAAO,EAAE,SAAS;IAClBK,WAAW,EAAEH,YAAK,CAACC,MAAM,CAACG,KAAK,CAAC,GAAG;EACrC;AACF,CAAC;AAEM,MAAMY,eAAsB,GAAAR,OAAA,CAAAQ,eAAA,GAAG;EACpCN,IAAI,EAAE,0BAA0B;EAChCjB,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,MAAM;IACrBC,IAAI,EAAE,QAAQ;IACdP,KAAK,EAAE,yBAAyB;IAChCQ,OAAO,EAAE,SAAS;IAClBK,WAAW,EAAEH,YAAK,CAACC,MAAM,CAACW,MAAM,CAAC,GAAG;EACtC;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.CardTrabalhoSession = void 0;
|
|
7
|
+
var _index = require("../../components/card-work-session/index.js");
|
|
8
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
9
|
+
// components
|
|
10
|
+
|
|
11
|
+
const meta = {
|
|
12
|
+
title: "componente/CardWorkSession",
|
|
13
|
+
component: _index.CardWorkSession,
|
|
14
|
+
args: {
|
|
15
|
+
name: "Weverson L.S",
|
|
16
|
+
workDate: "25/01/2025",
|
|
17
|
+
timeWork: "",
|
|
18
|
+
initialTime: "11:40",
|
|
19
|
+
duration: "05:20",
|
|
20
|
+
avatar: "https://avatars.githubusercontent.com/u/100369327?v=4&size=64"
|
|
21
|
+
},
|
|
22
|
+
parameters: {
|
|
23
|
+
notes: `
|
|
24
|
+
# CardWorkSession
|
|
25
|
+
|
|
26
|
+
Este é um componente de CardWorkSession de session de trabalho.
|
|
27
|
+
Você usa assim:
|
|
28
|
+
\`\`\`tsx
|
|
29
|
+
<CardWorkSession
|
|
30
|
+
name="Weverson L.S"s
|
|
31
|
+
workDate="25/01/2025"
|
|
32
|
+
initialTime="11:40"
|
|
33
|
+
duration="03:45"
|
|
34
|
+
avatar={"https://avatars.githubusercontent.com/u/100369327?v=4&size=64"}
|
|
35
|
+
/>
|
|
36
|
+
\`\`\`
|
|
37
|
+
`
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var _default = exports.default = meta;
|
|
41
|
+
const CardTrabalhoSession = exports.CardTrabalhoSession = {
|
|
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.theme.colors.gray[300]
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=card-work-session.stories.js.map
|