@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
package/App.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ import { PopOverAction } from './src/components/templates/popover-action/popover
|
|
|
57
57
|
import { QuickMessage } from './src/components/atoms/quick-message/quick-message.component';
|
|
58
58
|
import { TabView } from './src/components/organisms/tab-view/tab-view.component';
|
|
59
59
|
import { Line } from './src/components/atoms/line/line.component';
|
|
60
|
+
import { JournalEntry } from './src/components/organisms/journal-entry/journal-entry.component';
|
|
60
61
|
import { BubbleAlignment } from './src/types/bubble-alignment.enum';
|
|
61
62
|
import { KeyBoardTypes } from './src/types/keyboard-types.enum';
|
|
62
63
|
import { Size } from './src/types/size.enum';
|
|
@@ -66,4 +67,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
|
|
|
66
67
|
import { ThemeCtx } from './src/context/theme.context';
|
|
67
68
|
import { Scale } from './src/theme/scale/index';
|
|
68
69
|
import CreateResponsiveStyle from './src/theme/responsive/index';
|
|
69
|
-
export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, };
|
|
70
|
+
export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, JournalEntry, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, };
|
package/index.tsx
CHANGED
|
@@ -75,6 +75,7 @@ import {PopOverAction} from './src/components/templates/popover-action/popover-a
|
|
|
75
75
|
import {QuickMessage} from './src/components/atoms/quick-message/quick-message.component';
|
|
76
76
|
import {TabView} from './src/components/organisms/tab-view/tab-view.component';
|
|
77
77
|
import {Line} from './src/components/atoms/line/line.component';
|
|
78
|
+
import {JournalEntry} from './src/components/organisms/journal-entry/journal-entry.component';
|
|
78
79
|
|
|
79
80
|
// Exports of enums
|
|
80
81
|
import {BubbleAlignment} from './src/types/bubble-alignment.enum';
|
|
@@ -126,6 +127,7 @@ export {
|
|
|
126
127
|
ImageBubble,
|
|
127
128
|
IncrementInput,
|
|
128
129
|
Info,
|
|
130
|
+
JournalEntry,
|
|
129
131
|
LanguageButton,
|
|
130
132
|
Line,
|
|
131
133
|
LoadingIndicator,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tactics/toddle-styleguide",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "index.tsx",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"prepublish": "tsc",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"packageManager": "yarn@3.3.1",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@callstack/react-theme-provider": "^3.0.8",
|
|
22
|
-
"@expo/config-plugins": "~
|
|
23
|
-
"@expo/webpack-config": "^
|
|
22
|
+
"@expo/config-plugins": "~7.2.2",
|
|
23
|
+
"@expo/webpack-config": "^19.0.0",
|
|
24
24
|
"@miblanchard/react-native-slider": "^2.3.1",
|
|
25
|
-
"@react-native-picker/picker": "2.4.
|
|
25
|
+
"@react-native-picker/picker": "2.4.10",
|
|
26
26
|
"@react-navigation/bottom-tabs": "^6.5.8",
|
|
27
27
|
"@react-navigation/drawer": "^6.6.3",
|
|
28
28
|
"@react-navigation/native": "^6.1.7",
|
|
@@ -32,30 +32,30 @@
|
|
|
32
32
|
"@testing-library/react-native": "^12.1.2",
|
|
33
33
|
"@types/luxon": "^3.3.0",
|
|
34
34
|
"@types/xdate": "^0.8.32",
|
|
35
|
-
"expo": "^
|
|
36
|
-
"expo-font": "~11.
|
|
37
|
-
"expo-haptics": "~12.
|
|
38
|
-
"expo-linear-gradient": "~12.
|
|
39
|
-
"expo-status-bar": "~1.
|
|
35
|
+
"expo": "^49.0.0",
|
|
36
|
+
"expo-font": "~11.4.0",
|
|
37
|
+
"expo-haptics": "~12.4.0",
|
|
38
|
+
"expo-linear-gradient": "~12.3.0",
|
|
39
|
+
"expo-status-bar": "~1.6.0",
|
|
40
40
|
"intl": "^1.2.5",
|
|
41
41
|
"jsc-android": "^250231.0.0",
|
|
42
42
|
"lottie-ios": "4.2.0",
|
|
43
|
-
"lottie-react-native": "5.1.
|
|
43
|
+
"lottie-react-native": "5.1.6",
|
|
44
44
|
"luxon": "^3.3.0",
|
|
45
45
|
"react": "18.2.0",
|
|
46
46
|
"react-dom": "18.2.0",
|
|
47
|
-
"react-native": "0.
|
|
47
|
+
"react-native": "0.72.5",
|
|
48
48
|
"react-native-calendar-strip": "^2.2.6",
|
|
49
49
|
"react-native-calendars": "^1.1299.0",
|
|
50
|
-
"react-native-gesture-handler": "~2.
|
|
51
|
-
"react-native-pager-view": "6.
|
|
50
|
+
"react-native-gesture-handler": "~2.12.0",
|
|
51
|
+
"react-native-pager-view": "6.2.0",
|
|
52
52
|
"react-native-picker-select": "^8.0.4",
|
|
53
|
-
"react-native-reanimated": "~
|
|
54
|
-
"react-native-safe-area-context": "4.
|
|
55
|
-
"react-native-screens": "~3.
|
|
56
|
-
"react-native-svg": "13.
|
|
53
|
+
"react-native-reanimated": "~3.3.0",
|
|
54
|
+
"react-native-safe-area-context": "4.6.3",
|
|
55
|
+
"react-native-screens": "~3.22.0",
|
|
56
|
+
"react-native-svg": "13.9.0",
|
|
57
57
|
"react-native-swipe-gestures": "^1.0.5",
|
|
58
|
-
"react-native-web": "~0.
|
|
58
|
+
"react-native-web": "~0.19.6",
|
|
59
59
|
"react-native-wheel-picker-expo": "^0.5.4",
|
|
60
60
|
"react-test-renderer": "^18.2.0"
|
|
61
61
|
},
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/jest": "^29.5.2",
|
|
66
66
|
"@types/luxon": "^3.3.0",
|
|
67
67
|
"@types/node": "^20.3.1",
|
|
68
|
-
"@types/react": "~18.
|
|
68
|
+
"@types/react": "~18.2.14",
|
|
69
69
|
"@types/react-dom": "~18.0.10",
|
|
70
70
|
"@types/react-test-renderer": "^18.0.0",
|
|
71
71
|
"jest": "^29.5.0",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"prettier": "2.8.8",
|
|
74
74
|
"ts-jest": "^29.1.0",
|
|
75
75
|
"ts-node": "^10.9.1",
|
|
76
|
-
"typescript": "^
|
|
76
|
+
"typescript": "^5.1.3"
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const AnimatedWave: () => React.JSX.Element;
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
-
|
|
2
|
+
container: {
|
|
3
|
+
flex: number;
|
|
4
|
+
alignItems: "center";
|
|
5
|
+
justifyContent: "flex-start";
|
|
6
|
+
};
|
|
7
|
+
animationContainer: {
|
|
8
|
+
width: "100%";
|
|
9
|
+
alignItems: "center";
|
|
10
|
+
position: "absolute";
|
|
11
|
+
top: "-1%";
|
|
12
|
+
zIndex: number;
|
|
13
|
+
};
|
|
14
|
+
overlay: {
|
|
15
|
+
width: "100%";
|
|
16
|
+
height: "30%";
|
|
17
|
+
position: "absolute";
|
|
18
|
+
top: "38%";
|
|
19
|
+
backgroundColor: any;
|
|
20
|
+
};
|
|
21
21
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type PopoverBackdropProps = {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
isVisible: boolean;
|
|
4
|
+
touchBackDrop?: (value: boolean) => void;
|
|
4
5
|
};
|
|
5
|
-
declare const Backdrop: ({
|
|
6
|
-
|
|
7
|
-
touchBackDrop,
|
|
8
|
-
}: PopoverBackdropProps) => JSX.Element;
|
|
9
|
-
export {Backdrop as Backdrop};
|
|
6
|
+
declare const Backdrop: ({ isVisible, touchBackDrop }: PopoverBackdropProps) => React.JSX.Element;
|
|
7
|
+
export { Backdrop as Backdrop };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export function Stylesheet(Context: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
element: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
height: "100%";
|
|
5
|
+
backgroundColor: any;
|
|
6
|
+
zIndex: number;
|
|
7
|
+
position: "absolute";
|
|
8
|
+
top: number;
|
|
9
|
+
left: number;
|
|
10
|
+
};
|
|
11
11
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BackgroundGradient: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BackgroundGradientPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1381,7 +1381,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1381
1381
|
}
|
|
1382
1382
|
>
|
|
1383
1383
|
<View
|
|
1384
|
-
accessibilityLabel="
|
|
1384
|
+
accessibilityLabel=" Vrijdag 11 Augustus 2023 "
|
|
1385
1385
|
accessibilityRole="button"
|
|
1386
1386
|
accessibilityState={
|
|
1387
1387
|
{
|
|
@@ -1413,10 +1413,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1413
1413
|
style={
|
|
1414
1414
|
{
|
|
1415
1415
|
"alignItems": "center",
|
|
1416
|
-
"borderColor": "#7B93DB",
|
|
1417
|
-
"borderRadius": 21,
|
|
1418
|
-
"borderStyle": "solid",
|
|
1419
|
-
"borderWidth": 1,
|
|
1420
1416
|
"height": 42,
|
|
1421
1417
|
"justifyContent": "center",
|
|
1422
1418
|
"opacity": 1,
|
|
@@ -1436,9 +1432,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1436
1432
|
"lineHeight": 22.4,
|
|
1437
1433
|
"marginTop": 4,
|
|
1438
1434
|
},
|
|
1439
|
-
{
|
|
1440
|
-
"color": "#7B93DB",
|
|
1441
|
-
},
|
|
1442
1435
|
]
|
|
1443
1436
|
}
|
|
1444
1437
|
>
|
|
@@ -1641,7 +1634,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1641
1634
|
}
|
|
1642
1635
|
>
|
|
1643
1636
|
<View
|
|
1644
|
-
accessibilityLabel=" Maandag 14 Augustus 2023 "
|
|
1637
|
+
accessibilityLabel="today Maandag 14 Augustus 2023 "
|
|
1645
1638
|
accessibilityRole="button"
|
|
1646
1639
|
accessibilityState={
|
|
1647
1640
|
{
|
|
@@ -1673,6 +1666,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1673
1666
|
style={
|
|
1674
1667
|
{
|
|
1675
1668
|
"alignItems": "center",
|
|
1669
|
+
"borderColor": "#7B93DB",
|
|
1670
|
+
"borderRadius": 21,
|
|
1671
|
+
"borderStyle": "solid",
|
|
1672
|
+
"borderWidth": 1,
|
|
1676
1673
|
"height": 42,
|
|
1677
1674
|
"justifyContent": "center",
|
|
1678
1675
|
"opacity": 1,
|
|
@@ -1692,6 +1689,9 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1692
1689
|
"lineHeight": 22.4,
|
|
1693
1690
|
"marginTop": 4,
|
|
1694
1691
|
},
|
|
1692
|
+
{
|
|
1693
|
+
"color": "#7B93DB",
|
|
1694
|
+
},
|
|
1695
1695
|
]
|
|
1696
1696
|
}
|
|
1697
1697
|
>
|
|
@@ -4766,8 +4766,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4766
4766
|
}
|
|
4767
4767
|
>
|
|
4768
4768
|
<View
|
|
4769
|
-
accessibilityLabel="
|
|
4770
|
-
accessibilityRole="button"
|
|
4769
|
+
accessibilityLabel=" Vrijdag 11 Augustus 2023 "
|
|
4771
4770
|
accessibilityState={
|
|
4772
4771
|
{
|
|
4773
4772
|
"busy": undefined,
|
|
@@ -4798,10 +4797,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4798
4797
|
style={
|
|
4799
4798
|
{
|
|
4800
4799
|
"alignItems": "center",
|
|
4801
|
-
"borderColor": "#7B93DB",
|
|
4802
|
-
"borderRadius": 21,
|
|
4803
|
-
"borderStyle": "solid",
|
|
4804
|
-
"borderWidth": 1,
|
|
4805
4800
|
"height": 42,
|
|
4806
4801
|
"justifyContent": "center",
|
|
4807
4802
|
"opacity": 1,
|
|
@@ -4822,7 +4817,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4822
4817
|
"marginTop": 4,
|
|
4823
4818
|
},
|
|
4824
4819
|
{
|
|
4825
|
-
"color": "#
|
|
4820
|
+
"color": "#9AA5B1",
|
|
4826
4821
|
},
|
|
4827
4822
|
]
|
|
4828
4823
|
}
|
|
@@ -5030,7 +5025,8 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
5030
5025
|
}
|
|
5031
5026
|
>
|
|
5032
5027
|
<View
|
|
5033
|
-
accessibilityLabel=" Maandag 14 Augustus 2023 "
|
|
5028
|
+
accessibilityLabel="today Maandag 14 Augustus 2023 "
|
|
5029
|
+
accessibilityRole="button"
|
|
5034
5030
|
accessibilityState={
|
|
5035
5031
|
{
|
|
5036
5032
|
"busy": undefined,
|
|
@@ -5061,6 +5057,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
5061
5057
|
style={
|
|
5062
5058
|
{
|
|
5063
5059
|
"alignItems": "center",
|
|
5060
|
+
"borderColor": "#7B93DB",
|
|
5061
|
+
"borderRadius": 21,
|
|
5062
|
+
"borderStyle": "solid",
|
|
5063
|
+
"borderWidth": 1,
|
|
5064
5064
|
"height": 42,
|
|
5065
5065
|
"justifyContent": "center",
|
|
5066
5066
|
"opacity": 1,
|
|
@@ -5081,7 +5081,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
5081
5081
|
"marginTop": 4,
|
|
5082
5082
|
},
|
|
5083
5083
|
{
|
|
5084
|
-
"color": "#
|
|
5084
|
+
"color": "#7B93DB",
|
|
5085
5085
|
},
|
|
5086
5086
|
]
|
|
5087
5087
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
3
|
type CalendarProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
onDayPress: (day: ToddleDateTime) => void;
|
|
5
|
+
selected: ToddleDateTime;
|
|
6
|
+
minDate?: string;
|
|
7
|
+
maxDate?: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const Calendar: ({
|
|
9
|
-
onDayPress,
|
|
10
|
-
selected,
|
|
11
|
-
minDate,
|
|
12
|
-
maxDate,
|
|
13
|
-
}: CalendarProps) => JSX.Element;
|
|
9
|
+
export declare const Calendar: ({ onDayPress, selected, minDate, maxDate, }: CalendarProps) => React.JSX.Element;
|
|
14
10
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CalendarPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type CheckProps = {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
value: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
4
5
|
};
|
|
5
|
-
export declare const Check: ({value, onToggle}: CheckProps) => JSX.Element;
|
|
6
|
+
export declare const Check: ({ value, onToggle }: CheckProps) => React.JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CheckPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {ViewStyle} from 'react-native';
|
|
3
|
-
import {AnimateStyle} from 'react-native-reanimated';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
import { AnimateStyle } from 'react-native-reanimated';
|
|
4
4
|
type FooterProps = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
animatedStyle?: AnimateStyle<ViewStyle>;
|
|
7
7
|
};
|
|
8
|
-
declare const Footer: ({children, animatedStyle}: FooterProps) => JSX.Element;
|
|
9
|
-
export {Footer as Footer};
|
|
8
|
+
declare const Footer: ({ children, animatedStyle }: FooterProps) => React.JSX.Element;
|
|
9
|
+
export { Footer as Footer };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FooterPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
export function Stylesheet(context: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
2
|
+
container: {
|
|
3
|
+
flexDirection: "row";
|
|
4
|
+
alignItems: "center" | "flex-start";
|
|
5
|
+
justifyContent: "center";
|
|
6
|
+
paddingTop: number;
|
|
7
|
+
backgroundColor: any;
|
|
8
|
+
borderTopColor: any;
|
|
9
|
+
borderStyle: "solid";
|
|
10
|
+
borderTopWidth: number;
|
|
11
|
+
height: number;
|
|
12
|
+
width: "100%";
|
|
13
|
+
};
|
|
15
14
|
};
|
package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children,
|
|
5
|
-
textColor,
|
|
6
|
-
textAlign,
|
|
7
|
-
numberOfLines,
|
|
8
|
-
ellipsizeMode,
|
|
9
|
-
addStyle,
|
|
10
|
-
}: TextProperties) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProperties } from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const AllCapsHeading: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => React.JSX.Element;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children,
|
|
5
|
-
textColor,
|
|
6
|
-
textAlign,
|
|
7
|
-
addStyle,
|
|
8
|
-
ellipsizeMode,
|
|
9
|
-
numberOfLines,
|
|
10
|
-
}: TextProperties) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProperties } from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading1: ({ bold, children, textColor, textAlign, addStyle, ellipsizeMode, numberOfLines, }: TextProperties) => React.JSX.Element;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children,
|
|
5
|
-
textColor,
|
|
6
|
-
textAlign,
|
|
7
|
-
numberOfLines,
|
|
8
|
-
ellipsizeMode,
|
|
9
|
-
addStyle,
|
|
10
|
-
}: TextProperties) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProperties } from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading2: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => React.JSX.Element;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children,
|
|
5
|
-
textColor,
|
|
6
|
-
textAlign,
|
|
7
|
-
addStyle,
|
|
8
|
-
numberOfLines,
|
|
9
|
-
ellipsizeMode,
|
|
10
|
-
}: TextProperties) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProperties } from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading3: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children,
|
|
5
|
-
textColor,
|
|
6
|
-
textAlign,
|
|
7
|
-
addStyle,
|
|
8
|
-
numberOfLines,
|
|
9
|
-
ellipsizeMode,
|
|
10
|
-
}: TextProperties) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProperties } from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading4: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const HeadingsPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {Heading1} from './heading1/heading1.component';
|
|
2
|
-
import {Heading2} from './heading2/heading2.component';
|
|
3
|
-
import {Heading3} from './heading3/heading3.component';
|
|
4
|
-
import {Heading4} from './heading4/heading4.component';
|
|
5
|
-
import {AllCapsHeading} from './all-caps-heading/all-caps-heading.component';
|
|
6
|
-
export {AllCapsHeading, Heading1, Heading2, Heading3, Heading4};
|
|
1
|
+
import { Heading1 } from './heading1/heading1.component';
|
|
2
|
+
import { Heading2 } from './heading2/heading2.component';
|
|
3
|
+
import { Heading3 } from './heading3/heading3.component';
|
|
4
|
+
import { Heading4 } from './heading4/heading4.component';
|
|
5
|
+
import { AllCapsHeading } from './all-caps-heading/all-caps-heading.component';
|
|
6
|
+
export { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ImageSourcePropType } from 'react-native';
|
|
3
|
+
import { BubbleAlignment } from '../../../types/bubble-alignment.enum';
|
|
3
4
|
type ImageBubbleProps = {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
source: ImageSourcePropType;
|
|
6
|
+
bubbleAlignment: BubbleAlignment;
|
|
6
7
|
};
|
|
7
|
-
declare const ImageBubble: ({
|
|
8
|
-
|
|
9
|
-
bubbleAlignment,
|
|
10
|
-
}: ImageBubbleProps) => JSX.Element;
|
|
11
|
-
export {ImageBubble as ImageBubble};
|
|
8
|
+
declare const ImageBubble: ({ source, bubbleAlignment }: ImageBubbleProps) => React.JSX.Element;
|
|
9
|
+
export { ImageBubble as ImageBubble };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ImageBubblePreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type IncrementInputProps = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
value: number;
|
|
4
|
+
maxValue?: number;
|
|
5
|
+
onPress: (number: number) => void;
|
|
5
6
|
};
|
|
6
|
-
export declare const IncrementInput: ({
|
|
7
|
-
value,
|
|
8
|
-
onPress,
|
|
9
|
-
maxValue,
|
|
10
|
-
}: IncrementInputProps) => JSX.Element;
|
|
7
|
+
export declare const IncrementInput: ({ value, onPress, maxValue, }: IncrementInputProps) => React.JSX.Element;
|
|
11
8
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const IncrementInputPreview: ({}: {}) => React.JSX.Element;
|