@zonos/amino 4.4.33 → 5.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 (823) hide show
  1. package/{FlagIndex-d4385066.js → FlagIndex-0f673e1c.js} +1 -1
  2. package/_tslib-ccfac372.js +1 -0
  3. package/all.d.ts +0 -1
  4. package/animations/DropdownAnimation.js +1 -1
  5. package/components/alert-dialog/AlertContext.d.ts +1 -1
  6. package/components/alert-dialog/AlertContext.js +1 -1
  7. package/components/alert-dialog/AlertDialog.d.ts +1 -1
  8. package/components/alert-dialog/AlertDialog.js +1 -1
  9. package/components/alert-dialog/useAlert.js +1 -1
  10. package/components/announcement-dialog/AnnouncementDialog.js +1 -1
  11. package/components/avatar/AvatarBase.d.ts +1 -1
  12. package/components/avatar/AvatarBase.js +1 -1
  13. package/components/avatar/ImageAvatar.d.ts +1 -2
  14. package/components/avatar/ImageAvatar.js +1 -1
  15. package/components/avatar/UserAvatar.d.ts +1 -2
  16. package/components/avatar/UserAvatar.js +1 -1
  17. package/components/backdrop/Backdrop.js +1 -1
  18. package/components/badge/Badge.d.ts +1 -1
  19. package/components/badge/Badge.js +1 -1
  20. package/components/banner/Banner.d.ts +1 -1
  21. package/components/banner/Banner.js +1 -1
  22. package/components/button/Button.d.ts +1 -1
  23. package/components/button/Button.js +1 -1
  24. package/components/button/MenuButton.d.ts +1 -1
  25. package/components/button/MenuButton.js +1 -1
  26. package/components/button/RippleGroup.js +1 -1
  27. package/components/button/_Ripple.d.ts +1 -2
  28. package/components/card/Card.d.ts +1 -1
  29. package/components/card/Card.js +1 -1
  30. package/components/checkbox/Checkbox.d.ts +1 -1
  31. package/components/checkbox/Checkbox.js +1 -1
  32. package/components/collapse/Collapse.d.ts +1 -1
  33. package/components/collapse/Collapse.js +1 -1
  34. package/components/confirm-dialog/ConfirmContext.d.ts +1 -1
  35. package/components/confirm-dialog/ConfirmContext.js +1 -1
  36. package/components/confirm-dialog/ConfirmDialog.d.ts +1 -1
  37. package/components/confirm-dialog/ConfirmDialog.js +1 -1
  38. package/components/confirm-dialog/useConfirm.js +1 -1
  39. package/components/connection-map/ConnectionMap.d.ts +1 -2
  40. package/components/connection-map/ConnectionMap.js +1 -1
  41. package/components/cover-sheet/CoverSheet.js +1 -1
  42. package/components/cover-sheet/CoverSheetActions.js +1 -1
  43. package/components/currency/Currency.d.ts +1 -2
  44. package/components/currency/Currency.js +1 -1
  45. package/components/currency/DualCurrency.d.ts +1 -2
  46. package/components/currency/DualCurrency.js +1 -1
  47. package/components/danger-zone/DangerZone.d.ts +1 -2
  48. package/components/danger-zone/DangerZone.js +1 -1
  49. package/components/dialog/Dialog.js +1 -1
  50. package/components/dialog/_BaseDialog.js +1 -1
  51. package/components/divider/Divider.d.ts +1 -2
  52. package/components/divider/Divider.js +1 -1
  53. package/components/drop-zone/DropZone.d.ts +1 -2
  54. package/components/drop-zone/DropZone.js +1 -1
  55. package/components/file-upload/FileUpload.d.ts +1 -2
  56. package/components/file-upload/FileUpload.js +1 -1
  57. package/components/graph-matrix/GraphMatrix.d.ts +3 -3
  58. package/components/graph-matrix/GraphMatrix.js +1 -1
  59. package/components/graph-matrix/_Graphiql.js +1 -1
  60. package/components/graph-matrix/_GraphiqlContextWrapper.d.ts +1 -1
  61. package/components/graph-matrix/_LoadingIcon.d.ts +1 -2
  62. package/components/graph-matrix/_LoadingIcon.js +1 -1
  63. package/components/help-text/HelpText.d.ts +1 -1
  64. package/components/help-text/HelpText.js +1 -1
  65. package/components/input/Input.d.ts +1 -1
  66. package/components/input/Input.js +1 -1
  67. package/components/input/SearchInput.d.ts +1 -1
  68. package/components/input/SearchInput.js +1 -1
  69. package/components/input/input-type/_DateInput.d.ts +1 -2
  70. package/components/input/input-type/_DateInput.js +1 -1
  71. package/components/input/input-type/_FloatLabelInput.d.ts +1 -1
  72. package/components/input/input-type/_FloatLabelInput.js +1 -1
  73. package/components/input/input-type/_NumberInput.d.ts +1 -2
  74. package/components/input/input-type/_NumberInput.js +1 -1
  75. package/components/input/input-type/_PasswordInput.d.ts +1 -2
  76. package/components/input/input-type/_PasswordInput.js +1 -1
  77. package/components/input/input-type/_TimeInput.d.ts +1 -2
  78. package/components/input/input-type/_TimeInput.js +1 -1
  79. package/components/layout/Layout.d.ts +1 -1
  80. package/components/layout/Layout.js +1 -1
  81. package/components/layout/NavigationGroup.d.ts +3 -3
  82. package/components/layout/NavigationGroup.js +1 -1
  83. package/components/lightbox/LightBox.d.ts +1 -1
  84. package/components/lightbox/LightBox.js +1 -1
  85. package/components/list/CollapsibleList.d.ts +1 -1
  86. package/components/list/CollapsibleList.js +1 -1
  87. package/components/list/List.d.ts +1 -1
  88. package/components/list/List.js +1 -1
  89. package/components/list-item/ListItem.js +1 -1
  90. package/components/menu/Menu.js +1 -1
  91. package/components/menu/MenuItem.d.ts +1 -1
  92. package/components/menu/MenuItem.js +1 -1
  93. package/components/nested-data-table/NestedDataTable.d.ts +5 -5
  94. package/components/nested-data-table/NestedDataTable.js +1 -1
  95. package/components/nested-data-table/NestedDataTableHasura.d.ts +1 -2
  96. package/components/nested-data-table/NestedDataTableHasura.js +1 -1
  97. package/components/nested-data-table/_Filter.d.ts +1 -2
  98. package/components/nested-data-table/_Filter.js +1 -1
  99. package/components/nested-data-table/_TableData.d.ts +4 -4
  100. package/components/nested-data-table/_TableData.js +1 -1
  101. package/components/night-mode-wrapper/NightModeWrapper.d.ts +1 -1
  102. package/components/night-mode-wrapper/NightModeWrapper.js +1 -1
  103. package/components/ownership-block/OwnershipBlock.d.ts +1 -2
  104. package/components/ownership-block/OwnershipBlock.js +1 -1
  105. package/components/pivot-table/PivotTable.d.ts +1 -2
  106. package/components/pivot-table/PivotTable.js +1 -1
  107. package/components/profile-icon/ProfileIcon.d.ts +1 -2
  108. package/components/profile-icon/ProfileIcon.js +1 -1
  109. package/components/radio/Radio.d.ts +1 -2
  110. package/components/radio/Radio.js +1 -1
  111. package/components/radio/RadioGroup.d.ts +1 -2
  112. package/components/radio/RadioGroup.js +1 -1
  113. package/components/rest-state/RestState.d.ts +1 -1
  114. package/components/rest-state/RestState.js +1 -1
  115. package/components/rich-card-select/RichCardStateSelect.d.ts +1 -2
  116. package/components/rich-card-select/RichCardStateSelect.js +1 -1
  117. package/components/rich-checkbox/RichCheckbox.d.ts +1 -1
  118. package/components/rich-checkbox/RichCheckbox.js +1 -1
  119. package/components/rich-radio/RichRadio.d.ts +1 -1
  120. package/components/rich-radio/RichRadio.js +1 -1
  121. package/components/rounded-icon/RoundedIcon.d.ts +1 -1
  122. package/components/rounded-icon/RoundedIcon.js +1 -1
  123. package/components/section/HSection.d.ts +1 -1
  124. package/components/section/HSection.js +1 -1
  125. package/components/section/VSection.d.ts +1 -1
  126. package/components/section/VSection.js +1 -1
  127. package/components/section/_SectionHeader.d.ts +1 -1
  128. package/components/section/_SectionHeader.js +1 -1
  129. package/components/section/_SectionInnerWrapper.d.ts +1 -1
  130. package/components/section/_SectionInnerWrapper.js +1 -1
  131. package/components/section/_SectionSubheader.d.ts +1 -1
  132. package/components/section/_SectionSubheader.js +1 -1
  133. package/components/select/CountryMultiSelect.d.ts +2 -2
  134. package/components/select/CountryMultiSelect.js +1 -1
  135. package/components/select/CountryPhoneSelect.d.ts +1 -1
  136. package/components/select/CountryPhoneSelect.js +1 -1
  137. package/components/select/CountrySelect.d.ts +1 -2
  138. package/components/select/CountrySelect.js +1 -1
  139. package/components/select/MultiSelect.d.ts +1 -1
  140. package/components/select/MultiSelect.js +1 -1
  141. package/components/select/Select.d.ts +1 -1
  142. package/components/select/Select.js +1 -1
  143. package/components/select/_StyledReactSelect.d.ts +2 -2
  144. package/components/select/_StyledReactSelect.js +1 -1
  145. package/components/skeleton/Skeleton.d.ts +1 -1
  146. package/components/skeleton/Skeleton.js +1 -1
  147. package/components/slide-over/SlideOver.d.ts +1 -1
  148. package/components/slide-over/SlideOver.js +1 -1
  149. package/components/slider/Slider.d.ts +1 -2
  150. package/components/slider/Slider.js +1 -1
  151. package/components/sortable-list/SortableList.d.ts +1 -1
  152. package/components/sortable-list/SortableList.js +1 -1
  153. package/components/sortable-list/SortableListItem.d.ts +1 -1
  154. package/components/sortable-list/SortableListItem.js +1 -1
  155. package/components/spinner/Spinner.d.ts +1 -2
  156. package/components/spinner/Spinner.js +1 -1
  157. package/components/split-panel/SplitPanel.d.ts +1 -1
  158. package/components/split-panel/SplitPanel.js +1 -1
  159. package/components/stack/HStack.d.ts +1 -2
  160. package/components/stack/HStack.js +1 -1
  161. package/components/stack/Stack.d.ts +2 -2
  162. package/components/stack/Stack.js +1 -1
  163. package/components/stack/VStack.d.ts +1 -2
  164. package/components/stack/VStack.js +1 -1
  165. package/components/styles/ColorPalette.d.ts +1 -2
  166. package/components/styles/ColorPalette.js +1 -1
  167. package/components/styles/Shadow.d.ts +1 -2
  168. package/components/styles/Shadow.js +1 -1
  169. package/components/surface/Surface.d.ts +1 -1
  170. package/components/surface/Surface.js +1 -1
  171. package/components/switch/Switch.d.ts +1 -1
  172. package/components/switch/Switch.js +1 -1
  173. package/components/table/Table.d.ts +1 -1
  174. package/components/table/Table.js +1 -1
  175. package/components/table/TableBody.d.ts +1 -1
  176. package/components/table/TableBody.js +1 -1
  177. package/components/table/TableCell.d.ts +1 -1
  178. package/components/table/TableCell.js +1 -1
  179. package/components/table/TableFooter.d.ts +1 -1
  180. package/components/table/TableFooter.js +1 -1
  181. package/components/table/TableHead.d.ts +1 -1
  182. package/components/table/TableHead.js +1 -1
  183. package/components/table/TableRow.d.ts +1 -1
  184. package/components/table/TableRow.js +1 -1
  185. package/components/table/TableRowCollapse.d.ts +1 -1
  186. package/components/table/TableRowCollapse.js +1 -1
  187. package/components/tabs/Tabs.d.ts +1 -2
  188. package/components/tabs/Tabs.js +1 -1
  189. package/components/tag/Tag.d.ts +1 -1
  190. package/components/tag/Tag.js +1 -1
  191. package/components/text/LegacyText.d.ts +1 -1
  192. package/components/text/LegacyText.js +1 -1
  193. package/components/text/Text.d.ts +6 -6
  194. package/components/text/Text.js +1 -1
  195. package/components/text-avatar/TextAvatar.d.ts +1 -2
  196. package/components/text-avatar/TextAvatar.js +1 -1
  197. package/components/textarea/Textarea.js +1 -1
  198. package/components/theme-select/ThemeSelect.d.ts +1 -2
  199. package/components/theme-select/ThemeSelect.js +1 -1
  200. package/components/thumbnail/Thumbnail.d.ts +1 -1
  201. package/components/thumbnail/Thumbnail.js +1 -1
  202. package/components/toast/Toast.d.ts +1 -1
  203. package/components/toast/Toast.js +1 -1
  204. package/components/toast/ToastContext.d.ts +1 -1
  205. package/components/toast/ToastContext.js +1 -1
  206. package/components/tooltip/Tooltip.d.ts +1 -1
  207. package/components/tooltip/Tooltip.js +1 -1
  208. package/graphiql.css +146 -393
  209. package/icons/ArrowDownDuotoneIcon.js +1 -1
  210. package/icons/ArrowDownIcon.js +1 -1
  211. package/icons/ArrowLeftDuotoneIcon.js +1 -1
  212. package/icons/ArrowLeftIcon.js +1 -1
  213. package/icons/ArrowRightDuotoneIcon.js +1 -1
  214. package/icons/ArrowRightIcon.js +1 -1
  215. package/icons/ArrowSwapDuotoneIcon.js +1 -1
  216. package/icons/ArrowSwapIcon.js +1 -1
  217. package/icons/ArrowUpDuotoneIcon.js +1 -1
  218. package/icons/ArrowUpIcon.js +1 -1
  219. package/icons/BagDuotoneIcon.js +1 -1
  220. package/icons/BagIcon.js +1 -1
  221. package/icons/BankDuotoneIcon.js +1 -1
  222. package/icons/BankIcon.js +1 -1
  223. package/icons/BellDuotoneIcon.js +1 -1
  224. package/icons/BellIcon.js +1 -1
  225. package/icons/BellOffDuotoneIcon.js +1 -1
  226. package/icons/BellOffIcon.js +1 -1
  227. package/icons/BookDuotoneIcon.js +1 -1
  228. package/icons/BookIcon.js +1 -1
  229. package/icons/BookmarkAddDuotoneIcon.js +1 -1
  230. package/icons/BookmarkAddIcon.js +1 -1
  231. package/icons/BookmarkCheckDuotoneIcon.js +1 -1
  232. package/icons/BookmarkCheckIcon.js +1 -1
  233. package/icons/BookmarkDuotoneIcon.js +1 -1
  234. package/icons/BookmarkIcon.js +1 -1
  235. package/icons/BookmarkOffDuotoneIcon.js +1 -1
  236. package/icons/BookmarkOffIcon.js +1 -1
  237. package/icons/BookmarkRemoveDuotoneIcon.js +1 -1
  238. package/icons/BookmarkRemoveIcon.js +1 -1
  239. package/icons/BookmarkSubtractDuotoneIcon.js +1 -1
  240. package/icons/BookmarkSubtractIcon.js +1 -1
  241. package/icons/BoxesDuotoneIcon.js +1 -1
  242. package/icons/BoxesIcon.js +1 -1
  243. package/icons/BufferDuotoneIcon.js +1 -1
  244. package/icons/BufferIcon.js +1 -1
  245. package/icons/CalculatorDuotoneIcon.js +1 -1
  246. package/icons/CalculatorIcon.js +1 -1
  247. package/icons/CalendarDuotoneIcon.js +1 -1
  248. package/icons/CalendarIcon.js +1 -1
  249. package/icons/CardDuotoneIcon.js +1 -1
  250. package/icons/CardIcon.js +1 -1
  251. package/icons/CaretDownDuotoneIcon.js +1 -1
  252. package/icons/CaretDownIcon.js +1 -1
  253. package/icons/CaretLeftDuotoneIcon.js +1 -1
  254. package/icons/CaretLeftIcon.js +1 -1
  255. package/icons/CaretRightDuotoneIcon.js +1 -1
  256. package/icons/CaretRightIcon.js +1 -1
  257. package/icons/CaretUpDuotoneIcon.js +1 -1
  258. package/icons/CaretUpIcon.js +1 -1
  259. package/icons/CartDuotoneIcon.js +1 -1
  260. package/icons/CartIcon.js +1 -1
  261. package/icons/ChartDuotoneIcon.js +1 -1
  262. package/icons/ChartIcon.js +1 -1
  263. package/icons/CheckCircleDuotoneIcon.js +1 -1
  264. package/icons/CheckCircleIcon.js +1 -1
  265. package/icons/CheckmarkDuotoneIcon.js +1 -1
  266. package/icons/CheckmarkIcon.js +1 -1
  267. package/icons/CheckoutDuotoneIcon.js +1 -1
  268. package/icons/CheckoutIcon.js +1 -1
  269. package/icons/ChevronDownCircleDuotoneIcon.js +1 -1
  270. package/icons/ChevronDownCircleIcon.js +1 -1
  271. package/icons/ChevronDownDuotoneIcon.js +1 -1
  272. package/icons/ChevronDownIcon.js +1 -1
  273. package/icons/ChevronLeftCircleDuotoneIcon.js +1 -1
  274. package/icons/ChevronLeftCircleIcon.js +1 -1
  275. package/icons/ChevronLeftDuotoneIcon.js +1 -1
  276. package/icons/ChevronLeftIcon.js +1 -1
  277. package/icons/ChevronRightCircleDuotoneIcon.js +1 -1
  278. package/icons/ChevronRightCircleIcon.js +1 -1
  279. package/icons/ChevronRightDuotoneIcon.js +1 -1
  280. package/icons/ChevronRightIcon.js +1 -1
  281. package/icons/ChevronUpCircleDuotoneIcon.js +1 -1
  282. package/icons/ChevronUpCircleIcon.js +1 -1
  283. package/icons/ChevronUpDuotoneIcon.js +1 -1
  284. package/icons/ChevronUpIcon.js +1 -1
  285. package/icons/CircleDuotoneIcon.js +1 -1
  286. package/icons/CircleIcon.js +1 -1
  287. package/icons/ClassifyDuotoneIcon.js +1 -1
  288. package/icons/ClassifyIcon.js +1 -1
  289. package/icons/ClearDuotoneIcon.js +1 -1
  290. package/icons/ClearIcon.js +1 -1
  291. package/icons/ClockDuotoneIcon.js +1 -1
  292. package/icons/ClockIcon.js +1 -1
  293. package/icons/CodeCircleDuotoneIcon.js +1 -1
  294. package/icons/CodeCircleIcon.js +1 -1
  295. package/icons/CodeDuotoneIcon.js +1 -1
  296. package/icons/CodeIcon.js +1 -1
  297. package/icons/CoinsDuotoneIcon.js +1 -1
  298. package/icons/CoinsIcon.js +1 -1
  299. package/icons/CommentDuotoneIcon.js +1 -1
  300. package/icons/CommentIcon.js +1 -1
  301. package/icons/CopyDuotoneIcon.js +1 -1
  302. package/icons/CopyIcon.js +1 -1
  303. package/icons/CubeDuotoneIcon.js +1 -1
  304. package/icons/CubeIcon.js +1 -1
  305. package/icons/DashboardDuotoneIcon.js +1 -1
  306. package/icons/DashboardIcon.js +1 -1
  307. package/icons/DiamondDuotoneIcon.js +1 -1
  308. package/icons/DiamondIcon.js +1 -1
  309. package/icons/DislikeDuotoneIcon.js +1 -1
  310. package/icons/DislikeIcon.js +1 -1
  311. package/icons/DocsDuotoneIcon.js +1 -1
  312. package/icons/DocsIcon.js +1 -1
  313. package/icons/DollarDuotoneIcon.js +1 -1
  314. package/icons/DollarIcon.js +1 -1
  315. package/icons/DoubleChevronDuotoneIcon.js +1 -1
  316. package/icons/DoubleChevronIcon.js +1 -1
  317. package/icons/DragDuotoneIcon.js +1 -1
  318. package/icons/DragIcon.js +1 -1
  319. package/icons/EditDuotoneIcon.js +1 -1
  320. package/icons/EditIcon.js +1 -1
  321. package/icons/ExclamationMarkDuotoneIcon.js +1 -1
  322. package/icons/ExclamationMarkIcon.js +1 -1
  323. package/icons/ExportDuotoneIcon.js +1 -1
  324. package/icons/ExportIcon.js +1 -1
  325. package/icons/ExternalDuotoneIcon.js +1 -1
  326. package/icons/ExternalIcon.js +1 -1
  327. package/icons/EyeDuotoneIcon.js +1 -1
  328. package/icons/EyeIcon.js +1 -1
  329. package/icons/EyeOffDuotoneIcon.js +1 -1
  330. package/icons/EyeOffIcon.js +1 -1
  331. package/icons/FileDuotoneIcon.js +1 -1
  332. package/icons/FileIcon.js +1 -1
  333. package/icons/FileUploadDuotoneIcon.js +1 -1
  334. package/icons/FileUploadIcon.js +1 -1
  335. package/icons/FilterDuotoneIcon.js +1 -1
  336. package/icons/FilterIcon.js +1 -1
  337. package/icons/FolderListDuotoneIcon.js +1 -1
  338. package/icons/FolderListIcon.js +1 -1
  339. package/icons/FolderUploadDuotoneIcon.js +1 -1
  340. package/icons/FolderUploadIcon.js +1 -1
  341. package/icons/GlobeDuotoneIcon.js +1 -1
  342. package/icons/GlobeIcon.js +1 -1
  343. package/icons/GraphQLDuotoneIcon.js +1 -1
  344. package/icons/GraphQLIcon.js +1 -1
  345. package/icons/GridDuotoneIcon.js +1 -1
  346. package/icons/GridIcon.js +1 -1
  347. package/icons/HelloDuotoneIcon.js +1 -1
  348. package/icons/HelloIcon.js +1 -1
  349. package/icons/HelpDuotoneIcon.js +1 -1
  350. package/icons/HelpIcon.js +1 -1
  351. package/icons/HexagonDuotoneIcon.js +1 -1
  352. package/icons/HexagonIcon.js +1 -1
  353. package/icons/HomeDuotoneIcon.js +1 -1
  354. package/icons/HomeIcon.js +1 -1
  355. package/icons/IconIndex.js +1 -1
  356. package/icons/ImageDuotoneIcon.js +1 -1
  357. package/icons/ImageIcon.js +1 -1
  358. package/icons/ImportDuotoneIcon.js +1 -1
  359. package/icons/ImportIcon.js +1 -1
  360. package/icons/InfoDuotoneIcon.js +1 -1
  361. package/icons/InfoIcon.js +1 -1
  362. package/icons/IntegrationDuotoneIcon.js +1 -1
  363. package/icons/IntegrationIcon.js +1 -1
  364. package/icons/LandedCostDuotoneIcon.js +1 -1
  365. package/icons/LandedCostIcon.js +1 -1
  366. package/icons/LaptopDuotoneIcon.js +1 -1
  367. package/icons/LaptopIcon.js +1 -1
  368. package/icons/LightDuotoneIcon.js +1 -1
  369. package/icons/LightIcon.js +1 -1
  370. package/icons/LikeDuotoneIcon.js +1 -1
  371. package/icons/LikeIcon.js +1 -1
  372. package/icons/LineDownDuotoneIcon.js +1 -1
  373. package/icons/LineDownIcon.js +1 -1
  374. package/icons/LineUpDuotoneIcon.js +1 -1
  375. package/icons/LineUpIcon.js +1 -1
  376. package/icons/LinkDuotoneIcon.js +1 -1
  377. package/icons/LinkIcon.js +1 -1
  378. package/icons/LocationDuotoneIcon.js +1 -1
  379. package/icons/LocationIcon.js +1 -1
  380. package/icons/LockDuotoneIcon.js +1 -1
  381. package/icons/LockIcon.js +1 -1
  382. package/icons/LoginDuotoneIcon.js +1 -1
  383. package/icons/LoginIcon.js +1 -1
  384. package/icons/LogoutDuotoneIcon.js +1 -1
  385. package/icons/LogoutIcon.js +1 -1
  386. package/icons/MailDuotoneIcon.js +1 -1
  387. package/icons/MailIcon.js +1 -1
  388. package/icons/MenuDuotoneIcon.js +1 -1
  389. package/icons/MenuIcon.js +1 -1
  390. package/icons/MinusCircleDuotoneIcon.js +1 -1
  391. package/icons/MinusCircleIcon.js +1 -1
  392. package/icons/MinusDuotoneIcon.js +1 -1
  393. package/icons/MinusIcon.js +1 -1
  394. package/icons/MobileDuotoneIcon.js +1 -1
  395. package/icons/MobileIcon.js +1 -1
  396. package/icons/MoneyDuotoneIcon.js +1 -1
  397. package/icons/MoneyIcon.js +1 -1
  398. package/icons/MonitorDuotoneIcon.js +1 -1
  399. package/icons/MonitorIcon.js +1 -1
  400. package/icons/NightDuotoneIcon.js +1 -1
  401. package/icons/NightIcon.js +1 -1
  402. package/icons/PauseCircleDuotoneIcon.js +1 -1
  403. package/icons/PauseCircleIcon.js +1 -1
  404. package/icons/PercentBadgeDuotoneIcon.js +1 -1
  405. package/icons/PercentBadgeIcon.js +1 -1
  406. package/icons/PercentDuotoneIcon.js +1 -1
  407. package/icons/PercentIcon.js +1 -1
  408. package/icons/PlaneDuotoneIcon.js +1 -1
  409. package/icons/PlaneIcon.js +1 -1
  410. package/icons/PlayCircleDuotoneIcon.js +1 -1
  411. package/icons/PlayCircleIcon.js +1 -1
  412. package/icons/PlayDuotoneIcon.js +1 -1
  413. package/icons/PlayIcon.js +1 -1
  414. package/icons/PlusCircleDuotoneIcon.js +1 -1
  415. package/icons/PlusCircleIcon.js +1 -1
  416. package/icons/PlusDuotoneIcon.js +1 -1
  417. package/icons/PlusIcon.js +1 -1
  418. package/icons/PrinterDuotoneIcon.js +1 -1
  419. package/icons/PrinterIcon.js +1 -1
  420. package/icons/RateDuotoneIcon.js +1 -1
  421. package/icons/RateIcon.js +1 -1
  422. package/icons/ReceiptDuotoneIcon.js +1 -1
  423. package/icons/ReceiptIcon.js +1 -1
  424. package/icons/RefreshDuotoneIcon.js +1 -1
  425. package/icons/RefreshIcon.js +1 -1
  426. package/icons/RemoveCircleDuotoneIcon.js +1 -1
  427. package/icons/RemoveCircleIcon.js +1 -1
  428. package/icons/RemoveDuotoneIcon.js +1 -1
  429. package/icons/RemoveIcon.js +1 -1
  430. package/icons/RestrictDuotoneIcon.js +1 -1
  431. package/icons/RestrictIcon.js +1 -1
  432. package/icons/RocketDuotoneIcon.js +1 -1
  433. package/icons/RocketIcon.js +1 -1
  434. package/icons/ScanDuotoneIcon.js +1 -1
  435. package/icons/ScanIcon.js +1 -1
  436. package/icons/ScreenDuotoneIcon.js +1 -1
  437. package/icons/ScreenIcon.js +1 -1
  438. package/icons/SearchDuotoneIcon.js +1 -1
  439. package/icons/SearchIcon.js +1 -1
  440. package/icons/SendDuotoneIcon.js +1 -1
  441. package/icons/SendIcon.js +1 -1
  442. package/icons/SettingsDuotoneIcon.js +1 -1
  443. package/icons/SettingsIcon.js +1 -1
  444. package/icons/ShoppingListDuotoneIcon.js +1 -1
  445. package/icons/ShoppingListIcon.js +1 -1
  446. package/icons/ShoppingTagDuotoneIcon.js +1 -1
  447. package/icons/ShoppingTagIcon.js +1 -1
  448. package/icons/SquareDuotoneIcon.js +1 -1
  449. package/icons/SquareIcon.js +1 -1
  450. package/icons/StarDuotoneIcon.js +1 -1
  451. package/icons/StarIcon.js +1 -1
  452. package/icons/StarOffDuotoneIcon.js +1 -1
  453. package/icons/StarOffIcon.js +1 -1
  454. package/icons/StarsDuotoneIcon.js +1 -1
  455. package/icons/StarsIcon.js +1 -1
  456. package/icons/SunnyDuotoneIcon.js +1 -1
  457. package/icons/SunnyIcon.js +1 -1
  458. package/icons/TagDuotoneIcon.js +1 -1
  459. package/icons/TagIcon.js +1 -1
  460. package/icons/ThreeDotDuotoneIcon.js +1 -1
  461. package/icons/ThreeDotIcon.js +1 -1
  462. package/icons/TotalLandedCostDuotoneIcon.js +1 -1
  463. package/icons/TotalLandedCostIcon.js +1 -1
  464. package/icons/TrashCanDuotoneIcon.js +1 -1
  465. package/icons/TrashCanIcon.js +1 -1
  466. package/icons/TriangleDuotoneIcon.js +1 -1
  467. package/icons/TriangleIcon.js +1 -1
  468. package/icons/TruckDuotoneIcon.js +1 -1
  469. package/icons/TruckIcon.js +1 -1
  470. package/icons/UserDuotoneIcon.js +1 -1
  471. package/icons/UserIcon.js +1 -1
  472. package/icons/UtahDuotoneIcon.js +1 -1
  473. package/icons/UtahIcon.js +1 -1
  474. package/icons/WarningDuotoneIcon.js +1 -1
  475. package/icons/WarningIcon.js +1 -1
  476. package/icons/custom/AvatarIcon.js +1 -1
  477. package/icons/custom/ZonosIcon.js +1 -1
  478. package/icons/custom/ZonosLogoIcon.js +1 -1
  479. package/icons/custom/products/CheckoutIcon.js +1 -1
  480. package/icons/custom/products/ClassifyIcon.js +1 -1
  481. package/icons/custom/products/ClearIcon.js +1 -1
  482. package/icons/custom/products/DashboardIcon.js +1 -1
  483. package/icons/custom/products/HelloIcon.js +1 -1
  484. package/icons/custom/products/LandedCostIcon.js +1 -1
  485. package/icons/custom/products/RateIcon.js +1 -1
  486. package/icons/custom/products/RestrictIcon.js +1 -1
  487. package/icons/custom/products/ScreenIcon.js +1 -1
  488. package/icons/custom/theme/ThemeDarkIcon.js +1 -1
  489. package/icons/custom/theme/ThemeLightIcon.js +1 -1
  490. package/icons/custom/us-states/AlabamaIcon.js +1 -1
  491. package/icons/custom/us-states/AlaskaIcon.js +1 -1
  492. package/icons/custom/us-states/ArizonaIcon.js +1 -1
  493. package/icons/custom/us-states/ArkansasIcon.js +1 -1
  494. package/icons/custom/us-states/CaliforniaIcon.js +1 -1
  495. package/icons/custom/us-states/ColoradoIcon.js +1 -1
  496. package/icons/custom/us-states/ConnecticutIcon.js +1 -1
  497. package/icons/custom/us-states/DelawareIcon.js +1 -1
  498. package/icons/custom/us-states/FloridaIcon.js +1 -1
  499. package/icons/custom/us-states/GeorgiaIcon.js +1 -1
  500. package/icons/custom/us-states/HawaiiIcon.js +1 -1
  501. package/icons/custom/us-states/IdahoIcon.js +1 -1
  502. package/icons/custom/us-states/IllinoisIcon.js +1 -1
  503. package/icons/custom/us-states/IndianaIcon.js +1 -1
  504. package/icons/custom/us-states/IowaIcon.js +1 -1
  505. package/icons/custom/us-states/KansasIcon.js +1 -1
  506. package/icons/custom/us-states/KentuckyIcon.js +1 -1
  507. package/icons/custom/us-states/LouisianaIcon.js +1 -1
  508. package/icons/custom/us-states/MaineIcon.js +1 -1
  509. package/icons/custom/us-states/MarylandIcon.js +1 -1
  510. package/icons/custom/us-states/MassachusettsIcon.js +1 -1
  511. package/icons/custom/us-states/MichiganIcon.js +1 -1
  512. package/icons/custom/us-states/MinnesotaIcon.js +1 -1
  513. package/icons/custom/us-states/MississippiIcon.js +1 -1
  514. package/icons/custom/us-states/MissouriIcon.js +1 -1
  515. package/icons/custom/us-states/MontanaIcon.js +1 -1
  516. package/icons/custom/us-states/NebraskaIcon.js +1 -1
  517. package/icons/custom/us-states/NevadaIcon.js +1 -1
  518. package/icons/custom/us-states/NewHampshireIcon.js +1 -1
  519. package/icons/custom/us-states/NewJerseyIcon.js +1 -1
  520. package/icons/custom/us-states/NewMexicoIcon.js +1 -1
  521. package/icons/custom/us-states/NewYorkIcon.js +1 -1
  522. package/icons/custom/us-states/NorthCarolinaIcon.js +1 -1
  523. package/icons/custom/us-states/NorthDakotaIcon.js +1 -1
  524. package/icons/custom/us-states/OhioIcon.js +1 -1
  525. package/icons/custom/us-states/OklahomaIcon.js +1 -1
  526. package/icons/custom/us-states/OregonIcon.js +1 -1
  527. package/icons/custom/us-states/PennsylvaniaIcon.js +1 -1
  528. package/icons/custom/us-states/RhodeIslandIcon.js +1 -1
  529. package/icons/custom/us-states/SouthCarolinaIcon.js +1 -1
  530. package/icons/custom/us-states/SouthDakotaIcon.js +1 -1
  531. package/icons/custom/us-states/TennesseeIcon.js +1 -1
  532. package/icons/custom/us-states/TexasIcon.js +1 -1
  533. package/icons/custom/us-states/UtahIcon.js +1 -1
  534. package/icons/custom/us-states/VermontIcon.js +1 -1
  535. package/icons/custom/us-states/VirginiaIcon.js +1 -1
  536. package/icons/custom/us-states/WashingtonIcon.js +1 -1
  537. package/icons/custom/us-states/WestVirginiaIcon.js +1 -1
  538. package/icons/custom/us-states/WisconsinIcon.js +1 -1
  539. package/icons/custom/us-states/WyomingIcon.js +1 -1
  540. package/icons/flag-icon/FlagIcon.js +1 -1
  541. package/icons/flag-icon/_FlagIconBase.js +1 -1
  542. package/icons/flag-icon/useStableUniqueId.js +1 -1
  543. package/icons/flags/AD.js +1 -1
  544. package/icons/flags/AE.js +1 -1
  545. package/icons/flags/AF.js +1 -1
  546. package/icons/flags/AG.js +1 -1
  547. package/icons/flags/AI.js +1 -1
  548. package/icons/flags/AL.js +1 -1
  549. package/icons/flags/AM.js +1 -1
  550. package/icons/flags/AO.js +1 -1
  551. package/icons/flags/AR.js +1 -1
  552. package/icons/flags/AS.js +1 -1
  553. package/icons/flags/AT.js +1 -1
  554. package/icons/flags/AU.js +1 -1
  555. package/icons/flags/AW.js +1 -1
  556. package/icons/flags/AX.js +1 -1
  557. package/icons/flags/AZ.js +1 -1
  558. package/icons/flags/BA.js +1 -1
  559. package/icons/flags/BB.js +1 -1
  560. package/icons/flags/BD.js +1 -1
  561. package/icons/flags/BE.js +1 -1
  562. package/icons/flags/BF.js +1 -1
  563. package/icons/flags/BG.js +1 -1
  564. package/icons/flags/BH.js +1 -1
  565. package/icons/flags/BI.js +1 -1
  566. package/icons/flags/BJ.js +1 -1
  567. package/icons/flags/BL.js +1 -1
  568. package/icons/flags/BM.js +1 -1
  569. package/icons/flags/BN.js +1 -1
  570. package/icons/flags/BO.js +1 -1
  571. package/icons/flags/BQ.js +1 -1
  572. package/icons/flags/BR.js +1 -1
  573. package/icons/flags/BS.js +1 -1
  574. package/icons/flags/BT.js +1 -1
  575. package/icons/flags/BW.js +1 -1
  576. package/icons/flags/BY.js +1 -1
  577. package/icons/flags/BZ.js +1 -1
  578. package/icons/flags/CA.js +1 -1
  579. package/icons/flags/CD.js +1 -1
  580. package/icons/flags/CF.js +1 -1
  581. package/icons/flags/CG.js +1 -1
  582. package/icons/flags/CH.js +1 -1
  583. package/icons/flags/CI.js +1 -1
  584. package/icons/flags/CK.js +1 -1
  585. package/icons/flags/CL.js +1 -1
  586. package/icons/flags/CM.js +1 -1
  587. package/icons/flags/CN.js +1 -1
  588. package/icons/flags/CO.js +1 -1
  589. package/icons/flags/CR.js +1 -1
  590. package/icons/flags/CU.js +1 -1
  591. package/icons/flags/CV.js +1 -1
  592. package/icons/flags/CW.js +1 -1
  593. package/icons/flags/CY.js +1 -1
  594. package/icons/flags/CZ.js +1 -1
  595. package/icons/flags/DE.js +1 -1
  596. package/icons/flags/DJ.js +1 -1
  597. package/icons/flags/DK.js +1 -1
  598. package/icons/flags/DM.js +1 -1
  599. package/icons/flags/DO.js +1 -1
  600. package/icons/flags/DZ.js +1 -1
  601. package/icons/flags/Default.js +1 -1
  602. package/icons/flags/EC.js +1 -1
  603. package/icons/flags/EE.js +1 -1
  604. package/icons/flags/EG.js +1 -1
  605. package/icons/flags/EH.js +1 -1
  606. package/icons/flags/ER.js +1 -1
  607. package/icons/flags/ES.js +1 -1
  608. package/icons/flags/ET.js +1 -1
  609. package/icons/flags/FI.js +1 -1
  610. package/icons/flags/FJ.js +1 -1
  611. package/icons/flags/FK.js +1 -1
  612. package/icons/flags/FM.js +1 -1
  613. package/icons/flags/FO.js +1 -1
  614. package/icons/flags/FR.js +1 -1
  615. package/icons/flags/FlagIndex.js +1 -1
  616. package/icons/flags/GA.js +1 -1
  617. package/icons/flags/GB.js +1 -1
  618. package/icons/flags/GD.js +1 -1
  619. package/icons/flags/GE.js +1 -1
  620. package/icons/flags/GF.js +1 -1
  621. package/icons/flags/GG.js +1 -1
  622. package/icons/flags/GH.js +1 -1
  623. package/icons/flags/GI.js +1 -1
  624. package/icons/flags/GL.js +1 -1
  625. package/icons/flags/GM.js +1 -1
  626. package/icons/flags/GN.js +1 -1
  627. package/icons/flags/GP.js +1 -1
  628. package/icons/flags/GQ.js +1 -1
  629. package/icons/flags/GR.js +1 -1
  630. package/icons/flags/GT.js +1 -1
  631. package/icons/flags/GU.js +1 -1
  632. package/icons/flags/GW.js +1 -1
  633. package/icons/flags/GY.js +1 -1
  634. package/icons/flags/HK.js +1 -1
  635. package/icons/flags/HM.js +1 -1
  636. package/icons/flags/HN.js +1 -1
  637. package/icons/flags/HR.js +1 -1
  638. package/icons/flags/HT.js +1 -1
  639. package/icons/flags/HU.js +1 -1
  640. package/icons/flags/IC.js +1 -1
  641. package/icons/flags/ID.js +1 -1
  642. package/icons/flags/IE.js +1 -1
  643. package/icons/flags/IL.js +1 -1
  644. package/icons/flags/IM.js +1 -1
  645. package/icons/flags/IN.js +1 -1
  646. package/icons/flags/IQ.js +1 -1
  647. package/icons/flags/IR.js +1 -1
  648. package/icons/flags/IS.js +1 -1
  649. package/icons/flags/IT.js +1 -1
  650. package/icons/flags/JE.js +1 -1
  651. package/icons/flags/JM.js +1 -1
  652. package/icons/flags/JO.js +1 -1
  653. package/icons/flags/JP.js +1 -1
  654. package/icons/flags/KE.js +1 -1
  655. package/icons/flags/KG.js +1 -1
  656. package/icons/flags/KH.js +1 -1
  657. package/icons/flags/KI.js +1 -1
  658. package/icons/flags/KM.js +1 -1
  659. package/icons/flags/KN.js +1 -1
  660. package/icons/flags/KP.js +1 -1
  661. package/icons/flags/KR.js +1 -1
  662. package/icons/flags/KW.js +1 -1
  663. package/icons/flags/KY.js +1 -1
  664. package/icons/flags/KZ.js +1 -1
  665. package/icons/flags/LA.js +1 -1
  666. package/icons/flags/LB.js +1 -1
  667. package/icons/flags/LC.js +1 -1
  668. package/icons/flags/LI.js +1 -1
  669. package/icons/flags/LK.js +1 -1
  670. package/icons/flags/LR.js +1 -1
  671. package/icons/flags/LS.js +1 -1
  672. package/icons/flags/LT.js +1 -1
  673. package/icons/flags/LU.js +1 -1
  674. package/icons/flags/LV.js +1 -1
  675. package/icons/flags/LY.js +1 -1
  676. package/icons/flags/MA.js +1 -1
  677. package/icons/flags/MC.js +1 -1
  678. package/icons/flags/MD.js +1 -1
  679. package/icons/flags/ME.js +1 -1
  680. package/icons/flags/MF.js +1 -1
  681. package/icons/flags/MG.js +1 -1
  682. package/icons/flags/MH.js +1 -1
  683. package/icons/flags/MK.js +1 -1
  684. package/icons/flags/ML.js +1 -1
  685. package/icons/flags/MM.js +1 -1
  686. package/icons/flags/MN.js +1 -1
  687. package/icons/flags/MO.js +1 -1
  688. package/icons/flags/MP.js +1 -1
  689. package/icons/flags/MQ.js +1 -1
  690. package/icons/flags/MR.js +1 -1
  691. package/icons/flags/MS.js +1 -1
  692. package/icons/flags/MT.js +1 -1
  693. package/icons/flags/MU.js +1 -1
  694. package/icons/flags/MV.js +1 -1
  695. package/icons/flags/MW.js +1 -1
  696. package/icons/flags/MX.js +1 -1
  697. package/icons/flags/MY.js +1 -1
  698. package/icons/flags/MZ.js +1 -1
  699. package/icons/flags/NA.js +1 -1
  700. package/icons/flags/NC.js +1 -1
  701. package/icons/flags/NE.js +1 -1
  702. package/icons/flags/NF.js +1 -1
  703. package/icons/flags/NG.js +1 -1
  704. package/icons/flags/NI.js +1 -1
  705. package/icons/flags/NL.js +1 -1
  706. package/icons/flags/NO.js +1 -1
  707. package/icons/flags/NP.js +1 -1
  708. package/icons/flags/NR.js +1 -1
  709. package/icons/flags/NU.js +1 -1
  710. package/icons/flags/NZ.js +1 -1
  711. package/icons/flags/OM.js +1 -1
  712. package/icons/flags/PA.js +1 -1
  713. package/icons/flags/PE.js +1 -1
  714. package/icons/flags/PF.js +1 -1
  715. package/icons/flags/PG.js +1 -1
  716. package/icons/flags/PH.js +1 -1
  717. package/icons/flags/PK.js +1 -1
  718. package/icons/flags/PL.js +1 -1
  719. package/icons/flags/PM.js +1 -1
  720. package/icons/flags/PN.js +1 -1
  721. package/icons/flags/PR.js +1 -1
  722. package/icons/flags/PS.js +1 -1
  723. package/icons/flags/PT.js +1 -1
  724. package/icons/flags/PW.js +1 -1
  725. package/icons/flags/PY.js +1 -1
  726. package/icons/flags/QA.js +1 -1
  727. package/icons/flags/RE.js +1 -1
  728. package/icons/flags/RO.js +1 -1
  729. package/icons/flags/RS.js +1 -1
  730. package/icons/flags/RU.js +1 -1
  731. package/icons/flags/RW.js +1 -1
  732. package/icons/flags/SA.js +1 -1
  733. package/icons/flags/SB.js +1 -1
  734. package/icons/flags/SC.js +1 -1
  735. package/icons/flags/SD.js +1 -1
  736. package/icons/flags/SE.js +1 -1
  737. package/icons/flags/SG.js +1 -1
  738. package/icons/flags/SH.js +1 -1
  739. package/icons/flags/SI.js +1 -1
  740. package/icons/flags/SJ.js +1 -1
  741. package/icons/flags/SK.js +1 -1
  742. package/icons/flags/SL.js +1 -1
  743. package/icons/flags/SM.js +1 -1
  744. package/icons/flags/SN.js +1 -1
  745. package/icons/flags/SO.js +1 -1
  746. package/icons/flags/SR.js +1 -1
  747. package/icons/flags/SS.js +1 -1
  748. package/icons/flags/ST.js +1 -1
  749. package/icons/flags/SV.js +1 -1
  750. package/icons/flags/SX.js +1 -1
  751. package/icons/flags/SY.js +1 -1
  752. package/icons/flags/SZ.js +1 -1
  753. package/icons/flags/TC.js +1 -1
  754. package/icons/flags/TD.js +1 -1
  755. package/icons/flags/TF.js +1 -1
  756. package/icons/flags/TG.js +1 -1
  757. package/icons/flags/TH.js +1 -1
  758. package/icons/flags/TJ.js +1 -1
  759. package/icons/flags/TK.js +1 -1
  760. package/icons/flags/TL.js +1 -1
  761. package/icons/flags/TM.js +1 -1
  762. package/icons/flags/TN.js +1 -1
  763. package/icons/flags/TO.js +1 -1
  764. package/icons/flags/TR.js +1 -1
  765. package/icons/flags/TT.js +1 -1
  766. package/icons/flags/TV.js +1 -1
  767. package/icons/flags/TW.js +1 -1
  768. package/icons/flags/TZ.js +1 -1
  769. package/icons/flags/UA.js +1 -1
  770. package/icons/flags/UG.js +1 -1
  771. package/icons/flags/UM.js +1 -1
  772. package/icons/flags/US.js +1 -1
  773. package/icons/flags/UY.js +1 -1
  774. package/icons/flags/UZ.js +1 -1
  775. package/icons/flags/VA.js +1 -1
  776. package/icons/flags/VC.js +1 -1
  777. package/icons/flags/VE.js +1 -1
  778. package/icons/flags/VG.js +1 -1
  779. package/icons/flags/VI.js +1 -1
  780. package/icons/flags/VN.js +1 -1
  781. package/icons/flags/VU.js +1 -1
  782. package/icons/flags/WF.js +1 -1
  783. package/icons/flags/WS.js +1 -1
  784. package/icons/flags/YE.js +1 -1
  785. package/icons/flags/YT.js +1 -1
  786. package/icons/flags/ZA.js +1 -1
  787. package/icons/flags/ZM.js +1 -1
  788. package/icons/flags/ZW.js +1 -1
  789. package/icons/icon-base/_IconBase.js +1 -1
  790. package/icons/icon-base/_StateIconBase.js +1 -1
  791. package/icons/icon-base/_ThemeIconBase.js +1 -1
  792. package/package.json +18 -21
  793. package/styles/constants/theme.d.ts +1 -1
  794. package/types/Color.d.ts +2 -2
  795. package/types/GridSpacing.d.ts +2 -0
  796. package/types/ICountry.d.ts +1 -1
  797. package/types/index.d.ts +1 -0
  798. package/utils/_extractQueryParams.js +1 -1
  799. package/utils/_graphiqlFetcher.js +1 -1
  800. package/utils/addIndex.js +1 -1
  801. package/utils/flattenRow.js +1 -1
  802. package/utils/getIsInternalLink.js +1 -1
  803. package/utils/getProductDetails.d.ts +1 -1
  804. package/utils/getProductDetails.js +1 -1
  805. package/utils/handleFetch.js +1 -1
  806. package/utils/hooks/_useGraphiqlExplorer.d.ts +1 -3
  807. package/utils/hooks/_useGraphiqlExplorer.js +1 -1
  808. package/utils/hooks/_useGraphiqlFetcher.js +1 -1
  809. package/utils/hooks/_useGraphiqlStorage.js +1 -1
  810. package/utils/hooks/action-pivot-table/useHasuraGqlPagination.js +1 -1
  811. package/utils/hooks/useAminoTheme.js +1 -1
  812. package/utils/hooks/useDropdown.js +1 -1
  813. package/utils/hooks/useHeightAdjustTextarea.js +1 -1
  814. package/utils/hooks/useNotify.js +1 -1
  815. package/utils/hooks/useSwrt.d.ts +1 -1
  816. package/utils/hooks/useSwrt.js +1 -1
  817. package/utils/prepCountryOptions.js +1 -1
  818. package/utils/setupNestedData.js +1 -1
  819. package/utils/unitedStates.js +1 -1
  820. package/utils/useCopyText.js +1 -1
  821. package/_tslib-fe391a2e.js +0 -1
  822. package/components/stack/GridSpacing.d.ts +0 -2
  823. package/components/stack/GridSpacing.js +0 -1
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),i=require("react"),s=require("./ConfirmDialog.js");require("../button/Button.js"),require("../spinner/Spinner.js"),require("../../styles/constants/theme.js"),require("styled-components"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../dialog/_BaseDialog.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../rounded-icon/RoundedIcon.js"),require("../stack/VStack.js"),require("../stack/Stack.js"),require("../text/Text.js"),require("../../icons/ExclamationMarkIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../icons/HelpIcon.js"),require("../../icons/WarningIcon.js");var t=i.createContext((function(e){}));exports.ConfirmContext=t,exports.ConfirmContextProvider=function(o){var n=o.children,u=e.__read(i.useState(),2),a=u[0],c=u[1],q=e.__read(i.useState(!1),2),l=q[0],j=q[1],m=i.useCallback((function(e){c(e),j(!0)}),[]);return r.jsxs(t.Provider,e.__assign({value:m},{children:[n,a&&r.jsx(s.ConfirmDialog,{confirmAction:function(){j(!1),a.onConfirm(!0)},confirmText:a.confirmText,dismissAction:function(){j(!1),a.onConfirm(!1)},dismissText:a.dismissText,intent:a.intent,label:a.label,open:l,subtitle:a.subtitle})]}))};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("react/jsx-runtime"),i=require("react"),s=require("./ConfirmDialog.js");require("styled-components"),require("../button/Button.js"),require("../spinner/Spinner.js"),require("../../styles/constants/theme.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../dialog/_BaseDialog.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../rounded-icon/RoundedIcon.js"),require("../stack/VStack.js"),require("../stack/Stack.js"),require("../text/Text.js"),require("../../icons/ExclamationMarkIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../icons/HelpIcon.js"),require("../../icons/WarningIcon.js");var t=i.createContext((function(e){}));exports.ConfirmContext=t,exports.ConfirmContextProvider=function(o){var n=o.children,u=e.__read(i.useState(),2),c=u[0],a=u[1],q=e.__read(i.useState(!1),2),l=q[0],j=q[1],m=i.useCallback((function(e){a(e),j(!0)}),[]);return r.jsxs(t.Provider,{value:m,children:[n,c&&r.jsx(s.ConfirmDialog,{confirmAction:function(){j(!1),c.onConfirm(!0)},confirmText:c.confirmText,dismissAction:function(){j(!1),c.onConfirm(!1)},dismissText:c.dismissText,intent:c.intent,label:c.label,open:l,subtitle:c.subtitle})]})};
@@ -12,4 +12,4 @@ export type ConfirmDialogProps = {
12
12
  confirmAction: () => void;
13
13
  dismissAction: () => void;
14
14
  };
15
- export declare const ConfirmDialog: ({ confirmAction, confirmText, dismissAction, dismissText, intent, label, open, subtitle, themeOverride, }: ConfirmDialogProps) => JSX.Element;
15
+ export declare const ConfirmDialog: ({ confirmAction, confirmText, dismissAction, dismissText, intent, label, open, subtitle, themeOverride, }: ConfirmDialogProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),i=require("../button/Button.js"),t=require("../dialog/_BaseDialog.js"),r=require("../rounded-icon/RoundedIcon.js"),s=require("../stack/VStack.js"),o=require("../text/Text.js"),a=require("../../icons/ExclamationMarkIcon.js"),u=require("../../icons/HelpIcon.js"),c=require("../../icons/WarningIcon.js"),l=require("../../styles/constants/theme.js"),d=require("styled-components");function j(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../stack/Stack.js"),require("../../icons/icon-base/_IconBase.js");var m,p,x,g=j(d),q=g.default.div(m||(m=e.__makeTemplateObject(["\n padding: ",";\n\n & > div {\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n"],["\n padding: ",";\n\n & > div {\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n"])),l.theme.space24),f=g.default.div(p||(p=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-top: ",";\n\n & > button + button {\n margin-left: ",";\n }\n\n button {\n flex: 1;\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-top: ",";\n\n & > button + button {\n margin-left: ",";\n }\n\n button {\n flex: 1;\n }\n"])),l.theme.space24,l.theme.space8),h=g.default.span(x||(x=e.__makeTemplateObject(["\n opacity: 0.5;\n"],["\n opacity: 0.5;\n"]))),_=function(e){switch(e){case"danger":return n.jsx(a.ExclamationMarkIcon,{});case"warning":return n.jsx(c.WarningIcon,{});default:return n.jsx(u.HelpIcon,{})}};exports.ConfirmDialog=function(a){var u=a.confirmAction,c=a.confirmText,l=a.dismissAction,d=a.dismissText,j=a.intent,m=a.label,p=a.open,x=a.subtitle,g=a.themeOverride;return n.jsx(t.BaseDialog,e.__assign({"data-theme":g,open:p,width:350},{children:n.jsx(q,{children:n.jsxs(s.VStack,e.__assign({spacing:16},{children:[n.jsx(r.RoundedIcon,e.__assign({intent:j},{children:_(j)})),n.jsxs("div",{children:[n.jsx(o.Text,e.__assign({type:"title"},{children:m})),x&&n.jsx(h,{children:x})]}),n.jsxs(f,{children:[n.jsx(i.Button,e.__assign({intent:"outline",onClick:l,size:"md"},{children:d})),n.jsx(i.Button,e.__assign({intent:j,onClick:u,size:"md"},{children:c}))]})]}))})}))};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),t=require("styled-components"),i=require("../button/Button.js"),r=require("../dialog/_BaseDialog.js"),s=require("../rounded-icon/RoundedIcon.js"),o=require("../stack/VStack.js"),u=require("../text/Text.js"),c=require("../../icons/ExclamationMarkIcon.js"),a=require("../../icons/HelpIcon.js"),l=require("../../icons/WarningIcon.js"),d=require("../../styles/constants/theme.js");function j(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../stack/Stack.js"),require("../../icons/icon-base/_IconBase.js");var m,p,x,q=j(t),f=q.default.div(m||(m=e.__makeTemplateObject(["\n padding: ",";\n\n & > div {\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n"],["\n padding: ",";\n\n & > div {\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n"])),d.theme.space24),h=q.default.div(p||(p=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-top: ",";\n\n & > button + button {\n margin-left: ",";\n }\n\n button {\n flex: 1;\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-top: ",";\n\n & > button + button {\n margin-left: ",";\n }\n\n button {\n flex: 1;\n }\n"])),d.theme.space24,d.theme.space8),g=q.default.span(x||(x=e.__makeTemplateObject(["\n opacity: 0.5;\n"],["\n opacity: 0.5;\n"]))),b=function(e){switch(e){case"danger":return n.jsx(c.ExclamationMarkIcon,{});case"warning":return n.jsx(l.WarningIcon,{});default:return n.jsx(a.HelpIcon,{})}};exports.ConfirmDialog=function(e){var t=e.confirmAction,c=e.confirmText,a=e.dismissAction,l=e.dismissText,d=e.intent,j=e.label,m=e.open,p=e.subtitle,x=e.themeOverride;return n.jsx(r.BaseDialog,{"data-theme":x,open:m,width:350,children:n.jsx(f,{children:n.jsxs(o.VStack,{spacing:16,children:[n.jsx(s.RoundedIcon,{intent:d,children:b(d)}),n.jsxs("div",{children:[n.jsx(u.Text,{type:"title",children:j}),p&&n.jsx(g,{children:p})]}),n.jsxs(h,{children:[n.jsx(i.Button,{intent:"outline",onClick:a,size:"md",children:l}),n.jsx(i.Button,{intent:d,onClick:t,size:"md",children:c})]})]})})})};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),r=require("./ConfirmContext.js");require("../../_tslib-fe391a2e.js"),require("react/jsx-runtime"),require("./ConfirmDialog.js"),require("../button/Button.js"),require("../spinner/Spinner.js"),require("../../styles/constants/theme.js"),require("styled-components"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../dialog/_BaseDialog.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../rounded-icon/RoundedIcon.js"),require("../stack/VStack.js"),require("../stack/Stack.js"),require("../text/Text.js"),require("../../icons/ExclamationMarkIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../icons/HelpIcon.js"),require("../../icons/WarningIcon.js");exports.useConfirm=function(){return e.useContext(r.ConfirmContext)};
1
+ "use strict";var e=require("react"),r=require("./ConfirmContext.js");require("../../_tslib-ccfac372.js"),require("react/jsx-runtime"),require("./ConfirmDialog.js"),require("styled-components"),require("../button/Button.js"),require("../spinner/Spinner.js"),require("../../styles/constants/theme.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../dialog/_BaseDialog.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../rounded-icon/RoundedIcon.js"),require("../stack/VStack.js"),require("../stack/Stack.js"),require("../text/Text.js"),require("../../icons/ExclamationMarkIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../icons/HelpIcon.js"),require("../../icons/WarningIcon.js");exports.useConfirm=function(){return e.useContext(r.ConfirmContext)};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ICountryOption } from "../../types/ICountry";
3
2
  import { type IGeoJsonWorld } from "../../types/IGeoJsonWorld";
4
3
  type Props = {
@@ -8,5 +7,5 @@ type Props = {
8
7
  to: string;
9
8
  worldData: IGeoJsonWorld | null;
10
9
  };
11
- export declare const ConnectionMap: ({ countries, from, height, to, worldData, }: Props) => JSX.Element;
10
+ export declare const ConnectionMap: ({ countries, from, height, to, worldData, }: Props) => import("react/jsx-runtime").JSX.Element;
12
11
  export {};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),n=require("react"),t=require("react-simple-maps"),i=require("d3-geo"),s=require("../../styles/constants/theme.js"),a=require("../../utils/getCountryCodeByName.js"),o=require("styled-components"),l=require("topojson-client"),u=require("../skeleton/Skeleton.js");function d(e){return e&&e.__esModule?e:{default:e}}var c,h,g=d(o),m=g.default.div(c||(c=e.__makeTemplateObject(["\n background: ",";\n border-radius: ",";\n overflow: hidden;\n\n * {\n outline: none;\n }\n"],["\n background: ",";\n border-radius: ",";\n overflow: hidden;\n\n * {\n outline: none;\n }\n"])),s.theme.gray50,s.theme.radius12),f=g.default(u.Skeleton)(h||(h=e.__makeTemplateObject(["\n box-sizing: border-box;\n border-radius: ",";\n width: 100%;\n /* 50% padding is 100% of width, ratio is 33%, so half */\n padding: 16.5%;\n margin: 0;\n"],["\n box-sizing: border-box;\n border-radius: ",";\n width: 100%;\n /* 50% padding is 100% of width, ratio is 33%, so half */\n padding: 16.5%;\n margin: 0;\n"])),s.theme.radius12);exports.ConnectionMap=function(o){var u=o.countries,d=o.from,c=o.height,h=void 0===c?400:c,g=o.to,_=o.worldData,b=e.__read(n.useState([0,0]),2),j=b[0],p=b[1],x=e.__read(n.useState(1),2),v=x[0],k=x[1],y=e.__read(n.useState([0,0,0]),2),M=y[0],q=y[1],C=n.useMemo((function(){return _?l.feature(_,_.objects.countries).features:null}),[_]),w=n.useCallback((function(e){var r=null==C?void 0:C.find((function(r){var n;return a.getCountryCodeByName(null===(n=r.properties)||void 0===n?void 0:n.name,u)===e}));return r?i.geoCentroid(r):[0,0]}),[u,C]),S=!(C&&u.length&&d&&g);return n.useEffect((function(){if(!S){var r=e.__read(w(d),2),n=r[0],t=r[1],s=e.__read(w(g),2),a=s[0],o=s[1],l=i.geoDistance([n,t],[a,o]),u=i.geoDistance([n,0],[a,0]),c=i.geoDistance([0,t],[0,o]),h=function(e,r){return-19.46498024*e+-92.29376925*r+284.7+(e+r>4?80*(e+r-4):0)}(u,c);k(h);var m=e.__read([(n+a)/2,(t+o)/2],2),f=m[0],_=m[1];p([0,_]);var b=-f;Math.abs(n-a)>180&&(b+=180);var j=Math.abs(_)>55?l*-(Math.abs(_)-50):0,x=c>1&&u>c&&Math.max(t,o)>50?u/c*-5:0;q([b,j+x,0])}}),[w,g,d,S]),S?r.jsx(f,{height:h}):r.jsx(m,{children:r.jsxs(t.ComposableMap,e.__assign({height:h,projection:"geoEqualEarth",projectionConfig:{center:j,rotate:M,scale:v}},{children:[r.jsx(t.Geographies,e.__assign({geography:C},{children:function(e){return e.geographies.map((function(e){var n=[g,d].includes(a.getCountryCodeByName(e.properties.name,u));return r.jsx(t.Geography,{fill:n?s.theme.blue100:s.theme.gray400,geography:e,stroke:n?s.theme.blue300:s.theme.gray500,strokeWidth:1},e.rsmKey)}))}})),r.jsxs(t.Marker,e.__assign({coordinates:w(d)},{children:[r.jsx("circle",{fill:s.theme.blue300,r:10}),r.jsx("circle",{fill:s.theme.blue400,r:7})]})),r.jsxs(t.Marker,e.__assign({coordinates:w(g)},{children:[r.jsx("circle",{fill:s.theme.blue300,r:10}),r.jsx("circle",{fill:s.theme.blue400,r:7})]})),r.jsx(t.Line,{from:w(d),stroke:s.theme.blue600,strokeWidth:4,to:w(g)}),r.jsxs(t.Marker,e.__assign({coordinates:w(d)},{children:[r.jsx("circle",{fill:"white",r:4}),r.jsx("circle",{fill:s.theme.blue600,r:2})]})),r.jsxs(t.Marker,e.__assign({coordinates:w(g)},{children:[r.jsx("circle",{fill:"white",r:4}),r.jsx("circle",{fill:s.theme.blue600,r:2})]}))]}))})};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("react/jsx-runtime"),n=require("react"),t=require("react-simple-maps"),i=require("d3-geo"),o=require("styled-components"),a=require("topojson-client"),s=require("../../styles/constants/theme.js"),l=require("../../utils/getCountryCodeByName.js"),u=require("../skeleton/Skeleton.js");function d(e){return e&&e.__esModule?e:{default:e}}var c,h,m=d(o),f=m.default.div(c||(c=e.__makeTemplateObject(["\n background: ",";\n border-radius: ",";\n overflow: hidden;\n\n * {\n outline: none;\n }\n"],["\n background: ",";\n border-radius: ",";\n overflow: hidden;\n\n * {\n outline: none;\n }\n"])),s.theme.gray50,s.theme.radius12),g=m.default(u.Skeleton)(h||(h=e.__makeTemplateObject(["\n box-sizing: border-box;\n border-radius: ",";\n width: 100%;\n /* 50% padding is 100% of width, ratio is 33%, so half */\n padding: 16.5%;\n margin: 0;\n"],["\n box-sizing: border-box;\n border-radius: ",";\n width: 100%;\n /* 50% padding is 100% of width, ratio is 33%, so half */\n padding: 16.5%;\n margin: 0;\n"])),s.theme.radius12);exports.ConnectionMap=function(o){var u=o.countries,d=o.from,c=o.height,h=void 0===c?400:c,m=o.to,b=o.worldData,j=e.__read(n.useState([0,0]),2),p=j[0],x=j[1],_=e.__read(n.useState(1),2),v=_[0],k=_[1],y=e.__read(n.useState([0,0,0]),2),M=y[0],q=y[1],C=n.useMemo((function(){return b?a.feature(b,b.objects.countries).features:null}),[b]),w=n.useCallback((function(e){var r=null==C?void 0:C.find((function(r){var n;return l.getCountryCodeByName(null===(n=r.properties)||void 0===n?void 0:n.name,u)===e}));return r?i.geoCentroid(r):[0,0]}),[u,C]),S=!(C&&u.length&&d&&m);return n.useEffect((function(){if(!S){var r=e.__read(w(d),2),n=r[0],t=r[1],o=e.__read(w(m),2),a=o[0],s=o[1],l=i.geoDistance([n,t],[a,s]),u=i.geoDistance([n,0],[a,0]),c=i.geoDistance([0,t],[0,s]),h=function(e,r){return-19.46498024*e+-92.29376925*r+284.7+(e+r>4?80*(e+r-4):0)}(u,c);k(h);var f=e.__read([(n+a)/2,(t+s)/2],2),g=f[0],b=f[1];x([0,b]);var j=-g;Math.abs(n-a)>180&&(j+=180);var p=Math.abs(b)>55?l*-(Math.abs(b)-50):0,_=c>1&&u>c&&Math.max(t,s)>50?u/c*-5:0;q([j,p+_,0])}}),[w,m,d,S]),S?r.jsx(g,{height:h}):r.jsx(f,{children:r.jsxs(t.ComposableMap,{height:h,projection:"geoEqualEarth",projectionConfig:{center:p,rotate:M,scale:v},children:[r.jsx(t.Geographies,{geography:C,children:function(e){return e.geographies.map((function(e){var n=[m,d].includes(l.getCountryCodeByName(e.properties.name,u));return r.jsx(t.Geography,{fill:n?s.theme.blue100:s.theme.gray400,geography:e,stroke:n?s.theme.blue300:s.theme.gray500,strokeWidth:1},e.rsmKey)}))}}),r.jsxs(t.Marker,{coordinates:w(d),children:[r.jsx("circle",{fill:s.theme.blue300,r:10}),r.jsx("circle",{fill:s.theme.blue400,r:7})]}),r.jsxs(t.Marker,{coordinates:w(m),children:[r.jsx("circle",{fill:s.theme.blue300,r:10}),r.jsx("circle",{fill:s.theme.blue400,r:7})]}),r.jsx(t.Line,{from:w(d),stroke:s.theme.blue600,strokeWidth:4,to:w(m)}),r.jsxs(t.Marker,{coordinates:w(d),children:[r.jsx("circle",{fill:"white",r:4}),r.jsx("circle",{fill:s.theme.blue600,r:2})]}),r.jsxs(t.Marker,{coordinates:w(m),children:[r.jsx("circle",{fill:"white",r:4}),r.jsx("circle",{fill:s.theme.blue600,r:2})]})]})})};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("react"),i=require("react-dom"),o=require("framer-motion"),r=require("../text/Text.js"),s=require("../../icons/RemoveIcon.js"),a=require("../../styles/constants/theme.js"),u=require("../../utils/hooks/useAminoTheme.js"),c=require("styled-components"),d=require("../button/Button.js"),l=require("./CoverSheetActions.js");function h(e){return e&&e.__esModule?e:{default:e}}require("../../icons/icon-base/_IconBase.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../stack/HStack.js"),require("../stack/Stack.js");var m,p,g,b,f,j=h(c),v=j.default(o.motion.div)(m||(m=e.__makeTemplateObject(["\n z-index: 990;\n outline: none;\n overflow-y: auto;\n box-sizing: border-box;\n overscroll-behavior: contain;\n background: ",";\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n color: ",";\n\n @media print {\n height: unset;\n min-height: 100vh;\n position: absolute;\n }\n"],["\n z-index: 990;\n outline: none;\n overflow-y: auto;\n box-sizing: border-box;\n overscroll-behavior: contain;\n background: ",";\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n color: ",";\n\n @media print {\n height: unset;\n min-height: 100vh;\n position: absolute;\n }\n"])),a.theme.pageBackground,a.theme.textColor),x=j.default(d.Button)(p||(p=e.__makeTemplateObject(["\n margin-right: ",";\n"],["\n margin-right: ",";\n"])),a.theme.space24),q=j.default(r.Text)(g||(g=e.__makeTemplateObject(["\n flex-grow: 1;\n"],["\n flex-grow: 1;\n"]))),_=j.default.header(b||(b=e.__makeTemplateObject(["\n border-bottom: ",";\n padding: "," ",";\n display: flex;\n align-items: center;\n height: 64px;\n position: sticky;\n top: 0;\n z-index: 99;\n background-color: ",";\n\n @media print {\n display: none;\n }\n"],["\n border-bottom: ",";\n padding: "," ",";\n display: flex;\n align-items: center;\n height: 64px;\n position: sticky;\n top: 0;\n z-index: 99;\n background-color: ",";\n\n @media print {\n display: none;\n }\n"])),a.theme.border,a.theme.space16,a.theme.space24,a.theme.pageBackground),y=j.default.div(f||(f=e.__makeTemplateObject(["\n padding: ",";\n"],["\n padding: ",";\n"])),a.theme.space24);exports.CoverSheet=function(r){var a=r.actions,c=r.actionWrapperId,d=void 0===c?"__cover-sheet-actions":c,h=r.children,m=r.className,p=r.label,g=r.onClose,b=r.open,f=r.themeOverride,j=u.useAminoTheme().aminoTheme;if(t.useEffect((function(){"undefined"!=typeof document&&document.querySelectorAll("[id='".concat(d,"']")).length>1&&console.error('Duplicate id "'.concat(d,'" detected in "CoverSheet" component. Please set "actionWrapperId" to a unique id.'))}),[d]),t.useEffect((function(){(null===document||void 0===document?void 0:document.body)&&(document.body.style.overflow=b?"hidden":"auto")}),[b]),"undefined"!=typeof document){var k=document.querySelector("body");if(k)return i.createPortal(n.jsx(o.AnimatePresence,{children:b&&n.jsxs(v,e.__assign({animate:{opacity:1,translateY:0},className:m,"data-theme":f||j,exit:{opacity:0,translateY:5},initial:{opacity:0,translateY:10},transition:{duration:.35,ease:[.4,0,.2,1]}},{children:[n.jsxs(_,{children:[n.jsx(x,{icon:n.jsx(s.RemoveIcon,{size:20}),onClick:g}),n.jsx(q,e.__assign({type:"header"},{children:p})),n.jsx("div",e.__assign({id:d},{children:a&&n.jsx(l.CoverSheetActions,e.__assign({coverSheetActionId:d},{children:a}))}))]}),n.jsx(y,{children:h})]}))}),k)}return null};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),t=require("react"),i=require("react-dom"),o=require("framer-motion"),r=require("styled-components"),s=require("../text/Text.js"),a=require("../../icons/RemoveIcon.js"),u=require("../../styles/constants/theme.js"),c=require("../../utils/hooks/useAminoTheme.js"),d=require("../button/Button.js"),l=require("./CoverSheetActions.js");function h(e){return e&&e.__esModule?e:{default:e}}require("../../icons/icon-base/_IconBase.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../stack/HStack.js"),require("../stack/Stack.js");var m,p,b,g,f,j=h(r),v=j.default(o.motion.div)(m||(m=e.__makeTemplateObject(["\n z-index: 990;\n outline: none;\n overflow-y: auto;\n box-sizing: border-box;\n overscroll-behavior: contain;\n background: ",";\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n color: ",";\n\n @media print {\n height: unset;\n min-height: 100vh;\n position: absolute;\n }\n"],["\n z-index: 990;\n outline: none;\n overflow-y: auto;\n box-sizing: border-box;\n overscroll-behavior: contain;\n background: ",";\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n color: ",";\n\n @media print {\n height: unset;\n min-height: 100vh;\n position: absolute;\n }\n"])),u.theme.pageBackground,u.theme.textColor),x=j.default(d.Button)(p||(p=e.__makeTemplateObject(["\n margin-right: ",";\n"],["\n margin-right: ",";\n"])),u.theme.space24),q=j.default(s.Text)(b||(b=e.__makeTemplateObject(["\n flex-grow: 1;\n"],["\n flex-grow: 1;\n"]))),y=j.default.header(g||(g=e.__makeTemplateObject(["\n border-bottom: ",";\n padding: "," ",";\n display: flex;\n align-items: center;\n height: 64px;\n position: sticky;\n top: 0;\n z-index: 99;\n background-color: ",";\n\n @media print {\n display: none;\n }\n"],["\n border-bottom: ",";\n padding: "," ",";\n display: flex;\n align-items: center;\n height: 64px;\n position: sticky;\n top: 0;\n z-index: 99;\n background-color: ",";\n\n @media print {\n display: none;\n }\n"])),u.theme.border,u.theme.space16,u.theme.space24,u.theme.pageBackground),k=j.default.div(f||(f=e.__makeTemplateObject(["\n padding: ",";\n"],["\n padding: ",";\n"])),u.theme.space24);exports.CoverSheet=function(e){var r=e.actions,s=e.actionWrapperId,u=void 0===s?"__cover-sheet-actions":s,d=e.children,h=e.className,m=e.label,p=e.onClose,b=e.open,g=e.themeOverride,f=c.useAminoTheme().aminoTheme;if(t.useEffect((function(){"undefined"!=typeof document&&document.querySelectorAll("[id='".concat(u,"']")).length>1&&console.error('Duplicate id "'.concat(u,'" detected in "CoverSheet" component. Please set "actionWrapperId" to a unique id.'))}),[u]),t.useEffect((function(){(null===document||void 0===document?void 0:document.body)&&(document.body.style.overflow=b?"hidden":"auto")}),[b]),"undefined"!=typeof document){var j=document.querySelector("body");if(j)return i.createPortal(n.jsx(o.AnimatePresence,{children:b&&n.jsxs(v,{animate:{opacity:1,translateY:0},className:h,"data-theme":g||f,exit:{opacity:0,translateY:5},initial:{opacity:0,translateY:10},transition:{duration:.35,ease:[.4,0,.2,1]},children:[n.jsxs(y,{children:[n.jsx(x,{icon:n.jsx(a.RemoveIcon,{size:20}),onClick:p}),n.jsx(q,{type:"header",children:m}),n.jsx("div",{id:u,children:r&&n.jsx(l.CoverSheetActions,{coverSheetActionId:u,children:r})})]}),n.jsx(k,{children:d})]})}),j)}return null};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),t=require("react"),n=require("react-dom"),c=require("../stack/HStack.js"),s=require("styled-components");function i(e){return e&&e.__esModule?e:{default:e}}require("../../styles/constants/theme.js"),require("../stack/Stack.js");var a,o=i(s).default.div(a||(a=e.__makeTemplateObject(["\n z-index: 990;\n"],["\n z-index: 990;\n"])));exports.CoverSheetActions=function(s){var i=s.children,a=s.className,u=s.coverSheetActionId,d=e.__read(t.useState(!1),2),l=d[0],f=d[1];if(t.useEffect((function(){l||f(!0)}),[l]),"undefined"!=typeof document&&l){var h=document.querySelector("#".concat(u));if(h)return n.createPortal(r.jsx(o,e.__assign({className:a},{children:r.jsx(c.HStack,{children:i})})),h);throw Error('CoverSheetActions: Could not find Coversheet wrapper with id "'.concat(u,'"'))}return null};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("react/jsx-runtime"),t=require("react"),n=require("react-dom"),c=require("styled-components"),i=require("../stack/HStack.js");function s(e){return e&&e.__esModule?e:{default:e}}require("../../styles/constants/theme.js"),require("../stack/Stack.js");var a,o=s(c).default.div(a||(a=e.__makeTemplateObject(["\n z-index: 990;\n"],["\n z-index: 990;\n"])));exports.CoverSheetActions=function(c){var s=c.children,a=c.className,u=c.coverSheetActionId,d=e.__read(t.useState(!1),2),l=d[0],f=d[1];if(t.useEffect((function(){l||f(!0)}),[l]),"undefined"!=typeof document&&l){var h=document.querySelector("#".concat(u));if(h)return n.createPortal(r.jsx(o,{className:a,children:r.jsx(i.HStack,{children:s})}),h);throw Error('CoverSheetActions: Could not find Coversheet wrapper with id "'.concat(u,'"'))}return null};
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  amount: number;
4
3
  className?: string;
5
4
  code: string;
6
5
  };
7
- export declare const Currency: ({ amount, className, code }: Props) => JSX.Element;
6
+ export declare const Currency: ({ amount, className, code }: Props) => import("react/jsx-runtime").JSX.Element;
8
7
  export {};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("../../styles/constants/theme.js"),r=require("styled-components"),s=require("../text/Text.js");function a(e){return e&&e.__esModule?e:{default:e}}var i,l=a(r).default.span(i||(i=e.__makeTemplateObject(["\n font-feature-settings: 'tnum' 1;\n /** Make it not break line */\n white-space: nowrap;\n display: flex;\n gap: ",";\n"],["\n font-feature-settings: 'tnum' 1;\n /** Make it not break line */\n white-space: nowrap;\n display: flex;\n gap: ",";\n"])),t.theme.space4);exports.Currency=function(t){var r=t.amount,a=t.className,i=t.code,c=new Intl.NumberFormat("en-US",{currency:i,style:"currency"}).format(r).replace(/[^0-9.-]+/g,""),u=r<0;return n.jsxs(l,e.__assign({className:a},{children:[n.jsx(s.Text,e.__assign({color:u?"red600":"gray1200",type:"label"},{children:c})),n.jsx(s.Text,e.__assign({color:u?"red400":"gray700"},{children:i.toUpperCase()}))]}))};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),t=require("react/jsx-runtime"),r=require("styled-components"),n=require("../../styles/constants/theme.js"),a=require("../text/Text.js");function s(e){return e&&e.__esModule?e:{default:e}}var l,c=s(r).default.span(l||(l=e.__makeTemplateObject(["\n font-feature-settings: 'tnum' 1;\n /** Make it not break line */\n white-space: nowrap;\n display: flex;\n gap: ",";\n"],["\n font-feature-settings: 'tnum' 1;\n /** Make it not break line */\n white-space: nowrap;\n display: flex;\n gap: ",";\n"])),n.theme.space4);exports.Currency=function(e){var r=e.amount,n=e.className,s=e.code,l=new Intl.NumberFormat("en-US",{currency:s,style:"currency"}).format(r).replace(/[^0-9.-]+/g,""),i=r<0;return t.jsxs(c,{className:n,children:[t.jsx(a.Text,{color:i?"red600":"gray1200",type:"label",children:l}),t.jsx(a.Text,{color:i?"red400":"gray700",children:s.toUpperCase()})]})};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type StyledProps = {
3
2
  isTabular: boolean;
4
3
  width?: string;
@@ -13,5 +12,5 @@ type Props = {
13
12
  showLocale?: boolean;
14
13
  value: number;
15
14
  } & Partial<StyledProps>;
16
- export declare const DualCurrency: ({ className, conversionRate, foreignCode, isTabular, localeCode, showForeign, showLocale, value, width, }: Props) => JSX.Element | null;
15
+ export declare const DualCurrency: ({ className, conversionRate, foreignCode, isTabular, localeCode, showForeign, showLocale, value, width, }: Props) => import("react/jsx-runtime").JSX.Element | null;
17
16
  export {};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),r=require("../../icons/ArrowSwapIcon.js"),i=require("../../styles/constants/theme.js"),t=require("styled-components"),s=require("./Currency.js");function a(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../../icons/icon-base/_IconBase.js"),require("../text/Text.js");var u,c,l,o,d=a(t),m=t.css(u||(u=e.__makeTemplateObject(["\n font-variant-numeric: tabular-nums;\n display: grid;\n grid-template-columns: 1.25fr 0fr 1.25fr;\n"],["\n font-variant-numeric: tabular-nums;\n display: grid;\n grid-template-columns: 1.25fr 0fr 1.25fr;\n"]))),f=t.css(c||(c=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),p=d.default.div(o||(o=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-items: right;\n ","\n grid-column-gap: ",";\n ",";\n"],["\n display: flex;\n align-items: center;\n justify-items: right;\n ","\n grid-column-gap: ",";\n ",";\n"])),(function(e){return e.isTabular?m:f}),i.theme.space8,(function(n){return n.width&&t.css(l||(l=e.__makeTemplateObject(["\n width: p.width;\n "],["\n width: p.width;\n "])))}));exports.DualCurrency=function(i){var t=i.className,a=i.conversionRate,u=i.foreignCode,c=void 0===u?"USD":u,l=i.isTabular,o=void 0===l||l,d=i.localeCode,m=void 0===d?"USD":d,f=i.showForeign,j=void 0===f||f,g=i.showLocale,h=void 0===g||g,v=i.value,y=i.width,_=function(e){return n.jsx(s.Currency,{amount:v,className:e,code:m})},w=a?v*a:v,x=function(e){return n.jsx(s.Currency,{amount:w,className:e,code:c})},b=m&&h,q=c&&j&&a,T=m===c;return q&&b&&!T?n.jsxs(p,e.__assign({className:t,isTabular:o,width:null==y?void 0:y.toString()},{children:[_(),n.jsx(r.ArrowSwapIcon,{size:12}),x()]})):T||b?_(t):q?x(t):null};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),r=require("styled-components"),t=require("../../icons/ArrowSwapIcon.js"),i=require("../../styles/constants/theme.js"),s=require("./Currency.js");function a(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../../icons/icon-base/_IconBase.js"),require("../text/Text.js");var u,c,l,o,d=a(r),m=r.css(u||(u=e.__makeTemplateObject(["\n font-variant-numeric: tabular-nums;\n display: grid;\n grid-template-columns: 1.25fr 0fr 1.25fr;\n"],["\n font-variant-numeric: tabular-nums;\n display: grid;\n grid-template-columns: 1.25fr 0fr 1.25fr;\n"]))),f=r.css(c||(c=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),p=d.default.div(o||(o=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-items: right;\n ","\n grid-column-gap: ",";\n ",";\n"],["\n display: flex;\n align-items: center;\n justify-items: right;\n ","\n grid-column-gap: ",";\n ",";\n"])),(function(e){return e.isTabular?m:f}),i.theme.space8,(function(n){return n.width&&r.css(l||(l=e.__makeTemplateObject(["\n width: p.width;\n "],["\n width: p.width;\n "])))}));exports.DualCurrency=function(e){var r=e.className,i=e.conversionRate,a=e.foreignCode,u=void 0===a?"USD":a,c=e.isTabular,l=void 0===c||c,o=e.localeCode,d=void 0===o?"USD":o,m=e.showForeign,f=void 0===m||m,j=e.showLocale,g=void 0===j||j,h=e.value,v=e.width,y=function(e){return n.jsx(s.Currency,{amount:h,className:e,code:d})},w=i?h*i:h,x=function(e){return n.jsx(s.Currency,{amount:w,className:e,code:u})},_=d&&g,b=u&&f&&i,q=d===u;return b&&_&&!q?n.jsxs(p,{className:r,isTabular:l,width:null==v?void 0:v.toString(),children:[y(),n.jsx(t.ArrowSwapIcon,{size:12}),x()]}):q||_?y(r):b?x(r):null};
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const DangerZone: import("styled-components").StyledComponent<({ actions, children, className, footerActions, footerContent, footerHeight, label, spacing, }: import("../card/Card").CardProps) => JSX.Element, any, {}, never>;
1
+ export declare const DangerZone: import("styled-components").StyledComponent<({ actions, children, className, footerActions, footerContent, footerHeight, label, spacing, }: import("../card/Card").CardProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("../card/Card.js"),n=require("../../styles/constants/theme.js"),t=require("styled-components");function o(e){return e&&e.__esModule?e:{default:e}}require("react/jsx-runtime"),require("../stack/HStack.js"),require("../stack/Stack.js"),require("../text/Text.js");var a,s=o(t).default(r.Card)(a||(a=e.__makeTemplateObject(["\n border-color: ",";\n box-shadow: 0px 1px 5px rgba(255, 0, 0, 0.19);\n\n header {\n border-color: ",";\n }\n\n h4 {\n color: ",";\n }\n"],["\n border-color: ",";\n box-shadow: 0px 1px 5px rgba(255, 0, 0, 0.19);\n\n header {\n border-color: ",";\n }\n\n h4 {\n color: ",";\n }\n"])),n.theme.red200,n.theme.red200,n.theme.red600);exports.DangerZone=s;
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("styled-components"),n=require("../card/Card.js"),t=require("../../styles/constants/theme.js");function o(e){return e&&e.__esModule?e:{default:e}}require("react/jsx-runtime"),require("../stack/HStack.js"),require("../stack/Stack.js"),require("../text/Text.js");var a,s=o(r).default(n.Card)(a||(a=e.__makeTemplateObject(["\n border-color: ",";\n box-shadow: 0px 1px 5px rgba(255, 0, 0, 0.19);\n\n header {\n border-color: ",";\n }\n\n h4 {\n color: ",";\n }\n"],["\n border-color: ",";\n box-shadow: 0px 1px 5px rgba(255, 0, 0, 0.19);\n\n header {\n border-color: ",";\n }\n\n h4 {\n color: ",";\n }\n"])),t.theme.red200,t.theme.red200,t.theme.red600);exports.DangerZone=s;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("react"),a=require("../text/Text.js"),r=require("../../icons/RemoveCircleDuotoneIcon.js"),i=require("../../styles/constants/theme.js"),o=require("styled-components"),s=require("../button/Button.js"),l=require("./_BaseDialog.js");function c(e){return e&&e.__esModule?e:{default:e}}require("../../icons/icon-base/_IconBase.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js");var d=c(o),h=d.default.div(k||(k=e.__makeTemplateObject(["\n padding: ",";\n padding-bottom: ",";\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n padding: ",";\n padding-bottom: ",";\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),i.theme.space24,i.theme.space16,i.theme.radius12,i.theme.radius12,i.theme.space12),m=d.default.div(v||(v=e.__makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n\n > :not(button) {\n margin: 0;\n flex-grow: 1;\n font-weight: 700;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n\n > :not(button) {\n margin: 0;\n flex-grow: 1;\n font-weight: 700;\n }\n"]))),p=d.default(s.Button)(w||(w=e.__makeTemplateObject(["\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n"],["\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n"])),i.theme.gray200,i.theme.gray800,i.theme.gray300,i.theme.gray400),u=d.default.div(x||(x=e.__makeTemplateObject(["\n flex-grow: 1;\n display: flex;\n"],["\n flex-grow: 1;\n display: flex;\n"]))),g=d.default(u)(j||(j=e.__makeTemplateObject(["\n justify-content: flex-start;\n display: flex;\n gap: ",";\n"],["\n justify-content: flex-start;\n display: flex;\n gap: ",";\n"])),i.theme.space8),f=d.default(u)(y||(y=e.__makeTemplateObject(["\n justify-content: flex-end;\n display: flex;\n gap: ",";\n"],["\n justify-content: flex-end;\n display: flex;\n gap: ",";\n"])),i.theme.space8),b=d.default.div(_||(_=e.__makeTemplateObject(["\n padding: ",";\n display: flex;\n align-items: center;\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n\n & > div + div {\n margin-left: ",";\n }\n"],["\n padding: ",";\n display: flex;\n align-items: center;\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n\n & > div + div {\n margin-left: ",";\n }\n"])),i.theme.space24,i.theme.radius12,i.theme.radius12,i.theme.space8);o.css(T||(T=e.__makeTemplateObject(["\n overscroll-behavior: contain;\n /* scroll bar width, for use in mask calculations */\n --scrollbar-width: 8px;\n\n /* mask fade distance, for use in mask calculations */\n --mask-height: 32px;\n\n /* If content exceeds height of container, overflow! */\n overflow-y: auto;\n\n padding-bottom: var(--mask-height);\n /* The CSS mask */\n\n /* The content mask is a linear gradient from top to bottom */\n --mask-image-content: linear-gradient(\n to bottom,\n transparent,\n black var(--mask-height),\n black calc(100% - var(--mask-height)),\n transparent\n );\n /* Here we scale the content gradient to the width of the container\nminus the scrollbar width. The height is the full container height */\n --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;\n\n /* The scrollbar mask is a black pixel */\n --mask-image-scrollbar: linear-gradient(black, black);\n\n /* The width of our black pixel is the width of the scrollbar.\nThe height is the full container height */\n --mask-size-scrollbar: var(--scrollbar-width) 100%;\n\n /* Apply the mask image and mask size variables */\n mask-image: var(--mask-image-content), var(--mask-image-scrollbar);\n mask-size: var(--mask-size-content), var(--mask-size-scrollbar);\n\n /* Position the content gradient in the top left, and the\nscroll gradient in the top right */\n mask-position: 0 0, 100% 0;\n\n /* We don't repeat our mask images */\n mask-repeat: no-repeat, no-repeat;\n"],["\n overscroll-behavior: contain;\n /* scroll bar width, for use in mask calculations */\n --scrollbar-width: 8px;\n\n /* mask fade distance, for use in mask calculations */\n --mask-height: 32px;\n\n /* If content exceeds height of container, overflow! */\n overflow-y: auto;\n\n padding-bottom: var(--mask-height);\n /* The CSS mask */\n\n /* The content mask is a linear gradient from top to bottom */\n --mask-image-content: linear-gradient(\n to bottom,\n transparent,\n black var(--mask-height),\n black calc(100% - var(--mask-height)),\n transparent\n );\n /* Here we scale the content gradient to the width of the container\nminus the scrollbar width. The height is the full container height */\n --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;\n\n /* The scrollbar mask is a black pixel */\n --mask-image-scrollbar: linear-gradient(black, black);\n\n /* The width of our black pixel is the width of the scrollbar.\nThe height is the full container height */\n --mask-size-scrollbar: var(--scrollbar-width) 100%;\n\n /* Apply the mask image and mask size variables */\n mask-image: var(--mask-image-content), var(--mask-image-scrollbar);\n mask-size: var(--mask-size-content), var(--mask-size-scrollbar);\n\n /* Position the content gradient in the top left, and the\nscroll gradient in the top right */\n mask-position: 0 0, 100% 0;\n\n /* We don't repeat our mask images */\n mask-repeat: no-repeat, no-repeat;\n"])));var k,v,w,x,j,y,_,T,q,O=d.default.div(q||(q=e.__makeTemplateObject(["\n padding: "," ",";\n overflow-y: auto;\n flex-grow: 1;\n /**\n * Current overflow is not working well with react-tooltip.\n * Temporary remove gradient overflow until having new tooltip library to use\n */\n // gradientOverflow\n"],["\n padding: "," ",";\n overflow-y: auto;\n flex-grow: 1;\n /**\n * Current overflow is not working well with react-tooltip.\n * Temporary remove gradient overflow until having new tooltip library to use\n */\n // gradientOverflow\n"])),i.theme.space8,i.theme.space24),z=t.forwardRef((function(t,i){var o=t.actions,s=t.children,c=t.className,d=t.closeOnBlur,u=t.closeOnEsc,k=t.label,v=t.leftActions,w=t.noBorder,x=t.onClose,j=t.open,y=t.subtitle,_=t.themeOverride,T=t.width;return n.jsxs(l.BaseDialog,e.__assign({className:c,closeOnBlur:d,closeOnEsc:u,"data-theme":_,noBorder:w,onClose:x,open:j,width:T},{children:[n.jsxs(h,{children:[n.jsxs(m,{children:[n.jsx(a.Text,e.__assign({type:"title"},{children:k})),n.jsx(p,{icon:n.jsx(r.RemoveCircleDuotoneIcon,{size:24}),noRipple:!0,onClick:x})]}),y&&n.jsx(a.Text,e.__assign({type:"subtitle"},{children:y}))]}),n.jsx(O,e.__assign({ref:i},{children:s})),(o||v)&&n.jsxs(b,{children:[v&&n.jsx(g,{children:v}),o&&n.jsx(f,{children:o})]})]}))}));exports.Dialog=z;
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),t=require("react"),a=require("styled-components"),r=require("../text/Text.js"),i=require("../../icons/RemoveCircleDuotoneIcon.js"),o=require("../../styles/constants/theme.js"),s=require("../button/Button.js"),l=require("./_BaseDialog.js");function c(e){return e&&e.__esModule?e:{default:e}}require("../../icons/icon-base/_IconBase.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("react-dom"),require("../backdrop/Backdrop.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js");var d=c(a),h=d.default.div(k||(k=e.__makeTemplateObject(["\n padding: ",";\n padding-bottom: ",";\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n padding: ",";\n padding-bottom: ",";\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),o.theme.space24,o.theme.space16,o.theme.radius12,o.theme.radius12,o.theme.space12),m=d.default.div(v||(v=e.__makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n\n > :not(button) {\n margin: 0;\n flex-grow: 1;\n font-weight: 700;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n\n > :not(button) {\n margin: 0;\n flex-grow: 1;\n font-weight: 700;\n }\n"]))),p=d.default(s.Button)(w||(w=e.__makeTemplateObject(["\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n"],["\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n"])),o.theme.gray200,o.theme.gray800,o.theme.gray300,o.theme.gray400),u=d.default.div(x||(x=e.__makeTemplateObject(["\n flex-grow: 1;\n display: flex;\n"],["\n flex-grow: 1;\n display: flex;\n"]))),g=d.default(u)(j||(j=e.__makeTemplateObject(["\n justify-content: flex-start;\n display: flex;\n gap: ",";\n"],["\n justify-content: flex-start;\n display: flex;\n gap: ",";\n"])),o.theme.space8),f=d.default(u)(y||(y=e.__makeTemplateObject(["\n justify-content: flex-end;\n display: flex;\n gap: ",";\n"],["\n justify-content: flex-end;\n display: flex;\n gap: ",";\n"])),o.theme.space8),b=d.default.div(T||(T=e.__makeTemplateObject(["\n padding: ",";\n display: flex;\n align-items: center;\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n\n & > div + div {\n margin-left: ",";\n }\n"],["\n padding: ",";\n display: flex;\n align-items: center;\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n\n & > div + div {\n margin-left: ",";\n }\n"])),o.theme.space24,o.theme.radius12,o.theme.radius12,o.theme.space8);a.css(q||(q=e.__makeTemplateObject(["\n overscroll-behavior: contain;\n /* scroll bar width, for use in mask calculations */\n --scrollbar-width: 8px;\n\n /* mask fade distance, for use in mask calculations */\n --mask-height: 32px;\n\n /* If content exceeds height of container, overflow! */\n overflow-y: auto;\n\n padding-bottom: var(--mask-height);\n /* The CSS mask */\n\n /* The content mask is a linear gradient from top to bottom */\n --mask-image-content: linear-gradient(\n to bottom,\n transparent,\n black var(--mask-height),\n black calc(100% - var(--mask-height)),\n transparent\n );\n /* Here we scale the content gradient to the width of the container\nminus the scrollbar width. The height is the full container height */\n --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;\n\n /* The scrollbar mask is a black pixel */\n --mask-image-scrollbar: linear-gradient(black, black);\n\n /* The width of our black pixel is the width of the scrollbar.\nThe height is the full container height */\n --mask-size-scrollbar: var(--scrollbar-width) 100%;\n\n /* Apply the mask image and mask size variables */\n mask-image: var(--mask-image-content), var(--mask-image-scrollbar);\n mask-size: var(--mask-size-content), var(--mask-size-scrollbar);\n\n /* Position the content gradient in the top left, and the\nscroll gradient in the top right */\n mask-position:\n 0 0,\n 100% 0;\n\n /* We don't repeat our mask images */\n mask-repeat: no-repeat, no-repeat;\n"],["\n overscroll-behavior: contain;\n /* scroll bar width, for use in mask calculations */\n --scrollbar-width: 8px;\n\n /* mask fade distance, for use in mask calculations */\n --mask-height: 32px;\n\n /* If content exceeds height of container, overflow! */\n overflow-y: auto;\n\n padding-bottom: var(--mask-height);\n /* The CSS mask */\n\n /* The content mask is a linear gradient from top to bottom */\n --mask-image-content: linear-gradient(\n to bottom,\n transparent,\n black var(--mask-height),\n black calc(100% - var(--mask-height)),\n transparent\n );\n /* Here we scale the content gradient to the width of the container\nminus the scrollbar width. The height is the full container height */\n --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;\n\n /* The scrollbar mask is a black pixel */\n --mask-image-scrollbar: linear-gradient(black, black);\n\n /* The width of our black pixel is the width of the scrollbar.\nThe height is the full container height */\n --mask-size-scrollbar: var(--scrollbar-width) 100%;\n\n /* Apply the mask image and mask size variables */\n mask-image: var(--mask-image-content), var(--mask-image-scrollbar);\n mask-size: var(--mask-size-content), var(--mask-size-scrollbar);\n\n /* Position the content gradient in the top left, and the\nscroll gradient in the top right */\n mask-position:\n 0 0,\n 100% 0;\n\n /* We don't repeat our mask images */\n mask-repeat: no-repeat, no-repeat;\n"])));var k,v,w,x,j,y,T,q,_,O=d.default.div(_||(_=e.__makeTemplateObject(["\n padding: "," ",";\n overflow-y: auto;\n flex-grow: 1;\n /**\n * Current overflow is not working well with react-tooltip.\n * Temporary remove gradient overflow until having new tooltip library to use\n */\n // gradientOverflow\n"],["\n padding: "," ",";\n overflow-y: auto;\n flex-grow: 1;\n /**\n * Current overflow is not working well with react-tooltip.\n * Temporary remove gradient overflow until having new tooltip library to use\n */\n // gradientOverflow\n"])),o.theme.space8,o.theme.space24),z=t.forwardRef((function(e,t){var a=e.actions,o=e.children,s=e.className,c=e.closeOnBlur,d=e.closeOnEsc,u=e.label,k=e.leftActions,v=e.noBorder,w=e.onClose,x=e.open,j=e.subtitle,y=e.themeOverride,T=e.width;return n.jsxs(l.BaseDialog,{className:s,closeOnBlur:c,closeOnEsc:d,"data-theme":y,noBorder:v,onClose:w,open:x,width:T,children:[n.jsxs(h,{children:[n.jsxs(m,{children:[n.jsx(r.Text,{type:"title",children:u}),n.jsx(p,{icon:n.jsx(i.RemoveCircleDuotoneIcon,{size:24}),noRipple:!0,onClick:w})]}),j&&n.jsx(r.Text,{type:"subtitle",children:j})]}),n.jsx(O,{ref:t,children:o}),(a||k)&&n.jsxs(b,{children:[k&&n.jsx(g,{children:k}),a&&n.jsx(f,{children:a})]})]})}));exports.Dialog=z;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("react"),o=require("react-dom"),i=require("framer-motion"),r=require("../backdrop/Backdrop.js"),a=require("../../styles/constants/theme.js"),d=require("../../utils/hooks/useAminoTheme.js"),s=require("styled-components");function u(e){return e&&e.__esModule?e:{default:e}}require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js");var l,c,h=u(s),m=h.default.div(l||(l=e.__makeTemplateObject(["\n width: 100vw;\n height: 100vh;\n left: 0;\n top: 0;\n z-index: 1000;\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",";\n"],["\n width: 100vw;\n height: 100vh;\n left: 0;\n top: 0;\n z-index: 1000;\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",";\n"])),a.theme.textColor),f=h.default(i.motion.div)(c||(c=e.__makeTemplateObject(["\n position: relative;\n z-index: 1001;\n background: ",";\n width: ","px;\n max-height: 90vh;\n border-radius: ",";\n outline: none;\n box-shadow: ",";\n border: ",";\n overflow: hidden;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n z-index: 1001;\n background: ",";\n width: ","px;\n max-height: 90vh;\n border-radius: ",";\n outline: none;\n box-shadow: ",";\n border: ",";\n overflow: hidden;\n display: flex;\n flex-direction: column;\n"])),a.theme.surfaceColor,(function(e){return e.width}),a.theme.radius12,a.theme.v3ShadowXxl,(function(e){return!e.noBorder&&a.theme.border}));exports.BaseDialog=function(a){var s=a.children,u=a.className,l=a.closeOnBlur,c=void 0===l||l,h=a.closeOnEsc,p=void 0===h||h,x=a.noBorder,v=void 0!==x&&x,y=a.onClose,g=a.open,w=a.themeOverride,b=a.width,j=d.useAminoTheme().aminoTheme,q=t.useRef(null),k=t.useRef(null),_=t.useRef(null);return t.useEffect((function(){var e,n;(null===(e=k.current)||void 0===e?void 0:e.contains(document.activeElement))||null===(n=k.current)||void 0===n||n.focus(),(null===document||void 0===document?void 0:document.body)&&(document.body.style.overflow=g?"hidden":"auto")}),[g]),"undefined"!=typeof document?o.createPortal(n.jsx(i.AnimatePresence,{children:g&&n.jsxs(n.Fragment,{children:[n.jsx(r.Backdrop,{ref:k,animate:{opacity:.65},"data-theme":w||j,exit:{opacity:0},initial:{opacity:0},transition:{duration:.3}},"dialog-backdrop"),n.jsx(m,e.__assign({ref:_,"data-theme":w||j,onKeyDown:function(e){y&&p&&"Escape"===e.key&&y()},onMouseDown:function(e){q.current=e.target},onMouseUp:function(e){var n=e.target===q.current,t=y&&c&&e.target===_.current;n&&t&&y(),q.current=null},tabIndex:-1},{children:n.jsx(f,e.__assign({animate:{opacity:1,scale:1},className:u,exit:{opacity:0,scale:.95},initial:{opacity:0,scale:.95},noBorder:v,onClick:function(e){e.stopPropagation()},transition:{duration:.3,ease:[.4,0,.2,1]},width:b||444},{children:s}),"dialog")}))]})}),document.querySelector("body")):null};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),t=require("react"),o=require("react-dom"),i=require("framer-motion"),r=require("styled-components"),a=require("../backdrop/Backdrop.js"),d=require("../../styles/constants/theme.js"),u=require("../../utils/hooks/useAminoTheme.js");function s(e){return e&&e.__esModule?e:{default:e}}require("zod"),require("../../utils/storage.js"),require("swr"),require("../../utils/hooks/useStorage.js"),require("../../utils/hooks/useSwr.js");var l,c,h=s(r),m=h.default.div(l||(l=e.__makeTemplateObject(["\n width: 100vw;\n height: 100vh;\n left: 0;\n top: 0;\n z-index: 1000;\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",";\n"],["\n width: 100vw;\n height: 100vh;\n left: 0;\n top: 0;\n z-index: 1000;\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",";\n"])),d.theme.textColor),f=h.default(i.motion.div)(c||(c=e.__makeTemplateObject(["\n position: relative;\n z-index: 1001;\n background: ",";\n width: ","px;\n max-height: 90vh;\n border-radius: ",";\n outline: none;\n box-shadow: ",";\n border: ",";\n overflow: hidden;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n z-index: 1001;\n background: ",";\n width: ","px;\n max-height: 90vh;\n border-radius: ",";\n outline: none;\n box-shadow: ",";\n border: ",";\n overflow: hidden;\n display: flex;\n flex-direction: column;\n"])),d.theme.surfaceColor,(function(e){return e.width}),d.theme.radius12,d.theme.v3ShadowXxl,(function(e){return!e.noBorder&&d.theme.border}));exports.BaseDialog=function(e){var r=e.children,d=e.className,s=e.closeOnBlur,l=void 0===s||s,c=e.closeOnEsc,h=void 0===c||c,p=e.noBorder,x=void 0!==p&&p,v=e.onClose,y=e.open,w=e.themeOverride,b=e.width,g=u.useAminoTheme().aminoTheme,j=t.useRef(null),q=t.useRef(null),k=t.useRef(null);return t.useEffect((function(){var e,n;(null===(e=q.current)||void 0===e?void 0:e.contains(document.activeElement))||null===(n=q.current)||void 0===n||n.focus(),(null===document||void 0===document?void 0:document.body)&&(document.body.style.overflow=y?"hidden":"auto")}),[y]),"undefined"!=typeof document?o.createPortal(n.jsx(i.AnimatePresence,{children:y&&n.jsxs(n.Fragment,{children:[n.jsx(a.Backdrop,{ref:q,animate:{opacity:.65},"data-theme":w||g,exit:{opacity:0},initial:{opacity:0},transition:{duration:.3}},"dialog-backdrop"),n.jsx(m,{ref:k,"data-theme":w||g,onKeyDown:function(e){v&&h&&"Escape"===e.key&&v()},onMouseDown:function(e){j.current=e.target},onMouseUp:function(e){var n=e.target===j.current,t=v&&l&&e.target===k.current;n&&t&&v(),j.current=null},tabIndex:-1,children:n.jsx(f,{animate:{opacity:1,scale:1},className:d,exit:{opacity:0,scale:.95},initial:{opacity:0,scale:.95},noBorder:x,onClick:function(e){e.stopPropagation()},transition:{duration:.3,ease:[.4,0,.2,1]},width:b||444,children:r},"dialog")})]})}),document.querySelector("body")):null};
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  className?: string;
4
3
  vertical?: boolean;
5
4
  };
6
- export declare const Divider: ({ className, vertical }: Props) => JSX.Element;
5
+ export declare const Divider: ({ className, vertical }: Props) => import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),t=require("../../styles/constants/theme.js");function n(e){return e&&e.__esModule?e:{default:e}}var s,a,i=n(require("styled-components")),o=i.default.hr(s||(s=e.__makeTemplateObject(["\n margin: "," 0;\n border-color: ",";\n"],["\n margin: "," 0;\n border-color: ",";\n"])),t.theme.space24,t.theme.borderColor),l=i.default.hr(a||(a=e.__makeTemplateObject(["\n margin: 0 ",";\n height: auto;\n align-self: stretch;\n border-right: solid thin ",";\n"],["\n margin: 0 ",";\n height: auto;\n align-self: stretch;\n border-right: solid thin ",";\n"])),t.theme.space24,t.theme.borderColor);exports.Divider=function(e){var t=e.className,n=e.vertical;return void 0!==n&&n?r.jsx(l,{className:t}):r.jsx(o,{className:t})};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("react/jsx-runtime"),t=require("styled-components"),n=require("../../styles/constants/theme.js");function s(e){return e&&e.__esModule?e:{default:e}}var a,i,o=s(t),l=o.default.hr(a||(a=e.__makeTemplateObject(["\n margin: "," 0;\n border-color: ",";\n"],["\n margin: "," 0;\n border-color: ",";\n"])),n.theme.space24,n.theme.borderColor),c=o.default.hr(i||(i=e.__makeTemplateObject(["\n margin: 0 ",";\n height: auto;\n align-self: stretch;\n border-right: solid thin ",";\n"],["\n margin: 0 ",";\n height: auto;\n align-self: stretch;\n border-right: solid thin ",";\n"])),n.theme.space24,n.theme.borderColor);exports.Divider=function(e){var t=e.className,n=e.vertical;return void 0!==n&&n?r.jsx(c,{className:t}):r.jsx(l,{className:t})};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type DropzoneOptions } from 'react-dropzone';
3
2
  import { type UploadedFile } from "../../types/UploadedFile";
4
3
  export type DropZoneProps = {
@@ -32,4 +31,4 @@ export type DropZoneProps = {
32
31
  /** When the remove icon is clicked on an individual file */
33
32
  onRemoveFile: (index: number) => void;
34
33
  };
35
- export declare const DropZone: ({ className, disabled, dropzoneOptions, error, helpText, instructionText, loading, loadingText, noIcon, onRemoveFile, uploadedFiles, }: DropZoneProps) => JSX.Element;
34
+ export declare const DropZone: ({ className, disabled, dropzoneOptions, error, helpText, instructionText, loading, loadingText, noIcon, onRemoveFile, uploadedFiles, }: DropZoneProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),i=require("react-dropzone"),r=require("../../icons/FileDuotoneIcon.js"),a=require("../../icons/FileUploadDuotoneIcon.js"),t=require("../../icons/RemoveCircleDuotoneIcon.js"),o=require("../../styles/constants/theme.js"),l=require("styled-components"),s=require("../avatar/ImageAvatar.js"),d=require("../button/Button.js"),c=require("../spinner/Spinner.js"),u=require("../text/Text.js"),p=require("../thumbnail/Thumbnail.js");function m(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../../icons/icon-base/_IconBase.js"),require("../avatar/AvatarBase.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js");var x,f,g,h,j,_,b,y,v,q=m(l),T=q.default.div(x||(x=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ",";\n opacity: ",";\n cursor: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n opacity: ",";\n cursor: ",";\n"])),o.theme.space16,(function(e){return e.disabled?.5:1}),(function(e){return e.disabled?"not-allowed":"auto"})),k=q.default.div(f||(f=e.__makeTemplateObject(["\n border: 2px dashed;\n border-color: ",";\n border-radius: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n"],["\n border: 2px dashed;\n border-color: ",";\n border-radius: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n"])),(function(e){return e.error?o.theme.danger:o.theme.borderColor}),o.theme.radius12),I=q.default.div(g||(g=e.__makeTemplateObject(["\n padding: ",";\n outline: none;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"],["\n padding: ",";\n outline: none;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"])),o.theme.space16,o.theme.space12),O=q.default.div(h||(h=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ",";\n align-items: center;\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n align-items: center;\n"])),o.theme.space4),D=q.default.button(j||(j=e.__makeTemplateObject(["\n display: inline;\n"],["\n display: inline;\n"]))),F=q.default(d.Button)(_||(_=e.__makeTemplateObject(["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"],["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"])),o.theme.gray200,o.theme.gray800,o.theme.gray300,o.theme.gray400),z=q.default.div(b||(b=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),o.theme.space4),R=q.default.div(y||(y=e.__makeTemplateObject(["\n border: ",";\n border-radius: ",";\n padding: ",";\n display: flex;\n justify-content: flex-start;\n gap: ",";\n"],["\n border: ",";\n border-radius: ",";\n padding: ",";\n display: flex;\n justify-content: flex-start;\n gap: ",";\n"])),o.theme.border,o.theme.space12,o.theme.space16,o.theme.space12),C=q.default.div(v||(v=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"])));exports.DropZone=function(o){var l=o.className,d=o.disabled,m=void 0!==d&&d,x=o.dropzoneOptions,f=o.error,g=void 0!==f&&f,h=o.helpText,j=o.instructionText,_=void 0===j?"Drop your file(s) here":j,b=o.loading,y=o.loadingText,v=void 0===y?"Uploading file(s)...":y,q=o.noIcon,U=void 0!==q&&q,w=o.onRemoveFile,B=o.uploadedFiles,A=x.maxFiles||0,N=i.useDropzone(e.__assign(e.__assign({},x),{disabled:m,noClick:!0,noKeyboard:!0})),P=N.getInputProps,S=N.getRootProps,G=N.open,K=0!==A&&B.length>=A;return n.jsx(T,e.__assign({className:l,disabled:m},{children:b?n.jsx(k,{children:n.jsxs(I,{children:[n.jsx(c.Spinner,{}),n.jsx(u.Text,e.__assign({color:"gray800",type:"label"},{children:v}))]})}):n.jsxs(n.Fragment,{children:[!K&&n.jsx(k,e.__assign({error:g},{children:n.jsxs(I,e.__assign({},S(),{role:void 0},{children:[n.jsx("input",e.__assign({},P())),!U&&n.jsx(p.Thumbnail,{icon:n.jsx(a.FileUploadDuotoneIcon,{}),size:40}),n.jsxs(O,{children:[n.jsxs(u.Text,e.__assign({type:"label"},{children:[_," or"," ",n.jsx(D,e.__assign({disabled:m,onClick:G,type:"button"},{children:n.jsx(u.Text,e.__assign({color:"blue600",type:"label"},{children:"browse"}))}))]})),h&&n.jsx(u.Text,e.__assign({type:"caption"},{children:h}))]})]}))})),!!B.length&&n.jsx(z,{children:B.map((function(i,a){return n.jsxs(R,{children:[i.imageUrl?n.jsx(s.ImageAvatar,{imageUrl:i.imageUrl,shape:"rounded"}):n.jsx(r.FileDuotoneIcon,{}),n.jsxs(C,{children:[n.jsx(u.Text,e.__assign({color:"gray1200",type:"label"},{children:i.name})),i.size&&n.jsx(u.Text,e.__assign({color:"gray700",type:"caption"},{children:i.size}))]}),w&&n.jsx(F,e.__assign({onClick:function(){return w(a)}},{children:n.jsx(t.RemoveCircleDuotoneIcon,{size:20})}))]},i.name)}))})]})}))};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),r=require("react-dropzone"),i=require("styled-components"),t=require("../../icons/FileDuotoneIcon.js"),o=require("../../icons/FileUploadDuotoneIcon.js"),a=require("../../icons/RemoveCircleDuotoneIcon.js"),l=require("../../styles/constants/theme.js"),s=require("../avatar/ImageAvatar.js"),d=require("../button/Button.js"),c=require("../spinner/Spinner.js"),u=require("../text/Text.js"),p=require("../thumbnail/Thumbnail.js");function m(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../../icons/icon-base/_IconBase.js"),require("../avatar/AvatarBase.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js");var x,f,h,j,g,b,y,v,_,q=m(i),T=q.default.div(x||(x=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ",";\n opacity: ",";\n cursor: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n opacity: ",";\n cursor: ",";\n"])),l.theme.space16,(function(e){return e.disabled?.5:1}),(function(e){return e.disabled?"not-allowed":"auto"})),k=q.default.div(f||(f=e.__makeTemplateObject(["\n border: 2px dashed;\n border-color: ",";\n border-radius: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n"],["\n border: 2px dashed;\n border-color: ",";\n border-radius: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n"])),(function(e){return e.error?l.theme.danger:l.theme.borderColor}),l.theme.radius12),I=q.default.div(h||(h=e.__makeTemplateObject(["\n padding: ",";\n outline: none;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"],["\n padding: ",";\n outline: none;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"])),l.theme.space16,l.theme.space12),O=q.default.div(j||(j=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ",";\n align-items: center;\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n align-items: center;\n"])),l.theme.space4),D=q.default.button(g||(g=e.__makeTemplateObject(["\n display: inline;\n"],["\n display: inline;\n"]))),F=q.default(d.Button)(b||(b=e.__makeTemplateObject(["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"],["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"])),l.theme.gray200,l.theme.gray800,l.theme.gray300,l.theme.gray400),z=q.default.div(y||(y=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),l.theme.space4),R=q.default.div(v||(v=e.__makeTemplateObject(["\n border: ",";\n border-radius: ",";\n padding: ",";\n display: flex;\n justify-content: flex-start;\n gap: ",";\n"],["\n border: ",";\n border-radius: ",";\n padding: ",";\n display: flex;\n justify-content: flex-start;\n gap: ",";\n"])),l.theme.border,l.theme.space12,l.theme.space16,l.theme.space12),C=q.default.div(_||(_=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"])));exports.DropZone=function(i){var l=i.className,d=i.disabled,m=void 0!==d&&d,x=i.dropzoneOptions,f=i.error,h=void 0!==f&&f,j=i.helpText,g=i.instructionText,b=void 0===g?"Drop your file(s) here":g,y=i.loading,v=i.loadingText,_=void 0===v?"Uploading file(s)...":v,q=i.noIcon,U=void 0!==q&&q,w=i.onRemoveFile,B=i.uploadedFiles,A=x.maxFiles||0,N=r.useDropzone(e.__assign(e.__assign({},x),{disabled:m,noClick:!0,noKeyboard:!0})),P=N.getInputProps,S=N.getRootProps,G=N.open,K=0!==A&&B.length>=A;return n.jsx(T,{className:l,disabled:m,children:y?n.jsx(k,{children:n.jsxs(I,{children:[n.jsx(c.Spinner,{}),n.jsx(u.Text,{color:"gray800",type:"label",children:_})]})}):n.jsxs(n.Fragment,{children:[!K&&n.jsx(k,{error:h,children:n.jsxs(I,e.__assign({},S(),{role:void 0,children:[n.jsx("input",e.__assign({},P())),!U&&n.jsx(p.Thumbnail,{icon:n.jsx(o.FileUploadDuotoneIcon,{}),size:40}),n.jsxs(O,{children:[n.jsxs(u.Text,{type:"label",children:[b," or"," ",n.jsx(D,{disabled:m,onClick:G,type:"button",children:n.jsx(u.Text,{color:"blue600",type:"label",children:"browse"})})]}),j&&n.jsx(u.Text,{type:"caption",children:j})]})]}))}),!!B.length&&n.jsx(z,{children:B.map((function(e,r){return n.jsxs(R,{children:[e.imageUrl?n.jsx(s.ImageAvatar,{imageUrl:e.imageUrl,shape:"rounded"}):n.jsx(t.FileDuotoneIcon,{}),n.jsxs(C,{children:[n.jsx(u.Text,{color:"gray1200",type:"label",children:e.name}),e.size&&n.jsx(u.Text,{color:"gray700",type:"caption",children:e.size})]}),w&&n.jsx(F,{onClick:function(){return w(r)},children:n.jsx(a.RemoveCircleDuotoneIcon,{size:20})})]},e.name)}))})]})})};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type DropzoneOptions } from 'react-dropzone';
3
2
  type UploadFileNoImage = {
4
3
  name: string;
@@ -31,5 +30,5 @@ export type FileUploadProps = {
31
30
  /**
32
31
  * Single file input
33
32
  */
34
- export declare const FileUpload: ({ className, disabled, dropzoneOptions, error, instructionText, loading, loadingText, onRemoveFile, uploadedFile, }: FileUploadProps) => JSX.Element;
33
+ export declare const FileUpload: ({ className, disabled, dropzoneOptions, error, instructionText, loading, loadingText, onRemoveFile, uploadedFile, }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
35
34
  export {};
@@ -1 +1 @@
1
- "use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("react-dropzone"),r=require("../text/Text.js"),o=require("../../icons/RemoveCircleDuotoneIcon.js"),i=require("../../styles/constants/theme.js"),a=require("styled-components"),s=require("../button/Button.js");function l(n){return n&&n.__esModule?n:{default:n}}require("react"),require("../../icons/icon-base/_IconBase.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js");var c,d,u,p,f,g=l(a),m=g.default.div(c||(c=n.__makeTemplateObject(["\n display: flex;\n justify-content: flex-start;\n padding: "," ",";\n border-radius: ",";\n border: ",";\n border-color: ",";\n\n opacity: ",";\n cursor: ",";\n"],["\n display: flex;\n justify-content: flex-start;\n padding: "," ",";\n border-radius: ",";\n border: ",";\n border-color: ",";\n\n opacity: ",";\n cursor: ",";\n"])),i.theme.space8,i.theme.space12,i.theme.radius10,i.theme.border,(function(n){return n.error?i.theme.danger:i.theme.borderColor}),(function(n){return n.disabled?.5:1}),(function(n){return n.disabled?"not-allowed":"auto"})),x=g.default.div(d||(d=n.__makeTemplateObject(["\n outline: none;\n text-align: center;\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n"],["\n outline: none;\n text-align: center;\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n"]))),h=g.default.div(u||(u=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: ",";\n"],["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: ",";\n"])),i.theme.space12),y=g.default.div(p||(p=n.__makeTemplateObject(["\n display: flex;\n gap: ",";\n align-items: center;\n"],["\n display: flex;\n gap: ",";\n align-items: center;\n"])),i.theme.space4),_=g.default(s.Button)(f||(f=n.__makeTemplateObject(["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"],["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"])),i.theme.gray200,i.theme.gray800,i.theme.gray300,i.theme.gray400);exports.FileUpload=function(i){var a=i.className,l=i.disabled,c=void 0!==l&&l,d=i.dropzoneOptions,u=i.error,p=void 0!==u&&u,f=i.instructionText,g=void 0===f?"or drag your file here":f,j=i.loading,b=i.loadingText,v=void 0===b?"Uploading...":b,q=i.onRemoveFile,T=i.uploadedFile,k=t.useDropzone(n.__assign(n.__assign({},d),{disabled:c,multiple:!1,noClick:!0,noKeyboard:!0})),C=k.getInputProps,R=k.getRootProps,O=k.open,z=function(){return j?e.jsx(r.Text,{children:v}):T?function(){if(T){var t=T.name,o=T.size;return e.jsxs(y,{children:[e.jsx(r.Text,n.__assign({color:"gray1200",type:"label"},{children:t})),o&&e.jsx(r.Text,n.__assign({color:"gray700",type:"caption"},{children:o}))]})}return null}():e.jsx(r.Text,n.__assign({color:"gray600"},{children:g}))};return e.jsxs(m,n.__assign({className:a,disabled:c,error:p},{children:[e.jsxs(x,n.__assign({},R(),{children:[e.jsx("input",n.__assign({},C())),e.jsxs(h,{children:[e.jsx(s.Button,n.__assign({loading:j,onClick:O,spinnerColor:"black"},{children:"Browse"})),z()]})]})),q&&T&&e.jsx(_,n.__assign({onClick:function(){return q()}},{children:e.jsx(o.RemoveCircleDuotoneIcon,{size:20})}))]}))};
1
+ "use strict";var n=require("../../_tslib-ccfac372.js"),e=require("react/jsx-runtime"),t=require("react-dropzone"),r=require("styled-components"),o=require("../text/Text.js"),i=require("../../icons/RemoveCircleDuotoneIcon.js"),a=require("../../styles/constants/theme.js"),s=require("../button/Button.js");function l(n){return n&&n.__esModule?n:{default:n}}require("react"),require("../../icons/icon-base/_IconBase.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js");var c,d,u,p,f,m=l(r),x=m.default.div(c||(c=n.__makeTemplateObject(["\n display: flex;\n justify-content: flex-start;\n padding: "," ",";\n border-radius: ",";\n border: ",";\n border-color: ",";\n\n opacity: ",";\n cursor: ",";\n"],["\n display: flex;\n justify-content: flex-start;\n padding: "," ",";\n border-radius: ",";\n border: ",";\n border-color: ",";\n\n opacity: ",";\n cursor: ",";\n"])),a.theme.space8,a.theme.space12,a.theme.radius10,a.theme.border,(function(n){return n.error?a.theme.danger:a.theme.borderColor}),(function(n){return n.disabled?.5:1}),(function(n){return n.disabled?"not-allowed":"auto"})),g=m.default.div(d||(d=n.__makeTemplateObject(["\n outline: none;\n text-align: center;\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n"],["\n outline: none;\n text-align: center;\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n"]))),h=m.default.div(u||(u=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: ",";\n"],["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: ",";\n"])),a.theme.space12),y=m.default.div(p||(p=n.__makeTemplateObject(["\n display: flex;\n gap: ",";\n align-items: center;\n"],["\n display: flex;\n gap: ",";\n align-items: center;\n"])),a.theme.space4),j=m.default(s.Button)(f||(f=n.__makeTemplateObject(["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"],["\n margin-left: auto;\n padding: 0;\n path[data-is-secondary-color] {\n fill: ",";\n }\n\n && {\n &,\n &:focus,\n &:hover,\n &:active {\n color: ",";\n background: transparent;\n }\n &:hover {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n &:active,\n &:focus {\n path[data-is-secondary-color] {\n fill: ",";\n }\n }\n }\n\n :active,\n :focus {\n outline: none;\n box-shadow: unset;\n }\n"])),a.theme.gray200,a.theme.gray800,a.theme.gray300,a.theme.gray400);exports.FileUpload=function(r){var a=r.className,l=r.disabled,c=void 0!==l&&l,d=r.dropzoneOptions,u=r.error,p=void 0!==u&&u,f=r.instructionText,m=void 0===f?"or drag your file here":f,b=r.loading,v=r.loadingText,_=void 0===v?"Uploading...":v,q=r.onRemoveFile,T=r.uploadedFile,k=t.useDropzone(n.__assign(n.__assign({},d),{disabled:c,multiple:!1,noClick:!0,noKeyboard:!0})),C=k.getInputProps,R=k.getRootProps,O=k.open,z=function(){return b?e.jsx(o.Text,{children:_}):T?function(){if(T){var n=T.name,t=T.size;return e.jsxs(y,{children:[e.jsx(o.Text,{color:"gray1200",type:"label",children:n}),t&&e.jsx(o.Text,{color:"gray700",type:"caption",children:t})]})}return null}():e.jsx(o.Text,{color:"gray600",children:m})};return e.jsxs(x,{className:a,disabled:c,error:p,children:[e.jsxs(g,n.__assign({},R(),{children:[e.jsx("input",n.__assign({},C())),e.jsxs(h,{children:[e.jsx(s.Button,{loading:b,onClick:O,spinnerColor:"black",children:"Browse"}),z()]})]})),q&&T&&e.jsx(j,{onClick:function(){return q()},children:e.jsx(i.RemoveCircleDuotoneIcon,{size:20})})]})};
@@ -23,9 +23,9 @@ type GraphMatrixProps = {
23
23
  onResultData?: (data: GraphiqlExecutionResult<ExecutionResultType> | null) => void;
24
24
  };
25
25
  export declare const GraphMatrix: {
26
- ({ customToolbar, fetcher, loadingComponent, onEditQuery, onEditVariables, onResultData, query, schema, schemaName, url, variables, }: GraphMatrixProps): JSX.Element;
27
- ToolbarButton: import("react").ForwardRefExoticComponent<Pick<{
26
+ ({ customToolbar, fetcher, loadingComponent, onEditQuery, onEditVariables, onResultData, query, schema, schemaName, url, variables, }: GraphMatrixProps): import("react/jsx-runtime").JSX.Element;
27
+ ToolbarButton: import("react").ForwardRefExoticComponent<Omit<{
28
28
  label: string;
29
- } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>, "label" | "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("react").RefAttributes<HTMLButtonElement>>;
29
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
30
30
  };
31
31
  export {};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),t=require("react"),i=require("@graphiql/react"),n=require("graphiql");require("graphql");var s=require("../../icons/EyeIcon.js"),a=require("../../icons/EyeOffIcon.js"),o=require("../../styles/constants/theme.js"),u=require("../../utils/hooks/_useGraphiqlExplorer.js"),l=require("../../utils/hooks/_useGraphiqlFetcher.js"),c=require("../../utils/hooks/_useGraphiqlStorage.js"),h=require("styled-components"),p=require("../nested-data-table/NestedDataTable.js"),q=require("../split-panel/SplitPanel.js"),d=require("./_GraphiqlContextWrapper.js"),j=require("./_LoadingIcon.js");function g(e){return e&&e.__esModule?e:{default:e}}require("../../icons/icon-base/_IconBase.js"),require("@graphiql/plugin-explorer"),require("swr"),require("../../utils/_graphiqlFetcher.js"),require("../../utils/handleFetch.js"),require("../../utils/hooks/useSwr.js"),require("lodash/kebabCase"),require("../../utils/hooks/useCurrentShema.js"),require("../../utils/hooks/useStorage.js"),require("../../utils/storage.js"),require("../button/Button.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../rest-state/RestState.js"),require("../text/Text.js"),require("../nested-data-table/_TableData.js"),require("../../icons/ChevronRightCircleIcon.js"),require("../../utils/flattenRow.js"),require("../../utils/setupNestedData.js"),require("../../utils/truncateText.js"),require("../pivot-table/PivotTable.js"),require("react-data-grid"),require("../../icons/ChevronDownIcon.js"),require("../../icons/ChevronUpIcon.js"),require("../../utils/addIndex.js"),require("../tooltip/Tooltip.js"),require("@mui/material/styles"),require("@mui/material/Tooltip"),require("../stack/VStack.js"),require("../stack/Stack.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../nested-data-table/_Filter.js"),require("../../icons/FilterIcon.js"),require("../../utils/hooks/useDropdown.js"),require("@floating-ui/react-dom"),require("../select/MultiSelect.js"),require("../checkbox/Checkbox.js"),require("../../icons/CheckmarkIcon.js"),require("../../utils/getTestId.js"),require("../help-text/HelpText.js"),require("../select/_StyledReactSelect.js"),require("react-select"),require("../../icons/CheckCircleIcon.js"),require("../../icons/DoubleChevronIcon.js"),require("../../icons/RemoveCircleIcon.js"),require("../../icons/RemoveIcon.js"),require("react-split-it"),require("../../icons/custom/ZonosLogoIcon.js");var m,b,_,x=g(h),f=x.default.div(m||(m=e.__makeTemplateObject(["\n height: 100%;\n .graphiql-tab > .graphiql-tab-button {\n outline: none;\n }\n .docExplorerWrap {\n /* Built-in plugin height is set to 100% which prevents the plugin bar scrolling */\n height: auto !important;\n /* Don't cap explorer width */\n width: auto !important;\n }\n .graphiql-explorer-graphql-arguments {\n svg {\n display: inline-block;\n }\n }\n\n .graphiql-explorer-root > div {\n overflow: auto !important;\n }\n"],["\n height: 100%;\n .graphiql-tab > .graphiql-tab-button {\n outline: none;\n }\n .docExplorerWrap {\n /* Built-in plugin height is set to 100% which prevents the plugin bar scrolling */\n height: auto !important;\n /* Don't cap explorer width */\n width: auto !important;\n }\n .graphiql-explorer-graphql-arguments {\n svg {\n display: inline-block;\n }\n }\n\n .graphiql-explorer-root > div {\n overflow: auto !important;\n }\n"]))),v=x.default.div(b||(b=e.__makeTemplateObject(["\n height: 100%;\n"],["\n height: 100%;\n"]))),S=x.default.div(_||(_=e.__makeTemplateObject(["\n height: 100vh;\n overflow: auto;\n padding: 0 ",";\n display: flex;\n flex-direction: column;\n"],["\n height: 100vh;\n overflow: auto;\n padding: 0 ",";\n display: flex;\n flex-direction: column;\n"])),o.theme.space12),k=function(o){var h=o.customToolbar,g=o.fetcher,m=o.loadingComponent,b=o.onEditQuery,_=o.onEditVariables,x=o.onResultData,k=o.query,y=void 0===k?"":k,C=o.schema,E=o.schemaName,I=o.url,T=o.variables,w=void 0===T?"":T,F=e.__read(t.useState(null),2),D=F[0],G=F[1],R=e.__read(t.useState(null),2)[1],B=e.__read(t.useState(!1),2),O=B[0],L=B[1],N=e.__read(t.useState("first-time"),1)[0],A=e.__read(t.useState(!1),2),Q=A[0],W=A[1],z=e.__read(t.useState([1,0]),2),M=z[0],P=z[1],V=e.__read(t.useState(!1),2),H=V[0],K=V[1],U=e.__read(t.useState(""),2),Z=U[0],J=U[1],X=l.useGraphiqlFetcher({cachingKey:N,customFetcher:g||null,operationName:Z,query:y,url:I}),Y=X.graphiqlFetcher,$=X.isLoading,ee=X.resultData,re=c.useGraphiqlStorage({defaultSchema:E});t.useEffect((function(){K(!0)}),[]),t.useEffect((function(){L(!!(null==D?void 0:D.isFetching)||$)}),[null==D?void 0:D.isFetching,L,$]),t.useEffect((function(){ee&&x&&x(ee)}),[x,ee]);var te=u.useGraphiqlExplorer({onEdit:b,query:y});if(!C)return r.jsx(r.Fragment,{children:m||r.jsx(j.Loading,{})});var ie,ne;return r.jsx(f,{children:r.jsxs(q.SplitPanel,e.__assign({collapseAll:!Q,onSetSizes:P,sizes:M},{children:[r.jsx(v,{children:H&&r.jsx(n.GraphiQL,e.__assign({fetcher:Y,onEditOperationName:J,onEditQuery:b,onEditVariables:_,plugins:[te],query:y,schema:C,storage:re,toolbar:{additionalContent:r.jsxs(r.Fragment,{children:[r.jsx(i.ToolbarButton,e.__assign({label:Q?"Hide table":"Show table",onClick:function(){return W(!Q)}},{children:Q?r.jsx(a.EyeOffIcon,{color:"red600"}):r.jsx(s.EyeIcon,{color:"gray400"})})),h]})},variables:w},{children:r.jsx(d.GraphiqlContextWrapper,e.__assign({setExecutionContext:G,setResponseEditorContext:R},{children:r.jsx(n.GraphiQL.Footer,{})}))}))}),(ie=null!==ee?ee.data:ee,ne=ie?Object.entries(ie):null,ne?r.jsx(S,{children:ne.map((function(t){var i=e.__read(t,2),n=i[0],s=i[1];return Array.isArray(s)||s?r.jsx(p.NestedDataTable,{isFetching:O,tableData:s,title:n},n):null}))}):null)]}))})};k.ToolbarButton=i.ToolbarButton,exports.GraphMatrix=k;
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("react/jsx-runtime"),t=require("react"),i=require("@graphiql/react"),n=require("graphiql");require("graphql");var o=require("styled-components"),s=require("../../icons/EyeIcon.js"),a=require("../../icons/EyeOffIcon.js"),l=require("../../styles/constants/theme.js"),u=require("../../utils/hooks/_useGraphiqlExplorer.js"),c=require("../../utils/hooks/_useGraphiqlFetcher.js"),h=require("../../utils/hooks/_useGraphiqlStorage.js"),p=require("../nested-data-table/NestedDataTable.js"),q=require("../split-panel/SplitPanel.js"),d=require("./_GraphiqlContextWrapper.js"),j=require("./_LoadingIcon.js");function g(e){return e&&e.__esModule?e:{default:e}}require("../../icons/icon-base/_IconBase.js"),require("@graphiql/plugin-explorer"),require("swr"),require("../../utils/_graphiqlFetcher.js"),require("../../utils/handleFetch.js"),require("../../utils/hooks/useSwr.js"),require("lodash/kebabCase"),require("../../utils/hooks/useCurrentShema.js"),require("../../utils/hooks/useStorage.js"),require("../../utils/storage.js"),require("../button/Button.js"),require("../spinner/Spinner.js"),require("../button/RippleGroup.js"),require("framer-motion"),require("uuid"),require("../button/_Ripple.js"),require("../button/useRipple.js"),require("../rest-state/RestState.js"),require("../text/Text.js"),require("../nested-data-table/_TableData.js"),require("../../icons/ChevronRightCircleIcon.js"),require("../../utils/flattenRow.js"),require("../../utils/setupNestedData.js"),require("../../utils/truncateText.js"),require("../pivot-table/PivotTable.js"),require("react-data-grid"),require("../../icons/ChevronDownIcon.js"),require("../../icons/ChevronUpIcon.js"),require("../../utils/addIndex.js"),require("../tooltip/Tooltip.js"),require("@mui/material/styles"),require("@mui/material/Tooltip"),require("../stack/VStack.js"),require("../stack/Stack.js"),require("../../utils/hooks/useAminoTheme.js"),require("zod"),require("../nested-data-table/_Filter.js"),require("../../icons/FilterIcon.js"),require("../../utils/hooks/useDropdown.js"),require("@floating-ui/react-dom"),require("../select/MultiSelect.js"),require("../checkbox/Checkbox.js"),require("../../icons/CheckmarkIcon.js"),require("../../utils/getTestId.js"),require("../help-text/HelpText.js"),require("../select/_StyledReactSelect.js"),require("react-select"),require("../../icons/CheckCircleIcon.js"),require("../../icons/DoubleChevronIcon.js"),require("../../icons/RemoveCircleIcon.js"),require("../../icons/RemoveIcon.js"),require("react-split-it"),require("../../icons/custom/ZonosLogoIcon.js");var m,b,x,_=g(o),f=_.default.div(m||(m=e.__makeTemplateObject(["\n height: 100%;\n .graphiql-tab > .graphiql-tab-button {\n outline: none;\n }\n .docExplorerWrap {\n /* Built-in plugin height is set to 100% which prevents the plugin bar scrolling */\n height: auto !important;\n /* Don't cap explorer width */\n width: auto !important;\n }\n .graphiql-explorer-graphql-arguments {\n svg {\n display: inline-block;\n }\n }\n\n .graphiql-explorer-root > div {\n overflow: auto !important;\n }\n"],["\n height: 100%;\n .graphiql-tab > .graphiql-tab-button {\n outline: none;\n }\n .docExplorerWrap {\n /* Built-in plugin height is set to 100% which prevents the plugin bar scrolling */\n height: auto !important;\n /* Don't cap explorer width */\n width: auto !important;\n }\n .graphiql-explorer-graphql-arguments {\n svg {\n display: inline-block;\n }\n }\n\n .graphiql-explorer-root > div {\n overflow: auto !important;\n }\n"]))),v=_.default.div(b||(b=e.__makeTemplateObject(["\n height: 100%;\n"],["\n height: 100%;\n"]))),S=_.default.div(x||(x=e.__makeTemplateObject(["\n height: 100vh;\n overflow: auto;\n padding: 0 ",";\n display: flex;\n flex-direction: column;\n"],["\n height: 100vh;\n overflow: auto;\n padding: 0 ",";\n display: flex;\n flex-direction: column;\n"])),l.theme.space12),k=function(o){var l=o.customToolbar,g=o.fetcher,m=o.loadingComponent,b=o.onEditQuery,x=o.onEditVariables,_=o.onResultData,k=o.query,y=void 0===k?"":k,C=o.schema,T=o.schemaName,E=o.url,I=o.variables,w=void 0===I?"":I,F=e.__read(t.useState(null),2),D=F[0],G=F[1],R=e.__read(t.useState(null),2)[1],B=e.__read(t.useState(!1),2),O=B[0],L=B[1],N=e.__read(t.useState("first-time"),1)[0],A=e.__read(t.useState(!1),2),P=A[0],Q=A[1],W=e.__read(t.useState([1,0]),2),z=W[0],M=W[1],V=e.__read(t.useState(!1),2),H=V[0],K=V[1],U=e.__read(t.useState(""),2),Z=U[0],J=U[1],X=c.useGraphiqlFetcher({cachingKey:N,customFetcher:g||null,operationName:Z,query:y,url:E}),Y=X.graphiqlFetcher,$=X.isLoading,ee=X.resultData,re=h.useGraphiqlStorage({defaultSchema:T});t.useEffect((function(){K(!0)}),[]),t.useEffect((function(){L(!!(null==D?void 0:D.isFetching)||$)}),[null==D?void 0:D.isFetching,L,$]),t.useEffect((function(){ee&&_&&_(ee)}),[_,ee]);var te=u.useGraphiqlExplorer({});if(!C)return r.jsx(r.Fragment,{children:m||r.jsx(j.Loading,{})});var ie,ne;return r.jsx(f,{children:r.jsxs(q.SplitPanel,{collapseAll:!P,onSetSizes:M,sizes:z,children:[r.jsx(v,{children:H&&r.jsx(n.GraphiQL,{fetcher:Y,onEditOperationName:J,onEditQuery:b,onEditVariables:x,plugins:[te],query:y,schema:C,storage:re,toolbar:{additionalContent:r.jsxs(i.Tooltip.Provider,{children:[r.jsx(i.ToolbarButton,{label:P?"Hide table":"Show table",onClick:function(){return Q(!P)},children:P?r.jsx(a.EyeOffIcon,{color:"red600"}):r.jsx(s.EyeIcon,{color:"gray400"})}),l]})},variables:w,children:r.jsx(d.GraphiqlContextWrapper,{setExecutionContext:G,setResponseEditorContext:R,children:r.jsx(n.GraphiQL.Footer,{})})})}),(ie=null!==ee?ee.data:ee,ne=ie?Object.entries(ie):null,ne?r.jsx(S,{children:ne.map((function(t){var i=e.__read(t,2),n=i[0],o=i[1];return Array.isArray(o)||o?r.jsx(p.NestedDataTable,{isFetching:O,tableData:o,title:n},n):null}))}):null)]})})};k.ToolbarButton=i.ToolbarButton,exports.GraphMatrix=k;
@@ -1 +1 @@
1
- "use strict";var r=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),i=require("react"),s=require("graphiql");exports.Graphiql=function(a){return e.jsx(i.Suspense,r.__assign({fallback:null},{children:e.jsx(s.GraphiQL,r.__assign({},a))}))};
1
+ "use strict";var r=require("../../_tslib-ccfac372.js"),e=require("react/jsx-runtime"),i=require("react"),s=require("graphiql");exports.Graphiql=function(u){return e.jsx(i.Suspense,{fallback:null,children:e.jsx(s.GraphiQL,r.__assign({},u))})};
@@ -6,5 +6,5 @@ type Props = {
6
6
  setExecutionContext: (context: ExecutionContextType) => void;
7
7
  setResponseEditorContext: (context: CodeMirrorEditor) => void;
8
8
  };
9
- export declare const GraphiqlContextWrapper: ({ children, setExecutionContext, setResponseEditorContext, }: Props) => JSX.Element;
9
+ export declare const GraphiqlContextWrapper: ({ children, setExecutionContext, setResponseEditorContext, }: Props) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const Loading: () => JSX.Element;
1
+ export declare const Loading: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- "use strict";var n=require("../../_tslib-fe391a2e.js"),e=require("react/jsx-runtime"),t=require("../../icons/custom/ZonosLogoIcon.js"),i=require("../../styles/constants/theme.js"),o=require("styled-components"),s=require("../text/Text.js");function r(n){return n&&n.__esModule?n:{default:n}}require("react"),require("../../icons/icon-base/_IconBase.js");var a,c,l,m,f=r(o),d=f.default.div(a||(a=n.__makeTemplateObject(["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"],["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"])),i.theme.space12),u=o.keyframes(c||(c=n.__makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),p=f.default(t.ZonosLogoIcon)(l||(l=n.__makeTemplateObject(["\n animation: "," 2s linear infinite;\n"],["\n animation: "," 2s linear infinite;\n"])),u),g=f.default(s.Text)(m||(m=n.__makeTemplateObject(["\n position: relative;\n\n &:after {\n position: absolute;\n animation: dots 1200ms linear infinite;\n content: '';\n }\n\n @keyframes dots {\n 0%,\n 20% {\n content: '.';\n }\n 40% {\n content: '..';\n }\n 60% {\n content: '...';\n }\n 90%,\n 100% {\n content: '';\n }\n }\n"],["\n position: relative;\n\n &:after {\n position: absolute;\n animation: dots 1200ms linear infinite;\n content: '';\n }\n\n @keyframes dots {\n 0%,\n 20% {\n content: '.';\n }\n 40% {\n content: '..';\n }\n 60% {\n content: '...';\n }\n 90%,\n 100% {\n content: '';\n }\n }\n"])));exports.Loading=function(){return e.jsxs(d,{children:[e.jsx(p,{size:64}),e.jsx(g,n.__assign({type:"bold-subheader"},{children:"Loading"}))]})};
1
+ "use strict";var n=require("../../_tslib-ccfac372.js"),e=require("react/jsx-runtime"),t=require("styled-components"),o=require("../../icons/custom/ZonosLogoIcon.js"),i=require("../../styles/constants/theme.js"),r=require("../text/Text.js");function s(n){return n&&n.__esModule?n:{default:n}}require("react"),require("../../icons/icon-base/_IconBase.js");var a,c,l,m,f=s(t),d=f.default.div(a||(a=n.__makeTemplateObject(["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"],["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n"])),i.theme.space12),u=t.keyframes(c||(c=n.__makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),p=f.default(o.ZonosLogoIcon)(l||(l=n.__makeTemplateObject(["\n animation: "," 2s linear infinite;\n"],["\n animation: "," 2s linear infinite;\n"])),u),j=f.default(r.Text)(m||(m=n.__makeTemplateObject(["\n position: relative;\n\n &:after {\n position: absolute;\n animation: dots 1200ms linear infinite;\n content: '';\n }\n\n @keyframes dots {\n 0%,\n 20% {\n content: '.';\n }\n 40% {\n content: '..';\n }\n 60% {\n content: '...';\n }\n 90%,\n 100% {\n content: '';\n }\n }\n"],["\n position: relative;\n\n &:after {\n position: absolute;\n animation: dots 1200ms linear infinite;\n content: '';\n }\n\n @keyframes dots {\n 0%,\n 20% {\n content: '.';\n }\n 40% {\n content: '..';\n }\n 60% {\n content: '...';\n }\n 90%,\n 100% {\n content: '';\n }\n }\n"])));exports.Loading=function(){return e.jsxs(d,{children:[e.jsx(p,{size:64}),e.jsx(j,{type:"bold-subheader",children:"Loading"})]})};
@@ -9,4 +9,4 @@ export type HelpTextProps = {
9
9
  */
10
10
  helpText?: ReactNode;
11
11
  };
12
- export declare const HelpText: ({ error, helpText }: HelpTextProps) => JSX.Element | null;
12
+ export declare const HelpText: ({ error, helpText }: HelpTextProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),t=require("react/jsx-runtime"),r=require("../text/Text.js"),n=require("../../styles/constants/theme.js");function s(e){return e&&e.__esModule?e:{default:e}}var i,l=s(require("styled-components")).default.div(i||(i=e.__makeTemplateObject(["\n margin-top: ",";\n"],["\n margin-top: ",";\n"])),n.theme.space8);exports.HelpText=function(n){var s=n.error,i=n.helpText;return i?s&&"string"==typeof i?t.jsx(l,{children:t.jsx(r.Text,e.__assign({color:"red700",type:"caption"},{children:i}))}):"string"==typeof i?t.jsx(l,{children:t.jsx(r.Text,e.__assign({type:"caption"},{children:i}))}):t.jsx(l,{children:i}):null};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),t=require("react/jsx-runtime"),r=require("styled-components"),n=require("../text/Text.js"),s=require("../../styles/constants/theme.js");function i(e){return e&&e.__esModule?e:{default:e}}var l,c=i(r).default.div(l||(l=e.__makeTemplateObject(["\n margin-top: ",";\n"],["\n margin-top: ",";\n"])),s.theme.space8);exports.HelpText=function(e){var r=e.error,s=e.helpText;return s?r&&"string"==typeof s?t.jsx(c,{children:t.jsx(n.Text,{color:"red700",type:"caption",children:s})}):"string"==typeof s?t.jsx(c,{children:t.jsx(n.Text,{type:"caption",children:s})}):t.jsx(c,{children:s}):null};
@@ -15,5 +15,5 @@ type InputType<T extends HTMLInputTypeAttribute> = {
15
15
  width?: number;
16
16
  } & Omit<FloatLabelInputProps, 'onChange'> & HelpTextProps;
17
17
  export type InputProps<T extends string = string> = InputType<T> & Omit<InputHTMLAttributes<HTMLInputElement>, keyof InputType<T>>;
18
- export declare const Input: <T extends string>({ autoFocus, className, disabled, error, helpText, inputMode, inputPrefix, inputSuffix, label, onChange, onKeyDown, pattern, placeholder, prefix, readOnly, required, size, suffix, tabIndex, type, value, valuePrefix, width, ...props }: InputProps<T>) => JSX.Element;
18
+ export declare const Input: <T extends string>({ autoFocus, className, disabled, error, helpText, inputMode, inputPrefix, inputSuffix, label, onChange, onKeyDown, pattern, placeholder, prefix, readOnly, required, size, suffix, tabIndex, type, value, valuePrefix, width, ...props }: InputProps<T>) => import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),r=require("react/jsx-runtime"),n=require("../../styles/constants/theme.js"),i=require("styled-components"),a=require("../help-text/HelpText.js"),t=require("./input-type/_DateInput.js"),s=require("./input-type/_FloatLabelInput.js"),u=require("./input-type/_NumberInput.js"),o=require("./input-type/_PasswordInput.js"),l=require("./input-type/_TimeInput.js");function d(e){return e&&e.__esModule?e:{default:e}}require("../text/Text.js"),require("react"),require("../../icons/CalendarIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../utils/getTestId.js"),require("../../icons/ChevronDownIcon.js"),require("../../icons/ChevronUpIcon.js"),require("../../icons/EyeIcon.js"),require("../../icons/EyeOffIcon.js"),require("../../icons/ClockIcon.js");var p,c,x=d(i),f=x.default.div(p||(p=e.__makeTemplateObject(["\n border-radius: ",";\n border: ",";\n &:hover {\n border: 1px solid ",";\n }\n"],["\n border-radius: ",";\n border: ",";\n &:hover {\n border: 1px solid ",";\n }\n"])),n.theme.radius6,n.theme.border,n.theme.gray300),b=x.default.div(c||(c=e.__makeTemplateObject(["\n position: relative;\n width: ",";\n\n & > div {\n flex-direction: row;\n align-items: center;\n display: flex;\n }\n\n &.disabled {\n opacity: 0.4;\n }\n"],["\n position: relative;\n width: ",";\n\n & > div {\n flex-direction: row;\n align-items: center;\n display: flex;\n }\n\n &.disabled {\n opacity: 0.4;\n }\n"])),(function(e){return e.width?"".concat(e.width,"px"):"100%"}));exports.Input=function(n){var i=n.autoFocus,d=n.className,p=n.disabled,c=n.error,x=n.helpText,h=n.inputMode,y=n.inputPrefix,j=n.inputSuffix,m=n.label,q=n.onChange,v=n.onKeyDown,_=n.pattern,I=n.placeholder,w=n.prefix,g=n.readOnly,C=n.required,P=n.size,T=n.suffix,D=n.tabIndex,N=n.type,O=n.value,F=n.valuePrefix,M=n.width,z=e.__rest(n,["autoFocus","className","disabled","error","helpText","inputMode","inputPrefix","inputSuffix","label","onChange","onKeyDown","pattern","placeholder","prefix","readOnly","required","size","suffix","tabIndex","type","value","valuePrefix","width"]);return r.jsxs(b,e.__assign({className:"amino-input-wrapper ".concat(p?"disabled":""),width:M},{children:[r.jsx(f,{children:function(){switch(N){case"password":return r.jsx(o.PasswordInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:_,placeholder:I,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,value:O||"",valuePrefix:F},z));case"date":case"datetime-local":return r.jsx(t.DateInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:_,placeholder:I,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,type:N,value:O||"",valuePrefix:F},z));case"number":return r.jsx(u.NumberInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:_,placeholder:I,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,value:O||"",valuePrefix:F},z));case"time":return r.jsx(l.TimeInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:_,placeholder:I,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,value:O||"",valuePrefix:F},z));default:return r.jsx(s.FloatLabelInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:_,placeholder:I,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,type:N,value:O||"",valuePrefix:F},z))}}()}),r.jsx(a.HelpText,{error:c,helpText:x})]}))};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),r=require("react/jsx-runtime"),n=require("styled-components"),i=require("../../styles/constants/theme.js"),a=require("../help-text/HelpText.js"),t=require("./input-type/_DateInput.js"),s=require("./input-type/_FloatLabelInput.js"),u=require("./input-type/_NumberInput.js"),o=require("./input-type/_PasswordInput.js"),l=require("./input-type/_TimeInput.js");function d(e){return e&&e.__esModule?e:{default:e}}require("../text/Text.js"),require("react"),require("../../icons/CalendarIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../utils/getTestId.js"),require("../../icons/ChevronDownIcon.js"),require("../../icons/ChevronUpIcon.js"),require("../../icons/EyeIcon.js"),require("../../icons/EyeOffIcon.js"),require("../../icons/ClockIcon.js");var p,c,x=d(n),f=x.default.div(p||(p=e.__makeTemplateObject(["\n border-radius: ",";\n border: ",";\n &:hover {\n border: 1px solid ",";\n }\n"],["\n border-radius: ",";\n border: ",";\n &:hover {\n border: 1px solid ",";\n }\n"])),i.theme.radius6,i.theme.border,i.theme.gray300),b=x.default.div(c||(c=e.__makeTemplateObject(["\n position: relative;\n width: ",";\n\n & > div {\n flex-direction: row;\n align-items: center;\n display: flex;\n }\n\n &.disabled {\n opacity: 0.4;\n }\n"],["\n position: relative;\n width: ",";\n\n & > div {\n flex-direction: row;\n align-items: center;\n display: flex;\n }\n\n &.disabled {\n opacity: 0.4;\n }\n"])),(function(e){return e.width?"".concat(e.width,"px"):"100%"}));exports.Input=function(n){var i=n.autoFocus,d=n.className,p=n.disabled,c=n.error,x=n.helpText,h=n.inputMode,y=n.inputPrefix,j=n.inputSuffix,m=n.label,q=n.onChange,v=n.onKeyDown,I=n.pattern,_=n.placeholder,w=n.prefix,g=n.readOnly,C=n.required,P=n.size,T=n.suffix,D=n.tabIndex,N=n.type,O=n.value,F=n.valuePrefix,M=n.width,z=e.__rest(n,["autoFocus","className","disabled","error","helpText","inputMode","inputPrefix","inputSuffix","label","onChange","onKeyDown","pattern","placeholder","prefix","readOnly","required","size","suffix","tabIndex","type","value","valuePrefix","width"]);return r.jsxs(b,{className:"amino-input-wrapper ".concat(p?"disabled":""),width:M,children:[r.jsx(f,{children:function(){switch(N){case"password":return r.jsx(o.PasswordInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:I,placeholder:_,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,value:O||"",valuePrefix:F},z));case"date":case"datetime-local":return r.jsx(t.DateInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:I,placeholder:_,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,type:N,value:O||"",valuePrefix:F},z));case"number":return r.jsx(u.NumberInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:I,placeholder:_,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,value:O||"",valuePrefix:F},z));case"time":return r.jsx(l.TimeInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:I,placeholder:_,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,value:O||"",valuePrefix:F},z));default:return r.jsx(s.FloatLabelInput,e.__assign({autoFocus:i,className:d,disabled:p,error:c,inputMode:h,label:m,onChange:q,onKeyDown:v,pattern:I,placeholder:_,prefix:w||y,readOnly:g,required:C,size:P,suffix:T||j,tabIndex:D,type:N,value:O||"",valuePrefix:F},z))}}()}),r.jsx(a.HelpText,{error:c,helpText:x})]})};
@@ -19,4 +19,4 @@ export type InputProps = {
19
19
  /** Input value. Required since all inputs must be fully controlled */
20
20
  value: string | null;
21
21
  };
22
- export declare const SearchInput: ({ autoFocus, className, disabled, inputMode, onChange, onKeyDown, pattern, placeholder, readOnly, required, tabIndex, value, ...props }: InputProps) => JSX.Element;
22
+ export declare const SearchInput: ({ autoFocus, className, disabled, inputMode, onChange, onKeyDown, pattern, placeholder, readOnly, required, tabIndex, value, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),t=require("../../icons/SearchIcon.js"),o=require("../../styles/constants/theme.js"),a=require("styled-components");function r(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../../icons/icon-base/_IconBase.js");var i,s,l,d=r(a),u=d.default.div(i||(i=e.__makeTemplateObject(["\n position: relative;\n border: ",";\n border-radius: ",";\n width: 100%;\n"],["\n position: relative;\n border: ",";\n border-radius: ",";\n width: 100%;\n"])),o.theme.border,o.theme.radius6),c=d.default.label(s||(s=e.__makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ",";\n"],["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ",";\n"])),o.theme.space40),h=d.default.input(l||(l=e.__makeTemplateObject(["\n padding-left: ",";\n padding-right: ",";\n height: 40px;\n font-weight: 500;\n line-height: 40px;\n border-radius: ",";\n outline: none;\n width: 100%;\n background: ",";\n :focus {\n outline: none;\n box-shadow: ",";\n }\n &:-webkit-autofill,\n &:-moz-autofill {\n background-color: ",";\n color: ",";\n }\n"],["\n padding-left: ",";\n padding-right: ",";\n height: 40px;\n font-weight: 500;\n line-height: 40px;\n border-radius: ",";\n outline: none;\n width: 100%;\n background: ",";\n :focus {\n outline: none;\n box-shadow: ",";\n }\n &:-webkit-autofill,\n &:-moz-autofill {\n background-color: ",";\n color: ",";\n }\n"])),o.theme.space40,o.theme.space16,o.theme.radius6,o.theme.inputBackground,o.theme.glowBlue,o.theme.inputBackground,o.theme.textColor);exports.SearchInput=function(o){var a=o.autoFocus,r=o.className,i=o.disabled,s=o.inputMode,l=o.onChange,d=o.onKeyDown,p=o.pattern,b=o.placeholder,m=o.readOnly,g=o.required,f=o.tabIndex,x=o.value,_=e.__rest(o,["autoFocus","className","disabled","inputMode","onChange","onKeyDown","pattern","placeholder","readOnly","required","tabIndex","value"]);return n.jsxs(u,e.__assign({className:r},{children:[n.jsx(c,e.__assign({htmlFor:h},{children:n.jsx(t.SearchIcon,{color:"gray600",size:20})})),n.jsx(h,e.__assign({autoFocus:a,disabled:i,inputMode:s,onChange:l,onKeyDown:d,pattern:p,placeholder:b||"Search...",readOnly:m,required:g,tabIndex:f,type:"search",value:x||""},_))]}))};
1
+ "use strict";var e=require("../../_tslib-ccfac372.js"),n=require("react/jsx-runtime"),t=require("styled-components"),o=require("../../icons/SearchIcon.js"),r=require("../../styles/constants/theme.js");function a(e){return e&&e.__esModule?e:{default:e}}require("react"),require("../../icons/icon-base/_IconBase.js");var i,l,d,s=a(t),u=s.default.div(i||(i=e.__makeTemplateObject(["\n position: relative;\n border: ",";\n border-radius: ",";\n width: 100%;\n"],["\n position: relative;\n border: ",";\n border-radius: ",";\n width: 100%;\n"])),r.theme.border,r.theme.radius6),c=s.default.label(l||(l=e.__makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ",";\n"],["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ",";\n"])),r.theme.space40),h=s.default.input(d||(d=e.__makeTemplateObject(["\n padding-left: ",";\n padding-right: ",";\n height: 40px;\n font-weight: 500;\n line-height: 40px;\n border-radius: ",";\n outline: none;\n width: 100%;\n background: ",";\n :focus {\n outline: none;\n box-shadow: ",";\n }\n &:-webkit-autofill,\n &:-moz-autofill {\n background-color: ",";\n color: ",";\n }\n"],["\n padding-left: ",";\n padding-right: ",";\n height: 40px;\n font-weight: 500;\n line-height: 40px;\n border-radius: ",";\n outline: none;\n width: 100%;\n background: ",";\n :focus {\n outline: none;\n box-shadow: ",";\n }\n &:-webkit-autofill,\n &:-moz-autofill {\n background-color: ",";\n color: ",";\n }\n"])),r.theme.space40,r.theme.space16,r.theme.radius6,r.theme.inputBackground,r.theme.glowBlue,r.theme.inputBackground,r.theme.textColor);exports.SearchInput=function(t){var r=t.autoFocus,a=t.className,i=t.disabled,l=t.inputMode,d=t.onChange,s=t.onKeyDown,p=t.pattern,b=t.placeholder,m=t.readOnly,g=t.required,f=t.tabIndex,x=t.value,w=e.__rest(t,["autoFocus","className","disabled","inputMode","onChange","onKeyDown","pattern","placeholder","readOnly","required","tabIndex","value"]);return n.jsxs(u,{className:a,children:[n.jsx(c,{htmlFor:h,children:n.jsx(o.SearchIcon,{color:"gray600",size:20})}),n.jsx(h,e.__assign({autoFocus:r,disabled:i,inputMode:l,onChange:d,onKeyDown:s,pattern:p,placeholder:b||"Search...",readOnly:m,required:g,tabIndex:f,type:"search",value:x||""},w))]})};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type FloatLabelInputProps } from './_FloatLabelInput';
3
- export declare const DateInput: ({ autoFocus, className, disabled, error, inputMode, label, onChange, onKeyDown, pattern, placeholder, prefix, readOnly, required, suffix, tabIndex, value, ...props }: FloatLabelInputProps) => JSX.Element;
2
+ export declare const DateInput: ({ autoFocus, className, disabled, error, inputMode, label, onChange, onKeyDown, pattern, placeholder, prefix, readOnly, required, suffix, tabIndex, value, ...props }: FloatLabelInputProps) => import("react/jsx-runtime").JSX.Element;