@realsee/five 6.0.0-alpha.9 → 6.0.0-alpha.91

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 (386) hide show
  1. package/README.md +1 -1
  2. package/TERMS.txt +0 -2
  3. package/docs/assets/highlight.css +20 -20
  4. package/docs/assets/main.js +59 -52
  5. package/docs/assets/navigation.js +1 -0
  6. package/docs/assets/search.js +1 -1
  7. package/docs/assets/style.css +805 -825
  8. package/docs/classes/five.AnimationFrameLoop.html +16 -15
  9. package/docs/classes/five.BoxBoundingVolume.html +19 -1
  10. package/docs/classes/five.Camera.html +38 -11
  11. package/docs/classes/five.CullingVolume.html +13 -1
  12. package/docs/classes/five.Fetcher.html +5 -0
  13. package/docs/classes/five.Five.html +237 -290
  14. package/docs/classes/five.InternalWebGLRenderer.html +2 -1
  15. package/docs/classes/five.IntersectMesh.html +4 -1
  16. package/docs/classes/five.Model.html +70 -55
  17. package/docs/classes/five.ModelViewLayer.html +13 -0
  18. package/docs/classes/five.NetworkAbortError.html +2 -0
  19. package/docs/classes/five.NetworkFirbiddenError.html +2 -0
  20. package/docs/classes/five.NetworkResponseError.html +3 -0
  21. package/docs/classes/five.NetworkSubscribe.html +42 -56
  22. package/docs/classes/five.NetworkTimeoutError.html +2 -0
  23. package/docs/classes/five.PBMContainer.html +12 -13
  24. package/docs/classes/five.PBMGroup.html +3 -3
  25. package/docs/classes/five.PBMMesh.html +4 -5
  26. package/docs/classes/five.PBMMeshMaterial.html +50 -45
  27. package/docs/classes/five.PanoCircleMesh.html +30 -7
  28. package/docs/classes/five.PanoCircleMeshCustom.html +30 -7
  29. package/docs/classes/five.PanoCircleMeshSolid.html +30 -7
  30. package/docs/classes/five.RegionBoundingVolume.html +22 -1
  31. package/docs/classes/five.RequestScheduler.html +13 -12
  32. package/docs/classes/five.Scene.html +5 -3
  33. package/docs/classes/five.SphereBoundingVolume.html +18 -1
  34. package/docs/classes/five.Subscribe.html +43 -62
  35. package/docs/classes/five.TextureLoader.html +5 -1
  36. package/docs/classes/five.Tile.html +30 -1
  37. package/docs/classes/five.Tile3DModel.html +28 -1
  38. package/docs/classes/five.TileCubeTextureTarget.html +9 -1
  39. package/docs/classes/five.TileNode.html +5 -1
  40. package/docs/classes/five.Tileset.html +31 -5
  41. package/docs/classes/five.TilesetCache.html +8 -1
  42. package/docs/classes/five.TilesetTraverser.html +19 -1
  43. package/docs/classes/five.Work.html +33 -28
  44. package/docs/classes/five.XRButton.html +3 -1
  45. package/docs/classes/gltf_loader.DDSLoader.html +3 -1
  46. package/docs/classes/gltf_loader.DRACOLoader.html +8 -1
  47. package/docs/classes/gltf_loader.GLTFLoader.html +18 -17
  48. package/docs/classes/gltf_loader.GLTFObject.html +8 -6
  49. package/docs/classes/gltf_loader.GLTFParser.html +6 -1
  50. package/docs/classes/gltf_loader.THREEGLTFLoader.html +8 -1
  51. package/docs/classes/line.Line.html +10 -1
  52. package/docs/classes/line.LineGeometry.html +14 -1
  53. package/docs/classes/line.LineMaterial.html +8 -1
  54. package/docs/classes/line.LineSegmentsGeometry.html +12 -1
  55. package/docs/classes/line.THREE_Line2.html +4 -1
  56. package/docs/classes/line.THREE_LineSegments2.html +4 -1
  57. package/docs/classes/plugins.BasePlugin.Controller.html +38 -0
  58. package/docs/classes/plugins.ItemMaskController.html +37 -0
  59. package/docs/classes/react.Store.html +23 -29
  60. package/docs/classes/sticker.Sticker.html +25 -32
  61. package/docs/classes/vfx.Airflow.html +8 -1
  62. package/docs/classes/vfx.Flame.html +10 -1
  63. package/docs/classes/vfx.Particle.html +79 -82
  64. package/docs/classes/vfx.SpotLight.html +7 -1
  65. package/docs/enums/five.VolumePlaneIntersect.html +4 -1
  66. package/docs/functions/five.defaultImageURLTransform.html +5 -0
  67. package/docs/functions/five.getViewportScale.html +1 -0
  68. package/docs/functions/five.imageSupport.html +1 -0
  69. package/docs/functions/five.isPanoId.html +1 -0
  70. package/docs/functions/five.loadAt3d.html +1 -0
  71. package/docs/functions/five.loadB3dm.html +1 -0
  72. package/docs/functions/five.loadDome.html +1 -0
  73. package/docs/functions/five.loadDomez.html +1 -0
  74. package/docs/functions/five.loadPbm.html +1 -0
  75. package/docs/functions/five.loadPnts.html +1 -0
  76. package/docs/functions/five.panoEqual.html +1 -0
  77. package/docs/functions/five.panoParse.html +1 -0
  78. package/docs/functions/five.panoStringify.html +1 -0
  79. package/docs/functions/five.parseWork.html +7 -0
  80. package/docs/functions/plugins.ItemMaskPlugin.html +1 -0
  81. package/docs/functions/react.FiveCanvas-1.html +6 -0
  82. package/docs/functions/react.createFiveFeature.html +1 -0
  83. package/docs/functions/react.createFiveProvider.html +9 -0
  84. package/docs/functions/react.createStore.html +15 -0
  85. package/docs/functions/react.unsafe__useFiveInstance.html +5 -0
  86. package/docs/functions/react.useFiveAction.html +19 -0
  87. package/docs/functions/react.useFiveCameraDirection.html +3 -0
  88. package/docs/functions/react.useFiveCameraRaycaster.html +3 -0
  89. package/docs/functions/react.useFiveCurrentObserver.html +5 -0
  90. package/docs/functions/react.useFiveCurrentState.html +5 -0
  91. package/docs/functions/react.useFiveEventCallback.html +5 -0
  92. package/docs/functions/react.useFiveFloor.html +5 -0
  93. package/docs/functions/react.useFiveHelper.html +5 -0
  94. package/docs/functions/react.useFiveModelIntersectRaycaster.html +7 -0
  95. package/docs/functions/react.useFiveModelReadyState.html +4 -0
  96. package/docs/functions/react.useFiveProject2d.html +7 -0
  97. package/docs/functions/react.useFiveScene.html +2 -0
  98. package/docs/functions/react.useFiveSceneEffect.html +5 -0
  99. package/docs/functions/react.useFiveState.html +1 -0
  100. package/docs/functions/react.useFiveWork.html +8 -0
  101. package/docs/functions/react.withFive.html +1 -0
  102. package/docs/functions/vue.unsafe__useFiveInject.html +5 -0
  103. package/docs/functions/vue.useFiveAction.html +25 -0
  104. package/docs/functions/vue.useFiveCameraDirection.html +3 -0
  105. package/docs/functions/vue.useFiveCameraRaycaster.html +3 -0
  106. package/docs/functions/vue.useFiveCurrentObserver.html +5 -0
  107. package/docs/functions/vue.useFiveCurrentState.html +5 -0
  108. package/docs/functions/vue.useFiveEventCallback.html +5 -0
  109. package/docs/functions/vue.useFiveFloor.html +5 -0
  110. package/docs/functions/vue.useFiveHelper.html +5 -0
  111. package/docs/functions/vue.useFiveModel.html +2 -0
  112. package/docs/functions/vue.useFiveModelBounding.html +2 -0
  113. package/docs/functions/vue.useFiveModelIntersectRaycaster.html +7 -0
  114. package/docs/functions/vue.useFiveModelReadyState.html +4 -0
  115. package/docs/functions/vue.useFiveProject2d.html +7 -0
  116. package/docs/functions/vue.useFiveScene.html +2 -0
  117. package/docs/functions/vue.useFiveState.html +5 -0
  118. package/docs/functions/vue.useFiveWorks.html +8 -0
  119. package/docs/index.html +35 -79
  120. package/docs/interfaces/five.AddableObject.html +9 -9
  121. package/docs/interfaces/five.AjaxOptions.html +11 -0
  122. package/docs/interfaces/five.AnimationFrame.html +5 -1
  123. package/docs/interfaces/five.BaseEvent.html +5 -1
  124. package/docs/interfaces/five.BoundingVolume.html +15 -1
  125. package/docs/interfaces/five.CameraPose.html +6 -1
  126. package/docs/interfaces/five.ClipperParameter.html +3 -1
  127. package/docs/interfaces/five.EventCallback.html +355 -462
  128. package/docs/interfaces/five.FiveInitArgs.html +82 -86
  129. package/docs/interfaces/five.FiveLoadOptions.html +36 -0
  130. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -15
  131. package/docs/interfaces/five.GestureEvent.html +19 -1
  132. package/docs/interfaces/five.ImageOptions.html +16 -18
  133. package/docs/interfaces/five.ImageURLMappings.html +1 -1
  134. package/docs/interfaces/five.ImageURLOptions.html +15 -15
  135. package/docs/interfaces/five.IntersectEvent.html +8 -1
  136. package/docs/interfaces/five.IntersectMeshInterface.html +3 -3
  137. package/docs/interfaces/five.Intersection.html +3 -7
  138. package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +15 -11
  139. package/docs/interfaces/five.ModeChangeEvent.html +9 -1
  140. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +18 -18
  141. package/docs/interfaces/five.ModelEvent.html +8 -1
  142. package/docs/interfaces/five.ModelsEvent.html +6 -1
  143. package/docs/interfaces/five.MotionKeyframe.html +4 -1
  144. package/docs/interfaces/five.MovePanoOptions.html +24 -35
  145. package/docs/interfaces/five.NetworkOptions.html +9 -9
  146. package/docs/interfaces/five.NetworkResourceEvent.html +9 -1
  147. package/docs/interfaces/five.ObjectEvent.html +6 -1
  148. package/docs/interfaces/five.PBMPanoPicture.html +7 -7
  149. package/docs/interfaces/five.PBMParameters.html +42 -43
  150. package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +9 -1
  151. package/docs/interfaces/five.PanoCircleMeshInterface.html +21 -10
  152. package/docs/interfaces/five.PanoCircleMeshOptions.html +3 -1
  153. package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +3 -1
  154. package/docs/interfaces/five.PanoEvent.html +11 -1
  155. package/docs/interfaces/five.PanoTextureEvent.html +9 -1
  156. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +32 -32
  157. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +18 -18
  158. package/docs/interfaces/five.Pose.html +15 -32
  159. package/docs/interfaces/five.RenderEvent.html +7 -1
  160. package/docs/interfaces/five.Scissor.html +11 -12
  161. package/docs/interfaces/five.State.html +20 -21
  162. package/docs/interfaces/five.StateEvent.html +7 -1
  163. package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -1
  164. package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -1
  165. package/docs/interfaces/five.SubscribeMixinType.off.html +1 -1
  166. package/docs/interfaces/five.SubscribeMixinType.on.html +1 -1
  167. package/docs/interfaces/five.SubscribeMixinType.once.html +1 -1
  168. package/docs/interfaces/five.SubscribeMixinType.waitUnitl.html +1 -1
  169. package/docs/interfaces/five.TextureOptions.html +18 -20
  170. package/docs/interfaces/five.Tile3DModelLoaderOptions.html +6 -3
  171. package/docs/interfaces/five.TileCubeNode.html +7 -1
  172. package/docs/interfaces/five.TileCubeTree.html +2 -1
  173. package/docs/interfaces/five.TileHeader.html +9 -1
  174. package/docs/interfaces/five.TilesetHeader.html +5 -1
  175. package/docs/interfaces/five.TilesetOptions.html +5 -1
  176. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -9
  177. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +28 -28
  178. package/docs/interfaces/five.WebXRAxesParams.html +4 -1
  179. package/docs/interfaces/five.WebXRControllerParams.html +2 -1
  180. package/docs/interfaces/five.WorkCubeImage.html +15 -13
  181. package/docs/interfaces/five.WorkImage.html +20 -21
  182. package/docs/interfaces/five.WorkInitial.html +17 -17
  183. package/docs/interfaces/five.WorkModel.html +12 -13
  184. package/docs/interfaces/five.WorkObserver.html +40 -39
  185. package/docs/interfaces/five.WorkResolvedObserver.html +41 -37
  186. package/docs/interfaces/five.WorkTile.html +10 -1
  187. package/docs/interfaces/five.WorkVideo.html +8 -9
  188. package/docs/interfaces/five.WorksEvent.html +9 -1
  189. package/docs/interfaces/five.XRControllerEvent.html +8 -1
  190. package/docs/interfaces/five.XRGestureEvent.html +11 -1
  191. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +28 -28
  192. package/docs/interfaces/five.XRSessionEvent.html +7 -1
  193. package/docs/interfaces/gltf_loader.DDS.html +7 -1
  194. package/docs/interfaces/gltf_loader.GLTF.html +10 -4
  195. package/docs/interfaces/gltf_loader.GLTFReference.html +3 -1
  196. package/docs/interfaces/gltf_loader.THREEGLTF.html +8 -1
  197. package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +3 -0
  198. package/docs/interfaces/plugins.BasePlugin.Config.html +5 -0
  199. package/docs/interfaces/plugins.BasePlugin.State.html +8 -0
  200. package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +2 -0
  201. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +10 -0
  202. package/docs/interfaces/plugins.ItemMaskPluginType.ItemType.html +13 -0
  203. package/docs/interfaces/plugins.ItemMaskPluginType.MaskType.html +4 -0
  204. package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +4 -0
  205. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +14 -0
  206. package/docs/interfaces/react.FiveActionReactCallbacks.html +27 -37
  207. package/docs/interfaces/react.FiveInjectionTypes.html +112 -138
  208. package/docs/interfaces/react.PropTypeOfFiveFeatures.html +2 -1
  209. package/docs/interfaces/sticker.IntersectionLike.html +7 -8
  210. package/docs/interfaces/vfx.ParticleArgs.html +67 -68
  211. package/docs/interfaces/vfx.ParticleTweenKeyframe.html +3 -1
  212. package/docs/interfaces/vue.FiveActionVueCallbacks.html +31 -42
  213. package/docs/modules/five.SubscribeMixinType.html +7 -1
  214. package/docs/modules/five.html +171 -643
  215. package/docs/modules/gltf_loader.html +11 -1
  216. package/docs/modules/line.html +8 -1
  217. package/docs/modules/plugins.BasePlugin.html +6 -0
  218. package/docs/modules/plugins.ItemMaskPluginType.html +9 -0
  219. package/docs/modules/plugins.html +5 -0
  220. package/docs/modules/react.FiveCanvas.html +8 -0
  221. package/docs/modules/react.html +37 -130
  222. package/docs/modules/sticker.html +3 -1
  223. package/docs/modules/vfx.html +8 -1
  224. package/docs/modules/vue.html +24 -115
  225. package/docs/types/five.AjaxResponseType.html +1 -0
  226. package/docs/types/five.AjaxResponseTypeMapping.html +1 -0
  227. package/docs/types/five.BoundingVolumeJson.html +1 -0
  228. package/docs/types/five.BoxBoundingVolumeJson.html +1 -0
  229. package/docs/types/five.ControllerCustomInitTypes.html +1 -0
  230. package/docs/types/five.ControllerEventTypes.html +32 -0
  231. package/docs/types/five.CoordinatesSystemTransformer.html +1 -0
  232. package/docs/types/five.EventTypes.html +26 -0
  233. package/docs/types/five.FivePlugin.html +71 -0
  234. package/docs/types/five.FivePluginInit.html +3 -0
  235. package/docs/types/five.FivePluginInstance.html +3 -0
  236. package/docs/types/five.GestureTypes.html +1 -0
  237. package/docs/types/five.LegacyEventType.html +203 -0
  238. package/docs/types/five.LooseWork.html +1 -0
  239. package/docs/types/five.LooseWorkInitial.html +1 -0
  240. package/docs/types/five.LooseWorkModel.html +1 -0
  241. package/docs/types/five.LooseWorkObserver.html +1 -0
  242. package/docs/types/five.LooseWorkPanorama.html +1 -0
  243. package/docs/types/five.LooseWorkVideo.html +1 -0
  244. package/docs/types/five.LooseWorkWithExtrinsics.html +2 -0
  245. package/docs/types/five.Mirror.html +1 -0
  246. package/docs/types/five.Mode.html +10 -0
  247. package/docs/types/five.ModelMaterialValues.html +1 -0
  248. package/docs/types/five.Models.html +13 -0
  249. package/docs/types/five.MotionValue.html +1 -0
  250. package/docs/types/five.MovePanoEffect.html +9 -0
  251. package/docs/types/five.NetWorkMeta.html +1 -0
  252. package/docs/types/five.NetworkError.html +1 -0
  253. package/docs/types/five.NetworkErrorCallback.html +1 -0
  254. package/docs/types/five.NetworkProgressCallback.html +1 -0
  255. package/docs/types/five.NetworkResponse.html +1 -0
  256. package/docs/types/five.NetworkState.html +1 -0
  257. package/docs/types/five.NetworkSuccessCallback.html +1 -0
  258. package/docs/types/five.NetworkType.html +1 -0
  259. package/docs/types/five.Pano.html +1 -0
  260. package/docs/types/five.PanoId.html +1 -0
  261. package/docs/types/five.ParseWorkOptions.html +6 -0
  262. package/docs/types/five.ParsedResultType.html +1 -0
  263. package/docs/types/five.PostProcessingType.html +1 -0
  264. package/docs/types/five.RegionBoundingVolumeJson.html +1 -0
  265. package/docs/types/five.RequestResult.html +1 -0
  266. package/docs/types/five.SphereBoundingVolumeJson.html +1 -0
  267. package/docs/types/five.SubscribeEventMap.html +1 -0
  268. package/docs/types/five.TileContentData.html +1 -0
  269. package/docs/types/five.TilesetFrameState.html +1 -0
  270. package/docs/types/five.WebXRControllerKey.html +1 -0
  271. package/docs/types/five.WebXRControllerType.html +1 -0
  272. package/docs/types/five.Works.html +1 -0
  273. package/docs/types/line.LineMaterialParameters.html +1 -0
  274. package/docs/types/plugins.BasePlugin.EventMap.html +6 -0
  275. package/docs/types/plugins.ItemMaskPluginType.PluginData.html +1 -0
  276. package/docs/types/plugins.ItemMaskPluginType.ServerData.html +1 -0
  277. package/docs/types/react.FiveInjectionActionFeature.html +1 -0
  278. package/docs/types/react.FiveInjectionDataFeature.html +1 -0
  279. package/docs/types/react.FiveInjectionFeature.html +1 -0
  280. package/docs/types/react.FiveProviderPropTypes.html +1 -0
  281. package/docs/types/react.FiveProviderType.html +1 -0
  282. package/docs/types/react.StoreActionMapHanlder.html +1 -0
  283. package/docs/types/react.StoreActionMapType.html +1 -0
  284. package/docs/types/react.StoreProviderType.html +1 -0
  285. package/docs/types/react.StoreValueMapType.html +1 -0
  286. package/docs/types/vfx.ParticleType.html +1 -0
  287. package/docs/types/vue.FiveModelIntersectRaycaster.html +1 -0
  288. package/docs/types/vue.FiveProviderComponent.html +1 -0
  289. package/docs/types/vue.Project2d.html +1 -0
  290. package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -0
  291. package/docs/variables/five.defaultPbmParameters.html +1 -0
  292. package/docs/variables/react.INJECTION_PROPNAME.html +1 -0
  293. package/docs/variables/vue.FiveCanvas.html +8 -0
  294. package/docs/variables/vue.FiveProvider.html +8 -0
  295. package/five/index.d.ts +481 -351
  296. package/five/index.js +1879 -218
  297. package/five/index.mjs +23126 -0
  298. package/gltf-loader/index.js +204 -203
  299. package/gltf-loader/index.mjs +1708 -0
  300. package/line/index.js +396 -202
  301. package/line/index.mjs +776 -0
  302. package/package.json +48 -12
  303. package/plugins/index.d.ts +253 -0
  304. package/plugins/index.js +350 -0
  305. package/plugins/index.mjs +796 -0
  306. package/react/index.d.ts +35 -44
  307. package/react/index.js +198 -203
  308. package/react/index.mjs +1072 -0
  309. package/scripts/five-staticify.js +183 -2
  310. package/sticker/index.js +198 -203
  311. package/sticker/index.mjs +399 -0
  312. package/umd/five-gltf-loader.js +261 -1
  313. package/umd/five-line.js +454 -1
  314. package/umd/five-plugins.js +350 -0
  315. package/umd/five-react.js +255 -1
  316. package/umd/five-sticker.js +255 -1
  317. package/umd/five-vfx.js +539 -1
  318. package/umd/five-vue.js +255 -1
  319. package/umd/five.js +2023 -2
  320. package/vfx/index.js +481 -202
  321. package/vfx/index.mjs +1032 -0
  322. package/vue/index.d.ts +1 -1
  323. package/vue/index.js +198 -203
  324. package/vue/index.mjs +574 -0
  325. package/docs/assets/icons.css +0 -1043
  326. package/docs/assets/icons.png +0 -0
  327. package/docs/assets/icons@2x.png +0 -0
  328. package/docs/assets/widgets.png +0 -0
  329. package/docs/assets/widgets@2x.png +0 -0
  330. package/docs/classes/five.BVH.html +0 -10
  331. package/docs/classes/five.BVHIntersect.html +0 -1
  332. package/docs/classes/five.BVHNode.html +0 -7
  333. package/docs/classes/five.BVHVector3.html +0 -1
  334. package/docs/classes/five.Clipper.html +0 -1
  335. package/docs/classes/five.PBMMaterialReferenceCache.html +0 -1
  336. package/docs/enums/five.PBMPointColorType.html +0 -1
  337. package/docs/enums/five.PBMPointShapeType.html +0 -1
  338. package/docs/enums/five.PBMPointSizeType.html +0 -1
  339. package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +0 -26
  340. package/docs/interfaces/five.ModelLodOptions.html +0 -1
  341. package/docs/interfaces/five.WorkOptions.html +0 -15
  342. package/docs/modules.html +0 -1
  343. package/exporters/staticify.js +0 -210
  344. package/scripts/five-plugin-init.js +0 -83
  345. package/scripts/five-quick-start-init.js +0 -80
  346. package/scripts/five-react-component-init.js +0 -83
  347. package/templates/plugin/README.md +0 -38
  348. package/templates/plugin/devtools/external-five.js +0 -5
  349. package/templates/plugin/devtools/external-three.js +0 -5
  350. package/templates/plugin/devtools/tsconfig.build.json +0 -18
  351. package/templates/plugin/devtools/webpack.bundle.js +0 -44
  352. package/templates/plugin/devtools/webpack.example.js +0 -39
  353. package/templates/plugin/docs/.gitkeep +0 -0
  354. package/templates/plugin/examples/data.json +0 -507
  355. package/templates/plugin/examples/index.html +0 -28
  356. package/templates/plugin/examples/index.ts +0 -12
  357. package/templates/plugin/lib/index.ts +0 -30
  358. package/templates/plugin/package.json +0 -32
  359. package/templates/plugin/tsconfig.json +0 -26
  360. package/templates/quick-start/README.md +0 -47
  361. package/templates/quick-start/assets/work.json +0 -507
  362. package/templates/quick-start/index.html +0 -54
  363. package/templates/quick-start/index.tsx +0 -123
  364. package/templates/quick-start/package.json +0 -25
  365. package/templates/quick-start/tsconfig.json +0 -27
  366. package/templates/quick-start/webpack.config.js +0 -45
  367. package/templates/quick-start/webpack.production.js +0 -42
  368. package/templates/react-component/README.md +0 -32
  369. package/templates/react-component/devtools/external-five.js +0 -5
  370. package/templates/react-component/devtools/external-react.js +0 -5
  371. package/templates/react-component/devtools/external-three.js +0 -5
  372. package/templates/react-component/devtools/tsconfig.build.json +0 -19
  373. package/templates/react-component/devtools/webpack.bundle.js +0 -44
  374. package/templates/react-component/devtools/webpack.example.js +0 -39
  375. package/templates/react-component/docs/.gitkeep +0 -0
  376. package/templates/react-component/examples/data.json +0 -507
  377. package/templates/react-component/examples/index.html +0 -17
  378. package/templates/react-component/examples/index.tsx +0 -62
  379. package/templates/react-component/lib/index.tsx +0 -157
  380. package/templates/react-component/package.json +0 -38
  381. package/templates/react-component/tsconfig.json +0 -27
  382. package/umd/five-gltf-loader.js.LICENSE.txt +0 -14
  383. package/umd/five-line.js.LICENSE.txt +0 -14
  384. package/umd/five-react.js.LICENSE.txt +0 -14
  385. package/umd/five-sticker.js.LICENSE.txt +0 -14
  386. package/umd/five.js.LICENSE.txt +0 -100
@@ -1,155 +1,260 @@
1
- @import url("./icons.css");
2
-
3
1
  :root {
4
2
  /* Light */
5
- --light-color-background: #fcfcfc;
6
- --light-color-secondary-background: #fff;
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-icon-background: var(--light-color-background);
8
+ --light-color-accent: #c5c7c9;
9
+ --light-color-active-menu-item: var(--light-color-accent);
7
10
  --light-color-text: #222;
8
- --light-color-text-aside: #707070;
9
- --light-color-link: #4da6ff;
10
- --light-color-menu-divider: #eee;
11
- --light-color-menu-divider-focus: #000;
12
- --light-color-menu-label: #707070;
13
- --light-color-panel: var(--light-color-secondary-background);
14
- --light-color-panel-divider: #eee;
15
- --light-color-comment-tag: #707070;
16
- --light-color-comment-tag-text: #fff;
17
- --light-color-ts: #9600ff;
18
- --light-color-ts-interface: #647f1b;
19
- --light-color-ts-enum: #937210;
20
- --light-color-ts-class: #0672de;
21
- --light-color-ts-private: #707070;
22
- --light-color-toolbar: #fff;
23
- --light-color-toolbar-text: #333;
24
- --light-icon-filter: invert(0);
11
+ --light-color-text-aside: #6e6e6e;
12
+ --light-color-link: #1f70c2;
13
+
14
+ --light-color-ts-keyword: #056bd6;
15
+ --light-color-ts-project: #b111c9;
16
+ --light-color-ts-module: var(--light-color-ts-project);
17
+ --light-color-ts-namespace: var(--light-color-ts-project);
18
+ --light-color-ts-enum: #7e6f15;
19
+ --light-color-ts-enum-member: var(--light-color-ts-enum);
20
+ --light-color-ts-variable: #4760ec;
21
+ --light-color-ts-function: #572be7;
22
+ --light-color-ts-class: #1f70c2;
23
+ --light-color-ts-interface: #108024;
24
+ --light-color-ts-constructor: var(--light-color-ts-class);
25
+ --light-color-ts-property: var(--light-color-ts-variable);
26
+ --light-color-ts-method: var(--light-color-ts-function);
27
+ --light-color-ts-call-signature: var(--light-color-ts-method);
28
+ --light-color-ts-index-signature: var(--light-color-ts-property);
29
+ --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
30
+ --light-color-ts-parameter: var(--light-color-ts-variable);
31
+ /* type literal not included as links will never be generated to it */
32
+ --light-color-ts-type-parameter: var(--light-color-ts-type-alias);
33
+ --light-color-ts-accessor: var(--light-color-ts-property);
34
+ --light-color-ts-get-signature: var(--light-color-ts-accessor);
35
+ --light-color-ts-set-signature: var(--light-color-ts-accessor);
36
+ --light-color-ts-type-alias: #d51270;
37
+ /* reference not included as links will be colored with the kind that it points to */
38
+
25
39
  --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>");
40
+ --light-color-scheme: light;
26
41
 
27
42
  /* Dark */
28
- --dark-color-background: #36393f;
29
- --dark-color-secondary-background: #2f3136;
30
- --dark-color-text: #ffffff;
31
- --dark-color-text-aside: #e6e4e4;
43
+ --dark-color-background: #2b2e33;
44
+ --dark-color-background-secondary: #1e2024;
45
+ --dark-color-background-warning: #bebe00;
46
+ --dark-color-warning-text: #222;
47
+ --dark-color-icon-background: var(--dark-color-background-secondary);
48
+ --dark-color-accent: #9096a2;
49
+ --dark-color-active-menu-item: #5d5d6a;
50
+ --dark-color-text: #f5f5f5;
51
+ --dark-color-text-aside: #dddddd;
32
52
  --dark-color-link: #00aff4;
33
- --dark-color-menu-divider: #eee;
34
- --dark-color-menu-divider-focus: #000;
35
- --dark-color-menu-label: #707070;
36
- --dark-color-panel: var(--dark-color-secondary-background);
37
- --dark-color-panel-divider: #818181;
38
- --dark-color-comment-tag: #dcddde;
39
- --dark-color-comment-tag-text: #2f3136;
40
- --dark-color-ts: #c97dff;
41
- --dark-color-ts-interface: #9cbe3c;
42
- --dark-color-ts-enum: #d6ab29;
43
- --dark-color-ts-class: #3695f3;
44
- --dark-color-ts-private: #e2e2e2;
45
- --dark-color-toolbar: #34373c;
46
- --dark-color-toolbar-text: #ffffff;
47
- --dark-icon-filter: invert(1);
53
+
54
+ --dark-color-ts-keyword: #3399ff;
55
+ --dark-color-ts-project: #e358ff;
56
+ --dark-color-ts-module: var(--dark-color-ts-project);
57
+ --dark-color-ts-namespace: var(--dark-color-ts-project);
58
+ --dark-color-ts-enum: #f4d93e;
59
+ --dark-color-ts-enum-member: var(--dark-color-ts-enum);
60
+ --dark-color-ts-variable: #798dff;
61
+ --dark-color-ts-function: #a280ff;
62
+ --dark-color-ts-class: #8ac4ff;
63
+ --dark-color-ts-interface: #6cff87;
64
+ --dark-color-ts-constructor: var(--dark-color-ts-class);
65
+ --dark-color-ts-property: var(--dark-color-ts-variable);
66
+ --dark-color-ts-method: var(--dark-color-ts-function);
67
+ --dark-color-ts-call-signature: var(--dark-color-ts-method);
68
+ --dark-color-ts-index-signature: var(--dark-color-ts-property);
69
+ --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
70
+ --dark-color-ts-parameter: var(--dark-color-ts-variable);
71
+ /* type literal not included as links will never be generated to it */
72
+ --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
73
+ --dark-color-ts-accessor: var(--dark-color-ts-property);
74
+ --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
75
+ --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
76
+ --dark-color-ts-type-alias: #ff6492;
77
+ /* reference not included as links will be colored with the kind that it points to */
78
+
48
79
  --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>");
80
+ --dark-color-scheme: dark;
49
81
  }
50
82
 
51
83
  @media (prefers-color-scheme: light) {
52
84
  :root {
53
85
  --color-background: var(--light-color-background);
54
- --color-secondary-background: var(--light-color-secondary-background);
86
+ --color-background-secondary: var(--light-color-background-secondary);
87
+ --color-background-warning: var(--light-color-background-warning);
88
+ --color-warning-text: var(--light-color-warning-text);
89
+ --color-icon-background: var(--light-color-icon-background);
90
+ --color-accent: var(--light-color-accent);
91
+ --color-active-menu-item: var(--light-color-active-menu-item);
55
92
  --color-text: var(--light-color-text);
56
93
  --color-text-aside: var(--light-color-text-aside);
57
94
  --color-link: var(--light-color-link);
58
- --color-menu-divider: var(--light-color-menu-divider);
59
- --color-menu-divider-focus: var(--light-color-menu-divider-focus);
60
- --color-menu-label: var(--light-color-menu-label);
61
- --color-panel: var(--light-color-panel);
62
- --color-panel-divider: var(--light-color-panel-divider);
63
- --color-comment-tag: var(--light-color-comment-tag);
64
- --color-comment-tag-text: var(--light-color-comment-tag-text);
65
- --color-ts: var(--light-color-ts);
66
- --color-ts-interface: var(--light-color-ts-interface);
95
+
96
+ --color-ts-keyword: var(--light-color-ts-keyword);
97
+ --color-ts-module: var(--light-color-ts-module);
98
+ --color-ts-namespace: var(--light-color-ts-namespace);
67
99
  --color-ts-enum: var(--light-color-ts-enum);
100
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
101
+ --color-ts-variable: var(--light-color-ts-variable);
102
+ --color-ts-function: var(--light-color-ts-function);
68
103
  --color-ts-class: var(--light-color-ts-class);
69
- --color-ts-private: var(--light-color-ts-private);
70
- --color-toolbar: var(--light-color-toolbar);
71
- --color-toolbar-text: var(--light-color-toolbar-text);
72
- --icon-filter: var(--light-icon-filter);
104
+ --color-ts-interface: var(--light-color-ts-interface);
105
+ --color-ts-constructor: var(--light-color-ts-constructor);
106
+ --color-ts-property: var(--light-color-ts-property);
107
+ --color-ts-method: var(--light-color-ts-method);
108
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
109
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
110
+ --color-ts-constructor-signature: var(
111
+ --light-color-ts-constructor-signature
112
+ );
113
+ --color-ts-parameter: var(--light-color-ts-parameter);
114
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
115
+ --color-ts-accessor: var(--light-color-ts-accessor);
116
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
117
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
118
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
119
+
73
120
  --external-icon: var(--light-external-icon);
121
+ --color-scheme: var(--light-color-scheme);
74
122
  }
75
123
  }
76
124
 
77
125
  @media (prefers-color-scheme: dark) {
78
126
  :root {
79
127
  --color-background: var(--dark-color-background);
80
- --color-secondary-background: var(--dark-color-secondary-background);
128
+ --color-background-secondary: var(--dark-color-background-secondary);
129
+ --color-background-warning: var(--dark-color-background-warning);
130
+ --color-warning-text: var(--dark-color-warning-text);
131
+ --color-icon-background: var(--dark-color-icon-background);
132
+ --color-accent: var(--dark-color-accent);
133
+ --color-active-menu-item: var(--dark-color-active-menu-item);
81
134
  --color-text: var(--dark-color-text);
82
135
  --color-text-aside: var(--dark-color-text-aside);
83
136
  --color-link: var(--dark-color-link);
84
- --color-menu-divider: var(--dark-color-menu-divider);
85
- --color-menu-divider-focus: var(--dark-color-menu-divider-focus);
86
- --color-menu-label: var(--dark-color-menu-label);
87
- --color-panel: var(--dark-color-panel);
88
- --color-panel-divider: var(--dark-color-panel-divider);
89
- --color-comment-tag: var(--dark-color-comment-tag);
90
- --color-comment-tag-text: var(--dark-color-comment-tag-text);
91
- --color-ts: var(--dark-color-ts);
92
- --color-ts-interface: var(--dark-color-ts-interface);
137
+
138
+ --color-ts-keyword: var(--dark-color-ts-keyword);
139
+ --color-ts-module: var(--dark-color-ts-module);
140
+ --color-ts-namespace: var(--dark-color-ts-namespace);
93
141
  --color-ts-enum: var(--dark-color-ts-enum);
142
+ --color-ts-enum-member: var(--dark-color-ts-enum-member);
143
+ --color-ts-variable: var(--dark-color-ts-variable);
144
+ --color-ts-function: var(--dark-color-ts-function);
94
145
  --color-ts-class: var(--dark-color-ts-class);
95
- --color-ts-private: var(--dark-color-ts-private);
96
- --color-toolbar: var(--dark-color-toolbar);
97
- --color-toolbar-text: var(--dark-color-toolbar-text);
98
- --icon-filter: var(--dark-icon-filter);
146
+ --color-ts-interface: var(--dark-color-ts-interface);
147
+ --color-ts-constructor: var(--dark-color-ts-constructor);
148
+ --color-ts-property: var(--dark-color-ts-property);
149
+ --color-ts-method: var(--dark-color-ts-method);
150
+ --color-ts-call-signature: var(--dark-color-ts-call-signature);
151
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
152
+ --color-ts-constructor-signature: var(
153
+ --dark-color-ts-constructor-signature
154
+ );
155
+ --color-ts-parameter: var(--dark-color-ts-parameter);
156
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
157
+ --color-ts-accessor: var(--dark-color-ts-accessor);
158
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
159
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
160
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
161
+
99
162
  --external-icon: var(--dark-external-icon);
163
+ --color-scheme: var(--dark-color-scheme);
100
164
  }
101
165
  }
102
166
 
167
+ html {
168
+ color-scheme: var(--color-scheme);
169
+ }
170
+
103
171
  body {
104
172
  margin: 0;
105
173
  }
106
174
 
107
- body.light {
175
+ :root[data-theme="light"] {
108
176
  --color-background: var(--light-color-background);
109
- --color-secondary-background: var(--light-color-secondary-background);
177
+ --color-background-secondary: var(--light-color-background-secondary);
178
+ --color-background-warning: var(--light-color-background-warning);
179
+ --color-warning-text: var(--light-color-warning-text);
180
+ --color-icon-background: var(--light-color-icon-background);
181
+ --color-accent: var(--light-color-accent);
182
+ --color-active-menu-item: var(--light-color-active-menu-item);
110
183
  --color-text: var(--light-color-text);
111
184
  --color-text-aside: var(--light-color-text-aside);
112
185
  --color-link: var(--light-color-link);
113
- --color-menu-divider: var(--light-color-menu-divider);
114
- --color-menu-divider-focus: var(--light-color-menu-divider-focus);
115
- --color-menu-label: var(--light-color-menu-label);
116
- --color-panel: var(--light-color-panel);
117
- --color-panel-divider: var(--light-color-panel-divider);
118
- --color-comment-tag: var(--light-color-comment-tag);
119
- --color-comment-tag-text: var(--light-color-comment-tag-text);
120
- --color-ts: var(--light-color-ts);
121
- --color-ts-interface: var(--light-color-ts-interface);
186
+
187
+ --color-ts-keyword: var(--light-color-ts-keyword);
188
+ --color-ts-module: var(--light-color-ts-module);
189
+ --color-ts-namespace: var(--light-color-ts-namespace);
122
190
  --color-ts-enum: var(--light-color-ts-enum);
191
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
192
+ --color-ts-variable: var(--light-color-ts-variable);
193
+ --color-ts-function: var(--light-color-ts-function);
123
194
  --color-ts-class: var(--light-color-ts-class);
124
- --color-ts-private: var(--light-color-ts-private);
125
- --color-toolbar: var(--light-color-toolbar);
126
- --color-toolbar-text: var(--light-color-toolbar-text);
127
- --icon-filter: var(--light-icon-filter);
195
+ --color-ts-interface: var(--light-color-ts-interface);
196
+ --color-ts-constructor: var(--light-color-ts-constructor);
197
+ --color-ts-property: var(--light-color-ts-property);
198
+ --color-ts-method: var(--light-color-ts-method);
199
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
200
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
201
+ --color-ts-constructor-signature: var(
202
+ --light-color-ts-constructor-signature
203
+ );
204
+ --color-ts-parameter: var(--light-color-ts-parameter);
205
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
206
+ --color-ts-accessor: var(--light-color-ts-accessor);
207
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
208
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
209
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
210
+
128
211
  --external-icon: var(--light-external-icon);
212
+ --color-scheme: var(--light-color-scheme);
129
213
  }
130
214
 
131
- body.dark {
215
+ :root[data-theme="dark"] {
132
216
  --color-background: var(--dark-color-background);
133
- --color-secondary-background: var(--dark-color-secondary-background);
217
+ --color-background-secondary: var(--dark-color-background-secondary);
218
+ --color-background-warning: var(--dark-color-background-warning);
219
+ --color-warning-text: var(--dark-color-warning-text);
220
+ --color-icon-background: var(--dark-color-icon-background);
221
+ --color-accent: var(--dark-color-accent);
222
+ --color-active-menu-item: var(--dark-color-active-menu-item);
134
223
  --color-text: var(--dark-color-text);
135
224
  --color-text-aside: var(--dark-color-text-aside);
136
225
  --color-link: var(--dark-color-link);
137
- --color-menu-divider: var(--dark-color-menu-divider);
138
- --color-menu-divider-focus: var(--dark-color-menu-divider-focus);
139
- --color-menu-label: var(--dark-color-menu-label);
140
- --color-panel: var(--dark-color-panel);
141
- --color-panel-divider: var(--dark-color-panel-divider);
142
- --color-comment-tag: var(--dark-color-comment-tag);
143
- --color-comment-tag-text: var(--dark-color-comment-tag-text);
144
- --color-ts: var(--dark-color-ts);
145
- --color-ts-interface: var(--dark-color-ts-interface);
226
+
227
+ --color-ts-keyword: var(--dark-color-ts-keyword);
228
+ --color-ts-module: var(--dark-color-ts-module);
229
+ --color-ts-namespace: var(--dark-color-ts-namespace);
146
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);
147
234
  --color-ts-class: var(--dark-color-ts-class);
148
- --color-ts-private: var(--dark-color-ts-private);
149
- --color-toolbar: var(--dark-color-toolbar);
150
- --color-toolbar-text: var(--dark-color-toolbar-text);
151
- --icon-filter: var(--dark-icon-filter);
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-call-signature: var(--dark-color-ts-call-signature);
240
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
241
+ --color-ts-constructor-signature: var(
242
+ --dark-color-ts-constructor-signature
243
+ );
244
+ --color-ts-parameter: var(--dark-color-ts-parameter);
245
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
246
+ --color-ts-accessor: var(--dark-color-ts-accessor);
247
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
248
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
249
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
250
+
152
251
  --external-icon: var(--dark-external-icon);
252
+ --color-scheme: var(--dark-color-scheme);
253
+ }
254
+
255
+ .always-visible,
256
+ .always-visible .tsd-signatures {
257
+ display: inherit !important;
153
258
  }
154
259
 
155
260
  h1,
@@ -161,41 +266,48 @@ h6 {
161
266
  line-height: 1.2;
162
267
  }
163
268
 
269
+ h1 > a,
270
+ h2 > a,
271
+ h3 > a,
272
+ h4 > a,
273
+ h5 > a,
274
+ h6 > a {
275
+ text-decoration: none;
276
+ color: var(--color-text);
277
+ }
278
+
164
279
  h1 {
165
- font-size: 2em;
166
- margin: 0.67em 0;
280
+ font-size: 1.875rem;
281
+ margin: 0.67rem 0;
167
282
  }
168
283
 
169
284
  h2 {
170
- font-size: 1.5em;
171
- margin: 0.83em 0;
285
+ font-size: 1.5rem;
286
+ margin: 0.83rem 0;
172
287
  }
173
288
 
174
289
  h3 {
175
- font-size: 1.17em;
176
- margin: 1em 0;
290
+ font-size: 1.25rem;
291
+ margin: 1rem 0;
177
292
  }
178
293
 
179
- h4,
180
- .tsd-index-panel h3 {
181
- font-size: 1em;
182
- margin: 1.33em 0;
294
+ h4 {
295
+ font-size: 1.05rem;
296
+ margin: 1.33rem 0;
183
297
  }
184
298
 
185
299
  h5 {
186
- font-size: 0.83em;
187
- margin: 1.67em 0;
300
+ font-size: 1rem;
301
+ margin: 1.5rem 0;
188
302
  }
189
303
 
190
304
  h6 {
191
- font-size: 0.67em;
192
- margin: 2.33em 0;
305
+ font-size: 0.875rem;
306
+ margin: 2.33rem 0;
193
307
  }
194
308
 
195
- pre {
196
- white-space: pre;
197
- white-space: pre-wrap;
198
- word-wrap: break-word;
309
+ .uppercase {
310
+ text-transform: uppercase;
199
311
  }
200
312
 
201
313
  dl,
@@ -210,74 +322,28 @@ dd {
210
322
  }
211
323
 
212
324
  .container {
213
- max-width: 1200px;
214
- margin: 0 auto;
215
- padding: 0 40px;
216
- }
217
- @media (max-width: 640px) {
218
- .container {
219
- padding: 0 20px;
220
- }
221
- }
222
-
223
- .container-main {
224
- padding-bottom: 200px;
225
- }
226
-
227
- .row {
228
- display: flex;
229
- position: relative;
230
- margin: 0 -10px;
231
- }
232
- .row:after {
233
- visibility: hidden;
234
- display: block;
235
- content: "";
236
- clear: both;
237
- height: 0;
238
- }
239
-
240
- .col-4,
241
- .col-8 {
242
- box-sizing: border-box;
243
- float: left;
244
- padding: 0 10px;
325
+ max-width: 1700px;
326
+ padding: 0 2rem;
245
327
  }
246
328
 
247
- .col-4 {
248
- width: 33.3333333333%;
249
- }
250
- .col-8 {
251
- width: 66.6666666667%;
329
+ /* Footer */
330
+ .tsd-generator {
331
+ border-top: 1px solid var(--color-accent);
332
+ padding-top: 1rem;
333
+ padding-bottom: 1rem;
334
+ max-height: 3.5rem;
252
335
  }
253
336
 
254
- ul.tsd-descriptions > li > :first-child,
255
- .tsd-panel > :first-child,
256
- .col-8 > :first-child,
257
- .col-4 > :first-child,
258
- ul.tsd-descriptions > li > :first-child > :first-child,
259
- .tsd-panel > :first-child > :first-child,
260
- .col-8 > :first-child > :first-child,
261
- .col-4 > :first-child > :first-child,
262
- ul.tsd-descriptions > li > :first-child > :first-child > :first-child,
263
- .tsd-panel > :first-child > :first-child > :first-child,
264
- .col-8 > :first-child > :first-child > :first-child,
265
- .col-4 > :first-child > :first-child > :first-child {
337
+ .tsd-generator > p {
266
338
  margin-top: 0;
267
- }
268
- ul.tsd-descriptions > li > :last-child,
269
- .tsd-panel > :last-child,
270
- .col-8 > :last-child,
271
- .col-4 > :last-child,
272
- ul.tsd-descriptions > li > :last-child > :last-child,
273
- .tsd-panel > :last-child > :last-child,
274
- .col-8 > :last-child > :last-child,
275
- .col-4 > :last-child > :last-child,
276
- ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
277
- .tsd-panel > :last-child > :last-child > :last-child,
278
- .col-8 > :last-child > :last-child > :last-child,
279
- .col-4 > :last-child > :last-child > :last-child {
280
339
  margin-bottom: 0;
340
+ padding: 0 1rem;
341
+ }
342
+
343
+ .container-main {
344
+ margin: 0 auto;
345
+ /* toolbar, footer, margin */
346
+ min-height: calc(100vh - 41px - 56px - 4rem);
281
347
  }
282
348
 
283
349
  @keyframes fade-in {
@@ -320,22 +386,6 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
320
386
  opacity: 0;
321
387
  }
322
388
  }
323
- @keyframes shift-to-left {
324
- from {
325
- transform: translate(0, 0);
326
- }
327
- to {
328
- transform: translate(-25%, 0);
329
- }
330
- }
331
- @keyframes unshift-to-left {
332
- from {
333
- transform: translate(-25%, 0);
334
- }
335
- to {
336
- transform: translate(0, 0);
337
- }
338
- }
339
389
  @keyframes pop-in-from-right {
340
390
  from {
341
391
  transform: translate(100%, 0);
@@ -379,16 +429,34 @@ pre {
379
429
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
380
430
  padding: 0.2em;
381
431
  margin: 0;
382
- font-size: 14px;
432
+ font-size: 0.875rem;
433
+ border-radius: 0.8em;
383
434
  }
384
435
 
385
436
  pre {
437
+ position: relative;
438
+ white-space: pre;
439
+ white-space: pre-wrap;
440
+ word-wrap: break-word;
386
441
  padding: 10px;
442
+ border: 1px solid var(--color-accent);
387
443
  }
388
444
  pre code {
389
445
  padding: 0;
390
446
  font-size: 100%;
391
447
  }
448
+ pre > button {
449
+ position: absolute;
450
+ top: 10px;
451
+ right: 10px;
452
+ opacity: 0;
453
+ transition: opacity 0.1s;
454
+ box-sizing: border-box;
455
+ }
456
+ pre:hover > button,
457
+ pre > button.visible {
458
+ opacity: 1;
459
+ }
392
460
 
393
461
  blockquote {
394
462
  margin: 1em 0;
@@ -404,13 +472,12 @@ blockquote {
404
472
  padding: 0 0 0 20px;
405
473
  margin: 0;
406
474
  }
407
- .tsd-typography h4,
408
475
  .tsd-typography .tsd-index-panel h3,
409
476
  .tsd-index-panel .tsd-typography h3,
477
+ .tsd-typography h4,
410
478
  .tsd-typography h5,
411
479
  .tsd-typography h6 {
412
480
  font-size: 1em;
413
- margin: 0;
414
481
  }
415
482
  .tsd-typography h5,
416
483
  .tsd-typography h6 {
@@ -421,108 +488,18 @@ blockquote {
421
488
  .tsd-typography ol {
422
489
  margin: 1em 0;
423
490
  }
424
-
425
- @media (min-width: 901px) and (max-width: 1024px) {
426
- html .col-content {
427
- width: 72%;
428
- }
429
- html .col-menu {
430
- width: 28%;
431
- }
432
- html .tsd-navigation {
433
- padding-left: 10px;
434
- }
435
- }
436
- @media (max-width: 900px) {
437
- html .col-content {
438
- float: none;
439
- width: 100%;
440
- }
441
- html .col-menu {
442
- position: fixed !important;
443
- overflow: auto;
444
- -webkit-overflow-scrolling: touch;
445
- z-index: 1024;
446
- top: 0 !important;
447
- bottom: 0 !important;
448
- left: auto !important;
449
- right: 0 !important;
450
- width: 100%;
451
- padding: 20px 20px 0 0;
452
- max-width: 450px;
453
- visibility: hidden;
454
- background-color: var(--color-panel);
455
- transform: translate(100%, 0);
456
- }
457
- html .col-menu > *:last-child {
458
- padding-bottom: 20px;
459
- }
460
- html .overlay {
461
- content: "";
462
- display: block;
463
- position: fixed;
464
- z-index: 1023;
465
- top: 0;
466
- left: 0;
467
- right: 0;
468
- bottom: 0;
469
- background-color: rgba(0, 0, 0, 0.75);
470
- visibility: hidden;
471
- }
472
-
473
- .to-has-menu .overlay {
474
- animation: fade-in 0.4s;
475
- }
476
-
477
- .to-has-menu :is(header, footer, .col-content) {
478
- animation: shift-to-left 0.4s;
479
- }
480
-
481
- .to-has-menu .col-menu {
482
- animation: pop-in-from-right 0.4s;
483
- }
484
-
485
- .from-has-menu .overlay {
486
- animation: fade-out 0.4s;
487
- }
488
-
489
- .from-has-menu :is(header, footer, .col-content) {
490
- animation: unshift-to-left 0.4s;
491
- }
492
-
493
- .from-has-menu .col-menu {
494
- animation: pop-out-to-right 0.4s;
495
- }
496
-
497
- .has-menu body {
498
- overflow: hidden;
499
- }
500
- .has-menu .overlay {
501
- visibility: visible;
502
- }
503
- .has-menu :is(header, footer, .col-content) {
504
- transform: translate(-25%, 0);
505
- }
506
- .has-menu .col-menu {
507
- visibility: visible;
508
- transform: translate(0, 0);
509
- display: grid;
510
- grid-template-rows: auto 1fr;
511
- max-height: 100vh;
512
- }
513
- .has-menu .tsd-navigation {
514
- max-height: 100%;
515
- }
491
+ .tsd-typography table {
492
+ border-collapse: collapse;
493
+ border: none;
516
494
  }
517
-
518
- .tsd-page-title {
519
- padding: 70px 0 20px 0;
520
- margin: 0 0 40px 0;
521
- background: var(--color-panel);
522
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
495
+ .tsd-typography td,
496
+ .tsd-typography th {
497
+ padding: 6px 13px;
498
+ border: 1px solid var(--color-accent);
523
499
  }
524
- .tsd-page-title h1 {
525
- margin: 0;
500
+ .tsd-typography thead,
501
+ .tsd-typography tr:nth-child(even) {
502
+ background-color: var(--color-background-secondary);
526
503
  }
527
504
 
528
505
  .tsd-breadcrumb {
@@ -544,32 +521,44 @@ blockquote {
544
521
  content: " / ";
545
522
  }
546
523
 
547
- dl.tsd-comment-tags {
524
+ .tsd-comment-tags {
525
+ display: flex;
526
+ flex-direction: column;
527
+ }
528
+ dl.tsd-comment-tag-group {
529
+ display: flex;
530
+ align-items: center;
548
531
  overflow: hidden;
532
+ margin: 0.5em 0;
549
533
  }
550
- dl.tsd-comment-tags dt {
551
- float: left;
552
- padding: 1px 5px;
553
- margin: 0 10px 0 0;
554
- border-radius: 4px;
555
- border: 1px solid var(--color-comment-tag);
556
- color: var(--color-comment-tag);
557
- font-size: 0.8em;
534
+ dl.tsd-comment-tag-group dt {
535
+ display: flex;
536
+ margin-right: 0.5em;
537
+ font-size: 0.875em;
558
538
  font-weight: normal;
559
539
  }
560
- dl.tsd-comment-tags dd {
561
- margin: 0 0 10px 0;
540
+ dl.tsd-comment-tag-group dd {
541
+ margin: 0;
542
+ }
543
+ code.tsd-tag {
544
+ padding: 0.25em 0.4em;
545
+ border: 0.1em solid var(--color-accent);
546
+ margin-right: 0.25em;
547
+ font-size: 70%;
548
+ }
549
+ h1 code.tsd-tag:first-of-type {
550
+ margin-left: 0.25em;
562
551
  }
563
- dl.tsd-comment-tags dd:before,
564
- dl.tsd-comment-tags dd:after {
565
- display: table;
552
+
553
+ dl.tsd-comment-tag-group dd:before,
554
+ dl.tsd-comment-tag-group dd:after {
566
555
  content: " ";
567
556
  }
568
- dl.tsd-comment-tags dd pre,
569
- dl.tsd-comment-tags dd:after {
557
+ dl.tsd-comment-tag-group dd pre,
558
+ dl.tsd-comment-tag-group dd:after {
570
559
  clear: both;
571
560
  }
572
- dl.tsd-comment-tags p {
561
+ dl.tsd-comment-tag-group p {
573
562
  margin: 0;
574
563
  }
575
564
 
@@ -582,187 +571,115 @@ dl.tsd-comment-tags p {
582
571
  margin-bottom: 0;
583
572
  }
584
573
 
585
- .toggle-protected .tsd-is-private {
586
- display: none;
587
- }
588
-
589
- .toggle-public .tsd-is-private,
590
- .toggle-public .tsd-is-protected,
591
- .toggle-public .tsd-is-private-protected {
592
- display: none;
574
+ .tsd-filter-visibility h4 {
575
+ font-size: 1rem;
576
+ padding-top: 0.75rem;
577
+ padding-bottom: 0.5rem;
578
+ margin: 0;
593
579
  }
594
-
595
- .toggle-inherited .tsd-is-inherited {
596
- display: none;
580
+ .tsd-filter-item:not(:last-child) {
581
+ margin-bottom: 0.5rem;
597
582
  }
598
-
599
- .toggle-externals .tsd-is-external {
600
- display: none;
583
+ .tsd-filter-input {
584
+ display: flex;
585
+ width: fit-content;
586
+ width: -moz-fit-content;
587
+ align-items: center;
588
+ user-select: none;
589
+ -webkit-user-select: none;
590
+ -moz-user-select: none;
591
+ -ms-user-select: none;
592
+ cursor: pointer;
601
593
  }
602
-
603
- #tsd-filter {
604
- position: relative;
605
- display: inline-block;
606
- height: 40px;
607
- vertical-align: bottom;
594
+ .tsd-filter-input input[type="checkbox"] {
595
+ cursor: pointer;
596
+ position: absolute;
597
+ width: 1.5em;
598
+ height: 1.5em;
599
+ opacity: 0;
608
600
  }
609
- .no-filter #tsd-filter {
610
- display: none;
601
+ .tsd-filter-input input[type="checkbox"]:disabled {
602
+ pointer-events: none;
611
603
  }
612
- #tsd-filter .tsd-filter-group {
613
- display: inline-block;
614
- height: 40px;
615
- vertical-align: bottom;
616
- white-space: nowrap;
604
+ .tsd-filter-input svg {
605
+ cursor: pointer;
606
+ width: 1.5em;
607
+ height: 1.5em;
608
+ margin-right: 0.5em;
609
+ border-radius: 0.33em;
610
+ /* Leaving this at full opacity breaks event listeners on Firefox.
611
+ Don't remove unless you know what you're doing. */
612
+ opacity: 0.99;
617
613
  }
618
- #tsd-filter input {
619
- display: none;
614
+ .tsd-filter-input input[type="checkbox"]:focus + svg {
615
+ transform: scale(0.95);
620
616
  }
621
- @media (max-width: 900px) {
622
- #tsd-filter .tsd-filter-group {
623
- display: block;
624
- position: absolute;
625
- top: 40px;
626
- right: 20px;
627
- height: auto;
628
- background-color: var(--color-panel);
629
- visibility: hidden;
630
- transform: translate(50%, 0);
631
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
632
- }
633
- .has-options #tsd-filter .tsd-filter-group {
634
- visibility: visible;
635
- }
636
- .to-has-options #tsd-filter .tsd-filter-group {
637
- animation: fade-in 0.2s;
638
- }
639
- .from-has-options #tsd-filter .tsd-filter-group {
640
- animation: fade-out 0.2s;
641
- }
642
- #tsd-filter label,
643
- #tsd-filter .tsd-select {
644
- display: block;
645
- padding-right: 20px;
646
- }
617
+ .tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
618
+ transform: scale(1);
647
619
  }
648
-
649
- footer {
650
- border-top: 1px solid var(--color-panel-divider);
651
- background-color: var(--color-panel);
620
+ .tsd-checkbox-background {
621
+ fill: var(--color-accent);
652
622
  }
653
- footer:after {
654
- content: "";
655
- display: table;
623
+ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
624
+ stroke: var(--color-text);
656
625
  }
657
- footer.with-border-bottom {
658
- border-bottom: 1px solid var(--color-panel-divider);
626
+ .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
627
+ fill: var(--color-background);
628
+ stroke: var(--color-accent);
629
+ stroke-width: 0.25rem;
659
630
  }
660
- footer .tsd-legend-group {
661
- font-size: 0;
631
+ .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
632
+ stroke: var(--color-accent);
662
633
  }
663
- footer .tsd-legend {
664
- display: inline-block;
665
- width: 25%;
666
- padding: 0;
667
- font-size: 16px;
668
- list-style: none;
669
- line-height: 1.333em;
670
- vertical-align: top;
634
+
635
+ .tsd-theme-toggle {
636
+ padding-top: 0.75rem;
671
637
  }
672
- @media (max-width: 900px) {
673
- footer .tsd-legend {
674
- width: 50%;
675
- }
638
+ .tsd-theme-toggle > h4 {
639
+ display: inline;
640
+ vertical-align: middle;
641
+ margin-right: 0.75rem;
676
642
  }
677
643
 
678
644
  .tsd-hierarchy {
679
645
  list-style: square;
680
- padding: 0 0 0 20px;
681
646
  margin: 0;
682
647
  }
683
648
  .tsd-hierarchy .target {
684
649
  font-weight: bold;
685
650
  }
686
651
 
687
- .tsd-index-panel .tsd-index-content {
688
- margin-bottom: -30px !important;
689
- }
690
- .tsd-index-panel .tsd-index-section {
691
- margin-bottom: 30px !important;
692
- }
693
- .tsd-index-panel h3 {
694
- margin: 0 -20px 10px -20px;
695
- padding: 0 20px 10px 20px;
696
- border-bottom: 1px solid var(--color-panel-divider);
697
- }
698
- .tsd-index-panel ul.tsd-index-list {
699
- -webkit-column-count: 3;
700
- -moz-column-count: 3;
701
- -ms-column-count: 3;
702
- -o-column-count: 3;
703
- column-count: 3;
704
- -webkit-column-gap: 20px;
705
- -moz-column-gap: 20px;
706
- -ms-column-gap: 20px;
707
- -o-column-gap: 20px;
708
- column-gap: 20px;
709
- padding: 0;
652
+ .tsd-panel-group.tsd-index-group {
653
+ margin-bottom: 0;
654
+ }
655
+ .tsd-index-panel .tsd-index-list {
710
656
  list-style: none;
711
657
  line-height: 1.333em;
712
- }
713
- @media (max-width: 900px) {
714
- .tsd-index-panel ul.tsd-index-list {
715
- -webkit-column-count: 1;
716
- -moz-column-count: 1;
717
- -ms-column-count: 1;
718
- -o-column-count: 1;
719
- column-count: 1;
658
+ margin: 0;
659
+ padding: 0.25rem 0 0 0;
660
+ overflow: hidden;
661
+ display: grid;
662
+ grid-template-columns: repeat(3, 1fr);
663
+ column-gap: 1rem;
664
+ grid-template-rows: auto;
665
+ }
666
+ @media (max-width: 1024px) {
667
+ .tsd-index-panel .tsd-index-list {
668
+ grid-template-columns: repeat(2, 1fr);
720
669
  }
721
670
  }
722
- @media (min-width: 901px) and (max-width: 1024px) {
723
- .tsd-index-panel ul.tsd-index-list {
724
- -webkit-column-count: 2;
725
- -moz-column-count: 2;
726
- -ms-column-count: 2;
727
- -o-column-count: 2;
728
- column-count: 2;
671
+ @media (max-width: 768px) {
672
+ .tsd-index-panel .tsd-index-list {
673
+ grid-template-columns: repeat(1, 1fr);
729
674
  }
730
675
  }
731
- .tsd-index-panel ul.tsd-index-list li {
676
+ .tsd-index-panel .tsd-index-list li {
732
677
  -webkit-page-break-inside: avoid;
733
678
  -moz-page-break-inside: avoid;
734
679
  -ms-page-break-inside: avoid;
735
680
  -o-page-break-inside: avoid;
736
681
  page-break-inside: avoid;
737
682
  }
738
- .tsd-index-panel a,
739
- .tsd-index-panel .tsd-parent-kind-module a {
740
- color: var(--color-ts);
741
- }
742
- .tsd-index-panel .tsd-parent-kind-interface a {
743
- color: var(--color-ts-interface);
744
- }
745
- .tsd-index-panel .tsd-parent-kind-enum a {
746
- color: var(--color-ts-enum);
747
- }
748
- .tsd-index-panel .tsd-parent-kind-class a {
749
- color: var(--color-ts-class);
750
- }
751
- .tsd-index-panel .tsd-kind-module a {
752
- color: var(--color-ts);
753
- }
754
- .tsd-index-panel .tsd-kind-interface a {
755
- color: var(--color-ts-interface);
756
- }
757
- .tsd-index-panel .tsd-kind-enum a {
758
- color: var(--color-ts-enum);
759
- }
760
- .tsd-index-panel .tsd-kind-class a {
761
- color: var(--color-ts-class);
762
- }
763
- .tsd-index-panel .tsd-is-private a {
764
- color: var(--color-ts-private);
765
- }
766
683
 
767
684
  .tsd-flag {
768
685
  display: inline-block;
@@ -777,7 +694,7 @@ footer .tsd-legend {
777
694
  }
778
695
 
779
696
  .tsd-anchor {
780
- position: absolute;
697
+ position: relative;
781
698
  top: -100px;
782
699
  }
783
700
 
@@ -785,154 +702,145 @@ footer .tsd-legend {
785
702
  position: relative;
786
703
  }
787
704
  .tsd-member .tsd-anchor + h3 {
705
+ display: flex;
706
+ align-items: center;
788
707
  margin-top: 0;
789
708
  margin-bottom: 0;
790
709
  border-bottom: none;
791
710
  }
792
- .tsd-member [data-tsd-kind] {
793
- color: var(--color-ts);
794
- }
795
- .tsd-member [data-tsd-kind="Interface"] {
796
- color: var(--color-ts-interface);
797
- }
798
- .tsd-member [data-tsd-kind="Enum"] {
799
- color: var(--color-ts-enum);
800
- }
801
- .tsd-member [data-tsd-kind="Class"] {
802
- color: var(--color-ts-class);
803
- }
804
- .tsd-member [data-tsd-kind="Private"] {
805
- color: var(--color-ts-private);
806
- }
807
711
 
808
- .tsd-navigation {
809
- margin: 0 0 0 40px;
712
+ .tsd-navigation.settings {
713
+ margin: 1rem 0;
810
714
  }
811
- .tsd-navigation a {
812
- display: block;
813
- padding-top: 2px;
814
- padding-bottom: 2px;
815
- border-left: 2px solid transparent;
715
+ .tsd-navigation > a,
716
+ .tsd-navigation .tsd-accordion-summary {
717
+ width: calc(100% - 0.5rem);
718
+ }
719
+ .tsd-navigation a,
720
+ .tsd-navigation summary > span,
721
+ .tsd-page-navigation a {
722
+ display: inline-flex;
723
+ align-items: center;
724
+ padding: 0.25rem;
816
725
  color: var(--color-text);
817
726
  text-decoration: none;
818
- transition: border-left-color 0.1s;
727
+ box-sizing: border-box;
819
728
  }
820
- .tsd-navigation a:hover {
729
+ .tsd-navigation a.current,
730
+ .tsd-page-navigation a.current {
731
+ background: var(--color-active-menu-item);
732
+ }
733
+ .tsd-navigation a:hover,
734
+ .tsd-page-navigation a:hover {
821
735
  text-decoration: underline;
822
736
  }
823
- .tsd-navigation ul {
824
- margin: 0;
737
+ .tsd-navigation ul,
738
+ .tsd-page-navigation ul {
739
+ margin-top: 0;
740
+ margin-bottom: 0;
825
741
  padding: 0;
826
742
  list-style: none;
827
743
  }
828
- .tsd-navigation li {
744
+ .tsd-navigation li,
745
+ .tsd-page-navigation li {
829
746
  padding: 0;
747
+ max-width: 100%;
830
748
  }
831
-
832
- .tsd-navigation.primary {
833
- padding-bottom: 40px;
834
- }
835
- .tsd-navigation.primary a {
836
- display: block;
837
- padding-top: 6px;
838
- padding-bottom: 6px;
839
- }
840
- .tsd-navigation.primary ul li a {
841
- padding-left: 5px;
842
- }
843
- .tsd-navigation.primary ul li li a {
844
- padding-left: 25px;
845
- }
846
- .tsd-navigation.primary ul li li li a {
847
- padding-left: 45px;
848
- }
849
- .tsd-navigation.primary ul li li li li a {
850
- padding-left: 65px;
851
- }
852
- .tsd-navigation.primary ul li li li li li a {
853
- padding-left: 85px;
749
+ .tsd-nested-navigation {
750
+ margin-left: 3rem;
854
751
  }
855
- .tsd-navigation.primary ul li li li li li li a {
856
- padding-left: 105px;
752
+ .tsd-nested-navigation > li > details {
753
+ margin-left: -1.5rem;
857
754
  }
858
- .tsd-navigation.primary > ul {
859
- border-bottom: 1px solid var(--color-panel-divider);
755
+ .tsd-small-nested-navigation {
756
+ margin-left: 1.5rem;
860
757
  }
861
- .tsd-navigation.primary li {
862
- border-top: 1px solid var(--color-panel-divider);
758
+ .tsd-small-nested-navigation > li > details {
759
+ margin-left: -1.5rem;
863
760
  }
864
- .tsd-navigation.primary li.current > a {
865
- font-weight: bold;
866
- }
867
- .tsd-navigation.primary li.label span {
868
- display: block;
869
- padding: 20px 0 6px 5px;
870
- color: var(--color-menu-label);
761
+
762
+ .tsd-nested-navigation > li > a,
763
+ .tsd-nested-navigation > li > span {
764
+ width: calc(100% - 1.75rem - 0.5rem);
871
765
  }
872
- .tsd-navigation.primary li.globals + li > span,
873
- .tsd-navigation.primary li.globals + li > a {
874
- padding-top: 20px;
766
+
767
+ .tsd-page-navigation ul {
768
+ padding-left: 1.75rem;
875
769
  }
876
770
 
877
- .tsd-navigation.secondary {
878
- max-height: calc(100vh - 1rem - 40px);
879
- overflow: auto;
880
- position: sticky;
881
- top: calc(0.5rem + 40px);
882
- transition: 0.3s;
771
+ #tsd-sidebar-links a {
772
+ margin-top: 0;
773
+ margin-bottom: 0.5rem;
774
+ line-height: 1.25rem;
883
775
  }
884
- .tsd-navigation.secondary.tsd-navigation--toolbar-hide {
885
- max-height: calc(100vh - 1rem);
886
- top: 0.5rem;
776
+ #tsd-sidebar-links a:last-of-type {
777
+ margin-bottom: 0;
887
778
  }
888
- .tsd-navigation.secondary ul {
889
- transition: opacity 0.2s;
779
+
780
+ a.tsd-index-link {
781
+ padding: 0.25rem 0 !important;
782
+ font-size: 1rem;
783
+ line-height: 1.25rem;
784
+ display: inline-flex;
785
+ align-items: center;
786
+ color: var(--color-text);
890
787
  }
891
- .tsd-navigation.secondary ul li a {
892
- padding-left: 25px;
788
+ .tsd-accordion-summary {
789
+ list-style-type: none; /* hide marker on non-safari */
790
+ outline: none; /* broken on safari, so just hide it */
893
791
  }
894
- .tsd-navigation.secondary ul li li a {
895
- padding-left: 45px;
792
+ .tsd-accordion-summary::-webkit-details-marker {
793
+ display: none; /* hide marker on safari */
896
794
  }
897
- .tsd-navigation.secondary ul li li li a {
898
- padding-left: 65px;
795
+ .tsd-accordion-summary,
796
+ .tsd-accordion-summary a {
797
+ user-select: none;
798
+ -moz-user-select: none;
799
+ -webkit-user-select: none;
800
+ -ms-user-select: none;
801
+
802
+ cursor: pointer;
899
803
  }
900
- .tsd-navigation.secondary ul li li li li a {
901
- padding-left: 85px;
804
+ .tsd-accordion-summary a {
805
+ width: calc(100% - 1.5rem);
902
806
  }
903
- .tsd-navigation.secondary ul li li li li li a {
904
- padding-left: 105px;
807
+ .tsd-accordion-summary > * {
808
+ margin-top: 0;
809
+ margin-bottom: 0;
810
+ padding-top: 0;
811
+ padding-bottom: 0;
905
812
  }
906
- .tsd-navigation.secondary ul li li li li li li a {
907
- padding-left: 125px;
813
+ .tsd-index-accordion .tsd-accordion-summary > svg {
814
+ margin-left: 0.25rem;
908
815
  }
909
- .tsd-navigation.secondary ul.current a {
910
- border-left-color: var(--color-panel-divider);
816
+ .tsd-index-content > :not(:first-child) {
817
+ margin-top: 0.75rem;
911
818
  }
912
- .tsd-navigation.secondary li.focus > a,
913
- .tsd-navigation.secondary ul.current li.focus > a {
914
- border-left-color: var(--color-menu-divider-focus);
819
+ .tsd-index-heading {
820
+ margin-top: 1.5rem;
821
+ margin-bottom: 0.75rem;
915
822
  }
916
- .tsd-navigation.secondary li.current {
917
- margin-top: 20px;
918
- margin-bottom: 20px;
919
- border-left-color: var(--color-panel-divider);
823
+
824
+ .tsd-kind-icon {
825
+ margin-right: 0.5rem;
826
+ width: 1.25rem;
827
+ height: 1.25rem;
828
+ min-width: 1.25rem;
829
+ min-height: 1.25rem;
920
830
  }
921
- .tsd-navigation.secondary li.current > a {
922
- font-weight: bold;
831
+ .tsd-kind-icon path {
832
+ transform-origin: center;
833
+ transform: scale(1.1);
923
834
  }
924
-
925
- @media (min-width: 901px) {
926
- .menu-sticky-wrap {
927
- position: static;
928
- }
835
+ .tsd-signature > .tsd-kind-icon {
836
+ margin-right: 0.8rem;
929
837
  }
930
838
 
931
839
  .tsd-panel {
932
- margin: 20px 0;
933
- padding: 20px;
934
- background-color: var(--color-panel);
935
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
840
+ margin-bottom: 2.5rem;
841
+ }
842
+ .tsd-panel.tsd-member {
843
+ margin-bottom: 4rem;
936
844
  }
937
845
  .tsd-panel:empty {
938
846
  display: none;
@@ -940,48 +848,24 @@ footer .tsd-legend {
940
848
  .tsd-panel > h1,
941
849
  .tsd-panel > h2,
942
850
  .tsd-panel > h3 {
943
- margin: 1.5em -20px 10px -20px;
944
- padding: 0 20px 10px 20px;
945
- border-bottom: 1px solid var(--color-panel-divider);
851
+ margin: 1.5rem -1.5rem 0.75rem -1.5rem;
852
+ padding: 0 1.5rem 0.75rem 1.5rem;
946
853
  }
947
854
  .tsd-panel > h1.tsd-before-signature,
948
855
  .tsd-panel > h2.tsd-before-signature,
949
856
  .tsd-panel > h3.tsd-before-signature {
950
857
  margin-bottom: 0;
951
- border-bottom: 0;
952
- }
953
- .tsd-panel table {
954
- display: block;
955
- width: 100%;
956
- overflow: auto;
957
- margin-top: 10px;
958
- word-break: normal;
959
- word-break: keep-all;
960
- border-collapse: collapse;
961
- }
962
- .tsd-panel table th {
963
- font-weight: bold;
964
- }
965
- .tsd-panel table th,
966
- .tsd-panel table td {
967
- padding: 6px 13px;
968
- border: 1px solid var(--color-panel-divider);
969
- }
970
- .tsd-panel table tr {
971
- background: var(--color-background);
972
- }
973
- .tsd-panel table tr:nth-child(even) {
974
- background: var(--color-secondary-background);
858
+ border-bottom: none;
975
859
  }
976
860
 
977
861
  .tsd-panel-group {
978
- margin: 60px 0;
862
+ margin: 4rem 0;
979
863
  }
980
- .tsd-panel-group > h1,
981
- .tsd-panel-group > h2,
982
- .tsd-panel-group > h3 {
983
- padding-left: 20px;
984
- padding-right: 20px;
864
+ .tsd-panel-group.tsd-index-group {
865
+ margin: 2rem 0;
866
+ }
867
+ .tsd-panel-group.tsd-index-group details {
868
+ margin: 2rem 0;
985
869
  }
986
870
 
987
871
  #tsd-search {
@@ -995,8 +879,8 @@ footer .tsd-legend {
995
879
  position: absolute;
996
880
  left: 0;
997
881
  top: 0;
998
- right: 40px;
999
- height: 40px;
882
+ right: 2.5rem;
883
+ height: 100%;
1000
884
  }
1001
885
  #tsd-search .field input {
1002
886
  box-sizing: border-box;
@@ -1017,7 +901,8 @@ footer .tsd-legend {
1017
901
  right: -40px;
1018
902
  }
1019
903
  #tsd-search .field input,
1020
- #tsd-search .title {
904
+ #tsd-search .title,
905
+ #tsd-toolbar-links a {
1021
906
  transition: opacity 0.2s;
1022
907
  }
1023
908
  #tsd-search .results {
@@ -1031,21 +916,25 @@ footer .tsd-legend {
1031
916
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1032
917
  }
1033
918
  #tsd-search .results li {
1034
- padding: 0 10px;
1035
919
  background-color: var(--color-background);
920
+ line-height: initial;
921
+ padding: 4px;
1036
922
  }
1037
923
  #tsd-search .results li:nth-child(even) {
1038
- background-color: var(--color-panel);
924
+ background-color: var(--color-background-secondary);
1039
925
  }
1040
926
  #tsd-search .results li.state {
1041
927
  display: none;
1042
928
  }
1043
- #tsd-search .results li.current,
1044
- #tsd-search .results li:hover {
1045
- background-color: var(--color-panel-divider);
929
+ #tsd-search .results li.current:not(.no-results),
930
+ #tsd-search .results li:hover:not(.no-results) {
931
+ background-color: var(--color-accent);
1046
932
  }
1047
933
  #tsd-search .results a {
1048
- display: block;
934
+ display: flex;
935
+ align-items: center;
936
+ padding: 0.25rem;
937
+ box-sizing: border-box;
1049
938
  }
1050
939
  #tsd-search .results a:before {
1051
940
  top: 10px;
@@ -1055,13 +944,14 @@ footer .tsd-legend {
1055
944
  font-weight: normal;
1056
945
  }
1057
946
  #tsd-search.has-focus {
1058
- background-color: var(--color-panel-divider);
947
+ background-color: var(--color-accent);
1059
948
  }
1060
949
  #tsd-search.has-focus .field input {
1061
950
  top: 0;
1062
951
  opacity: 1;
1063
952
  }
1064
- #tsd-search.has-focus .title {
953
+ #tsd-search.has-focus .title,
954
+ #tsd-search.has-focus #tsd-toolbar-links a {
1065
955
  z-index: 0;
1066
956
  opacity: 0;
1067
957
  }
@@ -1075,31 +965,34 @@ footer .tsd-legend {
1075
965
  display: block;
1076
966
  }
1077
967
 
968
+ #tsd-toolbar-links {
969
+ position: absolute;
970
+ top: 0;
971
+ right: 2rem;
972
+ height: 100%;
973
+ display: flex;
974
+ align-items: center;
975
+ justify-content: flex-end;
976
+ }
977
+ #tsd-toolbar-links a {
978
+ margin-left: 1.5rem;
979
+ }
980
+ #tsd-toolbar-links a:hover {
981
+ text-decoration: underline;
982
+ }
983
+
1078
984
  .tsd-signature {
1079
- margin: 0 0 1em 0;
1080
- padding: 10px;
1081
- border: 1px solid var(--color-panel-divider);
985
+ margin: 0 0 1rem 0;
986
+ padding: 1rem 0.5rem;
987
+ border: 1px solid var(--color-accent);
1082
988
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1083
989
  font-size: 14px;
1084
990
  overflow-x: auto;
1085
991
  }
1086
- .tsd-signature.tsd-kind-icon {
1087
- padding-left: 30px;
1088
- }
1089
- .tsd-signature.tsd-kind-icon:before {
1090
- top: 10px;
1091
- left: 10px;
1092
- }
1093
- .tsd-panel > .tsd-signature {
1094
- margin-left: -20px;
1095
- margin-right: -20px;
1096
- border-width: 1px 0;
1097
- }
1098
- .tsd-panel > .tsd-signature.tsd-kind-icon {
1099
- padding-left: 40px;
1100
- }
1101
- .tsd-panel > .tsd-signature.tsd-kind-icon:before {
1102
- left: 20px;
992
+
993
+ .tsd-signature-keyword {
994
+ color: var(--color-ts-keyword);
995
+ font-weight: normal;
1103
996
  }
1104
997
 
1105
998
  .tsd-signature-symbol {
@@ -1115,123 +1008,60 @@ footer .tsd-legend {
1115
1008
  .tsd-signatures {
1116
1009
  padding: 0;
1117
1010
  margin: 0 0 1em 0;
1118
- border: 1px solid var(--color-panel-divider);
1011
+ list-style-type: none;
1119
1012
  }
1120
1013
  .tsd-signatures .tsd-signature {
1121
1014
  margin: 0;
1122
- border-width: 1px 0 0 0;
1123
- transition: background-color 0.1s;
1124
- }
1125
- .tsd-signatures .tsd-signature:first-child {
1126
- border-top-width: 0;
1127
- }
1128
- .tsd-signatures .tsd-signature.current {
1129
- background-color: var(--color-panel-divider);
1130
- }
1131
- .tsd-signatures.active > .tsd-signature {
1132
- cursor: pointer;
1133
- }
1134
- .tsd-panel > .tsd-signatures {
1135
- margin-left: -20px;
1136
- margin-right: -20px;
1015
+ border-color: var(--color-accent);
1137
1016
  border-width: 1px 0;
1017
+ transition: background-color 0.1s;
1138
1018
  }
1139
- .tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon {
1140
- padding-left: 40px;
1141
- }
1142
- .tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before {
1143
- left: 20px;
1144
- }
1145
- .tsd-panel > a.anchor + .tsd-signatures {
1146
- border-top-width: 0;
1147
- margin-top: -20px;
1148
- }
1149
-
1150
- ul.tsd-descriptions {
1151
- position: relative;
1152
- overflow: hidden;
1153
- padding: 0;
1154
- list-style: none;
1155
- }
1156
- ul.tsd-descriptions.active > .tsd-description {
1157
- display: none;
1158
- }
1159
- ul.tsd-descriptions.active > .tsd-description.current {
1160
- display: block;
1161
- }
1162
- ul.tsd-descriptions.active > .tsd-description.fade-in {
1163
- animation: fade-in-delayed 0.3s;
1164
- }
1165
- ul.tsd-descriptions.active > .tsd-description.fade-out {
1166
- animation: fade-out-delayed 0.3s;
1167
- position: absolute;
1168
- display: block;
1169
- top: 0;
1170
- left: 0;
1171
- right: 0;
1172
- opacity: 0;
1173
- visibility: hidden;
1174
- }
1175
- ul.tsd-descriptions h4,
1176
- ul.tsd-descriptions .tsd-index-panel h3,
1177
- .tsd-index-panel ul.tsd-descriptions h3 {
1178
- font-size: 16px;
1179
- margin: 1em 0 0.5em 0;
1019
+ .tsd-description .tsd-signatures .tsd-signature {
1020
+ border-width: 1px;
1180
1021
  }
1181
1022
 
1182
- ul.tsd-parameters,
1183
- ul.tsd-type-parameters {
1023
+ ul.tsd-parameter-list,
1024
+ ul.tsd-type-parameter-list {
1184
1025
  list-style: square;
1185
1026
  margin: 0;
1186
1027
  padding-left: 20px;
1187
1028
  }
1188
- ul.tsd-parameters > li.tsd-parameter-signature,
1189
- ul.tsd-type-parameters > li.tsd-parameter-signature {
1029
+ ul.tsd-parameter-list > li.tsd-parameter-signature,
1030
+ ul.tsd-type-parameter-list > li.tsd-parameter-signature {
1190
1031
  list-style: none;
1191
1032
  margin-left: -20px;
1192
1033
  }
1193
- ul.tsd-parameters h5,
1194
- ul.tsd-type-parameters h5 {
1034
+ ul.tsd-parameter-list h5,
1035
+ ul.tsd-type-parameter-list h5 {
1195
1036
  font-size: 16px;
1196
1037
  margin: 1em 0 0.5em 0;
1197
1038
  }
1198
- ul.tsd-parameters .tsd-comment,
1199
- ul.tsd-type-parameters .tsd-comment {
1200
- margin-top: -0.5em;
1201
- }
1202
-
1203
1039
  .tsd-sources {
1204
- font-size: 14px;
1205
- color: var(--color-text-aside);
1206
- margin: 0 0 1em 0;
1040
+ margin-top: 1rem;
1041
+ font-size: 0.875em;
1207
1042
  }
1208
1043
  .tsd-sources a {
1209
1044
  color: var(--color-text-aside);
1210
1045
  text-decoration: underline;
1211
1046
  }
1212
- .tsd-sources ul,
1213
- .tsd-sources p {
1214
- margin: 0 !important;
1215
- }
1216
1047
  .tsd-sources ul {
1217
1048
  list-style: none;
1218
1049
  padding: 0;
1219
1050
  }
1220
1051
 
1221
1052
  .tsd-page-toolbar {
1222
- position: fixed;
1053
+ position: sticky;
1223
1054
  z-index: 1;
1224
1055
  top: 0;
1225
1056
  left: 0;
1226
1057
  width: 100%;
1227
- height: 40px;
1228
- color: var(--color-toolbar-text);
1229
- background: var(--color-toolbar);
1230
- border-bottom: 1px solid var(--color-panel-divider);
1231
- transition: transform 0.3s linear;
1058
+ color: var(--color-text);
1059
+ background: var(--color-background-secondary);
1060
+ border-bottom: 1px var(--color-accent) solid;
1061
+ transition: transform 0.3s ease-in-out;
1232
1062
  }
1233
1063
  .tsd-page-toolbar a {
1234
- color: var(--color-toolbar-text);
1064
+ color: var(--color-text);
1235
1065
  text-decoration: none;
1236
1066
  }
1237
1067
  .tsd-page-toolbar a.title {
@@ -1240,13 +1070,13 @@ ul.tsd-type-parameters .tsd-comment {
1240
1070
  .tsd-page-toolbar a.title:hover {
1241
1071
  text-decoration: underline;
1242
1072
  }
1243
- .tsd-page-toolbar .table-wrap {
1244
- display: table;
1245
- width: 100%;
1246
- height: 40px;
1073
+ .tsd-page-toolbar .tsd-toolbar-contents {
1074
+ display: flex;
1075
+ justify-content: space-between;
1076
+ height: 2.5rem;
1077
+ margin: 0 auto;
1247
1078
  }
1248
1079
  .tsd-page-toolbar .table-cell {
1249
- display: table-cell;
1250
1080
  position: relative;
1251
1081
  white-space: nowrap;
1252
1082
  line-height: 40px;
@@ -1254,32 +1084,10 @@ ul.tsd-type-parameters .tsd-comment {
1254
1084
  .tsd-page-toolbar .table-cell:first-child {
1255
1085
  width: 100%;
1256
1086
  }
1257
-
1258
- .tsd-page-toolbar--hide {
1259
- transform: translateY(-100%);
1260
- }
1261
-
1262
- .tsd-select .tsd-select-list li:before,
1263
- .tsd-select .tsd-select-label:before,
1264
- .tsd-widget:before {
1265
- content: "";
1266
- display: inline-block;
1267
- width: 40px;
1268
- height: 40px;
1269
- margin: 0 -8px 0 0;
1270
- background-image: url(./widgets.png);
1271
- background-repeat: no-repeat;
1272
- text-indent: -1024px;
1273
- vertical-align: bottom;
1274
- filter: var(--icon-filter);
1275
- }
1276
- @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
1277
- .tsd-select .tsd-select-list li:before,
1278
- .tsd-select .tsd-select-label:before,
1279
- .tsd-widget:before {
1280
- background-image: url(./widgets@2x.png);
1281
- background-size: 320px 40px;
1282
- }
1087
+ .tsd-page-toolbar .tsd-toolbar-icon {
1088
+ box-sizing: border-box;
1089
+ line-height: 0;
1090
+ padding: 12px 0;
1283
1091
  }
1284
1092
 
1285
1093
  .tsd-widget {
@@ -1287,7 +1095,9 @@ ul.tsd-type-parameters .tsd-comment {
1287
1095
  overflow: hidden;
1288
1096
  opacity: 0.8;
1289
1097
  height: 40px;
1290
- transition: opacity 0.1s, background-color 0.2s;
1098
+ transition:
1099
+ opacity 0.1s,
1100
+ background-color 0.2s;
1291
1101
  vertical-align: bottom;
1292
1102
  cursor: pointer;
1293
1103
  }
@@ -1296,7 +1106,7 @@ ul.tsd-type-parameters .tsd-comment {
1296
1106
  }
1297
1107
  .tsd-widget.active {
1298
1108
  opacity: 1;
1299
- background-color: var(--color-panel-divider);
1109
+ background-color: var(--color-accent);
1300
1110
  }
1301
1111
  .tsd-widget.no-caption {
1302
1112
  width: 40px;
@@ -1304,25 +1114,11 @@ ul.tsd-type-parameters .tsd-comment {
1304
1114
  .tsd-widget.no-caption:before {
1305
1115
  margin: 0;
1306
1116
  }
1307
- .tsd-widget.search:before {
1308
- background-position: 0 0;
1309
- }
1310
- .tsd-widget.menu:before {
1311
- background-position: -40px 0;
1312
- }
1313
- .tsd-widget.options:before {
1314
- background-position: -80px 0;
1315
- }
1117
+
1316
1118
  .tsd-widget.options,
1317
1119
  .tsd-widget.menu {
1318
1120
  display: none;
1319
1121
  }
1320
- @media (max-width: 900px) {
1321
- .tsd-widget.options,
1322
- .tsd-widget.menu {
1323
- display: inline-block;
1324
- }
1325
- }
1326
1122
  input[type="checkbox"] + .tsd-widget:before {
1327
1123
  background-position: -120px 0;
1328
1124
  }
@@ -1330,85 +1126,269 @@ input[type="checkbox"]:checked + .tsd-widget:before {
1330
1126
  background-position: -160px 0;
1331
1127
  }
1332
1128
 
1333
- .tsd-select {
1334
- position: relative;
1335
- display: inline-block;
1336
- height: 40px;
1337
- transition: opacity 0.1s, background-color 0.2s;
1338
- vertical-align: bottom;
1339
- cursor: pointer;
1340
- }
1341
- .tsd-select .tsd-select-label {
1342
- opacity: 0.6;
1343
- transition: opacity 0.2s;
1129
+ img {
1130
+ max-width: 100%;
1344
1131
  }
1345
- .tsd-select .tsd-select-label:before {
1346
- background-position: -240px 0;
1132
+
1133
+ .tsd-anchor-icon {
1134
+ display: inline-flex;
1135
+ align-items: center;
1136
+ margin-left: 0.5rem;
1137
+ vertical-align: middle;
1138
+ color: var(--color-text);
1347
1139
  }
1348
- .tsd-select.active .tsd-select-label {
1349
- opacity: 0.8;
1140
+
1141
+ .tsd-anchor-icon svg {
1142
+ width: 1em;
1143
+ height: 1em;
1144
+ visibility: hidden;
1350
1145
  }
1351
- .tsd-select.active .tsd-select-list {
1146
+
1147
+ .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1352
1148
  visibility: visible;
1353
- opacity: 1;
1354
- transition-delay: 0s;
1355
1149
  }
1356
- .tsd-select .tsd-select-list {
1357
- position: absolute;
1358
- visibility: hidden;
1359
- top: 40px;
1360
- left: 0;
1361
- margin: 0;
1362
- padding: 0;
1363
- opacity: 0;
1364
- list-style: none;
1365
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1366
- transition: visibility 0s 0.2s, opacity 0.2s;
1150
+
1151
+ .deprecated {
1152
+ text-decoration: line-through !important;
1367
1153
  }
1368
- .tsd-select .tsd-select-list li {
1369
- padding: 0 20px 0 0;
1370
- background-color: var(--color-background);
1154
+
1155
+ .warning {
1156
+ padding: 1rem;
1157
+ color: var(--color-warning-text);
1158
+ background: var(--color-background-warning);
1159
+ }
1160
+
1161
+ .tsd-kind-project {
1162
+ color: var(--color-ts-project);
1163
+ }
1164
+ .tsd-kind-module {
1165
+ color: var(--color-ts-module);
1166
+ }
1167
+ .tsd-kind-namespace {
1168
+ color: var(--color-ts-namespace);
1169
+ }
1170
+ .tsd-kind-enum {
1171
+ color: var(--color-ts-enum);
1172
+ }
1173
+ .tsd-kind-enum-member {
1174
+ color: var(--color-ts-enum-member);
1175
+ }
1176
+ .tsd-kind-variable {
1177
+ color: var(--color-ts-variable);
1178
+ }
1179
+ .tsd-kind-function {
1180
+ color: var(--color-ts-function);
1181
+ }
1182
+ .tsd-kind-class {
1183
+ color: var(--color-ts-class);
1184
+ }
1185
+ .tsd-kind-interface {
1186
+ color: var(--color-ts-interface);
1187
+ }
1188
+ .tsd-kind-constructor {
1189
+ color: var(--color-ts-constructor);
1190
+ }
1191
+ .tsd-kind-property {
1192
+ color: var(--color-ts-property);
1193
+ }
1194
+ .tsd-kind-method {
1195
+ color: var(--color-ts-method);
1371
1196
  }
1372
- .tsd-select .tsd-select-list li:before {
1373
- background-position: 40px 0;
1197
+ .tsd-kind-call-signature {
1198
+ color: var(--color-ts-call-signature);
1374
1199
  }
1375
- .tsd-select .tsd-select-list li:nth-child(even) {
1376
- background-color: var(--color-panel);
1200
+ .tsd-kind-index-signature {
1201
+ color: var(--color-ts-index-signature);
1377
1202
  }
1378
- .tsd-select .tsd-select-list li:hover {
1379
- background-color: var(--color-panel-divider);
1203
+ .tsd-kind-constructor-signature {
1204
+ color: var(--color-ts-constructor-signature);
1380
1205
  }
1381
- .tsd-select .tsd-select-list li.selected:before {
1382
- background-position: -200px 0;
1206
+ .tsd-kind-parameter {
1207
+ color: var(--color-ts-parameter);
1383
1208
  }
1384
- @media (max-width: 900px) {
1385
- .tsd-select .tsd-select-list {
1209
+ .tsd-kind-type-literal {
1210
+ color: var(--color-ts-type-literal);
1211
+ }
1212
+ .tsd-kind-type-parameter {
1213
+ color: var(--color-ts-type-parameter);
1214
+ }
1215
+ .tsd-kind-accessor {
1216
+ color: var(--color-ts-accessor);
1217
+ }
1218
+ .tsd-kind-get-signature {
1219
+ color: var(--color-ts-get-signature);
1220
+ }
1221
+ .tsd-kind-set-signature {
1222
+ color: var(--color-ts-set-signature);
1223
+ }
1224
+ .tsd-kind-type-alias {
1225
+ color: var(--color-ts-type-alias);
1226
+ }
1227
+
1228
+ /* if we have a kind icon, don't color the text by kind */
1229
+ .tsd-kind-icon ~ span {
1230
+ color: var(--color-text);
1231
+ }
1232
+
1233
+ * {
1234
+ scrollbar-width: thin;
1235
+ scrollbar-color: var(--color-accent) var(--color-icon-background);
1236
+ }
1237
+
1238
+ *::-webkit-scrollbar {
1239
+ width: 0.75rem;
1240
+ }
1241
+
1242
+ *::-webkit-scrollbar-track {
1243
+ background: var(--color-icon-background);
1244
+ }
1245
+
1246
+ *::-webkit-scrollbar-thumb {
1247
+ background-color: var(--color-accent);
1248
+ border-radius: 999rem;
1249
+ border: 0.25rem solid var(--color-icon-background);
1250
+ }
1251
+
1252
+ /* mobile */
1253
+ @media (max-width: 769px) {
1254
+ .tsd-widget.options,
1255
+ .tsd-widget.menu {
1256
+ display: inline-block;
1257
+ }
1258
+
1259
+ .container-main {
1260
+ display: flex;
1261
+ }
1262
+ html .col-content {
1263
+ float: none;
1264
+ max-width: 100%;
1265
+ width: 100%;
1266
+ }
1267
+ html .col-sidebar {
1268
+ position: fixed !important;
1269
+ overflow-y: auto;
1270
+ -webkit-overflow-scrolling: touch;
1271
+ z-index: 1024;
1272
+ top: 0 !important;
1273
+ bottom: 0 !important;
1274
+ left: auto !important;
1275
+ right: 0 !important;
1276
+ padding: 1.5rem 1.5rem 0 0;
1277
+ width: 75vw;
1278
+ visibility: hidden;
1279
+ background-color: var(--color-background);
1280
+ transform: translate(100%, 0);
1281
+ }
1282
+ html .col-sidebar > *:last-child {
1283
+ padding-bottom: 20px;
1284
+ }
1285
+ html .overlay {
1286
+ content: "";
1287
+ display: block;
1288
+ position: fixed;
1289
+ z-index: 1023;
1386
1290
  top: 0;
1387
- left: auto;
1388
- right: 100%;
1389
- margin-right: -5px;
1291
+ left: 0;
1292
+ right: 0;
1293
+ bottom: 0;
1294
+ background-color: rgba(0, 0, 0, 0.75);
1295
+ visibility: hidden;
1390
1296
  }
1391
- .tsd-select .tsd-select-label:before {
1392
- background-position: -280px 0;
1297
+
1298
+ .to-has-menu .overlay {
1299
+ animation: fade-in 0.4s;
1393
1300
  }
1394
- }
1395
1301
 
1396
- img {
1397
- max-width: 100%;
1398
- }
1302
+ .to-has-menu .col-sidebar {
1303
+ animation: pop-in-from-right 0.4s;
1304
+ }
1399
1305
 
1400
- .tsd-anchor-icon {
1401
- margin-left: 10px;
1402
- vertical-align: middle;
1403
- color: var(--color-text);
1306
+ .from-has-menu .overlay {
1307
+ animation: fade-out 0.4s;
1308
+ }
1309
+
1310
+ .from-has-menu .col-sidebar {
1311
+ animation: pop-out-to-right 0.4s;
1312
+ }
1313
+
1314
+ .has-menu body {
1315
+ overflow: hidden;
1316
+ }
1317
+ .has-menu .overlay {
1318
+ visibility: visible;
1319
+ }
1320
+ .has-menu .col-sidebar {
1321
+ visibility: visible;
1322
+ transform: translate(0, 0);
1323
+ display: flex;
1324
+ flex-direction: column;
1325
+ gap: 1.5rem;
1326
+ max-height: 100vh;
1327
+ padding: 1rem 2rem;
1328
+ }
1329
+ .has-menu .tsd-navigation {
1330
+ max-height: 100%;
1331
+ }
1404
1332
  }
1405
1333
 
1406
- .tsd-anchor-icon svg {
1407
- width: 1em;
1408
- height: 1em;
1409
- visibility: hidden;
1334
+ /* one sidebar */
1335
+ @media (min-width: 770px) {
1336
+ .container-main {
1337
+ display: grid;
1338
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1339
+ grid-template-areas: "sidebar content";
1340
+ margin: 2rem auto;
1341
+ }
1342
+
1343
+ .col-sidebar {
1344
+ grid-area: sidebar;
1345
+ }
1346
+ .col-content {
1347
+ grid-area: content;
1348
+ padding: 0 1rem;
1349
+ }
1350
+ }
1351
+ @media (min-width: 770px) and (max-width: 1399px) {
1352
+ .col-sidebar {
1353
+ max-height: calc(100vh - 2rem - 42px);
1354
+ overflow: auto;
1355
+ position: sticky;
1356
+ top: 42px;
1357
+ padding-top: 1rem;
1358
+ }
1359
+ .site-menu {
1360
+ margin-top: 1rem;
1361
+ }
1410
1362
  }
1411
1363
 
1412
- .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1413
- visibility: visible;
1364
+ /* two sidebars */
1365
+ @media (min-width: 1200px) {
1366
+ .container-main {
1367
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem);
1368
+ grid-template-areas: "sidebar content toc";
1369
+ }
1370
+
1371
+ .col-sidebar {
1372
+ display: contents;
1373
+ }
1374
+
1375
+ .page-menu {
1376
+ grid-area: toc;
1377
+ padding-left: 1rem;
1378
+ }
1379
+ .site-menu {
1380
+ grid-area: sidebar;
1381
+ }
1382
+
1383
+ .site-menu {
1384
+ margin-top: 1rem 0;
1385
+ }
1386
+
1387
+ .page-menu,
1388
+ .site-menu {
1389
+ max-height: calc(100vh - 2rem - 42px);
1390
+ overflow: auto;
1391
+ position: sticky;
1392
+ top: 42px;
1393
+ }
1414
1394
  }