@tactics/toddle-styleguide 2.0.4 → 3.0.1
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 +0 -12
- package/app.json +1 -0
- package/babel.config.js +14 -1
- package/index.d.ts +1 -5
- package/index.tsx +0 -8
- package/metro.config.js +11 -0
- package/package.json +1 -1
- package/src/components/atoms/backdrop/backdrop.component.d.ts +4 -7
- package/src/components/atoms/calendar/calendar.component.d.ts +6 -11
- package/src/components/atoms/check-switch/check-switch.component.d.ts +3 -6
- package/src/components/atoms/count/count.component.d.ts +3 -6
- package/src/components/atoms/footer/footer.component.d.ts +3 -9
- package/src/components/atoms/footer/footer.component.tsx +5 -7
- package/src/components/atoms/footer/footer.preview.tsx +0 -17
- package/src/components/atoms/footer/footer.styles.js +2 -2
- 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/line/line.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/quick-message.component.d.ts +5 -10
- 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.preview.d.ts +1 -1
- package/src/components/molecules/amount/amount.component.d.ts +8 -15
- package/src/components/molecules/avatar/avatar.component.d.ts +12 -20
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +5 -10
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.native.tsx +78 -0
- package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +16 -42
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +12 -6
- package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +6 -0
- 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 -7
- 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/context-label/context-label.component.d.ts +4 -7
- package/src/components/molecules/date-input/date-input.component.d.ts +4 -7
- 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 +5 -9
- package/src/components/molecules/inline-error/inline-error.component.d.ts +3 -3
- package/src/components/molecules/inline-notice/inline-notice.component.d.ts +3 -3
- package/src/components/molecules/language-button/language-button.component.d.ts +4 -8
- package/src/components/molecules/message-input/message-input.component.d.ts +6 -10
- 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/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/search.component.d.ts +7 -12
- package/src/components/molecules/search-input/search.preview.d.ts +1 -1
- package/src/components/molecules/select-link/select-link.component.d.ts +4 -7
- package/src/components/molecules/select-list-item/select-list-item.component.d.ts +9 -16
- package/src/components/molecules/select-picker/select-picker.component.d.ts +8 -13
- package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +8 -15
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +7 -13
- package/src/components/molecules/snackbar/snackbar.component.d.ts +5 -8
- package/src/components/molecules/swipe/swipe.component.d.ts +5 -8
- package/src/components/molecules/swipe/swipe.component.native.tsx +78 -0
- package/src/components/molecules/swipe/swipe.component.tsx +5 -63
- 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/timestamp/timestamp.component.d.ts +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/child-list-item.component.d.ts +20 -38
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +3 -6
- package/src/components/organisms/contact-item/contact-item.component.d.ts +6 -11
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +3 -6
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +7 -13
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +16 -30
- 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/my-child-list-item.component.d.ts +9 -16
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +10 -18
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +12 -21
- package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +13 -25
- package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +8 -14
- package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +4 -7
- package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +4 -7
- package/src/components/templates/modal/components/fade-panel.component.d.ts +7 -14
- package/src/components/templates/modal/modal.component.d.ts +6 -12
- package/src/components/templates/popover/components/foreground/foreground.component.d.ts +4 -6
- 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 -7
- 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.tsx +1 -0
- package/src/context/loading-dots.context.d.ts +6 -9
- package/src/context/theme.context.d.ts +65 -65
- 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 -5
- package/src/icons/outline/chat/chat.icon.d.ts +2 -5
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -5
- 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 -5
- 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 -5
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -5
- package/src/icons/outline/filter/filter.icon.d.ts +2 -5
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -5
- package/src/icons/outline/logout/logout.icon.d.ts +2 -5
- package/src/icons/outline/mail/mail.icon.d.ts +2 -5
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -5
- package/src/icons/outline/menu/menu.icon.d.ts +2 -5
- 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 -5
- package/src/icons/outline/phone/phone.icon.d.ts +2 -5
- package/src/icons/outline/photograph/photograph.icon.d.ts +2 -5
- package/src/icons/outline/plus/plus.icon.d.ts +2 -5
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -5
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -5
- package/src/icons/outline/refresh/refresh.icon.d.ts +2 -5
- package/src/icons/outline/search/search.icon.d.ts +2 -5
- package/src/icons/outline/selector/selector.icon.d.ts +2 -5
- package/src/icons/outline/share/share.icon.d.ts +2 -5
- 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 -5
- package/src/icons/outline/trash/trash.icon.d.ts +2 -5
- package/src/icons/outline/user/user.icon.d.ts +2 -5
- package/src/icons/outline/user-group/user-group.icon.d.ts +2 -5
- package/src/icons/outline/users/users.icon.d.ts +2 -5
- package/src/icons/outline/xmark/xmark.icon.d.ts +2 -5
- package/src/icons/solid/calendar/calendar.icon.d.ts +2 -5
- package/src/icons/solid/chat/chat.icon.d.ts +2 -5
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -5
- 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 -5
- 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 -5
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -5
- package/src/icons/solid/filter/filter.icon.d.ts +2 -5
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -5
- package/src/icons/solid/logout/logout.icon.d.ts +2 -5
- package/src/icons/solid/mail/mail.icon.d.ts +2 -5
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -5
- package/src/icons/solid/menu/menu.icon.d.ts +2 -5
- 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 -5
- package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -5
- package/src/icons/solid/photograph/photograph-solid.icon.d.ts +2 -5
- package/src/icons/solid/plus/plus.icon.d.ts +2 -5
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +2 -5
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -5
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -5
- package/src/icons/solid/search/search.icon.d.ts +2 -5
- package/src/icons/solid/selector/selector.icon.d.ts +2 -5
- package/src/icons/solid/share/share.icon.d.ts +2 -5
- 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 -5
- package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -5
- package/src/icons/solid/user/user.icon.d.ts +2 -5
- package/src/icons/solid/user-group/user-group.icon.d.ts +2 -5
- package/src/icons/solid/users/users-solid.icon.d.ts +2 -5
- package/src/icons/solid/xmark/xmark.icon.d.ts +2 -5
- package/src/interfaces/icon.interface.d.ts +5 -5
- package/src/models/hex-color.model.d.ts +4 -4
- package/src/models/initials.model.d.ts +5 -5
- package/src/models/time-slot-record.d.ts +11 -11
- package/src/models/time-slot-sequence.d.ts +13 -15
- package/src/theme/font/font.d.ts +70 -70
- package/src/theme/font/index.d.ts +3 -3
- package/src/theme/provider/index.d.ts +3 -3
- package/src/theme/provider/parent.theme.d.ts +63 -63
- package/src/theme/provider/staff-member.theme.d.ts +63 -63
- package/src/theme/responsive/index.d.ts +2 -5
- package/src/theme/responsive/index.ts +1 -1
- 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 -43
- package/src/types/keyboard-types.enum.d.ts +7 -7
- package/src/types/loading-dots.type.d.ts +6 -6
- package/src/types/size.enum.d.ts +3 -3
- package/src/types/state.enum.d.ts +4 -4
- package/src/types/text-properties.type.d.ts +8 -8
- package/src/types/timetable-edit.enum.d.ts +3 -3
- package/src/types/visual-state.enum.d.ts +5 -5
- package/src/utilities/color-handler/color-handler.d.ts +4 -12
- package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
- package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +16 -16
- package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +46 -103
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +2 -11
- package/tsconfig.json +2 -1
- package/src/components/organisms/day-select/day-select.component.d.ts +0 -13
- package/src/components/organisms/day-select/day-select.component.tsx +0 -122
- package/src/components/organisms/day-select/day-select.preview.d.ts +0 -2
- package/src/components/organisms/day-select/day-select.preview.tsx +0 -23
- package/src/components/organisms/day-select/day-select.styles.d.ts +0 -18
- package/src/components/organisms/day-select/day-select.styles.js +0 -22
- package/src/components/organisms/tab-view/__snapshots__/tab-view.test.js.snap +0 -421
- package/src/components/organisms/tab-view/tab-view.component.d.ts +0 -16
- package/src/components/organisms/tab-view/tab-view.component.tsx +0 -49
- package/src/components/organisms/tab-view/tab-view.preview.d.ts +0 -2
- package/src/components/organisms/tab-view/tab-view.preview.tsx +0 -37
- package/src/components/organisms/tab-view/tab-view.styles.d.ts +0 -10
- package/src/components/organisms/tab-view/tab-view.styles.js +0 -14
- package/src/components/organisms/tab-view/tab-view.test.js +0 -37
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {VisualState} from '../../../types/visual-state.enum';
|
|
2
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
3
3
|
type PillProps = {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
visualState: VisualState;
|
|
5
|
+
label: string;
|
|
6
6
|
};
|
|
7
|
-
declare const Pill: ({visualState, label}: PillProps) => React.JSX.Element;
|
|
8
|
-
export {Pill as Pill};
|
|
7
|
+
declare const Pill: ({ visualState, label }: PillProps) => React.JSX.Element;
|
|
8
|
+
export { Pill as Pill };
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type PressableIconProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
icon: React.ReactElement;
|
|
4
|
+
inverted?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onPress?: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const PressableIcon: ({
|
|
9
|
-
icon,
|
|
10
|
-
inverted,
|
|
11
|
-
disabled,
|
|
12
|
-
onPress,
|
|
13
|
-
}: PressableIconProps) => React.JSX.Element;
|
|
8
|
+
export declare const PressableIcon: ({ icon, inverted, disabled, onPress, }: PressableIconProps) => React.JSX.Element;
|
|
14
9
|
export {};
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {State} from '../../../types/state.enum';
|
|
2
|
+
import { State } from '../../../types/state.enum';
|
|
3
3
|
type QuickFilterProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
id: string;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
amount: number;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
onSelect: (id: string) => void;
|
|
9
|
+
visualState: State;
|
|
10
10
|
};
|
|
11
|
-
declare const QuickFilter: ({
|
|
12
|
-
|
|
13
|
-
isLoading,
|
|
14
|
-
amount,
|
|
15
|
-
isSelected,
|
|
16
|
-
onSelect,
|
|
17
|
-
visualState,
|
|
18
|
-
}: QuickFilterProps) => React.JSX.Element;
|
|
19
|
-
export {QuickFilter as QuickFilter};
|
|
11
|
+
declare const QuickFilter: ({ id, isLoading, amount, isSelected, onSelect, visualState, }: QuickFilterProps) => React.JSX.Element;
|
|
12
|
+
export { QuickFilter as QuickFilter };
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {TextInputProps} from 'react-native';
|
|
3
|
-
import {KeyBoardTypes} from '../../../types/keyboard-types.enum';
|
|
2
|
+
import { TextInputProps } from 'react-native';
|
|
3
|
+
import { KeyBoardTypes } from '../../../types/keyboard-types.enum';
|
|
4
4
|
interface SearchProps extends TextInputProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
keyboardType?: KeyBoardTypes;
|
|
6
|
+
onPressClear: () => void;
|
|
7
|
+
showClearIcon: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const Search: ({
|
|
10
|
-
|
|
11
|
-
onPressClear,
|
|
12
|
-
showClearIcon,
|
|
13
|
-
...props
|
|
14
|
-
}: SearchProps) => React.JSX.Element;
|
|
15
|
-
export {Search as Search};
|
|
9
|
+
declare const Search: ({ keyboardType, onPressClear, showClearIcon, ...props }: SearchProps) => React.JSX.Element;
|
|
10
|
+
export { Search as Search };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const SearchPreview: ({}
|
|
2
|
+
export declare const SearchPreview: ({}?: {}) => React.JSX.Element;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type SelectLinkProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
onPress: () => void;
|
|
5
5
|
};
|
|
6
|
-
declare const SelectLink: ({
|
|
7
|
-
|
|
8
|
-
onPress,
|
|
9
|
-
}: SelectLinkProps) => React.JSX.Element;
|
|
10
|
-
export {SelectLink as SelectLink};
|
|
6
|
+
declare const SelectLink: ({ label, onPress }: SelectLinkProps) => React.JSX.Element;
|
|
7
|
+
export { SelectLink as SelectLink };
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {ImageSourcePropType} from 'react-native';
|
|
2
|
+
import { ImageSourcePropType } from 'react-native';
|
|
3
3
|
type SelectListProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
icon: React.ReactElement;
|
|
7
|
+
onPress?: () => void;
|
|
8
|
+
inverse?: boolean;
|
|
9
|
+
image?: ImageSourcePropType;
|
|
10
10
|
};
|
|
11
|
-
declare const SelectListItem: ({
|
|
12
|
-
|
|
13
|
-
subtitle,
|
|
14
|
-
icon,
|
|
15
|
-
onPress,
|
|
16
|
-
inverse,
|
|
17
|
-
image,
|
|
18
|
-
}: SelectListProps) => React.JSX.Element;
|
|
19
|
-
export {SelectListItem as SelectListItem};
|
|
11
|
+
declare const SelectListItem: ({ title, subtitle, icon, onPress, inverse, image, }: SelectListProps) => React.JSX.Element;
|
|
12
|
+
export { SelectListItem as SelectListItem };
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type PickerProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
data: {
|
|
5
|
+
value: number | string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
onChange: (item: string) => void;
|
|
9
|
+
defaultValue: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const SelectPicker: ({
|
|
12
|
-
placeholder,
|
|
13
|
-
data,
|
|
14
|
-
onChange,
|
|
15
|
-
defaultValue,
|
|
16
|
-
}: PickerProps) => React.JSX.Element;
|
|
11
|
+
export declare const SelectPicker: ({ placeholder, data, onChange, defaultValue, }: PickerProps) => React.JSX.Element;
|
|
17
12
|
export {};
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type SelectableListProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
icon: React.ReactElement;
|
|
6
|
+
onPress?: () => void;
|
|
7
|
+
inverse?: boolean;
|
|
8
|
+
selected: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare const SelectableListItem: ({
|
|
11
|
-
|
|
12
|
-
subtitle,
|
|
13
|
-
icon,
|
|
14
|
-
onPress,
|
|
15
|
-
inverse,
|
|
16
|
-
selected,
|
|
17
|
-
}: SelectableListProps) => React.JSX.Element;
|
|
18
|
-
export {SelectableListItem as SelectableListItem};
|
|
10
|
+
declare const SelectableListItem: ({ title, subtitle, icon, onPress, inverse, selected, }: SelectableListProps) => React.JSX.Element;
|
|
11
|
+
export { SelectableListItem as SelectableListItem };
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {VisualState} from '../../../types/visual-state.enum';
|
|
2
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
3
3
|
type FailedBubbleProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
visualState: VisualState;
|
|
7
|
+
onPressEdit?: (id: string) => void;
|
|
8
|
+
onPressDelete?: (id: string) => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const SendTextBubble: ({
|
|
11
|
-
id,
|
|
12
|
-
text,
|
|
13
|
-
visualState,
|
|
14
|
-
onPressEdit,
|
|
15
|
-
onPressDelete,
|
|
16
|
-
}: FailedBubbleProps) => React.JSX.Element;
|
|
10
|
+
export declare const SendTextBubble: ({ id, text, visualState, onPressEdit, onPressDelete, }: FailedBubbleProps) => React.JSX.Element;
|
|
17
11
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {VisualState} from '../../../types/visual-state.enum';
|
|
2
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
3
3
|
type SnackbarProps = {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
text: string;
|
|
5
|
+
visualState: VisualState;
|
|
6
6
|
};
|
|
7
|
-
declare const Snackbar: ({
|
|
8
|
-
|
|
9
|
-
visualState,
|
|
10
|
-
}: SnackbarProps) => React.JSX.Element;
|
|
11
|
-
export {Snackbar as Snackbar};
|
|
7
|
+
declare const Snackbar: ({ text, visualState }: SnackbarProps) => React.JSX.Element;
|
|
8
|
+
export { Snackbar as Snackbar };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import React, {ReactNode} from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
type SwipeProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onIndexChange?: (index: number) => void;
|
|
5
5
|
};
|
|
6
|
-
declare const Swipe: ({
|
|
7
|
-
|
|
8
|
-
onIndexChange,
|
|
9
|
-
}: SwipeProps) => React.JSX.Element;
|
|
10
|
-
export {Swipe as Swipe};
|
|
6
|
+
declare const Swipe: ({ children, onIndexChange }: SwipeProps) => React.JSX.Element;
|
|
7
|
+
export { Swipe as Swipe };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import React, {Children, ReactNode, useContext, useRef, useState} from 'react';
|
|
2
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
3
|
+
import {Stylesheet} from './swipe.styles';
|
|
4
|
+
import {Icon} from '../../../icons/index';
|
|
5
|
+
import PagerView, {PagerViewOnPageSelectedEvent} from 'react-native-pager-view';
|
|
6
|
+
import {Pressable, View} from 'react-native';
|
|
7
|
+
|
|
8
|
+
type SwipeProps = {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
onIndexChange?: (index: number) => void;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const Swipe = ({children, onIndexChange}: SwipeProps) => {
|
|
14
|
+
const context = useContext(ThemeCtx);
|
|
15
|
+
const styles = Stylesheet();
|
|
16
|
+
const viewPagerRef = useRef<PagerView>(null);
|
|
17
|
+
const [currentPage, setCurrentPage] = useState(0);
|
|
18
|
+
|
|
19
|
+
const count = Children.count(children);
|
|
20
|
+
|
|
21
|
+
if (count > 5) {
|
|
22
|
+
console.warn(' for more then 5 child-components, use another way to show');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const handlePageSelected = (event: PagerViewOnPageSelectedEvent) => {
|
|
26
|
+
const currentIndex = event.nativeEvent.position;
|
|
27
|
+
setCurrentPage(currentIndex);
|
|
28
|
+
|
|
29
|
+
if (onIndexChange) {
|
|
30
|
+
onIndexChange(currentIndex);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<View style={styles.rootContainer}>
|
|
36
|
+
{currentPage !== 0 && (
|
|
37
|
+
<Pressable
|
|
38
|
+
style={styles.leftArrowContainer}
|
|
39
|
+
onPress={() =>
|
|
40
|
+
viewPagerRef.current?.setPage(
|
|
41
|
+
currentPage != 1 ? currentPage - 1 : 0
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
>
|
|
45
|
+
<Icon
|
|
46
|
+
style={'regular'}
|
|
47
|
+
name={'chevron-left'}
|
|
48
|
+
color={context.colors.main['0']}
|
|
49
|
+
/>
|
|
50
|
+
</Pressable>
|
|
51
|
+
)}
|
|
52
|
+
|
|
53
|
+
{currentPage !== count - 1 && (
|
|
54
|
+
<Pressable
|
|
55
|
+
style={styles.rightArrowContainer}
|
|
56
|
+
onPress={() => viewPagerRef.current?.setPage(currentPage + 1)}
|
|
57
|
+
>
|
|
58
|
+
<Icon
|
|
59
|
+
style={'regular'}
|
|
60
|
+
name={'chevron-right'}
|
|
61
|
+
color={context.colors.main['0']}
|
|
62
|
+
/>
|
|
63
|
+
</Pressable>
|
|
64
|
+
)}
|
|
65
|
+
|
|
66
|
+
<PagerView
|
|
67
|
+
ref={viewPagerRef}
|
|
68
|
+
style={styles.swipeContainer}
|
|
69
|
+
initialPage={0}
|
|
70
|
+
collapsable={false}
|
|
71
|
+
onPageSelected={handlePageSelected}
|
|
72
|
+
>
|
|
73
|
+
{children}
|
|
74
|
+
</PagerView>
|
|
75
|
+
</View>
|
|
76
|
+
);
|
|
77
|
+
};
|
|
78
|
+
export {Swipe as Swipe};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, {Children, ReactNode, useContext, useRef, useState} from 'react';
|
|
2
|
+
import { Platform } from 'react-native';
|
|
2
3
|
import {ThemeCtx} from '../../../context/theme.context';
|
|
3
4
|
import {Stylesheet} from './swipe.styles';
|
|
4
5
|
import {Icon} from '../../../icons/index';
|
|
5
|
-
import PagerView, {PagerViewOnPageSelectedEvent} from 'react-native-pager-view';
|
|
6
6
|
import {Pressable, View} from 'react-native';
|
|
7
7
|
|
|
8
8
|
type SwipeProps = {
|
|
@@ -11,68 +11,10 @@ type SwipeProps = {
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
const Swipe = ({children, onIndexChange}: SwipeProps) => {
|
|
14
|
-
const context = useContext(ThemeCtx);
|
|
15
|
-
const styles = Stylesheet();
|
|
16
|
-
const viewPagerRef = useRef<PagerView>(null);
|
|
17
|
-
const [currentPage, setCurrentPage] = useState(0);
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const handlePageSelected = (event: PagerViewOnPageSelectedEvent) => {
|
|
26
|
-
const currentIndex = event.nativeEvent.position;
|
|
27
|
-
setCurrentPage(currentIndex);
|
|
28
|
-
|
|
29
|
-
if (onIndexChange) {
|
|
30
|
-
onIndexChange(currentIndex);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
return (
|
|
35
|
-
<View style={styles.rootContainer}>
|
|
36
|
-
{currentPage !== 0 && (
|
|
37
|
-
<Pressable
|
|
38
|
-
style={styles.leftArrowContainer}
|
|
39
|
-
onPress={() =>
|
|
40
|
-
viewPagerRef.current?.setPage(
|
|
41
|
-
currentPage != 1 ? currentPage - 1 : 0
|
|
42
|
-
)
|
|
43
|
-
}
|
|
44
|
-
>
|
|
45
|
-
<Icon
|
|
46
|
-
style={'regular'}
|
|
47
|
-
name={'chevron-left'}
|
|
48
|
-
color={context.colors.main['0']}
|
|
49
|
-
/>
|
|
50
|
-
</Pressable>
|
|
51
|
-
)}
|
|
52
|
-
|
|
53
|
-
{currentPage !== count - 1 && (
|
|
54
|
-
<Pressable
|
|
55
|
-
style={styles.rightArrowContainer}
|
|
56
|
-
onPress={() => viewPagerRef.current?.setPage(currentPage + 1)}
|
|
57
|
-
>
|
|
58
|
-
<Icon
|
|
59
|
-
style={'regular'}
|
|
60
|
-
name={'chevron-right'}
|
|
61
|
-
color={context.colors.main['0']}
|
|
62
|
-
/>
|
|
63
|
-
</Pressable>
|
|
64
|
-
)}
|
|
65
|
-
|
|
66
|
-
<PagerView
|
|
67
|
-
ref={viewPagerRef}
|
|
68
|
-
style={styles.swipeContainer}
|
|
69
|
-
initialPage={0}
|
|
70
|
-
collapsable={false}
|
|
71
|
-
onPageSelected={handlePageSelected}
|
|
72
|
-
>
|
|
73
|
-
{children}
|
|
74
|
-
</PagerView>
|
|
75
|
-
</View>
|
|
76
|
-
);
|
|
15
|
+
const renderChildren = Children.map(children, (child, index) => {
|
|
16
|
+
return child
|
|
17
|
+
});
|
|
18
|
+
return <>{renderChildren ? renderChildren[0] : null}</>;
|
|
77
19
|
};
|
|
78
20
|
export {Swipe as Swipe};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type TagProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
onPress: (value: string, isSelected: boolean) => void;
|
|
6
|
+
isSelected: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const Tag: ({
|
|
9
|
-
|
|
10
|
-
onPress,
|
|
11
|
-
value,
|
|
12
|
-
isSelected,
|
|
13
|
-
}: TagProps) => React.JSX.Element;
|
|
14
|
-
export {Tag as Tag};
|
|
8
|
+
declare const Tag: ({ label, onPress, value, isSelected }: TagProps) => React.JSX.Element;
|
|
9
|
+
export { Tag as Tag };
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface TimePickerProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
initialHours: string;
|
|
4
|
+
initialMinutes: string;
|
|
5
|
+
onChangeHours: (value: string) => void;
|
|
6
|
+
onChangeMinutes: (value: string) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const TimePicker: ({
|
|
9
|
-
initialHours,
|
|
10
|
-
initialMinutes,
|
|
11
|
-
onChangeHours,
|
|
12
|
-
onChangeMinutes,
|
|
13
|
-
}: TimePickerProps) => React.JSX.Element;
|
|
8
|
+
export declare const TimePicker: ({ initialHours, initialMinutes, onChangeHours, onChangeMinutes, }: TimePickerProps) => React.JSX.Element;
|
|
14
9
|
export {};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {VisualState} from '../../../types/visual-state.enum';
|
|
2
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
3
3
|
type TimeTrackerProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
text: string;
|
|
5
|
+
textColor?: string;
|
|
6
|
+
visualState: VisualState;
|
|
7
7
|
};
|
|
8
|
-
declare const TimeTracker: ({
|
|
9
|
-
|
|
10
|
-
visualState,
|
|
11
|
-
textColor,
|
|
12
|
-
}: TimeTrackerProps) => React.JSX.Element;
|
|
13
|
-
export {TimeTracker as TimeTracker};
|
|
8
|
+
declare const TimeTracker: ({ text, visualState, textColor }: TimeTrackerProps) => React.JSX.Element;
|
|
9
|
+
export { TimeTracker as TimeTracker };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type TimeLineProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
checkIn: string;
|
|
4
|
+
checkOut?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const TimeLine: ({
|
|
7
|
-
checkIn,
|
|
8
|
-
checkOut,
|
|
9
|
-
}: TimeLineProps) => React.JSX.Element;
|
|
6
|
+
export declare const TimeLine: ({ checkIn, checkOut }: TimeLineProps) => React.JSX.Element;
|
|
10
7
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
|
+
import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
3
3
|
type TimestampProps = {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
sent: ToddleDateTime;
|
|
5
|
+
label?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const Timestamp: ({
|
|
8
|
-
sent,
|
|
9
|
-
label,
|
|
10
|
-
}: TimestampProps) => React.JSX.Element;
|
|
7
|
+
export declare const Timestamp: ({ sent, label }: TimestampProps) => React.JSX.Element;
|
|
11
8
|
export {};
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {WaveProps} from '../../atoms/static-wave/static-wave.component';
|
|
3
|
-
export declare const WaveBackground: ({
|
|
4
|
-
customWavePath,
|
|
5
|
-
customStyle,
|
|
6
|
-
heightSvgContainer,
|
|
7
|
-
positionTop,
|
|
8
|
-
}: WaveProps) => React.JSX.Element;
|
|
2
|
+
import { WaveProps } from '../../atoms/static-wave/static-wave.component';
|
|
3
|
+
export declare const WaveBackground: ({ customWavePath, customStyle, heightSvgContainer, positionTop, }: WaveProps) => React.JSX.Element;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type ButtonProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
text: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onPress?: () => void;
|
|
6
|
+
backgroundColor?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const WideButton: ({
|
|
9
|
-
|
|
10
|
-
disabled,
|
|
11
|
-
onPress,
|
|
12
|
-
backgroundColor,
|
|
13
|
-
}: ButtonProps) => React.JSX.Element;
|
|
14
|
-
export {WideButton as WideButton};
|
|
8
|
+
declare const WideButton: ({ text, disabled, onPress, backgroundColor, }: ButtonProps) => React.JSX.Element;
|
|
9
|
+
export { WideButton as WideButton };
|
|
@@ -1,41 +1,23 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {ImageSourcePropType} from 'react-native';
|
|
3
|
-
import {Initials} from '../../../models/initials.model';
|
|
4
|
-
import {VisualState} from '../../../types/visual-state.enum';
|
|
2
|
+
import { ImageSourcePropType } from 'react-native';
|
|
3
|
+
import { Initials } from '../../../models/initials.model';
|
|
4
|
+
import { VisualState } from '../../../types/visual-state.enum';
|
|
5
5
|
type ChildListItemProps = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
department: string;
|
|
9
|
+
selectable: boolean;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
onPressArrow: (id: string) => void;
|
|
12
|
+
onPressText: (id: string) => void;
|
|
13
|
+
onLongPress: (id: string) => void;
|
|
14
|
+
onSelect: (id: string) => void;
|
|
15
|
+
sourceAvatar: ImageSourcePropType | Initials;
|
|
16
|
+
textTimeTracker?: string;
|
|
17
|
+
visualStateTimeTracker?: VisualState;
|
|
18
|
+
tags?: string[];
|
|
19
|
+
error: boolean;
|
|
20
|
+
isBirthday?: boolean;
|
|
21
21
|
};
|
|
22
|
-
declare const ChildListItem: React.MemoExoticComponent<
|
|
23
|
-
|
|
24
|
-
id,
|
|
25
|
-
name,
|
|
26
|
-
department,
|
|
27
|
-
selectable,
|
|
28
|
-
isSelected,
|
|
29
|
-
onPressArrow,
|
|
30
|
-
onPressText,
|
|
31
|
-
onLongPress,
|
|
32
|
-
onSelect,
|
|
33
|
-
sourceAvatar,
|
|
34
|
-
textTimeTracker,
|
|
35
|
-
visualStateTimeTracker,
|
|
36
|
-
tags,
|
|
37
|
-
error,
|
|
38
|
-
isBirthday,
|
|
39
|
-
}: ChildListItemProps) => React.JSX.Element
|
|
40
|
-
>;
|
|
41
|
-
export {ChildListItem as ChildListItem};
|
|
22
|
+
declare const ChildListItem: React.MemoExoticComponent<({ id, name, department, selectable, isSelected, onPressArrow, onPressText, onLongPress, onSelect, sourceAvatar, textTimeTracker, visualStateTimeTracker, tags, error, isBirthday, }: ChildListItemProps) => React.JSX.Element>;
|
|
23
|
+
export { ChildListItem as ChildListItem };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type ChildListTagProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
isSelected: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare const ChildListTag: ({
|
|
7
|
-
label,
|
|
8
|
-
isSelected,
|
|
9
|
-
}: ChildListTagProps) => React.JSX.Element;
|
|
6
|
+
export declare const ChildListTag: ({ label, isSelected }: ChildListTagProps) => React.JSX.Element;
|
|
10
7
|
export {};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type ContactItemProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
onPress?: () => void;
|
|
6
|
+
isBlocked?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const ContactItem: ({
|
|
9
|
-
|
|
10
|
-
label,
|
|
11
|
-
onPress,
|
|
12
|
-
isBlocked,
|
|
13
|
-
}: ContactItemProps) => React.JSX.Element;
|
|
14
|
-
export {ContactItem as ContactItem};
|
|
8
|
+
declare const ContactItem: ({ name, label, onPress, isBlocked }: ContactItemProps) => React.JSX.Element;
|
|
9
|
+
export { ContactItem as ContactItem };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface EntryTypeIndicatorProps {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
send: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const EntryTypeIndicator: ({
|
|
7
|
-
loading,
|
|
8
|
-
send,
|
|
9
|
-
}: EntryTypeIndicatorProps) => React.JSX.Element;
|
|
6
|
+
export declare const EntryTypeIndicator: ({ loading, send, }: EntryTypeIndicatorProps) => React.JSX.Element;
|
|
10
7
|
export {};
|