@tactics/toddle-styleguide 5.0.1 → 5.0.2
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/build/export.js +10328 -0
- package/package.json +16 -6
- package/.prettierrc.js +0 -9
- package/.yarnrc.yml +0 -2
- package/App.d.ts +0 -5
- package/App.tsx +0 -655
- package/app.json +0 -37
- 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 +0 -1197
- package/assets/lottie/wave-for-parents.json +0 -1
- package/assets/splash.png +0 -0
- package/babel.config.js +0 -20
- package/index.d.ts +0 -79
- package/index.tsx +0 -196
- package/jest.config.js +0 -26
- package/metro.config.js +0 -11
- package/src/components/atoms/animated-wave/animated-wave.component.d.ts +0 -2
- package/src/components/atoms/animated-wave/animated-wave.component.tsx +0 -28
- package/src/components/atoms/animated-wave/animated-wave.preview.tsx +0 -20
- package/src/components/atoms/animated-wave/animated-wave.styles.d.ts +0 -21
- package/src/components/atoms/animated-wave/animated-wave.styles.js +0 -25
- package/src/components/atoms/backdrop/backdrop.component.d.ts +0 -7
- package/src/components/atoms/backdrop/backdrop.component.tsx +0 -48
- package/src/components/atoms/backdrop/backdrop.styles.d.ts +0 -11
- package/src/components/atoms/backdrop/backdrop.styles.js +0 -15
- package/src/components/atoms/background-gradient/__snapshots__/background-gradient.test.js.snap +0 -40
- package/src/components/atoms/background-gradient/background-gradient.component.d.ts +0 -2
- package/src/components/atoms/background-gradient/background-gradient.component.tsx +0 -19
- package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +0 -2
- package/src/components/atoms/background-gradient/background-gradient.preview.tsx +0 -77
- package/src/components/atoms/background-gradient/background-gradient.styles.d.ts +0 -8
- package/src/components/atoms/background-gradient/background-gradient.styles.js +0 -11
- package/src/components/atoms/background-gradient/background-gradient.test.js +0 -10
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +0 -6817
- package/src/components/atoms/calendar/calendar.component.d.ts +0 -10
- package/src/components/atoms/calendar/calendar.component.tsx +0 -101
- package/src/components/atoms/calendar/calendar.preview.d.ts +0 -2
- package/src/components/atoms/calendar/calendar.preview.tsx +0 -39
- package/src/components/atoms/calendar/calendar.styles.d.ts +0 -81
- package/src/components/atoms/calendar/calendar.styles.js +0 -88
- package/src/components/atoms/calendar/calendar.test.js +0 -35
- package/src/components/atoms/check-switch/__snapshots__/check-switch.test.js.snap +0 -84
- package/src/components/atoms/check-switch/check-switch.component.d.ts +0 -7
- package/src/components/atoms/check-switch/check-switch.component.tsx +0 -48
- package/src/components/atoms/check-switch/check-switch.preview.d.ts +0 -2
- package/src/components/atoms/check-switch/check-switch.preview.tsx +0 -31
- package/src/components/atoms/check-switch/check-switch.styles.d.ts +0 -33
- package/src/components/atoms/check-switch/check-switch.styles.js +0 -36
- package/src/components/atoms/check-switch/check-switch.test.js +0 -13
- package/src/components/atoms/count/count.component.d.ts +0 -7
- package/src/components/atoms/count/count.component.tsx +0 -21
- package/src/components/atoms/count/count.preview.d.ts +0 -2
- package/src/components/atoms/count/count.preview.tsx +0 -16
- package/src/components/atoms/count/count.styles.d.ts +0 -24
- package/src/components/atoms/count/count.styles.js +0 -33
- package/src/components/atoms/footer/footer.component.d.ts +0 -6
- package/src/components/atoms/footer/footer.component.tsx +0 -28
- package/src/components/atoms/footer/footer.preview.d.ts +0 -2
- package/src/components/atoms/footer/footer.preview.tsx +0 -24
- package/src/components/atoms/footer/footer.styles.d.ts +0 -17
- package/src/components/atoms/footer/footer.styles.js +0 -18
- package/src/components/atoms/heading-components/all-caps-heading/__snapshots__/all-caps-heading.test.js.snap +0 -113
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +0 -3
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.tsx +0 -28
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.test.js +0 -44
- package/src/components/atoms/heading-components/heading.styles.d.ts +0 -48
- package/src/components/atoms/heading-components/heading.styles.js +0 -63
- package/src/components/atoms/heading-components/heading1/__snapshots__/heading1.test.js.snap +0 -121
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +0 -3
- package/src/components/atoms/heading-components/heading1/heading1.component.tsx +0 -28
- package/src/components/atoms/heading-components/heading1/heading1.test.js +0 -51
- package/src/components/atoms/heading-components/heading2/__snapshots__/heading2.test.js.snap +0 -121
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +0 -3
- package/src/components/atoms/heading-components/heading2/heading2.component.tsx +0 -28
- package/src/components/atoms/heading-components/heading2/heading2.test.js +0 -51
- package/src/components/atoms/heading-components/heading3/__snapshots__/heading3.test.js.snap +0 -121
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +0 -3
- package/src/components/atoms/heading-components/heading3/heading3.component.tsx +0 -28
- package/src/components/atoms/heading-components/heading3/heading3.test.js +0 -51
- package/src/components/atoms/heading-components/heading4/__snapshots__/heading4.test.js.snap +0 -121
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +0 -3
- package/src/components/atoms/heading-components/heading4/heading4.component.tsx +0 -28
- package/src/components/atoms/heading-components/heading4/heading4.test.js +0 -51
- package/src/components/atoms/heading-components/headings.preview.d.ts +0 -2
- package/src/components/atoms/heading-components/headings.preview.tsx +0 -86
- package/src/components/atoms/heading-components/index.d.ts +0 -6
- package/src/components/atoms/heading-components/index.tsx +0 -7
- package/src/components/atoms/image-bubble/__snapshots__/image-bubble.test.js.snap +0 -67
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +0 -9
- package/src/components/atoms/image-bubble/image-bubble.component.tsx +0 -27
- package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +0 -2
- package/src/components/atoms/image-bubble/image-bubble.preview.tsx +0 -19
- package/src/components/atoms/image-bubble/image-bubble.styles.d.ts +0 -35
- package/src/components/atoms/image-bubble/image-bubble.styles.js +0 -31
- package/src/components/atoms/image-bubble/image-bubble.test.js +0 -20
- package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +0 -269
- package/src/components/atoms/increment-input/increment-input.component.d.ts +0 -8
- package/src/components/atoms/increment-input/increment-input.component.tsx +0 -63
- package/src/components/atoms/increment-input/increment-input.preview.d.ts +0 -2
- package/src/components/atoms/increment-input/increment-input.preview.tsx +0 -26
- package/src/components/atoms/increment-input/increment-input.styles.d.ts +0 -35
- package/src/components/atoms/increment-input/increment-input.styles.js +0 -39
- package/src/components/atoms/increment-input/increment-input.test.js +0 -14
- package/src/components/atoms/line/line.component.d.ts +0 -9
- package/src/components/atoms/line/line.component.tsx +0 -23
- package/src/components/atoms/line/line.preview.d.ts +0 -2
- package/src/components/atoms/line/line.preview.tsx +0 -55
- package/src/components/atoms/line/line.styles.d.ts +0 -12
- package/src/components/atoms/line/line.styles.js +0 -10
- package/src/components/atoms/logo/__snapshots__/logo.test.js.snap +0 -113
- package/src/components/atoms/logo/logo.component.d.ts +0 -7
- package/src/components/atoms/logo/logo.component.tsx +0 -39
- package/src/components/atoms/logo/logo.preview.d.ts +0 -2
- package/src/components/atoms/logo/logo.preview.tsx +0 -15
- package/src/components/atoms/logo/logo.test.js +0 -16
- package/src/components/atoms/paragraph-components/index.d.ts +0 -4
- package/src/components/atoms/paragraph-components/index.tsx +0 -5
- package/src/components/atoms/paragraph-components/paragraph/__snapshots__/paragraph.test.js.snap +0 -121
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +0 -3
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.tsx +0 -28
- package/src/components/atoms/paragraph-components/paragraph/paragraph.test.js +0 -76
- package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +0 -2
- package/src/components/atoms/paragraph-components/paragraph-components.preview.tsx +0 -94
- package/src/components/atoms/paragraph-components/paragraph-text.styles.d.ts +0 -30
- package/src/components/atoms/paragraph-components/paragraph-text.styles.js +0 -41
- package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap +0 -121
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +0 -3
- package/src/components/atoms/paragraph-components/small-text/small-text.component.tsx +0 -28
- package/src/components/atoms/paragraph-components/small-text/small-text.test.js +0 -76
- package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap +0 -121
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +0 -3
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.tsx +0 -28
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.test.js +0 -76
- package/src/components/atoms/quick-message/__snapshots__/quick-message.test.js.snap +0 -143
- package/src/components/atoms/quick-message/quick-message.component.d.ts +0 -9
- package/src/components/atoms/quick-message/quick-message.component.tsx +0 -35
- package/src/components/atoms/quick-message/quick-message.preview.d.ts +0 -2
- package/src/components/atoms/quick-message/quick-message.preview.tsx +0 -43
- package/src/components/atoms/quick-message/quick-message.styles.d.ts +0 -17
- package/src/components/atoms/quick-message/quick-message.styles.js +0 -20
- package/src/components/atoms/quick-message/quick-message.test.js +0 -58
- package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +0 -333
- package/src/components/atoms/split-container/split-container.component.d.ts +0 -7
- package/src/components/atoms/split-container/split-container.component.tsx +0 -27
- package/src/components/atoms/split-container/split-container.preview.d.ts +0 -2
- package/src/components/atoms/split-container/split-container.preview.tsx +0 -62
- package/src/components/atoms/split-container/split-container.styles.d.ts +0 -14
- package/src/components/atoms/split-container/split-container.styles.js +0 -19
- package/src/components/atoms/split-container/split-container.test.js +0 -45
- package/src/components/atoms/static-wave/static-wave.component.d.ts +0 -9
- package/src/components/atoms/static-wave/static-wave.component.tsx +0 -46
- package/src/components/atoms/static-wave/static-wave.styles.d.ts +0 -14
- package/src/components/atoms/static-wave/static-wave.styles.js +0 -14
- package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +0 -123
- package/src/components/atoms/text-input/text-input.component.d.ts +0 -9
- package/src/components/atoms/text-input/text-input.component.tsx +0 -30
- package/src/components/atoms/text-input/text-input.preview.d.ts +0 -2
- package/src/components/atoms/text-input/text-input.preview.tsx +0 -41
- package/src/components/atoms/text-input/text-input.styles.d.ts +0 -33
- package/src/components/atoms/text-input/text-input.styles.js +0 -29
- package/src/components/atoms/text-input/text-input.test.js +0 -59
- package/src/components/molecules/amount/amount.component.d.ts +0 -12
- package/src/components/molecules/amount/amount.component.tsx +0 -148
- package/src/components/molecules/amount/amount.preview.d.ts +0 -2
- package/src/components/molecules/amount/amount.preview.tsx +0 -77
- package/src/components/molecules/amount/amount.styles.d.ts +0 -36
- package/src/components/molecules/amount/amount.styles.js +0 -40
- package/src/components/molecules/avatar/__snapshots__/avatar.test.js.snap +0 -97
- package/src/components/molecules/avatar/avatar.component.d.ts +0 -15
- package/src/components/molecules/avatar/avatar.component.tsx +0 -118
- package/src/components/molecules/avatar/avatar.preview.d.ts +0 -2
- package/src/components/molecules/avatar/avatar.preview.tsx +0 -82
- package/src/components/molecules/avatar/avatar.styles.d.ts +0 -102
- package/src/components/molecules/avatar/avatar.styles.js +0 -90
- package/src/components/molecules/avatar/avatar.test.js +0 -22
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +0 -9
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.native.tsx +0 -78
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +0 -52
- package/src/components/molecules/bare-time-picker/bare-time-picker.preview.d.ts +0 -2
- package/src/components/molecules/bare-time-picker/bare-time-picker.preview.tsx +0 -86
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +0 -14
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +0 -18
- package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +0 -107
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +0 -6
- package/src/components/molecules/blocked-message/blocked-message.component.tsx +0 -35
- package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +0 -2
- package/src/components/molecules/blocked-message/blocked-message.preview.tsx +0 -23
- package/src/components/molecules/blocked-message/blocked-message.styles.d.ts +0 -22
- package/src/components/molecules/blocked-message/blocked-message.styles.js +0 -21
- package/src/components/molecules/blocked-message/blocked-message.test.js +0 -12
- package/src/components/molecules/button/__snapshots__/button.test.js.snap +0 -652
- package/src/components/molecules/button/button.component.d.ts +0 -15
- package/src/components/molecules/button/button.component.tsx +0 -77
- package/src/components/molecules/button/button.preview.d.ts +0 -2
- package/src/components/molecules/button/button.preview.tsx +0 -57
- package/src/components/molecules/button/button.styles.d.ts +0 -18
- package/src/components/molecules/button/button.styles.js +0 -18
- package/src/components/molecules/button/button.test.js +0 -56
- package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +0 -343
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +0 -10
- package/src/components/molecules/calendar-select/calendar-select.component.tsx +0 -98
- package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +0 -2
- package/src/components/molecules/calendar-select/calendar-select.preview.tsx +0 -20
- package/src/components/molecules/calendar-select/calendar-select.styles.d.ts +0 -33
- package/src/components/molecules/calendar-select/calendar-select.styles.js +0 -37
- package/src/components/molecules/calendar-select/calendar-select.test.js +0 -20
- package/src/components/molecules/cancel-link/__snapshots__/cancel-link.test.js.snap +0 -139
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +0 -7
- package/src/components/molecules/cancel-link/cancel-link.component.tsx +0 -27
- package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +0 -2
- package/src/components/molecules/cancel-link/cancel-link.preview.tsx +0 -20
- package/src/components/molecules/cancel-link/cancel-link.styles.d.ts +0 -11
- package/src/components/molecules/cancel-link/cancel-link.styles.js +0 -15
- package/src/components/molecules/cancel-link/cancel-link.test.js +0 -28
- package/src/components/molecules/checkbox/__snapshots__/checkbox.test.js.snap +0 -176
- package/src/components/molecules/checkbox/checkbox.component.d.ts +0 -8
- package/src/components/molecules/checkbox/checkbox.component.tsx +0 -31
- package/src/components/molecules/checkbox/checkbox.preview.d.ts +0 -2
- package/src/components/molecules/checkbox/checkbox.preview.tsx +0 -46
- package/src/components/molecules/checkbox/checkbox.styles.d.ts +0 -32
- package/src/components/molecules/checkbox/checkbox.styles.js +0 -30
- package/src/components/molecules/checkbox/checkbox.test.js +0 -30
- package/src/components/molecules/contact-role/__snapshots__/contact-role.test.js.snap +0 -113
- package/src/components/molecules/contact-role/contact-role.component.d.ts +0 -8
- package/src/components/molecules/contact-role/contact-role.component.tsx +0 -37
- package/src/components/molecules/contact-role/contact-role.preview.d.ts +0 -2
- package/src/components/molecules/contact-role/contact-role.preview.tsx +0 -17
- package/src/components/molecules/contact-role/contact-role.styles.d.ts +0 -16
- package/src/components/molecules/contact-role/contact-role.styles.js +0 -20
- package/src/components/molecules/contact-role/contact-role.test.js +0 -18
- package/src/components/molecules/context-label/context-label.component.d.ts +0 -7
- package/src/components/molecules/context-label/context-label.component.tsx +0 -37
- package/src/components/molecules/context-label/context-label.preview.d.ts +0 -2
- package/src/components/molecules/context-label/context-label.preview.tsx +0 -70
- package/src/components/molecules/context-label/context-label.styles.d.ts +0 -18
- package/src/components/molecules/context-label/context-label.styles.js +0 -21
- package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +0 -140
- package/src/components/molecules/date-input/date-input.component.d.ts +0 -8
- package/src/components/molecules/date-input/date-input.component.tsx +0 -32
- package/src/components/molecules/date-input/date-input.preview.d.ts +0 -2
- package/src/components/molecules/date-input/date-input.preview.tsx +0 -62
- package/src/components/molecules/date-input/date-input.styles.d.ts +0 -18
- package/src/components/molecules/date-input/date-input.styles.js +0 -22
- package/src/components/molecules/date-input/date-input.test.js +0 -23
- package/src/components/molecules/day/__snapshots__/day.test.js.snap +0 -263
- package/src/components/molecules/day/day.component.d.ts +0 -13
- package/src/components/molecules/day/day.component.tsx +0 -69
- package/src/components/molecules/day/day.styles.d.ts +0 -35
- package/src/components/molecules/day/day.styles.js +0 -27
- package/src/components/molecules/day/day.test.js +0 -37
- package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +0 -140
- package/src/components/molecules/default-select/default-select.component.d.ts +0 -7
- package/src/components/molecules/default-select/default-select.component.tsx +0 -42
- package/src/components/molecules/default-select/default-select.preview.d.ts +0 -2
- package/src/components/molecules/default-select/default-select.preview.tsx +0 -34
- package/src/components/molecules/default-select/default-select.styles.d.ts +0 -13
- package/src/components/molecules/default-select/default-select.styles.js +0 -17
- package/src/components/molecules/default-select/default-select.test.js +0 -17
- package/src/components/molecules/department_logo/__snapshots__/department-logo.test.js.snap +0 -27
- package/src/components/molecules/department_logo/department-logo.component.d.ts +0 -6
- package/src/components/molecules/department_logo/department-logo.component.tsx +0 -21
- package/src/components/molecules/department_logo/department-logo.preview.d.ts +0 -2
- package/src/components/molecules/department_logo/department-logo.preview.tsx +0 -11
- package/src/components/molecules/department_logo/department-logo.styles.d.ts +0 -5
- package/src/components/molecules/department_logo/department-logo.styles.js +0 -9
- package/src/components/molecules/department_logo/department-logo.test.js +0 -12
- package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +0 -386
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +0 -9
- package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +0 -101
- package/src/components/molecules/failed-to-send/failed-bubble.styles.d.ts +0 -38
- package/src/components/molecules/failed-to-send/failed-bubble.styles.js +0 -42
- package/src/components/molecules/failed-to-send/failed-bubble.test.js +0 -75
- package/src/components/molecules/filter-range/__snapshots__/filter-range.test.js.snap +0 -208
- package/src/components/molecules/filter-range/filter-range.component.d.ts +0 -11
- package/src/components/molecules/filter-range/filter-range.component.tsx +0 -72
- package/src/components/molecules/filter-range/filter-range.preview.d.ts +0 -2
- package/src/components/molecules/filter-range/filter-range.preview.tsx +0 -26
- package/src/components/molecules/filter-range/filter-range.styles.d.ts +0 -22
- package/src/components/molecules/filter-range/filter-range.styles.js +0 -26
- package/src/components/molecules/filter-range/filter-range.test.js +0 -20
- package/src/components/molecules/filter-tab/__snapshots__/filter-tab.test.js.snap +0 -536
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +0 -11
- package/src/components/molecules/filter-tab/filter-tab.component.tsx +0 -108
- package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +0 -2
- package/src/components/molecules/filter-tab/filter-tab.preview.tsx +0 -80
- package/src/components/molecules/filter-tab/filter-tab.styles.d.ts +0 -59
- package/src/components/molecules/filter-tab/filter-tab.styles.js +0 -58
- package/src/components/molecules/filter-tab/filter-tab.test.js +0 -42
- package/src/components/molecules/info/__snapshots__/info.test.js.snap +0 -64
- package/src/components/molecules/info/info.component.d.ts +0 -8
- package/src/components/molecules/info/info.component.tsx +0 -39
- package/src/components/molecules/info/info.preview.d.ts +0 -2
- package/src/components/molecules/info/info.preview.tsx +0 -28
- package/src/components/molecules/info/info.styles.d.ts +0 -16
- package/src/components/molecules/info/info.styles.js +0 -20
- package/src/components/molecules/info/info.test.js +0 -18
- package/src/components/molecules/inline-error/inline-error.component.d.ts +0 -6
- package/src/components/molecules/inline-error/inline-error.component.tsx +0 -34
- package/src/components/molecules/inline-error/inline-error.preview.d.ts +0 -2
- package/src/components/molecules/inline-error/inline-error.preview.tsx +0 -22
- package/src/components/molecules/inline-error/inline-error.styles.d.ts +0 -18
- package/src/components/molecules/inline-error/inline-error.styles.js +0 -22
- package/src/components/molecules/inline-notice/inline-notice.component.d.ts +0 -6
- package/src/components/molecules/inline-notice/inline-notice.component.tsx +0 -31
- package/src/components/molecules/inline-notice/inline-notice.preview.tsx +0 -22
- package/src/components/molecules/inline-notice/inline-notice.styles.d.ts +0 -18
- package/src/components/molecules/inline-notice/inline-notice.styles.js +0 -22
- package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +0 -129
- package/src/components/molecules/language-button/language-button.component.d.ts +0 -8
- package/src/components/molecules/language-button/language-button.component.tsx +0 -33
- package/src/components/molecules/language-button/language-button.preview.d.ts +0 -2
- package/src/components/molecules/language-button/language-button.preview.tsx +0 -29
- package/src/components/molecules/language-button/language-button.styles.d.ts +0 -8
- package/src/components/molecules/language-button/language-button.styles.js +0 -12
- package/src/components/molecules/language-button/language-button.test.js +0 -29
- package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +0 -611
- package/src/components/molecules/message-input/message-input.component.d.ts +0 -9
- package/src/components/molecules/message-input/message-input.component.tsx +0 -54
- package/src/components/molecules/message-input/message-input.preview.d.ts +0 -2
- package/src/components/molecules/message-input/message-input.preview.tsx +0 -54
- package/src/components/molecules/message-input/message-input.styles.d.ts +0 -33
- package/src/components/molecules/message-input/message-input.styles.js +0 -37
- package/src/components/molecules/message-input/message-input.test.js +0 -63
- package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +0 -133
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +0 -8
- package/src/components/molecules/more-info-button/more-info-button.component.tsx +0 -33
- package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +0 -2
- package/src/components/molecules/more-info-button/more-info-button.preview.tsx +0 -29
- package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +0 -10
- package/src/components/molecules/more-info-button/more-info-button.styles.js +0 -15
- package/src/components/molecules/more-info-button/more-info-button.test.js +0 -29
- package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +0 -504
- package/src/components/molecules/password-input/password-input.component.d.ts +0 -8
- package/src/components/molecules/password-input/password-input.component.tsx +0 -55
- package/src/components/molecules/password-input/password-input.preview.d.ts +0 -2
- package/src/components/molecules/password-input/password-input.preview.tsx +0 -59
- package/src/components/molecules/password-input/password-input.styles.d.ts +0 -29
- package/src/components/molecules/password-input/password-input.styles.js +0 -33
- package/src/components/molecules/password-input/password-input.test.js +0 -46
- package/src/components/molecules/pill/__snapshots__/pill.test.js.snap +0 -226
- package/src/components/molecules/pill/pill.component.d.ts +0 -8
- package/src/components/molecules/pill/pill.component.tsx +0 -33
- package/src/components/molecules/pill/pill.preview.d.ts +0 -2
- package/src/components/molecules/pill/pill.preview.tsx +0 -23
- package/src/components/molecules/pill/pill.styles.d.ts +0 -32
- package/src/components/molecules/pill/pill.styles.js +0 -33
- package/src/components/molecules/pill/pill.test.js +0 -42
- package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +0 -460
- package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +0 -9
- package/src/components/molecules/pressable-icon/pressable-icon.component.tsx +0 -50
- package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +0 -2
- package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +0 -37
- package/src/components/molecules/pressable-icon/pressable-icon.styles.d.ts +0 -20
- package/src/components/molecules/pressable-icon/pressable-icon.styles.js +0 -25
- package/src/components/molecules/pressable-icon/pressable-icon.test.js +0 -51
- package/src/components/molecules/quick-filter/__snapshots__/quick-filter.test.js.snap +0 -557
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +0 -12
- package/src/components/molecules/quick-filter/quick-filter.component.tsx +0 -50
- package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +0 -2
- package/src/components/molecules/quick-filter/quick-filter.preview.tsx +0 -57
- package/src/components/molecules/quick-filter/quick-filter.styles.d.ts +0 -35
- package/src/components/molecules/quick-filter/quick-filter.styles.js +0 -49
- package/src/components/molecules/quick-filter/quick-filter.test.js +0 -134
- package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +0 -145
- package/src/components/molecules/search-input/search.component.d.ts +0 -10
- package/src/components/molecules/search-input/search.component.tsx +0 -50
- package/src/components/molecules/search-input/search.preview.d.ts +0 -2
- package/src/components/molecules/search-input/search.preview.tsx +0 -26
- package/src/components/molecules/search-input/search.styles.d.ts +0 -33
- package/src/components/molecules/search-input/search.styles.js +0 -38
- package/src/components/molecules/search-input/search.test.js +0 -22
- package/src/components/molecules/select-link/__snapshots__/select-link.test.js.snap +0 -70
- package/src/components/molecules/select-link/select-link.component.d.ts +0 -7
- package/src/components/molecules/select-link/select-link.component.tsx +0 -29
- package/src/components/molecules/select-link/select-link.preview.d.ts +0 -2
- package/src/components/molecules/select-link/select-link.preview.tsx +0 -20
- package/src/components/molecules/select-link/select-link.styles.d.ts +0 -11
- package/src/components/molecules/select-link/select-link.styles.js +0 -15
- package/src/components/molecules/select-link/select-link.test.js +0 -17
- package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +0 -762
- package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +0 -2
- package/src/components/molecules/select-list-item/select-list-item-preview.tsx +0 -40
- package/src/components/molecules/select-list-item/select-list-item.component.d.ts +0 -12
- package/src/components/molecules/select-list-item/select-list-item.component.tsx +0 -82
- package/src/components/molecules/select-list-item/select-list-item.styles.d.ts +0 -41
- package/src/components/molecules/select-list-item/select-list-item.styles.js +0 -43
- package/src/components/molecules/select-list-item/select-list-item.test.js +0 -38
- package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +0 -407
- package/src/components/molecules/select-picker/select-picker.component.d.ts +0 -12
- package/src/components/molecules/select-picker/select-picker.component.tsx +0 -75
- package/src/components/molecules/select-picker/select-picker.preview.d.ts +0 -2
- package/src/components/molecules/select-picker/select-picker.preview.tsx +0 -63
- package/src/components/molecules/select-picker/select-picker.styles.d.ts +0 -32
- package/src/components/molecules/select-picker/select-picker.styles.js +0 -38
- package/src/components/molecules/select-picker/select-picker.test.js +0 -31
- package/src/components/molecules/selectable-list-item/selectable-list-item-preview.d.ts +0 -2
- package/src/components/molecules/selectable-list-item/selectable-list-item-preview.tsx +0 -51
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +0 -11
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +0 -73
- package/src/components/molecules/selectable-list-item/selectable-list-item.styles.d.ts +0 -32
- package/src/components/molecules/selectable-list-item/selectable-list-item.styles.js +0 -34
- package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +0 -1979
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +0 -11
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +0 -104
- package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +0 -60
- package/src/components/molecules/send-bubble/send-text-bubble.styles.js +0 -50
- package/src/components/molecules/send-bubble/send-text-bubble.test.js +0 -156
- package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +0 -557
- package/src/components/molecules/snackbar/snackbar.component.d.ts +0 -8
- package/src/components/molecules/snackbar/snackbar.component.tsx +0 -65
- package/src/components/molecules/snackbar/snackbar.preview.d.ts +0 -2
- package/src/components/molecules/snackbar/snackbar.preview.tsx +0 -40
- package/src/components/molecules/snackbar/snackbar.styles.d.ts +0 -57
- package/src/components/molecules/snackbar/snackbar.styles.js +0 -54
- package/src/components/molecules/snackbar/snackbar.test.js +0 -35
- package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +0 -340
- package/src/components/molecules/swipe/swipe.component.d.ts +0 -7
- package/src/components/molecules/swipe/swipe.component.native.tsx +0 -78
- package/src/components/molecules/swipe/swipe.component.tsx +0 -20
- package/src/components/molecules/swipe/swipe.preview.d.ts +0 -2
- package/src/components/molecules/swipe/swipe.preview.tsx +0 -123
- package/src/components/molecules/swipe/swipe.styles.d.ts +0 -28
- package/src/components/molecules/swipe/swipe.styles.js +0 -32
- package/src/components/molecules/swipe/swipe.test.js +0 -46
- package/src/components/molecules/swipeable/swipeable-action.component.d.ts +0 -10
- package/src/components/molecules/swipeable/swipeable-action.component.tsx +0 -57
- package/src/components/molecules/swipeable/swipeable-action.styles.d.ts +0 -12
- package/src/components/molecules/swipeable/swipeable-action.styles.js +0 -20
- package/src/components/molecules/swipeable/swipeable-container.component.d.ts +0 -14
- package/src/components/molecules/swipeable/swipeable-container.component.tsx +0 -69
- package/src/components/molecules/swipeable/swipeable-container.styles.d.ts +0 -9
- package/src/components/molecules/swipeable/swipeable-container.styles.js +0 -14
- package/src/components/molecules/tag/__snapshots__/tag.test.js.snap +0 -139
- package/src/components/molecules/tag/tag.component.d.ts +0 -9
- package/src/components/molecules/tag/tag.component.tsx +0 -39
- package/src/components/molecules/tag/tag.preview.d.ts +0 -2
- package/src/components/molecules/tag/tag.preview.tsx +0 -85
- package/src/components/molecules/tag/tag.styles.d.ts +0 -19
- package/src/components/molecules/tag/tag.styles.js +0 -19
- package/src/components/molecules/tag/tag.test.js +0 -34
- package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +0 -2221
- package/src/components/molecules/time-picker/time-picker.component.d.ts +0 -9
- package/src/components/molecules/time-picker/time-picker.component.tsx +0 -98
- package/src/components/molecules/time-picker/time-picker.preview.d.ts +0 -2
- package/src/components/molecules/time-picker/time-picker.preview.tsx +0 -109
- package/src/components/molecules/time-picker/time-picker.styles.d.ts +0 -27
- package/src/components/molecules/time-picker/time-picker.styles.js +0 -31
- package/src/components/molecules/time-picker/time-picker.test.js +0 -18
- package/src/components/molecules/time-tracker/__snapshots__/time-tracker.test.js.snap +0 -266
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +0 -9
- package/src/components/molecules/time-tracker/time-tracker.component.tsx +0 -30
- package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +0 -2
- package/src/components/molecules/time-tracker/time-tracker.preview.tsx +0 -15
- package/src/components/molecules/time-tracker/time-tracker.styles.d.ts +0 -33
- package/src/components/molecules/time-tracker/time-tracker.styles.js +0 -32
- package/src/components/molecules/time-tracker/time-tracker.test.js +0 -36
- package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +0 -257
- package/src/components/molecules/timeline/timeline.component.d.ts +0 -7
- package/src/components/molecules/timeline/timeline.component.tsx +0 -69
- package/src/components/molecules/timeline/timeline.preview.d.ts +0 -2
- package/src/components/molecules/timeline/timeline.preview.tsx +0 -32
- package/src/components/molecules/timeline/timeline.styles.d.ts +0 -61
- package/src/components/molecules/timeline/timeline.styles.js +0 -46
- package/src/components/molecules/timeline/timeline.test.js +0 -18
- package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +0 -28
- package/src/components/molecules/timestamp/timestamp.component.d.ts +0 -8
- package/src/components/molecules/timestamp/timestamp.component.tsx +0 -30
- package/src/components/molecules/timestamp/timestamp.styles.d.ts +0 -5
- package/src/components/molecules/timestamp/timestamp.styles.js +0 -8
- package/src/components/molecules/timestamp/timestamp.test.js +0 -16
- package/src/components/molecules/wave-background/__snapshots__/wave.test.js.snap +0 -173
- package/src/components/molecules/wave-background/wave.component.d.ts +0 -3
- package/src/components/molecules/wave-background/wave.component.tsx +0 -35
- package/src/components/molecules/wave-background/wave.preview.d.ts +0 -2
- package/src/components/molecules/wave-background/wave.preview.tsx +0 -78
- package/src/components/molecules/wave-background/wave.styles.d.ts +0 -13
- package/src/components/molecules/wave-background/wave.styles.js +0 -13
- package/src/components/molecules/wave-background/wave.test.js +0 -25
- package/src/components/molecules/wide-button/__snapshots__/wide-button.test.js.snap +0 -269
- package/src/components/molecules/wide-button/wide-button.component.d.ts +0 -9
- package/src/components/molecules/wide-button/wide-button.component.tsx +0 -39
- package/src/components/molecules/wide-button/wide-button.preview.d.ts +0 -2
- package/src/components/molecules/wide-button/wide-button.preview.tsx +0 -28
- package/src/components/molecules/wide-button/wide-button.styles.d.ts +0 -15
- package/src/components/molecules/wide-button/wide-button.styles.js +0 -19
- package/src/components/molecules/wide-button/wide-button.test.js +0 -30
- package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +0 -1040
- package/src/components/organisms/child-list-item/child-list-item.component.d.ts +0 -23
- package/src/components/organisms/child-list-item/child-list-item.component.tsx +0 -166
- package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +0 -2
- package/src/components/organisms/child-list-item/child-list-item.preview.tsx +0 -141
- package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +0 -57
- package/src/components/organisms/child-list-item/child-list-item.styles.js +0 -61
- package/src/components/organisms/child-list-item/child-list-item.test.js +0 -75
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +0 -7
- package/src/components/organisms/child-list-item/components/child-list-tag.component.tsx +0 -28
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.d.ts +0 -13
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.js +0 -16
- package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +0 -404
- package/src/components/organisms/contact-item/contact-item.component.d.ts +0 -10
- package/src/components/organisms/contact-item/contact-item.component.tsx +0 -85
- package/src/components/organisms/contact-item/contact-item.preview.d.ts +0 -2
- package/src/components/organisms/contact-item/contact-item.preview.tsx +0 -38
- package/src/components/organisms/contact-item/contact-item.styles.d.ts +0 -22
- package/src/components/organisms/contact-item/contact-item.styles.js +0 -27
- package/src/components/organisms/contact-item/contact-item.test.js +0 -22
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +0 -7
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.tsx +0 -96
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.d.ts +0 -13
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.js +0 -17
- package/src/components/organisms/journal-entry/components/index.d.ts +0 -2
- package/src/components/organisms/journal-entry/components/index.ts +0 -2
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +0 -11
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +0 -63
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.d.ts +0 -13
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.js +0 -16
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +0 -20
- package/src/components/organisms/journal-entry/journal-entry.component.tsx +0 -134
- package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +0 -2
- package/src/components/organisms/journal-entry/journal-entry.preview.tsx +0 -214
- package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +0 -26
- package/src/components/organisms/journal-entry/journal-entry.styles.js +0 -27
- package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +0 -474
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +0 -3
- package/src/components/organisms/loading-indicator/animation-style.animate.ts +0 -164
- package/src/components/organisms/loading-indicator/container.component.d.ts +0 -1
- package/src/components/organisms/loading-indicator/container.component.tsx +0 -65
- package/src/components/organisms/loading-indicator/dot.component.d.ts +0 -6
- package/src/components/organisms/loading-indicator/dot.component.tsx +0 -27
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +0 -2
- package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +0 -21
- package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +0 -2
- package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +0 -100
- package/src/components/organisms/loading-indicator/loading-indicator.test.js +0 -41
- package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +0 -293
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +0 -13
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +0 -61
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +0 -2
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +0 -51
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +0 -33
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +0 -37
- package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +0 -23
- package/src/components/organisms/person-info-card/__snapshots__/person-info-card.test.js.snap +0 -709
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +0 -15
- package/src/components/organisms/person-info-card/person-info-card.component.tsx +0 -45
- package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +0 -2
- package/src/components/organisms/person-info-card/person-info-card.preview.tsx +0 -75
- package/src/components/organisms/person-info-card/person-info-card.styles.d.ts +0 -6
- package/src/components/organisms/person-info-card/person-info-card.styles.js +0 -10
- package/src/components/organisms/person-info-card/person-info-card.test.js +0 -85
- package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +0 -3046
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +0 -15
- package/src/components/organisms/text-bubble/text-bubble.component.tsx +0 -71
- package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +0 -2
- package/src/components/organisms/text-bubble/text-bubble.preview.tsx +0 -85
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +0 -16
- package/src/components/organisms/text-bubble/text-bubble.styles.js +0 -20
- package/src/components/organisms/text-bubble/text-bubble.test.js +0 -144
- package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +0 -17
- package/src/components/organisms/timetable-edit/timetable-edit.component.tsx +0 -97
- package/src/components/organisms/timetable-edit/timetable-edit.preview.d.ts +0 -2
- package/src/components/organisms/timetable-edit/timetable-edit.preview.tsx +0 -84
- package/src/components/organisms/timetable-edit/timetable-edit.styles.d.ts +0 -21
- package/src/components/organisms/timetable-edit/timetable-edit.styles.js +0 -25
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +0 -12
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.tsx +0 -70
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +0 -8
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.tsx +0 -72
- package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +0 -8
- package/src/components/organisms/timetable-editor/timetable-editor.component.tsx +0 -84
- package/src/components/organisms/timetable-editor/timetable-editor.preview.d.ts +0 -2
- package/src/components/organisms/timetable-editor/timetable-editor.preview.tsx +0 -53
- package/src/components/organisms/timetable-editor/timetable-editor.styles.d.ts +0 -8
- package/src/components/organisms/timetable-editor/timetable-editor.styles.js +0 -12
- package/src/components/templates/modal/components/fade-panel.component.d.ts +0 -11
- package/src/components/templates/modal/components/fade-panel.component.tsx +0 -53
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +0 -18
- package/src/components/templates/modal/components/fade-panel.styles.js +0 -19
- package/src/components/templates/modal/modal-preview.styles.d.ts +0 -13
- package/src/components/templates/modal/modal-preview.styles.js +0 -17
- package/src/components/templates/modal/modal.component.d.ts +0 -10
- package/src/components/templates/modal/modal.component.tsx +0 -53
- package/src/components/templates/modal/modal.preview.d.ts +0 -2
- package/src/components/templates/modal/modal.preview.tsx +0 -48
- package/src/components/templates/modal/modal.styles.d.ts +0 -23
- package/src/components/templates/modal/modal.styles.js +0 -28
- package/src/components/templates/popover/components/foreground/foreground.component.d.ts +0 -7
- package/src/components/templates/popover/components/foreground/foreground.component.tsx +0 -15
- package/src/components/templates/popover/components/foreground/foreground.styles.d.ts +0 -12
- package/src/components/templates/popover/components/foreground/foreground.styles.js +0 -17
- package/src/components/templates/popover/components/index.d.ts +0 -4
- package/src/components/templates/popover/components/index.js +0 -5
- package/src/components/templates/popover/components/modal/close/close.component.d.ts +0 -7
- package/src/components/templates/popover/components/modal/close/close.component.tsx +0 -28
- package/src/components/templates/popover/components/modal/close/close.styles.d.ts +0 -10
- package/src/components/templates/popover/components/modal/close/close.styles.js +0 -16
- package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +0 -7
- package/src/components/templates/popover/components/modal/heading/heading.component.tsx +0 -35
- package/src/components/templates/popover/components/modal/heading/heading.styles.d.ts +0 -14
- package/src/components/templates/popover/components/modal/heading/heading.styles.js +0 -19
- package/src/components/templates/popover/components/modal/modal.component.d.ts +0 -12
- package/src/components/templates/popover/components/modal/modal.component.tsx +0 -92
- package/src/components/templates/popover/components/modal/modal.styles.d.ts +0 -19
- package/src/components/templates/popover/components/modal/modal.styles.js +0 -24
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +0 -6
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.tsx +0 -20
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.d.ts +0 -6
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.styles.js +0 -10
- package/src/components/templates/popover/popover.component.d.ts +0 -11
- package/src/components/templates/popover/popover.component.tsx +0 -67
- package/src/components/templates/popover/popover.preview.d.ts +0 -2
- package/src/components/templates/popover/popover.preview.tsx +0 -99
- package/src/components/templates/popover/popover.styles.d.ts +0 -11
- package/src/components/templates/popover/popover.styles.js +0 -15
- package/src/components/templates/popover-action/popover-action.component.d.ts +0 -12
- package/src/components/templates/popover-action/popover-action.component.tsx +0 -127
- package/src/components/templates/popover-action/popover-action.preview.d.ts +0 -2
- package/src/components/templates/popover-action/popover-action.preview.tsx +0 -142
- package/src/components/templates/popover-action/popover-action.styles.d.ts +0 -28
- package/src/components/templates/popover-action/popover-action.styles.js +0 -33
- package/src/context/loading-dots.context.d.ts +0 -8
- package/src/context/loading-dots.context.tsx +0 -33
- package/src/context/theme.context.d.ts +0 -74
- package/src/context/theme.context.ts +0 -77
- package/src/gradients/main/main.gradient.d.ts +0 -6
- package/src/gradients/main/main.gradient.tsx +0 -29
- package/src/gradients/main/main.styles.d.ts +0 -9
- package/src/gradients/main/main.styles.js +0 -11
- package/src/hooks/use-debounce.d.ts +0 -1
- package/src/hooks/use-debounce.ts +0 -15
- package/src/icons/__snapshots__/icons.test.js.snap +0 -3152
- package/src/icons/crown.icon.d.ts +0 -2
- package/src/icons/crown.icon.tsx +0 -29
- package/src/icons/icons.test.js +0 -328
- package/src/icons/index.d.ts +0 -3
- package/src/icons/index.tsx +0 -16
- package/src/icons/outline/calendar/calendar.icon.d.ts +0 -3
- package/src/icons/outline/calendar/calendar.icon.tsx +0 -24
- package/src/icons/outline/chat/chat.icon.d.ts +0 -3
- package/src/icons/outline/chat/chat.icon.tsx +0 -24
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +0 -3
- package/src/icons/outline/chat-alt/chat-alt.icon.tsx +0 -24
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +0 -3
- package/src/icons/outline/check-circle/check-circle.icon.tsx +0 -24
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +0 -3
- package/src/icons/outline/chevron-left/chevron-left.icon.tsx +0 -24
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +0 -3
- package/src/icons/outline/chevron-right/chevron-right.icon.tsx +0 -24
- package/src/icons/outline/clock/clock.icon.d.ts +0 -3
- package/src/icons/outline/clock/clock.icon.tsx +0 -24
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +0 -3
- package/src/icons/outline/cloud-download/cloud-download.icon.tsx +0 -24
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +0 -3
- package/src/icons/outline/currency-euro/currency-euro.icon.tsx +0 -24
- package/src/icons/outline/document-text/document-text.icon.d.ts +0 -3
- package/src/icons/outline/document-text/document-text.icon.tsx +0 -21
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +0 -3
- package/src/icons/outline/exclamation/exclamation.icon.tsx +0 -21
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +0 -3
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +0 -24
- package/src/icons/outline/eye/eye.icon.d.ts +0 -3
- package/src/icons/outline/eye/eye.icon.tsx +0 -28
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +0 -3
- package/src/icons/outline/eye-off/eye-off.icon.tsx +0 -21
- package/src/icons/outline/filter/filter.icon.d.ts +0 -3
- package/src/icons/outline/filter/filter.icon.tsx +0 -22
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +0 -3
- package/src/icons/outline/information-circle/information-circle.icon.tsx +0 -24
- package/src/icons/outline/logout/logout.icon.d.ts +0 -3
- package/src/icons/outline/logout/logout.icon.tsx +0 -27
- package/src/icons/outline/mail/mail.icon.d.ts +0 -3
- package/src/icons/outline/mail/mail.icon.tsx +0 -24
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +0 -3
- package/src/icons/outline/mail-open/mail-open.icon.tsx +0 -24
- package/src/icons/outline/menu/menu.icon.d.ts +0 -3
- package/src/icons/outline/menu/menu.icon.tsx +0 -24
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +0 -3
- package/src/icons/outline/minus-sm/minus-sm.icon.tsx +0 -24
- package/src/icons/outline/office-building/office-building.icon.d.ts +0 -3
- package/src/icons/outline/office-building/office-building.icon.tsx +0 -24
- package/src/icons/outline/outline-default.preview.d.ts +0 -2
- package/src/icons/outline/outline-default.preview.tsx +0 -115
- package/src/icons/outline/outline-grey.preview.d.ts +0 -2
- package/src/icons/outline/outline-grey.preview.tsx +0 -117
- package/src/icons/outline/outline-white.preview.d.ts +0 -2
- package/src/icons/outline/outline-white.preview.tsx +0 -121
- package/src/icons/outline/outline.d.ts +0 -2
- package/src/icons/outline/outline.tsx +0 -146
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +0 -3
- package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +0 -30
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +0 -3
- package/src/icons/outline/paperclip/paperclip.icon.tsx +0 -24
- package/src/icons/outline/pencil/pencil.icon.d.ts +0 -3
- package/src/icons/outline/pencil/pencil.icon.tsx +0 -24
- package/src/icons/outline/phone/phone.icon.d.ts +0 -3
- package/src/icons/outline/phone/phone.icon.tsx +0 -24
- package/src/icons/outline/photograph/photograph.icon.d.ts +0 -3
- package/src/icons/outline/photograph/photograph.icon.tsx +0 -24
- package/src/icons/outline/plus/plus.icon.d.ts +0 -3
- package/src/icons/outline/plus/plus.icon.tsx +0 -24
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +0 -3
- package/src/icons/outline/plus-sm/plus-sm.icon.tsx +0 -21
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +0 -3
- package/src/icons/outline/qrcode/qrcode.icon.tsx +0 -18
- package/src/icons/outline/refresh/refresh.icon.d.ts +0 -3
- package/src/icons/outline/refresh/refresh.icon.tsx +0 -24
- package/src/icons/outline/search/search.icon.d.ts +0 -3
- package/src/icons/outline/search/search.icon.tsx +0 -24
- package/src/icons/outline/selector/selector.icon.d.ts +0 -3
- package/src/icons/outline/selector/selector.icon.tsx +0 -24
- package/src/icons/outline/share/share.icon.d.ts +0 -3
- package/src/icons/outline/share/share.icon.tsx +0 -24
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -3
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +0 -24
- package/src/icons/outline/status-online/status-online.icon.d.ts +0 -3
- package/src/icons/outline/status-online/status-online.icon.tsx +0 -24
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +0 -3
- package/src/icons/outline/thumb-up/thumb-up.icon.tsx +0 -24
- package/src/icons/outline/trash/trash.icon.d.ts +0 -3
- package/src/icons/outline/trash/trash.icon.tsx +0 -24
- package/src/icons/outline/user/user.icon.d.ts +0 -3
- package/src/icons/outline/user/user.icon.tsx +0 -33
- package/src/icons/outline/user-group/user-group.icon.d.ts +0 -3
- package/src/icons/outline/user-group/user-group.icon.tsx +0 -24
- package/src/icons/outline/users/users.icon.d.ts +0 -3
- package/src/icons/outline/users/users.icon.tsx +0 -24
- package/src/icons/outline/xmark/xmark.icon.d.ts +0 -3
- package/src/icons/outline/xmark/xmark.icon.tsx +0 -24
- package/src/icons/solid/calendar/calendar.icon.d.ts +0 -3
- package/src/icons/solid/calendar/calendar.icon.tsx +0 -21
- package/src/icons/solid/chat/chat.icon.d.ts +0 -3
- package/src/icons/solid/chat/chat.icon.tsx +0 -21
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +0 -3
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +0 -21
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +0 -3
- package/src/icons/solid/check-circle/check-circle.icon.tsx +0 -21
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +0 -3
- package/src/icons/solid/chevron-left/chevron-left.icon.tsx +0 -21
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +0 -3
- package/src/icons/solid/chevron-right/chevron-right.icon.tsx +0 -21
- package/src/icons/solid/clock/clock-solid.icon.d.ts +0 -3
- package/src/icons/solid/clock/clock-solid.icon.tsx +0 -22
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +0 -3
- package/src/icons/solid/cloud-download/cloud-download.icon.tsx +0 -21
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +0 -3
- package/src/icons/solid/currency-euro/currency-euro.icon.tsx +0 -21
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +0 -3
- package/src/icons/solid/document-text/document-text-solid.icon.tsx +0 -22
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +0 -3
- package/src/icons/solid/exclamation/exclamation.icon.tsx +0 -20
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +0 -3
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +0 -23
- package/src/icons/solid/eye/eye.icon.d.ts +0 -3
- package/src/icons/solid/eye/eye.icon.tsx +0 -24
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +0 -3
- package/src/icons/solid/eye-off/eye-off.icon.tsx +0 -24
- package/src/icons/solid/filter/filter.icon.d.ts +0 -3
- package/src/icons/solid/filter/filter.icon.tsx +0 -21
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +0 -3
- package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +0 -25
- package/src/icons/solid/logout/logout.icon.d.ts +0 -3
- package/src/icons/solid/logout/logout.icon.tsx +0 -26
- package/src/icons/solid/mail/mail.icon.d.ts +0 -3
- package/src/icons/solid/mail/mail.icon.tsx +0 -23
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +0 -3
- package/src/icons/solid/mail-open/mail-open.icon.tsx +0 -21
- package/src/icons/solid/menu/menu.icon.d.ts +0 -3
- package/src/icons/solid/menu/menu.icon.tsx +0 -33
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +0 -3
- package/src/icons/solid/minus-sm/minus-sm.icon.tsx +0 -21
- package/src/icons/solid/office-building/office-building.icon.d.ts +0 -3
- package/src/icons/solid/office-building/office-building.icon.tsx +0 -21
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +0 -3
- package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +0 -25
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +0 -3
- package/src/icons/solid/paperclip/paperclip.icon.tsx +0 -21
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +0 -3
- package/src/icons/solid/pencil/pencil-solid.icon.tsx +0 -24
- package/src/icons/solid/phone/phone-solid.icon.d.ts +0 -3
- package/src/icons/solid/phone/phone-solid.icon.tsx +0 -20
- package/src/icons/solid/photograph/photograph-solid.icon.d.ts +0 -3
- package/src/icons/solid/photograph/photograph-solid.icon.tsx +0 -20
- package/src/icons/solid/plus/plus.icon.d.ts +0 -3
- package/src/icons/solid/plus/plus.icon.tsx +0 -21
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +0 -3
- package/src/icons/solid/plus-sm/plus-sm.icon.tsx +0 -21
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +0 -3
- package/src/icons/solid/qrcode/qrcode.icon.tsx +0 -60
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +0 -3
- package/src/icons/solid/refresh/refresh-solid.icon.tsx +0 -22
- package/src/icons/solid/search/search.icon.d.ts +0 -3
- package/src/icons/solid/search/search.icon.tsx +0 -21
- package/src/icons/solid/selector/selector.icon.d.ts +0 -3
- package/src/icons/solid/selector/selector.icon.tsx +0 -21
- package/src/icons/solid/share/share.icon.d.ts +0 -3
- package/src/icons/solid/share/share.icon.tsx +0 -19
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -3
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +0 -31
- package/src/icons/solid/solid.d.ts +0 -2
- package/src/icons/solid/solid.preview.d.ts +0 -2
- package/src/icons/solid/solid.preview.tsx +0 -146
- package/src/icons/solid/solid.tsx +0 -141
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +0 -3
- package/src/icons/solid/status-online/status-online-solid.icon.tsx +0 -22
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +0 -3
- package/src/icons/solid/thumb-up/thumb-up.icon.tsx +0 -23
- package/src/icons/solid/trash/trash-solid.icon.d.ts +0 -3
- package/src/icons/solid/trash/trash-solid.icon.tsx +0 -22
- package/src/icons/solid/user/user.icon.d.ts +0 -3
- package/src/icons/solid/user/user.icon.tsx +0 -23
- package/src/icons/solid/user-group/user-group.icon.d.ts +0 -3
- package/src/icons/solid/user-group/user-group.icon.tsx +0 -72
- package/src/icons/solid/users/users-solid.icon.d.ts +0 -3
- package/src/icons/solid/users/users-solid.icon.tsx +0 -57
- package/src/icons/solid/xmark/xmark.icon.d.ts +0 -3
- package/src/icons/solid/xmark/xmark.icon.tsx +0 -21
- package/src/interfaces/icon.interface.d.ts +0 -11
- package/src/interfaces/icon.interface.ts +0 -12
- package/src/models/hex-color.model.d.ts +0 -6
- package/src/models/hex-color.model.ts +0 -25
- package/src/models/hex-color.test.js +0 -20
- package/src/models/initials.model.d.ts +0 -7
- package/src/models/initials.model.ts +0 -32
- package/src/models/initials.test.js +0 -23
- package/src/models/time-slot-record.d.ts +0 -15
- package/src/models/time-slot-record.ts +0 -37
- package/src/models/time-slot-sequence.d.ts +0 -15
- package/src/models/time-slot-sequence.ts +0 -79
- package/src/theme/font/font.d.ts +0 -72
- package/src/theme/font/font.ts +0 -72
- package/src/theme/font/index.d.ts +0 -3
- package/src/theme/font/index.ts +0 -4
- package/src/theme/font/load-fonts.d.ts +0 -1
- package/src/theme/font/load-fonts.ts +0 -10
- package/src/theme/provider/index.d.ts +0 -3
- package/src/theme/provider/index.ts +0 -4
- package/src/theme/provider/parent.theme.d.ts +0 -71
- package/src/theme/provider/parent.theme.ts +0 -73
- package/src/theme/provider/staff-member.theme.d.ts +0 -71
- package/src/theme/provider/staff-member.theme.ts +0 -73
- package/src/theme/responsive/index.d.ts +0 -2
- package/src/theme/responsive/index.ts +0 -17
- package/src/theme/scale/index.d.ts +0 -12
- package/src/theme/scale/index.ts +0 -14
- package/src/types/bubble-alignment.enum.d.ts +0 -4
- package/src/types/bubble-alignment.enum.ts +0 -4
- package/src/types/icontype.type.d.ts +0 -2
- package/src/types/icontype.type.ts +0 -45
- package/src/types/keyboard-types.enum.d.ts +0 -9
- package/src/types/keyboard-types.enum.ts +0 -9
- package/src/types/loading-dots.type.d.ts +0 -8
- package/src/types/loading-dots.type.ts +0 -8
- package/src/types/size.enum.d.ts +0 -5
- package/src/types/size.enum.ts +0 -5
- package/src/types/state.enum.d.ts +0 -7
- package/src/types/state.enum.ts +0 -7
- package/src/types/text-properties.type.d.ts +0 -11
- package/src/types/text-properties.type.ts +0 -12
- package/src/types/timetable-edit.enum.d.ts +0 -5
- package/src/types/timetable-edit.enum.ts +0 -5
- package/src/types/visual-state.enum.d.ts +0 -7
- package/src/types/visual-state.enum.ts +0 -7
- package/src/utilities/color-handler/color-handler.d.ts +0 -4
- package/src/utilities/color-handler/color-handler.ts +0 -74
- package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +0 -22
- package/src/utilities/toddle-datetime/interfaces/duration.interface.tsx +0 -23
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +0 -22
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.tsx +0 -25
- package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +0 -50
- package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +0 -206
- package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +0 -2
- package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +0 -160
- package/src/utilities/toddle-datetime/toddle-datetime.test.js +0 -127
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +0 -4
- package/src/utilities/toddle-datetime/types/duration.type.tsx +0 -6
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +0 -5
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.tsx +0 -23
- package/tsconfig.json +0 -13
- package/types/src/components/atoms/avatar/avatar.component.d.ts +0 -11
- package/types/src/components/atoms/avatar/avatar.styles.d.ts +0 -36
- package/types/src/components/atoms/button/button.component.d.ts +0 -9
- package/types/src/components/atoms/button/button.styles.d.ts +0 -20
- package/types/src/components/atoms/cancel-link/cancel-link.component.d.ts +0 -7
- package/types/src/components/atoms/cancel-link/cancel-link.styles.d.ts +0 -17
- package/types/src/components/atoms/check-switch/check-switch.component.d.ts +0 -7
- package/types/src/components/atoms/check-switch/check-switch.styles.d.ts +0 -30
- package/types/src/components/atoms/checkbox/checkbox.component.d.ts +0 -8
- package/types/src/components/atoms/checkbox/checkbox.styles.d.ts +0 -32
- package/types/src/components/atoms/child-list-item/child-list-item.component.d.ts +0 -19
- package/types/src/components/atoms/child-list-item/child-list-item.styles.d.ts +0 -68
- package/types/src/components/atoms/contact-item/contact-item.component.d.ts +0 -10
- package/types/src/components/atoms/contact-item/contact-item.styles.d.ts +0 -24
- package/types/src/components/atoms/filter-tab/filter-tab.component.d.ts +0 -9
- package/types/src/components/atoms/filter-tab/filter-tab.styles.d.ts +0 -61
- package/types/src/components/atoms/form-actions/form-action.component.d.ts +0 -7
- package/types/src/components/atoms/form-actions/form-action.styles.d.ts +0 -14
- package/types/src/components/atoms/image-bubble/image-bubble.component.d.ts +0 -9
- package/types/src/components/atoms/image-bubble/image-bubble.styles.d.ts +0 -27
- package/types/src/components/atoms/info/info.component.d.ts +0 -7
- package/types/src/components/atoms/info/info.styles.d.ts +0 -24
- package/types/src/components/atoms/pill/pill.component.d.ts +0 -8
- package/types/src/components/atoms/pill/pill.styles.d.ts +0 -24
- package/types/src/components/atoms/popover/components/backdrop/backdrop.component.d.ts +0 -6
- package/types/src/components/atoms/popover/components/backdrop/backdrop.styles.d.ts +0 -11
- package/types/src/components/atoms/popover/components/foreground/foreground.component.d.ts +0 -7
- package/types/src/components/atoms/popover/components/foreground/foreground.styles.d.ts +0 -12
- package/types/src/components/atoms/popover/components/index.d.ts +0 -4
- package/types/src/components/atoms/popover/components/modal/close/close.component.d.ts +0 -7
- package/types/src/components/atoms/popover/components/modal/close/close.styles.d.ts +0 -9
- package/types/src/components/atoms/popover/components/modal/heading/heading.component.d.ts +0 -7
- package/types/src/components/atoms/popover/components/modal/heading/heading.styles.d.ts +0 -22
- package/types/src/components/atoms/popover/components/modal/modal.component.d.ts +0 -11
- package/types/src/components/atoms/popover/components/modal/modal.styles.d.ts +0 -18
- package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.d.ts +0 -6
- package/types/src/components/atoms/popover/components/modal/scroll-content/scroll-content.styles.d.ts +0 -6
- package/types/src/components/atoms/popover/popover.component.d.ts +0 -10
- package/types/src/components/atoms/popover/popover.styles.d.ts +0 -8
- package/types/src/components/atoms/pressable-icon/pressable-icon.component.d.ts +0 -9
- package/types/src/components/atoms/pressable-icon/pressable-icon.styles.d.ts +0 -17
- package/types/src/components/atoms/quick-filter/quick-filter.component.d.ts +0 -11
- package/types/src/components/atoms/quick-filter/quick-filter.styles.d.ts +0 -34
- package/types/src/components/atoms/select-list-item/select-list-item.component.d.ts +0 -10
- package/types/src/components/atoms/select-list-item/select-list-item.styles.d.ts +0 -37
- package/types/src/components/atoms/snackbar/snackbar.component.d.ts +0 -8
- package/types/src/components/atoms/snackbar/snackbar.styles.d.ts +0 -50
- package/types/src/components/atoms/tag/tag.component.d.ts +0 -13
- package/types/src/components/atoms/tag/tag.styles.d.ts +0 -16
- package/types/src/components/atoms/text-bubble/text-bubble.component.d.ts +0 -10
- package/types/src/components/atoms/text-bubble/text-bubble.styles.d.ts +0 -62
- package/types/src/components/atoms/text-input/text-input.component.d.ts +0 -9
- package/types/src/components/atoms/text-input/text-input.styles.d.ts +0 -21
- package/types/src/components/atoms/time-tracker/time-tracker.component.d.ts +0 -8
- package/types/src/components/atoms/time-tracker/time-tracker.styles.d.ts +0 -25
- package/types/src/components/atoms/wide-button/wide-button.component.d.ts +0 -8
- package/types/src/components/atoms/wide-button/wide-button.styles.d.ts +0 -17
- package/types/src/context/theme.context.d.ts +0 -46
- package/types/src/gradients/main/main.gradient.d.ts +0 -2
- package/types/src/gradients/main/main.styles.d.ts +0 -7
- package/types/src/icons/outline/chevron-right/chevron-right.icon.d.ts +0 -3
- package/types/src/icons/outline/cross/cross.icon.d.ts +0 -3
- package/types/src/icons/outline/filter/filter.icon.d.ts +0 -3
- package/types/src/models/initials.model.d.ts +0 -7
- package/types/src/theme/font/font.d.ts +0 -72
- package/types/src/theme/font/index.d.ts +0 -3
- package/types/src/theme/font/load-fonts.d.ts +0 -1
- package/types/src/theme/provider/index.d.ts +0 -3
- package/types/src/theme/provider/parent.theme.d.ts +0 -43
- package/types/src/theme/provider/staff-member.theme.d.ts +0 -43
- package/types/src/theme/scale/index.d.ts +0 -12
- package/types/src/types/bubble-alignment.enum.d.ts +0 -4
- package/types/src/types/icontype.type.d.ts +0 -3
- package/types/src/types/keyboard-types.enum.d.ts +0 -9
- package/types/src/types/size.enum.d.ts +0 -5
- package/types/src/types/visual-state.enum.d.ts +0 -6
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {Paragraph} from './paragraph/paragraph.component';
|
|
3
|
-
import {SmallText} from './small-text/small-text.component';
|
|
4
|
-
import {TinyText} from './tiny-text/tiny-text.component';
|
|
5
|
-
import {SafeAreaView, ScrollView, Text} from 'react-native';
|
|
6
|
-
|
|
7
|
-
export const ParagraphComponentsPreview = ({}: {}) => {
|
|
8
|
-
return (
|
|
9
|
-
<SafeAreaView style={{flex: 1, padding: 16}}>
|
|
10
|
-
<ScrollView>
|
|
11
|
-
{/*
|
|
12
|
-
//// PARAGRAPH ////
|
|
13
|
-
*/}
|
|
14
|
-
<Text
|
|
15
|
-
style={{
|
|
16
|
-
fontSize: 24,
|
|
17
|
-
fontWeight: 'bold',
|
|
18
|
-
textDecorationLine: 'underline',
|
|
19
|
-
}}
|
|
20
|
-
>
|
|
21
|
-
Paragraphs
|
|
22
|
-
{'\n'}
|
|
23
|
-
</Text>
|
|
24
|
-
<Paragraph>
|
|
25
|
-
Why did the paragraph component in React Native have trouble sleeping
|
|
26
|
-
at night?
|
|
27
|
-
{'\n'}
|
|
28
|
-
</Paragraph>
|
|
29
|
-
<Paragraph bold={true}>
|
|
30
|
-
Because it was always worried about keeping its text alignment!
|
|
31
|
-
{'\n'}
|
|
32
|
-
{'\n'}
|
|
33
|
-
</Paragraph>
|
|
34
|
-
<Paragraph bold={true} textColor={'#0077c9'}>
|
|
35
|
-
Why do web developers always mix up their HTML tags?
|
|
36
|
-
{'\n'}
|
|
37
|
-
</Paragraph>
|
|
38
|
-
<Paragraph textColor={'#FF0000'} textAlign={'right'}>
|
|
39
|
-
Because they always get their head and body tags mixed up!
|
|
40
|
-
</Paragraph>
|
|
41
|
-
{/*
|
|
42
|
-
//// SMALL TEXT ////
|
|
43
|
-
*/}
|
|
44
|
-
<Text
|
|
45
|
-
style={{
|
|
46
|
-
fontSize: 24,
|
|
47
|
-
fontWeight: 'bold',
|
|
48
|
-
textDecorationLine: 'underline',
|
|
49
|
-
}}
|
|
50
|
-
>
|
|
51
|
-
Small text
|
|
52
|
-
{'\n'}
|
|
53
|
-
</Text>
|
|
54
|
-
<SmallText>
|
|
55
|
-
Why did the small man put his money in the freezer?{'\n'}
|
|
56
|
-
</SmallText>
|
|
57
|
-
<SmallText bold={true} textAlign={'right'}>
|
|
58
|
-
So he could have cold hard cash!{'\n'}
|
|
59
|
-
{'\n'}
|
|
60
|
-
</SmallText>
|
|
61
|
-
<SmallText textColor={'#4f14b3'}>
|
|
62
|
-
Why did the small bird go to school?{'\n'}
|
|
63
|
-
</SmallText>
|
|
64
|
-
<SmallText textColor={'#ff353d'} bold={true} textAlign={'center'}>
|
|
65
|
-
To learn big words!{'\n'}
|
|
66
|
-
</SmallText>
|
|
67
|
-
{/*
|
|
68
|
-
//// TINY TEXT ////
|
|
69
|
-
*/}
|
|
70
|
-
<Text
|
|
71
|
-
style={{
|
|
72
|
-
fontSize: 24,
|
|
73
|
-
fontWeight: 'bold',
|
|
74
|
-
textDecorationLine: 'underline',
|
|
75
|
-
}}
|
|
76
|
-
>
|
|
77
|
-
Tiny text
|
|
78
|
-
{'\n'}
|
|
79
|
-
</Text>
|
|
80
|
-
<TinyText>Why did the tiny mouse join a band?{'\n'}</TinyText>
|
|
81
|
-
<TinyText bold={true} textAlign={'right'}>
|
|
82
|
-
Because it wanted to play the big drum!{'\n'}
|
|
83
|
-
{'\n'}
|
|
84
|
-
</TinyText>
|
|
85
|
-
<TinyText textColor={'#4f14b3'}>
|
|
86
|
-
Why did the tiny dog always bark?{'\n'}
|
|
87
|
-
</TinyText>
|
|
88
|
-
<TinyText textColor={'#ff353d'} bold={true} textAlign={'center'}>
|
|
89
|
-
Because it had a big bark and a small bite!
|
|
90
|
-
</TinyText>
|
|
91
|
-
</ScrollView>
|
|
92
|
-
</SafeAreaView>
|
|
93
|
-
);
|
|
94
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
Context: any,
|
|
3
|
-
bold: any,
|
|
4
|
-
textColor: any,
|
|
5
|
-
textAlign: any
|
|
6
|
-
):
|
|
7
|
-
| StyleSheet.NamedStyles<any>
|
|
8
|
-
| StyleSheet.NamedStyles<{
|
|
9
|
-
main: {
|
|
10
|
-
width: string;
|
|
11
|
-
textAlign: any;
|
|
12
|
-
color: any;
|
|
13
|
-
};
|
|
14
|
-
paragraph: {
|
|
15
|
-
fontFamily: string;
|
|
16
|
-
fontSize: number;
|
|
17
|
-
lineHeight: number;
|
|
18
|
-
}[];
|
|
19
|
-
smallText: {
|
|
20
|
-
fontFamily: string;
|
|
21
|
-
fontSize: number;
|
|
22
|
-
lineHeight: number;
|
|
23
|
-
}[];
|
|
24
|
-
tinyText: {
|
|
25
|
-
fontFamily: string;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
lineHeight: number;
|
|
28
|
-
}[];
|
|
29
|
-
}>;
|
|
30
|
-
import {StyleSheet} from 'react-native';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import {StyleSheet} from 'react-native';
|
|
2
|
-
import {Font} from '../../../theme/font';
|
|
3
|
-
import {HexColor} from '../../../models/hex-color.model';
|
|
4
|
-
|
|
5
|
-
export const Stylesheet = (Context, bold, textColor, textAlign) =>
|
|
6
|
-
StyleSheet.create({
|
|
7
|
-
main: {
|
|
8
|
-
width: '100%',
|
|
9
|
-
textAlign: textAlign,
|
|
10
|
-
color: !textColor
|
|
11
|
-
? Context.colors.ui.black
|
|
12
|
-
: HexColor.of(textColor).toString(),
|
|
13
|
-
},
|
|
14
|
-
paragraph: [
|
|
15
|
-
!bold
|
|
16
|
-
? {
|
|
17
|
-
...Font.regular,
|
|
18
|
-
}
|
|
19
|
-
: {
|
|
20
|
-
...Font.regularBold,
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
smallText: [
|
|
24
|
-
!bold
|
|
25
|
-
? {
|
|
26
|
-
...Font.small,
|
|
27
|
-
}
|
|
28
|
-
: {
|
|
29
|
-
...Font.smallBold,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
tinyText: [
|
|
33
|
-
!bold
|
|
34
|
-
? {
|
|
35
|
-
...Font.tiny,
|
|
36
|
-
}
|
|
37
|
-
: {
|
|
38
|
-
...Font.tinyBold,
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
});
|
package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Tests for the small text component should render a small text component, regular font, bold, a custom color and aligned to the right 1`] = `
|
|
4
|
-
<Text
|
|
5
|
-
style={
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
{
|
|
9
|
-
"fontFamily": "MontserratBold",
|
|
10
|
-
"fontSize": 13,
|
|
11
|
-
"lineHeight": 20.4,
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
{
|
|
15
|
-
"color": "#888888",
|
|
16
|
-
"textAlign": "right",
|
|
17
|
-
"width": "100%",
|
|
18
|
-
},
|
|
19
|
-
undefined,
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
>
|
|
23
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
24
|
-
</Text>
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
exports[`Tests for the small text component should render a small text component, regular font, bold, a custom color and no specific alignment 1`] = `
|
|
28
|
-
<Text
|
|
29
|
-
style={
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
{
|
|
33
|
-
"fontFamily": "MontserratBold",
|
|
34
|
-
"fontSize": 13,
|
|
35
|
-
"lineHeight": 20.4,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
{
|
|
39
|
-
"color": "#888888",
|
|
40
|
-
"textAlign": undefined,
|
|
41
|
-
"width": "100%",
|
|
42
|
-
},
|
|
43
|
-
undefined,
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
>
|
|
47
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
48
|
-
</Text>
|
|
49
|
-
`;
|
|
50
|
-
|
|
51
|
-
exports[`Tests for the small text component should render a small text component, regular font, bold, no specific color and no alignment 1`] = `
|
|
52
|
-
<Text
|
|
53
|
-
style={
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
{
|
|
57
|
-
"fontFamily": "MontserratBold",
|
|
58
|
-
"fontSize": 13,
|
|
59
|
-
"lineHeight": 20.4,
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
{
|
|
63
|
-
"color": "#1F2933",
|
|
64
|
-
"textAlign": undefined,
|
|
65
|
-
"width": "100%",
|
|
66
|
-
},
|
|
67
|
-
undefined,
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
>
|
|
71
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
72
|
-
</Text>
|
|
73
|
-
`;
|
|
74
|
-
|
|
75
|
-
exports[`Tests for the small text component should render a small text component, regular font, not bold, no textAlignment, no specified color 1`] = `
|
|
76
|
-
<Text
|
|
77
|
-
style={
|
|
78
|
-
[
|
|
79
|
-
[
|
|
80
|
-
{
|
|
81
|
-
"fontFamily": "Montserrat",
|
|
82
|
-
"fontSize": 13,
|
|
83
|
-
"lineHeight": 20.4,
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
{
|
|
87
|
-
"color": "#1F2933",
|
|
88
|
-
"textAlign": undefined,
|
|
89
|
-
"width": "100%",
|
|
90
|
-
},
|
|
91
|
-
undefined,
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
>
|
|
95
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
96
|
-
</Text>
|
|
97
|
-
`;
|
|
98
|
-
|
|
99
|
-
exports[`Tests for the small text component should render a small text component, regular font, not bold, with a self defined text color 1`] = `
|
|
100
|
-
<Text
|
|
101
|
-
style={
|
|
102
|
-
[
|
|
103
|
-
[
|
|
104
|
-
{
|
|
105
|
-
"fontFamily": "Montserrat",
|
|
106
|
-
"fontSize": 13,
|
|
107
|
-
"lineHeight": 20.4,
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
{
|
|
111
|
-
"color": "#c2c2c2",
|
|
112
|
-
"textAlign": undefined,
|
|
113
|
-
"width": "100%",
|
|
114
|
-
},
|
|
115
|
-
undefined,
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
>
|
|
119
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
120
|
-
</Text>
|
|
121
|
-
`;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, {useContext} from 'react';
|
|
2
|
-
import {Text} from 'react-native';
|
|
3
|
-
import {TextProperties} from '../../../../types/text-properties.type';
|
|
4
|
-
import {Stylesheet} from '../paragraph-text.styles';
|
|
5
|
-
import {ThemeCtx} from '../../../../context/theme.context';
|
|
6
|
-
|
|
7
|
-
export const SmallText = ({
|
|
8
|
-
bold,
|
|
9
|
-
textColor,
|
|
10
|
-
textAlign,
|
|
11
|
-
children,
|
|
12
|
-
addStyle,
|
|
13
|
-
ellipsizeMode,
|
|
14
|
-
numberOfLines,
|
|
15
|
-
}: TextProperties) => {
|
|
16
|
-
const Context = useContext(ThemeCtx);
|
|
17
|
-
const styles = Stylesheet(Context, bold, textColor, textAlign);
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<Text
|
|
21
|
-
style={[styles.smallText, styles.main, addStyle]}
|
|
22
|
-
ellipsizeMode={ellipsizeMode}
|
|
23
|
-
numberOfLines={numberOfLines}
|
|
24
|
-
>
|
|
25
|
-
{children}
|
|
26
|
-
</Text>
|
|
27
|
-
);
|
|
28
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import renderer from 'react-test-renderer';
|
|
3
|
-
import {SmallText} from './small-text.component';
|
|
4
|
-
|
|
5
|
-
describe('Tests for the small text component', () => {
|
|
6
|
-
it('should render a small text component, regular font, not bold, no textAlignment, no specified color', function () {
|
|
7
|
-
const tree = renderer
|
|
8
|
-
.create(
|
|
9
|
-
<SmallText>
|
|
10
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
11
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
12
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
13
|
-
green fields below.
|
|
14
|
-
</SmallText>
|
|
15
|
-
)
|
|
16
|
-
.toJSON();
|
|
17
|
-
|
|
18
|
-
expect(tree).toMatchSnapshot();
|
|
19
|
-
});
|
|
20
|
-
it('should render a small text component, regular font, not bold, with a self defined text color', function () {
|
|
21
|
-
const tree = renderer
|
|
22
|
-
.create(
|
|
23
|
-
<SmallText textColor={'#c2c2c2'}>
|
|
24
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
25
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
26
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
27
|
-
green fields below.
|
|
28
|
-
</SmallText>
|
|
29
|
-
)
|
|
30
|
-
.toJSON();
|
|
31
|
-
|
|
32
|
-
expect(tree).toMatchSnapshot();
|
|
33
|
-
});
|
|
34
|
-
it('should render a small text component, regular font, bold, no specific color and no alignment', function () {
|
|
35
|
-
const tree = renderer
|
|
36
|
-
.create(
|
|
37
|
-
<SmallText bold={true}>
|
|
38
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
39
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
40
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
41
|
-
green fields below.
|
|
42
|
-
</SmallText>
|
|
43
|
-
)
|
|
44
|
-
.toJSON();
|
|
45
|
-
|
|
46
|
-
expect(tree).toMatchSnapshot();
|
|
47
|
-
});
|
|
48
|
-
it('should render a small text component, regular font, bold, a custom color and no specific alignment', function () {
|
|
49
|
-
const tree = renderer
|
|
50
|
-
.create(
|
|
51
|
-
<SmallText bold={true} textColor={'#888888'}>
|
|
52
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
53
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
54
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
55
|
-
green fields below.
|
|
56
|
-
</SmallText>
|
|
57
|
-
)
|
|
58
|
-
.toJSON();
|
|
59
|
-
|
|
60
|
-
expect(tree).toMatchSnapshot();
|
|
61
|
-
});
|
|
62
|
-
it('should render a small text component, regular font, bold, a custom color and aligned to the right', function () {
|
|
63
|
-
const tree = renderer
|
|
64
|
-
.create(
|
|
65
|
-
<SmallText bold={true} textColor={'#888888'} textAlign={'right'}>
|
|
66
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
67
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
68
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
69
|
-
green fields below.
|
|
70
|
-
</SmallText>
|
|
71
|
-
)
|
|
72
|
-
.toJSON();
|
|
73
|
-
|
|
74
|
-
expect(tree).toMatchSnapshot();
|
|
75
|
-
});
|
|
76
|
-
});
|
package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Tests for the tiny text component should render a tiny text component, regular font, bold, a custom color and aligned to the right 1`] = `
|
|
4
|
-
<Text
|
|
5
|
-
style={
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
{
|
|
9
|
-
"fontFamily": "MontserratBold",
|
|
10
|
-
"fontSize": 11,
|
|
11
|
-
"lineHeight": 17.9,
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
{
|
|
15
|
-
"color": "#888888",
|
|
16
|
-
"textAlign": "right",
|
|
17
|
-
"width": "100%",
|
|
18
|
-
},
|
|
19
|
-
undefined,
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
>
|
|
23
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
24
|
-
</Text>
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
exports[`Tests for the tiny text component should render a tiny text component, regular font, bold, a custom color and no specific alignment 1`] = `
|
|
28
|
-
<Text
|
|
29
|
-
style={
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
{
|
|
33
|
-
"fontFamily": "MontserratBold",
|
|
34
|
-
"fontSize": 11,
|
|
35
|
-
"lineHeight": 17.9,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
{
|
|
39
|
-
"color": "#888888",
|
|
40
|
-
"textAlign": undefined,
|
|
41
|
-
"width": "100%",
|
|
42
|
-
},
|
|
43
|
-
undefined,
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
>
|
|
47
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
48
|
-
</Text>
|
|
49
|
-
`;
|
|
50
|
-
|
|
51
|
-
exports[`Tests for the tiny text component should render a tiny text component, regular font, bold, no specific color and no alignment 1`] = `
|
|
52
|
-
<Text
|
|
53
|
-
style={
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
{
|
|
57
|
-
"fontFamily": "MontserratBold",
|
|
58
|
-
"fontSize": 11,
|
|
59
|
-
"lineHeight": 17.9,
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
{
|
|
63
|
-
"color": "#1F2933",
|
|
64
|
-
"textAlign": undefined,
|
|
65
|
-
"width": "100%",
|
|
66
|
-
},
|
|
67
|
-
undefined,
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
>
|
|
71
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
72
|
-
</Text>
|
|
73
|
-
`;
|
|
74
|
-
|
|
75
|
-
exports[`Tests for the tiny text component should render a tiny text component, regular font, not bold, no textAlignment, no specified color 1`] = `
|
|
76
|
-
<Text
|
|
77
|
-
style={
|
|
78
|
-
[
|
|
79
|
-
[
|
|
80
|
-
{
|
|
81
|
-
"fontFamily": "Montserrat",
|
|
82
|
-
"fontSize": 11,
|
|
83
|
-
"lineHeight": 17.9,
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
{
|
|
87
|
-
"color": "#1F2933",
|
|
88
|
-
"textAlign": undefined,
|
|
89
|
-
"width": "100%",
|
|
90
|
-
},
|
|
91
|
-
undefined,
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
>
|
|
95
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
96
|
-
</Text>
|
|
97
|
-
`;
|
|
98
|
-
|
|
99
|
-
exports[`Tests for the tiny text component should render a tiny text component, regular font, not bold, with a self defined text color 1`] = `
|
|
100
|
-
<Text
|
|
101
|
-
style={
|
|
102
|
-
[
|
|
103
|
-
[
|
|
104
|
-
{
|
|
105
|
-
"fontFamily": "Montserrat",
|
|
106
|
-
"fontSize": 11,
|
|
107
|
-
"lineHeight": 17.9,
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
{
|
|
111
|
-
"color": "#c2c2c2",
|
|
112
|
-
"textAlign": undefined,
|
|
113
|
-
"width": "100%",
|
|
114
|
-
},
|
|
115
|
-
undefined,
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
>
|
|
119
|
-
The sun was setting over the mountains, casting a warm golden glow over the landscape. The sky was painted with shades of pink, orange, and purple, creating a beautiful backdrop for the rolling hills and green fields below.
|
|
120
|
-
</Text>
|
|
121
|
-
`;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, {useContext} from 'react';
|
|
2
|
-
import {Text} from 'react-native';
|
|
3
|
-
import {TextProperties} from '../../../../types/text-properties.type';
|
|
4
|
-
import {Stylesheet} from '../paragraph-text.styles';
|
|
5
|
-
import {ThemeCtx} from '../../../../context/theme.context';
|
|
6
|
-
|
|
7
|
-
export const TinyText = ({
|
|
8
|
-
bold,
|
|
9
|
-
children,
|
|
10
|
-
textColor,
|
|
11
|
-
textAlign,
|
|
12
|
-
addStyle,
|
|
13
|
-
numberOfLines,
|
|
14
|
-
ellipsizeMode,
|
|
15
|
-
}: TextProperties) => {
|
|
16
|
-
const Context = useContext(ThemeCtx);
|
|
17
|
-
const styles = Stylesheet(Context, bold, textColor, textAlign);
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<Text
|
|
21
|
-
style={[styles.tinyText, styles.main, addStyle]}
|
|
22
|
-
numberOfLines={numberOfLines}
|
|
23
|
-
ellipsizeMode={ellipsizeMode}
|
|
24
|
-
>
|
|
25
|
-
{children}
|
|
26
|
-
</Text>
|
|
27
|
-
);
|
|
28
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import renderer from 'react-test-renderer';
|
|
3
|
-
import {TinyText} from './tiny-text.component';
|
|
4
|
-
|
|
5
|
-
describe('Tests for the tiny text component', () => {
|
|
6
|
-
it('should render a tiny text component, regular font, not bold, no textAlignment, no specified color', function () {
|
|
7
|
-
const tree = renderer
|
|
8
|
-
.create(
|
|
9
|
-
<TinyText>
|
|
10
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
11
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
12
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
13
|
-
green fields below.
|
|
14
|
-
</TinyText>
|
|
15
|
-
)
|
|
16
|
-
.toJSON();
|
|
17
|
-
|
|
18
|
-
expect(tree).toMatchSnapshot();
|
|
19
|
-
});
|
|
20
|
-
it('should render a tiny text component, regular font, not bold, with a self defined text color', function () {
|
|
21
|
-
const tree = renderer
|
|
22
|
-
.create(
|
|
23
|
-
<TinyText textColor={'#c2c2c2'}>
|
|
24
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
25
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
26
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
27
|
-
green fields below.
|
|
28
|
-
</TinyText>
|
|
29
|
-
)
|
|
30
|
-
.toJSON();
|
|
31
|
-
|
|
32
|
-
expect(tree).toMatchSnapshot();
|
|
33
|
-
});
|
|
34
|
-
it('should render a tiny text component, regular font, bold, no specific color and no alignment', function () {
|
|
35
|
-
const tree = renderer
|
|
36
|
-
.create(
|
|
37
|
-
<TinyText bold={true}>
|
|
38
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
39
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
40
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
41
|
-
green fields below.
|
|
42
|
-
</TinyText>
|
|
43
|
-
)
|
|
44
|
-
.toJSON();
|
|
45
|
-
|
|
46
|
-
expect(tree).toMatchSnapshot();
|
|
47
|
-
});
|
|
48
|
-
it('should render a tiny text component, regular font, bold, a custom color and no specific alignment', function () {
|
|
49
|
-
const tree = renderer
|
|
50
|
-
.create(
|
|
51
|
-
<TinyText bold={true} textColor={'#888888'}>
|
|
52
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
53
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
54
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
55
|
-
green fields below.
|
|
56
|
-
</TinyText>
|
|
57
|
-
)
|
|
58
|
-
.toJSON();
|
|
59
|
-
|
|
60
|
-
expect(tree).toMatchSnapshot();
|
|
61
|
-
});
|
|
62
|
-
it('should render a tiny text component, regular font, bold, a custom color and aligned to the right', function () {
|
|
63
|
-
const tree = renderer
|
|
64
|
-
.create(
|
|
65
|
-
<TinyText bold={true} textColor={'#888888'} textAlign={'right'}>
|
|
66
|
-
The sun was setting over the mountains, casting a warm golden glow
|
|
67
|
-
over the landscape. The sky was painted with shades of pink, orange,
|
|
68
|
-
and purple, creating a beautiful backdrop for the rolling hills and
|
|
69
|
-
green fields below.
|
|
70
|
-
</TinyText>
|
|
71
|
-
)
|
|
72
|
-
.toJSON();
|
|
73
|
-
|
|
74
|
-
expect(tree).toMatchSnapshot();
|
|
75
|
-
});
|
|
76
|
-
});
|