@itwin/imodel-components-react 4.0.0-dev.1 → 4.0.0-dev.10

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 (347) hide show
  1. package/CHANGELOG.md +1 -91
  2. package/lib/cjs/imodel-components-react/UiIModelComponents.d.ts +28 -28
  3. package/lib/cjs/imodel-components-react/UiIModelComponents.js +79 -79
  4. package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +1 -1
  5. package/lib/cjs/imodel-components-react/color/AlphaSlider.d.ts +36 -36
  6. package/lib/cjs/imodel-components-react/color/AlphaSlider.js +186 -186
  7. package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +1 -1
  8. package/lib/cjs/imodel-components-react/color/AlphaSlider.scss +63 -63
  9. package/lib/cjs/imodel-components-react/color/ColorPickerButton.d.ts +37 -37
  10. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js +107 -107
  11. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  12. package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +90 -92
  13. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.d.ts +23 -23
  14. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js +74 -74
  15. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  16. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts +21 -21
  17. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js +145 -145
  18. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
  19. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.scss +93 -93
  20. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts +44 -44
  21. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js +137 -137
  22. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  23. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +63 -64
  24. package/lib/cjs/imodel-components-react/color/HueSlider.d.ts +22 -22
  25. package/lib/cjs/imodel-components-react/color/HueSlider.js +199 -199
  26. package/lib/cjs/imodel-components-react/color/HueSlider.js.map +1 -1
  27. package/lib/cjs/imodel-components-react/color/HueSlider.scss +61 -61
  28. package/lib/cjs/imodel-components-react/color/SaturationPicker.d.ts +20 -20
  29. package/lib/cjs/imodel-components-react/color/SaturationPicker.js +213 -213
  30. package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +1 -1
  31. package/lib/cjs/imodel-components-react/color/SaturationPicker.scss +35 -35
  32. package/lib/cjs/imodel-components-react/color/Swatch.d.ts +22 -22
  33. package/lib/cjs/imodel-components-react/color/Swatch.js +60 -60
  34. package/lib/cjs/imodel-components-react/color/Swatch.js.map +1 -1
  35. package/lib/cjs/imodel-components-react/color/Swatch.scss +23 -24
  36. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.d.ts +6 -6
  37. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js +23 -23
  38. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  39. package/lib/cjs/imodel-components-react/editors/ColorEditor.d.ts +44 -44
  40. package/lib/cjs/imodel-components-react/editors/ColorEditor.js +151 -151
  41. package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +1 -1
  42. package/lib/cjs/imodel-components-react/editors/ColorEditor.scss +18 -19
  43. package/lib/cjs/imodel-components-react/editors/WeightEditor.d.ts +47 -47
  44. package/lib/cjs/imodel-components-react/editors/WeightEditor.js +160 -160
  45. package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +1 -1
  46. package/lib/cjs/imodel-components-react/editors/WeightEditor.scss +16 -17
  47. package/lib/cjs/imodel-components-react/inputs/QuantityInput.d.ts +25 -25
  48. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js +96 -96
  49. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  50. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts +44 -44
  51. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +265 -265
  52. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  53. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +107 -107
  54. package/lib/cjs/imodel-components-react/lineweight/Swatch.d.ts +33 -33
  55. package/lib/cjs/imodel-components-react/lineweight/Swatch.js +85 -85
  56. package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +1 -1
  57. package/lib/cjs/imodel-components-react/lineweight/Swatch.scss +48 -49
  58. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.d.ts +60 -60
  59. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js +159 -159
  60. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  61. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +52 -53
  62. package/lib/cjs/imodel-components-react/navigationaids/Cube.d.ts +45 -45
  63. package/lib/cjs/imodel-components-react/navigationaids/Cube.js +127 -127
  64. package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +1 -1
  65. package/lib/cjs/imodel-components-react/navigationaids/Cube.scss +19 -19
  66. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +174 -174
  67. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -1
  68. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js +634 -634
  69. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  70. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +182 -181
  71. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +145 -145
  72. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js +647 -647
  73. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  74. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.scss +134 -134
  75. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.d.ts +26 -26
  76. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js +99 -99
  77. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  78. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +63 -65
  79. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.d.ts +17 -17
  80. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js +53 -53
  81. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  82. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.d.ts +18 -18
  83. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +83 -83
  84. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  85. package/lib/cjs/imodel-components-react/quantityformat/FormatType.d.ts +17 -17
  86. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +86 -86
  87. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  88. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +17 -17
  89. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +109 -109
  90. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  91. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.d.ts +19 -19
  92. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +133 -133
  93. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  94. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +21 -21
  95. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js +184 -184
  96. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  97. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +22 -22
  98. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +1 -1
  99. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js +145 -154
  100. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  101. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +17 -17
  102. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js +59 -59
  103. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  104. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +17 -17
  105. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js +47 -47
  106. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  107. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +16 -16
  108. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js +54 -54
  109. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  110. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.d.ts +18 -18
  111. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js +48 -48
  112. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  113. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.d.ts +17 -17
  114. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js +50 -50
  115. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  116. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +17 -17
  117. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +58 -58
  118. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  119. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +17 -17
  120. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js +47 -47
  121. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  122. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +17 -17
  123. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js +56 -56
  124. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  125. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +17 -17
  126. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +95 -95
  127. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  128. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +23 -23
  129. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js +119 -119
  130. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  131. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +52 -52
  132. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js +143 -143
  133. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  134. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +31 -31
  135. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js +69 -69
  136. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  137. package/lib/cjs/imodel-components-react/timeline/InlineEdit.d.ts +27 -27
  138. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js +81 -81
  139. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  140. package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +26 -26
  141. package/lib/cjs/imodel-components-react/timeline/PlayerButton.d.ts +33 -33
  142. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js +91 -91
  143. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  144. package/lib/cjs/imodel-components-react/timeline/PlayerButton.scss +31 -26
  145. package/lib/cjs/imodel-components-react/timeline/Scrubber.d.ts +54 -54
  146. package/lib/cjs/imodel-components-react/timeline/Scrubber.js +191 -191
  147. package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +1 -1
  148. package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +112 -107
  149. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.d.ts +77 -77
  150. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js +424 -424
  151. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  152. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +356 -358
  153. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.d.ts +15 -15
  154. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js +54 -54
  155. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  156. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  157. package/lib/cjs/imodel-components-react/timeline/Timeline.scss +164 -164
  158. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts +133 -133
  159. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js +358 -358
  160. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  161. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.scss +164 -164
  162. package/lib/cjs/imodel-components-react/timeline/interfaces.d.ts +174 -174
  163. package/lib/cjs/imodel-components-react/timeline/interfaces.js +45 -45
  164. package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +1 -1
  165. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts +42 -42
  166. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +274 -274
  167. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  168. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.d.ts +106 -106
  169. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js +105 -105
  170. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  171. package/lib/cjs/imodel-components-react.d.ts +82 -82
  172. package/lib/cjs/imodel-components-react.js +101 -101
  173. package/lib/cjs/imodel-components-react.js.map +1 -1
  174. package/lib/esm/imodel-components-react/UiIModelComponents.d.ts +28 -28
  175. package/lib/esm/imodel-components-react/UiIModelComponents.js +75 -75
  176. package/lib/esm/imodel-components-react/UiIModelComponents.js.map +1 -1
  177. package/lib/esm/imodel-components-react/color/AlphaSlider.d.ts +36 -36
  178. package/lib/esm/imodel-components-react/color/AlphaSlider.js +160 -160
  179. package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +1 -1
  180. package/lib/esm/imodel-components-react/color/AlphaSlider.scss +63 -63
  181. package/lib/esm/imodel-components-react/color/ColorPickerButton.d.ts +37 -37
  182. package/lib/esm/imodel-components-react/color/ColorPickerButton.js +82 -82
  183. package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  184. package/lib/esm/imodel-components-react/color/ColorPickerButton.scss +90 -92
  185. package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts +23 -23
  186. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js +51 -51
  187. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  188. package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts +21 -21
  189. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js +122 -122
  190. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
  191. package/lib/esm/imodel-components-react/color/ColorPickerPanel.scss +93 -93
  192. package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts +44 -44
  193. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js +112 -112
  194. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  195. package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +63 -64
  196. package/lib/esm/imodel-components-react/color/HueSlider.d.ts +22 -22
  197. package/lib/esm/imodel-components-react/color/HueSlider.js +173 -173
  198. package/lib/esm/imodel-components-react/color/HueSlider.js.map +1 -1
  199. package/lib/esm/imodel-components-react/color/HueSlider.scss +61 -61
  200. package/lib/esm/imodel-components-react/color/SaturationPicker.d.ts +20 -20
  201. package/lib/esm/imodel-components-react/color/SaturationPicker.js +187 -187
  202. package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +1 -1
  203. package/lib/esm/imodel-components-react/color/SaturationPicker.scss +35 -35
  204. package/lib/esm/imodel-components-react/color/Swatch.d.ts +22 -22
  205. package/lib/esm/imodel-components-react/color/Swatch.js +34 -34
  206. package/lib/esm/imodel-components-react/color/Swatch.js.map +1 -1
  207. package/lib/esm/imodel-components-react/color/Swatch.scss +23 -24
  208. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.d.ts +6 -6
  209. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js +19 -19
  210. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  211. package/lib/esm/imodel-components-react/editors/ColorEditor.d.ts +44 -44
  212. package/lib/esm/imodel-components-react/editors/ColorEditor.js +124 -124
  213. package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +1 -1
  214. package/lib/esm/imodel-components-react/editors/ColorEditor.scss +18 -19
  215. package/lib/esm/imodel-components-react/editors/WeightEditor.d.ts +47 -47
  216. package/lib/esm/imodel-components-react/editors/WeightEditor.js +133 -133
  217. package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +1 -1
  218. package/lib/esm/imodel-components-react/editors/WeightEditor.scss +16 -17
  219. package/lib/esm/imodel-components-react/inputs/QuantityInput.d.ts +25 -25
  220. package/lib/esm/imodel-components-react/inputs/QuantityInput.js +70 -70
  221. package/lib/esm/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  222. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts +44 -44
  223. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js +240 -240
  224. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  225. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +107 -107
  226. package/lib/esm/imodel-components-react/lineweight/Swatch.d.ts +33 -33
  227. package/lib/esm/imodel-components-react/lineweight/Swatch.js +59 -59
  228. package/lib/esm/imodel-components-react/lineweight/Swatch.js.map +1 -1
  229. package/lib/esm/imodel-components-react/lineweight/Swatch.scss +48 -49
  230. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.d.ts +60 -60
  231. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js +133 -133
  232. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  233. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.scss +52 -53
  234. package/lib/esm/imodel-components-react/navigationaids/Cube.d.ts +45 -45
  235. package/lib/esm/imodel-components-react/navigationaids/Cube.js +100 -100
  236. package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +1 -1
  237. package/lib/esm/imodel-components-react/navigationaids/Cube.scss +19 -19
  238. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +174 -174
  239. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -1
  240. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js +606 -606
  241. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  242. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.scss +182 -181
  243. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +145 -145
  244. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js +620 -620
  245. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  246. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +134 -134
  247. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.d.ts +26 -26
  248. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js +76 -76
  249. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  250. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.scss +63 -65
  251. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.d.ts +17 -17
  252. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js +30 -30
  253. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  254. package/lib/esm/imodel-components-react/quantityformat/FormatSample.d.ts +18 -18
  255. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js +60 -60
  256. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  257. package/lib/esm/imodel-components-react/quantityformat/FormatType.d.ts +17 -17
  258. package/lib/esm/imodel-components-react/quantityformat/FormatType.js +63 -63
  259. package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  260. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +17 -17
  261. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js +83 -83
  262. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  263. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.d.ts +19 -19
  264. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js +110 -110
  265. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  266. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +21 -21
  267. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js +158 -158
  268. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  269. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +22 -22
  270. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +1 -1
  271. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js +122 -131
  272. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  273. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +17 -17
  274. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js +36 -36
  275. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  276. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +17 -17
  277. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js +24 -24
  278. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  279. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +16 -16
  280. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js +31 -31
  281. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  282. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.d.ts +18 -18
  283. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js +25 -25
  284. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  285. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.d.ts +17 -17
  286. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js +27 -27
  287. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  288. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +17 -17
  289. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +35 -35
  290. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  291. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +17 -17
  292. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js +24 -24
  293. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  294. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +17 -17
  295. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js +33 -33
  296. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  297. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +17 -17
  298. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +69 -69
  299. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  300. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +23 -23
  301. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js +96 -96
  302. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  303. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +52 -52
  304. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js +139 -139
  305. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  306. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +31 -31
  307. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js +65 -65
  308. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  309. package/lib/esm/imodel-components-react/timeline/InlineEdit.d.ts +27 -27
  310. package/lib/esm/imodel-components-react/timeline/InlineEdit.js +55 -55
  311. package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  312. package/lib/esm/imodel-components-react/timeline/InlineEdit.scss +26 -26
  313. package/lib/esm/imodel-components-react/timeline/PlayerButton.d.ts +33 -33
  314. package/lib/esm/imodel-components-react/timeline/PlayerButton.js +64 -64
  315. package/lib/esm/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  316. package/lib/esm/imodel-components-react/timeline/PlayerButton.scss +31 -26
  317. package/lib/esm/imodel-components-react/timeline/Scrubber.d.ts +54 -54
  318. package/lib/esm/imodel-components-react/timeline/Scrubber.js +164 -164
  319. package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +1 -1
  320. package/lib/esm/imodel-components-react/timeline/Scrubber.scss +112 -107
  321. package/lib/esm/imodel-components-react/timeline/SolarTimeline.d.ts +77 -77
  322. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js +398 -398
  323. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  324. package/lib/esm/imodel-components-react/timeline/SolarTimeline.scss +356 -358
  325. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.d.ts +15 -15
  326. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js +28 -28
  327. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  328. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  329. package/lib/esm/imodel-components-react/timeline/Timeline.scss +164 -164
  330. package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts +133 -133
  331. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js +332 -332
  332. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  333. package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +164 -164
  334. package/lib/esm/imodel-components-react/timeline/interfaces.d.ts +174 -174
  335. package/lib/esm/imodel-components-react/timeline/interfaces.js +42 -42
  336. package/lib/esm/imodel-components-react/timeline/interfaces.js.map +1 -1
  337. package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts +42 -42
  338. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js +251 -251
  339. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  340. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts +106 -106
  341. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js +95 -95
  342. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  343. package/lib/esm/imodel-components-react.d.ts +82 -82
  344. package/lib/esm/imodel-components-react.js +87 -87
  345. package/lib/esm/imodel-components-react.js.map +1 -1
  346. package/lib/public/locales/en/UiIModelComponents.json +139 -139
  347. package/package.json +31 -38
@@ -1,107 +1,112 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
6
- @import "~@itwin/core-react/lib/cjs/core-react/z-index";
7
-
8
- // the following overrides default iui-slider-thumb settings from iTwinUI
9
- div.components-timeline-thumb.iui-slider-thumb {
10
- display: flex;
11
- justify-content: center;
12
- align-items: center;
13
- background-image: linear-gradient(to bottom, $buic-background-3, $buic-background-3), linear-gradient(to bottom, $buic-background-1, $buic-background-1);
14
- box-sizing: border-box;
15
- width: 38px;
16
- height: 20px;
17
- border-radius: 4px;
18
- border: 1px solid $buic-background-5;
19
- transform: translateX(-19.2px);
20
- top: 4px;
21
- }
22
-
23
- .components-timeline-rail-marker-container {
24
- width: 100%;
25
- position: absolute;
26
-
27
- div.components-timeline-tooltip {
28
- @include uicore-z-index(tooltip);
29
- position: absolute;
30
- top: -8px;
31
- display: inline-block;
32
- transform: translateX(-50px);
33
- border-bottom: 1px dotted #222;
34
- font-size: 14px;
35
-
36
- .tooltip-text {
37
- width: 100px;
38
- background-color: #222;
39
- color: #fff;
40
- // opacity: 0.8;
41
- text-align: center;
42
- border-radius: 6px;
43
- padding: 8px 0;
44
- position: absolute;
45
- z-index: 1;
46
- bottom: 150%;
47
-
48
- &:after {
49
- content: "";
50
- position: absolute;
51
- top: 100%;
52
- left: 50%;
53
- margin-left: -5px;
54
- border-width: 5px;
55
- border-style: solid;
56
- border-color: #222 transparent transparent transparent;
57
- }
58
- }
59
- }
60
- }
61
-
62
- .scrubber-handle {
63
- pointer-events: none;
64
- position: absolute;
65
- width: 38px;
66
- height: 20px;
67
- border-radius: 4px;
68
- display: flex;
69
- align-items: center;
70
- justify-content: center;
71
- box-sizing: border-box;
72
- cursor: pointer;
73
-
74
- >div {
75
- width: 1px;
76
- height: 10px;
77
- opacity: 0.25;
78
- margin: 0 1px;
79
- background-color: $buic-foreground-body;
80
- }
81
- }
82
-
83
- .scrubber-track {
84
- position: absolute;
85
- top: 50%;
86
- transform: translateY(-50%);
87
- height: 4px;
88
- z-index: 1;
89
- cursor: pointer;
90
- }
91
-
92
- .components-timeline-date-marker {
93
- pointer-events: none;
94
- position: absolute;
95
- display: flex;
96
- align-items: center;
97
- justify-content: center;
98
- transform: translateY(50%);
99
- }
100
-
101
- .date-marker-default {
102
- height: 12px;
103
- width: 3px;
104
- border-radius: 4px;
105
- transform: translateY(1px);
106
- background-color: $buic-foreground-primary;
107
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
6
+ @import "~@itwin/core-react/lib/cjs/core-react/z-index";
7
+
8
+ // the following overrides default iui-slider-thumb settings from iTwinUI
9
+ div.components-timeline-thumb.iui-slider-thumb {
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: center;
13
+ background-image: linear-gradient(
14
+ to bottom,
15
+ $buic-background-3,
16
+ $buic-background-3
17
+ ),
18
+ linear-gradient(to bottom, $buic-background-1, $buic-background-1);
19
+ box-sizing: border-box;
20
+ width: 38px;
21
+ height: 20px;
22
+ border-radius: var(--iui-border-radius-1);
23
+ border: 1px solid $buic-background-5;
24
+ transform: translateX(-19.2px);
25
+ top: 4px;
26
+ }
27
+
28
+ .components-timeline-rail-marker-container {
29
+ width: 100%;
30
+ position: absolute;
31
+
32
+ div.components-timeline-tooltip {
33
+ @include uicore-z-index(tooltip);
34
+ position: absolute;
35
+ top: -8px;
36
+ display: inline-block;
37
+ transform: translateX(-50px);
38
+ border-bottom: 1px dotted #222;
39
+ font-size: 14px;
40
+
41
+ .tooltip-text {
42
+ width: 100px;
43
+ background-color: #222;
44
+ color: #fff;
45
+ // opacity: 0.8;
46
+ text-align: center;
47
+ border-radius: 6px;
48
+ padding: 8px 0;
49
+ position: absolute;
50
+ z-index: 1;
51
+ bottom: 150%;
52
+
53
+ &:after {
54
+ content: "";
55
+ position: absolute;
56
+ top: 100%;
57
+ left: 50%;
58
+ margin-left: -5px;
59
+ border-width: 5px;
60
+ border-style: solid;
61
+ border-color: #222 transparent transparent transparent;
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+ .scrubber-handle {
68
+ pointer-events: none;
69
+ position: absolute;
70
+ width: 38px;
71
+ height: 20px;
72
+ border-radius: var(--iui-border-radius-1);
73
+ display: flex;
74
+ align-items: center;
75
+ justify-content: center;
76
+ box-sizing: border-box;
77
+ cursor: pointer;
78
+
79
+ > div {
80
+ width: 1px;
81
+ height: 10px;
82
+ opacity: 0.25;
83
+ margin: 0 1px;
84
+ background-color: $buic-foreground-body;
85
+ }
86
+ }
87
+
88
+ .scrubber-track {
89
+ position: absolute;
90
+ top: 50%;
91
+ transform: translateY(-50%);
92
+ height: 4px;
93
+ z-index: 1;
94
+ cursor: pointer;
95
+ }
96
+
97
+ .components-timeline-date-marker {
98
+ pointer-events: none;
99
+ position: absolute;
100
+ display: flex;
101
+ align-items: center;
102
+ justify-content: center;
103
+ transform: translateY(50%);
104
+ }
105
+
106
+ .date-marker-default {
107
+ height: 12px;
108
+ width: 3px;
109
+ border-radius: var(--iui-border-radius-1);
110
+ transform: translateY(1px);
111
+ background-color: $buic-foreground-primary;
112
+ }
@@ -1,78 +1,78 @@
1
- /** @packageDocumentation
2
- * @module Timeline
3
- */
4
- import "./SolarTimeline.scss";
5
- import * as React from "react";
6
- import { ColorDef } from "@itwin/core-common";
7
- import { SolarDataProvider } from "./interfaces";
8
- interface SolarTimelineComponentProps {
9
- dataProvider: SolarDataProvider;
10
- onPlayPause?: (playing: boolean) => void;
11
- duration?: number;
12
- speed?: number;
13
- }
14
- interface SolarTimelineComponentState {
15
- isPlaying: boolean;
16
- isDateOpened: boolean;
17
- isSettingsOpened: boolean;
18
- dayStartMs: number;
19
- sunRiseOffsetMs: number;
20
- sunSetOffsetMs: number;
21
- sunDeltaMs: number;
22
- currentTimeOffsetMs: number;
23
- speed: number;
24
- loop: boolean;
25
- shadowColor: ColorDef;
26
- duration: number;
27
- adjustedDuration: number;
28
- }
29
- /** Solar Timeline
30
- * @alpha
31
- */
32
- export declare class SolarTimeline extends React.PureComponent<SolarTimelineComponentProps, SolarTimelineComponentState> {
33
- private _datePicker;
34
- private _settings;
35
- private _requestFrame;
36
- private _unmounted;
37
- private _timeLastCycle;
38
- private _totalPlayTime;
39
- private _settingsPopupTitle;
40
- private _playLabel;
41
- private _settingLabel;
42
- private _loopLabel;
43
- private _speedLabel;
44
- private _dateTimeLabel;
45
- private _months;
46
- private _timeLabel;
47
- private _amLabel;
48
- private _pmLabel;
49
- private readonly _presetColors;
50
- constructor(props: SolarTimelineComponentProps);
51
- componentWillUnmount(): void;
52
- private _updateAnimation;
53
- private _play;
54
- private _onPause;
55
- private _onPlay;
56
- private setPlaybackTimeBySunTime;
57
- /** note the day passed in is in the time of the current user not in project time because the date picker works in
58
- * local time */
59
- private _onDayClick;
60
- private _onTimeChanged;
61
- private _onCloseDayPicker;
62
- private _onOpenDayPicker;
63
- private _onCloseSettingsPopup;
64
- private _onOpenSettingsPopup;
65
- private ensureRange;
66
- private processSunTimeChange;
67
- private _onUpdate;
68
- private _onChange;
69
- private _onSpeedChange;
70
- private _onToggleLoop;
71
- private _formatTime;
72
- private _onPresetColorPick;
73
- private _handleHueOrSaturationChange;
74
- getLocalTime(ticks: number): Date;
75
- render(): JSX.Element;
76
- }
77
- export {};
1
+ /** @packageDocumentation
2
+ * @module Timeline
3
+ */
4
+ import "./SolarTimeline.scss";
5
+ import * as React from "react";
6
+ import { ColorDef } from "@itwin/core-common";
7
+ import { SolarDataProvider } from "./interfaces";
8
+ interface SolarTimelineComponentProps {
9
+ dataProvider: SolarDataProvider;
10
+ onPlayPause?: (playing: boolean) => void;
11
+ duration?: number;
12
+ speed?: number;
13
+ }
14
+ interface SolarTimelineComponentState {
15
+ isPlaying: boolean;
16
+ isDateOpened: boolean;
17
+ isSettingsOpened: boolean;
18
+ dayStartMs: number;
19
+ sunRiseOffsetMs: number;
20
+ sunSetOffsetMs: number;
21
+ sunDeltaMs: number;
22
+ currentTimeOffsetMs: number;
23
+ speed: number;
24
+ loop: boolean;
25
+ shadowColor: ColorDef;
26
+ duration: number;
27
+ adjustedDuration: number;
28
+ }
29
+ /** Solar Timeline
30
+ * @alpha
31
+ */
32
+ export declare class SolarTimeline extends React.PureComponent<SolarTimelineComponentProps, SolarTimelineComponentState> {
33
+ private _datePicker;
34
+ private _settings;
35
+ private _requestFrame;
36
+ private _unmounted;
37
+ private _timeLastCycle;
38
+ private _totalPlayTime;
39
+ private _settingsPopupTitle;
40
+ private _playLabel;
41
+ private _settingLabel;
42
+ private _loopLabel;
43
+ private _speedLabel;
44
+ private _dateTimeLabel;
45
+ private _months;
46
+ private _timeLabel;
47
+ private _amLabel;
48
+ private _pmLabel;
49
+ private readonly _presetColors;
50
+ constructor(props: SolarTimelineComponentProps);
51
+ componentWillUnmount(): void;
52
+ private _updateAnimation;
53
+ private _play;
54
+ private _onPause;
55
+ private _onPlay;
56
+ private setPlaybackTimeBySunTime;
57
+ /** note the day passed in is in the time of the current user not in project time because the date picker works in
58
+ * local time */
59
+ private _onDayClick;
60
+ private _onTimeChanged;
61
+ private _onCloseDayPicker;
62
+ private _onOpenDayPicker;
63
+ private _onCloseSettingsPopup;
64
+ private _onOpenSettingsPopup;
65
+ private ensureRange;
66
+ private processSunTimeChange;
67
+ private _onUpdate;
68
+ private _onChange;
69
+ private _onSpeedChange;
70
+ private _onToggleLoop;
71
+ private _formatTime;
72
+ private _onPresetColorPick;
73
+ private _handleHueOrSaturationChange;
74
+ getLocalTime(ticks: number): Date;
75
+ render(): JSX.Element;
76
+ }
77
+ export {};
78
78
  //# sourceMappingURL=SolarTimeline.d.ts.map