@tactics/toddle-styleguide 1.2.1 → 1.2.3
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.d.ts +0 -1
- package/App.tsx +15 -7
- package/index.d.ts +3 -2
- package/index.tsx +4 -2
- package/package.json +30 -26
- package/src/components/atoms/animated-wave/animated-wave.component.d.ts +0 -1
- package/src/components/atoms/backdrop/backdrop.component.d.ts +0 -1
- package/src/components/atoms/background-gradient/background-gradient.component.d.ts +0 -1
- package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +0 -1
- package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +234 -234
- package/src/components/atoms/calendar/calendar.component.d.ts +0 -1
- package/src/components/atoms/calendar/calendar.component.tsx +8 -6
- package/src/components/atoms/calendar/calendar.preview.d.ts +0 -1
- package/src/components/atoms/check-switch/check-switch.component.d.ts +0 -1
- package/src/components/atoms/check-switch/check-switch.preview.d.ts +0 -1
- package/src/components/atoms/footer/footer.preview.d.ts +0 -1
- package/src/components/atoms/footer/footer.preview.tsx +0 -3
- package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +0 -1
- package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +0 -1
- package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +0 -1
- package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +0 -1
- package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +0 -1
- package/src/components/atoms/heading-components/headings.preview.d.ts +0 -1
- package/src/components/atoms/image-bubble/image-bubble.component.d.ts +0 -1
- package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +0 -1
- package/src/components/atoms/increment-input/increment-input.component.d.ts +0 -1
- package/src/components/atoms/increment-input/increment-input.preview.d.ts +0 -1
- package/src/components/atoms/logo/logo.component.d.ts +0 -1
- package/src/components/atoms/logo/logo.preview.d.ts +0 -1
- package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +0 -1
- package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +0 -1
- package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +0 -1
- package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +0 -1
- package/src/components/atoms/split-container/split-container.preview.d.ts +0 -1
- package/src/components/atoms/static-wave/static-wave.component.d.ts +0 -1
- package/src/components/atoms/text-input/text-input.component.d.ts +0 -1
- package/src/components/atoms/text-input/text-input.preview.d.ts +0 -1
- package/src/components/molecules/avatar/avatar.component.d.ts +0 -1
- package/src/components/molecules/avatar/avatar.preview.d.ts +0 -1
- package/src/components/molecules/blocked-message/blocked-message.component.d.ts +0 -1
- package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +0 -1
- package/src/components/molecules/button/button.component.d.ts +0 -1
- package/src/components/molecules/button/button.preview.d.ts +0 -1
- package/src/components/molecules/calendar-select/calendar-select.component.d.ts +2 -3
- package/src/components/molecules/calendar-select/calendar-select.component.tsx +4 -14
- package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +0 -1
- package/src/components/molecules/calendar-select/calendar-select.preview.tsx +9 -22
- package/src/components/molecules/cancel-link/cancel-link.component.d.ts +0 -1
- package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +0 -1
- package/src/components/molecules/checkbox/checkbox.component.d.ts +0 -1
- package/src/components/molecules/checkbox/checkbox.preview.d.ts +0 -1
- package/src/components/molecules/contact-role/contact-role.component.d.ts +0 -1
- package/src/components/molecules/contact-role/contact-role.preview.d.ts +0 -1
- package/src/components/molecules/date-input/date-input.component.d.ts +0 -1
- package/src/components/molecules/date-input/date-input.preview.d.ts +0 -1
- package/src/components/molecules/day/day.component.d.ts +0 -1
- package/src/components/molecules/default-select/default-select.component.d.ts +0 -1
- package/src/components/molecules/default-select/default-select.preview.d.ts +0 -1
- package/src/components/molecules/department_logo/department-logo.component.d.ts +0 -1
- package/src/components/molecules/department_logo/department-logo.preview.d.ts +0 -1
- package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +0 -1
- package/src/components/molecules/filter-range/filter-range.component.d.ts +0 -1
- package/src/components/molecules/filter-range/filter-range.preview.d.ts +0 -1
- package/src/components/molecules/filter-tab/filter-tab.component.d.ts +0 -1
- package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +0 -1
- package/src/components/molecules/info/info.component.d.ts +0 -1
- package/src/components/molecules/info/info.preview.d.ts +0 -1
- package/src/components/molecules/language-button/language-button.component.d.ts +0 -1
- package/src/components/molecules/language-button/language-button.preview.d.ts +0 -1
- package/src/components/molecules/message-input/message-input.component.d.ts +0 -1
- package/src/components/molecules/message-input/message-input.preview.d.ts +0 -1
- package/src/components/molecules/more-info-button/more-info-button.component.d.ts +0 -1
- package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +0 -1
- package/src/components/molecules/password-input/password-input.component.d.ts +0 -1
- package/src/components/molecules/password-input/password-input.preview.d.ts +0 -1
- package/src/components/molecules/pill/pill.component.d.ts +0 -1
- package/src/components/molecules/pill/pill.preview.d.ts +0 -1
- package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +0 -1
- package/src/components/molecules/quick-filter/quick-filter.component.d.ts +0 -1
- package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +0 -1
- package/src/components/molecules/search-input/search.component.d.ts +0 -1
- package/src/components/molecules/search-input/search.preview.d.ts +0 -1
- package/src/components/molecules/select-link/select-link.component.d.ts +0 -1
- package/src/components/molecules/select-link/select-link.preview.d.ts +0 -1
- package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +0 -1
- package/src/components/molecules/select-picker/select-picker.component.d.ts +0 -1
- package/src/components/molecules/select-picker/select-picker.preview.d.ts +0 -1
- package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +0 -1
- package/src/components/molecules/snackbar/snackbar.component.d.ts +0 -1
- package/src/components/molecules/snackbar/snackbar.preview.d.ts +0 -1
- package/src/components/molecules/swipe/swipe.preview.d.ts +0 -1
- package/src/components/molecules/tag/tag.component.d.ts +0 -1
- package/src/components/molecules/tag/tag.preview.d.ts +0 -1
- package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +2149 -0
- package/src/components/molecules/time-picker/time-picker.component.d.ts +8 -0
- package/src/components/molecules/time-picker/time-picker.component.tsx +65 -0
- package/src/components/molecules/time-picker/time-picker.preview.d.ts +1 -0
- package/src/components/molecules/time-picker/time-picker.preview.tsx +109 -0
- package/src/components/molecules/time-picker/time-picker.styles.d.ts +15 -0
- package/src/components/molecules/time-picker/time-picker.styles.js +19 -0
- package/src/components/molecules/time-picker/time-picker.test.js +18 -0
- package/src/components/molecules/time-tracker/time-tracker.component.d.ts +0 -1
- package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +0 -1
- package/src/components/molecules/time-tracker/time-tracker.test.js +0 -1
- package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +47 -39
- package/src/components/molecules/timeline/timeline.component.d.ts +2 -3
- package/src/components/molecules/timeline/timeline.component.tsx +27 -120
- package/src/components/molecules/timeline/timeline.preview.d.ts +0 -1
- package/src/components/molecules/timeline/timeline.preview.tsx +9 -20
- package/src/components/molecules/timeline/timeline.styles.d.ts +58 -40
- package/src/components/molecules/timeline/timeline.styles.js +24 -17
- package/src/components/molecules/timeline/timeline.test.js +3 -3
- package/src/components/molecules/timestamp/timestamp.component.d.ts +0 -1
- package/src/components/molecules/wave-background/wave.component.d.ts +0 -1
- package/src/components/molecules/wave-background/wave.preview.d.ts +0 -1
- package/src/components/molecules/wide-button/wide-button.component.d.ts +0 -1
- package/src/components/molecules/wide-button/wide-button.preview.d.ts +0 -1
- package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +0 -1
- package/src/components/organisms/contact-item/contact-item.component.d.ts +0 -1
- package/src/components/organisms/contact-item/contact-item.preview.d.ts +0 -1
- package/src/components/organisms/day-select/day-select.component.d.ts +0 -1
- package/src/components/organisms/day-select/day-select.preview.d.ts +0 -1
- package/src/components/organisms/loading-indicator/container.component.d.ts +0 -1
- package/src/components/organisms/loading-indicator/dot.component.d.ts +0 -1
- package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +0 -1
- package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +0 -1
- package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +0 -1
- package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +0 -1
- package/src/components/organisms/person-info-card/person-info-card.component.d.ts +0 -1
- package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +0 -1
- package/src/components/organisms/text-bubble/text-bubble.component.d.ts +0 -1
- package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +0 -1
- package/src/components/templates/modal/components/fade-panel.component.d.ts +2 -1
- package/src/components/templates/modal/components/fade-panel.component.tsx +8 -2
- package/src/components/templates/modal/modal.component.d.ts +2 -1
- package/src/components/templates/modal/modal.component.tsx +4 -3
- package/src/components/templates/modal/modal.preview.d.ts +0 -1
- package/src/components/templates/modal/modal.styles.d.ts +3 -6
- package/src/components/templates/modal/modal.styles.js +3 -3
- package/src/components/templates/popover/components/modal/close/close.component.d.ts +0 -1
- package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +0 -1
- package/src/components/templates/popover/components/modal/modal.component.tsx +0 -2
- package/src/components/templates/popover/popover.preview.d.ts +0 -1
- package/src/gradients/main/main.gradient.d.ts +0 -1
- package/src/icons/index.d.ts +0 -1
- package/src/icons/outline/calendar/calendar.icon.d.ts +0 -1
- package/src/icons/outline/chat/chat.icon.d.ts +0 -1
- package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +0 -1
- package/src/icons/outline/check-circle/check-circle.icon.d.ts +0 -1
- package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +0 -1
- package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +0 -1
- package/src/icons/outline/clock/clock.icon.d.ts +0 -1
- package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +0 -1
- package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +0 -1
- package/src/icons/outline/document-text/document-text.icon.d.ts +0 -1
- package/src/icons/outline/exclamation/exclamation.icon.d.ts +0 -1
- package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +0 -1
- package/src/icons/outline/eye/eye.icon.d.ts +0 -1
- package/src/icons/outline/eye-off/eye-off.icon.d.ts +0 -1
- package/src/icons/outline/filter/filter.icon.d.ts +0 -1
- package/src/icons/outline/information-circle/information-circle.icon.d.ts +0 -1
- package/src/icons/outline/logout/logout.icon.d.ts +0 -1
- package/src/icons/outline/mail/mail.icon.d.ts +0 -1
- package/src/icons/outline/mail-open/mail-open.icon.d.ts +0 -1
- package/src/icons/outline/menu/menu.icon.d.ts +0 -1
- package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +0 -1
- package/src/icons/outline/office-building/office-building.icon.d.ts +0 -1
- package/src/icons/outline/outline-default.preview.d.ts +0 -1
- package/src/icons/outline/outline-grey.preview.d.ts +0 -1
- package/src/icons/outline/outline-white.preview.d.ts +0 -1
- package/src/icons/outline/outline.d.ts +0 -1
- package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +0 -1
- package/src/icons/outline/paperclip/paperclip.icon.d.ts +0 -1
- package/src/icons/outline/pencil/pencil.icon.d.ts +0 -1
- package/src/icons/outline/phone/phone.icon.d.ts +0 -1
- package/src/icons/outline/plus/plus.icon.d.ts +0 -1
- package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +0 -1
- package/src/icons/outline/qrcode/qrcode.icon.d.ts +0 -1
- package/src/icons/outline/refresh/refresh.icon.d.ts +0 -1
- package/src/icons/outline/search/search.icon.d.ts +0 -1
- package/src/icons/outline/selector/selector.icon.d.ts +0 -1
- package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -1
- package/src/icons/outline/status-online/status-online.icon.d.ts +0 -1
- package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +0 -1
- package/src/icons/outline/trash/trash.icon.d.ts +0 -1
- package/src/icons/outline/user/user.icon.d.ts +0 -1
- package/src/icons/outline/user-group/user-group.icon.d.ts +0 -1
- package/src/icons/outline/users/users.icon.d.ts +0 -1
- package/src/icons/outline/xmark/xmark.icon.d.ts +0 -1
- package/src/icons/solid/calendar/calendar.icon.d.ts +0 -1
- package/src/icons/solid/chat/chat.icon.d.ts +0 -1
- package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +0 -1
- package/src/icons/solid/check-circle/check-circle.icon.d.ts +0 -1
- package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +0 -1
- package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +0 -1
- package/src/icons/solid/clock/clock-solid.icon.d.ts +0 -1
- package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +0 -1
- package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +0 -1
- package/src/icons/solid/document-text/document-text-solid.icon.d.ts +0 -1
- package/src/icons/solid/exclamation/exclamation.icon.d.ts +0 -1
- package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +0 -1
- package/src/icons/solid/eye/eye.icon.d.ts +0 -1
- package/src/icons/solid/eye-off/eye-off.icon.d.ts +0 -1
- package/src/icons/solid/filter/filter.icon.d.ts +0 -1
- package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +0 -1
- package/src/icons/solid/logout/logout.icon.d.ts +0 -1
- package/src/icons/solid/mail/mail.icon.d.ts +0 -1
- package/src/icons/solid/mail-open/mail-open.icon.d.ts +0 -1
- package/src/icons/solid/menu/menu.icon.d.ts +0 -1
- package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +0 -1
- package/src/icons/solid/office-building/office-building.icon.d.ts +0 -1
- package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +0 -1
- package/src/icons/solid/paperclip/paperclip.icon.d.ts +0 -1
- package/src/icons/solid/pencil/pencil-solid.icon.d.ts +0 -1
- package/src/icons/solid/phone/phone-solid.icon.d.ts +0 -1
- package/src/icons/solid/plus/plus.icon.d.ts +0 -1
- package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +0 -1
- package/src/icons/solid/qrcode/qrcode.icon.d.ts +0 -1
- package/src/icons/solid/refresh/refresh-solid.icon.d.ts +0 -1
- package/src/icons/solid/search/search.icon.d.ts +0 -1
- package/src/icons/solid/selector/selector.icon.d.ts +0 -1
- package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -1
- package/src/icons/solid/solid.d.ts +0 -1
- package/src/icons/solid/solid.preview.d.ts +0 -1
- package/src/icons/solid/status-online/status-online-solid.icon.d.ts +0 -1
- package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +0 -1
- package/src/icons/solid/trash/trash-solid.icon.d.ts +0 -1
- package/src/icons/solid/user/user.icon.d.ts +0 -1
- package/src/icons/solid/user-group/user-group.icon.d.ts +0 -1
- package/src/icons/solid/users/users-solid.icon.d.ts +0 -1
- package/src/icons/solid/xmark/xmark.icon.d.ts +0 -1
- package/src/theme/provider/parent.theme.d.ts +4 -1
- package/src/theme/provider/parent.theme.ts +4 -1
- package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +2 -2
- package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +2 -2
- package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +0 -1
package/App.d.ts
CHANGED
package/App.tsx
CHANGED
|
@@ -67,6 +67,7 @@ import {WaveBackgroundPreview} from './src/components/molecules/wave-background/
|
|
|
67
67
|
import {ToddleDateTimePreview} from './src/utilities/toddle-datetime/toddle-datetime.preview';
|
|
68
68
|
import {BackgroundGradientPreview} from './src/components/atoms/background-gradient/background-gradient.preview';
|
|
69
69
|
import {PersonInfoCardPreview} from './src/components/organisms/person-info-card/person-info-card.preview';
|
|
70
|
+
import {TimePickerPreview} from './src/components/molecules/time-picker/time-picker.preview';
|
|
70
71
|
|
|
71
72
|
const Stack = createNativeStackNavigator();
|
|
72
73
|
|
|
@@ -260,6 +261,10 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
|
|
|
260
261
|
title="Contact info card"
|
|
261
262
|
onPress={() => navigation.push('person-info-card')}
|
|
262
263
|
/>
|
|
264
|
+
<ReactBtn
|
|
265
|
+
title="Time picker"
|
|
266
|
+
onPress={() => navigation.push('time-picker')}
|
|
267
|
+
/>
|
|
263
268
|
</ScrollView>
|
|
264
269
|
);
|
|
265
270
|
};
|
|
@@ -324,7 +329,9 @@ function App() {
|
|
|
324
329
|
<Stack.Screen name="select-list-item">
|
|
325
330
|
{() => <SelectListItemPreview />}
|
|
326
331
|
</Stack.Screen>
|
|
327
|
-
<Stack.Screen name="popover"
|
|
332
|
+
<Stack.Screen name="popover" options={{headerShown: false}}>
|
|
333
|
+
{() => <PopoverPreview />}
|
|
334
|
+
</Stack.Screen>
|
|
328
335
|
<Stack.Screen name="filter tab">
|
|
329
336
|
{() => <FilterTabPreview />}
|
|
330
337
|
</Stack.Screen>
|
|
@@ -408,16 +415,14 @@ function App() {
|
|
|
408
415
|
<Stack.Screen name="language-button">
|
|
409
416
|
{() => <LanguageButtonPreview />}
|
|
410
417
|
</Stack.Screen>
|
|
411
|
-
<Stack.Screen name="modal"
|
|
412
|
-
|
|
413
|
-
</Stack.Screen>
|
|
414
|
-
<Stack.Screen name="wave" options={{headerShown: false}}>
|
|
418
|
+
<Stack.Screen name="modal">{() => <ModalPreview />}</Stack.Screen>
|
|
419
|
+
<Stack.Screen name="wave">
|
|
415
420
|
{() => <WaveBackgroundPreview />}
|
|
416
421
|
</Stack.Screen>
|
|
417
|
-
<Stack.Screen name="loading-indicator"
|
|
422
|
+
<Stack.Screen name="loading-indicator">
|
|
418
423
|
{() => <LoadingIndicatorPreview />}
|
|
419
424
|
</Stack.Screen>
|
|
420
|
-
<Stack.Screen name="toddle-datetime"
|
|
425
|
+
<Stack.Screen name="toddle-datetime">
|
|
421
426
|
{() => <ToddleDateTimePreview />}
|
|
422
427
|
</Stack.Screen>
|
|
423
428
|
<Stack.Screen name="background-gradient">
|
|
@@ -426,6 +431,9 @@ function App() {
|
|
|
426
431
|
<Stack.Screen name="person-info-card">
|
|
427
432
|
{() => <PersonInfoCardPreview />}
|
|
428
433
|
</Stack.Screen>
|
|
434
|
+
<Stack.Screen name="time-picker">
|
|
435
|
+
{() => <TimePickerPreview />}
|
|
436
|
+
</Stack.Screen>
|
|
429
437
|
</Stack.Navigator>
|
|
430
438
|
</NavigationContainer>
|
|
431
439
|
</ThemeCtx.Provider>
|
package/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ import { Search } from './src/components/molecules/search-input/search.component
|
|
|
32
32
|
import { BlockedMessage } from './src/components/molecules/blocked-message/blocked-message.component';
|
|
33
33
|
import { DepartmentLogo } from './src/components/molecules/department_logo/department-logo.component';
|
|
34
34
|
import { ContactRole } from './src/components/molecules/contact-role/contact-role.component';
|
|
35
|
-
import {
|
|
35
|
+
import { TimeLine } from './src/components/molecules/timeline/timeline.component';
|
|
36
36
|
import { SelectPicker } from './src/components/molecules/select-picker/select-picker.component';
|
|
37
37
|
import { CalendarSelect } from './src/components/molecules/calendar-select/calendar-select.component';
|
|
38
38
|
import { DateInput } from './src/components/molecules/date-input/date-input.component';
|
|
@@ -52,6 +52,7 @@ import { LoadingIndicator } from './src/components/organisms/loading-indicator/l
|
|
|
52
52
|
import { WaveBackground } from './src/components/molecules/wave-background/wave.component';
|
|
53
53
|
import { BackgroundGradient } from './src/components/atoms/background-gradient/background-gradient.component';
|
|
54
54
|
import { PersonInfoCard } from './src/components/organisms/person-info-card/person-info-card.component';
|
|
55
|
+
import { TimePicker } from './src/components/molecules/time-picker/time-picker.component';
|
|
55
56
|
import { BubbleAlignment } from './src/types/bubble-alignment.enum';
|
|
56
57
|
import { KeyBoardTypes } from './src/types/keyboard-types.enum';
|
|
57
58
|
import { Size } from './src/types/size.enum';
|
|
@@ -61,4 +62,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
|
|
|
61
62
|
import { ThemeCtx } from './src/context/theme.context';
|
|
62
63
|
import { Scale } from './src/theme/scale/index';
|
|
63
64
|
import CreateResponsiveStyle from './src/theme/responsive/index';
|
|
64
|
-
export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, CreateResponsiveStyle, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole,
|
|
65
|
+
export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, CreateResponsiveStyle, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, TimeLine, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, MoreInfoButton, LanguageButton, Modal, LoadingIndicator, WaveBackground, BackgroundGradient, PersonInfoCard, TimePicker, };
|
package/index.tsx
CHANGED
|
@@ -40,7 +40,7 @@ import {Search} from './src/components/molecules/search-input/search.component';
|
|
|
40
40
|
import {BlockedMessage} from './src/components/molecules/blocked-message/blocked-message.component';
|
|
41
41
|
import {DepartmentLogo} from './src/components/molecules/department_logo/department-logo.component';
|
|
42
42
|
import {ContactRole} from './src/components/molecules/contact-role/contact-role.component';
|
|
43
|
-
import {
|
|
43
|
+
import {TimeLine} from './src/components/molecules/timeline/timeline.component';
|
|
44
44
|
import {SelectPicker} from './src/components/molecules/select-picker/select-picker.component';
|
|
45
45
|
import {CalendarSelect} from './src/components/molecules/calendar-select/calendar-select.component';
|
|
46
46
|
import {DateInput} from './src/components/molecules/date-input/date-input.component';
|
|
@@ -70,6 +70,7 @@ import {LoadingIndicator} from './src/components/organisms/loading-indicator/loa
|
|
|
70
70
|
import {WaveBackground} from './src/components/molecules/wave-background/wave.component';
|
|
71
71
|
import {BackgroundGradient} from './src/components/atoms/background-gradient/background-gradient.component';
|
|
72
72
|
import {PersonInfoCard} from './src/components/organisms/person-info-card/person-info-card.component';
|
|
73
|
+
import {TimePicker} from './src/components/molecules/time-picker/time-picker.component';
|
|
73
74
|
|
|
74
75
|
// Exports of enums
|
|
75
76
|
import {BubbleAlignment} from './src/types/bubble-alignment.enum';
|
|
@@ -134,7 +135,7 @@ export {
|
|
|
134
135
|
BlockedMessage,
|
|
135
136
|
DepartmentLogo,
|
|
136
137
|
ContactRole,
|
|
137
|
-
|
|
138
|
+
TimeLine,
|
|
138
139
|
SelectPicker,
|
|
139
140
|
CalendarSelect,
|
|
140
141
|
DateInput,
|
|
@@ -160,4 +161,5 @@ export {
|
|
|
160
161
|
WaveBackground,
|
|
161
162
|
BackgroundGradient,
|
|
162
163
|
PersonInfoCard,
|
|
164
|
+
TimePicker,
|
|
163
165
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tactics/toddle-styleguide",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"main": "index.tsx",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"prepublish": "tsc",
|
|
7
7
|
"scripts": {
|
|
8
|
+
"expo": "./node_modules/.bin/tsc && ./node_modules/.bin/expo",
|
|
9
|
+
"start": "./node_modules/.bin/tsc && ./node_modules/.bin/expo start",
|
|
8
10
|
"test": "./node_modules/.bin/jest",
|
|
9
11
|
"format": "./node_modules/.bin/prettier --write src/.",
|
|
10
12
|
"types": "./node_modules/.bin/tsc index.tsx --declaration --allowJs --emitDeclarationOnly --esModuleInterop --jsx react-native --skipLibCheck --target es5"
|
|
@@ -17,33 +19,34 @@
|
|
|
17
19
|
"packageManager": "yarn@3.3.1",
|
|
18
20
|
"dependencies": {
|
|
19
21
|
"@callstack/react-theme-provider": "^3.0.8",
|
|
20
|
-
"@expo/config-plugins": "~6.0.
|
|
21
|
-
"@expo/webpack-config": "^18.0
|
|
22
|
-
"@miblanchard/react-native-slider": "^2.1
|
|
22
|
+
"@expo/config-plugins": "~6.0.2",
|
|
23
|
+
"@expo/webpack-config": "^18.1.0",
|
|
24
|
+
"@miblanchard/react-native-slider": "^2.3.1",
|
|
23
25
|
"@react-native-picker/picker": "2.4.8",
|
|
24
|
-
"@react-navigation/bottom-tabs": "^6.
|
|
25
|
-
"@react-navigation/drawer": "^6.
|
|
26
|
-
"@react-navigation/native": "^6.
|
|
27
|
-
"@react-navigation/native-stack": "^6.9.
|
|
28
|
-
"@react-navigation/stack": "^6.3.
|
|
26
|
+
"@react-navigation/bottom-tabs": "^6.5.8",
|
|
27
|
+
"@react-navigation/drawer": "^6.6.3",
|
|
28
|
+
"@react-navigation/native": "^6.1.7",
|
|
29
|
+
"@react-navigation/native-stack": "^6.9.13",
|
|
30
|
+
"@react-navigation/stack": "^6.3.17",
|
|
29
31
|
"@tactics/kinderopvang-branding": "1.0.3",
|
|
30
|
-
"@testing-library/react-native": "^
|
|
31
|
-
"@types/luxon": "^3.
|
|
32
|
+
"@testing-library/react-native": "^12.1.2",
|
|
33
|
+
"@types/luxon": "^3.3.0",
|
|
32
34
|
"@types/xdate": "^0.8.32",
|
|
33
|
-
"expo": "^48.0.
|
|
35
|
+
"expo": "^48.0.19",
|
|
34
36
|
"expo-font": "~11.1.1",
|
|
37
|
+
"expo-haptics": "~12.2.1",
|
|
35
38
|
"expo-linear-gradient": "~12.1.2",
|
|
36
39
|
"expo-status-bar": "~1.4.4",
|
|
37
40
|
"intl": "^1.2.5",
|
|
38
|
-
"jsc-android": "^
|
|
39
|
-
"lottie-ios": "
|
|
41
|
+
"jsc-android": "^250231.0.0",
|
|
42
|
+
"lottie-ios": "4.2.0",
|
|
40
43
|
"lottie-react-native": "5.1.4",
|
|
41
44
|
"luxon": "^3.3.0",
|
|
42
45
|
"react": "18.2.0",
|
|
43
46
|
"react-dom": "18.2.0",
|
|
44
|
-
"react-native": "0.71.
|
|
47
|
+
"react-native": "0.71.8",
|
|
45
48
|
"react-native-calendar-strip": "^2.2.6",
|
|
46
|
-
"react-native-calendars": "^1.
|
|
49
|
+
"react-native-calendars": "^1.1299.0",
|
|
47
50
|
"react-native-gesture-handler": "~2.9.0",
|
|
48
51
|
"react-native-picker-select": "^8.0.4",
|
|
49
52
|
"react-native-reanimated": "~2.14.4",
|
|
@@ -52,22 +55,23 @@
|
|
|
52
55
|
"react-native-svg": "13.4.0",
|
|
53
56
|
"react-native-swipe-gestures": "^1.0.5",
|
|
54
57
|
"react-native-swiper": "^1.6.0",
|
|
55
|
-
"react-native-web": "~0.18.
|
|
58
|
+
"react-native-web": "~0.18.10",
|
|
59
|
+
"react-native-wheel-picker-expo": "^0.5.4",
|
|
56
60
|
"react-test-renderer": "^18.2.0"
|
|
57
61
|
},
|
|
58
62
|
"devDependencies": {
|
|
59
|
-
"@babel/core": "^7.
|
|
60
|
-
"@babel/preset-typescript": "^7.
|
|
61
|
-
"@types/jest": "^29.2
|
|
62
|
-
"@types/luxon": "^3.
|
|
63
|
-
"@types/node": "^
|
|
63
|
+
"@babel/core": "^7.22.5",
|
|
64
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
65
|
+
"@types/jest": "^29.5.2",
|
|
66
|
+
"@types/luxon": "^3.3.0",
|
|
67
|
+
"@types/node": "^20.3.1",
|
|
64
68
|
"@types/react": "~18.0.27",
|
|
65
69
|
"@types/react-dom": "~18.0.10",
|
|
66
70
|
"@types/react-test-renderer": "^18.0.0",
|
|
67
|
-
"jest": "^29.
|
|
68
|
-
"jest-expo": "^
|
|
69
|
-
"prettier": "2.
|
|
70
|
-
"ts-jest": "^29.0
|
|
71
|
+
"jest": "^29.5.0",
|
|
72
|
+
"jest-expo": "^48.0.2",
|
|
73
|
+
"prettier": "2.8.8",
|
|
74
|
+
"ts-jest": "^29.1.0",
|
|
71
75
|
"ts-node": "^10.9.1",
|
|
72
76
|
"typescript": "^4.9.4"
|
|
73
77
|
}
|