@7shifts/sous-chef 1.5.5 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/dist/forms/TextField/TextField.d.ts +14 -9
  3. package/dist/forms/hooks/useFieldControllers.d.ts +8 -4
  4. package/dist/icons/components/IconAnalytics.d.ts +11 -0
  5. package/dist/icons/components/IconArrowDown.d.ts +11 -0
  6. package/dist/icons/components/IconArrowLeft.d.ts +11 -0
  7. package/dist/icons/components/IconArrowRight.d.ts +11 -0
  8. package/dist/icons/components/IconArrowToTop.d.ts +11 -0
  9. package/dist/icons/components/IconArrowUp.d.ts +11 -0
  10. package/dist/icons/components/IconAward.d.ts +11 -0
  11. package/dist/icons/components/IconBalanceScale.d.ts +11 -0
  12. package/dist/icons/components/IconBalanceScaleLeft.d.ts +11 -0
  13. package/dist/icons/components/IconBan.d.ts +11 -0
  14. package/dist/icons/components/IconBarsH.d.ts +11 -0
  15. package/dist/icons/components/IconBarsV.d.ts +11 -0
  16. package/dist/icons/components/IconBell.d.ts +11 -0
  17. package/dist/icons/components/IconBold.d.ts +11 -0
  18. package/dist/icons/components/IconBolt.d.ts +11 -0
  19. package/dist/icons/components/IconBook.d.ts +11 -0
  20. package/dist/icons/components/IconBriefcase.d.ts +11 -0
  21. package/dist/icons/components/IconBullseyeArrow.d.ts +11 -0
  22. package/dist/icons/components/IconCalculator.d.ts +11 -0
  23. package/dist/icons/components/IconCalendar.d.ts +11 -0
  24. package/dist/icons/components/IconCalendarAlt.d.ts +11 -0
  25. package/dist/icons/components/IconCalendarCheck.d.ts +11 -0
  26. package/dist/icons/components/IconCalendarDay.d.ts +11 -0
  27. package/dist/icons/components/IconCalendarExclamation.d.ts +11 -0
  28. package/dist/icons/components/IconCalendarTomorrow.d.ts +11 -0
  29. package/dist/icons/components/IconCamera.d.ts +11 -0
  30. package/dist/icons/components/IconCameraSlash.d.ts +11 -0
  31. package/dist/icons/components/IconCashRegister.d.ts +11 -0
  32. package/dist/icons/components/IconChartBar.d.ts +11 -0
  33. package/dist/icons/components/IconCheck.d.ts +11 -0
  34. package/dist/icons/components/IconChevronDown.d.ts +11 -0
  35. package/dist/icons/components/IconChevronLeft.d.ts +11 -0
  36. package/dist/icons/components/IconChevronRight.d.ts +11 -0
  37. package/dist/icons/components/IconChevronUp.d.ts +11 -0
  38. package/dist/icons/components/IconClipboardList.d.ts +11 -0
  39. package/dist/icons/components/IconClock.d.ts +11 -0
  40. package/dist/icons/components/IconCog.d.ts +11 -0
  41. package/dist/icons/components/IconComment.d.ts +11 -0
  42. package/dist/icons/components/IconCommentLines.d.ts +11 -0
  43. package/dist/icons/components/IconCopy.d.ts +11 -0
  44. package/dist/icons/components/IconCreditCard.d.ts +11 -0
  45. package/dist/icons/components/IconCreditCardPlus.d.ts +11 -0
  46. package/dist/icons/components/IconDownload.d.ts +11 -0
  47. package/dist/icons/components/IconEdit.d.ts +11 -0
  48. package/dist/icons/components/IconEllipsisV.d.ts +11 -0
  49. package/dist/icons/components/IconEnvelope.d.ts +11 -0
  50. package/dist/icons/components/IconExclaimation.d.ts +11 -0
  51. package/dist/icons/components/IconExclaimationTriangle.d.ts +11 -0
  52. package/dist/icons/components/IconExpand.d.ts +11 -0
  53. package/dist/icons/components/IconExternalLink.d.ts +11 -0
  54. package/dist/icons/components/IconEye.d.ts +11 -0
  55. package/dist/icons/components/IconEyeSlash.d.ts +11 -0
  56. package/dist/icons/components/IconFile.d.ts +11 -0
  57. package/dist/icons/components/IconFilePdf.d.ts +11 -0
  58. package/dist/icons/components/IconFlag.d.ts +11 -0
  59. package/dist/icons/components/IconFourDotsCircle.d.ts +11 -0
  60. package/dist/icons/components/IconFourSquares.d.ts +11 -0
  61. package/dist/icons/components/IconGift.d.ts +11 -0
  62. package/dist/icons/components/IconGrinBeam.d.ts +11 -0
  63. package/dist/icons/components/IconGripVertical.d.ts +11 -0
  64. package/dist/icons/components/IconHandshake.d.ts +11 -0
  65. package/dist/icons/components/IconImage.d.ts +11 -0
  66. package/dist/icons/components/IconInfoCircle.d.ts +11 -0
  67. package/dist/icons/components/IconIslandTropical.d.ts +11 -0
  68. package/dist/icons/components/IconItalic.d.ts +11 -0
  69. package/dist/icons/components/IconLaptopSearch.d.ts +11 -0
  70. package/dist/icons/components/IconLink.d.ts +11 -0
  71. package/dist/icons/components/IconList.d.ts +11 -0
  72. package/dist/icons/components/IconListOI.d.ts +11 -0
  73. package/dist/icons/components/IconLock.d.ts +11 -0
  74. package/dist/icons/components/IconMagicSolid.d.ts +11 -0
  75. package/dist/icons/components/IconMapMarker.d.ts +11 -0
  76. package/dist/icons/components/IconMegaphone.d.ts +11 -0
  77. package/dist/icons/components/IconMinus.d.ts +11 -0
  78. package/dist/icons/components/IconMinusCircle.d.ts +11 -0
  79. package/dist/icons/components/IconMoneyBill.d.ts +11 -0
  80. package/dist/icons/components/IconNotesMedical.d.ts +11 -0
  81. package/dist/icons/components/IconOvertime.d.ts +11 -0
  82. package/dist/icons/components/IconPaperPlane.d.ts +11 -0
  83. package/dist/icons/components/IconPaperPlaneClock.d.ts +11 -0
  84. package/dist/icons/components/IconPaperclip.d.ts +11 -0
  85. package/dist/icons/components/IconPencil.d.ts +11 -0
  86. package/dist/icons/components/IconPercentage.d.ts +11 -0
  87. package/dist/icons/components/IconPhone.d.ts +11 -0
  88. package/dist/icons/components/IconPlug.d.ts +11 -0
  89. package/dist/icons/components/IconPlus.d.ts +11 -0
  90. package/dist/icons/components/IconPrint.d.ts +11 -0
  91. package/dist/icons/components/IconQuestionCircle.d.ts +11 -0
  92. package/dist/icons/components/IconRepeat.d.ts +11 -0
  93. package/dist/icons/components/IconSearch.d.ts +11 -0
  94. package/dist/icons/components/IconSignOut.d.ts +11 -0
  95. package/dist/icons/components/IconSitemap.d.ts +11 -0
  96. package/dist/icons/components/IconSlidersH.d.ts +11 -0
  97. package/dist/icons/components/IconSort.d.ts +11 -0
  98. package/dist/icons/components/IconStar.d.ts +11 -0
  99. package/dist/icons/components/IconStickyNoteLines.d.ts +11 -0
  100. package/dist/icons/components/IconStopwatch.d.ts +11 -0
  101. package/dist/icons/components/IconStrikethrough.d.ts +11 -0
  102. package/dist/icons/components/IconSync.d.ts +11 -0
  103. package/dist/icons/components/IconSyncExclaimation.d.ts +11 -0
  104. package/dist/icons/components/IconTachometer.d.ts +11 -0
  105. package/dist/icons/components/IconTimes.d.ts +11 -0
  106. package/dist/icons/components/IconTimesOctagon.d.ts +11 -0
  107. package/dist/icons/components/IconTrash.d.ts +11 -0
  108. package/dist/icons/components/IconUnderline.d.ts +11 -0
  109. package/dist/icons/components/IconUndo.d.ts +11 -0
  110. package/dist/icons/components/IconUserComputer.d.ts +11 -0
  111. package/dist/icons/components/IconUserLight.d.ts +11 -0
  112. package/dist/icons/components/IconUserPlus.d.ts +11 -0
  113. package/dist/icons/components/IconUserSlash.d.ts +11 -0
  114. package/dist/icons/components/IconUserSolid.d.ts +11 -0
  115. package/dist/icons/components/IconUserTag.d.ts +11 -0
  116. package/dist/icons/components/IconUserTie.d.ts +11 -0
  117. package/dist/icons/components/IconUsers.d.ts +11 -0
  118. package/dist/icons/components/IconVideo.d.ts +11 -0
  119. package/dist/icons/components/IconVolume.d.ts +11 -0
  120. package/dist/icons/components/IconVolumeMute.d.ts +11 -0
  121. package/dist/icons/components/IconWrench.d.ts +11 -0
  122. package/dist/icons/components/index.d.ts +118 -0
  123. package/dist/icons/icon-typescript-template.d.ts +9 -0
  124. package/dist/icons/iconUtils.d.ts +7 -1
  125. package/dist/icons/index.d.ts +1 -22
  126. package/dist/index.css +9 -14
  127. package/dist/index.d.ts +1 -1
  128. package/dist/index.js +2562 -616
  129. package/dist/index.js.map +1 -1
  130. package/dist/index.modern.js +2459 -610
  131. package/dist/index.modern.js.map +1 -1
  132. package/package.json +10 -6
  133. package/dist/actions/Button/Button.js.flow +0 -44
  134. package/dist/actions/Button/index.js.flow +0 -8
  135. package/dist/actions/PaginationControls/PaginationControls.js.flow +0 -16
  136. package/dist/actions/PaginationControls/index.js.flow +0 -8
  137. package/dist/actions/Toggle/Toggle.js.flow +0 -21
  138. package/dist/actions/Toggle/index.js.flow +0 -8
  139. package/dist/actions/index.js.flow +0 -11
  140. package/dist/core/DataTable/DataTable.js.flow +0 -59
  141. package/dist/core/DataTable/DataTableContext.js.flow +0 -15
  142. package/dist/core/DataTable/index.js.flow +0 -8
  143. package/dist/core/DataTable/types.js.flow +0 -32
  144. package/dist/core/DataTableCell/DataTableCell.js.flow +0 -16
  145. package/dist/core/DataTableCell/index.js.flow +0 -8
  146. package/dist/core/DataTableEditableCell/DataTableEditableCell.js.flow +0 -26
  147. package/dist/core/DataTableEditableCell/index.js.flow +0 -8
  148. package/dist/core/DataTableRow/DataTableRow.js.flow +0 -17
  149. package/dist/core/DataTableRow/index.js.flow +0 -8
  150. package/dist/core/Flex/Flex.js.flow +0 -29
  151. package/dist/core/Flex/index.js.flow +0 -8
  152. package/dist/core/Flex/types.js.flow +0 -27
  153. package/dist/core/Inline/Inline.js.flow +0 -41
  154. package/dist/core/Inline/index.js.flow +0 -8
  155. package/dist/core/ResourceTable/ResourceTable.js.flow +0 -55
  156. package/dist/core/ResourceTable/ResourceTableContext.js.flow +0 -15
  157. package/dist/core/ResourceTable/index.js.flow +0 -8
  158. package/dist/core/ResourceTable/types.js.flow +0 -32
  159. package/dist/core/ResourceTableRow/ResourceTableRow.js.flow +0 -17
  160. package/dist/core/ResourceTableRow/index.js.flow +0 -8
  161. package/dist/core/Stack/Stack.js.flow +0 -35
  162. package/dist/core/Stack/index.js.flow +0 -8
  163. package/dist/core/index.js.flow +0 -39
  164. package/dist/feedback/Spinner/Spinner.js.flow +0 -15
  165. package/dist/feedback/Spinner/index.js.flow +0 -8
  166. package/dist/feedback/index.js.flow +0 -9
  167. package/dist/forms/AffixContainer/AffixContainer.js.flow +0 -15
  168. package/dist/forms/AffixContainer/index.js.flow +0 -8
  169. package/dist/forms/Caption/Caption.js.flow +0 -14
  170. package/dist/forms/Caption/index.js.flow +0 -8
  171. package/dist/forms/CheckboxField/CheckboxField.js.flow +0 -25
  172. package/dist/forms/CheckboxField/index.js.flow +0 -8
  173. package/dist/forms/DateField/DateField.js.flow +0 -35
  174. package/dist/forms/DateField/index.js.flow +0 -8
  175. package/dist/forms/DatePickerCalendar/DatePickerCalendar.js.flow +0 -18
  176. package/dist/forms/DatePickerCalendar/index.js.flow +0 -8
  177. package/dist/forms/DatePickerField/DatePickerField.d.ts +0 -23
  178. package/dist/forms/DatePickerField/DatePickerField.js.flow +0 -35
  179. package/dist/forms/DatePickerField/index.d.ts +0 -1
  180. package/dist/forms/DatePickerField/index.js.flow +0 -8
  181. package/dist/forms/DateRangeField/DateRangeField.js.flow +0 -37
  182. package/dist/forms/DateRangeField/index.js.flow +0 -8
  183. package/dist/forms/ErrorMessage/ErrorMessage.js.flow +0 -14
  184. package/dist/forms/ErrorMessage/index.js.flow +0 -8
  185. package/dist/forms/Field/Field.js.flow +0 -17
  186. package/dist/forms/Field/index.js.flow +0 -8
  187. package/dist/forms/Form/Form.js.flow +0 -18
  188. package/dist/forms/Form/FormContext.js.flow +0 -17
  189. package/dist/forms/Form/index.js.flow +0 -8
  190. package/dist/forms/Form/types.js.flow +0 -21
  191. package/dist/forms/FormRow/FormRow.js.flow +0 -31
  192. package/dist/forms/FormRow/index.js.flow +0 -15
  193. package/dist/forms/Label/Label.js.flow +0 -14
  194. package/dist/forms/Label/index.js.flow +0 -8
  195. package/dist/forms/MultiSelectField/MultiSelectField.js.flow +0 -33
  196. package/dist/forms/MultiSelectField/index.js.flow +0 -8
  197. package/dist/forms/PasswordCriteria/PasswordCriteria.js.flow +0 -14
  198. package/dist/forms/PasswordCriteria/index.js.flow +0 -8
  199. package/dist/forms/PasswordField/PasswordField.js.flow +0 -28
  200. package/dist/forms/PasswordField/index.js.flow +0 -8
  201. package/dist/forms/PasswordField/types.js.flow +0 -12
  202. package/dist/forms/PillSelectField/PillSelectField.js.flow +0 -26
  203. package/dist/forms/PillSelectField/index.js.flow +0 -8
  204. package/dist/forms/RadioGroupField/RadioGroupField.js.flow +0 -20
  205. package/dist/forms/RadioGroupField/index.js.flow +0 -8
  206. package/dist/forms/RadioGroupOption/RadioGroupOption.js.flow +0 -16
  207. package/dist/forms/RadioGroupOption/index.js.flow +0 -8
  208. package/dist/forms/SelectField/SelectField.js.flow +0 -40
  209. package/dist/forms/SelectField/index.js.flow +0 -8
  210. package/dist/forms/SelectField/types.js.flow +0 -26
  211. package/dist/forms/TextAreaField/TextAreaField.js.flow +0 -35
  212. package/dist/forms/TextAreaField/index.js.flow +0 -8
  213. package/dist/forms/TextField/TextField.js.flow +0 -38
  214. package/dist/forms/TextField/index.js.flow +0 -8
  215. package/dist/forms/WeekField/WeekField.js.flow +0 -35
  216. package/dist/forms/WeekField/index.js.flow +0 -8
  217. package/dist/forms/WeekPickerField/WeekPickerField.d.ts +0 -25
  218. package/dist/forms/WeekPickerField/WeekPickerField.js.flow +0 -35
  219. package/dist/forms/WeekPickerField/index.d.ts +0 -1
  220. package/dist/forms/WeekPickerField/index.js.flow +0 -8
  221. package/dist/forms/index.js.flow +0 -56
  222. package/dist/foundation/colors.js.flow +0 -116
  223. package/dist/icons/IconArrowDown.d.ts +0 -11
  224. package/dist/icons/IconArrowDown.js.flow +0 -19
  225. package/dist/icons/IconArrowLeft.d.ts +0 -9
  226. package/dist/icons/IconArrowLeft.js.flow +0 -17
  227. package/dist/icons/IconArrowRight.d.ts +0 -9
  228. package/dist/icons/IconArrowRight.js.flow +0 -17
  229. package/dist/icons/IconArrowUp.d.ts +0 -9
  230. package/dist/icons/IconArrowUp.js.flow +0 -17
  231. package/dist/icons/IconCalendar.d.ts +0 -9
  232. package/dist/icons/IconCalendar.js.flow +0 -17
  233. package/dist/icons/IconCheck.d.ts +0 -9
  234. package/dist/icons/IconCheck.js.flow +0 -17
  235. package/dist/icons/IconChevronDown.d.ts +0 -9
  236. package/dist/icons/IconChevronDown.js.flow +0 -18
  237. package/dist/icons/IconChevronUp.d.ts +0 -8
  238. package/dist/icons/IconChevronUp.js.flow +0 -16
  239. package/dist/icons/IconClose.d.ts +0 -9
  240. package/dist/icons/IconComment.d.ts +0 -9
  241. package/dist/icons/IconComment.js.flow +0 -16
  242. package/dist/icons/IconDelete.d.ts +0 -9
  243. package/dist/icons/IconDelete.js.flow +0 -17
  244. package/dist/icons/IconEdit.d.ts +0 -9
  245. package/dist/icons/IconEdit.js.flow +0 -17
  246. package/dist/icons/IconExclaim.d.ts +0 -9
  247. package/dist/icons/IconExclaim.flow +0 -17
  248. package/dist/icons/IconEye.d.ts +0 -9
  249. package/dist/icons/IconEye.js.flow +0 -17
  250. package/dist/icons/IconEyeSlash.d.ts +0 -9
  251. package/dist/icons/IconEyeSlash.js.flow +0 -17
  252. package/dist/icons/IconLocation.d.ts +0 -9
  253. package/dist/icons/IconLocation.js.flow +0 -16
  254. package/dist/icons/IconMinusCircle.d.ts +0 -9
  255. package/dist/icons/IconMinusCircle.js.flow +0 -16
  256. package/dist/icons/IconMore.d.ts +0 -9
  257. package/dist/icons/IconMore.js.flow +0 -17
  258. package/dist/icons/IconRemove.d.ts +0 -8
  259. package/dist/icons/IconRemove.js.flow +0 -17
  260. package/dist/icons/IconUser.d.ts +0 -8
  261. package/dist/icons/IconUser.flow +0 -17
  262. package/dist/icons/IconUser.js.flow +0 -17
  263. package/dist/icons/IconUserPlus.d.ts +0 -9
  264. package/dist/icons/IconUserPlus.js.flow +0 -17
  265. package/dist/icons/index.js.flow +0 -50
  266. package/dist/icons/types.js.flow +0 -8
  267. package/dist/index.js.flow +0 -14
  268. package/dist/media/Avatar/Avatar.js.flow +0 -18
  269. package/dist/media/Avatar/index.js.flow +0 -8
  270. package/dist/media/Badge/Badge.js.flow +0 -18
  271. package/dist/media/Badge/index.js.flow +0 -8
  272. package/dist/media/index.js.flow +0 -10
  273. package/dist/nophoto~DrLDqLZE.png +0 -0
  274. package/dist/overlay/Modal/Modal.js.flow +0 -23
  275. package/dist/overlay/Modal/ModalBody/ModalBody.js.flow +0 -13
  276. package/dist/overlay/Modal/ModalBody/index.js.flow +0 -8
  277. package/dist/overlay/Modal/ModalFooter/ModalFooter.js.flow +0 -18
  278. package/dist/overlay/Modal/ModalFooter/index.js.flow +0 -8
  279. package/dist/overlay/Modal/index.js.flow +0 -8
  280. package/dist/overlay/Tooltip/Tooltip.js.flow +0 -21
  281. package/dist/overlay/Tooltip/index.js.flow +0 -8
  282. package/dist/overlay/index.js.flow +0 -12
  283. package/dist/profile/LetterProfile/LetterProfile.d.ts +0 -9
  284. package/dist/profile/LetterProfile/index.d.ts +0 -1
  285. package/dist/profile/index.d.ts +0 -2
@@ -1,28 +0,0 @@
1
- /**
2
- * Flowtype definitions for PasswordField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- import type { PasswordCriteria } from './types';
10
- declare type Props = {
11
- name: string,
12
-
13
- /**
14
- * If not provided it will generate a random id so the label links properly with the text input
15
- */
16
- id?: string,
17
- value?: string,
18
- onChange?: (e: string) => void,
19
- onBlur?: (e: string) => void,
20
- label?: React$Node,
21
- error?: string,
22
- placeholder?: string,
23
- disabled?: boolean,
24
- defaultValue?: string,
25
- criterias?: PasswordCriteria[],
26
- };
27
- declare var PasswordField: (props: Props) => React$Node;
28
- declare export default typeof PasswordField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from "./PasswordField";
@@ -1,12 +0,0 @@
1
- /**
2
- * Flowtype definitions for types
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- export type PasswordCriteria = {
9
- key?: string,
10
- label: string,
11
- met: boolean,
12
- };
@@ -1,26 +0,0 @@
1
- /**
2
- * Flowtype definitions for PillSelectField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- import type { SelectOption } from '../SelectField/types';
10
- declare type Props<T> = {
11
- name: string,
12
-
13
- /**
14
- * If not provided it will generate a random id so the label links properly with the text input
15
- */
16
- id?: string,
17
- value?: SelectOption<T>[],
18
- options: SelectOption<T>[],
19
- onChange?: (e: SelectOption<T>[]) => void,
20
- label?: React$Node,
21
- caption?: React$Node,
22
- error?: string,
23
- disabled?: boolean
24
- };
25
- declare var PillSelectField: <T>(props: Props<T>) => React$Node;
26
- declare export default typeof PillSelectField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from './PillSelectField';
@@ -1,20 +0,0 @@
1
- /**
2
- * Flowtype definitions for CheckboxField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- declare type Props = {
10
- name: string,
11
- value?: string | number,
12
- onChange?: (e: string | number) => void,
13
- label?: React$Node,
14
- error?: string,
15
- inline?: boolean,
16
- disabled?: boolean,
17
- children: React$Node,
18
- };
19
- declare var RadioGroupField: (props: Props) => React$Node;
20
- declare export default typeof RadioGroupField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from './RadioGroupField';
@@ -1,16 +0,0 @@
1
- /**
2
- * Flowtype definitions for CheckboxField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- declare type Props = {
10
- value: string | number,
11
- id?: string,
12
- label?: React$Node,
13
- caption?: React$Node,
14
- };
15
- declare var RadioGroupOption: (props: Props) => React$Node;
16
- declare export default typeof RadioGroupOption;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from './RadioGroupOption';
@@ -1,40 +0,0 @@
1
- /**
2
- * Flowtype definitions for SelectField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- import type {
10
- SelectOption,
11
- SelectOptions,
12
- CustomOptionProps,
13
- SelectedOptionPrefixProps
14
- } from './types';
15
- declare type Props<T> = {
16
- name: string,
17
-
18
- /**
19
- * If not provided it will generate a random id so the label links properly with the text input
20
- */
21
- id?: string,
22
- value?: SelectOption<T>,
23
- options: SelectOptions<T>,
24
- onChange?: (e: SelectOption<T>) => void,
25
- onBlur?: (e: SelectOption<T>) => void,
26
- CustomOption?: React$ComponentType<CustomOptionProps<T>>,
27
- SelectedOptionPrefix?: React$ComponentType<SelectedOptionPrefixProps<T>>,
28
- label?: React$Node,
29
- caption?: React$Node,
30
- error?: string,
31
- placeholder?: string,
32
- disabled?: boolean,
33
- /**
34
- * Use a prefix for things like currency symbols (“$”, “¥”, “£”) or icons.
35
- */
36
- prefix?: React$Node,
37
- asToolbarFilter?: boolean
38
- };
39
- declare var SelectField: <T>(props: Props<T>) => React$Node;
40
- declare export default typeof SelectField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from "./SelectField";
@@ -1,26 +0,0 @@
1
- /**
2
- * Flowtype definitions for types
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare type GroupOption<T> = {|
9
- label: string,
10
- options: SelectOption<T>[],
11
- |};
12
- export type SelectOption<T> = {|
13
- value: T,
14
- label: string,
15
- isDisabled?: boolean
16
- |};
17
- export type SelectOptions<T> = Array<SelectOption<T> | GroupOption<T>>;
18
- export type CustomOptionProps<T> = {
19
- value: T,
20
- label: string,
21
- isSelected: boolean,
22
- isDisabled: boolean,
23
- };
24
- export type SelectedOptionPrefixProps<T> = {
25
- selectedOption: SelectOption<T>,
26
- };
@@ -1,35 +0,0 @@
1
- /**
2
- * Flowtype definitions for TextField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- declare type Props = {
10
- name: string,
11
-
12
- /**
13
- * If not provided it will generate a random id so the label links properly with the text input
14
- */
15
- id?: string,
16
- value?: string,
17
- onChange?: (e: string) => void,
18
- onBlur?: (e: string) => void,
19
- label?: React$Node,
20
- caption?: React$Node,
21
- error?: string,
22
- placeholder?: string,
23
- disabled?: boolean,
24
- defaultValue?: string,
25
- /** When `true` the field will grow as more lines is added until it hits the `maxHeight` defined. */
26
- autoGrow?: boolean,
27
- /** It defines the minimum size the input can grow. */
28
- minHeight?: number,
29
- /** It defines the maximum size the input can grow. */
30
- maxHeight?: number,
31
- /** A JSX containing the toolbar elements. You can use `Inline` to place the buttons properly on the toolbar space. */
32
- toolbar?: React$Node,
33
- };
34
- declare var TextAreaField: (props: Props) => React$Node;
35
- declare export default typeof TextAreaField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from './TextAreaField';
@@ -1,38 +0,0 @@
1
- /**
2
- * Flowtype definitions for TextField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- declare type Props = {
10
- name: string,
11
-
12
- /**
13
- * If not provided it will generate a random id so the label links properly with the text input
14
- */
15
- id?: string,
16
- value?: string,
17
- onChange?: (e: string) => void,
18
- onBlur?: (e: string) => void,
19
- label?: React$Node,
20
- caption?: React$Node,
21
- error?: string,
22
- placeholder?: string,
23
- disabled?: boolean,
24
-
25
- /**
26
- * Use a prefix for things like currency symbols (“$”, “¥”, “£”).
27
- */
28
- prefix?: React$Node,
29
-
30
- /**
31
- * Use suffix for things like units of measure (“in”, “cm”, ”hours”).
32
- */
33
- suffix?: React$Node,
34
- defaultValue?: string,
35
- autoFocus?: boolean
36
- };
37
- declare var TextField: (props: Props) => React$Node;
38
- declare export default typeof TextField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from "./TextField";
@@ -1,35 +0,0 @@
1
- /**
2
- * Flowtype definitions for DatePickerField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- declare type Props = {
10
- name: string,
11
-
12
- /**
13
- * If not provided it will generate a random id so the label links properly with the text input
14
- */
15
- id?: string,
16
- value?: Date,
17
- disabledDays?: (day: Date) => boolean,
18
-
19
- /**
20
- * Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format
21
- */
22
- format?: string,
23
- initialMonth?: Date,
24
- onChange?: (e: Date) => void,
25
- onBlur?: () => void,
26
- label?: React$Node,
27
- caption?: React$Node,
28
- error?: string,
29
- placeholder?: string,
30
- disabled?: boolean,
31
- defaultValue?: Date,
32
- readOnly?: boolean,
33
- };
34
- declare var WeekField: (props: Props) => React$Node;
35
- declare export default typeof WeekField;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from './WeekField';
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { WeekStart } from '../../utils/date';
3
- declare type Props = {
4
- name: string;
5
- /** If not provided it will generate a random id so the label links properly with the text input */
6
- id?: string;
7
- value?: Date;
8
- disabledDays?: (day: Date) => boolean;
9
- /** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
10
- format?: string;
11
- initialMonth?: Date;
12
- onChange?: (e: Date) => void;
13
- onBlur?: () => void;
14
- label?: React.ReactNode;
15
- caption?: React.ReactNode;
16
- error?: string;
17
- placeholder?: string;
18
- disabled?: boolean;
19
- defaultValue?: Date;
20
- readOnly?: boolean;
21
- weekStart?: WeekStart;
22
- };
23
- /** WeekPickerField form element. */
24
- declare const WeekPickerField: React.FC<Props>;
25
- export default WeekPickerField;
@@ -1,35 +0,0 @@
1
- /**
2
- * Flowtype definitions for DatePickerField
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- declare type Props = {
10
- name: string,
11
-
12
- /**
13
- * If not provided it will generate a random id so the label links properly with the text input
14
- */
15
- id?: string,
16
- value?: Date,
17
- disabledDays?: (day: Date) => boolean,
18
-
19
- /**
20
- * Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format
21
- */
22
- format?: string,
23
- initialMonth?: Date,
24
- onChange?: (e: Date) => void,
25
- onBlur?: () => void,
26
- label?: React$Node,
27
- caption?: React$Node,
28
- error?: string,
29
- placeholder?: string,
30
- disabled?: boolean,
31
- defaultValue?: Date,
32
- readOnly?: boolean,
33
- };
34
- declare var WeekPickerField: (props: Props) => React$Node;
35
- declare export default typeof WeekPickerField;
@@ -1 +0,0 @@
1
- export { default } from './WeekPickerField';
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export { default } from './WeekPickerField';
@@ -1,56 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import Form from './Form';
9
- import FormRow, {
10
- SIZE_25_PERCENT,
11
- SIZE_33_PERCENT,
12
- SIZE_50_PERCENT,
13
- SIZE_66_PERCENT,
14
- SIZE_75_PERCENT
15
- } from './FormRow';
16
- import TextAreaField from './TextAreaField';
17
- import TextField from './TextField';
18
- import CheckboxField from './CheckboxField';
19
- import PillSelectField from './PillSelectField';
20
- import RadioGroupField from './RadioGroupField';
21
- import RadioGroupOption from './RadioGroupOption';
22
- import PasswordField from './PasswordField';
23
- import SelectField from './SelectField';
24
- import MultiSelectField from './MultiSelectField';
25
- import DateField from './DateField';
26
- import DateRangeField from './DateRangeField';
27
- import WeekField from './WeekField';
28
- declare export {
29
- Form,
30
- FormRow,
31
- TextAreaField,
32
- TextField,
33
- CheckboxField,
34
- PillSelectField,
35
- RadioGroupField,
36
- RadioGroupOption,
37
- PasswordField,
38
- SelectField,
39
- MultiSelectField,
40
- DateField,
41
- DateRangeField,
42
- WeekField,
43
- SIZE_25_PERCENT,
44
- SIZE_33_PERCENT,
45
- SIZE_50_PERCENT,
46
- SIZE_66_PERCENT,
47
- SIZE_75_PERCENT
48
- };
49
- export type { PasswordCriteria } from './PasswordField/types';
50
- export type {
51
- SelectOption,
52
- SelectOptions,
53
- CustomOptionProps,
54
- SelectedOptionPrefixProps
55
- } from './SelectField/types';
56
- export type { FormikType } from './Form/types';
@@ -1,116 +0,0 @@
1
- /**
2
- * Flowtype definitions for colors
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- declare export var WHITE: '#ffffff';
9
- declare export var BLACK: '#000000';
10
- declare export var TANGERINE100: '#fef1ed';
11
- declare export var TANGERINE200: '#fdd5c8';
12
- declare export var TANGERINE300: '#fcab91';
13
- declare export var TANGERINE400: '#fb7448';
14
- declare export var TANGERINE500: '#e16840';
15
- declare export var TANGERINE600: '#96452b';
16
- declare export var TANGERINE700: '#4a2215';
17
- declare export var EGGPLANT100: '#f0f3fb';
18
- declare export var EGGPLANT200: '#d3dbf4';
19
- declare export var EGGPLANT300: '#a7b7ea';
20
- declare export var EGGPLANT400: '#6d87dd';
21
- declare export var EGGPLANT500: '#6179c6';
22
- declare export var EGGPLANT600: '#415184';
23
- declare export var EGGPLANT700: '#32295c';
24
- declare export var MINT100: '#ecfaf8';
25
- declare export var MINT200: '#c6f1eb';
26
- declare export var MINT300: '#8de4d7';
27
- declare export var MINT400: '#3abda9';
28
- declare export var MINT500: '#35ac9a';
29
- declare export var MINT600: '#277e71';
30
- declare export var MINT700: '#133e38';
31
- declare export var RADISH100: '#fcf0f0';
32
- declare export var RADISH200: '#f7d1d1';
33
- declare export var RADISH300: '#f0a3a3';
34
- declare export var RADISH400: '#e76767';
35
- declare export var RADISH500: '#cf5c5c';
36
- declare export var RADISH600: '#8a3d3d';
37
- declare export var RADISH700: '#441e1e';
38
- declare export var BLUEBERRY100: '#f6fdff';
39
- declare export var BLUEBERRY200: '#ceecf5';
40
- declare export var BLUEBERRY300: '#9cd9eb';
41
- declare export var BLUEBERRY400: '#5bc0de';
42
- declare export var BLUEBERRY500: '#51acc7';
43
- declare export var BLUEBERRY600: '#367385';
44
- declare export var BLUEBERRY700: '#1b3942';
45
- declare export var BANANA100: '#fff9ed';
46
- declare export var BANANA200: '#ffeec9';
47
- declare export var BANANA300: '#ffdd92';
48
- declare export var BANANA400: '#ffc74a';
49
- declare export var BANANA500: '#e5b242';
50
- declare export var BANANA600: '#99772c';
51
- declare export var BANANA700: '#4c3b16';
52
- declare export var GREY100: '#f8f8f8';
53
- declare export var GREY200: '#e0e0e0';
54
- declare export var GREY300: '#c1c1c1';
55
- declare export var GREY400: '#929292';
56
- declare export var GREY500: '#555555';
57
- declare export var GREY600: '#464646';
58
- declare export var COLORS: {
59
- TANGERINE: string,
60
- EGGPLANT: string,
61
- MINT: string,
62
- RADISH: string,
63
- BLUEBERRY: string,
64
- BANANA: string,
65
- };
66
- export type Color =
67
- | typeof WHITE
68
- | typeof BLACK
69
- | typeof TANGERINE100
70
- | typeof TANGERINE200
71
- | typeof TANGERINE300
72
- | typeof TANGERINE400
73
- | typeof TANGERINE500
74
- | typeof TANGERINE600
75
- | typeof TANGERINE700
76
- | typeof EGGPLANT100
77
- | typeof EGGPLANT200
78
- | typeof EGGPLANT300
79
- | typeof EGGPLANT400
80
- | typeof EGGPLANT500
81
- | typeof EGGPLANT600
82
- | typeof EGGPLANT700
83
- | typeof MINT100
84
- | typeof MINT200
85
- | typeof MINT300
86
- | typeof MINT400
87
- | typeof MINT500
88
- | typeof MINT600
89
- | typeof MINT700
90
- | typeof RADISH100
91
- | typeof RADISH200
92
- | typeof RADISH300
93
- | typeof RADISH400
94
- | typeof RADISH500
95
- | typeof RADISH600
96
- | typeof RADISH700
97
- | typeof BLUEBERRY100
98
- | typeof BLUEBERRY200
99
- | typeof BLUEBERRY300
100
- | typeof BLUEBERRY400
101
- | typeof BLUEBERRY500
102
- | typeof BLUEBERRY600
103
- | typeof BLUEBERRY700
104
- | typeof BANANA100
105
- | typeof BANANA200
106
- | typeof BANANA300
107
- | typeof BANANA400
108
- | typeof BANANA500
109
- | typeof BANANA600
110
- | typeof BANANA700
111
- | typeof GREY100
112
- | typeof GREY200
113
- | typeof GREY300
114
- | typeof GREY400
115
- | typeof GREY500
116
- | typeof GREY600;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { Color } from '../foundation/colors';
3
- import { IconSize } from './types';
4
- declare type Props = {
5
- size?: IconSize;
6
- color?: Color;
7
- rotate?: number;
8
- dataTestId?: string;
9
- };
10
- declare const IconArrowDown: React.FC<Props>;
11
- export default IconArrowDown;
@@ -1,19 +0,0 @@
1
- /**
2
- * Flowtype definitions for Button
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- import type { Color } from '../foundation/colors';
10
- import type { IconSize } from '../types';
11
-
12
- declare type Props = {
13
- size?: IconSize,
14
- color?: Color,
15
- rotate?: number,
16
- dataTestId?: string,
17
- };
18
- declare var IconArrowDown: (props: Props) => React$Node;
19
- declare export default typeof IconArrowDown;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { Color } from '../foundation/colors';
3
- import { IconSize } from './types';
4
- declare type Props = {
5
- size?: IconSize;
6
- color?: Color;
7
- };
8
- declare const IconArrowLeft: React.FC<Props>;
9
- export default IconArrowLeft;
@@ -1,17 +0,0 @@
1
- /**
2
- * Flowtype definitions for Button
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
5
- * @flow
6
- */
7
-
8
- import * as React from 'react';
9
- import type { Color } from '../foundation/colors';
10
- import type { IconSize } from '../types';
11
-
12
- declare type Props = {
13
- size?: IconSize,
14
- color?: Color,
15
- };
16
- declare var IconArrowLeft: (props: Props) => React$Node;
17
- declare export default typeof IconArrowLeft;