@alphafi/alphafi-sdk 0.0.92 → 0.0.93

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 (400) hide show
  1. package/#package.json# +98 -0
  2. package/dist/cjs/adminFunctions.d.ts.map +1 -1
  3. package/dist/cjs/common/coins.d.ts.map +1 -1
  4. package/dist/cjs/common/coins.js +18 -0
  5. package/dist/cjs/common/coins.js.map +1 -1
  6. package/dist/cjs/common/constants.d.ts +3 -0
  7. package/dist/cjs/common/constants.d.ts.map +1 -1
  8. package/dist/cjs/common/constants.js +6 -2
  9. package/dist/cjs/common/constants.js.map +1 -1
  10. package/dist/cjs/common/maps.d.ts +1 -0
  11. package/dist/cjs/common/maps.d.ts.map +1 -1
  12. package/dist/cjs/common/maps.js +24 -4
  13. package/dist/cjs/common/maps.js.map +1 -1
  14. package/dist/cjs/common/pyth.d.ts +1 -1
  15. package/dist/cjs/common/pyth.d.ts.map +1 -1
  16. package/dist/cjs/common/pyth.js.map +1 -1
  17. package/dist/cjs/common/types.d.ts +5 -19
  18. package/dist/cjs/common/types.d.ts.map +1 -1
  19. package/dist/cjs/common/types.js +0 -17
  20. package/dist/cjs/common/types.js.map +1 -1
  21. package/dist/cjs/graphql/client.d.ts +1 -1
  22. package/dist/cjs/graphql/client.d.ts.map +1 -1
  23. package/dist/cjs/graphql/executeMutations.d.ts +15 -3
  24. package/dist/cjs/graphql/executeMutations.d.ts.map +1 -1
  25. package/dist/cjs/graphql/executeMutations.js +6 -0
  26. package/dist/cjs/graphql/executeMutations.js.map +1 -1
  27. package/dist/cjs/graphql/fetchData.d.ts +23 -7
  28. package/dist/cjs/graphql/fetchData.d.ts.map +1 -1
  29. package/dist/cjs/graphql/fetchData.js +11 -11
  30. package/dist/cjs/graphql/fetchData.js.map +1 -1
  31. package/dist/cjs/graphql/fetchNftHolders.d.ts.map +1 -1
  32. package/dist/cjs/graphql/fetchNftHolders.js +3 -1
  33. package/dist/cjs/graphql/fetchNftHolders.js.map +1 -1
  34. package/dist/cjs/graphql/fetchReceipts.d.ts.map +1 -1
  35. package/dist/cjs/graphql/fetchReceipts.js +3 -1
  36. package/dist/cjs/graphql/fetchReceipts.js.map +1 -1
  37. package/dist/cjs/graphql/getMultiReceipts.d.ts.map +1 -1
  38. package/dist/cjs/graphql/getMultiReceipts.js +7 -2
  39. package/dist/cjs/graphql/getMultiReceipts.js.map +1 -1
  40. package/dist/cjs/index.d.ts +1 -1
  41. package/dist/cjs/index.d.ts.map +1 -1
  42. package/dist/cjs/index.js +2 -2
  43. package/dist/cjs/index.js.map +1 -1
  44. package/dist/cjs/sui-sdk/client.d.ts.map +1 -1
  45. package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.d.ts.map +1 -1
  46. package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.js +9 -3
  47. package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.js.map +1 -1
  48. package/dist/cjs/sui-sdk/functions/getReceipts.js +2 -2
  49. package/dist/cjs/sui-sdk/functions/getReceipts.js.map +1 -1
  50. package/dist/cjs/transactions/7k.d.ts +2 -7
  51. package/dist/cjs/transactions/7k.d.ts.map +1 -1
  52. package/dist/cjs/transactions/7k.js +18 -31
  53. package/dist/cjs/transactions/7k.js.map +1 -1
  54. package/dist/cjs/transactions/alpha.d.ts.map +1 -1
  55. package/dist/cjs/transactions/blueRewards.js +17 -7
  56. package/dist/cjs/transactions/blueRewards.js.map +1 -1
  57. package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
  58. package/dist/cjs/transactions/cetus.d.ts.map +1 -1
  59. package/dist/cjs/transactions/collect_rewards.d.ts.map +1 -1
  60. package/dist/cjs/transactions/collect_rewards.js +1 -3
  61. package/dist/cjs/transactions/collect_rewards.js.map +1 -1
  62. package/dist/cjs/transactions/get_navi_rewards.d.ts +2 -0
  63. package/dist/cjs/transactions/get_navi_rewards.d.ts.map +1 -0
  64. package/dist/cjs/transactions/get_navi_rewards.js +42 -0
  65. package/dist/cjs/transactions/get_navi_rewards.js.map +1 -0
  66. package/dist/cjs/transactions/navi-looping.d.ts.map +1 -1
  67. package/dist/cjs/transactions/navi-looping.js +79 -79
  68. package/dist/cjs/transactions/navi-looping.js.map +1 -1
  69. package/dist/cjs/transactions/navi.d.ts.map +1 -1
  70. package/dist/cjs/transactions/navi.js +142 -141
  71. package/dist/cjs/transactions/navi.js.map +1 -1
  72. package/dist/cjs/transactions/newZapDeposit.d.ts +15 -0
  73. package/dist/cjs/transactions/newZapDeposit.d.ts.map +1 -0
  74. package/dist/cjs/transactions/newZapDeposit.js +1775 -0
  75. package/dist/cjs/transactions/newZapDeposit.js.map +1 -0
  76. package/dist/cjs/transactions/zapDeposit.d.ts +3 -3
  77. package/dist/cjs/transactions/zapDeposit.d.ts.map +1 -1
  78. package/dist/cjs/transactions/zapDeposit.js +1043 -503
  79. package/dist/cjs/transactions/zapDeposit.js.map +1 -1
  80. package/dist/cjs/utils/clmm/prices.d.ts.map +1 -1
  81. package/dist/cjs/utils/clmm/prices.js +4 -0
  82. package/dist/cjs/utils/clmm/prices.js.map +1 -1
  83. package/dist/cjs/utils/clmm/tokenAmountFromLiquidity.d.ts +0 -1
  84. package/dist/cjs/utils/clmm/tokenAmountFromLiquidity.d.ts.map +1 -1
  85. package/dist/cjs/utils/clmm/tokenAmountFromLiquidity.js +0 -1
  86. package/dist/cjs/utils/clmm/tokenAmountFromLiquidity.js.map +1 -1
  87. package/dist/cjs/utils/getReceipts.js +1 -1
  88. package/dist/cjs/utils/getReceipts.js.map +1 -1
  89. package/dist/cjs/utils/prices.js +2 -2
  90. package/dist/cjs/utils/prices.js.map +1 -1
  91. package/dist/esm/adminFunctions.d.ts.map +1 -1
  92. package/dist/esm/common/coins.d.ts.map +1 -1
  93. package/dist/esm/common/coins.js +18 -0
  94. package/dist/esm/common/coins.js.map +1 -1
  95. package/dist/esm/common/constants.d.ts +3 -0
  96. package/dist/esm/common/constants.d.ts.map +1 -1
  97. package/dist/esm/common/constants.js +6 -2
  98. package/dist/esm/common/constants.js.map +1 -1
  99. package/dist/esm/common/maps.d.ts +1 -0
  100. package/dist/esm/common/maps.d.ts.map +1 -1
  101. package/dist/esm/common/maps.js +24 -4
  102. package/dist/esm/common/maps.js.map +1 -1
  103. package/dist/esm/common/pyth.d.ts +1 -1
  104. package/dist/esm/common/pyth.d.ts.map +1 -1
  105. package/dist/esm/common/pyth.js.map +1 -1
  106. package/dist/esm/common/types.d.ts +5 -19
  107. package/dist/esm/common/types.d.ts.map +1 -1
  108. package/dist/esm/common/types.js +1 -17
  109. package/dist/esm/common/types.js.map +1 -1
  110. package/dist/esm/graphql/client.d.ts +1 -1
  111. package/dist/esm/graphql/client.d.ts.map +1 -1
  112. package/dist/esm/graphql/executeMutations.d.ts +15 -3
  113. package/dist/esm/graphql/executeMutations.d.ts.map +1 -1
  114. package/dist/esm/graphql/executeMutations.js +6 -0
  115. package/dist/esm/graphql/executeMutations.js.map +1 -1
  116. package/dist/esm/graphql/fetchData.d.ts +23 -7
  117. package/dist/esm/graphql/fetchData.d.ts.map +1 -1
  118. package/dist/esm/graphql/fetchData.js +11 -11
  119. package/dist/esm/graphql/fetchData.js.map +1 -1
  120. package/dist/esm/graphql/fetchNftHolders.d.ts.map +1 -1
  121. package/dist/esm/graphql/fetchNftHolders.js +3 -1
  122. package/dist/esm/graphql/fetchNftHolders.js.map +1 -1
  123. package/dist/esm/graphql/fetchReceipts.d.ts.map +1 -1
  124. package/dist/esm/graphql/fetchReceipts.js +3 -1
  125. package/dist/esm/graphql/fetchReceipts.js.map +1 -1
  126. package/dist/esm/graphql/getMultiReceipts.d.ts.map +1 -1
  127. package/dist/esm/graphql/getMultiReceipts.js +7 -2
  128. package/dist/esm/graphql/getMultiReceipts.js.map +1 -1
  129. package/dist/esm/index.d.ts +1 -1
  130. package/dist/esm/index.d.ts.map +1 -1
  131. package/dist/esm/index.js +1 -1
  132. package/dist/esm/index.js.map +1 -1
  133. package/dist/esm/sui-sdk/client.d.ts.map +1 -1
  134. package/dist/esm/sui-sdk/functions/getPortfolioAmounts.d.ts.map +1 -1
  135. package/dist/esm/sui-sdk/functions/getPortfolioAmounts.js +9 -3
  136. package/dist/esm/sui-sdk/functions/getPortfolioAmounts.js.map +1 -1
  137. package/dist/esm/sui-sdk/functions/getReceipts.js +2 -2
  138. package/dist/esm/sui-sdk/functions/getReceipts.js.map +1 -1
  139. package/dist/esm/transactions/7k.d.ts +2 -7
  140. package/dist/esm/transactions/7k.d.ts.map +1 -1
  141. package/dist/esm/transactions/7k.js +19 -32
  142. package/dist/esm/transactions/7k.js.map +1 -1
  143. package/dist/esm/transactions/alpha.d.ts.map +1 -1
  144. package/dist/esm/transactions/bluefin.d.ts.map +1 -1
  145. package/dist/esm/transactions/cetus.d.ts.map +1 -1
  146. package/dist/esm/transactions/collect_rewards.d.ts.map +1 -1
  147. package/dist/esm/transactions/collect_rewards.js +1 -3
  148. package/dist/esm/transactions/collect_rewards.js.map +1 -1
  149. package/dist/esm/transactions/get_navi_rewards.d.ts +2 -0
  150. package/dist/esm/transactions/get_navi_rewards.d.ts.map +1 -0
  151. package/dist/esm/transactions/get_navi_rewards.js +39 -0
  152. package/dist/esm/transactions/get_navi_rewards.js.map +1 -0
  153. package/dist/esm/transactions/navi-looping.d.ts.map +1 -1
  154. package/dist/esm/transactions/navi-looping.js +79 -79
  155. package/dist/esm/transactions/navi-looping.js.map +1 -1
  156. package/dist/esm/transactions/navi.d.ts.map +1 -1
  157. package/dist/esm/transactions/navi.js +142 -141
  158. package/dist/esm/transactions/navi.js.map +1 -1
  159. package/dist/esm/transactions/newZapDeposit.d.ts +15 -0
  160. package/dist/esm/transactions/newZapDeposit.d.ts.map +1 -0
  161. package/dist/esm/transactions/newZapDeposit.js +1771 -0
  162. package/dist/esm/transactions/newZapDeposit.js.map +1 -0
  163. package/dist/esm/transactions/zapDeposit.d.ts +3 -3
  164. package/dist/esm/transactions/zapDeposit.d.ts.map +1 -1
  165. package/dist/esm/transactions/zapDeposit.js +1043 -502
  166. package/dist/esm/transactions/zapDeposit.js.map +1 -1
  167. package/dist/esm/utils/clmm/prices.d.ts.map +1 -1
  168. package/dist/esm/utils/clmm/prices.js +4 -0
  169. package/dist/esm/utils/clmm/prices.js.map +1 -1
  170. package/dist/esm/utils/clmm/tokenAmountFromLiquidity.d.ts +0 -1
  171. package/dist/esm/utils/clmm/tokenAmountFromLiquidity.d.ts.map +1 -1
  172. package/dist/esm/utils/clmm/tokenAmountFromLiquidity.js +0 -1
  173. package/dist/esm/utils/clmm/tokenAmountFromLiquidity.js.map +1 -1
  174. package/dist/esm/utils/getReceipts.js +1 -1
  175. package/dist/esm/utils/getReceipts.js.map +1 -1
  176. package/dist/esm/utils/prices.js +2 -2
  177. package/dist/esm/utils/prices.js.map +1 -1
  178. package/docs/assets/hierarchy.js +1 -0
  179. package/docs/assets/icons.js +1 -1
  180. package/docs/assets/icons.svg +1 -1
  181. package/docs/assets/main.js +5 -5
  182. package/docs/assets/navigation.js +1 -1
  183. package/docs/assets/search.js +1 -1
  184. package/docs/assets/style.css +1428 -1288
  185. package/docs/functions/alphaLpBreakdown.html +1 -1
  186. package/docs/functions/cetusLpBreakdown.html +1 -1
  187. package/docs/functions/claimRewardTxb.html +1 -1
  188. package/docs/functions/claimRewardsTxb.html +1 -1
  189. package/docs/functions/coinAmountToXTokensDoubleAsset.html +1 -1
  190. package/docs/functions/coinAmountToXTokensSingleAsset.html +1 -1
  191. package/docs/functions/coinsInPool.html +1 -1
  192. package/docs/functions/collectAndSwapRewardsSingleLoop.html +1 -1
  193. package/docs/functions/collectRewardTxb.html +1 -1
  194. package/docs/functions/collectRewards.html +1 -1
  195. package/docs/functions/deposit.html +1 -1
  196. package/docs/functions/depositDoubleAssetTxb.html +1 -1
  197. package/docs/functions/depositSingleAssetTxb.html +1 -1
  198. package/docs/functions/fetchAfterTransactionEvents.html +1 -1
  199. package/docs/functions/fetchAirdropClaimEvents.html +1 -1
  200. package/docs/functions/fetchAutoCompoundingEvents.html +1 -1
  201. package/docs/functions/fetchAutoCompoundingEventsGql.html +1 -1
  202. package/docs/functions/fetchCetusPools.html +1 -1
  203. package/docs/functions/fetchChainIdentifier.html +1 -1
  204. package/docs/functions/fetchCheckRatioEvents.html +1 -1
  205. package/docs/functions/fetchEvents.html +1 -1
  206. package/docs/functions/fetchLiquidityChangeEvents.html +1 -1
  207. package/docs/functions/fetchMultiCategoryEvents.html +1 -1
  208. package/docs/functions/fetchMultiReceipts.html +1 -1
  209. package/docs/functions/fetchNftHolders.html +1 -1
  210. package/docs/functions/fetchPools.html +1 -1
  211. package/docs/functions/fetchPortfolioData.html +1 -1
  212. package/docs/functions/fetchProtocolData.html +1 -1
  213. package/docs/functions/fetchRequiredPrices.html +1 -1
  214. package/docs/functions/fetchTVL.html +1 -1
  215. package/docs/functions/fetchTransactions.html +1 -1
  216. package/docs/functions/fetchUserVaultBalances.html +1 -1
  217. package/docs/functions/fetchUserVaults.html +1 -1
  218. package/docs/functions/fetchUserWalletData.html +1 -1
  219. package/docs/functions/fetchVoloExchangeRate.html +1 -1
  220. package/docs/functions/fetchWithdrawV2Events.html +1 -1
  221. package/docs/functions/getAirdropShare.html +1 -1
  222. package/docs/functions/getAllDoubleAssetVaults.html +1 -1
  223. package/docs/functions/getAllSingleAssetVaults.html +1 -1
  224. package/docs/functions/getAllVaultBalances.html +1 -1
  225. package/docs/functions/getAllVaults.html +1 -1
  226. package/docs/functions/getAlphaUnlocks.html +1 -1
  227. package/docs/functions/getAlphaVaultBalance.html +1 -1
  228. package/docs/functions/getAmounts.html +1 -1
  229. package/docs/functions/getApr.html +1 -1
  230. package/docs/functions/getAprs.html +1 -1
  231. package/docs/functions/getApy.html +1 -1
  232. package/docs/functions/getApys.html +1 -1
  233. package/docs/functions/getCetusInvestorTicksMap.html +1 -1
  234. package/docs/functions/getCetusPool.html +1 -1
  235. package/docs/functions/getCetusSqrtPriceMap.html +1 -1
  236. package/docs/functions/getCoinAmountsFromLiquidity.html +1 -1
  237. package/docs/functions/getConf.html +1 -1
  238. package/docs/functions/getCurrentTick.html +1 -1
  239. package/docs/functions/getDistributor.html +1 -1
  240. package/docs/functions/getDoubleAssetVaultBalance.html +1 -1
  241. package/docs/functions/getDoubleAssetVaults.html +1 -1
  242. package/docs/functions/getInvestor.html +1 -1
  243. package/docs/functions/getInvestorPoolMap.html +1 -1
  244. package/docs/functions/getLastAutoCompoundTime.html +1 -1
  245. package/docs/functions/getLatestPrices.html +1 -1
  246. package/docs/functions/getLiquidity.html +1 -1
  247. package/docs/functions/getMultiCetusPool.html +1 -1
  248. package/docs/functions/getMultiInvestor.html +1 -1
  249. package/docs/functions/getMultiLatestPrices.html +1 -1
  250. package/docs/functions/getMultiParentPool.html +1 -1
  251. package/docs/functions/getMultiPool.html +1 -1
  252. package/docs/functions/getMultiReceipts.html +1 -1
  253. package/docs/functions/getParentPool.html +1 -1
  254. package/docs/functions/getPool.html +1 -1
  255. package/docs/functions/getPoolExchangeRate.html +1 -1
  256. package/docs/functions/getPoolExchangeRateMap.html +1 -1
  257. package/docs/functions/getPoolsWeightDistribution.html +1 -1
  258. package/docs/functions/getPositionRange.html +1 -1
  259. package/docs/functions/getPositionRanges.html +1 -1
  260. package/docs/functions/getPositionTicks.html +1 -1
  261. package/docs/functions/getPriceToTick.html +1 -1
  262. package/docs/functions/getRebalanceHistories.html +1 -1
  263. package/docs/functions/getRebalanceHistory.html +1 -1
  264. package/docs/functions/getReceipts.html +1 -1
  265. package/docs/functions/getSingleAssetVaultBalance.html +1 -1
  266. package/docs/functions/getSingleAssetVaults.html +1 -1
  267. package/docs/functions/getSuiClient.html +2 -2
  268. package/docs/functions/getSuiNodeUrl.html +2 -2
  269. package/docs/functions/getTVLs-1.html +1 -1
  270. package/docs/functions/getTickSpacing.html +1 -1
  271. package/docs/functions/getTickToPrice.html +1 -1
  272. package/docs/functions/getTvls.html +1 -1
  273. package/docs/functions/getVaultBalance.html +1 -1
  274. package/docs/functions/getVaults.html +1 -1
  275. package/docs/functions/lastAutocompoundTime.html +1 -1
  276. package/docs/functions/liquidityToTokens.html +1 -1
  277. package/docs/functions/migrateBoostedToLoop.html +1 -1
  278. package/docs/functions/multiLiquidityToTokens.html +1 -1
  279. package/docs/functions/multiTokensToUsd.html +1 -1
  280. package/docs/functions/multiXTokensToLiquidity.html +1 -1
  281. package/docs/functions/parseUserWalletData.html +1 -1
  282. package/docs/functions/pendingRewardAmount.html +1 -1
  283. package/docs/functions/setCustomSuiClient.html +3 -3
  284. package/docs/functions/setSuiClient.html +2 -2
  285. package/docs/functions/setSuiNodeUrl.html +2 -2
  286. package/docs/functions/setWeights.html +1 -1
  287. package/docs/functions/withdraw.html +1 -1
  288. package/docs/functions/withdrawAlphaTxb.html +1 -1
  289. package/docs/functions/withdrawTxb.html +1 -1
  290. package/docs/functions/zapDepositQuoteTxb.html +1 -0
  291. package/docs/functions/zapDepositTxb.html +1 -1
  292. package/docs/hierarchy.html +1 -0
  293. package/docs/index.html +19 -19
  294. package/docs/interfaces/Coin.html +10 -10
  295. package/docs/interfaces/CoinPair.html +3 -3
  296. package/docs/interfaces/CommonEventAttributes.html +7 -7
  297. package/docs/interfaces/NaviVoloData.html +3 -3
  298. package/docs/interfaces/PoolData.html +8 -8
  299. package/docs/interfaces/PoolWeightDistribution.html +4 -4
  300. package/docs/interfaces/RebalanceHistoryType.html +9 -9
  301. package/docs/modules.html +1 -207
  302. package/docs/types/AfterTransactionEventNode.html +1 -1
  303. package/docs/types/AirdropClaimEventNode.html +1 -1
  304. package/docs/types/Allocator.html +3 -1
  305. package/docs/types/AlphaFiDoubleAssetVault.html +9 -1
  306. package/docs/types/AlphaFiMultiVaultBalance.html +1 -1
  307. package/docs/types/AlphaFiSingleAssetVault.html +7 -1
  308. package/docs/types/AlphaFiVault.html +1 -1
  309. package/docs/types/AlphaFiVaultBalance.html +1 -1
  310. package/docs/types/AlphaLendInvestor.html +1 -1
  311. package/docs/types/AlphaPoolType.html +5 -1
  312. package/docs/types/AlphaReceipt.html +4 -1
  313. package/docs/types/AlphaReceiptFields.html +11 -1
  314. package/docs/types/AlphaVaultBalance.html +7 -1
  315. package/docs/types/AutoBalancePoolNames.html +1 -1
  316. package/docs/types/AutoCompoundingEventNode.html +1 -1
  317. package/docs/types/BluefinInvestor.html +1 -1
  318. package/docs/types/BluefinPoolType.html +5 -1
  319. package/docs/types/BucketInvestor.html +2 -1
  320. package/docs/types/CetusInvestor.html +2 -1
  321. package/docs/types/CetusPoolType.html +5 -1
  322. package/docs/types/CetusSwapOptions.html +1 -1
  323. package/docs/types/CoinAmounts.html +3 -1
  324. package/docs/types/CoinName.html +1 -1
  325. package/docs/types/CoinType.html +1 -1
  326. package/docs/types/CommonInvestorFields.html +6 -1
  327. package/docs/types/CreatePoolOptions.html +8 -1
  328. package/docs/types/Distributor.html +6 -1
  329. package/docs/types/DoubleAssetMultiVaultBalance.html +6 -1
  330. package/docs/types/DoubleAssetPoolNames.html +1 -1
  331. package/docs/types/DoubleAssetTokenHoldings.html +5 -1
  332. package/docs/types/DoubleAssetVaultBalance.html +4 -1
  333. package/docs/types/EventCategory.html +1 -1
  334. package/docs/types/EventNode.html +1 -1
  335. package/docs/types/GetHoldersParams.html +4 -1
  336. package/docs/types/GetTokenHoldingsParams.html +4 -1
  337. package/docs/types/GetUserTokensFromTransactionsParams.html +5 -1
  338. package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +6 -1
  339. package/docs/types/GetVaultBalanceParams.html +1 -1
  340. package/docs/types/HoldingsObj.html +4 -1
  341. package/docs/types/Icon.html +1 -1
  342. package/docs/types/Investor.html +1 -1
  343. package/docs/types/LiquidityChangeEventNode.html +1 -1
  344. package/docs/types/LiquidityToTokensParams.html +3 -1
  345. package/docs/types/LiquidityToUsdParams.html +6 -1
  346. package/docs/types/LoopingDebt.html +5 -1
  347. package/docs/types/LoopingPoolNames.html +1 -1
  348. package/docs/types/LpBreakdownType.html +6 -1
  349. package/docs/types/MemberPoolDataType.html +3 -1
  350. package/docs/types/MemberType.html +3 -1
  351. package/docs/types/MultiGetVaultBalancesParams.html +4 -1
  352. package/docs/types/NaviInvestor.html +2 -1
  353. package/docs/types/OtherReceiptFields.html +9 -1
  354. package/docs/types/PoolName.html +1 -1
  355. package/docs/types/PoolReceipt.html +1 -1
  356. package/docs/types/PoolType.html +5 -1
  357. package/docs/types/Receipt.html +5 -1
  358. package/docs/types/ReceiptGQL.html +6 -1
  359. package/docs/types/SingleAssetMultiVaultBalance.html +5 -1
  360. package/docs/types/SingleAssetPoolNames.html +1 -1
  361. package/docs/types/SingleAssetTokenHoldings.html +4 -1
  362. package/docs/types/SingleAssetVaultBalance.html +3 -1
  363. package/docs/types/SingleGetVaultBalancesParams.html +3 -1
  364. package/docs/types/StrategyType.html +1 -1
  365. package/docs/types/SuiNetwork.html +1 -1
  366. package/docs/types/SwapOptions.html +1 -1
  367. package/docs/types/TickSpacing.html +1 -1
  368. package/docs/types/TotalWeightType.html +3 -1
  369. package/docs/types/TransactionBlockType.html +6 -1
  370. package/docs/types/UserPoolLiquidity.html +4 -1
  371. package/docs/types/UserPoolTokenHoldings.html +1 -1
  372. package/docs/types/UserUsdHoldings.html +4 -1
  373. package/docs/types/VaultBalance.html +1 -1
  374. package/docs/types/VoteCastEvent.html +1 -1
  375. package/docs/types/WithdrawV2EventNode.html +1 -1
  376. package/docs/variables/AUTOBALANCE_SUI_FIRST_POOLS.html +1 -1
  377. package/docs/variables/AUTOBALANCE_SUI_SECOND_POOLS.html +1 -1
  378. package/docs/variables/AUTOBALANCE_TYPE_1_POOLS.html +1 -1
  379. package/docs/variables/alphalendMarketIdMap.html +1 -1
  380. package/docs/variables/bluefinPoolMap.html +1 -1
  381. package/docs/variables/cetusPoolMap.html +1 -1
  382. package/docs/variables/coinsList.html +1 -1
  383. package/docs/variables/defunctPoolsSet.html +1 -1
  384. package/docs/variables/doubleAssetPoolCoinMap.html +1 -1
  385. package/docs/variables/eventCategories.html +1 -1
  386. package/docs/variables/ignoredWalletsForDailyRevenue.html +1 -1
  387. package/docs/variables/loopingAccountAddresses.html +1 -1
  388. package/docs/variables/loopingPoolCoinMap.html +1 -1
  389. package/docs/variables/naviAssetMap.html +1 -1
  390. package/docs/variables/poolIdPoolNameMap.html +1 -1
  391. package/docs/variables/poolInfo.html +1 -1
  392. package/docs/variables/singleAssetPoolCoinMap.html +1 -1
  393. package/docs/variables/stableCoins.html +1 -1
  394. package/eslint.config.js +53 -0
  395. package/package.json +38 -22
  396. package/scripts/package-lock.json +2506 -0
  397. package/scripts/package.json +30 -0
  398. package/scripts/testRun.ts +101 -0
  399. package/scripts/utils.ts +104 -0
  400. package/docs/functions/getZapAmounts.html +0 -1
@@ -1,115 +1,278 @@
1
- :root {
2
- /* Light */
3
- --light-color-background: #f2f4f8;
4
- --light-color-background-secondary: #eff0f1;
5
- --light-color-warning-text: #222;
6
- --light-color-background-warning: #e6e600;
7
- --light-color-accent: #c5c7c9;
8
- --light-color-active-menu-item: var(--light-color-accent);
9
- --light-color-text: #222;
10
- --light-color-text-aside: #6e6e6e;
11
-
12
- --light-color-icon-background: var(--light-color-background);
13
- --light-color-icon-text: var(--light-color-text);
14
-
15
- --light-color-comment-tag-text: var(--light-color-text);
16
- --light-color-comment-tag: var(--light-color-background);
17
-
18
- --light-color-link: #1f70c2;
19
- --light-color-focus-outline: #3584e4;
20
-
21
- --light-color-ts-keyword: #056bd6;
22
- --light-color-ts-project: #b111c9;
23
- --light-color-ts-module: var(--light-color-ts-project);
24
- --light-color-ts-namespace: var(--light-color-ts-project);
25
- --light-color-ts-enum: #7e6f15;
26
- --light-color-ts-enum-member: var(--light-color-ts-enum);
27
- --light-color-ts-variable: #4760ec;
28
- --light-color-ts-function: #572be7;
29
- --light-color-ts-class: #1f70c2;
30
- --light-color-ts-interface: #108024;
31
- --light-color-ts-constructor: #4d7fff;
32
- --light-color-ts-property: #ff984d;
33
- --light-color-ts-method: #ff4db8;
34
- --light-color-ts-reference: #ff4d82;
35
- --light-color-ts-call-signature: var(--light-color-ts-method);
36
- --light-color-ts-index-signature: var(--light-color-ts-property);
37
- --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
38
- --light-color-ts-parameter: var(--light-color-ts-variable);
39
- /* type literal not included as links will never be generated to it */
40
- --light-color-ts-type-parameter: #a55c0e;
41
- --light-color-ts-accessor: #ff4d4d;
42
- --light-color-ts-get-signature: var(--light-color-ts-accessor);
43
- --light-color-ts-set-signature: var(--light-color-ts-accessor);
44
- --light-color-ts-type-alias: #d51270;
45
- /* reference not included as links will be colored with the kind that it points to */
46
- --light-color-document: #000000;
47
-
48
- --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
49
- --light-color-scheme: light;
50
-
51
- /* Dark */
52
- --dark-color-background: #2b2e33;
53
- --dark-color-background-secondary: #1e2024;
54
- --dark-color-background-warning: #bebe00;
55
- --dark-color-warning-text: #222;
56
- --dark-color-accent: #9096a2;
57
- --dark-color-active-menu-item: #5d5d6a;
58
- --dark-color-text: #f5f5f5;
59
- --dark-color-text-aside: #dddddd;
60
-
61
- --dark-color-icon-background: var(--dark-color-background-secondary);
62
- --dark-color-icon-text: var(--dark-color-text);
63
-
64
- --dark-color-comment-tag-text: var(--dark-color-text);
65
- --dark-color-comment-tag: var(--dark-color-background);
66
-
67
- --dark-color-link: #00aff4;
68
- --dark-color-focus-outline: #4c97f2;
69
-
70
- --dark-color-ts-keyword: #3399ff;
71
- --dark-color-ts-project: #e358ff;
72
- --dark-color-ts-module: var(--dark-color-ts-project);
73
- --dark-color-ts-namespace: var(--dark-color-ts-project);
74
- --dark-color-ts-enum: #f4d93e;
75
- --dark-color-ts-enum-member: var(--dark-color-ts-enum);
76
- --dark-color-ts-variable: #798dff;
77
- --dark-color-ts-function: #a280ff;
78
- --dark-color-ts-class: #8ac4ff;
79
- --dark-color-ts-interface: #6cff87;
80
- --dark-color-ts-constructor: #4d7fff;
81
- --dark-color-ts-property: #ff984d;
82
- --dark-color-ts-method: #ff4db8;
83
- --dark-color-ts-reference: #ff4d82;
84
- --dark-color-ts-call-signature: var(--dark-color-ts-method);
85
- --dark-color-ts-index-signature: var(--dark-color-ts-property);
86
- --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
87
- --dark-color-ts-parameter: var(--dark-color-ts-variable);
88
- /* type literal not included as links will never be generated to it */
89
- --dark-color-ts-type-parameter: #e07d13;
90
- --dark-color-ts-accessor: #ff4d4d;
91
- --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
92
- --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
93
- --dark-color-ts-type-alias: #ff6492;
94
- /* reference not included as links will be colored with the kind that it points to */
95
- --dark-color-document: #ffffff;
96
-
97
- --dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
98
- --dark-color-scheme: dark;
99
- }
1
+ @layer typedoc {
2
+ :root {
3
+ --dim-toolbar-contents-height: 2.5rem;
4
+ --dim-toolbar-border-bottom-width: 1px;
5
+ --dim-header-height: calc(
6
+ var(--dim-toolbar-border-bottom-width) +
7
+ var(--dim-toolbar-contents-height)
8
+ );
9
+
10
+ /* 0rem For mobile; unit is required for calculation in `calc` */
11
+ --dim-container-main-margin-y: 0rem;
12
+
13
+ --dim-footer-height: 3.5rem;
14
+
15
+ --modal-animation-duration: 0.2s;
16
+ }
17
+
18
+ :root {
19
+ /* Light */
20
+ --light-color-background: #f2f4f8;
21
+ --light-color-background-secondary: #eff0f1;
22
+ /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */
23
+ --light-color-background-active: #d6d8da;
24
+ --light-color-background-warning: #e6e600;
25
+ --light-color-warning-text: #222;
26
+ --light-color-accent: #c5c7c9;
27
+ --light-color-active-menu-item: var(--light-color-background-active);
28
+ --light-color-text: #222;
29
+ --light-color-contrast-text: #000;
30
+ --light-color-text-aside: #5e5e5e;
31
+
32
+ --light-color-icon-background: var(--light-color-background);
33
+ --light-color-icon-text: var(--light-color-text);
34
+
35
+ --light-color-comment-tag-text: var(--light-color-text);
36
+ --light-color-comment-tag: var(--light-color-background);
37
+
38
+ --light-color-link: #1f70c2;
39
+ --light-color-focus-outline: #3584e4;
40
+
41
+ --light-color-ts-keyword: #056bd6;
42
+ --light-color-ts-project: #b111c9;
43
+ --light-color-ts-module: var(--light-color-ts-project);
44
+ --light-color-ts-namespace: var(--light-color-ts-project);
45
+ --light-color-ts-enum: #7e6f15;
46
+ --light-color-ts-enum-member: var(--light-color-ts-enum);
47
+ --light-color-ts-variable: #4760ec;
48
+ --light-color-ts-function: #572be7;
49
+ --light-color-ts-class: #1f70c2;
50
+ --light-color-ts-interface: #108024;
51
+ --light-color-ts-constructor: var(--light-color-ts-class);
52
+ --light-color-ts-property: #9f5f30;
53
+ --light-color-ts-method: #be3989;
54
+ --light-color-ts-reference: #ff4d82;
55
+ --light-color-ts-call-signature: var(--light-color-ts-method);
56
+ --light-color-ts-index-signature: var(--light-color-ts-property);
57
+ --light-color-ts-constructor-signature: var(
58
+ --light-color-ts-constructor
59
+ );
60
+ --light-color-ts-parameter: var(--light-color-ts-variable);
61
+ /* type literal not included as links will never be generated to it */
62
+ --light-color-ts-type-parameter: #a55c0e;
63
+ --light-color-ts-accessor: #c73c3c;
64
+ --light-color-ts-get-signature: var(--light-color-ts-accessor);
65
+ --light-color-ts-set-signature: var(--light-color-ts-accessor);
66
+ --light-color-ts-type-alias: #d51270;
67
+ /* reference not included as links will be colored with the kind that it points to */
68
+ --light-color-document: #000000;
69
+
70
+ --light-color-alert-note: #0969d9;
71
+ --light-color-alert-tip: #1a7f37;
72
+ --light-color-alert-important: #8250df;
73
+ --light-color-alert-warning: #9a6700;
74
+ --light-color-alert-caution: #cf222e;
75
+
76
+ --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
77
+ --light-color-scheme: light;
78
+ }
100
79
 
101
- @media (prefers-color-scheme: light) {
102
80
  :root {
81
+ /* Dark */
82
+ --dark-color-background: #2b2e33;
83
+ --dark-color-background-secondary: #1e2024;
84
+ /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */
85
+ --dark-color-background-active: #5d5d6a;
86
+ --dark-color-background-warning: #bebe00;
87
+ --dark-color-warning-text: #222;
88
+ --dark-color-accent: #9096a2;
89
+ --dark-color-active-menu-item: var(--dark-color-background-active);
90
+ --dark-color-text: #f5f5f5;
91
+ --dark-color-contrast-text: #ffffff;
92
+ --dark-color-text-aside: #dddddd;
93
+
94
+ --dark-color-icon-background: var(--dark-color-background-secondary);
95
+ --dark-color-icon-text: var(--dark-color-text);
96
+
97
+ --dark-color-comment-tag-text: var(--dark-color-text);
98
+ --dark-color-comment-tag: var(--dark-color-background);
99
+
100
+ --dark-color-link: #00aff4;
101
+ --dark-color-focus-outline: #4c97f2;
102
+
103
+ --dark-color-ts-keyword: #3399ff;
104
+ --dark-color-ts-project: #e358ff;
105
+ --dark-color-ts-module: var(--dark-color-ts-project);
106
+ --dark-color-ts-namespace: var(--dark-color-ts-project);
107
+ --dark-color-ts-enum: #f4d93e;
108
+ --dark-color-ts-enum-member: var(--dark-color-ts-enum);
109
+ --dark-color-ts-variable: #798dff;
110
+ --dark-color-ts-function: #a280ff;
111
+ --dark-color-ts-class: #8ac4ff;
112
+ --dark-color-ts-interface: #6cff87;
113
+ --dark-color-ts-constructor: var(--dark-color-ts-class);
114
+ --dark-color-ts-property: #ff984d;
115
+ --dark-color-ts-method: #ff4db8;
116
+ --dark-color-ts-reference: #ff4d82;
117
+ --dark-color-ts-call-signature: var(--dark-color-ts-method);
118
+ --dark-color-ts-index-signature: var(--dark-color-ts-property);
119
+ --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
120
+ --dark-color-ts-parameter: var(--dark-color-ts-variable);
121
+ /* type literal not included as links will never be generated to it */
122
+ --dark-color-ts-type-parameter: #e07d13;
123
+ --dark-color-ts-accessor: #ff6060;
124
+ --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
125
+ --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
126
+ --dark-color-ts-type-alias: #ff6492;
127
+ /* reference not included as links will be colored with the kind that it points to */
128
+ --dark-color-document: #ffffff;
129
+
130
+ --dark-color-alert-note: #0969d9;
131
+ --dark-color-alert-tip: #1a7f37;
132
+ --dark-color-alert-important: #8250df;
133
+ --dark-color-alert-warning: #9a6700;
134
+ --dark-color-alert-caution: #cf222e;
135
+
136
+ --dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
137
+ --dark-color-scheme: dark;
138
+ }
139
+
140
+ @media (prefers-color-scheme: light) {
141
+ :root {
142
+ --color-background: var(--light-color-background);
143
+ --color-background-secondary: var(
144
+ --light-color-background-secondary
145
+ );
146
+ --color-background-active: var(--light-color-background-active);
147
+ --color-background-warning: var(--light-color-background-warning);
148
+ --color-warning-text: var(--light-color-warning-text);
149
+ --color-accent: var(--light-color-accent);
150
+ --color-active-menu-item: var(--light-color-active-menu-item);
151
+ --color-text: var(--light-color-text);
152
+ --color-contrast-text: var(--light-color-contrast-text);
153
+ --color-text-aside: var(--light-color-text-aside);
154
+
155
+ --color-icon-background: var(--light-color-icon-background);
156
+ --color-icon-text: var(--light-color-icon-text);
157
+
158
+ --color-comment-tag-text: var(--light-color-text);
159
+ --color-comment-tag: var(--light-color-background);
160
+
161
+ --color-link: var(--light-color-link);
162
+ --color-focus-outline: var(--light-color-focus-outline);
163
+
164
+ --color-ts-keyword: var(--light-color-ts-keyword);
165
+ --color-ts-project: var(--light-color-ts-project);
166
+ --color-ts-module: var(--light-color-ts-module);
167
+ --color-ts-namespace: var(--light-color-ts-namespace);
168
+ --color-ts-enum: var(--light-color-ts-enum);
169
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
170
+ --color-ts-variable: var(--light-color-ts-variable);
171
+ --color-ts-function: var(--light-color-ts-function);
172
+ --color-ts-class: var(--light-color-ts-class);
173
+ --color-ts-interface: var(--light-color-ts-interface);
174
+ --color-ts-constructor: var(--light-color-ts-constructor);
175
+ --color-ts-property: var(--light-color-ts-property);
176
+ --color-ts-method: var(--light-color-ts-method);
177
+ --color-ts-reference: var(--light-color-ts-reference);
178
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
179
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
180
+ --color-ts-constructor-signature: var(
181
+ --light-color-ts-constructor-signature
182
+ );
183
+ --color-ts-parameter: var(--light-color-ts-parameter);
184
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
185
+ --color-ts-accessor: var(--light-color-ts-accessor);
186
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
187
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
188
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
189
+ --color-document: var(--light-color-document);
190
+
191
+ --color-alert-note: var(--light-color-alert-note);
192
+ --color-alert-tip: var(--light-color-alert-tip);
193
+ --color-alert-important: var(--light-color-alert-important);
194
+ --color-alert-warning: var(--light-color-alert-warning);
195
+ --color-alert-caution: var(--light-color-alert-caution);
196
+
197
+ --external-icon: var(--light-external-icon);
198
+ --color-scheme: var(--light-color-scheme);
199
+ }
200
+ }
201
+
202
+ @media (prefers-color-scheme: dark) {
203
+ :root {
204
+ --color-background: var(--dark-color-background);
205
+ --color-background-secondary: var(
206
+ --dark-color-background-secondary
207
+ );
208
+ --color-background-active: var(--dark-color-background-active);
209
+ --color-background-warning: var(--dark-color-background-warning);
210
+ --color-warning-text: var(--dark-color-warning-text);
211
+ --color-accent: var(--dark-color-accent);
212
+ --color-active-menu-item: var(--dark-color-active-menu-item);
213
+ --color-text: var(--dark-color-text);
214
+ --color-contrast-text: var(--dark-color-contrast-text);
215
+ --color-text-aside: var(--dark-color-text-aside);
216
+
217
+ --color-icon-background: var(--dark-color-icon-background);
218
+ --color-icon-text: var(--dark-color-icon-text);
219
+
220
+ --color-comment-tag-text: var(--dark-color-text);
221
+ --color-comment-tag: var(--dark-color-background);
222
+
223
+ --color-link: var(--dark-color-link);
224
+ --color-focus-outline: var(--dark-color-focus-outline);
225
+
226
+ --color-ts-keyword: var(--dark-color-ts-keyword);
227
+ --color-ts-project: var(--dark-color-ts-project);
228
+ --color-ts-module: var(--dark-color-ts-module);
229
+ --color-ts-namespace: var(--dark-color-ts-namespace);
230
+ --color-ts-enum: var(--dark-color-ts-enum);
231
+ --color-ts-enum-member: var(--dark-color-ts-enum-member);
232
+ --color-ts-variable: var(--dark-color-ts-variable);
233
+ --color-ts-function: var(--dark-color-ts-function);
234
+ --color-ts-class: var(--dark-color-ts-class);
235
+ --color-ts-interface: var(--dark-color-ts-interface);
236
+ --color-ts-constructor: var(--dark-color-ts-constructor);
237
+ --color-ts-property: var(--dark-color-ts-property);
238
+ --color-ts-method: var(--dark-color-ts-method);
239
+ --color-ts-reference: var(--dark-color-ts-reference);
240
+ --color-ts-call-signature: var(--dark-color-ts-call-signature);
241
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
242
+ --color-ts-constructor-signature: var(
243
+ --dark-color-ts-constructor-signature
244
+ );
245
+ --color-ts-parameter: var(--dark-color-ts-parameter);
246
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
247
+ --color-ts-accessor: var(--dark-color-ts-accessor);
248
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
249
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
250
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
251
+ --color-document: var(--dark-color-document);
252
+
253
+ --color-alert-note: var(--dark-color-alert-note);
254
+ --color-alert-tip: var(--dark-color-alert-tip);
255
+ --color-alert-important: var(--dark-color-alert-important);
256
+ --color-alert-warning: var(--dark-color-alert-warning);
257
+ --color-alert-caution: var(--dark-color-alert-caution);
258
+
259
+ --external-icon: var(--dark-external-icon);
260
+ --color-scheme: var(--dark-color-scheme);
261
+ }
262
+ }
263
+
264
+ :root[data-theme="light"] {
103
265
  --color-background: var(--light-color-background);
104
266
  --color-background-secondary: var(--light-color-background-secondary);
267
+ --color-background-active: var(--light-color-background-active);
105
268
  --color-background-warning: var(--light-color-background-warning);
106
269
  --color-warning-text: var(--light-color-warning-text);
270
+ --color-icon-background: var(--light-color-icon-background);
107
271
  --color-accent: var(--light-color-accent);
108
272
  --color-active-menu-item: var(--light-color-active-menu-item);
109
273
  --color-text: var(--light-color-text);
274
+ --color-contrast-text: var(--light-color-contrast-text);
110
275
  --color-text-aside: var(--light-color-text-aside);
111
-
112
- --color-icon-background: var(--light-color-icon-background);
113
276
  --color-icon-text: var(--light-color-icon-text);
114
277
 
115
278
  --color-comment-tag-text: var(--light-color-text);
@@ -145,23 +308,28 @@
145
308
  --color-ts-type-alias: var(--light-color-ts-type-alias);
146
309
  --color-document: var(--light-color-document);
147
310
 
311
+ --color-note: var(--light-color-note);
312
+ --color-tip: var(--light-color-tip);
313
+ --color-important: var(--light-color-important);
314
+ --color-warning: var(--light-color-warning);
315
+ --color-caution: var(--light-color-caution);
316
+
148
317
  --external-icon: var(--light-external-icon);
149
318
  --color-scheme: var(--light-color-scheme);
150
319
  }
151
- }
152
320
 
153
- @media (prefers-color-scheme: dark) {
154
- :root {
321
+ :root[data-theme="dark"] {
155
322
  --color-background: var(--dark-color-background);
156
323
  --color-background-secondary: var(--dark-color-background-secondary);
324
+ --color-background-active: var(--dark-color-background-active);
157
325
  --color-background-warning: var(--dark-color-background-warning);
158
326
  --color-warning-text: var(--dark-color-warning-text);
327
+ --color-icon-background: var(--dark-color-icon-background);
159
328
  --color-accent: var(--dark-color-accent);
160
329
  --color-active-menu-item: var(--dark-color-active-menu-item);
161
330
  --color-text: var(--dark-color-text);
331
+ --color-contrast-text: var(--dark-color-contrast-text);
162
332
  --color-text-aside: var(--dark-color-text-aside);
163
-
164
- --color-icon-background: var(--dark-color-icon-background);
165
333
  --color-icon-text: var(--dark-color-icon-text);
166
334
 
167
335
  --color-comment-tag-text: var(--dark-color-text);
@@ -197,1297 +365,1269 @@
197
365
  --color-ts-type-alias: var(--dark-color-ts-type-alias);
198
366
  --color-document: var(--dark-color-document);
199
367
 
368
+ --color-note: var(--dark-color-note);
369
+ --color-tip: var(--dark-color-tip);
370
+ --color-important: var(--dark-color-important);
371
+ --color-warning: var(--dark-color-warning);
372
+ --color-caution: var(--dark-color-caution);
373
+
200
374
  --external-icon: var(--dark-external-icon);
201
375
  --color-scheme: var(--dark-color-scheme);
202
376
  }
203
- }
204
377
 
205
- html {
206
- color-scheme: var(--color-scheme);
207
- }
378
+ html {
379
+ color-scheme: var(--color-scheme);
380
+ @media (prefers-reduced-motion: no-preference) {
381
+ scroll-behavior: smooth;
382
+ }
383
+ }
208
384
 
209
- body {
210
- margin: 0;
211
- }
385
+ *:focus-visible,
386
+ .tsd-accordion-summary:focus-visible svg {
387
+ outline: 2px solid var(--color-focus-outline);
388
+ }
212
389
 
213
- :root[data-theme="light"] {
214
- --color-background: var(--light-color-background);
215
- --color-background-secondary: var(--light-color-background-secondary);
216
- --color-background-warning: var(--light-color-background-warning);
217
- --color-warning-text: var(--light-color-warning-text);
218
- --color-icon-background: var(--light-color-icon-background);
219
- --color-accent: var(--light-color-accent);
220
- --color-active-menu-item: var(--light-color-active-menu-item);
221
- --color-text: var(--light-color-text);
222
- --color-text-aside: var(--light-color-text-aside);
223
- --color-icon-text: var(--light-color-icon-text);
224
-
225
- --color-comment-tag-text: var(--light-color-text);
226
- --color-comment-tag: var(--light-color-background);
227
-
228
- --color-link: var(--light-color-link);
229
- --color-focus-outline: var(--light-color-focus-outline);
230
-
231
- --color-ts-keyword: var(--light-color-ts-keyword);
232
- --color-ts-project: var(--light-color-ts-project);
233
- --color-ts-module: var(--light-color-ts-module);
234
- --color-ts-namespace: var(--light-color-ts-namespace);
235
- --color-ts-enum: var(--light-color-ts-enum);
236
- --color-ts-enum-member: var(--light-color-ts-enum-member);
237
- --color-ts-variable: var(--light-color-ts-variable);
238
- --color-ts-function: var(--light-color-ts-function);
239
- --color-ts-class: var(--light-color-ts-class);
240
- --color-ts-interface: var(--light-color-ts-interface);
241
- --color-ts-constructor: var(--light-color-ts-constructor);
242
- --color-ts-property: var(--light-color-ts-property);
243
- --color-ts-method: var(--light-color-ts-method);
244
- --color-ts-reference: var(--light-color-ts-reference);
245
- --color-ts-call-signature: var(--light-color-ts-call-signature);
246
- --color-ts-index-signature: var(--light-color-ts-index-signature);
247
- --color-ts-constructor-signature: var(
248
- --light-color-ts-constructor-signature
249
- );
250
- --color-ts-parameter: var(--light-color-ts-parameter);
251
- --color-ts-type-parameter: var(--light-color-ts-type-parameter);
252
- --color-ts-accessor: var(--light-color-ts-accessor);
253
- --color-ts-get-signature: var(--light-color-ts-get-signature);
254
- --color-ts-set-signature: var(--light-color-ts-set-signature);
255
- --color-ts-type-alias: var(--light-color-ts-type-alias);
256
- --color-document: var(--light-color-document);
257
-
258
- --external-icon: var(--light-external-icon);
259
- --color-scheme: var(--light-color-scheme);
260
- }
390
+ .always-visible,
391
+ .always-visible .tsd-signatures {
392
+ display: inherit !important;
393
+ }
261
394
 
262
- :root[data-theme="dark"] {
263
- --color-background: var(--dark-color-background);
264
- --color-background-secondary: var(--dark-color-background-secondary);
265
- --color-background-warning: var(--dark-color-background-warning);
266
- --color-warning-text: var(--dark-color-warning-text);
267
- --color-icon-background: var(--dark-color-icon-background);
268
- --color-accent: var(--dark-color-accent);
269
- --color-active-menu-item: var(--dark-color-active-menu-item);
270
- --color-text: var(--dark-color-text);
271
- --color-text-aside: var(--dark-color-text-aside);
272
- --color-icon-text: var(--dark-color-icon-text);
273
-
274
- --color-comment-tag-text: var(--dark-color-text);
275
- --color-comment-tag: var(--dark-color-background);
276
-
277
- --color-link: var(--dark-color-link);
278
- --color-focus-outline: var(--dark-color-focus-outline);
279
-
280
- --color-ts-keyword: var(--dark-color-ts-keyword);
281
- --color-ts-project: var(--dark-color-ts-project);
282
- --color-ts-module: var(--dark-color-ts-module);
283
- --color-ts-namespace: var(--dark-color-ts-namespace);
284
- --color-ts-enum: var(--dark-color-ts-enum);
285
- --color-ts-enum-member: var(--dark-color-ts-enum-member);
286
- --color-ts-variable: var(--dark-color-ts-variable);
287
- --color-ts-function: var(--dark-color-ts-function);
288
- --color-ts-class: var(--dark-color-ts-class);
289
- --color-ts-interface: var(--dark-color-ts-interface);
290
- --color-ts-constructor: var(--dark-color-ts-constructor);
291
- --color-ts-property: var(--dark-color-ts-property);
292
- --color-ts-method: var(--dark-color-ts-method);
293
- --color-ts-reference: var(--dark-color-ts-reference);
294
- --color-ts-call-signature: var(--dark-color-ts-call-signature);
295
- --color-ts-index-signature: var(--dark-color-ts-index-signature);
296
- --color-ts-constructor-signature: var(
297
- --dark-color-ts-constructor-signature
298
- );
299
- --color-ts-parameter: var(--dark-color-ts-parameter);
300
- --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
301
- --color-ts-accessor: var(--dark-color-ts-accessor);
302
- --color-ts-get-signature: var(--dark-color-ts-get-signature);
303
- --color-ts-set-signature: var(--dark-color-ts-set-signature);
304
- --color-ts-type-alias: var(--dark-color-ts-type-alias);
305
- --color-document: var(--dark-color-document);
306
-
307
- --external-icon: var(--dark-external-icon);
308
- --color-scheme: var(--dark-color-scheme);
309
- }
395
+ h1,
396
+ h2,
397
+ h3,
398
+ h4,
399
+ h5,
400
+ h6 {
401
+ line-height: 1.2;
402
+ }
310
403
 
311
- *:focus-visible,
312
- .tsd-accordion-summary:focus-visible svg {
313
- outline: 2px solid var(--color-focus-outline);
314
- }
404
+ h1 {
405
+ font-size: 1.875rem;
406
+ margin: 0.67rem 0;
407
+ }
315
408
 
316
- .always-visible,
317
- .always-visible .tsd-signatures {
318
- display: inherit !important;
319
- }
409
+ h2 {
410
+ font-size: 1.5rem;
411
+ margin: 0.83rem 0;
412
+ }
320
413
 
321
- h1,
322
- h2,
323
- h3,
324
- h4,
325
- h5,
326
- h6 {
327
- line-height: 1.2;
328
- }
414
+ h3 {
415
+ font-size: 1.25rem;
416
+ margin: 1rem 0;
417
+ }
329
418
 
330
- h1 {
331
- font-size: 1.875rem;
332
- margin: 0.67rem 0;
333
- }
419
+ h4 {
420
+ font-size: 1.05rem;
421
+ margin: 1.33rem 0;
422
+ }
334
423
 
335
- h2 {
336
- font-size: 1.5rem;
337
- margin: 0.83rem 0;
338
- }
424
+ h5 {
425
+ font-size: 1rem;
426
+ margin: 1.5rem 0;
427
+ }
339
428
 
340
- h3 {
341
- font-size: 1.25rem;
342
- margin: 1rem 0;
343
- }
429
+ h6 {
430
+ font-size: 0.875rem;
431
+ margin: 2.33rem 0;
432
+ }
344
433
 
345
- h4 {
346
- font-size: 1.05rem;
347
- margin: 1.33rem 0;
348
- }
434
+ dl,
435
+ menu,
436
+ ol,
437
+ ul {
438
+ margin: 1em 0;
439
+ }
349
440
 
350
- h5 {
351
- font-size: 1rem;
352
- margin: 1.5rem 0;
353
- }
441
+ dd {
442
+ margin: 0 0 0 34px;
443
+ }
354
444
 
355
- h6 {
356
- font-size: 0.875rem;
357
- margin: 2.33rem 0;
358
- }
445
+ .container {
446
+ max-width: 1700px;
447
+ padding: 0 2rem;
448
+ }
359
449
 
360
- dl,
361
- menu,
362
- ol,
363
- ul {
364
- margin: 1em 0;
365
- }
450
+ /* Footer */
451
+ footer {
452
+ border-top: 1px solid var(--color-accent);
453
+ padding-top: 1rem;
454
+ padding-bottom: 1rem;
455
+ max-height: var(--dim-footer-height);
456
+ }
457
+ footer > p {
458
+ margin: 0 1em;
459
+ }
366
460
 
367
- dd {
368
- margin: 0 0 0 40px;
369
- }
461
+ .container-main {
462
+ margin: var(--dim-container-main-margin-y) auto;
463
+ /* toolbar, footer, margin */
464
+ min-height: calc(
465
+ 100svh - var(--dim-header-height) - var(--dim-footer-height) -
466
+ 2 * var(--dim-container-main-margin-y)
467
+ );
468
+ }
370
469
 
371
- .container {
372
- max-width: 1700px;
373
- padding: 0 2rem;
374
- }
470
+ @keyframes fade-in {
471
+ from {
472
+ opacity: 0;
473
+ }
474
+ to {
475
+ opacity: 1;
476
+ }
477
+ }
478
+ @keyframes fade-out {
479
+ from {
480
+ opacity: 1;
481
+ visibility: visible;
482
+ }
483
+ to {
484
+ opacity: 0;
485
+ }
486
+ }
487
+ @keyframes pop-in-from-right {
488
+ from {
489
+ transform: translate(100%, 0);
490
+ }
491
+ to {
492
+ transform: translate(0, 0);
493
+ }
494
+ }
495
+ @keyframes pop-out-to-right {
496
+ from {
497
+ transform: translate(0, 0);
498
+ visibility: visible;
499
+ }
500
+ to {
501
+ transform: translate(100%, 0);
502
+ }
503
+ }
504
+ body {
505
+ background: var(--color-background);
506
+ font-family:
507
+ -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
508
+ Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
509
+ font-size: 16px;
510
+ color: var(--color-text);
511
+ margin: 0;
512
+ }
375
513
 
376
- /* Footer */
377
- footer {
378
- border-top: 1px solid var(--color-accent);
379
- padding-top: 1rem;
380
- padding-bottom: 1rem;
381
- max-height: 3.5rem;
382
- }
383
- footer > p {
384
- margin: 0 1em;
385
- }
514
+ a {
515
+ color: var(--color-link);
516
+ text-decoration: none;
517
+ }
518
+ a:hover {
519
+ text-decoration: underline;
520
+ }
521
+ a.external[target="_blank"] {
522
+ background-image: var(--external-icon);
523
+ background-position: top 3px right;
524
+ background-repeat: no-repeat;
525
+ padding-right: 13px;
526
+ }
527
+ a.tsd-anchor-link {
528
+ color: var(--color-text);
529
+ }
530
+ :target {
531
+ scroll-margin-block: calc(var(--dim-header-height) + 0.5rem);
532
+ }
386
533
 
387
- .container-main {
388
- margin: 0 auto;
389
- /* toolbar, footer, margin */
390
- min-height: calc(100vh - 41px - 56px - 4rem);
391
- }
534
+ code,
535
+ pre {
536
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
537
+ padding: 0.2em;
538
+ margin: 0;
539
+ font-size: 0.875rem;
540
+ border-radius: 0.8em;
541
+ }
392
542
 
393
- @keyframes fade-in {
394
- from {
543
+ pre {
544
+ position: relative;
545
+ white-space: pre-wrap;
546
+ word-wrap: break-word;
547
+ padding: 10px;
548
+ border: 1px solid var(--color-accent);
549
+ margin-bottom: 8px;
550
+ }
551
+ pre code {
552
+ padding: 0;
553
+ font-size: 100%;
554
+ }
555
+ pre > button {
556
+ position: absolute;
557
+ top: 10px;
558
+ right: 10px;
395
559
  opacity: 0;
560
+ transition: opacity 0.1s;
561
+ box-sizing: border-box;
396
562
  }
397
- to {
563
+ pre:hover > button,
564
+ pre > button.visible,
565
+ pre > button:focus-visible {
398
566
  opacity: 1;
399
567
  }
400
- }
401
- @keyframes fade-out {
402
- from {
403
- opacity: 1;
404
- visibility: visible;
568
+
569
+ blockquote {
570
+ margin: 1em 0;
571
+ padding-left: 1em;
572
+ border-left: 4px solid gray;
405
573
  }
406
- to {
407
- opacity: 0;
574
+
575
+ img {
576
+ max-width: 100%;
408
577
  }
409
- }
410
- @keyframes fade-in-delayed {
411
- 0% {
412
- opacity: 0;
578
+
579
+ * {
580
+ scrollbar-width: thin;
581
+ scrollbar-color: var(--color-accent) var(--color-icon-background);
413
582
  }
414
- 33% {
415
- opacity: 0;
583
+
584
+ *::-webkit-scrollbar {
585
+ width: 0.75rem;
416
586
  }
417
- 100% {
418
- opacity: 1;
587
+
588
+ *::-webkit-scrollbar-track {
589
+ background: var(--color-icon-background);
419
590
  }
420
- }
421
- @keyframes fade-out-delayed {
422
- 0% {
423
- opacity: 1;
424
- visibility: visible;
591
+
592
+ *::-webkit-scrollbar-thumb {
593
+ background-color: var(--color-accent);
594
+ border-radius: 999rem;
595
+ border: 0.25rem solid var(--color-icon-background);
425
596
  }
426
- 66% {
427
- opacity: 0;
597
+
598
+ dialog {
599
+ border: none;
600
+ outline: none;
601
+ padding: 0;
602
+ background-color: var(--color-background);
428
603
  }
429
- 100% {
430
- opacity: 0;
604
+ dialog::backdrop {
605
+ display: none;
431
606
  }
432
- }
433
- @keyframes pop-in-from-right {
434
- from {
435
- transform: translate(100%, 0);
607
+ #tsd-overlay {
608
+ background-color: rgba(0, 0, 0, 0.5);
609
+ position: fixed;
610
+ z-index: 9999;
611
+ top: 0;
612
+ left: 0;
613
+ right: 0;
614
+ bottom: 0;
615
+ animation: fade-in var(--modal-animation-duration) forwards;
436
616
  }
437
- to {
438
- transform: translate(0, 0);
617
+ #tsd-overlay.closing {
618
+ animation-name: fade-out;
439
619
  }
440
- }
441
- @keyframes pop-out-to-right {
442
- from {
443
- transform: translate(0, 0);
444
- visibility: visible;
620
+
621
+ .tsd-typography {
622
+ line-height: 1.333em;
445
623
  }
446
- to {
447
- transform: translate(100%, 0);
624
+ .tsd-typography ul {
625
+ list-style: square;
626
+ padding: 0 0 0 20px;
627
+ margin: 0;
628
+ }
629
+ .tsd-typography .tsd-index-panel h3,
630
+ .tsd-index-panel .tsd-typography h3,
631
+ .tsd-typography h4,
632
+ .tsd-typography h5,
633
+ .tsd-typography h6 {
634
+ font-size: 1em;
635
+ }
636
+ .tsd-typography h5,
637
+ .tsd-typography h6 {
638
+ font-weight: normal;
639
+ }
640
+ .tsd-typography p,
641
+ .tsd-typography ul,
642
+ .tsd-typography ol {
643
+ margin: 1em 0;
644
+ }
645
+ .tsd-typography table {
646
+ border-collapse: collapse;
647
+ border: none;
648
+ }
649
+ .tsd-typography td,
650
+ .tsd-typography th {
651
+ padding: 6px 13px;
652
+ border: 1px solid var(--color-accent);
653
+ }
654
+ .tsd-typography thead,
655
+ .tsd-typography tr:nth-child(even) {
656
+ background-color: var(--color-background-secondary);
448
657
  }
449
- }
450
- body {
451
- background: var(--color-background);
452
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
453
- Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
454
- font-size: 16px;
455
- color: var(--color-text);
456
- }
457
-
458
- a {
459
- color: var(--color-link);
460
- text-decoration: none;
461
- }
462
- a:hover {
463
- text-decoration: underline;
464
- }
465
- a.external[target="_blank"] {
466
- background-image: var(--external-icon);
467
- background-position: top 3px right;
468
- background-repeat: no-repeat;
469
- padding-right: 13px;
470
- }
471
- a.tsd-anchor-link {
472
- color: var(--color-text);
473
- }
474
-
475
- code,
476
- pre {
477
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
478
- padding: 0.2em;
479
- margin: 0;
480
- font-size: 0.875rem;
481
- border-radius: 0.8em;
482
- }
483
658
 
484
- pre {
485
- position: relative;
486
- white-space: pre-wrap;
487
- word-wrap: break-word;
488
- padding: 10px;
489
- border: 1px solid var(--color-accent);
490
- }
491
- pre code {
492
- padding: 0;
493
- font-size: 100%;
494
- }
495
- pre > button {
496
- position: absolute;
497
- top: 10px;
498
- right: 10px;
499
- opacity: 0;
500
- transition: opacity 0.1s;
501
- box-sizing: border-box;
502
- }
503
- pre:hover > button,
504
- pre > button.visible {
505
- opacity: 1;
506
- }
659
+ .tsd-alert {
660
+ padding: 8px 16px;
661
+ margin-bottom: 16px;
662
+ border-left: 0.25em solid var(--alert-color);
663
+ }
664
+ .tsd-alert blockquote > :last-child,
665
+ .tsd-alert > :last-child {
666
+ margin-bottom: 0;
667
+ }
668
+ .tsd-alert-title {
669
+ color: var(--alert-color);
670
+ display: inline-flex;
671
+ align-items: center;
672
+ }
673
+ .tsd-alert-title span {
674
+ margin-left: 4px;
675
+ }
507
676
 
508
- blockquote {
509
- margin: 1em 0;
510
- padding-left: 1em;
511
- border-left: 4px solid gray;
512
- }
677
+ .tsd-alert-note {
678
+ --alert-color: var(--color-alert-note);
679
+ }
680
+ .tsd-alert-tip {
681
+ --alert-color: var(--color-alert-tip);
682
+ }
683
+ .tsd-alert-important {
684
+ --alert-color: var(--color-alert-important);
685
+ }
686
+ .tsd-alert-warning {
687
+ --alert-color: var(--color-alert-warning);
688
+ }
689
+ .tsd-alert-caution {
690
+ --alert-color: var(--color-alert-caution);
691
+ }
513
692
 
514
- .tsd-typography {
515
- line-height: 1.333em;
516
- }
517
- .tsd-typography ul {
518
- list-style: square;
519
- padding: 0 0 0 20px;
520
- margin: 0;
521
- }
522
- .tsd-typography .tsd-index-panel h3,
523
- .tsd-index-panel .tsd-typography h3,
524
- .tsd-typography h4,
525
- .tsd-typography h5,
526
- .tsd-typography h6 {
527
- font-size: 1em;
528
- }
529
- .tsd-typography h5,
530
- .tsd-typography h6 {
531
- font-weight: normal;
532
- }
533
- .tsd-typography p,
534
- .tsd-typography ul,
535
- .tsd-typography ol {
536
- margin: 1em 0;
537
- }
538
- .tsd-typography table {
539
- border-collapse: collapse;
540
- border: none;
541
- }
542
- .tsd-typography td,
543
- .tsd-typography th {
544
- padding: 6px 13px;
545
- border: 1px solid var(--color-accent);
546
- }
547
- .tsd-typography thead,
548
- .tsd-typography tr:nth-child(even) {
549
- background-color: var(--color-background-secondary);
550
- }
693
+ .tsd-breadcrumb {
694
+ margin: 0;
695
+ margin-top: 1rem;
696
+ padding: 0;
697
+ color: var(--color-text-aside);
698
+ }
699
+ .tsd-breadcrumb a {
700
+ color: var(--color-text-aside);
701
+ text-decoration: none;
702
+ }
703
+ .tsd-breadcrumb a:hover {
704
+ text-decoration: underline;
705
+ }
706
+ .tsd-breadcrumb li {
707
+ display: inline;
708
+ }
709
+ .tsd-breadcrumb li:after {
710
+ content: " / ";
711
+ }
551
712
 
552
- .tsd-breadcrumb {
553
- margin: 0;
554
- padding: 0;
555
- color: var(--color-text-aside);
556
- }
557
- .tsd-breadcrumb a {
558
- color: var(--color-text-aside);
559
- text-decoration: none;
560
- }
561
- .tsd-breadcrumb a:hover {
562
- text-decoration: underline;
563
- }
564
- .tsd-breadcrumb li {
565
- display: inline;
566
- }
567
- .tsd-breadcrumb li:after {
568
- content: " / ";
569
- }
713
+ .tsd-comment-tags {
714
+ display: flex;
715
+ flex-direction: column;
716
+ }
717
+ dl.tsd-comment-tag-group {
718
+ display: flex;
719
+ align-items: center;
720
+ overflow: hidden;
721
+ margin: 0.5em 0;
722
+ }
723
+ dl.tsd-comment-tag-group dt {
724
+ display: flex;
725
+ margin-right: 0.5em;
726
+ font-size: 0.875em;
727
+ font-weight: normal;
728
+ }
729
+ dl.tsd-comment-tag-group dd {
730
+ margin: 0;
731
+ }
732
+ code.tsd-tag {
733
+ padding: 0.25em 0.4em;
734
+ border: 0.1em solid var(--color-accent);
735
+ margin-right: 0.25em;
736
+ font-size: 70%;
737
+ }
738
+ h1 code.tsd-tag:first-of-type {
739
+ margin-left: 0.25em;
740
+ }
570
741
 
571
- .tsd-comment-tags {
572
- display: flex;
573
- flex-direction: column;
574
- }
575
- dl.tsd-comment-tag-group {
576
- display: flex;
577
- align-items: center;
578
- overflow: hidden;
579
- margin: 0.5em 0;
580
- }
581
- dl.tsd-comment-tag-group dt {
582
- display: flex;
583
- margin-right: 0.5em;
584
- font-size: 0.875em;
585
- font-weight: normal;
586
- }
587
- dl.tsd-comment-tag-group dd {
588
- margin: 0;
589
- }
590
- code.tsd-tag {
591
- padding: 0.25em 0.4em;
592
- border: 0.1em solid var(--color-accent);
593
- margin-right: 0.25em;
594
- font-size: 70%;
595
- }
596
- h1 code.tsd-tag:first-of-type {
597
- margin-left: 0.25em;
598
- }
742
+ dl.tsd-comment-tag-group dd:before,
743
+ dl.tsd-comment-tag-group dd:after {
744
+ content: " ";
745
+ }
746
+ dl.tsd-comment-tag-group dd pre,
747
+ dl.tsd-comment-tag-group dd:after {
748
+ clear: both;
749
+ }
750
+ dl.tsd-comment-tag-group p {
751
+ margin: 0;
752
+ }
599
753
 
600
- dl.tsd-comment-tag-group dd:before,
601
- dl.tsd-comment-tag-group dd:after {
602
- content: " ";
603
- }
604
- dl.tsd-comment-tag-group dd pre,
605
- dl.tsd-comment-tag-group dd:after {
606
- clear: both;
607
- }
608
- dl.tsd-comment-tag-group p {
609
- margin: 0;
610
- }
754
+ .tsd-panel.tsd-comment .lead {
755
+ font-size: 1.1em;
756
+ line-height: 1.333em;
757
+ margin-bottom: 2em;
758
+ }
759
+ .tsd-panel.tsd-comment .lead:last-child {
760
+ margin-bottom: 0;
761
+ }
611
762
 
612
- .tsd-panel.tsd-comment .lead {
613
- font-size: 1.1em;
614
- line-height: 1.333em;
615
- margin-bottom: 2em;
616
- }
617
- .tsd-panel.tsd-comment .lead:last-child {
618
- margin-bottom: 0;
619
- }
763
+ .tsd-filter-visibility h4 {
764
+ font-size: 1rem;
765
+ padding-top: 0.75rem;
766
+ padding-bottom: 0.5rem;
767
+ margin: 0;
768
+ }
769
+ .tsd-filter-item:not(:last-child) {
770
+ margin-bottom: 0.5rem;
771
+ }
772
+ .tsd-filter-input {
773
+ display: flex;
774
+ width: -moz-fit-content;
775
+ width: fit-content;
776
+ align-items: center;
777
+ -webkit-user-select: none;
778
+ -moz-user-select: none;
779
+ -ms-user-select: none;
780
+ user-select: none;
781
+ cursor: pointer;
782
+ }
783
+ .tsd-filter-input input[type="checkbox"] {
784
+ cursor: pointer;
785
+ position: absolute;
786
+ width: 1.5em;
787
+ height: 1.5em;
788
+ opacity: 0;
789
+ }
790
+ .tsd-filter-input input[type="checkbox"]:disabled {
791
+ pointer-events: none;
792
+ }
793
+ .tsd-filter-input svg {
794
+ cursor: pointer;
795
+ width: 1.5em;
796
+ height: 1.5em;
797
+ margin-right: 0.5em;
798
+ border-radius: 0.33em;
799
+ /* Leaving this at full opacity breaks event listeners on Firefox.
800
+ Don't remove unless you know what you're doing. */
801
+ opacity: 0.99;
802
+ }
803
+ .tsd-filter-input input[type="checkbox"]:focus-visible + svg {
804
+ outline: 2px solid var(--color-focus-outline);
805
+ }
806
+ .tsd-checkbox-background {
807
+ fill: var(--color-accent);
808
+ }
809
+ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
810
+ stroke: var(--color-text);
811
+ }
812
+ .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
813
+ fill: var(--color-background);
814
+ stroke: var(--color-accent);
815
+ stroke-width: 0.25rem;
816
+ }
817
+ .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
818
+ stroke: var(--color-accent);
819
+ }
620
820
 
621
- .tsd-filter-visibility h4 {
622
- font-size: 1rem;
623
- padding-top: 0.75rem;
624
- padding-bottom: 0.5rem;
625
- margin: 0;
626
- }
627
- .tsd-filter-item:not(:last-child) {
628
- margin-bottom: 0.5rem;
629
- }
630
- .tsd-filter-input {
631
- display: flex;
632
- width: -moz-fit-content;
633
- width: fit-content;
634
- align-items: center;
635
- -webkit-user-select: none;
636
- -moz-user-select: none;
637
- -ms-user-select: none;
638
- user-select: none;
639
- cursor: pointer;
640
- }
641
- .tsd-filter-input input[type="checkbox"] {
642
- cursor: pointer;
643
- position: absolute;
644
- width: 1.5em;
645
- height: 1.5em;
646
- opacity: 0;
647
- }
648
- .tsd-filter-input input[type="checkbox"]:disabled {
649
- pointer-events: none;
650
- }
651
- .tsd-filter-input svg {
652
- cursor: pointer;
653
- width: 1.5em;
654
- height: 1.5em;
655
- margin-right: 0.5em;
656
- border-radius: 0.33em;
657
- /* Leaving this at full opacity breaks event listeners on Firefox.
658
- Don't remove unless you know what you're doing. */
659
- opacity: 0.99;
660
- }
661
- .tsd-filter-input input[type="checkbox"]:focus-visible + svg {
662
- outline: 2px solid var(--color-focus-outline);
663
- }
664
- .tsd-checkbox-background {
665
- fill: var(--color-accent);
666
- }
667
- input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
668
- stroke: var(--color-text);
669
- }
670
- .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
671
- fill: var(--color-background);
672
- stroke: var(--color-accent);
673
- stroke-width: 0.25rem;
674
- }
675
- .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
676
- stroke: var(--color-accent);
677
- }
821
+ .settings-label {
822
+ font-weight: bold;
823
+ text-transform: uppercase;
824
+ display: inline-block;
825
+ }
678
826
 
679
- .settings-label {
680
- font-weight: bold;
681
- text-transform: uppercase;
682
- display: inline-block;
683
- }
827
+ .tsd-filter-visibility .settings-label {
828
+ margin: 0.75rem 0 0.5rem 0;
829
+ }
684
830
 
685
- .tsd-filter-visibility .settings-label {
686
- margin: 0.75rem 0 0.5rem 0;
687
- }
831
+ .tsd-theme-toggle .settings-label {
832
+ margin: 0.75rem 0.75rem 0 0;
833
+ }
688
834
 
689
- .tsd-theme-toggle .settings-label {
690
- margin: 0.75rem 0.75rem 0 0;
691
- }
835
+ .tsd-hierarchy h4 label:hover span {
836
+ text-decoration: underline;
837
+ }
692
838
 
693
- .tsd-hierarchy {
694
- list-style: square;
695
- margin: 0;
696
- }
697
- .tsd-hierarchy .target {
698
- font-weight: bold;
699
- }
839
+ .tsd-hierarchy {
840
+ list-style: square;
841
+ margin: 0;
842
+ }
843
+ .tsd-hierarchy-target {
844
+ font-weight: bold;
845
+ }
846
+ .tsd-hierarchy-toggle {
847
+ color: var(--color-link);
848
+ cursor: pointer;
849
+ }
700
850
 
701
- .tsd-full-hierarchy:not(:last-child) {
702
- margin-bottom: 1em;
703
- padding-bottom: 1em;
704
- border-bottom: 1px solid var(--color-accent);
705
- }
706
- .tsd-full-hierarchy,
707
- .tsd-full-hierarchy ul {
708
- list-style: none;
709
- margin: 0;
710
- padding: 0;
711
- }
712
- .tsd-full-hierarchy ul {
713
- padding-left: 1.5rem;
714
- }
715
- .tsd-full-hierarchy a {
716
- padding: 0.25rem 0 !important;
717
- font-size: 1rem;
718
- display: inline-flex;
719
- align-items: center;
720
- color: var(--color-text);
721
- }
851
+ .tsd-full-hierarchy:not(:last-child) {
852
+ margin-bottom: 1em;
853
+ padding-bottom: 1em;
854
+ border-bottom: 1px solid var(--color-accent);
855
+ }
856
+ .tsd-full-hierarchy,
857
+ .tsd-full-hierarchy ul {
858
+ list-style: none;
859
+ margin: 0;
860
+ padding: 0;
861
+ }
862
+ .tsd-full-hierarchy ul {
863
+ padding-left: 1.5rem;
864
+ }
865
+ .tsd-full-hierarchy a {
866
+ padding: 0.25rem 0 !important;
867
+ font-size: 1rem;
868
+ display: inline-flex;
869
+ align-items: center;
870
+ color: var(--color-text);
871
+ }
872
+ .tsd-full-hierarchy svg[data-dropdown] {
873
+ cursor: pointer;
874
+ }
875
+ .tsd-full-hierarchy svg[data-dropdown="false"] {
876
+ transform: rotate(-90deg);
877
+ }
878
+ .tsd-full-hierarchy svg[data-dropdown="false"] ~ ul {
879
+ display: none;
880
+ }
722
881
 
723
- .tsd-panel-group.tsd-index-group {
724
- margin-bottom: 0;
725
- }
726
- .tsd-index-panel .tsd-index-list {
727
- list-style: none;
728
- line-height: 1.333em;
729
- margin: 0;
730
- padding: 0.25rem 0 0 0;
731
- overflow: hidden;
732
- display: grid;
733
- grid-template-columns: repeat(3, 1fr);
734
- column-gap: 1rem;
735
- grid-template-rows: auto;
736
- }
737
- @media (max-width: 1024px) {
738
- .tsd-index-panel .tsd-index-list {
739
- grid-template-columns: repeat(2, 1fr);
882
+ .tsd-panel-group.tsd-index-group {
883
+ margin-bottom: 0;
740
884
  }
741
- }
742
- @media (max-width: 768px) {
743
885
  .tsd-index-panel .tsd-index-list {
744
- grid-template-columns: repeat(1, 1fr);
886
+ list-style: none;
887
+ line-height: 1.333em;
888
+ margin: 0;
889
+ padding: 0.25rem 0 0 0;
890
+ overflow: hidden;
891
+ display: grid;
892
+ grid-template-columns: repeat(3, 1fr);
893
+ column-gap: 1rem;
894
+ grid-template-rows: auto;
895
+ }
896
+ @media (max-width: 1024px) {
897
+ .tsd-index-panel .tsd-index-list {
898
+ grid-template-columns: repeat(2, 1fr);
899
+ }
900
+ }
901
+ @media (max-width: 768px) {
902
+ .tsd-index-panel .tsd-index-list {
903
+ grid-template-columns: repeat(1, 1fr);
904
+ }
905
+ }
906
+ .tsd-index-panel .tsd-index-list li {
907
+ -webkit-page-break-inside: avoid;
908
+ -moz-page-break-inside: avoid;
909
+ -ms-page-break-inside: avoid;
910
+ -o-page-break-inside: avoid;
911
+ page-break-inside: avoid;
745
912
  }
746
- }
747
- .tsd-index-panel .tsd-index-list li {
748
- -webkit-page-break-inside: avoid;
749
- -moz-page-break-inside: avoid;
750
- -ms-page-break-inside: avoid;
751
- -o-page-break-inside: avoid;
752
- page-break-inside: avoid;
753
- }
754
913
 
755
- .tsd-flag {
756
- display: inline-block;
757
- padding: 0.25em 0.4em;
758
- border-radius: 4px;
759
- color: var(--color-comment-tag-text);
760
- background-color: var(--color-comment-tag);
761
- text-indent: 0;
762
- font-size: 75%;
763
- line-height: 1;
764
- font-weight: normal;
765
- }
914
+ .tsd-flag {
915
+ display: inline-block;
916
+ padding: 0.25em 0.4em;
917
+ border-radius: 4px;
918
+ color: var(--color-comment-tag-text);
919
+ background-color: var(--color-comment-tag);
920
+ text-indent: 0;
921
+ font-size: 75%;
922
+ line-height: 1;
923
+ font-weight: normal;
924
+ }
766
925
 
767
- .tsd-anchor {
768
- position: relative;
769
- top: -100px;
770
- }
926
+ .tsd-anchor {
927
+ position: relative;
928
+ top: -100px;
929
+ }
771
930
 
772
- .tsd-member {
773
- position: relative;
774
- }
775
- .tsd-member .tsd-anchor + h3 {
776
- display: flex;
777
- align-items: center;
778
- margin-top: 0;
779
- margin-bottom: 0;
780
- border-bottom: none;
781
- }
931
+ .tsd-member {
932
+ position: relative;
933
+ }
934
+ .tsd-member .tsd-anchor + h3 {
935
+ display: flex;
936
+ align-items: center;
937
+ margin-top: 0;
938
+ margin-bottom: 0;
939
+ border-bottom: none;
940
+ }
782
941
 
783
- .tsd-navigation.settings {
784
- margin: 1rem 0;
785
- }
786
- .tsd-navigation > a,
787
- .tsd-navigation .tsd-accordion-summary {
788
- width: calc(100% - 0.25rem);
789
- display: flex;
790
- align-items: center;
791
- }
792
- .tsd-navigation a,
793
- .tsd-navigation summary > span,
794
- .tsd-page-navigation a {
795
- display: flex;
796
- width: calc(100% - 0.25rem);
797
- align-items: center;
798
- padding: 0.25rem;
799
- color: var(--color-text);
800
- text-decoration: none;
801
- box-sizing: border-box;
802
- }
803
- .tsd-navigation a.current,
804
- .tsd-page-navigation a.current {
805
- background: var(--color-active-menu-item);
806
- }
807
- .tsd-navigation a:hover,
808
- .tsd-page-navigation a:hover {
809
- text-decoration: underline;
810
- }
811
- .tsd-navigation ul,
812
- .tsd-page-navigation ul {
813
- margin-top: 0;
814
- margin-bottom: 0;
815
- padding: 0;
816
- list-style: none;
817
- }
818
- .tsd-navigation li,
819
- .tsd-page-navigation li {
820
- padding: 0;
821
- max-width: 100%;
822
- }
823
- .tsd-navigation .tsd-nav-link {
824
- display: none;
825
- }
826
- .tsd-nested-navigation {
827
- margin-left: 3rem;
828
- }
829
- .tsd-nested-navigation > li > details {
830
- margin-left: -1.5rem;
831
- }
832
- .tsd-small-nested-navigation {
833
- margin-left: 1.5rem;
834
- }
835
- .tsd-small-nested-navigation > li > details {
836
- margin-left: -1.5rem;
837
- }
838
-
839
- .tsd-page-navigation-section {
840
- margin-left: 10px;
841
- }
842
- .tsd-page-navigation-section > summary {
843
- padding: 0.25rem;
844
- }
845
- .tsd-page-navigation-section > div {
846
- margin-left: 20px;
847
- }
848
- .tsd-page-navigation ul {
849
- padding-left: 1.75rem;
850
- }
851
-
852
- #tsd-sidebar-links a {
853
- margin-top: 0;
854
- margin-bottom: 0.5rem;
855
- line-height: 1.25rem;
856
- }
857
- #tsd-sidebar-links a:last-of-type {
858
- margin-bottom: 0;
859
- }
860
-
861
- a.tsd-index-link {
862
- padding: 0.25rem 0 !important;
863
- font-size: 1rem;
864
- line-height: 1.25rem;
865
- display: inline-flex;
866
- align-items: center;
867
- color: var(--color-text);
868
- }
869
- .tsd-accordion-summary {
870
- list-style-type: none; /* hide marker on non-safari */
871
- outline: none; /* broken on safari, so just hide it */
872
- }
873
- .tsd-accordion-summary::-webkit-details-marker {
874
- display: none; /* hide marker on safari */
875
- }
876
- .tsd-accordion-summary,
877
- .tsd-accordion-summary a {
878
- -moz-user-select: none;
879
- -webkit-user-select: none;
880
- -ms-user-select: none;
881
- user-select: none;
882
-
883
- cursor: pointer;
884
- }
885
- .tsd-accordion-summary a {
886
- width: calc(100% - 1.5rem);
887
- }
888
- .tsd-accordion-summary > * {
889
- margin-top: 0;
890
- margin-bottom: 0;
891
- padding-top: 0;
892
- padding-bottom: 0;
893
- }
894
- .tsd-accordion .tsd-accordion-summary > svg {
895
- margin-left: 0.25rem;
896
- vertical-align: text-top;
897
- }
898
- .tsd-index-content > :not(:first-child) {
899
- margin-top: 0.75rem;
900
- }
901
- .tsd-index-heading {
902
- margin-top: 1.5rem;
903
- margin-bottom: 0.75rem;
904
- }
905
-
906
- .tsd-no-select {
907
- -webkit-user-select: none;
908
- -moz-user-select: none;
909
- -ms-user-select: none;
910
- user-select: none;
911
- }
912
- .tsd-kind-icon {
913
- margin-right: 0.5rem;
914
- width: 1.25rem;
915
- height: 1.25rem;
916
- min-width: 1.25rem;
917
- min-height: 1.25rem;
918
- }
919
- .tsd-signature > .tsd-kind-icon {
920
- margin-right: 0.8rem;
921
- }
922
-
923
- .tsd-panel {
924
- margin-bottom: 2.5rem;
925
- }
926
- .tsd-panel.tsd-member {
927
- margin-bottom: 4rem;
928
- }
929
- .tsd-panel:empty {
930
- display: none;
931
- }
932
- .tsd-panel > h1,
933
- .tsd-panel > h2,
934
- .tsd-panel > h3 {
935
- margin: 1.5rem -1.5rem 0.75rem -1.5rem;
936
- padding: 0 1.5rem 0.75rem 1.5rem;
937
- }
938
- .tsd-panel > h1.tsd-before-signature,
939
- .tsd-panel > h2.tsd-before-signature,
940
- .tsd-panel > h3.tsd-before-signature {
941
- margin-bottom: 0;
942
- border-bottom: none;
943
- }
944
-
945
- .tsd-panel-group {
946
- margin: 2rem 0;
947
- }
948
- .tsd-panel-group.tsd-index-group {
949
- margin: 2rem 0;
950
- }
951
- .tsd-panel-group.tsd-index-group details {
952
- margin: 2rem 0;
953
- }
954
- .tsd-panel-group > .tsd-accordion-summary {
955
- margin-bottom: 1rem;
956
- }
957
-
958
- #tsd-search {
959
- transition: background-color 0.2s;
960
- }
961
- #tsd-search .title {
962
- position: relative;
963
- z-index: 2;
964
- }
965
- #tsd-search .field {
966
- position: absolute;
967
- left: 0;
968
- top: 0;
969
- right: 2.5rem;
970
- height: 100%;
971
- }
972
- #tsd-search .field input {
973
- box-sizing: border-box;
974
- position: relative;
975
- top: -50px;
976
- z-index: 1;
977
- width: 100%;
978
- padding: 0 10px;
979
- opacity: 0;
980
- outline: 0;
981
- border: 0;
982
- background: transparent;
983
- color: var(--color-text);
984
- }
985
- #tsd-search .field label {
986
- position: absolute;
987
- overflow: hidden;
988
- right: -40px;
989
- }
990
- #tsd-search .field input,
991
- #tsd-search .title,
992
- #tsd-toolbar-links a {
993
- transition: opacity 0.2s;
994
- }
995
- #tsd-search .results {
996
- position: absolute;
997
- visibility: hidden;
998
- top: 40px;
999
- width: 100%;
1000
- margin: 0;
1001
- padding: 0;
1002
- list-style: none;
1003
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1004
- }
1005
- #tsd-search .results li {
1006
- background-color: var(--color-background);
1007
- line-height: initial;
1008
- padding: 4px;
1009
- }
1010
- #tsd-search .results li:nth-child(even) {
1011
- background-color: var(--color-background-secondary);
1012
- }
1013
- #tsd-search .results li.state {
1014
- display: none;
1015
- }
1016
- #tsd-search .results li.current:not(.no-results),
1017
- #tsd-search .results li:hover:not(.no-results) {
1018
- background-color: var(--color-accent);
1019
- }
1020
- #tsd-search .results a {
1021
- display: flex;
1022
- align-items: center;
1023
- padding: 0.25rem;
1024
- box-sizing: border-box;
1025
- }
1026
- #tsd-search .results a:before {
1027
- top: 10px;
1028
- }
1029
- #tsd-search .results span.parent {
1030
- color: var(--color-text-aside);
1031
- font-weight: normal;
1032
- }
1033
- #tsd-search.has-focus {
1034
- background-color: var(--color-accent);
1035
- }
1036
- #tsd-search.has-focus .field input {
1037
- top: 0;
1038
- opacity: 1;
1039
- }
1040
- #tsd-search.has-focus .title,
1041
- #tsd-search.has-focus #tsd-toolbar-links a {
1042
- z-index: 0;
1043
- opacity: 0;
1044
- }
1045
- #tsd-search.has-focus .results {
1046
- visibility: visible;
1047
- }
1048
- #tsd-search.loading .results li.state.loading {
1049
- display: block;
1050
- }
1051
- #tsd-search.failure .results li.state.failure {
1052
- display: block;
1053
- }
1054
-
1055
- #tsd-toolbar-links {
1056
- position: absolute;
1057
- top: 0;
1058
- right: 2rem;
1059
- height: 100%;
1060
- display: flex;
1061
- align-items: center;
1062
- justify-content: flex-end;
1063
- }
1064
- #tsd-toolbar-links a {
1065
- margin-left: 1.5rem;
1066
- }
1067
- #tsd-toolbar-links a:hover {
1068
- text-decoration: underline;
1069
- }
1070
-
1071
- .tsd-signature {
1072
- margin: 0 0 1rem 0;
1073
- padding: 1rem 0.5rem;
1074
- border: 1px solid var(--color-accent);
1075
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1076
- font-size: 14px;
1077
- overflow-x: auto;
1078
- }
1079
-
1080
- .tsd-signature-keyword {
1081
- color: var(--color-ts-keyword);
1082
- font-weight: normal;
1083
- }
1084
-
1085
- .tsd-signature-symbol {
1086
- color: var(--color-text-aside);
1087
- font-weight: normal;
1088
- }
1089
-
1090
- .tsd-signature-type {
1091
- font-style: italic;
1092
- font-weight: normal;
1093
- }
1094
-
1095
- .tsd-signatures {
1096
- padding: 0;
1097
- margin: 0 0 1em 0;
1098
- list-style-type: none;
1099
- }
1100
- .tsd-signatures .tsd-signature {
1101
- margin: 0;
1102
- border-color: var(--color-accent);
1103
- border-width: 1px 0;
1104
- transition: background-color 0.1s;
1105
- }
1106
- .tsd-signatures .tsd-index-signature:not(:last-child) {
1107
- margin-bottom: 1em;
1108
- }
1109
- .tsd-signatures .tsd-index-signature .tsd-signature {
1110
- border-width: 1px;
1111
- }
1112
- .tsd-description .tsd-signatures .tsd-signature {
1113
- border-width: 1px;
1114
- }
1115
-
1116
- ul.tsd-parameter-list,
1117
- ul.tsd-type-parameter-list {
1118
- list-style: square;
1119
- margin: 0;
1120
- padding-left: 20px;
1121
- }
1122
- ul.tsd-parameter-list > li.tsd-parameter-signature,
1123
- ul.tsd-type-parameter-list > li.tsd-parameter-signature {
1124
- list-style: none;
1125
- margin-left: -20px;
1126
- }
1127
- ul.tsd-parameter-list h5,
1128
- ul.tsd-type-parameter-list h5 {
1129
- font-size: 16px;
1130
- margin: 1em 0 0.5em 0;
1131
- }
1132
- .tsd-sources {
1133
- margin-top: 1rem;
1134
- font-size: 0.875em;
1135
- }
1136
- .tsd-sources a {
1137
- color: var(--color-text-aside);
1138
- text-decoration: underline;
1139
- }
1140
- .tsd-sources ul {
1141
- list-style: none;
1142
- padding: 0;
1143
- }
1144
-
1145
- .tsd-page-toolbar {
1146
- position: sticky;
1147
- z-index: 1;
1148
- top: 0;
1149
- left: 0;
1150
- width: 100%;
1151
- color: var(--color-text);
1152
- background: var(--color-background-secondary);
1153
- border-bottom: 1px var(--color-accent) solid;
1154
- transition: transform 0.3s ease-in-out;
1155
- }
1156
- .tsd-page-toolbar a {
1157
- color: var(--color-text);
1158
- text-decoration: none;
1159
- }
1160
- .tsd-page-toolbar a.title {
1161
- font-weight: bold;
1162
- }
1163
- .tsd-page-toolbar a.title:hover {
1164
- text-decoration: underline;
1165
- }
1166
- .tsd-page-toolbar .tsd-toolbar-contents {
1167
- display: flex;
1168
- justify-content: space-between;
1169
- height: 2.5rem;
1170
- margin: 0 auto;
1171
- }
1172
- .tsd-page-toolbar .table-cell {
1173
- position: relative;
1174
- white-space: nowrap;
1175
- line-height: 40px;
1176
- }
1177
- .tsd-page-toolbar .table-cell:first-child {
1178
- width: 100%;
1179
- }
1180
- .tsd-page-toolbar .tsd-toolbar-icon {
1181
- box-sizing: border-box;
1182
- line-height: 0;
1183
- padding: 12px 0;
1184
- }
1185
-
1186
- .tsd-widget {
1187
- display: inline-block;
1188
- overflow: hidden;
1189
- opacity: 0.8;
1190
- height: 40px;
1191
- transition:
1192
- opacity 0.1s,
1193
- background-color 0.2s;
1194
- vertical-align: bottom;
1195
- cursor: pointer;
1196
- }
1197
- .tsd-widget:hover {
1198
- opacity: 0.9;
1199
- }
1200
- .tsd-widget.active {
1201
- opacity: 1;
1202
- background-color: var(--color-accent);
1203
- }
1204
- .tsd-widget.no-caption {
1205
- width: 40px;
1206
- }
1207
- .tsd-widget.no-caption:before {
1208
- margin: 0;
1209
- }
1210
-
1211
- .tsd-widget.options,
1212
- .tsd-widget.menu {
1213
- display: none;
1214
- }
1215
- input[type="checkbox"] + .tsd-widget:before {
1216
- background-position: -120px 0;
1217
- }
1218
- input[type="checkbox"]:checked + .tsd-widget:before {
1219
- background-position: -160px 0;
1220
- }
1221
-
1222
- img {
1223
- max-width: 100%;
1224
- }
1225
-
1226
- .tsd-anchor-icon {
1227
- display: inline-flex;
1228
- align-items: center;
1229
- margin-left: 0.5rem;
1230
- vertical-align: middle;
1231
- color: var(--color-text);
1232
- }
1233
-
1234
- .tsd-anchor-icon svg {
1235
- width: 1em;
1236
- height: 1em;
1237
- visibility: hidden;
1238
- }
1239
-
1240
- .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1241
- visibility: visible;
1242
- }
1243
-
1244
- .deprecated {
1245
- text-decoration: line-through !important;
1246
- }
1247
-
1248
- .warning {
1249
- padding: 1rem;
1250
- color: var(--color-warning-text);
1251
- background: var(--color-background-warning);
1252
- }
942
+ .tsd-navigation.settings {
943
+ margin: 0;
944
+ margin-bottom: 1rem;
945
+ }
946
+ .tsd-navigation > a,
947
+ .tsd-navigation .tsd-accordion-summary {
948
+ width: calc(100% - 0.25rem);
949
+ display: flex;
950
+ align-items: center;
951
+ }
952
+ .tsd-navigation a,
953
+ .tsd-navigation summary > span,
954
+ .tsd-page-navigation a {
955
+ display: flex;
956
+ width: calc(100% - 0.25rem);
957
+ align-items: center;
958
+ padding: 0.25rem;
959
+ color: var(--color-text);
960
+ text-decoration: none;
961
+ box-sizing: border-box;
962
+ }
963
+ .tsd-navigation a.current,
964
+ .tsd-page-navigation a.current {
965
+ background: var(--color-active-menu-item);
966
+ color: var(--color-contrast-text);
967
+ }
968
+ .tsd-navigation a:hover,
969
+ .tsd-page-navigation a:hover {
970
+ text-decoration: underline;
971
+ }
972
+ .tsd-navigation ul,
973
+ .tsd-page-navigation ul {
974
+ margin-top: 0;
975
+ margin-bottom: 0;
976
+ padding: 0;
977
+ list-style: none;
978
+ }
979
+ .tsd-navigation li,
980
+ .tsd-page-navigation li {
981
+ padding: 0;
982
+ max-width: 100%;
983
+ }
984
+ .tsd-navigation .tsd-nav-link {
985
+ display: none;
986
+ }
987
+ .tsd-nested-navigation {
988
+ margin-left: 3rem;
989
+ }
990
+ .tsd-nested-navigation > li > details {
991
+ margin-left: -1.5rem;
992
+ }
993
+ .tsd-small-nested-navigation {
994
+ margin-left: 1.5rem;
995
+ }
996
+ .tsd-small-nested-navigation > li > details {
997
+ margin-left: -1.5rem;
998
+ }
1253
999
 
1254
- .tsd-kind-project {
1255
- color: var(--color-ts-project);
1256
- }
1257
- .tsd-kind-module {
1258
- color: var(--color-ts-module);
1259
- }
1260
- .tsd-kind-namespace {
1261
- color: var(--color-ts-namespace);
1262
- }
1263
- .tsd-kind-enum {
1264
- color: var(--color-ts-enum);
1265
- }
1266
- .tsd-kind-enum-member {
1267
- color: var(--color-ts-enum-member);
1268
- }
1269
- .tsd-kind-variable {
1270
- color: var(--color-ts-variable);
1271
- }
1272
- .tsd-kind-function {
1273
- color: var(--color-ts-function);
1274
- }
1275
- .tsd-kind-class {
1276
- color: var(--color-ts-class);
1277
- }
1278
- .tsd-kind-interface {
1279
- color: var(--color-ts-interface);
1280
- }
1281
- .tsd-kind-constructor {
1282
- color: var(--color-ts-constructor);
1283
- }
1284
- .tsd-kind-property {
1285
- color: var(--color-ts-property);
1286
- }
1287
- .tsd-kind-method {
1288
- color: var(--color-ts-method);
1289
- }
1290
- .tsd-kind-reference {
1291
- color: var(--color-ts-reference);
1292
- }
1293
- .tsd-kind-call-signature {
1294
- color: var(--color-ts-call-signature);
1295
- }
1296
- .tsd-kind-index-signature {
1297
- color: var(--color-ts-index-signature);
1298
- }
1299
- .tsd-kind-constructor-signature {
1300
- color: var(--color-ts-constructor-signature);
1301
- }
1302
- .tsd-kind-parameter {
1303
- color: var(--color-ts-parameter);
1304
- }
1305
- .tsd-kind-type-parameter {
1306
- color: var(--color-ts-type-parameter);
1307
- }
1308
- .tsd-kind-accessor {
1309
- color: var(--color-ts-accessor);
1310
- }
1311
- .tsd-kind-get-signature {
1312
- color: var(--color-ts-get-signature);
1313
- }
1314
- .tsd-kind-set-signature {
1315
- color: var(--color-ts-set-signature);
1316
- }
1317
- .tsd-kind-type-alias {
1318
- color: var(--color-ts-type-alias);
1319
- }
1000
+ .tsd-page-navigation-section > summary {
1001
+ padding: 0.25rem;
1002
+ }
1003
+ .tsd-page-navigation-section > summary > svg {
1004
+ margin-right: 0.25rem;
1005
+ }
1006
+ .tsd-page-navigation-section > div {
1007
+ margin-left: 30px;
1008
+ }
1009
+ .tsd-page-navigation ul {
1010
+ padding-left: 1.75rem;
1011
+ }
1320
1012
 
1321
- /* if we have a kind icon, don't color the text by kind */
1322
- .tsd-kind-icon ~ span {
1323
- color: var(--color-text);
1324
- }
1013
+ #tsd-sidebar-links a {
1014
+ margin-top: 0;
1015
+ margin-bottom: 0.5rem;
1016
+ line-height: 1.25rem;
1017
+ }
1018
+ #tsd-sidebar-links a:last-of-type {
1019
+ margin-bottom: 0;
1020
+ }
1325
1021
 
1326
- * {
1327
- scrollbar-width: thin;
1328
- scrollbar-color: var(--color-accent) var(--color-icon-background);
1329
- }
1022
+ a.tsd-index-link {
1023
+ padding: 0.25rem 0 !important;
1024
+ font-size: 1rem;
1025
+ line-height: 1.25rem;
1026
+ display: inline-flex;
1027
+ align-items: center;
1028
+ color: var(--color-text);
1029
+ }
1030
+ .tsd-accordion-summary {
1031
+ list-style-type: none; /* hide marker on non-safari */
1032
+ outline: none; /* broken on safari, so just hide it */
1033
+ display: flex;
1034
+ align-items: center;
1035
+ gap: 0.25rem;
1036
+ box-sizing: border-box;
1037
+ }
1038
+ .tsd-accordion-summary::-webkit-details-marker {
1039
+ display: none; /* hide marker on safari */
1040
+ }
1041
+ .tsd-accordion-summary,
1042
+ .tsd-accordion-summary a {
1043
+ -moz-user-select: none;
1044
+ -webkit-user-select: none;
1045
+ -ms-user-select: none;
1046
+ user-select: none;
1047
+
1048
+ cursor: pointer;
1049
+ }
1050
+ .tsd-accordion-summary a {
1051
+ width: calc(100% - 1.5rem);
1052
+ }
1053
+ .tsd-accordion-summary > * {
1054
+ margin-top: 0;
1055
+ margin-bottom: 0;
1056
+ padding-top: 0;
1057
+ padding-bottom: 0;
1058
+ }
1059
+ /*
1060
+ * We need to be careful to target the arrow indicating whether the accordion
1061
+ * is open, but not any other SVGs included in the details element.
1062
+ */
1063
+ .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child {
1064
+ transform: rotate(-90deg);
1065
+ }
1066
+ .tsd-index-content > :not(:first-child) {
1067
+ margin-top: 0.75rem;
1068
+ }
1069
+ .tsd-index-summary {
1070
+ margin-top: 1.5rem;
1071
+ margin-bottom: 0.75rem;
1072
+ display: flex;
1073
+ align-content: center;
1074
+ }
1330
1075
 
1331
- *::-webkit-scrollbar {
1332
- width: 0.75rem;
1333
- }
1076
+ .tsd-no-select {
1077
+ -webkit-user-select: none;
1078
+ -moz-user-select: none;
1079
+ -ms-user-select: none;
1080
+ user-select: none;
1081
+ }
1082
+ .tsd-kind-icon {
1083
+ margin-right: 0.5rem;
1084
+ width: 1.25rem;
1085
+ height: 1.25rem;
1086
+ min-width: 1.25rem;
1087
+ min-height: 1.25rem;
1088
+ }
1089
+ .tsd-signature > .tsd-kind-icon {
1090
+ margin-right: 0.8rem;
1091
+ }
1334
1092
 
1335
- *::-webkit-scrollbar-track {
1336
- background: var(--color-icon-background);
1337
- }
1093
+ .tsd-panel {
1094
+ margin-bottom: 2.5rem;
1095
+ }
1096
+ .tsd-panel.tsd-member {
1097
+ margin-bottom: 4rem;
1098
+ }
1099
+ .tsd-panel:empty {
1100
+ display: none;
1101
+ }
1102
+ .tsd-panel > h1,
1103
+ .tsd-panel > h2,
1104
+ .tsd-panel > h3 {
1105
+ margin: 1.5rem -1.5rem 0.75rem -1.5rem;
1106
+ padding: 0 1.5rem 0.75rem 1.5rem;
1107
+ }
1108
+ .tsd-panel > h1.tsd-before-signature,
1109
+ .tsd-panel > h2.tsd-before-signature,
1110
+ .tsd-panel > h3.tsd-before-signature {
1111
+ margin-bottom: 0;
1112
+ border-bottom: none;
1113
+ }
1338
1114
 
1339
- *::-webkit-scrollbar-thumb {
1340
- background-color: var(--color-accent);
1341
- border-radius: 999rem;
1342
- border: 0.25rem solid var(--color-icon-background);
1343
- }
1115
+ .tsd-panel-group {
1116
+ margin: 2rem 0;
1117
+ }
1118
+ .tsd-panel-group.tsd-index-group {
1119
+ margin: 2rem 0;
1120
+ }
1121
+ .tsd-panel-group.tsd-index-group details {
1122
+ margin: 2rem 0;
1123
+ }
1124
+ .tsd-panel-group > .tsd-accordion-summary {
1125
+ margin-bottom: 1rem;
1126
+ }
1344
1127
 
1345
- /* mobile */
1346
- @media (max-width: 769px) {
1347
- .tsd-widget.options,
1348
- .tsd-widget.menu {
1349
- display: inline-block;
1128
+ #tsd-search[open] {
1129
+ animation: fade-in var(--modal-animation-duration) ease-out forwards;
1130
+ }
1131
+ #tsd-search[open].closing {
1132
+ animation-name: fade-out;
1350
1133
  }
1351
1134
 
1352
- .container-main {
1135
+ /* Avoid setting `display` on closed dialog */
1136
+ #tsd-search[open] {
1353
1137
  display: flex;
1138
+ flex-direction: column;
1139
+ padding: 1rem;
1140
+ width: 32rem;
1141
+ max-width: 90vw;
1142
+ max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh);
1143
+ /* Anchor dialog to top */
1144
+ margin-top: 10vh;
1145
+ border-radius: 6px;
1146
+ will-change: max-height;
1354
1147
  }
1355
- html .col-content {
1356
- float: none;
1357
- max-width: 100%;
1148
+ #tsd-search-input {
1149
+ box-sizing: border-box;
1358
1150
  width: 100%;
1151
+ padding: 0 0.625rem; /* 10px */
1152
+ outline: 0;
1153
+ border: 2px solid var(--color-accent);
1154
+ background-color: transparent;
1155
+ color: var(--color-text);
1156
+ border-radius: 4px;
1157
+ height: 2.5rem;
1158
+ flex: 0 0 auto;
1159
+ font-size: 0.875rem;
1160
+ transition: border-color 0.2s, background-color 0.2s;
1359
1161
  }
1360
- html .col-sidebar {
1361
- position: fixed !important;
1162
+ #tsd-search-input:focus-visible {
1163
+ background-color: var(--color-background-active);
1164
+ border-color: transparent;
1165
+ color: var(--color-contrast-text);
1166
+ }
1167
+ #tsd-search-input::placeholder {
1168
+ color: inherit;
1169
+ opacity: 0.8;
1170
+ }
1171
+ #tsd-search-results {
1172
+ margin: 0;
1173
+ padding: 0;
1174
+ list-style: none;
1175
+ flex: 1 1 auto;
1176
+ display: flex;
1177
+ flex-direction: column;
1362
1178
  overflow-y: auto;
1363
- -webkit-overflow-scrolling: touch;
1364
- z-index: 1024;
1365
- top: 0 !important;
1366
- bottom: 0 !important;
1367
- left: auto !important;
1368
- right: 0 !important;
1369
- padding: 1.5rem 1.5rem 0 0;
1370
- width: 75vw;
1371
- visibility: hidden;
1179
+ }
1180
+ #tsd-search-results:not(:empty) {
1181
+ margin-top: 0.5rem;
1182
+ }
1183
+ #tsd-search-results > li {
1372
1184
  background-color: var(--color-background);
1373
- transform: translate(100%, 0);
1185
+ line-height: 1.5;
1186
+ box-sizing: border-box;
1187
+ border-radius: 4px;
1374
1188
  }
1375
- html .col-sidebar > *:last-child {
1376
- padding-bottom: 20px;
1189
+ #tsd-search-results > li:nth-child(even) {
1190
+ background-color: var(--color-background-secondary);
1377
1191
  }
1378
- html .overlay {
1379
- content: "";
1380
- display: block;
1381
- position: fixed;
1382
- z-index: 1023;
1383
- top: 0;
1384
- left: 0;
1385
- right: 0;
1386
- bottom: 0;
1387
- background-color: rgba(0, 0, 0, 0.75);
1388
- visibility: hidden;
1192
+ #tsd-search-results > li:is(:hover, [aria-selected="true"]) {
1193
+ background-color: var(--color-background-active);
1194
+ color: var(--color-contrast-text);
1195
+ }
1196
+ /* It's important that this takes full size of parent `li`, to capture a click on `li` */
1197
+ #tsd-search-results > li > a {
1198
+ display: flex;
1199
+ align-items: center;
1200
+ padding: 0.5rem 0.25rem;
1201
+ box-sizing: border-box;
1202
+ width: 100%;
1203
+ }
1204
+ #tsd-search-results > li > a > .text {
1205
+ flex: 1 1 auto;
1206
+ min-width: 0;
1207
+ overflow-wrap: anywhere;
1208
+ }
1209
+ #tsd-search-results > li > a .parent {
1210
+ color: var(--color-text-aside);
1211
+ }
1212
+ #tsd-search-results > li > a mark {
1213
+ color: inherit;
1214
+ background-color: inherit;
1215
+ font-weight: bold;
1216
+ }
1217
+ #tsd-search-status {
1218
+ flex: 1;
1219
+ display: grid;
1220
+ place-content: center;
1221
+ text-align: center;
1222
+ overflow-wrap: anywhere;
1223
+ }
1224
+ #tsd-search-status:not(:empty) {
1225
+ min-height: 6rem;
1389
1226
  }
1390
1227
 
1391
- .to-has-menu .overlay {
1392
- animation: fade-in 0.4s;
1228
+ .tsd-signature {
1229
+ margin: 0 0 1rem 0;
1230
+ padding: 1rem 0.5rem;
1231
+ border: 1px solid var(--color-accent);
1232
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1233
+ font-size: 14px;
1234
+ overflow-x: auto;
1393
1235
  }
1394
1236
 
1395
- .to-has-menu .col-sidebar {
1396
- animation: pop-in-from-right 0.4s;
1237
+ .tsd-signature-keyword {
1238
+ color: var(--color-ts-keyword);
1239
+ font-weight: normal;
1397
1240
  }
1398
1241
 
1399
- .from-has-menu .overlay {
1400
- animation: fade-out 0.4s;
1242
+ .tsd-signature-symbol {
1243
+ color: var(--color-text-aside);
1244
+ font-weight: normal;
1401
1245
  }
1402
1246
 
1403
- .from-has-menu .col-sidebar {
1404
- animation: pop-out-to-right 0.4s;
1247
+ .tsd-signature-type {
1248
+ font-style: italic;
1249
+ font-weight: normal;
1405
1250
  }
1406
1251
 
1407
- .has-menu body {
1408
- overflow: hidden;
1252
+ .tsd-signatures {
1253
+ padding: 0;
1254
+ margin: 0 0 1em 0;
1255
+ list-style-type: none;
1409
1256
  }
1410
- .has-menu .overlay {
1411
- visibility: visible;
1257
+ .tsd-signatures .tsd-signature {
1258
+ margin: 0;
1259
+ border-color: var(--color-accent);
1260
+ border-width: 1px 0;
1261
+ transition: background-color 0.1s;
1412
1262
  }
1413
- .has-menu .col-sidebar {
1414
- visibility: visible;
1415
- transform: translate(0, 0);
1263
+ .tsd-signatures .tsd-index-signature:not(:last-child) {
1264
+ margin-bottom: 1em;
1265
+ }
1266
+ .tsd-signatures .tsd-index-signature .tsd-signature {
1267
+ border-width: 1px;
1268
+ }
1269
+ .tsd-description .tsd-signatures .tsd-signature {
1270
+ border-width: 1px;
1271
+ }
1272
+
1273
+ ul.tsd-parameter-list,
1274
+ ul.tsd-type-parameter-list {
1275
+ list-style: square;
1276
+ margin: 0;
1277
+ padding-left: 20px;
1278
+ }
1279
+ ul.tsd-parameter-list > li.tsd-parameter-signature,
1280
+ ul.tsd-type-parameter-list > li.tsd-parameter-signature {
1281
+ list-style: none;
1282
+ margin-left: -20px;
1283
+ }
1284
+ ul.tsd-parameter-list h5,
1285
+ ul.tsd-type-parameter-list h5 {
1286
+ font-size: 16px;
1287
+ margin: 1em 0 0.5em 0;
1288
+ }
1289
+ .tsd-sources {
1290
+ margin-top: 1rem;
1291
+ font-size: 0.875em;
1292
+ }
1293
+ .tsd-sources a {
1294
+ color: var(--color-text-aside);
1295
+ text-decoration: underline;
1296
+ }
1297
+ .tsd-sources ul {
1298
+ list-style: none;
1299
+ padding: 0;
1300
+ }
1301
+
1302
+ .tsd-page-toolbar {
1303
+ position: sticky;
1304
+ z-index: 1;
1305
+ top: 0;
1306
+ left: 0;
1307
+ width: 100%;
1308
+ color: var(--color-text);
1309
+ background: var(--color-background-secondary);
1310
+ border-bottom: var(--dim-toolbar-border-bottom-width)
1311
+ var(--color-accent) solid;
1312
+ transition: transform 0.3s ease-in-out;
1313
+ }
1314
+ .tsd-page-toolbar a {
1315
+ color: var(--color-text);
1316
+ }
1317
+ .tsd-toolbar-contents {
1416
1318
  display: flex;
1417
- flex-direction: column;
1418
- gap: 1.5rem;
1419
- max-height: 100vh;
1420
- padding: 1rem 2rem;
1319
+ align-items: center;
1320
+ height: var(--dim-toolbar-contents-height);
1321
+ margin: 0 auto;
1421
1322
  }
1422
- .has-menu .tsd-navigation {
1423
- max-height: 100%;
1323
+ .tsd-toolbar-contents > .title {
1324
+ font-weight: bold;
1325
+ margin-right: auto;
1424
1326
  }
1425
1327
  #tsd-toolbar-links {
1426
- display: none;
1427
- }
1428
- .tsd-navigation .tsd-nav-link {
1429
1328
  display: flex;
1329
+ align-items: center;
1330
+ gap: 1.5rem;
1331
+ margin-right: 1rem;
1430
1332
  }
1431
- }
1432
1333
 
1433
- /* one sidebar */
1434
- @media (min-width: 770px) {
1435
- .container-main {
1436
- display: grid;
1437
- grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1438
- grid-template-areas: "sidebar content";
1439
- margin: 2rem auto;
1334
+ .tsd-widget {
1335
+ box-sizing: border-box;
1336
+ display: inline-block;
1337
+ opacity: 0.8;
1338
+ height: 2.5rem;
1339
+ width: 2.5rem;
1340
+ transition: opacity 0.1s, background-color 0.1s;
1341
+ text-align: center;
1342
+ cursor: pointer;
1343
+ border: none;
1344
+ background-color: transparent;
1345
+ }
1346
+ .tsd-widget:hover {
1347
+ opacity: 0.9;
1348
+ }
1349
+ .tsd-widget:active {
1350
+ opacity: 1;
1351
+ background-color: var(--color-accent);
1352
+ }
1353
+ #tsd-toolbar-menu-trigger {
1354
+ display: none;
1355
+ }
1356
+
1357
+ .tsd-member-summary-name {
1358
+ display: inline-flex;
1359
+ align-items: center;
1360
+ padding: 0.25rem;
1361
+ text-decoration: none;
1440
1362
  }
1441
1363
 
1442
- .col-sidebar {
1443
- grid-area: sidebar;
1364
+ .tsd-anchor-icon {
1365
+ display: inline-flex;
1366
+ align-items: center;
1367
+ margin-left: 0.5rem;
1368
+ color: var(--color-text);
1369
+ vertical-align: middle;
1444
1370
  }
1445
- .col-content {
1446
- grid-area: content;
1447
- padding: 0 1rem;
1371
+
1372
+ .tsd-anchor-icon svg {
1373
+ width: 1em;
1374
+ height: 1em;
1375
+ visibility: hidden;
1448
1376
  }
1449
- }
1450
- @media (min-width: 770px) and (max-width: 1399px) {
1451
- .col-sidebar {
1452
- max-height: calc(100vh - 2rem - 42px);
1453
- overflow: auto;
1454
- position: sticky;
1455
- top: 42px;
1456
- padding-top: 1rem;
1377
+
1378
+ .tsd-member-summary-name:hover > .tsd-anchor-icon svg,
1379
+ .tsd-anchor-link:hover > .tsd-anchor-icon svg,
1380
+ .tsd-anchor-icon:focus-visible svg {
1381
+ visibility: visible;
1457
1382
  }
1458
- .site-menu {
1459
- margin-top: 1rem;
1383
+
1384
+ .deprecated {
1385
+ text-decoration: line-through !important;
1460
1386
  }
1461
- }
1462
1387
 
1463
- /* two sidebars */
1464
- @media (min-width: 1200px) {
1465
- .container-main {
1466
- grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem);
1467
- grid-template-areas: "sidebar content toc";
1388
+ .warning {
1389
+ padding: 1rem;
1390
+ color: var(--color-warning-text);
1391
+ background: var(--color-background-warning);
1468
1392
  }
1469
1393
 
1470
- .col-sidebar {
1471
- display: contents;
1394
+ .tsd-kind-project {
1395
+ color: var(--color-ts-project);
1396
+ }
1397
+ .tsd-kind-module {
1398
+ color: var(--color-ts-module);
1399
+ }
1400
+ .tsd-kind-namespace {
1401
+ color: var(--color-ts-namespace);
1402
+ }
1403
+ .tsd-kind-enum {
1404
+ color: var(--color-ts-enum);
1405
+ }
1406
+ .tsd-kind-enum-member {
1407
+ color: var(--color-ts-enum-member);
1408
+ }
1409
+ .tsd-kind-variable {
1410
+ color: var(--color-ts-variable);
1411
+ }
1412
+ .tsd-kind-function {
1413
+ color: var(--color-ts-function);
1414
+ }
1415
+ .tsd-kind-class {
1416
+ color: var(--color-ts-class);
1417
+ }
1418
+ .tsd-kind-interface {
1419
+ color: var(--color-ts-interface);
1420
+ }
1421
+ .tsd-kind-constructor {
1422
+ color: var(--color-ts-constructor);
1423
+ }
1424
+ .tsd-kind-property {
1425
+ color: var(--color-ts-property);
1426
+ }
1427
+ .tsd-kind-method {
1428
+ color: var(--color-ts-method);
1429
+ }
1430
+ .tsd-kind-reference {
1431
+ color: var(--color-ts-reference);
1432
+ }
1433
+ .tsd-kind-call-signature {
1434
+ color: var(--color-ts-call-signature);
1435
+ }
1436
+ .tsd-kind-index-signature {
1437
+ color: var(--color-ts-index-signature);
1438
+ }
1439
+ .tsd-kind-constructor-signature {
1440
+ color: var(--color-ts-constructor-signature);
1441
+ }
1442
+ .tsd-kind-parameter {
1443
+ color: var(--color-ts-parameter);
1444
+ }
1445
+ .tsd-kind-type-parameter {
1446
+ color: var(--color-ts-type-parameter);
1447
+ }
1448
+ .tsd-kind-accessor {
1449
+ color: var(--color-ts-accessor);
1450
+ }
1451
+ .tsd-kind-get-signature {
1452
+ color: var(--color-ts-get-signature);
1453
+ }
1454
+ .tsd-kind-set-signature {
1455
+ color: var(--color-ts-set-signature);
1456
+ }
1457
+ .tsd-kind-type-alias {
1458
+ color: var(--color-ts-type-alias);
1472
1459
  }
1473
1460
 
1474
- .page-menu {
1475
- grid-area: toc;
1476
- padding-left: 1rem;
1461
+ /* if we have a kind icon, don't color the text by kind */
1462
+ .tsd-kind-icon ~ span {
1463
+ color: var(--color-text);
1477
1464
  }
1478
- .site-menu {
1479
- grid-area: sidebar;
1465
+
1466
+ /* mobile */
1467
+ @media (max-width: 769px) {
1468
+ #tsd-toolbar-menu-trigger {
1469
+ display: inline-block;
1470
+ /* temporary fix to vertically align, for compatibility */
1471
+ line-height: 2.5;
1472
+ }
1473
+ #tsd-toolbar-links {
1474
+ display: none;
1475
+ }
1476
+
1477
+ .container-main {
1478
+ display: flex;
1479
+ }
1480
+ .col-content {
1481
+ float: none;
1482
+ max-width: 100%;
1483
+ width: 100%;
1484
+ }
1485
+ .col-sidebar {
1486
+ position: fixed !important;
1487
+ overflow-y: auto;
1488
+ -webkit-overflow-scrolling: touch;
1489
+ z-index: 1024;
1490
+ top: 0 !important;
1491
+ bottom: 0 !important;
1492
+ left: auto !important;
1493
+ right: 0 !important;
1494
+ padding: 1.5rem 1.5rem 0 0;
1495
+ width: 75vw;
1496
+ visibility: hidden;
1497
+ background-color: var(--color-background);
1498
+ transform: translate(100%, 0);
1499
+ }
1500
+ .col-sidebar > *:last-child {
1501
+ padding-bottom: 20px;
1502
+ }
1503
+ .overlay {
1504
+ content: "";
1505
+ display: block;
1506
+ position: fixed;
1507
+ z-index: 1023;
1508
+ top: 0;
1509
+ left: 0;
1510
+ right: 0;
1511
+ bottom: 0;
1512
+ background-color: rgba(0, 0, 0, 0.75);
1513
+ visibility: hidden;
1514
+ }
1515
+
1516
+ .to-has-menu .overlay {
1517
+ animation: fade-in 0.4s;
1518
+ }
1519
+
1520
+ .to-has-menu .col-sidebar {
1521
+ animation: pop-in-from-right 0.4s;
1522
+ }
1523
+
1524
+ .from-has-menu .overlay {
1525
+ animation: fade-out 0.4s;
1526
+ }
1527
+
1528
+ .from-has-menu .col-sidebar {
1529
+ animation: pop-out-to-right 0.4s;
1530
+ }
1531
+
1532
+ .has-menu body {
1533
+ overflow: hidden;
1534
+ }
1535
+ .has-menu .overlay {
1536
+ visibility: visible;
1537
+ }
1538
+ .has-menu .col-sidebar {
1539
+ visibility: visible;
1540
+ transform: translate(0, 0);
1541
+ display: flex;
1542
+ flex-direction: column;
1543
+ gap: 1.5rem;
1544
+ max-height: 100vh;
1545
+ padding: 1rem 2rem;
1546
+ }
1547
+ .has-menu .tsd-navigation {
1548
+ max-height: 100%;
1549
+ }
1550
+ .tsd-navigation .tsd-nav-link {
1551
+ display: flex;
1552
+ }
1480
1553
  }
1481
1554
 
1482
- .site-menu {
1483
- margin-top: 1rem;
1555
+ /* one sidebar */
1556
+ @media (min-width: 770px) {
1557
+ .container-main {
1558
+ display: grid;
1559
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1560
+ grid-template-areas: "sidebar content";
1561
+ --dim-container-main-margin-y: 2rem;
1562
+ }
1563
+
1564
+ .tsd-breadcrumb {
1565
+ margin-top: 0;
1566
+ }
1567
+
1568
+ .col-sidebar {
1569
+ grid-area: sidebar;
1570
+ }
1571
+ .col-content {
1572
+ grid-area: content;
1573
+ padding: 0 1rem;
1574
+ }
1575
+ }
1576
+ @media (min-width: 770px) and (max-width: 1399px) {
1577
+ .col-sidebar {
1578
+ max-height: calc(
1579
+ 100vh - var(--dim-header-height) - var(--dim-footer-height) -
1580
+ 2 * var(--dim-container-main-margin-y)
1581
+ );
1582
+ overflow: auto;
1583
+ position: sticky;
1584
+ top: calc(
1585
+ var(--dim-header-height) + var(--dim-container-main-margin-y)
1586
+ );
1587
+ }
1588
+ .site-menu {
1589
+ margin-top: 1rem;
1590
+ }
1484
1591
  }
1485
1592
 
1486
- .page-menu,
1487
- .site-menu {
1488
- max-height: calc(100vh - 2rem - 42px);
1489
- overflow: auto;
1490
- position: sticky;
1491
- top: 42px;
1593
+ /* two sidebars */
1594
+ @media (min-width: 1200px) {
1595
+ .container-main {
1596
+ grid-template-columns:
1597
+ minmax(0, 1fr) minmax(0, 2.5fr) minmax(
1598
+ 0,
1599
+ 20rem
1600
+ );
1601
+ grid-template-areas: "sidebar content toc";
1602
+ }
1603
+
1604
+ .col-sidebar {
1605
+ display: contents;
1606
+ }
1607
+
1608
+ .page-menu {
1609
+ grid-area: toc;
1610
+ padding-left: 1rem;
1611
+ }
1612
+ .site-menu {
1613
+ grid-area: sidebar;
1614
+ }
1615
+
1616
+ .site-menu {
1617
+ margin-top: 0rem;
1618
+ }
1619
+
1620
+ .page-menu,
1621
+ .site-menu {
1622
+ max-height: calc(
1623
+ 100vh - var(--dim-header-height) - var(--dim-footer-height) -
1624
+ 2 * var(--dim-container-main-margin-y)
1625
+ );
1626
+ overflow: auto;
1627
+ position: sticky;
1628
+ top: calc(
1629
+ var(--dim-header-height) + var(--dim-container-main-margin-y)
1630
+ );
1631
+ }
1492
1632
  }
1493
1633
  }