@tactics/toddle-styleguide 1.0.0 → 1.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/App.tsx +27 -0
- package/index.d.ts +5 -1
- package/index.tsx +8 -0
- package/package.json +1 -1
- package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.tsx +1 -1
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +54 -54
- package/src/components/atoms/calendar/calendar.component.tsx +4 -2
- package/src/components/atoms/footer/__snapshots__/footer.test.js.snap +9 -9
- package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +18 -18
- package/src/components/atoms/increment-input/increment-input.component.tsx +12 -2
- package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +9 -9
- package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +9 -9
- package/src/components/molecules/blocked-message/blocked-message.component.tsx +6 -1
- package/src/components/molecules/button/__snapshots__/button.test.js.snap +36 -30
- package/src/components/molecules/button/button.component.d.ts +6 -3
- package/src/components/molecules/button/button.component.tsx +27 -3
- package/src/components/molecules/button/button.preview.tsx +6 -3
- package/src/components/molecules/button/button.test.js +9 -6
- package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +29 -29
- package/src/components/molecules/calendar-select/calendar-select.component.tsx +7 -4
- package/src/components/molecules/calendar-select/calendar-select.styles.js +2 -2
- package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +9 -9
- package/src/components/molecules/date-input/date-input.component.tsx +5 -1
- package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +9 -9
- package/src/components/molecules/default-select/default-select.component.tsx +5 -1
- package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +27 -27
- package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +14 -3
- package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +95 -0
- package/src/components/molecules/language-button/language-button.component.d.ts +7 -0
- package/src/components/molecules/language-button/language-button.component.tsx +33 -0
- package/src/components/molecules/language-button/language-button.preview.d.ts +1 -0
- package/src/components/molecules/language-button/language-button.preview.tsx +29 -0
- package/src/components/molecules/language-button/language-button.styles.d.ts +8 -0
- package/src/components/molecules/language-button/language-button.styles.js +12 -0
- package/src/components/molecules/language-button/language-button.test.js +29 -0
- package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +140 -72
- package/src/components/molecules/message-input/message-input.component.tsx +10 -2
- package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +99 -0
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +7 -0
- package/src/components/molecules/more-info-button/more-info-button.component.tsx +33 -0
- package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +1 -0
- package/src/components/molecules/more-info-button/more-info-button.preview.tsx +29 -0
- package/src/components/molecules/more-info-button/more-info-button.styles.d.ts +10 -0
- package/src/components/molecules/more-info-button/more-info-button.styles.js +15 -0
- package/src/components/molecules/more-info-button/more-info-button.test.js +29 -0
- package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +30 -30
- package/src/components/molecules/password-input/password-input.component.tsx +10 -2
- package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +36 -36
- package/src/components/molecules/pressable-icon/pressable-icon.preview.tsx +4 -4
- package/src/components/molecules/pressable-icon/pressable-icon.test.js +8 -4
- package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +15 -18
- package/src/components/molecules/search-input/search.component.tsx +6 -2
- package/src/components/molecules/search-input/search.styles.js +5 -8
- package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +431 -431
- package/src/components/molecules/select-list-item/select-list-item-preview.tsx +3 -4
- package/src/components/molecules/select-list-item/select-list-item.component.tsx +21 -18
- package/src/components/molecules/select-list-item/select-list-item.styles.js +10 -7
- package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +18 -20
- package/src/components/molecules/select-picker/select-picker.component.tsx +6 -1
- package/src/components/molecules/select-picker/select-picker.styles.js +2 -2
- package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +108 -108
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +2 -2
- package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +36 -36
- package/src/components/molecules/snackbar/snackbar.component.tsx +21 -2
- package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +15 -11
- package/src/components/molecules/swipe/swipe.component.tsx +10 -2
- package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +10 -10
- package/src/components/organisms/child-list-item/child-list-item.component.tsx +7 -2
- package/src/components/organisms/child-list-item/child-list-item.preview.tsx +7 -1
- package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +18 -18
- package/src/components/organisms/contact-item/contact-item.component.tsx +6 -1
- package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +474 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.ts +164 -0
- package/src/components/organisms/loading-indicator/container.component.d.ts +1 -0
- package/src/components/organisms/loading-indicator/container.component.tsx +65 -0
- package/src/components/organisms/loading-indicator/dot.component.d.ts +6 -0
- package/src/components/organisms/loading-indicator/dot.component.tsx +27 -0
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -0
- package/src/components/organisms/loading-indicator/loading-indicator.component.tsx +21 -0
- package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +1 -0
- package/src/components/organisms/loading-indicator/loading-indicator.preview.tsx +100 -0
- package/src/components/organisms/loading-indicator/loading-indicator.test.js +40 -0
- package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +18 -18
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +12 -2
- package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +135 -135
- package/src/components/organisms/text-bubble/text-bubble.test.js +0 -1
- package/src/components/templates/modal/components/fade-panel.component.d.ts +11 -0
- package/src/components/templates/modal/components/fade-panel.component.tsx +53 -0
- package/src/components/templates/modal/components/fade-panel.styles.d.ts +16 -0
- package/src/components/templates/modal/components/fade-panel.styles.js +17 -0
- package/src/components/templates/modal/modal-preview.styles.d.ts +13 -0
- package/src/components/templates/modal/modal-preview.styles.js +17 -0
- package/src/components/templates/modal/modal.component.d.ts +10 -0
- package/src/components/templates/modal/modal.component.tsx +56 -0
- package/src/components/templates/modal/modal.preview.d.ts +1 -0
- package/src/components/templates/modal/modal.preview.tsx +73 -0
- package/src/components/templates/modal/modal.styles.d.ts +21 -0
- package/src/components/templates/modal/modal.styles.js +23 -0
- package/src/components/templates/popover/components/index.js +1 -1
- package/src/components/templates/popover/components/modal/close/close.component.tsx +9 -4
- package/src/components/templates/popover/components/modal/close/close.styles.d.ts +4 -3
- package/src/components/templates/popover/components/modal/close/close.styles.js +8 -5
- package/src/components/templates/popover/components/modal/heading/heading.styles.js +1 -1
- package/src/components/templates/popover/components/modal/modal.component.tsx +1 -1
- package/src/components/templates/popover/components/modal/modal.styles.js +1 -1
- package/src/components/templates/popover/popover.component.tsx +2 -1
- package/src/context/loading-dots.context.d.ts +8 -0
- package/src/context/loading-dots.context.tsx +33 -0
- package/src/icons/__snapshots__/icons.test.js.snap +572 -482
- package/src/icons/icons.test.js +126 -51
- package/src/icons/index.d.ts +2 -56
- package/src/icons/index.tsx +11 -3
- package/src/icons/outline/calendar/calendar.icon.d.ts +2 -2
- package/src/icons/outline/calendar/calendar.icon.tsx +5 -4
- package/src/icons/outline/chat/chat.icon.d.ts +2 -2
- package/src/icons/outline/chat/chat.icon.tsx +5 -4
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -2
- package/src/icons/outline/chat-alt/chat-alt.icon.tsx +5 -4
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -2
- package/src/icons/outline/check-circle/check-circle.icon.tsx +5 -4
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -2
- package/src/icons/outline/chevron-left/chevron-left.icon.tsx +5 -4
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -2
- package/src/icons/outline/chevron-right/chevron-right.icon.tsx +5 -4
- package/src/icons/outline/clock/clock.icon.d.ts +2 -2
- package/src/icons/outline/clock/clock.icon.tsx +5 -4
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -2
- package/src/icons/outline/cloud-download/cloud-download.icon.tsx +5 -4
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -2
- package/src/icons/outline/currency-euro/currency-euro.icon.tsx +5 -4
- package/src/icons/outline/document-text/document-text.icon.d.ts +2 -2
- package/src/icons/outline/document-text/document-text.icon.tsx +5 -4
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -2
- package/src/icons/outline/exclamation/exclamation.icon.tsx +5 -4
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -2
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.tsx +8 -4
- package/src/icons/outline/eye/eye.icon.d.ts +2 -2
- package/src/icons/outline/eye/eye.icon.tsx +6 -5
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -2
- package/src/icons/outline/eye-off/eye-off.icon.tsx +4 -3
- package/src/icons/outline/filter/filter.icon.d.ts +2 -2
- package/src/icons/outline/filter/filter.icon.tsx +5 -42
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -2
- package/src/icons/outline/information-circle/information-circle.icon.tsx +8 -4
- package/src/icons/outline/logout/logout.icon.d.ts +2 -2
- package/src/icons/outline/logout/logout.icon.tsx +11 -4
- package/src/icons/outline/mail/mail.icon.d.ts +2 -2
- package/src/icons/outline/mail/mail.icon.tsx +5 -4
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -2
- package/src/icons/outline/mail-open/mail-open.icon.tsx +5 -4
- package/src/icons/outline/menu/menu.icon.d.ts +2 -2
- package/src/icons/outline/menu/menu.icon.tsx +5 -4
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -2
- package/src/icons/outline/minus-sm/minus-sm.icon.tsx +5 -9
- package/src/icons/outline/office-building/office-building.icon.d.ts +2 -2
- package/src/icons/outline/office-building/office-building.icon.tsx +5 -4
- package/src/icons/outline/outline-default.preview.tsx +49 -45
- package/src/icons/outline/outline-grey.preview.tsx +56 -40
- package/src/icons/outline/outline-white.preview.tsx +61 -41
- package/src/icons/outline/outline.d.ts +2 -42
- package/src/icons/outline/outline.tsx +99 -42
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -2
- package/src/icons/outline/paper-airplane/paper-airplane.icon.tsx +11 -4
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -2
- package/src/icons/outline/paperclip/paperclip.icon.tsx +5 -4
- package/src/icons/outline/pencil/pencil.icon.d.ts +2 -2
- package/src/icons/outline/pencil/pencil.icon.tsx +5 -4
- package/src/icons/outline/phone/phone.icon.d.ts +2 -2
- package/src/icons/outline/phone/phone.icon.tsx +5 -4
- package/src/icons/outline/plus/plus.icon.d.ts +2 -2
- package/src/icons/outline/plus/plus.icon.tsx +5 -4
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -2
- package/src/icons/outline/plus-sm/plus-sm.icon.tsx +5 -9
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -2
- package/src/icons/outline/qrcode/qrcode.icon.tsx +5 -4
- package/src/icons/outline/refresh/refresh.icon.d.ts +2 -2
- package/src/icons/outline/refresh/refresh.icon.tsx +5 -4
- package/src/icons/outline/search/search.icon.d.ts +2 -2
- package/src/icons/outline/search/search.icon.tsx +5 -4
- package/src/icons/outline/selector/selector.icon.d.ts +2 -2
- package/src/icons/outline/selector/selector.icon.tsx +5 -4
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -2
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.tsx +5 -4
- package/src/icons/outline/status-online/status-online.icon.d.ts +2 -2
- package/src/icons/outline/status-online/status-online.icon.tsx +5 -4
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -2
- package/src/icons/outline/thumb-up/thumb-up.icon.tsx +5 -4
- package/src/icons/outline/trash/trash.icon.d.ts +2 -2
- package/src/icons/outline/trash/trash.icon.tsx +5 -4
- package/src/icons/outline/user/user.icon.d.ts +2 -2
- package/src/icons/outline/user/user.icon.tsx +6 -5
- package/src/icons/outline/user-group/user-group.icon.d.ts +2 -2
- package/src/icons/outline/user-group/user-group.icon.tsx +5 -4
- package/src/icons/outline/users/users.icon.d.ts +2 -2
- package/src/icons/outline/users/users.icon.tsx +5 -4
- package/src/icons/outline/xmark/xmark.icon.d.ts +2 -0
- package/src/icons/outline/{cross/cross.icon.tsx → xmark/xmark.icon.tsx} +5 -4
- package/src/icons/solid/calendar/calendar.icon.d.ts +2 -0
- package/src/icons/solid/calendar/calendar.icon.tsx +21 -0
- package/src/icons/solid/chat/chat.icon.d.ts +2 -0
- package/src/icons/solid/chat/chat.icon.tsx +21 -0
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -2
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.tsx +5 -4
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +2 -0
- package/src/icons/solid/check-circle/check-circle.icon.tsx +21 -0
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +2 -0
- package/src/icons/solid/chevron-left/chevron-left.icon.tsx +21 -0
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +2 -0
- package/src/icons/solid/chevron-right/chevron-right.icon.tsx +21 -0
- package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
- package/src/icons/solid/clock/clock-solid.icon.tsx +5 -4
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +2 -0
- package/src/icons/solid/cloud-download/cloud-download.icon.tsx +21 -0
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +2 -0
- package/src/icons/solid/currency-euro/currency-euro.icon.tsx +21 -0
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +2 -2
- package/src/icons/solid/document-text/document-text-solid.icon.tsx +4 -3
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +2 -0
- package/src/icons/solid/exclamation/exclamation.icon.tsx +20 -0
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +2 -0
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.tsx +23 -0
- package/src/icons/solid/eye/eye.icon.d.ts +2 -0
- package/src/icons/solid/eye/eye.icon.tsx +24 -0
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -0
- package/src/icons/solid/eye-off/eye-off.icon.tsx +24 -0
- package/src/icons/solid/filter/filter.icon.d.ts +2 -0
- package/src/icons/solid/filter/filter.icon.tsx +21 -0
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -2
- package/src/icons/solid/information-circle/information-circle-solid.icon.tsx +8 -4
- package/src/icons/solid/logout/logout.icon.d.ts +2 -0
- package/src/icons/solid/logout/logout.icon.tsx +26 -0
- package/src/icons/solid/mail/mail.icon.d.ts +2 -0
- package/src/icons/solid/mail/mail.icon.tsx +23 -0
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -0
- package/src/icons/solid/mail-open/mail-open.icon.tsx +21 -0
- package/src/icons/solid/menu/menu.icon.d.ts +2 -0
- package/src/icons/solid/menu/menu.icon.tsx +33 -0
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +2 -0
- package/src/icons/solid/minus-sm/minus-sm.icon.tsx +21 -0
- package/src/icons/solid/office-building/office-building.icon.d.ts +2 -0
- package/src/icons/solid/office-building/office-building.icon.tsx +21 -0
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +2 -0
- package/src/icons/solid/paper-airplane/paper-airplane.icon.tsx +25 -0
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +2 -0
- package/src/icons/solid/paperclip/paperclip.icon.tsx +21 -0
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -2
- package/src/icons/solid/pencil/pencil-solid.icon.tsx +6 -5
- package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -2
- package/src/icons/solid/phone/phone-solid.icon.tsx +5 -4
- package/src/icons/solid/plus/plus.icon.d.ts +2 -0
- package/src/icons/solid/plus/plus.icon.tsx +21 -0
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +2 -0
- package/src/icons/solid/plus-sm/plus-sm.icon.tsx +21 -0
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -0
- package/src/icons/solid/qrcode/qrcode.icon.tsx +60 -0
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -2
- package/src/icons/solid/refresh/refresh-solid.icon.tsx +5 -4
- package/src/icons/solid/search/search.icon.d.ts +2 -0
- package/src/icons/solid/search/search.icon.tsx +21 -0
- package/src/icons/solid/selector/selector.icon.d.ts +2 -0
- package/src/icons/solid/selector/selector.icon.tsx +21 -0
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -0
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.tsx +31 -0
- package/src/icons/solid/solid.d.ts +2 -12
- package/src/icons/solid/solid.preview.tsx +95 -30
- package/src/icons/solid/solid.tsx +133 -21
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -2
- package/src/icons/solid/status-online/status-online-solid.icon.tsx +5 -10
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +2 -0
- package/src/icons/solid/thumb-up/thumb-up.icon.tsx +23 -0
- package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -2
- package/src/icons/solid/trash/trash-solid.icon.tsx +5 -4
- package/src/icons/solid/user/user.icon.d.ts +2 -0
- package/src/icons/solid/user/user.icon.tsx +23 -0
- package/src/icons/solid/user-group/user-group.icon.d.ts +2 -0
- package/src/icons/solid/user-group/user-group.icon.tsx +72 -0
- package/src/icons/solid/users/users-solid.icon.d.ts +2 -2
- package/src/icons/solid/users/users-solid.icon.tsx +29 -3
- package/src/icons/solid/xmark/xmark.icon.d.ts +2 -0
- package/src/icons/solid/xmark/xmark.icon.tsx +21 -0
- package/src/interfaces/icon.interface.d.ts +11 -0
- package/src/interfaces/icon.interface.ts +12 -0
- package/src/theme/provider/parent.theme.ts +1 -1
- package/src/types/icontype.type.d.ts +2 -4
- package/src/types/icontype.type.ts +43 -4
- package/src/types/loading-dots.type.d.ts +8 -0
- package/src/types/loading-dots.type.ts +8 -0
- package/src/icons/outline/cross/cross.icon.d.ts +0 -2
- /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.d.ts +0 -0
- /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.styles.d.ts +0 -0
- /package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.styles.js +0 -0
package/App.tsx
CHANGED
|
@@ -59,6 +59,10 @@ import {HeadingsPreview} from './src/components/atoms/heading-components/heading
|
|
|
59
59
|
import {ParagraphComponentsPreview} from './src/components/atoms/paragraph-components/paragraph-components.preview';
|
|
60
60
|
import {MyChildListItemPreview} from './src/components/organisms/my-child-list-item/my-child-list-item.preview';
|
|
61
61
|
import {SelectLinkPreview} from './src/components/molecules/select-link/select-link.preview';
|
|
62
|
+
import {MoreInfoButtonPreview} from './src/components/molecules/more-info-button/more-info-button.preview';
|
|
63
|
+
import {LanguageButtonPreview} from './src/components/molecules/language-button/language-button.preview';
|
|
64
|
+
import {ModalPreview} from './src/components/templates/modal/modal.preview';
|
|
65
|
+
import {LoadingIndicatorPreview} from './src/components/organisms/loading-indicator/loading-indicator.preview';
|
|
62
66
|
|
|
63
67
|
const Stack = createNativeStackNavigator();
|
|
64
68
|
|
|
@@ -223,6 +227,19 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
|
|
|
223
227
|
title="Select link"
|
|
224
228
|
onPress={() => navigation.push('select-link')}
|
|
225
229
|
/>
|
|
230
|
+
<ReactBtn
|
|
231
|
+
title="More info button"
|
|
232
|
+
onPress={() => navigation.push('more-info-button')}
|
|
233
|
+
/>
|
|
234
|
+
<ReactBtn
|
|
235
|
+
title="Language button"
|
|
236
|
+
onPress={() => navigation.push('language-button')}
|
|
237
|
+
/>
|
|
238
|
+
<ReactBtn title="Modal" onPress={() => navigation.push('modal')} />
|
|
239
|
+
<ReactBtn
|
|
240
|
+
title="Loading indicator"
|
|
241
|
+
onPress={() => navigation.push('loading-indicator')}
|
|
242
|
+
/>
|
|
226
243
|
</ScrollView>
|
|
227
244
|
);
|
|
228
245
|
};
|
|
@@ -365,6 +382,16 @@ function App() {
|
|
|
365
382
|
<Stack.Screen name="select-link">
|
|
366
383
|
{() => <SelectLinkPreview />}
|
|
367
384
|
</Stack.Screen>
|
|
385
|
+
<Stack.Screen name="more-info-button">
|
|
386
|
+
{() => <MoreInfoButtonPreview />}
|
|
387
|
+
</Stack.Screen>
|
|
388
|
+
<Stack.Screen name="language-button">
|
|
389
|
+
{() => <LanguageButtonPreview />}
|
|
390
|
+
</Stack.Screen>
|
|
391
|
+
<Stack.Screen name="modal">{() => <ModalPreview />}</Stack.Screen>
|
|
392
|
+
<Stack.Screen name="loading-indicator" options={{headerShown: false}}>
|
|
393
|
+
{() => <LoadingIndicatorPreview />}
|
|
394
|
+
</Stack.Screen>
|
|
368
395
|
</Stack.Navigator>
|
|
369
396
|
</NavigationContainer>
|
|
370
397
|
</ThemeCtx.Provider>
|
package/index.d.ts
CHANGED
|
@@ -45,6 +45,10 @@ import { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 } from './src/co
|
|
|
45
45
|
import { Paragraph, SmallText, TinyText } from './src/components/atoms/paragraph-components';
|
|
46
46
|
import { SelectLink } from './src/components/molecules/select-link/select-link.component';
|
|
47
47
|
import { MyChildListItem } from './src/components/organisms/my-child-list-item/my-child-list-item.component';
|
|
48
|
+
import { MoreInfoButton } from './src/components/molecules/more-info-button/more-info-button.component';
|
|
49
|
+
import { LanguageButton } from './src/components/molecules/language-button/language-button.component';
|
|
50
|
+
import { Modal } from './src/components/templates/modal/modal.component';
|
|
51
|
+
import { LoadingIndicator } from './src/components/organisms/loading-indicator/loading-indicator.component';
|
|
48
52
|
import { BubbleAlignment } from './src/types/bubble-alignment.enum';
|
|
49
53
|
import { KeyBoardTypes } from './src/types/keyboard-types.enum';
|
|
50
54
|
import { Size } from './src/types/size.enum';
|
|
@@ -53,4 +57,4 @@ import { Initials } from './src/models/initials.model';
|
|
|
53
57
|
import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.class';
|
|
54
58
|
import { ThemeCtx } from './src/context/theme.context';
|
|
55
59
|
import { Scale } from './src/theme/scale/index';
|
|
56
|
-
export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, };
|
|
60
|
+
export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, MoreInfoButton, LanguageButton, Modal, LoadingIndicator, };
|
package/index.tsx
CHANGED
|
@@ -63,6 +63,10 @@ import {
|
|
|
63
63
|
} from './src/components/atoms/paragraph-components';
|
|
64
64
|
import {SelectLink} from './src/components/molecules/select-link/select-link.component';
|
|
65
65
|
import {MyChildListItem} from './src/components/organisms/my-child-list-item/my-child-list-item.component';
|
|
66
|
+
import {MoreInfoButton} from './src/components/molecules/more-info-button/more-info-button.component';
|
|
67
|
+
import {LanguageButton} from './src/components/molecules/language-button/language-button.component';
|
|
68
|
+
import {Modal} from './src/components/templates/modal/modal.component';
|
|
69
|
+
import {LoadingIndicator} from './src/components/organisms/loading-indicator/loading-indicator.component';
|
|
66
70
|
|
|
67
71
|
// Exports of enums
|
|
68
72
|
import {BubbleAlignment} from './src/types/bubble-alignment.enum';
|
|
@@ -142,4 +146,8 @@ export {
|
|
|
142
146
|
TinyText,
|
|
143
147
|
SelectLink,
|
|
144
148
|
MyChildListItem,
|
|
149
|
+
MoreInfoButton,
|
|
150
|
+
LanguageButton,
|
|
151
|
+
Modal,
|
|
152
|
+
LoadingIndicator,
|
|
145
153
|
};
|
package/package.json
CHANGED
package/src/components/{templates/popover/components → atoms}/backdrop/backdrop.component.tsx
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {useContext, useMemo} from 'react';
|
|
3
3
|
|
|
4
|
-
import {ThemeCtx} from '
|
|
4
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
5
|
import {Animated} from 'react-native';
|
|
6
6
|
import {Stylesheet} from './backdrop.styles';
|
|
7
7
|
|
|
@@ -90,11 +90,11 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
90
90
|
>
|
|
91
91
|
<RNSVGSvgView
|
|
92
92
|
align="xMidYMid"
|
|
93
|
-
bbHeight=
|
|
94
|
-
bbWidth=
|
|
93
|
+
bbHeight={24}
|
|
94
|
+
bbWidth={24}
|
|
95
95
|
fill="none"
|
|
96
96
|
focusable={false}
|
|
97
|
-
height=
|
|
97
|
+
height={24}
|
|
98
98
|
meetOrSlice={0}
|
|
99
99
|
minX={0}
|
|
100
100
|
minY={0}
|
|
@@ -106,14 +106,14 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"flex": 0,
|
|
109
|
-
"height":
|
|
110
|
-
"width":
|
|
109
|
+
"height": 24,
|
|
110
|
+
"width": 24,
|
|
111
111
|
},
|
|
112
112
|
]
|
|
113
113
|
}
|
|
114
|
-
vbHeight={
|
|
115
|
-
vbWidth={
|
|
116
|
-
width=
|
|
114
|
+
vbHeight={19}
|
|
115
|
+
vbWidth={10}
|
|
116
|
+
width={24}
|
|
117
117
|
>
|
|
118
118
|
<RNSVGGroup
|
|
119
119
|
fill={null}
|
|
@@ -124,7 +124,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
124
124
|
}
|
|
125
125
|
>
|
|
126
126
|
<RNSVGPath
|
|
127
|
-
d="
|
|
127
|
+
d="M8.875 17.375L1 9.5L8.875 1.625"
|
|
128
128
|
propList={
|
|
129
129
|
[
|
|
130
130
|
"stroke",
|
|
@@ -202,11 +202,11 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
202
202
|
>
|
|
203
203
|
<RNSVGSvgView
|
|
204
204
|
align="xMidYMid"
|
|
205
|
-
bbHeight=
|
|
206
|
-
bbWidth=
|
|
205
|
+
bbHeight={24}
|
|
206
|
+
bbWidth={24}
|
|
207
207
|
fill="none"
|
|
208
208
|
focusable={false}
|
|
209
|
-
height=
|
|
209
|
+
height={24}
|
|
210
210
|
meetOrSlice={0}
|
|
211
211
|
minX={0}
|
|
212
212
|
minY={0}
|
|
@@ -218,14 +218,14 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"flex": 0,
|
|
221
|
-
"height":
|
|
222
|
-
"width":
|
|
221
|
+
"height": 24,
|
|
222
|
+
"width": 24,
|
|
223
223
|
},
|
|
224
224
|
]
|
|
225
225
|
}
|
|
226
|
-
vbHeight={
|
|
227
|
-
vbWidth={
|
|
228
|
-
width=
|
|
226
|
+
vbHeight={19}
|
|
227
|
+
vbWidth={11}
|
|
228
|
+
width={24}
|
|
229
229
|
>
|
|
230
230
|
<RNSVGGroup
|
|
231
231
|
fill={null}
|
|
@@ -236,7 +236,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
236
236
|
}
|
|
237
237
|
>
|
|
238
238
|
<RNSVGPath
|
|
239
|
-
d="
|
|
239
|
+
d="M1.75 1.625L9.33333 9.5L1.75 17.375"
|
|
240
240
|
propList={
|
|
241
241
|
[
|
|
242
242
|
"stroke",
|
|
@@ -1424,7 +1424,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1424
1424
|
}
|
|
1425
1425
|
>
|
|
1426
1426
|
<View
|
|
1427
|
-
accessibilityLabel="
|
|
1427
|
+
accessibilityLabel=" Maandag 13 Februari 2023 "
|
|
1428
1428
|
accessibilityRole="button"
|
|
1429
1429
|
accessibilityState={
|
|
1430
1430
|
{
|
|
@@ -1444,10 +1444,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1444
1444
|
style={
|
|
1445
1445
|
{
|
|
1446
1446
|
"alignItems": "center",
|
|
1447
|
-
"borderColor": "#7B93DB",
|
|
1448
|
-
"borderRadius": 21,
|
|
1449
|
-
"borderStyle": "solid",
|
|
1450
|
-
"borderWidth": 1,
|
|
1451
1447
|
"height": 42,
|
|
1452
1448
|
"justifyContent": "center",
|
|
1453
1449
|
"opacity": 1,
|
|
@@ -1467,9 +1463,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1467
1463
|
"lineHeight": 22.4,
|
|
1468
1464
|
"marginTop": 4,
|
|
1469
1465
|
},
|
|
1470
|
-
{
|
|
1471
|
-
"color": "#7B93DB",
|
|
1472
|
-
},
|
|
1473
1466
|
]
|
|
1474
1467
|
}
|
|
1475
1468
|
>
|
|
@@ -2417,7 +2410,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
2417
2410
|
}
|
|
2418
2411
|
>
|
|
2419
2412
|
<View
|
|
2420
|
-
accessibilityLabel=" Maandag 27 Februari 2023 "
|
|
2413
|
+
accessibilityLabel="today Maandag 27 Februari 2023 "
|
|
2421
2414
|
accessibilityRole="button"
|
|
2422
2415
|
accessibilityState={
|
|
2423
2416
|
{
|
|
@@ -2437,6 +2430,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
2437
2430
|
style={
|
|
2438
2431
|
{
|
|
2439
2432
|
"alignItems": "center",
|
|
2433
|
+
"borderColor": "#7B93DB",
|
|
2434
|
+
"borderRadius": 21,
|
|
2435
|
+
"borderStyle": "solid",
|
|
2436
|
+
"borderWidth": 1,
|
|
2440
2437
|
"height": 42,
|
|
2441
2438
|
"justifyContent": "center",
|
|
2442
2439
|
"opacity": 1,
|
|
@@ -2456,6 +2453,9 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
2456
2453
|
"lineHeight": 22.4,
|
|
2457
2454
|
"marginTop": 4,
|
|
2458
2455
|
},
|
|
2456
|
+
{
|
|
2457
|
+
"color": "#7B93DB",
|
|
2458
|
+
},
|
|
2459
2459
|
]
|
|
2460
2460
|
}
|
|
2461
2461
|
>
|
|
@@ -2997,11 +2997,11 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
2997
2997
|
>
|
|
2998
2998
|
<RNSVGSvgView
|
|
2999
2999
|
align="xMidYMid"
|
|
3000
|
-
bbHeight=
|
|
3001
|
-
bbWidth=
|
|
3000
|
+
bbHeight={24}
|
|
3001
|
+
bbWidth={24}
|
|
3002
3002
|
fill="none"
|
|
3003
3003
|
focusable={false}
|
|
3004
|
-
height=
|
|
3004
|
+
height={24}
|
|
3005
3005
|
meetOrSlice={0}
|
|
3006
3006
|
minX={0}
|
|
3007
3007
|
minY={0}
|
|
@@ -3013,14 +3013,14 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
3013
3013
|
},
|
|
3014
3014
|
{
|
|
3015
3015
|
"flex": 0,
|
|
3016
|
-
"height":
|
|
3017
|
-
"width":
|
|
3016
|
+
"height": 24,
|
|
3017
|
+
"width": 24,
|
|
3018
3018
|
},
|
|
3019
3019
|
]
|
|
3020
3020
|
}
|
|
3021
|
-
vbHeight={
|
|
3022
|
-
vbWidth={
|
|
3023
|
-
width=
|
|
3021
|
+
vbHeight={19}
|
|
3022
|
+
vbWidth={10}
|
|
3023
|
+
width={24}
|
|
3024
3024
|
>
|
|
3025
3025
|
<RNSVGGroup
|
|
3026
3026
|
fill={null}
|
|
@@ -3031,7 +3031,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
3031
3031
|
}
|
|
3032
3032
|
>
|
|
3033
3033
|
<RNSVGPath
|
|
3034
|
-
d="
|
|
3034
|
+
d="M8.875 17.375L1 9.5L8.875 1.625"
|
|
3035
3035
|
propList={
|
|
3036
3036
|
[
|
|
3037
3037
|
"stroke",
|
|
@@ -3109,11 +3109,11 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
3109
3109
|
>
|
|
3110
3110
|
<RNSVGSvgView
|
|
3111
3111
|
align="xMidYMid"
|
|
3112
|
-
bbHeight=
|
|
3113
|
-
bbWidth=
|
|
3112
|
+
bbHeight={24}
|
|
3113
|
+
bbWidth={24}
|
|
3114
3114
|
fill="none"
|
|
3115
3115
|
focusable={false}
|
|
3116
|
-
height=
|
|
3116
|
+
height={24}
|
|
3117
3117
|
meetOrSlice={0}
|
|
3118
3118
|
minX={0}
|
|
3119
3119
|
minY={0}
|
|
@@ -3125,14 +3125,14 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
3125
3125
|
},
|
|
3126
3126
|
{
|
|
3127
3127
|
"flex": 0,
|
|
3128
|
-
"height":
|
|
3129
|
-
"width":
|
|
3128
|
+
"height": 24,
|
|
3129
|
+
"width": 24,
|
|
3130
3130
|
},
|
|
3131
3131
|
]
|
|
3132
3132
|
}
|
|
3133
|
-
vbHeight={
|
|
3134
|
-
vbWidth={
|
|
3135
|
-
width=
|
|
3133
|
+
vbHeight={19}
|
|
3134
|
+
vbWidth={11}
|
|
3135
|
+
width={24}
|
|
3136
3136
|
>
|
|
3137
3137
|
<RNSVGGroup
|
|
3138
3138
|
fill={null}
|
|
@@ -3143,7 +3143,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
3143
3143
|
}
|
|
3144
3144
|
>
|
|
3145
3145
|
<RNSVGPath
|
|
3146
|
-
d="
|
|
3146
|
+
d="M1.75 1.625L9.33333 9.5L1.75 17.375"
|
|
3147
3147
|
propList={
|
|
3148
3148
|
[
|
|
3149
3149
|
"stroke",
|
|
@@ -4355,8 +4355,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4355
4355
|
}
|
|
4356
4356
|
>
|
|
4357
4357
|
<View
|
|
4358
|
-
accessibilityLabel="
|
|
4359
|
-
accessibilityRole="button"
|
|
4358
|
+
accessibilityLabel=" Maandag 13 Februari 2023 "
|
|
4360
4359
|
accessibilityState={
|
|
4361
4360
|
{
|
|
4362
4361
|
"disabled": false,
|
|
@@ -4375,10 +4374,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4375
4374
|
style={
|
|
4376
4375
|
{
|
|
4377
4376
|
"alignItems": "center",
|
|
4378
|
-
"borderColor": "#7B93DB",
|
|
4379
|
-
"borderRadius": 21,
|
|
4380
|
-
"borderStyle": "solid",
|
|
4381
|
-
"borderWidth": 1,
|
|
4382
4377
|
"height": 42,
|
|
4383
4378
|
"justifyContent": "center",
|
|
4384
4379
|
"opacity": 1,
|
|
@@ -4399,7 +4394,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4399
4394
|
"marginTop": 4,
|
|
4400
4395
|
},
|
|
4401
4396
|
{
|
|
4402
|
-
"color": "#
|
|
4397
|
+
"color": "#9AA5B1",
|
|
4403
4398
|
},
|
|
4404
4399
|
]
|
|
4405
4400
|
}
|
|
@@ -5374,7 +5369,8 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
5374
5369
|
}
|
|
5375
5370
|
>
|
|
5376
5371
|
<View
|
|
5377
|
-
accessibilityLabel=" Maandag 27 Februari 2023 "
|
|
5372
|
+
accessibilityLabel="today Maandag 27 Februari 2023 "
|
|
5373
|
+
accessibilityRole="button"
|
|
5378
5374
|
accessibilityState={
|
|
5379
5375
|
{
|
|
5380
5376
|
"disabled": false,
|
|
@@ -5393,6 +5389,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
5393
5389
|
style={
|
|
5394
5390
|
{
|
|
5395
5391
|
"alignItems": "center",
|
|
5392
|
+
"borderColor": "#7B93DB",
|
|
5393
|
+
"borderRadius": 21,
|
|
5394
|
+
"borderStyle": "solid",
|
|
5395
|
+
"borderWidth": 1,
|
|
5396
5396
|
"height": 42,
|
|
5397
5397
|
"justifyContent": "center",
|
|
5398
5398
|
"opacity": 1,
|
|
@@ -5413,7 +5413,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
5413
5413
|
"marginTop": 4,
|
|
5414
5414
|
},
|
|
5415
5415
|
{
|
|
5416
|
-
"color": "#
|
|
5416
|
+
"color": "#7B93DB",
|
|
5417
5417
|
},
|
|
5418
5418
|
]
|
|
5419
5419
|
}
|
|
@@ -89,8 +89,10 @@ export const Calendar = ({
|
|
|
89
89
|
firstDay={1}
|
|
90
90
|
enableSwipeMonths={true}
|
|
91
91
|
renderArrow={(direction) => {
|
|
92
|
-
if (direction === 'left')
|
|
93
|
-
|
|
92
|
+
if (direction === 'left')
|
|
93
|
+
return <Icon style={'regular'} name={'chevron-left'} />;
|
|
94
|
+
if (direction === 'right')
|
|
95
|
+
return <Icon style={'regular'} name={'chevron-right'} />;
|
|
94
96
|
}}
|
|
95
97
|
/>
|
|
96
98
|
);
|
|
@@ -20,11 +20,11 @@ exports[`test footer renders footer correctly 1`] = `
|
|
|
20
20
|
>
|
|
21
21
|
<RNSVGSvgView
|
|
22
22
|
align="xMidYMid"
|
|
23
|
-
bbHeight=
|
|
24
|
-
bbWidth=
|
|
23
|
+
bbHeight={24}
|
|
24
|
+
bbWidth={24}
|
|
25
25
|
fill="none"
|
|
26
26
|
focusable={false}
|
|
27
|
-
height=
|
|
27
|
+
height={24}
|
|
28
28
|
meetOrSlice={0}
|
|
29
29
|
minX={0}
|
|
30
30
|
minY={0}
|
|
@@ -36,14 +36,14 @@ exports[`test footer renders footer correctly 1`] = `
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"flex": 0,
|
|
39
|
-
"height":
|
|
40
|
-
"width":
|
|
39
|
+
"height": 24,
|
|
40
|
+
"width": 24,
|
|
41
41
|
},
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
|
-
vbHeight={
|
|
45
|
-
vbWidth={
|
|
46
|
-
width=
|
|
44
|
+
vbHeight={21}
|
|
45
|
+
vbWidth={20}
|
|
46
|
+
width={24}
|
|
47
47
|
>
|
|
48
48
|
<RNSVGGroup
|
|
49
49
|
fill={null}
|
|
@@ -54,7 +54,7 @@ exports[`test footer renders footer correctly 1`] = `
|
|
|
54
54
|
}
|
|
55
55
|
>
|
|
56
56
|
<RNSVGPath
|
|
57
|
-
d="
|
|
57
|
+
d="M11 1.5C11 0.947715 10.5523 0.5 9.99998 0.5C9.44769 0.5 8.99998 0.947715 8.99998 1.5H11ZM8.99998 2.625C8.99998 3.17728 9.44769 3.625 9.99998 3.625C10.5523 3.625 11 3.17728 11 2.625H8.99998ZM16.5 14C15.9477 14 15.5 14.4477 15.5 15C15.5 15.5523 15.9477 16 16.5 16V14ZM18.6666 16C19.2189 16 19.6666 15.5523 19.6666 15C19.6666 14.4477 19.2189 14 18.6666 14V16ZM9.99998 15V14C9.44769 14 8.99998 14.4477 8.99998 15H9.99998ZM12.1666 16C12.7189 16 13.1666 15.5523 13.1666 15C13.1666 14.4477 12.7189 14 12.1666 14V16ZM8.99998 19.5C8.99998 20.0523 9.44769 20.5 9.99998 20.5C10.5523 20.5 11 20.0523 11 19.5H8.99998ZM11 7.125C11 6.57272 10.5523 6.125 9.99998 6.125C9.44769 6.125 8.99998 6.57272 8.99998 7.125H11ZM9.99998 10.5H8.99998C8.99998 11.0523 9.44769 11.5 9.99998 11.5V10.5ZM14.3333 18.5C13.781 18.5 13.3333 18.9477 13.3333 19.5C13.3333 20.0523 13.781 20.5 14.3333 20.5V18.5ZM18.6666 20.5C19.2189 20.5 19.6666 20.0523 19.6666 19.5C19.6666 18.9477 19.2189 18.5 18.6666 18.5V20.5ZM1.33331 9.5C0.781028 9.5 0.333313 9.94771 0.333313 10.5C0.333313 11.0523 0.781028 11.5 1.33331 11.5V9.5ZM5.66665 11.5C6.21893 11.5 6.66665 11.0523 6.66665 10.5C6.66665 9.94771 6.21893 9.5 5.66665 9.5V11.5ZM10.0108 11.5C10.5631 11.5 11.0108 11.0523 11.0108 10.5C11.0108 9.94771 10.5631 9.5 10.0108 9.5V11.5ZM14.3441 11.5C14.8964 11.5 15.3441 11.0523 15.3441 10.5C15.3441 9.94771 14.8964 9.5 14.3441 9.5V11.5ZM18.6666 9.5C18.1144 9.5 17.6666 9.94771 17.6666 10.5C17.6666 11.0523 18.1144 11.5 18.6666 11.5V9.5ZM18.6775 11.5C19.2298 11.5 19.6775 11.0523 19.6775 10.5C19.6775 9.94771 19.2298 9.5 18.6775 9.5V11.5ZM2.41665 2.5H4.58331V0.5H2.41665V2.5ZM4.66665 2.625V4.875H6.66665V2.625H4.66665ZM4.58331 5H2.41665V7H4.58331V5ZM2.33331 4.875V2.625H0.333313V4.875H2.33331ZM2.41665 5C2.40602 5 2.39043 4.9971 2.37093 4.97685C2.3508 4.95595 2.33331 4.92194 2.33331 4.875H0.333313C0.333313 6.0127 1.23082 7 2.41665 7V5ZM4.66665 4.875C4.66665 4.92194 4.64916 4.95595 4.62902 4.97685C4.60953 4.9971 4.59394 5 4.58331 5V7C5.76914 7 6.66665 6.0127 6.66665 4.875H4.66665ZM4.58331 2.5C4.59394 2.5 4.60953 2.5029 4.62902 2.52315C4.64916 2.54405 4.66665 2.57806 4.66665 2.625H6.66665C6.66665 1.4873 5.76914 0.5 4.58331 0.5V2.5ZM2.41665 0.5C1.23082 0.5 0.333313 1.4873 0.333313 2.625H2.33331C2.33331 2.57806 2.3508 2.54405 2.37093 2.52315C2.39043 2.5029 2.40602 2.5 2.41665 2.5V0.5ZM15.4166 2.5H17.5833V0.5H15.4166V2.5ZM17.6666 2.625V4.875H19.6666V2.625H17.6666ZM17.5833 5H15.4166V7H17.5833V5ZM15.3333 4.875V2.625H13.3333V4.875H15.3333ZM15.4166 5C15.406 5 15.3904 4.9971 15.3709 4.97685C15.3508 4.95595 15.3333 4.92194 15.3333 4.875H13.3333C13.3333 6.0127 14.2308 7 15.4166 7V5ZM17.6666 4.875C17.6666 4.92194 17.6492 4.95595 17.629 4.97685C17.6095 4.9971 17.5939 5 17.5833 5V7C18.7691 7 19.6666 6.0127 19.6666 4.875H17.6666ZM17.5833 2.5C17.5939 2.5 17.6095 2.5029 17.629 2.52315C17.6492 2.54405 17.6666 2.57806 17.6666 2.625H19.6666C19.6666 1.4873 18.7691 0.5 17.5833 0.5V2.5ZM15.4166 0.5C14.2308 0.5 13.3333 1.4873 13.3333 2.625H15.3333C15.3333 2.57806 15.3508 2.54405 15.3709 2.52315C15.3904 2.5029 15.406 2.5 15.4166 2.5V0.5ZM2.41665 16H4.58331V14H2.41665V16ZM4.66665 16.125V18.375H6.66665V16.125H4.66665ZM4.58331 18.5H2.41665V20.5H4.58331V18.5ZM2.33331 18.375V16.125H0.333313V18.375H2.33331ZM2.41665 18.5C2.40602 18.5 2.39043 18.4971 2.37093 18.4769C2.3508 18.4559 2.33331 18.4219 2.33331 18.375H0.333313C0.333313 19.5127 1.23082 20.5 2.41665 20.5V18.5ZM4.66665 18.375C4.66665 18.4219 4.64916 18.4559 4.62902 18.4769C4.60953 18.4971 4.59394 18.5 4.58331 18.5V20.5C5.76914 20.5 6.66665 19.5127 6.66665 18.375H4.66665ZM4.58331 16C4.59394 16 4.60953 16.0029 4.62902 16.0231C4.64916 16.0441 4.66665 16.0781 4.66665 16.125H6.66665C6.66665 14.9873 5.76914 14 4.58331 14V16ZM2.41665 14C1.23082 14 0.333313 14.9873 0.333313 16.125H2.33331C2.33331 16.0781 2.3508 16.0441 2.37093 16.0231C2.39043 16.0029 2.40602 16 2.41665 16V14ZM8.99998 1.5V2.625H11V1.5H8.99998ZM16.5 16H18.6666V14H16.5V16ZM9.99998 16H12.1666V14H9.99998V16ZM8.99998 15V19.5H11V15H8.99998ZM8.99998 7.125V10.5H11V7.125H8.99998ZM14.3333 20.5H18.6666V18.5H14.3333V20.5ZM1.33331 11.5H5.66665V9.5H1.33331V11.5ZM9.99998 11.5H10.0108V9.5H9.99998V11.5ZM18.6666 11.5H18.6775V9.5H18.6666V11.5ZM9.99998 11.5H14.3441V9.5H9.99998V11.5Z"
|
|
58
58
|
fill={4283522924}
|
|
59
59
|
propList={
|
|
60
60
|
[
|
|
@@ -36,11 +36,11 @@ exports[`Increment input test renders an increment input component 1`] = `
|
|
|
36
36
|
>
|
|
37
37
|
<RNSVGSvgView
|
|
38
38
|
align="xMidYMid"
|
|
39
|
-
bbHeight={
|
|
40
|
-
bbWidth={
|
|
39
|
+
bbHeight={18}
|
|
40
|
+
bbWidth={18}
|
|
41
41
|
fill="none"
|
|
42
42
|
focusable={false}
|
|
43
|
-
height={
|
|
43
|
+
height={18}
|
|
44
44
|
meetOrSlice={0}
|
|
45
45
|
minX={0}
|
|
46
46
|
minY={0}
|
|
@@ -52,14 +52,14 @@ exports[`Increment input test renders an increment input component 1`] = `
|
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"flex": 0,
|
|
55
|
-
"height":
|
|
56
|
-
"width":
|
|
55
|
+
"height": 18,
|
|
56
|
+
"width": 18,
|
|
57
57
|
},
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
|
-
vbHeight={
|
|
61
|
-
vbWidth={
|
|
62
|
-
width={
|
|
60
|
+
vbHeight={3}
|
|
61
|
+
vbWidth={16}
|
|
62
|
+
width={18}
|
|
63
63
|
>
|
|
64
64
|
<RNSVGGroup
|
|
65
65
|
fill={null}
|
|
@@ -70,7 +70,7 @@ exports[`Increment input test renders an increment input component 1`] = `
|
|
|
70
70
|
}
|
|
71
71
|
>
|
|
72
72
|
<RNSVGPath
|
|
73
|
-
d="
|
|
73
|
+
d="M14.5 1.5H1.5"
|
|
74
74
|
propList={
|
|
75
75
|
[
|
|
76
76
|
"stroke",
|
|
@@ -158,11 +158,11 @@ exports[`Increment input test renders an increment input component 1`] = `
|
|
|
158
158
|
>
|
|
159
159
|
<RNSVGSvgView
|
|
160
160
|
align="xMidYMid"
|
|
161
|
-
bbHeight={
|
|
162
|
-
bbWidth={
|
|
161
|
+
bbHeight={18}
|
|
162
|
+
bbWidth={18}
|
|
163
163
|
fill="none"
|
|
164
164
|
focusable={false}
|
|
165
|
-
height={
|
|
165
|
+
height={18}
|
|
166
166
|
meetOrSlice={0}
|
|
167
167
|
minX={0}
|
|
168
168
|
minY={0}
|
|
@@ -174,14 +174,14 @@ exports[`Increment input test renders an increment input component 1`] = `
|
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"flex": 0,
|
|
177
|
-
"height":
|
|
178
|
-
"width":
|
|
177
|
+
"height": 18,
|
|
178
|
+
"width": 18,
|
|
179
179
|
},
|
|
180
180
|
]
|
|
181
181
|
}
|
|
182
|
-
vbHeight={
|
|
183
|
-
vbWidth={
|
|
184
|
-
width={
|
|
182
|
+
vbHeight={17}
|
|
183
|
+
vbWidth={17}
|
|
184
|
+
width={18}
|
|
185
185
|
>
|
|
186
186
|
<RNSVGGroup
|
|
187
187
|
fill={null}
|
|
@@ -192,7 +192,7 @@ exports[`Increment input test renders an increment input component 1`] = `
|
|
|
192
192
|
}
|
|
193
193
|
>
|
|
194
194
|
<RNSVGPath
|
|
195
|
-
d="
|
|
195
|
+
d="M8.5 1.75V8.5M8.5 8.5V15.25M8.5 8.5H15.25M8.5 8.5L1.75 8.5"
|
|
196
196
|
propList={
|
|
197
197
|
[
|
|
198
198
|
"stroke",
|
|
@@ -38,7 +38,12 @@ export const IncrementInput = ({
|
|
|
38
38
|
return (
|
|
39
39
|
<View style={styles.container}>
|
|
40
40
|
<Pressable onPress={decrement} style={styles.buttonContainer}>
|
|
41
|
-
<Icon
|
|
41
|
+
<Icon
|
|
42
|
+
style={'regular'}
|
|
43
|
+
name={'minus-sm'}
|
|
44
|
+
size={18}
|
|
45
|
+
color={context.colors.ui.white}
|
|
46
|
+
/>
|
|
42
47
|
</Pressable>
|
|
43
48
|
<View style={styles.numberContainer}>
|
|
44
49
|
<Paragraph textAlign={'center'} addStyle={styles.number}>
|
|
@@ -46,7 +51,12 @@ export const IncrementInput = ({
|
|
|
46
51
|
</Paragraph>
|
|
47
52
|
</View>
|
|
48
53
|
<Pressable onPress={increment} style={styles.buttonContainer}>
|
|
49
|
-
<Icon
|
|
54
|
+
<Icon
|
|
55
|
+
style={'regular'}
|
|
56
|
+
name={'plus-sm'}
|
|
57
|
+
size={18}
|
|
58
|
+
color={context.colors.ui.white}
|
|
59
|
+
/>
|
|
50
60
|
</Pressable>
|
|
51
61
|
</View>
|
|
52
62
|
);
|