@tactics/toddle-styleguide 5.0.2 → 5.0.5
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/.prettierrc.js +9 -0
- package/.yarnrc.yml +2 -0
- package/App.d.ts +5 -0
- package/App.tsx +655 -0
- package/app.json +37 -0
- package/assets/adaptive-icon.png +0 -0
- package/assets/components/avatar/baby.png +0 -0
- package/assets/favicon.png +0 -0
- package/assets/fonts/montserrat/bold.ttf +0 -0
- package/assets/fonts/montserrat/regular.ttf +0 -0
- package/assets/fonts/source-sans-pro/bold.ttf +0 -0
- package/assets/fonts/source-sans-pro/regular.ttf +0 -0
- package/assets/icon.png +0 -0
- package/assets/lottie/wave-for-daycares.json +1197 -0
- package/assets/lottie/wave-for-parents.json +1 -0
- package/assets/splash.png +0 -0
- package/babel.config.js +20 -0
- package/index.d.ts +79 -0
- package/index.tsx +196 -0
- package/jest.config.js +26 -0
- package/metro.config.js +11 -0
- package/package.json +6 -16
- package/src/components/atoms/animated-wave/animated-wave.component.d.ts +2 -0
- package/src/components/atoms/animated-wave/animated-wave.component.tsx +28 -0
- package/src/components/atoms/animated-wave/animated-wave.preview.tsx +20 -0
- package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +21 -0
- package/src/components/atoms/animated-wave/animated-wave.styles.js +25 -0
- package/src/components/atoms/backdrop/backdrop.component.d.ts +7 -0
- package/src/components/atoms/backdrop/backdrop.component.tsx +48 -0
- package/src/components/atoms/backdrop/backdrop.styles.d.ts +11 -0
- package/src/components/atoms/backdrop/backdrop.styles.js +15 -0
- package/src/components/atoms/background-gradient/__snapshots__/background-gradient.test.js.snap +40 -0
- package/src/components/atoms/background-gradient/background-gradient.component.d.ts +2 -0
- package/src/components/atoms/background-gradient/background-gradient.component.tsx +19 -0
- package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +2 -0
- package/src/components/atoms/background-gradient/background-gradient.preview.tsx +77 -0
- package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +8 -0
- package/src/components/atoms/background-gradient/background-gradient.styles.js +11 -0
- package/src/components/atoms/background-gradient/background-gradient.test.js +10 -0
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +6817 -0
- package/src/components/atoms/calendar/calendar.component.d.ts +10 -0
- package/src/components/atoms/calendar/calendar.component.tsx +101 -0
- package/src/components/atoms/calendar/calendar.preview.d.ts +2 -0
- package/src/components/atoms/calendar/calendar.preview.tsx +39 -0
- package/src/components/atoms/calendar/calendar.styles.d.ts +81 -0
- package/src/components/atoms/calendar/calendar.styles.js +88 -0
- package/src/components/atoms/calendar/calendar.test.js +35 -0
- package/src/components/atoms/check-switch/__snapshots__/check-switch.test.js.snap +84 -0
- package/src/components/atoms/check-switch/check-switch.component.d.ts +7 -0
- package/src/components/atoms/check-switch/check-switch.component.tsx +48 -0
- package/src/components/atoms/check-switch/check-switch.preview.d.ts +2 -0
- package/src/components/atoms/check-switch/check-switch.preview.tsx +31 -0
- package/src/components/atoms/check-switch/check-switch.styles.d.ts +33 -0
- package/src/components/atoms/check-switch/check-switch.styles.js +36 -0
- package/src/components/atoms/check-switch/check-switch.test.js +13 -0
- package/src/components/atoms/count/count.component.d.ts +7 -0
- package/src/components/atoms/count/count.component.tsx +21 -0
- package/src/components/atoms/count/count.preview.d.ts +2 -0
- package/src/components/atoms/count/count.preview.tsx +16 -0
- package/src/components/atoms/count/count.styles.d.ts +24 -0
- package/src/components/atoms/count/count.styles.js +33 -0
- package/src/components/atoms/footer/footer.component.d.ts +6 -0
- package/src/components/atoms/footer/footer.component.tsx +28 -0
- package/src/components/atoms/footer/footer.preview.d.ts +2 -0
- package/src/components/atoms/footer/footer.preview.tsx +24 -0
- package/src/components/atoms/footer/footer.styles.d.ts +17 -0
- package/src/components/atoms/footer/footer.styles.js +18 -0
- package/src/components/atoms/heading-components/all-caps-heading/__snapshots__/all-caps-heading.test.js.snap +113 -0
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +3 -0
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.tsx +28 -0
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.test.js +44 -0
- package/src/components/atoms/heading-components/heading.styles.d.ts +48 -0
- package/src/components/atoms/heading-components/heading.styles.js +63 -0
- package/src/components/atoms/heading-components/heading1/__snapshots__/heading1.test.js.snap +121 -0
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +3 -0
- package/src/components/atoms/heading-components/heading1/heading1.component.tsx +28 -0
- package/src/components/atoms/heading-components/heading1/heading1.test.js +51 -0
- package/src/components/atoms/heading-components/heading2/__snapshots__/heading2.test.js.snap +121 -0
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +3 -0
- package/src/components/atoms/heading-components/heading2/heading2.component.tsx +28 -0
- package/src/components/atoms/heading-components/heading2/heading2.test.js +51 -0
- package/src/components/atoms/heading-components/heading3/__snapshots__/heading3.test.js.snap +121 -0
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +3 -0
- package/src/components/atoms/heading-components/heading3/heading3.component.tsx +28 -0
- package/src/components/atoms/heading-components/heading3/heading3.test.js +51 -0
- package/src/components/atoms/heading-components/heading4/__snapshots__/heading4.test.js.snap +121 -0
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +3 -0
- package/src/components/atoms/heading-components/heading4/heading4.component.tsx +28 -0
- package/src/components/atoms/heading-components/heading4/heading4.test.js +51 -0
- package/src/components/atoms/heading-components/headings.preview.d.ts +2 -0
- package/src/components/atoms/heading-components/headings.preview.tsx +86 -0
- package/src/components/atoms/heading-components/index.d.ts +6 -0
- package/src/components/atoms/heading-components/index.tsx +7 -0
- package/src/components/atoms/image-bubble/__snapshots__/image-bubble.test.js.snap +67 -0
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -0
- package/src/components/atoms/image-bubble/image-bubble.component.tsx +27 -0
- package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +2 -0
- package/src/components/atoms/image-bubble/image-bubble.preview.tsx +19 -0
- package/src/components/atoms/image-bubble/image-bubble.styles.d.ts +35 -0
- package/src/components/atoms/image-bubble/image-bubble.styles.js +31 -0
- package/src/components/atoms/image-bubble/image-bubble.test.js +20 -0
- package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +269 -0
- package/src/components/atoms/increment-input/increment-input.component.d.ts +8 -0
- package/src/components/atoms/increment-input/increment-input.component.tsx +63 -0
- package/src/components/atoms/increment-input/increment-input.preview.d.ts +2 -0
- package/src/components/atoms/increment-input/increment-input.preview.tsx +26 -0
- package/src/components/atoms/increment-input/increment-input.styles.d.ts +35 -0
- package/src/components/atoms/increment-input/increment-input.styles.js +39 -0
- package/src/components/atoms/increment-input/increment-input.test.js +14 -0
- package/src/components/atoms/line/line.component.d.ts +9 -0
- package/src/components/atoms/line/line.component.tsx +23 -0
- package/src/components/atoms/line/line.preview.d.ts +2 -0
- package/src/components/atoms/line/line.preview.tsx +55 -0
- package/src/components/atoms/line/line.styles.d.ts +12 -0
- package/src/components/atoms/line/line.styles.js +10 -0
- package/src/components/atoms/logo/__snapshots__/logo.test.js.snap +113 -0
- package/src/components/atoms/logo/logo.component.d.ts +7 -0
- package/src/components/atoms/logo/logo.component.tsx +39 -0
- package/src/components/atoms/logo/logo.preview.d.ts +2 -0
- package/src/components/atoms/logo/logo.preview.tsx +15 -0
- package/src/components/atoms/logo/logo.test.js +16 -0
- package/src/components/atoms/paragraph-components/index.d.ts +4 -0
- package/src/components/atoms/paragraph-components/index.tsx +5 -0
- package/src/components/atoms/paragraph-components/paragraph/__snapshots__/paragraph.test.js.snap +121 -0
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +3 -0
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.tsx +28 -0
- package/src/components/atoms/paragraph-components/paragraph/paragraph.test.js +76 -0
- package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +2 -0
- package/src/components/atoms/paragraph-components/paragraph-components.preview.tsx +94 -0
- package/src/components/atoms/paragraph-components/paragraph-text.styles.d.ts +30 -0
- package/src/components/atoms/paragraph-components/paragraph-text.styles.js +41 -0
- package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap +121 -0
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +3 -0
- package/src/components/atoms/paragraph-components/small-text/small-text.component.tsx +28 -0
- package/src/components/atoms/paragraph-components/small-text/small-text.test.js +76 -0
- package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap +121 -0
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +3 -0
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.tsx +28 -0
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.test.js +76 -0
- package/src/components/atoms/quick-message/__snapshots__/quick-message.test.js.snap +143 -0
- package/src/components/atoms/quick-message/quick-message.component.d.ts +9 -0
- package/src/components/atoms/quick-message/quick-message.component.tsx +35 -0
- package/src/components/atoms/quick-message/quick-message.preview.d.ts +2 -0
- package/src/components/atoms/quick-message/quick-message.preview.tsx +43 -0
- package/src/components/atoms/quick-message/quick-message.styles.d.ts +17 -0
- package/src/components/atoms/quick-message/quick-message.styles.js +20 -0
- package/src/components/atoms/quick-message/quick-message.test.js +58 -0
- package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +333 -0
- package/src/components/atoms/split-container/split-container.component.d.ts +7 -0
- package/src/components/atoms/split-container/split-container.component.tsx +27 -0
- package/src/components/atoms/split-container/split-container.preview.d.ts +2 -0
- package/src/components/atoms/split-container/split-container.preview.tsx +62 -0
- package/src/components/atoms/split-container/split-container.styles.d.ts +14 -0
- package/src/components/atoms/split-container/split-container.styles.js +19 -0
- package/src/components/atoms/split-container/split-container.test.js +45 -0
- package/src/components/atoms/static-wave/static-wave.component.d.ts +9 -0
- package/src/components/atoms/static-wave/static-wave.component.tsx +46 -0
- package/src/components/atoms/static-wave/static-wave.styles.d.ts +14 -0
- package/src/components/atoms/static-wave/static-wave.styles.js +14 -0
- package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +123 -0
- package/src/components/atoms/text-input/text-input.component.d.ts +9 -0
- package/src/components/atoms/text-input/text-input.component.tsx +30 -0
- package/src/components/atoms/text-input/text-input.preview.d.ts +2 -0
- package/src/components/atoms/text-input/text-input.preview.tsx +41 -0
- package/src/components/atoms/text-input/text-input.styles.d.ts +33 -0
- package/src/components/atoms/text-input/text-input.styles.js +29 -0
- package/src/components/atoms/text-input/text-input.test.js +59 -0
- package/src/components/molecules/amount/amount.component.d.ts +12 -0
- package/src/components/molecules/amount/amount.component.tsx +148 -0
- package/src/components/molecules/amount/amount.preview.d.ts +2 -0
- package/src/components/molecules/amount/amount.preview.tsx +77 -0
- package/src/components/molecules/amount/amount.styles.d.ts +36 -0
- package/src/components/molecules/amount/amount.styles.js +40 -0
- package/src/components/molecules/avatar/__snapshots__/avatar.test.js.snap +97 -0
- package/src/components/molecules/avatar/avatar.component.d.ts +15 -0
- package/src/components/molecules/avatar/avatar.component.tsx +118 -0
- package/src/components/molecules/avatar/avatar.preview.d.ts +2 -0
- package/src/components/molecules/avatar/avatar.preview.tsx +82 -0
- package/src/components/molecules/avatar/avatar.styles.d.ts +102 -0
- package/src/components/molecules/avatar/avatar.styles.js +90 -0
- package/src/components/molecules/avatar/avatar.test.js +22 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +9 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.native.tsx +78 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +52 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.preview.d.ts +2 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.preview.tsx +86 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +14 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +18 -0
- package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +107 -0
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +6 -0
- package/src/components/molecules/blocked-message/blocked-message.component.tsx +35 -0
- package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +2 -0
- package/src/components/molecules/blocked-message/blocked-message.preview.tsx +23 -0
- package/src/components/molecules/blocked-message/blocked-message.styles.d.ts +22 -0
- package/src/components/molecules/blocked-message/blocked-message.styles.js +21 -0
- package/src/components/molecules/blocked-message/blocked-message.test.js +12 -0
- package/src/components/molecules/button/__snapshots__/button.test.js.snap +652 -0
- package/src/components/molecules/button/button.component.d.ts +15 -0
- package/src/components/molecules/button/button.component.tsx +77 -0
- package/src/components/molecules/button/button.preview.d.ts +2 -0
- package/src/components/molecules/button/button.preview.tsx +57 -0
- package/src/components/molecules/button/button.styles.d.ts +18 -0
- package/src/components/molecules/button/button.styles.js +18 -0
- package/src/components/molecules/button/button.test.js +56 -0
- package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +343 -0
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +10 -0
- package/src/components/molecules/calendar-select/calendar-select.component.tsx +98 -0
- package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +2 -0
- package/src/components/molecules/calendar-select/calendar-select.preview.tsx +20 -0
- package/src/components/molecules/calendar-select/calendar-select.styles.d.ts +33 -0
- package/src/components/molecules/calendar-select/calendar-select.styles.js +37 -0
- package/src/components/molecules/calendar-select/calendar-select.test.js +20 -0
- package/src/components/molecules/cancel-link/__snapshots__/cancel-link.test.js.snap +139 -0
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +7 -0
- package/src/components/molecules/cancel-link/cancel-link.component.tsx +27 -0
- package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +2 -0
- package/src/components/molecules/cancel-link/cancel-link.preview.tsx +20 -0
- package/src/components/molecules/cancel-link/cancel-link.styles.d.ts +11 -0
- package/src/components/molecules/cancel-link/cancel-link.styles.js +15 -0
- package/src/components/molecules/cancel-link/cancel-link.test.js +28 -0
- package/src/components/molecules/checkbox/__snapshots__/checkbox.test.js.snap +176 -0
- package/src/components/molecules/checkbox/checkbox.component.d.ts +8 -0
- package/src/components/molecules/checkbox/checkbox.component.tsx +31 -0
- package/src/components/molecules/checkbox/checkbox.preview.d.ts +2 -0
- package/src/components/molecules/checkbox/checkbox.preview.tsx +46 -0
- package/src/components/molecules/checkbox/checkbox.styles.d.ts +32 -0
- package/src/components/molecules/checkbox/checkbox.styles.js +30 -0
- package/src/components/molecules/checkbox/checkbox.test.js +30 -0
- package/src/components/molecules/contact-role/__snapshots__/contact-role.test.js.snap +113 -0
- package/src/components/molecules/contact-role/contact-role.component.d.ts +8 -0
- package/src/components/molecules/contact-role/contact-role.component.tsx +37 -0
- package/src/components/molecules/contact-role/contact-role.preview.d.ts +2 -0
- package/src/components/molecules/contact-role/contact-role.preview.tsx +17 -0
- package/src/components/molecules/contact-role/contact-role.styles.d.ts +16 -0
- package/src/components/molecules/contact-role/contact-role.styles.js +20 -0
- package/src/components/molecules/contact-role/contact-role.test.js +18 -0
- package/src/components/molecules/context-label/context-label.component.d.ts +7 -0
- package/src/components/molecules/context-label/context-label.component.tsx +37 -0
- package/src/components/molecules/context-label/context-label.preview.d.ts +2 -0
- package/src/components/molecules/context-label/context-label.preview.tsx +70 -0
- package/src/components/molecules/context-label/context-label.styles.d.ts +18 -0
- package/src/components/molecules/context-label/context-label.styles.js +21 -0
- package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +140 -0
- package/src/components/molecules/date-input/date-input.component.d.ts +8 -0
- package/src/components/molecules/date-input/date-input.component.tsx +32 -0
- package/src/components/molecules/date-input/date-input.preview.d.ts +2 -0
- package/src/components/molecules/date-input/date-input.preview.tsx +62 -0
- package/src/components/molecules/date-input/date-input.styles.d.ts +18 -0
- package/src/components/molecules/date-input/date-input.styles.js +22 -0
- package/src/components/molecules/date-input/date-input.test.js +23 -0
- package/src/components/molecules/day/__snapshots__/day.test.js.snap +263 -0
- package/src/components/molecules/day/day.component.d.ts +13 -0
- package/src/components/molecules/day/day.component.tsx +69 -0
- package/src/components/molecules/day/day.styles.d.ts +35 -0
- package/src/components/molecules/day/day.styles.js +27 -0
- package/src/components/molecules/day/day.test.js +37 -0
- package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +140 -0
- package/src/components/molecules/default-select/default-select.component.d.ts +7 -0
- package/src/components/molecules/default-select/default-select.component.tsx +42 -0
- package/src/components/molecules/default-select/default-select.preview.d.ts +2 -0
- package/src/components/molecules/default-select/default-select.preview.tsx +34 -0
- package/src/components/molecules/default-select/default-select.styles.d.ts +13 -0
- package/src/components/molecules/default-select/default-select.styles.js +17 -0
- package/src/components/molecules/default-select/default-select.test.js +17 -0
- package/src/components/molecules/department_logo/__snapshots__/department-logo.test.js.snap +27 -0
- package/src/components/molecules/department_logo/department-logo.component.d.ts +6 -0
- package/src/components/molecules/department_logo/department-logo.component.tsx +21 -0
- package/src/components/molecules/department_logo/department-logo.preview.d.ts +2 -0
- package/src/components/molecules/department_logo/department-logo.preview.tsx +11 -0
- package/src/components/molecules/department_logo/department-logo.styles.d.ts +5 -0
- package/src/components/molecules/department_logo/department-logo.styles.js +9 -0
- package/src/components/molecules/department_logo/department-logo.test.js +12 -0
- package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +386 -0
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +9 -0
- package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +101 -0
- package/src/components/molecules/failed-to-send/failed-bubble.styles.d.ts +38 -0
- package/src/components/molecules/failed-to-send/failed-bubble.styles.js +42 -0
- package/src/components/molecules/failed-to-send/failed-bubble.test.js +75 -0
- package/src/components/molecules/filter-range/__snapshots__/filter-range.test.js.snap +208 -0
- package/src/components/molecules/filter-range/filter-range.component.d.ts +11 -0
- package/src/components/molecules/filter-range/filter-range.component.tsx +72 -0
- package/src/components/molecules/filter-range/filter-range.preview.d.ts +2 -0
- package/src/components/molecules/filter-range/filter-range.preview.tsx +26 -0
- package/src/components/molecules/filter-range/filter-range.styles.d.ts +22 -0
- package/src/components/molecules/filter-range/filter-range.styles.js +26 -0
- package/src/components/molecules/filter-range/filter-range.test.js +20 -0
- package/src/components/molecules/filter-tab/__snapshots__/filter-tab.test.js.snap +536 -0
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +11 -0
- package/src/components/molecules/filter-tab/filter-tab.component.tsx +108 -0
- package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +2 -0
- package/src/components/molecules/filter-tab/filter-tab.preview.tsx +80 -0
- package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +59 -0
- package/src/components/molecules/filter-tab/filter-tab.styles.js +58 -0
- package/src/components/molecules/filter-tab/filter-tab.test.js +42 -0
- package/src/components/molecules/info/__snapshots__/info.test.js.snap +64 -0
- package/src/components/molecules/info/info.component.d.ts +8 -0
- package/src/components/molecules/info/info.component.tsx +39 -0
- package/src/components/molecules/info/info.preview.d.ts +2 -0
- package/src/components/molecules/info/info.preview.tsx +28 -0
- package/src/components/molecules/info/info.styles.d.ts +16 -0
- package/src/components/molecules/info/info.styles.js +20 -0
- package/src/components/molecules/info/info.test.js +18 -0
- package/src/components/molecules/inline-error/inline-error.component.d.ts +6 -0
- package/src/components/molecules/inline-error/inline-error.component.tsx +34 -0
- package/src/components/molecules/inline-error/inline-error.preview.d.ts +2 -0
- package/src/components/molecules/inline-error/inline-error.preview.tsx +22 -0
- package/src/components/molecules/inline-error/inline-error.styles.d.ts +18 -0
- package/src/components/molecules/inline-error/inline-error.styles.js +22 -0
- package/src/components/molecules/inline-notice/inline-notice.component.d.ts +6 -0
- package/src/components/molecules/inline-notice/inline-notice.component.tsx +31 -0
- package/src/components/molecules/inline-notice/inline-notice.preview.tsx +22 -0
- package/src/components/molecules/inline-notice/inline-notice.styles.d.ts +18 -0
- package/src/components/molecules/inline-notice/inline-notice.styles.js +22 -0
- package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +129 -0
- package/src/components/molecules/language-button/language-button.component.d.ts +8 -0
- package/src/components/molecules/language-button/language-button.component.tsx +33 -0
- package/src/components/molecules/language-button/language-button.preview.d.ts +2 -0
- package/src/components/molecules/language-button/language-button.preview.tsx +29 -0
- package/src/components/molecules/language-button/language-button.styles.d.ts +8 -0
- package/src/components/molecules/language-button/language-button.styles.js +12 -0
- package/src/components/molecules/language-button/language-button.test.js +29 -0
- package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +611 -0
- package/src/components/molecules/message-input/message-input.component.d.ts +9 -0
- package/src/components/molecules/message-input/message-input.component.tsx +54 -0
- package/src/components/molecules/message-input/message-input.preview.d.ts +2 -0
- package/src/components/molecules/message-input/message-input.preview.tsx +54 -0
- package/src/components/molecules/message-input/message-input.styles.d.ts +33 -0
- package/src/components/molecules/message-input/message-input.styles.js +37 -0
- package/src/components/molecules/message-input/message-input.test.js +63 -0
- package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +133 -0
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +8 -0
- package/src/components/molecules/more-info-button/more-info-button.component.tsx +33 -0
- package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +2 -0
- package/src/components/molecules/more-info-button/more-info-button.preview.tsx +29 -0
- package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +10 -0
- package/src/components/molecules/more-info-button/more-info-button.styles.js +15 -0
- package/src/components/molecules/more-info-button/more-info-button.test.js +29 -0
- package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +504 -0
- package/src/components/molecules/password-input/password-input.component.d.ts +8 -0
- package/src/components/molecules/password-input/password-input.component.tsx +55 -0
- package/src/components/molecules/password-input/password-input.preview.d.ts +2 -0
- package/src/components/molecules/password-input/password-input.preview.tsx +59 -0
- package/src/components/molecules/password-input/password-input.styles.d.ts +29 -0
- package/src/components/molecules/password-input/password-input.styles.js +33 -0
- package/src/components/molecules/password-input/password-input.test.js +46 -0
- package/src/components/molecules/pill/__snapshots__/pill.test.js.snap +226 -0
- package/src/components/molecules/pill/pill.component.d.ts +8 -0
- package/src/components/molecules/pill/pill.component.tsx +33 -0
- package/src/components/molecules/pill/pill.preview.d.ts +2 -0
- package/src/components/molecules/pill/pill.preview.tsx +23 -0
- package/src/components/molecules/pill/pill.styles.d.ts +32 -0
- package/src/components/molecules/pill/pill.styles.js +33 -0
- package/src/components/molecules/pill/pill.test.js +42 -0
- package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +460 -0
- package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +9 -0
- package/src/components/molecules/pressable-icon/pressable-icon.component.tsx +50 -0
- package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +2 -0
- package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +37 -0
- package/src/components/molecules/pressable-icon/pressable-icon.styles.d.ts +20 -0
- package/src/components/molecules/pressable-icon/pressable-icon.styles.js +25 -0
- package/src/components/molecules/pressable-icon/pressable-icon.test.js +51 -0
- package/src/components/molecules/quick-filter/__snapshots__/quick-filter.test.js.snap +557 -0
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +12 -0
- package/src/components/molecules/quick-filter/quick-filter.component.tsx +50 -0
- package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +2 -0
- package/src/components/molecules/quick-filter/quick-filter.preview.tsx +57 -0
- package/src/components/molecules/quick-filter/quick-filter.styles.d.ts +35 -0
- package/src/components/molecules/quick-filter/quick-filter.styles.js +49 -0
- package/src/components/molecules/quick-filter/quick-filter.test.js +134 -0
- package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +145 -0
- package/src/components/molecules/search-input/search.component.d.ts +10 -0
- package/src/components/molecules/search-input/search.component.tsx +50 -0
- package/src/components/molecules/search-input/search.preview.d.ts +2 -0
- package/src/components/molecules/search-input/search.preview.tsx +26 -0
- package/src/components/molecules/search-input/search.styles.d.ts +33 -0
- package/src/components/molecules/search-input/search.styles.js +38 -0
- package/src/components/molecules/search-input/search.test.js +22 -0
- package/src/components/molecules/select-link/__snapshots__/select-link.test.js.snap +70 -0
- package/src/components/molecules/select-link/select-link.component.d.ts +7 -0
- package/src/components/molecules/select-link/select-link.component.tsx +29 -0
- package/src/components/molecules/select-link/select-link.preview.d.ts +2 -0
- package/src/components/molecules/select-link/select-link.preview.tsx +20 -0
- package/src/components/molecules/select-link/select-link.styles.d.ts +11 -0
- package/src/components/molecules/select-link/select-link.styles.js +15 -0
- package/src/components/molecules/select-link/select-link.test.js +17 -0
- package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +762 -0
- package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +2 -0
- package/src/components/molecules/select-list-item/select-list-item-preview.tsx +40 -0
- package/src/components/molecules/select-list-item/select-list-item.component.d.ts +12 -0
- package/src/components/molecules/select-list-item/select-list-item.component.tsx +82 -0
- package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +41 -0
- package/src/components/molecules/select-list-item/select-list-item.styles.js +43 -0
- package/src/components/molecules/select-list-item/select-list-item.test.js +38 -0
- package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +407 -0
- package/src/components/molecules/select-picker/select-picker.component.d.ts +12 -0
- package/src/components/molecules/select-picker/select-picker.component.tsx +75 -0
- package/src/components/molecules/select-picker/select-picker.preview.d.ts +2 -0
- package/src/components/molecules/select-picker/select-picker.preview.tsx +63 -0
- package/src/components/molecules/select-picker/select-picker.styles.d.ts +32 -0
- package/src/components/molecules/select-picker/select-picker.styles.js +38 -0
- package/src/components/molecules/select-picker/select-picker.test.js +31 -0
- package/src/components/molecules/selectable-list-item/selectable-list-item-preview.d.ts +2 -0
- package/src/components/molecules/selectable-list-item/selectable-list-item-preview.tsx +51 -0
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +11 -0
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +73 -0
- package/src/components/molecules/selectable-list-item/selectable-list-item.styles.d.ts +32 -0
- package/src/components/molecules/selectable-list-item/selectable-list-item.styles.js +34 -0
- package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +1979 -0
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +11 -0
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +104 -0
- package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +60 -0
- package/src/components/molecules/send-bubble/send-text-bubble.styles.js +50 -0
- package/src/components/molecules/send-bubble/send-text-bubble.test.js +156 -0
- package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +557 -0
- package/src/components/molecules/snackbar/snackbar.component.d.ts +8 -0
- package/src/components/molecules/snackbar/snackbar.component.tsx +65 -0
- package/src/components/molecules/snackbar/snackbar.preview.d.ts +2 -0
- package/src/components/molecules/snackbar/snackbar.preview.tsx +40 -0
- package/src/components/molecules/snackbar/snackbar.styles.d.ts +57 -0
- package/src/components/molecules/snackbar/snackbar.styles.js +54 -0
- package/src/components/molecules/snackbar/snackbar.test.js +35 -0
- package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +340 -0
- package/src/components/molecules/swipe/swipe.component.d.ts +7 -0
- package/src/components/molecules/swipe/swipe.component.native.tsx +78 -0
- package/src/components/molecules/swipe/swipe.component.tsx +20 -0
- package/src/components/molecules/swipe/swipe.preview.d.ts +2 -0
- package/src/components/molecules/swipe/swipe.preview.tsx +123 -0
- package/src/components/molecules/swipe/swipe.styles.d.ts +28 -0
- package/src/components/molecules/swipe/swipe.styles.js +32 -0
- package/src/components/molecules/swipe/swipe.test.js +46 -0
- package/src/components/molecules/swipeable/swipeable-action.component.d.ts +10 -0
- package/src/components/molecules/swipeable/swipeable-action.component.tsx +57 -0
- package/src/components/molecules/swipeable/swipeable-action.styles.d.ts +12 -0
- package/src/components/molecules/swipeable/swipeable-action.styles.js +20 -0
- package/src/components/molecules/swipeable/swipeable-container.component.d.ts +14 -0
- package/src/components/molecules/swipeable/swipeable-container.component.tsx +69 -0
- package/src/components/molecules/swipeable/swipeable-container.styles.d.ts +9 -0
- package/src/components/molecules/swipeable/swipeable-container.styles.js +14 -0
- package/src/components/molecules/tag/__snapshots__/tag.test.js.snap +139 -0
- package/src/components/molecules/tag/tag.component.d.ts +9 -0
- package/src/components/molecules/tag/tag.component.tsx +39 -0
- package/src/components/molecules/tag/tag.preview.d.ts +2 -0
- package/src/components/molecules/tag/tag.preview.tsx +85 -0
- package/src/components/molecules/tag/tag.styles.d.ts +19 -0
- package/src/components/molecules/tag/tag.styles.js +19 -0
- package/src/components/molecules/tag/tag.test.js +34 -0
- package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +2221 -0
- package/src/components/molecules/time-picker/time-picker.component.d.ts +9 -0
- package/src/components/molecules/time-picker/time-picker.component.tsx +98 -0
- package/src/components/molecules/time-picker/time-picker.preview.d.ts +2 -0
- package/src/components/molecules/time-picker/time-picker.preview.tsx +109 -0
- package/src/components/molecules/time-picker/time-picker.styles.d.ts +27 -0
- package/src/components/molecules/time-picker/time-picker.styles.js +31 -0
- package/src/components/molecules/time-picker/time-picker.test.js +18 -0
- package/src/components/molecules/time-tracker/__snapshots__/time-tracker.test.js.snap +266 -0
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +9 -0
- package/src/components/molecules/time-tracker/time-tracker.component.tsx +30 -0
- package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +2 -0
- package/src/components/molecules/time-tracker/time-tracker.preview.tsx +15 -0
- package/src/components/molecules/time-tracker/time-tracker.styles.d.ts +33 -0
- package/src/components/molecules/time-tracker/time-tracker.styles.js +32 -0
- package/src/components/molecules/time-tracker/time-tracker.test.js +36 -0
- package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +257 -0
- package/src/components/molecules/timeline/timeline.component.d.ts +7 -0
- package/src/components/molecules/timeline/timeline.component.tsx +69 -0
- package/src/components/molecules/timeline/timeline.preview.d.ts +2 -0
- package/src/components/molecules/timeline/timeline.preview.tsx +32 -0
- package/src/components/molecules/timeline/timeline.styles.d.ts +61 -0
- package/src/components/molecules/timeline/timeline.styles.js +46 -0
- package/src/components/molecules/timeline/timeline.test.js +18 -0
- package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +28 -0
- package/src/components/molecules/timestamp/timestamp.component.d.ts +8 -0
- package/src/components/molecules/timestamp/timestamp.component.tsx +30 -0
- package/src/components/molecules/timestamp/timestamp.styles.d.ts +5 -0
- package/src/components/molecules/timestamp/timestamp.styles.js +8 -0
- package/src/components/molecules/timestamp/timestamp.test.js +16 -0
- package/src/components/molecules/wave-background/__snapshots__/wave.test.js.snap +173 -0
- package/src/components/molecules/wave-background/wave.component.d.ts +3 -0
- package/src/components/molecules/wave-background/wave.component.tsx +35 -0
- package/src/components/molecules/wave-background/wave.preview.d.ts +2 -0
- package/src/components/molecules/wave-background/wave.preview.tsx +78 -0
- package/src/components/molecules/wave-background/wave.styles.d.ts +13 -0
- package/src/components/molecules/wave-background/wave.styles.js +13 -0
- package/src/components/molecules/wave-background/wave.test.js +25 -0
- package/src/components/molecules/wide-button/__snapshots__/wide-button.test.js.snap +269 -0
- package/src/components/molecules/wide-button/wide-button.component.d.ts +9 -0
- package/src/components/molecules/wide-button/wide-button.component.tsx +39 -0
- package/src/components/molecules/wide-button/wide-button.preview.d.ts +2 -0
- package/src/components/molecules/wide-button/wide-button.preview.tsx +28 -0
- package/src/components/molecules/wide-button/wide-button.styles.d.ts +15 -0
- package/src/components/molecules/wide-button/wide-button.styles.js +19 -0
- package/src/components/molecules/wide-button/wide-button.test.js +30 -0
- package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +1040 -0
- package/src/components/organisms/child-list-item/child-list-item.component.d.ts +23 -0
- package/src/components/organisms/child-list-item/child-list-item.component.tsx +166 -0
- package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +2 -0
- package/src/components/organisms/child-list-item/child-list-item.preview.tsx +141 -0
- package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +57 -0
- package/src/components/organisms/child-list-item/child-list-item.styles.js +61 -0
- package/src/components/organisms/child-list-item/child-list-item.test.js +75 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +7 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.component.tsx +28 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.d.ts +13 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.js +16 -0
- package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +404 -0
- package/src/components/organisms/contact-item/contact-item.component.d.ts +10 -0
- package/src/components/organisms/contact-item/contact-item.component.tsx +85 -0
- package/src/components/organisms/contact-item/contact-item.preview.d.ts +2 -0
- package/src/components/organisms/contact-item/contact-item.preview.tsx +38 -0
- package/src/components/organisms/contact-item/contact-item.styles.d.ts +22 -0
- package/src/components/organisms/contact-item/contact-item.styles.js +27 -0
- package/src/components/organisms/contact-item/contact-item.test.js +22 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +7 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.tsx +96 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.d.ts +13 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.js +17 -0
- package/src/components/organisms/journal-entry/components/index.d.ts +2 -0
- package/src/components/organisms/journal-entry/components/index.ts +2 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +11 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +63 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.d.ts +13 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.js +16 -0
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +20 -0
- package/src/components/organisms/journal-entry/journal-entry.component.tsx +134 -0
- package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +2 -0
- package/src/components/organisms/journal-entry/journal-entry.preview.tsx +214 -0
- package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +26 -0
- package/src/components/organisms/journal-entry/journal-entry.styles.js +27 -0
- package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +474 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.ts +164 -0
- package/src/components/organisms/loading-indicator/container.component.d.ts +1 -0
- package/src/components/organisms/loading-indicator/container.component.tsx +65 -0
- package/src/components/organisms/loading-indicator/dot.component.d.ts +6 -0
- package/src/components/organisms/loading-indicator/dot.component.tsx +27 -0
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -0
- package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +21 -0
- package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +2 -0
- package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +100 -0
- package/src/components/organisms/loading-indicator/loading-indicator.test.js +41 -0
- package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +293 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +13 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +61 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +2 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +51 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +33 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +37 -0
- package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +23 -0
- package/src/components/organisms/person-info-card/__snapshots__/person-info-card.test.js.snap +709 -0
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +15 -0
- package/src/components/organisms/person-info-card/person-info-card.component.tsx +45 -0
- package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +2 -0
- package/src/components/organisms/person-info-card/person-info-card.preview.tsx +75 -0
- package/src/components/organisms/person-info-card/person-info-card.styles.d.ts +6 -0
- package/src/components/organisms/person-info-card/person-info-card.styles.js +10 -0
- package/src/components/organisms/person-info-card/person-info-card.test.js +85 -0
- package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +3046 -0
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +15 -0
- package/src/components/organisms/text-bubble/text-bubble.component.tsx +71 -0
- package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +2 -0
- package/src/components/organisms/text-bubble/text-bubble.preview.tsx +85 -0
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +16 -0
- package/src/components/organisms/text-bubble/text-bubble.styles.js +20 -0
- package/src/components/organisms/text-bubble/text-bubble.test.js +144 -0
- package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +17 -0
- package/src/components/organisms/timetable-edit/timetable-edit.component.tsx +97 -0
- package/src/components/organisms/timetable-edit/timetable-edit.preview.d.ts +2 -0
- package/src/components/organisms/timetable-edit/timetable-edit.preview.tsx +84 -0
- package/src/components/organisms/timetable-edit/timetable-edit.styles.d.ts +21 -0
- package/src/components/organisms/timetable-edit/timetable-edit.styles.js +25 -0
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +12 -0
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.tsx +70 -0
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +8 -0
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.tsx +72 -0
- package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +8 -0
- package/src/components/organisms/timetable-editor/timetable-editor.component.tsx +84 -0
- package/src/components/organisms/timetable-editor/timetable-editor.preview.d.ts +2 -0
- package/src/components/organisms/timetable-editor/timetable-editor.preview.tsx +53 -0
- package/src/components/organisms/timetable-editor/timetable-editor.styles.d.ts +8 -0
- package/src/components/organisms/timetable-editor/timetable-editor.styles.js +12 -0
- package/src/components/templates/modal/components/fade-panel.component.d.ts +11 -0
- package/src/components/templates/modal/components/fade-panel.component.tsx +53 -0
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +18 -0
- package/src/components/templates/modal/components/fade-panel.styles.js +19 -0
- package/src/components/templates/modal/modal-preview.styles.d.ts +13 -0
- package/src/components/templates/modal/modal-preview.styles.js +17 -0
- package/src/components/templates/modal/modal.component.d.ts +10 -0
- package/src/components/templates/modal/modal.component.tsx +53 -0
- package/src/components/templates/modal/modal.preview.d.ts +2 -0
- package/src/components/templates/modal/modal.preview.tsx +48 -0
- package/src/components/templates/modal/modal.styles.d.ts +23 -0
- package/src/components/templates/modal/modal.styles.js +28 -0
- package/src/components/templates/popover/components/foreground/foreground.component.d.ts +7 -0
- package/src/components/templates/popover/components/foreground/foreground.component.tsx +15 -0
- package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +12 -0
- package/src/components/templates/popover/components/foreground/foreground.styles.js +17 -0
- package/src/components/templates/popover/components/index.d.ts +4 -0
- package/src/components/templates/popover/components/index.js +5 -0
- package/src/components/templates/popover/components/modal/close/close.component.d.ts +7 -0
- package/src/components/templates/popover/components/modal/close/close.component.tsx +28 -0
- package/src/components/templates/popover/components/modal/close/close.styles.d.ts +10 -0
- package/src/components/templates/popover/components/modal/close/close.styles.js +16 -0
- package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +7 -0
- package/src/components/templates/popover/components/modal/heading/heading.component.tsx +35 -0
- package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +14 -0
- package/src/components/templates/popover/components/modal/heading/heading.styles.js +19 -0
- package/src/components/templates/popover/components/modal/modal.component.d.ts +12 -0
- package/src/components/templates/popover/components/modal/modal.component.tsx +92 -0
- package/src/components/templates/popover/components/modal/modal.styles.d.ts +19 -0
- package/src/components/templates/popover/components/modal/modal.styles.js +24 -0
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +6 -0
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.tsx +20 -0
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.d.ts +6 -0
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.js +10 -0
- package/src/components/templates/popover/popover.component.d.ts +11 -0
- package/src/components/templates/popover/popover.component.tsx +67 -0
- package/src/components/templates/popover/popover.preview.d.ts +2 -0
- package/src/components/templates/popover/popover.preview.tsx +99 -0
- package/src/components/templates/popover/popover.styles.d.ts +11 -0
- package/src/components/templates/popover/popover.styles.js +15 -0
- package/src/components/templates/popover-action/popover-action.component.d.ts +12 -0
- package/src/components/templates/popover-action/popover-action.component.tsx +127 -0
- package/src/components/templates/popover-action/popover-action.preview.d.ts +2 -0
- package/src/components/templates/popover-action/popover-action.preview.tsx +142 -0
- package/src/components/templates/popover-action/popover-action.styles.d.ts +28 -0
- package/src/components/templates/popover-action/popover-action.styles.js +33 -0
- package/src/context/loading-dots.context.d.ts +8 -0
- package/src/context/loading-dots.context.tsx +33 -0
- package/src/context/theme.context.d.ts +74 -0
- package/src/context/theme.context.ts +77 -0
- package/src/gradients/main/main.gradient.d.ts +6 -0
- package/src/gradients/main/main.gradient.tsx +29 -0
- package/src/gradients/main/main.styles.d.ts +9 -0
- package/src/gradients/main/main.styles.js +11 -0
- package/src/hooks/use-debounce.d.ts +1 -0
- package/src/hooks/use-debounce.ts +15 -0
- package/src/icons/__snapshots__/icons.test.js.snap +3152 -0
- package/src/icons/crown.icon.d.ts +2 -0
- package/src/icons/crown.icon.tsx +29 -0
- package/src/icons/icons.test.js +328 -0
- package/src/icons/index.d.ts +3 -0
- package/src/icons/index.tsx +16 -0
- package/src/icons/outline/calendar/calendar.icon.d.ts +3 -0
- package/src/icons/outline/calendar/calendar.icon.tsx +24 -0
- package/src/icons/outline/chat/chat.icon.d.ts +3 -0
- package/src/icons/outline/chat/chat.icon.tsx +24 -0
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +3 -0
- package/src/icons/outline/chat-alt/chat-alt.icon.tsx +24 -0
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +3 -0
- package/src/icons/outline/check-circle/check-circle.icon.tsx +24 -0
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +3 -0
- package/src/icons/outline/chevron-left/chevron-left.icon.tsx +24 -0
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +3 -0
- package/src/icons/outline/chevron-right/chevron-right.icon.tsx +24 -0
- package/src/icons/outline/clock/clock.icon.d.ts +3 -0
- package/src/icons/outline/clock/clock.icon.tsx +24 -0
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +3 -0
- package/src/icons/outline/cloud-download/cloud-download.icon.tsx +24 -0
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +3 -0
- package/src/icons/outline/currency-euro/currency-euro.icon.tsx +24 -0
- package/src/icons/outline/document-text/document-text.icon.d.ts +3 -0
- package/src/icons/outline/document-text/document-text.icon.tsx +21 -0
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +3 -0
- package/src/icons/outline/exclamation/exclamation.icon.tsx +21 -0
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +3 -0
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +24 -0
- package/src/icons/outline/eye/eye.icon.d.ts +3 -0
- package/src/icons/outline/eye/eye.icon.tsx +28 -0
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +3 -0
- package/src/icons/outline/eye-off/eye-off.icon.tsx +21 -0
- package/src/icons/outline/filter/filter.icon.d.ts +3 -0
- package/src/icons/outline/filter/filter.icon.tsx +22 -0
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +3 -0
- package/src/icons/outline/information-circle/information-circle.icon.tsx +24 -0
- package/src/icons/outline/logout/logout.icon.d.ts +3 -0
- package/src/icons/outline/logout/logout.icon.tsx +27 -0
- package/src/icons/outline/mail/mail.icon.d.ts +3 -0
- package/src/icons/outline/mail/mail.icon.tsx +24 -0
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +3 -0
- package/src/icons/outline/mail-open/mail-open.icon.tsx +24 -0
- package/src/icons/outline/menu/menu.icon.d.ts +3 -0
- package/src/icons/outline/menu/menu.icon.tsx +24 -0
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +3 -0
- package/src/icons/outline/minus-sm/minus-sm.icon.tsx +24 -0
- package/src/icons/outline/office-building/office-building.icon.d.ts +3 -0
- package/src/icons/outline/office-building/office-building.icon.tsx +24 -0
- package/src/icons/outline/outline-default.preview.d.ts +2 -0
- package/src/icons/outline/outline-default.preview.tsx +115 -0
- package/src/icons/outline/outline-grey.preview.d.ts +2 -0
- package/src/icons/outline/outline-grey.preview.tsx +117 -0
- package/src/icons/outline/outline-white.preview.d.ts +2 -0
- package/src/icons/outline/outline-white.preview.tsx +121 -0
- package/src/icons/outline/outline.d.ts +2 -0
- package/src/icons/outline/outline.tsx +146 -0
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +3 -0
- package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +30 -0
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +3 -0
- package/src/icons/outline/paperclip/paperclip.icon.tsx +24 -0
- package/src/icons/outline/pencil/pencil.icon.d.ts +3 -0
- package/src/icons/outline/pencil/pencil.icon.tsx +24 -0
- package/src/icons/outline/phone/phone.icon.d.ts +3 -0
- package/src/icons/outline/phone/phone.icon.tsx +24 -0
- package/src/icons/outline/photograph/photograph.icon.d.ts +3 -0
- package/src/icons/outline/photograph/photograph.icon.tsx +24 -0
- package/src/icons/outline/plus/plus.icon.d.ts +3 -0
- package/src/icons/outline/plus/plus.icon.tsx +24 -0
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +3 -0
- package/src/icons/outline/plus-sm/plus-sm.icon.tsx +21 -0
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +3 -0
- package/src/icons/outline/qrcode/qrcode.icon.tsx +18 -0
- package/src/icons/outline/refresh/refresh.icon.d.ts +3 -0
- package/src/icons/outline/refresh/refresh.icon.tsx +24 -0
- package/src/icons/outline/search/search.icon.d.ts +3 -0
- package/src/icons/outline/search/search.icon.tsx +24 -0
- package/src/icons/outline/selector/selector.icon.d.ts +3 -0
- package/src/icons/outline/selector/selector.icon.tsx +24 -0
- package/src/icons/outline/share/share.icon.d.ts +3 -0
- package/src/icons/outline/share/share.icon.tsx +24 -0
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -0
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +24 -0
- package/src/icons/outline/status-online/status-online.icon.d.ts +3 -0
- package/src/icons/outline/status-online/status-online.icon.tsx +24 -0
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +3 -0
- package/src/icons/outline/thumb-up/thumb-up.icon.tsx +24 -0
- package/src/icons/outline/trash/trash.icon.d.ts +3 -0
- package/src/icons/outline/trash/trash.icon.tsx +24 -0
- package/src/icons/outline/user/user.icon.d.ts +3 -0
- package/src/icons/outline/user/user.icon.tsx +33 -0
- package/src/icons/outline/user-group/user-group.icon.d.ts +3 -0
- package/src/icons/outline/user-group/user-group.icon.tsx +24 -0
- package/src/icons/outline/users/users.icon.d.ts +3 -0
- package/src/icons/outline/users/users.icon.tsx +24 -0
- package/src/icons/outline/xmark/xmark.icon.d.ts +3 -0
- package/src/icons/outline/xmark/xmark.icon.tsx +24 -0
- package/src/icons/solid/calendar/calendar.icon.d.ts +3 -0
- package/src/icons/solid/calendar/calendar.icon.tsx +21 -0
- package/src/icons/solid/chat/chat.icon.d.ts +3 -0
- package/src/icons/solid/chat/chat.icon.tsx +21 -0
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +3 -0
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +21 -0
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +3 -0
- package/src/icons/solid/check-circle/check-circle.icon.tsx +21 -0
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +3 -0
- package/src/icons/solid/chevron-left/chevron-left.icon.tsx +21 -0
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +3 -0
- package/src/icons/solid/chevron-right/chevron-right.icon.tsx +21 -0
- package/src/icons/solid/clock/clock-solid.icon.d.ts +3 -0
- package/src/icons/solid/clock/clock-solid.icon.tsx +22 -0
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +3 -0
- package/src/icons/solid/cloud-download/cloud-download.icon.tsx +21 -0
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +3 -0
- package/src/icons/solid/currency-euro/currency-euro.icon.tsx +21 -0
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +3 -0
- package/src/icons/solid/document-text/document-text-solid.icon.tsx +22 -0
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +3 -0
- package/src/icons/solid/exclamation/exclamation.icon.tsx +20 -0
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +3 -0
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +23 -0
- package/src/icons/solid/eye/eye.icon.d.ts +3 -0
- package/src/icons/solid/eye/eye.icon.tsx +24 -0
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +3 -0
- package/src/icons/solid/eye-off/eye-off.icon.tsx +24 -0
- package/src/icons/solid/filter/filter.icon.d.ts +3 -0
- package/src/icons/solid/filter/filter.icon.tsx +21 -0
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +3 -0
- package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +25 -0
- package/src/icons/solid/logout/logout.icon.d.ts +3 -0
- package/src/icons/solid/logout/logout.icon.tsx +26 -0
- package/src/icons/solid/mail/mail.icon.d.ts +3 -0
- package/src/icons/solid/mail/mail.icon.tsx +23 -0
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +3 -0
- package/src/icons/solid/mail-open/mail-open.icon.tsx +21 -0
- package/src/icons/solid/menu/menu.icon.d.ts +3 -0
- package/src/icons/solid/menu/menu.icon.tsx +33 -0
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +3 -0
- package/src/icons/solid/minus-sm/minus-sm.icon.tsx +21 -0
- package/src/icons/solid/office-building/office-building.icon.d.ts +3 -0
- package/src/icons/solid/office-building/office-building.icon.tsx +21 -0
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +3 -0
- package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +25 -0
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +3 -0
- package/src/icons/solid/paperclip/paperclip.icon.tsx +21 -0
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +3 -0
- package/src/icons/solid/pencil/pencil-solid.icon.tsx +24 -0
- package/src/icons/solid/phone/phone-solid.icon.d.ts +3 -0
- package/src/icons/solid/phone/phone-solid.icon.tsx +20 -0
- package/src/icons/solid/photograph/photograph-solid.icon.d.ts +3 -0
- package/src/icons/solid/photograph/photograph-solid.icon.tsx +20 -0
- package/src/icons/solid/plus/plus.icon.d.ts +3 -0
- package/src/icons/solid/plus/plus.icon.tsx +21 -0
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +3 -0
- package/src/icons/solid/plus-sm/plus-sm.icon.tsx +21 -0
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +3 -0
- package/src/icons/solid/qrcode/qrcode.icon.tsx +60 -0
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +3 -0
- package/src/icons/solid/refresh/refresh-solid.icon.tsx +22 -0
- package/src/icons/solid/search/search.icon.d.ts +3 -0
- package/src/icons/solid/search/search.icon.tsx +21 -0
- package/src/icons/solid/selector/selector.icon.d.ts +3 -0
- package/src/icons/solid/selector/selector.icon.tsx +21 -0
- package/src/icons/solid/share/share.icon.d.ts +3 -0
- package/src/icons/solid/share/share.icon.tsx +19 -0
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +3 -0
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +31 -0
- package/src/icons/solid/solid.d.ts +2 -0
- package/src/icons/solid/solid.preview.d.ts +2 -0
- package/src/icons/solid/solid.preview.tsx +146 -0
- package/src/icons/solid/solid.tsx +141 -0
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +3 -0
- package/src/icons/solid/status-online/status-online-solid.icon.tsx +22 -0
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +3 -0
- package/src/icons/solid/thumb-up/thumb-up.icon.tsx +23 -0
- package/src/icons/solid/trash/trash-solid.icon.d.ts +3 -0
- package/src/icons/solid/trash/trash-solid.icon.tsx +22 -0
- package/src/icons/solid/user/user.icon.d.ts +3 -0
- package/src/icons/solid/user/user.icon.tsx +23 -0
- package/src/icons/solid/user-group/user-group.icon.d.ts +3 -0
- package/src/icons/solid/user-group/user-group.icon.tsx +72 -0
- package/src/icons/solid/users/users-solid.icon.d.ts +3 -0
- package/src/icons/solid/users/users-solid.icon.tsx +57 -0
- package/src/icons/solid/xmark/xmark.icon.d.ts +3 -0
- package/src/icons/solid/xmark/xmark.icon.tsx +21 -0
- package/src/interfaces/icon.interface.d.ts +11 -0
- package/src/interfaces/icon.interface.ts +12 -0
- package/src/models/hex-color.model.d.ts +6 -0
- package/src/models/hex-color.model.ts +25 -0
- package/src/models/hex-color.test.js +20 -0
- package/src/models/initials.model.d.ts +7 -0
- package/src/models/initials.model.ts +32 -0
- package/src/models/initials.test.js +23 -0
- package/src/models/time-slot-record.d.ts +15 -0
- package/src/models/time-slot-record.ts +37 -0
- package/src/models/time-slot-sequence.d.ts +15 -0
- package/src/models/time-slot-sequence.ts +79 -0
- package/src/theme/font/font.d.ts +72 -0
- package/src/theme/font/font.ts +72 -0
- package/src/theme/font/index.d.ts +3 -0
- package/src/theme/font/index.ts +4 -0
- package/src/theme/font/load-fonts.d.ts +1 -0
- package/src/theme/font/load-fonts.ts +10 -0
- package/src/theme/provider/index.d.ts +3 -0
- package/src/theme/provider/index.ts +4 -0
- package/src/theme/provider/parent.theme.d.ts +71 -0
- package/src/theme/provider/parent.theme.ts +73 -0
- package/src/theme/provider/staff-member.theme.d.ts +71 -0
- package/src/theme/provider/staff-member.theme.ts +73 -0
- package/src/theme/responsive/index.d.ts +2 -0
- package/src/theme/responsive/index.ts +17 -0
- package/src/theme/scale/index.d.ts +12 -0
- package/src/theme/scale/index.ts +14 -0
- package/src/types/bubble-alignment.enum.d.ts +4 -0
- package/src/types/bubble-alignment.enum.ts +4 -0
- package/src/types/icontype.type.d.ts +2 -0
- package/src/types/icontype.type.ts +45 -0
- package/src/types/keyboard-types.enum.d.ts +9 -0
- package/src/types/keyboard-types.enum.ts +9 -0
- package/src/types/loading-dots.type.d.ts +8 -0
- package/src/types/loading-dots.type.ts +8 -0
- package/src/types/size.enum.d.ts +5 -0
- package/src/types/size.enum.ts +5 -0
- package/src/types/state.enum.d.ts +7 -0
- package/src/types/state.enum.ts +7 -0
- package/src/types/text-properties.type.d.ts +11 -0
- package/src/types/text-properties.type.ts +12 -0
- package/src/types/timetable-edit.enum.d.ts +5 -0
- package/src/types/timetable-edit.enum.ts +5 -0
- package/src/types/visual-state.enum.d.ts +7 -0
- package/src/types/visual-state.enum.ts +7 -0
- package/src/utilities/color-handler/color-handler.d.ts +4 -0
- package/src/utilities/color-handler/color-handler.ts +74 -0
- package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +22 -0
- package/src/utilities/toddle-datetime/interfaces/duration.interface.tsx +23 -0
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +22 -0
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.tsx +25 -0
- package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +50 -0
- package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +206 -0
- package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +2 -0
- package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +160 -0
- package/src/utilities/toddle-datetime/toddle-datetime.test.js +127 -0
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +4 -0
- package/src/utilities/toddle-datetime/types/duration.type.tsx +6 -0
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +5 -0
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.tsx +23 -0
- package/tsconfig.json +13 -0
- package/types/src/components/atoms/avatar/avatar.component.d.ts +11 -0
- package/types/src/components/atoms/avatar/avatar.styles.d.ts +36 -0
- package/types/src/components/atoms/button/button.component.d.ts +9 -0
- package/types/src/components/atoms/button/button.styles.d.ts +20 -0
- package/types/src/components/atoms/cancel-link/cancel-link.component.d.ts +7 -0
- package/types/src/components/atoms/cancel-link/cancel-link.styles.d.ts +17 -0
- package/types/src/components/atoms/check-switch/check-switch.component.d.ts +7 -0
- package/types/src/components/atoms/check-switch/check-switch.styles.d.ts +30 -0
- package/types/src/components/atoms/checkbox/checkbox.component.d.ts +8 -0
- package/types/src/components/atoms/checkbox/checkbox.styles.d.ts +32 -0
- package/types/src/components/atoms/child-list-item/child-list-item.component.d.ts +19 -0
- package/types/src/components/atoms/child-list-item/child-list-item.styles.d.ts +68 -0
- package/types/src/components/atoms/contact-item/contact-item.component.d.ts +10 -0
- package/types/src/components/atoms/contact-item/contact-item.styles.d.ts +24 -0
- package/types/src/components/atoms/filter-tab/filter-tab.component.d.ts +9 -0
- package/types/src/components/atoms/filter-tab/filter-tab.styles.d.ts +61 -0
- package/types/src/components/atoms/form-actions/form-action.component.d.ts +7 -0
- package/types/src/components/atoms/form-actions/form-action.styles.d.ts +14 -0
- package/types/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -0
- package/types/src/components/atoms/image-bubble/image-bubble.styles.d.ts +27 -0
- package/types/src/components/atoms/info/info.component.d.ts +7 -0
- package/types/src/components/atoms/info/info.styles.d.ts +24 -0
- package/types/src/components/atoms/pill/pill.component.d.ts +8 -0
- package/types/src/components/atoms/pill/pill.styles.d.ts +24 -0
- package/types/src/components/atoms/popover/components/backdrop/backdrop.component.d.ts +6 -0
- package/types/src/components/atoms/popover/components/backdrop/backdrop.styles.d.ts +11 -0
- package/types/src/components/atoms/popover/components/foreground/foreground.component.d.ts +7 -0
- package/types/src/components/atoms/popover/components/foreground/foreground.styles.d.ts +12 -0
- package/types/src/components/atoms/popover/components/index.d.ts +4 -0
- package/types/src/components/atoms/popover/components/modal/close/close.component.d.ts +7 -0
- package/types/src/components/atoms/popover/components/modal/close/close.styles.d.ts +9 -0
- package/types/src/components/atoms/popover/components/modal/heading/heading.component.d.ts +7 -0
- package/types/src/components/atoms/popover/components/modal/heading/heading.styles.d.ts +22 -0
- package/types/src/components/atoms/popover/components/modal/modal.component.d.ts +11 -0
- package/types/src/components/atoms/popover/components/modal/modal.styles.d.ts +18 -0
- package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.d.ts +6 -0
- package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.styles.d.ts +6 -0
- package/types/src/components/atoms/popover/popover.component.d.ts +10 -0
- package/types/src/components/atoms/popover/popover.styles.d.ts +8 -0
- package/types/src/components/atoms/pressable-icon/pressable-icon.component.d.ts +9 -0
- package/types/src/components/atoms/pressable-icon/pressable-icon.styles.d.ts +17 -0
- package/types/src/components/atoms/quick-filter/quick-filter.component.d.ts +11 -0
- package/types/src/components/atoms/quick-filter/quick-filter.styles.d.ts +34 -0
- package/types/src/components/atoms/select-list-item/select-list-item.component.d.ts +10 -0
- package/types/src/components/atoms/select-list-item/select-list-item.styles.d.ts +37 -0
- package/types/src/components/atoms/snackbar/snackbar.component.d.ts +8 -0
- package/types/src/components/atoms/snackbar/snackbar.styles.d.ts +50 -0
- package/types/src/components/atoms/tag/tag.component.d.ts +13 -0
- package/types/src/components/atoms/tag/tag.styles.d.ts +16 -0
- package/types/src/components/atoms/text-bubble/text-bubble.component.d.ts +10 -0
- package/types/src/components/atoms/text-bubble/text-bubble.styles.d.ts +62 -0
- package/types/src/components/atoms/text-input/text-input.component.d.ts +9 -0
- package/types/src/components/atoms/text-input/text-input.styles.d.ts +21 -0
- package/types/src/components/atoms/time-tracker/time-tracker.component.d.ts +8 -0
- package/types/src/components/atoms/time-tracker/time-tracker.styles.d.ts +25 -0
- package/types/src/components/atoms/wide-button/wide-button.component.d.ts +8 -0
- package/types/src/components/atoms/wide-button/wide-button.styles.d.ts +17 -0
- package/types/src/context/theme.context.d.ts +46 -0
- package/types/src/gradients/main/main.gradient.d.ts +2 -0
- package/types/src/gradients/main/main.styles.d.ts +7 -0
- package/types/src/icons/outline/chevron-right/chevron-right.icon.d.ts +3 -0
- package/types/src/icons/outline/cross/cross.icon.d.ts +3 -0
- package/types/src/icons/outline/filter/filter.icon.d.ts +3 -0
- package/types/src/models/initials.model.d.ts +7 -0
- package/types/src/theme/font/font.d.ts +72 -0
- package/types/src/theme/font/index.d.ts +3 -0
- package/types/src/theme/font/load-fonts.d.ts +1 -0
- package/types/src/theme/provider/index.d.ts +3 -0
- package/types/src/theme/provider/parent.theme.d.ts +43 -0
- package/types/src/theme/provider/staff-member.theme.d.ts +43 -0
- package/types/src/theme/scale/index.d.ts +12 -0
- package/types/src/types/bubble-alignment.enum.d.ts +4 -0
- package/types/src/types/icontype.type.d.ts +3 -0
- package/types/src/types/keyboard-types.enum.d.ts +9 -0
- package/types/src/types/size.enum.d.ts +5 -0
- package/types/src/types/visual-state.enum.d.ts +6 -0
- package/build/export.js +0 -10328
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"nm":"circle_blue","mn":"","layers":[{"ty":0,"nm":"Shape Layer 1","mn":"","sr":1,"st":0,"op":60.0000024438501,"ip":0,"hd":false,"cl":"","ln":"","ddd":0,"bm":0,"hasMask":true,"td":1,"ao":0,"ks":{"a":{"a":0,"k":[89,89,0],"ix":1},"s":{"a":0,"k":[561.7977528089888,561.7977528089888,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[500.00000000000006,500.00000000000006,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"masksProperties":[{"nm":"Mask 1","mn":"","inv":false,"mode":"a","x":{"a":0,"k":0,"ix":4},"o":{"a":0,"k":100,"ix":3},"pt":{"a":0,"k":{"c":true,"i":[[49.153,0],[0,-49.153],[-49.153,0],[0,49.153]],"o":[[-49.153,0],[0,49.153],[49.153,0],[0,-49.153]],"v":[[89,0],[0,89],[89,178],[178,89]]},"ix":1}}],"w":178,"h":178,"refId":"comp_0","ind":1},{"ty":4,"nm":"Shape Layer 1","mn":"","sr":1,"st":0,"op":60.0000024438501,"ip":0,"hd":false,"cl":"","ln":"","ddd":0,"bm":0,"tt":1,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[561.7977528089888,561.7977528089888,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[494.8314606741573,233.8876404494382,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Group","nm":"Rectangle 1","ix":1,"cix":2,"np":2,"it":[{"ty":"rc","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Shape - Rect","nm":"Rectangle Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"s":{"a":0,"k":[178,178],"ix":2}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0.92,47.368],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"gf","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Graphic - G-Fill","nm":"Gradient Fill 2","e":{"a":0,"k":[0,45],"ix":6},"g":{"p":3,"k":{"a":0,"k":[0,0.0784313725490196,0.5686274509803921,0.6078431372549019,0.5,0.0784313725490196,0.5686274509803921,0.6078431372549019,1,0.0784313725490196,0.5686274509803921,0.6078431372549019],"ix":9}},"t":1,"a":{"a":0,"k":0},"h":{"a":0,"k":0},"s":{"a":0,"k":[0,360],"ix":5},"r":1,"o":{"a":0,"k":89,"ix":10}},{"ty":"gf","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Graphic - G-Fill","nm":"Gradient Fill 1","e":{"a":0,"k":[75,0],"ix":6},"g":{"p":3,"k":{"a":0,"k":[0,0.0784313725490196,0.5686274509803921,0.6078431372549019,0.5,0.0784313725490196,0.5686274509803921,0.6078431372549019,1,0.0784313725490196,0.5686274509803921,0.6078431372549019],"ix":9}},"t":1,"a":{"a":0,"k":0},"h":{"a":0,"k":0},"s":{"a":0,"k":[-54,0],"ix":5},"r":1,"o":{"a":0,"k":100,"ix":10}}],"ind":2}],"ddd":0,"h":1000,"w":1000,"meta":{"a":"","k":"","d":"","g":"LottieFiles AE 0.1.21","tc":"#000000"},"v":"5.5.7","fr":8,"op":60.0000024438501,"ip":0,"assets":[{"nm":"","mn":"","layers":[{"ty":4,"nm":"wave_2 Outlines","mn":"","sr":1,"st":0,"op":60.0000024438501,"ip":0,"hd":false,"cl":"","ln":"","ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[178,89,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0,89,0],"t":0,"ti":[-29.667,0,0],"to":[29.667,0,0]},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[178,89,0],"t":59.0000024031193}],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Group","nm":"Group 1","ix":1,"cix":2,"np":2,"it":[{"ty":"sh","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 2","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,0],[0,0],[45.858,9.977],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[45.859,9.977],[13.272,-0.001]],"o":[[0,0],[-0.03,0.007],[0,0],[-45.859,-9.977],[0,0],[0,0],[0,0],[0,0],[-0.031,0.007],[0,0],[-15.288,-3.326],[-26.538,0]],"v":[[0,-22.84],[0,-22.852],[-0.052,-22.84],[-88.423,-22.84],[-178,-22.84],[-178,32.816],[0,32.816],[178,32.816],[178,-22.852],[177.948,-22.84],[89.576,-22.84],[45.971,-27.273]]},"ix":2}},{"ty":"mm","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Filter - Merge","nm":"Merge Paths 1","mm":4},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[178,145.184],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"fl","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Graphic - Fill","nm":"Fill 1","c":{"a":0,"k":[0.0784,0.5686,0.6078],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}}],"ind":1},{"ty":4,"nm":"wave_1 Outlines","mn":"","sr":1,"st":0,"op":60.0000024438501,"ip":0,"hd":false,"cl":"","ln":"","ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[178,89,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[178,91,0],"t":0,"ti":[29.667,0,0],"to":[-29.667,0,0]},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0,91,0],"t":59.0000024031193}],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":50,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Group","nm":"Group 1","ix":1,"cix":2,"np":2,"it":[{"ty":"sh","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 2","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[15.288,-3.326],[0,0],[0.031,0.007],[0,0],[45.858,-9.977],[0,0],[0.031,0.007],[0,0],[0,0],[0,0],[0,0],[26.539,0]],"o":[[-45.857,9.977],[0,0],[0,0],[0,0],[-45.858,9.977],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-13.272,-0.001]],"v":[[88.423,-22.84],[0.051,-22.84],[0,-22.852],[0,-22.84],[-89.576,-22.84],[-177.948,-22.84],[-178,-22.852],[-178,32.816],[0,32.816],[178,32.816],[178,-22.84],[132.029,-27.273]]},"ix":2}},{"ty":"mm","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Filter - Merge","nm":"Merge Paths 1","mm":4},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[178,145.184],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"fl","bm":0,"cl":"","ln":"","hd":false,"mn":"ADBE Vector Graphic - Fill","nm":"Fill 1","c":{"a":0,"k":[0.0784,0.5686,0.6078],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}}],"ind":2}],"id":"comp_0"}]}
|
|
Binary file
|
package/babel.config.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = function (api) {
|
|
2
|
+
api.cache(true);
|
|
3
|
+
const disableImportExportTransform = true;
|
|
4
|
+
return {
|
|
5
|
+
presets: [
|
|
6
|
+
[
|
|
7
|
+
'babel-preset-expo',
|
|
8
|
+
{
|
|
9
|
+
native: {
|
|
10
|
+
disableImportExportTransform,
|
|
11
|
+
},
|
|
12
|
+
web: {
|
|
13
|
+
disableImportExportTransform,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
],
|
|
18
|
+
plugins: ['react-native-reanimated/plugin'],
|
|
19
|
+
};
|
|
20
|
+
};
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import 'intl';
|
|
2
|
+
import 'intl/locale-data/jsonp/en';
|
|
3
|
+
import { Avatar } from './src/components/molecules/avatar/avatar.component';
|
|
4
|
+
import { Button } from './src/components/molecules/button/button.component';
|
|
5
|
+
import { CancelLink } from './src/components/molecules/cancel-link/cancel-link.component';
|
|
6
|
+
import { Check } from './src/components/atoms/check-switch/check-switch.component';
|
|
7
|
+
import { Checkbox } from './src/components/molecules/checkbox/checkbox.component';
|
|
8
|
+
import { ChildListItem } from './src/components/organisms/child-list-item/child-list-item.component';
|
|
9
|
+
import { ContactItem } from './src/components/organisms/contact-item/contact-item.component';
|
|
10
|
+
import { FilterTab } from './src/components/molecules/filter-tab/filter-tab.component';
|
|
11
|
+
import { SplitContainer } from './src/components/atoms/split-container/split-container.component';
|
|
12
|
+
import { ImageBubble } from './src/components/atoms/image-bubble/image-bubble.component';
|
|
13
|
+
import { Info } from './src/components/molecules/info/info.component';
|
|
14
|
+
import { Pill } from './src/components/molecules/pill/pill.component';
|
|
15
|
+
import { Popover } from './src/components/templates/popover/popover.component';
|
|
16
|
+
import { PressableIcon } from './src/components/molecules/pressable-icon/pressable-icon.component';
|
|
17
|
+
import { QuickFilter } from './src/components/molecules/quick-filter/quick-filter.component';
|
|
18
|
+
import { SelectListItem } from './src/components/molecules/select-list-item/select-list-item.component';
|
|
19
|
+
import { Snackbar } from './src/components/molecules/snackbar/snackbar.component';
|
|
20
|
+
import { Tag } from './src/components/molecules/tag/tag.component';
|
|
21
|
+
import { TextBubble } from './src/components/organisms/text-bubble/text-bubble.component';
|
|
22
|
+
import { TextInput } from './src/components/atoms/text-input/text-input.component';
|
|
23
|
+
import { TimeTracker } from './src/components/molecules/time-tracker/time-tracker.component';
|
|
24
|
+
import { WideButton } from './src/components/molecules/wide-button/wide-button.component';
|
|
25
|
+
import { Icon } from './src/icons';
|
|
26
|
+
import { Calendar } from './src/components/atoms/calendar/calendar.component';
|
|
27
|
+
import { IncrementInput } from './src/components/atoms/increment-input/increment-input.component';
|
|
28
|
+
import { Logo } from './src/components/atoms/logo/logo.component';
|
|
29
|
+
import { Search } from './src/components/molecules/search-input/search.component';
|
|
30
|
+
import { BlockedMessage } from './src/components/molecules/blocked-message/blocked-message.component';
|
|
31
|
+
import { DepartmentLogo } from './src/components/molecules/department_logo/department-logo.component';
|
|
32
|
+
import { ContactRole } from './src/components/molecules/contact-role/contact-role.component';
|
|
33
|
+
import { TimeLine } from './src/components/molecules/timeline/timeline.component';
|
|
34
|
+
import { SelectPicker } from './src/components/molecules/select-picker/select-picker.component';
|
|
35
|
+
import { CalendarSelect } from './src/components/molecules/calendar-select/calendar-select.component';
|
|
36
|
+
import { DateInput } from './src/components/molecules/date-input/date-input.component';
|
|
37
|
+
import { FilterRange } from './src/components/molecules/filter-range/filter-range.component';
|
|
38
|
+
import { Footer } from './src/components/atoms/footer/footer.component';
|
|
39
|
+
import { DefaultSelect } from './src/components/molecules/default-select/default-select.component';
|
|
40
|
+
import { PasswordInput } from './src/components/molecules/password-input/password-input.component';
|
|
41
|
+
import { MessageInput } from './src/components/molecules/message-input/message-input.component';
|
|
42
|
+
import { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 } from './src/components/atoms/heading-components';
|
|
43
|
+
import { Paragraph, SmallText, TinyText } from './src/components/atoms/paragraph-components';
|
|
44
|
+
import { SelectLink } from './src/components/molecules/select-link/select-link.component';
|
|
45
|
+
import { MyChildListItem } from './src/components/organisms/my-child-list-item/my-child-list-item.component';
|
|
46
|
+
import { MoreInfoButton } from './src/components/molecules/more-info-button/more-info-button.component';
|
|
47
|
+
import { LanguageButton } from './src/components/molecules/language-button/language-button.component';
|
|
48
|
+
import { Modal } from './src/components/templates/modal/modal.component';
|
|
49
|
+
import { LoadingIndicator } from './src/components/organisms/loading-indicator/loading-indicator.component';
|
|
50
|
+
import { WaveBackground } from './src/components/molecules/wave-background/wave.component';
|
|
51
|
+
import { BackgroundGradient } from './src/components/atoms/background-gradient/background-gradient.component';
|
|
52
|
+
import { PersonInfoCard } from './src/components/organisms/person-info-card/person-info-card.component';
|
|
53
|
+
import { TimePicker } from './src/components/molecules/time-picker/time-picker.component';
|
|
54
|
+
import { QuickMessage } from './src/components/atoms/quick-message/quick-message.component';
|
|
55
|
+
import { Line } from './src/components/atoms/line/line.component';
|
|
56
|
+
import { JournalEntry } from './src/components/organisms/journal-entry/journal-entry.component';
|
|
57
|
+
import { TimetableEdit } from './src/components/organisms/timetable-edit/timetable-edit.component';
|
|
58
|
+
import { ContextLabel } from './src/components/molecules/context-label/context-label.component';
|
|
59
|
+
import { Count } from './src/components/atoms/count/count.component';
|
|
60
|
+
import { Amount } from './src/components/molecules/amount/amount.component';
|
|
61
|
+
import { TimetableEditor } from './src/components/organisms/timetable-editor/timetable-editor.component';
|
|
62
|
+
import { TimetableEditorStaff } from './src/components/organisms/timetable-editor/timetable-editor-staff.component';
|
|
63
|
+
import { InlineError } from './src/components/molecules/inline-error/inline-error.component';
|
|
64
|
+
import { InlineNotice } from './src/components/molecules/inline-notice/inline-notice.component';
|
|
65
|
+
import { SelectableListItem } from './src/components/molecules/selectable-list-item/selectable-list-item.component';
|
|
66
|
+
import { SwipeableContainer } from './src/components/molecules/swipeable/swipeable-container.component';
|
|
67
|
+
import { SwipeableAction } from './src/components/molecules/swipeable/swipeable-action.component';
|
|
68
|
+
import { BubbleAlignment } from './src/types/bubble-alignment.enum';
|
|
69
|
+
import { KeyBoardTypes } from './src/types/keyboard-types.enum';
|
|
70
|
+
import { Size } from './src/types/size.enum';
|
|
71
|
+
import { VisualState } from './src/types/visual-state.enum';
|
|
72
|
+
import { Initials } from './src/models/initials.model';
|
|
73
|
+
import { TimeSlotRecord } from './src/models/time-slot-record';
|
|
74
|
+
import { TimeSlotSequence } from './src/models/time-slot-sequence';
|
|
75
|
+
import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.class';
|
|
76
|
+
import { ThemeCtx } from './src/context/theme.context';
|
|
77
|
+
import { Scale } from './src/theme/scale/index';
|
|
78
|
+
import CreateResponsiveStyle from './src/theme/responsive/index';
|
|
79
|
+
export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, 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, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, 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, SwipeableContainer, SwipeableAction, };
|
package/index.tsx
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// Needed to run Expo
|
|
2
|
+
import registerRootComponent from 'expo/build/launch/registerRootComponent';
|
|
3
|
+
import 'intl';
|
|
4
|
+
import 'intl/locale-data/jsonp/en';
|
|
5
|
+
|
|
6
|
+
import App from './App';
|
|
7
|
+
|
|
8
|
+
let webBuild = process.env.EXPO_PUBLIC_WEBBUILD;
|
|
9
|
+
if (!webBuild) {
|
|
10
|
+
registerRootComponent(App);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Exports of components
|
|
14
|
+
import {Avatar} from './src/components/molecules/avatar/avatar.component';
|
|
15
|
+
import {Button} from './src/components/molecules/button/button.component';
|
|
16
|
+
import {CancelLink} from './src/components/molecules/cancel-link/cancel-link.component';
|
|
17
|
+
import {Check} from './src/components/atoms/check-switch/check-switch.component';
|
|
18
|
+
import {Checkbox} from './src/components/molecules/checkbox/checkbox.component';
|
|
19
|
+
import {ChildListItem} from './src/components/organisms/child-list-item/child-list-item.component';
|
|
20
|
+
import {ContactItem} from './src/components/organisms/contact-item/contact-item.component';
|
|
21
|
+
import {FilterTab} from './src/components/molecules/filter-tab/filter-tab.component';
|
|
22
|
+
import {SplitContainer} from './src/components/atoms/split-container/split-container.component';
|
|
23
|
+
import {ImageBubble} from './src/components/atoms/image-bubble/image-bubble.component';
|
|
24
|
+
import {Info} from './src/components/molecules/info/info.component';
|
|
25
|
+
import {Pill} from './src/components/molecules/pill/pill.component';
|
|
26
|
+
import {Popover} from './src/components/templates/popover/popover.component';
|
|
27
|
+
import {PressableIcon} from './src/components/molecules/pressable-icon/pressable-icon.component';
|
|
28
|
+
import {QuickFilter} from './src/components/molecules/quick-filter/quick-filter.component';
|
|
29
|
+
import {SelectListItem} from './src/components/molecules/select-list-item/select-list-item.component';
|
|
30
|
+
import {Snackbar} from './src/components/molecules/snackbar/snackbar.component';
|
|
31
|
+
import {Tag} from './src/components/molecules/tag/tag.component';
|
|
32
|
+
import {TextBubble} from './src/components/organisms/text-bubble/text-bubble.component';
|
|
33
|
+
import {TextInput} from './src/components/atoms/text-input/text-input.component';
|
|
34
|
+
import {TimeTracker} from './src/components/molecules/time-tracker/time-tracker.component';
|
|
35
|
+
import {WideButton} from './src/components/molecules/wide-button/wide-button.component';
|
|
36
|
+
import {Icon} from './src/icons';
|
|
37
|
+
import {Calendar} from './src/components/atoms/calendar/calendar.component';
|
|
38
|
+
import {IncrementInput} from './src/components/atoms/increment-input/increment-input.component';
|
|
39
|
+
import {Logo} from './src/components/atoms/logo/logo.component';
|
|
40
|
+
import {Search} from './src/components/molecules/search-input/search.component';
|
|
41
|
+
import {BlockedMessage} from './src/components/molecules/blocked-message/blocked-message.component';
|
|
42
|
+
import {DepartmentLogo} from './src/components/molecules/department_logo/department-logo.component';
|
|
43
|
+
import {ContactRole} from './src/components/molecules/contact-role/contact-role.component';
|
|
44
|
+
import {TimeLine} from './src/components/molecules/timeline/timeline.component';
|
|
45
|
+
import {SelectPicker} from './src/components/molecules/select-picker/select-picker.component';
|
|
46
|
+
import {CalendarSelect} from './src/components/molecules/calendar-select/calendar-select.component';
|
|
47
|
+
import {DateInput} from './src/components/molecules/date-input/date-input.component';
|
|
48
|
+
import {FilterRange} from './src/components/molecules/filter-range/filter-range.component';
|
|
49
|
+
import {Footer} from './src/components/atoms/footer/footer.component';
|
|
50
|
+
import {DefaultSelect} from './src/components/molecules/default-select/default-select.component';
|
|
51
|
+
import {PasswordInput} from './src/components/molecules/password-input/password-input.component';
|
|
52
|
+
import {MessageInput} from './src/components/molecules/message-input/message-input.component';
|
|
53
|
+
import {
|
|
54
|
+
AllCapsHeading,
|
|
55
|
+
Heading1,
|
|
56
|
+
Heading2,
|
|
57
|
+
Heading3,
|
|
58
|
+
Heading4,
|
|
59
|
+
} from './src/components/atoms/heading-components';
|
|
60
|
+
import {
|
|
61
|
+
Paragraph,
|
|
62
|
+
SmallText,
|
|
63
|
+
TinyText,
|
|
64
|
+
} from './src/components/atoms/paragraph-components';
|
|
65
|
+
import {SelectLink} from './src/components/molecules/select-link/select-link.component';
|
|
66
|
+
import {MyChildListItem} from './src/components/organisms/my-child-list-item/my-child-list-item.component';
|
|
67
|
+
import {MoreInfoButton} from './src/components/molecules/more-info-button/more-info-button.component';
|
|
68
|
+
import {LanguageButton} from './src/components/molecules/language-button/language-button.component';
|
|
69
|
+
import {Modal} from './src/components/templates/modal/modal.component';
|
|
70
|
+
import {LoadingIndicator} from './src/components/organisms/loading-indicator/loading-indicator.component';
|
|
71
|
+
import {WaveBackground} from './src/components/molecules/wave-background/wave.component';
|
|
72
|
+
import {BackgroundGradient} from './src/components/atoms/background-gradient/background-gradient.component';
|
|
73
|
+
import {PersonInfoCard} from './src/components/organisms/person-info-card/person-info-card.component';
|
|
74
|
+
import {TimePicker} from './src/components/molecules/time-picker/time-picker.component';
|
|
75
|
+
import {QuickMessage} from './src/components/atoms/quick-message/quick-message.component';
|
|
76
|
+
import {Line} from './src/components/atoms/line/line.component';
|
|
77
|
+
import {JournalEntry} from './src/components/organisms/journal-entry/journal-entry.component';
|
|
78
|
+
import {TimetableEdit} from './src/components/organisms/timetable-edit/timetable-edit.component';
|
|
79
|
+
import { ContextLabel } from './src/components/molecules/context-label/context-label.component';
|
|
80
|
+
import { Count } from './src/components/atoms/count/count.component';
|
|
81
|
+
import { Amount } from './src/components/molecules/amount/amount.component';
|
|
82
|
+
import { TimetableEditor } from './src/components/organisms/timetable-editor/timetable-editor.component';
|
|
83
|
+
import { TimetableEditorStaff } from './src/components/organisms/timetable-editor/timetable-editor-staff.component';
|
|
84
|
+
import { InlineError } from './src/components/molecules/inline-error/inline-error.component';
|
|
85
|
+
import { InlineNotice } from './src/components/molecules/inline-notice/inline-notice.component';
|
|
86
|
+
import { SelectableListItem } from './src/components/molecules/selectable-list-item/selectable-list-item.component';
|
|
87
|
+
import { SwipeableContainer } from './src/components/molecules/swipeable/swipeable-container.component';
|
|
88
|
+
import { SwipeableAction } from './src/components/molecules/swipeable/swipeable-action.component';
|
|
89
|
+
|
|
90
|
+
// Exports of enums
|
|
91
|
+
import {BubbleAlignment} from './src/types/bubble-alignment.enum';
|
|
92
|
+
import {KeyBoardTypes} from './src/types/keyboard-types.enum';
|
|
93
|
+
import {Size} from './src/types/size.enum';
|
|
94
|
+
import {VisualState} from './src/types/visual-state.enum';
|
|
95
|
+
|
|
96
|
+
// Exports of models
|
|
97
|
+
import {Initials} from './src/models/initials.model';
|
|
98
|
+
import { TimeSlotRecord } from './src/models/time-slot-record';
|
|
99
|
+
import { TimeSlotSequence } from './src/models/time-slot-sequence';
|
|
100
|
+
|
|
101
|
+
// Exports of classes
|
|
102
|
+
import {ToddleDateTime} from './src/utilities/toddle-datetime/toddle-datetime.class';
|
|
103
|
+
|
|
104
|
+
// Exports of context
|
|
105
|
+
import {ThemeCtx} from './src/context/theme.context';
|
|
106
|
+
|
|
107
|
+
//Export of Theme
|
|
108
|
+
import {Scale} from './src/theme/scale/index';
|
|
109
|
+
|
|
110
|
+
// Export of responsive style
|
|
111
|
+
import CreateResponsiveStyle from './src/theme/responsive/index';
|
|
112
|
+
|
|
113
|
+
export {
|
|
114
|
+
AllCapsHeading,
|
|
115
|
+
Avatar,
|
|
116
|
+
BackgroundGradient,
|
|
117
|
+
BlockedMessage,
|
|
118
|
+
Button,
|
|
119
|
+
Calendar,
|
|
120
|
+
CalendarSelect,
|
|
121
|
+
CancelLink,
|
|
122
|
+
Check,
|
|
123
|
+
Checkbox,
|
|
124
|
+
ChildListItem,
|
|
125
|
+
ContactItem,
|
|
126
|
+
ContactRole,
|
|
127
|
+
DateInput,
|
|
128
|
+
DefaultSelect,
|
|
129
|
+
DepartmentLogo,
|
|
130
|
+
FilterRange,
|
|
131
|
+
FilterTab,
|
|
132
|
+
Footer,
|
|
133
|
+
Heading1,
|
|
134
|
+
Heading2,
|
|
135
|
+
Heading3,
|
|
136
|
+
Heading4,
|
|
137
|
+
Icon,
|
|
138
|
+
ImageBubble,
|
|
139
|
+
IncrementInput,
|
|
140
|
+
Info,
|
|
141
|
+
JournalEntry,
|
|
142
|
+
LanguageButton,
|
|
143
|
+
Line,
|
|
144
|
+
LoadingIndicator,
|
|
145
|
+
Logo,
|
|
146
|
+
MessageInput,
|
|
147
|
+
Modal,
|
|
148
|
+
MoreInfoButton,
|
|
149
|
+
MyChildListItem,
|
|
150
|
+
Paragraph,
|
|
151
|
+
PasswordInput,
|
|
152
|
+
PersonInfoCard,
|
|
153
|
+
Pill,
|
|
154
|
+
Popover,
|
|
155
|
+
PressableIcon,
|
|
156
|
+
QuickFilter,
|
|
157
|
+
QuickMessage,
|
|
158
|
+
Search,
|
|
159
|
+
SelectLink,
|
|
160
|
+
SelectListItem,
|
|
161
|
+
SelectPicker,
|
|
162
|
+
SmallText,
|
|
163
|
+
Snackbar,
|
|
164
|
+
SplitContainer,
|
|
165
|
+
Tag,
|
|
166
|
+
TextBubble,
|
|
167
|
+
TextInput,
|
|
168
|
+
TimeLine,
|
|
169
|
+
TimePicker,
|
|
170
|
+
TimeTracker,
|
|
171
|
+
TinyText,
|
|
172
|
+
WaveBackground,
|
|
173
|
+
WideButton,
|
|
174
|
+
BubbleAlignment,
|
|
175
|
+
Initials,
|
|
176
|
+
KeyBoardTypes,
|
|
177
|
+
Size,
|
|
178
|
+
ThemeCtx,
|
|
179
|
+
ToddleDateTime,
|
|
180
|
+
VisualState,
|
|
181
|
+
CreateResponsiveStyle,
|
|
182
|
+
Scale,
|
|
183
|
+
TimetableEdit,
|
|
184
|
+
ContextLabel,
|
|
185
|
+
Count,
|
|
186
|
+
Amount,
|
|
187
|
+
TimetableEditor,
|
|
188
|
+
TimetableEditorStaff,
|
|
189
|
+
TimeSlotRecord,
|
|
190
|
+
TimeSlotSequence,
|
|
191
|
+
InlineError,
|
|
192
|
+
InlineNotice,
|
|
193
|
+
SelectableListItem,
|
|
194
|
+
SwipeableContainer,
|
|
195
|
+
SwipeableAction,
|
|
196
|
+
};
|
package/jest.config.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
process.env.TZ = 'UTC';
|
|
2
|
+
|
|
3
|
+
module.exports = async () => {
|
|
4
|
+
return {
|
|
5
|
+
verbose: true,
|
|
6
|
+
extensionsToTreatAsEsm: ['.ts', '.tsx'],
|
|
7
|
+
preset: 'jest-expo',
|
|
8
|
+
transformIgnorePatterns: [
|
|
9
|
+
'node_modules/(?!((jest-)?react-native' +
|
|
10
|
+
'|@react-native(-community)?)' +
|
|
11
|
+
'|expo(nent)?' +
|
|
12
|
+
'|@expo(nent)?/.*' +
|
|
13
|
+
'|@expo-google-fonts/.*' +
|
|
14
|
+
'|react-navigation' +
|
|
15
|
+
'|@react-navigation/.*' +
|
|
16
|
+
'|@unimodules/.*' +
|
|
17
|
+
'|unimodules' +
|
|
18
|
+
'|sentry-expo' +
|
|
19
|
+
'|native-base' +
|
|
20
|
+
'|@miblanchard/react-native-slider' +
|
|
21
|
+
'|react-native-svg' +
|
|
22
|
+
'|@tactics/kinderopvang-branding)' +
|
|
23
|
+
'|react-native-reanimated',
|
|
24
|
+
],
|
|
25
|
+
};
|
|
26
|
+
};
|
package/metro.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tactics/toddle-styleguide",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"main": "
|
|
5
|
-
"types": "
|
|
6
|
-
"
|
|
7
|
-
".": {
|
|
8
|
-
"require": "./build/index.js",
|
|
9
|
-
"import": "./build/index.js",
|
|
10
|
-
"types": "./build/index.d.ts"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
3
|
+
"version": "5.0.5",
|
|
4
|
+
"main": "index.tsx",
|
|
5
|
+
"types": "index.d.ts",
|
|
6
|
+
"prepublish": "tsc",
|
|
13
7
|
"scripts": {
|
|
14
|
-
"build": "yarn exec tsc && yarn exec prettier --write src/. && yarn exec tsup",
|
|
15
8
|
"expo": "./node_modules/.bin/tsc && ./node_modules/.bin/expo",
|
|
16
9
|
"start": "./node_modules/.bin/tsc && ./node_modules/.bin/expo start",
|
|
17
10
|
"test": "./node_modules/.bin/jest",
|
|
18
11
|
"format": "./node_modules/.bin/prettier --write src/.",
|
|
19
12
|
"types": "./node_modules/.bin/tsc index.tsx --declaration --allowJs --emitDeclarationOnly --esModuleInterop --jsx react-native --skipLibCheck --target es5"
|
|
20
13
|
},
|
|
21
|
-
"prepublish": "tsc",
|
|
22
14
|
"engineStrict": true,
|
|
23
15
|
"engines": {
|
|
24
16
|
"npm": "please-use-yarn",
|
|
@@ -37,7 +29,6 @@
|
|
|
37
29
|
"@react-navigation/native": "^6.1.7",
|
|
38
30
|
"@react-navigation/native-stack": "^6.9.13",
|
|
39
31
|
"@react-navigation/stack": "^6.3.17",
|
|
40
|
-
"@swc/core": "^1.7.39",
|
|
41
32
|
"@tactics/kinderopvang-branding": "1.0.3",
|
|
42
33
|
"@testing-library/react-native": "^12.1.2",
|
|
43
34
|
"@types/luxon": "^3.3.0",
|
|
@@ -68,8 +59,7 @@
|
|
|
68
59
|
"react-native-web": "~0.19.10",
|
|
69
60
|
"react-native-wheel-picker-expo": "^0.5.4",
|
|
70
61
|
"react-native-wheely": "^0.6.0",
|
|
71
|
-
"react-test-renderer": "^18.2.0"
|
|
72
|
-
"tsup": "^8.3.4"
|
|
62
|
+
"react-test-renderer": "^18.2.0"
|
|
73
63
|
},
|
|
74
64
|
"devDependencies": {
|
|
75
65
|
"@babel/core": "^7.24.0",
|
|
@@ -82,7 +72,7 @@
|
|
|
82
72
|
"@types/react-test-renderer": "^18.0.0",
|
|
83
73
|
"jest": "^29.5.0",
|
|
84
74
|
"jest-expo": "~51.0.4",
|
|
85
|
-
"prettier": "
|
|
75
|
+
"prettier": "2.8.8",
|
|
86
76
|
"ts-jest": "^29.1.0",
|
|
87
77
|
"ts-node": "^10.9.1",
|
|
88
78
|
"typescript": "~5.3.3"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, {useContext} from 'react';
|
|
2
|
+
import {Dimensions, View} from 'react-native';
|
|
3
|
+
import {Stylesheet} from './animated-wave.styles';
|
|
4
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
+
|
|
6
|
+
const LottieView = require('lottie-react-native');
|
|
7
|
+
|
|
8
|
+
export const AnimatedWave = () => {
|
|
9
|
+
const Context = useContext(ThemeCtx);
|
|
10
|
+
const styles = Stylesheet(Context);
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<View style={styles.container}>
|
|
14
|
+
<View style={styles.animationContainer}>
|
|
15
|
+
<LottieView
|
|
16
|
+
source={Context.wave.path}
|
|
17
|
+
style={{
|
|
18
|
+
width: Dimensions.get('window').width + 64,
|
|
19
|
+
backgroundColor: Context.colors.main['5'],
|
|
20
|
+
}}
|
|
21
|
+
autoPlay
|
|
22
|
+
loop
|
|
23
|
+
/>
|
|
24
|
+
</View>
|
|
25
|
+
<View style={styles.overlay} />
|
|
26
|
+
</View>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, {useContext} from 'react';
|
|
2
|
+
import {AnimatedWave} from './animated-wave.component';
|
|
3
|
+
import {View} from 'react-native';
|
|
4
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
+
|
|
6
|
+
export const AnimatedWavePreview = ({}: {}) => {
|
|
7
|
+
const context = useContext(ThemeCtx);
|
|
8
|
+
|
|
9
|
+
return (
|
|
10
|
+
<View
|
|
11
|
+
style={{
|
|
12
|
+
width: '100%',
|
|
13
|
+
height: '100%',
|
|
14
|
+
backgroundColor: context.colors.main['5'],
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
<AnimatedWave />
|
|
18
|
+
</View>
|
|
19
|
+
);
|
|
20
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export function Stylesheet(Context: any): {
|
|
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
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {StyleSheet} from 'react-native';
|
|
3
|
+
|
|
4
|
+
export const Stylesheet = (Context) =>
|
|
5
|
+
StyleSheet.create({
|
|
6
|
+
container: {
|
|
7
|
+
flex: 1,
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
justifyContent: 'flex-start',
|
|
10
|
+
},
|
|
11
|
+
animationContainer: {
|
|
12
|
+
width: '100%',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
position: 'absolute',
|
|
15
|
+
top: '-1%',
|
|
16
|
+
zIndex: -1,
|
|
17
|
+
},
|
|
18
|
+
overlay: {
|
|
19
|
+
width: '100%',
|
|
20
|
+
height: '30%',
|
|
21
|
+
position: 'absolute',
|
|
22
|
+
top: '38%',
|
|
23
|
+
backgroundColor: Context.colors.main['3'],
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type PopoverBackdropProps = {
|
|
3
|
+
isVisible: boolean;
|
|
4
|
+
touchBackDrop?: (value: boolean) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const Backdrop: ({ isVisible, touchBackDrop }: PopoverBackdropProps) => React.JSX.Element;
|
|
7
|
+
export { Backdrop as Backdrop };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import {useContext, useMemo} from 'react';
|
|
3
|
+
|
|
4
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
+
import {Animated} from 'react-native';
|
|
6
|
+
import {Stylesheet} from './backdrop.styles';
|
|
7
|
+
|
|
8
|
+
type PopoverBackdropProps = {
|
|
9
|
+
isVisible: boolean;
|
|
10
|
+
touchBackDrop?: (value: boolean) => void;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const Backdrop = ({isVisible, touchBackDrop}: PopoverBackdropProps) => {
|
|
14
|
+
const context = useContext(ThemeCtx);
|
|
15
|
+
const opacity = useMemo(() => new Animated.Value(0), []);
|
|
16
|
+
|
|
17
|
+
const styles = Stylesheet(context);
|
|
18
|
+
|
|
19
|
+
const open = () => {
|
|
20
|
+
Animated.timing(opacity, {
|
|
21
|
+
toValue: 0.75,
|
|
22
|
+
duration: 80,
|
|
23
|
+
useNativeDriver: true,
|
|
24
|
+
}).start();
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const close = () => {
|
|
28
|
+
Animated.timing(opacity, {
|
|
29
|
+
toValue: 0,
|
|
30
|
+
duration: 600,
|
|
31
|
+
useNativeDriver: true,
|
|
32
|
+
}).start();
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
if (isVisible) {
|
|
36
|
+
open();
|
|
37
|
+
} else {
|
|
38
|
+
close();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<Animated.View
|
|
43
|
+
onTouchStart={() => (touchBackDrop ? touchBackDrop(false) : null)}
|
|
44
|
+
style={[styles.element, {opacity: opacity}]}
|
|
45
|
+
/>
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
export {Backdrop as Backdrop};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {StyleSheet} from 'react-native';
|
|
3
|
+
|
|
4
|
+
export const Stylesheet = (Context) =>
|
|
5
|
+
StyleSheet.create({
|
|
6
|
+
element: {
|
|
7
|
+
width: '100%',
|
|
8
|
+
height: '100%',
|
|
9
|
+
backgroundColor: Context.colors.ui.black,
|
|
10
|
+
zIndex: 1001,
|
|
11
|
+
position: 'absolute',
|
|
12
|
+
top: 0,
|
|
13
|
+
left: 0,
|
|
14
|
+
},
|
|
15
|
+
});
|