@tactics/toddle-styleguide 1.3.2 → 1.4.1
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.component.tsx +40 -31
- package/src/components/organisms/day-select/day-select.preview.d.ts +2 -1
- package/src/components/organisms/day-select/day-select.preview.tsx +1 -1
- package/src/components/organisms/day-select/day-select.styles.js +8 -0
- 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/day-select/day-select.styles.d.ts +0 -10
- 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,36 +1,35 @@
|
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
2
|
+
container: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
flexDirection: "row";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
};
|
|
7
|
+
buttonContainer: {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
backgroundColor: any;
|
|
11
|
+
alignItems: "center";
|
|
12
|
+
justifyContent: "center";
|
|
13
|
+
borderRadius: number;
|
|
14
|
+
};
|
|
15
|
+
numberContainer: {
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
display: "flex";
|
|
19
|
+
justifyContent: "center";
|
|
20
|
+
alignItems: "center";
|
|
21
|
+
marginRight: number;
|
|
22
|
+
marginLeft: number;
|
|
23
|
+
backgroundColor: any;
|
|
24
|
+
borderWidth: number;
|
|
25
|
+
borderStyle: "solid";
|
|
26
|
+
borderColor: any;
|
|
27
|
+
borderRadius: number;
|
|
28
|
+
};
|
|
29
|
+
number: {
|
|
30
|
+
textAlignVertical: "center";
|
|
31
|
+
justifyContent: "center";
|
|
32
|
+
alignItems: "center";
|
|
33
|
+
display: "flex";
|
|
34
|
+
};
|
|
36
35
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type Orientation = 'horizontal' | 'vertical';
|
|
2
3
|
interface LineProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
color?: string;
|
|
5
|
+
thickness?: number;
|
|
6
|
+
orientation?: Orientation;
|
|
6
7
|
}
|
|
7
|
-
export declare const Line: ({
|
|
8
|
-
color,
|
|
9
|
-
thickness,
|
|
10
|
-
orientation,
|
|
11
|
-
}: LineProps) => JSX.Element;
|
|
8
|
+
export declare const Line: ({ color, thickness, orientation, }: LineProps) => React.JSX.Element;
|
|
12
9
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LinePreview: () => import("react").JSX.Element;
|
|
@@ -2,6 +2,7 @@ import {View} from 'react-native';
|
|
|
2
2
|
import {Line} from './line.component';
|
|
3
3
|
import {useContext} from 'react';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
+
import React from 'react';
|
|
5
6
|
|
|
6
7
|
export const LinePreview = () => {
|
|
7
8
|
const context = useContext(ThemeCtx);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type logoProps = {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
colorIsWhite?: boolean;
|
|
4
|
+
big?: boolean;
|
|
4
5
|
};
|
|
5
|
-
declare const Logo: ({colorIsWhite, big}: logoProps) => JSX.Element;
|
|
6
|
-
export {Logo as Logo};
|
|
6
|
+
declare const Logo: ({ colorIsWhite, big }: logoProps) => React.JSX.Element;
|
|
7
|
+
export { Logo as Logo };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LogoPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {Paragraph} from './paragraph/paragraph.component';
|
|
2
|
-
import {SmallText} from './small-text/small-text.component';
|
|
3
|
-
import {TinyText} from './tiny-text/tiny-text.component';
|
|
4
|
-
export {Paragraph, SmallText, TinyText};
|
|
1
|
+
import { Paragraph } from './paragraph/paragraph.component';
|
|
2
|
+
import { SmallText } from './small-text/small-text.component';
|
|
3
|
+
import { TinyText } from './tiny-text/tiny-text.component';
|
|
4
|
+
export { Paragraph, SmallText, TinyText };
|
|
@@ -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 Paragraph: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ParagraphComponentsPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
textColor,
|
|
5
|
-
textAlign,
|
|
6
|
-
children,
|
|
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 SmallText: ({ bold, textColor, textAlign, children, addStyle, ellipsizeMode, numberOfLines, }: 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 TinyText: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import {PressableProps} from 'react-native';
|
|
1
|
+
import { PressableProps } from 'react-native';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface QuickMessageProps extends PressableProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
message: string;
|
|
5
|
+
setMessage: (value: string) => void;
|
|
6
|
+
selectedMessage: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare const QuickMessage: ({
|
|
8
|
-
message,
|
|
9
|
-
setMessage,
|
|
10
|
-
selectedMessage,
|
|
11
|
-
...props
|
|
12
|
-
}: QuickMessageProps) => JSX.Element;
|
|
8
|
+
export declare const QuickMessage: ({ message, setMessage, selectedMessage, ...props }: QuickMessageProps) => React.JSX.Element;
|
|
13
9
|
export {};
|
|
@@ -3,6 +3,7 @@ import {Paragraph} from '../paragraph-components';
|
|
|
3
3
|
import {useContext} from 'react';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
5
|
import {Stylesheet} from './quick-message.styles';
|
|
6
|
+
import React from 'react';
|
|
6
7
|
|
|
7
8
|
interface QuickMessageProps extends PressableProps {
|
|
8
9
|
message: string;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const QuickMessagePreview: () => React.JSX.Element;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
borderTopRightRadius: number;
|
|
15
|
-
borderBottomRightRadius: number;
|
|
16
|
-
};
|
|
1
|
+
export function Stylesheet(context: any, selectedMessage: any): {
|
|
2
|
+
container: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
backgroundColor: any;
|
|
5
|
+
paddingTop: number;
|
|
6
|
+
paddingBottom: number;
|
|
7
|
+
paddingRight: number;
|
|
8
|
+
paddingLeft: number;
|
|
9
|
+
borderBottomLeftRadius: number;
|
|
10
|
+
borderTopLeftRadius: number;
|
|
11
|
+
borderTopRightRadius: number;
|
|
12
|
+
borderBottomRightRadius: number;
|
|
13
|
+
};
|
|
17
14
|
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type splitContainerProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
element1: React.ReactNode;
|
|
4
|
+
element2?: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
declare const SplitContainer: ({
|
|
7
|
-
|
|
8
|
-
element2,
|
|
9
|
-
}: splitContainerProps) => JSX.Element;
|
|
10
|
-
export {SplitContainer as SplitContainer};
|
|
6
|
+
declare const SplitContainer: ({ element1, element2 }: splitContainerProps) => React.JSX.Element;
|
|
7
|
+
export { SplitContainer as SplitContainer };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SplitContainerPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export function Stylesheet(context: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
element: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
paddingRight: number;
|
|
5
|
+
paddingLeft: number;
|
|
6
|
+
};
|
|
7
|
+
inner: {
|
|
8
|
+
flexDirection: "row";
|
|
9
|
+
justifyContent: "center";
|
|
10
|
+
};
|
|
11
|
+
twoElements: {
|
|
12
|
+
justifyContent: "space-between";
|
|
13
|
+
};
|
|
14
14
|
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
2
3
|
export type WaveProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
customStyle?: ViewStyle;
|
|
5
|
+
customWavePath?: string;
|
|
6
|
+
heightSvgContainer?: number;
|
|
7
|
+
positionTop?: number;
|
|
7
8
|
};
|
|
8
|
-
export declare const StaticWave: ({
|
|
9
|
-
customStyle,
|
|
10
|
-
customWavePath,
|
|
11
|
-
heightSvgContainer,
|
|
12
|
-
positionTop,
|
|
13
|
-
}: WaveProps) => JSX.Element;
|
|
9
|
+
export declare const StaticWave: ({ customStyle, customWavePath, heightSvgContainer, positionTop, }: WaveProps) => React.JSX.Element;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TextInputProps as NativeTextInputProps } from 'react-native';
|
|
3
|
+
import { KeyBoardTypes } from '../../../types/keyboard-types.enum';
|
|
3
4
|
interface TextInputProps extends NativeTextInputProps {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
keyboardType: KeyBoardTypes;
|
|
6
|
+
border?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const TextInput: ({
|
|
8
|
-
|
|
9
|
-
border,
|
|
10
|
-
...props
|
|
11
|
-
}: TextInputProps) => JSX.Element;
|
|
12
|
-
export {TextInput as TextInput};
|
|
8
|
+
declare const TextInput: ({ keyboardType, border, ...props }: TextInputProps) => React.JSX.Element;
|
|
9
|
+
export { TextInput as TextInput };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const TextInputPreview: ({}?: {}) => React.JSX.Element;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ImageSourcePropType } from 'react-native';
|
|
3
|
+
import { Size } from '../../../types/size.enum';
|
|
4
|
+
import { Initials } from '../../../models/initials.model';
|
|
4
5
|
type AvatarProps = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
source: ImageSourcePropType | Initials;
|
|
7
|
+
size: Size;
|
|
8
|
+
isBlocked?: boolean;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
hasShadow?: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare const Avatar: ({
|
|
13
|
-
|
|
14
|
-
size,
|
|
15
|
-
isBlocked,
|
|
16
|
-
isActive,
|
|
17
|
-
isLoading,
|
|
18
|
-
hasShadow,
|
|
19
|
-
}: AvatarProps) => JSX.Element;
|
|
20
|
-
export {Avatar as Avatar};
|
|
13
|
+
declare const Avatar: ({ source, size, isBlocked, isActive, isLoading, hasShadow, }: AvatarProps) => React.JSX.Element;
|
|
14
|
+
export { Avatar as Avatar };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const AvatarPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type BlockedMessageProps = {
|
|
2
|
-
|
|
3
|
+
message: string;
|
|
3
4
|
};
|
|
4
|
-
export declare const BlockedMessage: ({
|
|
5
|
-
message,
|
|
6
|
-
}: BlockedMessageProps) => JSX.Element;
|
|
5
|
+
export declare const BlockedMessage: ({ message }: BlockedMessageProps) => React.JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const BlockedMessagePreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PressableProps } from 'react-native';
|
|
3
|
+
import { IconNameType, IconStyleType } from '../../../types/icontype.type';
|
|
3
4
|
type ButtonType = 'regular' | 'error' | 'success' | 'light';
|
|
4
5
|
interface ButtonProps extends PressableProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: boolean;
|
|
8
|
+
iconStyle?: IconStyleType;
|
|
9
|
+
iconName?: IconNameType;
|
|
10
|
+
iconSize?: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
type?: ButtonType;
|
|
12
13
|
}
|
|
13
|
-
declare const Button: ({
|
|
14
|
-
|
|
15
|
-
icon,
|
|
16
|
-
iconStyle,
|
|
17
|
-
iconName,
|
|
18
|
-
iconSize,
|
|
19
|
-
disabled,
|
|
20
|
-
type,
|
|
21
|
-
...props
|
|
22
|
-
}: ButtonProps) => JSX.Element;
|
|
23
|
-
export {Button as Button};
|
|
14
|
+
declare const Button: ({ label, icon, iconStyle, iconName, iconSize, disabled, type, ...props }: ButtonProps) => React.JSX.Element;
|
|
15
|
+
export { Button as Button };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ButtonPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
3
|
type CalendarSelectProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
onPressDate: (date: ToddleDateTime) => void;
|
|
5
|
+
startDate: ToddleDateTime;
|
|
6
|
+
pressChevronRight: (date: ToddleDateTime) => void;
|
|
7
|
+
pressChevronLeft: (date: ToddleDateTime) => void;
|
|
7
8
|
};
|
|
8
|
-
declare const CalendarSelect: ({
|
|
9
|
-
|
|
10
|
-
startDate,
|
|
11
|
-
pressChevronLeft,
|
|
12
|
-
pressChevronRight,
|
|
13
|
-
}: CalendarSelectProps) => JSX.Element;
|
|
14
|
-
export {CalendarSelect as CalendarSelect};
|
|
9
|
+
declare const CalendarSelect: ({ onPressDate, startDate, pressChevronLeft, pressChevronRight, }: CalendarSelectProps) => React.JSX.Element;
|
|
10
|
+
export { CalendarSelect as CalendarSelect };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CalendarSelectPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type CancelLinkProps = {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
onPress: () => void;
|
|
4
5
|
};
|
|
5
|
-
declare const CancelLink: ({label, onPress}: CancelLinkProps) => JSX.Element;
|
|
6
|
-
export {CancelLink as CancelLink};
|
|
6
|
+
declare const CancelLink: ({ label, onPress }: CancelLinkProps) => React.JSX.Element;
|
|
7
|
+
export { CancelLink as CancelLink };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CancelLinkPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type CheckboxProps = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
value: boolean;
|
|
4
|
+
onValueChange: () => void;
|
|
5
|
+
label: string;
|
|
5
6
|
};
|
|
6
|
-
declare const Checkbox: ({
|
|
7
|
-
|
|
8
|
-
onValueChange,
|
|
9
|
-
label,
|
|
10
|
-
}: CheckboxProps) => JSX.Element;
|
|
11
|
-
export {Checkbox as Checkbox};
|
|
7
|
+
declare const Checkbox: ({ value, onValueChange, label }: CheckboxProps) => React.JSX.Element;
|
|
8
|
+
export { Checkbox as Checkbox };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CheckboxPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
type ContactRoleProps = {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
role?: string;
|
|
4
5
|
};
|
|
5
|
-
export declare const ContactRole: ({
|
|
6
|
-
name,
|
|
7
|
-
role,
|
|
8
|
-
}: ContactRoleProps) => JSX.Element;
|
|
6
|
+
export declare const ContactRole: ({ name, role }: ContactRoleProps) => React.JSX.Element;
|
|
9
7
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ContactRolePreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
3
|
type DateInputProps = {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
onPress: () => void;
|
|
5
|
+
value: ToddleDateTime;
|
|
5
6
|
};
|
|
6
|
-
export declare const DateInput: ({
|
|
7
|
-
onPress,
|
|
8
|
-
value,
|
|
9
|
-
}: DateInputProps) => JSX.Element;
|
|
7
|
+
export declare const DateInput: ({ onPress, value }: DateInputProps) => React.JSX.Element;
|
|
10
8
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const DateInputPreview: ({}: {}) => React.JSX.Element;
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
export function Stylesheet(Context: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
text: {
|
|
19
|
-
color: any;
|
|
20
|
-
fontFamily: string;
|
|
21
|
-
fontSize: number;
|
|
22
|
-
lineHeight: number;
|
|
23
|
-
};
|
|
2
|
+
dateInputContainer: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
height: number;
|
|
5
|
+
flexDirection: "row";
|
|
6
|
+
alignItems: "center";
|
|
7
|
+
justifyContent: "space-between";
|
|
8
|
+
backgroundColor: any;
|
|
9
|
+
paddingTop: number;
|
|
10
|
+
paddingRight: number;
|
|
11
|
+
paddingBottom: number;
|
|
12
|
+
paddingLeft: number;
|
|
13
|
+
borderWidth: number;
|
|
14
|
+
borderStyle: "solid";
|
|
15
|
+
borderColor: any;
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
};
|
|
24
18
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
3
|
type DayProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
date: ToddleDateTime;
|
|
5
|
+
onSelect: (date: ToddleDateTime) => void;
|
|
6
|
+
isSelected?: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare const Day: ({onSelect, date, isSelected}: DayProps) => JSX.Element;
|
|
8
|
-
export {Day as Day};
|
|
8
|
+
declare const Day: ({ onSelect, date, isSelected }: DayProps) => React.JSX.Element;
|
|
9
|
+
export { Day as Day };
|