@tactics/toddle-styleguide 1.2.7 → 1.2.8

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.
Files changed (214) hide show
  1. package/App.tsx +5 -0
  2. package/index.d.ts +3 -1
  3. package/index.tsx +50 -46
  4. package/package.json +1 -1
  5. package/src/components/atoms/backdrop/backdrop.component.d.ts +7 -4
  6. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +628 -1810
  7. package/src/components/atoms/calendar/calendar.component.d.ts +11 -6
  8. package/src/components/atoms/check-switch/check-switch.component.d.ts +3 -3
  9. package/src/components/atoms/footer/footer.component.d.ts +6 -6
  10. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +10 -2
  11. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +10 -2
  12. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +10 -2
  13. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +10 -2
  14. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +10 -2
  15. package/src/components/atoms/heading-components/index.d.ts +6 -6
  16. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +9 -6
  17. package/src/components/atoms/increment-input/increment-input.component.d.ts +8 -4
  18. package/src/components/atoms/logo/logo.component.d.ts +4 -4
  19. package/src/components/atoms/paragraph-components/index.d.ts +4 -4
  20. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +10 -2
  21. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +10 -2
  22. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +10 -2
  23. package/src/components/atoms/quick-message/quick-message.component.d.ts +8 -4
  24. package/src/components/atoms/quick-message/quick-message.styles.d.ts +12 -12
  25. package/src/components/atoms/split-container/split-container.component.d.ts +7 -4
  26. package/src/components/atoms/static-wave/static-wave.component.d.ts +11 -6
  27. package/src/components/atoms/text-input/text-input.component.d.ts +10 -6
  28. package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
  29. package/src/components/molecules/avatar/avatar.component.d.ts +18 -11
  30. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +4 -2
  31. package/src/components/molecules/button/button.component.d.ts +20 -11
  32. package/src/components/molecules/button/button.styles.d.ts +17 -13
  33. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +12 -7
  34. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +4 -4
  35. package/src/components/molecules/checkbox/checkbox.component.d.ts +9 -5
  36. package/src/components/molecules/contact-role/contact-role.component.d.ts +6 -3
  37. package/src/components/molecules/date-input/date-input.component.d.ts +7 -4
  38. package/src/components/molecules/day/day.component.d.ts +6 -6
  39. package/src/components/molecules/default-select/default-select.component.d.ts +6 -3
  40. package/src/components/molecules/department_logo/department-logo.component.d.ts +5 -3
  41. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +11 -6
  42. package/src/components/molecules/filter-range/filter-range.component.d.ts +14 -7
  43. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +11 -6
  44. package/src/components/molecules/filter-tab/filter-tab.component.tsx +9 -5
  45. package/src/components/molecules/filter-tab/filter-tab.preview.tsx +2 -2
  46. package/src/components/molecules/filter-tab/filter-tab.test.js +2 -2
  47. package/src/components/molecules/info/info.component.d.ts +4 -4
  48. package/src/components/molecules/language-button/language-button.component.d.ts +8 -4
  49. package/src/components/molecules/message-input/message-input.component.d.ts +11 -7
  50. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +8 -4
  51. package/src/components/molecules/password-input/password-input.component.d.ts +9 -5
  52. package/src/components/molecules/pill/pill.component.d.ts +5 -5
  53. package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +10 -5
  54. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +16 -9
  55. package/src/components/molecules/search-input/search.component.d.ts +14 -8
  56. package/src/components/molecules/search-input/search.preview.d.ts +1 -1
  57. package/src/components/molecules/select-link/select-link.component.d.ts +4 -4
  58. package/src/components/molecules/select-list-item/select-list-item.component.d.ts +13 -7
  59. package/src/components/molecules/select-picker/select-picker.component.d.ts +13 -8
  60. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +17 -10
  61. package/src/components/molecules/snackbar/snackbar.component.d.ts +5 -5
  62. package/src/components/molecules/swipe/swipe.component.d.ts +5 -5
  63. package/src/components/molecules/tag/tag.component.d.ts +11 -6
  64. package/src/components/molecules/time-picker/time-picker.component.d.ts +10 -5
  65. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +10 -6
  66. package/src/components/molecules/timeline/timeline.component.d.ts +6 -3
  67. package/src/components/molecules/timestamp/timestamp.component.d.ts +3 -3
  68. package/src/components/molecules/wave-background/wave.component.d.ts +7 -2
  69. package/src/components/molecules/wide-button/wide-button.component.d.ts +11 -6
  70. package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +0 -4
  71. package/src/components/organisms/child-list-item/child-list-item.component.d.ts +32 -17
  72. package/src/components/organisms/child-list-item/child-list-item.preview.tsx +1 -0
  73. package/src/components/organisms/child-list-item/child-list-item.styles.js +0 -2
  74. package/src/components/organisms/contact-item/contact-item.component.d.ts +11 -6
  75. package/src/components/organisms/day-select/day-select.component.d.ts +10 -6
  76. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +13 -3
  77. package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
  78. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +9 -2
  79. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +0 -2
  80. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +18 -10
  81. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.tsx +1 -0
  82. package/src/components/organisms/my-child-list-item/my-child-list-item.styles.js +0 -1
  83. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +18 -9
  84. package/src/components/organisms/person-info-card/person-info-card.component.tsx +3 -0
  85. package/src/components/organisms/tab-view/__snapshots__/tab-view.test.js.snap +421 -0
  86. package/src/components/organisms/tab-view/tab-view.component.d.ts +15 -0
  87. package/src/components/organisms/tab-view/tab-view.component.tsx +48 -0
  88. package/src/components/organisms/tab-view/tab-view.preview.d.ts +1 -0
  89. package/src/components/organisms/tab-view/tab-view.preview.tsx +36 -0
  90. package/src/components/organisms/tab-view/tab-view.styles.d.ts +10 -0
  91. package/src/components/organisms/tab-view/tab-view.styles.js +14 -0
  92. package/src/components/organisms/tab-view/tab-view.test.js +37 -0
  93. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +24 -14
  94. package/src/components/organisms/text-bubble/text-bubble.styles.d.ts +44 -30
  95. package/src/components/templates/modal/components/fade-panel.component.d.ts +16 -8
  96. package/src/components/templates/modal/modal.component.d.ts +14 -7
  97. package/src/components/templates/popover/components/foreground/foreground.component.d.ts +4 -4
  98. package/src/components/templates/popover/components/modal/close/close.component.d.ts +4 -4
  99. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +4 -4
  100. package/src/components/templates/popover/components/modal/modal.component.d.ts +17 -8
  101. package/src/components/templates/popover/components/modal/modal.component.tsx +8 -2
  102. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +5 -3
  103. package/src/components/templates/popover/popover.component.d.ts +15 -7
  104. package/src/components/templates/popover/popover.component.tsx +3 -0
  105. package/src/components/templates/popover-action/popover-action.component.d.ts +8 -4
  106. package/src/context/loading-dots.context.d.ts +9 -6
  107. package/src/context/theme.context.d.ts +47 -47
  108. package/src/gradients/main/main.gradient.d.ts +4 -2
  109. package/src/icons/index.d.ts +7 -2
  110. package/src/icons/outline/calendar/calendar.icon.d.ts +2 -2
  111. package/src/icons/outline/chat/chat.icon.d.ts +2 -2
  112. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -2
  113. package/src/icons/outline/check-circle/check-circle.icon.d.ts +5 -2
  114. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +5 -2
  115. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +5 -2
  116. package/src/icons/outline/clock/clock.icon.d.ts +2 -2
  117. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +5 -2
  118. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +5 -2
  119. package/src/icons/outline/document-text/document-text.icon.d.ts +5 -2
  120. package/src/icons/outline/exclamation/exclamation.icon.d.ts +5 -2
  121. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
  122. package/src/icons/outline/eye/eye.icon.d.ts +2 -2
  123. package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -2
  124. package/src/icons/outline/filter/filter.icon.d.ts +2 -2
  125. package/src/icons/outline/information-circle/information-circle.icon.d.ts +5 -2
  126. package/src/icons/outline/logout/logout.icon.d.ts +2 -2
  127. package/src/icons/outline/mail/mail.icon.d.ts +2 -2
  128. package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -2
  129. package/src/icons/outline/menu/menu.icon.d.ts +2 -2
  130. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +5 -2
  131. package/src/icons/outline/office-building/office-building.icon.d.ts +5 -2
  132. package/src/icons/outline/outline.d.ts +6 -2
  133. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +5 -2
  134. package/src/icons/outline/paperclip/paperclip.icon.d.ts +5 -2
  135. package/src/icons/outline/pencil/pencil.icon.d.ts +2 -2
  136. package/src/icons/outline/phone/phone.icon.d.ts +2 -2
  137. package/src/icons/outline/plus/plus.icon.d.ts +2 -2
  138. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +5 -2
  139. package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -2
  140. package/src/icons/outline/refresh/refresh.icon.d.ts +2 -2
  141. package/src/icons/outline/search/search.icon.d.ts +2 -2
  142. package/src/icons/outline/selector/selector.icon.d.ts +2 -2
  143. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +5 -2
  144. package/src/icons/outline/status-online/status-online.icon.d.ts +5 -2
  145. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -2
  146. package/src/icons/outline/trash/trash.icon.d.ts +2 -2
  147. package/src/icons/outline/user/user.icon.d.ts +2 -2
  148. package/src/icons/outline/user-group/user-group.icon.d.ts +5 -2
  149. package/src/icons/outline/users/users.icon.d.ts +2 -2
  150. package/src/icons/outline/xmark/xmark.icon.d.ts +2 -2
  151. package/src/icons/solid/calendar/calendar.icon.d.ts +2 -2
  152. package/src/icons/solid/chat/chat.icon.d.ts +2 -2
  153. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -2
  154. package/src/icons/solid/check-circle/check-circle.icon.d.ts +5 -2
  155. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +5 -2
  156. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +5 -2
  157. package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
  158. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +5 -2
  159. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +5 -2
  160. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +5 -2
  161. package/src/icons/solid/exclamation/exclamation.icon.d.ts +5 -2
  162. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +5 -2
  163. package/src/icons/solid/eye/eye.icon.d.ts +2 -2
  164. package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -2
  165. package/src/icons/solid/filter/filter.icon.d.ts +2 -2
  166. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +5 -2
  167. package/src/icons/solid/logout/logout.icon.d.ts +2 -2
  168. package/src/icons/solid/mail/mail.icon.d.ts +2 -2
  169. package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -2
  170. package/src/icons/solid/menu/menu.icon.d.ts +2 -2
  171. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +5 -2
  172. package/src/icons/solid/office-building/office-building.icon.d.ts +5 -2
  173. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +5 -2
  174. package/src/icons/solid/paperclip/paperclip.icon.d.ts +5 -2
  175. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -2
  176. package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -2
  177. package/src/icons/solid/plus/plus.icon.d.ts +2 -2
  178. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +5 -2
  179. package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -2
  180. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -2
  181. package/src/icons/solid/search/search.icon.d.ts +2 -2
  182. package/src/icons/solid/selector/selector.icon.d.ts +2 -2
  183. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +5 -2
  184. package/src/icons/solid/solid.d.ts +6 -2
  185. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +5 -2
  186. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +2 -2
  187. package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -2
  188. package/src/icons/solid/user/user.icon.d.ts +2 -2
  189. package/src/icons/solid/user-group/user-group.icon.d.ts +5 -2
  190. package/src/icons/solid/users/users-solid.icon.d.ts +2 -2
  191. package/src/icons/solid/xmark/xmark.icon.d.ts +2 -2
  192. package/src/interfaces/icon.interface.d.ts +5 -5
  193. package/src/models/hex-color.model.d.ts +4 -4
  194. package/src/models/initials.model.d.ts +5 -5
  195. package/src/theme/font/font.d.ts +70 -70
  196. package/src/theme/font/index.d.ts +3 -3
  197. package/src/theme/provider/index.d.ts +3 -3
  198. package/src/theme/provider/parent.theme.d.ts +45 -45
  199. package/src/theme/provider/staff-member.theme.d.ts +45 -45
  200. package/src/theme/responsive/index.d.ts +5 -2
  201. package/src/theme/scale/index.d.ts +10 -10
  202. package/src/types/bubble-alignment.enum.d.ts +2 -2
  203. package/src/types/icontype.type.d.ts +41 -1
  204. package/src/types/keyboard-types.enum.d.ts +7 -7
  205. package/src/types/loading-dots.type.d.ts +6 -6
  206. package/src/types/size.enum.d.ts +3 -3
  207. package/src/types/text-properties.type.d.ts +8 -8
  208. package/src/types/visual-state.enum.d.ts +5 -5
  209. package/src/utilities/color-handler/color-handler.d.ts +6 -2
  210. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
  211. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +14 -14
  212. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +92 -40
  213. package/src/utilities/toddle-datetime/types/duration-like.type.d.ts +1 -1
  214. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +11 -2
@@ -1,9 +1,14 @@
1
- import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
1
+ import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
2
2
  type CalendarProps = {
3
- onDayPress: (day: ToddleDateTime) => void;
4
- selected: ToddleDateTime;
5
- minDate?: string;
6
- maxDate?: string;
3
+ onDayPress: (day: ToddleDateTime) => void;
4
+ selected: ToddleDateTime;
5
+ minDate?: string;
6
+ maxDate?: string;
7
7
  };
8
- export declare const Calendar: ({ onDayPress, selected, minDate, maxDate, }: CalendarProps) => JSX.Element;
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
- value: boolean;
3
- onToggle: () => void;
2
+ value: boolean;
3
+ onToggle: () => void;
4
4
  };
5
- export declare const Check: ({ value, onToggle }: CheckProps) => JSX.Element;
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 { ViewStyle } from 'react-native';
3
- import { AnimateStyle } from 'react-native-reanimated';
2
+ import {ViewStyle} from 'react-native';
3
+ import {AnimateStyle} from 'react-native-reanimated';
4
4
  type FooterProps = {
5
- children: React.ReactNode;
6
- animatedStyle?: AnimateStyle<ViewStyle>;
5
+ children: React.ReactNode;
6
+ animatedStyle?: AnimateStyle<ViewStyle>;
7
7
  };
8
- declare const Footer: ({ children, animatedStyle }: FooterProps) => JSX.Element;
9
- export { Footer as Footer };
8
+ declare const Footer: ({children, animatedStyle}: FooterProps) => JSX.Element;
9
+ export {Footer as Footer};
@@ -1,2 +1,10 @@
1
- import { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const AllCapsHeading: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => JSX.Element;
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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Heading1: ({ bold, children, textColor, textAlign, addStyle, ellipsizeMode, numberOfLines, }: TextProperties) => JSX.Element;
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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Heading2: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => JSX.Element;
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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Heading3: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => JSX.Element;
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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Heading4: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => JSX.Element;
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 { 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
+ 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 { ImageSourcePropType } from 'react-native';
2
- import { BubbleAlignment } from '../../../types/bubble-alignment.enum';
1
+ import {ImageSourcePropType} from 'react-native';
2
+ import {BubbleAlignment} from '../../../types/bubble-alignment.enum';
3
3
  type ImageBubbleProps = {
4
- source: ImageSourcePropType;
5
- bubbleAlignment: BubbleAlignment;
4
+ source: ImageSourcePropType;
5
+ bubbleAlignment: BubbleAlignment;
6
6
  };
7
- declare const ImageBubble: ({ source, bubbleAlignment }: ImageBubbleProps) => JSX.Element;
8
- export { ImageBubble as ImageBubble };
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
- value: number;
3
- maxValue?: number;
4
- onPress: (number: number) => void;
2
+ value: number;
3
+ maxValue?: number;
4
+ onPress: (number: number) => void;
5
5
  };
6
- export declare const IncrementInput: ({ value, onPress, maxValue, }: IncrementInputProps) => JSX.Element;
6
+ export declare const IncrementInput: ({
7
+ value,
8
+ onPress,
9
+ maxValue,
10
+ }: IncrementInputProps) => JSX.Element;
7
11
  export {};
@@ -1,6 +1,6 @@
1
1
  type logoProps = {
2
- colorIsWhite?: boolean;
3
- big?: boolean;
2
+ colorIsWhite?: boolean;
3
+ big?: boolean;
4
4
  };
5
- declare const Logo: ({ colorIsWhite, big }: logoProps) => JSX.Element;
6
- export { Logo as Logo };
5
+ declare const Logo: ({colorIsWhite, big}: logoProps) => JSX.Element;
6
+ export {Logo as Logo};
@@ -1,4 +1,4 @@
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
+ 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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const Paragraph: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => JSX.Element;
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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const SmallText: ({ bold, textColor, textAlign, children, addStyle, ellipsizeMode, numberOfLines, }: TextProperties) => JSX.Element;
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 { TextProperties } from '../../../../types/text-properties.type';
2
- export declare const TinyText: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => JSX.Element;
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,7 +1,11 @@
1
- import { PressableProps } from 'react-native';
1
+ import {PressableProps} from 'react-native';
2
2
  interface QuickMessageProps extends PressableProps {
3
- message: string;
4
- setMessage: (value: string) => void;
3
+ message: string;
4
+ setMessage: (value: string) => void;
5
5
  }
6
- export declare const QuickMessage: ({ message, setMessage, ...props }: QuickMessageProps) => JSX.Element;
6
+ export declare const QuickMessage: ({
7
+ message,
8
+ setMessage,
9
+ ...props
10
+ }: QuickMessageProps) => JSX.Element;
7
11
  export {};
@@ -1,14 +1,14 @@
1
1
  export function Stylesheet(context: any): {
2
- container: {
3
- width: string;
4
- backgroundColor: any;
5
- paddingTop: number;
6
- paddingBottom: number;
7
- paddingRight: number;
8
- paddingLeft: number;
9
- borderBottomLeftRadius: number;
10
- borderTopLeftRadius: number;
11
- borderTopRightRadius: number;
12
- borderBottomRightRadius: number;
13
- };
2
+ container: {
3
+ width: string;
4
+ backgroundColor: any;
5
+ paddingTop: number;
6
+ paddingBottom: number;
7
+ paddingRight: number;
8
+ paddingLeft: number;
9
+ borderBottomLeftRadius: number;
10
+ borderTopLeftRadius: number;
11
+ borderTopRightRadius: number;
12
+ borderBottomRightRadius: number;
13
+ };
14
14
  };
@@ -1,7 +1,10 @@
1
1
  import * as React from 'react';
2
2
  type splitContainerProps = {
3
- element1: React.ReactNode;
4
- element2?: React.ReactNode;
3
+ element1: React.ReactNode;
4
+ element2?: React.ReactNode;
5
5
  };
6
- declare const SplitContainer: ({ element1, element2 }: splitContainerProps) => JSX.Element;
7
- export { SplitContainer as SplitContainer };
6
+ declare const SplitContainer: ({
7
+ element1,
8
+ element2,
9
+ }: splitContainerProps) => JSX.Element;
10
+ export {SplitContainer as SplitContainer};
@@ -1,8 +1,13 @@
1
- import { ViewStyle } from 'react-native';
1
+ import {ViewStyle} from 'react-native';
2
2
  export type WaveProps = {
3
- customStyle?: ViewStyle;
4
- customWavePath?: string;
5
- heightSvgContainer?: number;
6
- positionTop?: number;
3
+ customStyle?: ViewStyle;
4
+ customWavePath?: string;
5
+ heightSvgContainer?: number;
6
+ positionTop?: number;
7
7
  };
8
- export declare const StaticWave: ({ customStyle, customWavePath, heightSvgContainer, positionTop, }: WaveProps) => JSX.Element;
8
+ export declare const StaticWave: ({
9
+ customStyle,
10
+ customWavePath,
11
+ heightSvgContainer,
12
+ positionTop,
13
+ }: WaveProps) => JSX.Element;
@@ -1,8 +1,12 @@
1
- import { TextInputProps as NativeTextInputProps } from 'react-native';
2
- import { KeyBoardTypes } from '../../../types/keyboard-types.enum';
1
+ import {TextInputProps as NativeTextInputProps} from 'react-native';
2
+ import {KeyBoardTypes} from '../../../types/keyboard-types.enum';
3
3
  interface TextInputProps extends NativeTextInputProps {
4
- keyboardType: KeyBoardTypes;
5
- border?: boolean;
4
+ keyboardType: KeyBoardTypes;
5
+ border?: boolean;
6
6
  }
7
- declare const TextInput: ({ keyboardType, border, ...props }: TextInputProps) => JSX.Element;
8
- export { TextInput as TextInput };
7
+ declare const TextInput: ({
8
+ keyboardType,
9
+ border,
10
+ ...props
11
+ }: TextInputProps) => JSX.Element;
12
+ export {TextInput as TextInput};
@@ -1 +1 @@
1
- export declare const TextInputPreview: ({}?: {}) => JSX.Element;
1
+ export declare const TextInputPreview: ({}: {}) => JSX.Element;
@@ -1,13 +1,20 @@
1
- import { ImageSourcePropType } from 'react-native';
2
- import { Size } from '../../../types/size.enum';
3
- import { Initials } from '../../../models/initials.model';
1
+ import {ImageSourcePropType} from 'react-native';
2
+ import {Size} from '../../../types/size.enum';
3
+ import {Initials} from '../../../models/initials.model';
4
4
  type AvatarProps = {
5
- source: ImageSourcePropType | Initials;
6
- size: Size;
7
- isBlocked?: boolean;
8
- isActive?: boolean;
9
- isLoading?: boolean;
10
- hasShadow?: boolean;
5
+ source: ImageSourcePropType | Initials;
6
+ size: Size;
7
+ isBlocked?: boolean;
8
+ isActive?: boolean;
9
+ isLoading?: boolean;
10
+ hasShadow?: boolean;
11
11
  };
12
- declare const Avatar: ({ source, size, isBlocked, isActive, isLoading, hasShadow, }: AvatarProps) => JSX.Element;
13
- export { Avatar as Avatar };
12
+ declare const Avatar: ({
13
+ source,
14
+ size,
15
+ isBlocked,
16
+ isActive,
17
+ isLoading,
18
+ hasShadow,
19
+ }: AvatarProps) => JSX.Element;
20
+ export {Avatar as Avatar};
@@ -1,5 +1,7 @@
1
1
  type BlockedMessageProps = {
2
- message: string;
2
+ message: string;
3
3
  };
4
- export declare const BlockedMessage: ({ message }: BlockedMessageProps) => JSX.Element;
4
+ export declare const BlockedMessage: ({
5
+ message,
6
+ }: BlockedMessageProps) => JSX.Element;
5
7
  export {};
@@ -1,14 +1,23 @@
1
- import { PressableProps } from 'react-native';
2
- import { IconNameType, IconStyleType } from '../../../types/icontype.type';
1
+ import {PressableProps} from 'react-native';
2
+ import {IconNameType, IconStyleType} from '../../../types/icontype.type';
3
3
  type ButtonType = 'regular' | 'error' | 'success' | 'light';
4
4
  interface ButtonProps extends PressableProps {
5
- label: string;
6
- icon?: boolean;
7
- iconStyle?: IconStyleType;
8
- iconName?: IconNameType;
9
- iconSize?: number;
10
- disabled?: boolean;
11
- type?: ButtonType;
5
+ label: string;
6
+ icon?: boolean;
7
+ iconStyle?: IconStyleType;
8
+ iconName?: IconNameType;
9
+ iconSize?: number;
10
+ disabled?: boolean;
11
+ type?: ButtonType;
12
12
  }
13
- declare const Button: ({ label, icon, iconStyle, iconName, iconSize, disabled, type, ...props }: ButtonProps) => JSX.Element;
14
- export { Button as Button };
13
+ declare const Button: ({
14
+ label,
15
+ icon,
16
+ iconStyle,
17
+ iconName,
18
+ iconSize,
19
+ disabled,
20
+ type,
21
+ ...props
22
+ }: ButtonProps) => JSX.Element;
23
+ export {Button as Button};
@@ -1,14 +1,18 @@
1
- export function Stylesheet(context: any, disabled: any, buttonColor: any): {
2
- container: {
3
- backgroundColor: any;
4
- paddingVertical: number;
5
- paddingHorizontal: number;
6
- flexDirection: "row";
7
- justifyContent: "center";
8
- alignItems: "center";
9
- borderRadius: number;
10
- };
11
- iconGap: {
12
- marginRight: number;
13
- };
1
+ export function Stylesheet(
2
+ context: any,
3
+ disabled: any,
4
+ buttonColor: any
5
+ ): {
6
+ container: {
7
+ backgroundColor: any;
8
+ paddingVertical: number;
9
+ paddingHorizontal: number;
10
+ flexDirection: 'row';
11
+ justifyContent: 'center';
12
+ alignItems: 'center';
13
+ borderRadius: number;
14
+ };
15
+ iconGap: {
16
+ marginRight: number;
17
+ };
14
18
  };
@@ -1,9 +1,14 @@
1
- import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
1
+ import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
2
2
  type CalendarSelectProps = {
3
- onPressDate: (date: ToddleDateTime) => void;
4
- startDate: ToddleDateTime;
5
- pressChevronRight: (date: ToddleDateTime) => void;
6
- pressChevronLeft: (date: ToddleDateTime) => void;
3
+ onPressDate: (date: ToddleDateTime) => void;
4
+ startDate: ToddleDateTime;
5
+ pressChevronRight: (date: ToddleDateTime) => void;
6
+ pressChevronLeft: (date: ToddleDateTime) => void;
7
7
  };
8
- declare const CalendarSelect: ({ onPressDate, startDate, pressChevronLeft, pressChevronRight, }: CalendarSelectProps) => JSX.Element;
9
- export { CalendarSelect as CalendarSelect };
8
+ declare const CalendarSelect: ({
9
+ onPressDate,
10
+ startDate,
11
+ pressChevronLeft,
12
+ pressChevronRight,
13
+ }: CalendarSelectProps) => JSX.Element;
14
+ export {CalendarSelect as CalendarSelect};
@@ -1,6 +1,6 @@
1
1
  type CancelLinkProps = {
2
- label: string;
3
- onPress: () => void;
2
+ label: string;
3
+ onPress: () => void;
4
4
  };
5
- declare const CancelLink: ({ label, onPress }: CancelLinkProps) => JSX.Element;
6
- export { CancelLink as CancelLink };
5
+ declare const CancelLink: ({label, onPress}: CancelLinkProps) => JSX.Element;
6
+ export {CancelLink as CancelLink};
@@ -1,7 +1,11 @@
1
1
  type CheckboxProps = {
2
- value: boolean;
3
- onValueChange: () => void;
4
- label: string;
2
+ value: boolean;
3
+ onValueChange: () => void;
4
+ label: string;
5
5
  };
6
- declare const Checkbox: ({ value, onValueChange, label }: CheckboxProps) => JSX.Element;
7
- export { Checkbox as Checkbox };
6
+ declare const Checkbox: ({
7
+ value,
8
+ onValueChange,
9
+ label,
10
+ }: CheckboxProps) => JSX.Element;
11
+ export {Checkbox as Checkbox};
@@ -1,6 +1,9 @@
1
1
  type ContactRoleProps = {
2
- name: string;
3
- role?: string;
2
+ name: string;
3
+ role?: string;
4
4
  };
5
- export declare const ContactRole: ({ name, role }: ContactRoleProps) => JSX.Element;
5
+ export declare const ContactRole: ({
6
+ name,
7
+ role,
8
+ }: ContactRoleProps) => JSX.Element;
6
9
  export {};
@@ -1,7 +1,10 @@
1
- import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
1
+ import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
2
2
  type DateInputProps = {
3
- onPress: () => void;
4
- value: ToddleDateTime;
3
+ onPress: () => void;
4
+ value: ToddleDateTime;
5
5
  };
6
- export declare const DateInput: ({ onPress, value }: DateInputProps) => JSX.Element;
6
+ export declare const DateInput: ({
7
+ onPress,
8
+ value,
9
+ }: DateInputProps) => JSX.Element;
7
10
  export {};
@@ -1,8 +1,8 @@
1
- import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
1
+ import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
2
2
  type DayProps = {
3
- date: ToddleDateTime;
4
- onSelect: (date: ToddleDateTime) => void;
5
- isSelected?: boolean;
3
+ date: ToddleDateTime;
4
+ onSelect: (date: ToddleDateTime) => void;
5
+ isSelected?: boolean;
6
6
  };
7
- declare const Day: ({ onSelect, date, isSelected }: DayProps) => JSX.Element;
8
- export { Day as Day };
7
+ declare const Day: ({onSelect, date, isSelected}: DayProps) => JSX.Element;
8
+ export {Day as Day};
@@ -1,6 +1,9 @@
1
1
  type DefaultSelectProps = {
2
- label: string;
3
- onPress: () => void;
2
+ label: string;
3
+ onPress: () => void;
4
4
  };
5
- export declare const DefaultSelect: ({ label, onPress }: DefaultSelectProps) => JSX.Element;
5
+ export declare const DefaultSelect: ({
6
+ label,
7
+ onPress,
8
+ }: DefaultSelectProps) => JSX.Element;
6
9
  export {};
@@ -1,5 +1,7 @@
1
1
  type DepartmentLogoProps = {
2
- department: string;
2
+ department: string;
3
3
  };
4
- declare const DepartmentLogo: ({ department }: DepartmentLogoProps) => JSX.Element;
5
- export { DepartmentLogo as DepartmentLogo };
4
+ declare const DepartmentLogo: ({
5
+ department,
6
+ }: DepartmentLogoProps) => JSX.Element;
7
+ export {DepartmentLogo as DepartmentLogo};
@@ -1,8 +1,13 @@
1
1
  type FailedBubbleProps = {
2
- id: string;
3
- text: string;
4
- onPressRefresh: (id: string) => void;
5
- onPressDelete: (id: string) => void;
2
+ id: string;
3
+ text: string;
4
+ onPressRefresh: (id: string) => void;
5
+ onPressDelete: (id: string) => void;
6
6
  };
7
- declare const FailedTextBubble: ({ id, text, onPressRefresh, onPressDelete, }: FailedBubbleProps) => JSX.Element;
8
- export { FailedTextBubble };
7
+ declare const FailedTextBubble: ({
8
+ id,
9
+ text,
10
+ onPressRefresh,
11
+ onPressDelete,
12
+ }: FailedBubbleProps) => JSX.Element;
13
+ export {FailedTextBubble};
@@ -1,10 +1,17 @@
1
1
  type FilterRangeProps = {
2
- value: number | number[];
3
- onChange: (value: number | number[]) => void;
4
- minValue: number;
5
- maxValue: number;
6
- prefix?: string;
7
- suffix?: string;
2
+ value: number | number[];
3
+ onChange: (value: number | number[]) => void;
4
+ minValue: number;
5
+ maxValue: number;
6
+ prefix?: string;
7
+ suffix?: string;
8
8
  };
9
- export declare const FilterRange: ({ value, minValue, maxValue, onChange, prefix, suffix, }: FilterRangeProps) => JSX.Element;
9
+ export declare const FilterRange: ({
10
+ value,
11
+ minValue,
12
+ maxValue,
13
+ onChange,
14
+ prefix,
15
+ suffix,
16
+ }: FilterRangeProps) => JSX.Element;
10
17
  export {};