@tactics/toddle-styleguide 0.0.4 → 0.0.6

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 (174) hide show
  1. package/.yarnrc.yml +1 -1
  2. package/App.d.ts +2 -0
  3. package/{types/index.d.ts → index.d.ts} +12 -1
  4. package/index.tsx +18 -0
  5. package/package.json +13 -11
  6. package/src/components/atoms/avatar/avatar.component.d.ts +11 -0
  7. package/src/components/atoms/avatar/avatar.preview.d.ts +1 -0
  8. package/src/components/atoms/avatar/avatar.styles.d.ts +48 -0
  9. package/src/components/atoms/button/button.component.d.ts +8 -0
  10. package/src/components/atoms/button/button.preview.d.ts +1 -0
  11. package/src/components/atoms/button/button.styles.d.ts +23 -0
  12. package/src/components/atoms/calendar/calendar.component.d.ts +8 -0
  13. package/src/components/atoms/calendar/calendar.preview.d.ts +1 -0
  14. package/src/components/atoms/calendar/calendar.styles.d.ts +81 -0
  15. package/src/components/atoms/cancel-link/cancel-link.component.d.ts +6 -0
  16. package/src/components/atoms/cancel-link/cancel-link.preview.d.ts +1 -0
  17. package/src/components/atoms/cancel-link/cancel-link.styles.d.ts +17 -0
  18. package/src/components/atoms/check-switch/check-switch.component.d.ts +6 -0
  19. package/src/components/atoms/check-switch/check-switch.preview.d.ts +1 -0
  20. package/src/components/atoms/check-switch/check-switch.styles.d.ts +33 -0
  21. package/src/components/atoms/checkbox/checkbox.component.d.ts +7 -0
  22. package/src/components/atoms/checkbox/checkbox.preview.d.ts +1 -0
  23. package/src/components/atoms/checkbox/checkbox.styles.d.ts +32 -0
  24. package/src/components/atoms/child-list-item/child-list-item.component.d.ts +18 -0
  25. package/src/components/atoms/child-list-item/child-list-item.preview.d.ts +1 -0
  26. package/src/components/atoms/child-list-item/child-list-item.styles.d.ts +78 -0
  27. package/src/components/atoms/contact-item/contact-item.component.d.ts +9 -0
  28. package/src/components/atoms/contact-item/contact-item.preview.d.ts +1 -0
  29. package/src/components/atoms/contact-item/contact-item.styles.d.ts +24 -0
  30. package/src/components/atoms/filter-tab/filter-tab.component.d.ts +8 -0
  31. package/src/components/atoms/filter-tab/filter-tab.preview.d.ts +1 -0
  32. package/src/components/atoms/filter-tab/filter-tab.styles.d.ts +66 -0
  33. package/src/components/atoms/form-actions/form-action.component.d.ts +7 -0
  34. package/src/components/atoms/form-actions/form-action.preview.d.ts +1 -0
  35. package/src/components/atoms/form-actions/form-action.styles.d.ts +14 -0
  36. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +8 -0
  37. package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +1 -0
  38. package/src/components/atoms/image-bubble/image-bubble.styles.d.ts +35 -0
  39. package/src/components/atoms/increment-input/increment-input.component.d.ts +6 -0
  40. package/src/components/atoms/increment-input/increment-input.preview.d.ts +1 -0
  41. package/src/components/atoms/increment-input/increment-input.styles.d.ts +46 -0
  42. package/src/components/atoms/info/info.component.d.ts +6 -0
  43. package/src/components/atoms/info/info.preview.d.ts +1 -0
  44. package/src/components/atoms/info/info.styles.d.ts +24 -0
  45. package/src/components/atoms/logo/logo.component.d.ts +6 -0
  46. package/src/components/atoms/logo/logo.preview.d.ts +1 -0
  47. package/src/components/atoms/pill/pill.component.d.ts +7 -0
  48. package/src/components/atoms/pill/pill.preview.d.ts +1 -0
  49. package/src/components/atoms/pill/pill.styles.d.ts +32 -0
  50. package/src/components/atoms/popover/components/backdrop/backdrop.component.d.ts +5 -0
  51. package/src/components/atoms/popover/components/backdrop/backdrop.styles.d.ts +11 -0
  52. package/src/components/atoms/popover/components/foreground/foreground.component.d.ts +7 -0
  53. package/src/components/atoms/popover/components/foreground/foreground.styles.d.ts +12 -0
  54. package/src/components/atoms/popover/components/index.d.ts +4 -0
  55. package/src/components/atoms/popover/components/modal/close/close.component.d.ts +6 -0
  56. package/src/components/atoms/popover/components/modal/close/close.styles.d.ts +9 -0
  57. package/src/components/atoms/popover/components/modal/heading/heading.component.d.ts +6 -0
  58. package/src/components/atoms/popover/components/modal/heading/heading.styles.d.ts +22 -0
  59. package/src/components/atoms/popover/components/modal/modal.component.d.ts +11 -0
  60. package/src/components/atoms/popover/components/modal/modal.styles.d.ts +18 -0
  61. package/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.d.ts +6 -0
  62. package/src/components/atoms/popover/components/modal/scroll-content/scroll-content.styles.d.ts +6 -0
  63. package/src/components/atoms/popover/popover.component.d.ts +10 -0
  64. package/src/components/atoms/popover/popover.styles.d.ts +8 -0
  65. package/src/components/atoms/pressable-icon/pressable-icon.component.d.ts +9 -0
  66. package/src/components/atoms/pressable-icon/pressable-icon.preview.d.ts +1 -0
  67. package/src/components/atoms/pressable-icon/pressable-icon.styles.d.ts +20 -0
  68. package/src/components/atoms/quick-filter/quick-filter.component.d.ts +10 -0
  69. package/src/components/atoms/quick-filter/quick-filter.prevriew.d.ts +1 -0
  70. package/src/components/atoms/quick-filter/quick-filter.styles.d.ts +46 -0
  71. package/src/components/atoms/select-list-item/select-list-item-preview.d.ts +1 -0
  72. package/src/components/atoms/select-list-item/select-list-item.component.d.ts +10 -0
  73. package/src/components/atoms/select-list-item/select-list-item.styles.d.ts +40 -0
  74. package/src/components/atoms/snackbar/snackbar.component.d.ts +7 -0
  75. package/src/components/atoms/snackbar/snackbar.preview.d.ts +1 -0
  76. package/src/components/atoms/snackbar/snackbar.styles.d.ts +61 -0
  77. package/src/components/atoms/swipe/Swipe.styles.d.ts +7 -0
  78. package/src/components/atoms/swipe/swipe.component.d.ts +6 -0
  79. package/src/components/atoms/swipe/swipe.preview.d.ts +1 -0
  80. package/src/components/atoms/tag/tag.component.d.ts +12 -0
  81. package/src/components/atoms/tag/tag.preview.d.ts +1 -0
  82. package/src/components/atoms/tag/tag.styles.d.ts +19 -0
  83. package/src/components/atoms/text-bubble/text-bubble.component.d.ts +10 -0
  84. package/src/components/atoms/text-bubble/text-bubble.preview.d.ts +1 -0
  85. package/src/components/atoms/text-bubble/text-bubble.styles.d.ts +75 -0
  86. package/src/components/atoms/text-input/text-input.component.d.ts +8 -0
  87. package/src/components/atoms/text-input/text-input.preview.d.ts +1 -0
  88. package/src/components/atoms/text-input/text-input.styles.d.ts +21 -0
  89. package/src/components/atoms/time-tracker/time-tracker.component.d.ts +7 -0
  90. package/src/components/atoms/time-tracker/time-tracker.preview.d.ts +1 -0
  91. package/src/components/atoms/time-tracker/time-tracker.styles.d.ts +33 -0
  92. package/src/components/atoms/timeline/timeline.component.d.ts +6 -0
  93. package/src/components/atoms/timeline/timeline.preview.d.ts +1 -0
  94. package/src/components/atoms/timeline/timeline.styles.d.ts +43 -0
  95. package/src/components/atoms/wide-button/wide-button.component.d.ts +7 -0
  96. package/src/components/atoms/wide-button/wide-button.preview.d.ts +1 -0
  97. package/src/components/atoms/wide-button/wide-button.styles.d.ts +20 -0
  98. package/src/context/theme.context.d.ts +46 -0
  99. package/src/gradients/main/main.gradient.d.ts +1 -0
  100. package/src/gradients/main/main.styles.d.ts +9 -0
  101. package/src/icons/index.d.ts +53 -0
  102. package/src/icons/outline/calendar/calendar.icon.d.ts +2 -0
  103. package/src/icons/outline/chat/chat.icon.d.ts +2 -0
  104. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -0
  105. package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -0
  106. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -0
  107. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -0
  108. package/src/icons/outline/clock/clock.icon.d.ts +2 -0
  109. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -0
  110. package/src/icons/outline/cross/cross.icon.d.ts +2 -0
  111. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -0
  112. package/src/icons/outline/document-text/document-text.icon.d.ts +2 -0
  113. package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -0
  114. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -0
  115. package/src/icons/outline/eye/eye.icon.d.ts +2 -0
  116. package/src/icons/outline/filter/filter.icon.d.ts +2 -0
  117. package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -0
  118. package/src/icons/outline/logout/logout.icon.d.ts +2 -0
  119. package/src/icons/outline/mail/mail.icon.d.ts +2 -0
  120. package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -0
  121. package/src/icons/outline/menu/menu.icon.d.ts +2 -0
  122. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -0
  123. package/src/icons/outline/office-building/office-building.icon.d.ts +2 -0
  124. package/src/icons/outline/outline-default.preview.d.ts +1 -0
  125. package/src/icons/outline/outline-grey.preview.d.ts +1 -0
  126. package/src/icons/outline/outline-white.preview.d.ts +1 -0
  127. package/src/icons/outline/outline.d.ts +41 -0
  128. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -0
  129. package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -0
  130. package/src/icons/outline/pencil/pencil.icon.d.ts +2 -0
  131. package/src/icons/outline/phone/phone.icon.d.ts +2 -0
  132. package/src/icons/outline/plus/plus.icon.d.ts +2 -0
  133. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -0
  134. package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -0
  135. package/src/icons/outline/refresh/refresh.icon.d.ts +2 -0
  136. package/src/icons/outline/search/search.icon.d.ts +2 -0
  137. package/src/icons/outline/selector/selector.icon.d.ts +2 -0
  138. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -0
  139. package/src/icons/outline/status-online/status-online.icon.d.ts +2 -0
  140. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -0
  141. package/src/icons/outline/trash/trash.icon.d.ts +2 -0
  142. package/src/icons/outline/user/user.icon.d.ts +2 -0
  143. package/src/icons/outline/user-group/user-group.icon.d.ts +2 -0
  144. package/src/icons/outline/users/users.icon.d.ts +2 -0
  145. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -0
  146. package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -0
  147. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -0
  148. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -0
  149. package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -0
  150. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -0
  151. package/src/icons/solid/solid.d.ts +10 -0
  152. package/src/icons/solid/solid.preview.d.ts +1 -0
  153. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -0
  154. package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -0
  155. package/src/models/initials.model.d.ts +7 -0
  156. package/src/theme/font/font.d.ts +72 -0
  157. package/src/theme/font/index.d.ts +3 -0
  158. package/src/theme/font/load-fonts.d.ts +1 -0
  159. package/src/theme/provider/index.d.ts +3 -0
  160. package/src/theme/provider/parent.theme.d.ts +43 -0
  161. package/src/theme/provider/parent.theme.ts +30 -30
  162. package/src/theme/provider/staff-member.theme.d.ts +43 -0
  163. package/src/theme/provider/staff-member.theme.ts +30 -30
  164. package/src/theme/scale/index.d.ts +12 -0
  165. package/src/types/bubble-alignment.enum.d.ts +4 -0
  166. package/src/types/icontype.type.d.ts +3 -0
  167. package/src/types/keyboard-types.enum.d.ts +9 -0
  168. package/src/types/size.enum.d.ts +5 -0
  169. package/src/types/visual-state.enum.d.ts +6 -0
  170. package/.expo-shared/assets.json +0 -4
  171. package/.github/workflows/publish_styleguide.yaml +0 -30
  172. package/.github/workflows/run-tests.yml +0 -16
  173. package/App.tsx +0 -241
  174. package/app.json +0 -33
@@ -0,0 +1,35 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ bubbleAlignment: any
4
+ ):
5
+ | StyleSheet.NamedStyles<any>
6
+ | StyleSheet.NamedStyles<{
7
+ container: (
8
+ | {
9
+ maxWidth: string;
10
+ borderRadius: number;
11
+ overflow: string;
12
+ justifyContent: string;
13
+ alignItems: string;
14
+ borderBottomLeftRadius?: undefined;
15
+ borderBottomRightRadius?: undefined;
16
+ marginRight?: undefined;
17
+ marginLeft?: undefined;
18
+ }
19
+ | {
20
+ borderBottomLeftRadius: number;
21
+ borderBottomRightRadius: number;
22
+ marginRight: number;
23
+ marginLeft: number;
24
+ maxWidth?: undefined;
25
+ borderRadius?: undefined;
26
+ overflow?: undefined;
27
+ justifyContent?: undefined;
28
+ alignItems?: undefined;
29
+ }
30
+ )[];
31
+ image: {
32
+ resizeMode: 'cover';
33
+ };
34
+ }>;
35
+ import {StyleSheet} from 'react-native';
@@ -0,0 +1,6 @@
1
+ declare type IncrementInputProps = {
2
+ value: number;
3
+ onPress: (number: number) => void;
4
+ };
5
+ export declare const IncrementInput: ({ value, onPress }: IncrementInputProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const IncrementInputPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,46 @@
1
+ export function Stylesheet(Context: any): {
2
+ container: {
3
+ width: string;
4
+ display: 'flex';
5
+ flexDirection: 'row';
6
+ alignItems: 'center';
7
+ justifyContent: 'center';
8
+ };
9
+ buttonContainer: {
10
+ width: number;
11
+ height: number;
12
+ backgroundColor: any;
13
+ alignItems: 'center';
14
+ justifyContent: 'center';
15
+ borderRadius: number;
16
+ };
17
+ numberContainer: {
18
+ width: number;
19
+ height: number;
20
+ display: 'flex';
21
+ justifyContent: 'center';
22
+ alignItems: 'center';
23
+ paddingTop: number;
24
+ paddingRight: number;
25
+ paddingBottom: number;
26
+ paddingLeft: number;
27
+ marginRight: number;
28
+ marginLeft: number;
29
+ backgroundColor: any;
30
+ borderWidth: number;
31
+ borderStyle: 'solid';
32
+ borderColor: any;
33
+ borderRadius: number;
34
+ };
35
+ number: {
36
+ textAlign: 'center';
37
+ textAlignVertical: 'center';
38
+ justifyContent: 'center';
39
+ alignItems: 'center';
40
+ display: 'flex';
41
+ color: any;
42
+ fontFamily: string;
43
+ fontSize: number;
44
+ lineHeight: number;
45
+ };
46
+ };
@@ -0,0 +1,6 @@
1
+ declare type InfoProps = {
2
+ label: string;
3
+ description: string;
4
+ };
5
+ declare const Info: ({ label, description }: InfoProps) => JSX.Element;
6
+ export { Info as Info };
@@ -0,0 +1 @@
1
+ export declare const InfoPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,24 @@
1
+ export function Stylesheet(context: any): {
2
+ container: {
3
+ width: string;
4
+ backgroundColor: any;
5
+ borderRadius: number;
6
+ alignItems: 'flex-start';
7
+ justifyContent: 'flex-start';
8
+ paddingVertical: number;
9
+ paddingHorizontal: number;
10
+ };
11
+ label: {
12
+ color: any;
13
+ marginBottom: number;
14
+ fontFamily: string;
15
+ fontSize: number;
16
+ lineHeight: number;
17
+ };
18
+ description: {
19
+ color: any;
20
+ fontFamily: string;
21
+ fontSize: number;
22
+ lineHeight: number;
23
+ };
24
+ };
@@ -0,0 +1,6 @@
1
+ declare type logoProps = {
2
+ colorIsWhite?: boolean;
3
+ big?: boolean;
4
+ };
5
+ declare const Logo: ({ colorIsWhite, big }: logoProps) => JSX.Element;
6
+ export { Logo as Logo };
@@ -0,0 +1 @@
1
+ export declare const LogoPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { VisualState } from '../../../types/visual-state.enum';
2
+ declare type PillProps = {
3
+ variant: VisualState;
4
+ label: string;
5
+ };
6
+ declare const Pill: ({ variant, label }: PillProps) => JSX.Element;
7
+ export { Pill as Pill };
@@ -0,0 +1 @@
1
+ export declare const PillPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,32 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ variant: any
4
+ ):
5
+ | StyleSheet.NamedStyles<any>
6
+ | StyleSheet.NamedStyles<{
7
+ container: (
8
+ | {
9
+ borderRadius: number;
10
+ alignItems: string;
11
+ justifyContent: string;
12
+ paddingVertical: number;
13
+ paddingHorizontal: number;
14
+ backgroundColor?: undefined;
15
+ }
16
+ | {
17
+ backgroundColor: any;
18
+ borderRadius?: undefined;
19
+ alignItems?: undefined;
20
+ justifyContent?: undefined;
21
+ paddingVertical?: undefined;
22
+ paddingHorizontal?: undefined;
23
+ }
24
+ )[];
25
+ label: {
26
+ color: any;
27
+ fontFamily: string;
28
+ fontSize: number;
29
+ lineHeight: number;
30
+ };
31
+ }>;
32
+ import {StyleSheet} from 'react-native';
@@ -0,0 +1,5 @@
1
+ declare type PopoverBackdropProps = {
2
+ isVisible: boolean;
3
+ };
4
+ declare const Backdrop: ({ isVisible }: PopoverBackdropProps) => JSX.Element;
5
+ export { Backdrop as Backdrop };
@@ -0,0 +1,11 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ width: string;
4
+ height: string;
5
+ backgroundColor: any;
6
+ zIndex: number;
7
+ position: 'absolute';
8
+ top: number;
9
+ left: number;
10
+ };
11
+ };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { Modal } from '../modal/modal.component';
3
+ declare type PopoverForegroundProps = {
4
+ children: React.ReactElement<typeof Modal>;
5
+ };
6
+ declare const Foreground: ({ children }: PopoverForegroundProps) => JSX.Element;
7
+ export { Foreground as Foreground };
@@ -0,0 +1,12 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ width: string;
4
+ height: string;
5
+ paddingRight: number;
6
+ paddingLeft: number;
7
+ zIndex: number;
8
+ position: 'absolute';
9
+ top: number;
10
+ left: number;
11
+ };
12
+ };
@@ -0,0 +1,4 @@
1
+ import {Backdrop} from './backdrop/backdrop.component';
2
+ import {Foreground} from './foreground/foreground.component';
3
+ import {Modal} from './modal/modal.component';
4
+ export {Backdrop, Foreground, Modal};
@@ -0,0 +1,6 @@
1
+ import { GestureResponderEvent } from 'react-native';
2
+ declare type ModalCloseProps = {
3
+ onPress: (event: GestureResponderEvent) => void;
4
+ };
5
+ declare const Close: ({ onPress }: ModalCloseProps) => JSX.Element;
6
+ export { Close as Close };
@@ -0,0 +1,9 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ color: any;
4
+ position: 'absolute';
5
+ top: number;
6
+ right: number;
7
+ zIndex: number;
8
+ };
9
+ };
@@ -0,0 +1,6 @@
1
+ declare type ModalHeadingProps = {
2
+ title: string;
3
+ subtitle?: string;
4
+ };
5
+ declare const Heading: ({ title, subtitle }: ModalHeadingProps) => JSX.Element;
6
+ export { Heading as Heading };
@@ -0,0 +1,22 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ display: 'flex';
4
+ flexDirection: 'column';
5
+ marginBottom: number;
6
+ };
7
+ title: {
8
+ display: 'flex';
9
+ textAlign: 'center';
10
+ fontFamily: string;
11
+ fontSize: number;
12
+ lineHeight: number;
13
+ };
14
+ subtitle: {
15
+ display: 'flex';
16
+ textAlign: 'center';
17
+ marginTop: number;
18
+ fontFamily: string;
19
+ fontSize: number;
20
+ lineHeight: number;
21
+ };
22
+ };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ declare type PopoverModalProps = {
3
+ onClose: () => void;
4
+ title: string;
5
+ subtitle?: string;
6
+ isVisible: boolean;
7
+ children: React.ReactNode;
8
+ windowHeight: number;
9
+ };
10
+ declare const Modal: ({ isVisible, title, subtitle, onClose, children, windowHeight, }: PopoverModalProps) => JSX.Element;
11
+ export { Modal as Modal };
@@ -0,0 +1,18 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ position: 'relative';
4
+ display: 'flex';
5
+ alignItems: 'stretch';
6
+ paddingTop: number;
7
+ paddingBottom: number;
8
+ paddingLeft: number;
9
+ paddingRight: number;
10
+ borderTopLeftRadius: number;
11
+ borderTopRightRadius: number;
12
+ backgroundColor: any;
13
+ };
14
+ inner: {
15
+ display: 'flex';
16
+ alignItems: 'stretch';
17
+ };
18
+ };
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ declare type ModalScrollContentProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ declare const ScrollContent: ({ children }: ModalScrollContentProps) => JSX.Element;
6
+ export { ScrollContent as ScrollContent };
@@ -0,0 +1,6 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ display: 'flex';
4
+ alignItems: 'stretch';
5
+ };
6
+ };
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ declare type PopoverProps = {
3
+ onClose: () => void;
4
+ title: string;
5
+ subtitle?: string;
6
+ isVisible: boolean;
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const Popover: ({ isVisible, title, subtitle, onClose, children, }: PopoverProps) => JSX.Element;
10
+ export { Popover as Popover };
@@ -0,0 +1,8 @@
1
+ export function Stylesheet(Context: any): {
2
+ element: {
3
+ zIndex: number;
4
+ top: number;
5
+ left: number;
6
+ position: 'absolute';
7
+ };
8
+ };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ declare type PressableIconProps = {
3
+ icon: React.ReactElement;
4
+ inverted?: boolean;
5
+ disabled?: boolean;
6
+ onPress?: () => void;
7
+ };
8
+ export declare const PressableIcon: ({ icon, inverted, disabled, onPress, }: PressableIconProps) => JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export declare const PressableIconPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ disabled: any
4
+ ): {
5
+ container: {
6
+ flexDirection: 'row';
7
+ justifyContent: 'center';
8
+ alignItems: 'center';
9
+ borderRadius: number;
10
+ width: number;
11
+ height: number;
12
+ padding: number;
13
+ };
14
+ backgroundDefault: {
15
+ backgroundColor: any;
16
+ };
17
+ backgroundInverted: {
18
+ backgroundColor: any;
19
+ };
20
+ };
@@ -0,0 +1,10 @@
1
+ import { VisualState } from '../../../types/visual-state.enum';
2
+ declare type QuickFilterProps = {
3
+ id: string;
4
+ amount: number;
5
+ isSelected?: boolean;
6
+ onSelect: (id: string) => void;
7
+ visualState: VisualState;
8
+ };
9
+ declare const QuickFilter: ({ id, amount, isSelected, onSelect, visualState, }: QuickFilterProps) => JSX.Element;
10
+ export { QuickFilter as QuickFilter };
@@ -0,0 +1 @@
1
+ export declare const QuickFilterPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,46 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ visualState: any,
4
+ isSelected: any
5
+ ):
6
+ | StyleSheet.NamedStyles<any>
7
+ | StyleSheet.NamedStyles<{
8
+ container: (
9
+ | {
10
+ alignItems: string;
11
+ justifyContent: string;
12
+ borderRadius: number;
13
+ borderStyle: string;
14
+ borderWidth: number;
15
+ overflow: string;
16
+ width: number;
17
+ height: number;
18
+ backgroundColor?: undefined;
19
+ borderColor?: undefined;
20
+ }
21
+ | {
22
+ backgroundColor: any;
23
+ borderColor: any;
24
+ alignItems?: undefined;
25
+ justifyContent?: undefined;
26
+ borderRadius?: undefined;
27
+ borderStyle?: undefined;
28
+ borderWidth?: undefined;
29
+ overflow?: undefined;
30
+ width?: undefined;
31
+ height?: undefined;
32
+ }
33
+ )[];
34
+ text: (
35
+ | {
36
+ fontFamily: string;
37
+ fontSize: number;
38
+ lineHeight: number;
39
+ color?: undefined;
40
+ }
41
+ | {
42
+ color: any;
43
+ }
44
+ )[];
45
+ }>;
46
+ import {StyleSheet} from 'react-native';
@@ -0,0 +1 @@
1
+ export declare const SelectListItemPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ declare type SelectListProps = {
3
+ title: string;
4
+ subtitle?: string;
5
+ icon: React.ReactElement;
6
+ onPress?: () => void;
7
+ inverse?: boolean;
8
+ };
9
+ declare const SelectListItem: ({ title, subtitle, icon, onPress, inverse, }: SelectListProps) => JSX.Element;
10
+ export { SelectListItem as SelectListItem };
@@ -0,0 +1,40 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ inverse: any
4
+ ): {
5
+ container: {
6
+ width: string;
7
+ flexDirection: 'row';
8
+ alignItems: 'center';
9
+ };
10
+ iconCircle: {
11
+ justifyContent: 'center';
12
+ alignItems: 'center';
13
+ backgroundColor: any;
14
+ width: number;
15
+ height: number;
16
+ borderRadius: number;
17
+ marginRight: number;
18
+ };
19
+ textContainer: {
20
+ flex: number;
21
+ flexDirection: 'column';
22
+ };
23
+ title: {
24
+ color: any;
25
+ fontFamily: string;
26
+ fontSize: number;
27
+ lineHeight: number;
28
+ };
29
+ subtitle: {
30
+ color: any;
31
+ fontFamily: string;
32
+ fontSize: number;
33
+ lineHeight: number;
34
+ };
35
+ iconSquare: {
36
+ marginLeft: number;
37
+ width: number;
38
+ height: number;
39
+ };
40
+ };
@@ -0,0 +1,7 @@
1
+ import { VisualState } from '../../../types/visual-state.enum';
2
+ declare type SnackbarProps = {
3
+ text: string;
4
+ variant: VisualState;
5
+ };
6
+ declare const Snackbar: ({ text, variant }: SnackbarProps) => JSX.Element;
7
+ export { Snackbar as Snackbar };
@@ -0,0 +1 @@
1
+ export declare const SnackbarPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,61 @@
1
+ export function Stylesheet(
2
+ Context: any,
3
+ variant: any
4
+ ):
5
+ | StyleSheet.NamedStyles<any>
6
+ | StyleSheet.NamedStyles<{
7
+ container: (
8
+ | {
9
+ flexDirection: string;
10
+ paddingRight: number;
11
+ paddingLeft: number;
12
+ paddingTop: number;
13
+ paddingBottom: number;
14
+ overflow: string;
15
+ alignItems: string;
16
+ borderColor: string;
17
+ borderRadius: number;
18
+ elevation: number;
19
+ backgroundColor?: undefined;
20
+ }
21
+ | {
22
+ backgroundColor: any;
23
+ flexDirection?: undefined;
24
+ paddingRight?: undefined;
25
+ paddingLeft?: undefined;
26
+ paddingTop?: undefined;
27
+ paddingBottom?: undefined;
28
+ overflow?: undefined;
29
+ alignItems?: undefined;
30
+ borderColor?: undefined;
31
+ borderRadius?: undefined;
32
+ elevation?: undefined;
33
+ }
34
+ )[];
35
+ textContainer: {
36
+ flex: number;
37
+ justifyContent: 'center';
38
+ alignContent: 'center';
39
+ paddingLeft: number;
40
+ paddingRight: number;
41
+ };
42
+ text: (
43
+ | {
44
+ fontFamily: string;
45
+ fontSize: number;
46
+ lineHeight: number;
47
+ color?: undefined;
48
+ }
49
+ | {
50
+ color: any;
51
+ }
52
+ )[];
53
+ iconContainer: {
54
+ height: number;
55
+ width: number;
56
+ marginRight: number;
57
+ alignItems: 'center';
58
+ justifyContent: 'center';
59
+ };
60
+ }>;
61
+ import {StyleSheet} from 'react-native';
@@ -0,0 +1,7 @@
1
+ export function Stylesheet(context: any): {
2
+ container: {
3
+ alignItems: 'center';
4
+ justifyContent: 'center';
5
+ height: number;
6
+ };
7
+ };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare type SwipeProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ declare const Swipe: ({ children }: SwipeProps) => JSX.Element;
6
+ export { Swipe as Swipe };
@@ -0,0 +1 @@
1
+ export declare const SwipePreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ export interface TagPressEvent {
2
+ value: string;
3
+ isSelected: boolean;
4
+ }
5
+ declare type TagProps = {
6
+ value: string;
7
+ text: string;
8
+ isSelected?: boolean;
9
+ onPress: (event: TagPressEvent) => void;
10
+ };
11
+ declare const Tag: ({ text, isSelected, onPress, value }: TagProps) => JSX.Element;
12
+ export { Tag as Tag };
@@ -0,0 +1 @@
1
+ export declare const TagPreview: ({}: {}) => JSX.Element;
@@ -0,0 +1,19 @@
1
+ export function Stylesheet(
2
+ context: any,
3
+ isSelected: any
4
+ ): {
5
+ container: {
6
+ borderRadius: number;
7
+ alignItems: 'center';
8
+ justifyContent: 'center';
9
+ paddingVertical: number;
10
+ paddingHorizontal: number;
11
+ backgroundColor: any;
12
+ };
13
+ text: {
14
+ color: any;
15
+ fontFamily: string;
16
+ fontSize: number;
17
+ lineHeight: number;
18
+ };
19
+ };
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { VisualState } from '../../../types/visual-state.enum';
3
+ import { BubbleAlignment } from '../../../types/bubble-alignment.enum';
4
+ declare type TextBubbleProps = {
5
+ text: string;
6
+ visualState: VisualState;
7
+ bubbleAlignment: BubbleAlignment;
8
+ };
9
+ declare const TextBubble: React.FC<TextBubbleProps>;
10
+ export { TextBubble as TextBubble };
@@ -0,0 +1 @@
1
+ export declare const TextBubblePreview: ({}: {}) => JSX.Element;