react-native-exp-fig 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/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 +51 -0
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js +54 -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 +37 -0
- package/lib/commonjs/common/icons-svg/check-circle/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/closed/index.js +55 -0
- package/lib/commonjs/common/icons-svg/closed/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +52 -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/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/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 +290 -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/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/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/components/box/index.js +55 -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 +22 -0
- package/lib/commonjs/components/box/styles.js.map +1 -0
- package/lib/commonjs/components/button/index.js +73 -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 +39 -0
- package/lib/commonjs/components/button/styles.js.map +1 -0
- package/lib/commonjs/components/capture-photo/index.js +114 -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 +27 -0
- package/lib/commonjs/components/capture-photo/styles.js.map +1 -0
- package/lib/commonjs/components/card-hours/index.js +116 -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-loading/helpers/return-colors.js +16 -0
- package/lib/commonjs/components/card-loading/helpers/return-colors.js.map +1 -0
- package/lib/commonjs/components/card-loading/index.js +267 -0
- package/lib/commonjs/components/card-loading/index.js.map +1 -0
- package/lib/commonjs/components/card-loading/interface.d.js +6 -0
- package/lib/commonjs/components/card-loading/interface.d.js.map +1 -0
- package/lib/commonjs/components/card-loading/styles.js +2 -0
- package/lib/commonjs/components/card-loading/styles.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js +133 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/interface.js +6 -0
- package/lib/commonjs/components/card-scheduled-journey/interface.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 +174 -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 +144 -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/input/index.js +201 -0
- package/lib/commonjs/components/input/index.js.map +1 -0
- package/lib/commonjs/components/input/interface.d.js +6 -0
- package/lib/commonjs/components/input/interface.d.js.map +1 -0
- package/lib/commonjs/components/input/styles.js +30 -0
- package/lib/commonjs/components/input/styles.js.map +1 -0
- package/lib/commonjs/components/menu-item/index.js +90 -0
- package/lib/commonjs/components/menu-item/index.js.map +1 -0
- package/lib/commonjs/components/menu-item/interface.d.js +6 -0
- package/lib/commonjs/components/menu-item/interface.d.js.map +1 -0
- package/lib/commonjs/components/menu-item/styles.js +2 -0
- package/lib/commonjs/components/menu-item/styles.js.map +1 -0
- package/lib/commonjs/components/scheduled-journey-indicators/index.js +99 -0
- package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -0
- package/lib/commonjs/components/scheduled-journey-indicators/interface.d.js +6 -0
- package/lib/commonjs/components/scheduled-journey-indicators/interface.d.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/index.js +110 -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 +156 -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 +71 -0
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -0
- package/lib/commonjs/components/typography/index.js +75 -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 +217 -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 +132 -0
- package/lib/commonjs/index.js.map +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 +138 -0
- package/lib/commonjs/stories/button/button.stories.js.map +1 -0
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +168 -0
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -0
- package/lib/commonjs/stories/card-hours/card-hours.stories.js +101 -0
- package/lib/commonjs/stories/card-hours/card-hours.stories.js.map +1 -0
- package/lib/commonjs/stories/card-loading/card-loading.stories.js +84 -0
- package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -0
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js +97 -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 +50 -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 +83 -0
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -0
- package/lib/commonjs/stories/input/input.stories.js +337 -0
- package/lib/commonjs/stories/input/input.stories.js.map +1 -0
- package/lib/commonjs/stories/menu-item/menu-item.stories.js +74 -0
- package/lib/commonjs/stories/menu-item/menu-item.stories.js.map +1 -0
- package/lib/commonjs/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js +83 -0
- package/lib/commonjs/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js.map +1 -0
- package/lib/commonjs/stories/select-option/select-option.stories.js +52 -0
- package/lib/commonjs/stories/select-option/select-option.stories.js.map +1 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js +105 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -0
- package/lib/commonjs/stories/typography/typography.stories.js +138 -0
- package/lib/commonjs/stories/typography/typography.stories.js.map +1 -0
- package/lib/commonjs/stories/user-profile/user-profile.stories.js +54 -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 +24 -0
- package/lib/commonjs/styles/global/theme-provider.js.map +1 -0
- package/lib/commonjs/styles/theme/theme.js +160 -0
- package/lib/commonjs/styles/theme/theme.js.map +1 -0
- package/lib/commonjs/utils/format-data/index.js +19 -0
- package/lib/commonjs/utils/format-data/index.js.map +1 -0
- package/lib/commonjs/utils/mutiply/index.js +10 -0
- package/lib/commonjs/utils/mutiply/index.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 +44 -0
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -0
- package/lib/module/common/icons-svg/bluetooth-connected/index.js +47 -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 +30 -0
- package/lib/module/common/icons-svg/check-circle/index.js.map +1 -0
- package/lib/module/common/icons-svg/closed/index.js +46 -0
- package/lib/module/common/icons-svg/closed/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +50 -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/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/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 +284 -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/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/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/components/box/index.js +49 -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 +19 -0
- package/lib/module/components/box/styles.js.map +1 -0
- package/lib/module/components/button/index.js +67 -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 +36 -0
- package/lib/module/components/button/styles.js.map +1 -0
- package/lib/module/components/capture-photo/index.js +110 -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 +23 -0
- package/lib/module/components/capture-photo/styles.js.map +1 -0
- package/lib/module/components/card-hours/index.js +110 -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-loading/helpers/return-colors.js +13 -0
- package/lib/module/components/card-loading/helpers/return-colors.js.map +1 -0
- package/lib/module/components/card-loading/index.js +263 -0
- package/lib/module/components/card-loading/index.js.map +1 -0
- package/lib/module/components/card-loading/interface.d.js +4 -0
- package/lib/module/components/card-loading/interface.d.js.map +1 -0
- package/lib/module/components/card-loading/styles.js +2 -0
- package/lib/module/components/card-loading/styles.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/index.js +129 -0
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/interface.js +4 -0
- package/lib/module/components/card-scheduled-journey/interface.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 +168 -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 +140 -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/input/index.js +197 -0
- package/lib/module/components/input/index.js.map +1 -0
- package/lib/module/components/input/interface.d.js +4 -0
- package/lib/module/components/input/interface.d.js.map +1 -0
- package/lib/module/components/input/styles.js +27 -0
- package/lib/module/components/input/styles.js.map +1 -0
- package/lib/module/components/menu-item/index.js +86 -0
- package/lib/module/components/menu-item/index.js.map +1 -0
- package/lib/module/components/menu-item/interface.d.js +4 -0
- package/lib/module/components/menu-item/interface.d.js.map +1 -0
- package/lib/module/components/menu-item/styles.js +2 -0
- package/lib/module/components/menu-item/styles.js.map +1 -0
- package/lib/module/components/scheduled-journey-indicators/index.js +94 -0
- package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -0
- package/lib/module/components/scheduled-journey-indicators/interface.d.js +4 -0
- package/lib/module/components/scheduled-journey-indicators/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 +67 -0
- package/lib/module/components/step-indicator/styles.js.map +1 -0
- package/lib/module/components/typography/index.js +71 -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 +213 -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 +30 -0
- package/lib/module/index.js.map +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 +134 -0
- package/lib/module/stories/button/button.stories.js.map +1 -0
- package/lib/module/stories/capture-photo/capture-photo.stories.js +164 -0
- package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -0
- package/lib/module/stories/card-hours/card-hours.stories.js +97 -0
- package/lib/module/stories/card-hours/card-hours.stories.js.map +1 -0
- package/lib/module/stories/card-loading/card-loading.stories.js +80 -0
- package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -0
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js +93 -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 +46 -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 +79 -0
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -0
- package/lib/module/stories/input/input.stories.js +332 -0
- package/lib/module/stories/input/input.stories.js.map +1 -0
- package/lib/module/stories/menu-item/menu-item.stories.js +70 -0
- package/lib/module/stories/menu-item/menu-item.stories.js.map +1 -0
- package/lib/module/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js +80 -0
- package/lib/module/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js.map +1 -0
- package/lib/module/stories/select-option/select-option.stories.js +48 -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 +134 -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 +16 -0
- package/lib/module/styles/global/theme-provider.js.map +1 -0
- package/lib/module/styles/theme/theme.js +156 -0
- package/lib/module/styles/theme/theme.js.map +1 -0
- package/lib/module/utils/format-data/index.js +15 -0
- package/lib/module/utils/format-data/index.js.map +1 -0
- package/lib/module/utils/mutiply/index.js +6 -0
- package/lib/module/utils/mutiply/index.js.map +1 -0
- package/lib/typescript/commonjs/package.json +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 +45 -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/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/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/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/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/components/box/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/box/styles.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts +10 -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 +14 -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 +10 -0
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-loading/helpers/return-colors.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/card-loading/helpers/return-colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-loading/styles.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/card-loading/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +14 -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/interface.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/interface.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 +11 -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 +14 -0
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/input/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/input/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/input/styles.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/input/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/menu-item/styles.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/menu-item/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +14 -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 +14 -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 +14 -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 +15 -0
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +22 -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 +10 -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-loading/card-loading.stories.d.ts +9 -0
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.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 +10 -0
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts +15 -0
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts +9 -0
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.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 +142 -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 +144 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +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 +45 -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/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/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/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/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/components/box/index.d.ts +10 -0
- package/lib/typescript/module/src/components/box/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/box/styles.d.ts +13 -0
- package/lib/typescript/module/src/components/box/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/index.d.ts +10 -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 +14 -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 +10 -0
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-loading/helpers/return-colors.d.ts +4 -0
- package/lib/typescript/module/src/components/card-loading/helpers/return-colors.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-loading/index.d.ts +15 -0
- package/lib/typescript/module/src/components/card-loading/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-loading/styles.d.ts +1 -0
- package/lib/typescript/module/src/components/card-loading/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +14 -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/interface.d.ts +33 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.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 +11 -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 +14 -0
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/input/index.d.ts +15 -0
- package/lib/typescript/module/src/components/input/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/input/styles.d.ts +12 -0
- package/lib/typescript/module/src/components/input/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/menu-item/index.d.ts +15 -0
- package/lib/typescript/module/src/components/menu-item/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/menu-item/styles.d.ts +1 -0
- package/lib/typescript/module/src/components/menu-item/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts +11 -0
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +14 -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 +14 -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 +14 -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 +15 -0
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +22 -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 +10 -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-loading/card-loading.stories.d.ts +9 -0
- package/lib/typescript/module/src/stories/card-loading/card-loading.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 +10 -0
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/input/input.stories.d.ts +15 -0
- package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts +9 -0
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.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 +142 -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 +144 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/format-data/index.d.ts +8 -0
- package/lib/typescript/module/src/utils/format-data/index.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/mutiply/index.d.ts +2 -0
- package/lib/typescript/module/src/utils/mutiply/index.d.ts.map +1 -0
- package/package.json +20 -12
- package/src/common/constants/index.ts +5 -0
- package/src/common/icons-svg/arrow-drop-down/index.tsx +28 -28
- package/src/common/icons-svg/arrow-left/index.tsx +32 -32
- package/src/common/icons-svg/bell/index.tsx +26 -0
- package/src/common/icons-svg/bluetooth/index.tsx +37 -37
- package/src/common/icons-svg/bluetooth-connected/index.tsx +41 -41
- package/src/common/icons-svg/calendar/index.tsx +40 -40
- package/src/common/icons-svg/call-bell/index.tsx +29 -29
- package/src/common/icons-svg/camera-plus/index.tsx +40 -40
- package/src/common/icons-svg/chart-bar/index.tsx +29 -0
- package/src/common/icons-svg/check-box-fill/index.tsx +30 -30
- package/src/common/icons-svg/check-box-outline/index.tsx +30 -30
- package/src/common/icons-svg/check-circle/index.tsx +27 -27
- package/src/common/icons-svg/closed/index.tsx +34 -34
- package/src/common/icons-svg/constants/index.ts +47 -43
- package/src/common/icons-svg/credit-card/index.tsx +32 -32
- package/src/common/icons-svg/currency/index.tsx +39 -39
- package/src/common/icons-svg/currency-circle-dollar/index.tsx +29 -0
- package/src/common/icons-svg/eye/index.tsx +31 -31
- package/src/common/icons-svg/eye-slash/index.tsx +31 -31
- package/src/common/icons-svg/file-text/index.tsx +39 -39
- package/src/common/icons-svg/gas-pump/index.tsx +39 -39
- package/src/common/icons-svg/gauge/index.tsx +39 -39
- package/src/common/icons-svg/gear/index.tsx +39 -39
- package/src/common/icons-svg/index.tsx +171 -149
- package/src/common/icons-svg/interface.d.ts +18 -18
- package/src/common/icons-svg/list/index.tsx +58 -58
- package/src/common/icons-svg/moon-stars/index.tsx +29 -29
- package/src/common/icons-svg/note-pincel/index.tsx +40 -40
- package/src/common/icons-svg/package/index.tsx +29 -0
- package/src/common/icons-svg/package-check/index.tsx +45 -45
- package/src/common/icons-svg/shopping-cart/index.tsx +39 -39
- package/src/common/icons-svg/steering-wheel/index.tsx +49 -49
- package/src/common/icons-svg/steering-wheel-fill/index.tsx +36 -36
- package/src/common/icons-svg/timer/index.tsx +39 -39
- package/src/common/icons-svg/trophy/index.tsx +29 -29
- package/src/common/icons-svg/truck/index.tsx +39 -39
- package/src/common/icons-svg/truck-trailer/index.tsx +36 -0
- package/src/common/icons-svg/wifi-high/index.tsx +43 -43
- package/src/common/icons-svg/wifi-x/index.tsx +50 -50
- package/src/components/box/index.tsx +47 -47
- package/src/components/box/interface.d.ts +31 -31
- package/src/components/box/styles.ts +21 -21
- package/src/components/button/index.tsx +65 -61
- package/src/components/button/interface.d.ts +40 -40
- package/src/components/button/styles.ts +34 -34
- package/src/components/capture-photo/index.tsx +125 -125
- package/src/components/capture-photo/interface.d.ts +44 -44
- package/src/components/capture-photo/styles.ts +24 -24
- package/src/components/card-hours/index.tsx +118 -118
- package/src/components/card-hours/interface.d.ts +37 -37
- package/src/components/card-loading/helpers/return-colors.ts +15 -0
- package/src/components/card-loading/index.tsx +265 -0
- package/src/components/card-loading/interface.d.ts +30 -0
- package/src/components/card-loading/styles.ts +0 -0
- package/src/components/card-scheduled-journey/index.tsx +135 -138
- package/src/components/card-scheduled-journey/interface.ts +42 -42
- package/src/components/card-scheduled-journey/styles.ts +26 -26
- package/src/components/card-work-session/index.tsx +147 -0
- package/src/components/card-work-session/interface.d.ts +46 -0
- package/src/components/header-profile/index.tsx +128 -128
- package/src/components/header-profile/interface.d.ts +52 -52
- package/src/components/input/index.tsx +176 -180
- package/src/components/input/interface.d.ts +55 -55
- package/src/components/input/styles.ts +23 -23
- package/src/components/menu-item/index.tsx +77 -0
- package/src/components/menu-item/interface.d.ts +19 -0
- package/src/components/menu-item/styles.ts +0 -0
- package/src/components/scheduled-journey-indicators/index.tsx +99 -99
- package/src/components/scheduled-journey-indicators/interface.d.ts +18 -18
- package/src/components/selects/select-option/index.tsx +100 -104
- package/src/components/selects/select-option/interface.d.ts +18 -18
- package/src/components/selects/select-option/styles.ts +75 -75
- package/src/components/step-indicator/helpers/get-icon-by-status.tsx +20 -20
- package/src/components/step-indicator/index.tsx +164 -164
- package/src/components/step-indicator/interface.d.ts +34 -34
- package/src/components/step-indicator/styles.ts +67 -67
- package/src/components/typography/index.tsx +67 -67
- package/src/components/typography/interface.d.ts +102 -102
- package/src/components/typography/styles.ts +34 -34
- package/src/components/user-profile/index.tsx +216 -0
- package/src/components/user-profile/interface.d.ts +22 -0
- package/src/index.ts +4 -0
- package/src/stories/box/box.stories.tsx +105 -106
- package/src/stories/button/button.stories.tsx +143 -143
- package/src/stories/capture-photo/capture-photo.stories.tsx +170 -170
- package/src/stories/card-hours/card-hours.stories.tsx +102 -102
- package/src/stories/card-loading/card-loading.stories.tsx +85 -0
- package/src/stories/card-scheduled-journey/card-scheduled-journey.stories.tsx +101 -101
- package/src/stories/card-work-session/card-work-session.stories.tsx +49 -0
- package/src/stories/header-profile/header-profile.stories.tsx +84 -84
- package/src/stories/input/input.stories.tsx +287 -286
- package/src/stories/menu-item/menu-item.stories.tsx +76 -0
- package/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.tsx +74 -74
- package/src/stories/select-option/select-option.stories.tsx +46 -46
- package/src/stories/step-indicator/step-indicator.stories.tsx +116 -116
- package/src/stories/typography/typography.stories.tsx +146 -146
- package/src/stories/user-profile/user-profile.stories.tsx +56 -0
- package/src/styles/global/interface.d.ts +131 -131
- package/src/styles/global/styles.ts +63 -63
- package/src/styles/global/theme-provider.tsx +10 -10
- package/src/styles/theme/theme.ts +160 -156
- package/src/utils/format-data/index.ts +14 -14
- package/src/utils/mutiply/index.ts +3 -3
|
@@ -1,170 +1,170 @@
|
|
|
1
|
-
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
-
import { CapturePhoto } from "../../components/capture-photo";
|
|
3
|
-
|
|
4
|
-
import { theme } from "../../styles/theme/theme";
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof CapturePhoto> = {
|
|
7
|
-
title: "componente/ CapturePhoto",
|
|
8
|
-
component: CapturePhoto,
|
|
9
|
-
args: {
|
|
10
|
-
takePhotoWithImagePicker: () => {},
|
|
11
|
-
imageComprovante: null,
|
|
12
|
-
onPress: () => {},
|
|
13
|
-
},
|
|
14
|
-
parameters: {
|
|
15
|
-
notes: `
|
|
16
|
-
# CapturePhoto
|
|
17
|
-
|
|
18
|
-
Este é um componente de Captura de Foto.
|
|
19
|
-
Você usa assim:
|
|
20
|
-
\`\`\`tsx
|
|
21
|
-
<CapturePhoto
|
|
22
|
-
takePhotoWithImagePicker={() => takePhotoWithImagePicker}
|
|
23
|
-
imageComprovante={null}
|
|
24
|
-
flexStyle={{
|
|
25
|
-
textAlign: "center",
|
|
26
|
-
justifyContent: "center",
|
|
27
|
-
flexDirection: "column",
|
|
28
|
-
alignItems: "center",
|
|
29
|
-
}}
|
|
30
|
-
color={{ colorSvg: "#050022", colorText: "gray" }}
|
|
31
|
-
borderStyled={{
|
|
32
|
-
borderWidth: 2,
|
|
33
|
-
borderRadius: 8,
|
|
34
|
-
borderStyle: "dashed",
|
|
35
|
-
borderColor: "#050022",
|
|
36
|
-
}}
|
|
37
|
-
title={{
|
|
38
|
-
text: "Sem foto capturada...",
|
|
39
|
-
textSmallPhoto: "",
|
|
40
|
-
}}
|
|
41
|
-
smallText={false}
|
|
42
|
-
/>
|
|
43
|
-
\`\`\`
|
|
44
|
-
`,
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export default meta;
|
|
49
|
-
|
|
50
|
-
type story = StoryObj<typeof CapturePhoto>;
|
|
51
|
-
|
|
52
|
-
/* eslint-disable no-undef */
|
|
53
|
-
export const CaptureSimple: story = {
|
|
54
|
-
name: "capture-simple",
|
|
55
|
-
args: {
|
|
56
|
-
takePhotoWithImagePicker: () => alert("capturar foto..."),
|
|
57
|
-
testID: "capture-simple",
|
|
58
|
-
opacity: 0.7,
|
|
59
|
-
marginStyle: {
|
|
60
|
-
marginBottom: 24,
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
width: "100%",
|
|
64
|
-
height: 168,
|
|
65
|
-
borderStyled: {
|
|
66
|
-
borderWidth: 2,
|
|
67
|
-
borderColor: theme.colors.blue[500],
|
|
68
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
69
|
-
borderStyle: "dashed",
|
|
70
|
-
},
|
|
71
|
-
flexStyle: {
|
|
72
|
-
textAlign: "center",
|
|
73
|
-
justifyContent: "center",
|
|
74
|
-
flexDirection: "column",
|
|
75
|
-
alignItems: "center",
|
|
76
|
-
},
|
|
77
|
-
color: {
|
|
78
|
-
colorSvg: theme.colors.gray[875],
|
|
79
|
-
colorText: theme.colors.green[200],
|
|
80
|
-
},
|
|
81
|
-
fontStyle: {
|
|
82
|
-
fontSize: 16,
|
|
83
|
-
fontWeight: "500",
|
|
84
|
-
fontFamily: "inter_medium_500",
|
|
85
|
-
lineHeight: 24,
|
|
86
|
-
letterSpacing: "regular",
|
|
87
|
-
},
|
|
88
|
-
title: {
|
|
89
|
-
text: "Sem foto capturada...",
|
|
90
|
-
},
|
|
91
|
-
smallText: false,
|
|
92
|
-
},
|
|
93
|
-
};
|
|
94
|
-
export const CaptureSmallPhoto: story = {
|
|
95
|
-
name: "capture-small-photo",
|
|
96
|
-
args: {
|
|
97
|
-
takePhotoWithImagePicker: () => alert("capturar foto da manutenção..."),
|
|
98
|
-
testID: "capture-small",
|
|
99
|
-
opacity: 0.7,
|
|
100
|
-
marginStyle: {
|
|
101
|
-
marginBottom: 24,
|
|
102
|
-
},
|
|
103
|
-
paddingStyle: { paddingTop: 8, paddingBottom: 8 },
|
|
104
|
-
width: 126,
|
|
105
|
-
borderStyled: {
|
|
106
|
-
borderWidth: 2,
|
|
107
|
-
borderColor: theme.colors.blue[500],
|
|
108
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
109
|
-
borderStyle: "solid",
|
|
110
|
-
},
|
|
111
|
-
flexStyle: {
|
|
112
|
-
textAlign: "center",
|
|
113
|
-
justifyContent: "center",
|
|
114
|
-
flexDirection: "column",
|
|
115
|
-
alignItems: "center",
|
|
116
|
-
},
|
|
117
|
-
color: {
|
|
118
|
-
colorSvg: theme.colors.gray[875],
|
|
119
|
-
colorText: theme.colors.green[200],
|
|
120
|
-
},
|
|
121
|
-
fontStyle: {
|
|
122
|
-
fontSize: 16,
|
|
123
|
-
fontWeight: "500",
|
|
124
|
-
fontFamily: "inter_medium_500",
|
|
125
|
-
lineHeight: 24,
|
|
126
|
-
letterSpacing: "regular",
|
|
127
|
-
},
|
|
128
|
-
title: {
|
|
129
|
-
text: "foto 1 ",
|
|
130
|
-
textSmallPhoto: "frente do caminhão",
|
|
131
|
-
},
|
|
132
|
-
smallText: true,
|
|
133
|
-
},
|
|
134
|
-
};
|
|
135
|
-
export const CaptureSimplePhoto: story = {
|
|
136
|
-
name: "capture-simples-photo",
|
|
137
|
-
args: {
|
|
138
|
-
imageComprovante:
|
|
139
|
-
"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=",
|
|
140
|
-
takePhotoWithImagePicker: () => alert("tirar outra foto"),
|
|
141
|
-
testID: "capture-photo",
|
|
142
|
-
|
|
143
|
-
width: 300,
|
|
144
|
-
height: 168,
|
|
145
|
-
borderStyled: {
|
|
146
|
-
borderWidth: theme.borderWidths.thin,
|
|
147
|
-
borderColor: theme.colors.blue[500],
|
|
148
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
149
|
-
borderStyle: "solid",
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
};
|
|
153
|
-
export const CaptureSmallWithPhoto: story = {
|
|
154
|
-
name: "capture-small-with-photo",
|
|
155
|
-
args: {
|
|
156
|
-
imageComprovante:
|
|
157
|
-
"https://media.gettyimages.com/id/163031041/pt/foto/pneu-furado-em-um-semi-reboque.jpg?s=612x612&w=0&k=20&c=YBz1gLqUOf8HvXM1yHgBEOMllo3eNAL6oHlSylkMwo0=",
|
|
158
|
-
takePhotoWithImagePicker: () => alert("tirar outra foto"),
|
|
159
|
-
testID: "capture-small-photo",
|
|
160
|
-
|
|
161
|
-
width: 123,
|
|
162
|
-
height: 120,
|
|
163
|
-
borderStyled: {
|
|
164
|
-
borderWidth: 2,
|
|
165
|
-
borderColor: theme.colors.blue[500],
|
|
166
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
167
|
-
borderStyle: "dashed",
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
};
|
|
1
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
import { CapturePhoto } from "../../components/capture-photo";
|
|
3
|
+
|
|
4
|
+
import { theme } from "../../styles/theme/theme";
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof CapturePhoto> = {
|
|
7
|
+
title: "componente/ CapturePhoto",
|
|
8
|
+
component: CapturePhoto,
|
|
9
|
+
args: {
|
|
10
|
+
takePhotoWithImagePicker: () => {},
|
|
11
|
+
imageComprovante: null,
|
|
12
|
+
onPress: () => {},
|
|
13
|
+
},
|
|
14
|
+
parameters: {
|
|
15
|
+
notes: `
|
|
16
|
+
# CapturePhoto
|
|
17
|
+
|
|
18
|
+
Este é um componente de Captura de Foto.
|
|
19
|
+
Você usa assim:
|
|
20
|
+
\`\`\`tsx
|
|
21
|
+
<CapturePhoto
|
|
22
|
+
takePhotoWithImagePicker={() => takePhotoWithImagePicker}
|
|
23
|
+
imageComprovante={null}
|
|
24
|
+
flexStyle={{
|
|
25
|
+
textAlign: "center",
|
|
26
|
+
justifyContent: "center",
|
|
27
|
+
flexDirection: "column",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
}}
|
|
30
|
+
color={{ colorSvg: "#050022", colorText: "gray" }}
|
|
31
|
+
borderStyled={{
|
|
32
|
+
borderWidth: 2,
|
|
33
|
+
borderRadius: 8,
|
|
34
|
+
borderStyle: "dashed",
|
|
35
|
+
borderColor: "#050022",
|
|
36
|
+
}}
|
|
37
|
+
title={{
|
|
38
|
+
text: "Sem foto capturada...",
|
|
39
|
+
textSmallPhoto: "",
|
|
40
|
+
}}
|
|
41
|
+
smallText={false}
|
|
42
|
+
/>
|
|
43
|
+
\`\`\`
|
|
44
|
+
`,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export default meta;
|
|
49
|
+
|
|
50
|
+
type story = StoryObj<typeof CapturePhoto>;
|
|
51
|
+
|
|
52
|
+
/* eslint-disable no-undef */
|
|
53
|
+
export const CaptureSimple: story = {
|
|
54
|
+
name: "capture-simple",
|
|
55
|
+
args: {
|
|
56
|
+
takePhotoWithImagePicker: () => alert("capturar foto..."),
|
|
57
|
+
testID: "capture-simple",
|
|
58
|
+
opacity: 0.7,
|
|
59
|
+
marginStyle: {
|
|
60
|
+
marginBottom: 24,
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
width: "100%",
|
|
64
|
+
height: 168,
|
|
65
|
+
borderStyled: {
|
|
66
|
+
borderWidth: 2,
|
|
67
|
+
borderColor: theme.colors.blue[500],
|
|
68
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
69
|
+
borderStyle: "dashed",
|
|
70
|
+
},
|
|
71
|
+
flexStyle: {
|
|
72
|
+
textAlign: "center",
|
|
73
|
+
justifyContent: "center",
|
|
74
|
+
flexDirection: "column",
|
|
75
|
+
alignItems: "center",
|
|
76
|
+
},
|
|
77
|
+
color: {
|
|
78
|
+
colorSvg: theme.colors.gray[875],
|
|
79
|
+
colorText: theme.colors.green[200],
|
|
80
|
+
},
|
|
81
|
+
fontStyle: {
|
|
82
|
+
fontSize: 16,
|
|
83
|
+
fontWeight: "500",
|
|
84
|
+
fontFamily: "inter_medium_500",
|
|
85
|
+
lineHeight: 24,
|
|
86
|
+
letterSpacing: "regular",
|
|
87
|
+
},
|
|
88
|
+
title: {
|
|
89
|
+
text: "Sem foto capturada...",
|
|
90
|
+
},
|
|
91
|
+
smallText: false,
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
export const CaptureSmallPhoto: story = {
|
|
95
|
+
name: "capture-small-photo",
|
|
96
|
+
args: {
|
|
97
|
+
takePhotoWithImagePicker: () => alert("capturar foto da manutenção..."),
|
|
98
|
+
testID: "capture-small",
|
|
99
|
+
opacity: 0.7,
|
|
100
|
+
marginStyle: {
|
|
101
|
+
marginBottom: 24,
|
|
102
|
+
},
|
|
103
|
+
paddingStyle: { paddingTop: 8, paddingBottom: 8 },
|
|
104
|
+
width: 126,
|
|
105
|
+
borderStyled: {
|
|
106
|
+
borderWidth: 2,
|
|
107
|
+
borderColor: theme.colors.blue[500],
|
|
108
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
109
|
+
borderStyle: "solid",
|
|
110
|
+
},
|
|
111
|
+
flexStyle: {
|
|
112
|
+
textAlign: "center",
|
|
113
|
+
justifyContent: "center",
|
|
114
|
+
flexDirection: "column",
|
|
115
|
+
alignItems: "center",
|
|
116
|
+
},
|
|
117
|
+
color: {
|
|
118
|
+
colorSvg: theme.colors.gray[875],
|
|
119
|
+
colorText: theme.colors.green[200],
|
|
120
|
+
},
|
|
121
|
+
fontStyle: {
|
|
122
|
+
fontSize: 16,
|
|
123
|
+
fontWeight: "500",
|
|
124
|
+
fontFamily: "inter_medium_500",
|
|
125
|
+
lineHeight: 24,
|
|
126
|
+
letterSpacing: "regular",
|
|
127
|
+
},
|
|
128
|
+
title: {
|
|
129
|
+
text: "foto 1 ",
|
|
130
|
+
textSmallPhoto: "frente do caminhão",
|
|
131
|
+
},
|
|
132
|
+
smallText: true,
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
export const CaptureSimplePhoto: story = {
|
|
136
|
+
name: "capture-simples-photo",
|
|
137
|
+
args: {
|
|
138
|
+
imageComprovante:
|
|
139
|
+
"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=",
|
|
140
|
+
takePhotoWithImagePicker: () => alert("tirar outra foto"),
|
|
141
|
+
testID: "capture-photo",
|
|
142
|
+
|
|
143
|
+
width: 300,
|
|
144
|
+
height: 168,
|
|
145
|
+
borderStyled: {
|
|
146
|
+
borderWidth: theme.borderWidths.thin,
|
|
147
|
+
borderColor: theme.colors.blue[500],
|
|
148
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
149
|
+
borderStyle: "solid",
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
export const CaptureSmallWithPhoto: story = {
|
|
154
|
+
name: "capture-small-with-photo",
|
|
155
|
+
args: {
|
|
156
|
+
imageComprovante:
|
|
157
|
+
"https://media.gettyimages.com/id/163031041/pt/foto/pneu-furado-em-um-semi-reboque.jpg?s=612x612&w=0&k=20&c=YBz1gLqUOf8HvXM1yHgBEOMllo3eNAL6oHlSylkMwo0=",
|
|
158
|
+
takePhotoWithImagePicker: () => alert("tirar outra foto"),
|
|
159
|
+
testID: "capture-small-photo",
|
|
160
|
+
|
|
161
|
+
width: 123,
|
|
162
|
+
height: 120,
|
|
163
|
+
borderStyled: {
|
|
164
|
+
borderWidth: 2,
|
|
165
|
+
borderColor: theme.colors.blue[500],
|
|
166
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
167
|
+
borderStyle: "dashed",
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
};
|
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
-
import { CardHours } from "../../components/card-hours";
|
|
3
|
-
|
|
4
|
-
import { theme } from "../../styles/theme/theme";
|
|
5
|
-
import { formatDate } from "../../utils/format-data";
|
|
6
|
-
|
|
7
|
-
const meta: Meta<typeof CardHours> = {
|
|
8
|
-
title: "componente/CardHours",
|
|
9
|
-
component: CardHours,
|
|
10
|
-
args: {
|
|
11
|
-
handleFormatDataInDayMonthYearNotHours: () => new Date(),
|
|
12
|
-
},
|
|
13
|
-
parameters: {
|
|
14
|
-
notes: `
|
|
15
|
-
# CardHours
|
|
16
|
-
|
|
17
|
-
Este é um componente de Card de horas.
|
|
18
|
-
Você usa assim:
|
|
19
|
-
\`\`\`tsx
|
|
20
|
-
<CardHours
|
|
21
|
-
hoursWorked={"10:20"}
|
|
22
|
-
handleFormatDataInDayMonthYearNotHours={(date: Date) => formatDate(date)}
|
|
23
|
-
text="Hours Worked"
|
|
24
|
-
width={"100%"}
|
|
25
|
-
backgroundColor={theme.colors.neutral[25]}
|
|
26
|
-
color={{
|
|
27
|
-
colorText: theme.colors.gray[700],
|
|
28
|
-
colorTextBold: theme.colors.orange[150],
|
|
29
|
-
colorTextData: theme.colors.gray[700],
|
|
30
|
-
}}
|
|
31
|
-
marginStyle={{
|
|
32
|
-
marginBottom: 10
|
|
33
|
-
}}
|
|
34
|
-
borderStyled={{
|
|
35
|
-
borderWidth: theme.borderWidths.thin,
|
|
36
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
37
|
-
borderStyle: "solid",
|
|
38
|
-
borderColor: theme.colors.blue[500],
|
|
39
|
-
}}
|
|
40
|
-
sizeHours={theme.fontSizes["3xl"]}
|
|
41
|
-
sizeDescription={theme.fontSizes.xs}
|
|
42
|
-
/>
|
|
43
|
-
\`\`\`
|
|
44
|
-
`,
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export default meta;
|
|
49
|
-
|
|
50
|
-
type Story = StoryObj<typeof meta>;
|
|
51
|
-
|
|
52
|
-
export const CardTrabalho: Story = {
|
|
53
|
-
name: "card-hours-work",
|
|
54
|
-
args: {
|
|
55
|
-
width: "100%",
|
|
56
|
-
text: "Total horas de trabalho:",
|
|
57
|
-
sizeHours: 34,
|
|
58
|
-
sizeDescription: 14,
|
|
59
|
-
hoursWorked: "18:32 H",
|
|
60
|
-
fontStyle: {
|
|
61
|
-
fontFamily: theme.fonts.inter_medium_500 as "inter_medium_500",
|
|
62
|
-
fontSize: theme.fontSizes["2xl"],
|
|
63
|
-
},
|
|
64
|
-
borderStyled: {
|
|
65
|
-
borderWidth: theme.borderWidths.thin,
|
|
66
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
67
|
-
borderStyle: "solid",
|
|
68
|
-
borderColor: theme.colors.gray[300],
|
|
69
|
-
},
|
|
70
|
-
color: {
|
|
71
|
-
colorText: theme.colors.gray[700],
|
|
72
|
-
colorTextBold: theme.colors.black[100],
|
|
73
|
-
colorTextData: theme.colors.gray[700],
|
|
74
|
-
},
|
|
75
|
-
handleFormatDataInDayMonthYearNotHours: () => formatDate(new Date()),
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
export const CardPendente: Story = {
|
|
80
|
-
name: "card-hours-pending",
|
|
81
|
-
args: {
|
|
82
|
-
text: "Total horas pendentes:",
|
|
83
|
-
width: "100%",
|
|
84
|
-
hoursWorked: "22:12 H",
|
|
85
|
-
fontStyle: {
|
|
86
|
-
fontFamily: theme.fonts.inter_bold_700 as "inter_bold_700",
|
|
87
|
-
fontSize: theme.fontSizes["2xl"],
|
|
88
|
-
},
|
|
89
|
-
borderStyled: {
|
|
90
|
-
borderWidth: theme.borderWidths.thin,
|
|
91
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
92
|
-
borderStyle: "solid",
|
|
93
|
-
borderColor: theme.colors.gray[300],
|
|
94
|
-
},
|
|
95
|
-
color: {
|
|
96
|
-
colorText: theme.colors.gray[700],
|
|
97
|
-
colorTextBold: theme.colors.orange[150],
|
|
98
|
-
colorTextData: theme.colors.gray[700],
|
|
99
|
-
},
|
|
100
|
-
handleFormatDataInDayMonthYearNotHours: () => formatDate(new Date()),
|
|
101
|
-
},
|
|
102
|
-
};
|
|
1
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
import { CardHours } from "../../components/card-hours";
|
|
3
|
+
|
|
4
|
+
import { theme } from "../../styles/theme/theme";
|
|
5
|
+
import { formatDate } from "../../utils/format-data";
|
|
6
|
+
|
|
7
|
+
const meta: Meta<typeof CardHours> = {
|
|
8
|
+
title: "componente/CardHours",
|
|
9
|
+
component: CardHours,
|
|
10
|
+
args: {
|
|
11
|
+
handleFormatDataInDayMonthYearNotHours: () => new Date(),
|
|
12
|
+
},
|
|
13
|
+
parameters: {
|
|
14
|
+
notes: `
|
|
15
|
+
# CardHours
|
|
16
|
+
|
|
17
|
+
Este é um componente de Card de horas.
|
|
18
|
+
Você usa assim:
|
|
19
|
+
\`\`\`tsx
|
|
20
|
+
<CardHours
|
|
21
|
+
hoursWorked={"10:20"}
|
|
22
|
+
handleFormatDataInDayMonthYearNotHours={(date: Date) => formatDate(date)}
|
|
23
|
+
text="Hours Worked"
|
|
24
|
+
width={"100%"}
|
|
25
|
+
backgroundColor={theme.colors.neutral[25]}
|
|
26
|
+
color={{
|
|
27
|
+
colorText: theme.colors.gray[700],
|
|
28
|
+
colorTextBold: theme.colors.orange[150],
|
|
29
|
+
colorTextData: theme.colors.gray[700],
|
|
30
|
+
}}
|
|
31
|
+
marginStyle={{
|
|
32
|
+
marginBottom: 10
|
|
33
|
+
}}
|
|
34
|
+
borderStyled={{
|
|
35
|
+
borderWidth: theme.borderWidths.thin,
|
|
36
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
37
|
+
borderStyle: "solid",
|
|
38
|
+
borderColor: theme.colors.blue[500],
|
|
39
|
+
}}
|
|
40
|
+
sizeHours={theme.fontSizes["3xl"]}
|
|
41
|
+
sizeDescription={theme.fontSizes.xs}
|
|
42
|
+
/>
|
|
43
|
+
\`\`\`
|
|
44
|
+
`,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export default meta;
|
|
49
|
+
|
|
50
|
+
type Story = StoryObj<typeof meta>;
|
|
51
|
+
|
|
52
|
+
export const CardTrabalho: Story = {
|
|
53
|
+
name: "card-hours-work",
|
|
54
|
+
args: {
|
|
55
|
+
width: "100%",
|
|
56
|
+
text: "Total horas de trabalho:",
|
|
57
|
+
sizeHours: 34,
|
|
58
|
+
sizeDescription: 14,
|
|
59
|
+
hoursWorked: "18:32 H",
|
|
60
|
+
fontStyle: {
|
|
61
|
+
fontFamily: theme.fonts.inter_medium_500 as "inter_medium_500",
|
|
62
|
+
fontSize: theme.fontSizes["2xl"],
|
|
63
|
+
},
|
|
64
|
+
borderStyled: {
|
|
65
|
+
borderWidth: theme.borderWidths.thin,
|
|
66
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
67
|
+
borderStyle: "solid",
|
|
68
|
+
borderColor: theme.colors.gray[300],
|
|
69
|
+
},
|
|
70
|
+
color: {
|
|
71
|
+
colorText: theme.colors.gray[700],
|
|
72
|
+
colorTextBold: theme.colors.black[100],
|
|
73
|
+
colorTextData: theme.colors.gray[700],
|
|
74
|
+
},
|
|
75
|
+
handleFormatDataInDayMonthYearNotHours: () => formatDate(new Date()),
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export const CardPendente: Story = {
|
|
80
|
+
name: "card-hours-pending",
|
|
81
|
+
args: {
|
|
82
|
+
text: "Total horas pendentes:",
|
|
83
|
+
width: "100%",
|
|
84
|
+
hoursWorked: "22:12 H",
|
|
85
|
+
fontStyle: {
|
|
86
|
+
fontFamily: theme.fonts.inter_bold_700 as "inter_bold_700",
|
|
87
|
+
fontSize: theme.fontSizes["2xl"],
|
|
88
|
+
},
|
|
89
|
+
borderStyled: {
|
|
90
|
+
borderWidth: theme.borderWidths.thin,
|
|
91
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
92
|
+
borderStyle: "solid",
|
|
93
|
+
borderColor: theme.colors.gray[300],
|
|
94
|
+
},
|
|
95
|
+
color: {
|
|
96
|
+
colorText: theme.colors.gray[700],
|
|
97
|
+
colorTextBold: theme.colors.orange[150],
|
|
98
|
+
colorTextData: theme.colors.gray[700],
|
|
99
|
+
},
|
|
100
|
+
handleFormatDataInDayMonthYearNotHours: () => formatDate(new Date()),
|
|
101
|
+
},
|
|
102
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
|
|
3
|
+
import { CardLoading } from "../../components/card-loading";
|
|
4
|
+
import { theme } from "../../styles/theme/theme";
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof CardLoading> = {
|
|
7
|
+
title: "componente/CardLoading",
|
|
8
|
+
component: CardLoading,
|
|
9
|
+
args: {
|
|
10
|
+
width: 120,
|
|
11
|
+
height: 90,
|
|
12
|
+
title: "Carregamento #01020304050607",
|
|
13
|
+
backgroundColor: theme.colors.blue[400],
|
|
14
|
+
handleNavigation: () => {},
|
|
15
|
+
},
|
|
16
|
+
parameters: {
|
|
17
|
+
notes: `
|
|
18
|
+
# CardLoading
|
|
19
|
+
|
|
20
|
+
Este é um componente de CardLoading.
|
|
21
|
+
Você usa assim:
|
|
22
|
+
\`\`\`tsx
|
|
23
|
+
<CardLoading
|
|
24
|
+
width={"100%"}
|
|
25
|
+
title="Carregamento #01020304050607"
|
|
26
|
+
local="Doca 1, Patío 03 - Usiminas Ipatinga"
|
|
27
|
+
vehicle="EXP-0000"
|
|
28
|
+
prevision="12:37 10/03/2025"
|
|
29
|
+
kg={40}
|
|
30
|
+
qtdCoils={15}
|
|
31
|
+
status="Pendente"
|
|
32
|
+
handleNavigation={() => {}}
|
|
33
|
+
/>
|
|
34
|
+
\`\`\`
|
|
35
|
+
`,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default meta;
|
|
40
|
+
|
|
41
|
+
type Story = StoryObj<typeof meta>;
|
|
42
|
+
|
|
43
|
+
export const CardLoadingAprovado: Story = {
|
|
44
|
+
name: "card-carregamento-aprovado",
|
|
45
|
+
args: {
|
|
46
|
+
width: "100%",
|
|
47
|
+
title: "Carregamento #01020304050607",
|
|
48
|
+
local: "Doca 1, Patío 03 - Usiminas Ipatinga",
|
|
49
|
+
vehicle: "EXP-0000",
|
|
50
|
+
prevision: "12:37 10/03/2025",
|
|
51
|
+
kg: 40,
|
|
52
|
+
qtdCoils: 15,
|
|
53
|
+
status: "Aprovado",
|
|
54
|
+
handleNavigation: () => {},
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const CardLoadingPendente: Story = {
|
|
59
|
+
name: "card-carregamento-pendente",
|
|
60
|
+
args: {
|
|
61
|
+
width: "100%",
|
|
62
|
+
title: "Carregamento #01020304050607",
|
|
63
|
+
local: "Doca 1, Patío 03 - Usiminas Ipatinga",
|
|
64
|
+
vehicle: "EXP-0000",
|
|
65
|
+
prevision: "12:37 10/03/2025",
|
|
66
|
+
kg: 40,
|
|
67
|
+
qtdCoils: 15,
|
|
68
|
+
status: "Pendente",
|
|
69
|
+
handleNavigation: () => {},
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
export const CardLoadingReprovado: Story = {
|
|
73
|
+
name: "card-carregamento-reprovado",
|
|
74
|
+
args: {
|
|
75
|
+
width: "100%",
|
|
76
|
+
title: "Carregamento #01020304050607",
|
|
77
|
+
local: "Doca 1, Patío 03 - Usiminas Ipatinga",
|
|
78
|
+
vehicle: "EXP-0000",
|
|
79
|
+
prevision: "12:37 10/03/2025",
|
|
80
|
+
kg: 40,
|
|
81
|
+
qtdCoils: 15,
|
|
82
|
+
status: "Reprovado",
|
|
83
|
+
handleNavigation: () => {},
|
|
84
|
+
},
|
|
85
|
+
};
|