@tactics/toddle-styleguide 0.1.7 → 0.1.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 (114) hide show
  1. package/package.json +1 -1
  2. package/src/components/atoms/avatar/avatar.component.d.ts +7 -7
  3. package/src/components/atoms/blocked-message/blocked-message.component.d.ts +2 -4
  4. package/src/components/atoms/button/button.component.d.ts +6 -11
  5. package/src/components/atoms/calendar/calendar.component.d.ts +6 -11
  6. package/src/components/atoms/calendar-select/calendar-select.component.d.ts +5 -8
  7. package/src/components/atoms/cancel-link/cancel-link.component.d.ts +4 -4
  8. package/src/components/atoms/check-switch/check-switch.component.d.ts +3 -3
  9. package/src/components/atoms/checkbox/checkbox.component.d.ts +5 -9
  10. package/src/components/atoms/child-list-item/child-list-item.component.d.ts +5 -17
  11. package/src/components/atoms/contact-item/contact-item.component.d.ts +7 -13
  12. package/src/components/atoms/contact-role/contact-role.component.d.ts +3 -6
  13. package/src/components/atoms/date-input/date-input.component.d.ts +4 -7
  14. package/src/components/atoms/day-select/components/day/day.component.d.ts +6 -6
  15. package/src/components/atoms/day-select/day-select.component.d.ts +6 -10
  16. package/src/components/atoms/default-select/default-select.component.d.ts +3 -6
  17. package/src/components/atoms/department_logo/department-logo.component.d.ts +3 -5
  18. package/src/components/atoms/filter-range/filter-range.component.d.ts +7 -14
  19. package/src/components/atoms/filter-tab/filter-tab.component.d.ts +6 -9
  20. package/src/components/atoms/footer/footer.component.d.ts +3 -3
  21. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +6 -9
  22. package/src/components/atoms/increment-input/increment-input.component.d.ts +3 -6
  23. package/src/components/atoms/info/info.component.d.ts +4 -4
  24. package/src/components/atoms/logo/logo.component.d.ts +4 -4
  25. package/src/components/atoms/pill/pill.component.d.ts +5 -5
  26. package/src/components/atoms/popover/components/backdrop/backdrop.component.d.ts +3 -3
  27. package/src/components/atoms/popover/components/foreground/foreground.component.d.ts +4 -4
  28. package/src/components/atoms/popover/components/modal/close/close.component.d.ts +4 -4
  29. package/src/components/atoms/popover/components/modal/heading/heading.component.d.ts +4 -4
  30. package/src/components/atoms/popover/components/modal/modal.component.d.ts +8 -15
  31. package/src/components/atoms/popover/components/modal/scroll-content/scroll-content.component.d.ts +3 -5
  32. package/src/components/atoms/popover/popover.component.d.ts +7 -13
  33. package/src/components/atoms/pressable-icon/pressable-icon.component.d.ts +5 -10
  34. package/src/components/atoms/quick-filter/quick-filter.component.d.ts +8 -14
  35. package/src/components/atoms/search/search.component.d.ts +6 -10
  36. package/src/components/atoms/search/search.preview.d.ts +1 -1
  37. package/src/components/atoms/select-link/select-link.component.d.ts +4 -4
  38. package/src/components/atoms/select-list-item/select-list-item.component.d.ts +7 -13
  39. package/src/components/atoms/select-picker/select-picker.component.d.ts +8 -13
  40. package/src/components/atoms/snackbar/snackbar.component.d.ts +5 -5
  41. package/src/components/atoms/split-container/split-container.component.d.ts +4 -7
  42. package/src/components/atoms/swipe/Swipe.styles.d.ts +5 -5
  43. package/src/components/atoms/swipe/swipe.component.d.ts +4 -3
  44. package/src/components/atoms/swipe/swipe.component.tsx +1 -1
  45. package/src/components/atoms/tag/tag.component.d.ts +8 -13
  46. package/src/components/atoms/text-bubble/components/timestamp/timestamp.component.d.ts +3 -3
  47. package/src/components/atoms/text-bubble/text-bubble.component.d.ts +3 -3
  48. package/src/components/atoms/text-input/text-input.component.d.ts +6 -10
  49. package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
  50. package/src/components/atoms/time-tracker/time-tracker.component.d.ts +5 -8
  51. package/src/components/atoms/timeline/timeline.component.d.ts +3 -6
  52. package/src/components/atoms/wide-button/wide-button.component.d.ts +6 -11
  53. package/src/context/theme.context.d.ts +42 -42
  54. package/src/icons/outline/calendar/calendar.icon.d.ts +2 -2
  55. package/src/icons/outline/chat/chat.icon.d.ts +2 -2
  56. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -2
  57. package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -2
  58. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -2
  59. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -2
  60. package/src/icons/outline/clock/clock.icon.d.ts +2 -2
  61. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -2
  62. package/src/icons/outline/cross/cross.icon.d.ts +2 -2
  63. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -2
  64. package/src/icons/outline/document-text/document-text.icon.d.ts +2 -2
  65. package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -2
  66. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -2
  67. package/src/icons/outline/eye/eye.icon.d.ts +2 -2
  68. package/src/icons/outline/filter/filter.icon.d.ts +2 -2
  69. package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -2
  70. package/src/icons/outline/logout/logout.icon.d.ts +2 -2
  71. package/src/icons/outline/mail/mail.icon.d.ts +2 -2
  72. package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -2
  73. package/src/icons/outline/menu/menu.icon.d.ts +2 -2
  74. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -2
  75. package/src/icons/outline/office-building/office-building.icon.d.ts +2 -2
  76. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -2
  77. package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -2
  78. package/src/icons/outline/pencil/pencil.icon.d.ts +2 -2
  79. package/src/icons/outline/phone/phone.icon.d.ts +2 -2
  80. package/src/icons/outline/plus/plus.icon.d.ts +2 -2
  81. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -2
  82. package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -2
  83. package/src/icons/outline/refresh/refresh.icon.d.ts +2 -2
  84. package/src/icons/outline/search/search.icon.d.ts +2 -2
  85. package/src/icons/outline/selector/selector.icon.d.ts +2 -2
  86. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -2
  87. package/src/icons/outline/status-online/status-online.icon.d.ts +2 -2
  88. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -2
  89. package/src/icons/outline/trash/trash.icon.d.ts +2 -2
  90. package/src/icons/outline/user/user.icon.d.ts +2 -2
  91. package/src/icons/outline/user-group/user-group.icon.d.ts +2 -2
  92. package/src/icons/outline/users/users.icon.d.ts +2 -2
  93. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -2
  94. package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -2
  95. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -2
  96. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -2
  97. package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -2
  98. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -2
  99. package/src/icons/solid/solid.d.ts +8 -18
  100. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -2
  101. package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -2
  102. package/src/models/initials.model.d.ts +5 -5
  103. package/src/theme/font/font.d.ts +70 -70
  104. package/src/theme/font/index.d.ts +3 -3
  105. package/src/theme/provider/index.d.ts +3 -3
  106. package/src/theme/provider/parent.theme.d.ts +40 -40
  107. package/src/theme/provider/staff-member.theme.d.ts +40 -40
  108. package/src/theme/scale/index.d.ts +10 -10
  109. package/src/types/bubble-alignment.enum.d.ts +2 -2
  110. package/src/types/icontype.type.d.ts +1 -1
  111. package/src/types/keyboard-types.enum.d.ts +7 -7
  112. package/src/types/size.enum.d.ts +3 -3
  113. package/src/types/visual-state.enum.d.ts +4 -4
  114. package/src/util/date.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
- import {ImageSourcePropType} from 'react-native';
3
- import {Size} from '../../../types/size.enum';
4
- import {Initials} from '../../../models/initials.model';
2
+ import { ImageSourcePropType } from 'react-native';
3
+ import { Size } from '../../../types/size.enum';
4
+ import { Initials } from '../../../models/initials.model';
5
5
  declare type AvatarProps = {
6
- source: ImageSourcePropType | Initials;
7
- size: Size;
8
- isBlocked?: boolean;
6
+ source: ImageSourcePropType | Initials;
7
+ size: Size;
8
+ isBlocked?: boolean;
9
9
  };
10
10
  declare const Avatar: React.FC<AvatarProps>;
11
- export {Avatar as Avatar};
11
+ export { Avatar as Avatar };
@@ -1,7 +1,5 @@
1
1
  declare type BlockedMessageProps = {
2
- message: string;
2
+ message: string;
3
3
  };
4
- export declare const BlockedMessage: ({
5
- message,
6
- }: BlockedMessageProps) => JSX.Element;
4
+ export declare const BlockedMessage: ({ message }: BlockedMessageProps) => JSX.Element;
7
5
  export {};
@@ -1,13 +1,8 @@
1
1
  declare type ButtonProps = {
2
- label: string;
3
- icon?: any;
4
- disabled?: boolean;
5
- onPress?: () => void;
2
+ label: string;
3
+ icon?: any;
4
+ disabled?: boolean;
5
+ onPress?: () => void;
6
6
  };
7
- declare const Button: ({
8
- label,
9
- icon,
10
- disabled,
11
- onPress,
12
- }: ButtonProps) => JSX.Element;
13
- export {Button as Button};
7
+ declare const Button: ({ label, icon, disabled, onPress }: ButtonProps) => JSX.Element;
8
+ export { Button as Button };
@@ -1,14 +1,9 @@
1
- import {DateTime} from 'luxon';
1
+ import { DateTime } from 'luxon';
2
2
  declare type CalendarProps = {
3
- onDayPress: (day: DateTime) => void;
4
- selected: DateTime;
5
- minDate?: string;
6
- maxDate?: string;
3
+ onDayPress: (day: DateTime) => void;
4
+ selected: DateTime;
5
+ minDate?: string;
6
+ maxDate?: string;
7
7
  };
8
- export declare const Calendar: ({
9
- onDayPress,
10
- selected,
11
- minDate,
12
- maxDate,
13
- }: CalendarProps) => JSX.Element;
8
+ export declare const Calendar: ({ onDayPress, selected, minDate, maxDate, }: CalendarProps) => JSX.Element;
14
9
  export {};
@@ -1,10 +1,7 @@
1
- import {DateTime} from 'luxon';
1
+ import { DateTime } from 'luxon';
2
2
  declare type CalendarSelectProps = {
3
- onPressDate: (date: DateTime) => void;
4
- startDate: DateTime;
3
+ onPressDate: (date: DateTime) => void;
4
+ startDate: DateTime;
5
5
  };
6
- declare const CalendarSelect: ({
7
- onPressDate,
8
- startDate,
9
- }: CalendarSelectProps) => JSX.Element;
10
- export {CalendarSelect as CalendarSelect};
6
+ declare const CalendarSelect: ({ onPressDate, startDate }: CalendarSelectProps) => JSX.Element;
7
+ export { CalendarSelect as CalendarSelect };
@@ -1,6 +1,6 @@
1
1
  declare 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,6 +1,6 @@
1
1
  declare 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,11 +1,7 @@
1
1
  declare 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: ({
7
- value,
8
- onValueChange,
9
- label,
10
- }: CheckboxProps) => JSX.Element;
11
- export {Checkbox as Checkbox};
6
+ declare const Checkbox: ({ value, onValueChange, label }: CheckboxProps) => JSX.Element;
7
+ export { Checkbox as Checkbox };
@@ -1,6 +1,6 @@
1
- import {ImageSourcePropType} from 'react-native';
2
- import {Initials} from '../../../models/initials.model';
3
- import {VisualState} from '../../../types/visual-state.enum';
1
+ import { ImageSourcePropType } from 'react-native';
2
+ import { Initials } from '../../../models/initials.model';
3
+ import { VisualState } from '../../../types/visual-state.enum';
4
4
  declare type ChildListItemProps = {
5
5
  id: string;
6
6
  name: string;
@@ -14,17 +14,5 @@ declare type ChildListItemProps = {
14
14
  textTimeTracker: string;
15
15
  visualStateTimeTracker: VisualState;
16
16
  };
17
- declare const ChildListItem: ({
18
- id,
19
- name,
20
- label,
21
- selectable,
22
- isSelected,
23
- onPressArrow,
24
- onPressText,
25
- onSelect,
26
- sourceAvatar,
27
- textTimeTracker,
28
- visualStateTimeTracker,
29
- }: ChildListItemProps) => JSX.Element;
30
- export {ChildListItem as ChildListItem};
17
+ declare const ChildListItem: ({ id, name, label, selectable, isSelected, onPressArrow, onPressText, onSelect, sourceAvatar, textTimeTracker, visualStateTimeTracker, }: ChildListItemProps) => JSX.Element;
18
+ export { ChildListItem as ChildListItem };
@@ -1,15 +1,9 @@
1
1
  declare type ContactItemProps = {
2
- name: string;
3
- firstname: string;
4
- label: string;
5
- onPress?: () => void;
6
- isBlocked?: boolean;
2
+ name: string;
3
+ firstname: string;
4
+ label: string;
5
+ onPress?: () => void;
6
+ isBlocked?: boolean;
7
7
  };
8
- declare const ContactItem: ({
9
- name,
10
- firstname,
11
- label,
12
- onPress,
13
- isBlocked,
14
- }: ContactItemProps) => JSX.Element;
15
- export {ContactItem as ContactItem};
8
+ declare const ContactItem: ({ name, firstname, label, onPress, isBlocked, }: ContactItemProps) => JSX.Element;
9
+ export { ContactItem as ContactItem };
@@ -1,9 +1,6 @@
1
1
  declare type ContactRoleProps = {
2
- name: string;
3
- role?: string;
2
+ name: string;
3
+ role?: string;
4
4
  };
5
- export declare const ContactRole: ({
6
- name,
7
- role,
8
- }: ContactRoleProps) => JSX.Element;
5
+ export declare const ContactRole: ({ name, role }: ContactRoleProps) => JSX.Element;
9
6
  export {};
@@ -1,10 +1,7 @@
1
- import {DateTime} from 'luxon';
1
+ import { DateTime } from 'luxon';
2
2
  declare type DateInputProps = {
3
- onPress: () => void;
4
- value: DateTime;
3
+ onPress: () => void;
4
+ value: DateTime;
5
5
  };
6
- export declare const DateInput: ({
7
- onPress,
8
- value,
9
- }: DateInputProps) => JSX.Element;
6
+ export declare const DateInput: ({ onPress, value }: DateInputProps) => JSX.Element;
10
7
  export {};
@@ -1,8 +1,8 @@
1
- import {DateTime} from 'luxon';
1
+ import { DateTime } from 'luxon';
2
2
  declare type DayProps = {
3
- date: DateTime;
4
- onSelect: (date: DateTime) => void;
5
- isSelected?: boolean;
3
+ date: DateTime;
4
+ onSelect: (date: DateTime) => 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,12 +1,8 @@
1
- import {DateTime} from 'luxon';
1
+ import { DateTime } from 'luxon';
2
2
  declare type DaySelectProps = {
3
- onSelectDate: (date: DateTime) => void;
4
- startDate: DateTime;
5
- selectedDate: DateTime;
3
+ onSelectDate: (date: DateTime) => void;
4
+ startDate: DateTime;
5
+ selectedDate: DateTime;
6
6
  };
7
- declare const DaySelect: ({
8
- onSelectDate,
9
- selectedDate,
10
- startDate,
11
- }: DaySelectProps) => JSX.Element;
12
- export {DaySelect as DaySelect};
7
+ declare const DaySelect: ({ onSelectDate, selectedDate, startDate }: DaySelectProps) => JSX.Element;
8
+ export { DaySelect as DaySelect };
@@ -1,9 +1,6 @@
1
1
  declare type DefaultSelectProps = {
2
- label: string;
3
- onPress: () => void;
2
+ label: string;
3
+ onPress: () => void;
4
4
  };
5
- export declare const DefaultSelect: ({
6
- label,
7
- onPress,
8
- }: DefaultSelectProps) => JSX.Element;
5
+ export declare const DefaultSelect: ({ label, onPress }: DefaultSelectProps) => JSX.Element;
9
6
  export {};
@@ -1,7 +1,5 @@
1
1
  declare type DepartmentLogoProps = {
2
- department: string;
2
+ department: string;
3
3
  };
4
- declare const DepartmentLogo: ({
5
- department,
6
- }: DepartmentLogoProps) => JSX.Element;
7
- export {DepartmentLogo as DepartmentLogo};
4
+ declare const DepartmentLogo: ({ department }: DepartmentLogoProps) => JSX.Element;
5
+ export { DepartmentLogo as DepartmentLogo };
@@ -1,17 +1,10 @@
1
1
  declare 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: ({
10
- value,
11
- minValue,
12
- maxValue,
13
- onChange,
14
- prefix,
15
- suffix,
16
- }: FilterRangeProps) => JSX.Element;
9
+ export declare const FilterRange: ({ value, minValue, maxValue, onChange, prefix, suffix, }: FilterRangeProps) => JSX.Element;
17
10
  export {};
@@ -1,12 +1,9 @@
1
1
  declare type FilterTab = {
2
- tabItem: {
3
- value: string;
4
- label: string;
5
- }[];
6
- filterValue: (value: string) => void;
2
+ tabItem: {
3
+ value: string;
4
+ label: string;
5
+ }[];
6
+ filterValue: (value: string) => void;
7
7
  };
8
- export declare const FilterTab: ({
9
- tabItem,
10
- filterValue,
11
- }: FilterTab) => JSX.Element;
8
+ export declare const FilterTab: ({ tabItem, filterValue }: FilterTab) => JSX.Element;
12
9
  export {};
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  declare type FooterProps = {
3
- child: React.ReactNode;
3
+ child: React.ReactNode;
4
4
  };
5
- declare const Footer: ({child}: FooterProps) => JSX.Element;
6
- export {Footer as Footer};
5
+ declare const Footer: ({ child }: FooterProps) => JSX.Element;
6
+ export { Footer as Footer };
@@ -1,11 +1,8 @@
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
  declare type ImageBubbleProps = {
4
- source: ImageSourcePropType;
5
- bubbleAlignment: BubbleAlignment;
4
+ source: ImageSourcePropType;
5
+ bubbleAlignment: BubbleAlignment;
6
6
  };
7
- declare const ImageBubble: ({
8
- source,
9
- bubbleAlignment,
10
- }: ImageBubbleProps) => JSX.Element;
11
- export {ImageBubble as ImageBubble};
7
+ declare const ImageBubble: ({ source, bubbleAlignment }: ImageBubbleProps) => JSX.Element;
8
+ export { ImageBubble as ImageBubble };
@@ -1,9 +1,6 @@
1
1
  declare type IncrementInputProps = {
2
- value: number;
3
- onPress: (number: number) => void;
2
+ value: number;
3
+ onPress: (number: number) => void;
4
4
  };
5
- export declare const IncrementInput: ({
6
- value,
7
- onPress,
8
- }: IncrementInputProps) => JSX.Element;
5
+ export declare const IncrementInput: ({ value, onPress }: IncrementInputProps) => JSX.Element;
9
6
  export {};
@@ -1,6 +1,6 @@
1
1
  declare type InfoProps = {
2
- label: string;
3
- description: string;
2
+ label: string;
3
+ description: string;
4
4
  };
5
- declare const Info: ({label, description}: InfoProps) => JSX.Element;
6
- export {Info as Info};
5
+ declare const Info: ({ label, description }: InfoProps) => JSX.Element;
6
+ export { Info as Info };
@@ -1,6 +1,6 @@
1
1
  declare 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,7 +1,7 @@
1
- import {VisualState} from '../../../types/visual-state.enum';
1
+ import { VisualState } from '../../../types/visual-state.enum';
2
2
  declare type PillProps = {
3
- variant: VisualState;
4
- label: string;
3
+ variant: VisualState;
4
+ label: string;
5
5
  };
6
- declare const Pill: ({variant, label}: PillProps) => JSX.Element;
7
- export {Pill as Pill};
6
+ declare const Pill: ({ variant, label }: PillProps) => JSX.Element;
7
+ export { Pill as Pill };
@@ -1,5 +1,5 @@
1
1
  declare type PopoverBackdropProps = {
2
- isVisible: boolean;
2
+ isVisible: boolean;
3
3
  };
4
- declare const Backdrop: ({isVisible}: PopoverBackdropProps) => JSX.Element;
5
- export {Backdrop as Backdrop};
4
+ declare const Backdrop: ({ isVisible }: PopoverBackdropProps) => JSX.Element;
5
+ export { Backdrop as Backdrop };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import {Modal} from '../modal/modal.component';
2
+ import { Modal } from '../modal/modal.component';
3
3
  declare type PopoverForegroundProps = {
4
- children: React.ReactElement<typeof Modal>;
4
+ children: React.ReactElement<typeof Modal>;
5
5
  };
6
- declare const Foreground: ({children}: PopoverForegroundProps) => JSX.Element;
7
- export {Foreground as Foreground};
6
+ declare const Foreground: ({ children }: PopoverForegroundProps) => JSX.Element;
7
+ export { Foreground as Foreground };
@@ -1,6 +1,6 @@
1
- import {GestureResponderEvent} from 'react-native';
1
+ import { GestureResponderEvent } from 'react-native';
2
2
  declare type ModalCloseProps = {
3
- onPress: (event: GestureResponderEvent) => void;
3
+ onPress: (event: GestureResponderEvent) => void;
4
4
  };
5
- declare const Close: ({onPress}: ModalCloseProps) => JSX.Element;
6
- export {Close as Close};
5
+ declare const Close: ({ onPress }: ModalCloseProps) => JSX.Element;
6
+ export { Close as Close };
@@ -1,6 +1,6 @@
1
1
  declare type ModalHeadingProps = {
2
- title: string;
3
- subtitle?: string;
2
+ title: string;
3
+ subtitle?: string;
4
4
  };
5
- declare const Heading: ({title, subtitle}: ModalHeadingProps) => JSX.Element;
6
- export {Heading as Heading};
5
+ declare const Heading: ({ title, subtitle }: ModalHeadingProps) => JSX.Element;
6
+ export { Heading as Heading };
@@ -1,18 +1,11 @@
1
1
  import * as React from 'react';
2
2
  declare type PopoverModalProps = {
3
- onClose: () => void;
4
- title: string;
5
- subtitle?: string;
6
- isVisible: boolean;
7
- children: React.ReactNode;
8
- windowHeight: number;
3
+ onClose: () => void;
4
+ title: string;
5
+ subtitle?: string;
6
+ isVisible: boolean;
7
+ children: React.ReactNode;
8
+ windowHeight: number;
9
9
  };
10
- declare const Modal: ({
11
- isVisible,
12
- title,
13
- subtitle,
14
- onClose,
15
- children,
16
- windowHeight,
17
- }: PopoverModalProps) => JSX.Element;
18
- export {Modal as Modal};
10
+ declare const Modal: ({ isVisible, title, subtitle, onClose, children, windowHeight, }: PopoverModalProps) => JSX.Element;
11
+ export { Modal as Modal };
@@ -1,8 +1,6 @@
1
1
  import * as React from 'react';
2
2
  declare type ModalScrollContentProps = {
3
- children: React.ReactNode;
3
+ children: React.ReactNode;
4
4
  };
5
- declare const ScrollContent: ({
6
- children,
7
- }: ModalScrollContentProps) => JSX.Element;
8
- export {ScrollContent as ScrollContent};
5
+ declare const ScrollContent: ({ children }: ModalScrollContentProps) => JSX.Element;
6
+ export { ScrollContent as ScrollContent };
@@ -1,16 +1,10 @@
1
1
  import * as React from 'react';
2
2
  declare type PopoverProps = {
3
- onClose: () => void;
4
- title: string;
5
- subtitle?: string;
6
- isVisible: boolean;
7
- children?: React.ReactNode;
3
+ onClose: () => void;
4
+ title: string;
5
+ subtitle?: string;
6
+ isVisible: boolean;
7
+ children?: React.ReactNode;
8
8
  };
9
- declare const Popover: ({
10
- isVisible,
11
- title,
12
- subtitle,
13
- onClose,
14
- children,
15
- }: PopoverProps) => JSX.Element;
16
- export {Popover as Popover};
9
+ declare const Popover: ({ isVisible, title, subtitle, onClose, children, }: PopoverProps) => JSX.Element;
10
+ export { Popover as Popover };
@@ -1,14 +1,9 @@
1
1
  import * as React from 'react';
2
2
  declare type PressableIconProps = {
3
- icon: React.ReactElement;
4
- inverted?: boolean;
5
- disabled?: boolean;
6
- onPress?: () => void;
3
+ icon: React.ReactElement;
4
+ inverted?: boolean;
5
+ disabled?: boolean;
6
+ onPress?: () => void;
7
7
  };
8
- export declare const PressableIcon: ({
9
- icon,
10
- inverted,
11
- disabled,
12
- onPress,
13
- }: PressableIconProps) => JSX.Element;
8
+ export declare const PressableIcon: ({ icon, inverted, disabled, onPress, }: PressableIconProps) => JSX.Element;
14
9
  export {};
@@ -1,16 +1,10 @@
1
- import {VisualState} from '../../../types/visual-state.enum';
1
+ import { VisualState } from '../../../types/visual-state.enum';
2
2
  declare type QuickFilterProps = {
3
- id: string;
4
- amount: number;
5
- isSelected?: boolean;
6
- onSelect: (id: string) => void;
7
- visualState: VisualState;
3
+ id: string;
4
+ amount: number;
5
+ isSelected?: boolean;
6
+ onSelect: (id: string) => void;
7
+ visualState: VisualState;
8
8
  };
9
- declare const QuickFilter: ({
10
- id,
11
- amount,
12
- isSelected,
13
- onSelect,
14
- visualState,
15
- }: QuickFilterProps) => JSX.Element;
16
- export {QuickFilter as QuickFilter};
9
+ declare const QuickFilter: ({ id, amount, isSelected, onSelect, visualState, }: QuickFilterProps) => JSX.Element;
10
+ export { QuickFilter as QuickFilter };
@@ -1,12 +1,8 @@
1
- import {KeyBoardTypes} from '../../../types/keyboard-types.enum';
1
+ import { KeyBoardTypes } from '../../../types/keyboard-types.enum';
2
2
  declare type SearchProps = {
3
- placeholder?: string;
4
- onchangeText?: (text: string) => void;
5
- keyboardType: KeyBoardTypes;
3
+ placeholder?: string;
4
+ onchangeText?: (text: string) => void;
5
+ keyboardType: KeyBoardTypes;
6
6
  };
7
- declare const Search: ({
8
- placeholder,
9
- onchangeText,
10
- keyboardType,
11
- }: SearchProps) => JSX.Element;
12
- export {Search as Search};
7
+ declare const Search: ({ placeholder, onchangeText, keyboardType }: SearchProps) => JSX.Element;
8
+ export { Search as Search };
@@ -1 +1 @@
1
- export declare const SearchPreview: ({}: {}) => JSX.Element;
1
+ export declare const SearchPreview: ({}?: {}) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  declare type SelectLinkProps = {
2
- label: string;
3
- onPress: () => void;
2
+ label: string;
3
+ onPress: () => void;
4
4
  };
5
- declare const SelectLink: ({label, onPress}: SelectLinkProps) => JSX.Element;
6
- export {SelectLink as SelectLink};
5
+ declare const SelectLink: ({ label, onPress }: SelectLinkProps) => JSX.Element;
6
+ export { SelectLink as SelectLink };
@@ -1,16 +1,10 @@
1
1
  import * as React from 'react';
2
2
  declare type SelectListProps = {
3
- title: string;
4
- subtitle?: string;
5
- icon: React.ReactElement;
6
- onPress?: () => void;
7
- inverse?: boolean;
3
+ title: string;
4
+ subtitle?: string;
5
+ icon: React.ReactElement;
6
+ onPress?: () => void;
7
+ inverse?: boolean;
8
8
  };
9
- declare const SelectListItem: ({
10
- title,
11
- subtitle,
12
- icon,
13
- onPress,
14
- inverse,
15
- }: SelectListProps) => JSX.Element;
16
- export {SelectListItem as SelectListItem};
9
+ declare const SelectListItem: ({ title, subtitle, icon, onPress, inverse, }: SelectListProps) => JSX.Element;
10
+ export { SelectListItem as SelectListItem };