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,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// components
|
|
4
|
+
import StepIndicator from "../../components/step-indicator/index.js";
|
|
5
|
+
|
|
6
|
+
// styles
|
|
7
|
+
import { theme } from "../../styles/theme/theme.js";
|
|
8
|
+
const meta = {
|
|
9
|
+
title: "Componente/StepIndicator",
|
|
10
|
+
component: StepIndicator,
|
|
11
|
+
args: {
|
|
12
|
+
data: [],
|
|
13
|
+
backgroundColorBall: theme.colors.blue[500],
|
|
14
|
+
titleColor: theme.colors.neutral[25],
|
|
15
|
+
titleNumberColor: theme.colors.neutral[25]
|
|
16
|
+
},
|
|
17
|
+
parameters: {
|
|
18
|
+
notes: `
|
|
19
|
+
# StepIndicator
|
|
20
|
+
|
|
21
|
+
Este é um componente de step indicator.
|
|
22
|
+
Você usa assim:
|
|
23
|
+
\`\`\`tsx
|
|
24
|
+
<StepIndicator
|
|
25
|
+
backgroundColorBall="#050022"
|
|
26
|
+
type="default"
|
|
27
|
+
data={dataMock}
|
|
28
|
+
/>
|
|
29
|
+
\`\`\`
|
|
30
|
+
`
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export default meta;
|
|
34
|
+
const dataMock = [{
|
|
35
|
+
id: 1,
|
|
36
|
+
titleLabel: "Repouso Noturno",
|
|
37
|
+
data_inicio: "07/03/2024 14:52",
|
|
38
|
+
data_fim: "07/03/2024 17:52",
|
|
39
|
+
description: "01:00"
|
|
40
|
+
}, {
|
|
41
|
+
id: 2,
|
|
42
|
+
titleLabel: "Descarga",
|
|
43
|
+
data_inicio: "06/03/2024 14:52",
|
|
44
|
+
data_fim: "06/03/2024 16:52",
|
|
45
|
+
description: "02:00"
|
|
46
|
+
}];
|
|
47
|
+
const dataMockCustom = [{
|
|
48
|
+
id: 1,
|
|
49
|
+
titleLabel: "Pedido Realizado",
|
|
50
|
+
data_inicio: "",
|
|
51
|
+
data_fim: "",
|
|
52
|
+
description: ""
|
|
53
|
+
}, {
|
|
54
|
+
id: 2,
|
|
55
|
+
titleLabel: "Pagamento Aprovado",
|
|
56
|
+
data_inicio: "07/03/2024 14:52",
|
|
57
|
+
data_fim: "07/03/2024 17:52",
|
|
58
|
+
description: "01:00"
|
|
59
|
+
}, {
|
|
60
|
+
id: 3,
|
|
61
|
+
titleLabel: "Pedido Faturado",
|
|
62
|
+
data_inicio: "",
|
|
63
|
+
data_fim: "",
|
|
64
|
+
description: ""
|
|
65
|
+
}, {
|
|
66
|
+
id: 4,
|
|
67
|
+
titleLabel: "Pedido Enviado",
|
|
68
|
+
data_inicio: "",
|
|
69
|
+
data_fim: "",
|
|
70
|
+
description: ""
|
|
71
|
+
}, {
|
|
72
|
+
id: 4,
|
|
73
|
+
titleLabel: "Pedido Entregue",
|
|
74
|
+
data_inicio: "07/03/2024 14:52",
|
|
75
|
+
data_fim: "07/03/2024 17:52",
|
|
76
|
+
description: "01:00"
|
|
77
|
+
}];
|
|
78
|
+
export const StepIndicatorDefault = {
|
|
79
|
+
name: "step-indicator-default",
|
|
80
|
+
args: {
|
|
81
|
+
data: dataMock,
|
|
82
|
+
type: "default",
|
|
83
|
+
backgroundColorBall: theme.colors.blue[500],
|
|
84
|
+
titleColor: theme.colors.neutral[25],
|
|
85
|
+
textColorDescription: theme.colors.gray[300],
|
|
86
|
+
titleNumberColor: theme.colors.neutral[25]
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
export const StepIndicationCustom = {
|
|
90
|
+
name: "step-indicator-custom",
|
|
91
|
+
args: {
|
|
92
|
+
data: dataMockCustom,
|
|
93
|
+
type: "custom",
|
|
94
|
+
backgroundColorBall: theme.colors.orange[150],
|
|
95
|
+
titleColor: theme.colors.blue[500],
|
|
96
|
+
textColorDescription: theme.colors.gray[300],
|
|
97
|
+
titleNumberColor: theme.colors.neutral[25]
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=step-indicator.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StepIndicator","theme","meta","title","component","args","data","backgroundColorBall","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","dataMock","id","titleLabel","data_inicio","data_fim","description","dataMockCustom","StepIndicatorDefault","name","type","textColorDescription","gray","StepIndicationCustom","orange"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/step-indicator/step-indicator.stories.tsx"],"mappings":";;AAGA;AACA,OAAOA,aAAa,MAAM,0CAAiC;;AAE3D;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAEhD,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAA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BC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE,EAAE;EACZC,WAAW,EAAE;AACf,CAAC,EACD;EACEJ,EAAE,EAAE,CAAC;EACLC,UAAU,EAAE,iBAAiB;EAC7BC,WAAW,EAAE,kBAAkB;EAC/BC,QAAQ,EAAE,kBAAkB;EAC5BC,WAAW,EAAE;AACf,CAAC,CACF;AAED,OAAO,MAAME,oBAA2B,GAAG;EACzCC,IAAI,EAAE,wBAAwB;EAC9BlB,IAAI,EAAE;IACJC,IAAI,EAAES,QAAQ;IACdS,IAAI,EAAE,SAAS;IACfjB,mBAAmB,EAAEN,KAAK,CAACO,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAC3CC,UAAU,EAAET,KAAK,CAACO,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCc,oBAAoB,EAAExB,KAAK,CAACO,MAAM,CAACkB,IAAI,CAAC,GAAG,CAAC;IAC5Cd,gBAAgB,EAAEX,KAAK,CAACO,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC;AAED,OAAO,MAAMgB,oBAA2B,GAAG;EACzCJ,IAAI,EAAE,uBAAuB;EAC7BlB,IAAI,EAAE;IACJC,IAAI,EAAEe,cAAc;IACpBG,IAAI,EAAE,QAAQ;IACdjB,mBAAmB,EAAEN,KAAK,CAACO,MAAM,CAACoB,MAAM,CAAC,GAAG,CAAC;IAC7ClB,UAAU,EAAET,KAAK,CAACO,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAClCgB,oBAAoB,EAAExB,KAAK,CAACO,MAAM,CAACkB,IAAI,CAAC,GAAG,CAAC;IAC5Cd,gBAAgB,EAAEX,KAAK,CAACO,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// components
|
|
4
|
+
import Typography from "../../components/typography/index.js";
|
|
5
|
+
|
|
6
|
+
// styles
|
|
7
|
+
import { theme } from "../../styles/theme/theme.js";
|
|
8
|
+
const meta = {
|
|
9
|
+
title: "Componente/Typography",
|
|
10
|
+
component: Typography,
|
|
11
|
+
args: {
|
|
12
|
+
onPress: () => {}
|
|
13
|
+
},
|
|
14
|
+
parameters: {
|
|
15
|
+
notes: `
|
|
16
|
+
# Typography
|
|
17
|
+
|
|
18
|
+
Este é um componente de texto.
|
|
19
|
+
Você usa assim:
|
|
20
|
+
\`\`\`tsx
|
|
21
|
+
<Typography text={'Ola Dev'} marginBottom={8} />
|
|
22
|
+
\`\`\`
|
|
23
|
+
`
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export default meta;
|
|
27
|
+
export const Typography2XS = {
|
|
28
|
+
name: "typography-2xs",
|
|
29
|
+
args: {
|
|
30
|
+
text: "(2XS) Expresso Figueiredo",
|
|
31
|
+
align: "center",
|
|
32
|
+
color: theme.colors.neutral[25],
|
|
33
|
+
size: theme.fontSizes["2xs"],
|
|
34
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
35
|
+
fontWeight: "400"
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
export const TypographyXS = {
|
|
39
|
+
name: "typography-xs",
|
|
40
|
+
args: {
|
|
41
|
+
text: "(XS) Expresso Figueiredo",
|
|
42
|
+
align: "center",
|
|
43
|
+
color: theme.colors.neutral[25],
|
|
44
|
+
size: theme.fontSizes["xs"],
|
|
45
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
46
|
+
fontWeight: "400"
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
export const TypographySM = {
|
|
50
|
+
name: "typography-sm",
|
|
51
|
+
args: {
|
|
52
|
+
text: "(SM) Expresso Figueiredo",
|
|
53
|
+
align: "center",
|
|
54
|
+
color: theme.colors.neutral[25],
|
|
55
|
+
size: theme.fontSizes["sm"],
|
|
56
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
57
|
+
fontWeight: "400"
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export const TypographyMD = {
|
|
61
|
+
name: "typography-md",
|
|
62
|
+
args: {
|
|
63
|
+
text: "(MD) Expresso Figueiredo",
|
|
64
|
+
align: "center",
|
|
65
|
+
color: theme.colors.neutral[25],
|
|
66
|
+
size: theme.fontSizes["md"],
|
|
67
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
68
|
+
fontWeight: "400"
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
export const TypographyLG = {
|
|
72
|
+
name: "typography-lg",
|
|
73
|
+
args: {
|
|
74
|
+
text: "(LG) Expresso Figueiredo",
|
|
75
|
+
align: "center",
|
|
76
|
+
color: theme.colors.neutral[25],
|
|
77
|
+
size: theme.fontSizes["lg"],
|
|
78
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
79
|
+
fontWeight: "400"
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
export const TypographyXL = {
|
|
83
|
+
name: "typography-xl",
|
|
84
|
+
args: {
|
|
85
|
+
text: "(XL) Expresso Figueiredo",
|
|
86
|
+
align: "center",
|
|
87
|
+
color: theme.colors.neutral[25],
|
|
88
|
+
size: theme.fontSizes["xl"],
|
|
89
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
90
|
+
fontWeight: "400"
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
export const Typography2XL = {
|
|
94
|
+
name: "typography-2xl",
|
|
95
|
+
args: {
|
|
96
|
+
text: "(2XL) Expresso Figueiredo",
|
|
97
|
+
align: "center",
|
|
98
|
+
color: theme.colors.neutral[25],
|
|
99
|
+
size: theme.fontSizes["2xl"],
|
|
100
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
101
|
+
fontWeight: "400"
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
export const Typography3XL = {
|
|
105
|
+
name: "typography-3xl",
|
|
106
|
+
args: {
|
|
107
|
+
text: "(3XL) Expresso Figueiredo",
|
|
108
|
+
align: "center",
|
|
109
|
+
color: theme.colors.neutral[25],
|
|
110
|
+
size: theme.fontSizes["3xl"],
|
|
111
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
112
|
+
fontWeight: "400"
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
export const Typography4XL = {
|
|
116
|
+
name: "typography-4xl",
|
|
117
|
+
args: {
|
|
118
|
+
text: "(4XL) Expresso Figueiredo",
|
|
119
|
+
align: "center",
|
|
120
|
+
color: theme.colors.neutral[25],
|
|
121
|
+
size: theme.fontSizes["4xl"],
|
|
122
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
123
|
+
fontWeight: "400"
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
export const Typography5XL = {
|
|
127
|
+
name: "typography-5xl",
|
|
128
|
+
args: {
|
|
129
|
+
text: "(5XL) Expresso Figueiredo",
|
|
130
|
+
align: "center",
|
|
131
|
+
color: theme.colors.neutral[25],
|
|
132
|
+
size: theme.fontSizes["5xl"],
|
|
133
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
134
|
+
fontWeight: "400"
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=typography.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Typography","theme","meta","title","component","args","onPress","parameters","notes","Typography2XS","name","text","align","color","colors","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","TypographyXS","TypographySM","TypographyMD","TypographyLG","TypographyXL","Typography2XL","Typography3XL","Typography4XL","Typography5XL"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/typography/typography.stories.tsx"],"mappings":";;AAGA;AACA,OAAOA,UAAU,MAAM,sCAA6B;;AAEpD;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAEhD,MAAMC,IAA6B,GAAG;EACpCC,KAAK,EAAE,uBAAuB;EAC9BC,SAAS,EAAEJ,UAAsB;EACjCK,IAAI,EAAE;IACJC,OAAO,EAAEA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
2
|
+
|
|
3
|
+
import UserProfile from "../../components/user-profile/index.js";
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "componente/UserProfile",
|
|
6
|
+
component: UserProfile,
|
|
7
|
+
args: {
|
|
8
|
+
avatar: ""
|
|
9
|
+
},
|
|
10
|
+
parameters: {
|
|
11
|
+
notes: `
|
|
12
|
+
# UserProfile
|
|
13
|
+
|
|
14
|
+
Este é um componente de Card de horas.
|
|
15
|
+
Você usa assim:
|
|
16
|
+
\`\`\`tsx
|
|
17
|
+
<UserProfile
|
|
18
|
+
|
|
19
|
+
/>
|
|
20
|
+
\`\`\`
|
|
21
|
+
`
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export default meta;
|
|
25
|
+
export const Profile = {
|
|
26
|
+
name: "user-profile",
|
|
27
|
+
args: {
|
|
28
|
+
avatar: "https://img.freepik.com/fotos-gratis/retrato-de-um-motorista-de-caminhao-sentado-em-seu-caminhao-segurando-o-polegar-para-cima_342744-1340.jpg?semt=ais_hybrid",
|
|
29
|
+
width: 300,
|
|
30
|
+
nome: "profile-name",
|
|
31
|
+
placa_cavalo: "WSJ-0351",
|
|
32
|
+
bluetoothIsConnected: true,
|
|
33
|
+
cpf: "000.000.000-00",
|
|
34
|
+
app_version: "0.1.0"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
export const Anonimo = {
|
|
38
|
+
name: "user-profile-anonimo",
|
|
39
|
+
args: {
|
|
40
|
+
avatar: "",
|
|
41
|
+
// width: 300,
|
|
42
|
+
nome: "",
|
|
43
|
+
cpf: "",
|
|
44
|
+
app_version: "0.1.0",
|
|
45
|
+
color: {
|
|
46
|
+
colorText: "gray"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=user-profile.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["UserProfile","meta","title","component","args","avatar","parameters","notes","Profile","name","width","nome","placa_cavalo","bluetoothIsConnected","cpf","app_version","Anonimo","color","colorText"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/user-profile/user-profile.stories.tsx"],"mappings":";;AAEA,OAAOA,WAAW,MAAM,wCAA+B;AAEvD,MAAMC,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEH,WAAW;EACtBI,IAAI,EAAE;IACJC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeN,IAAI;AAInB,OAAO,MAAMO,OAAc,GAAG;EAC5BC,IAAI,EAAE,cAAc;EACpBL,IAAI,EAAE;IACJC,MAAM,EACJ,gKAAgK;IAClKK,KAAK,EAAE,GAAG;IACVC,IAAI,EAAE,cAAc;IACpBC,YAAY,EAAE,UAAU;IACxBC,oBAAoB,EAAE,IAAI;IAC1BC,GAAG,EAAE,gBAAgB;IACrBC,WAAW,EAAE;EACf;AACF,CAAC;AAED,OAAO,MAAMC,OAAc,GAAG;EAC5BP,IAAI,EAAE,sBAAsB;EAC5BL,IAAI,EAAE;IACJC,MAAM,EAAE,EAAE;IACV;IACAM,IAAI,EAAE,EAAE;IACRG,GAAG,EAAE,EAAE;IACPC,WAAW,EAAE,OAAO;IACpBE,KAAK,EAAE;MACLC,SAAS,EAAE;IACb;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/global/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// typing
|
|
4
|
+
|
|
5
|
+
const stylesGlobal = props => ({
|
|
6
|
+
width: props.width,
|
|
7
|
+
height: props.height,
|
|
8
|
+
backgroundColor: props.backgroundColor,
|
|
9
|
+
// padding
|
|
10
|
+
|
|
11
|
+
padding: props.paddingStyle?.padding,
|
|
12
|
+
paddingTop: props.paddingStyle?.paddingTop,
|
|
13
|
+
paddingLeft: props.paddingStyle?.paddingLeft,
|
|
14
|
+
paddingRight: props.paddingStyle?.paddingRight,
|
|
15
|
+
paddingBottom: props.paddingStyle?.paddingBottom,
|
|
16
|
+
// margin
|
|
17
|
+
margin: props.marginStyle?.margin,
|
|
18
|
+
marginTop: props.marginStyle?.marginTop,
|
|
19
|
+
marginLeft: props.marginStyle?.marginLeft,
|
|
20
|
+
marginRight: props.marginStyle?.marginRight,
|
|
21
|
+
marginBottom: props.marginStyle?.marginBottom,
|
|
22
|
+
// border
|
|
23
|
+
borderStyle: props.borderStyled?.borderStyle,
|
|
24
|
+
borderRadius: props.borderStyled?.borderRadius,
|
|
25
|
+
borderTopRightRadius: props.borderStyled?.borderTopRightRadius,
|
|
26
|
+
borderTopLeftRadius: props.borderStyled?.borderTopLeftRadius,
|
|
27
|
+
borderBottomRightRadius: props.borderStyled?.borderBottomRightRadius,
|
|
28
|
+
borderBottomLeftRadius: props.borderStyled?.borderBottomLeftRadius,
|
|
29
|
+
borderWidth: props.borderStyled?.borderWidth,
|
|
30
|
+
borderLeftWidth: props.borderStyled?.borderLeftWidth,
|
|
31
|
+
borderRightWidth: props.borderStyled?.borderRightWidth,
|
|
32
|
+
borderTopWidth: props.borderStyled?.borderTopWidth,
|
|
33
|
+
borderBottomWidth: props.borderStyled?.borderBottomWidth,
|
|
34
|
+
borderColor: props.borderStyled?.borderColor,
|
|
35
|
+
borderBottomColor: props.borderStyled?.borderBottomColor,
|
|
36
|
+
borderLeftColor: props.borderStyled?.borderLeftColor,
|
|
37
|
+
borderRightColor: props.borderStyled?.borderLeftColor,
|
|
38
|
+
borderTopColor: props.borderStyled?.borderTopColor,
|
|
39
|
+
// flex
|
|
40
|
+
flex: props.flexStyle?.flex,
|
|
41
|
+
flexDirection: props.flexStyle?.flexDirection,
|
|
42
|
+
alignItems: props.flexStyle?.alignItems,
|
|
43
|
+
justifyContent: props.flexStyle?.justifyContent,
|
|
44
|
+
textAlign: props.flexStyle?.textAlign,
|
|
45
|
+
// fonts
|
|
46
|
+
fontFamily: props.fontStyle?.fontFamily,
|
|
47
|
+
fontSize: props.fontStyle?.fontSize,
|
|
48
|
+
fontWeight: props.fontStyle?.fontWeight,
|
|
49
|
+
lineHeight: props.fontStyle?.lineHeight,
|
|
50
|
+
letterSpacing: props.fontStyle?.letterSpacing
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* EXPORTS
|
|
55
|
+
*/
|
|
56
|
+
export { stylesGlobal };
|
|
57
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["stylesGlobal","props","width","height","backgroundColor","padding","paddingStyle","paddingTop","paddingLeft","paddingRight","paddingBottom","margin","marginStyle","marginTop","marginLeft","marginRight","marginBottom","borderStyle","borderStyled","borderRadius","borderTopRightRadius","borderTopLeftRadius","borderBottomRightRadius","borderBottomLeftRadius","borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","borderColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","flex","flexStyle","flexDirection","alignItems","justifyContent","textAlign","fontFamily","fontStyle","fontSize","fontWeight","lineHeight","letterSpacing"],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/global/styles.ts"],"mappings":";;AAAA;;AAGA,MAAMA,YAAY,GAAIC,KAAiB,KAAM;EAC3CC,KAAK,EAAED,KAAK,CAACC,KAAK;EAClBC,MAAM,EAAEF,KAAK,CAACE,MAAM;EACpBC,eAAe,EAAEH,KAAK,CAACG,eAAe;EAEtC;;EAEAC,OAAO,EAAEJ,KAAK,CAACK,YAAY,EAAED,OAAO;EACpCE,UAAU,EAAEN,KAAK,CAACK,YAAY,EAAEC,UAAU;EAC1CC,WAAW,EAAEP,KAAK,CAACK,YAAY,EAAEE,WAAW;EAC5CC,YAAY,EAAER,KAA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ACiB,YAAY,EAAEe,cAAc;EAElD;EACAC,IAAI,EAAEjC,KAAK,CAACkC,SAAS,EAAED,IAAI;EAC3BE,aAAa,EAAEnC,KAAK,CAACkC,SAAS,EAAEC,aAAa;EAC7CC,UAAU,EAAEpC,KAAK,CAACkC,SAAS,EAAEE,UAAU;EACvCC,cAAc,EAAErC,KAAK,CAACkC,SAAS,EAAEG,cAAc;EAC/CC,SAAS,EAAEtC,KAAK,CAACkC,SAAS,EAAEI,SAAS;EAErC;EACAC,UAAU,EAAEvC,KAAK,CAACwC,SAAS,EAAED,UAAU;EACvCE,QAAQ,EAAEzC,KAAK,CAACwC,SAAS,EAAEC,QAAQ;EACnCC,UAAU,EAAE1C,KAAK,CAACwC,SAAS,EAAEE,UAAU;EACvCC,UAAU,EAAE3C,KAAK,CAACwC,SAAS,EAAEG,UAAU;EACvCC,aAAa,EAAE5C,KAAK,CAACwC,SAAS,EAAEI;AAClC,CAAC,CAAC;;AAEF;AACA;AACA;AACA,SAAS7C,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
import React, { createContext, useContext } from "react";
|
|
7
|
+
|
|
8
|
+
// styles
|
|
9
|
+
import { theme } from "../theme/theme.js";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
const ThemeContext = /*#__PURE__*/createContext(theme);
|
|
12
|
+
export const ThemeProvider = ({
|
|
13
|
+
children
|
|
14
|
+
}) => {
|
|
15
|
+
return /*#__PURE__*/_jsx(ThemeContext.Provider, {
|
|
16
|
+
value: theme,
|
|
17
|
+
children: children
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
export const useTheme = () => useContext(ThemeContext);
|
|
21
|
+
//# sourceMappingURL=theme-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","createContext","useContext","theme","jsx","_jsx","ThemeContext","ThemeProvider","children","Provider","value","useTheme"],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/global/theme-provider.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,aAAa,EAAEC,UAAU,QAAQ,OAAO;;AAExD;AACA,SAASC,KAAK,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEvC,MAAMC,YAAY,gBAAGL,aAAa,CAACE,KAAK,CAAC;AAEzC,OAAO,MAAMI,aAAsD,GAAGA,CAAC;EAAEC;AAAS,CAAC,KAAK;EACtF,oBAAOH,IAAA,CAACC,YAAY,CAACG,QAAQ;IAACC,KAAK,EAAEP,KAAM;IAAAK,QAAA,EAAEA;EAAQ,CAAwB,CAAC;AAChF,CAAC;AAED,OAAO,MAAMG,QAAQ,GAAGA,CAAA,KAAMT,UAAU,CAACI,YAAY,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const borderWidths = {
|
|
8
|
+
thin: 1,
|
|
9
|
+
thin_medium: 2,
|
|
10
|
+
thin_bold: 6,
|
|
11
|
+
thick: 4,
|
|
12
|
+
thick_medium: 8,
|
|
13
|
+
thick_bold: 12,
|
|
14
|
+
thick_large: 16,
|
|
15
|
+
hairline: 999
|
|
16
|
+
};
|
|
17
|
+
const colors = {
|
|
18
|
+
neutral: {
|
|
19
|
+
25: "#FFFFFF",
|
|
20
|
+
50: "#E7EEFF",
|
|
21
|
+
75: "#E5E1F9",
|
|
22
|
+
200: "#C6C6C6",
|
|
23
|
+
300: "#F3F3F3",
|
|
24
|
+
400: "#F4F5F6"
|
|
25
|
+
},
|
|
26
|
+
black: {
|
|
27
|
+
10: "#000000",
|
|
28
|
+
25: "#1E1E1E",
|
|
29
|
+
100: "#393939",
|
|
30
|
+
180: "#35302B"
|
|
31
|
+
},
|
|
32
|
+
blue: {
|
|
33
|
+
25: "#1E1E1E",
|
|
34
|
+
50: "#1EA7fD",
|
|
35
|
+
100: "#051C3B",
|
|
36
|
+
150: "#2E41F2",
|
|
37
|
+
350: "#357FD6",
|
|
38
|
+
375: "#056CF2",
|
|
39
|
+
525: "#2D3748",
|
|
40
|
+
500: "#050022",
|
|
41
|
+
400: "#051C3B"
|
|
42
|
+
},
|
|
43
|
+
red: {
|
|
44
|
+
400: "#D23A1A",
|
|
45
|
+
500: "#C54239",
|
|
46
|
+
800: "#E72626",
|
|
47
|
+
900: "#9F0000"
|
|
48
|
+
},
|
|
49
|
+
gray: {
|
|
50
|
+
300: "#D9D9D9",
|
|
51
|
+
350: "#CDCDCD",
|
|
52
|
+
400: "#C6C6C6",
|
|
53
|
+
500: "#1c1c1e",
|
|
54
|
+
600: "#5E5E5E",
|
|
55
|
+
700: "#727272",
|
|
56
|
+
800: "#837676",
|
|
57
|
+
850: "#868686",
|
|
58
|
+
875: "#949494",
|
|
59
|
+
900: "#9B9B9B",
|
|
60
|
+
925: "#957c5f",
|
|
61
|
+
950: "#94a3b8"
|
|
62
|
+
},
|
|
63
|
+
green: {
|
|
64
|
+
200: "#25BA76",
|
|
65
|
+
250: "#20AD48",
|
|
66
|
+
400: "#49C63E",
|
|
67
|
+
500: "#50C58F"
|
|
68
|
+
},
|
|
69
|
+
orange: {
|
|
70
|
+
500: "#FC5701",
|
|
71
|
+
450: "#FC6C2D",
|
|
72
|
+
150: "#FFA41C"
|
|
73
|
+
},
|
|
74
|
+
yellow: {
|
|
75
|
+
100: "#DFAE00",
|
|
76
|
+
50: "#F0CA4B",
|
|
77
|
+
75: "#F59E0B"
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const fonts = {
|
|
81
|
+
inter_thin_100: "Inter-Thin",
|
|
82
|
+
inter_extra_light_200: "Inter-ExtraLight",
|
|
83
|
+
inter_light_300: "Inter-Light",
|
|
84
|
+
inter_regular_400: "Inter-Regular",
|
|
85
|
+
inter_medium_500: "Inter-Medium",
|
|
86
|
+
inter_semi_bold_600: "Inter-SemiBold",
|
|
87
|
+
inter_bold_700: "Inter-Bold",
|
|
88
|
+
inter_extra_bold_800: "Inter-ExtraBold",
|
|
89
|
+
inter_bold: "Inter-Bold"
|
|
90
|
+
};
|
|
91
|
+
const fontSizes = {
|
|
92
|
+
"2xs": 10,
|
|
93
|
+
xs: 12,
|
|
94
|
+
sm: 14,
|
|
95
|
+
md: 16,
|
|
96
|
+
lg: 18,
|
|
97
|
+
xl: 20,
|
|
98
|
+
"2xl": 24,
|
|
99
|
+
"3xl": 32,
|
|
100
|
+
"4xl": 38,
|
|
101
|
+
"5xl": 50,
|
|
102
|
+
"6xl": 60,
|
|
103
|
+
"7xl": 72,
|
|
104
|
+
"8xl": 96,
|
|
105
|
+
"9xl": 128
|
|
106
|
+
};
|
|
107
|
+
const margins = {
|
|
108
|
+
"2xs": 10,
|
|
109
|
+
xs: 12,
|
|
110
|
+
sm: 14,
|
|
111
|
+
md: 16,
|
|
112
|
+
lg: 18,
|
|
113
|
+
xl: 20,
|
|
114
|
+
"2xl": 24,
|
|
115
|
+
"3xl": 30,
|
|
116
|
+
"4xl": 36,
|
|
117
|
+
"5xl": 48,
|
|
118
|
+
"6xl": 60,
|
|
119
|
+
"7xl": 72,
|
|
120
|
+
"8xl": 96,
|
|
121
|
+
"9xl": 128
|
|
122
|
+
};
|
|
123
|
+
const paddings = {
|
|
124
|
+
"2xs": 10,
|
|
125
|
+
xs: 12,
|
|
126
|
+
sm: 14,
|
|
127
|
+
md: 16,
|
|
128
|
+
lg: 18,
|
|
129
|
+
xl: 20,
|
|
130
|
+
"2xl": 24,
|
|
131
|
+
"3xl": 30,
|
|
132
|
+
"4xl": 36,
|
|
133
|
+
"5xl": 48,
|
|
134
|
+
"6xl": 60,
|
|
135
|
+
"7xl": 72,
|
|
136
|
+
"8xl": 96,
|
|
137
|
+
"9xl": 128
|
|
138
|
+
};
|
|
139
|
+
const shadows = {
|
|
140
|
+
z1: "0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)",
|
|
141
|
+
z2: "0px 1px 2px rgba(0, 0, 0, 0.3)"
|
|
142
|
+
};
|
|
143
|
+
const letterSpacing = {
|
|
144
|
+
o_16: 0.16,
|
|
145
|
+
regular: 0.5,
|
|
146
|
+
medium: 0.75,
|
|
147
|
+
strong: 1
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* EXPORTSS
|
|
152
|
+
*/
|
|
153
|
+
export const theme = {
|
|
154
|
+
borderWidths,
|
|
155
|
+
colors,
|
|
156
|
+
fonts,
|
|
157
|
+
fontSizes,
|
|
158
|
+
margins,
|
|
159
|
+
shadows,
|
|
160
|
+
paddings,
|
|
161
|
+
letterSpacing
|
|
162
|
+
};
|
|
163
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme"],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/theme/theme.ts"],"mappings":";;AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IAC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AAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAMG,OAAO,GAAG;EACdC,EAAE,EAAE,qEAAqE;EACzEC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,KAAK,GAAG;EACnB5C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Formata uma data do tipo Date para o formato DD/MM/YYYY
|
|
5
|
+
* @param date Objeto Date a ser formatado
|
|
6
|
+
* @returns String no formato DD/MM/YYYY
|
|
7
|
+
*/
|
|
8
|
+
const formatDate = date => {
|
|
9
|
+
const day = String(date.getDate()).padStart(2, "0");
|
|
10
|
+
const month = String(date.getMonth() + 1).padStart(2, "0"); // Mês começa em 0
|
|
11
|
+
const year = date.getFullYear();
|
|
12
|
+
return `${day}/${month}/${year}`;
|
|
13
|
+
};
|
|
14
|
+
export { formatDate };
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Retorna as sete últimas datas do dias
|
|
18
|
+
* @returns Array<{ date: number, dayName: string, fullDate: Date }>
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
const getLastSevenDays = () => {
|
|
22
|
+
const today = new Date();
|
|
23
|
+
const days = [];
|
|
24
|
+
const dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];
|
|
25
|
+
for (let i = 7; i >= 0; i--) {
|
|
26
|
+
const date = new Date(today);
|
|
27
|
+
date.setDate(today.getDate() - i);
|
|
28
|
+
days.push({
|
|
29
|
+
date: date.getDate(),
|
|
30
|
+
dayName: dayNames[date.getDay()],
|
|
31
|
+
fullDate: date
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return days;
|
|
35
|
+
};
|
|
36
|
+
export { getLastSevenDays };
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["formatDate","date","day","String","getDate","padStart","month","getMonth","year","getFullYear","getLastSevenDays","today","Date","days","dayNames","i","setDate","push","dayName","getDay","fullDate"],"sourceRoot":"..\\..\\..\\..\\src","sources":["utils/format-date/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,UAAU,GAAIC,IAAU,IAAa;EACzC,MAAMC,GAAG,GAAGC,MAAM,CAACF,IAAI,CAACG,OAAO,CAAC,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;EACnD,MAAMC,KAAK,GAAGH,MAAM,CAACF,IAAI,CAACM,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAACF,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;EAC5D,MAAMG,IAAI,GAAGP,IAAI,CAACQ,WAAW,CAAC,CAAC;EAE/B,OAAO,GAAGP,GAAG,IAAII,KAAK,IAAIE,IAAI,EAAE;AAClC,CAAC;AAED,SAASR,UAAU;;AAEnB;AACA;AACA;AACA;;AAEA,MAAMU,gBAAgB,GAAGA,CAAA,KAAM;EAC7B,MAAMC,KAAK,GAAG,IAAIC,IAAI,CAAC,CAAC;EACxB,MAAMC,IAAI,GAAG,EAAE;EACf,MAAMC,QAAQ,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC;EAEvF,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;IAC3B,MAAMd,IAAI,GAAG,IAAIW,IAAI,CAACD,KAAK,CAAC;IAC5BV,IAAI,CAACe,OAAO,CAACL,KAAK,CAACP,OAAO,CAAC,CAAC,GAAGW,CAAC,CAAC;IAEjCF,IAAI,CAACI,IAAI,CAAC;MACRhB,IAAI,EAAEA,IAAI,CAACG,OAAO,CAAC,CAAC;MACpBc,OAAO,EAAEJ,QAAQ,CAACb,IAAI,CAACkB,MAAM,CAAC,CAAC,CAAC;MAChCC,QAAQ,EAAEnB;IACZ,CAAC,CAAC;EACJ;EAEA,OAAOY,IAAI;AACb,CAAC;AAED,SAASH,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"as-base-component.d.ts","sourceRoot":"","sources":["../../../../../src/@types/as-base-component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,wBAAgB,eAAe,CAAC,CAAC,EAC/B,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EAEjC,QAAQ,CAAC,EAAE,CAAC,GACX,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAExB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/common/constants/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;CAGX,CAAC;AACF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
/**
|
|
6
|
+
* typings
|
|
7
|
+
*/
|
|
8
|
+
import { type ISvgProps } from "../interface";
|
|
9
|
+
declare const SvgIconArrowDropDown: React.FC<ISvgProps>;
|
|
10
|
+
/**
|
|
11
|
+
* EXPORTS
|
|
12
|
+
*/
|
|
13
|
+
export { SvgIconArrowDropDown };
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/arrow-drop-down/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAY7C,CAAC;AAEF;;GAEG;AACH,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|