@cerebruminc/cerebellum 11.2.2 → 12.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 (559) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/{AddMenu-64ef6b8c.js → AddMenu-093967a3.js} +3 -3
  3. package/lib/cjs/AddMenu-093967a3.js.map +1 -0
  4. package/lib/cjs/AddMenu.cjs +9 -8
  5. package/lib/cjs/AddMenu.cjs.map +1 -1
  6. package/lib/cjs/{AddressInput-a192ebc6.js → AddressInput-c28e1b52.js} +1071 -993
  7. package/lib/{esm/AddressInput-8408e58c.js.map → cjs/AddressInput-c28e1b52.js.map} +1 -1
  8. package/lib/cjs/AddressInput.cjs +5 -4
  9. package/lib/cjs/AddressInput.cjs.map +1 -1
  10. package/lib/cjs/ArrowUp.cjs +0 -1
  11. package/lib/cjs/ArrowUp.cjs.map +1 -1
  12. package/lib/cjs/CheckboxCellWrapper.cjs +8 -80
  13. package/lib/cjs/CheckboxCellWrapper.cjs.map +1 -1
  14. package/lib/cjs/{CheckboxGroup-61c52880.js → CheckboxGroup-f6c7bde4.js} +2 -2
  15. package/lib/cjs/CheckboxGroup-f6c7bde4.js.map +1 -0
  16. package/lib/cjs/CheckboxGroup.cjs +2 -2
  17. package/lib/cjs/{CheckboxItem-41bbef33.js → CheckboxItem-7f16206d.js} +1 -1
  18. package/lib/cjs/CheckboxItem-7f16206d.js.map +1 -0
  19. package/lib/cjs/CheckboxItem.cjs +1 -1
  20. package/lib/cjs/{ClearableTag-de4fe183.js → ClearableTag-99e97cdb.js} +3 -3
  21. package/lib/cjs/{ClearableTag-de4fe183.js.map → ClearableTag-99e97cdb.js.map} +1 -1
  22. package/lib/cjs/ClearableTag.cjs +2 -2
  23. package/lib/cjs/{ColorDotDropdown-88523aa4.js → ColorDotDropdown-ed4d3a83.js} +2 -2
  24. package/lib/cjs/ColorDotDropdown-ed4d3a83.js.map +1 -0
  25. package/lib/cjs/ColorDotDropdown.cjs +12 -11
  26. package/lib/cjs/ColorDotDropdown.cjs.map +1 -1
  27. package/lib/cjs/{ColorPicker-c1fdfef3.js → ColorPicker-6a8a9952.js} +2 -2
  28. package/lib/cjs/ColorPicker-6a8a9952.js.map +1 -0
  29. package/lib/cjs/ColorPicker.cjs +2 -2
  30. package/lib/cjs/{ConfigurableInput-0404c82f.js → ConfigurableInput-7a10129c.js} +3 -3
  31. package/lib/cjs/ConfigurableInput-7a10129c.js.map +1 -0
  32. package/lib/cjs/ConfigurableInput.cjs +8 -7
  33. package/lib/cjs/ConfigurableInput.cjs.map +1 -1
  34. package/lib/cjs/{ConfirmModal-85aa1730.js → ConfirmModal-f4521187.js} +2 -2
  35. package/lib/cjs/ConfirmModal-f4521187.js.map +1 -0
  36. package/lib/cjs/ConfirmModal.cjs +2 -2
  37. package/lib/cjs/{ConfirmationModal-d0a8b41b.js → ConfirmationModal-20ee2fbf.js} +2 -2
  38. package/lib/cjs/ConfirmationModal-20ee2fbf.js.map +1 -0
  39. package/lib/cjs/ConfirmationModal.cjs +2 -2
  40. package/lib/cjs/{CountyDropdown-ccadc69d.js → CountyDropdown-01e1ae92.js} +2 -2
  41. package/lib/cjs/CountyDropdown-01e1ae92.js.map +1 -0
  42. package/lib/cjs/CountyDropdown.cjs +12 -11
  43. package/lib/cjs/CountyDropdown.cjs.map +1 -1
  44. package/lib/cjs/{CreditCardInput-110e1b0f.js → CreditCardInput-fea0eacc.js} +3 -3
  45. package/lib/cjs/CreditCardInput-fea0eacc.js.map +1 -0
  46. package/lib/cjs/CreditCardInput.cjs +4 -4
  47. package/lib/cjs/{CurrencyInput-615f2339.js → CurrencyInput-6e332f97.js} +3 -3
  48. package/lib/cjs/CurrencyInput-6e332f97.js.map +1 -0
  49. package/lib/cjs/CurrencyInput.cjs +4 -4
  50. package/lib/cjs/DatePicker.cjs +10 -8
  51. package/lib/cjs/DatePicker.cjs.map +1 -1
  52. package/lib/cjs/{DescriptiveDropdownInput-83591eb7.js → DescriptiveDropdownInput-e5168c60.js} +3 -3
  53. package/lib/cjs/{DescriptiveDropdownInput-83591eb7.js.map → DescriptiveDropdownInput-e5168c60.js.map} +1 -1
  54. package/lib/cjs/DescriptiveDropdownInput.cjs +8 -7
  55. package/lib/cjs/DescriptiveDropdownInput.cjs.map +1 -1
  56. package/lib/cjs/{DescriptiveSwitchMenu-0d88ec59.js → DescriptiveSwitchMenu-1d4b2ad8.js} +5 -4
  57. package/lib/cjs/DescriptiveSwitchMenu-1d4b2ad8.js.map +1 -0
  58. package/lib/cjs/DescriptiveSwitchMenu.cjs +3 -2
  59. package/lib/cjs/DescriptiveSwitchMenu.cjs.map +1 -1
  60. package/lib/cjs/{DialogHandler-1427e882.js → DialogHandler-5793470b.js} +3 -3
  61. package/lib/cjs/{DialogHandler-1427e882.js.map → DialogHandler-5793470b.js.map} +1 -1
  62. package/lib/cjs/DialogHandler.cjs +7 -7
  63. package/lib/cjs/{Drawer-98706b47.js → Drawer-8207f39d.js} +3 -3
  64. package/lib/cjs/{Drawer-98706b47.js.map → Drawer-8207f39d.js.map} +1 -1
  65. package/lib/cjs/Drawer.cjs +4 -4
  66. package/lib/cjs/{DropdownInput-623658c4.js → DropdownInput-63ae74a8.js} +3 -3
  67. package/lib/cjs/DropdownInput-63ae74a8.js.map +1 -0
  68. package/lib/cjs/DropdownInput.cjs +11 -10
  69. package/lib/cjs/DropdownInput.cjs.map +1 -1
  70. package/lib/cjs/{EmailInput-91f2b622.js → EmailInput-a209e14b.js} +3 -3
  71. package/lib/cjs/EmailInput-a209e14b.js.map +1 -0
  72. package/lib/cjs/EmailInput.cjs +4 -4
  73. package/lib/cjs/{FiltersBar-90bccccc.js → FiltersBar-476dedef.js} +3 -3
  74. package/lib/cjs/FiltersBar-476dedef.js.map +1 -0
  75. package/lib/cjs/FiltersBar.cjs +5 -5
  76. package/lib/cjs/Form.cjs +38 -36
  77. package/lib/cjs/Form.cjs.map +1 -1
  78. package/lib/cjs/{FormStyles-a203f5d9.js → FormStyles-e5443bf8.js} +3 -3
  79. package/lib/cjs/{FormStyles-a203f5d9.js.map → FormStyles-e5443bf8.js.map} +1 -1
  80. package/lib/cjs/FormWrapper.cjs +4 -3
  81. package/lib/cjs/FormWrapper.cjs.map +1 -1
  82. package/lib/cjs/{FormikContainer-bb766863.js → FormikContainer-c8bb8398.js} +28 -28
  83. package/lib/cjs/{FormikContainer-bb766863.js.map → FormikContainer-c8bb8398.js.map} +1 -1
  84. package/lib/cjs/{IconSwitcher-b1335974.js → IconSwitcher-645d4a08.js} +3 -3
  85. package/lib/cjs/{IconSwitcher-b1335974.js.map → IconSwitcher-645d4a08.js.map} +1 -1
  86. package/lib/cjs/IconSwitcher.cjs +10 -9
  87. package/lib/cjs/IconSwitcher.cjs.map +1 -1
  88. package/lib/cjs/{IconTile-082fe747.js → IconTile-bd724c43.js} +2 -2
  89. package/lib/cjs/IconTile-bd724c43.js.map +1 -0
  90. package/lib/cjs/IconTile.cjs +3 -3
  91. package/lib/cjs/{ImagePicker-bce1f622.js → ImagePicker-511ec76c.js} +3 -3
  92. package/lib/cjs/{ImagePicker-bce1f622.js.map → ImagePicker-511ec76c.js.map} +1 -1
  93. package/lib/cjs/ImagePicker.cjs +6 -6
  94. package/lib/cjs/{InlineCreditCardInput-af5a069f.js → InlineCreditCardInput-749284b4.js} +2 -2
  95. package/lib/cjs/{InlineCreditCardInput-af5a069f.js.map → InlineCreditCardInput-749284b4.js.map} +1 -1
  96. package/lib/cjs/InlineCreditCardInput.cjs +2 -2
  97. package/lib/cjs/{InlineCurrencyInput-21ca9a84.js → InlineCurrencyInput-0ea77ddc.js} +2 -2
  98. package/lib/cjs/InlineCurrencyInput-0ea77ddc.js.map +1 -0
  99. package/lib/cjs/InlineCurrencyInput.cjs +2 -2
  100. package/lib/cjs/{InlineDatePicker-69418d03.js → InlineDatePicker-96cffe99.js} +42 -39
  101. package/lib/cjs/{InlineDatePicker-69418d03.js.map → InlineDatePicker-96cffe99.js.map} +1 -1
  102. package/lib/cjs/InlineDatePicker.cjs +10 -8
  103. package/lib/cjs/InlineDatePicker.cjs.map +1 -1
  104. package/lib/cjs/{InlineDescriptiveDropdown-9d9e30ba.js → InlineDescriptiveDropdown-c90497b0.js} +4 -4
  105. package/lib/cjs/{InlineDescriptiveDropdown-9d9e30ba.js.map → InlineDescriptiveDropdown-c90497b0.js.map} +1 -1
  106. package/lib/cjs/InlineDescriptiveDropdown.cjs +8 -7
  107. package/lib/cjs/InlineDescriptiveDropdown.cjs.map +1 -1
  108. package/lib/cjs/{InlineDropdown-a105a638.js → InlineDropdown-0d10be76.js} +4 -4
  109. package/lib/cjs/InlineDropdown-0d10be76.js.map +1 -0
  110. package/lib/cjs/InlineDropdown.cjs +10 -9
  111. package/lib/cjs/InlineDropdown.cjs.map +1 -1
  112. package/lib/cjs/{InlineEmailInput-b20d972a.js → InlineEmailInput-f7f57a91.js} +2 -2
  113. package/lib/cjs/InlineEmailInput-f7f57a91.js.map +1 -0
  114. package/lib/cjs/InlineEmailInput.cjs +2 -2
  115. package/lib/cjs/{InlineInput-32236399.js → InlineInput-b5f03319.js} +3 -3
  116. package/lib/cjs/{InlineInput-32236399.js.map → InlineInput-b5f03319.js.map} +1 -1
  117. package/lib/cjs/InlineInput.cjs +1 -1
  118. package/lib/cjs/InlineInputButton.cjs +3 -3
  119. package/lib/cjs/InlinePasswordInput.cjs +3 -3
  120. package/lib/cjs/{InlinePhoneInput-44fd467f.js → InlinePhoneInput-e0d92ad2.js} +2 -2
  121. package/lib/cjs/{InlinePhoneInput-44fd467f.js.map → InlinePhoneInput-e0d92ad2.js.map} +1 -1
  122. package/lib/cjs/InlinePhoneInput.cjs +2 -2
  123. package/lib/cjs/InlineSsnInput.cjs +1 -1
  124. package/lib/cjs/InlineTextarea.cjs +0 -1
  125. package/lib/cjs/InlineTextarea.cjs.map +1 -1
  126. package/lib/cjs/InlineZipCodeInput.cjs +1 -1
  127. package/lib/cjs/{Input-ae515514.js → Input-d1fd386c.js} +3 -3
  128. package/lib/cjs/Input-d1fd386c.js.map +1 -0
  129. package/lib/cjs/InputButton.cjs +3 -3
  130. package/lib/cjs/{LogoSidebar-4ec31040.js → LogoSidebar-e1cd9ed5.js} +2 -2
  131. package/lib/cjs/LogoSidebar-e1cd9ed5.js.map +1 -0
  132. package/lib/cjs/LogoSidebar.cjs +2 -2
  133. package/lib/cjs/{Modal-a0e09702.js → Modal-c5859a5b.js} +2 -6
  134. package/lib/cjs/{Modal-a0e09702.js.map → Modal-c5859a5b.js.map} +1 -1
  135. package/lib/cjs/Modal.cjs +1 -1
  136. package/lib/cjs/{MultiSelect-fb811d9b.js → MultiSelect-ae158520.js} +3 -3
  137. package/lib/cjs/{MultiSelect-fb811d9b.js.map → MultiSelect-ae158520.js.map} +1 -1
  138. package/lib/cjs/MultiSelect.cjs +11 -10
  139. package/lib/cjs/MultiSelect.cjs.map +1 -1
  140. package/lib/cjs/NotFound.cjs +0 -1
  141. package/lib/cjs/NotFound.cjs.map +1 -1
  142. package/lib/cjs/PasswordInput.cjs +3 -3
  143. package/lib/cjs/PhoneCell.cjs +6 -78
  144. package/lib/cjs/PhoneCell.cjs.map +1 -1
  145. package/lib/cjs/{PhoneInput-db484188.js → PhoneInput-b1a040e0.js} +3 -3
  146. package/lib/cjs/PhoneInput-b1a040e0.js.map +1 -0
  147. package/lib/cjs/PhoneInput.cjs +4 -4
  148. package/lib/cjs/{RJSForm-37b20383.js → RJSForm-1543f2dc.js} +8 -8
  149. package/lib/cjs/{RJSForm-37b20383.js.map → RJSForm-1543f2dc.js.map} +1 -1
  150. package/lib/cjs/RJSForm.cjs +20 -18
  151. package/lib/cjs/RJSForm.cjs.map +1 -1
  152. package/lib/cjs/{RJSFormRenderer-ca67d88d.js → RJSFormRenderer-9f056767.js} +2 -2
  153. package/lib/cjs/{RJSFormRenderer-ca67d88d.js.map → RJSFormRenderer-9f056767.js.map} +1 -1
  154. package/lib/cjs/RJSFormRenderer.cjs +3 -3
  155. package/lib/cjs/Radio-eb655a9b.js +24 -0
  156. package/lib/cjs/Radio-eb655a9b.js.map +1 -0
  157. package/lib/cjs/Radio.cjs +2 -1
  158. package/lib/cjs/Radio.cjs.map +1 -1
  159. package/lib/cjs/{RadioGroup-83e22272.js → RadioGroup-5999841f.js} +2 -2
  160. package/lib/cjs/RadioGroup-5999841f.js.map +1 -0
  161. package/lib/cjs/RadioGroup.cjs +4 -3
  162. package/lib/cjs/RadioGroup.cjs.map +1 -1
  163. package/lib/cjs/{RadioItem-ae4d8a2f.js → RadioItem-5709e5ae.js} +6 -5
  164. package/lib/cjs/RadioItem-5709e5ae.js.map +1 -0
  165. package/lib/cjs/RadioItem.cjs +3 -2
  166. package/lib/cjs/RadioItem.cjs.map +1 -1
  167. package/lib/cjs/{Radio-4ef8e27f.js → RadioStyles-384c584e.js} +2 -18
  168. package/lib/cjs/RadioStyles-384c584e.js.map +1 -0
  169. package/lib/cjs/{SearchInput-aa38f9d2.js → SearchInput-840e3198.js} +2 -2
  170. package/lib/cjs/{SearchInput-aa38f9d2.js.map → SearchInput-840e3198.js.map} +1 -1
  171. package/lib/cjs/SearchInput.cjs +2 -2
  172. package/lib/cjs/{SearchMenu-bf22b7d8.js → SearchMenu-e9bb000f.js} +6 -6
  173. package/lib/cjs/{SearchMenu-bf22b7d8.js.map → SearchMenu-e9bb000f.js.map} +1 -1
  174. package/lib/cjs/SearchMenu.cjs +8 -7
  175. package/lib/cjs/SearchMenu.cjs.map +1 -1
  176. package/lib/cjs/{SelectSearch-1e4a6fc5.js → SelectSearch-82749b35.js} +4 -4
  177. package/lib/cjs/{SelectSearch-1e4a6fc5.js.map → SelectSearch-82749b35.js.map} +1 -1
  178. package/lib/cjs/SelectSearch.cjs +10 -9
  179. package/lib/cjs/SelectSearch.cjs.map +1 -1
  180. package/lib/cjs/{SnackContainer-19acf90d.js → SnackContainer-342c8165.js} +27 -11
  181. package/lib/cjs/{SnackContainer-19acf90d.js.map → SnackContainer-342c8165.js.map} +1 -1
  182. package/lib/cjs/SsnInput.cjs +2 -2
  183. package/lib/cjs/{StateDropdown-fa94c66e.js → StateDropdown-bca1479a.js} +2 -2
  184. package/lib/cjs/StateDropdown-bca1479a.js.map +1 -0
  185. package/lib/cjs/StateDropdown.cjs +12 -11
  186. package/lib/cjs/StateDropdown.cjs.map +1 -1
  187. package/lib/cjs/{StatusDropdown-6b76877d.js → StatusDropdown-93ed20df.js} +3 -3
  188. package/lib/cjs/StatusDropdown-93ed20df.js.map +1 -0
  189. package/lib/cjs/StatusDropdown.cjs +13 -12
  190. package/lib/cjs/StatusDropdown.cjs.map +1 -1
  191. package/lib/cjs/{TabModal-b3646079.js → TabModal-973047b6.js} +2 -2
  192. package/lib/cjs/{TabModal-b3646079.js.map → TabModal-973047b6.js.map} +1 -1
  193. package/lib/cjs/TabModal.cjs +2 -2
  194. package/lib/cjs/Table.cjs +842 -75
  195. package/lib/cjs/Table.cjs.map +1 -1
  196. package/lib/cjs/{TableFiltersPanel-2be2f441.js → TableFiltersPanel-cd3558b9.js} +2 -2
  197. package/lib/cjs/TableFiltersPanel-cd3558b9.js.map +1 -0
  198. package/lib/cjs/TableFiltersPanel.cjs +9 -8
  199. package/lib/cjs/TableFiltersPanel.cjs.map +1 -1
  200. package/lib/cjs/TableStyles-93505c43.js +370 -0
  201. package/lib/cjs/TableStyles-93505c43.js.map +1 -0
  202. package/lib/cjs/{TextLink-197a70a8.js → TextLink-c13275eb.js} +3 -3
  203. package/lib/cjs/{TextLink-197a70a8.js.map → TextLink-c13275eb.js.map} +1 -1
  204. package/lib/cjs/TextLink.cjs +3 -3
  205. package/lib/cjs/Textarea.cjs +1 -1
  206. package/lib/cjs/ThemeProvider.cjs +6 -6
  207. package/lib/cjs/ToggleCell.cjs +6 -78
  208. package/lib/cjs/ToggleCell.cjs.map +1 -1
  209. package/lib/cjs/{ToggleGroup-9d2d1f75.js → ToggleGroup-17995f3f.js} +2 -2
  210. package/lib/cjs/ToggleGroup-17995f3f.js.map +1 -0
  211. package/lib/cjs/ToggleGroup.cjs +4 -4
  212. package/lib/cjs/{ToggleItem-a297644f.js → ToggleItem-44cf3e19.js} +2 -2
  213. package/lib/cjs/ToggleItem-44cf3e19.js.map +1 -0
  214. package/lib/cjs/ToggleItem.cjs +3 -3
  215. package/lib/cjs/Truncate.cjs +2 -2
  216. package/lib/cjs/{TruncatePicker-6ba8a4b8.js → TruncatePicker-4ede1db6.js} +2 -2
  217. package/lib/cjs/{TruncatePicker-6ba8a4b8.js.map → TruncatePicker-4ede1db6.js.map} +1 -1
  218. package/lib/cjs/{Typography-a56f047e.js → Typography-2366f528.js} +2 -2
  219. package/lib/cjs/Typography-2366f528.js.map +1 -0
  220. package/lib/cjs/Typography.cjs +3 -3
  221. package/lib/cjs/{UploadDropzone-e1d356bf.js → UploadDropzone-0cc515c3.js} +4 -4
  222. package/lib/cjs/{UploadDropzone-e1d356bf.js.map → UploadDropzone-0cc515c3.js.map} +1 -1
  223. package/lib/cjs/UploadDropzone.cjs +5 -5
  224. package/lib/cjs/UserCard.cjs +2 -2
  225. package/lib/cjs/UserCardModal.cjs +2 -2
  226. package/lib/cjs/{UserInformationCard-b3c9f8aa.js → UserInformationCard-51fa3f4f.js} +7 -5
  227. package/lib/cjs/{UserInformationCard-b3c9f8aa.js.map → UserInformationCard-51fa3f4f.js.map} +1 -1
  228. package/lib/cjs/UserInformationCard.cjs +5 -5
  229. package/lib/cjs/ZipCodeInput.cjs +2 -2
  230. package/lib/cjs/_commonjsHelpers-b3309d7b.js +11 -0
  231. package/lib/cjs/_commonjsHelpers-b3309d7b.js.map +1 -0
  232. package/lib/cjs/cerebellumTheme.cjs +0 -1
  233. package/lib/cjs/cerebellumTheme.cjs.map +1 -1
  234. package/lib/cjs/cortexTheme.cjs +0 -1
  235. package/lib/cjs/cortexTheme.cjs.map +1 -1
  236. package/lib/cjs/index.cjs +64 -61
  237. package/lib/cjs/index.cjs.map +1 -1
  238. package/lib/cjs/{useMeasure-b9d80d54.js → useMeasure-aca2fa8d.js} +5 -3
  239. package/lib/cjs/{useMeasure-b9d80d54.js.map → useMeasure-aca2fa8d.js.map} +1 -1
  240. package/lib/cjs/{useMeasureWatchResize-e01396c5.js → useMeasureWatchResize-f6701a66.js} +2 -2
  241. package/lib/cjs/useMeasureWatchResize-f6701a66.js.map +1 -0
  242. package/lib/esm/{AddMenu-50ec2c27.js → AddMenu-806203ac.js} +3 -3
  243. package/lib/esm/AddMenu-806203ac.js.map +1 -0
  244. package/lib/esm/AddMenu.js +9 -8
  245. package/lib/esm/AddMenu.js.map +1 -1
  246. package/lib/esm/{AddressInput-8408e58c.js → AddressInput-1ac2a460.js} +1070 -992
  247. package/lib/{cjs/AddressInput-a192ebc6.js.map → esm/AddressInput-1ac2a460.js.map} +1 -1
  248. package/lib/esm/AddressInput.js +5 -4
  249. package/lib/esm/AddressInput.js.map +1 -1
  250. package/lib/esm/ArrowUp.js +1 -1
  251. package/lib/esm/CheckboxCellWrapper.js +6 -78
  252. package/lib/esm/CheckboxCellWrapper.js.map +1 -1
  253. package/lib/esm/{CheckboxGroup-05dc484c.js → CheckboxGroup-8c6b20c0.js} +2 -2
  254. package/lib/esm/CheckboxGroup-8c6b20c0.js.map +1 -0
  255. package/lib/esm/CheckboxGroup.js +2 -2
  256. package/lib/esm/{CheckboxItem-ea3b44d8.js → CheckboxItem-54c8c51c.js} +1 -1
  257. package/lib/esm/CheckboxItem-54c8c51c.js.map +1 -0
  258. package/lib/esm/CheckboxItem.js +1 -1
  259. package/lib/esm/{ClearableTag-6d18403d.js → ClearableTag-26511417.js} +3 -3
  260. package/lib/esm/{ClearableTag-6d18403d.js.map → ClearableTag-26511417.js.map} +1 -1
  261. package/lib/esm/ClearableTag.js +2 -2
  262. package/lib/esm/{ColorDotDropdown-f0126c86.js → ColorDotDropdown-9693642c.js} +2 -2
  263. package/lib/esm/ColorDotDropdown-9693642c.js.map +1 -0
  264. package/lib/esm/ColorDotDropdown.js +12 -11
  265. package/lib/esm/ColorDotDropdown.js.map +1 -1
  266. package/lib/esm/{ColorPicker-ca7c732c.js → ColorPicker-e2031e7d.js} +2 -2
  267. package/lib/esm/ColorPicker-e2031e7d.js.map +1 -0
  268. package/lib/esm/ColorPicker.js +2 -2
  269. package/lib/esm/{ConfigurableInput-90ed2416.js → ConfigurableInput-a5f3d818.js} +3 -3
  270. package/lib/esm/ConfigurableInput-a5f3d818.js.map +1 -0
  271. package/lib/esm/ConfigurableInput.js +8 -7
  272. package/lib/esm/ConfigurableInput.js.map +1 -1
  273. package/lib/esm/{ConfirmModal-f5bc8ef4.js → ConfirmModal-485910ce.js} +2 -2
  274. package/lib/esm/ConfirmModal-485910ce.js.map +1 -0
  275. package/lib/esm/ConfirmModal.js +2 -2
  276. package/lib/esm/{ConfirmationModal-fec2be48.js → ConfirmationModal-b2307973.js} +2 -2
  277. package/lib/esm/ConfirmationModal-b2307973.js.map +1 -0
  278. package/lib/esm/ConfirmationModal.js +2 -2
  279. package/lib/esm/{CountyDropdown-e3af1542.js → CountyDropdown-3decb3a0.js} +2 -2
  280. package/lib/esm/CountyDropdown-3decb3a0.js.map +1 -0
  281. package/lib/esm/CountyDropdown.js +12 -11
  282. package/lib/esm/CountyDropdown.js.map +1 -1
  283. package/lib/esm/{CreditCardInput-5c5135f3.js → CreditCardInput-048f86c9.js} +3 -3
  284. package/lib/esm/CreditCardInput-048f86c9.js.map +1 -0
  285. package/lib/esm/CreditCardInput.js +4 -4
  286. package/lib/esm/{CurrencyInput-c869b1cb.js → CurrencyInput-9c540d58.js} +3 -3
  287. package/lib/esm/CurrencyInput-9c540d58.js.map +1 -0
  288. package/lib/esm/CurrencyInput.js +4 -4
  289. package/lib/esm/DatePicker.js +10 -8
  290. package/lib/esm/DatePicker.js.map +1 -1
  291. package/lib/esm/{DescriptiveDropdownInput-b7503d47.js → DescriptiveDropdownInput-b34b78d6.js} +3 -3
  292. package/lib/esm/{DescriptiveDropdownInput-b7503d47.js.map → DescriptiveDropdownInput-b34b78d6.js.map} +1 -1
  293. package/lib/esm/DescriptiveDropdownInput.js +8 -7
  294. package/lib/esm/DescriptiveDropdownInput.js.map +1 -1
  295. package/lib/esm/{DescriptiveSwitchMenu-cbb47b80.js → DescriptiveSwitchMenu-1e0728b8.js} +3 -2
  296. package/lib/esm/DescriptiveSwitchMenu-1e0728b8.js.map +1 -0
  297. package/lib/esm/DescriptiveSwitchMenu.js +3 -2
  298. package/lib/esm/DescriptiveSwitchMenu.js.map +1 -1
  299. package/lib/esm/{DialogHandler-f9e38fa9.js → DialogHandler-ddec3443.js} +3 -3
  300. package/lib/esm/{DialogHandler-f9e38fa9.js.map → DialogHandler-ddec3443.js.map} +1 -1
  301. package/lib/esm/DialogHandler.js +6 -7
  302. package/lib/esm/DialogHandler.js.map +1 -1
  303. package/lib/esm/{Drawer-67d1d854.js → Drawer-a35155e1.js} +3 -3
  304. package/lib/esm/{Drawer-67d1d854.js.map → Drawer-a35155e1.js.map} +1 -1
  305. package/lib/esm/Drawer.js +4 -4
  306. package/lib/esm/{DropdownInput-894e3d7a.js → DropdownInput-4297cf26.js} +3 -3
  307. package/lib/esm/DropdownInput-4297cf26.js.map +1 -0
  308. package/lib/esm/DropdownInput.js +11 -10
  309. package/lib/esm/DropdownInput.js.map +1 -1
  310. package/lib/esm/{EmailInput-32bd8b8a.js → EmailInput-fecefcaa.js} +3 -3
  311. package/lib/esm/EmailInput-fecefcaa.js.map +1 -0
  312. package/lib/esm/EmailInput.js +4 -4
  313. package/lib/esm/{FiltersBar-2a734d5f.js → FiltersBar-aecb192f.js} +3 -3
  314. package/lib/esm/FiltersBar-aecb192f.js.map +1 -0
  315. package/lib/esm/FiltersBar.js +5 -5
  316. package/lib/esm/Form.js +38 -36
  317. package/lib/esm/Form.js.map +1 -1
  318. package/lib/esm/{FormStyles-8d53d823.js → FormStyles-7f4fdf3b.js} +3 -3
  319. package/lib/esm/{FormStyles-8d53d823.js.map → FormStyles-7f4fdf3b.js.map} +1 -1
  320. package/lib/esm/FormWrapper.js +4 -3
  321. package/lib/esm/FormWrapper.js.map +1 -1
  322. package/lib/esm/{FormikContainer-64ecc76c.js → FormikContainer-25e19362.js} +28 -28
  323. package/lib/esm/{FormikContainer-64ecc76c.js.map → FormikContainer-25e19362.js.map} +1 -1
  324. package/lib/esm/{IconSwitcher-7db68c59.js → IconSwitcher-22f9a691.js} +3 -3
  325. package/lib/esm/IconSwitcher-22f9a691.js.map +1 -0
  326. package/lib/esm/IconSwitcher.js +10 -9
  327. package/lib/esm/IconSwitcher.js.map +1 -1
  328. package/lib/esm/{IconTile-0c6fc83e.js → IconTile-b4dad474.js} +2 -2
  329. package/lib/esm/IconTile-b4dad474.js.map +1 -0
  330. package/lib/esm/IconTile.js +3 -3
  331. package/lib/esm/{ImagePicker-20d678df.js → ImagePicker-d7a66b1c.js} +3 -3
  332. package/lib/esm/{ImagePicker-20d678df.js.map → ImagePicker-d7a66b1c.js.map} +1 -1
  333. package/lib/esm/ImagePicker.js +6 -6
  334. package/lib/esm/{InlineCreditCardInput-70768742.js → InlineCreditCardInput-c09bc8de.js} +2 -2
  335. package/lib/esm/{InlineCreditCardInput-70768742.js.map → InlineCreditCardInput-c09bc8de.js.map} +1 -1
  336. package/lib/esm/InlineCreditCardInput.js +2 -2
  337. package/lib/esm/{InlineCurrencyInput-1cc1fed2.js → InlineCurrencyInput-f6eb15f9.js} +2 -2
  338. package/lib/esm/InlineCurrencyInput-f6eb15f9.js.map +1 -0
  339. package/lib/esm/InlineCurrencyInput.js +2 -2
  340. package/lib/esm/{InlineDatePicker-298eaaf0.js → InlineDatePicker-e6d6a8de.js} +42 -39
  341. package/lib/esm/{InlineDatePicker-298eaaf0.js.map → InlineDatePicker-e6d6a8de.js.map} +1 -1
  342. package/lib/esm/InlineDatePicker.js +10 -8
  343. package/lib/esm/InlineDatePicker.js.map +1 -1
  344. package/lib/esm/{InlineDescriptiveDropdown-b999428b.js → InlineDescriptiveDropdown-1bc3a516.js} +4 -4
  345. package/lib/esm/{InlineDescriptiveDropdown-b999428b.js.map → InlineDescriptiveDropdown-1bc3a516.js.map} +1 -1
  346. package/lib/esm/InlineDescriptiveDropdown.js +8 -7
  347. package/lib/esm/InlineDescriptiveDropdown.js.map +1 -1
  348. package/lib/esm/{InlineDropdown-1cc6090f.js → InlineDropdown-95b5a995.js} +4 -4
  349. package/lib/esm/InlineDropdown-95b5a995.js.map +1 -0
  350. package/lib/esm/InlineDropdown.js +10 -9
  351. package/lib/esm/InlineDropdown.js.map +1 -1
  352. package/lib/esm/{InlineEmailInput-091066d0.js → InlineEmailInput-8e5e8db6.js} +2 -2
  353. package/lib/esm/InlineEmailInput-8e5e8db6.js.map +1 -0
  354. package/lib/esm/InlineEmailInput.js +2 -2
  355. package/lib/esm/{InlineInput-380c8be0.js → InlineInput-73165151.js} +3 -3
  356. package/lib/esm/{InlineInput-380c8be0.js.map → InlineInput-73165151.js.map} +1 -1
  357. package/lib/esm/InlineInput.js +1 -1
  358. package/lib/esm/InlineInputButton.js +3 -3
  359. package/lib/esm/InlinePasswordInput.js +3 -3
  360. package/lib/esm/{InlinePhoneInput-c5c3de39.js → InlinePhoneInput-286e4b82.js} +2 -2
  361. package/lib/esm/{InlinePhoneInput-c5c3de39.js.map → InlinePhoneInput-286e4b82.js.map} +1 -1
  362. package/lib/esm/InlinePhoneInput.js +2 -2
  363. package/lib/esm/InlineSsnInput.js +1 -1
  364. package/lib/esm/InlineTextarea.js +1 -1
  365. package/lib/esm/InlineZipCodeInput.js +1 -1
  366. package/lib/esm/{Input-c4ca5490.js → Input-b6ad5418.js} +3 -3
  367. package/lib/esm/Input-b6ad5418.js.map +1 -0
  368. package/lib/esm/InputButton.js +3 -3
  369. package/lib/esm/{LogoSidebar-0a0b8c94.js → LogoSidebar-df9c5103.js} +2 -2
  370. package/lib/esm/LogoSidebar-df9c5103.js.map +1 -0
  371. package/lib/esm/LogoSidebar.js +2 -2
  372. package/lib/esm/{Modal-4241aa1c.js → Modal-c2ea3041.js} +2 -6
  373. package/lib/esm/{Modal-4241aa1c.js.map → Modal-c2ea3041.js.map} +1 -1
  374. package/lib/esm/Modal.js +1 -1
  375. package/lib/esm/{MultiSelect-10d395fc.js → MultiSelect-56d8814a.js} +3 -3
  376. package/lib/esm/{MultiSelect-10d395fc.js.map → MultiSelect-56d8814a.js.map} +1 -1
  377. package/lib/esm/MultiSelect.js +11 -10
  378. package/lib/esm/MultiSelect.js.map +1 -1
  379. package/lib/esm/NotFound.js +1 -1
  380. package/lib/esm/PasswordInput.js +3 -3
  381. package/lib/esm/PhoneCell.js +6 -78
  382. package/lib/esm/PhoneCell.js.map +1 -1
  383. package/lib/esm/{PhoneInput-b24c3298.js → PhoneInput-b4b1c005.js} +3 -3
  384. package/lib/esm/PhoneInput-b4b1c005.js.map +1 -0
  385. package/lib/esm/PhoneInput.js +4 -4
  386. package/lib/esm/{RJSForm-fa367428.js → RJSForm-8d589247.js} +8 -8
  387. package/lib/esm/{RJSForm-fa367428.js.map → RJSForm-8d589247.js.map} +1 -1
  388. package/lib/esm/RJSForm.js +20 -18
  389. package/lib/esm/RJSForm.js.map +1 -1
  390. package/lib/esm/{RJSFormRenderer-d82f4869.js → RJSFormRenderer-058e6859.js} +2 -2
  391. package/lib/esm/{RJSFormRenderer-d82f4869.js.map → RJSFormRenderer-058e6859.js.map} +1 -1
  392. package/lib/esm/RJSFormRenderer.js +3 -3
  393. package/lib/esm/Radio-ade99d62.js +22 -0
  394. package/lib/esm/Radio-ade99d62.js.map +1 -0
  395. package/lib/esm/Radio.js +2 -1
  396. package/lib/esm/Radio.js.map +1 -1
  397. package/lib/esm/{RadioGroup-316e2368.js → RadioGroup-01ce46fb.js} +2 -2
  398. package/lib/esm/RadioGroup-01ce46fb.js.map +1 -0
  399. package/lib/esm/RadioGroup.js +4 -3
  400. package/lib/esm/RadioGroup.js.map +1 -1
  401. package/lib/esm/{RadioItem-66b2fe64.js → RadioItem-6b08c586.js} +3 -2
  402. package/lib/esm/RadioItem-6b08c586.js.map +1 -0
  403. package/lib/esm/RadioItem.js +3 -2
  404. package/lib/esm/RadioItem.js.map +1 -1
  405. package/lib/esm/{Radio-bcba286a.js → RadioStyles-d324c814.js} +4 -20
  406. package/lib/esm/RadioStyles-d324c814.js.map +1 -0
  407. package/lib/esm/{SearchInput-6bfc27c4.js → SearchInput-755ce983.js} +2 -2
  408. package/lib/esm/SearchInput-755ce983.js.map +1 -0
  409. package/lib/esm/SearchInput.js +2 -2
  410. package/lib/esm/{SearchMenu-694db0e3.js → SearchMenu-c8c2d382.js} +6 -6
  411. package/lib/esm/{SearchMenu-694db0e3.js.map → SearchMenu-c8c2d382.js.map} +1 -1
  412. package/lib/esm/SearchMenu.js +8 -7
  413. package/lib/esm/SearchMenu.js.map +1 -1
  414. package/lib/esm/{SelectSearch-d9e5f4b5.js → SelectSearch-ba7478cd.js} +4 -4
  415. package/lib/esm/{SelectSearch-d9e5f4b5.js.map → SelectSearch-ba7478cd.js.map} +1 -1
  416. package/lib/esm/SelectSearch.js +10 -9
  417. package/lib/esm/SelectSearch.js.map +1 -1
  418. package/lib/esm/{SnackContainer-a011fafb.js → SnackContainer-2a03b101.js} +27 -11
  419. package/lib/esm/{UploadDropzone-4cf7a872.js.map → SnackContainer-2a03b101.js.map} +1 -1
  420. package/lib/esm/SsnInput.js +2 -2
  421. package/lib/esm/{StateDropdown-8c7fd95c.js → StateDropdown-057be400.js} +2 -2
  422. package/lib/esm/StateDropdown-057be400.js.map +1 -0
  423. package/lib/esm/StateDropdown.js +12 -11
  424. package/lib/esm/StateDropdown.js.map +1 -1
  425. package/lib/esm/{StatusDropdown-3a7af3cb.js → StatusDropdown-63549716.js} +3 -3
  426. package/lib/esm/StatusDropdown-63549716.js.map +1 -0
  427. package/lib/esm/StatusDropdown.js +13 -12
  428. package/lib/esm/StatusDropdown.js.map +1 -1
  429. package/lib/esm/{TabModal-51a5d5ca.js → TabModal-2ec69dfc.js} +2 -2
  430. package/lib/esm/{TabModal-51a5d5ca.js.map → TabModal-2ec69dfc.js.map} +1 -1
  431. package/lib/esm/TabModal.js +2 -2
  432. package/lib/esm/Table.js +840 -71
  433. package/lib/esm/Table.js.map +1 -1
  434. package/lib/esm/{TableFiltersPanel-44bae887.js → TableFiltersPanel-2352262a.js} +2 -2
  435. package/lib/esm/TableFiltersPanel-2352262a.js.map +1 -0
  436. package/lib/esm/TableFiltersPanel.js +9 -8
  437. package/lib/esm/TableFiltersPanel.js.map +1 -1
  438. package/lib/esm/TableStyles-e39cda5c.js +324 -0
  439. package/lib/esm/TableStyles-e39cda5c.js.map +1 -0
  440. package/lib/esm/{TextLink-ae7a4ea6.js → TextLink-a4a81335.js} +3 -3
  441. package/lib/esm/{TextLink-ae7a4ea6.js.map → TextLink-a4a81335.js.map} +1 -1
  442. package/lib/esm/TextLink.js +3 -3
  443. package/lib/esm/Textarea.js +1 -1
  444. package/lib/esm/ThemeProvider.js +6 -6
  445. package/lib/esm/ToggleCell.js +6 -78
  446. package/lib/esm/ToggleCell.js.map +1 -1
  447. package/lib/esm/{ToggleGroup-87825bf3.js → ToggleGroup-d43664d7.js} +2 -2
  448. package/lib/esm/ToggleGroup-d43664d7.js.map +1 -0
  449. package/lib/esm/ToggleGroup.js +4 -4
  450. package/lib/esm/{ToggleItem-60a9909b.js → ToggleItem-a65769e2.js} +2 -2
  451. package/lib/esm/ToggleItem-a65769e2.js.map +1 -0
  452. package/lib/esm/ToggleItem.js +3 -3
  453. package/lib/esm/Truncate.js +2 -2
  454. package/lib/esm/{TruncatePicker-a3a5efbe.js → TruncatePicker-46d02304.js} +2 -2
  455. package/lib/esm/{TruncatePicker-a3a5efbe.js.map → TruncatePicker-46d02304.js.map} +1 -1
  456. package/lib/esm/{Typography-e1cfe4d5.js → Typography-9a063836.js} +2 -2
  457. package/lib/esm/Typography-9a063836.js.map +1 -0
  458. package/lib/esm/Typography.js +3 -3
  459. package/lib/esm/{UploadDropzone-4cf7a872.js → UploadDropzone-4aaec2f9.js} +4 -4
  460. package/lib/esm/{SnackContainer-a011fafb.js.map → UploadDropzone-4aaec2f9.js.map} +1 -1
  461. package/lib/esm/UploadDropzone.js +5 -5
  462. package/lib/esm/UserCard.js +2 -2
  463. package/lib/esm/UserCardModal.js +2 -2
  464. package/lib/esm/{UserInformationCard-f0c3d887.js → UserInformationCard-0f7cbebf.js} +7 -5
  465. package/lib/esm/{UserInformationCard-f0c3d887.js.map → UserInformationCard-0f7cbebf.js.map} +1 -1
  466. package/lib/esm/UserInformationCard.js +5 -5
  467. package/lib/esm/ZipCodeInput.js +2 -2
  468. package/lib/esm/_commonjsHelpers-1789f0cf.js +8 -0
  469. package/lib/esm/_commonjsHelpers-1789f0cf.js.map +1 -0
  470. package/lib/esm/cerebellumTheme.js +1 -1
  471. package/lib/esm/cortexTheme.js +1 -1
  472. package/lib/esm/index.js +68 -65
  473. package/lib/esm/index.js.map +1 -1
  474. package/lib/esm/{useMeasure-90ab7d68.js → useMeasure-bac4939c.js} +5 -3
  475. package/lib/esm/{useMeasure-90ab7d68.js.map → useMeasure-bac4939c.js.map} +1 -1
  476. package/lib/esm/{useMeasureWatchResize-7859b559.js → useMeasureWatchResize-523c19b2.js} +2 -2
  477. package/lib/esm/useMeasureWatchResize-523c19b2.js.map +1 -0
  478. package/lib/types/src/components/AddressInput/types.d.ts +1 -1
  479. package/lib/types/src/components/Form/types.d.ts +2 -0
  480. package/lib/types/src/components/Icons/ArrowUp.d.ts +0 -1
  481. package/lib/types/src/components/SnackContainer/index.d.ts +1 -1
  482. package/lib/types/src/components/Table/Row.d.ts +1 -2
  483. package/lib/types/src/components/Table/Table.d.ts +2 -6
  484. package/lib/types/src/components/Table/const.d.ts +2 -0
  485. package/lib/types/src/components/Textarea/InlineTextarea.d.ts +0 -1
  486. package/lib/types/src/pages/NotFound/NotFound.d.ts +0 -1
  487. package/lib/types/src/theme.d.ts +1 -1
  488. package/package.json +22 -32
  489. package/lib/cjs/AddMenu-64ef6b8c.js.map +0 -1
  490. package/lib/cjs/CheckboxGroup-61c52880.js.map +0 -1
  491. package/lib/cjs/CheckboxItem-41bbef33.js.map +0 -1
  492. package/lib/cjs/ColorDotDropdown-88523aa4.js.map +0 -1
  493. package/lib/cjs/ColorPicker-c1fdfef3.js.map +0 -1
  494. package/lib/cjs/ConfigurableInput-0404c82f.js.map +0 -1
  495. package/lib/cjs/ConfirmModal-85aa1730.js.map +0 -1
  496. package/lib/cjs/ConfirmationModal-d0a8b41b.js.map +0 -1
  497. package/lib/cjs/CountyDropdown-ccadc69d.js.map +0 -1
  498. package/lib/cjs/CreditCardInput-110e1b0f.js.map +0 -1
  499. package/lib/cjs/CurrencyInput-615f2339.js.map +0 -1
  500. package/lib/cjs/DescriptiveSwitchMenu-0d88ec59.js.map +0 -1
  501. package/lib/cjs/DropdownInput-623658c4.js.map +0 -1
  502. package/lib/cjs/EmailInput-91f2b622.js.map +0 -1
  503. package/lib/cjs/FiltersBar-90bccccc.js.map +0 -1
  504. package/lib/cjs/IconTile-082fe747.js.map +0 -1
  505. package/lib/cjs/InlineCurrencyInput-21ca9a84.js.map +0 -1
  506. package/lib/cjs/InlineDropdown-a105a638.js.map +0 -1
  507. package/lib/cjs/InlineEmailInput-b20d972a.js.map +0 -1
  508. package/lib/cjs/Input-ae515514.js.map +0 -1
  509. package/lib/cjs/LogoSidebar-4ec31040.js.map +0 -1
  510. package/lib/cjs/PhoneInput-db484188.js.map +0 -1
  511. package/lib/cjs/Radio-4ef8e27f.js.map +0 -1
  512. package/lib/cjs/RadioGroup-83e22272.js.map +0 -1
  513. package/lib/cjs/RadioItem-ae4d8a2f.js.map +0 -1
  514. package/lib/cjs/StateDropdown-fa94c66e.js.map +0 -1
  515. package/lib/cjs/StatusDropdown-6b76877d.js.map +0 -1
  516. package/lib/cjs/Table-373a099a.js +0 -1149
  517. package/lib/cjs/Table-373a099a.js.map +0 -1
  518. package/lib/cjs/TableFiltersPanel-2be2f441.js.map +0 -1
  519. package/lib/cjs/ToggleGroup-9d2d1f75.js.map +0 -1
  520. package/lib/cjs/ToggleItem-a297644f.js.map +0 -1
  521. package/lib/cjs/Typography-a56f047e.js.map +0 -1
  522. package/lib/cjs/useMeasureWatchResize-e01396c5.js.map +0 -1
  523. package/lib/esm/AddMenu-50ec2c27.js.map +0 -1
  524. package/lib/esm/CheckboxGroup-05dc484c.js.map +0 -1
  525. package/lib/esm/CheckboxItem-ea3b44d8.js.map +0 -1
  526. package/lib/esm/ColorDotDropdown-f0126c86.js.map +0 -1
  527. package/lib/esm/ColorPicker-ca7c732c.js.map +0 -1
  528. package/lib/esm/ConfigurableInput-90ed2416.js.map +0 -1
  529. package/lib/esm/ConfirmModal-f5bc8ef4.js.map +0 -1
  530. package/lib/esm/ConfirmationModal-fec2be48.js.map +0 -1
  531. package/lib/esm/CountyDropdown-e3af1542.js.map +0 -1
  532. package/lib/esm/CreditCardInput-5c5135f3.js.map +0 -1
  533. package/lib/esm/CurrencyInput-c869b1cb.js.map +0 -1
  534. package/lib/esm/DescriptiveSwitchMenu-cbb47b80.js.map +0 -1
  535. package/lib/esm/DropdownInput-894e3d7a.js.map +0 -1
  536. package/lib/esm/EmailInput-32bd8b8a.js.map +0 -1
  537. package/lib/esm/FiltersBar-2a734d5f.js.map +0 -1
  538. package/lib/esm/IconSwitcher-7db68c59.js.map +0 -1
  539. package/lib/esm/IconTile-0c6fc83e.js.map +0 -1
  540. package/lib/esm/InlineCurrencyInput-1cc1fed2.js.map +0 -1
  541. package/lib/esm/InlineDropdown-1cc6090f.js.map +0 -1
  542. package/lib/esm/InlineEmailInput-091066d0.js.map +0 -1
  543. package/lib/esm/Input-c4ca5490.js.map +0 -1
  544. package/lib/esm/LogoSidebar-0a0b8c94.js.map +0 -1
  545. package/lib/esm/PhoneInput-b24c3298.js.map +0 -1
  546. package/lib/esm/Radio-bcba286a.js.map +0 -1
  547. package/lib/esm/RadioGroup-316e2368.js.map +0 -1
  548. package/lib/esm/RadioItem-66b2fe64.js.map +0 -1
  549. package/lib/esm/SearchInput-6bfc27c4.js.map +0 -1
  550. package/lib/esm/StateDropdown-8c7fd95c.js.map +0 -1
  551. package/lib/esm/StatusDropdown-3a7af3cb.js.map +0 -1
  552. package/lib/esm/Table-a135dcaa.js +0 -1137
  553. package/lib/esm/Table-a135dcaa.js.map +0 -1
  554. package/lib/esm/TableFiltersPanel-44bae887.js.map +0 -1
  555. package/lib/esm/ToggleGroup-87825bf3.js.map +0 -1
  556. package/lib/esm/ToggleItem-60a9909b.js.map +0 -1
  557. package/lib/esm/Typography-e1cfe4d5.js.map +0 -1
  558. package/lib/esm/useMeasureWatchResize-7859b559.js.map +0 -1
  559. package/lib/types/src/assets/icons/Vms.d.ts +0 -2
@@ -3,8 +3,9 @@
3
3
  var tslib_es6 = require('./tslib.es6-e6f346c4.js');
4
4
  var React = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var Input = require('./Input-ae515514.js');
7
- var InlineInput = require('./InlineInput-32236399.js');
6
+ var _commonjsHelpers = require('./_commonjsHelpers-b3309d7b.js');
7
+ var Input = require('./Input-d1fd386c.js');
8
+ var InlineInput = require('./InlineInput-b5f03319.js');
8
9
  var styled = require('styled-components');
9
10
  var BodyLEmphasis = require('./BodyLEmphasis.cjs');
10
11
  var stateAbbreviationLookup = require('./stateAbbreviationLookup.cjs');
@@ -13,8 +14,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
14
 
14
15
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
15
16
 
16
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
17
-
18
17
  var dist = {};
19
18
 
20
19
  var PlacesAutocomplete$1 = {};
@@ -33,12 +32,20 @@ var reactIs_production_min = {};
33
32
  * This source code is licensed under the MIT license found in the
34
33
  * LICENSE file in the root directory of this source tree.
35
34
  */
35
+
36
+ var hasRequiredReactIs_production_min;
37
+
38
+ function requireReactIs_production_min () {
39
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
40
+ hasRequiredReactIs_production_min = 1;
36
41
  var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
37
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
38
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
39
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
40
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
41
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
42
+ Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
43
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
44
+ reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
45
+ reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
46
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
47
+ return reactIs_production_min;
48
+ }
42
49
 
43
50
  var reactIs_development = {};
44
51
 
@@ -51,180 +58,196 @@ var reactIs_development = {};
51
58
  * LICENSE file in the root directory of this source tree.
52
59
  */
53
60
 
61
+ var hasRequiredReactIs_development;
62
+
63
+ function requireReactIs_development () {
64
+ if (hasRequiredReactIs_development) return reactIs_development;
65
+ hasRequiredReactIs_development = 1;
66
+
67
+
68
+
69
+ if (process.env.NODE_ENV !== "production") {
70
+ (function() {
71
+
72
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
73
+ // nor polyfill, then a plain number is used for performance.
74
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
75
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
76
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
77
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
78
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
79
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
80
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
81
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
82
+ // (unstable) APIs that have been removed. Can we remove the symbols?
83
+
84
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
85
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
86
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
87
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
88
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
89
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
90
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
91
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
92
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
93
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
94
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
95
+
96
+ function isValidElementType(type) {
97
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
98
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
99
+ }
54
100
 
101
+ function typeOf(object) {
102
+ if (typeof object === 'object' && object !== null) {
103
+ var $$typeof = object.$$typeof;
104
+
105
+ switch ($$typeof) {
106
+ case REACT_ELEMENT_TYPE:
107
+ var type = object.type;
108
+
109
+ switch (type) {
110
+ case REACT_ASYNC_MODE_TYPE:
111
+ case REACT_CONCURRENT_MODE_TYPE:
112
+ case REACT_FRAGMENT_TYPE:
113
+ case REACT_PROFILER_TYPE:
114
+ case REACT_STRICT_MODE_TYPE:
115
+ case REACT_SUSPENSE_TYPE:
116
+ return type;
117
+
118
+ default:
119
+ var $$typeofType = type && type.$$typeof;
120
+
121
+ switch ($$typeofType) {
122
+ case REACT_CONTEXT_TYPE:
123
+ case REACT_FORWARD_REF_TYPE:
124
+ case REACT_LAZY_TYPE:
125
+ case REACT_MEMO_TYPE:
126
+ case REACT_PROVIDER_TYPE:
127
+ return $$typeofType;
128
+
129
+ default:
130
+ return $$typeof;
131
+ }
132
+
133
+ }
134
+
135
+ case REACT_PORTAL_TYPE:
136
+ return $$typeof;
137
+ }
138
+ }
139
+
140
+ return undefined;
141
+ } // AsyncMode is deprecated along with isAsyncMode
142
+
143
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
144
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
145
+ var ContextConsumer = REACT_CONTEXT_TYPE;
146
+ var ContextProvider = REACT_PROVIDER_TYPE;
147
+ var Element = REACT_ELEMENT_TYPE;
148
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
149
+ var Fragment = REACT_FRAGMENT_TYPE;
150
+ var Lazy = REACT_LAZY_TYPE;
151
+ var Memo = REACT_MEMO_TYPE;
152
+ var Portal = REACT_PORTAL_TYPE;
153
+ var Profiler = REACT_PROFILER_TYPE;
154
+ var StrictMode = REACT_STRICT_MODE_TYPE;
155
+ var Suspense = REACT_SUSPENSE_TYPE;
156
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
157
+
158
+ function isAsyncMode(object) {
159
+ {
160
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
161
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
162
+
163
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
164
+ }
165
+ }
166
+
167
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
168
+ }
169
+ function isConcurrentMode(object) {
170
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
171
+ }
172
+ function isContextConsumer(object) {
173
+ return typeOf(object) === REACT_CONTEXT_TYPE;
174
+ }
175
+ function isContextProvider(object) {
176
+ return typeOf(object) === REACT_PROVIDER_TYPE;
177
+ }
178
+ function isElement(object) {
179
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
180
+ }
181
+ function isForwardRef(object) {
182
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
183
+ }
184
+ function isFragment(object) {
185
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
186
+ }
187
+ function isLazy(object) {
188
+ return typeOf(object) === REACT_LAZY_TYPE;
189
+ }
190
+ function isMemo(object) {
191
+ return typeOf(object) === REACT_MEMO_TYPE;
192
+ }
193
+ function isPortal(object) {
194
+ return typeOf(object) === REACT_PORTAL_TYPE;
195
+ }
196
+ function isProfiler(object) {
197
+ return typeOf(object) === REACT_PROFILER_TYPE;
198
+ }
199
+ function isStrictMode(object) {
200
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
201
+ }
202
+ function isSuspense(object) {
203
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
204
+ }
55
205
 
56
- if (process.env.NODE_ENV !== "production") {
57
- (function() {
58
-
59
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
60
- // nor polyfill, then a plain number is used for performance.
61
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
62
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
63
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
64
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
65
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
66
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
67
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
68
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
69
- // (unstable) APIs that have been removed. Can we remove the symbols?
70
-
71
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
72
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
73
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
74
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
75
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
76
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
77
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
78
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
79
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
80
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
81
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
82
-
83
- function isValidElementType(type) {
84
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
85
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
206
+ reactIs_development.AsyncMode = AsyncMode;
207
+ reactIs_development.ConcurrentMode = ConcurrentMode;
208
+ reactIs_development.ContextConsumer = ContextConsumer;
209
+ reactIs_development.ContextProvider = ContextProvider;
210
+ reactIs_development.Element = Element;
211
+ reactIs_development.ForwardRef = ForwardRef;
212
+ reactIs_development.Fragment = Fragment;
213
+ reactIs_development.Lazy = Lazy;
214
+ reactIs_development.Memo = Memo;
215
+ reactIs_development.Portal = Portal;
216
+ reactIs_development.Profiler = Profiler;
217
+ reactIs_development.StrictMode = StrictMode;
218
+ reactIs_development.Suspense = Suspense;
219
+ reactIs_development.isAsyncMode = isAsyncMode;
220
+ reactIs_development.isConcurrentMode = isConcurrentMode;
221
+ reactIs_development.isContextConsumer = isContextConsumer;
222
+ reactIs_development.isContextProvider = isContextProvider;
223
+ reactIs_development.isElement = isElement;
224
+ reactIs_development.isForwardRef = isForwardRef;
225
+ reactIs_development.isFragment = isFragment;
226
+ reactIs_development.isLazy = isLazy;
227
+ reactIs_development.isMemo = isMemo;
228
+ reactIs_development.isPortal = isPortal;
229
+ reactIs_development.isProfiler = isProfiler;
230
+ reactIs_development.isStrictMode = isStrictMode;
231
+ reactIs_development.isSuspense = isSuspense;
232
+ reactIs_development.isValidElementType = isValidElementType;
233
+ reactIs_development.typeOf = typeOf;
234
+ })();
235
+ }
236
+ return reactIs_development;
86
237
  }
87
238
 
88
- function typeOf(object) {
89
- if (typeof object === 'object' && object !== null) {
90
- var $$typeof = object.$$typeof;
91
-
92
- switch ($$typeof) {
93
- case REACT_ELEMENT_TYPE:
94
- var type = object.type;
95
-
96
- switch (type) {
97
- case REACT_ASYNC_MODE_TYPE:
98
- case REACT_CONCURRENT_MODE_TYPE:
99
- case REACT_FRAGMENT_TYPE:
100
- case REACT_PROFILER_TYPE:
101
- case REACT_STRICT_MODE_TYPE:
102
- case REACT_SUSPENSE_TYPE:
103
- return type;
104
-
105
- default:
106
- var $$typeofType = type && type.$$typeof;
107
-
108
- switch ($$typeofType) {
109
- case REACT_CONTEXT_TYPE:
110
- case REACT_FORWARD_REF_TYPE:
111
- case REACT_LAZY_TYPE:
112
- case REACT_MEMO_TYPE:
113
- case REACT_PROVIDER_TYPE:
114
- return $$typeofType;
115
-
116
- default:
117
- return $$typeof;
118
- }
119
-
120
- }
121
-
122
- case REACT_PORTAL_TYPE:
123
- return $$typeof;
124
- }
125
- }
126
-
127
- return undefined;
128
- } // AsyncMode is deprecated along with isAsyncMode
129
-
130
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
131
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
132
- var ContextConsumer = REACT_CONTEXT_TYPE;
133
- var ContextProvider = REACT_PROVIDER_TYPE;
134
- var Element = REACT_ELEMENT_TYPE;
135
- var ForwardRef = REACT_FORWARD_REF_TYPE;
136
- var Fragment = REACT_FRAGMENT_TYPE;
137
- var Lazy = REACT_LAZY_TYPE;
138
- var Memo = REACT_MEMO_TYPE;
139
- var Portal = REACT_PORTAL_TYPE;
140
- var Profiler = REACT_PROFILER_TYPE;
141
- var StrictMode = REACT_STRICT_MODE_TYPE;
142
- var Suspense = REACT_SUSPENSE_TYPE;
143
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
144
-
145
- function isAsyncMode(object) {
146
- {
147
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
148
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
149
-
150
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
151
- }
152
- }
153
-
154
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
155
- }
156
- function isConcurrentMode(object) {
157
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
158
- }
159
- function isContextConsumer(object) {
160
- return typeOf(object) === REACT_CONTEXT_TYPE;
161
- }
162
- function isContextProvider(object) {
163
- return typeOf(object) === REACT_PROVIDER_TYPE;
164
- }
165
- function isElement(object) {
166
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
167
- }
168
- function isForwardRef(object) {
169
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
170
- }
171
- function isFragment(object) {
172
- return typeOf(object) === REACT_FRAGMENT_TYPE;
173
- }
174
- function isLazy(object) {
175
- return typeOf(object) === REACT_LAZY_TYPE;
176
- }
177
- function isMemo(object) {
178
- return typeOf(object) === REACT_MEMO_TYPE;
179
- }
180
- function isPortal(object) {
181
- return typeOf(object) === REACT_PORTAL_TYPE;
182
- }
183
- function isProfiler(object) {
184
- return typeOf(object) === REACT_PROFILER_TYPE;
185
- }
186
- function isStrictMode(object) {
187
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
188
- }
189
- function isSuspense(object) {
190
- return typeOf(object) === REACT_SUSPENSE_TYPE;
191
- }
239
+ var hasRequiredReactIs;
192
240
 
193
- reactIs_development.AsyncMode = AsyncMode;
194
- reactIs_development.ConcurrentMode = ConcurrentMode;
195
- reactIs_development.ContextConsumer = ContextConsumer;
196
- reactIs_development.ContextProvider = ContextProvider;
197
- reactIs_development.Element = Element;
198
- reactIs_development.ForwardRef = ForwardRef;
199
- reactIs_development.Fragment = Fragment;
200
- reactIs_development.Lazy = Lazy;
201
- reactIs_development.Memo = Memo;
202
- reactIs_development.Portal = Portal;
203
- reactIs_development.Profiler = Profiler;
204
- reactIs_development.StrictMode = StrictMode;
205
- reactIs_development.Suspense = Suspense;
206
- reactIs_development.isAsyncMode = isAsyncMode;
207
- reactIs_development.isConcurrentMode = isConcurrentMode;
208
- reactIs_development.isContextConsumer = isContextConsumer;
209
- reactIs_development.isContextProvider = isContextProvider;
210
- reactIs_development.isElement = isElement;
211
- reactIs_development.isForwardRef = isForwardRef;
212
- reactIs_development.isFragment = isFragment;
213
- reactIs_development.isLazy = isLazy;
214
- reactIs_development.isMemo = isMemo;
215
- reactIs_development.isPortal = isPortal;
216
- reactIs_development.isProfiler = isProfiler;
217
- reactIs_development.isStrictMode = isStrictMode;
218
- reactIs_development.isSuspense = isSuspense;
219
- reactIs_development.isValidElementType = isValidElementType;
220
- reactIs_development.typeOf = typeOf;
221
- })();
222
- }
241
+ function requireReactIs () {
242
+ if (hasRequiredReactIs) return reactIs.exports;
243
+ hasRequiredReactIs = 1;
223
244
 
224
- if (process.env.NODE_ENV === 'production') {
225
- reactIs.exports = reactIs_production_min;
226
- } else {
227
- reactIs.exports = reactIs_development;
245
+ if (process.env.NODE_ENV === 'production') {
246
+ reactIs.exports = requireReactIs_production_min();
247
+ } else {
248
+ reactIs.exports = requireReactIs_development();
249
+ }
250
+ return reactIs.exports;
228
251
  }
229
252
 
230
253
  /*
@@ -232,89 +255,98 @@ object-assign
232
255
  (c) Sindre Sorhus
233
256
  @license MIT
234
257
  */
235
- /* eslint-disable no-unused-vars */
236
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
237
- var hasOwnProperty = Object.prototype.hasOwnProperty;
238
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
239
-
240
- function toObject(val) {
241
- if (val === null || val === undefined) {
242
- throw new TypeError('Object.assign cannot be called with null or undefined');
243
- }
244
258
 
245
- return Object(val);
246
- }
259
+ var objectAssign;
260
+ var hasRequiredObjectAssign;
247
261
 
248
- function shouldUseNative() {
249
- try {
250
- if (!Object.assign) {
251
- return false;
262
+ function requireObjectAssign () {
263
+ if (hasRequiredObjectAssign) return objectAssign;
264
+ hasRequiredObjectAssign = 1;
265
+ /* eslint-disable no-unused-vars */
266
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
267
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
268
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
269
+
270
+ function toObject(val) {
271
+ if (val === null || val === undefined) {
272
+ throw new TypeError('Object.assign cannot be called with null or undefined');
252
273
  }
253
274
 
254
- // Detect buggy property enumeration order in older V8 versions.
275
+ return Object(val);
276
+ }
255
277
 
256
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
257
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
258
- test1[5] = 'de';
259
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
260
- return false;
261
- }
278
+ function shouldUseNative() {
279
+ try {
280
+ if (!Object.assign) {
281
+ return false;
282
+ }
262
283
 
263
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
264
- var test2 = {};
265
- for (var i = 0; i < 10; i++) {
266
- test2['_' + String.fromCharCode(i)] = i;
267
- }
268
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
269
- return test2[n];
270
- });
271
- if (order2.join('') !== '0123456789') {
272
- return false;
273
- }
284
+ // Detect buggy property enumeration order in older V8 versions.
285
+
286
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
287
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
288
+ test1[5] = 'de';
289
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
290
+ return false;
291
+ }
292
+
293
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
294
+ var test2 = {};
295
+ for (var i = 0; i < 10; i++) {
296
+ test2['_' + String.fromCharCode(i)] = i;
297
+ }
298
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
299
+ return test2[n];
300
+ });
301
+ if (order2.join('') !== '0123456789') {
302
+ return false;
303
+ }
304
+
305
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
306
+ var test3 = {};
307
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
308
+ test3[letter] = letter;
309
+ });
310
+ if (Object.keys(Object.assign({}, test3)).join('') !==
311
+ 'abcdefghijklmnopqrst') {
312
+ return false;
313
+ }
274
314
 
275
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
276
- var test3 = {};
277
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
278
- test3[letter] = letter;
279
- });
280
- if (Object.keys(Object.assign({}, test3)).join('') !==
281
- 'abcdefghijklmnopqrst') {
315
+ return true;
316
+ } catch (err) {
317
+ // We don't expect any of the above to throw, but better to be safe.
282
318
  return false;
283
319
  }
284
-
285
- return true;
286
- } catch (err) {
287
- // We don't expect any of the above to throw, but better to be safe.
288
- return false;
289
320
  }
290
- }
291
321
 
292
- var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
293
- var from;
294
- var to = toObject(target);
295
- var symbols;
322
+ objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
323
+ var from;
324
+ var to = toObject(target);
325
+ var symbols;
296
326
 
297
- for (var s = 1; s < arguments.length; s++) {
298
- from = Object(arguments[s]);
327
+ for (var s = 1; s < arguments.length; s++) {
328
+ from = Object(arguments[s]);
299
329
 
300
- for (var key in from) {
301
- if (hasOwnProperty.call(from, key)) {
302
- to[key] = from[key];
330
+ for (var key in from) {
331
+ if (hasOwnProperty.call(from, key)) {
332
+ to[key] = from[key];
333
+ }
303
334
  }
304
- }
305
335
 
306
- if (getOwnPropertySymbols) {
307
- symbols = getOwnPropertySymbols(from);
308
- for (var i = 0; i < symbols.length; i++) {
309
- if (propIsEnumerable.call(from, symbols[i])) {
310
- to[symbols[i]] = from[symbols[i]];
336
+ if (getOwnPropertySymbols) {
337
+ symbols = getOwnPropertySymbols(from);
338
+ for (var i = 0; i < symbols.length; i++) {
339
+ if (propIsEnumerable.call(from, symbols[i])) {
340
+ to[symbols[i]] = from[symbols[i]];
341
+ }
311
342
  }
312
343
  }
313
344
  }
314
- }
315
345
 
316
- return to;
317
- };
346
+ return to;
347
+ };
348
+ return objectAssign;
349
+ }
318
350
 
319
351
  /**
320
352
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -323,113 +355,139 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
323
355
  * LICENSE file in the root directory of this source tree.
324
356
  */
325
357
 
326
- var ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
358
+ var ReactPropTypesSecret_1;
359
+ var hasRequiredReactPropTypesSecret;
327
360
 
328
- var ReactPropTypesSecret_1 = ReactPropTypesSecret$3;
361
+ function requireReactPropTypesSecret () {
362
+ if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
363
+ hasRequiredReactPropTypesSecret = 1;
329
364
 
330
- var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
365
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
331
366
 
332
- /**
333
- * Copyright (c) 2013-present, Facebook, Inc.
334
- *
335
- * This source code is licensed under the MIT license found in the
336
- * LICENSE file in the root directory of this source tree.
337
- */
367
+ ReactPropTypesSecret_1 = ReactPropTypesSecret;
368
+ return ReactPropTypesSecret_1;
369
+ }
338
370
 
339
- var printWarning$1 = function() {};
371
+ var has;
372
+ var hasRequiredHas;
340
373
 
341
- if (process.env.NODE_ENV !== 'production') {
342
- var ReactPropTypesSecret$2 = ReactPropTypesSecret_1;
343
- var loggedTypeFailures = {};
344
- var has$1 = has$2;
345
-
346
- printWarning$1 = function(text) {
347
- var message = 'Warning: ' + text;
348
- if (typeof console !== 'undefined') {
349
- console.error(message);
350
- }
351
- try {
352
- // --- Welcome to debugging React ---
353
- // This error was thrown as a convenience so that you can use this stack
354
- // to find the callsite that caused this warning to fire.
355
- throw new Error(message);
356
- } catch (x) { /**/ }
357
- };
374
+ function requireHas () {
375
+ if (hasRequiredHas) return has;
376
+ hasRequiredHas = 1;
377
+ has = Function.call.bind(Object.prototype.hasOwnProperty);
378
+ return has;
358
379
  }
359
380
 
360
381
  /**
361
- * Assert that the values match with the type specs.
362
- * Error messages are memorized and will only be shown once.
382
+ * Copyright (c) 2013-present, Facebook, Inc.
363
383
  *
364
- * @param {object} typeSpecs Map of name to a ReactPropType
365
- * @param {object} values Runtime values that need to be type-checked
366
- * @param {string} location e.g. "prop", "context", "child context"
367
- * @param {string} componentName Name of the component for error messages.
368
- * @param {?Function} getStack Returns the component stack.
369
- * @private
384
+ * This source code is licensed under the MIT license found in the
385
+ * LICENSE file in the root directory of this source tree.
370
386
  */
371
- function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
372
- if (process.env.NODE_ENV !== 'production') {
373
- for (var typeSpecName in typeSpecs) {
374
- if (has$1(typeSpecs, typeSpecName)) {
375
- var error;
376
- // Prop type validation may throw. In case they do, we don't want to
377
- // fail the render phase where it didn't fail before. So we log it.
378
- // After these have been cleaned up, we'll let them throw.
379
- try {
380
- // This is intentionally an invariant that gets caught. It's the same
381
- // behavior as without this statement except with a better message.
382
- if (typeof typeSpecs[typeSpecName] !== 'function') {
383
- var err = Error(
384
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
385
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
386
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
387
- );
388
- err.name = 'Invariant Violation';
389
- throw err;
390
- }
391
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$2);
392
- } catch (ex) {
393
- error = ex;
394
- }
395
- if (error && !(error instanceof Error)) {
396
- printWarning$1(
397
- (componentName || 'React class') + ': type specification of ' +
398
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
399
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
400
- 'You may have forgotten to pass an argument to the type checker ' +
401
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
402
- 'shape all require an argument).'
403
- );
404
- }
405
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
406
- // Only monitor this failure once because there tends to be a lot of the
407
- // same error.
408
- loggedTypeFailures[error.message] = true;
409
-
410
- var stack = getStack ? getStack() : '';
411
387
 
412
- printWarning$1(
413
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
414
- );
415
- }
416
- }
417
- }
418
- }
419
- }
388
+ var checkPropTypes_1;
389
+ var hasRequiredCheckPropTypes;
390
+
391
+ function requireCheckPropTypes () {
392
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
393
+ hasRequiredCheckPropTypes = 1;
394
+
395
+ var printWarning = function() {};
396
+
397
+ if (process.env.NODE_ENV !== 'production') {
398
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
399
+ var loggedTypeFailures = {};
400
+ var has = requireHas();
401
+
402
+ printWarning = function(text) {
403
+ var message = 'Warning: ' + text;
404
+ if (typeof console !== 'undefined') {
405
+ console.error(message);
406
+ }
407
+ try {
408
+ // --- Welcome to debugging React ---
409
+ // This error was thrown as a convenience so that you can use this stack
410
+ // to find the callsite that caused this warning to fire.
411
+ throw new Error(message);
412
+ } catch (x) { /**/ }
413
+ };
414
+ }
420
415
 
421
- /**
422
- * Resets warning cache when testing.
423
- *
424
- * @private
425
- */
426
- checkPropTypes$1.resetWarningCache = function() {
427
- if (process.env.NODE_ENV !== 'production') {
428
- loggedTypeFailures = {};
429
- }
430
- };
416
+ /**
417
+ * Assert that the values match with the type specs.
418
+ * Error messages are memorized and will only be shown once.
419
+ *
420
+ * @param {object} typeSpecs Map of name to a ReactPropType
421
+ * @param {object} values Runtime values that need to be type-checked
422
+ * @param {string} location e.g. "prop", "context", "child context"
423
+ * @param {string} componentName Name of the component for error messages.
424
+ * @param {?Function} getStack Returns the component stack.
425
+ * @private
426
+ */
427
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
428
+ if (process.env.NODE_ENV !== 'production') {
429
+ for (var typeSpecName in typeSpecs) {
430
+ if (has(typeSpecs, typeSpecName)) {
431
+ var error;
432
+ // Prop type validation may throw. In case they do, we don't want to
433
+ // fail the render phase where it didn't fail before. So we log it.
434
+ // After these have been cleaned up, we'll let them throw.
435
+ try {
436
+ // This is intentionally an invariant that gets caught. It's the same
437
+ // behavior as without this statement except with a better message.
438
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
439
+ var err = Error(
440
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
441
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
442
+ 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
443
+ );
444
+ err.name = 'Invariant Violation';
445
+ throw err;
446
+ }
447
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
448
+ } catch (ex) {
449
+ error = ex;
450
+ }
451
+ if (error && !(error instanceof Error)) {
452
+ printWarning(
453
+ (componentName || 'React class') + ': type specification of ' +
454
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
455
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
456
+ 'You may have forgotten to pass an argument to the type checker ' +
457
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
458
+ 'shape all require an argument).'
459
+ );
460
+ }
461
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
462
+ // Only monitor this failure once because there tends to be a lot of the
463
+ // same error.
464
+ loggedTypeFailures[error.message] = true;
465
+
466
+ var stack = getStack ? getStack() : '';
467
+
468
+ printWarning(
469
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
470
+ );
471
+ }
472
+ }
473
+ }
474
+ }
475
+ }
431
476
 
432
- var checkPropTypes_1 = checkPropTypes$1;
477
+ /**
478
+ * Resets warning cache when testing.
479
+ *
480
+ * @private
481
+ */
482
+ checkPropTypes.resetWarningCache = function() {
483
+ if (process.env.NODE_ENV !== 'production') {
484
+ loggedTypeFailures = {};
485
+ }
486
+ };
487
+
488
+ checkPropTypes_1 = checkPropTypes;
489
+ return checkPropTypes_1;
490
+ }
433
491
 
434
492
  /**
435
493
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -438,608 +496,617 @@ var checkPropTypes_1 = checkPropTypes$1;
438
496
  * LICENSE file in the root directory of this source tree.
439
497
  */
440
498
 
441
- var ReactIs$1 = reactIs.exports;
442
- var assign = objectAssign;
443
-
444
- var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
445
- var has = has$2;
446
- var checkPropTypes = checkPropTypes_1;
447
-
448
- var printWarning = function() {};
499
+ var factoryWithTypeCheckers;
500
+ var hasRequiredFactoryWithTypeCheckers;
501
+
502
+ function requireFactoryWithTypeCheckers () {
503
+ if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
504
+ hasRequiredFactoryWithTypeCheckers = 1;
505
+
506
+ var ReactIs = requireReactIs();
507
+ var assign = requireObjectAssign();
508
+
509
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
510
+ var has = requireHas();
511
+ var checkPropTypes = requireCheckPropTypes();
512
+
513
+ var printWarning = function() {};
514
+
515
+ if (process.env.NODE_ENV !== 'production') {
516
+ printWarning = function(text) {
517
+ var message = 'Warning: ' + text;
518
+ if (typeof console !== 'undefined') {
519
+ console.error(message);
520
+ }
521
+ try {
522
+ // --- Welcome to debugging React ---
523
+ // This error was thrown as a convenience so that you can use this stack
524
+ // to find the callsite that caused this warning to fire.
525
+ throw new Error(message);
526
+ } catch (x) {}
527
+ };
528
+ }
449
529
 
450
- if (process.env.NODE_ENV !== 'production') {
451
- printWarning = function(text) {
452
- var message = 'Warning: ' + text;
453
- if (typeof console !== 'undefined') {
454
- console.error(message);
455
- }
456
- try {
457
- // --- Welcome to debugging React ---
458
- // This error was thrown as a convenience so that you can use this stack
459
- // to find the callsite that caused this warning to fire.
460
- throw new Error(message);
461
- } catch (x) {}
462
- };
463
- }
530
+ function emptyFunctionThatReturnsNull() {
531
+ return null;
532
+ }
464
533
 
465
- function emptyFunctionThatReturnsNull() {
466
- return null;
534
+ factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
535
+ /* global Symbol */
536
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
537
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
538
+
539
+ /**
540
+ * Returns the iterator method function contained on the iterable object.
541
+ *
542
+ * Be sure to invoke the function with the iterable as context:
543
+ *
544
+ * var iteratorFn = getIteratorFn(myIterable);
545
+ * if (iteratorFn) {
546
+ * var iterator = iteratorFn.call(myIterable);
547
+ * ...
548
+ * }
549
+ *
550
+ * @param {?object} maybeIterable
551
+ * @return {?function}
552
+ */
553
+ function getIteratorFn(maybeIterable) {
554
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
555
+ if (typeof iteratorFn === 'function') {
556
+ return iteratorFn;
557
+ }
558
+ }
559
+
560
+ /**
561
+ * Collection of methods that allow declaration and validation of props that are
562
+ * supplied to React components. Example usage:
563
+ *
564
+ * var Props = require('ReactPropTypes');
565
+ * var MyArticle = React.createClass({
566
+ * propTypes: {
567
+ * // An optional string prop named "description".
568
+ * description: Props.string,
569
+ *
570
+ * // A required enum prop named "category".
571
+ * category: Props.oneOf(['News','Photos']).isRequired,
572
+ *
573
+ * // A prop named "dialog" that requires an instance of Dialog.
574
+ * dialog: Props.instanceOf(Dialog).isRequired
575
+ * },
576
+ * render: function() { ... }
577
+ * });
578
+ *
579
+ * A more formal specification of how these methods are used:
580
+ *
581
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
582
+ * decl := ReactPropTypes.{type}(.isRequired)?
583
+ *
584
+ * Each and every declaration produces a function with the same signature. This
585
+ * allows the creation of custom validation functions. For example:
586
+ *
587
+ * var MyLink = React.createClass({
588
+ * propTypes: {
589
+ * // An optional string or URI prop named "href".
590
+ * href: function(props, propName, componentName) {
591
+ * var propValue = props[propName];
592
+ * if (propValue != null && typeof propValue !== 'string' &&
593
+ * !(propValue instanceof URI)) {
594
+ * return new Error(
595
+ * 'Expected a string or an URI for ' + propName + ' in ' +
596
+ * componentName
597
+ * );
598
+ * }
599
+ * }
600
+ * },
601
+ * render: function() {...}
602
+ * });
603
+ *
604
+ * @internal
605
+ */
606
+
607
+ var ANONYMOUS = '<<anonymous>>';
608
+
609
+ // Important!
610
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
611
+ var ReactPropTypes = {
612
+ array: createPrimitiveTypeChecker('array'),
613
+ bigint: createPrimitiveTypeChecker('bigint'),
614
+ bool: createPrimitiveTypeChecker('boolean'),
615
+ func: createPrimitiveTypeChecker('function'),
616
+ number: createPrimitiveTypeChecker('number'),
617
+ object: createPrimitiveTypeChecker('object'),
618
+ string: createPrimitiveTypeChecker('string'),
619
+ symbol: createPrimitiveTypeChecker('symbol'),
620
+
621
+ any: createAnyTypeChecker(),
622
+ arrayOf: createArrayOfTypeChecker,
623
+ element: createElementTypeChecker(),
624
+ elementType: createElementTypeTypeChecker(),
625
+ instanceOf: createInstanceTypeChecker,
626
+ node: createNodeChecker(),
627
+ objectOf: createObjectOfTypeChecker,
628
+ oneOf: createEnumTypeChecker,
629
+ oneOfType: createUnionTypeChecker,
630
+ shape: createShapeTypeChecker,
631
+ exact: createStrictShapeTypeChecker,
632
+ };
633
+
634
+ /**
635
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
636
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
637
+ */
638
+ /*eslint-disable no-self-compare*/
639
+ function is(x, y) {
640
+ // SameValue algorithm
641
+ if (x === y) {
642
+ // Steps 1-5, 7-10
643
+ // Steps 6.b-6.e: +0 != -0
644
+ return x !== 0 || 1 / x === 1 / y;
645
+ } else {
646
+ // Step 6.a: NaN == NaN
647
+ return x !== x && y !== y;
648
+ }
649
+ }
650
+ /*eslint-enable no-self-compare*/
651
+
652
+ /**
653
+ * We use an Error-like object for backward compatibility as people may call
654
+ * PropTypes directly and inspect their output. However, we don't use real
655
+ * Errors anymore. We don't inspect their stack anyway, and creating them
656
+ * is prohibitively expensive if they are created too often, such as what
657
+ * happens in oneOfType() for any type before the one that matched.
658
+ */
659
+ function PropTypeError(message, data) {
660
+ this.message = message;
661
+ this.data = data && typeof data === 'object' ? data: {};
662
+ this.stack = '';
663
+ }
664
+ // Make `instanceof Error` still work for returned errors.
665
+ PropTypeError.prototype = Error.prototype;
666
+
667
+ function createChainableTypeChecker(validate) {
668
+ if (process.env.NODE_ENV !== 'production') {
669
+ var manualPropTypeCallCache = {};
670
+ var manualPropTypeWarningCount = 0;
671
+ }
672
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
673
+ componentName = componentName || ANONYMOUS;
674
+ propFullName = propFullName || propName;
675
+
676
+ if (secret !== ReactPropTypesSecret) {
677
+ if (throwOnDirectAccess) {
678
+ // New behavior only for users of `prop-types` package
679
+ var err = new Error(
680
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
681
+ 'Use `PropTypes.checkPropTypes()` to call them. ' +
682
+ 'Read more at http://fb.me/use-check-prop-types'
683
+ );
684
+ err.name = 'Invariant Violation';
685
+ throw err;
686
+ } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
687
+ // Old behavior for people using React.PropTypes
688
+ var cacheKey = componentName + ':' + propName;
689
+ if (
690
+ !manualPropTypeCallCache[cacheKey] &&
691
+ // Avoid spamming the console because they are often not actionable except for lib authors
692
+ manualPropTypeWarningCount < 3
693
+ ) {
694
+ printWarning(
695
+ 'You are manually calling a React.PropTypes validation ' +
696
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
697
+ 'and will throw in the standalone `prop-types` package. ' +
698
+ 'You may be seeing this warning due to a third-party PropTypes ' +
699
+ 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
700
+ );
701
+ manualPropTypeCallCache[cacheKey] = true;
702
+ manualPropTypeWarningCount++;
703
+ }
704
+ }
705
+ }
706
+ if (props[propName] == null) {
707
+ if (isRequired) {
708
+ if (props[propName] === null) {
709
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
710
+ }
711
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
712
+ }
713
+ return null;
714
+ } else {
715
+ return validate(props, propName, componentName, location, propFullName);
716
+ }
717
+ }
718
+
719
+ var chainedCheckType = checkType.bind(null, false);
720
+ chainedCheckType.isRequired = checkType.bind(null, true);
721
+
722
+ return chainedCheckType;
723
+ }
724
+
725
+ function createPrimitiveTypeChecker(expectedType) {
726
+ function validate(props, propName, componentName, location, propFullName, secret) {
727
+ var propValue = props[propName];
728
+ var propType = getPropType(propValue);
729
+ if (propType !== expectedType) {
730
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
731
+ // check, but we can offer a more precise error message here rather than
732
+ // 'of type `object`'.
733
+ var preciseType = getPreciseType(propValue);
734
+
735
+ return new PropTypeError(
736
+ 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
737
+ {expectedType: expectedType}
738
+ );
739
+ }
740
+ return null;
741
+ }
742
+ return createChainableTypeChecker(validate);
743
+ }
744
+
745
+ function createAnyTypeChecker() {
746
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
747
+ }
748
+
749
+ function createArrayOfTypeChecker(typeChecker) {
750
+ function validate(props, propName, componentName, location, propFullName) {
751
+ if (typeof typeChecker !== 'function') {
752
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
753
+ }
754
+ var propValue = props[propName];
755
+ if (!Array.isArray(propValue)) {
756
+ var propType = getPropType(propValue);
757
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
758
+ }
759
+ for (var i = 0; i < propValue.length; i++) {
760
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
761
+ if (error instanceof Error) {
762
+ return error;
763
+ }
764
+ }
765
+ return null;
766
+ }
767
+ return createChainableTypeChecker(validate);
768
+ }
769
+
770
+ function createElementTypeChecker() {
771
+ function validate(props, propName, componentName, location, propFullName) {
772
+ var propValue = props[propName];
773
+ if (!isValidElement(propValue)) {
774
+ var propType = getPropType(propValue);
775
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
776
+ }
777
+ return null;
778
+ }
779
+ return createChainableTypeChecker(validate);
780
+ }
781
+
782
+ function createElementTypeTypeChecker() {
783
+ function validate(props, propName, componentName, location, propFullName) {
784
+ var propValue = props[propName];
785
+ if (!ReactIs.isValidElementType(propValue)) {
786
+ var propType = getPropType(propValue);
787
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
788
+ }
789
+ return null;
790
+ }
791
+ return createChainableTypeChecker(validate);
792
+ }
793
+
794
+ function createInstanceTypeChecker(expectedClass) {
795
+ function validate(props, propName, componentName, location, propFullName) {
796
+ if (!(props[propName] instanceof expectedClass)) {
797
+ var expectedClassName = expectedClass.name || ANONYMOUS;
798
+ var actualClassName = getClassName(props[propName]);
799
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
800
+ }
801
+ return null;
802
+ }
803
+ return createChainableTypeChecker(validate);
804
+ }
805
+
806
+ function createEnumTypeChecker(expectedValues) {
807
+ if (!Array.isArray(expectedValues)) {
808
+ if (process.env.NODE_ENV !== 'production') {
809
+ if (arguments.length > 1) {
810
+ printWarning(
811
+ 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
812
+ 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
813
+ );
814
+ } else {
815
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
816
+ }
817
+ }
818
+ return emptyFunctionThatReturnsNull;
819
+ }
820
+
821
+ function validate(props, propName, componentName, location, propFullName) {
822
+ var propValue = props[propName];
823
+ for (var i = 0; i < expectedValues.length; i++) {
824
+ if (is(propValue, expectedValues[i])) {
825
+ return null;
826
+ }
827
+ }
828
+
829
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
830
+ var type = getPreciseType(value);
831
+ if (type === 'symbol') {
832
+ return String(value);
833
+ }
834
+ return value;
835
+ });
836
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
837
+ }
838
+ return createChainableTypeChecker(validate);
839
+ }
840
+
841
+ function createObjectOfTypeChecker(typeChecker) {
842
+ function validate(props, propName, componentName, location, propFullName) {
843
+ if (typeof typeChecker !== 'function') {
844
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
845
+ }
846
+ var propValue = props[propName];
847
+ var propType = getPropType(propValue);
848
+ if (propType !== 'object') {
849
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
850
+ }
851
+ for (var key in propValue) {
852
+ if (has(propValue, key)) {
853
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
854
+ if (error instanceof Error) {
855
+ return error;
856
+ }
857
+ }
858
+ }
859
+ return null;
860
+ }
861
+ return createChainableTypeChecker(validate);
862
+ }
863
+
864
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
865
+ if (!Array.isArray(arrayOfTypeCheckers)) {
866
+ process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
867
+ return emptyFunctionThatReturnsNull;
868
+ }
869
+
870
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
871
+ var checker = arrayOfTypeCheckers[i];
872
+ if (typeof checker !== 'function') {
873
+ printWarning(
874
+ 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
875
+ 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
876
+ );
877
+ return emptyFunctionThatReturnsNull;
878
+ }
879
+ }
880
+
881
+ function validate(props, propName, componentName, location, propFullName) {
882
+ var expectedTypes = [];
883
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
884
+ var checker = arrayOfTypeCheckers[i];
885
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
886
+ if (checkerResult == null) {
887
+ return null;
888
+ }
889
+ if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
890
+ expectedTypes.push(checkerResult.data.expectedType);
891
+ }
892
+ }
893
+ var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
894
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
895
+ }
896
+ return createChainableTypeChecker(validate);
897
+ }
898
+
899
+ function createNodeChecker() {
900
+ function validate(props, propName, componentName, location, propFullName) {
901
+ if (!isNode(props[propName])) {
902
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
903
+ }
904
+ return null;
905
+ }
906
+ return createChainableTypeChecker(validate);
907
+ }
908
+
909
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
910
+ return new PropTypeError(
911
+ (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
912
+ 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
913
+ );
914
+ }
915
+
916
+ function createShapeTypeChecker(shapeTypes) {
917
+ function validate(props, propName, componentName, location, propFullName) {
918
+ var propValue = props[propName];
919
+ var propType = getPropType(propValue);
920
+ if (propType !== 'object') {
921
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
922
+ }
923
+ for (var key in shapeTypes) {
924
+ var checker = shapeTypes[key];
925
+ if (typeof checker !== 'function') {
926
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
927
+ }
928
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
929
+ if (error) {
930
+ return error;
931
+ }
932
+ }
933
+ return null;
934
+ }
935
+ return createChainableTypeChecker(validate);
936
+ }
937
+
938
+ function createStrictShapeTypeChecker(shapeTypes) {
939
+ function validate(props, propName, componentName, location, propFullName) {
940
+ var propValue = props[propName];
941
+ var propType = getPropType(propValue);
942
+ if (propType !== 'object') {
943
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
944
+ }
945
+ // We need to check all keys in case some are required but missing from props.
946
+ var allKeys = assign({}, props[propName], shapeTypes);
947
+ for (var key in allKeys) {
948
+ var checker = shapeTypes[key];
949
+ if (has(shapeTypes, key) && typeof checker !== 'function') {
950
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
951
+ }
952
+ if (!checker) {
953
+ return new PropTypeError(
954
+ 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
955
+ '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
956
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
957
+ );
958
+ }
959
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
960
+ if (error) {
961
+ return error;
962
+ }
963
+ }
964
+ return null;
965
+ }
966
+
967
+ return createChainableTypeChecker(validate);
968
+ }
969
+
970
+ function isNode(propValue) {
971
+ switch (typeof propValue) {
972
+ case 'number':
973
+ case 'string':
974
+ case 'undefined':
975
+ return true;
976
+ case 'boolean':
977
+ return !propValue;
978
+ case 'object':
979
+ if (Array.isArray(propValue)) {
980
+ return propValue.every(isNode);
981
+ }
982
+ if (propValue === null || isValidElement(propValue)) {
983
+ return true;
984
+ }
985
+
986
+ var iteratorFn = getIteratorFn(propValue);
987
+ if (iteratorFn) {
988
+ var iterator = iteratorFn.call(propValue);
989
+ var step;
990
+ if (iteratorFn !== propValue.entries) {
991
+ while (!(step = iterator.next()).done) {
992
+ if (!isNode(step.value)) {
993
+ return false;
994
+ }
995
+ }
996
+ } else {
997
+ // Iterator will provide entry [k,v] tuples rather than values.
998
+ while (!(step = iterator.next()).done) {
999
+ var entry = step.value;
1000
+ if (entry) {
1001
+ if (!isNode(entry[1])) {
1002
+ return false;
1003
+ }
1004
+ }
1005
+ }
1006
+ }
1007
+ } else {
1008
+ return false;
1009
+ }
1010
+
1011
+ return true;
1012
+ default:
1013
+ return false;
1014
+ }
1015
+ }
1016
+
1017
+ function isSymbol(propType, propValue) {
1018
+ // Native Symbol.
1019
+ if (propType === 'symbol') {
1020
+ return true;
1021
+ }
1022
+
1023
+ // falsy value can't be a Symbol
1024
+ if (!propValue) {
1025
+ return false;
1026
+ }
1027
+
1028
+ // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
1029
+ if (propValue['@@toStringTag'] === 'Symbol') {
1030
+ return true;
1031
+ }
1032
+
1033
+ // Fallback for non-spec compliant Symbols which are polyfilled.
1034
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
1035
+ return true;
1036
+ }
1037
+
1038
+ return false;
1039
+ }
1040
+
1041
+ // Equivalent of `typeof` but with special handling for array and regexp.
1042
+ function getPropType(propValue) {
1043
+ var propType = typeof propValue;
1044
+ if (Array.isArray(propValue)) {
1045
+ return 'array';
1046
+ }
1047
+ if (propValue instanceof RegExp) {
1048
+ // Old webkits (at least until Android 4.0) return 'function' rather than
1049
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1050
+ // passes PropTypes.object.
1051
+ return 'object';
1052
+ }
1053
+ if (isSymbol(propType, propValue)) {
1054
+ return 'symbol';
1055
+ }
1056
+ return propType;
1057
+ }
1058
+
1059
+ // This handles more types than `getPropType`. Only used for error messages.
1060
+ // See `createPrimitiveTypeChecker`.
1061
+ function getPreciseType(propValue) {
1062
+ if (typeof propValue === 'undefined' || propValue === null) {
1063
+ return '' + propValue;
1064
+ }
1065
+ var propType = getPropType(propValue);
1066
+ if (propType === 'object') {
1067
+ if (propValue instanceof Date) {
1068
+ return 'date';
1069
+ } else if (propValue instanceof RegExp) {
1070
+ return 'regexp';
1071
+ }
1072
+ }
1073
+ return propType;
1074
+ }
1075
+
1076
+ // Returns a string that is postfixed to a warning about an invalid type.
1077
+ // For example, "undefined" or "of type array"
1078
+ function getPostfixForTypeWarning(value) {
1079
+ var type = getPreciseType(value);
1080
+ switch (type) {
1081
+ case 'array':
1082
+ case 'object':
1083
+ return 'an ' + type;
1084
+ case 'boolean':
1085
+ case 'date':
1086
+ case 'regexp':
1087
+ return 'a ' + type;
1088
+ default:
1089
+ return type;
1090
+ }
1091
+ }
1092
+
1093
+ // Returns class name of the object, if any.
1094
+ function getClassName(propValue) {
1095
+ if (!propValue.constructor || !propValue.constructor.name) {
1096
+ return ANONYMOUS;
1097
+ }
1098
+ return propValue.constructor.name;
1099
+ }
1100
+
1101
+ ReactPropTypes.checkPropTypes = checkPropTypes;
1102
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1103
+ ReactPropTypes.PropTypes = ReactPropTypes;
1104
+
1105
+ return ReactPropTypes;
1106
+ };
1107
+ return factoryWithTypeCheckers;
467
1108
  }
468
1109
 
469
- var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
470
- /* global Symbol */
471
- var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
472
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
473
-
474
- /**
475
- * Returns the iterator method function contained on the iterable object.
476
- *
477
- * Be sure to invoke the function with the iterable as context:
478
- *
479
- * var iteratorFn = getIteratorFn(myIterable);
480
- * if (iteratorFn) {
481
- * var iterator = iteratorFn.call(myIterable);
482
- * ...
483
- * }
484
- *
485
- * @param {?object} maybeIterable
486
- * @return {?function}
487
- */
488
- function getIteratorFn(maybeIterable) {
489
- var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
490
- if (typeof iteratorFn === 'function') {
491
- return iteratorFn;
492
- }
493
- }
494
-
495
- /**
496
- * Collection of methods that allow declaration and validation of props that are
497
- * supplied to React components. Example usage:
498
- *
499
- * var Props = require('ReactPropTypes');
500
- * var MyArticle = React.createClass({
501
- * propTypes: {
502
- * // An optional string prop named "description".
503
- * description: Props.string,
504
- *
505
- * // A required enum prop named "category".
506
- * category: Props.oneOf(['News','Photos']).isRequired,
507
- *
508
- * // A prop named "dialog" that requires an instance of Dialog.
509
- * dialog: Props.instanceOf(Dialog).isRequired
510
- * },
511
- * render: function() { ... }
512
- * });
513
- *
514
- * A more formal specification of how these methods are used:
515
- *
516
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
517
- * decl := ReactPropTypes.{type}(.isRequired)?
518
- *
519
- * Each and every declaration produces a function with the same signature. This
520
- * allows the creation of custom validation functions. For example:
521
- *
522
- * var MyLink = React.createClass({
523
- * propTypes: {
524
- * // An optional string or URI prop named "href".
525
- * href: function(props, propName, componentName) {
526
- * var propValue = props[propName];
527
- * if (propValue != null && typeof propValue !== 'string' &&
528
- * !(propValue instanceof URI)) {
529
- * return new Error(
530
- * 'Expected a string or an URI for ' + propName + ' in ' +
531
- * componentName
532
- * );
533
- * }
534
- * }
535
- * },
536
- * render: function() {...}
537
- * });
538
- *
539
- * @internal
540
- */
541
-
542
- var ANONYMOUS = '<<anonymous>>';
543
-
544
- // Important!
545
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
546
- var ReactPropTypes = {
547
- array: createPrimitiveTypeChecker('array'),
548
- bigint: createPrimitiveTypeChecker('bigint'),
549
- bool: createPrimitiveTypeChecker('boolean'),
550
- func: createPrimitiveTypeChecker('function'),
551
- number: createPrimitiveTypeChecker('number'),
552
- object: createPrimitiveTypeChecker('object'),
553
- string: createPrimitiveTypeChecker('string'),
554
- symbol: createPrimitiveTypeChecker('symbol'),
555
-
556
- any: createAnyTypeChecker(),
557
- arrayOf: createArrayOfTypeChecker,
558
- element: createElementTypeChecker(),
559
- elementType: createElementTypeTypeChecker(),
560
- instanceOf: createInstanceTypeChecker,
561
- node: createNodeChecker(),
562
- objectOf: createObjectOfTypeChecker,
563
- oneOf: createEnumTypeChecker,
564
- oneOfType: createUnionTypeChecker,
565
- shape: createShapeTypeChecker,
566
- exact: createStrictShapeTypeChecker,
567
- };
568
-
569
- /**
570
- * inlined Object.is polyfill to avoid requiring consumers ship their own
571
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
572
- */
573
- /*eslint-disable no-self-compare*/
574
- function is(x, y) {
575
- // SameValue algorithm
576
- if (x === y) {
577
- // Steps 1-5, 7-10
578
- // Steps 6.b-6.e: +0 != -0
579
- return x !== 0 || 1 / x === 1 / y;
580
- } else {
581
- // Step 6.a: NaN == NaN
582
- return x !== x && y !== y;
583
- }
584
- }
585
- /*eslint-enable no-self-compare*/
586
-
587
- /**
588
- * We use an Error-like object for backward compatibility as people may call
589
- * PropTypes directly and inspect their output. However, we don't use real
590
- * Errors anymore. We don't inspect their stack anyway, and creating them
591
- * is prohibitively expensive if they are created too often, such as what
592
- * happens in oneOfType() for any type before the one that matched.
593
- */
594
- function PropTypeError(message, data) {
595
- this.message = message;
596
- this.data = data && typeof data === 'object' ? data: {};
597
- this.stack = '';
598
- }
599
- // Make `instanceof Error` still work for returned errors.
600
- PropTypeError.prototype = Error.prototype;
601
-
602
- function createChainableTypeChecker(validate) {
603
- if (process.env.NODE_ENV !== 'production') {
604
- var manualPropTypeCallCache = {};
605
- var manualPropTypeWarningCount = 0;
606
- }
607
- function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
608
- componentName = componentName || ANONYMOUS;
609
- propFullName = propFullName || propName;
610
-
611
- if (secret !== ReactPropTypesSecret$1) {
612
- if (throwOnDirectAccess) {
613
- // New behavior only for users of `prop-types` package
614
- var err = new Error(
615
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
616
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
617
- 'Read more at http://fb.me/use-check-prop-types'
618
- );
619
- err.name = 'Invariant Violation';
620
- throw err;
621
- } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
622
- // Old behavior for people using React.PropTypes
623
- var cacheKey = componentName + ':' + propName;
624
- if (
625
- !manualPropTypeCallCache[cacheKey] &&
626
- // Avoid spamming the console because they are often not actionable except for lib authors
627
- manualPropTypeWarningCount < 3
628
- ) {
629
- printWarning(
630
- 'You are manually calling a React.PropTypes validation ' +
631
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
632
- 'and will throw in the standalone `prop-types` package. ' +
633
- 'You may be seeing this warning due to a third-party PropTypes ' +
634
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
635
- );
636
- manualPropTypeCallCache[cacheKey] = true;
637
- manualPropTypeWarningCount++;
638
- }
639
- }
640
- }
641
- if (props[propName] == null) {
642
- if (isRequired) {
643
- if (props[propName] === null) {
644
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
645
- }
646
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
647
- }
648
- return null;
649
- } else {
650
- return validate(props, propName, componentName, location, propFullName);
651
- }
652
- }
653
-
654
- var chainedCheckType = checkType.bind(null, false);
655
- chainedCheckType.isRequired = checkType.bind(null, true);
656
-
657
- return chainedCheckType;
658
- }
659
-
660
- function createPrimitiveTypeChecker(expectedType) {
661
- function validate(props, propName, componentName, location, propFullName, secret) {
662
- var propValue = props[propName];
663
- var propType = getPropType(propValue);
664
- if (propType !== expectedType) {
665
- // `propValue` being instance of, say, date/regexp, pass the 'object'
666
- // check, but we can offer a more precise error message here rather than
667
- // 'of type `object`'.
668
- var preciseType = getPreciseType(propValue);
669
-
670
- return new PropTypeError(
671
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
672
- {expectedType: expectedType}
673
- );
674
- }
675
- return null;
676
- }
677
- return createChainableTypeChecker(validate);
678
- }
679
-
680
- function createAnyTypeChecker() {
681
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
682
- }
683
-
684
- function createArrayOfTypeChecker(typeChecker) {
685
- function validate(props, propName, componentName, location, propFullName) {
686
- if (typeof typeChecker !== 'function') {
687
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
688
- }
689
- var propValue = props[propName];
690
- if (!Array.isArray(propValue)) {
691
- var propType = getPropType(propValue);
692
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
693
- }
694
- for (var i = 0; i < propValue.length; i++) {
695
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
696
- if (error instanceof Error) {
697
- return error;
698
- }
699
- }
700
- return null;
701
- }
702
- return createChainableTypeChecker(validate);
703
- }
704
-
705
- function createElementTypeChecker() {
706
- function validate(props, propName, componentName, location, propFullName) {
707
- var propValue = props[propName];
708
- if (!isValidElement(propValue)) {
709
- var propType = getPropType(propValue);
710
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
711
- }
712
- return null;
713
- }
714
- return createChainableTypeChecker(validate);
715
- }
716
-
717
- function createElementTypeTypeChecker() {
718
- function validate(props, propName, componentName, location, propFullName) {
719
- var propValue = props[propName];
720
- if (!ReactIs$1.isValidElementType(propValue)) {
721
- var propType = getPropType(propValue);
722
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
723
- }
724
- return null;
725
- }
726
- return createChainableTypeChecker(validate);
727
- }
728
-
729
- function createInstanceTypeChecker(expectedClass) {
730
- function validate(props, propName, componentName, location, propFullName) {
731
- if (!(props[propName] instanceof expectedClass)) {
732
- var expectedClassName = expectedClass.name || ANONYMOUS;
733
- var actualClassName = getClassName(props[propName]);
734
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
735
- }
736
- return null;
737
- }
738
- return createChainableTypeChecker(validate);
739
- }
740
-
741
- function createEnumTypeChecker(expectedValues) {
742
- if (!Array.isArray(expectedValues)) {
743
- if (process.env.NODE_ENV !== 'production') {
744
- if (arguments.length > 1) {
745
- printWarning(
746
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
747
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
748
- );
749
- } else {
750
- printWarning('Invalid argument supplied to oneOf, expected an array.');
751
- }
752
- }
753
- return emptyFunctionThatReturnsNull;
754
- }
755
-
756
- function validate(props, propName, componentName, location, propFullName) {
757
- var propValue = props[propName];
758
- for (var i = 0; i < expectedValues.length; i++) {
759
- if (is(propValue, expectedValues[i])) {
760
- return null;
761
- }
762
- }
763
-
764
- var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
765
- var type = getPreciseType(value);
766
- if (type === 'symbol') {
767
- return String(value);
768
- }
769
- return value;
770
- });
771
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
772
- }
773
- return createChainableTypeChecker(validate);
774
- }
775
-
776
- function createObjectOfTypeChecker(typeChecker) {
777
- function validate(props, propName, componentName, location, propFullName) {
778
- if (typeof typeChecker !== 'function') {
779
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
780
- }
781
- var propValue = props[propName];
782
- var propType = getPropType(propValue);
783
- if (propType !== 'object') {
784
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
785
- }
786
- for (var key in propValue) {
787
- if (has(propValue, key)) {
788
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
789
- if (error instanceof Error) {
790
- return error;
791
- }
792
- }
793
- }
794
- return null;
795
- }
796
- return createChainableTypeChecker(validate);
797
- }
798
-
799
- function createUnionTypeChecker(arrayOfTypeCheckers) {
800
- if (!Array.isArray(arrayOfTypeCheckers)) {
801
- process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
802
- return emptyFunctionThatReturnsNull;
803
- }
804
-
805
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
806
- var checker = arrayOfTypeCheckers[i];
807
- if (typeof checker !== 'function') {
808
- printWarning(
809
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
810
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
811
- );
812
- return emptyFunctionThatReturnsNull;
813
- }
814
- }
815
-
816
- function validate(props, propName, componentName, location, propFullName) {
817
- var expectedTypes = [];
818
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
819
- var checker = arrayOfTypeCheckers[i];
820
- var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
821
- if (checkerResult == null) {
822
- return null;
823
- }
824
- if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
825
- expectedTypes.push(checkerResult.data.expectedType);
826
- }
827
- }
828
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
829
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
830
- }
831
- return createChainableTypeChecker(validate);
832
- }
833
-
834
- function createNodeChecker() {
835
- function validate(props, propName, componentName, location, propFullName) {
836
- if (!isNode(props[propName])) {
837
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
838
- }
839
- return null;
840
- }
841
- return createChainableTypeChecker(validate);
842
- }
843
-
844
- function invalidValidatorError(componentName, location, propFullName, key, type) {
845
- return new PropTypeError(
846
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
847
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
848
- );
849
- }
850
-
851
- function createShapeTypeChecker(shapeTypes) {
852
- function validate(props, propName, componentName, location, propFullName) {
853
- var propValue = props[propName];
854
- var propType = getPropType(propValue);
855
- if (propType !== 'object') {
856
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
857
- }
858
- for (var key in shapeTypes) {
859
- var checker = shapeTypes[key];
860
- if (typeof checker !== 'function') {
861
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
862
- }
863
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
864
- if (error) {
865
- return error;
866
- }
867
- }
868
- return null;
869
- }
870
- return createChainableTypeChecker(validate);
871
- }
872
-
873
- function createStrictShapeTypeChecker(shapeTypes) {
874
- function validate(props, propName, componentName, location, propFullName) {
875
- var propValue = props[propName];
876
- var propType = getPropType(propValue);
877
- if (propType !== 'object') {
878
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
879
- }
880
- // We need to check all keys in case some are required but missing from props.
881
- var allKeys = assign({}, props[propName], shapeTypes);
882
- for (var key in allKeys) {
883
- var checker = shapeTypes[key];
884
- if (has(shapeTypes, key) && typeof checker !== 'function') {
885
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
886
- }
887
- if (!checker) {
888
- return new PropTypeError(
889
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
890
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
891
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
892
- );
893
- }
894
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
895
- if (error) {
896
- return error;
897
- }
898
- }
899
- return null;
900
- }
901
-
902
- return createChainableTypeChecker(validate);
903
- }
904
-
905
- function isNode(propValue) {
906
- switch (typeof propValue) {
907
- case 'number':
908
- case 'string':
909
- case 'undefined':
910
- return true;
911
- case 'boolean':
912
- return !propValue;
913
- case 'object':
914
- if (Array.isArray(propValue)) {
915
- return propValue.every(isNode);
916
- }
917
- if (propValue === null || isValidElement(propValue)) {
918
- return true;
919
- }
920
-
921
- var iteratorFn = getIteratorFn(propValue);
922
- if (iteratorFn) {
923
- var iterator = iteratorFn.call(propValue);
924
- var step;
925
- if (iteratorFn !== propValue.entries) {
926
- while (!(step = iterator.next()).done) {
927
- if (!isNode(step.value)) {
928
- return false;
929
- }
930
- }
931
- } else {
932
- // Iterator will provide entry [k,v] tuples rather than values.
933
- while (!(step = iterator.next()).done) {
934
- var entry = step.value;
935
- if (entry) {
936
- if (!isNode(entry[1])) {
937
- return false;
938
- }
939
- }
940
- }
941
- }
942
- } else {
943
- return false;
944
- }
945
-
946
- return true;
947
- default:
948
- return false;
949
- }
950
- }
951
-
952
- function isSymbol(propType, propValue) {
953
- // Native Symbol.
954
- if (propType === 'symbol') {
955
- return true;
956
- }
957
-
958
- // falsy value can't be a Symbol
959
- if (!propValue) {
960
- return false;
961
- }
962
-
963
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
964
- if (propValue['@@toStringTag'] === 'Symbol') {
965
- return true;
966
- }
967
-
968
- // Fallback for non-spec compliant Symbols which are polyfilled.
969
- if (typeof Symbol === 'function' && propValue instanceof Symbol) {
970
- return true;
971
- }
972
-
973
- return false;
974
- }
975
-
976
- // Equivalent of `typeof` but with special handling for array and regexp.
977
- function getPropType(propValue) {
978
- var propType = typeof propValue;
979
- if (Array.isArray(propValue)) {
980
- return 'array';
981
- }
982
- if (propValue instanceof RegExp) {
983
- // Old webkits (at least until Android 4.0) return 'function' rather than
984
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
985
- // passes PropTypes.object.
986
- return 'object';
987
- }
988
- if (isSymbol(propType, propValue)) {
989
- return 'symbol';
990
- }
991
- return propType;
992
- }
993
-
994
- // This handles more types than `getPropType`. Only used for error messages.
995
- // See `createPrimitiveTypeChecker`.
996
- function getPreciseType(propValue) {
997
- if (typeof propValue === 'undefined' || propValue === null) {
998
- return '' + propValue;
999
- }
1000
- var propType = getPropType(propValue);
1001
- if (propType === 'object') {
1002
- if (propValue instanceof Date) {
1003
- return 'date';
1004
- } else if (propValue instanceof RegExp) {
1005
- return 'regexp';
1006
- }
1007
- }
1008
- return propType;
1009
- }
1010
-
1011
- // Returns a string that is postfixed to a warning about an invalid type.
1012
- // For example, "undefined" or "of type array"
1013
- function getPostfixForTypeWarning(value) {
1014
- var type = getPreciseType(value);
1015
- switch (type) {
1016
- case 'array':
1017
- case 'object':
1018
- return 'an ' + type;
1019
- case 'boolean':
1020
- case 'date':
1021
- case 'regexp':
1022
- return 'a ' + type;
1023
- default:
1024
- return type;
1025
- }
1026
- }
1027
-
1028
- // Returns class name of the object, if any.
1029
- function getClassName(propValue) {
1030
- if (!propValue.constructor || !propValue.constructor.name) {
1031
- return ANONYMOUS;
1032
- }
1033
- return propValue.constructor.name;
1034
- }
1035
-
1036
- ReactPropTypes.checkPropTypes = checkPropTypes;
1037
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1038
- ReactPropTypes.PropTypes = ReactPropTypes;
1039
-
1040
- return ReactPropTypes;
1041
- };
1042
-
1043
1110
  /**
1044
1111
  * Copyright (c) 2013-present, Facebook, Inc.
1045
1112
  *
@@ -1047,60 +1114,69 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
1047
1114
  * LICENSE file in the root directory of this source tree.
1048
1115
  */
1049
1116
 
1050
- var ReactPropTypesSecret = ReactPropTypesSecret_1;
1051
-
1052
- function emptyFunction() {}
1053
- function emptyFunctionWithReset() {}
1054
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
1055
-
1056
- var factoryWithThrowingShims = function() {
1057
- function shim(props, propName, componentName, location, propFullName, secret) {
1058
- if (secret === ReactPropTypesSecret) {
1059
- // It is still safe when called from React.
1060
- return;
1061
- }
1062
- var err = new Error(
1063
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1064
- 'Use PropTypes.checkPropTypes() to call them. ' +
1065
- 'Read more at http://fb.me/use-check-prop-types'
1066
- );
1067
- err.name = 'Invariant Violation';
1068
- throw err;
1069
- } shim.isRequired = shim;
1070
- function getShim() {
1071
- return shim;
1072
- } // Important!
1073
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1074
- var ReactPropTypes = {
1075
- array: shim,
1076
- bigint: shim,
1077
- bool: shim,
1078
- func: shim,
1079
- number: shim,
1080
- object: shim,
1081
- string: shim,
1082
- symbol: shim,
1083
-
1084
- any: shim,
1085
- arrayOf: getShim,
1086
- element: shim,
1087
- elementType: shim,
1088
- instanceOf: getShim,
1089
- node: shim,
1090
- objectOf: getShim,
1091
- oneOf: getShim,
1092
- oneOfType: getShim,
1093
- shape: getShim,
1094
- exact: getShim,
1095
-
1096
- checkPropTypes: emptyFunctionWithReset,
1097
- resetWarningCache: emptyFunction
1098
- };
1099
-
1100
- ReactPropTypes.PropTypes = ReactPropTypes;
1101
-
1102
- return ReactPropTypes;
1103
- };
1117
+ var factoryWithThrowingShims;
1118
+ var hasRequiredFactoryWithThrowingShims;
1119
+
1120
+ function requireFactoryWithThrowingShims () {
1121
+ if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
1122
+ hasRequiredFactoryWithThrowingShims = 1;
1123
+
1124
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
1125
+
1126
+ function emptyFunction() {}
1127
+ function emptyFunctionWithReset() {}
1128
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
1129
+
1130
+ factoryWithThrowingShims = function() {
1131
+ function shim(props, propName, componentName, location, propFullName, secret) {
1132
+ if (secret === ReactPropTypesSecret) {
1133
+ // It is still safe when called from React.
1134
+ return;
1135
+ }
1136
+ var err = new Error(
1137
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1138
+ 'Use PropTypes.checkPropTypes() to call them. ' +
1139
+ 'Read more at http://fb.me/use-check-prop-types'
1140
+ );
1141
+ err.name = 'Invariant Violation';
1142
+ throw err;
1143
+ } shim.isRequired = shim;
1144
+ function getShim() {
1145
+ return shim;
1146
+ } // Important!
1147
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1148
+ var ReactPropTypes = {
1149
+ array: shim,
1150
+ bigint: shim,
1151
+ bool: shim,
1152
+ func: shim,
1153
+ number: shim,
1154
+ object: shim,
1155
+ string: shim,
1156
+ symbol: shim,
1157
+
1158
+ any: shim,
1159
+ arrayOf: getShim,
1160
+ element: shim,
1161
+ elementType: shim,
1162
+ instanceOf: getShim,
1163
+ node: shim,
1164
+ objectOf: getShim,
1165
+ oneOf: getShim,
1166
+ oneOfType: getShim,
1167
+ shape: getShim,
1168
+ exact: getShim,
1169
+
1170
+ checkPropTypes: emptyFunctionWithReset,
1171
+ resetWarningCache: emptyFunction
1172
+ };
1173
+
1174
+ ReactPropTypes.PropTypes = ReactPropTypes;
1175
+
1176
+ return ReactPropTypes;
1177
+ };
1178
+ return factoryWithThrowingShims;
1179
+ }
1104
1180
 
1105
1181
  /**
1106
1182
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -1110,18 +1186,20 @@ var factoryWithThrowingShims = function() {
1110
1186
  */
1111
1187
 
1112
1188
  if (process.env.NODE_ENV !== 'production') {
1113
- var ReactIs = reactIs.exports;
1189
+ var ReactIs = requireReactIs();
1114
1190
 
1115
1191
  // By explicitly using `prop-types` you are opting into new development behavior.
1116
1192
  // http://fb.me/prop-types-in-prod
1117
1193
  var throwOnDirectAccess = true;
1118
- propTypes.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
1194
+ propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1119
1195
  } else {
1120
1196
  // By explicitly using `prop-types` you are opting into new production behavior.
1121
1197
  // http://fb.me/prop-types-in-prod
1122
- propTypes.exports = factoryWithThrowingShims();
1198
+ propTypes.exports = requireFactoryWithThrowingShims()();
1123
1199
  }
1124
1200
 
1201
+ var propTypesExports = propTypes.exports;
1202
+
1125
1203
  /**
1126
1204
  * lodash (Custom Build) <https://lodash.com/>
1127
1205
  * Build: `lodash modularize exports="npm" -o ./`
@@ -1156,7 +1234,7 @@ var reIsOctal = /^0o[0-7]+$/i;
1156
1234
  var freeParseInt = parseInt;
1157
1235
 
1158
1236
  /** Detect free variable `global` from Node.js. */
1159
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
1237
+ var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == 'object' && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
1160
1238
 
1161
1239
  /** Detect free variable `self`. */
1162
1240
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
@@ -1546,7 +1624,7 @@ var _react = React__default["default"];
1546
1624
 
1547
1625
  var _react2 = _interopRequireDefault$1(_react);
1548
1626
 
1549
- var _propTypes = propTypes.exports;
1627
+ var _propTypes = propTypesExports;
1550
1628
 
1551
1629
  var _propTypes2 = _interopRequireDefault$1(_propTypes);
1552
1630
 
@@ -2152,4 +2230,4 @@ AddressInput.defaultProps = {
2152
2230
  };
2153
2231
 
2154
2232
  exports.AddressInput = AddressInput;
2155
- //# sourceMappingURL=AddressInput-a192ebc6.js.map
2233
+ //# sourceMappingURL=AddressInput-c28e1b52.js.map