@tactics/toddle-styleguide 2.0.3 → 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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type DepartmentLogoProps = {
|
|
3
|
-
|
|
3
|
+
department: string;
|
|
4
4
|
};
|
|
5
|
-
declare const DepartmentLogo: ({
|
|
6
|
-
|
|
5
|
+
declare const DepartmentLogo: ({
|
|
6
|
+
department,
|
|
7
|
+
}: DepartmentLogoProps) => React.JSX.Element;
|
|
8
|
+
export {DepartmentLogo as DepartmentLogo};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type FailedBubbleProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
onPressRefresh?: (id: string) => void;
|
|
6
|
+
onPressDelete?: (id: string) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const FailedTextBubble: ({
|
|
9
|
-
|
|
8
|
+
declare const FailedTextBubble: ({
|
|
9
|
+
id,
|
|
10
|
+
text,
|
|
11
|
+
onPressRefresh,
|
|
12
|
+
onPressDelete,
|
|
13
|
+
}: FailedBubbleProps) => React.JSX.Element;
|
|
14
|
+
export {FailedTextBubble};
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type FilterRangeProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
value: number | number[];
|
|
4
|
+
onChange: (value: number | number[]) => void;
|
|
5
|
+
minValue: number;
|
|
6
|
+
maxValue: number;
|
|
7
|
+
prefix?: string;
|
|
8
|
+
suffix?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const FilterRange: ({
|
|
10
|
+
export declare const FilterRange: ({
|
|
11
|
+
value,
|
|
12
|
+
minValue,
|
|
13
|
+
maxValue,
|
|
14
|
+
onChange,
|
|
15
|
+
prefix,
|
|
16
|
+
suffix,
|
|
17
|
+
}: FilterRangeProps) => React.JSX.Element;
|
|
11
18
|
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
-
|
|
2
|
+
container: {
|
|
3
|
+
width: '100%';
|
|
4
|
+
};
|
|
5
|
+
slider: {
|
|
6
|
+
marginLeft: number;
|
|
7
|
+
marginRight: number;
|
|
8
|
+
};
|
|
9
|
+
thumb: {
|
|
10
|
+
backgroundColor: any;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
track: {
|
|
15
|
+
height: number;
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
};
|
|
18
|
+
textContainer: {
|
|
19
|
+
flexDirection: 'row';
|
|
20
|
+
justifyContent: 'space-between';
|
|
21
|
+
};
|
|
22
22
|
};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type FilterTab = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
tabItem: {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}[];
|
|
7
|
+
setFilterValue: (value: string) => void;
|
|
8
|
+
setActivePage?: (index: number) => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const FilterTab: ({
|
|
10
|
+
export declare const FilterTab: ({
|
|
11
|
+
tabItem,
|
|
12
|
+
setFilterValue,
|
|
13
|
+
setActivePage,
|
|
14
|
+
}: FilterTab) => React.JSX.Element;
|
|
11
15
|
export {};
|
|
@@ -1,54 +1,59 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
export function Stylesheet(
|
|
2
|
+
Context: any,
|
|
3
|
+
inRow: any,
|
|
4
|
+
ElementWidth: any,
|
|
5
|
+
ItemWidth: any
|
|
6
|
+
): {
|
|
7
|
+
container: {
|
|
8
|
+
width: '100%';
|
|
9
|
+
display: 'flex';
|
|
10
|
+
paddingRight: number;
|
|
11
|
+
paddingLeft: number;
|
|
12
|
+
paddingTop: number;
|
|
13
|
+
paddingBottom: number;
|
|
14
|
+
borderRadius: number;
|
|
15
|
+
backgroundColor: any;
|
|
16
|
+
};
|
|
17
|
+
inner: {
|
|
18
|
+
display: 'flex';
|
|
19
|
+
width: '100%';
|
|
20
|
+
};
|
|
21
|
+
tabs: {
|
|
22
|
+
display: 'flex';
|
|
23
|
+
flexDirection: 'row' | 'column';
|
|
24
|
+
alignItems: 'center' | 'stretch';
|
|
25
|
+
width: '100%';
|
|
26
|
+
position: 'relative';
|
|
27
|
+
};
|
|
28
|
+
tab: {
|
|
29
|
+
width: any;
|
|
30
|
+
paddingRight: number;
|
|
31
|
+
paddingLeft: number;
|
|
32
|
+
paddingTop: number;
|
|
33
|
+
paddingBottom: number;
|
|
34
|
+
borderRadius: number;
|
|
35
|
+
alignItems: 'center';
|
|
36
|
+
backgroundColor: string;
|
|
37
|
+
};
|
|
38
|
+
slidingTab: {
|
|
39
|
+
width: any;
|
|
40
|
+
maxHeight: number;
|
|
41
|
+
marginTop: number;
|
|
42
|
+
paddingRight: number;
|
|
43
|
+
paddingLeft: number;
|
|
44
|
+
paddingTop: number;
|
|
45
|
+
paddingBottom: number;
|
|
46
|
+
borderRadius: number;
|
|
47
|
+
zIndex: number;
|
|
48
|
+
position: 'absolute';
|
|
49
|
+
backgroundColor: any;
|
|
50
|
+
};
|
|
51
|
+
textHidden: {
|
|
52
|
+
opacity: number;
|
|
53
|
+
};
|
|
54
|
+
text: {
|
|
55
|
+
width: '100%';
|
|
56
|
+
maxHeight: number;
|
|
57
|
+
overflow: 'hidden';
|
|
58
|
+
};
|
|
54
59
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type InfoProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
label?: string;
|
|
4
|
+
description: string;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const Info: ({
|
|
8
|
-
|
|
7
|
+
declare const Info: ({
|
|
8
|
+
label,
|
|
9
|
+
description,
|
|
10
|
+
active,
|
|
11
|
+
}: InfoProps) => React.JSX.Element;
|
|
12
|
+
export {Info as Info};
|
|
@@ -10,7 +10,7 @@ import {SmallText} from '../../atoms/paragraph-components';
|
|
|
10
10
|
type InfoProps = {
|
|
11
11
|
label?: string;
|
|
12
12
|
description: string;
|
|
13
|
-
active?: boolean
|
|
13
|
+
active?: boolean;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
const Info = ({label, description, active}: InfoProps) => {
|
|
@@ -19,10 +19,18 @@ const Info = ({label, description, active}: InfoProps) => {
|
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
21
|
<View style={styles.container}>
|
|
22
|
-
{label &&
|
|
23
|
-
{label}
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
{label && (
|
|
23
|
+
<Heading3 bold={true} addStyle={styles.label}>
|
|
24
|
+
{label}
|
|
25
|
+
</Heading3>
|
|
26
|
+
)}
|
|
27
|
+
<SmallText
|
|
28
|
+
textColor={
|
|
29
|
+
active !== undefined && active === false
|
|
30
|
+
? context.colors.ui.grey
|
|
31
|
+
: context.colors.ui.darkgrey
|
|
32
|
+
}
|
|
33
|
+
>
|
|
26
34
|
{description}
|
|
27
35
|
</SmallText>
|
|
28
36
|
</View>
|
|
@@ -18,12 +18,11 @@ export const InfoPreview = ({}: {}) => {
|
|
|
18
18
|
description={'Volg hier de dag van uw kinderen'}
|
|
19
19
|
/>
|
|
20
20
|
<Info
|
|
21
|
-
description={
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
active={false}
|
|
25
|
-
description={'Geen opmerking voor deze dag.'}
|
|
21
|
+
description={
|
|
22
|
+
'Luca was heel de dag wat flauw en voelde zich niet lekker. Mama is haar vroeger komen halen.'
|
|
23
|
+
}
|
|
26
24
|
/>
|
|
25
|
+
<Info active={false} description={'Geen opmerking voor deze dag.'} />
|
|
27
26
|
</View>
|
|
28
27
|
);
|
|
29
28
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export function Stylesheet(context: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
container: {
|
|
3
|
+
width: '100%';
|
|
4
|
+
backgroundColor: any;
|
|
5
|
+
borderRadius: number;
|
|
6
|
+
alignItems: 'flex-start';
|
|
7
|
+
justifyContent: 'flex-start';
|
|
8
|
+
paddingLeft: number;
|
|
9
|
+
paddingTop: number;
|
|
10
|
+
paddingRight: number;
|
|
11
|
+
paddingBottom: number;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
marginBottom: number;
|
|
15
|
+
};
|
|
16
16
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type InlineErrorProps = {
|
|
3
|
-
|
|
3
|
+
label: string;
|
|
4
4
|
};
|
|
5
|
-
declare const InlineError: ({
|
|
6
|
-
export {
|
|
5
|
+
declare const InlineError: ({label}: InlineErrorProps) => React.JSX.Element;
|
|
6
|
+
export {InlineError as InlineError};
|
|
@@ -5,7 +5,7 @@ import {ThemeCtx} from '../../../context/theme.context';
|
|
|
5
5
|
import {View} from 'react-native';
|
|
6
6
|
import {Stylesheet} from './inline-error.styles';
|
|
7
7
|
import {SmallText} from '../../atoms/paragraph-components';
|
|
8
|
-
import {
|
|
8
|
+
import {Icon} from '../../../icons';
|
|
9
9
|
|
|
10
10
|
type InlineErrorProps = {
|
|
11
11
|
label: string;
|
|
@@ -17,8 +17,15 @@ const InlineError = ({label}: InlineErrorProps) => {
|
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<View style={styles.container}>
|
|
20
|
-
<Icon
|
|
21
|
-
|
|
20
|
+
<Icon
|
|
21
|
+
name="exclamation-circle"
|
|
22
|
+
style="regular"
|
|
23
|
+
color={context.colors.ui.error.dark}
|
|
24
|
+
/>
|
|
25
|
+
<SmallText
|
|
26
|
+
addStyle={styles.label}
|
|
27
|
+
textColor={context.colors.ui.error.dark}
|
|
28
|
+
>
|
|
22
29
|
{label}
|
|
23
30
|
</SmallText>
|
|
24
31
|
</View>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {InlineError} from './inline-error.component';
|
|
3
3
|
const {View} = require('react-native');
|
|
4
4
|
|
|
5
5
|
export const InlineErrorPreview = ({}: {}) => {
|
|
@@ -13,7 +13,9 @@ export const InlineErrorPreview = ({}: {}) => {
|
|
|
13
13
|
}}
|
|
14
14
|
>
|
|
15
15
|
<InlineError
|
|
16
|
-
label={
|
|
16
|
+
label={
|
|
17
|
+
'Deze dag is reeds gefactureerd. U kan deze enkel nog aanpassen in de beheerssoftware.'
|
|
18
|
+
}
|
|
17
19
|
/>
|
|
18
20
|
</View>
|
|
19
21
|
);
|
|
@@ -1,18 +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
|
-
|
|
2
|
+
container: {
|
|
3
|
+
flexDirection: 'row';
|
|
4
|
+
gap: number;
|
|
5
|
+
width: '100%';
|
|
6
|
+
backgroundColor: any;
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
alignItems: 'center';
|
|
9
|
+
justifyContent: 'flex-start';
|
|
10
|
+
paddingLeft: number;
|
|
11
|
+
paddingTop: number;
|
|
12
|
+
paddingRight: number;
|
|
13
|
+
paddingBottom: number;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
flex: number;
|
|
17
|
+
};
|
|
18
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type InlineNoticeProps = {
|
|
3
|
-
|
|
3
|
+
label: string;
|
|
4
4
|
};
|
|
5
|
-
declare const InlineNotice: ({
|
|
6
|
-
export {
|
|
5
|
+
declare const InlineNotice: ({label}: InlineNoticeProps) => React.JSX.Element;
|
|
6
|
+
export {InlineNotice as InlineNotice};
|
|
@@ -5,23 +5,27 @@ import {ThemeCtx} from '../../../context/theme.context';
|
|
|
5
5
|
import {View} from 'react-native';
|
|
6
6
|
import {Stylesheet} from './inline-notice.styles';
|
|
7
7
|
import {SmallText} from '../../atoms/paragraph-components';
|
|
8
|
-
import {
|
|
8
|
+
import {Icon} from '../../../icons';
|
|
9
9
|
|
|
10
10
|
type InlineNoticeProps = {
|
|
11
|
-
|
|
11
|
+
label: string;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const InlineNotice = ({label}: InlineNoticeProps) => {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
const context = useContext(ThemeCtx);
|
|
16
|
+
const styles = Stylesheet(context);
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
return (
|
|
19
|
+
<View style={styles.container}>
|
|
20
|
+
<Icon
|
|
21
|
+
name="exclamation-circle"
|
|
22
|
+
style="regular"
|
|
23
|
+
color={context.colors.main[0]}
|
|
24
|
+
/>
|
|
25
|
+
<SmallText addStyle={styles.label} textColor={context.colors.main[0]}>
|
|
26
|
+
{label}
|
|
27
|
+
</SmallText>
|
|
28
|
+
</View>
|
|
29
|
+
);
|
|
26
30
|
};
|
|
27
31
|
export {InlineNotice as InlineNotice};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {InlineNotice} from './inline-notice.component';
|
|
3
3
|
const {View} = require('react-native');
|
|
4
4
|
|
|
5
5
|
export const InlineNoticePreview = ({}: {}) => {
|
|
@@ -13,7 +13,9 @@ export const InlineNoticePreview = ({}: {}) => {
|
|
|
13
13
|
}}
|
|
14
14
|
>
|
|
15
15
|
<InlineNotice
|
|
16
|
-
label={
|
|
16
|
+
label={
|
|
17
|
+
'Deze dag is reeds gefactureerd. U kan deze enkel nog aanpassen in de beheerssoftware.'
|
|
18
|
+
}
|
|
17
19
|
/>
|
|
18
20
|
</View>
|
|
19
21
|
);
|
|
@@ -1,18 +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
|
-
|
|
2
|
+
container: {
|
|
3
|
+
flexDirection: 'row';
|
|
4
|
+
gap: number;
|
|
5
|
+
width: '100%';
|
|
6
|
+
backgroundColor: any;
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
alignItems: 'center';
|
|
9
|
+
justifyContent: 'flex-start';
|
|
10
|
+
paddingLeft: number;
|
|
11
|
+
paddingTop: number;
|
|
12
|
+
paddingRight: number;
|
|
13
|
+
paddingBottom: number;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
flex: number;
|
|
17
|
+
};
|
|
18
18
|
};
|
|
@@ -2,21 +2,21 @@ import {StyleSheet} from 'react-native';
|
|
|
2
2
|
import {Scale} from '../../../theme/scale';
|
|
3
3
|
|
|
4
4
|
export const Stylesheet = (context) =>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
5
|
+
StyleSheet.create({
|
|
6
|
+
container: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
gap: Scale.m,
|
|
9
|
+
width: '100%',
|
|
10
|
+
backgroundColor: context.colors.main[9],
|
|
11
|
+
borderRadius: Scale.s,
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
justifyContent: 'flex-start',
|
|
14
|
+
paddingLeft: Scale.m,
|
|
15
|
+
paddingTop: Scale.m,
|
|
16
|
+
paddingRight: Scale.m,
|
|
17
|
+
paddingBottom: Scale.m,
|
|
18
|
+
},
|
|
19
|
+
label: {
|
|
20
|
+
flex: 1,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type LanguageButtonProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
onPress?: () => void;
|
|
5
|
+
textColor?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const LanguageButton: ({
|
|
7
|
+
export declare const LanguageButton: ({
|
|
8
|
+
label,
|
|
9
|
+
onPress,
|
|
10
|
+
textColor,
|
|
11
|
+
}: LanguageButtonProps) => React.JSX.Element;
|
|
8
12
|
export {};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {TextInputProps} from 'react-native';
|
|
3
|
+
import {KeyBoardTypes} from '../../../types/keyboard-types.enum';
|
|
4
4
|
interface MessageInputProps extends TextInputProps {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
keyboardType?: KeyBoardTypes;
|
|
6
|
+
onPressSend: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare const MessageInput: ({
|
|
9
|
-
|
|
8
|
+
declare const MessageInput: ({
|
|
9
|
+
keyboardType,
|
|
10
|
+
onPressSend,
|
|
11
|
+
...props
|
|
12
|
+
}: MessageInputProps) => React.JSX.Element;
|
|
13
|
+
export {MessageInput};
|