@tactics/toddle-styleguide 1.3.2 → 1.4.0
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/App.d.ts +2 -1
- package/index.d.ts +2 -1
- package/index.tsx +2 -0
- package/package.json +20 -20
- package/src/components/atoms/animated-wave/animated-wave.component.d.ts +2 -1
- package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +19 -19
- package/src/components/atoms/backdrop/backdrop.component.d.ts +5 -7
- package/src/components/atoms/backdrop/backdrop.styles.d.ts +9 -9
- package/src/components/atoms/background-gradient/background-gradient.component.d.ts +2 -1
- package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +2 -1
- package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +6 -6
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +18 -18
- package/src/components/atoms/calendar/calendar.component.d.ts +7 -11
- package/src/components/atoms/calendar/calendar.preview.d.ts +2 -1
- package/src/components/atoms/check-switch/check-switch.component.d.ts +4 -3
- package/src/components/atoms/check-switch/check-switch.preview.d.ts +2 -1
- package/src/components/atoms/footer/footer.component.d.ts +6 -6
- package/src/components/atoms/footer/footer.preview.d.ts +2 -1
- package/src/components/atoms/footer/footer.styles.d.ts +12 -13
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +3 -10
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +3 -10
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +3 -10
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +3 -10
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +3 -10
- package/src/components/atoms/heading-components/headings.preview.d.ts +2 -1
- package/src/components/atoms/heading-components/index.d.ts +6 -6
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +7 -9
- package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +2 -1
- package/src/components/atoms/increment-input/increment-input.component.d.ts +5 -8
- package/src/components/atoms/increment-input/increment-input.preview.d.ts +2 -1
- package/src/components/atoms/increment-input/increment-input.styles.d.ts +33 -34
- package/src/components/atoms/line/line.component.d.ts +5 -8
- package/src/components/atoms/line/line.preview.d.ts +2 -1
- package/src/components/atoms/line/line.preview.tsx +1 -0
- package/src/components/atoms/logo/logo.component.d.ts +5 -4
- package/src/components/atoms/logo/logo.preview.d.ts +2 -1
- package/src/components/atoms/paragraph-components/index.d.ts +4 -4
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +3 -10
- package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +2 -1
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +3 -10
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +3 -10
- package/src/components/atoms/quick-message/quick-message.component.d.ts +6 -10
- package/src/components/atoms/quick-message/quick-message.component.tsx +1 -0
- package/src/components/atoms/quick-message/quick-message.preview.d.ts +2 -1
- package/src/components/atoms/quick-message/quick-message.preview.tsx +1 -0
- package/src/components/atoms/quick-message/quick-message.styles.d.ts +13 -16
- package/src/components/atoms/split-container/split-container.component.d.ts +4 -7
- package/src/components/atoms/split-container/split-container.preview.d.ts +2 -1
- package/src/components/atoms/split-container/split-container.styles.d.ts +12 -12
- package/src/components/atoms/static-wave/static-wave.component.d.ts +7 -11
- package/src/components/atoms/text-input/text-input.component.d.ts +7 -10
- package/src/components/atoms/text-input/text-input.preview.d.ts +2 -1
- package/src/components/molecules/avatar/avatar.component.d.ts +12 -18
- package/src/components/molecules/avatar/avatar.preview.d.ts +2 -1
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +3 -4
- package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +2 -1
- package/src/components/molecules/button/button.component.d.ts +12 -20
- package/src/components/molecules/button/button.preview.d.ts +2 -1
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +8 -12
- package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +2 -1
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +5 -4
- package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +2 -1
- package/src/components/molecules/checkbox/checkbox.component.d.ts +6 -9
- package/src/components/molecules/checkbox/checkbox.preview.d.ts +2 -1
- package/src/components/molecules/contact-role/contact-role.component.d.ts +4 -6
- package/src/components/molecules/contact-role/contact-role.preview.d.ts +2 -1
- package/src/components/molecules/date-input/date-input.component.d.ts +5 -7
- package/src/components/molecules/date-input/date-input.preview.d.ts +2 -1
- package/src/components/molecules/date-input/date-input.styles.d.ts +16 -22
- package/src/components/molecules/day/day.component.d.ts +7 -6
- package/src/components/molecules/default-select/default-select.component.d.ts +4 -6
- package/src/components/molecules/default-select/default-select.preview.d.ts +2 -1
- package/src/components/molecules/default-select/default-select.styles.d.ts +11 -11
- package/src/components/molecules/department_logo/department-logo.component.d.ts +4 -5
- package/src/components/molecules/department_logo/department-logo.preview.d.ts +2 -1
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +7 -11
- package/src/components/molecules/filter-range/filter-range.component.d.ts +8 -14
- package/src/components/molecules/filter-range/filter-range.preview.d.ts +2 -1
- package/src/components/molecules/filter-range/filter-range.styles.d.ts +20 -20
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +8 -11
- package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +2 -1
- package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +53 -60
- package/src/components/molecules/info/info.component.d.ts +5 -4
- package/src/components/molecules/info/info.preview.d.ts +2 -1
- package/src/components/molecules/info/info.styles.d.ts +14 -22
- package/src/components/molecules/language-button/language-button.component.d.ts +5 -8
- package/src/components/molecules/language-button/language-button.preview.d.ts +2 -1
- package/src/components/molecules/message-input/message-input.component.d.ts +7 -10
- package/src/components/molecules/message-input/message-input.preview.d.ts +2 -1
- package/src/components/molecules/message-input/message-input.styles.d.ts +31 -31
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +5 -8
- package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +2 -1
- package/src/components/molecules/password-input/password-input.component.d.ts +6 -9
- package/src/components/molecules/password-input/password-input.preview.d.ts +2 -1
- package/src/components/molecules/password-input/password-input.styles.d.ts +27 -27
- package/src/components/molecules/pill/pill.component.d.ts +6 -5
- package/src/components/molecules/pill/pill.preview.d.ts +2 -1
- package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +5 -10
- package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +2 -1
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +10 -16
- package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +2 -1
- package/src/components/molecules/search-input/search.component.d.ts +8 -12
- package/src/components/molecules/search-input/search.preview.d.ts +2 -1
- package/src/components/molecules/search-input/search.styles.d.ts +31 -31
- package/src/components/molecules/select-link/select-link.component.d.ts +5 -4
- package/src/components/molecules/select-link/select-link.preview.d.ts +2 -1
- package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +2 -1
- package/src/components/molecules/select-list-item/select-list-item.component.d.ts +7 -13
- package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +28 -39
- package/src/components/molecules/select-picker/select-picker.component.d.ts +9 -13
- package/src/components/molecules/select-picker/select-picker.preview.d.ts +2 -1
- package/src/components/molecules/select-picker/select-picker.styles.d.ts +30 -31
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +8 -13
- package/src/components/molecules/snackbar/snackbar.component.d.ts +6 -5
- package/src/components/molecules/snackbar/snackbar.preview.d.ts +2 -1
- package/src/components/molecules/swipe/swipe.component.d.ts +5 -5
- package/src/components/molecules/swipe/swipe.preview.d.ts +2 -1
- package/src/components/molecules/tag/tag.component.d.ts +7 -11
- package/src/components/molecules/tag/tag.preview.d.ts +2 -1
- package/src/components/molecules/time-picker/time-picker.component.d.ts +6 -10
- package/src/components/molecules/time-picker/time-picker.component.tsx +1 -0
- package/src/components/molecules/time-picker/time-picker.preview.d.ts +2 -1
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +7 -10
- package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +2 -1
- package/src/components/molecules/timeline/timeline.component.d.ts +4 -6
- package/src/components/molecules/timeline/timeline.preview.d.ts +2 -1
- package/src/components/molecules/timestamp/timestamp.component.d.ts +5 -4
- package/src/components/molecules/wave-background/wave.component.d.ts +3 -7
- package/src/components/molecules/wave-background/wave.preview.d.ts +2 -1
- package/src/components/molecules/wide-button/wide-button.component.d.ts +7 -11
- package/src/components/molecules/wide-button/wide-button.preview.d.ts +2 -1
- package/src/components/molecules/wide-button/wide-button.styles.d.ts +10 -15
- package/src/components/organisms/child-list-item/child-list-item.component.d.ts +18 -34
- package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +2 -1
- package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +35 -38
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +4 -6
- package/src/components/organisms/contact-item/contact-item.component.d.ts +7 -11
- package/src/components/organisms/contact-item/contact-item.preview.d.ts +2 -1
- package/src/components/organisms/contact-item/contact-item.styles.d.ts +14 -13
- package/src/components/organisms/day-select/day-select.component.d.ts +7 -10
- package/src/components/organisms/day-select/day-select.preview.d.ts +2 -1
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +4 -6
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.tsx +1 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +8 -13
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +1 -0
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +17 -30
- package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +2 -1
- package/src/components/organisms/journal-entry/journal-entry.preview.tsx +1 -0
- package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +22 -25
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -13
- package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -9
- package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +2 -1
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +10 -16
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +2 -1
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +31 -31
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +11 -18
- package/src/components/organisms/person-info-card/person-info-card.component.tsx +1 -0
- package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +2 -1
- package/src/components/organisms/tab-view/tab-view.component.d.ts +8 -12
- package/src/components/organisms/tab-view/tab-view.component.tsx +1 -0
- package/src/components/organisms/tab-view/tab-view.preview.d.ts +2 -1
- package/src/components/organisms/tab-view/tab-view.preview.tsx +1 -0
- package/src/components/organisms/tab-view/tab-view.styles.d.ts +8 -8
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +13 -21
- package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +2 -1
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +14 -14
- package/src/components/templates/modal/components/fade-panel.component.d.ts +7 -14
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +13 -17
- package/src/components/templates/modal/modal.component.d.ts +6 -12
- package/src/components/templates/modal/modal.preview.d.ts +2 -1
- package/src/components/templates/modal/modal.styles.d.ts +21 -21
- package/src/components/templates/popover/components/foreground/foreground.component.d.ts +4 -4
- package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +10 -10
- package/src/components/templates/popover/components/modal/close/close.component.d.ts +5 -4
- package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +5 -4
- package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +12 -12
- package/src/components/templates/popover/components/modal/modal.component.d.ts +9 -17
- package/src/components/templates/popover/components/modal/modal.styles.d.ts +17 -17
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +3 -5
- package/src/components/templates/popover/popover.component.d.ts +8 -15
- package/src/components/templates/popover/popover.preview.d.ts +2 -1
- package/src/components/templates/popover/popover.styles.d.ts +9 -9
- package/src/components/templates/popover-action/popover-action.component.d.ts +4 -8
- package/src/components/templates/popover-action/popover-action.preview.d.ts +2 -1
- package/src/components/templates/popover-action/popover-action.styles.d.ts +26 -26
- package/src/context/loading-dots.context.d.ts +7 -10
- package/src/context/theme.context.d.ts +49 -47
- package/src/gradients/main/main.gradient.d.ts +3 -4
- package/src/icons/index.d.ts +3 -7
- package/src/icons/index.tsx +1 -0
- package/src/icons/outline/calendar/calendar.icon.d.ts +3 -2
- package/src/icons/outline/chat/chat.icon.d.ts +3 -2
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +3 -2
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +3 -5
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +3 -5
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +3 -5
- package/src/icons/outline/clock/clock.icon.d.ts +3 -2
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +3 -5
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +3 -5
- package/src/icons/outline/document-text/document-text.icon.d.ts +3 -5
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +3 -5
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +3 -5
- package/src/icons/outline/eye/eye.icon.d.ts +3 -2
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +3 -2
- package/src/icons/outline/filter/filter.icon.d.ts +3 -2
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +3 -5
- package/src/icons/outline/logout/logout.icon.d.ts +3 -2
- package/src/icons/outline/mail/mail.icon.d.ts +3 -2
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +3 -2
- package/src/icons/outline/menu/menu.icon.d.ts +3 -2
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +3 -5
- package/src/icons/outline/office-building/office-building.icon.d.ts +3 -5
- package/src/icons/outline/outline-default.preview.d.ts +2 -1
- package/src/icons/outline/outline-grey.preview.d.ts +2 -1
- package/src/icons/outline/outline-white.preview.d.ts +2 -1
- package/src/icons/outline/outline.d.ts +2 -6
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +3 -5
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +3 -5
- package/src/icons/outline/pencil/pencil.icon.d.ts +3 -2
- package/src/icons/outline/phone/phone.icon.d.ts +3 -2
- package/src/icons/outline/plus/plus.icon.d.ts +3 -2
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +3 -5
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +3 -2
- package/src/icons/outline/refresh/refresh.icon.d.ts +3 -2
- package/src/icons/outline/search/search.icon.d.ts +3 -2
- package/src/icons/outline/selector/selector.icon.d.ts +3 -2
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -5
- package/src/icons/outline/status-online/status-online.icon.d.ts +3 -5
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +3 -2
- package/src/icons/outline/trash/trash.icon.d.ts +3 -2
- package/src/icons/outline/user/user.icon.d.ts +3 -2
- package/src/icons/outline/user-group/user-group.icon.d.ts +3 -5
- package/src/icons/outline/users/users.icon.d.ts +3 -2
- package/src/icons/outline/xmark/xmark.icon.d.ts +3 -2
- package/src/icons/solid/calendar/calendar.icon.d.ts +3 -2
- package/src/icons/solid/chat/chat.icon.d.ts +3 -2
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +3 -2
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +3 -5
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +3 -5
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +3 -5
- package/src/icons/solid/clock/clock-solid.icon.d.ts +3 -2
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +3 -5
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +3 -5
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +3 -5
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +3 -5
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +3 -5
- package/src/icons/solid/eye/eye.icon.d.ts +3 -2
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +3 -2
- package/src/icons/solid/filter/filter.icon.d.ts +3 -2
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +3 -5
- package/src/icons/solid/logout/logout.icon.d.ts +3 -2
- package/src/icons/solid/mail/mail.icon.d.ts +3 -2
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +3 -2
- package/src/icons/solid/menu/menu.icon.d.ts +3 -2
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +3 -5
- package/src/icons/solid/office-building/office-building.icon.d.ts +3 -5
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +3 -5
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +3 -5
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +3 -2
- package/src/icons/solid/phone/phone-solid.icon.d.ts +3 -2
- package/src/icons/solid/plus/plus.icon.d.ts +3 -2
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +3 -5
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +3 -2
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +3 -2
- package/src/icons/solid/search/search.icon.d.ts +3 -2
- package/src/icons/solid/selector/selector.icon.d.ts +3 -2
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -5
- package/src/icons/solid/solid.d.ts +2 -6
- package/src/icons/solid/solid.preview.d.ts +2 -1
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +3 -5
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +3 -2
- package/src/icons/solid/trash/trash-solid.icon.d.ts +3 -2
- package/src/icons/solid/user/user.icon.d.ts +3 -2
- package/src/icons/solid/user-group/user-group.icon.d.ts +3 -5
- package/src/icons/solid/users/users-solid.icon.d.ts +3 -2
- package/src/icons/solid/xmark/xmark.icon.d.ts +3 -2
- package/src/interfaces/icon.interface.d.ts +5 -5
- package/src/models/hex-color.model.d.ts +4 -4
- package/src/models/initials.model.d.ts +5 -5
- package/src/theme/font/font.d.ts +70 -70
- package/src/theme/font/index.d.ts +3 -3
- package/src/theme/provider/index.d.ts +3 -3
- package/src/theme/provider/parent.theme.d.ts +45 -45
- package/src/theme/provider/staff-member.theme.d.ts +45 -45
- package/src/theme/responsive/index.d.ts +2 -5
- package/src/theme/scale/index.d.ts +10 -10
- package/src/types/bubble-alignment.enum.d.ts +2 -2
- package/src/types/icontype.type.d.ts +1 -41
- package/src/types/keyboard-types.enum.d.ts +7 -7
- package/src/types/loading-dots.type.d.ts +6 -6
- package/src/types/size.enum.d.ts +3 -3
- package/src/types/text-properties.type.d.ts +8 -8
- package/src/types/visual-state.enum.d.ts +5 -5
- package/src/utilities/color-handler/color-handler.d.ts +2 -6
- package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +16 -16
- package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +46 -103
- package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +2 -1
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +2 -11
- package/tsconfig.json +1 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.test.js +0 -25
- package/src/components/organisms/journal-entry/components/journal-entry-type/__snapshots__/journal-entry-type.test.js.snap +0 -304
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.test.js +0 -51
|
@@ -1,37 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {ImageSourcePropType} from 'react-native';
|
|
3
|
-
import {Initials} from '../../../models/initials.model';
|
|
4
|
-
import {VisualState} from '../../../types/visual-state.enum';
|
|
2
|
+
import { ImageSourcePropType } from 'react-native';
|
|
3
|
+
import { Initials } from '../../../models/initials.model';
|
|
4
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
5
5
|
type ChildListItemProps = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
department: string;
|
|
9
|
+
selectable: boolean;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
onPressArrow: (id: string) => void;
|
|
12
|
+
onPressText: (id: string) => void;
|
|
13
|
+
onLongPress: (id: string) => void;
|
|
14
|
+
onSelect: (id: string) => void;
|
|
15
|
+
sourceAvatar: ImageSourcePropType | Initials;
|
|
16
|
+
textTimeTracker: string;
|
|
17
|
+
visualStateTimeTracker: VisualState;
|
|
18
|
+
tags?: string[];
|
|
19
19
|
};
|
|
20
|
-
declare const ChildListItem: React.MemoExoticComponent<
|
|
21
|
-
|
|
22
|
-
id,
|
|
23
|
-
name,
|
|
24
|
-
department,
|
|
25
|
-
selectable,
|
|
26
|
-
isSelected,
|
|
27
|
-
onPressArrow,
|
|
28
|
-
onPressText,
|
|
29
|
-
onLongPress,
|
|
30
|
-
onSelect,
|
|
31
|
-
sourceAvatar,
|
|
32
|
-
textTimeTracker,
|
|
33
|
-
visualStateTimeTracker,
|
|
34
|
-
tags,
|
|
35
|
-
}: ChildListItemProps) => JSX.Element
|
|
36
|
-
>;
|
|
37
|
-
export {ChildListItem as ChildListItem};
|
|
20
|
+
declare const ChildListItem: React.MemoExoticComponent<({ id, name, department, selectable, isSelected, onPressArrow, onPressText, onLongPress, onSelect, sourceAvatar, textTimeTracker, visualStateTimeTracker, tags, }: ChildListItemProps) => React.JSX.Element>;
|
|
21
|
+
export { ChildListItem as ChildListItem };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ChildListItemPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,39 +1,36 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
flexDirection: 'row';
|
|
37
|
-
alignItems: 'center';
|
|
38
|
-
};
|
|
1
|
+
export function Stylesheet(isSelectedItem: any, context: any): {
|
|
2
|
+
container: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
borderTopRightRadius: number;
|
|
5
|
+
borderBottomRightRadius: number;
|
|
6
|
+
borderTopLeftRadius: number;
|
|
7
|
+
borderBottomLeftRadius: number;
|
|
8
|
+
flexDirection: "row";
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
};
|
|
11
|
+
innerContainer: {
|
|
12
|
+
flex: number;
|
|
13
|
+
padding: number;
|
|
14
|
+
flexDirection: "row";
|
|
15
|
+
borderTopRightRadius: number;
|
|
16
|
+
borderBottomRightRadius: number;
|
|
17
|
+
borderTopLeftRadius: number;
|
|
18
|
+
borderBottomLeftRadius: number;
|
|
19
|
+
};
|
|
20
|
+
pressableText: {
|
|
21
|
+
marginLeft: number;
|
|
22
|
+
flex: number;
|
|
23
|
+
};
|
|
24
|
+
iconContainer: {
|
|
25
|
+
alignItems: "flex-end";
|
|
26
|
+
justifyContent: "center";
|
|
27
|
+
paddingRight: number;
|
|
28
|
+
width: number;
|
|
29
|
+
borderTopRightRadius: number;
|
|
30
|
+
borderBottomRightRadius: number;
|
|
31
|
+
};
|
|
32
|
+
trackerContainer: {
|
|
33
|
+
flexDirection: "row";
|
|
34
|
+
alignItems: "center";
|
|
35
|
+
};
|
|
39
36
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type ChildListTagProps = {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
isSelected: boolean;
|
|
4
5
|
};
|
|
5
|
-
export declare const ChildListTag: ({
|
|
6
|
-
label,
|
|
7
|
-
isSelected,
|
|
8
|
-
}: ChildListTagProps) => JSX.Element;
|
|
6
|
+
export declare const ChildListTag: ({ label, isSelected }: ChildListTagProps) => React.JSX.Element;
|
|
9
7
|
export {};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type ContactItemProps = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
onPress?: () => void;
|
|
6
|
+
isBlocked?: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare const ContactItem: ({
|
|
8
|
-
|
|
9
|
-
label,
|
|
10
|
-
onPress,
|
|
11
|
-
isBlocked,
|
|
12
|
-
}: ContactItemProps) => JSX.Element;
|
|
13
|
-
export {ContactItem as ContactItem};
|
|
8
|
+
declare const ContactItem: ({ name, label, onPress, isBlocked }: ContactItemProps) => React.JSX.Element;
|
|
9
|
+
export { ContactItem as ContactItem };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ContactItemPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export function Stylesheet(isBlocked): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
export function Stylesheet(isBlocked: any): {
|
|
2
|
+
container: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
flexDirection: "row";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
};
|
|
7
|
+
textContainer: {
|
|
8
|
+
flex: number;
|
|
9
|
+
marginLeft: number;
|
|
10
|
+
marginRight: number;
|
|
11
|
+
};
|
|
12
|
+
iconSquare: {
|
|
13
|
+
marginLeft: number;
|
|
14
|
+
};
|
|
14
15
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
3
|
type DaySelectProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
onSelectDate: (date: ToddleDateTime) => void;
|
|
5
|
+
startDate: ToddleDateTime;
|
|
6
|
+
selectedDate: ToddleDateTime;
|
|
6
7
|
};
|
|
7
|
-
declare const DaySelect: ({
|
|
8
|
-
|
|
9
|
-
selectedDate,
|
|
10
|
-
startDate,
|
|
11
|
-
}: DaySelectProps) => JSX.Element;
|
|
12
|
-
export {DaySelect as DaySelect};
|
|
8
|
+
declare const DaySelect: ({ onSelectDate, selectedDate, startDate }: DaySelectProps) => React.JSX.Element;
|
|
9
|
+
export { DaySelect as DaySelect };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const DaySelectPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
interface EntryTypeIndicatorProps {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
send: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare const EntryTypeIndicator: ({
|
|
6
|
-
loading,
|
|
7
|
-
send,
|
|
8
|
-
}: EntryTypeIndicatorProps) => JSX.Element;
|
|
6
|
+
export declare const EntryTypeIndicator: ({ loading, send, }: EntryTypeIndicatorProps) => import("react").JSX.Element;
|
|
9
7
|
export {};
|
|
@@ -2,6 +2,7 @@ import {useContext} from 'react';
|
|
|
2
2
|
import {Animated, View, Easing} from 'react-native';
|
|
3
3
|
import {ThemeCtx} from '../../../../../context/theme.context';
|
|
4
4
|
import {Stylesheet} from './entry-type-indicator.styles';
|
|
5
|
+
import React from 'react';
|
|
5
6
|
|
|
6
7
|
interface EntryTypeIndicatorProps {
|
|
7
8
|
loading?: boolean;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ToddleDateTime } from '../../../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
3
|
interface JournalEntryTypeProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
prio: boolean;
|
|
5
|
+
type: string;
|
|
6
|
+
happenedAt: ToddleDateTime;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
send: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare const JournalEntryType: ({
|
|
10
|
-
prio,
|
|
11
|
-
type,
|
|
12
|
-
happenedAt,
|
|
13
|
-
loading,
|
|
14
|
-
send,
|
|
15
|
-
}: JournalEntryTypeProps) => JSX.Element;
|
|
10
|
+
export declare const JournalEntryType: ({ prio, type, happenedAt, loading, send, }: JournalEntryTypeProps) => import("react").JSX.Element;
|
|
16
11
|
export {};
|
|
@@ -6,6 +6,7 @@ import {Stylesheet} from './journal-entry-type.styles';
|
|
|
6
6
|
import {EntryTypeIndicator} from '../entry-type-indicator/entry-type-indicator.component';
|
|
7
7
|
import {SmallText} from '../../../../atoms/paragraph-components';
|
|
8
8
|
import {ToddleDateTime} from '../../../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
9
|
+
import React from 'react';
|
|
9
10
|
|
|
10
11
|
interface JournalEntryTypeProps {
|
|
11
12
|
prio: boolean;
|
|
@@ -1,33 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
3
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
3
4
|
interface JournalEntryProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
prio: boolean;
|
|
7
|
+
happenedAt: ToddleDateTime;
|
|
8
|
+
type: string;
|
|
9
|
+
text: string;
|
|
10
|
+
visualState: VisualState;
|
|
11
|
+
createdAt?: ToddleDateTime;
|
|
12
|
+
timestampLabel?: string;
|
|
13
|
+
onFail?: (id: string) => void;
|
|
14
|
+
onEdit?: (id: string) => void;
|
|
15
|
+
onDelete?: (id: string) => void;
|
|
16
|
+
afterAnimationComplete?: () => void;
|
|
17
|
+
loadingNewEntry?: boolean;
|
|
17
18
|
}
|
|
18
|
-
export declare const JournalEntry: ({
|
|
19
|
-
id,
|
|
20
|
-
prio,
|
|
21
|
-
happenedAt,
|
|
22
|
-
type,
|
|
23
|
-
text,
|
|
24
|
-
visualState,
|
|
25
|
-
createdAt,
|
|
26
|
-
timestampLabel,
|
|
27
|
-
onFail,
|
|
28
|
-
onEdit,
|
|
29
|
-
onDelete,
|
|
30
|
-
afterAnimationComplete,
|
|
31
|
-
loadingNewEntry,
|
|
32
|
-
}: JournalEntryProps) => JSX.Element;
|
|
19
|
+
export declare const JournalEntry: ({ id, prio, happenedAt, type, text, visualState, createdAt, timestampLabel, onFail, onEdit, onDelete, afterAnimationComplete, loadingNewEntry, }: JournalEntryProps) => React.JSX.Element;
|
|
33
20
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const JournalEntryPreview: () => import("react").JSX.Element;
|
|
@@ -7,6 +7,7 @@ import {BubbleAlignment} from '../../../types/bubble-alignment.enum';
|
|
|
7
7
|
import {useRef, useState} from 'react';
|
|
8
8
|
import {PressableIcon} from '../../molecules/pressable-icon/pressable-icon.component';
|
|
9
9
|
import {Icon} from '../../../icons/index';
|
|
10
|
+
import React from 'react';
|
|
10
11
|
|
|
11
12
|
const DATA = [
|
|
12
13
|
{
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
marginTop: number;
|
|
24
|
-
marginBottom: number;
|
|
25
|
-
};
|
|
1
|
+
export function Stylesheet(context: any, createdAt: any): {
|
|
2
|
+
rootContainer: {
|
|
3
|
+
borderLeftWidth: number;
|
|
4
|
+
borderLeftColor: any;
|
|
5
|
+
marginLeft: number;
|
|
6
|
+
paddingTop: number;
|
|
7
|
+
paddingLeft: number;
|
|
8
|
+
};
|
|
9
|
+
entryTypeContainer: {
|
|
10
|
+
position: "absolute";
|
|
11
|
+
top: number;
|
|
12
|
+
left: number;
|
|
13
|
+
flexDirection: "row";
|
|
14
|
+
alignItems: "center";
|
|
15
|
+
gap: number;
|
|
16
|
+
marginBottom: number;
|
|
17
|
+
};
|
|
18
|
+
horizontalLineContainer: {
|
|
19
|
+
width: "100%";
|
|
20
|
+
marginTop: number;
|
|
21
|
+
marginBottom: number;
|
|
22
|
+
};
|
|
26
23
|
};
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {Animated} from 'react-native';
|
|
2
|
-
export declare const animationStyle: (
|
|
3
|
-
|
|
4
|
-
node: Animated.Value,
|
|
5
|
-
delay: number,
|
|
6
|
-
size: number | undefined
|
|
7
|
-
) => any;
|
|
8
|
-
export declare const styles: (
|
|
9
|
-
animation: string | undefined,
|
|
10
|
-
color: string | undefined,
|
|
11
|
-
size: number | undefined,
|
|
12
|
-
dynamicSize: Animated.Value | undefined
|
|
13
|
-
) => any;
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
|
+
export declare const animationStyle: (animation: string | undefined, node: Animated.Value, delay: number, size: number | undefined) => any;
|
|
3
|
+
export declare const styles: (animation: string | undefined, color: string | undefined, size: number | undefined, dynamicSize: Animated.Value | undefined) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {Animated} from 'react-native';
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
2
|
type DotProps = {
|
|
3
|
-
|
|
3
|
+
dynamicSize: Animated.Value;
|
|
4
4
|
};
|
|
5
|
-
export declare const Dot: ({dynamicSize}: DotProps) => JSX.Element;
|
|
5
|
+
export declare const Dot: ({ dynamicSize }: DotProps) => JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import {LoadingDotsProps} from '../../../types/loading-dots.type';
|
|
2
|
-
export declare const LoadingIndicator: ({
|
|
3
|
-
animation,
|
|
4
|
-
dots,
|
|
5
|
-
color,
|
|
6
|
-
size,
|
|
7
|
-
spacing,
|
|
8
|
-
delay,
|
|
9
|
-
}: LoadingDotsProps) => JSX.Element;
|
|
1
|
+
import { LoadingDotsProps } from '../../../types/loading-dots.type';
|
|
2
|
+
export declare const LoadingIndicator: ({ animation, dots, color, size, spacing, delay, }: LoadingDotsProps) => JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LoadingIndicatorPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ImageSourcePropType } from 'react-native';
|
|
3
|
+
import { Initials } from '../../../models/initials.model';
|
|
3
4
|
type MyChildListItemProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
age: string;
|
|
8
|
+
sourceAvatar: ImageSourcePropType | Initials;
|
|
9
|
+
onPressChild: (id: string) => void;
|
|
10
|
+
onPressArrow: (id: string) => void;
|
|
10
11
|
};
|
|
11
|
-
export declare const MyChildListItem: ({
|
|
12
|
-
id,
|
|
13
|
-
name,
|
|
14
|
-
age,
|
|
15
|
-
sourceAvatar,
|
|
16
|
-
onPressChild,
|
|
17
|
-
onPressArrow,
|
|
18
|
-
}: MyChildListItemProps) => JSX.Element;
|
|
12
|
+
export declare const MyChildListItem: ({ id, name, age, sourceAvatar, onPressChild, onPressArrow, }: MyChildListItemProps) => React.JSX.Element;
|
|
19
13
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const MyChildListItemPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
export function Stylesheet(context: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
2
|
+
container: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
borderTopRightRadius: number;
|
|
5
|
+
borderBottomRightRadius: number;
|
|
6
|
+
borderTopLeftRadius: number;
|
|
7
|
+
borderBottomLeftRadius: number;
|
|
8
|
+
flexDirection: "row";
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
};
|
|
11
|
+
innerContainer: {
|
|
12
|
+
flex: number;
|
|
13
|
+
padding: number;
|
|
14
|
+
flexDirection: "row";
|
|
15
|
+
alignItems: "center";
|
|
16
|
+
borderTopRightRadius: number;
|
|
17
|
+
borderBottomRightRadius: number;
|
|
18
|
+
borderTopLeftRadius: number;
|
|
19
|
+
borderBottomLeftRadius: number;
|
|
20
|
+
};
|
|
21
|
+
childTextContainer: {
|
|
22
|
+
flex: number;
|
|
23
|
+
marginLeft: number;
|
|
24
|
+
};
|
|
25
|
+
iconContainer: {
|
|
26
|
+
alignItems: "flex-end";
|
|
27
|
+
justifyContent: "center";
|
|
28
|
+
paddingRight: number;
|
|
29
|
+
width: number;
|
|
30
|
+
borderTopRightRadius: number;
|
|
31
|
+
borderBottomRightRadius: number;
|
|
32
|
+
};
|
|
33
33
|
};
|
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ImageSourcePropType, ViewStyle } from 'react-native';
|
|
3
|
+
import { Initials } from '../../../models/initials.model';
|
|
3
4
|
interface IContactInfoCard {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
source: ImageSourcePropType | Initials;
|
|
6
|
+
name: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
isBlocked?: boolean;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
style?: ViewStyle;
|
|
11
|
+
isLoading?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const PersonInfoCard: ({
|
|
13
|
-
source,
|
|
14
|
-
isBlocked,
|
|
15
|
-
isActive,
|
|
16
|
-
name,
|
|
17
|
-
label,
|
|
18
|
-
style,
|
|
19
|
-
isLoading,
|
|
20
|
-
}: IContactInfoCard) => JSX.Element;
|
|
13
|
+
export declare const PersonInfoCard: ({ source, isBlocked, isActive, name, label, style, isLoading, }: IContactInfoCard) => import("react").JSX.Element;
|
|
21
14
|
export {};
|
|
@@ -4,6 +4,7 @@ import {Initials} from '../../../models/initials.model';
|
|
|
4
4
|
import {Size} from '../../../types/size.enum';
|
|
5
5
|
import {ContactRole} from '../../molecules/contact-role/contact-role.component';
|
|
6
6
|
import {Stylesheet} from './person-info-card.styles';
|
|
7
|
+
import React from 'react';
|
|
7
8
|
|
|
8
9
|
interface IContactInfoCard {
|
|
9
10
|
source: ImageSourcePropType | Initials;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const PersonInfoCardPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import {ReactNode} from 'react';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
interface TabViewProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
tabItem: {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}[];
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
setTabValue: (value: string) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const TabView: ({
|
|
11
|
-
tabItem,
|
|
12
|
-
setTabValue,
|
|
13
|
-
children,
|
|
14
|
-
}: TabViewProps) => JSX.Element;
|
|
10
|
+
export declare const TabView: ({ tabItem, setTabValue, children }: TabViewProps) => import("react").JSX.Element;
|
|
15
11
|
export {};
|
|
@@ -3,6 +3,7 @@ import {View} from 'react-native';
|
|
|
3
3
|
import PagerView, {PagerViewOnPageSelectedEvent} from 'react-native-pager-view';
|
|
4
4
|
import {ReactNode, useEffect, useRef, useState} from 'react';
|
|
5
5
|
import {Stylesheet} from './tab-view.styles';
|
|
6
|
+
import React from 'react';
|
|
6
7
|
|
|
7
8
|
interface TabViewProps {
|
|
8
9
|
tabItem: {
|