@zonos/amino 4.2.7 → 4.3.1

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 (527) hide show
  1. package/components/alert-dialog/AlertContext.d.ts +3 -3
  2. package/components/alert-dialog/AlertDialog.d.ts +4 -4
  3. package/components/avatar/AvatarBase.d.ts +5 -5
  4. package/components/avatar/ImageAvatar.d.ts +2 -2
  5. package/components/avatar/UserAvatar.d.ts +2 -2
  6. package/components/badge/Badge.d.ts +4 -4
  7. package/components/banner/Banner.d.ts +3 -3
  8. package/components/button/Button.d.ts +11 -11
  9. package/components/button/MenuButton.d.ts +2 -2
  10. package/components/button/RippleGroup.d.ts +2 -2
  11. package/components/button/_Ripple.d.ts +1 -1
  12. package/components/button/useRipple.d.ts +3 -3
  13. package/components/card/Card.d.ts +2 -2
  14. package/components/checkbox/Checkbox.d.ts +2 -2
  15. package/components/collapse/Collapse.d.ts +2 -2
  16. package/components/confirm-dialog/ConfirmContext.d.ts +3 -3
  17. package/components/confirm-dialog/ConfirmDialog.d.ts +4 -4
  18. package/components/connection-map/ConnectionMap.d.ts +3 -3
  19. package/components/cover-sheet/CoverSheet.d.ts +2 -2
  20. package/components/cover-sheet/CoverSheetActions.d.ts +2 -2
  21. package/components/currency/Currency.d.ts +1 -1
  22. package/components/currency/DualCurrency.d.ts +2 -2
  23. package/components/dark-mode-wrapper/DarkModeWrapper.d.ts +2 -2
  24. package/components/dialog/Dialog.d.ts +3 -3
  25. package/components/dialog/_BaseDialog.d.ts +3 -3
  26. package/components/divider/Divider.d.ts +1 -1
  27. package/components/drop-zone/DropZone.d.ts +3 -3
  28. package/components/emoji/Emoji.d.ts +1 -1
  29. package/components/file-upload/FileUpload.d.ts +3 -3
  30. package/components/graph-matrix/GraphMatrix.d.ts +3 -3
  31. package/components/graph-matrix/GraphMatrix.js +1 -1
  32. package/components/graph-matrix/_GraphiqlContextWrapper.d.ts +4 -4
  33. package/components/help-text/HelpText.d.ts +2 -2
  34. package/components/input/Input.d.ts +6 -6
  35. package/components/input/SearchInput.d.ts +3 -3
  36. package/components/input/input-type/_FloatLabelInput.d.ts +6 -6
  37. package/components/layout/Layout.d.ts +3 -3
  38. package/components/layout/Layout.js +1 -1
  39. package/components/layout/NavigationGroup.d.ts +3 -3
  40. package/components/lightbox/LightBox.d.ts +3 -3
  41. package/components/list/CollapsibleList.d.ts +3 -3
  42. package/components/list/List.d.ts +2 -2
  43. package/components/list-item/ListItem.d.ts +2 -2
  44. package/components/mdx-anchor/MdxAnchor.d.ts +2 -2
  45. package/components/mdx-badge/MdxBadge.d.ts +1 -1
  46. package/components/mdx-banner/MdxBanner.d.ts +2 -2
  47. package/components/mdx-bread-crumbs/MdxBreadCrumbs.d.ts +2 -2
  48. package/components/mdx-button/MdxButton.d.ts +2 -2
  49. package/components/mdx-card/MdxCard.d.ts +3 -3
  50. package/components/mdx-card-grid/MdxCardGrid.d.ts +2 -2
  51. package/components/mdx-code-block/MdxCodeBlock.d.ts +2 -2
  52. package/components/mdx-collapse/MdxCollapse.d.ts +2 -2
  53. package/components/mdx-copy-value/MdxCopyValue.d.ts +1 -1
  54. package/components/mdx-hero/MdxHero.d.ts +2 -2
  55. package/components/mdx-image/MdxImage.d.ts +2 -2
  56. package/components/mdx-progress-checkbox/MdxProgressCheckbox.d.ts +2 -2
  57. package/components/mdx-related-content/MdxRelatedContent.d.ts +2 -2
  58. package/components/mdx-section/MdxSection.d.ts +2 -2
  59. package/components/mdx-subtitle/MdxSubtitle.d.ts +1 -1
  60. package/components/mdx-table/MdxTable.d.ts +1 -1
  61. package/components/mdx-tabs/MdxTab.d.ts +1 -1
  62. package/components/mdx-tabs/MdxTabs.d.ts +2 -2
  63. package/components/mdx-video-guide/MdxVideoGuide.d.ts +1 -1
  64. package/components/menu/MenuItem.d.ts +2 -2
  65. package/components/nested-data-table/NestedDataTable.d.ts +6 -6
  66. package/components/nested-data-table/NestedDataTable.js +1 -1
  67. package/components/nested-data-table/NestedDataTableHasura.d.ts +1 -1
  68. package/components/nested-data-table/NestedDataTableHasura.js +1 -1
  69. package/components/nested-data-table/_Filter.d.ts +2 -2
  70. package/components/nested-data-table/_Filter.js +1 -1
  71. package/components/nested-data-table/_TableData.d.ts +6 -6
  72. package/components/nested-data-table/_TableData.js +1 -1
  73. package/components/ownership-block/OwnershipBlock.d.ts +2 -2
  74. package/components/pivot-table/PivotTable.d.ts +8 -8
  75. package/components/profile-icon/ProfileIcon.d.ts +1 -1
  76. package/components/radio/Radio.d.ts +1 -1
  77. package/components/radio/RadioGroup.d.ts +2 -2
  78. package/components/rest-state/RestState.d.ts +2 -2
  79. package/components/rich-checkbox/RichCheckbox.d.ts +3 -3
  80. package/components/rich-radio/RichRadio.d.ts +3 -3
  81. package/components/rounded-icon/RoundedIcon.d.ts +5 -5
  82. package/components/section/HSection.d.ts +2 -2
  83. package/components/section/VSection.d.ts +2 -2
  84. package/components/section/_SectionHeader.d.ts +2 -2
  85. package/components/section/_SectionInnerWrapper.d.ts +2 -2
  86. package/components/section/_SectionSubheader.d.ts +2 -2
  87. package/components/select/CountryMultiSelect.d.ts +3 -3
  88. package/components/select/CountryMultiSelect.js +1 -1
  89. package/components/select/CountryPhoneSelect.d.ts +4 -4
  90. package/components/select/CountrySelect.d.ts +4 -4
  91. package/components/select/CountrySelect.js +1 -1
  92. package/components/select/MultiSelect.d.ts +5 -5
  93. package/components/select/MultiSelect.js +1 -1
  94. package/components/select/Select.d.ts +5 -5
  95. package/components/select/Select.js +1 -1
  96. package/components/select/_StyledReactSelect.d.ts +5 -5
  97. package/components/skeleton/Skeleton.d.ts +2 -2
  98. package/components/slide-over/SlideOver.d.ts +3 -3
  99. package/components/slider/Slider.d.ts +1 -1
  100. package/components/sortable-list/SortableList.d.ts +3 -3
  101. package/components/sortable-list/SortableListItem.d.ts +1 -1
  102. package/components/spinner/Spinner.d.ts +3 -3
  103. package/components/spinner/Spinner.js +1 -1
  104. package/components/split-panel/SplitPanel.d.ts +19 -11
  105. package/components/split-panel/SplitPanel.js +1 -1
  106. package/components/stack/GridSpacing.d.ts +2 -2
  107. package/components/stack/HStack.d.ts +1 -1
  108. package/components/stack/Stack.d.ts +3 -3
  109. package/components/stack/VStack.d.ts +1 -1
  110. package/components/surface/Surface.d.ts +3 -3
  111. package/components/switch/Switch.d.ts +2 -2
  112. package/components/table/Table.d.ts +2 -2
  113. package/components/table/TableBody.d.ts +2 -2
  114. package/components/table/TableCell.d.ts +3 -3
  115. package/components/table/TableFooter.d.ts +2 -2
  116. package/components/table/TableHead.d.ts +2 -2
  117. package/components/table/TableRow.d.ts +2 -2
  118. package/components/table/TableRowCollapse.d.ts +2 -2
  119. package/components/tabs/Tabs.d.ts +1 -1
  120. package/components/tag/Tag.d.ts +1 -1
  121. package/components/text/LegacyText.d.ts +3 -3
  122. package/components/text/Text.d.ts +10 -10
  123. package/components/text-avatar/TextAvatar.d.ts +1 -1
  124. package/components/textarea/Textarea.d.ts +3 -3
  125. package/components/thumbnail/Thumbnail.d.ts +4 -4
  126. package/components/toast/Toast.d.ts +3 -3
  127. package/components/toast/ToastContext.d.ts +5 -5
  128. package/components/tooltip/Tooltip.d.ts +3 -3
  129. package/icons/ArrowSwapDuotoneIcon.d.ts +1 -1
  130. package/icons/BagDuotoneIcon.d.ts +1 -1
  131. package/icons/BankDuotoneIcon.d.ts +1 -1
  132. package/icons/BellDuotoneIcon.d.ts +1 -1
  133. package/icons/BellOffDuotoneIcon.d.ts +1 -1
  134. package/icons/BookDuotoneIcon.d.ts +1 -1
  135. package/icons/BookmarkAddDuotoneIcon.d.ts +1 -1
  136. package/icons/BookmarkCheckDuotoneIcon.d.ts +1 -1
  137. package/icons/BookmarkOffDuotoneIcon.d.ts +1 -1
  138. package/icons/BookmarkRemoveDuotoneIcon.d.ts +1 -1
  139. package/icons/BookmarkSubtractDuotoneIcon.d.ts +1 -1
  140. package/icons/BoxesDuotoneIcon.d.ts +1 -1
  141. package/icons/BufferDuotoneIcon.d.ts +1 -1
  142. package/icons/CalculatorDuotoneIcon.d.ts +1 -1
  143. package/icons/CalendarDuotoneIcon.d.ts +1 -1
  144. package/icons/CardDuotoneIcon.d.ts +1 -1
  145. package/icons/CartDuotoneIcon.d.ts +1 -1
  146. package/icons/ChartDuotoneIcon.d.ts +1 -1
  147. package/icons/CheckCircleDuotoneIcon.d.ts +1 -1
  148. package/icons/CheckoutDuotoneIcon.d.ts +1 -1
  149. package/icons/ChevronDownCircleDuotoneIcon.d.ts +1 -1
  150. package/icons/ChevronLeftCircleDuotoneIcon.d.ts +1 -1
  151. package/icons/ChevronRightCircleDuotoneIcon.d.ts +1 -1
  152. package/icons/ChevronUpCircleDuotoneIcon.d.ts +1 -1
  153. package/icons/ClassifyDuotoneIcon.d.ts +1 -1
  154. package/icons/ClearDuotoneIcon.d.ts +1 -1
  155. package/icons/ClockDuotoneIcon.d.ts +1 -1
  156. package/icons/CodeCircleDuotoneIcon.d.ts +1 -1
  157. package/icons/CodeDuotoneIcon.d.ts +1 -1
  158. package/icons/CoinsDuotoneIcon.d.ts +1 -1
  159. package/icons/CommentDuotoneIcon.d.ts +1 -1
  160. package/icons/CopyDuotoneIcon.d.ts +1 -1
  161. package/icons/CubeDuotoneIcon.d.ts +1 -1
  162. package/icons/DashboardDuotoneIcon.d.ts +1 -1
  163. package/icons/DislikeDuotoneIcon.d.ts +1 -1
  164. package/icons/DocsDuotoneIcon.d.ts +1 -1
  165. package/icons/DollarDuotoneIcon.d.ts +1 -1
  166. package/icons/DoubleChevronDuotoneIcon.d.ts +1 -1
  167. package/icons/DragDuotoneIcon.d.ts +1 -1
  168. package/icons/EditDuotoneIcon.d.ts +1 -1
  169. package/icons/ExclamationMarkDuotoneIcon.d.ts +1 -1
  170. package/icons/ExportDuotoneIcon.d.ts +1 -1
  171. package/icons/ExternalDuotoneIcon.d.ts +1 -1
  172. package/icons/EyeDuotoneIcon.d.ts +1 -1
  173. package/icons/EyeOffDuotoneIcon.d.ts +1 -1
  174. package/icons/FileDuotoneIcon.d.ts +1 -1
  175. package/icons/FileUploadDuotoneIcon.d.ts +1 -1
  176. package/icons/FolderListDuotoneIcon.d.ts +1 -1
  177. package/icons/FolderUploadDuotoneIcon.d.ts +1 -1
  178. package/icons/GridDuotoneIcon.d.ts +1 -1
  179. package/icons/HelloDuotoneIcon.d.ts +1 -1
  180. package/icons/HelpDuotoneIcon.d.ts +1 -1
  181. package/icons/HomeDuotoneIcon.d.ts +1 -1
  182. package/icons/ImageDuotoneIcon.d.ts +1 -1
  183. package/icons/ImportDuotoneIcon.d.ts +1 -1
  184. package/icons/InfoDuotoneIcon.d.ts +1 -1
  185. package/icons/IntegrationDuotoneIcon.d.ts +1 -1
  186. package/icons/LandedCostDuotoneIcon.d.ts +1 -1
  187. package/icons/LaptopDuotoneIcon.d.ts +1 -1
  188. package/icons/LightDuotoneIcon.d.ts +1 -1
  189. package/icons/LikeDuotoneIcon.d.ts +1 -1
  190. package/icons/LineDownDuotoneIcon.d.ts +1 -1
  191. package/icons/LineUpDuotoneIcon.d.ts +1 -1
  192. package/icons/LinkDuotoneIcon.d.ts +1 -1
  193. package/icons/LocationDuotoneIcon.d.ts +1 -1
  194. package/icons/LockDuotoneIcon.d.ts +1 -1
  195. package/icons/LoginDuotoneIcon.d.ts +1 -1
  196. package/icons/LogoutDuotoneIcon.d.ts +1 -1
  197. package/icons/MailDuotoneIcon.d.ts +1 -1
  198. package/icons/MenuDuotoneIcon.d.ts +1 -1
  199. package/icons/MinusCircleDuotoneIcon.d.ts +1 -1
  200. package/icons/MobileDuotoneIcon.d.ts +1 -1
  201. package/icons/MoneyDuotoneIcon.d.ts +1 -1
  202. package/icons/MonitorDuotoneIcon.d.ts +1 -1
  203. package/icons/PauseCircleDuotoneIcon.d.ts +1 -1
  204. package/icons/PercentBadgeDuotoneIcon.d.ts +1 -1
  205. package/icons/PercentDuotoneIcon.d.ts +1 -1
  206. package/icons/PlayCircleDuotoneIcon.d.ts +1 -1
  207. package/icons/PlusCircleDuotoneIcon.d.ts +1 -1
  208. package/icons/PrinterDuotoneIcon.d.ts +1 -1
  209. package/icons/RateDuotoneIcon.d.ts +1 -1
  210. package/icons/ReceiptDuotoneIcon.d.ts +1 -1
  211. package/icons/RefreshDuotoneIcon.d.ts +1 -1
  212. package/icons/RemoveCircleDuotoneIcon.d.ts +1 -1
  213. package/icons/RestrictDuotoneIcon.d.ts +1 -1
  214. package/icons/RocketDuotoneIcon.d.ts +1 -1
  215. package/icons/ScanDuotoneIcon.d.ts +1 -1
  216. package/icons/ScreenDuotoneIcon.d.ts +1 -1
  217. package/icons/SendDuotoneIcon.d.ts +1 -1
  218. package/icons/SettingsDuotoneIcon.d.ts +1 -1
  219. package/icons/ShoppingListDuotoneIcon.d.ts +1 -1
  220. package/icons/ShoppingTagDuotoneIcon.d.ts +1 -1
  221. package/icons/ShoppingTagIcon.d.ts +1 -1
  222. package/icons/StarOffDuotoneIcon.d.ts +1 -1
  223. package/icons/StarsDuotoneIcon.d.ts +1 -1
  224. package/icons/SunnyDuotoneIcon.d.ts +1 -1
  225. package/icons/TagDuotoneIcon.d.ts +1 -1
  226. package/icons/TagIcon.d.ts +1 -1
  227. package/icons/TrashCanDuotoneIcon.d.ts +1 -1
  228. package/icons/TruckDuotoneIcon.d.ts +1 -1
  229. package/icons/UserDuotoneIcon.d.ts +1 -1
  230. package/icons/WarningDuotoneIcon.d.ts +1 -1
  231. package/icons/custom/ZonosLogoIcon.d.ts +1 -1
  232. package/icons/custom/products/CheckoutIcon.d.ts +1 -1
  233. package/icons/custom/products/ClassifyIcon.d.ts +1 -1
  234. package/icons/custom/products/ClearIcon.d.ts +1 -1
  235. package/icons/custom/products/DashboardIcon.d.ts +1 -1
  236. package/icons/custom/products/HelloIcon.d.ts +1 -1
  237. package/icons/custom/products/LandedCostIcon.d.ts +1 -1
  238. package/icons/custom/products/RateIcon.d.ts +1 -1
  239. package/icons/custom/products/RestrictIcon.d.ts +1 -1
  240. package/icons/custom/products/ScreenIcon.d.ts +1 -1
  241. package/icons/flag-icon/FlagIcon.d.ts +3 -3
  242. package/icons/flag-icon/_FlagIconBase.d.ts +2 -2
  243. package/icons/flags/AD.d.ts +1 -1
  244. package/icons/flags/AE.d.ts +1 -1
  245. package/icons/flags/AF.d.ts +1 -1
  246. package/icons/flags/AG.d.ts +1 -1
  247. package/icons/flags/AI.d.ts +1 -1
  248. package/icons/flags/AL.d.ts +1 -1
  249. package/icons/flags/AM.d.ts +1 -1
  250. package/icons/flags/AO.d.ts +1 -1
  251. package/icons/flags/AR.d.ts +1 -1
  252. package/icons/flags/AS.d.ts +1 -1
  253. package/icons/flags/AT.d.ts +1 -1
  254. package/icons/flags/AU.d.ts +1 -1
  255. package/icons/flags/AW.d.ts +1 -1
  256. package/icons/flags/AX.d.ts +1 -1
  257. package/icons/flags/AZ.d.ts +1 -1
  258. package/icons/flags/BA.d.ts +1 -1
  259. package/icons/flags/BB.d.ts +1 -1
  260. package/icons/flags/BD.d.ts +1 -1
  261. package/icons/flags/BE.d.ts +1 -1
  262. package/icons/flags/BF.d.ts +1 -1
  263. package/icons/flags/BG.d.ts +1 -1
  264. package/icons/flags/BH.d.ts +1 -1
  265. package/icons/flags/BI.d.ts +1 -1
  266. package/icons/flags/BJ.d.ts +1 -1
  267. package/icons/flags/BL.d.ts +1 -1
  268. package/icons/flags/BM.d.ts +1 -1
  269. package/icons/flags/BN.d.ts +1 -1
  270. package/icons/flags/BO.d.ts +1 -1
  271. package/icons/flags/BQ.d.ts +1 -1
  272. package/icons/flags/BR.d.ts +1 -1
  273. package/icons/flags/BS.d.ts +1 -1
  274. package/icons/flags/BT.d.ts +1 -1
  275. package/icons/flags/BW.d.ts +1 -1
  276. package/icons/flags/BY.d.ts +1 -1
  277. package/icons/flags/BZ.d.ts +1 -1
  278. package/icons/flags/CA.d.ts +1 -1
  279. package/icons/flags/CD.d.ts +1 -1
  280. package/icons/flags/CF.d.ts +1 -1
  281. package/icons/flags/CG.d.ts +1 -1
  282. package/icons/flags/CH.d.ts +1 -1
  283. package/icons/flags/CI.d.ts +1 -1
  284. package/icons/flags/CK.d.ts +1 -1
  285. package/icons/flags/CL.d.ts +1 -1
  286. package/icons/flags/CM.d.ts +1 -1
  287. package/icons/flags/CN.d.ts +1 -1
  288. package/icons/flags/CO.d.ts +1 -1
  289. package/icons/flags/CR.d.ts +1 -1
  290. package/icons/flags/CU.d.ts +1 -1
  291. package/icons/flags/CV.d.ts +1 -1
  292. package/icons/flags/CW.d.ts +1 -1
  293. package/icons/flags/CY.d.ts +1 -1
  294. package/icons/flags/CZ.d.ts +1 -1
  295. package/icons/flags/DE.d.ts +1 -1
  296. package/icons/flags/DJ.d.ts +1 -1
  297. package/icons/flags/DK.d.ts +1 -1
  298. package/icons/flags/DM.d.ts +1 -1
  299. package/icons/flags/DO.d.ts +1 -1
  300. package/icons/flags/DZ.d.ts +1 -1
  301. package/icons/flags/Default.d.ts +1 -1
  302. package/icons/flags/EC.d.ts +1 -1
  303. package/icons/flags/EE.d.ts +1 -1
  304. package/icons/flags/EG.d.ts +1 -1
  305. package/icons/flags/EH.d.ts +1 -1
  306. package/icons/flags/ER.d.ts +1 -1
  307. package/icons/flags/ES.d.ts +1 -1
  308. package/icons/flags/ET.d.ts +1 -1
  309. package/icons/flags/FI.d.ts +1 -1
  310. package/icons/flags/FJ.d.ts +1 -1
  311. package/icons/flags/FK.d.ts +1 -1
  312. package/icons/flags/FM.d.ts +1 -1
  313. package/icons/flags/FO.d.ts +1 -1
  314. package/icons/flags/FR.d.ts +1 -1
  315. package/icons/flags/GA.d.ts +1 -1
  316. package/icons/flags/GB.d.ts +1 -1
  317. package/icons/flags/GD.d.ts +1 -1
  318. package/icons/flags/GE.d.ts +1 -1
  319. package/icons/flags/GF.d.ts +1 -1
  320. package/icons/flags/GG.d.ts +1 -1
  321. package/icons/flags/GH.d.ts +1 -1
  322. package/icons/flags/GI.d.ts +1 -1
  323. package/icons/flags/GL.d.ts +1 -1
  324. package/icons/flags/GM.d.ts +1 -1
  325. package/icons/flags/GN.d.ts +1 -1
  326. package/icons/flags/GP.d.ts +1 -1
  327. package/icons/flags/GQ.d.ts +1 -1
  328. package/icons/flags/GR.d.ts +1 -1
  329. package/icons/flags/GT.d.ts +1 -1
  330. package/icons/flags/GU.d.ts +1 -1
  331. package/icons/flags/GW.d.ts +1 -1
  332. package/icons/flags/GY.d.ts +1 -1
  333. package/icons/flags/HK.d.ts +1 -1
  334. package/icons/flags/HM.d.ts +1 -1
  335. package/icons/flags/HN.d.ts +1 -1
  336. package/icons/flags/HR.d.ts +1 -1
  337. package/icons/flags/HT.d.ts +1 -1
  338. package/icons/flags/HU.d.ts +1 -1
  339. package/icons/flags/IC.d.ts +1 -1
  340. package/icons/flags/ID.d.ts +1 -1
  341. package/icons/flags/IE.d.ts +1 -1
  342. package/icons/flags/IL.d.ts +1 -1
  343. package/icons/flags/IM.d.ts +1 -1
  344. package/icons/flags/IN.d.ts +1 -1
  345. package/icons/flags/IQ.d.ts +1 -1
  346. package/icons/flags/IR.d.ts +1 -1
  347. package/icons/flags/IS.d.ts +1 -1
  348. package/icons/flags/IT.d.ts +1 -1
  349. package/icons/flags/JE.d.ts +1 -1
  350. package/icons/flags/JM.d.ts +1 -1
  351. package/icons/flags/JO.d.ts +1 -1
  352. package/icons/flags/JP.d.ts +1 -1
  353. package/icons/flags/KE.d.ts +1 -1
  354. package/icons/flags/KG.d.ts +1 -1
  355. package/icons/flags/KH.d.ts +1 -1
  356. package/icons/flags/KI.d.ts +1 -1
  357. package/icons/flags/KM.d.ts +1 -1
  358. package/icons/flags/KN.d.ts +1 -1
  359. package/icons/flags/KP.d.ts +1 -1
  360. package/icons/flags/KR.d.ts +1 -1
  361. package/icons/flags/KW.d.ts +1 -1
  362. package/icons/flags/KY.d.ts +1 -1
  363. package/icons/flags/KZ.d.ts +1 -1
  364. package/icons/flags/LA.d.ts +1 -1
  365. package/icons/flags/LB.d.ts +1 -1
  366. package/icons/flags/LC.d.ts +1 -1
  367. package/icons/flags/LI.d.ts +1 -1
  368. package/icons/flags/LK.d.ts +1 -1
  369. package/icons/flags/LR.d.ts +1 -1
  370. package/icons/flags/LS.d.ts +1 -1
  371. package/icons/flags/LT.d.ts +1 -1
  372. package/icons/flags/LU.d.ts +1 -1
  373. package/icons/flags/LV.d.ts +1 -1
  374. package/icons/flags/LY.d.ts +1 -1
  375. package/icons/flags/MA.d.ts +1 -1
  376. package/icons/flags/MC.d.ts +1 -1
  377. package/icons/flags/MD.d.ts +1 -1
  378. package/icons/flags/ME.d.ts +1 -1
  379. package/icons/flags/MF.d.ts +1 -1
  380. package/icons/flags/MG.d.ts +1 -1
  381. package/icons/flags/MH.d.ts +1 -1
  382. package/icons/flags/MK.d.ts +1 -1
  383. package/icons/flags/ML.d.ts +1 -1
  384. package/icons/flags/MM.d.ts +1 -1
  385. package/icons/flags/MN.d.ts +1 -1
  386. package/icons/flags/MO.d.ts +1 -1
  387. package/icons/flags/MP.d.ts +1 -1
  388. package/icons/flags/MQ.d.ts +1 -1
  389. package/icons/flags/MR.d.ts +1 -1
  390. package/icons/flags/MS.d.ts +1 -1
  391. package/icons/flags/MT.d.ts +1 -1
  392. package/icons/flags/MU.d.ts +1 -1
  393. package/icons/flags/MV.d.ts +1 -1
  394. package/icons/flags/MW.d.ts +1 -1
  395. package/icons/flags/MX.d.ts +1 -1
  396. package/icons/flags/MY.d.ts +1 -1
  397. package/icons/flags/MZ.d.ts +1 -1
  398. package/icons/flags/NA.d.ts +1 -1
  399. package/icons/flags/NC.d.ts +1 -1
  400. package/icons/flags/NE.d.ts +1 -1
  401. package/icons/flags/NF.d.ts +1 -1
  402. package/icons/flags/NG.d.ts +1 -1
  403. package/icons/flags/NI.d.ts +1 -1
  404. package/icons/flags/NL.d.ts +1 -1
  405. package/icons/flags/NO.d.ts +1 -1
  406. package/icons/flags/NP.d.ts +1 -1
  407. package/icons/flags/NR.d.ts +1 -1
  408. package/icons/flags/NU.d.ts +1 -1
  409. package/icons/flags/NZ.d.ts +1 -1
  410. package/icons/flags/OM.d.ts +1 -1
  411. package/icons/flags/PA.d.ts +1 -1
  412. package/icons/flags/PE.d.ts +1 -1
  413. package/icons/flags/PF.d.ts +1 -1
  414. package/icons/flags/PG.d.ts +1 -1
  415. package/icons/flags/PH.d.ts +1 -1
  416. package/icons/flags/PK.d.ts +1 -1
  417. package/icons/flags/PL.d.ts +1 -1
  418. package/icons/flags/PM.d.ts +1 -1
  419. package/icons/flags/PN.d.ts +1 -1
  420. package/icons/flags/PR.d.ts +1 -1
  421. package/icons/flags/PS.d.ts +1 -1
  422. package/icons/flags/PT.d.ts +1 -1
  423. package/icons/flags/PW.d.ts +1 -1
  424. package/icons/flags/PY.d.ts +1 -1
  425. package/icons/flags/QA.d.ts +1 -1
  426. package/icons/flags/RE.d.ts +1 -1
  427. package/icons/flags/RO.d.ts +1 -1
  428. package/icons/flags/RS.d.ts +1 -1
  429. package/icons/flags/RU.d.ts +1 -1
  430. package/icons/flags/RW.d.ts +1 -1
  431. package/icons/flags/SA.d.ts +1 -1
  432. package/icons/flags/SB.d.ts +1 -1
  433. package/icons/flags/SC.d.ts +1 -1
  434. package/icons/flags/SD.d.ts +1 -1
  435. package/icons/flags/SE.d.ts +1 -1
  436. package/icons/flags/SG.d.ts +1 -1
  437. package/icons/flags/SH.d.ts +1 -1
  438. package/icons/flags/SI.d.ts +1 -1
  439. package/icons/flags/SJ.d.ts +1 -1
  440. package/icons/flags/SK.d.ts +1 -1
  441. package/icons/flags/SL.d.ts +1 -1
  442. package/icons/flags/SM.d.ts +1 -1
  443. package/icons/flags/SN.d.ts +1 -1
  444. package/icons/flags/SO.d.ts +1 -1
  445. package/icons/flags/SR.d.ts +1 -1
  446. package/icons/flags/SS.d.ts +1 -1
  447. package/icons/flags/ST.d.ts +1 -1
  448. package/icons/flags/SV.d.ts +1 -1
  449. package/icons/flags/SX.d.ts +1 -1
  450. package/icons/flags/SY.d.ts +1 -1
  451. package/icons/flags/SZ.d.ts +1 -1
  452. package/icons/flags/TC.d.ts +1 -1
  453. package/icons/flags/TD.d.ts +1 -1
  454. package/icons/flags/TF.d.ts +1 -1
  455. package/icons/flags/TG.d.ts +1 -1
  456. package/icons/flags/TH.d.ts +1 -1
  457. package/icons/flags/TJ.d.ts +1 -1
  458. package/icons/flags/TK.d.ts +1 -1
  459. package/icons/flags/TL.d.ts +1 -1
  460. package/icons/flags/TM.d.ts +1 -1
  461. package/icons/flags/TN.d.ts +1 -1
  462. package/icons/flags/TO.d.ts +1 -1
  463. package/icons/flags/TR.d.ts +1 -1
  464. package/icons/flags/TT.d.ts +1 -1
  465. package/icons/flags/TV.d.ts +1 -1
  466. package/icons/flags/TW.d.ts +1 -1
  467. package/icons/flags/TZ.d.ts +1 -1
  468. package/icons/flags/UA.d.ts +1 -1
  469. package/icons/flags/UG.d.ts +1 -1
  470. package/icons/flags/UM.d.ts +1 -1
  471. package/icons/flags/US.d.ts +1 -1
  472. package/icons/flags/UY.d.ts +1 -1
  473. package/icons/flags/UZ.d.ts +1 -1
  474. package/icons/flags/VA.d.ts +1 -1
  475. package/icons/flags/VC.d.ts +1 -1
  476. package/icons/flags/VE.d.ts +1 -1
  477. package/icons/flags/VG.d.ts +1 -1
  478. package/icons/flags/VI.d.ts +1 -1
  479. package/icons/flags/VN.d.ts +1 -1
  480. package/icons/flags/VU.d.ts +1 -1
  481. package/icons/flags/WF.d.ts +1 -1
  482. package/icons/flags/WS.d.ts +1 -1
  483. package/icons/flags/YE.d.ts +1 -1
  484. package/icons/flags/YT.d.ts +1 -1
  485. package/icons/flags/ZA.d.ts +1 -1
  486. package/icons/flags/ZM.d.ts +1 -1
  487. package/icons/flags/ZW.d.ts +1 -1
  488. package/icons/icon-base/_IconBase.d.ts +1 -1
  489. package/package.json +4 -4
  490. package/split-react.css +27 -169
  491. package/styles/constants/theme.d.ts +2 -2
  492. package/types/AlertDialogOpts.d.ts +2 -2
  493. package/types/Color.d.ts +3 -3
  494. package/types/ConfirmDialogOpts.d.ts +2 -2
  495. package/types/Depth.d.ts +1 -1
  496. package/types/IAminoTheme.d.ts +1 -1
  497. package/types/ICountry.d.ts +2 -2
  498. package/types/IGeoJsonWorld.d.ts +5 -5
  499. package/types/IOption.d.ts +1 -1
  500. package/types/IconProps.d.ts +2 -2
  501. package/types/Intent.d.ts +1 -1
  502. package/types/NoInfer.d.ts +1 -1
  503. package/types/SectionLayout.d.ts +1 -1
  504. package/types/Size.d.ts +1 -1
  505. package/types/StyledProps.d.ts +1 -1
  506. package/types/Theme.d.ts +1 -1
  507. package/types/UploadedFile.d.ts +1 -1
  508. package/utils/_extractQueryParams.js +1 -1
  509. package/utils/_graphiqlFetcher.d.ts +9 -9
  510. package/utils/flattenRow.d.ts +2 -2
  511. package/utils/getCountryCodeByName.d.ts +1 -1
  512. package/utils/getHashId.d.ts +1 -1
  513. package/utils/getProductDetails.d.ts +3 -3
  514. package/utils/getTestId.d.ts +1 -1
  515. package/utils/handleFetch.d.ts +3 -3
  516. package/utils/hooks/_useGraphiqlExplorer.d.ts +1 -1
  517. package/utils/hooks/_useGraphiqlExplorer.js +1 -1
  518. package/utils/hooks/_useGraphiqlFetcher.d.ts +2 -2
  519. package/utils/hooks/action-pivot-table/useHasuraGqlPagination.d.ts +1 -1
  520. package/utils/hooks/useStorage.d.ts +5 -5
  521. package/utils/hooks/useSwrt.d.ts +1 -1
  522. package/utils/hooks/useSwrt.js +1 -1
  523. package/utils/prepCountryOptions.d.ts +1 -1
  524. package/utils/prepRegionCountryOptions.d.ts +1 -1
  525. package/utils/setupNestedData.d.ts +1 -1
  526. package/utils/storage.d.ts +3 -3
  527. package/utils/truncateText.d.ts +1 -1
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { AlertDialogOpts } from "../../types/AlertDialogOpts";
1
+ import { type ReactNode } from 'react';
2
+ import type { AlertDialogOpts } from "../../types/AlertDialogOpts";
3
3
  export declare const AlertContext: import("react").Context<(opts: AlertDialogOpts) => void>;
4
- declare type Props = {
4
+ type Props = {
5
5
  children: ReactNode;
6
6
  };
7
7
  export declare const AlertContextProvider: ({ children }: Props) => JSX.Element;
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { IAminoTheme } from "../../types/IAminoTheme";
3
- import { Intent } from "../../types/Intent";
4
- export declare type AlertDialogProps = {
1
+ import type { ReactNode } from 'react';
2
+ import type { IAminoTheme } from "../../types/IAminoTheme";
3
+ import type { Intent } from "../../types/Intent";
4
+ export type AlertDialogProps = {
5
5
  open: boolean;
6
6
  label: string;
7
7
  theme?: IAminoTheme;
@@ -1,12 +1,12 @@
1
- import { ReactNode } from 'react';
2
- export declare type ImageSize = 16 | 24 | 32 | 40 | 48 | 56 | 64;
1
+ import type { ReactNode } from 'react';
2
+ export type ImageSize = 16 | 24 | 32 | 40 | 48 | 56 | 64;
3
3
  export declare const avatarShapes: {
4
4
  readonly round: "50%";
5
5
  readonly rounded: "10px";
6
6
  readonly square: "0px";
7
7
  };
8
- declare type AvatarShape = keyof typeof avatarShapes;
9
- export declare type AvatarProps = {
8
+ type AvatarShape = keyof typeof avatarShapes;
9
+ export type AvatarProps = {
10
10
  /** @default round */
11
11
  shape?: AvatarShape;
12
12
  /** @default 32 px */
@@ -14,7 +14,7 @@ export declare type AvatarProps = {
14
14
  /** @default false */
15
15
  bordered?: boolean;
16
16
  };
17
- declare type AvartarBaseProps = Required<AvatarProps> & {
17
+ type AvartarBaseProps = Required<AvatarProps> & {
18
18
  backgroundUrl?: string;
19
19
  backgroundSize?: string;
20
20
  backgroundPosition?: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { AvatarProps } from './AvatarBase';
3
- export declare type ImageAvatarProps = {
2
+ import { type AvatarProps } from './AvatarBase';
3
+ export type ImageAvatarProps = {
4
4
  imageUrl: string;
5
5
  } & AvatarProps;
6
6
  export declare const ImageAvatar: ({ bordered, imageUrl, shape, size, }: ImageAvatarProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { AvatarProps } from './AvatarBase';
3
- export declare type UserAvatarProps = AvatarProps;
2
+ import { type AvatarProps } from './AvatarBase';
3
+ export type UserAvatarProps = AvatarProps;
4
4
  export declare const UserAvatar: ({ size, shape, bordered, }: AvatarProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { FontWeight } from '../text/Text';
3
- declare type ColorList = 'blue' | 'cyan' | 'gray' | 'green' | 'orange' | 'purple' | 'red';
4
- declare type Size = 'small' | 'large';
1
+ import type { ReactNode } from 'react';
2
+ import type { FontWeight } from "../text/Text";
3
+ type ColorList = 'blue' | 'cyan' | 'gray' | 'green' | 'orange' | 'purple' | 'red';
4
+ type Size = 'small' | 'large';
5
5
  export interface BadgeProps {
6
6
  children?: ReactNode | string;
7
7
  className?: string;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { Intent } from "../../types";
3
- export declare type BannerProps = {
1
+ import type { ReactNode } from 'react';
2
+ import type { Intent } from "../../types";
3
+ export type BannerProps = {
4
4
  className?: string;
5
5
  children?: ReactNode;
6
6
  title?: ReactNode;
@@ -1,11 +1,11 @@
1
- import { ComponentPropsWithoutRef, MouseEventHandler, ReactNode } from 'react';
2
- import { SpinnerProps } from "../spinner/Spinner";
3
- import { Color } from "../../types";
4
- import { Intent } from "../../types/Intent";
5
- import { Size } from "../../types/Size";
6
- import { Theme } from "../../types/Theme";
7
- declare type IntentProps = 'outline' | 'subtle' | 'text' | 'link' | 'plain' | Intent;
8
- declare type ButtonBase = {
1
+ import { type ComponentPropsWithoutRef, type MouseEventHandler, type ReactNode } from 'react';
2
+ import { type SpinnerProps } from "../spinner/Spinner";
3
+ import type { Color } from "../../types";
4
+ import type { Intent } from "../../types/Intent";
5
+ import type { Size } from "../../types/Size";
6
+ import type { Theme } from "../../types/Theme";
7
+ type IntentProps = 'outline' | 'subtle' | 'text' | 'link' | 'plain' | Intent;
8
+ type ButtonBase = {
9
9
  background?: Color | 'inherit';
10
10
  /** @param borderColor only available for intent 'outline' */
11
11
  borderColor?: Color | 'inherit';
@@ -32,9 +32,9 @@ declare type ButtonBase = {
32
32
  theme?: Theme | 'space';
33
33
  type?: 'button' | 'reset' | 'submit';
34
34
  };
35
- export declare type GroupTag = 'div' | 'a' | 'button';
36
- declare type MyHtmlElement<T extends GroupTag> = T extends 'a' ? HTMLAnchorElement : T extends 'div' ? HTMLDivElement : HTMLButtonElement;
37
- export declare type ButtonProps<T extends GroupTag = 'button'> = ButtonBase & Omit<ComponentPropsWithoutRef<T>, keyof ButtonBase | 'onClick'> & {
35
+ export type GroupTag = 'div' | 'a' | 'button';
36
+ type MyHtmlElement<T extends GroupTag> = T extends 'a' ? HTMLAnchorElement : T extends 'div' ? HTMLDivElement : HTMLButtonElement;
37
+ export type ButtonProps<T extends GroupTag = 'button'> = ButtonBase & Omit<ComponentPropsWithoutRef<T>, keyof ButtonBase | 'onClick'> & {
38
38
  onClick?: MouseEventHandler<MyHtmlElement<T>>;
39
39
  tag?: T;
40
40
  };
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type MenuButtonProps = {
1
+ import { type ReactNode } from 'react';
2
+ export type MenuButtonProps = {
3
3
  action: ReactNode;
4
4
  children: ReactNode;
5
5
  open: boolean;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { Color } from "../../types";
2
+ import type { Color } from "../../types";
3
3
  export interface IRippleActions {
4
4
  start: (event: React.SyntheticEvent) => void;
5
5
  }
6
- export declare type RippleGroupProps = {
6
+ export type RippleGroupProps = {
7
7
  /**
8
8
  * @default 'inherit'
9
9
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type RippleProps = {
2
+ export type RippleProps = {
3
3
  /** Removes the ripple */
4
4
  destroy: () => void;
5
5
  /** duration of the ripple */
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import { IRippleActions } from './RippleGroup';
2
+ import type { IRippleActions } from './RippleGroup';
3
3
  interface IRippleEventHandlers {
4
4
  onMouseDown: React.MouseEventHandler;
5
5
  }
6
- declare type Props = {
6
+ type Props = {
7
7
  rippleRef: React.RefObject<IRippleActions>;
8
8
  disabled: boolean;
9
9
  rippleEnabled: boolean;
10
10
  };
11
- declare type Return = {
11
+ type Return = {
12
12
  /** Combines event handlers */
13
13
  getRippleHandlers(otherEvents: Partial<IRippleEventHandlers>): IRippleEventHandlers;
14
14
  rippleEnabled: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type CardProps = {
1
+ import type { ReactNode } from 'react';
2
+ export type CardProps = {
3
3
  actions?: ReactNode;
4
4
  children: ReactNode;
5
5
  className?: string;
@@ -1,5 +1,5 @@
1
- import { MouseEvent, ReactNode } from 'react';
2
- export declare type CheckboxProps = {
1
+ import { type MouseEvent, type ReactNode } from 'react';
2
+ export type CheckboxProps = {
3
3
  checked: boolean;
4
4
  disabled?: boolean;
5
5
  icon?: ReactNode;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type CollapseProps = {
1
+ import { type ReactNode } from 'react';
2
+ export type CollapseProps = {
3
3
  className?: string;
4
4
  children: ReactNode;
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { ConfirmDialogOpts } from "../../types/ConfirmDialogOpts";
1
+ import { type ReactNode } from 'react';
2
+ import type { ConfirmDialogOpts } from "../../types/ConfirmDialogOpts";
3
3
  export declare const ConfirmContext: import("react").Context<(opts: ConfirmDialogOpts) => void>;
4
- declare type Props = {
4
+ type Props = {
5
5
  children: ReactNode;
6
6
  };
7
7
  export declare const ConfirmContextProvider: ({ children }: Props) => JSX.Element;
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { IAminoTheme } from "../../types/IAminoTheme";
3
- import { Intent } from "../../types/Intent";
4
- export declare type ConfirmDialogProps = {
1
+ import type { ReactNode } from 'react';
2
+ import type { IAminoTheme } from "../../types/IAminoTheme";
3
+ import type { Intent } from "../../types/Intent";
4
+ export type ConfirmDialogProps = {
5
5
  open: boolean;
6
6
  label: string;
7
7
  theme?: IAminoTheme;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { ICountryOption } from "../../types/ICountry";
3
- import { IGeoJsonWorld } from "../../types/IGeoJsonWorld";
4
- declare type Props = {
2
+ import { type ICountryOption } from "../../types/ICountry";
3
+ import { type IGeoJsonWorld } from "../../types/IGeoJsonWorld";
4
+ type Props = {
5
5
  countries: ICountryOption[];
6
6
  height?: number;
7
7
  to: string;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type CoverSheetProps = {
1
+ import { type ReactNode } from 'react';
2
+ export type CoverSheetProps = {
3
3
  children: ReactNode;
4
4
  className?: string;
5
5
  open: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type CoverSheetProps = {
1
+ import { type ReactNode } from 'react';
2
+ export type CoverSheetProps = {
3
3
  children: ReactNode;
4
4
  className?: string;
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type Props = {
2
+ type Props = {
3
3
  amount: number;
4
4
  className?: string;
5
5
  code: string;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- declare type StyledProps = {
2
+ type StyledProps = {
3
3
  width?: string;
4
4
  isTabular: boolean;
5
5
  };
6
- declare type Props = {
6
+ type Props = {
7
7
  className?: string;
8
8
  conversionRate?: number;
9
9
  foreignCode: string;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type DarkModeWrapperProps = {
1
+ import type { ReactNode } from 'react';
2
+ export type DarkModeWrapperProps = {
3
3
  children: ReactNode;
4
4
  };
5
5
  export declare const DarkModeWrapper: ({ children }: DarkModeWrapperProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { IAminoTheme } from "../../types/IAminoTheme";
3
- export declare type DialogProps = {
1
+ import { type ReactNode } from 'react';
2
+ import type { IAminoTheme } from "../../types/IAminoTheme";
3
+ export type DialogProps = {
4
4
  actions?: ReactNode;
5
5
  className?: string;
6
6
  children: ReactNode;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { IAminoTheme } from "../../types/IAminoTheme";
3
- export declare type BaseDialogProps = {
1
+ import { type ReactNode } from 'react';
2
+ import type { IAminoTheme } from "../../types/IAminoTheme";
3
+ export type BaseDialogProps = {
4
4
  children: ReactNode;
5
5
  className?: string;
6
6
  open: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type Props = {
2
+ type Props = {
3
3
  className?: string;
4
4
  vertical?: boolean;
5
5
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { DropzoneOptions } from 'react-dropzone';
3
- import { UploadedFile } from "../../types/UploadedFile";
4
- export declare type DropZoneProps = {
2
+ import { type DropzoneOptions } from 'react-dropzone';
3
+ import { type UploadedFile } from "../../types/UploadedFile";
4
+ export type DropZoneProps = {
5
5
  className?: string;
6
6
  dropzoneOptions: Omit<DropzoneOptions, 'disabled'>;
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type Props = {
2
+ type Props = {
3
3
  code: string;
4
4
  };
5
5
  export declare const Emoji: ({ code }: Props) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { DropzoneOptions } from 'react-dropzone';
3
- import { UploadedFile } from "../../types/UploadedFile";
4
- export declare type FileUploadProps = {
2
+ import { type DropzoneOptions } from 'react-dropzone';
3
+ import type { UploadedFile } from "../../types/UploadedFile";
4
+ export type FileUploadProps = {
5
5
  className?: string;
6
6
  dropzoneOptions: Omit<DropzoneOptions, 'disabled' | 'multiple'>;
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  import { GraphQLSchema } from 'graphql';
3
- import { ExecutionResultType, GraphiqlExecutionResult, HandleFetchFetcher } from "../../utils/_graphiqlFetcher";
4
- declare type GraphMatrixProps = {
3
+ import type { ExecutionResultType, GraphiqlExecutionResult, HandleFetchFetcher } from "../../utils/_graphiqlFetcher";
4
+ type GraphMatrixProps = {
5
5
  /**
6
6
  * @param fetcher
7
7
  * @description Custom fetcher, if not provided, the default fetcher (handleFetch - "src/utils/handleFetch.ts") will be used
@@ -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"),s=require("../../icons/EyeIcon.js"),a=require("../../icons/EyeOffIcon.js"),o=require("../../styles/constants/theme.js"),l=require("../../utils/hooks/_useGraphiqlExplorer.js"),u=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("../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("../select/_StyledReactSelect.js"),require("react-select"),require("../help-text/HelpText.js"),require("../../icons/CheckCircleIcon.js"),require("../../icons/DoubleChevronIcon.js"),require("../../icons/RemoveCircleIcon.js"),require("../../icons/RemoveIcon.js"),require("@zonos/react-split"),require("../../icons/custom/ZonosLogoIcon.js");var b,m,x,_=g(h),v=_.default.div(b||(b=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"]))),f=_.default.div(m||(m=e.__makeTemplateObject(["\n height: 100%;\n"],["\n height: 100%;\n"]))),k=_.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"])),o.theme.space12),y=function(o){var h=o.fetcher,g=o.loadingComponent,b=o.onEditQuery,m=o.onEditVariables,x=o.onResultData,_=o.query,y=void 0===_?"":_,S=o.schema,C=o.schemaName,E=o.url,I=o.variables,T=void 0===I?"":I,w=o.customToolbar,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],Q=e.__read(t.useState(!1),2),W=Q[0],A=Q[1],M=e.__read(t.useState(""),2),P=M[0],V=M[1],H=u.useGraphiqlFetcher({cachingKey:N,url:E,query:y,customFetcher:h||null,operationName:P}),z=H.graphiqlFetcher,K=H.resultData,U=H.isLoading,Z=c.useGraphiqlStorage({defaultSchema:C});t.useEffect((function(){L(!!(null==D?void 0:D.isFetching)||U)}),[null==D?void 0:D.isFetching,L,U]),t.useEffect((function(){K&&x&&x(K)}),[x,K]);var J=l.useGraphiqlExplorer({onEdit:b,query:y});if(!S)return r.jsx(r.Fragment,{children:g||r.jsx(j.Loading,{})});var X,Y;return r.jsx(v,{children:r.jsxs(q.SplitPanel,e.__assign({collapseAll:!W},{children:[r.jsx(f,{children:r.jsx(n.GraphiQL,e.__assign({fetcher:z,onEditOperationName:V,onEditQuery:b,onEditVariables:m,plugins:[J],query:y,variables:T,schema:S,toolbar:{additionalContent:r.jsxs(r.Fragment,{children:[r.jsx(i.ToolbarButton,e.__assign({label:W?"Hide table":"Show table",onClick:function(){return A(!W)}},{children:W?r.jsx(a.EyeOffIcon,{color:"gray400"}):r.jsx(s.EyeIcon,{color:"gray400"})})),w]})},storage:Z},{children:r.jsx(d.GraphiqlContextWrapper,e.__assign({setExecutionContext:G,setResponseEditorContext:R},{children:r.jsx(n.GraphiQL.Footer,{})}))}))}),(X=null!==K?K.data:K,Y=X?Object.entries(X):null,Y?r.jsx(k,{children:Y.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)]}))})};y.ToolbarButton=i.ToolbarButton,exports.GraphMatrix=y;
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"),l=require("../../utils/hooks/_useGraphiqlExplorer.js"),u=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("../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 b,m,x,_=g(h),v=_.default.div(b||(b=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"]))),f=_.default.div(m||(m=e.__makeTemplateObject(["\n height: 100%;\n"],["\n height: 100%;\n"]))),k=_.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"])),o.theme.space12),y=function(o){var h=o.fetcher,g=o.loadingComponent,b=o.onEditQuery,m=o.onEditVariables,x=o.onResultData,_=o.query,y=void 0===_?"":_,S=o.schema,C=o.schemaName,E=o.url,I=o.variables,T=void 0===I?"":I,w=o.customToolbar,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],Q=e.__read(t.useState(!1),2),W=Q[0],A=Q[1],M=e.__read(t.useState(""),2),P=M[0],V=M[1],H=u.useGraphiqlFetcher({cachingKey:N,url:E,query:y,customFetcher:h||null,operationName:P}),K=H.graphiqlFetcher,U=H.resultData,Z=H.isLoading,z=c.useGraphiqlStorage({defaultSchema:C});t.useEffect((function(){L(!!(null==D?void 0:D.isFetching)||Z)}),[null==D?void 0:D.isFetching,L,Z]),t.useEffect((function(){U&&x&&x(U)}),[x,U]);var J=l.useGraphiqlExplorer({onEdit:b,query:y});if(!S)return r.jsx(r.Fragment,{children:g||r.jsx(j.Loading,{})});var X,Y;return r.jsx(v,{children:r.jsxs(q.SplitPanel,e.__assign({collapseAll:!W},{children:[r.jsx(f,{children:r.jsx(n.GraphiQL,e.__assign({fetcher:K,onEditOperationName:V,onEditQuery:b,onEditVariables:m,plugins:[J],query:y,variables:T,schema:S,toolbar:{additionalContent:r.jsxs(r.Fragment,{children:[r.jsx(i.ToolbarButton,e.__assign({label:W?"Hide table":"Show table",onClick:function(){return A(!W)}},{children:W?r.jsx(a.EyeOffIcon,{color:"red600"}):r.jsx(s.EyeIcon,{color:"gray400"})})),w]})},storage:z},{children:r.jsx(d.GraphiqlContextWrapper,e.__assign({setExecutionContext:G,setResponseEditorContext:R},{children:r.jsx(n.GraphiQL.Footer,{})}))}))}),(X=null!==U?U.data:U,Y=X?Object.entries(X):null,Y?r.jsx(k,{children:Y.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)]}))})};y.ToolbarButton=i.ToolbarButton,exports.GraphMatrix=y;
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { ExecutionContextType } from '@graphiql/react';
3
- import { CodeMirrorEditor } from '@graphiql/react/types/editor/types';
4
- declare type Props = {
1
+ import { type ReactNode } from 'react';
2
+ import { type ExecutionContextType } from '@graphiql/react';
3
+ import type { CodeMirrorEditor } from '@graphiql/react/types/editor/types';
4
+ type Props = {
5
5
  children: ReactNode;
6
6
  setExecutionContext: (context: ExecutionContextType) => void;
7
7
  setResponseEditorContext: (context: CodeMirrorEditor) => void;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type HelpTextProps = {
1
+ import type { ReactNode } from 'react';
2
+ export type HelpTextProps = {
3
3
  /**
4
4
  * Is this an error state.
5
5
  */
@@ -1,19 +1,19 @@
1
- import { ChangeEvent, ChangeEventHandler, HTMLInputTypeAttribute, InputHTMLAttributes, ReactNode } from 'react';
2
- import { HelpTextProps } from '../help-text/HelpText';
3
- import { FloatLabelInputProps } from './input-type/_FloatLabelInput';
4
- declare type DateInputEventHandler = (e: Omit<ChangeEvent<HTMLInputElement>, 'target'> & {
1
+ import type { ChangeEvent, ChangeEventHandler, HTMLInputTypeAttribute, InputHTMLAttributes, ReactNode } from 'react';
2
+ import { type HelpTextProps } from '../help-text/HelpText';
3
+ import { type FloatLabelInputProps } from './input-type/_FloatLabelInput';
4
+ type DateInputEventHandler = (e: Omit<ChangeEvent<HTMLInputElement>, 'target'> & {
5
5
  target: Omit<EventTarget, 'value'> & {
6
6
  /** @desc The parsed value is always formatted `yyyy-mm-dd`. Ex: '2022-12-28' */
7
7
  value: `${number}-${number}-${number}` | '';
8
8
  };
9
9
  }) => void;
10
- declare type InputType<T extends HTMLInputTypeAttribute> = {
10
+ type InputType<T extends HTMLInputTypeAttribute> = {
11
11
  /** A value (in px) that will determine how wide the input is. If nothing is passed, it defaults to 100% */
12
12
  width?: number;
13
13
  onChange: T extends 'date' ? DateInputEventHandler : ChangeEventHandler<HTMLInputElement>;
14
14
  inputSuffix?: ReactNode;
15
15
  inputPrefix?: ReactNode;
16
16
  } & Omit<FloatLabelInputProps, 'onChange'> & HelpTextProps;
17
- export declare type InputProps<T extends string = string> = InputType<T> & Omit<InputHTMLAttributes<HTMLInputElement>, keyof InputType<T>>;
17
+ export type InputProps<T extends string = string> = InputType<T> & Omit<InputHTMLAttributes<HTMLInputElement>, keyof InputType<T>>;
18
18
  export declare const Input: <T extends string>({ autoFocus, className, disabled, error, helpText, inputMode, inputPrefix, inputSuffix, label, onChange, onKeyDown, pattern, placeholder, prefix, readOnly, required, suffix, tabIndex, type, size, value, valuePrefix, width, ...props }: InputProps<T>) => JSX.Element;
19
19
  export {};
@@ -1,6 +1,6 @@
1
- import { ChangeEventHandler, KeyboardEventHandler } from 'react';
2
- import { InputMode } from './input-type/_FloatLabelInput';
3
- export declare type InputProps = {
1
+ import type { ChangeEventHandler, KeyboardEventHandler } from 'react';
2
+ import type { InputMode } from './input-type/_FloatLabelInput';
3
+ export type InputProps = {
4
4
  /** Input value. Required since all inputs must be fully controlled */
5
5
  value: string | null;
6
6
  /** Input on changed. Required since all inputs must be fully controlled */
@@ -1,9 +1,9 @@
1
- import { ChangeEventHandler, HTMLInputTypeAttribute, InputHTMLAttributes, KeyboardEventHandler, ReactNode } from 'react';
2
- import { HelpTextProps } from "../../help-text/HelpText";
3
- import { Size } from "../../../types/Size";
1
+ import { type ChangeEventHandler, type HTMLInputTypeAttribute, type InputHTMLAttributes, type KeyboardEventHandler, type ReactNode } from 'react';
2
+ import type { HelpTextProps } from "../../help-text/HelpText";
3
+ import type { Size } from "../../../types/Size";
4
4
  export declare const InputValuePrefix: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare type InputMode = 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url';
6
- declare type FloatLabelInputType = {
5
+ export type InputMode = 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url';
6
+ type FloatLabelInputType = {
7
7
  /** A label that will be displayed above the input */
8
8
  label?: string;
9
9
  /** Input value. Required since all inputs must be fully controlled */
@@ -33,7 +33,7 @@ declare type FloatLabelInputType = {
33
33
  size?: Size;
34
34
  onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
35
35
  } & Pick<HelpTextProps, 'error'>;
36
- export declare type FloatLabelInputProps = FloatLabelInputType & Omit<InputHTMLAttributes<HTMLInputElement>, keyof FloatLabelInputType>;
36
+ export type FloatLabelInputProps = FloatLabelInputType & Omit<InputHTMLAttributes<HTMLInputElement>, keyof FloatLabelInputType>;
37
37
  export declare const FloatLabelInput: import("react").ForwardRefExoticComponent<{
38
38
  /** A label that will be displayed above the input */
39
39
  label?: string | undefined;
@@ -1,10 +1,10 @@
1
- import { ChangeEventHandler, ReactElement, ReactNode } from 'react';
1
+ import type { ChangeEventHandler, ReactElement, ReactNode } from 'react';
2
2
  import { type NavigationGroupProps } from './NavigationGroup';
3
- declare type SearchInputProps = {
3
+ type SearchInputProps = {
4
4
  value: string;
5
5
  onChange: ChangeEventHandler<HTMLInputElement>;
6
6
  };
7
- export declare type LayoutProps = {
7
+ export type LayoutProps = {
8
8
  footer: ReactNode;
9
9
  logoSidebar?: ReactNode;
10
10
  sidebar: ReactElement<NavigationGroupProps[] | NavigationGroupProps>;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),r=require("../input/SearchInput.js"),t=require("../../styles/constants/theme.js"),i=require("styled-components");function o(e){return e&&e.__esModule?e:{default:e}}require("../../icons/SearchIcon.js"),require("react"),require("../../icons/icon-base/_IconBase.js");var a,d,h,l,s,c,b,m,p,g,u=o(i),x=u.default.div(a||(a=e.__makeTemplateObject(["\n box-sizing: border-box;\n width: ",";\n"],["\n box-sizing: border-box;\n width: ",";\n"])),t.theme.sidebarWidth),f=u.default.div(d||(d=e.__makeTemplateObject(["\n padding: ",";\n box-sizing: border-box;\n overflow-y: auto;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n"],["\n padding: ",";\n box-sizing: border-box;\n overflow-y: auto;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n"])),t.theme.space24),j=u.default.div(h||(h=e.__makeTemplateObject(["\n margin-bottom: ",";\n"],["\n margin-bottom: ",";\n"])),t.theme.space40),v=u.default.div(l||(l=e.__makeTemplateObject(["\n margin-bottom: ",";\n"],["\n margin-bottom: ",";\n"])),t.theme.space24),_=u.default(r.SearchInput)(s||(s=e.__makeTemplateObject(["\n border: 0;\n svg {\n color: black;\n }\n input {\n background-color: ",";\n border: 0;\n ::placeholder {\n color: black;\n }\n }\n"],["\n border: 0;\n svg {\n color: black;\n }\n input {\n background-color: ",";\n border: 0;\n ::placeholder {\n color: black;\n }\n }\n"])),t.theme.gray100),k=u.default.nav(c||(c=e.__makeTemplateObject(["\n border-right: ",";\n width: ",";\n box-sizing: border-box;\n display: grid;\n grid-template-rows: 1fr calc(39px + "," * 2);\n height: inherit;\n background: ",";\n"],["\n border-right: ",";\n width: ",";\n box-sizing: border-box;\n display: grid;\n grid-template-rows: 1fr calc(39px + "," * 2);\n height: inherit;\n background: ",";\n"])),t.theme.border,t.theme.sidebarWidth,t.theme.space24,t.theme.sidebarColor),y=u.default.div(b||(b=e.__makeTemplateObject(["\n height: ",";\n display: grid;\n grid-template-columns: "," 1fr;\n"],["\n height: ",";\n display: grid;\n grid-template-columns: "," 1fr;\n"])),(function(e){return e.hasHeader?"calc(100vh - ".concat(t.theme.appbarHeight,")"):"100vh"}),t.theme.sidebarWidth),w=u.default.main(m||(m=e.__makeTemplateObject(["\n height: 100vh;\n overflow: hidden;\n"],["\n height: 100vh;\n overflow: hidden;\n"]))),z=u.default.div(p||(p=e.__makeTemplateObject(["\n height: inherit;\n overflow-y: auto;\n padding: "," "," calc(39px + "," * 2);\n box-sizing: border-box;\n"],["\n height: inherit;\n overflow-y: auto;\n padding: "," "," calc(39px + "," * 2);\n box-sizing: border-box;\n"])),t.theme.space24,t.theme.space24,t.theme.space24),O=u.default.header(g||(g=e.__makeTemplateObject(["\n background: ",";\n box-shadow: ",";\n border-bottom: ",";\n height: ",";\n z-index: ",";\n position: sticky;\n top: 0;\n box-sizing: border-box;\n display: flex;\n"],["\n background: ",";\n box-shadow: ",";\n border-bottom: ",";\n height: ",";\n z-index: ",";\n position: sticky;\n top: 0;\n box-sizing: border-box;\n display: flex;\n"])),t.theme.headerColor,t.theme.v3ShadowBase,t.theme.border,t.theme.appbarHeight,t.theme.appbarElevation);exports.Layout=function(r){var t=r.content,i=r.footer,o=r.sidebar,a=r.logoSidebar,d=r.searchInput,h=r.headerContent;return n.jsxs(w,{children:[!!h&&n.jsx(O,{children:h}),n.jsxs(y,e.__assign({hasHeader:!!h},{children:[n.jsxs(k,{children:[n.jsxs(f,{children:[!!a&&n.jsx(v,{children:a}),!!d&&n.jsx(j,{children:n.jsx(_,{value:d.value,onChange:d.onChange})}),o]}),n.jsx(x,{children:i})]}),n.jsx(z,{children:t})]}))]})};
1
+ "use strict";var e=require("../../_tslib-fe391a2e.js"),n=require("react/jsx-runtime"),r=require("../input/SearchInput.js"),t=require("../../styles/constants/theme.js"),i=require("styled-components");function o(e){return e&&e.__esModule?e:{default:e}}require("./NavigationGroup.js"),require("../../icons/SearchIcon.js"),require("react"),require("../../icons/icon-base/_IconBase.js"),require("../collapse/Collapse.js");var a,d,h,l,s,c,b,m,p,g,u=o(i),x=u.default.div(a||(a=e.__makeTemplateObject(["\n box-sizing: border-box;\n width: ",";\n"],["\n box-sizing: border-box;\n width: ",";\n"])),t.theme.sidebarWidth),f=u.default.div(d||(d=e.__makeTemplateObject(["\n padding: ",";\n box-sizing: border-box;\n overflow-y: auto;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n"],["\n padding: ",";\n box-sizing: border-box;\n overflow-y: auto;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n"])),t.theme.space24),j=u.default.div(h||(h=e.__makeTemplateObject(["\n margin-bottom: ",";\n"],["\n margin-bottom: ",";\n"])),t.theme.space40),v=u.default.div(l||(l=e.__makeTemplateObject(["\n margin-bottom: ",";\n"],["\n margin-bottom: ",";\n"])),t.theme.space24),_=u.default(r.SearchInput)(s||(s=e.__makeTemplateObject(["\n border: 0;\n svg {\n color: black;\n }\n input {\n background-color: ",";\n border: 0;\n ::placeholder {\n color: black;\n }\n }\n"],["\n border: 0;\n svg {\n color: black;\n }\n input {\n background-color: ",";\n border: 0;\n ::placeholder {\n color: black;\n }\n }\n"])),t.theme.gray100),k=u.default.nav(c||(c=e.__makeTemplateObject(["\n border-right: ",";\n width: ",";\n box-sizing: border-box;\n display: grid;\n grid-template-rows: 1fr calc(39px + "," * 2);\n height: inherit;\n background: ",";\n"],["\n border-right: ",";\n width: ",";\n box-sizing: border-box;\n display: grid;\n grid-template-rows: 1fr calc(39px + "," * 2);\n height: inherit;\n background: ",";\n"])),t.theme.border,t.theme.sidebarWidth,t.theme.space24,t.theme.sidebarColor),y=u.default.div(b||(b=e.__makeTemplateObject(["\n height: ",";\n display: grid;\n grid-template-columns: "," 1fr;\n"],["\n height: ",";\n display: grid;\n grid-template-columns: "," 1fr;\n"])),(function(e){return e.hasHeader?"calc(100vh - ".concat(t.theme.appbarHeight,")"):"100vh"}),t.theme.sidebarWidth),w=u.default.main(m||(m=e.__makeTemplateObject(["\n height: 100vh;\n overflow: hidden;\n"],["\n height: 100vh;\n overflow: hidden;\n"]))),z=u.default.div(p||(p=e.__makeTemplateObject(["\n height: inherit;\n overflow-y: auto;\n padding: "," "," calc(39px + "," * 2);\n box-sizing: border-box;\n"],["\n height: inherit;\n overflow-y: auto;\n padding: "," "," calc(39px + "," * 2);\n box-sizing: border-box;\n"])),t.theme.space24,t.theme.space24,t.theme.space24),q=u.default.header(g||(g=e.__makeTemplateObject(["\n background: ",";\n box-shadow: ",";\n border-bottom: ",";\n height: ",";\n z-index: ",";\n position: sticky;\n top: 0;\n box-sizing: border-box;\n display: flex;\n"],["\n background: ",";\n box-shadow: ",";\n border-bottom: ",";\n height: ",";\n z-index: ",";\n position: sticky;\n top: 0;\n box-sizing: border-box;\n display: flex;\n"])),t.theme.headerColor,t.theme.v3ShadowBase,t.theme.border,t.theme.appbarHeight,t.theme.appbarElevation);exports.Layout=function(r){var t=r.content,i=r.footer,o=r.sidebar,a=r.logoSidebar,d=r.searchInput,h=r.headerContent;return n.jsxs(w,{children:[!!h&&n.jsx(q,{children:h}),n.jsxs(y,e.__assign({hasHeader:!!h},{children:[n.jsxs(k,{children:[n.jsxs(f,{children:[!!a&&n.jsx(v,{children:a}),!!d&&n.jsx(j,{children:n.jsx(_,{value:d.value,onChange:d.onChange})}),o]}),n.jsx(x,{children:i})]}),n.jsx(z,{children:t})]}))]})};
@@ -1,11 +1,11 @@
1
- import { ReactElement, ReactNode } from 'react';
2
- export declare type NavigationItemProps = {
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ export type NavigationItemProps = {
3
3
  content: ReactNode;
4
4
  className?: string;
5
5
  icon?: ReactNode;
6
6
  isActive?: boolean;
7
7
  };
8
- export declare type NavigationGroupProps = {
8
+ export type NavigationGroupProps = {
9
9
  /** **NOTE**: Should be `NavigationItem` component in order to have proper styling. If you want to use `href`, WRAP the `anchor` tag outside of the `NavigationItem` component. */
10
10
  content: ReactElement<NavigationItemProps> | HTMLAnchorElement;
11
11
  className?: string;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { IAminoTheme } from "../../types/IAminoTheme";
3
- export declare type LightBoxProps = {
1
+ import type { ReactNode } from 'react';
2
+ import type { IAminoTheme } from "../../types/IAminoTheme";
3
+ export type LightBoxProps = {
4
4
  className?: string;
5
5
  children: ReactNode;
6
6
  onClose: () => void;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { ListProps } from './List';
3
- export declare type CollapsibleListProps = ListProps & {
1
+ import { type ReactNode } from 'react';
2
+ import { type ListProps } from './List';
3
+ export type CollapsibleListProps = ListProps & {
4
4
  icon?: ReactNode;
5
5
  title: ReactNode;
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type ListProps = {
1
+ import type { ReactNode } from 'react';
2
+ export type ListProps = {
3
3
  className?: string;
4
4
  withBorder?: boolean;
5
5
  withNegativeMargin?: boolean;
@@ -1,5 +1,5 @@
1
- import { MouseEventHandler, ReactNode } from 'react';
2
- export declare type Props = {
1
+ import { type MouseEventHandler, type ReactNode } from 'react';
2
+ export type Props = {
3
3
  className?: string;
4
4
  disabled?: boolean;
5
5
  selected?: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- export declare type MdxAnchorProps = {
1
+ import { type ReactNode } from 'react';
2
+ export type MdxAnchorProps = {
3
3
  className?: string;
4
4
  children?: ReactNode;
5
5
  href?: string;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { BadgeProps } from "../badge/Badge";
2
+ import { type BadgeProps } from "../badge/Badge";
3
3
  export declare const MdxBadge: (props: BadgeProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { BannerProps } from "../banner/Banner";
3
- declare type Props = Omit<BannerProps, 'title'> & {
2
+ import { type BannerProps } from "../banner/Banner";
3
+ type Props = Omit<BannerProps, 'title'> & {
4
4
  xtitle?: BannerProps['title'];
5
5
  };
6
6
  export declare const MdxBanner: ({ xtitle, ...props }: Props) => JSX.Element;