@tactics/toddle-styleguide 1.2.9 → 1.3.0
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 +11 -0
- package/index.d.ts +2 -1
- package/index.tsx +2 -0
- package/package.json +1 -1
- package/src/components/atoms/backdrop/backdrop.component.d.ts +7 -4
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +18 -18
- package/src/components/atoms/calendar/calendar.component.d.ts +11 -6
- 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 +10 -2
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +10 -2
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +10 -2
- package/src/components/atoms/heading-components/index.d.ts +6 -6
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -6
- package/src/components/atoms/increment-input/increment-input.component.d.ts +8 -4
- package/src/components/atoms/line/line.component.d.ts +12 -0
- package/src/components/atoms/line/line.component.tsx +23 -0
- package/src/components/atoms/line/line.preview.d.ts +1 -0
- package/src/components/atoms/line/line.preview.tsx +54 -0
- package/src/components/atoms/line/line.styles.d.ts +12 -0
- package/src/components/atoms/line/line.styles.js +10 -0
- package/src/components/atoms/logo/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 +10 -2
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +10 -2
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +10 -2
- package/src/components/atoms/quick-message/quick-message.component.d.ts +10 -5
- package/src/components/atoms/quick-message/quick-message.styles.d.ts +16 -13
- package/src/components/atoms/split-container/split-container.component.d.ts +7 -4
- package/src/components/atoms/static-wave/static-wave.component.d.ts +11 -6
- package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +38 -78
- package/src/components/atoms/text-input/text-input.component.d.ts +10 -6
- package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
- package/src/components/atoms/text-input/text-input.styles.d.ts +33 -25
- package/src/components/molecules/avatar/avatar.component.d.ts +18 -11
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +4 -2
- package/src/components/molecules/button/button.component.d.ts +20 -11
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +12 -7
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +4 -4
- package/src/components/molecules/checkbox/checkbox.component.d.ts +9 -5
- package/src/components/molecules/contact-role/contact-role.component.d.ts +6 -3
- package/src/components/molecules/date-input/date-input.component.d.ts +7 -4
- package/src/components/molecules/day/__snapshots__/day.test.js.snap +24 -24
- package/src/components/molecules/day/day.component.d.ts +6 -6
- package/src/components/molecules/day/day.styles.d.ts +34 -26
- package/src/components/molecules/default-select/default-select.component.d.ts +6 -3
- package/src/components/molecules/department_logo/department-logo.component.d.ts +5 -3
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +11 -6
- package/src/components/molecules/failed-to-send/failed-bubble.component.tsx +39 -22
- package/src/components/molecules/filter-range/filter-range.component.d.ts +14 -7
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +11 -7
- package/src/components/molecules/info/info.component.d.ts +4 -4
- package/src/components/molecules/language-button/language-button.component.d.ts +8 -4
- package/src/components/molecules/message-input/message-input.component.d.ts +11 -7
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +8 -4
- package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +53 -68
- package/src/components/molecules/password-input/password-input.component.d.ts +9 -5
- package/src/components/molecules/password-input/password-input.styles.d.ts +27 -27
- package/src/components/molecules/pill/pill.component.d.ts +5 -5
- package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +10 -5
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +16 -9
- package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +20 -31
- package/src/components/molecules/search-input/search.component.d.ts +12 -7
- package/src/components/molecules/search-input/search.preview.d.ts +1 -1
- package/src/components/molecules/search-input/search.styles.d.ts +31 -31
- 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 +13 -7
- package/src/components/molecules/select-picker/select-picker.component.d.ts +13 -8
- package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +12 -32
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +17 -10
- package/src/components/molecules/send-bubble/send-text-bubble.component.tsx +35 -20
- package/src/components/molecules/send-bubble/send-text-bubble.styles.d.ts +71 -58
- 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 +11 -6
- package/src/components/molecules/time-picker/time-picker.component.d.ts +10 -5
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +10 -6
- package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +4 -4
- package/src/components/molecules/timeline/timeline.component.d.ts +6 -3
- package/src/components/molecules/timeline/timeline.styles.d.ts +49 -39
- package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +2 -1
- package/src/components/molecules/timestamp/timestamp.component.d.ts +4 -4
- package/src/components/molecules/wave-background/wave.component.d.ts +7 -2
- package/src/components/molecules/wide-button/wide-button.component.d.ts +11 -6
- package/src/components/organisms/child-list-item/child-list-item.component.d.ts +34 -18
- package/src/components/organisms/child-list-item/child-list-item.styles.d.ts +38 -35
- package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +6 -3
- package/src/components/organisms/child-list-item/components/child-list-tag.styles.d.ts +12 -9
- package/src/components/organisms/contact-item/contact-item.component.d.ts +11 -6
- package/src/components/organisms/day-select/day-select.component.d.ts +10 -6
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.d.ts +9 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.d.ts +13 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.styles.js +17 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.test.js +21 -0
- package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.tsx +97 -0
- package/src/components/organisms/journal-entry/components/index.d.ts +2 -0
- package/src/components/organisms/journal-entry/components/index.ts +2 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/__snapshots__/journal-entry-type.test.js.snap +304 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +16 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +60 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.d.ts +13 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.styles.js +16 -0
- package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.test.js +48 -0
- package/src/components/organisms/journal-entry/journal-entry.component.d.ts +38 -0
- package/src/components/organisms/journal-entry/journal-entry.component.tsx +139 -0
- package/src/components/organisms/journal-entry/journal-entry.preview.d.ts +1 -0
- package/src/components/organisms/journal-entry/journal-entry.preview.tsx +212 -0
- package/src/components/organisms/journal-entry/journal-entry.styles.d.ts +42 -0
- package/src/components/organisms/journal-entry/journal-entry.styles.js +35 -0
- package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +13 -3
- package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +9 -2
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +16 -9
- package/src/components/organisms/my-child-list-item/my-child-list-item.styles.d.ts +31 -31
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +18 -10
- package/src/components/organisms/tab-view/tab-view.component.d.ts +12 -8
- package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +45 -29
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +26 -15
- package/src/components/organisms/text-bubble/text-bubble.component.tsx +12 -12
- package/src/components/organisms/text-bubble/text-bubble.preview.tsx +6 -15
- package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +56 -32
- package/src/components/organisms/text-bubble/text-bubble.styles.js +4 -0
- package/src/components/organisms/text-bubble/text-bubble.test.js +7 -7
- package/src/components/templates/modal/components/fade-panel.component.d.ts +16 -8
- package/src/components/templates/modal/modal.component.d.ts +14 -7
- 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 +17 -9
- package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +5 -3
- package/src/components/templates/popover/popover.component.d.ts +15 -8
- package/src/components/templates/popover-action/popover-action.component.d.ts +8 -4
- package/src/context/loading-dots.context.d.ts +9 -6
- package/src/context/theme.context.d.ts +47 -47
- package/src/gradients/main/main.gradient.d.ts +4 -2
- package/src/icons/index.d.ts +7 -2
- 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 +5 -2
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +5 -2
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +5 -2
- package/src/icons/outline/clock/clock.icon.d.ts +2 -2
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +5 -2
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +5 -2
- package/src/icons/outline/document-text/document-text.icon.d.ts +5 -2
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +5 -2
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
- 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 +5 -2
- 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 +5 -2
- package/src/icons/outline/office-building/office-building.icon.d.ts +5 -2
- package/src/icons/outline/outline.d.ts +6 -2
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +5 -2
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +5 -2
- 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 +5 -2
- 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 +5 -2
- package/src/icons/outline/status-online/status-online.icon.d.ts +5 -2
- 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 +5 -2
- 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 +5 -2
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +5 -2
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +5 -2
- package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +5 -2
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +5 -2
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +5 -2
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +5 -2
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
- 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 +5 -2
- 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 +5 -2
- package/src/icons/solid/office-building/office-building.icon.d.ts +5 -2
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +5 -2
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +5 -2
- 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 +5 -2
- 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 +5 -2
- package/src/icons/solid/solid.d.ts +6 -2
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +5 -2
- 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 +5 -2
- 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 +5 -2
- 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 +41 -1
- 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 +6 -2
- 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 +103 -46
- package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
- package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +11 -2
package/App.tsx
CHANGED
|
@@ -71,6 +71,8 @@ import {TimePickerPreview} from './src/components/molecules/time-picker/time-pic
|
|
|
71
71
|
import {PopOverActionPreview} from './src/components/templates/popover-action/popover-action.preview';
|
|
72
72
|
import {QuickMessagePreview} from './src/components/atoms/quick-message/quick-message.preview';
|
|
73
73
|
import {TabViewPreview} from './src/components/organisms/tab-view/tab-view.preview';
|
|
74
|
+
import {LinePreview} from './src/components/atoms/line/line.preview';
|
|
75
|
+
import {JournalEntryPreview} from './src/components/organisms/journal-entry/journal-entry.preview';
|
|
74
76
|
|
|
75
77
|
const Stack = createNativeStackNavigator();
|
|
76
78
|
|
|
@@ -179,10 +181,15 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
|
|
|
179
181
|
title="Info Component"
|
|
180
182
|
onPress={() => navigation.push('info')}
|
|
181
183
|
/>
|
|
184
|
+
<ReactBtn
|
|
185
|
+
title="Journal Entry"
|
|
186
|
+
onPress={() => navigation.push('journal-entry')}
|
|
187
|
+
/>
|
|
182
188
|
<ReactBtn
|
|
183
189
|
title="Language Button"
|
|
184
190
|
onPress={() => navigation.push('language-button')}
|
|
185
191
|
/>
|
|
192
|
+
<ReactBtn title="Line" onPress={() => navigation.push('line')} />
|
|
186
193
|
<ReactBtn
|
|
187
194
|
title="Loading Indicator"
|
|
188
195
|
onPress={() => navigation.push('loading-indicator')}
|
|
@@ -371,9 +378,13 @@ function App() {
|
|
|
371
378
|
{() => <IncrementInputPreview />}
|
|
372
379
|
</Stack.Screen>
|
|
373
380
|
<Stack.Screen name="info">{() => <InfoPreview />}</Stack.Screen>
|
|
381
|
+
<Stack.Screen name="journal-entry">
|
|
382
|
+
{() => <JournalEntryPreview />}
|
|
383
|
+
</Stack.Screen>
|
|
374
384
|
<Stack.Screen name="language-button">
|
|
375
385
|
{() => <LanguageButtonPreview />}
|
|
376
386
|
</Stack.Screen>
|
|
387
|
+
<Stack.Screen name="line">{() => <LinePreview />}</Stack.Screen>
|
|
377
388
|
<Stack.Screen name="loading-indicator">
|
|
378
389
|
{() => <LoadingIndicatorPreview />}
|
|
379
390
|
</Stack.Screen>
|
package/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ import { TimePicker } from './src/components/molecules/time-picker/time-picker.c
|
|
|
56
56
|
import { PopOverAction } from './src/components/templates/popover-action/popover-action.component';
|
|
57
57
|
import { QuickMessage } from './src/components/atoms/quick-message/quick-message.component';
|
|
58
58
|
import { TabView } from './src/components/organisms/tab-view/tab-view.component';
|
|
59
|
+
import { Line } from './src/components/atoms/line/line.component';
|
|
59
60
|
import { BubbleAlignment } from './src/types/bubble-alignment.enum';
|
|
60
61
|
import { KeyBoardTypes } from './src/types/keyboard-types.enum';
|
|
61
62
|
import { Size } from './src/types/size.enum';
|
|
@@ -65,4 +66,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
|
|
|
65
66
|
import { ThemeCtx } from './src/context/theme.context';
|
|
66
67
|
import { Scale } from './src/theme/scale/index';
|
|
67
68
|
import CreateResponsiveStyle from './src/theme/responsive/index';
|
|
68
|
-
export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, LanguageButton, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, };
|
|
69
|
+
export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, };
|
package/index.tsx
CHANGED
|
@@ -74,6 +74,7 @@ import {TimePicker} from './src/components/molecules/time-picker/time-picker.com
|
|
|
74
74
|
import {PopOverAction} from './src/components/templates/popover-action/popover-action.component';
|
|
75
75
|
import {QuickMessage} from './src/components/atoms/quick-message/quick-message.component';
|
|
76
76
|
import {TabView} from './src/components/organisms/tab-view/tab-view.component';
|
|
77
|
+
import {Line} from './src/components/atoms/line/line.component';
|
|
77
78
|
|
|
78
79
|
// Exports of enums
|
|
79
80
|
import {BubbleAlignment} from './src/types/bubble-alignment.enum';
|
|
@@ -126,6 +127,7 @@ export {
|
|
|
126
127
|
IncrementInput,
|
|
127
128
|
Info,
|
|
128
129
|
LanguageButton,
|
|
130
|
+
Line,
|
|
129
131
|
LoadingIndicator,
|
|
130
132
|
Logo,
|
|
131
133
|
MessageInput,
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
type PopoverBackdropProps = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
isVisible: boolean;
|
|
3
|
+
touchBackDrop?: (value: boolean) => void;
|
|
4
4
|
};
|
|
5
|
-
declare const Backdrop: ({
|
|
6
|
-
|
|
5
|
+
declare const Backdrop: ({
|
|
6
|
+
isVisible,
|
|
7
|
+
touchBackDrop,
|
|
8
|
+
}: PopoverBackdropProps) => JSX.Element;
|
|
9
|
+
export {Backdrop as Backdrop};
|
|
@@ -804,7 +804,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
804
804
|
}
|
|
805
805
|
>
|
|
806
806
|
<View
|
|
807
|
-
accessibilityLabel="
|
|
807
|
+
accessibilityLabel=" Vrijdag 4 Augustus 2023 "
|
|
808
808
|
accessibilityRole="button"
|
|
809
809
|
accessibilityState={
|
|
810
810
|
{
|
|
@@ -836,10 +836,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
836
836
|
style={
|
|
837
837
|
{
|
|
838
838
|
"alignItems": "center",
|
|
839
|
-
"borderColor": "#7B93DB",
|
|
840
|
-
"borderRadius": 21,
|
|
841
|
-
"borderStyle": "solid",
|
|
842
|
-
"borderWidth": 1,
|
|
843
839
|
"height": 42,
|
|
844
840
|
"justifyContent": "center",
|
|
845
841
|
"opacity": 1,
|
|
@@ -859,9 +855,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
859
855
|
"lineHeight": 22.4,
|
|
860
856
|
"marginTop": 4,
|
|
861
857
|
},
|
|
862
|
-
{
|
|
863
|
-
"color": "#7B93DB",
|
|
864
|
-
},
|
|
865
858
|
]
|
|
866
859
|
}
|
|
867
860
|
>
|
|
@@ -1307,7 +1300,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1307
1300
|
}
|
|
1308
1301
|
>
|
|
1309
1302
|
<View
|
|
1310
|
-
accessibilityLabel=" Donderdag 10 Augustus 2023 "
|
|
1303
|
+
accessibilityLabel="today Donderdag 10 Augustus 2023 "
|
|
1311
1304
|
accessibilityRole="button"
|
|
1312
1305
|
accessibilityState={
|
|
1313
1306
|
{
|
|
@@ -1339,6 +1332,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1339
1332
|
style={
|
|
1340
1333
|
{
|
|
1341
1334
|
"alignItems": "center",
|
|
1335
|
+
"borderColor": "#7B93DB",
|
|
1336
|
+
"borderRadius": 21,
|
|
1337
|
+
"borderStyle": "solid",
|
|
1338
|
+
"borderWidth": 1,
|
|
1342
1339
|
"height": 42,
|
|
1343
1340
|
"justifyContent": "center",
|
|
1344
1341
|
"opacity": 1,
|
|
@@ -1358,6 +1355,9 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
1358
1355
|
"lineHeight": 22.4,
|
|
1359
1356
|
"marginTop": 4,
|
|
1360
1357
|
},
|
|
1358
|
+
{
|
|
1359
|
+
"color": "#7B93DB",
|
|
1360
|
+
},
|
|
1361
1361
|
]
|
|
1362
1362
|
}
|
|
1363
1363
|
>
|
|
@@ -4175,8 +4175,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4175
4175
|
}
|
|
4176
4176
|
>
|
|
4177
4177
|
<View
|
|
4178
|
-
accessibilityLabel="
|
|
4179
|
-
accessibilityRole="button"
|
|
4178
|
+
accessibilityLabel=" Vrijdag 4 Augustus 2023 "
|
|
4180
4179
|
accessibilityState={
|
|
4181
4180
|
{
|
|
4182
4181
|
"busy": undefined,
|
|
@@ -4207,10 +4206,6 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4207
4206
|
style={
|
|
4208
4207
|
{
|
|
4209
4208
|
"alignItems": "center",
|
|
4210
|
-
"borderColor": "#7B93DB",
|
|
4211
|
-
"borderRadius": 21,
|
|
4212
|
-
"borderStyle": "solid",
|
|
4213
|
-
"borderWidth": 1,
|
|
4214
4209
|
"height": 42,
|
|
4215
4210
|
"justifyContent": "center",
|
|
4216
4211
|
"opacity": 1,
|
|
@@ -4231,7 +4226,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4231
4226
|
"marginTop": 4,
|
|
4232
4227
|
},
|
|
4233
4228
|
{
|
|
4234
|
-
"color": "#
|
|
4229
|
+
"color": "#9AA5B1",
|
|
4235
4230
|
},
|
|
4236
4231
|
]
|
|
4237
4232
|
}
|
|
@@ -4688,7 +4683,8 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4688
4683
|
}
|
|
4689
4684
|
>
|
|
4690
4685
|
<View
|
|
4691
|
-
accessibilityLabel=" Donderdag 10 Augustus 2023 "
|
|
4686
|
+
accessibilityLabel="today Donderdag 10 Augustus 2023 "
|
|
4687
|
+
accessibilityRole="button"
|
|
4692
4688
|
accessibilityState={
|
|
4693
4689
|
{
|
|
4694
4690
|
"busy": undefined,
|
|
@@ -4719,6 +4715,10 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4719
4715
|
style={
|
|
4720
4716
|
{
|
|
4721
4717
|
"alignItems": "center",
|
|
4718
|
+
"borderColor": "#7B93DB",
|
|
4719
|
+
"borderRadius": 21,
|
|
4720
|
+
"borderStyle": "solid",
|
|
4721
|
+
"borderWidth": 1,
|
|
4722
4722
|
"height": 42,
|
|
4723
4723
|
"justifyContent": "center",
|
|
4724
4724
|
"opacity": 1,
|
|
@@ -4739,7 +4739,7 @@ exports[`Test for the calendar component renders a calendar where you can select
|
|
|
4739
4739
|
"marginTop": 4,
|
|
4740
4740
|
},
|
|
4741
4741
|
{
|
|
4742
|
-
"color": "#
|
|
4742
|
+
"color": "#7B93DB",
|
|
4743
4743
|
},
|
|
4744
4744
|
]
|
|
4745
4745
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
|
|
2
2
|
type CalendarProps = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
onDayPress: (day: ToddleDateTime) => void;
|
|
4
|
+
selected: ToddleDateTime;
|
|
5
|
+
minDate?: string;
|
|
6
|
+
maxDate?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const Calendar: ({
|
|
8
|
+
export declare const Calendar: ({
|
|
9
|
+
onDayPress,
|
|
10
|
+
selected,
|
|
11
|
+
minDate,
|
|
12
|
+
maxDate,
|
|
13
|
+
}: CalendarProps) => JSX.Element;
|
|
9
14
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type CheckProps = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
value: boolean;
|
|
3
|
+
onToggle: () => void;
|
|
4
4
|
};
|
|
5
|
-
export declare const Check: ({
|
|
5
|
+
export declare const Check: ({value, onToggle}: CheckProps) => JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import {ViewStyle} from 'react-native';
|
|
3
|
+
import {AnimateStyle} from 'react-native-reanimated';
|
|
4
4
|
type FooterProps = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
animatedStyle?: AnimateStyle<ViewStyle>;
|
|
7
7
|
};
|
|
8
|
-
declare const Footer: ({
|
|
9
|
-
export {
|
|
8
|
+
declare const Footer: ({children, animatedStyle}: FooterProps) => JSX.Element;
|
|
9
|
+
export {Footer as Footer};
|
package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const AllCapsHeading: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const AllCapsHeading: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
numberOfLines,
|
|
8
|
+
ellipsizeMode,
|
|
9
|
+
addStyle,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Heading1: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const Heading1: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
addStyle,
|
|
8
|
+
ellipsizeMode,
|
|
9
|
+
numberOfLines,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Heading2: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const Heading2: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
numberOfLines,
|
|
8
|
+
ellipsizeMode,
|
|
9
|
+
addStyle,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Heading3: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const Heading3: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
addStyle,
|
|
8
|
+
numberOfLines,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Heading4: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const Heading4: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
addStyle,
|
|
8
|
+
numberOfLines,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
1
|
+
import {Heading1} from './heading1/heading1.component';
|
|
2
|
+
import {Heading2} from './heading2/heading2.component';
|
|
3
|
+
import {Heading3} from './heading3/heading3.component';
|
|
4
|
+
import {Heading4} from './heading4/heading4.component';
|
|
5
|
+
import {AllCapsHeading} from './all-caps-heading/all-caps-heading.component';
|
|
6
|
+
export {AllCapsHeading, Heading1, Heading2, Heading3, Heading4};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {ImageSourcePropType} from 'react-native';
|
|
2
|
+
import {BubbleAlignment} from '../../../types/bubble-alignment.enum';
|
|
3
3
|
type ImageBubbleProps = {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
source: ImageSourcePropType;
|
|
5
|
+
bubbleAlignment: BubbleAlignment;
|
|
6
6
|
};
|
|
7
|
-
declare const ImageBubble: ({
|
|
8
|
-
|
|
7
|
+
declare const ImageBubble: ({
|
|
8
|
+
source,
|
|
9
|
+
bubbleAlignment,
|
|
10
|
+
}: ImageBubbleProps) => JSX.Element;
|
|
11
|
+
export {ImageBubble as ImageBubble};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type IncrementInputProps = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
value: number;
|
|
3
|
+
maxValue?: number;
|
|
4
|
+
onPress: (number: number) => void;
|
|
5
5
|
};
|
|
6
|
-
export declare const IncrementInput: ({
|
|
6
|
+
export declare const IncrementInput: ({
|
|
7
|
+
value,
|
|
8
|
+
onPress,
|
|
9
|
+
maxValue,
|
|
10
|
+
}: IncrementInputProps) => JSX.Element;
|
|
7
11
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
2
|
+
interface LineProps {
|
|
3
|
+
color?: string;
|
|
4
|
+
thickness?: number;
|
|
5
|
+
orientation?: Orientation;
|
|
6
|
+
}
|
|
7
|
+
export declare const Line: ({
|
|
8
|
+
color,
|
|
9
|
+
thickness,
|
|
10
|
+
orientation,
|
|
11
|
+
}: LineProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import {View} from 'react-native';
|
|
3
|
+
import {useContext} from 'react';
|
|
4
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
+
import {Stylesheet} from './line.styles';
|
|
6
|
+
|
|
7
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
8
|
+
|
|
9
|
+
interface LineProps {
|
|
10
|
+
color?: string;
|
|
11
|
+
thickness?: number;
|
|
12
|
+
orientation?: Orientation;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Line = ({
|
|
16
|
+
color,
|
|
17
|
+
thickness = 1,
|
|
18
|
+
orientation = 'horizontal',
|
|
19
|
+
}: LineProps) => {
|
|
20
|
+
const context = useContext(ThemeCtx);
|
|
21
|
+
const styles = Stylesheet(context, color, orientation, thickness);
|
|
22
|
+
return <View style={styles.container} />;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LinePreview: () => JSX.Element;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {View} from 'react-native';
|
|
2
|
+
import {Line} from './line.component';
|
|
3
|
+
import {useContext} from 'react';
|
|
4
|
+
import {ThemeCtx} from '../../../context/theme.context';
|
|
5
|
+
|
|
6
|
+
export const LinePreview = () => {
|
|
7
|
+
const context = useContext(ThemeCtx);
|
|
8
|
+
return (
|
|
9
|
+
<View style={{flex: 1, gap: 24, padding: 32, backgroundColor: 'white'}}>
|
|
10
|
+
<Line />
|
|
11
|
+
<Line
|
|
12
|
+
color={context.colors.main[5]}
|
|
13
|
+
orientation={'horizontal'}
|
|
14
|
+
thickness={2}
|
|
15
|
+
/>
|
|
16
|
+
<Line
|
|
17
|
+
color={context.colors.main[9]}
|
|
18
|
+
orientation={'horizontal'}
|
|
19
|
+
thickness={3}
|
|
20
|
+
/>
|
|
21
|
+
<View
|
|
22
|
+
style={{
|
|
23
|
+
flex: 1,
|
|
24
|
+
flexDirection: 'row',
|
|
25
|
+
justifyContent: 'space-around',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
}}
|
|
28
|
+
>
|
|
29
|
+
<Line
|
|
30
|
+
color={context.colors.main[7]}
|
|
31
|
+
orientation={'vertical'}
|
|
32
|
+
thickness={14}
|
|
33
|
+
/>
|
|
34
|
+
<Line
|
|
35
|
+
color={context.colors.main[0]}
|
|
36
|
+
orientation={'vertical'}
|
|
37
|
+
thickness={6}
|
|
38
|
+
/>
|
|
39
|
+
</View>
|
|
40
|
+
<View style={{flex: 1, gap: 24}}>
|
|
41
|
+
<Line
|
|
42
|
+
color={context.colors.main[5]}
|
|
43
|
+
orientation={'horizontal'}
|
|
44
|
+
thickness={6}
|
|
45
|
+
/>
|
|
46
|
+
<Line
|
|
47
|
+
color={context.colors.main[9]}
|
|
48
|
+
orientation={'horizontal'}
|
|
49
|
+
thickness={12}
|
|
50
|
+
/>
|
|
51
|
+
</View>
|
|
52
|
+
</View>
|
|
53
|
+
);
|
|
54
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {StyleSheet} from 'react-native';
|
|
2
|
+
|
|
3
|
+
export const Stylesheet = (context, color, orientation, thickness) =>
|
|
4
|
+
StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
backgroundColor: color ? color : context.colors.ui.xlightgrey,
|
|
7
|
+
height: orientation === 'horizontal' ? thickness : '100%',
|
|
8
|
+
width: orientation === 'vertical' ? thickness : '100%',
|
|
9
|
+
},
|
|
10
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type logoProps = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
colorIsWhite?: boolean;
|
|
3
|
+
big?: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare const Logo: ({
|
|
6
|
-
export {
|
|
5
|
+
declare const Logo: ({colorIsWhite, big}: logoProps) => JSX.Element;
|
|
6
|
+
export {Logo as Logo};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import {Paragraph} from './paragraph/paragraph.component';
|
|
2
|
+
import {SmallText} from './small-text/small-text.component';
|
|
3
|
+
import {TinyText} from './tiny-text/tiny-text.component';
|
|
4
|
+
export {Paragraph, SmallText, TinyText};
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Paragraph: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const Paragraph: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
addStyle,
|
|
8
|
+
numberOfLines,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const SmallText: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const SmallText: ({
|
|
3
|
+
bold,
|
|
4
|
+
textColor,
|
|
5
|
+
textAlign,
|
|
6
|
+
children,
|
|
7
|
+
addStyle,
|
|
8
|
+
ellipsizeMode,
|
|
9
|
+
numberOfLines,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const TinyText: ({
|
|
1
|
+
import {TextProperties} from '../../../../types/text-properties.type';
|
|
2
|
+
export declare const TinyText: ({
|
|
3
|
+
bold,
|
|
4
|
+
children,
|
|
5
|
+
textColor,
|
|
6
|
+
textAlign,
|
|
7
|
+
addStyle,
|
|
8
|
+
numberOfLines,
|
|
9
|
+
ellipsizeMode,
|
|
10
|
+
}: TextProperties) => JSX.Element;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {PressableProps} from 'react-native';
|
|
2
2
|
interface QuickMessageProps extends PressableProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
message: string;
|
|
4
|
+
setMessage: (value: string) => void;
|
|
5
|
+
selectedMessage: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const QuickMessage: ({
|
|
7
|
+
export declare const QuickMessage: ({
|
|
8
|
+
message,
|
|
9
|
+
setMessage,
|
|
10
|
+
selectedMessage,
|
|
11
|
+
...props
|
|
12
|
+
}: QuickMessageProps) => JSX.Element;
|
|
8
13
|
export {};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
export function Stylesheet(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
export function Stylesheet(
|
|
2
|
+
context: any,
|
|
3
|
+
selectedMessage: any
|
|
4
|
+
): {
|
|
5
|
+
container: {
|
|
6
|
+
width: string;
|
|
7
|
+
backgroundColor: any;
|
|
8
|
+
paddingTop: number;
|
|
9
|
+
paddingBottom: number;
|
|
10
|
+
paddingRight: number;
|
|
11
|
+
paddingLeft: number;
|
|
12
|
+
borderBottomLeftRadius: number;
|
|
13
|
+
borderTopLeftRadius: number;
|
|
14
|
+
borderTopRightRadius: number;
|
|
15
|
+
borderBottomRightRadius: number;
|
|
16
|
+
};
|
|
14
17
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
type splitContainerProps = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
element1: React.ReactNode;
|
|
4
|
+
element2?: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
declare const SplitContainer: ({
|
|
7
|
-
|
|
6
|
+
declare const SplitContainer: ({
|
|
7
|
+
element1,
|
|
8
|
+
element2,
|
|
9
|
+
}: splitContainerProps) => JSX.Element;
|
|
10
|
+
export {SplitContainer as SplitContainer};
|