@itwin/imodel-components-react 4.0.0-dev.2 → 4.0.0-dev.21

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 (265) hide show
  1. package/CHANGELOG.md +139 -2
  2. package/LICENSE.md +1 -1
  3. package/README.md +2 -2
  4. package/lib/cjs/imodel-components-react/UiIModelComponents.d.ts.map +1 -1
  5. package/lib/cjs/imodel-components-react/UiIModelComponents.js +3 -7
  6. package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +1 -1
  7. package/lib/cjs/imodel-components-react/color/AlphaSlider.d.ts +2 -2
  8. package/lib/cjs/imodel-components-react/color/AlphaSlider.js +6 -2
  9. package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +1 -1
  10. package/lib/cjs/imodel-components-react/color/AlphaSlider.scss +63 -63
  11. package/lib/cjs/imodel-components-react/color/ColorPickerButton.d.ts.map +1 -1
  12. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js +9 -4
  13. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  14. package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +90 -90
  15. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js +5 -1
  16. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  17. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts.map +1 -1
  18. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js +10 -4
  19. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  20. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +62 -63
  21. package/lib/cjs/imodel-components-react/color/HueSlider.js +5 -1
  22. package/lib/cjs/imodel-components-react/color/HueSlider.js.map +1 -1
  23. package/lib/cjs/imodel-components-react/color/HueSlider.scss +61 -61
  24. package/lib/cjs/imodel-components-react/color/SaturationPicker.js +5 -1
  25. package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +1 -1
  26. package/lib/cjs/imodel-components-react/color/SaturationPicker.scss +35 -35
  27. package/lib/cjs/imodel-components-react/color/Swatch.js +5 -1
  28. package/lib/cjs/imodel-components-react/color/Swatch.js.map +1 -1
  29. package/lib/cjs/imodel-components-react/color/Swatch.scss +22 -23
  30. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  31. package/lib/cjs/imodel-components-react/editors/ColorEditor.js +5 -1
  32. package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +1 -1
  33. package/lib/cjs/imodel-components-react/editors/ColorEditor.scss +18 -18
  34. package/lib/cjs/imodel-components-react/editors/WeightEditor.js +5 -1
  35. package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +1 -1
  36. package/lib/cjs/imodel-components-react/editors/WeightEditor.scss +16 -16
  37. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js +5 -1
  38. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  39. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts +1 -1
  40. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +1 -1
  41. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +11 -4
  42. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  43. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +106 -107
  44. package/lib/cjs/imodel-components-react/lineweight/Swatch.js +5 -1
  45. package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +1 -1
  46. package/lib/cjs/imodel-components-react/lineweight/Swatch.scss +48 -48
  47. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js +6 -2
  48. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  49. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +51 -52
  50. package/lib/cjs/imodel-components-react/navigationaids/Cube.js +5 -1
  51. package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +1 -1
  52. package/lib/cjs/imodel-components-react/navigationaids/Cube.scss +19 -19
  53. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +4 -24
  54. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -1
  55. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js +46 -54
  56. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  57. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +178 -182
  58. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts.map +1 -1
  59. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js +16 -6
  60. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  61. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.scss +135 -134
  62. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js +6 -2
  63. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  64. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +59 -63
  65. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js +7 -4
  66. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  67. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.d.ts.map +1 -1
  68. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +10 -5
  69. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  70. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +6 -3
  71. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  72. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +6 -3
  73. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  74. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +10 -10
  75. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  76. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js +8 -5
  77. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  78. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js +5 -1
  79. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  80. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js +5 -1
  81. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  82. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js +5 -1
  83. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  84. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js +5 -1
  85. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  86. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js +5 -1
  87. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  88. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js +5 -1
  89. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  90. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +5 -1
  91. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  92. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js +5 -1
  93. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  94. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js +5 -1
  95. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  96. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +6 -3
  97. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  98. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js +5 -1
  99. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  100. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.d.ts.map +1 -1
  101. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js +22 -23
  102. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  103. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  104. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js +5 -1
  105. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  106. package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +26 -26
  107. package/lib/cjs/imodel-components-react/timeline/PlayerButton.d.ts.map +1 -1
  108. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js +12 -4
  109. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  110. package/lib/cjs/imodel-components-react/timeline/PlayerButton.scss +28 -31
  111. package/lib/cjs/imodel-components-react/timeline/Scrubber.js +5 -1
  112. package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +1 -1
  113. package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +105 -112
  114. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.d.ts.map +1 -1
  115. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js +13 -5
  116. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  117. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +359 -356
  118. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js +5 -1
  119. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  120. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  121. package/lib/cjs/imodel-components-react/timeline/Timeline.scss +164 -164
  122. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts +3 -6
  123. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts.map +1 -1
  124. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js +59 -19
  125. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  126. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.scss +178 -164
  127. package/lib/cjs/imodel-components-react/timeline/interfaces.d.ts +3 -32
  128. package/lib/cjs/imodel-components-react/timeline/interfaces.d.ts.map +1 -1
  129. package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +1 -1
  130. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts +1 -1
  131. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts.map +1 -1
  132. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +12 -10
  133. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  134. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js +1 -1
  135. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  136. package/lib/cjs/imodel-components-react.d.ts +0 -1
  137. package/lib/cjs/imodel-components-react.d.ts.map +1 -1
  138. package/lib/cjs/imodel-components-react.js +5 -2
  139. package/lib/cjs/imodel-components-react.js.map +1 -1
  140. package/lib/esm/imodel-components-react/UiIModelComponents.d.ts.map +1 -1
  141. package/lib/esm/imodel-components-react/UiIModelComponents.js +4 -7
  142. package/lib/esm/imodel-components-react/UiIModelComponents.js.map +1 -1
  143. package/lib/esm/imodel-components-react/color/AlphaSlider.d.ts +2 -2
  144. package/lib/esm/imodel-components-react/color/AlphaSlider.js +1 -1
  145. package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +1 -1
  146. package/lib/esm/imodel-components-react/color/AlphaSlider.scss +63 -63
  147. package/lib/esm/imodel-components-react/color/ColorPickerButton.d.ts.map +1 -1
  148. package/lib/esm/imodel-components-react/color/ColorPickerButton.js +5 -4
  149. package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  150. package/lib/esm/imodel-components-react/color/ColorPickerButton.scss +90 -90
  151. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  152. package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts.map +1 -1
  153. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js +6 -4
  154. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  155. package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +62 -63
  156. package/lib/esm/imodel-components-react/color/HueSlider.js.map +1 -1
  157. package/lib/esm/imodel-components-react/color/HueSlider.scss +61 -61
  158. package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +1 -1
  159. package/lib/esm/imodel-components-react/color/SaturationPicker.scss +35 -35
  160. package/lib/esm/imodel-components-react/color/Swatch.js.map +1 -1
  161. package/lib/esm/imodel-components-react/color/Swatch.scss +22 -23
  162. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  163. package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +1 -1
  164. package/lib/esm/imodel-components-react/editors/ColorEditor.scss +18 -18
  165. package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +1 -1
  166. package/lib/esm/imodel-components-react/editors/WeightEditor.scss +16 -16
  167. package/lib/esm/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  168. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts +1 -1
  169. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +1 -1
  170. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js +7 -4
  171. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  172. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +106 -107
  173. package/lib/esm/imodel-components-react/lineweight/Swatch.js.map +1 -1
  174. package/lib/esm/imodel-components-react/lineweight/Swatch.scss +48 -48
  175. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js +2 -1
  176. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  177. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.scss +51 -52
  178. package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +1 -1
  179. package/lib/esm/imodel-components-react/navigationaids/Cube.scss +19 -19
  180. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +4 -24
  181. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -1
  182. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js +42 -52
  183. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  184. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.scss +178 -182
  185. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts.map +1 -1
  186. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js +12 -5
  187. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  188. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +135 -134
  189. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js +1 -1
  190. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  191. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.scss +59 -63
  192. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js +2 -3
  193. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  194. package/lib/esm/imodel-components-react/quantityformat/FormatSample.d.ts.map +1 -1
  195. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js +6 -5
  196. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  197. package/lib/esm/imodel-components-react/quantityformat/FormatType.js +1 -2
  198. package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  199. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js +1 -2
  200. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  201. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js +5 -9
  202. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  203. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js +3 -4
  204. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  205. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  206. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  207. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  208. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  209. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  210. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  211. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  212. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  213. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  214. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +1 -2
  215. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  216. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  217. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.d.ts.map +1 -1
  218. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js +22 -23
  219. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  220. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  221. package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  222. package/lib/esm/imodel-components-react/timeline/InlineEdit.scss +26 -26
  223. package/lib/esm/imodel-components-react/timeline/PlayerButton.d.ts.map +1 -1
  224. package/lib/esm/imodel-components-react/timeline/PlayerButton.js +7 -3
  225. package/lib/esm/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  226. package/lib/esm/imodel-components-react/timeline/PlayerButton.scss +28 -31
  227. package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +1 -1
  228. package/lib/esm/imodel-components-react/timeline/Scrubber.scss +105 -112
  229. package/lib/esm/imodel-components-react/timeline/SolarTimeline.d.ts.map +1 -1
  230. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js +10 -6
  231. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  232. package/lib/esm/imodel-components-react/timeline/SolarTimeline.scss +359 -356
  233. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  234. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  235. package/lib/esm/imodel-components-react/timeline/Timeline.scss +164 -164
  236. package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts +3 -6
  237. package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts.map +1 -1
  238. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js +47 -11
  239. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  240. package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +178 -164
  241. package/lib/esm/imodel-components-react/timeline/interfaces.d.ts +3 -32
  242. package/lib/esm/imodel-components-react/timeline/interfaces.d.ts.map +1 -1
  243. package/lib/esm/imodel-components-react/timeline/interfaces.js.map +1 -1
  244. package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts +1 -1
  245. package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts.map +1 -1
  246. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js +7 -9
  247. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  248. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js +2 -1
  249. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  250. package/lib/esm/imodel-components-react.d.ts +0 -1
  251. package/lib/esm/imodel-components-react.d.ts.map +1 -1
  252. package/lib/esm/imodel-components-react.js +0 -1
  253. package/lib/esm/imodel-components-react.js.map +1 -1
  254. package/lib/public/locales/en/UiIModelComponents.json +139 -139
  255. package/package.json +38 -39
  256. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts +0 -22
  257. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts.map +0 -1
  258. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js +0 -146
  259. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js.map +0 -1
  260. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.scss +0 -94
  261. package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts +0 -22
  262. package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts.map +0 -1
  263. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js +0 -123
  264. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js.map +0 -1
  265. package/lib/esm/imodel-components-react/color/ColorPickerPanel.scss +0 -94
@@ -1,356 +1,359 @@
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
-
7
- $top-position: 6px;
8
- $bottom-position: 4px;
9
-
10
- .solar-slider.solar-timeline > .iui-slider-container {
11
- height: 28px;
12
- }
13
-
14
- .solar-timeline-wrapper {
15
- box-sizing: border-box;
16
- background: $buic-background-2;
17
- width: 100%;
18
- display: flex;
19
- flex-direction: column;
20
- position: relative;
21
- padding: 8px 16px;
22
- color: $buic-foreground-body;
23
- font-size: 14px;
24
-
25
- > .header {
26
- display: flex;
27
- align-items: center;
28
- position: relative;
29
-
30
- > .play-button {
31
- width: 26px;
32
- height: 26px;
33
- background: inherit;
34
- border: none;
35
- font-size: 20px;
36
- }
37
-
38
- > .shadow-settings-button {
39
- display: flex;
40
- align-items: center;
41
- color: $buic-foreground-body;
42
- width: 26px;
43
- height: 26px;
44
- background: inherit;
45
- border: none;
46
- font-size: 16px;
47
- margin-left: 6px;
48
- cursor: pointer;
49
-
50
- &:hover {
51
- color: $buic-foreground-activehover;
52
- }
53
-
54
- &:focus {
55
- outline: none;
56
- }
57
- }
58
-
59
- > .current-date {
60
- min-width: 175px;
61
- margin-left: 8px;
62
- margin-right: 4px;
63
- background: inherit;
64
- padding: 3px 4px;
65
- border: none;
66
- display: flex;
67
- align-items: center;
68
- color: $buic-foreground-body;
69
- font-size: 14px;
70
- cursor: pointer;
71
-
72
- > span:nth-child(2) {
73
- margin: 0 6px;
74
- }
75
-
76
- > .icon-calendar {
77
- flex-grow: 1;
78
- margin-left: auto;
79
- }
80
- }
81
-
82
- > .speed-container {
83
- display: flex;
84
- align-items: center;
85
- margin-left: auto;
86
- cursor: pointer;
87
-
88
- > .speed {
89
- margin-left: 12px;
90
- width: 0;
91
- opacity: 0;
92
- transition: all 0.2s linear;
93
- margin-right: 10px;
94
- }
95
- }
96
-
97
- > .loop-playback {
98
- color: $buic-foreground-primary;
99
- font-size: 16px;
100
- cursor: pointer;
101
-
102
- &:hover {
103
- color: $buic-foreground-primary-tone;
104
- }
105
-
106
- &:focus {
107
- outline: none;
108
- }
109
- }
110
-
111
- > .no-loop-playback {
112
- color: $buic-foreground-body;
113
- font-size: 16px;
114
- cursor: pointer;
115
-
116
- &:hover {
117
- color: $buic-foreground-activehover;
118
- }
119
-
120
- &:focus {
121
- outline: none;
122
- }
123
- }
124
- }
125
-
126
- .solar-slider {
127
- position: relative;
128
- display: flex;
129
- box-sizing: border-box;
130
- align-items: center;
131
- flex: 1;
132
-
133
- .rail-outer {
134
- position: absolute;
135
- top: 50%;
136
- transform: translateY(-50%);
137
- width: 100%;
138
- height: 20px;
139
- cursor: pointer;
140
- }
141
-
142
- .rail-inner,
143
- .rail-solar {
144
- position: absolute;
145
- top: 50%;
146
- transform: translateY(-50%);
147
- height: 4px;
148
- pointer-events: none;
149
- }
150
-
151
- .rail-inner {
152
- width: 100%;
153
- background: $buic-background-5;
154
- }
155
-
156
- .rail-solar {
157
- background: $buic-foreground-primary;
158
- z-index: 1;
159
- }
160
-
161
- .rail-tooltip {
162
- position: absolute;
163
- margin-left: -11px;
164
- top: 0;
165
- transform: translateY(-50%);
166
- z-index: 1;
167
- }
168
-
169
- .solar-handle {
170
- position: absolute;
171
- top: 50%;
172
- z-index: 4;
173
- width: 38px;
174
- height: 20px;
175
- border-radius: var(--iui-border-radius-1);
176
- border: 1px solid $buic-background-5;
177
- background-image: linear-gradient(
178
- to bottom,
179
- $buic-background-3,
180
- $buic-background-3
181
- ),
182
- linear-gradient(to bottom, $buic-background-1, $buic-background-1);
183
- display: flex;
184
- align-items: center;
185
- justify-content: center;
186
- box-sizing: border-box;
187
- transform: translate(-50%, -50%);
188
- cursor: pointer;
189
-
190
- > div {
191
- width: 1px;
192
- height: 10px;
193
- opacity: 0.25;
194
- margin: 0 1px;
195
- background-color: $buic-foreground-body;
196
- }
197
- }
198
-
199
- .tick-mark {
200
- position: absolute;
201
- bottom: calc(#{$bottom-position} + 15px);
202
- width: 1px;
203
- height: 5px;
204
- background: rgb(200, 200, 200);
205
- }
206
-
207
- .tick-label {
208
- position: absolute;
209
- bottom: $bottom-position;
210
- font-size: 10px;
211
- text-align: center;
212
- }
213
-
214
- .sunrise,
215
- .sunset {
216
- font-size: 22px;
217
- cursor: default;
218
- }
219
-
220
- .sunset {
221
- margin: 0px 16px 2px 24px;
222
- }
223
-
224
- .sunrise {
225
- color: #ffcf00;
226
- margin: 0 24px 0 8px;
227
- }
228
- }
229
- }
230
-
231
- .solar-timeline-wrapper > .header > .speed-container:hover > .speed {
232
- opacity: 1;
233
- width: 80px;
234
- }
235
-
236
- .solar-timeline-wrapper.expanded .header .expanded-icon {
237
- transform: rotate(180deg);
238
- }
239
-
240
- .solar-timeline-wrapper.expanded > .header > .current-date {
241
- margin-left: 70px;
242
- }
243
-
244
- .solar-timeline-wrapper .solar-timeline-expanded {
245
- display: none;
246
- margin-bottom: 8px;
247
- }
248
-
249
- .solar-timeline-wrapper .solar-timeline {
250
- display: flex;
251
- }
252
-
253
- .solar-timeline-wrapper.expanded {
254
- height: 100px;
255
- }
256
-
257
- .shadow-settings-color-top {
258
- display: inline;
259
- }
260
-
261
- .shadow-settings-color-bottom {
262
- display: flex;
263
- flex-direction: row;
264
- }
265
-
266
- .shadow-settings-popup-container {
267
- width: 220px;
268
- padding: 10px 10px 0px;
269
- display: flex;
270
- flex-direction: column;
271
-
272
- .shadow-settings-header {
273
- display: flex;
274
- flex-direction: row;
275
- align-items: center;
276
- justify-content: center;
277
- margin-bottom: 6px;
278
- }
279
-
280
- .shadow-settings-color {
281
- display: flex;
282
- flex-direction: column;
283
-
284
- .shadow-settings-color-top {
285
- height: 150px;
286
- margin: 1em;
287
- }
288
-
289
- .shadow-settings-color-bottom {
290
- width: 100%;
291
- height: 32px;
292
- margin-top: 10px;
293
- margin-bottom: 10px;
294
-
295
- .shadow-settings-color-bottom-left {
296
- width: calc(100% - 2em - 32px);
297
- height: 100%;
298
- margin-left: 1em;
299
- margin-right: 4px;
300
- display: flex;
301
- align-items: center;
302
- justify-content: center;
303
- }
304
-
305
- .shadow-settings-color-bottom-right {
306
- width: 32px;
307
- height: 100%;
308
- }
309
- }
310
- }
311
-
312
- .shadow-settings-color-presets {
313
- width: 100%;
314
- height: 24px;
315
- padding-top: 10px;
316
- margin-bottom: 10px;
317
- display: grid;
318
- grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
319
- grid-column-gap: 2px;
320
- border-top: 1px solid $buic-background-5;
321
- }
322
- }
323
-
324
- .sunrise-tip {
325
- position: absolute;
326
- top: -8px;
327
- display: inline-block;
328
- border-bottom: 1px dotted #222;
329
- font-size: 14px;
330
- }
331
-
332
- .solar-tooltip-text {
333
- width: 100px;
334
- background-color: #222;
335
- color: #fff;
336
- // opacity: 0.8;
337
- text-align: center;
338
- border-radius: 6px;
339
- padding: 8px 0;
340
- position: absolute;
341
- z-index: 1;
342
- bottom: 150%;
343
- left: 50%;
344
- margin-left: -60px;
345
-
346
- &:after {
347
- content: "";
348
- position: absolute;
349
- top: 100%;
350
- left: 50%;
351
- margin-left: -5px;
352
- border-width: 5px;
353
- border-style: solid;
354
- border-color: #222 transparent transparent transparent;
355
- }
356
- }
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
+
7
+ $top-position: 6px;
8
+ $bottom-position: 4px;
9
+
10
+ .solar-slider.solar-timeline > .iui-slider-container {
11
+ height: 28px;
12
+ }
13
+
14
+ .solar-timeline-wrapper {
15
+ box-sizing: border-box;
16
+ background: var(--iui-color-background);
17
+ width: 100%;
18
+ display: flex;
19
+ flex-direction: column;
20
+ position: relative;
21
+ padding: 8px 16px;
22
+ color: var(--iui-color-text);
23
+ font-size: var(--iui-font-size-1);
24
+
25
+ > .header {
26
+ display: flex;
27
+ align-items: center;
28
+ position: relative;
29
+
30
+ > .play-button {
31
+ width: 26px;
32
+ height: 26px;
33
+ background: inherit;
34
+ border: none;
35
+ font-size: 20px;
36
+ }
37
+
38
+ > .shadow-settings-button {
39
+ display: flex;
40
+ align-items: center;
41
+ color: var(--iui-color-icon);
42
+ width: 26px;
43
+ height: 26px;
44
+ background: inherit;
45
+ border: none;
46
+ font-size: 16px;
47
+ margin-left: 6px;
48
+ cursor: pointer;
49
+
50
+ &:hover {
51
+ color: var(--iui-color-icon-hover);
52
+ }
53
+
54
+ &:focus-visible {
55
+ outline: 1px solid var(--iui-color-border-accent);
56
+ outline-offset: -1px;
57
+ }
58
+ }
59
+
60
+ > .current-date {
61
+ min-width: 175px;
62
+ margin-left: 8px;
63
+ margin-right: 4px;
64
+ background: inherit;
65
+ padding: 3px 4px;
66
+ border: none;
67
+ display: flex;
68
+ align-items: center;
69
+ color: var(--iui-color-text);
70
+ font-size: var(--iui-font-size-1);
71
+ cursor: pointer;
72
+
73
+ &:focus-visible {
74
+ outline: 1px solid var(--iui-color-border-accent);
75
+ outline-offset: -1px;
76
+ }
77
+
78
+ > span:nth-child(2) {
79
+ margin: 0 6px;
80
+ }
81
+
82
+ > .icon-calendar {
83
+ flex-grow: 1;
84
+ margin-left: auto;
85
+ }
86
+ }
87
+
88
+ > .speed-container {
89
+ display: flex;
90
+ align-items: center;
91
+ margin-left: auto;
92
+ cursor: pointer;
93
+
94
+ > .speed {
95
+ margin-left: 12px;
96
+ width: 0;
97
+ opacity: 0;
98
+ transition: all 0.2s linear;
99
+ margin-right: 10px;
100
+ }
101
+ }
102
+
103
+ > .loop-playback {
104
+ color: var(--iui-color-icon-accent);
105
+ font-size: 16px;
106
+ cursor: pointer;
107
+
108
+ &:focus {
109
+ outline: none;
110
+ }
111
+ }
112
+
113
+ > .no-loop-playback {
114
+ color: var(--iui-color-icon);
115
+ font-size: 16px;
116
+ cursor: pointer;
117
+
118
+ &:hover {
119
+ color: var(--iui-color-icon-hover);
120
+ }
121
+
122
+ &:focus {
123
+ outline: none;
124
+ }
125
+ }
126
+ }
127
+
128
+ .solar-slider {
129
+ position: relative;
130
+ display: flex;
131
+ box-sizing: border-box;
132
+ align-items: center;
133
+ flex: 1;
134
+
135
+ .rail-outer {
136
+ position: absolute;
137
+ top: 50%;
138
+ transform: translateY(-50%);
139
+ width: 100%;
140
+ height: 20px;
141
+ cursor: pointer;
142
+ }
143
+
144
+ .rail-inner,
145
+ .rail-solar {
146
+ position: absolute;
147
+ top: 50%;
148
+ transform: translateY(-50%);
149
+ height: 4px;
150
+ pointer-events: none;
151
+ }
152
+
153
+ .rail-inner {
154
+ width: 100%;
155
+ background: var(--iui-color-background-backdrop);
156
+ }
157
+
158
+ .rail-solar {
159
+ background: var(--iui-color-background-accent);
160
+ z-index: 1;
161
+ }
162
+
163
+ .rail-tooltip {
164
+ position: absolute;
165
+ margin-left: -11px;
166
+ top: 0;
167
+ transform: translateY(-50%);
168
+ z-index: 1;
169
+ }
170
+
171
+ .solar-handle {
172
+ position: absolute;
173
+ top: 50%;
174
+ z-index: 4;
175
+ width: 38px;
176
+ height: 20px;
177
+ border-radius: var(--iui-border-radius-1);
178
+ border: 1px solid $buic-background-5;
179
+ background-image: linear-gradient(
180
+ to bottom,
181
+ $buic-background-3,
182
+ $buic-background-3
183
+ ),
184
+ linear-gradient(to bottom, $buic-background-1, $buic-background-1);
185
+ display: flex;
186
+ align-items: center;
187
+ justify-content: center;
188
+ box-sizing: border-box;
189
+ transform: translate(-50%, -50%);
190
+ cursor: pointer;
191
+
192
+ > div {
193
+ width: 1px;
194
+ height: 10px;
195
+ opacity: 0.25;
196
+ margin: 0 1px;
197
+ background-color: var(--iui-color-text);
198
+ }
199
+ }
200
+
201
+ .tick-mark {
202
+ position: absolute;
203
+ bottom: calc(#{$bottom-position} + 15px);
204
+ width: 1px;
205
+ height: 5px;
206
+ background: rgb(200, 200, 200);
207
+ }
208
+
209
+ .tick-label {
210
+ position: absolute;
211
+ bottom: $bottom-position;
212
+ font-size: 10px;
213
+ text-align: center;
214
+ }
215
+
216
+ .sunrise,
217
+ .sunset {
218
+ font-size: 22px;
219
+ cursor: default;
220
+ }
221
+
222
+ .sunset {
223
+ margin: 0px 16px 2px 24px;
224
+ }
225
+
226
+ .sunrise {
227
+ color: var(--iui-color-icon-warning);
228
+ margin: 0 24px 0 8px;
229
+ }
230
+ }
231
+ }
232
+
233
+ .solar-timeline-wrapper > .header > .speed-container:hover > .speed {
234
+ opacity: 1;
235
+ width: 80px;
236
+ }
237
+
238
+ .solar-timeline-wrapper.expanded .header .expanded-icon {
239
+ transform: rotate(180deg);
240
+ }
241
+
242
+ .solar-timeline-wrapper.expanded > .header > .current-date {
243
+ margin-left: 70px;
244
+ }
245
+
246
+ .solar-timeline-wrapper .solar-timeline-expanded {
247
+ display: none;
248
+ margin-bottom: 8px;
249
+ }
250
+
251
+ .solar-timeline-wrapper .solar-timeline {
252
+ display: flex;
253
+ }
254
+
255
+ .solar-timeline-wrapper.expanded {
256
+ height: 100px;
257
+ }
258
+
259
+ .shadow-settings-color-top {
260
+ display: inline;
261
+ }
262
+
263
+ .shadow-settings-color-bottom {
264
+ display: flex;
265
+ flex-direction: row;
266
+ }
267
+
268
+ .shadow-settings-popup-container {
269
+ width: 220px;
270
+ padding: 10px 10px 0px;
271
+ display: flex;
272
+ flex-direction: column;
273
+
274
+ .shadow-settings-header {
275
+ display: flex;
276
+ flex-direction: row;
277
+ align-items: center;
278
+ justify-content: center;
279
+ margin-bottom: 6px;
280
+ }
281
+
282
+ .shadow-settings-color {
283
+ display: flex;
284
+ flex-direction: column;
285
+
286
+ .shadow-settings-color-top {
287
+ height: 150px;
288
+ margin: 1em;
289
+ }
290
+
291
+ .shadow-settings-color-bottom {
292
+ width: 100%;
293
+ height: 32px;
294
+ margin-top: 10px;
295
+ margin-bottom: 10px;
296
+
297
+ .shadow-settings-color-bottom-left {
298
+ width: calc(100% - 2em - 32px);
299
+ height: 100%;
300
+ margin-left: 1em;
301
+ margin-right: 4px;
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: center;
305
+ }
306
+
307
+ .shadow-settings-color-bottom-right {
308
+ width: 32px;
309
+ height: 100%;
310
+ }
311
+ }
312
+ }
313
+
314
+ .shadow-settings-color-presets {
315
+ width: 100%;
316
+ height: 24px;
317
+ padding-top: 10px;
318
+ margin-bottom: 10px;
319
+ display: grid;
320
+ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
321
+ grid-column-gap: 2px;
322
+ border-top: 1px solid var(--iui-color-border-subtle);
323
+ }
324
+ }
325
+
326
+ .sunrise-tip {
327
+ position: absolute;
328
+ top: -8px;
329
+ display: inline-block;
330
+ border-bottom: 1px dotted rgba(0, 0, 0, var(--iui-opacity-3));
331
+ font-size: 14px;
332
+ }
333
+
334
+ .solar-tooltip-text {
335
+ width: 100px;
336
+ background-color: rgba(0, 0, 0, var(--iui-opacity-3));
337
+ color: #fff;
338
+ // opacity: 0.8;
339
+ text-align: center;
340
+ border-radius: 6px;
341
+ padding: 8px 0;
342
+ position: absolute;
343
+ z-index: 1;
344
+ bottom: 150%;
345
+ left: 50%;
346
+ margin-left: -60px;
347
+
348
+ &:after {
349
+ content: "";
350
+ position: absolute;
351
+ top: 100%;
352
+ left: 50%;
353
+ margin-left: -5px;
354
+ border-width: 5px;
355
+ border-style: solid;
356
+ border-color: rgba(0, 0, 0, var(--iui-opacity-3)) transparent transparent
357
+ transparent;
358
+ }
359
+ }