react-native-exp-fig 0.1.6 → 0.1.8
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 -20
- package/lib/commonjs/common/icons-svg/check-box/index.js +45 -0
- package/lib/commonjs/common/icons-svg/check-box/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +5 -4
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +14 -5
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +7 -7
- package/lib/commonjs/components/card-work-session/index.js +4 -4
- package/lib/commonjs/components/check-box/index.js +9 -9
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +16 -14
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/header-profile/index.js +7 -6
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/components/input/index.js +7 -7
- package/lib/commonjs/components/notification-loading/index.js +4 -4
- package/lib/commonjs/index.js +0 -7
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js +11 -3
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/header-profile/header-profile.stories.js +17 -1
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/module/common/icons-svg/check-box/index.js +37 -0
- package/lib/module/common/icons-svg/check-box/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +5 -4
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +14 -5
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/components/card-history/index.js +7 -7
- package/lib/module/components/card-work-session/index.js +4 -4
- package/lib/module/components/check-box/index.js +9 -9
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/coil/index.js +16 -14
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/header-profile/index.js +7 -6
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/components/input/index.js +7 -7
- package/lib/module/components/notification-loading/index.js +4 -4
- package/lib/module/index.js +0 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js +10 -2
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/header-profile/header-profile.stories.js +16 -0
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/check-box/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +52 -51
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts +11 -11
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/box/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/box/styles.d.ts +12 -12
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +23 -23
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-history/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +9 -9
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/interface.d.ts +32 -32
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/check-box/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/coil/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/coil/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/input/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/input/styles.d.ts +11 -11
- package/lib/typescript/commonjs/src/components/input/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/no-data/index.d.ts +7 -7
- package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts +10 -10
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +63 -63
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts +14 -14
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +56 -56
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +13 -13
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +29 -29
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts +14 -14
- package/lib/typescript/commonjs/src/index.d.ts +31 -33
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts +10 -10
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +10 -10
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts +9 -8
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts +10 -9
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts +14 -14
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts +8 -8
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +9 -9
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts +6 -6
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +15 -15
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts +7 -7
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +46 -46
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +148 -148
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +150 -150
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts +17 -17
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts +3 -3
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts.map +1 -1
- package/lib/typescript/module/src/common/constants/index.d.ts +4 -4
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/check-box/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/check-box/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +52 -51
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts +4 -4
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +7 -7
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +11 -11
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +13 -13
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts +10 -10
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +13 -13
- package/lib/typescript/module/src/components/box/index.d.ts +9 -9
- package/lib/typescript/module/src/components/box/styles.d.ts +12 -12
- package/lib/typescript/module/src/components/box/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/button/index.d.ts +9 -9
- package/lib/typescript/module/src/components/button/styles.d.ts +23 -23
- package/lib/typescript/module/src/components/button/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +13 -13
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-history/index.d.ts +14 -14
- package/lib/typescript/module/src/components/card-hours/index.d.ts +9 -9
- package/lib/typescript/module/src/components/card-loading/index.d.ts +14 -14
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +13 -13
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts +32 -32
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts +10 -10
- package/lib/typescript/module/src/components/check-box/index.d.ts +13 -13
- package/lib/typescript/module/src/components/coil/index.d.ts +10 -10
- package/lib/typescript/module/src/components/coil/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/filter-date-selector/index.d.ts +14 -14
- package/lib/typescript/module/src/components/filter-journey/index.d.ts +10 -10
- package/lib/typescript/module/src/components/header-profile/index.d.ts +13 -13
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts +14 -14
- package/lib/typescript/module/src/components/input/index.d.ts +14 -14
- package/lib/typescript/module/src/components/input/styles.d.ts +11 -11
- package/lib/typescript/module/src/components/input/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/loading-details/index.d.ts +10 -10
- package/lib/typescript/module/src/components/loading-progress/index.d.ts +14 -14
- package/lib/typescript/module/src/components/menu-item/index.d.ts +14 -14
- package/lib/typescript/module/src/components/no-data/index.d.ts +7 -7
- package/lib/typescript/module/src/components/notification-loading/index.d.ts +10 -10
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts +10 -10
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +13 -13
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +63 -63
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +14 -14
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +13 -13
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +56 -56
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +13 -13
- package/lib/typescript/module/src/components/typography/styles.d.ts +29 -29
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts +14 -14
- package/lib/typescript/module/src/index.d.ts +31 -33
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +10 -10
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +10 -10
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts +9 -8
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +10 -9
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/input/input.stories.d.ts +14 -14
- package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts +8 -8
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +9 -9
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +6 -6
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts +15 -15
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +7 -7
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/styles.d.ts +46 -46
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +148 -148
- package/lib/typescript/module/src/styles/theme/theme.d.ts +150 -150
- package/lib/typescript/module/src/utils/format-data/index.d.ts +17 -17
- package/lib/typescript/module/src/utils/format-data/index.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/mutiply/index.d.ts +1 -1
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts +3 -3
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/icons-svg/check-box/index.tsx +28 -0
- package/src/common/icons-svg/constants/index.ts +55 -54
- package/src/common/icons-svg/index.tsx +203 -199
- package/src/components/card-history/index.tsx +150 -150
- package/src/components/card-work-session/index.tsx +161 -161
- package/src/components/card-work-session/interface.d.ts +48 -48
- package/src/components/check-box/index.tsx +125 -125
- package/src/components/coil/index.tsx +90 -82
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/header-profile/index.tsx +7 -6
- package/src/components/header-profile/interface.d.ts +57 -57
- package/src/components/input/index.tsx +181 -181
- package/src/components/notification-loading/index.tsx +144 -144
- package/src/index.ts +0 -2
- package/src/stories/coil/coil.stories.tsx +74 -64
- package/src/stories/header-profile/header-profile.stories.tsx +15 -0
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { TouchableOpacity } from "react-native";
|
|
6
|
-
|
|
7
|
-
// components
|
|
8
|
-
import { Box } from "../box";
|
|
9
|
-
import { Typography } from "../typography";
|
|
10
|
-
|
|
11
|
-
// icons
|
|
12
|
-
import { Icons } from "../../common/icons-svg";
|
|
13
|
-
|
|
14
|
-
// theme
|
|
15
|
-
import { theme } from "../../styles/theme/theme";
|
|
16
|
-
|
|
17
|
-
import { INotificationLoading } from "./interface";
|
|
18
|
-
import { getStatusColor, StatusType } from "../../utils/status-color/return-color";
|
|
19
|
-
|
|
20
|
-
const NotificationLoading: React.FC<INotificationLoading> = ({
|
|
21
|
-
handleNavigation,
|
|
22
|
-
title,
|
|
23
|
-
testID,
|
|
24
|
-
statusNotify,
|
|
25
|
-
date,
|
|
26
|
-
notification,
|
|
27
|
-
dataStart,
|
|
28
|
-
style,
|
|
29
|
-
}) => {
|
|
30
|
-
// const truncatedText = title.length > 13 ? title.substring(0, 11) + "..." : title;
|
|
31
|
-
return (
|
|
32
|
-
<TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>
|
|
33
|
-
<Box
|
|
34
|
-
width={"100%"}
|
|
35
|
-
flexStyle={{ flexDirection: "row", alignItems: "center" }}
|
|
36
|
-
backgroundColor={theme.colors.blue[400]}
|
|
37
|
-
borderStyled={{
|
|
38
|
-
borderWidth: 1,
|
|
39
|
-
borderRadius: theme.borderWidths.thick_medium,
|
|
40
|
-
borderColor: theme.colors.blue[400],
|
|
41
|
-
}}
|
|
42
|
-
paddingStyle={{ padding: theme.paddings["2xs"] }}
|
|
43
|
-
style={[{ elevation: 5 }, style]}
|
|
44
|
-
>
|
|
45
|
-
<Box width={"9%"}>
|
|
46
|
-
<Icons icon={"BELL"} size={32} color={theme.colors.neutral[25]} />
|
|
47
|
-
</Box>
|
|
48
|
-
|
|
49
|
-
<Box
|
|
50
|
-
flexStyle={{ flexDirection: "column" }}
|
|
51
|
-
width={"91%"}
|
|
52
|
-
paddingStyle={{ paddingLeft: 7 }}
|
|
53
|
-
>
|
|
54
|
-
{/* Carregamento identificação */}
|
|
55
|
-
<Box flexStyle={{ flexDirection: "row", alignItems: "center" }}>
|
|
56
|
-
<Typography
|
|
57
|
-
text={"Carregamento - "}
|
|
58
|
-
size={theme.fontSizes.sm}
|
|
59
|
-
lineHeight={theme.fontSizes.sm}
|
|
60
|
-
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
61
|
-
color={theme.colors.neutral[25]}
|
|
62
|
-
letterSpacing={"regular"}
|
|
63
|
-
/>
|
|
64
|
-
<Typography
|
|
65
|
-
text={title}
|
|
66
|
-
size={theme.fontSizes.xs}
|
|
67
|
-
lineHeight={theme.fontSizes.sm}
|
|
68
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
69
|
-
color={theme.colors.neutral[25]}
|
|
70
|
-
letterSpacing={"regular"}
|
|
71
|
-
/>
|
|
72
|
-
</Box>
|
|
73
|
-
|
|
74
|
-
{/* Data do carregamento */}
|
|
75
|
-
<Box
|
|
76
|
-
flexStyle={{
|
|
77
|
-
flexDirection: "row",
|
|
78
|
-
alignItems: "center",
|
|
79
|
-
justifyContent: "space-between",
|
|
80
|
-
}}
|
|
81
|
-
>
|
|
82
|
-
<Box
|
|
83
|
-
flexStyle={{
|
|
84
|
-
flexDirection: "row",
|
|
85
|
-
alignItems: "center",
|
|
86
|
-
}}
|
|
87
|
-
>
|
|
88
|
-
<Typography
|
|
89
|
-
text={"Data - "}
|
|
90
|
-
size={theme.fontSizes.sm}
|
|
91
|
-
lineHeight={theme.fontSizes.lg ?? 18}
|
|
92
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
93
|
-
color={theme.colors.neutral[25]}
|
|
94
|
-
letterSpacing={"regular"}
|
|
95
|
-
/>
|
|
96
|
-
<Typography
|
|
97
|
-
text={String(date)}
|
|
98
|
-
size={theme.fontSizes.sm}
|
|
99
|
-
lineHeight={theme.fontSizes.lg ?? 18}
|
|
100
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
101
|
-
color={theme.colors.neutral[25]}
|
|
102
|
-
letterSpacing={"regular"}
|
|
103
|
-
/>
|
|
104
|
-
</Box>
|
|
105
|
-
<Box
|
|
106
|
-
flexStyle={{
|
|
107
|
-
flexDirection: "row",
|
|
108
|
-
alignItems: "center",
|
|
109
|
-
}}
|
|
110
|
-
>
|
|
111
|
-
<Typography
|
|
112
|
-
text={String(dataStart)}
|
|
113
|
-
size={theme.fontSizes["2xs"]}
|
|
114
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
115
|
-
color={theme.colors.neutral[25]}
|
|
116
|
-
letterSpacing={"regular"}
|
|
117
|
-
marginRight={8}
|
|
118
|
-
/>
|
|
119
|
-
|
|
120
|
-
<Icons icon={"ELLIPSE"} color={getStatusColor(statusNotify as StatusType)} size={9} />
|
|
121
|
-
</Box>
|
|
122
|
-
</Box>
|
|
123
|
-
|
|
124
|
-
{/* Mensagem de notificação do carregamento */}
|
|
125
|
-
<Typography
|
|
126
|
-
text={notification}
|
|
127
|
-
size={theme.fontSizes["2xs"]}
|
|
128
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
129
|
-
lineHeight={theme.fontSizes.sm ?? 14}
|
|
130
|
-
color={theme.colors.neutral[25]}
|
|
131
|
-
letterSpacing={"regular"}
|
|
132
|
-
ellipsizeMode="tail"
|
|
133
|
-
numberOfLines={1}
|
|
134
|
-
/>
|
|
135
|
-
</Box>
|
|
136
|
-
</Box>
|
|
137
|
-
</TouchableOpacity>
|
|
138
|
-
);
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* EXPORTS
|
|
143
|
-
*/
|
|
144
|
-
export { NotificationLoading };
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { TouchableOpacity } from "react-native";
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import { Box } from "../box";
|
|
9
|
+
import { Typography } from "../typography";
|
|
10
|
+
|
|
11
|
+
// icons
|
|
12
|
+
import { Icons } from "../../common/icons-svg";
|
|
13
|
+
|
|
14
|
+
// theme
|
|
15
|
+
import { theme } from "../../styles/theme/theme";
|
|
16
|
+
|
|
17
|
+
import { INotificationLoading } from "./interface";
|
|
18
|
+
import { getStatusColor, StatusType } from "../../utils/status-color/return-color";
|
|
19
|
+
|
|
20
|
+
const NotificationLoading: React.FC<INotificationLoading> = ({
|
|
21
|
+
handleNavigation,
|
|
22
|
+
title,
|
|
23
|
+
testID,
|
|
24
|
+
statusNotify,
|
|
25
|
+
date,
|
|
26
|
+
notification,
|
|
27
|
+
dataStart,
|
|
28
|
+
style,
|
|
29
|
+
}) => {
|
|
30
|
+
// const truncatedText = title.length > 13 ? title.substring(0, 11) + "..." : title;
|
|
31
|
+
return (
|
|
32
|
+
<TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>
|
|
33
|
+
<Box
|
|
34
|
+
width={"100%"}
|
|
35
|
+
flexStyle={{ flexDirection: "row", alignItems: "center" }}
|
|
36
|
+
backgroundColor={theme.colors.blue[400]}
|
|
37
|
+
borderStyled={{
|
|
38
|
+
borderWidth: 1,
|
|
39
|
+
borderRadius: theme.borderWidths.thick_medium,
|
|
40
|
+
borderColor: theme.colors.blue[400],
|
|
41
|
+
}}
|
|
42
|
+
paddingStyle={{ padding: theme.paddings["2xs"] }}
|
|
43
|
+
style={[{ elevation: 5 }, style]}
|
|
44
|
+
>
|
|
45
|
+
<Box width={"9%"}>
|
|
46
|
+
<Icons icon={"BELL"} size={32} color={theme.colors.neutral[25]} />
|
|
47
|
+
</Box>
|
|
48
|
+
|
|
49
|
+
<Box
|
|
50
|
+
flexStyle={{ flexDirection: "column" }}
|
|
51
|
+
width={"91%"}
|
|
52
|
+
paddingStyle={{ paddingLeft: 7 }}
|
|
53
|
+
>
|
|
54
|
+
{/* Carregamento identificação */}
|
|
55
|
+
<Box flexStyle={{ flexDirection: "row", alignItems: "center" }}>
|
|
56
|
+
<Typography
|
|
57
|
+
text={"Carregamento - "}
|
|
58
|
+
size={theme.fontSizes.sm}
|
|
59
|
+
lineHeight={theme.fontSizes.sm}
|
|
60
|
+
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
61
|
+
color={theme.colors.neutral[25]}
|
|
62
|
+
letterSpacing={"regular"}
|
|
63
|
+
/>
|
|
64
|
+
<Typography
|
|
65
|
+
text={title}
|
|
66
|
+
size={theme.fontSizes.xs}
|
|
67
|
+
lineHeight={theme.fontSizes.sm}
|
|
68
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
69
|
+
color={theme.colors.neutral[25]}
|
|
70
|
+
letterSpacing={"regular"}
|
|
71
|
+
/>
|
|
72
|
+
</Box>
|
|
73
|
+
|
|
74
|
+
{/* Data do carregamento */}
|
|
75
|
+
<Box
|
|
76
|
+
flexStyle={{
|
|
77
|
+
flexDirection: "row",
|
|
78
|
+
alignItems: "center",
|
|
79
|
+
justifyContent: "space-between",
|
|
80
|
+
}}
|
|
81
|
+
>
|
|
82
|
+
<Box
|
|
83
|
+
flexStyle={{
|
|
84
|
+
flexDirection: "row",
|
|
85
|
+
alignItems: "center",
|
|
86
|
+
}}
|
|
87
|
+
>
|
|
88
|
+
<Typography
|
|
89
|
+
text={"Data - "}
|
|
90
|
+
size={theme.fontSizes.sm}
|
|
91
|
+
lineHeight={theme.fontSizes.lg ?? 18}
|
|
92
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
93
|
+
color={theme.colors.neutral[25]}
|
|
94
|
+
letterSpacing={"regular"}
|
|
95
|
+
/>
|
|
96
|
+
<Typography
|
|
97
|
+
text={String(date)}
|
|
98
|
+
size={theme.fontSizes.sm}
|
|
99
|
+
lineHeight={theme.fontSizes.lg ?? 18}
|
|
100
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
101
|
+
color={theme.colors.neutral[25]}
|
|
102
|
+
letterSpacing={"regular"}
|
|
103
|
+
/>
|
|
104
|
+
</Box>
|
|
105
|
+
<Box
|
|
106
|
+
flexStyle={{
|
|
107
|
+
flexDirection: "row",
|
|
108
|
+
alignItems: "center",
|
|
109
|
+
}}
|
|
110
|
+
>
|
|
111
|
+
<Typography
|
|
112
|
+
text={String(dataStart)}
|
|
113
|
+
size={theme.fontSizes["2xs"]}
|
|
114
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
115
|
+
color={theme.colors.neutral[25]}
|
|
116
|
+
letterSpacing={"regular"}
|
|
117
|
+
marginRight={8}
|
|
118
|
+
/>
|
|
119
|
+
|
|
120
|
+
<Icons icon={"ELLIPSE"} color={getStatusColor(statusNotify as StatusType)} size={9} />
|
|
121
|
+
</Box>
|
|
122
|
+
</Box>
|
|
123
|
+
|
|
124
|
+
{/* Mensagem de notificação do carregamento */}
|
|
125
|
+
<Typography
|
|
126
|
+
text={notification}
|
|
127
|
+
size={theme.fontSizes["2xs"]}
|
|
128
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
129
|
+
lineHeight={theme.fontSizes.sm ?? 14}
|
|
130
|
+
color={theme.colors.neutral[25]}
|
|
131
|
+
letterSpacing={"regular"}
|
|
132
|
+
ellipsizeMode="tail"
|
|
133
|
+
numberOfLines={1}
|
|
134
|
+
/>
|
|
135
|
+
</Box>
|
|
136
|
+
</Box>
|
|
137
|
+
</TouchableOpacity>
|
|
138
|
+
);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* EXPORTS
|
|
143
|
+
*/
|
|
144
|
+
export { NotificationLoading };
|
package/src/index.ts
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
// Components
|
|
6
6
|
export { Box } from "./components/box";
|
|
7
|
-
export type { IBoxProps } from "./components/box/interface";
|
|
8
7
|
export { Button } from "./components/button";
|
|
9
|
-
export { IButtonProps } from "./components/button/interface";
|
|
10
8
|
export { StepIndicator } from "./components/step-indicator";
|
|
11
9
|
export { Typography } from "./components/typography";
|
|
12
10
|
export { Input } from "./components/input";
|
|
@@ -1,64 +1,74 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
import type { StoryObj, Meta } from "@storybook/react";
|
|
4
|
-
import { Coil } from "../../components/coil";
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof Coil> = {
|
|
7
|
-
title: "componente/Coil",
|
|
8
|
-
component: Coil as React.FC,
|
|
9
|
-
args: {
|
|
10
|
-
title: "HUTY-9754",
|
|
11
|
-
description: "04 de 02 fotos pendentes",
|
|
12
|
-
handleNavigation: () => {},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export const CoilRecused: Story = {
|
|
57
|
-
name: "coil-recused",
|
|
58
|
-
args: {
|
|
59
|
-
title: "HUTY-9754",
|
|
60
|
-
description: "04 de 02 fotos pendentes",
|
|
61
|
-
handleNavigation: () => {},
|
|
62
|
-
status: "recused",
|
|
63
|
-
},
|
|
64
|
-
};
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
4
|
+
import { Coil } from "../../components/coil";
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof Coil> = {
|
|
7
|
+
title: "componente/Coil",
|
|
8
|
+
component: Coil as React.FC,
|
|
9
|
+
args: {
|
|
10
|
+
title: "HUTY-9754",
|
|
11
|
+
description: "04 de 02 fotos pendentes",
|
|
12
|
+
handleNavigation: () => {},
|
|
13
|
+
},
|
|
14
|
+
parameters: {
|
|
15
|
+
notes: `
|
|
16
|
+
# Coil
|
|
17
|
+
|
|
18
|
+
Este é um componente de Card da bobina.
|
|
19
|
+
Você usa assim:
|
|
20
|
+
\`\`\`tsx
|
|
21
|
+
<Coil
|
|
22
|
+
title=''
|
|
23
|
+
description=''
|
|
24
|
+
handleNavigation={() => {}}
|
|
25
|
+
status=''
|
|
26
|
+
/>
|
|
27
|
+
\`\`\`
|
|
28
|
+
`,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default meta;
|
|
33
|
+
|
|
34
|
+
type Story = StoryObj<typeof meta>;
|
|
35
|
+
|
|
36
|
+
export const CoilPending: Story = {
|
|
37
|
+
name: "coil-pending",
|
|
38
|
+
args: {
|
|
39
|
+
title: "HUTY-9754",
|
|
40
|
+
description: "04 de 02 fotos pendentes",
|
|
41
|
+
handleNavigation: () => {},
|
|
42
|
+
status: "pending",
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const CoilApproved: Story = {
|
|
47
|
+
name: "coil-approved",
|
|
48
|
+
args: {
|
|
49
|
+
title: "HUTY-9754",
|
|
50
|
+
description: "04 de 02 fotos pendentes",
|
|
51
|
+
handleNavigation: () => {},
|
|
52
|
+
status: "approved",
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export const CoilRecused: Story = {
|
|
57
|
+
name: "coil-recused",
|
|
58
|
+
args: {
|
|
59
|
+
title: "HUTY-9754",
|
|
60
|
+
description: "04 de 02 fotos pendentes",
|
|
61
|
+
handleNavigation: () => {},
|
|
62
|
+
status: "recused",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export const CoilNoStatus: Story = {
|
|
67
|
+
name: "coil-no-status",
|
|
68
|
+
args: {
|
|
69
|
+
title: "HUTY-9754",
|
|
70
|
+
description: "background color diferente",
|
|
71
|
+
handleNavigation: () => {},
|
|
72
|
+
backgroundColor: "green",
|
|
73
|
+
},
|
|
74
|
+
};
|
|
@@ -86,3 +86,18 @@ export const HeaderPermission: Story = {
|
|
|
86
86
|
isBluetooth: false,
|
|
87
87
|
},
|
|
88
88
|
};
|
|
89
|
+
|
|
90
|
+
export const HeaderBackground: Story = {
|
|
91
|
+
name: "header-background",
|
|
92
|
+
args: {
|
|
93
|
+
testID: "header",
|
|
94
|
+
arrow: true,
|
|
95
|
+
title: "texto grande e background diferente",
|
|
96
|
+
handleNavigation: () => {},
|
|
97
|
+
permission: false,
|
|
98
|
+
bluetoothIsConnected: true,
|
|
99
|
+
isInternetReachable: true,
|
|
100
|
+
isBluetooth: false,
|
|
101
|
+
color: { colorText: "white" },
|
|
102
|
+
},
|
|
103
|
+
};
|