@tactics/toddle-styleguide 1.2.8 → 1.2.9
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/package.json +1 -1
- package/src/components/atoms/backdrop/backdrop.component.d.ts +4 -7
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +18 -18
- package/src/components/atoms/calendar/calendar.component.d.ts +6 -11
- package/src/components/atoms/check-switch/check-switch.component.d.ts +3 -3
- package/src/components/atoms/footer/footer.component.d.ts +6 -6
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +2 -10
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +2 -10
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +2 -10
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +2 -10
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +2 -10
- package/src/components/atoms/heading-components/index.d.ts +6 -6
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +6 -9
- package/src/components/atoms/increment-input/increment-input.component.d.ts +4 -8
- package/src/components/atoms/logo/logo.component.d.ts +4 -4
- package/src/components/atoms/paragraph-components/index.d.ts +4 -4
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +2 -10
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +2 -10
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +2 -10
- package/src/components/atoms/quick-message/__snapshots__/quick-message.test.js.snap +72 -1
- package/src/components/atoms/quick-message/quick-message.component.d.ts +5 -8
- package/src/components/atoms/quick-message/quick-message.component.tsx +3 -1
- package/src/components/atoms/quick-message/quick-message.preview.tsx +10 -1
- package/src/components/atoms/quick-message/quick-message.styles.d.ts +13 -13
- package/src/components/atoms/quick-message/quick-message.styles.js +4 -2
- package/src/components/atoms/quick-message/quick-message.test.js +38 -6
- package/src/components/atoms/split-container/split-container.component.d.ts +4 -7
- package/src/components/atoms/static-wave/static-wave.component.d.ts +6 -11
- package/src/components/atoms/text-input/text-input.component.d.ts +6 -10
- package/src/components/atoms/text-input/text-input.component.tsx +6 -9
- package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
- package/src/components/atoms/text-input/text-input.preview.tsx +3 -3
- package/src/components/atoms/text-input/text-input.styles.d.ts +20 -44
- package/src/components/atoms/text-input/text-input.styles.js +7 -13
- package/src/components/molecules/avatar/avatar.component.d.ts +11 -18
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +2 -4
- package/src/components/molecules/button/button.component.d.ts +11 -20
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +7 -12
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +4 -4
- package/src/components/molecules/checkbox/checkbox.component.d.ts +5 -9
- package/src/components/molecules/contact-role/contact-role.component.d.ts +3 -6
- package/src/components/molecules/date-input/date-input.component.d.ts +4 -7
- package/src/components/molecules/day/day.component.d.ts +6 -6
- package/src/components/molecules/day/day.component.tsx +17 -4
- package/src/components/molecules/day/day.styles.d.ts +27 -44
- package/src/components/molecules/day/day.styles.js +14 -17
- package/src/components/molecules/default-select/default-select.component.d.ts +3 -6
- package/src/components/molecules/department_logo/department-logo.component.d.ts +3 -5
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +6 -11
- package/src/components/molecules/filter-range/filter-range.component.d.ts +7 -14
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +7 -11
- package/src/components/molecules/info/info.component.d.ts +4 -4
- package/src/components/molecules/language-button/language-button.component.d.ts +4 -8
- package/src/components/molecules/message-input/message-input.component.d.ts +7 -11
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +4 -8
- package/src/components/molecules/password-input/password-input.component.d.ts +5 -9
- package/src/components/molecules/password-input/password-input.component.tsx +7 -9
- package/src/components/molecules/password-input/password-input.styles.d.ts +27 -26
- package/src/components/molecules/password-input/password-input.styles.js +6 -6
- package/src/components/molecules/pill/pill.component.d.ts +5 -5
- package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +5 -10
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +9 -16
- package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +23 -13
- package/src/components/molecules/search-input/search.component.d.ts +9 -16
- package/src/components/molecules/search-input/search.component.tsx +19 -30
- package/src/components/molecules/search-input/search.preview.d.ts +1 -1
- package/src/components/molecules/search-input/search.preview.tsx +8 -6
- package/src/components/molecules/search-input/search.styles.d.ts +31 -30
- package/src/components/molecules/search-input/search.styles.js +14 -8
- package/src/components/molecules/search-input/search.test.js +3 -1
- package/src/components/molecules/select-link/select-link.component.d.ts +4 -4
- package/src/components/molecules/select-list-item/select-list-item.component.d.ts +7 -13
- package/src/components/molecules/select-picker/select-picker.component.d.ts +8 -13
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +10 -17
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +1 -5
- package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +58 -74
- package/src/components/molecules/send-bubble/send-text-bubble.styles.js +2 -8
- package/src/components/molecules/snackbar/snackbar.component.d.ts +5 -5
- package/src/components/molecules/swipe/swipe.component.d.ts +5 -5
- package/src/components/molecules/tag/tag.component.d.ts +6 -11
- package/src/components/molecules/time-picker/time-picker.component.d.ts +5 -10
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +6 -10
- package/src/components/molecules/timeline/timeline.component.d.ts +3 -6
- package/src/components/molecules/timeline/timeline.styles.d.ts +40 -50
- package/src/components/molecules/timeline/timeline.styles.js +2 -2
- package/src/components/molecules/timestamp/timestamp.component.d.ts +4 -3
- package/src/components/molecules/timestamp/timestamp.component.tsx +4 -7
- package/src/components/molecules/wave-background/wave.component.d.ts +2 -7
- package/src/components/molecules/wide-button/wide-button.component.d.ts +6 -11
- package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +165 -10
- package/src/components/organisms/child-list-item/child-list-item.component.d.ts +18 -32
- package/src/components/organisms/child-list-item/child-list-item.component.tsx +24 -1
- package/src/components/organisms/child-list-item/child-list-item.preview.tsx +11 -0
- package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +35 -41
- package/src/components/organisms/child-list-item/child-list-item.styles.js +2 -3
- package/src/components/organisms/child-list-item/child-list-item.test.js +9 -4
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +6 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.component.tsx +28 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.d.ts +10 -0
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.js +16 -0
- package/src/components/organisms/contact-item/contact-item.component.d.ts +6 -11
- package/src/components/organisms/day-select/day-select.component.d.ts +6 -10
- package/src/components/organisms/day-select/day-select.preview.tsx +9 -5
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -13
- package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -9
- package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +143 -399
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +9 -18
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.tsx +32 -59
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +36 -24
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +32 -28
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +16 -11
- package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +5 -22
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +10 -18
- package/src/components/organisms/tab-view/tab-view.component.d.ts +8 -12
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +15 -24
- package/src/components/organisms/text-bubble/text-bubble.component.tsx +3 -1
- package/src/components/organisms/text-bubble/text-bubble.preview.tsx +8 -4
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +31 -44
- package/src/components/organisms/text-bubble/text-bubble.styles.js +2 -0
- package/src/components/templates/modal/components/fade-panel.component.d.ts +8 -16
- package/src/components/templates/modal/components/fade-panel.component.tsx +1 -1
- package/src/components/templates/modal/modal.component.d.ts +7 -14
- package/src/components/templates/popover/components/foreground/foreground.component.d.ts +4 -4
- package/src/components/templates/popover/components/modal/close/close.component.d.ts +4 -4
- package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +4 -4
- package/src/components/templates/popover/components/modal/modal.component.d.ts +9 -17
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +3 -5
- package/src/components/templates/popover/popover.component.d.ts +8 -15
- package/src/components/templates/popover-action/popover-action.component.d.ts +4 -8
- package/src/context/loading-dots.context.d.ts +6 -9
- package/src/context/theme.context.d.ts +47 -47
- package/src/gradients/main/main.gradient.d.ts +2 -4
- package/src/icons/index.d.ts +2 -7
- package/src/icons/outline/calendar/calendar.icon.d.ts +2 -2
- package/src/icons/outline/chat/chat.icon.d.ts +2 -2
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -2
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -5
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -5
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -5
- package/src/icons/outline/clock/clock.icon.d.ts +2 -2
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -5
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -5
- package/src/icons/outline/document-text/document-text.icon.d.ts +2 -5
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -5
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -5
- package/src/icons/outline/eye/eye.icon.d.ts +2 -2
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -2
- package/src/icons/outline/filter/filter.icon.d.ts +2 -2
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -5
- package/src/icons/outline/logout/logout.icon.d.ts +2 -2
- package/src/icons/outline/mail/mail.icon.d.ts +2 -2
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -2
- package/src/icons/outline/menu/menu.icon.d.ts +2 -2
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -5
- package/src/icons/outline/office-building/office-building.icon.d.ts +2 -5
- package/src/icons/outline/outline.d.ts +2 -6
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -5
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -5
- package/src/icons/outline/pencil/pencil.icon.d.ts +2 -2
- package/src/icons/outline/phone/phone.icon.d.ts +2 -2
- package/src/icons/outline/plus/plus.icon.d.ts +2 -2
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -5
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -2
- package/src/icons/outline/refresh/refresh.icon.d.ts +2 -2
- package/src/icons/outline/search/search.icon.d.ts +2 -2
- package/src/icons/outline/selector/selector.icon.d.ts +2 -2
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -5
- package/src/icons/outline/status-online/status-online.icon.d.ts +2 -5
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -2
- package/src/icons/outline/trash/trash.icon.d.ts +2 -2
- package/src/icons/outline/user/user.icon.d.ts +2 -2
- package/src/icons/outline/user-group/user-group.icon.d.ts +2 -5
- package/src/icons/outline/users/users.icon.d.ts +2 -2
- package/src/icons/outline/xmark/xmark.icon.d.ts +2 -2
- package/src/icons/solid/calendar/calendar.icon.d.ts +2 -2
- package/src/icons/solid/chat/chat.icon.d.ts +2 -2
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -2
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +2 -5
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +2 -5
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +2 -5
- package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +2 -5
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +2 -5
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +2 -5
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +2 -5
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +2 -5
- package/src/icons/solid/eye/eye.icon.d.ts +2 -2
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -2
- package/src/icons/solid/filter/filter.icon.d.ts +2 -2
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -5
- package/src/icons/solid/logout/logout.icon.d.ts +2 -2
- package/src/icons/solid/mail/mail.icon.d.ts +2 -2
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -2
- package/src/icons/solid/menu/menu.icon.d.ts +2 -2
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +2 -5
- package/src/icons/solid/office-building/office-building.icon.d.ts +2 -5
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +2 -5
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +2 -5
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -2
- package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -2
- package/src/icons/solid/plus/plus.icon.d.ts +2 -2
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +2 -5
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -2
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -2
- package/src/icons/solid/search/search.icon.d.ts +2 -2
- package/src/icons/solid/selector/selector.icon.d.ts +2 -2
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -5
- package/src/icons/solid/solid.d.ts +2 -6
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -5
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +2 -2
- package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -2
- package/src/icons/solid/user/user.icon.d.ts +2 -2
- package/src/icons/solid/user-group/user-group.icon.d.ts +2 -5
- package/src/icons/solid/users/users-solid.icon.d.ts +2 -2
- package/src/icons/solid/xmark/xmark.icon.d.ts +2 -2
- package/src/interfaces/icon.interface.d.ts +5 -5
- package/src/models/hex-color.model.d.ts +4 -4
- package/src/models/initials.model.d.ts +5 -5
- package/src/theme/font/font.d.ts +70 -70
- package/src/theme/font/index.d.ts +3 -3
- package/src/theme/provider/index.d.ts +3 -3
- package/src/theme/provider/parent.theme.d.ts +45 -45
- package/src/theme/provider/staff-member.theme.d.ts +45 -45
- package/src/theme/responsive/index.d.ts +2 -5
- package/src/theme/scale/index.d.ts +10 -10
- package/src/types/bubble-alignment.enum.d.ts +2 -2
- package/src/types/icontype.type.d.ts +1 -41
- package/src/types/keyboard-types.enum.d.ts +7 -7
- package/src/types/loading-dots.type.d.ts +6 -6
- package/src/types/size.enum.d.ts +3 -3
- package/src/types/text-properties.type.d.ts +8 -8
- package/src/types/visual-state.enum.d.ts +5 -5
- package/src/utilities/color-handler/color-handler.d.ts +2 -6
- package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +18 -14
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.tsx +6 -0
- package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +48 -92
- package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +31 -2
- package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +114 -84
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +4 -0
- package/src/utilities/toddle-datetime/types/{duration-like.type.tsx → duration.type.tsx} +3 -0
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +3 -11
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.tsx +8 -1
- package/src/utilities/toddle-datetime/types/duration-like.type.d.ts +0 -2
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {Animated} from 'react-native';
|
|
2
|
-
export declare const animationStyle: (
|
|
3
|
-
|
|
4
|
-
node: Animated.Value,
|
|
5
|
-
delay: number,
|
|
6
|
-
size: number | undefined
|
|
7
|
-
) => any;
|
|
8
|
-
export declare const styles: (
|
|
9
|
-
animation: string | undefined,
|
|
10
|
-
color: string | undefined,
|
|
11
|
-
size: number | undefined,
|
|
12
|
-
dynamicSize: Animated.Value | undefined
|
|
13
|
-
) => any;
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
|
+
export declare const animationStyle: (animation: string | undefined, node: Animated.Value, delay: number, size: number | undefined) => any;
|
|
3
|
+
export declare const styles: (animation: string | undefined, color: string | undefined, size: number | undefined, dynamicSize: Animated.Value | undefined) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {Animated} from 'react-native';
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
2
|
type DotProps = {
|
|
3
|
-
|
|
3
|
+
dynamicSize: Animated.Value;
|
|
4
4
|
};
|
|
5
|
-
export declare const Dot: ({dynamicSize}: DotProps) => JSX.Element;
|
|
5
|
+
export declare const Dot: ({ dynamicSize }: DotProps) => JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import {LoadingDotsProps} from '../../../types/loading-dots.type';
|
|
2
|
-
export declare const LoadingIndicator: ({
|
|
3
|
-
animation,
|
|
4
|
-
dots,
|
|
5
|
-
color,
|
|
6
|
-
size,
|
|
7
|
-
spacing,
|
|
8
|
-
delay,
|
|
9
|
-
}: LoadingDotsProps) => JSX.Element;
|
|
1
|
+
import { LoadingDotsProps } from '../../../types/loading-dots.type';
|
|
2
|
+
export declare const LoadingIndicator: ({ animation, dots, color, size, spacing, delay, }: LoadingDotsProps) => JSX.Element;
|
package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap
CHANGED
|
@@ -1,479 +1,223 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`My child list item component test Should render your child
|
|
3
|
+
exports[`My child list item component test Should render your child 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
accessibilityState={
|
|
6
|
-
{
|
|
7
|
-
"busy": undefined,
|
|
8
|
-
"checked": undefined,
|
|
9
|
-
"disabled": undefined,
|
|
10
|
-
"expanded": undefined,
|
|
11
|
-
"selected": undefined,
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
accessibilityValue={
|
|
15
|
-
{
|
|
16
|
-
"max": undefined,
|
|
17
|
-
"min": undefined,
|
|
18
|
-
"now": undefined,
|
|
19
|
-
"text": undefined,
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
accessible={true}
|
|
23
|
-
collapsable={false}
|
|
24
|
-
focusable={true}
|
|
25
|
-
onBlur={[Function]}
|
|
26
|
-
onClick={[Function]}
|
|
27
|
-
onFocus={[Function]}
|
|
28
|
-
onResponderGrant={[Function]}
|
|
29
|
-
onResponderMove={[Function]}
|
|
30
|
-
onResponderRelease={[Function]}
|
|
31
|
-
onResponderTerminate={[Function]}
|
|
32
|
-
onResponderTerminationRequest={[Function]}
|
|
33
|
-
onStartShouldSetResponder={[Function]}
|
|
34
5
|
style={
|
|
35
6
|
{
|
|
36
|
-
"alignItems": "center",
|
|
37
7
|
"backgroundColor": "#FFFFFF",
|
|
38
8
|
"borderBottomLeftRadius": 48,
|
|
39
9
|
"borderBottomRightRadius": 24,
|
|
40
10
|
"borderTopLeftRadius": 48,
|
|
41
11
|
"borderTopRightRadius": 24,
|
|
42
12
|
"flexDirection": "row",
|
|
43
|
-
"padding": 8,
|
|
44
13
|
"width": "100%",
|
|
45
14
|
}
|
|
46
15
|
}
|
|
47
16
|
>
|
|
48
17
|
<View
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"backgroundColor": "#E5E8EB",
|
|
57
|
-
"justifyContent": "center",
|
|
58
|
-
"overflow": "hidden",
|
|
59
|
-
},
|
|
60
|
-
false,
|
|
61
|
-
{
|
|
62
|
-
"borderRadius": 36,
|
|
63
|
-
"height": 72,
|
|
64
|
-
"width": 72,
|
|
65
|
-
},
|
|
66
|
-
false,
|
|
67
|
-
]
|
|
18
|
+
accessibilityState={
|
|
19
|
+
{
|
|
20
|
+
"busy": undefined,
|
|
21
|
+
"checked": undefined,
|
|
22
|
+
"disabled": undefined,
|
|
23
|
+
"expanded": undefined,
|
|
24
|
+
"selected": undefined,
|
|
68
25
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"borderRadius": 50,
|
|
91
|
-
"height": "90%",
|
|
92
|
-
"position": "absolute",
|
|
93
|
-
"width": "90%",
|
|
94
|
-
},
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
/>
|
|
98
|
-
</View>
|
|
99
|
-
</View>
|
|
100
|
-
<View
|
|
26
|
+
}
|
|
27
|
+
accessibilityValue={
|
|
28
|
+
{
|
|
29
|
+
"max": undefined,
|
|
30
|
+
"min": undefined,
|
|
31
|
+
"now": undefined,
|
|
32
|
+
"text": undefined,
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
accessible={true}
|
|
36
|
+
collapsable={false}
|
|
37
|
+
focusable={true}
|
|
38
|
+
onBlur={[Function]}
|
|
39
|
+
onClick={[Function]}
|
|
40
|
+
onFocus={[Function]}
|
|
41
|
+
onResponderGrant={[Function]}
|
|
42
|
+
onResponderMove={[Function]}
|
|
43
|
+
onResponderRelease={[Function]}
|
|
44
|
+
onResponderTerminate={[Function]}
|
|
45
|
+
onResponderTerminationRequest={[Function]}
|
|
46
|
+
onStartShouldSetResponder={[Function]}
|
|
101
47
|
style={
|
|
102
48
|
{
|
|
103
|
-
"alignItems": "
|
|
49
|
+
"alignItems": "center",
|
|
50
|
+
"borderBottomLeftRadius": 48,
|
|
51
|
+
"borderBottomRightRadius": 24,
|
|
52
|
+
"borderTopLeftRadius": 48,
|
|
53
|
+
"borderTopRightRadius": 24,
|
|
104
54
|
"flex": 1,
|
|
105
|
-
"
|
|
106
|
-
"
|
|
55
|
+
"flexDirection": "row",
|
|
56
|
+
"padding": 8,
|
|
107
57
|
}
|
|
108
58
|
}
|
|
109
59
|
>
|
|
110
|
-
<Text
|
|
111
|
-
style={
|
|
112
|
-
[
|
|
113
|
-
[
|
|
114
|
-
{
|
|
115
|
-
"fontFamily": "Montserrat",
|
|
116
|
-
"fontSize": 11,
|
|
117
|
-
"lineHeight": 17.9,
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
{
|
|
121
|
-
"color": "#1F2933",
|
|
122
|
-
"textAlign": "left",
|
|
123
|
-
"width": "100%",
|
|
124
|
-
},
|
|
125
|
-
undefined,
|
|
126
|
-
]
|
|
127
|
-
}
|
|
128
|
-
>
|
|
129
|
-
2
|
|
130
|
-
jaar
|
|
131
|
-
</Text>
|
|
132
|
-
<Text
|
|
133
|
-
ellipsizeMode="tail"
|
|
134
|
-
numberOfLines={1}
|
|
135
|
-
style={
|
|
136
|
-
[
|
|
137
|
-
[
|
|
138
|
-
{
|
|
139
|
-
"fontFamily": "SourceSansProBold",
|
|
140
|
-
"fontSize": 24,
|
|
141
|
-
"lineHeight": 30.2,
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
{
|
|
145
|
-
"color": "#1F2933",
|
|
146
|
-
"textAlign": "left",
|
|
147
|
-
"width": "100%",
|
|
148
|
-
},
|
|
149
|
-
undefined,
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
>
|
|
153
|
-
Luca Jannsens
|
|
154
|
-
</Text>
|
|
155
60
|
<View
|
|
156
|
-
style={
|
|
157
|
-
{
|
|
158
|
-
"marginTop": 2,
|
|
159
|
-
}
|
|
160
|
-
}
|
|
61
|
+
style={null}
|
|
161
62
|
>
|
|
162
63
|
<View
|
|
163
64
|
style={
|
|
164
65
|
[
|
|
165
66
|
{
|
|
166
67
|
"alignItems": "center",
|
|
167
|
-
"
|
|
68
|
+
"backgroundColor": "#647ACB",
|
|
168
69
|
"justifyContent": "center",
|
|
169
|
-
"
|
|
170
|
-
"paddingLeft": 8,
|
|
171
|
-
"paddingRight": 8,
|
|
172
|
-
"paddingTop": 4,
|
|
70
|
+
"overflow": "hidden",
|
|
173
71
|
},
|
|
174
72
|
false,
|
|
175
|
-
false,
|
|
176
|
-
false,
|
|
177
|
-
false,
|
|
178
73
|
{
|
|
179
|
-
"
|
|
74
|
+
"borderRadius": 36,
|
|
75
|
+
"height": 72,
|
|
76
|
+
"width": 72,
|
|
180
77
|
},
|
|
78
|
+
false,
|
|
181
79
|
]
|
|
182
80
|
}
|
|
183
81
|
>
|
|
184
|
-
<
|
|
82
|
+
<ViewManagerAdapter_ExpoLinearGradient
|
|
83
|
+
proxiedProperties={
|
|
84
|
+
{
|
|
85
|
+
"colors": [
|
|
86
|
+
4281681564,
|
|
87
|
+
4284775115,
|
|
88
|
+
4292481661,
|
|
89
|
+
],
|
|
90
|
+
"endPoint": [
|
|
91
|
+
0.9,
|
|
92
|
+
0.9,
|
|
93
|
+
],
|
|
94
|
+
"locations": [
|
|
95
|
+
0,
|
|
96
|
+
0.55,
|
|
97
|
+
1,
|
|
98
|
+
],
|
|
99
|
+
"startPoint": [
|
|
100
|
+
0.1,
|
|
101
|
+
0.1,
|
|
102
|
+
],
|
|
103
|
+
}
|
|
104
|
+
}
|
|
185
105
|
style={
|
|
186
106
|
[
|
|
187
|
-
[
|
|
188
|
-
{
|
|
189
|
-
"fontFamily": "MontserratBold",
|
|
190
|
-
"fontSize": 11,
|
|
191
|
-
"lineHeight": 17.9,
|
|
192
|
-
},
|
|
193
|
-
],
|
|
194
107
|
{
|
|
195
|
-
"
|
|
196
|
-
"textAlign": "center",
|
|
108
|
+
"height": "100%",
|
|
197
109
|
"width": "100%",
|
|
198
110
|
},
|
|
199
|
-
undefined,
|
|
200
111
|
]
|
|
201
112
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</View>
|
|
207
|
-
</View>
|
|
208
|
-
<View
|
|
209
|
-
style={
|
|
210
|
-
{
|
|
211
|
-
"alignItems": "flex-end",
|
|
212
|
-
"height": 44,
|
|
213
|
-
"justifyContent": "center",
|
|
214
|
-
"width": 44,
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
>
|
|
218
|
-
<RNSVGSvgView
|
|
219
|
-
align="xMidYMid"
|
|
220
|
-
bbHeight="20"
|
|
221
|
-
bbWidth="20"
|
|
222
|
-
fill="none"
|
|
223
|
-
focusable={false}
|
|
224
|
-
height={20}
|
|
225
|
-
meetOrSlice={0}
|
|
226
|
-
minX={0}
|
|
227
|
-
minY={0}
|
|
228
|
-
style={
|
|
229
|
-
[
|
|
230
|
-
{
|
|
231
|
-
"backgroundColor": "transparent",
|
|
232
|
-
"borderWidth": 0,
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"flex": 0,
|
|
236
|
-
"height": 20,
|
|
237
|
-
"width": 20,
|
|
238
|
-
},
|
|
239
|
-
]
|
|
240
|
-
}
|
|
241
|
-
vbHeight={19}
|
|
242
|
-
vbWidth={11}
|
|
243
|
-
width={20}
|
|
244
|
-
>
|
|
245
|
-
<RNSVGGroup
|
|
246
|
-
fill={null}
|
|
247
|
-
propList={
|
|
248
|
-
[
|
|
249
|
-
"fill",
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
>
|
|
253
|
-
<RNSVGPath
|
|
254
|
-
d="M1.75 1.625L9.33333 9.5L1.75 17.375"
|
|
255
|
-
propList={
|
|
113
|
+
/>
|
|
114
|
+
<Image
|
|
115
|
+
source={1}
|
|
116
|
+
style={
|
|
256
117
|
[
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
118
|
+
{
|
|
119
|
+
"borderRadius": 50,
|
|
120
|
+
"height": "90%",
|
|
121
|
+
"position": "absolute",
|
|
122
|
+
"width": "90%",
|
|
123
|
+
},
|
|
261
124
|
]
|
|
262
125
|
}
|
|
263
|
-
stroke={
|
|
264
|
-
{
|
|
265
|
-
"payload": 4280232243,
|
|
266
|
-
"type": 0,
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
strokeLinecap={1}
|
|
270
|
-
strokeLinejoin={1}
|
|
271
|
-
strokeWidth="2"
|
|
272
126
|
/>
|
|
273
|
-
</
|
|
274
|
-
</
|
|
275
|
-
</View>
|
|
276
|
-
</View>
|
|
277
|
-
`;
|
|
278
|
-
|
|
279
|
-
exports[`My child list item component test Should render your child that has an active subscription 1`] = `
|
|
280
|
-
<View
|
|
281
|
-
accessibilityState={
|
|
282
|
-
{
|
|
283
|
-
"busy": undefined,
|
|
284
|
-
"checked": undefined,
|
|
285
|
-
"disabled": undefined,
|
|
286
|
-
"expanded": undefined,
|
|
287
|
-
"selected": undefined,
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
accessibilityValue={
|
|
291
|
-
{
|
|
292
|
-
"max": undefined,
|
|
293
|
-
"min": undefined,
|
|
294
|
-
"now": undefined,
|
|
295
|
-
"text": undefined,
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
accessible={true}
|
|
299
|
-
collapsable={false}
|
|
300
|
-
focusable={true}
|
|
301
|
-
onBlur={[Function]}
|
|
302
|
-
onClick={[Function]}
|
|
303
|
-
onFocus={[Function]}
|
|
304
|
-
onResponderGrant={[Function]}
|
|
305
|
-
onResponderMove={[Function]}
|
|
306
|
-
onResponderRelease={[Function]}
|
|
307
|
-
onResponderTerminate={[Function]}
|
|
308
|
-
onResponderTerminationRequest={[Function]}
|
|
309
|
-
onStartShouldSetResponder={[Function]}
|
|
310
|
-
style={
|
|
311
|
-
{
|
|
312
|
-
"alignItems": "center",
|
|
313
|
-
"backgroundColor": "#FFFFFF",
|
|
314
|
-
"borderBottomLeftRadius": 48,
|
|
315
|
-
"borderBottomRightRadius": 24,
|
|
316
|
-
"borderTopLeftRadius": 48,
|
|
317
|
-
"borderTopRightRadius": 24,
|
|
318
|
-
"flexDirection": "row",
|
|
319
|
-
"padding": 8,
|
|
320
|
-
"width": "100%",
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
>
|
|
324
|
-
<View
|
|
325
|
-
style={null}
|
|
326
|
-
>
|
|
127
|
+
</View>
|
|
128
|
+
</View>
|
|
327
129
|
<View
|
|
328
130
|
style={
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
"justifyContent": "center",
|
|
334
|
-
"overflow": "hidden",
|
|
335
|
-
},
|
|
336
|
-
false,
|
|
337
|
-
{
|
|
338
|
-
"borderRadius": 36,
|
|
339
|
-
"height": 72,
|
|
340
|
-
"width": 72,
|
|
341
|
-
},
|
|
342
|
-
false,
|
|
343
|
-
]
|
|
131
|
+
{
|
|
132
|
+
"flex": 1,
|
|
133
|
+
"marginLeft": 24,
|
|
134
|
+
}
|
|
344
135
|
}
|
|
345
136
|
>
|
|
346
|
-
<
|
|
347
|
-
proxiedProperties={
|
|
348
|
-
{
|
|
349
|
-
"colors": [
|
|
350
|
-
4281681564,
|
|
351
|
-
4284775115,
|
|
352
|
-
4292481661,
|
|
353
|
-
],
|
|
354
|
-
"endPoint": [
|
|
355
|
-
0.9,
|
|
356
|
-
0.9,
|
|
357
|
-
],
|
|
358
|
-
"locations": [
|
|
359
|
-
0,
|
|
360
|
-
0.55,
|
|
361
|
-
1,
|
|
362
|
-
],
|
|
363
|
-
"startPoint": [
|
|
364
|
-
0.1,
|
|
365
|
-
0.1,
|
|
366
|
-
],
|
|
367
|
-
}
|
|
368
|
-
}
|
|
137
|
+
<Text
|
|
369
138
|
style={
|
|
370
139
|
[
|
|
140
|
+
[
|
|
141
|
+
{
|
|
142
|
+
"fontFamily": "Montserrat",
|
|
143
|
+
"fontSize": 11,
|
|
144
|
+
"lineHeight": 17.9,
|
|
145
|
+
},
|
|
146
|
+
],
|
|
371
147
|
{
|
|
372
|
-
"
|
|
148
|
+
"color": "#1F2933",
|
|
149
|
+
"textAlign": "left",
|
|
373
150
|
"width": "100%",
|
|
374
151
|
},
|
|
152
|
+
undefined,
|
|
375
153
|
]
|
|
376
154
|
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
155
|
+
>
|
|
156
|
+
leeftijd
|
|
157
|
+
</Text>
|
|
158
|
+
<Text
|
|
159
|
+
ellipsizeMode="tail"
|
|
160
|
+
numberOfLines={1}
|
|
380
161
|
style={
|
|
381
162
|
[
|
|
163
|
+
[
|
|
164
|
+
{
|
|
165
|
+
"fontFamily": "SourceSansProBold",
|
|
166
|
+
"fontSize": 24,
|
|
167
|
+
"lineHeight": 30.2,
|
|
168
|
+
},
|
|
169
|
+
],
|
|
382
170
|
{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"width": "90%",
|
|
171
|
+
"color": "#1F2933",
|
|
172
|
+
"textAlign": "left",
|
|
173
|
+
"width": "100%",
|
|
387
174
|
},
|
|
175
|
+
undefined,
|
|
388
176
|
]
|
|
389
177
|
}
|
|
390
|
-
|
|
178
|
+
>
|
|
179
|
+
Luca Jannsens
|
|
180
|
+
</Text>
|
|
391
181
|
</View>
|
|
392
182
|
</View>
|
|
393
183
|
<View
|
|
394
|
-
|
|
184
|
+
accessibilityState={
|
|
395
185
|
{
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
"
|
|
399
|
-
"
|
|
186
|
+
"busy": undefined,
|
|
187
|
+
"checked": undefined,
|
|
188
|
+
"disabled": undefined,
|
|
189
|
+
"expanded": undefined,
|
|
190
|
+
"selected": undefined,
|
|
400
191
|
}
|
|
401
192
|
}
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
"fontFamily": "Montserrat",
|
|
409
|
-
"fontSize": 11,
|
|
410
|
-
"lineHeight": 17.9,
|
|
411
|
-
},
|
|
412
|
-
],
|
|
413
|
-
{
|
|
414
|
-
"color": "#1F2933",
|
|
415
|
-
"textAlign": "left",
|
|
416
|
-
"width": "100%",
|
|
417
|
-
},
|
|
418
|
-
undefined,
|
|
419
|
-
]
|
|
420
|
-
}
|
|
421
|
-
>
|
|
422
|
-
2
|
|
423
|
-
jaar
|
|
424
|
-
</Text>
|
|
425
|
-
<Text
|
|
426
|
-
ellipsizeMode="tail"
|
|
427
|
-
numberOfLines={1}
|
|
428
|
-
style={
|
|
429
|
-
[
|
|
430
|
-
[
|
|
431
|
-
{
|
|
432
|
-
"fontFamily": "SourceSansProBold",
|
|
433
|
-
"fontSize": 24,
|
|
434
|
-
"lineHeight": 30.2,
|
|
435
|
-
},
|
|
436
|
-
],
|
|
437
|
-
{
|
|
438
|
-
"color": "#1F2933",
|
|
439
|
-
"textAlign": "left",
|
|
440
|
-
"width": "100%",
|
|
441
|
-
},
|
|
442
|
-
undefined,
|
|
443
|
-
]
|
|
444
|
-
}
|
|
445
|
-
>
|
|
446
|
-
Luca Jannsens
|
|
447
|
-
</Text>
|
|
448
|
-
<Text
|
|
449
|
-
style={
|
|
450
|
-
[
|
|
451
|
-
[
|
|
452
|
-
{
|
|
453
|
-
"fontFamily": "Montserrat",
|
|
454
|
-
"fontSize": 13,
|
|
455
|
-
"lineHeight": 20.4,
|
|
456
|
-
},
|
|
457
|
-
],
|
|
458
|
-
{
|
|
459
|
-
"color": "#1F2933",
|
|
460
|
-
"textAlign": "left",
|
|
461
|
-
"width": "100%",
|
|
462
|
-
},
|
|
463
|
-
undefined,
|
|
464
|
-
]
|
|
193
|
+
accessibilityValue={
|
|
194
|
+
{
|
|
195
|
+
"max": undefined,
|
|
196
|
+
"min": undefined,
|
|
197
|
+
"now": undefined,
|
|
198
|
+
"text": undefined,
|
|
465
199
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
200
|
+
}
|
|
201
|
+
accessible={true}
|
|
202
|
+
collapsable={false}
|
|
203
|
+
focusable={true}
|
|
204
|
+
onBlur={[Function]}
|
|
205
|
+
onClick={[Function]}
|
|
206
|
+
onFocus={[Function]}
|
|
207
|
+
onResponderGrant={[Function]}
|
|
208
|
+
onResponderMove={[Function]}
|
|
209
|
+
onResponderRelease={[Function]}
|
|
210
|
+
onResponderTerminate={[Function]}
|
|
211
|
+
onResponderTerminationRequest={[Function]}
|
|
212
|
+
onStartShouldSetResponder={[Function]}
|
|
471
213
|
style={
|
|
472
214
|
{
|
|
473
215
|
"alignItems": "flex-end",
|
|
474
|
-
"
|
|
216
|
+
"borderBottomRightRadius": 24,
|
|
217
|
+
"borderTopRightRadius": 24,
|
|
475
218
|
"justifyContent": "center",
|
|
476
|
-
"
|
|
219
|
+
"paddingRight": 8,
|
|
220
|
+
"width": 48,
|
|
477
221
|
}
|
|
478
222
|
}
|
|
479
223
|
>
|
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
import {ImageSourcePropType} from 'react-native';
|
|
2
|
-
import {Initials} from '../../../models/initials.model';
|
|
1
|
+
import { ImageSourcePropType } from 'react-native';
|
|
2
|
+
import { Initials } from '../../../models/initials.model';
|
|
3
3
|
type MyChildListItemProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
isActive: boolean;
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
age: string;
|
|
7
|
+
sourceAvatar: ImageSourcePropType | Initials;
|
|
8
|
+
onPressChild: (id: string) => void;
|
|
9
|
+
onPressArrow: (id: string) => void;
|
|
11
10
|
};
|
|
12
|
-
export declare const MyChildListItem: ({
|
|
13
|
-
id,
|
|
14
|
-
name,
|
|
15
|
-
department,
|
|
16
|
-
age,
|
|
17
|
-
sourceAvatar,
|
|
18
|
-
onPress,
|
|
19
|
-
isActive,
|
|
20
|
-
}: MyChildListItemProps) => JSX.Element;
|
|
11
|
+
export declare const MyChildListItem: ({ id, name, age, sourceAvatar, onPressChild, onPressArrow, }: MyChildListItemProps) => JSX.Element;
|
|
21
12
|
export {};
|