@tactics/toddle-styleguide 2.0.2 → 2.0.4
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/index.d.ts +2 -1
- package/package.json +1 -1
- package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +19 -19
- package/src/components/atoms/backdrop/backdrop.component.d.ts +7 -4
- package/src/components/atoms/backdrop/backdrop.styles.d.ts +9 -9
- package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +6 -6
- package/src/components/atoms/calendar/calendar.component.d.ts +11 -6
- package/src/components/atoms/check-switch/check-switch.component.d.ts +6 -3
- package/src/components/atoms/count/count.component.d.ts +7 -4
- package/src/components/atoms/count/count.component.tsx +12 -13
- package/src/components/atoms/count/count.preview.tsx +5 -5
- package/src/components/atoms/count/count.styles.d.ts +23 -20
- package/src/components/atoms/count/count.styles.js +25 -17
- package/src/components/atoms/footer/footer.component.d.ts +9 -6
- package/src/components/atoms/footer/footer.component.tsx +7 -9
- package/src/components/atoms/footer/footer.styles.d.ts +16 -13
- package/src/components/atoms/footer/footer.styles.js +1 -1
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +10 -2
- package/src/components/atoms/heading-components/index.d.ts +6 -6
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -6
- package/src/components/atoms/increment-input/increment-input.component.d.ts +8 -4
- package/src/components/atoms/increment-input/increment-input.styles.d.ts +33 -33
- package/src/components/atoms/line/line.component.d.ts +8 -4
- package/src/components/atoms/logo/logo.component.d.ts +4 -4
- package/src/components/atoms/paragraph-components/index.d.ts +4 -4
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +10 -2
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +10 -2
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +10 -2
- package/src/components/atoms/quick-message/quick-message.component.d.ts +10 -5
- package/src/components/atoms/quick-message/quick-message.styles.d.ts +16 -13
- package/src/components/atoms/split-container/split-container.component.d.ts +7 -4
- package/src/components/atoms/split-container/split-container.styles.d.ts +12 -12
- package/src/components/atoms/static-wave/static-wave.component.d.ts +11 -6
- package/src/components/atoms/text-input/text-input.component.d.ts +10 -6
- package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
- package/src/components/molecules/amount/amount.component.d.ts +16 -9
- package/src/components/molecules/amount/amount.component.tsx +125 -100
- package/src/components/molecules/amount/amount.preview.tsx +59 -11
- package/src/components/molecules/amount/amount.styles.d.ts +34 -34
- package/src/components/molecules/amount/amount.styles.js +7 -7
- package/src/components/molecules/avatar/avatar.component.d.ts +20 -12
- package/src/components/molecules/avatar/avatar.component.tsx +8 -6
- package/src/components/molecules/avatar/avatar.styles.d.ts +96 -78
- package/src/components/molecules/avatar/avatar.styles.js +18 -16
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +11 -6
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +64 -66
- package/src/components/molecules/bare-time-picker/bare-time-picker.preview.tsx +1 -1
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +6 -6
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +8 -8
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +4 -2
- package/src/components/molecules/button/button.component.d.ts +20 -11
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +12 -6
- package/src/components/molecules/calendar-select/calendar-select.component.tsx +76 -73
- package/src/components/molecules/calendar-select/calendar-select.styles.d.ts +31 -31
- package/src/components/molecules/calendar-select/calendar-select.styles.js +33 -33
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +7 -4
- package/src/components/molecules/checkbox/checkbox.component.d.ts +9 -5
- package/src/components/molecules/contact-role/contact-role.component.d.ts +6 -3
- package/src/components/molecules/context-label/context-label.component.d.ts +7 -4
- package/src/components/molecules/context-label/context-label.component.tsx +21 -23
- package/src/components/molecules/context-label/context-label.preview.tsx +45 -30
- package/src/components/molecules/context-label/context-label.styles.d.ts +7 -5
- package/src/components/molecules/date-input/date-input.component.d.ts +7 -4
- package/src/components/molecules/date-input/date-input.styles.d.ts +16 -16
- package/src/components/molecules/day/day.component.d.ts +10 -6
- package/src/components/molecules/default-select/default-select.component.d.ts +6 -3
- package/src/components/molecules/default-select/default-select.styles.d.ts +11 -11
- package/src/components/molecules/department_logo/department-logo.component.d.ts +5 -3
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +11 -6
- package/src/components/molecules/filter-range/filter-range.component.d.ts +14 -7
- package/src/components/molecules/filter-range/filter-range.styles.d.ts +20 -20
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +11 -7
- package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +58 -53
- package/src/components/molecules/info/info.component.d.ts +9 -5
- package/src/components/molecules/info/info.component.tsx +13 -5
- package/src/components/molecules/info/info.preview.tsx +4 -5
- package/src/components/molecules/info/info.styles.d.ts +14 -14
- package/src/components/molecules/inline-error/inline-error.component.d.ts +3 -3
- package/src/components/molecules/inline-error/inline-error.component.tsx +10 -3
- package/src/components/molecules/inline-error/inline-error.preview.tsx +4 -2
- package/src/components/molecules/inline-error/inline-error.styles.d.ts +16 -16
- package/src/components/molecules/inline-error/inline-error.styles.js +2 -2
- package/src/components/molecules/inline-notice/inline-notice.component.d.ts +3 -3
- package/src/components/molecules/inline-notice/inline-notice.component.tsx +16 -12
- package/src/components/molecules/inline-notice/inline-notice.preview.tsx +4 -2
- package/src/components/molecules/inline-notice/inline-notice.styles.d.ts +16 -16
- package/src/components/molecules/inline-notice/inline-notice.styles.js +18 -18
- package/src/components/molecules/language-button/language-button.component.d.ts +8 -4
- package/src/components/molecules/message-input/message-input.component.d.ts +10 -6
- 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 +8 -4
- package/src/components/molecules/password-input/password-input.component.d.ts +9 -5
- package/src/components/molecules/password-input/password-input.component.tsx +1 -1
- package/src/components/molecules/password-input/password-input.styles.d.ts +27 -27
- package/src/components/molecules/pill/pill.component.d.ts +5 -5
- package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +10 -5
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +16 -9
- package/src/components/molecules/quick-filter/quick-filter.component.tsx +1 -1
- package/src/components/molecules/quick-filter/quick-filter.preview.tsx +1 -1
- package/src/components/molecules/quick-filter/quick-filter.styles.js +1 -1
- package/src/components/molecules/search-input/search.component.d.ts +12 -7
- package/src/components/molecules/search-input/search.preview.d.ts +1 -1
- package/src/components/molecules/search-input/search.styles.d.ts +31 -31
- package/src/components/molecules/select-link/select-link.component.d.ts +7 -4
- package/src/components/molecules/select-list-item/select-list-item.component.d.ts +16 -9
- package/src/components/molecules/select-list-item/select-list-item.component.tsx +13 -9
- package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +27 -22
- package/src/components/molecules/select-picker/select-picker.component.d.ts +13 -8
- package/src/components/molecules/select-picker/select-picker.styles.d.ts +30 -30
- package/src/components/molecules/selectable-list-item/selectable-list-item-preview.tsx +1 -1
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +15 -8
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +17 -5
- package/src/components/molecules/selectable-list-item/selectable-list-item.styles.d.ts +31 -27
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +13 -7
- package/src/components/molecules/snackbar/snackbar.component.d.ts +8 -5
- package/src/components/molecules/swipe/swipe.component.d.ts +8 -5
- package/src/components/molecules/tag/tag.component.d.ts +11 -6
- package/src/components/molecules/time-picker/time-picker.component.d.ts +10 -5
- package/src/components/molecules/time-picker/time-picker.component.tsx +8 -2
- package/src/components/molecules/time-picker/time-picker.styles.d.ts +25 -25
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +10 -6
- package/src/components/molecules/timeline/timeline.component.d.ts +6 -3
- package/src/components/molecules/timestamp/timestamp.component.d.ts +7 -4
- package/src/components/molecules/wave-background/wave.component.d.ts +7 -2
- package/src/components/molecules/wide-button/wide-button.component.d.ts +11 -6
- package/src/components/molecules/wide-button/wide-button.styles.d.ts +14 -10
- package/src/components/organisms/child-list-item/child-list-item.component.d.ts +38 -20
- package/src/components/organisms/child-list-item/child-list-item.component.tsx +29 -26
- package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +56 -53
- package/src/components/organisms/child-list-item/child-list-item.styles.js +5 -5
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +6 -3
- package/src/components/organisms/contact-item/contact-item.component.d.ts +11 -6
- package/src/components/organisms/contact-item/contact-item.styles.d.ts +13 -13
- package/src/components/organisms/day-select/day-select.component.d.ts +10 -6
- package/src/components/organisms/day-select/day-select.component.tsx +46 -32
- package/src/components/organisms/day-select/day-select.styles.d.ts +16 -16
- package/src/components/organisms/day-select/day-select.styles.js +2 -2
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +6 -3
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +13 -7
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +5 -4
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +30 -16
- package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +25 -22
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +13 -3
- package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +9 -2
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +16 -9
- 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 +18 -10
- package/src/components/organisms/tab-view/tab-view.component.d.ts +12 -8
- package/src/components/organisms/tab-view/tab-view.styles.d.ts +8 -8
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +21 -12
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +14 -14
- package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +25 -13
- package/src/components/organisms/timetable-edit/timetable-edit.component.tsx +58 -56
- package/src/components/organisms/timetable-edit/timetable-edit.preview.tsx +20 -18
- package/src/components/organisms/timetable-edit/timetable-edit.styles.d.ts +19 -19
- package/src/components/organisms/timetable-edit/timetable-edit.styles.js +21 -21
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +15 -9
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.tsx +65 -58
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +11 -0
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.tsx +66 -47
- package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +8 -5
- package/src/components/organisms/timetable-editor/timetable-editor.component.tsx +76 -53
- package/src/components/organisms/timetable-editor/timetable-editor.preview.tsx +7 -7
- package/src/components/organisms/timetable-editor/timetable-editor.styles.d.ts +6 -6
- package/src/components/organisms/timetable-editor/timetable-editor.styles.js +8 -8
- package/src/components/templates/modal/components/fade-panel.component.d.ts +14 -7
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +17 -13
- package/src/components/templates/modal/modal.component.d.ts +12 -6
- package/src/components/templates/modal/modal.styles.d.ts +21 -21
- package/src/components/templates/popover/components/foreground/foreground.component.d.ts +6 -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 +4 -4
- package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +7 -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 +17 -9
- 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 +5 -3
- package/src/components/templates/popover/popover.component.d.ts +15 -8
- package/src/components/templates/popover/popover.styles.d.ts +9 -9
- package/src/components/templates/popover-action/popover-action.component.d.ts +8 -4
- package/src/components/templates/popover-action/popover-action.component.tsx +6 -4
- package/src/components/templates/popover-action/popover-action.styles.d.ts +26 -26
- package/src/context/loading-dots.context.d.ts +9 -6
- package/src/context/theme.context.d.ts +65 -65
- package/src/context/theme.context.ts +4 -4
- package/src/gradients/main/main.gradient.d.ts +4 -2
- package/src/hooks/use-debounce.ts +8 -8
- package/src/icons/crown.icon.tsx +18 -5
- package/src/icons/index.d.ts +7 -2
- package/src/icons/outline/calendar/calendar.icon.d.ts +5 -2
- package/src/icons/outline/chat/chat.icon.d.ts +5 -2
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +5 -2
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +5 -2
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +5 -2
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +5 -2
- package/src/icons/outline/clock/clock.icon.d.ts +5 -2
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +5 -2
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +5 -2
- package/src/icons/outline/document-text/document-text.icon.d.ts +5 -2
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +5 -2
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
- package/src/icons/outline/eye/eye.icon.d.ts +5 -2
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +5 -2
- package/src/icons/outline/filter/filter.icon.d.ts +5 -2
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +5 -2
- package/src/icons/outline/logout/logout.icon.d.ts +5 -2
- package/src/icons/outline/mail/mail.icon.d.ts +5 -2
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +5 -2
- package/src/icons/outline/menu/menu.icon.d.ts +5 -2
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +5 -2
- package/src/icons/outline/office-building/office-building.icon.d.ts +5 -2
- package/src/icons/outline/outline-default.preview.tsx +2 -2
- package/src/icons/outline/outline.d.ts +6 -2
- package/src/icons/outline/outline.tsx +4 -4
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +5 -2
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +5 -2
- package/src/icons/outline/pencil/pencil.icon.d.ts +5 -2
- package/src/icons/outline/phone/phone.icon.d.ts +5 -2
- package/src/icons/outline/photograph/photograph.icon.d.ts +5 -2
- package/src/icons/outline/photograph/photograph.icon.tsx +3 -6
- package/src/icons/outline/plus/plus.icon.d.ts +5 -2
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +5 -2
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +5 -2
- package/src/icons/outline/refresh/refresh.icon.d.ts +5 -2
- package/src/icons/outline/search/search.icon.d.ts +5 -2
- package/src/icons/outline/selector/selector.icon.d.ts +5 -2
- package/src/icons/outline/share/share.icon.d.ts +5 -2
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +5 -2
- package/src/icons/outline/status-online/status-online.icon.d.ts +5 -2
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +5 -2
- package/src/icons/outline/trash/trash.icon.d.ts +5 -2
- package/src/icons/outline/user/user.icon.d.ts +5 -2
- package/src/icons/outline/user-group/user-group.icon.d.ts +5 -2
- package/src/icons/outline/users/users.icon.d.ts +5 -2
- package/src/icons/outline/xmark/xmark.icon.d.ts +5 -2
- package/src/icons/solid/calendar/calendar.icon.d.ts +5 -2
- package/src/icons/solid/chat/chat.icon.d.ts +5 -2
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +5 -2
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +5 -2
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +5 -2
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +5 -2
- package/src/icons/solid/clock/clock-solid.icon.d.ts +5 -2
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +5 -2
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +5 -2
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +5 -2
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +5 -2
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
- package/src/icons/solid/eye/eye.icon.d.ts +5 -2
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +5 -2
- package/src/icons/solid/filter/filter.icon.d.ts +5 -2
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +5 -2
- package/src/icons/solid/logout/logout.icon.d.ts +5 -2
- package/src/icons/solid/mail/mail.icon.d.ts +5 -2
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +5 -2
- package/src/icons/solid/menu/menu.icon.d.ts +5 -2
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +5 -2
- package/src/icons/solid/office-building/office-building.icon.d.ts +5 -2
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +5 -2
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +5 -2
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +5 -2
- package/src/icons/solid/phone/phone-solid.icon.d.ts +5 -2
- package/src/icons/solid/photograph/photograph-solid.icon.d.ts +5 -2
- package/src/icons/solid/photograph/photograph-solid.icon.tsx +4 -4
- package/src/icons/solid/plus/plus.icon.d.ts +5 -2
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +5 -2
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +5 -2
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +5 -2
- package/src/icons/solid/search/search.icon.d.ts +5 -2
- package/src/icons/solid/selector/selector.icon.d.ts +5 -2
- package/src/icons/solid/share/share.icon.d.ts +5 -2
- package/src/icons/solid/share/share.icon.tsx +1 -3
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +5 -2
- package/src/icons/solid/solid.d.ts +6 -2
- package/src/icons/solid/solid.tsx +4 -4
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +5 -2
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +5 -2
- package/src/icons/solid/trash/trash-solid.icon.d.ts +5 -2
- package/src/icons/solid/user/user.icon.d.ts +5 -2
- package/src/icons/solid/user-group/user-group.icon.d.ts +5 -2
- package/src/icons/solid/users/users-solid.icon.d.ts +5 -2
- package/src/icons/solid/xmark/xmark.icon.d.ts +5 -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/models/time-slot-record.d.ts +11 -11
- package/src/models/time-slot-sequence.d.ts +15 -13
- package/src/models/time-slot-sequence.ts +13 -9
- 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 +63 -63
- package/src/theme/provider/parent.theme.ts +4 -4
- package/src/theme/provider/staff-member.theme.d.ts +63 -63
- package/src/theme/provider/staff-member.theme.ts +4 -4
- package/src/theme/responsive/index.d.ts +5 -2
- 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 +43 -1
- 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/state.enum.d.ts +4 -4
- package/src/types/state.enum.ts +5 -5
- package/src/types/text-properties.type.d.ts +8 -8
- package/src/types/timetable-edit.enum.d.ts +3 -3
- package/src/types/visual-state.enum.d.ts +5 -5
- package/src/utilities/color-handler/color-handler.d.ts +12 -4
- package/src/utilities/color-handler/color-handler.ts +2 -3
- 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 +103 -46
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +11 -2
package/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ import { ContextLabel } from './src/components/molecules/context-label/context-l
|
|
|
63
63
|
import { Count } from './src/components/atoms/count/count.component';
|
|
64
64
|
import { Amount } from './src/components/molecules/amount/amount.component';
|
|
65
65
|
import { TimetableEditor } from './src/components/organisms/timetable-editor/timetable-editor.component';
|
|
66
|
+
import { TimetableEditorStaff } from './src/components/organisms/timetable-editor/timetable-editor-staff.component';
|
|
66
67
|
import { InlineError } from './src/components/molecules/inline-error/inline-error.component';
|
|
67
68
|
import { InlineNotice } from './src/components/molecules/inline-notice/inline-notice.component';
|
|
68
69
|
import { SelectableListItem } from './src/components/molecules/selectable-list-item/selectable-list-item.component';
|
|
@@ -77,4 +78,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
|
|
|
77
78
|
import { ThemeCtx } from './src/context/theme.context';
|
|
78
79
|
import { Scale } from './src/theme/scale/index';
|
|
79
80
|
import CreateResponsiveStyle from './src/theme/responsive/index';
|
|
80
|
-
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, TimetableEdit, ContextLabel, Count, Amount, TimetableEditor, TimeSlotRecord, TimeSlotSequence, InlineError, InlineNotice, SelectableListItem };
|
|
81
|
+
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, TimetableEdit, ContextLabel, Count, Amount, TimetableEditor, TimetableEditorStaff, TimeSlotRecord, TimeSlotSequence, InlineError, InlineNotice, SelectableListItem };
|
package/package.json
CHANGED
|
@@ -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,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type PopoverBackdropProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
isVisible: boolean;
|
|
4
|
+
touchBackDrop?: (value: boolean) => void;
|
|
5
5
|
};
|
|
6
|
-
declare const Backdrop: ({
|
|
7
|
-
|
|
6
|
+
declare const Backdrop: ({
|
|
7
|
+
isVisible,
|
|
8
|
+
touchBackDrop,
|
|
9
|
+
}: PopoverBackdropProps) => React.JSX.Element;
|
|
10
|
+
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,10 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
3
3
|
type CalendarProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
onDayPress: (day: ToddleDateTime) => void;
|
|
5
|
+
selected: ToddleDateTime;
|
|
6
|
+
minDate?: string;
|
|
7
|
+
maxDate?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const Calendar: ({
|
|
9
|
+
export declare const Calendar: ({
|
|
10
|
+
onDayPress,
|
|
11
|
+
selected,
|
|
12
|
+
minDate,
|
|
13
|
+
maxDate,
|
|
14
|
+
}: CalendarProps) => React.JSX.Element;
|
|
10
15
|
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type CheckProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
value: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
5
|
};
|
|
6
|
-
export declare const Check: ({
|
|
6
|
+
export declare const Check: ({
|
|
7
|
+
value,
|
|
8
|
+
onToggle,
|
|
9
|
+
}: CheckProps) => React.JSX.Element;
|
|
7
10
|
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface CountProps {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
count: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const Count: ({
|
|
6
|
+
export declare const Count: ({
|
|
7
|
+
count,
|
|
8
|
+
disabled,
|
|
9
|
+
}: CountProps) => React.JSX.Element;
|
|
7
10
|
export {};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {View} from 'react-native';
|
|
3
3
|
import {useContext} from 'react';
|
|
4
4
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import {Stylesheet} from './count.styles';
|
|
6
|
+
import {Paragraph} from '../paragraph-components';
|
|
7
7
|
|
|
8
8
|
interface CountProps {
|
|
9
9
|
count: number;
|
|
10
|
-
disabled?: boolean
|
|
10
|
+
disabled?: boolean;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export const Count = ({
|
|
14
|
-
count,
|
|
15
|
-
disabled
|
|
16
|
-
}: CountProps) => {
|
|
13
|
+
export const Count = ({count, disabled}: CountProps) => {
|
|
17
14
|
const context = useContext(ThemeCtx);
|
|
18
15
|
const styles = Stylesheet(context, disabled);
|
|
19
|
-
return
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
return (
|
|
17
|
+
<View style={styles.container}>
|
|
18
|
+
<Paragraph addStyle={styles.text}>{count}</Paragraph>
|
|
19
|
+
</View>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -2,15 +2,15 @@ import {View} from 'react-native';
|
|
|
2
2
|
import {useContext} from 'react';
|
|
3
3
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import {Count} from './count.component';
|
|
6
6
|
|
|
7
7
|
export const CountPreview = () => {
|
|
8
8
|
const context = useContext(ThemeCtx);
|
|
9
9
|
return (
|
|
10
10
|
<View style={{alignItems: 'center', gap: 8}}>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
<Count count={2} />
|
|
12
|
+
<Count count={99} />
|
|
13
|
+
<Count count={999999} />
|
|
14
14
|
</View>
|
|
15
15
|
);
|
|
16
|
-
}
|
|
16
|
+
};
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
export function Stylesheet(
|
|
2
|
+
context: any,
|
|
3
|
+
disabled: any
|
|
4
|
+
): {
|
|
5
|
+
container: {
|
|
6
|
+
borderWidth: number;
|
|
7
|
+
borderColor: any;
|
|
8
|
+
borderRadius: number;
|
|
9
|
+
paddingVertical: number;
|
|
10
|
+
paddingHorizontal: number;
|
|
11
|
+
minWidth: number;
|
|
12
|
+
color: any;
|
|
13
|
+
display: 'flex';
|
|
14
|
+
alignItems: 'center';
|
|
15
|
+
justifyContent: 'center';
|
|
16
|
+
flex: number;
|
|
17
|
+
backgroundColor: any;
|
|
18
|
+
};
|
|
19
|
+
text: {
|
|
20
|
+
width: 'auto';
|
|
21
|
+
fontSize: number;
|
|
22
|
+
color: any;
|
|
23
|
+
};
|
|
21
24
|
};
|
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
import {StyleSheet} from 'react-native';
|
|
2
|
-
import {
|
|
2
|
+
import {Scale} from '../../../theme/scale';
|
|
3
3
|
|
|
4
4
|
export const Stylesheet = (context, disabled) =>
|
|
5
5
|
StyleSheet.create({
|
|
6
6
|
container: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
borderWidth: 1,
|
|
8
|
+
borderColor:
|
|
9
|
+
disabled === true
|
|
10
|
+
? context.colors.ui.xlightgrey
|
|
11
|
+
: context.colors.main['1'],
|
|
12
|
+
borderRadius: 20,
|
|
13
|
+
paddingVertical: Scale.xs,
|
|
14
|
+
paddingHorizontal: Scale.m,
|
|
15
|
+
minWidth: Scale.xxxl,
|
|
16
|
+
color:
|
|
17
|
+
disabled === true ? context.colors.ui.grey : context.colors.main['2'],
|
|
18
|
+
display: 'flex',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
justifyContent: 'center',
|
|
21
|
+
flex: 0,
|
|
22
|
+
backgroundColor:
|
|
23
|
+
disabled === true
|
|
24
|
+
? context.colors.ui.xlightgrey
|
|
25
|
+
: context.colors.ui.white,
|
|
19
26
|
},
|
|
20
27
|
text: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
width: 'auto',
|
|
29
|
+
fontSize: Scale.m,
|
|
30
|
+
color:
|
|
31
|
+
disabled === true ? context.colors.ui.grey : context.colors.main['2'],
|
|
32
|
+
},
|
|
25
33
|
});
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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: ({
|
|
9
|
-
|
|
8
|
+
declare const Footer: ({
|
|
9
|
+
children,
|
|
10
|
+
animatedStyle,
|
|
11
|
+
}: FooterProps) => React.JSX.Element;
|
|
12
|
+
export {Footer as Footer};
|
|
@@ -5,9 +5,7 @@ import {ViewStyle} from 'react-native';
|
|
|
5
5
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
6
6
|
import {Stylesheet} from './footer.styles';
|
|
7
7
|
import Animated, {AnimateStyle} from 'react-native-reanimated';
|
|
8
|
-
import {
|
|
9
|
-
useSafeAreaInsets,
|
|
10
|
-
} from 'react-native-safe-area-context';
|
|
8
|
+
import {useSafeAreaInsets} from 'react-native-safe-area-context';
|
|
11
9
|
|
|
12
10
|
type FooterProps = {
|
|
13
11
|
children: React.ReactNode;
|
|
@@ -20,12 +18,12 @@ const Footer = ({children, animatedStyle}: FooterProps) => {
|
|
|
20
18
|
const styles = Stylesheet(context, insets);
|
|
21
19
|
|
|
22
20
|
return (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
<Animated.View
|
|
22
|
+
style={[styles.container, animatedStyle]}
|
|
23
|
+
testID="footer-container"
|
|
24
|
+
>
|
|
25
|
+
{children}
|
|
26
|
+
</Animated.View>
|
|
29
27
|
);
|
|
30
28
|
};
|
|
31
29
|
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
export function Stylesheet(
|
|
2
|
+
context: any,
|
|
3
|
+
insets: any
|
|
4
|
+
): {
|
|
5
|
+
container: {
|
|
6
|
+
flexDirection: 'row';
|
|
7
|
+
alignItems: 'center';
|
|
8
|
+
justifyContent: 'center';
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
borderTopColor: any;
|
|
11
|
+
borderStyle: 'solid';
|
|
12
|
+
borderTopWidth: number;
|
|
13
|
+
minHeight: any;
|
|
14
|
+
paddingBottom: any;
|
|
15
|
+
width: '100%';
|
|
16
|
+
};
|
|
14
17
|
};
|
|
@@ -11,7 +11,7 @@ export const Stylesheet = (context, insets) =>
|
|
|
11
11
|
borderTopColor: context.colors.ui.lightgrey,
|
|
12
12
|
borderStyle: 'solid',
|
|
13
13
|
borderTopWidth: 1,
|
|
14
|
-
minHeight:
|
|
14
|
+
minHeight: Scale.xxxl + insets.bottom,
|
|
15
15
|
paddingBottom: insets.bottom,
|
|
16
16
|
width: '100%',
|
|
17
17
|
},
|
package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const AllCapsHeading: ({
|
|
2
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const AllCapsHeading: ({
|
|
4
|
+
bold,
|
|
5
|
+
children,
|
|
6
|
+
textColor,
|
|
7
|
+
textAlign,
|
|
8
|
+
numberOfLines,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
addStyle,
|
|
11
|
+
}: TextProperties) => React.JSX.Element;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const Heading1: ({
|
|
2
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading1: ({
|
|
4
|
+
bold,
|
|
5
|
+
children,
|
|
6
|
+
textColor,
|
|
7
|
+
textAlign,
|
|
8
|
+
addStyle,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
numberOfLines,
|
|
11
|
+
}: TextProperties) => React.JSX.Element;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const Heading2: ({
|
|
2
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading2: ({
|
|
4
|
+
bold,
|
|
5
|
+
children,
|
|
6
|
+
textColor,
|
|
7
|
+
textAlign,
|
|
8
|
+
numberOfLines,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
addStyle,
|
|
11
|
+
}: TextProperties) => React.JSX.Element;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const Heading3: ({
|
|
2
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading3: ({
|
|
4
|
+
bold,
|
|
5
|
+
children,
|
|
6
|
+
textColor,
|
|
7
|
+
textAlign,
|
|
8
|
+
addStyle,
|
|
9
|
+
numberOfLines,
|
|
10
|
+
ellipsizeMode,
|
|
11
|
+
}: TextProperties) => React.JSX.Element;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const Heading4: ({
|
|
2
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
3
|
+
export declare const Heading4: ({
|
|
4
|
+
bold,
|
|
5
|
+
children,
|
|
6
|
+
textColor,
|
|
7
|
+
textAlign,
|
|
8
|
+
addStyle,
|
|
9
|
+
numberOfLines,
|
|
10
|
+
ellipsizeMode,
|
|
11
|
+
}: TextProperties) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
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,9 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {ImageSourcePropType} from 'react-native';
|
|
3
|
+
import {BubbleAlignment} from '../../../types/bubble-alignment.enum';
|
|
4
4
|
type ImageBubbleProps = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
source: ImageSourcePropType;
|
|
6
|
+
bubbleAlignment: BubbleAlignment;
|
|
7
7
|
};
|
|
8
|
-
declare const ImageBubble: ({
|
|
9
|
-
|
|
8
|
+
declare const ImageBubble: ({
|
|
9
|
+
source,
|
|
10
|
+
bubbleAlignment,
|
|
11
|
+
}: ImageBubbleProps) => React.JSX.Element;
|
|
12
|
+
export {ImageBubble as ImageBubble};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type IncrementInputProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
value: number;
|
|
4
|
+
maxValue?: number;
|
|
5
|
+
onPress: (number: number) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const IncrementInput: ({
|
|
7
|
+
export declare const IncrementInput: ({
|
|
8
|
+
value,
|
|
9
|
+
onPress,
|
|
10
|
+
maxValue,
|
|
11
|
+
}: IncrementInputProps) => React.JSX.Element;
|
|
8
12
|
export {};
|
|
@@ -1,35 +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
|
-
|
|
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
|
+
};
|
|
35
35
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type Orientation = 'horizontal' | 'vertical';
|
|
3
3
|
interface LineProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
color?: string;
|
|
5
|
+
thickness?: number;
|
|
6
|
+
orientation?: Orientation;
|
|
7
7
|
}
|
|
8
|
-
export declare const Line: ({
|
|
8
|
+
export declare const Line: ({
|
|
9
|
+
color,
|
|
10
|
+
thickness,
|
|
11
|
+
orientation,
|
|
12
|
+
}: LineProps) => React.JSX.Element;
|
|
9
13
|
export {};
|