@zonos/amino 5.4.35 → 5.5.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 (442) hide show
  1. package/CountryMultiSelectExpandedOption-920c1ec2.js +1 -0
  2. package/{DateControlsWrapper-d09e2e06.js → DateControlsWrapper-4900e6bb.js} +1 -1
  3. package/all.d.ts +1 -4
  4. package/components/avatar/AvatarBase.js +1 -1
  5. package/components/avatar/ImageAvatar.js +1 -1
  6. package/components/avatar/UserAvatar.js +1 -1
  7. package/components/badge/Badge.js +1 -1
  8. package/components/banner/Banner.d.ts +2 -2
  9. package/components/banner/Banner.js +1 -1
  10. package/components/button/Button.d.ts +1 -1
  11. package/components/button/Button.js +1 -1
  12. package/components/button/ButtonIcon.js +1 -1
  13. package/components/button/MenuButton.js +1 -1
  14. package/components/button/RippleGroup.d.ts +1 -1
  15. package/components/button/RippleGroup.js +1 -1
  16. package/components/button/_Ripple.d.ts +2 -2
  17. package/components/button/_Ripple.js +1 -1
  18. package/components/button/button-group/ButtonGroup.js +1 -1
  19. package/components/card/Card.js +1 -1
  20. package/components/checkbox/Checkbox.d.ts +1 -1
  21. package/components/checkbox/Checkbox.js +1 -1
  22. package/components/connection-map/ConnectionMap.js +1 -1
  23. package/components/country-multi-select/CountryMultiSelectExpanded.d.ts +2 -16
  24. package/components/country-multi-select/CountryMultiSelectExpanded.js +1 -1
  25. package/components/country-multi-select/CountryMultiSelectExpandedOption.d.ts +23 -0
  26. package/components/country-multi-select/CountryMultiSelectExpandedOption.js +1 -0
  27. package/components/cover-sheet/CoverSheet.js +1 -1
  28. package/components/cover-sheet/CoverSheetActions.js +1 -1
  29. package/components/currency/Currency.js +1 -1
  30. package/components/currency/DualCurrency.js +1 -1
  31. package/components/danger-zone/DangerZone.js +1 -1
  32. package/components/dialog/BaseDialog.d.ts +1 -1
  33. package/components/dialog/BaseDialog.js +1 -1
  34. package/components/dialog/Dialog.d.ts +3 -3
  35. package/components/dialog/Dialog.js +1 -1
  36. package/components/dialog/DismissableDialog.d.ts +2 -2
  37. package/components/dialog/DismissableDialog.js +1 -1
  38. package/components/dialog/alert/AlertContext.js +1 -1
  39. package/components/dialog/alert/AlertDialog.d.ts +1 -1
  40. package/components/dialog/alert/AlertDialog.js +1 -1
  41. package/components/dialog/alert/useAlert.js +1 -1
  42. package/components/dialog/announcement/AnnouncementDialog.d.ts +1 -1
  43. package/components/dialog/announcement/AnnouncementDialog.js +1 -1
  44. package/components/dialog/confirm/ConfirmContext.js +1 -1
  45. package/components/dialog/confirm/ConfirmDialog.d.ts +2 -2
  46. package/components/dialog/confirm/ConfirmDialog.js +1 -1
  47. package/components/dialog/confirm/useConfirm.js +1 -1
  48. package/components/drop-zone/DropZone.d.ts +2 -2
  49. package/components/drop-zone/DropZone.js +1 -1
  50. package/components/file-upload/FileUpload.d.ts +1 -1
  51. package/components/file-upload/FileUpload.js +1 -1
  52. package/components/filter/FilterWrapper.d.ts +2 -2
  53. package/components/filter/FilterWrapper.js +1 -1
  54. package/components/filter/filter-amount/FilterAmount.js +1 -1
  55. package/components/filter/filter-amount/filterAmountReducer.js +1 -1
  56. package/components/filter/filter-date/DateControls.d.ts +2 -2
  57. package/components/filter/filter-date/DateControls.js +1 -1
  58. package/components/filter/filter-date/DateControlsWrapper.d.ts +1 -1
  59. package/components/filter/filter-date/DateControlsWrapper.js +1 -1
  60. package/components/filter/filter-date/FilterDate.js +1 -1
  61. package/components/filter/filter-date/_DateControls/_IsAfter.js +1 -1
  62. package/components/filter/filter-date/_DateControls/_IsBefore.js +1 -1
  63. package/components/filter/filter-date/_DateControls/_IsBeforeOrOn.js +1 -1
  64. package/components/filter/filter-date/_DateControls/_IsBetween.js +1 -1
  65. package/components/filter/filter-date/_DateControls/_IsEqualTo.js +1 -1
  66. package/components/filter/filter-date/_DateControls/_IsInTheLast.js +1 -1
  67. package/components/filter/filter-date/_DateControls/_IsOnOrAfter.js +1 -1
  68. package/components/filter/filter-date/filterDateReducer.js +1 -1
  69. package/components/filter/filter-multi-select/FilterMultiSelect.d.ts +1 -1
  70. package/components/filter/filter-multi-select/FilterMultiSelect.js +1 -1
  71. package/components/filter/filter-select/FilterSelect.d.ts +3 -3
  72. package/components/filter/filter-select/FilterSelect.js +1 -1
  73. package/components/filter/filter-text/FilterText.d.ts +1 -1
  74. package/components/filter/filter-text/FilterText.js +1 -1
  75. package/components/filter/useFilterWrapper.js +1 -1
  76. package/components/flex/Flex.js +1 -1
  77. package/components/glow/GlowWrapper.js +1 -1
  78. package/components/help-text/HelpText.js +1 -1
  79. package/components/input/Input.js +1 -1
  80. package/components/input/MultiInput.d.ts +2 -2
  81. package/components/input/MultiInput.js +1 -1
  82. package/components/input/input-type/_DateInput.d.ts +1 -1
  83. package/components/input/input-type/_DateInput.js +1 -1
  84. package/components/input/input-type/_FloatLabelInput.d.ts +1 -1
  85. package/components/input/input-type/_FloatLabelInput.js +1 -1
  86. package/components/input/input-type/_NumberInput.d.ts +1 -1
  87. package/components/input/input-type/_NumberInput.js +1 -1
  88. package/components/input/input-type/_PasswordInput.d.ts +1 -1
  89. package/components/input/input-type/_PasswordInput.js +1 -1
  90. package/components/input/input-type/_TimeInput.d.ts +1 -1
  91. package/components/input/input-type/_TimeInput.js +1 -1
  92. package/components/layout/Layout.js +1 -1
  93. package/components/lightbox/LightBox.js +1 -1
  94. package/components/list/CollapsibleList.js +1 -1
  95. package/components/list-item/ListItem.js +1 -1
  96. package/components/nested-data-table/NestedDataTable.d.ts +1 -1
  97. package/components/nested-data-table/NestedDataTable.js +1 -1
  98. package/components/nested-data-table/NestedDataTableHasura.d.ts +2 -2
  99. package/components/nested-data-table/NestedDataTableHasura.js +1 -1
  100. package/components/nested-data-table/_Filter.js +1 -1
  101. package/components/nested-data-table/_TableData.js +1 -1
  102. package/components/pivot-table/PivotTable.d.ts +2 -2
  103. package/components/pivot-table/PivotTable.js +1 -1
  104. package/components/progress-bar/ProgressBar.d.ts +1 -1
  105. package/components/progress-bar/ProgressBar.js +1 -1
  106. package/components/radio/Radio.d.ts +1 -1
  107. package/components/radio/Radio.js +1 -1
  108. package/components/radio/RadioGroup.js +1 -1
  109. package/components/rest-state/RestState.js +1 -1
  110. package/components/rich-card-select/RichCardStateSelect.d.ts +1 -1
  111. package/components/rich-card-select/RichCardStateSelect.js +1 -1
  112. package/components/rich-checkbox/RichCheckbox.js +1 -1
  113. package/components/rich-radio/RichRadio.d.ts +1 -1
  114. package/components/rich-radio/RichRadio.js +1 -1
  115. package/components/rounded-icon/RoundedIcon.js +1 -1
  116. package/components/section/HSection.js +1 -1
  117. package/components/section/VSection.js +1 -1
  118. package/components/section/_SectionHeader.js +1 -1
  119. package/components/section/_SectionSubheader.js +1 -1
  120. package/components/select/CountryMultiSelect.d.ts +1 -1
  121. package/components/select/CountryMultiSelect.js +1 -1
  122. package/components/select/CountrySelect.d.ts +1 -1
  123. package/components/select/CountrySelect.js +1 -1
  124. package/components/select/MultiSelect.js +1 -1
  125. package/components/select/Select.d.ts +9 -9
  126. package/components/select/Select.js +1 -1
  127. package/components/select/_StyledReactSelect.d.ts +1 -1
  128. package/components/select/_StyledReactSelect.js +1 -1
  129. package/components/simple-table/SimpleTable.d.ts +18 -18
  130. package/components/simple-table/SimpleTable.js +1 -1
  131. package/components/skeleton/Skeleton.js +1 -1
  132. package/components/slide-over/SlideOver.js +1 -1
  133. package/components/spinner/Spinner.js +1 -1
  134. package/components/split-panel/SplitPanel.js +1 -1
  135. package/components/stack/HStack.js +1 -1
  136. package/components/stack/Stack.d.ts +1 -1
  137. package/components/stack/Stack.js +1 -1
  138. package/components/stack/VStack.js +1 -1
  139. package/components/switch/Switch.d.ts +1 -1
  140. package/components/switch/Switch.js +1 -1
  141. package/components/table/TableCell.js +1 -1
  142. package/components/table/TableRowCollapse.js +1 -1
  143. package/components/tabs/Tabs.d.ts +1 -1
  144. package/components/tabs/Tabs.js +1 -1
  145. package/components/tag/Tag.d.ts +1 -1
  146. package/components/text/Text.d.ts +1 -1
  147. package/components/text/Text.js +1 -1
  148. package/components/text-avatar/TextAvatar.js +1 -1
  149. package/components/textarea/Textarea.js +1 -1
  150. package/components/theme-select/ThemeSelect.js +1 -1
  151. package/components/thumbnail/Thumbnail.js +1 -1
  152. package/components/toast/Toast.d.ts +2 -2
  153. package/components/toast/Toast.js +1 -1
  154. package/components/toast/ToastContext.d.ts +1 -1
  155. package/components/toast/ToastContext.js +1 -1
  156. package/components/toggle/Toggle.d.ts +1 -1
  157. package/components/toggle/Toggle.js +1 -1
  158. package/components/tooltip/Tooltip.d.ts +1 -1
  159. package/components/tooltip/Tooltip.js +1 -1
  160. package/icons/AIDuotoneIcon.d.ts +1 -1
  161. package/icons/ArrowSwapDuotoneIcon.d.ts +1 -1
  162. package/icons/BagDuotoneIcon.d.ts +1 -1
  163. package/icons/BankDuotoneIcon.d.ts +1 -1
  164. package/icons/BellDuotoneIcon.d.ts +1 -1
  165. package/icons/BellOffDuotoneIcon.d.ts +1 -1
  166. package/icons/BookDuotoneIcon.d.ts +1 -1
  167. package/icons/BookmarkAddDuotoneIcon.d.ts +1 -1
  168. package/icons/BookmarkCheckDuotoneIcon.d.ts +1 -1
  169. package/icons/BookmarkOffDuotoneIcon.d.ts +1 -1
  170. package/icons/BookmarkRemoveDuotoneIcon.d.ts +1 -1
  171. package/icons/BookmarkSubtractDuotoneIcon.d.ts +1 -1
  172. package/icons/BoxesDuotoneIcon.d.ts +1 -1
  173. package/icons/BufferDuotoneIcon.d.ts +1 -1
  174. package/icons/CalculatorDuotoneIcon.d.ts +1 -1
  175. package/icons/CalendarDuotoneIcon.d.ts +1 -1
  176. package/icons/CardDuotoneIcon.d.ts +1 -1
  177. package/icons/CartDuotoneIcon.d.ts +1 -1
  178. package/icons/ChartDuotoneIcon.d.ts +1 -1
  179. package/icons/CheckCircleDuotoneIcon.d.ts +1 -1
  180. package/icons/CheckoutDuotoneIcon.d.ts +1 -1
  181. package/icons/ChevronDownCircleDuotoneIcon.d.ts +1 -1
  182. package/icons/ChevronLeftCircleDuotoneIcon.d.ts +1 -1
  183. package/icons/ChevronRightCircleDuotoneIcon.d.ts +1 -1
  184. package/icons/ClassifyDuotoneIcon.d.ts +1 -1
  185. package/icons/ClearDuotoneIcon.d.ts +1 -1
  186. package/icons/ClockDuotoneIcon.d.ts +1 -1
  187. package/icons/CodeCircleDuotoneIcon.d.ts +1 -1
  188. package/icons/CodeDuotoneIcon.d.ts +1 -1
  189. package/icons/CoinsDuotoneIcon.d.ts +1 -1
  190. package/icons/CollectDuotoneIcon.d.ts +1 -1
  191. package/icons/CommentDuotoneIcon.d.ts +1 -1
  192. package/icons/CopilotDuotoneIcon.d.ts +1 -1
  193. package/icons/CopyDuotoneIcon.d.ts +1 -1
  194. package/icons/CubeDuotoneIcon.d.ts +1 -1
  195. package/icons/DashboardDuotoneIcon.d.ts +1 -1
  196. package/icons/DislikeDuotoneIcon.d.ts +1 -1
  197. package/icons/DocsDuotoneIcon.d.ts +1 -1
  198. package/icons/DollarDuotoneIcon.d.ts +1 -1
  199. package/icons/DoubleChevronDuotoneIcon.d.ts +1 -1
  200. package/icons/DragDuotoneIcon.d.ts +1 -1
  201. package/icons/EditDuotoneIcon.d.ts +1 -1
  202. package/icons/ExclamationMarkDuotoneIcon.d.ts +1 -1
  203. package/icons/ExportDuotoneIcon.d.ts +1 -1
  204. package/icons/ExternalDuotoneIcon.d.ts +1 -1
  205. package/icons/EyeDuotoneIcon.d.ts +1 -1
  206. package/icons/EyeOffDuotoneIcon.d.ts +1 -1
  207. package/icons/FileDuotoneIcon.d.ts +1 -1
  208. package/icons/FileUploadDuotoneIcon.d.ts +1 -1
  209. package/icons/FilterDuotoneIcon.d.ts +1 -1
  210. package/icons/FolderListDuotoneIcon.d.ts +1 -1
  211. package/icons/FolderUploadDuotoneIcon.d.ts +1 -1
  212. package/icons/FusionDuotoneIcon.d.ts +1 -1
  213. package/icons/GlobeDuotoneIcon.d.ts +1 -1
  214. package/icons/GridDuotoneIcon.d.ts +1 -1
  215. package/icons/HelloDuotoneIcon.d.ts +1 -1
  216. package/icons/HelpDuotoneIcon.d.ts +1 -1
  217. package/icons/HomeDuotoneIcon.d.ts +1 -1
  218. package/icons/ImageDuotoneIcon.d.ts +1 -1
  219. package/icons/ImportDuotoneIcon.d.ts +1 -1
  220. package/icons/InfoDuotoneIcon.d.ts +1 -1
  221. package/icons/IntegrationDuotoneIcon.d.ts +1 -1
  222. package/icons/LandedCostDuotoneIcon.d.ts +1 -1
  223. package/icons/LaptopDuotoneIcon.d.ts +1 -1
  224. package/icons/LeftPanelClosedDuotoneIcon.d.ts +1 -1
  225. package/icons/LeftPanelOpenDuotoneIcon.d.ts +1 -1
  226. package/icons/LightDuotoneIcon.d.ts +1 -1
  227. package/icons/LikeDuotoneIcon.d.ts +1 -1
  228. package/icons/LineDownDuotoneIcon.d.ts +1 -1
  229. package/icons/LineUpDuotoneIcon.d.ts +1 -1
  230. package/icons/LinkDuotoneIcon.d.ts +1 -1
  231. package/icons/LocationDuotoneIcon.d.ts +1 -1
  232. package/icons/LockDuotoneIcon.d.ts +1 -1
  233. package/icons/LoginDuotoneIcon.d.ts +1 -1
  234. package/icons/LogoutDuotoneIcon.d.ts +1 -1
  235. package/icons/MailDuotoneIcon.d.ts +1 -1
  236. package/icons/MaximizeDuotoneIcon.d.ts +1 -1
  237. package/icons/MenuDuotoneIcon.d.ts +1 -1
  238. package/icons/MinimizeDuotoneIcon.d.ts +1 -1
  239. package/icons/MinusCircleDuotoneIcon.d.ts +1 -1
  240. package/icons/MobileDuotoneIcon.d.ts +1 -1
  241. package/icons/MoneyDuotoneIcon.d.ts +1 -1
  242. package/icons/MonitorDuotoneIcon.d.ts +1 -1
  243. package/icons/PaletteDuotoneIcon.d.ts +1 -1
  244. package/icons/PauseCircleDuotoneIcon.d.ts +1 -1
  245. package/icons/PenDuotoneIcon.d.ts +1 -1
  246. package/icons/PercentBadgeDuotoneIcon.d.ts +1 -1
  247. package/icons/PercentDuotoneIcon.d.ts +1 -1
  248. package/icons/PlaneDuotoneIcon.d.ts +1 -1
  249. package/icons/PlayCircleDuotoneIcon.d.ts +1 -1
  250. package/icons/PlusCircleDuotoneIcon.d.ts +1 -1
  251. package/icons/PrepayDuotoneIcon.d.ts +1 -1
  252. package/icons/PrinterDuotoneIcon.d.ts +1 -1
  253. package/icons/RateDuotoneIcon.d.ts +1 -1
  254. package/icons/ReceiptDuotoneIcon.d.ts +1 -1
  255. package/icons/RefreshDuotoneIcon.d.ts +1 -1
  256. package/icons/RemoveCircleDuotoneIcon.d.ts +1 -1
  257. package/icons/RestrictDuotoneIcon.d.ts +1 -1
  258. package/icons/RightPanelClosedDuotoneIcon.d.ts +1 -1
  259. package/icons/RightPanelOpenDuotoneIcon.d.ts +1 -1
  260. package/icons/RocketDuotoneIcon.d.ts +1 -1
  261. package/icons/ScanDuotoneIcon.d.ts +1 -1
  262. package/icons/ScreenDuotoneIcon.d.ts +1 -1
  263. package/icons/SearchDuotoneIcon.d.ts +1 -1
  264. package/icons/SendDuotoneIcon.d.ts +1 -1
  265. package/icons/SettingsDuotoneIcon.d.ts +1 -1
  266. package/icons/ShoppingListDuotoneIcon.d.ts +1 -1
  267. package/icons/ShoppingTagDuotoneIcon.d.ts +1 -1
  268. package/icons/StarOffDuotoneIcon.d.ts +1 -1
  269. package/icons/StarsDuotoneIcon.d.ts +1 -1
  270. package/icons/SunnyDuotoneIcon.d.ts +1 -1
  271. package/icons/TagDuotoneIcon.d.ts +1 -1
  272. package/icons/TaxDuotoneIcon.d.ts +1 -1
  273. package/icons/TotalLandedCostDuotoneIcon.d.ts +1 -1
  274. package/icons/TrashCanDuotoneIcon.d.ts +1 -1
  275. package/icons/TruckDuotoneIcon.d.ts +1 -1
  276. package/icons/UFODuotoneIcon.d.ts +1 -1
  277. package/icons/UserDuotoneIcon.d.ts +1 -1
  278. package/icons/WarningDuotoneIcon.d.ts +1 -1
  279. package/icons/custom/products/CheckoutColorIcon.js +1 -1
  280. package/icons/custom/products/ClassifyColorIcon.js +1 -1
  281. package/icons/custom/products/ClearColorIcon.js +1 -1
  282. package/icons/custom/products/CollectColorIcon.js +1 -1
  283. package/icons/custom/products/CounterCompanionColorIcon.js +1 -1
  284. package/icons/custom/products/DashboardColorIcon.js +1 -1
  285. package/icons/custom/products/HelloColorIcon.js +1 -1
  286. package/icons/custom/products/InclusivePricingColorIcon.js +1 -1
  287. package/icons/custom/products/LandedCostColorIcon.js +1 -1
  288. package/icons/custom/products/PrepayColorIcon.js +1 -1
  289. package/icons/custom/products/RateColorIcon.js +1 -1
  290. package/icons/custom/products/RestrictColorIcon.js +1 -1
  291. package/icons/custom/products/ScreenColorIcon.js +1 -1
  292. package/icons/custom/products/TaxColorIcon.js +1 -1
  293. package/icons/custom/theme/ThemeDarkIcon.js +1 -1
  294. package/icons/custom/theme/ThemeLightIcon.js +1 -1
  295. package/icons/flag-icon/FlagIcon.d.ts +1 -1
  296. package/icons/flag-icon/FlagIcon.js +1 -1
  297. package/icons/flag-icon/_FlagIconBase.js +1 -1
  298. package/icons/flag-icon/useStableUniqueId.js +1 -1
  299. package/icons/flags/AF.js +1 -1
  300. package/icons/flags/AG.js +1 -1
  301. package/icons/flags/AL.js +1 -1
  302. package/icons/flags/AR.js +1 -1
  303. package/icons/flags/AS.js +1 -1
  304. package/icons/flags/AX.js +1 -1
  305. package/icons/flags/BA.js +1 -1
  306. package/icons/flags/BB.js +1 -1
  307. package/icons/flags/BH.js +1 -1
  308. package/icons/flags/BI.js +1 -1
  309. package/icons/flags/BS.js +1 -1
  310. package/icons/flags/BV.js +1 -1
  311. package/icons/flags/CF.js +1 -1
  312. package/icons/flags/CG.js +1 -1
  313. package/icons/flags/CL.js +1 -1
  314. package/icons/flags/CN.js +1 -1
  315. package/icons/flags/CU.js +1 -1
  316. package/icons/flags/CV.js +1 -1
  317. package/icons/flags/CW.js +1 -1
  318. package/icons/flags/CX.js +1 -1
  319. package/icons/flags/CY.js +1 -1
  320. package/icons/flags/CZ.js +1 -1
  321. package/icons/flags/DJ.js +1 -1
  322. package/icons/flags/DO.js +1 -1
  323. package/icons/flags/EH.js +1 -1
  324. package/icons/flags/ET.js +1 -1
  325. package/icons/flags/FM.js +1 -1
  326. package/icons/flags/FO.js +1 -1
  327. package/icons/flags/GB.js +1 -1
  328. package/icons/flags/GD.js +1 -1
  329. package/icons/flags/GG.js +1 -1
  330. package/icons/flags/GI.js +1 -1
  331. package/icons/flags/GM.js +1 -1
  332. package/icons/flags/GR.js +1 -1
  333. package/icons/flags/HK.js +1 -1
  334. package/icons/flags/HN.js +1 -1
  335. package/icons/flags/IL.js +1 -1
  336. package/icons/flags/IN.js +1 -1
  337. package/icons/flags/IO.js +1 -1
  338. package/icons/flags/IS.js +1 -1
  339. package/icons/flags/JE.js +1 -1
  340. package/icons/flags/JO.js +1 -1
  341. package/icons/flags/JP.js +1 -1
  342. package/icons/flags/KE.js +1 -1
  343. package/icons/flags/KG.js +1 -1
  344. package/icons/flags/KI.js +1 -1
  345. package/icons/flags/KM.js +1 -1
  346. package/icons/flags/KN.js +1 -1
  347. package/icons/flags/KP.js +1 -1
  348. package/icons/flags/KR.js +1 -1
  349. package/icons/flags/KW.js +1 -1
  350. package/icons/flags/LA.js +1 -1
  351. package/icons/flags/LB.js +1 -1
  352. package/icons/flags/LR.js +1 -1
  353. package/icons/flags/LY.js +1 -1
  354. package/icons/flags/MO.js +1 -1
  355. package/icons/flags/MP.js +1 -1
  356. package/icons/flags/MR.js +1 -1
  357. package/icons/flags/MY.js +1 -1
  358. package/icons/flags/NA.js +1 -1
  359. package/icons/flags/NP.js +1 -1
  360. package/icons/flags/NR.js +1 -1
  361. package/icons/flags/NU.js +1 -1
  362. package/icons/flags/NZ.js +1 -1
  363. package/icons/flags/OM.js +1 -1
  364. package/icons/flags/PA.js +1 -1
  365. package/icons/flags/PF.js +1 -1
  366. package/icons/flags/PK.js +1 -1
  367. package/icons/flags/PR.js +1 -1
  368. package/icons/flags/PS.js +1 -1
  369. package/icons/flags/PW.js +1 -1
  370. package/icons/flags/RW.js +1 -1
  371. package/icons/flags/SA.js +1 -1
  372. package/icons/flags/SB.js +1 -1
  373. package/icons/flags/SC.js +1 -1
  374. package/icons/flags/SD.js +1 -1
  375. package/icons/flags/SG.js +1 -1
  376. package/icons/flags/SI.js +1 -1
  377. package/icons/flags/SO.js +1 -1
  378. package/icons/flags/ST.js +1 -1
  379. package/icons/flags/SZ.js +1 -1
  380. package/icons/flags/TF.js +1 -1
  381. package/icons/flags/TG.js +1 -1
  382. package/icons/flags/TJ.js +1 -1
  383. package/icons/flags/TL.js +1 -1
  384. package/icons/flags/TN.js +1 -1
  385. package/icons/flags/TV.js +1 -1
  386. package/icons/flags/TW.js +1 -1
  387. package/icons/flags/TZ.js +1 -1
  388. package/icons/flags/UM.js +1 -1
  389. package/icons/flags/UY.js +1 -1
  390. package/icons/flags/UZ.js +1 -1
  391. package/icons/flags/VE.js +1 -1
  392. package/icons/flags/VI.js +1 -1
  393. package/icons/flags/VN.js +1 -1
  394. package/icons/flags/ZA.js +1 -1
  395. package/icons/flags/ZW.js +1 -1
  396. package/icons/icon-base/_StateIconBase.d.ts +1 -1
  397. package/package.json +3 -9
  398. package/theme.css +2 -1
  399. package/tslib.es6-5672428a.js +1 -0
  400. package/utils/_extractQueryParams.js +1 -1
  401. package/utils/addIndex.js +1 -1
  402. package/utils/flattenRow.js +1 -1
  403. package/utils/formatCurrency.js +1 -1
  404. package/utils/getAminoColor.d.ts +1 -1
  405. package/utils/getFuzzySearch.d.ts +1 -1
  406. package/utils/getIsInternalLink.js +1 -1
  407. package/utils/getProductDetails.js +1 -1
  408. package/utils/handleFetch.d.ts +10 -6
  409. package/utils/handleFetch.js +1 -1
  410. package/utils/hooks/action-pivot-table/useHasuraGqlPagination.js +1 -1
  411. package/utils/hooks/useAminoTheme.d.ts +1 -1
  412. package/utils/hooks/useCountryOptions.d.ts +2 -2
  413. package/utils/hooks/useCountryOptions.js +1 -1
  414. package/utils/hooks/useDropdown.js +1 -1
  415. package/utils/hooks/useHeightAdjustTextarea.js +1 -1
  416. package/utils/hooks/useNotify.d.ts +1 -1
  417. package/utils/hooks/useNotify.js +1 -1
  418. package/utils/hooks/usePrevious.d.ts +1 -1
  419. package/utils/hooks/useStateUrl.js +1 -1
  420. package/utils/hooks/useStorage.d.ts +3 -3
  421. package/utils/hooks/useSwrt.d.ts +9 -1
  422. package/utils/hooks/useSwrt.js +1 -1
  423. package/utils/jsonParse.d.ts +1 -1
  424. package/utils/prepCountryOptions.js +1 -1
  425. package/utils/prepRegionCountryOptions.js +1 -1
  426. package/utils/setupNestedData.js +1 -1
  427. package/utils/storage.d.ts +4 -4
  428. package/utils/useCopyText.js +1 -1
  429. package/_tslib-bd4862e8.js +0 -1
  430. package/components/slider/Slider.d.ts +0 -21
  431. package/components/slider/Slider.js +0 -1
  432. package/components/sortable-list/SortableList.d.ts +0 -10
  433. package/components/sortable-list/SortableList.js +0 -1
  434. package/components/sortable-list/SortableListDeps.d.ts +0 -2
  435. package/components/sortable-list/SortableListDeps.js +0 -1
  436. package/components/sortable-list/SortableListItem.d.ts +0 -10
  437. package/components/sortable-list/SortableListItem.js +0 -1
  438. package/types/FetcherError.d.ts +0 -5
  439. package/types/JsonError.d.ts +0 -5
  440. package/types/NoInfer.d.ts +0 -5
  441. package/types/SwrtParams.d.ts +0 -4
  442. package/types/index.d.ts +0 -9
@@ -1 +1 @@
1
- "use strict";var o=require("../../_tslib-bd4862e8.js"),a=require("react"),n=require("react/jsx-runtime"),e=require("clsx"),t=require("framer-motion"),i=require("../button/Button.js"),s=require("../flex/Flex.js"),r=require("../../icons/CheckCircleIcon.js"),m=require("../../icons/InfoIcon.js"),_=require("../../icons/RemoveCircleIcon.js"),l=require("../../icons/RemoveIcon.js"),u=require("../../icons/WarningIcon.js"),c=require("../../style-inject.es-d4ddeae4.js");function d(o){return o&&o.__esModule?o:{default:o}}require("../button/RippleGroup.js"),require("uuid"),require("../button/_Ripple.js"),require("../../utils/getAminoColor.js"),require("../../styles/constants/theme.js"),require("../button/useRipple.js"),require("../spinner/Spinner.js"),require("../../utils/getTestId.js"),require("../../icons/icon-base/_IconBase.js");var T=d(e),g="Amino_Toast-module__aminoToast--Q7M1O",A="Amino_Toast-module__toastContent--C37MQ",f="Amino_Toast-module__toastIcon--Zo6w6",v="Amino_Toast-module__persistentToast--A93HB",h="Amino_Toast-module__dismissButton--HfPB9",M="Amino_Toast-module__aminoSuccessToast--M03g9",Q="Amino_Toast-module__aminoErrorToast--8Xban",j="Amino_Toast-module__aminoWarningToast--rFQsd",p="Amino_Toast-module__aminoInfoToast--HSKJi";c.styleInject(".Amino_Toast-module__aminoToast--Q7M1O{background:linear-gradient(90deg,#94969e66 0,#94969e00 50%),var(--amino-gray-1000);border-radius:var(--amino-radius-12);box-shadow:var(--amino-v3-shadow-large);color:var(--amino-gray-0);flex:1;font-weight:500;line-height:24px;padding:16px;-webkit-user-select:none;user-select:none;z-index:999999}.Amino_Toast-module__aminoToast--Q7M1O .Amino_Toast-module__toastContent--C37MQ{align-self:center}.Amino_Toast-module__aminoToast--Q7M1O .Amino_Toast-module__toastContent--C37MQ .Amino_Toast-module__toastIcon--Zo6w6{align-self:flex-start}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__persistentToast--A93HB{cursor:pointer}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__persistentToast--A93HB:hover{transform:scale(.95)}.Amino_Toast-module__aminoToast--Q7M1O .Amino_Toast-module__dismissButton--HfPB9{height:24px}.Amino_Toast-module__aminoToast--Q7M1O svg{color:var(--amino-gray-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O{background:linear-gradient(90deg,#94969e3d 0,#94969e00 50%),var(--amino-gray-50);color:var(--amino-gray-1000)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O svg{color:var(--amino-gray-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9{background:linear-gradient(90deg,#56c76f66 0,#56c76f00 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9 svg{color:var(--amino-green-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9{background:linear-gradient(90deg,#56c76f3d 0,#56c76f00 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9 svg{color:var(--amino-green-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban{background:linear-gradient(90deg,#f95c6766 0,#f95c6700 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban svg{color:var(--amino-red-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban{background:linear-gradient(90deg,#f95c673d 0,#f95c6700 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban svg{color:var(--amino-red-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd{background:linear-gradient(90deg,#f88c5366 0,#f88c5300 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd svg{color:var(--amino-orange-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd{background:linear-gradient(90deg,#f88c533d 0,#f88c5300 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd svg{color:var(--amino-orange-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi{background:linear-gradient(90deg,#5f92f666 0,#5f92f600 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi svg{color:var(--amino-blue-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi{background:linear-gradient(90deg,#5f92f63d 0,#5f92f600 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi svg{color:var(--amino-blue-600)}");exports.Toast=function(e){var c=e.actions,d=e.children,x=e.direction,b=e.intent,y=e.isPersistent,I=e.onDismiss,O=e.style,q=e.toastKey,k=function(){switch(x){case"top":return{opacity:0,translateX:0,translateY:-10};case"bottom":return{opacity:0,translateX:0,translateY:10};case"left":return{opacity:0,translateX:-10,translateY:0};default:return{opacity:0,translateX:10,translateY:0}}},C={animate:{opacity:1,translateX:0,translateY:0},exit:k(),initial:k()},S=function(){switch(b){case"success":return{class:M,icon:n.jsx(r.CheckCircleIcon,{})};case"error":return{class:Q,icon:n.jsx(_.RemoveCircleIcon,{})};case"warning":return{class:j,icon:n.jsx(u.WarningIcon,{})};case"info":return{class:p,icon:n.jsx(m.InfoIcon,{})};default:return{class:g,icon:n.jsx(m.InfoIcon,{})}}}();return a.createElement(t.motion.div,o.__assign({className:T.default(g,S.class,y&&v),layout:!0,style:o.__assign({},O)},C,{key:q}),n.jsxs(s.Flex,{alignItems:"flex-start",gap:12,justifyContent:"space-between",children:[n.jsxs(s.Flex,{alignItems:"center",className:A,gap:12,children:[n.jsx("div",{className:f,children:S.icon}),n.jsx("div",{children:d})]}),n.jsxs(s.Flex,{alignItems:"center",className:"toast-actions",gap:12,children:[c,y&&n.jsx(i.Button,{className:h,icon:n.jsx(l.RemoveIcon,{}),onClick:function(o){return null==I?void 0:I(o)},variant:"plain"})]})]}))};
1
+ "use strict";var o=require("../../tslib.es6-5672428a.js"),a=require("react"),n=require("react/jsx-runtime"),e=require("clsx"),t=require("framer-motion"),i=require("../button/Button.js"),s=require("../flex/Flex.js"),r=require("../../icons/CheckCircleIcon.js"),m=require("../../icons/InfoIcon.js"),_=require("../../icons/RemoveCircleIcon.js"),l=require("../../icons/RemoveIcon.js"),u=require("../../icons/WarningIcon.js"),c=require("../../style-inject.es-d4ddeae4.js");function d(o){return o&&o.__esModule?o:{default:o}}require("../button/RippleGroup.js"),require("uuid"),require("../button/_Ripple.js"),require("../../utils/getAminoColor.js"),require("../../styles/constants/theme.js"),require("../button/useRipple.js"),require("../spinner/Spinner.js"),require("../../utils/getTestId.js"),require("../../icons/icon-base/_IconBase.js");var T=d(e),g="Amino_Toast-module__aminoToast--Q7M1O",A="Amino_Toast-module__toastContent--C37MQ",f="Amino_Toast-module__toastIcon--Zo6w6",v="Amino_Toast-module__persistentToast--A93HB",h="Amino_Toast-module__dismissButton--HfPB9",M="Amino_Toast-module__aminoSuccessToast--M03g9",Q="Amino_Toast-module__aminoErrorToast--8Xban",j="Amino_Toast-module__aminoWarningToast--rFQsd",p="Amino_Toast-module__aminoInfoToast--HSKJi";c.styleInject(".Amino_Toast-module__aminoToast--Q7M1O{background:linear-gradient(90deg,#94969e66 0,#94969e00 50%),var(--amino-gray-1000);border-radius:var(--amino-radius-12);box-shadow:var(--amino-v3-shadow-large);color:var(--amino-gray-0);flex:1;font-weight:500;line-height:24px;padding:16px;-webkit-user-select:none;user-select:none;z-index:999999}.Amino_Toast-module__aminoToast--Q7M1O .Amino_Toast-module__toastContent--C37MQ{align-self:center}.Amino_Toast-module__aminoToast--Q7M1O .Amino_Toast-module__toastContent--C37MQ .Amino_Toast-module__toastIcon--Zo6w6{align-self:flex-start}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__persistentToast--A93HB{cursor:pointer}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__persistentToast--A93HB:hover{transform:scale(.95)}.Amino_Toast-module__aminoToast--Q7M1O .Amino_Toast-module__dismissButton--HfPB9{height:24px}.Amino_Toast-module__aminoToast--Q7M1O svg{color:var(--amino-gray-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O{background:linear-gradient(90deg,#94969e3d 0,#94969e00 50%),var(--amino-gray-50);color:var(--amino-gray-1000)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O svg{color:var(--amino-gray-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9{background:linear-gradient(90deg,#56c76f66 0,#56c76f00 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9 svg{color:var(--amino-green-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9{background:linear-gradient(90deg,#56c76f3d 0,#56c76f00 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoSuccessToast--M03g9 svg{color:var(--amino-green-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban{background:linear-gradient(90deg,#f95c6766 0,#f95c6700 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban svg{color:var(--amino-red-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban{background:linear-gradient(90deg,#f95c673d 0,#f95c6700 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoErrorToast--8Xban svg{color:var(--amino-red-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd{background:linear-gradient(90deg,#f88c5366 0,#f88c5300 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd svg{color:var(--amino-orange-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd{background:linear-gradient(90deg,#f88c533d 0,#f88c5300 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoWarningToast--rFQsd svg{color:var(--amino-orange-600)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi{background:linear-gradient(90deg,#5f92f666 0,#5f92f600 50%),var(--amino-gray-1000)}.Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi svg{color:var(--amino-blue-500)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi{background:linear-gradient(90deg,#5f92f63d 0,#5f92f600 50%),var(--amino-gray-50)}[data-theme=night] .Amino_Toast-module__aminoToast--Q7M1O.Amino_Toast-module__aminoInfoToast--HSKJi svg{color:var(--amino-blue-600)}");exports.Toast=function(e){var c=e.actions,d=e.children,x=e.direction,b=e.intent,y=e.isPersistent,I=e.onDismiss,O=e.style,q=e.toastKey,k=function(){switch(x){case"top":return{opacity:0,translateX:0,translateY:-10};case"bottom":return{opacity:0,translateX:0,translateY:10};case"left":return{opacity:0,translateX:-10,translateY:0};default:return{opacity:0,translateX:10,translateY:0}}},C={animate:{opacity:1,translateX:0,translateY:0},exit:k(),initial:k()},S=function(){switch(b){case"success":return{class:M,icon:n.jsx(r.CheckCircleIcon,{})};case"error":return{class:Q,icon:n.jsx(_.RemoveCircleIcon,{})};case"warning":return{class:j,icon:n.jsx(u.WarningIcon,{})};case"info":return{class:p,icon:n.jsx(m.InfoIcon,{})};default:return{class:g,icon:n.jsx(m.InfoIcon,{})}}}();return a.createElement(t.motion.div,o.__assign({className:T.default(g,S.class,y&&v),layout:!0,style:o.__assign({},O)},C,{key:q}),n.jsxs(s.Flex,{alignItems:"flex-start",gap:12,justifyContent:"space-between",children:[n.jsxs(s.Flex,{alignItems:"center",className:A,gap:12,children:[n.jsx("div",{className:f,children:S.icon}),n.jsx("div",{children:d})]}),n.jsxs(s.Flex,{alignItems:"center",className:"toast-actions",gap:12,children:[c,y&&n.jsx(i.Button,{className:h,icon:n.jsx(l.RemoveIcon,{}),onClick:function(o){return null==I?void 0:I(o)},variant:"plain"})]})]}))};
@@ -6,9 +6,9 @@ export type ToastContextFunctionType = (toast: ReactNode, props?: BaseProps, loc
6
6
  left?: string;
7
7
  }) => void;
8
8
  export declare const ToastContext: import("react").Context<{
9
- notify: ToastContextFunctionType;
10
9
  dismissAllToasts: () => void;
11
10
  dismissToast: (toastId: string) => void;
11
+ notify: ToastContextFunctionType;
12
12
  }>;
13
13
  type Props = {
14
14
  children: ReactNode;
@@ -1 +1 @@
1
- "use strict";var t=require("../../_tslib-bd4862e8.js"),e=require("react/jsx-runtime"),o=require("react"),n=require("clsx"),s=require("framer-motion"),i=require("uuid"),r=require("../button/Button.js"),a=require("../flex/Flex.js"),u=require("./Toast.js"),l=require("../../icons/RemoveIcon.js"),d=require("../../style-inject.es-d4ddeae4.js");function _(t){return t&&t.__esModule?t:{default:t}}require("../button/RippleGroup.js"),require("../button/_Ripple.js"),require("../../utils/getAminoColor.js"),require("../../styles/constants/theme.js"),require("../button/useRipple.js"),require("../spinner/Spinner.js"),require("../../utils/getTestId.js"),require("../../icons/CheckCircleIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../icons/InfoIcon.js"),require("../../icons/RemoveCircleIcon.js"),require("../../icons/WarningIcon.js");var m=_(n),c="Amino_ToastContext-module__toastContainer--v8ymm",p="Amino_ToastContext-module__toastsWrapper--W5SKw",x="Amino_ToastContext-module__toastWrapperAdjust--j5R-v",f="Amino_ToastContext-module__persistentToastsWrapper--5dhd9",T="Amino_ToastContext-module__clearAllButton--r43o-",h="Amino_ToastContext-module__expanded--mPeFN",C="Amino_ToastContext-module__persistentToast--yMpFG";d.styleInject(".Amino_ToastContext-module__toastContainer--v8ymm{bottom:var(--amino-toast-context-bottom);display:flex;flex-direction:column;justify-content:flex-end;left:var(--amino-toast-context-left);pointer-events:none;position:fixed;width:100%;z-index:9999999}.Amino_ToastContext-module__toastsWrapper--W5SKw{align-items:center;display:flex;flex-direction:column;gap:16px;pointer-events:auto}.Amino_ToastContext-module__toastWrapperAdjust--j5R-v{margin-bottom:16px}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9{margin:0 auto;max-height:60vh;max-width:600px;min-height:var(--amino-toast-persistent-height);position:relative;width:100%;z-index:1000}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:hover{cursor:pointer}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__clearAllButton--r43o-{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:#0000000f;border-radius:var(--amino-radius-4);margin-left:auto}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9.Amino_ToastContext-module__expanded--mPeFN{position:relative;width:100%}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9.Amino_ToastContext-module__expanded--mPeFN .Amino_ToastContext-module__clearAllButton--r43o-{margin-bottom:-8px}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__persistentToast--yMpFG{width:100%;z-index:8}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__persistentToast--yMpFG:first-of-type{z-index:10}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__persistentToast--yMpFG:nth-of-type(2){z-index:9}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG{filter:brightness(2);opacity:0;position:absolute;scale:.5;transform-origin:bottom center;transition:all .3s cubic-bezier(.4,0,.2,1)}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG:first-of-type{bottom:0;filter:brightness(1);opacity:1;scale:1}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG:nth-of-type(2){bottom:-8px;filter:brightness(1.5);opacity:1;scale:.9}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG:nth-of-type(3){bottom:-16px;filter:brightness(2);opacity:.8;scale:.8}");var A=o.createContext({dismissAllToasts:function(){},dismissToast:function(t){},notify:function(t,e){}});exports.ToastContext=A,exports.ToastContextProvider=function(n){var d=n.children,_=t.__read(o.useState([]),2),v=_[0],b=_[1],j=t.__read(o.useState([]),2),y=j[0],g=j[1],q=t.__read(o.useState(!1),2),W=q[0],F=q[1],P=t.__read(o.useState({bottom:"",left:""}),2),k=P[0],N=P[1],I=o.useCallback((function(e,o){if(!(null==o?void 0:o.id)||!t.__spreadArray(t.__spreadArray([],t.__read(v),!1),t.__read(y),!1).some((function(t){return t.uuid===o.id}))){var n={isPersistent:null==o?void 0:o.isPersistent,props:o,toast:e,uuid:(null==o?void 0:o.id)||i.v4()};(null==o?void 0:o.isPersistent)?g((function(e){return t.__spreadArray([n],t.__read(e),!1)})):(b((function(e){return t.__spreadArray(t.__spreadArray([],t.__read(e),!1),[n],!1)})),setTimeout((function(){return b((function(t){return t.slice(1)}))}),(null==o?void 0:o.duration)||6e3))}}),[b,g,v,y]),M=o.useCallback((function(t,e,o){o&&N({bottom:o.bottom||"",left:o.left||""}),I(t,e)}),[I]),w=o.useCallback((function(t){b((function(e){return e.filter((function(e){return e.uuid!==t}))})),g((function(e){return e.filter((function(e){return e.uuid!==t}))}))}),[g]),G=o.useCallback((function(){g([]),b([]),F(!1)}),[g,b,F]),R=function(t){var e=t.currentTarget.querySelector(".toast-actions");e&&!e.contains(t.target)&&F((function(t){return!t}))},S=o.useRef(null),B=t.__read(o.useState(0),2),z=B[0],K=B[1],D=y.find(Boolean);o.useEffect((function(){S.current&&K(S.current.offsetHeight)}),[D]);var E=o.useMemo((function(){return{dismissAllToasts:G,dismissToast:w,notify:M}}),[G,w,M]),H=y.length>0;return e.jsxs(A.Provider,{value:E,children:[d,e.jsxs("div",{className:c,style:{"--amino-toast-context-bottom":k.bottom||"40px","--amino-toast-context-left":k.left||"auto","--amino-toast-persistent-height":H&&!W?"".concat(z+40,"px"):"unset"},children:[e.jsx("div",{className:m.default(p,H&&x),children:e.jsx(s.AnimatePresence,{children:v.map((function(t){var o=t.props,n=t.toast,s=t.uuid,i="toast-".concat(n,"-").concat(s);return e.jsx(a.Flex,{children:e.jsx(u.Toast,{direction:null==o?void 0:o.direction,intent:null==o?void 0:o.intent,toastKey:i,children:n})},i)}))})}),e.jsxs("div",{className:m.default(p,f,W&&h),children:[!!y.length&&e.jsx(r.Button,{className:T,icon:e.jsx(l.RemoveIcon,{}),onClick:G,variant:"text",children:"Clear all"}),e.jsx(s.AnimatePresence,{children:y.map((function(o,n){var s=o.props,i=o.toast,r=o.uuid,l="persistent-toast-".concat(i,"-").concat(r),d=0===n||W;return e.jsx("div",{ref:0===n?S:null,className:C,onClick:R,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||R(t)},role:"button",tabIndex:0,children:e.jsx(a.Flex,{fullWidth:!0,children:e.jsx(u.Toast,t.__assign({},s,{actions:d?null==s?void 0:s.actions:void 0,isPersistent:!0,onDismiss:function(t){var e;null===(e=null==s?void 0:s.onDismiss)||void 0===e||e.call(s,t),function(t,e){t.stopPropagation(),w(e)}(t,r)},toastKey:l,children:d?i:""}))})},l)}))})]})]})]})};
1
+ "use strict";var t=require("../../tslib.es6-5672428a.js"),e=require("react/jsx-runtime"),o=require("react"),n=require("clsx"),s=require("framer-motion"),i=require("uuid"),r=require("../button/Button.js"),a=require("../flex/Flex.js"),u=require("./Toast.js"),l=require("../../icons/RemoveIcon.js"),d=require("../../style-inject.es-d4ddeae4.js");function _(t){return t&&t.__esModule?t:{default:t}}require("../button/RippleGroup.js"),require("../button/_Ripple.js"),require("../../utils/getAminoColor.js"),require("../../styles/constants/theme.js"),require("../button/useRipple.js"),require("../spinner/Spinner.js"),require("../../utils/getTestId.js"),require("../../icons/CheckCircleIcon.js"),require("../../icons/icon-base/_IconBase.js"),require("../../icons/InfoIcon.js"),require("../../icons/RemoveCircleIcon.js"),require("../../icons/WarningIcon.js");var m=_(n),c="Amino_ToastContext-module__toastContainer--v8ymm",p="Amino_ToastContext-module__toastsWrapper--W5SKw",x="Amino_ToastContext-module__toastWrapperAdjust--j5R-v",f="Amino_ToastContext-module__persistentToastsWrapper--5dhd9",T="Amino_ToastContext-module__clearAllButton--r43o-",h="Amino_ToastContext-module__expanded--mPeFN",C="Amino_ToastContext-module__persistentToast--yMpFG";d.styleInject(".Amino_ToastContext-module__toastContainer--v8ymm{bottom:var(--amino-toast-context-bottom);display:flex;flex-direction:column;justify-content:flex-end;left:var(--amino-toast-context-left);pointer-events:none;position:fixed;width:100%;z-index:9999999}.Amino_ToastContext-module__toastsWrapper--W5SKw{align-items:center;display:flex;flex-direction:column;gap:16px;pointer-events:auto}.Amino_ToastContext-module__toastWrapperAdjust--j5R-v{margin-bottom:16px}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9{margin:0 auto;max-height:60vh;max-width:600px;min-height:var(--amino-toast-persistent-height);position:relative;width:100%;z-index:1000}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:hover{cursor:pointer}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__clearAllButton--r43o-{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:#0000000f;border-radius:var(--amino-radius-4);margin-left:auto}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9.Amino_ToastContext-module__expanded--mPeFN{position:relative;width:100%}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9.Amino_ToastContext-module__expanded--mPeFN .Amino_ToastContext-module__clearAllButton--r43o-{margin-bottom:-8px}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__persistentToast--yMpFG{width:100%;z-index:8}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__persistentToast--yMpFG:first-of-type{z-index:10}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9 .Amino_ToastContext-module__persistentToast--yMpFG:nth-of-type(2){z-index:9}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG{filter:brightness(2);opacity:0;position:absolute;scale:.5;transform-origin:bottom center;transition:all .3s cubic-bezier(.4,0,.2,1)}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG:first-of-type{bottom:0;filter:brightness(1);opacity:1;scale:1}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG:nth-of-type(2){bottom:-8px;filter:brightness(1.5);opacity:1;scale:.9}.Amino_ToastContext-module__persistentToastsWrapper--5dhd9:not(.Amino_ToastContext-module__expanded--mPeFN) .Amino_ToastContext-module__persistentToast--yMpFG:nth-of-type(3){bottom:-16px;filter:brightness(2);opacity:.8;scale:.8}");var A=o.createContext({dismissAllToasts:function(){},dismissToast:function(t){},notify:function(t,e){}});exports.ToastContext=A,exports.ToastContextProvider=function(n){var d=n.children,_=t.__read(o.useState([]),2),v=_[0],b=_[1],j=t.__read(o.useState([]),2),y=j[0],g=j[1],q=t.__read(o.useState(!1),2),W=q[0],F=q[1],P=t.__read(o.useState({bottom:"",left:""}),2),k=P[0],N=P[1],I=o.useCallback((function(e,o){if(!(null==o?void 0:o.id)||!t.__spreadArray(t.__spreadArray([],t.__read(v),!1),t.__read(y),!1).some((function(t){return t.uuid===o.id}))){var n={isPersistent:null==o?void 0:o.isPersistent,props:o,toast:e,uuid:(null==o?void 0:o.id)||i.v4()};(null==o?void 0:o.isPersistent)?g((function(e){return t.__spreadArray([n],t.__read(e),!1)})):(b((function(e){return t.__spreadArray(t.__spreadArray([],t.__read(e),!1),[n],!1)})),setTimeout((function(){return b((function(t){return t.slice(1)}))}),(null==o?void 0:o.duration)||6e3))}}),[b,g,v,y]),M=o.useCallback((function(t,e,o){o&&N({bottom:o.bottom||"",left:o.left||""}),I(t,e)}),[I]),w=o.useCallback((function(t){b((function(e){return e.filter((function(e){return e.uuid!==t}))})),g((function(e){return e.filter((function(e){return e.uuid!==t}))}))}),[g]),G=o.useCallback((function(){g([]),b([]),F(!1)}),[g,b,F]),R=function(t){var e=t.currentTarget.querySelector(".toast-actions");e&&!e.contains(t.target)&&F((function(t){return!t}))},S=o.useRef(null),B=t.__read(o.useState(0),2),z=B[0],K=B[1],D=y.find(Boolean);o.useEffect((function(){S.current&&K(S.current.offsetHeight)}),[D]);var E=o.useMemo((function(){return{dismissAllToasts:G,dismissToast:w,notify:M}}),[G,w,M]),H=y.length>0;return e.jsxs(A.Provider,{value:E,children:[d,e.jsxs("div",{className:c,style:{"--amino-toast-context-bottom":k.bottom||"40px","--amino-toast-context-left":k.left||"auto","--amino-toast-persistent-height":H&&!W?"".concat(z+40,"px"):"unset"},children:[e.jsx("div",{className:m.default(p,H&&x),children:e.jsx(s.AnimatePresence,{children:v.map((function(t){var o=t.props,n=t.toast,s=t.uuid,i="toast-".concat(n,"-").concat(s);return e.jsx(a.Flex,{children:e.jsx(u.Toast,{direction:null==o?void 0:o.direction,intent:null==o?void 0:o.intent,toastKey:i,children:n})},i)}))})}),e.jsxs("div",{className:m.default(p,f,W&&h),children:[!!y.length&&e.jsx(r.Button,{className:T,icon:e.jsx(l.RemoveIcon,{}),onClick:G,variant:"text",children:"Clear all"}),e.jsx(s.AnimatePresence,{children:y.map((function(o,n){var s=o.props,i=o.toast,r=o.uuid,l="persistent-toast-".concat(i,"-").concat(r),d=0===n||W;return e.jsx("div",{ref:0===n?S:null,className:C,onClick:R,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||R(t)},role:"button",tabIndex:0,children:e.jsx(a.Flex,{fullWidth:!0,children:e.jsx(u.Toast,t.__assign({},s,{actions:d?null==s?void 0:s.actions:void 0,isPersistent:!0,onDismiss:function(t){var e;null===(e=null==s?void 0:s.onDismiss)||void 0===e||e.call(s,t),function(t,e){t.stopPropagation(),w(e)}(t,r)},toastKey:l,children:d?i:""}))})},l)}))})]})]})]})};
@@ -7,12 +7,12 @@ export type ToggleProps<TValue extends SelectValue = SelectValue> = BaseProps &
7
7
  * @default false
8
8
  */
9
9
  fullWidth?: boolean;
10
+ onChange: (value: TValue) => void;
10
11
  options: SelectOption<TValue>[];
11
12
  /**
12
13
  * @default 'sm'
13
14
  */
14
15
  size?: Size;
15
16
  value: TValue;
16
- onChange: (value: TValue) => void;
17
17
  };
18
18
  export declare const Toggle: <TValue extends SelectValue>({ className, fullWidth, onChange, options, size, style, value, }: ToggleProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-bd4862e8.js"),o=require("react/jsx-runtime"),r=require("react"),l=require("clsx"),i=require("framer-motion"),n=require("../../style-inject.es-d4ddeae4.js");function _(e){return e&&e.__esModule?e:{default:e}}var d=_(l),t="Amino_Toggle-module__shrinkWrapper--osh3J",a="Amino_Toggle-module__wrapper--NF4v5",p="Amino_Toggle-module__selectedSlider--WsUDo",u="Amino_Toggle-module__optionWrapper--0wrNp",m="Amino_Toggle-module__selected--badUt",g="Amino_Toggle-module__fullWidth--vw3dd";n.styleInject(".Amino_Toggle-module__shrinkWrapper--osh3J{display:inline-flex}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__wrapper--NF4v5{background-color:var(--amino-gray-50);border-radius:6px;display:flex;position:relative}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__selectedSlider--WsUDo{background-color:var(--amino-raised-surface-color);border-radius:6px;box-shadow:var(--amino-shadow-button-standard);height:100%;position:absolute;z-index:1}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp{border-radius:6px;color:var(--amino-text-color-secondary);cursor:pointer;font-size:var(--amino-font-size-base);font-weight:500;padding:4px 12px;text-align:center;z-index:2}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp:focus{outline:none}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp.Amino_Toggle-module__selected--badUt,.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp:hover:not(.Amino_Toggle-module__selected--badUt){color:var(--amino-text-color)}.Amino_Toggle-module__shrinkWrapper--osh3J.Amino_Toggle-module__fullWidth--vw3dd,.Amino_Toggle-module__shrinkWrapper--osh3J.Amino_Toggle-module__fullWidth--vw3dd .Amino_Toggle-module__wrapper--NF4v5{width:100%}.Amino_Toggle-module__shrinkWrapper--osh3J.Amino_Toggle-module__fullWidth--vw3dd .Amino_Toggle-module__wrapper--NF4v5 .Amino_Toggle-module__optionWrapper--0wrNp{flex-grow:1}.Amino_Toggle-module__shrinkWrapper--osh3J.sm .Amino_Toggle-module__optionWrapper--0wrNp{padding:6px 12px}.Amino_Toggle-module__shrinkWrapper--osh3J.md .Amino_Toggle-module__optionWrapper--0wrNp{padding:10px 12px}.Amino_Toggle-module__shrinkWrapper--osh3J.lg .Amino_Toggle-module__optionWrapper--0wrNp{padding:14px}.Amino_Toggle-module__shrinkWrapper--osh3J.xl .Amino_Toggle-module__optionWrapper--0wrNp{padding:18px 16px}");exports.Toggle=function(l){var n=l.className,_=l.fullWidth,s=void 0!==_&&_,h=l.onChange,c=l.options,A=l.size,T=void 0===A?"sm":A,f=l.style,v=l.value,W=r.useRef(null),x=r.useRef(null),w=e.__read(r.useState({left:0,width:0}),2),N=w[0],k=w[1],b=e.__read(r.useState(!1),2),J=b[0],j=b[1];return r.useEffect((function(){var e,o,r=function(e,o){if(!o||!e)return{left:0,width:0};var r=o.width;return{left:o.left-e.left,width:r}}((null===(e=W.current)||void 0===e?void 0:e.getBoundingClientRect())||null,(null===(o=x.current)||void 0===o?void 0:o.getBoundingClientRect())||null);k(r)}),[v,T]),o.jsx("div",{className:d.default(n,t,s&&g,T),style:f,children:o.jsxs("div",{ref:W,className:a,children:[o.jsx(i.motion.div,{animate:{width:N.width,x:N.left},className:p,initial:!1,onAnimationComplete:function(){j(!0)},transition:{duration:J?.2:0}}),c.map((function(e){var r=e.value===v;return o.jsx("button",{ref:r?x:null,className:d.default([u,r&&m]),onClick:function(){return h(e.value)},type:"button",children:e.label},e.value)}))]})})};
1
+ "use strict";var e=require("../../tslib.es6-5672428a.js"),o=require("react/jsx-runtime"),r=require("react"),l=require("clsx"),i=require("framer-motion"),n=require("../../style-inject.es-d4ddeae4.js");function _(e){return e&&e.__esModule?e:{default:e}}var d=_(l),t="Amino_Toggle-module__shrinkWrapper--osh3J",a="Amino_Toggle-module__wrapper--NF4v5",p="Amino_Toggle-module__selectedSlider--WsUDo",u="Amino_Toggle-module__optionWrapper--0wrNp",m="Amino_Toggle-module__selected--badUt",g="Amino_Toggle-module__fullWidth--vw3dd";n.styleInject(".Amino_Toggle-module__shrinkWrapper--osh3J{display:inline-flex}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__wrapper--NF4v5{background-color:var(--amino-gray-50);border-radius:6px;display:flex;position:relative}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__selectedSlider--WsUDo{background-color:var(--amino-raised-surface-color);border-radius:6px;box-shadow:var(--amino-shadow-button-standard);height:100%;position:absolute;z-index:1}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp{border-radius:6px;color:var(--amino-text-color-secondary);cursor:pointer;font-size:var(--amino-font-size-base);font-weight:500;padding:4px 12px;text-align:center;z-index:2}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp:focus{outline:none}.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp.Amino_Toggle-module__selected--badUt,.Amino_Toggle-module__shrinkWrapper--osh3J .Amino_Toggle-module__optionWrapper--0wrNp:hover:not(.Amino_Toggle-module__selected--badUt){color:var(--amino-text-color)}.Amino_Toggle-module__shrinkWrapper--osh3J.Amino_Toggle-module__fullWidth--vw3dd,.Amino_Toggle-module__shrinkWrapper--osh3J.Amino_Toggle-module__fullWidth--vw3dd .Amino_Toggle-module__wrapper--NF4v5{width:100%}.Amino_Toggle-module__shrinkWrapper--osh3J.Amino_Toggle-module__fullWidth--vw3dd .Amino_Toggle-module__wrapper--NF4v5 .Amino_Toggle-module__optionWrapper--0wrNp{flex-grow:1}.Amino_Toggle-module__shrinkWrapper--osh3J.sm .Amino_Toggle-module__optionWrapper--0wrNp{padding:6px 12px}.Amino_Toggle-module__shrinkWrapper--osh3J.md .Amino_Toggle-module__optionWrapper--0wrNp{padding:10px 12px}.Amino_Toggle-module__shrinkWrapper--osh3J.lg .Amino_Toggle-module__optionWrapper--0wrNp{padding:14px}.Amino_Toggle-module__shrinkWrapper--osh3J.xl .Amino_Toggle-module__optionWrapper--0wrNp{padding:18px 16px}");exports.Toggle=function(l){var n=l.className,_=l.fullWidth,s=void 0!==_&&_,h=l.onChange,c=l.options,A=l.size,T=void 0===A?"sm":A,f=l.style,v=l.value,W=r.useRef(null),x=r.useRef(null),w=e.__read(r.useState({left:0,width:0}),2),N=w[0],k=w[1],b=e.__read(r.useState(!1),2),J=b[0],j=b[1];return r.useEffect((function(){var e,o,r=function(e,o){if(!o||!e)return{left:0,width:0};var r=o.width;return{left:o.left-e.left,width:r}}((null===(e=W.current)||void 0===e?void 0:e.getBoundingClientRect())||null,(null===(o=x.current)||void 0===o?void 0:o.getBoundingClientRect())||null);k(r)}),[v,T]),o.jsx("div",{className:d.default(n,t,s&&g,T),style:f,children:o.jsxs("div",{ref:W,className:a,children:[o.jsx(i.motion.div,{animate:{width:N.width,x:N.left},className:p,initial:!1,onAnimationComplete:function(){j(!0)},transition:{duration:J?.2:0}}),c.map((function(e){var r=e.value===v;return o.jsx("button",{ref:r?x:null,className:d.default([u,r&&m]),onClick:function(){return h(e.value)},type:"button",children:e.label},e.value)}))]})})};
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import { type TooltipProps as MuiTooltipProps } from '@mui/material/Tooltip';
3
- import type { Theme } from "../../types";
4
3
  import type { BaseProps } from "../../types/BaseProps";
4
+ import type { Theme } from "../../types/Theme";
5
5
  export type TooltipProps = BaseProps & {
6
6
  /**
7
7
  * The component that will trigger the tooltip.
@@ -1 +1 @@
1
- "use strict";var e=require("../../_tslib-bd4862e8.js"),t=require("react/jsx-runtime"),r=require("@mui/material/styles"),s=require("@mui/material/Tooltip"),a=require("../flex/Flex.js"),i=require("../text/Text.js"),l=require("../../styles/constants/theme.js");function o(e){return e&&e.__esModule?e:{default:e}}require("clsx"),require("../../style-inject.es-d4ddeae4.js");var n=o(s),d=r.styled((function(r){var s=r.className,a=r.dataTheme,i=e.__rest(r,["className","dataTheme"]);return t.jsx(n.default,e.__assign({},i,{classes:{popper:s},PopperProps:e.__assign(e.__assign({},i.PopperProps),{"data-theme":a})}))}))((function(){var e,t;return(e={})["& .".concat(s.tooltipClasses.tooltip)]={all:"revert",backgroundColor:l.theme.gray0,borderRadius:l.theme.radius10,boxShadow:l.theme.v3ShadowLarge,color:l.theme.textColor,padding:l.theme.space12},e["&[data-theme='night']"]=((t={})[".".concat(s.tooltipClasses.tooltip)]={backgroundColor:l.theme.gray50},t),e}));exports.Tooltip=function(r){var s=r.children,l=r.className,o=r.disabled,n=void 0!==o&&o,c=r.open,u=r.subtitle,p=r.themeOverride,m=void 0===p?"night":p,h=r.title,x=e.__rest(r,["children","className","disabled","open","subtitle","themeOverride","title"]);return n?s:t.jsx(d,e.__assign({},x,{className:l,dataTheme:m,open:c,title:t.jsxs(a.Flex,{flexDirection:"column",gap:8,children:["string"==typeof h?t.jsx(i.Text,{type:"small-header",children:h}):t.jsx(t.Fragment,{children:h}),"string"==typeof u?t.jsx(i.Text,{type:"caption",children:u}):t.jsx(t.Fragment,{children:u})]}),children:t.jsx("div",{className:"tooltip-wrapper",children:s})}))};
1
+ "use strict";var e=require("../../tslib.es6-5672428a.js"),t=require("react/jsx-runtime"),r=require("@mui/material/styles"),s=require("@mui/material/Tooltip"),a=require("../flex/Flex.js"),i=require("../text/Text.js"),l=require("../../styles/constants/theme.js");function o(e){return e&&e.__esModule?e:{default:e}}require("clsx"),require("../../style-inject.es-d4ddeae4.js");var n=o(s),d=r.styled((function(r){var s=r.className,a=r.dataTheme,i=e.__rest(r,["className","dataTheme"]);return t.jsx(n.default,e.__assign({},i,{PopperProps:e.__assign(e.__assign({},i.PopperProps),{"data-theme":a}),classes:{popper:s}}))}))((function(){var e,t;return(e={})["& .".concat(s.tooltipClasses.tooltip)]={all:"revert",backgroundColor:l.theme.gray0,borderRadius:l.theme.radius10,boxShadow:l.theme.v3ShadowLarge,color:l.theme.textColor,padding:l.theme.space12},e["&[data-theme='night']"]=((t={})[".".concat(s.tooltipClasses.tooltip)]={backgroundColor:l.theme.gray50},t),e}));exports.Tooltip=function(r){var s=r.children,l=r.className,o=r.disabled,n=void 0!==o&&o,c=r.open,u=r.subtitle,p=r.themeOverride,m=void 0===p?"night":p,h=r.title,x=e.__rest(r,["children","className","disabled","open","subtitle","themeOverride","title"]);return n?s:t.jsx(d,e.__assign({},x,{className:l,dataTheme:m,open:c,title:t.jsxs(a.Flex,{flexDirection:"column",gap:8,children:["string"==typeof h?t.jsx(i.Text,{type:"small-header",children:h}):t.jsx(t.Fragment,{children:h}),"string"==typeof u?t.jsx(i.Text,{type:"caption",children:u}):t.jsx(t.Fragment,{children:u})]}),children:t.jsx("div",{className:"tooltip-wrapper",children:s})}))};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const AIDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ArrowSwapDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BagDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BankDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BellDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BellOffDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BookDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BookmarkAddDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BookmarkCheckDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BookmarkOffDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BookmarkRemoveDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BookmarkSubtractDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BoxesDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const BufferDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CalculatorDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CalendarDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CardDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CartDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ChartDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CheckCircleDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CheckoutDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ChevronDownCircleDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ChevronLeftCircleDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ChevronRightCircleDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ClassifyDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ClearDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ClockDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CodeCircleDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CodeDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CoinsDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CollectDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CommentDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CopilotDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CopyDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const CubeDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const DashboardDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const DislikeDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const DocsDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const DollarDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const DoubleChevronDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const DragDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const EditDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ExclamationMarkDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ExportDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const ExternalDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const EyeDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const EyeOffDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const FileDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const FileUploadDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const FilterDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const FolderListDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const FolderUploadDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const FusionDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { Color } from "../types";
2
+ import type { Color } from "../types/Color";
3
3
  import type { IconProps } from "../types/IconProps";
4
4
  export declare const GlobeDuotoneIcon: import("react").ForwardRefExoticComponent<IconProps & {
5
5
  secondaryColor?: Color | undefined;