@itwin/core-react 3.0.0-dev.77 → 3.0.0-dev.81

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 (1851) hide show
  1. package/lib/{core-react → cjs/core-react}/UiCore.d.ts +0 -0
  2. package/lib/cjs/core-react/UiCore.d.ts.map +1 -0
  3. package/lib/{core-react → cjs/core-react}/UiCore.js +0 -0
  4. package/lib/cjs/core-react/UiCore.js.map +1 -0
  5. package/lib/{core-react → cjs/core-react}/_geometry.scss +0 -0
  6. package/lib/{core-react → cjs/core-react}/_helpers.scss +0 -0
  7. package/lib/{core-react → cjs/core-react}/_math.scss +0 -0
  8. package/lib/{core-react → cjs/core-react}/_scrollbar.scss +0 -0
  9. package/lib/{core-react → cjs/core-react}/_typography.scss +0 -0
  10. package/lib/{core-react → cjs/core-react}/_z-index.scss +0 -0
  11. package/lib/{core-react → cjs/core-react}/autosuggest/AutoSuggest.d.ts +0 -0
  12. package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts.map +1 -0
  13. package/lib/cjs/core-react/autosuggest/AutoSuggest.js +175 -0
  14. package/lib/cjs/core-react/autosuggest/AutoSuggest.js.map +1 -0
  15. package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +83 -0
  16. package/lib/{core-react → cjs/core-react}/badge/Badge.d.ts +0 -0
  17. package/lib/cjs/core-react/badge/Badge.d.ts.map +1 -0
  18. package/lib/{core-react → cjs/core-react}/badge/Badge.js +0 -0
  19. package/lib/cjs/core-react/badge/Badge.js.map +1 -0
  20. package/lib/{core-react → cjs/core-react}/badge/Badge.scss +0 -0
  21. package/lib/{core-react → cjs/core-react}/badge/BadgeUtilities.d.ts +0 -0
  22. package/lib/cjs/core-react/badge/BadgeUtilities.d.ts.map +1 -0
  23. package/lib/{core-react → cjs/core-react}/badge/BadgeUtilities.js +0 -0
  24. package/lib/cjs/core-react/badge/BadgeUtilities.js.map +1 -0
  25. package/lib/{core-react → cjs/core-react}/badge/BetaBadge.d.ts +0 -0
  26. package/lib/cjs/core-react/badge/BetaBadge.d.ts.map +1 -0
  27. package/lib/cjs/core-react/badge/BetaBadge.js +24 -0
  28. package/lib/cjs/core-react/badge/BetaBadge.js.map +1 -0
  29. package/lib/{core-react → cjs/core-react}/badge/BetaBadge.scss +0 -0
  30. package/lib/{core-react → cjs/core-react}/badge/NewBadge.d.ts +0 -0
  31. package/lib/cjs/core-react/badge/NewBadge.d.ts.map +1 -0
  32. package/lib/cjs/core-react/badge/NewBadge.js +24 -0
  33. package/lib/cjs/core-react/badge/NewBadge.js.map +1 -0
  34. package/lib/{core-react → cjs/core-react}/badge/NewBadge.scss +0 -0
  35. package/lib/{core-react → cjs/core-react}/badge/new-feature-badge.svg +0 -0
  36. package/lib/{core-react → cjs/core-react}/badge/technical-preview-badge.svg +0 -0
  37. package/lib/{core-react → cjs/core-react}/base/Centered.d.ts +0 -0
  38. package/lib/cjs/core-react/base/Centered.d.ts.map +1 -0
  39. package/lib/cjs/core-react/base/Centered.js +21 -0
  40. package/lib/cjs/core-react/base/Centered.js.map +1 -0
  41. package/lib/{core-react → cjs/core-react}/base/Div.d.ts +0 -0
  42. package/lib/cjs/core-react/base/Div.d.ts.map +1 -0
  43. package/lib/cjs/core-react/base/Div.js +21 -0
  44. package/lib/cjs/core-react/base/Div.js.map +1 -0
  45. package/lib/{core-react → cjs/core-react}/base/DivWithOutsideClick.d.ts +0 -0
  46. package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts.map +1 -0
  47. package/lib/cjs/core-react/base/DivWithOutsideClick.js +17 -0
  48. package/lib/cjs/core-react/base/DivWithOutsideClick.js.map +1 -0
  49. package/lib/{core-react → cjs/core-react}/base/FillCentered.d.ts +0 -0
  50. package/lib/cjs/core-react/base/FillCentered.d.ts.map +1 -0
  51. package/lib/cjs/core-react/base/FillCentered.js +21 -0
  52. package/lib/cjs/core-react/base/FillCentered.js.map +1 -0
  53. package/lib/{core-react → cjs/core-react}/base/FlexWrapContainer.d.ts +0 -0
  54. package/lib/cjs/core-react/base/FlexWrapContainer.d.ts.map +1 -0
  55. package/lib/cjs/core-react/base/FlexWrapContainer.js +22 -0
  56. package/lib/cjs/core-react/base/FlexWrapContainer.js.map +1 -0
  57. package/lib/{core-react → cjs/core-react}/base/Gap.d.ts +0 -0
  58. package/lib/cjs/core-react/base/Gap.d.ts.map +1 -0
  59. package/lib/cjs/core-react/base/Gap.js +21 -0
  60. package/lib/cjs/core-react/base/Gap.js.map +1 -0
  61. package/lib/{core-react → cjs/core-react}/base/PointerEvents.d.ts +0 -0
  62. package/lib/cjs/core-react/base/PointerEvents.d.ts.map +1 -0
  63. package/lib/{core-react → cjs/core-react}/base/PointerEvents.js +0 -0
  64. package/lib/cjs/core-react/base/PointerEvents.js.map +1 -0
  65. package/lib/{core-react → cjs/core-react}/base/ScrollView.d.ts +0 -0
  66. package/lib/cjs/core-react/base/ScrollView.d.ts.map +1 -0
  67. package/lib/cjs/core-react/base/ScrollView.js +22 -0
  68. package/lib/cjs/core-react/base/ScrollView.js.map +1 -0
  69. package/lib/{core-react → cjs/core-react}/base/base.scss +0 -0
  70. package/lib/{core-react → cjs/core-react}/base/classes.scss +0 -0
  71. package/lib/{core-react → cjs/core-react}/base/index.scss +0 -0
  72. package/lib/{core-react → cjs/core-react}/button/Button.d.ts +0 -0
  73. package/lib/cjs/core-react/button/Button.d.ts.map +1 -0
  74. package/lib/cjs/core-react/button/Button.js +88 -0
  75. package/lib/cjs/core-react/button/Button.js.map +1 -0
  76. package/lib/{core-react → cjs/core-react}/button/UnderlinedButton.d.ts +0 -0
  77. package/lib/cjs/core-react/button/UnderlinedButton.d.ts.map +1 -0
  78. package/lib/{core-react → cjs/core-react}/button/UnderlinedButton.js +0 -0
  79. package/lib/cjs/core-react/button/UnderlinedButton.js.map +1 -0
  80. package/lib/{core-react → cjs/core-react}/button/UnderlinedButton.scss +0 -0
  81. package/lib/{core-react → cjs/core-react}/button/blue-large.scss +0 -0
  82. package/lib/{core-react → cjs/core-react}/button/blue.scss +0 -0
  83. package/lib/{core-react → cjs/core-react}/button/button.scss +0 -0
  84. package/lib/{core-react → cjs/core-react}/button/classes.scss +0 -0
  85. package/lib/{core-react → cjs/core-react}/button/disabled-large.scss +0 -0
  86. package/lib/{core-react → cjs/core-react}/button/disabled.scss +0 -0
  87. package/lib/{core-react → cjs/core-react}/button/hollow-large.scss +0 -0
  88. package/lib/{core-react → cjs/core-react}/button/hollow.scss +0 -0
  89. package/lib/{core-react → cjs/core-react}/button/index.scss +0 -0
  90. package/lib/{core-react → cjs/core-react}/button/primary-large.scss +0 -0
  91. package/lib/{core-react → cjs/core-react}/button/primary.scss +0 -0
  92. package/lib/{core-react → cjs/core-react}/button/variables.scss +0 -0
  93. package/lib/{core-react → cjs/core-react}/checkbox/Checkbox.d.ts +0 -0
  94. package/lib/cjs/core-react/checkbox/Checkbox.d.ts.map +1 -0
  95. package/lib/cjs/core-react/checkbox/Checkbox.js +65 -0
  96. package/lib/cjs/core-react/checkbox/Checkbox.js.map +1 -0
  97. package/lib/{core-react → cjs/core-react}/checkbox/checkbox.scss +0 -0
  98. package/lib/{core-react → cjs/core-react}/checkbox/classes.scss +0 -0
  99. package/lib/{core-react → cjs/core-react}/checkbox/index.scss +0 -0
  100. package/lib/{core-react → cjs/core-react}/checklistbox/CheckListBox.d.ts +0 -0
  101. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts.map +1 -0
  102. package/lib/{core-react → cjs/core-react}/checklistbox/CheckListBox.js +0 -0
  103. package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +1 -0
  104. package/lib/{core-react → cjs/core-react}/checklistbox/CheckListBox.scss +0 -0
  105. package/lib/{core-react → cjs/core-react}/classes.scss +0 -0
  106. package/lib/{core-react → cjs/core-react}/colorthemes.scss +0 -0
  107. package/lib/{core-react → cjs/core-react}/colorvariables.scss +0 -0
  108. package/lib/{core-react → cjs/core-react}/contextmenu/ContextMenu.d.ts +0 -0
  109. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts.map +1 -0
  110. package/lib/cjs/core-react/contextmenu/ContextMenu.js +365 -0
  111. package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +1 -0
  112. package/lib/{core-react → cjs/core-react}/contextmenu/ContextMenu.scss +0 -0
  113. package/lib/{core-react → cjs/core-react}/contextmenu/ContextMenuDirection.d.ts +0 -0
  114. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.d.ts.map +1 -0
  115. package/lib/{core-react → cjs/core-react}/contextmenu/ContextMenuDirection.js +0 -0
  116. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js.map +1 -0
  117. package/lib/{core-react → cjs/core-react}/contextmenu/ContextMenuDivider.d.ts +0 -0
  118. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -0
  119. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js +24 -0
  120. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js.map +1 -0
  121. package/lib/{core-react → cjs/core-react}/contextmenu/ContextMenuItem.d.ts +0 -0
  122. package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -0
  123. package/lib/cjs/core-react/contextmenu/ContextMenuItem.js +109 -0
  124. package/lib/cjs/core-react/contextmenu/ContextMenuItem.js.map +1 -0
  125. package/lib/{core-react → cjs/core-react}/contextmenu/ContextSubMenu.d.ts +0 -0
  126. package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -0
  127. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js +160 -0
  128. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +1 -0
  129. package/lib/{core-react → cjs/core-react}/contextmenu/GlobalContextMenu.d.ts +0 -0
  130. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -0
  131. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js +60 -0
  132. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js.map +1 -0
  133. package/lib/{core-react → cjs/core-react}/contextmenu/PopupContextMenu.d.ts +0 -0
  134. package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -0
  135. package/lib/cjs/core-react/contextmenu/PopupContextMenu.js +56 -0
  136. package/lib/cjs/core-react/contextmenu/PopupContextMenu.js.map +1 -0
  137. package/lib/{core-react → cjs/core-react}/contextmenu/TildeFinder.d.ts +0 -0
  138. package/lib/cjs/core-react/contextmenu/TildeFinder.d.ts.map +1 -0
  139. package/lib/{core-react → cjs/core-react}/contextmenu/TildeFinder.js +0 -0
  140. package/lib/cjs/core-react/contextmenu/TildeFinder.js.map +1 -0
  141. package/lib/{core-react → cjs/core-react}/dialog/Dialog.d.ts +0 -0
  142. package/lib/cjs/core-react/dialog/Dialog.d.ts.map +1 -0
  143. package/lib/cjs/core-react/dialog/Dialog.js +334 -0
  144. package/lib/cjs/core-react/dialog/Dialog.js.map +1 -0
  145. package/lib/{core-react → cjs/core-react}/dialog/Dialog.scss +0 -0
  146. package/lib/{core-react → cjs/core-react}/dialog/DialogButtonDef.d.ts +0 -0
  147. package/lib/cjs/core-react/dialog/DialogButtonDef.d.ts.map +1 -0
  148. package/lib/{core-react → cjs/core-react}/dialog/DialogButtonDef.js +0 -0
  149. package/lib/cjs/core-react/dialog/DialogButtonDef.js.map +1 -0
  150. package/lib/{core-react → cjs/core-react}/dialog/GlobalDialog.d.ts +0 -0
  151. package/lib/cjs/core-react/dialog/GlobalDialog.d.ts.map +1 -0
  152. package/lib/cjs/core-react/dialog/GlobalDialog.js +54 -0
  153. package/lib/cjs/core-react/dialog/GlobalDialog.js.map +1 -0
  154. package/lib/{core-react → cjs/core-react}/elementseparator/ElementSeparator.d.ts +0 -0
  155. package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts.map +1 -0
  156. package/lib/cjs/core-react/elementseparator/ElementSeparator.js +164 -0
  157. package/lib/cjs/core-react/elementseparator/ElementSeparator.js.map +1 -0
  158. package/lib/{core-react → cjs/core-react}/elementseparator/ElementSeparator.scss +0 -0
  159. package/lib/{core-react → cjs/core-react}/enums/Alignment.d.ts +0 -0
  160. package/lib/cjs/core-react/enums/Alignment.d.ts.map +1 -0
  161. package/lib/{core-react → cjs/core-react}/enums/Alignment.js +0 -0
  162. package/lib/cjs/core-react/enums/Alignment.js.map +1 -0
  163. package/lib/{core-react → cjs/core-react}/enums/CheckBoxState.d.ts +0 -0
  164. package/lib/cjs/core-react/enums/CheckBoxState.d.ts.map +1 -0
  165. package/lib/{core-react → cjs/core-react}/enums/CheckBoxState.js +0 -0
  166. package/lib/cjs/core-react/enums/CheckBoxState.js.map +1 -0
  167. package/lib/{core-react → cjs/core-react}/enums/Orientation.d.ts +0 -0
  168. package/lib/cjs/core-react/enums/Orientation.d.ts.map +1 -0
  169. package/lib/{core-react → cjs/core-react}/enums/Orientation.js +0 -0
  170. package/lib/cjs/core-react/enums/Orientation.js.map +1 -0
  171. package/lib/{core-react → cjs/core-react}/enums/SortDirection.d.ts +0 -0
  172. package/lib/cjs/core-react/enums/SortDirection.d.ts.map +1 -0
  173. package/lib/{core-react → cjs/core-react}/enums/SortDirection.js +0 -0
  174. package/lib/cjs/core-react/enums/SortDirection.js.map +1 -0
  175. package/lib/{core-react → cjs/core-react}/enums/TimeFormat.d.ts +0 -0
  176. package/lib/cjs/core-react/enums/TimeFormat.d.ts.map +1 -0
  177. package/lib/{core-react → cjs/core-react}/enums/TimeFormat.js +0 -0
  178. package/lib/cjs/core-react/enums/TimeFormat.js.map +1 -0
  179. package/lib/{core-react → cjs/core-react}/expandable/ExpandableBlock.d.ts +0 -0
  180. package/lib/cjs/core-react/expandable/ExpandableBlock.d.ts.map +1 -0
  181. package/lib/{core-react → cjs/core-react}/expandable/ExpandableBlock.js +0 -0
  182. package/lib/cjs/core-react/expandable/ExpandableBlock.js.map +1 -0
  183. package/lib/{core-react → cjs/core-react}/expandable/ExpandableBlock.scss +0 -0
  184. package/lib/{core-react → cjs/core-react}/expandable/ExpandableList.d.ts +0 -0
  185. package/lib/cjs/core-react/expandable/ExpandableList.d.ts.map +1 -0
  186. package/lib/{core-react → cjs/core-react}/expandable/ExpandableList.js +0 -0
  187. package/lib/cjs/core-react/expandable/ExpandableList.js.map +1 -0
  188. package/lib/cjs/core-react/expandable/ExpandableList.scss +12 -0
  189. package/lib/{core-react → cjs/core-react}/expandable/classes.scss +0 -0
  190. package/lib/{core-react → cjs/core-react}/expandable/index.scss +0 -0
  191. package/lib/{core-react → cjs/core-react}/expandable/list.scss +0 -0
  192. package/lib/{core-react → cjs/core-react}/focus/ItemKeyboardNavigator.d.ts +0 -0
  193. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts.map +1 -0
  194. package/lib/{core-react → cjs/core-react}/focus/ItemKeyboardNavigator.js +0 -0
  195. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js.map +1 -0
  196. package/lib/{core-react → cjs/core-react}/focustrap/FocusTrap.d.ts +0 -0
  197. package/lib/cjs/core-react/focustrap/FocusTrap.d.ts.map +1 -0
  198. package/lib/{core-react → cjs/core-react}/focustrap/FocusTrap.js +0 -0
  199. package/lib/cjs/core-react/focustrap/FocusTrap.js.map +1 -0
  200. package/lib/{core-react → cjs/core-react}/form/Field.d.ts +0 -0
  201. package/lib/cjs/core-react/form/Field.d.ts.map +1 -0
  202. package/lib/{core-react → cjs/core-react}/form/Field.js +0 -0
  203. package/lib/cjs/core-react/form/Field.js.map +1 -0
  204. package/lib/{core-react → cjs/core-react}/form/Form.d.ts +0 -0
  205. package/lib/cjs/core-react/form/Form.d.ts.map +1 -0
  206. package/lib/cjs/core-react/form/Form.js +131 -0
  207. package/lib/cjs/core-react/form/Form.js.map +1 -0
  208. package/lib/{core-react → cjs/core-react}/form/Form.scss +0 -0
  209. package/lib/{core-react → cjs/core-react}/hocs/withIsPressed.d.ts +0 -0
  210. package/lib/cjs/core-react/hocs/withIsPressed.d.ts.map +1 -0
  211. package/lib/cjs/core-react/hocs/withIsPressed.js +47 -0
  212. package/lib/cjs/core-react/hocs/withIsPressed.js.map +1 -0
  213. package/lib/{core-react → cjs/core-react}/hocs/withOnOutsideClick.d.ts +0 -0
  214. package/lib/cjs/core-react/hocs/withOnOutsideClick.d.ts.map +1 -0
  215. package/lib/cjs/core-react/hocs/withOnOutsideClick.js +113 -0
  216. package/lib/cjs/core-react/hocs/withOnOutsideClick.js.map +1 -0
  217. package/lib/{core-react → cjs/core-react}/hocs/withTimeout.d.ts +0 -0
  218. package/lib/cjs/core-react/hocs/withTimeout.d.ts.map +1 -0
  219. package/lib/cjs/core-react/hocs/withTimeout.js +47 -0
  220. package/lib/cjs/core-react/hocs/withTimeout.js.map +1 -0
  221. package/lib/{core-react → cjs/core-react}/icons/IconComponent.d.ts +0 -0
  222. package/lib/cjs/core-react/icons/IconComponent.d.ts.map +1 -0
  223. package/lib/{core-react → cjs/core-react}/icons/IconComponent.js +0 -0
  224. package/lib/cjs/core-react/icons/IconComponent.js.map +1 -0
  225. package/lib/{core-react → cjs/core-react}/icons/IconComponent.scss +0 -0
  226. package/lib/{core-react → cjs/core-react}/icons/SvgPath.d.ts +0 -0
  227. package/lib/cjs/core-react/icons/SvgPath.d.ts.map +1 -0
  228. package/lib/{core-react → cjs/core-react}/icons/SvgPath.js +0 -0
  229. package/lib/cjs/core-react/icons/SvgPath.js.map +1 -0
  230. package/lib/{core-react → cjs/core-react}/icons/SvgSprite.d.ts +0 -0
  231. package/lib/cjs/core-react/icons/SvgSprite.d.ts.map +1 -0
  232. package/lib/{core-react → cjs/core-react}/icons/SvgSprite.js +0 -0
  233. package/lib/cjs/core-react/icons/SvgSprite.js.map +1 -0
  234. package/lib/{core-react → cjs/core-react}/icons/SvgSprite.scss +0 -0
  235. package/lib/{core-react → cjs/core-react}/icons/WebFontIcon.d.ts +0 -0
  236. package/lib/cjs/core-react/icons/WebFontIcon.d.ts.map +1 -0
  237. package/lib/{core-react → cjs/core-react}/icons/WebFontIcon.js +0 -0
  238. package/lib/cjs/core-react/icons/WebFontIcon.js.map +1 -0
  239. package/lib/{core-react → cjs/core-react}/icons/WebFontIcon.scss +0 -0
  240. package/lib/{core-react → cjs/core-react}/icons/classes.scss +0 -0
  241. package/lib/{core-react → cjs/core-react}/icons/index.scss +0 -0
  242. package/lib/{core-react → cjs/core-react}/icons/mixins.scss +0 -0
  243. package/lib/{core-react → cjs/core-react}/icons/variables.scss +0 -0
  244. package/lib/{core-react → cjs/core-react}/imagecheckbox/ImageCheckBox.d.ts +0 -0
  245. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -0
  246. package/lib/{core-react → cjs/core-react}/imagecheckbox/ImageCheckBox.js +0 -0
  247. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js.map +1 -0
  248. package/lib/{core-react → cjs/core-react}/imagecheckbox/ImageCheckBox.scss +0 -0
  249. package/lib/{core-react → cjs/core-react}/index.scss +0 -0
  250. package/lib/{core-react → cjs/core-react}/inputs/Input.d.ts +0 -0
  251. package/lib/cjs/core-react/inputs/Input.d.ts.map +1 -0
  252. package/lib/cjs/core-react/inputs/Input.js +47 -0
  253. package/lib/cjs/core-react/inputs/Input.js.map +1 -0
  254. package/lib/{core-react → cjs/core-react}/inputs/InputLabel.d.ts +0 -0
  255. package/lib/cjs/core-react/inputs/InputLabel.d.ts.map +1 -0
  256. package/lib/{core-react → cjs/core-react}/inputs/InputLabel.js +0 -0
  257. package/lib/cjs/core-react/inputs/InputLabel.js.map +1 -0
  258. package/lib/{core-react → cjs/core-react}/inputs/InputStatus.d.ts +0 -0
  259. package/lib/cjs/core-react/inputs/InputStatus.d.ts.map +1 -0
  260. package/lib/{core-react → cjs/core-react}/inputs/InputStatus.js +0 -0
  261. package/lib/cjs/core-react/inputs/InputStatus.js.map +1 -0
  262. package/lib/{core-react → cjs/core-react}/inputs/LabeledComponentProps.d.ts +0 -0
  263. package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts.map +1 -0
  264. package/lib/{core-react → cjs/core-react}/inputs/LabeledComponentProps.js +0 -0
  265. package/lib/cjs/core-react/inputs/LabeledComponentProps.js.map +1 -0
  266. package/lib/{core-react → cjs/core-react}/inputs/LabeledInput.d.ts +0 -0
  267. package/lib/cjs/core-react/inputs/LabeledInput.d.ts.map +1 -0
  268. package/lib/cjs/core-react/inputs/LabeledInput.js +34 -0
  269. package/lib/cjs/core-react/inputs/LabeledInput.js.map +1 -0
  270. package/lib/{core-react → cjs/core-react}/inputs/LabeledTextarea.d.ts +0 -0
  271. package/lib/cjs/core-react/inputs/LabeledTextarea.d.ts.map +1 -0
  272. package/lib/cjs/core-react/inputs/LabeledTextarea.js +32 -0
  273. package/lib/cjs/core-react/inputs/LabeledTextarea.js.map +1 -0
  274. package/lib/{core-react → cjs/core-react}/inputs/Textarea.d.ts +0 -0
  275. package/lib/cjs/core-react/inputs/Textarea.d.ts.map +1 -0
  276. package/lib/cjs/core-react/inputs/Textarea.js +36 -0
  277. package/lib/cjs/core-react/inputs/Textarea.js.map +1 -0
  278. package/lib/{core-react → cjs/core-react}/inputs/classes.scss +0 -0
  279. package/lib/{core-react → cjs/core-react}/inputs/iconinput/IconInput.d.ts +0 -0
  280. package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts.map +1 -0
  281. package/lib/cjs/core-react/inputs/iconinput/IconInput.js +30 -0
  282. package/lib/cjs/core-react/inputs/iconinput/IconInput.js.map +1 -0
  283. package/lib/{core-react → cjs/core-react}/inputs/iconinput/IconInput.scss +0 -0
  284. package/lib/{core-react → cjs/core-react}/inputs/index.scss +0 -0
  285. package/lib/{core-react → cjs/core-react}/inputs/input.scss +0 -0
  286. package/lib/{core-react → cjs/core-react}/inputs/labeled-input.scss +0 -0
  287. package/lib/{core-react → cjs/core-react}/inputs/labeled-textarea.scss +0 -0
  288. package/lib/{core-react → cjs/core-react}/inputs/numberinput/NumberInput.d.ts +0 -0
  289. package/lib/cjs/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -0
  290. package/lib/cjs/core-react/inputs/numberinput/NumberInput.js +148 -0
  291. package/lib/cjs/core-react/inputs/numberinput/NumberInput.js.map +1 -0
  292. package/lib/{core-react → cjs/core-react}/inputs/numberinput/NumberInput.scss +0 -0
  293. package/lib/{core-react → cjs/core-react}/inputs/textarea.scss +0 -0
  294. package/lib/{core-react → cjs/core-react}/inputs/variables.scss +0 -0
  295. package/lib/{core-react → cjs/core-react}/layout-variables.scss +0 -0
  296. package/lib/{core-react → cjs/core-react}/listbox/Listbox.d.ts +0 -0
  297. package/lib/cjs/core-react/listbox/Listbox.d.ts.map +1 -0
  298. package/lib/cjs/core-react/listbox/Listbox.js +223 -0
  299. package/lib/cjs/core-react/listbox/Listbox.js.map +1 -0
  300. package/lib/cjs/core-react/listbox/Listbox.scss +54 -0
  301. package/lib/{core-react → cjs/core-react}/loading/LoadingBar.d.ts +0 -0
  302. package/lib/cjs/core-react/loading/LoadingBar.d.ts.map +1 -0
  303. package/lib/{core-react → cjs/core-react}/loading/LoadingBar.js +0 -0
  304. package/lib/cjs/core-react/loading/LoadingBar.js.map +1 -0
  305. package/lib/{core-react → cjs/core-react}/loading/LoadingBar.scss +0 -0
  306. package/lib/{core-react → cjs/core-react}/loading/LoadingPrompt.d.ts +0 -0
  307. package/lib/cjs/core-react/loading/LoadingPrompt.d.ts.map +1 -0
  308. package/lib/{core-react → cjs/core-react}/loading/LoadingPrompt.js +0 -0
  309. package/lib/cjs/core-react/loading/LoadingPrompt.js.map +1 -0
  310. package/lib/{core-react → cjs/core-react}/loading/LoadingPrompt.scss +0 -0
  311. package/lib/{core-react → cjs/core-react}/loading/LoadingSpinner.d.ts +0 -0
  312. package/lib/cjs/core-react/loading/LoadingSpinner.d.ts.map +1 -0
  313. package/lib/cjs/core-react/loading/LoadingSpinner.js +46 -0
  314. package/lib/cjs/core-react/loading/LoadingSpinner.js.map +1 -0
  315. package/lib/{core-react → cjs/core-react}/loading/LoadingSpinner.scss +0 -0
  316. package/lib/{core-react → cjs/core-react}/loading/LoadingStatus.d.ts +0 -0
  317. package/lib/cjs/core-react/loading/LoadingStatus.d.ts.map +1 -0
  318. package/lib/{core-react → cjs/core-react}/loading/LoadingStatus.js +0 -0
  319. package/lib/cjs/core-react/loading/LoadingStatus.js.map +1 -0
  320. package/lib/{core-react → cjs/core-react}/loading/LoadingStatus.scss +0 -0
  321. package/lib/{core-react → cjs/core-react}/loading/Spinner.d.ts +0 -0
  322. package/lib/cjs/core-react/loading/Spinner.d.ts.map +1 -0
  323. package/lib/{core-react → cjs/core-react}/loading/Spinner.js +0 -0
  324. package/lib/cjs/core-react/loading/Spinner.js.map +1 -0
  325. package/lib/{core-react → cjs/core-react}/loading/Spinner.scss +0 -0
  326. package/lib/{core-react → cjs/core-react}/loading/index.scss +0 -0
  327. package/lib/{core-react → cjs/core-react}/loading/mixins.scss +0 -0
  328. package/lib/{core-react → cjs/core-react}/messagebox/MessageBox.d.ts +0 -0
  329. package/lib/cjs/core-react/messagebox/MessageBox.d.ts.map +1 -0
  330. package/lib/{core-react → cjs/core-react}/messagebox/MessageBox.js +0 -0
  331. package/lib/cjs/core-react/messagebox/MessageBox.js.map +1 -0
  332. package/lib/{core-react → cjs/core-react}/messagebox/MessageBox.scss +0 -0
  333. package/lib/{core-react → cjs/core-react}/messagebox/MessageSeverity.d.ts +0 -0
  334. package/lib/cjs/core-react/messagebox/MessageSeverity.d.ts.map +1 -0
  335. package/lib/{core-react → cjs/core-react}/messagebox/MessageSeverity.js +0 -0
  336. package/lib/cjs/core-react/messagebox/MessageSeverity.js.map +1 -0
  337. package/lib/{core-react → cjs/core-react}/notification/MessageRenderer.d.ts +0 -0
  338. package/lib/cjs/core-react/notification/MessageRenderer.d.ts.map +1 -0
  339. package/lib/{core-react → cjs/core-react}/notification/MessageRenderer.js +0 -0
  340. package/lib/cjs/core-react/notification/MessageRenderer.js.map +1 -0
  341. package/lib/{core-react → cjs/core-react}/notification/MessageType.d.ts +0 -0
  342. package/lib/cjs/core-react/notification/MessageType.d.ts.map +1 -0
  343. package/lib/{core-react → cjs/core-react}/notification/MessageType.js +0 -0
  344. package/lib/cjs/core-react/notification/MessageType.js.map +1 -0
  345. package/lib/{core-react → cjs/core-react}/popup/Popup.d.ts +0 -0
  346. package/lib/cjs/core-react/popup/Popup.d.ts.map +1 -0
  347. package/lib/cjs/core-react/popup/Popup.js +401 -0
  348. package/lib/cjs/core-react/popup/Popup.js.map +1 -0
  349. package/lib/{core-react → cjs/core-react}/popup/Popup.scss +0 -0
  350. package/lib/{core-react → cjs/core-react}/progress-indicators/ProgressBar.d.ts +0 -0
  351. package/lib/cjs/core-react/progress-indicators/ProgressBar.d.ts.map +1 -0
  352. package/lib/cjs/core-react/progress-indicators/ProgressBar.js +48 -0
  353. package/lib/cjs/core-react/progress-indicators/ProgressBar.js.map +1 -0
  354. package/lib/{core-react → cjs/core-react}/progress-indicators/ProgressSpinner.d.ts +0 -0
  355. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.d.ts.map +1 -0
  356. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.js +74 -0
  357. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.js.map +1 -0
  358. package/lib/{core-react → cjs/core-react}/progress-indicators/classes.scss +0 -0
  359. package/lib/{core-react → cjs/core-react}/progress-indicators/index.scss +0 -0
  360. package/lib/{core-react → cjs/core-react}/progress-indicators/progress-bar.scss +0 -0
  361. package/lib/{core-react → cjs/core-react}/progress-indicators/progress-spinner.scss +0 -0
  362. package/lib/{core-react → cjs/core-react}/radialmenu/Annulus.d.ts +0 -0
  363. package/lib/cjs/core-react/radialmenu/Annulus.d.ts.map +1 -0
  364. package/lib/{core-react → cjs/core-react}/radialmenu/Annulus.js +0 -0
  365. package/lib/cjs/core-react/radialmenu/Annulus.js.map +1 -0
  366. package/lib/{core-react → cjs/core-react}/radialmenu/RadialMenu.d.ts +0 -0
  367. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts.map +1 -0
  368. package/lib/cjs/core-react/radialmenu/RadialMenu.js +180 -0
  369. package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +1 -0
  370. package/lib/{core-react → cjs/core-react}/radialmenu/RadialMenu.scss +0 -0
  371. package/lib/{core-react → cjs/core-react}/radio/Radio.d.ts +0 -0
  372. package/lib/cjs/core-react/radio/Radio.d.ts.map +1 -0
  373. package/lib/cjs/core-react/radio/Radio.js +28 -0
  374. package/lib/cjs/core-react/radio/Radio.js.map +1 -0
  375. package/lib/{core-react → cjs/core-react}/radio/classes.scss +0 -0
  376. package/lib/{core-react → cjs/core-react}/radio/index.scss +0 -0
  377. package/lib/{core-react → cjs/core-react}/radio/radio.scss +0 -0
  378. package/lib/{core-react → cjs/core-react}/searchbox/SearchBox.d.ts +0 -0
  379. package/lib/cjs/core-react/searchbox/SearchBox.d.ts.map +1 -0
  380. package/lib/{core-react → cjs/core-react}/searchbox/SearchBox.js +0 -0
  381. package/lib/cjs/core-react/searchbox/SearchBox.js.map +1 -0
  382. package/lib/{core-react → cjs/core-react}/searchbox/SearchBox.scss +0 -0
  383. package/lib/{core-react → cjs/core-react}/select/LabeledSelect.d.ts +0 -0
  384. package/lib/cjs/core-react/select/LabeledSelect.d.ts.map +1 -0
  385. package/lib/cjs/core-react/select/LabeledSelect.js +34 -0
  386. package/lib/cjs/core-react/select/LabeledSelect.js.map +1 -0
  387. package/lib/{core-react → cjs/core-react}/select/LabeledThemedSelect.d.ts +0 -0
  388. package/lib/cjs/core-react/select/LabeledThemedSelect.d.ts.map +1 -0
  389. package/lib/cjs/core-react/select/LabeledThemedSelect.js +31 -0
  390. package/lib/cjs/core-react/select/LabeledThemedSelect.js.map +1 -0
  391. package/lib/{core-react → cjs/core-react}/select/Select.d.ts +0 -0
  392. package/lib/cjs/core-react/select/Select.d.ts.map +1 -0
  393. package/lib/cjs/core-react/select/Select.js +60 -0
  394. package/lib/cjs/core-react/select/Select.js.map +1 -0
  395. package/lib/{core-react → cjs/core-react}/select/ThemedSelect.d.ts +0 -0
  396. package/lib/cjs/core-react/select/ThemedSelect.d.ts.map +1 -0
  397. package/lib/cjs/core-react/select/ThemedSelect.js +57 -0
  398. package/lib/cjs/core-react/select/ThemedSelect.js.map +1 -0
  399. package/lib/{core-react → cjs/core-react}/select/classes.scss +0 -0
  400. package/lib/{core-react → cjs/core-react}/select/index.scss +0 -0
  401. package/lib/{core-react → cjs/core-react}/select/labeled-select.scss +0 -0
  402. package/lib/{core-react → cjs/core-react}/select/labeled-themed-select.scss +0 -0
  403. package/lib/{core-react → cjs/core-react}/select/modalHelper.d.ts +0 -0
  404. package/lib/cjs/core-react/select/modalHelper.d.ts.map +1 -0
  405. package/lib/{core-react → cjs/core-react}/select/modalHelper.js +0 -0
  406. package/lib/cjs/core-react/select/modalHelper.js.map +1 -0
  407. package/lib/{core-react → cjs/core-react}/select/select.scss +0 -0
  408. package/lib/{core-react → cjs/core-react}/select/themed-select.scss +0 -0
  409. package/lib/{core-react → cjs/core-react}/settings/SettingsContainer.d.ts +0 -0
  410. package/lib/cjs/core-react/settings/SettingsContainer.d.ts.map +1 -0
  411. package/lib/{core-react → cjs/core-react}/settings/SettingsContainer.js +0 -0
  412. package/lib/cjs/core-react/settings/SettingsContainer.js.map +1 -0
  413. package/lib/{core-react → cjs/core-react}/settings/SettingsContainer.scss +0 -0
  414. package/lib/{core-react → cjs/core-react}/settings/SettingsManager.d.ts +0 -0
  415. package/lib/cjs/core-react/settings/SettingsManager.d.ts.map +1 -0
  416. package/lib/{core-react → cjs/core-react}/settings/SettingsManager.js +0 -0
  417. package/lib/cjs/core-react/settings/SettingsManager.js.map +1 -0
  418. package/lib/{core-react → cjs/core-react}/slider/Slider.d.ts +0 -0
  419. package/lib/cjs/core-react/slider/Slider.d.ts.map +1 -0
  420. package/lib/{core-react → cjs/core-react}/slider/Slider.js +0 -0
  421. package/lib/cjs/core-react/slider/Slider.js.map +1 -0
  422. package/lib/{core-react → cjs/core-react}/slider/Slider.scss +0 -0
  423. package/lib/{core-react → cjs/core-react}/splitbutton/SplitButton.d.ts +0 -0
  424. package/lib/cjs/core-react/splitbutton/SplitButton.d.ts.map +1 -0
  425. package/lib/{core-react → cjs/core-react}/splitbutton/SplitButton.js +0 -0
  426. package/lib/cjs/core-react/splitbutton/SplitButton.js.map +1 -0
  427. package/lib/{core-react → cjs/core-react}/splitbutton/SplitButton.scss +0 -0
  428. package/lib/{core-react → cjs/core-react}/style/baseline.scss +0 -0
  429. package/lib/{core-react → cjs/core-react}/style/breakpoints.scss +0 -0
  430. package/lib/{core-react → cjs/core-react}/style/colors.scss +0 -0
  431. package/lib/{core-react → cjs/core-react}/style/data-viz.scss +0 -0
  432. package/lib/{core-react → cjs/core-react}/style/index.scss +0 -0
  433. package/lib/{core-react → cjs/core-react}/style/itwinui-overrides.scss +0 -0
  434. package/lib/{core-react → cjs/core-react}/style/mixins.scss +0 -0
  435. package/lib/{core-react → cjs/core-react}/style/opacity.scss +0 -0
  436. package/lib/{core-react → cjs/core-react}/style/space.scss +0 -0
  437. package/lib/{core-react → cjs/core-react}/style/speed.scss +0 -0
  438. package/lib/{core-react → cjs/core-react}/style/themecolors.scss +0 -0
  439. package/lib/{core-react → cjs/core-react}/style/typography.scss +0 -0
  440. package/lib/{core-react → cjs/core-react}/style/variables.scss +0 -0
  441. package/lib/{core-react → cjs/core-react}/tabs/HorizontalTabs.d.ts +0 -0
  442. package/lib/cjs/core-react/tabs/HorizontalTabs.d.ts.map +1 -0
  443. package/lib/cjs/core-react/tabs/HorizontalTabs.js +22 -0
  444. package/lib/cjs/core-react/tabs/HorizontalTabs.js.map +1 -0
  445. package/lib/{core-react → cjs/core-react}/tabs/Tabs.d.ts +0 -0
  446. package/lib/cjs/core-react/tabs/Tabs.d.ts.map +1 -0
  447. package/lib/{core-react → cjs/core-react}/tabs/Tabs.js +0 -0
  448. package/lib/cjs/core-react/tabs/Tabs.js.map +1 -0
  449. package/lib/{core-react → cjs/core-react}/tabs/VerticalTabs.d.ts +0 -0
  450. package/lib/cjs/core-react/tabs/VerticalTabs.d.ts.map +1 -0
  451. package/lib/cjs/core-react/tabs/VerticalTabs.js +21 -0
  452. package/lib/cjs/core-react/tabs/VerticalTabs.js.map +1 -0
  453. package/lib/{core-react → cjs/core-react}/tabs/classes.scss +0 -0
  454. package/lib/{core-react → cjs/core-react}/tabs/horizontal.scss +0 -0
  455. package/lib/{core-react → cjs/core-react}/tabs/index.scss +0 -0
  456. package/lib/{core-react → cjs/core-react}/tabs/tabs.scss +0 -0
  457. package/lib/{core-react → cjs/core-react}/tabs/vertical.scss +0 -0
  458. package/lib/{core-react → cjs/core-react}/text/BlockText.d.ts +0 -0
  459. package/lib/cjs/core-react/text/BlockText.d.ts.map +1 -0
  460. package/lib/cjs/core-react/text/BlockText.js +20 -0
  461. package/lib/cjs/core-react/text/BlockText.js.map +1 -0
  462. package/lib/{core-react → cjs/core-react}/text/BodyText.d.ts +0 -0
  463. package/lib/cjs/core-react/text/BodyText.d.ts.map +1 -0
  464. package/lib/cjs/core-react/text/BodyText.js +20 -0
  465. package/lib/cjs/core-react/text/BodyText.js.map +1 -0
  466. package/lib/{core-react → cjs/core-react}/text/DisabledText.d.ts +0 -0
  467. package/lib/cjs/core-react/text/DisabledText.d.ts.map +1 -0
  468. package/lib/cjs/core-react/text/DisabledText.js +20 -0
  469. package/lib/cjs/core-react/text/DisabledText.js.map +1 -0
  470. package/lib/{core-react → cjs/core-react}/text/FilteredText.d.ts +0 -0
  471. package/lib/cjs/core-react/text/FilteredText.d.ts.map +1 -0
  472. package/lib/cjs/core-react/text/FilteredText.js +41 -0
  473. package/lib/cjs/core-react/text/FilteredText.js.map +1 -0
  474. package/lib/{core-react → cjs/core-react}/text/FilteredText.scss +0 -0
  475. package/lib/{core-react → cjs/core-react}/text/Headline.d.ts +0 -0
  476. package/lib/cjs/core-react/text/Headline.d.ts.map +1 -0
  477. package/lib/cjs/core-react/text/Headline.js +21 -0
  478. package/lib/cjs/core-react/text/Headline.js.map +1 -0
  479. package/lib/{core-react → cjs/core-react}/text/LeadingText.d.ts +0 -0
  480. package/lib/cjs/core-react/text/LeadingText.d.ts.map +1 -0
  481. package/lib/cjs/core-react/text/LeadingText.js +21 -0
  482. package/lib/cjs/core-react/text/LeadingText.js.map +1 -0
  483. package/lib/{core-react → cjs/core-react}/text/LeadingText2.d.ts +0 -0
  484. package/lib/cjs/core-react/text/LeadingText2.d.ts.map +1 -0
  485. package/lib/cjs/core-react/text/LeadingText2.js +21 -0
  486. package/lib/cjs/core-react/text/LeadingText2.js.map +1 -0
  487. package/lib/{core-react → cjs/core-react}/text/MutedText.d.ts +0 -0
  488. package/lib/cjs/core-react/text/MutedText.d.ts.map +1 -0
  489. package/lib/cjs/core-react/text/MutedText.js +20 -0
  490. package/lib/cjs/core-react/text/MutedText.js.map +1 -0
  491. package/lib/{core-react → cjs/core-react}/text/SmallText.d.ts +0 -0
  492. package/lib/cjs/core-react/text/SmallText.d.ts.map +1 -0
  493. package/lib/cjs/core-react/text/SmallText.js +21 -0
  494. package/lib/cjs/core-react/text/SmallText.js.map +1 -0
  495. package/lib/{core-react → cjs/core-react}/text/StyledText.d.ts +0 -0
  496. package/lib/cjs/core-react/text/StyledText.d.ts.map +1 -0
  497. package/lib/cjs/core-react/text/StyledText.js +21 -0
  498. package/lib/cjs/core-react/text/StyledText.js.map +1 -0
  499. package/lib/{core-react → cjs/core-react}/text/Subheading.d.ts +0 -0
  500. package/lib/cjs/core-react/text/Subheading.d.ts.map +1 -0
  501. package/lib/cjs/core-react/text/Subheading.js +21 -0
  502. package/lib/cjs/core-react/text/Subheading.js.map +1 -0
  503. package/lib/{core-react → cjs/core-react}/text/Subheading2.d.ts +0 -0
  504. package/lib/cjs/core-react/text/Subheading2.d.ts.map +1 -0
  505. package/lib/cjs/core-react/text/Subheading2.js +21 -0
  506. package/lib/cjs/core-react/text/Subheading2.js.map +1 -0
  507. package/lib/{core-react → cjs/core-react}/text/TextProps.d.ts +0 -0
  508. package/lib/cjs/core-react/text/TextProps.d.ts.map +1 -0
  509. package/lib/{core-react → cjs/core-react}/text/TextProps.js +0 -0
  510. package/lib/cjs/core-react/text/TextProps.js.map +1 -0
  511. package/lib/{core-react → cjs/core-react}/text/Title.d.ts +0 -0
  512. package/lib/cjs/core-react/text/Title.d.ts.map +1 -0
  513. package/lib/cjs/core-react/text/Title.js +21 -0
  514. package/lib/cjs/core-react/text/Title.js.map +1 -0
  515. package/lib/{core-react → cjs/core-react}/text/Title2.d.ts +0 -0
  516. package/lib/cjs/core-react/text/Title2.d.ts.map +1 -0
  517. package/lib/cjs/core-react/text/Title2.js +21 -0
  518. package/lib/cjs/core-react/text/Title2.js.map +1 -0
  519. package/lib/{core-react → cjs/core-react}/text/block.scss +0 -0
  520. package/lib/{core-react → cjs/core-react}/text/body.scss +0 -0
  521. package/lib/{core-react → cjs/core-react}/text/classes.scss +0 -0
  522. package/lib/{core-react → cjs/core-react}/text/disabled.scss +0 -0
  523. package/lib/{core-react → cjs/core-react}/text/headline.scss +0 -0
  524. package/lib/{core-react → cjs/core-react}/text/index.scss +0 -0
  525. package/lib/{core-react → cjs/core-react}/text/leading-2.scss +0 -0
  526. package/lib/{core-react → cjs/core-react}/text/leading.scss +0 -0
  527. package/lib/{core-react → cjs/core-react}/text/mixins.scss +0 -0
  528. package/lib/{core-react → cjs/core-react}/text/muted.scss +0 -0
  529. package/lib/{core-react → cjs/core-react}/text/small.scss +0 -0
  530. package/lib/{core-react → cjs/core-react}/text/subheading-2.scss +0 -0
  531. package/lib/{core-react → cjs/core-react}/text/subheading.scss +0 -0
  532. package/lib/{core-react → cjs/core-react}/text/title-2.scss +0 -0
  533. package/lib/{core-react → cjs/core-react}/text/title.scss +0 -0
  534. package/lib/{core-react → cjs/core-react}/tiles/FeaturedTile.d.ts +0 -0
  535. package/lib/cjs/core-react/tiles/FeaturedTile.d.ts.map +1 -0
  536. package/lib/cjs/core-react/tiles/FeaturedTile.js +21 -0
  537. package/lib/cjs/core-react/tiles/FeaturedTile.js.map +1 -0
  538. package/lib/{core-react → cjs/core-react}/tiles/MinimalFeaturedTile.d.ts +0 -0
  539. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.d.ts.map +1 -0
  540. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.js +21 -0
  541. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.js.map +1 -0
  542. package/lib/{core-react → cjs/core-react}/tiles/MinimalTile.d.ts +0 -0
  543. package/lib/cjs/core-react/tiles/MinimalTile.d.ts.map +1 -0
  544. package/lib/cjs/core-react/tiles/MinimalTile.js +21 -0
  545. package/lib/cjs/core-react/tiles/MinimalTile.js.map +1 -0
  546. package/lib/{core-react → cjs/core-react}/tiles/Tile.d.ts +0 -0
  547. package/lib/cjs/core-react/tiles/Tile.d.ts.map +1 -0
  548. package/lib/{core-react → cjs/core-react}/tiles/Tile.js +0 -0
  549. package/lib/cjs/core-react/tiles/Tile.js.map +1 -0
  550. package/lib/{core-react → cjs/core-react}/tiles/classes.scss +0 -0
  551. package/lib/{core-react → cjs/core-react}/tiles/index.scss +0 -0
  552. package/lib/{core-react → cjs/core-react}/tiles/tile.scss +0 -0
  553. package/lib/{core-react → cjs/core-react}/toggle/LabeledToggle.d.ts +0 -0
  554. package/lib/cjs/core-react/toggle/LabeledToggle.d.ts.map +1 -0
  555. package/lib/cjs/core-react/toggle/LabeledToggle.js +29 -0
  556. package/lib/cjs/core-react/toggle/LabeledToggle.js.map +1 -0
  557. package/lib/{core-react → cjs/core-react}/toggle/LabeledToggle.scss +0 -0
  558. package/lib/{core-react → cjs/core-react}/toggle/Toggle.d.ts +0 -0
  559. package/lib/cjs/core-react/toggle/Toggle.d.ts.map +1 -0
  560. package/lib/cjs/core-react/toggle/Toggle.js +105 -0
  561. package/lib/cjs/core-react/toggle/Toggle.js.map +1 -0
  562. package/lib/{core-react → cjs/core-react}/toggle/Toggle.scss +0 -0
  563. package/lib/{core-react → cjs/core-react}/tooltip/Tooltip.d.ts +0 -0
  564. package/lib/cjs/core-react/tooltip/Tooltip.d.ts.map +1 -0
  565. package/lib/{core-react → cjs/core-react}/tooltip/Tooltip.js +0 -0
  566. package/lib/cjs/core-react/tooltip/Tooltip.js.map +1 -0
  567. package/lib/{core-react → cjs/core-react}/tooltip/Tooltip.scss +0 -0
  568. package/lib/{core-react → cjs/core-react}/tree/Branch.d.ts +0 -0
  569. package/lib/cjs/core-react/tree/Branch.d.ts.map +1 -0
  570. package/lib/{core-react → cjs/core-react}/tree/Branch.js +0 -0
  571. package/lib/cjs/core-react/tree/Branch.js.map +1 -0
  572. package/lib/{core-react → cjs/core-react}/tree/Branch.scss +0 -0
  573. package/lib/{core-react → cjs/core-react}/tree/ExpansionToggle.d.ts +0 -0
  574. package/lib/cjs/core-react/tree/ExpansionToggle.d.ts.map +1 -0
  575. package/lib/{core-react → cjs/core-react}/tree/ExpansionToggle.js +0 -0
  576. package/lib/cjs/core-react/tree/ExpansionToggle.js.map +1 -0
  577. package/lib/{core-react → cjs/core-react}/tree/ExpansionToggle.scss +0 -0
  578. package/lib/{core-react → cjs/core-react}/tree/Node.d.ts +0 -0
  579. package/lib/cjs/core-react/tree/Node.d.ts.map +1 -0
  580. package/lib/cjs/core-react/tree/Node.js +91 -0
  581. package/lib/cjs/core-react/tree/Node.js.map +1 -0
  582. package/lib/{core-react → cjs/core-react}/tree/Node.scss +0 -0
  583. package/lib/{core-react → cjs/core-react}/tree/Placeholder.d.ts +0 -0
  584. package/lib/cjs/core-react/tree/Placeholder.d.ts.map +1 -0
  585. package/lib/cjs/core-react/tree/Placeholder.js +32 -0
  586. package/lib/cjs/core-react/tree/Placeholder.js.map +1 -0
  587. package/lib/{core-react → cjs/core-react}/tree/Placeholder.scss +0 -0
  588. package/lib/{core-react → cjs/core-react}/tree/Tree.d.ts +0 -0
  589. package/lib/cjs/core-react/tree/Tree.d.ts.map +1 -0
  590. package/lib/{core-react → cjs/core-react}/tree/Tree.js +0 -0
  591. package/lib/cjs/core-react/tree/Tree.js.map +1 -0
  592. package/lib/{core-react → cjs/core-react}/tree/Tree.scss +0 -0
  593. package/lib/{core-react → cjs/core-react}/uisettings/LocalSettingsStorage.d.ts +0 -0
  594. package/lib/cjs/core-react/uisettings/LocalSettingsStorage.d.ts.map +1 -0
  595. package/lib/{core-react → cjs/core-react}/uisettings/LocalSettingsStorage.js +0 -0
  596. package/lib/cjs/core-react/uisettings/LocalSettingsStorage.js.map +1 -0
  597. package/lib/{core-react → cjs/core-react}/uisettings/SessionSettingsStorage.d.ts +0 -0
  598. package/lib/cjs/core-react/uisettings/SessionSettingsStorage.d.ts.map +1 -0
  599. package/lib/{core-react → cjs/core-react}/uisettings/SessionSettingsStorage.js +0 -0
  600. package/lib/cjs/core-react/uisettings/SessionSettingsStorage.js.map +1 -0
  601. package/lib/{core-react → cjs/core-react}/uisettings/UiSetting.d.ts +0 -0
  602. package/lib/cjs/core-react/uisettings/UiSetting.d.ts.map +1 -0
  603. package/lib/{core-react → cjs/core-react}/uisettings/UiSetting.js +0 -0
  604. package/lib/cjs/core-react/uisettings/UiSetting.js.map +1 -0
  605. package/lib/{core-react → cjs/core-react}/uisettings/UiSettingsStorage.d.ts +0 -0
  606. package/lib/cjs/core-react/uisettings/UiSettingsStorage.d.ts.map +1 -0
  607. package/lib/{core-react → cjs/core-react}/uisettings/UiSettingsStorage.js +0 -0
  608. package/lib/cjs/core-react/uisettings/UiSettingsStorage.js.map +1 -0
  609. package/lib/{core-react → cjs/core-react}/utils/IconHelper.d.ts +0 -0
  610. package/lib/cjs/core-react/utils/IconHelper.d.ts.map +1 -0
  611. package/lib/{core-react → cjs/core-react}/utils/IconHelper.js +0 -0
  612. package/lib/cjs/core-react/utils/IconHelper.js.map +1 -0
  613. package/lib/{core-react → cjs/core-react}/utils/Point.d.ts +0 -0
  614. package/lib/cjs/core-react/utils/Point.d.ts.map +1 -0
  615. package/lib/{core-react → cjs/core-react}/utils/Point.js +0 -0
  616. package/lib/cjs/core-react/utils/Point.js.map +1 -0
  617. package/lib/{core-react → cjs/core-react}/utils/PointProps.d.ts +0 -0
  618. package/lib/cjs/core-react/utils/PointProps.d.ts.map +1 -0
  619. package/lib/{core-react → cjs/core-react}/utils/PointProps.js +0 -0
  620. package/lib/cjs/core-react/utils/PointProps.js.map +1 -0
  621. package/lib/{core-react → cjs/core-react}/utils/Props.d.ts +0 -0
  622. package/lib/cjs/core-react/utils/Props.d.ts.map +1 -0
  623. package/lib/{core-react → cjs/core-react}/utils/Props.js +0 -0
  624. package/lib/cjs/core-react/utils/Props.js.map +1 -0
  625. package/lib/{core-react → cjs/core-react}/utils/Rectangle.d.ts +0 -0
  626. package/lib/cjs/core-react/utils/Rectangle.d.ts.map +1 -0
  627. package/lib/{core-react → cjs/core-react}/utils/Rectangle.js +0 -0
  628. package/lib/cjs/core-react/utils/Rectangle.js.map +1 -0
  629. package/lib/{core-react → cjs/core-react}/utils/ScrollPositionMaintainer.d.ts +0 -0
  630. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -0
  631. package/lib/{core-react → cjs/core-react}/utils/ScrollPositionMaintainer.js +0 -0
  632. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +1 -0
  633. package/lib/{core-react → cjs/core-react}/utils/Size.d.ts +0 -0
  634. package/lib/cjs/core-react/utils/Size.d.ts.map +1 -0
  635. package/lib/{core-react → cjs/core-react}/utils/Size.js +0 -0
  636. package/lib/cjs/core-react/utils/Size.js.map +1 -0
  637. package/lib/{core-react → cjs/core-react}/utils/Timer.d.ts +0 -0
  638. package/lib/cjs/core-react/utils/Timer.d.ts.map +1 -0
  639. package/lib/{core-react → cjs/core-react}/utils/Timer.js +0 -0
  640. package/lib/cjs/core-react/utils/Timer.js.map +1 -0
  641. package/lib/{core-react → cjs/core-react}/utils/UiEvent.d.ts +0 -0
  642. package/lib/cjs/core-react/utils/UiEvent.d.ts.map +1 -0
  643. package/lib/{core-react → cjs/core-react}/utils/UiEvent.js +0 -0
  644. package/lib/cjs/core-react/utils/UiEvent.js.map +1 -0
  645. package/lib/{core-react → cjs/core-react}/utils/UiGeometry.d.ts +0 -0
  646. package/lib/cjs/core-react/utils/UiGeometry.d.ts.map +1 -0
  647. package/lib/{core-react → cjs/core-react}/utils/UiGeometry.js +0 -0
  648. package/lib/cjs/core-react/utils/UiGeometry.js.map +1 -0
  649. package/lib/{core-react → cjs/core-react}/utils/flattenChildren.d.ts +0 -0
  650. package/lib/cjs/core-react/utils/flattenChildren.d.ts.map +1 -0
  651. package/lib/{core-react → cjs/core-react}/utils/flattenChildren.js +0 -0
  652. package/lib/cjs/core-react/utils/flattenChildren.js.map +1 -0
  653. package/lib/{core-react → cjs/core-react}/utils/getBestBWContrastColor.d.ts +0 -0
  654. package/lib/cjs/core-react/utils/getBestBWContrastColor.d.ts.map +1 -0
  655. package/lib/{core-react → cjs/core-react}/utils/getBestBWContrastColor.js +0 -0
  656. package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +1 -0
  657. package/lib/{core-react → cjs/core-react}/utils/getCssVariable.d.ts +0 -0
  658. package/lib/cjs/core-react/utils/getCssVariable.d.ts.map +1 -0
  659. package/lib/{core-react → cjs/core-react}/utils/getCssVariable.js +0 -0
  660. package/lib/cjs/core-react/utils/getCssVariable.js.map +1 -0
  661. package/lib/{core-react → cjs/core-react}/utils/getDisplayName.d.ts +0 -0
  662. package/lib/cjs/core-react/utils/getDisplayName.d.ts.map +1 -0
  663. package/lib/{core-react → cjs/core-react}/utils/getDisplayName.js +0 -0
  664. package/lib/cjs/core-react/utils/getDisplayName.js.map +1 -0
  665. package/lib/{core-react → cjs/core-react}/utils/getUserColor.d.ts +0 -0
  666. package/lib/cjs/core-react/utils/getUserColor.d.ts.map +1 -0
  667. package/lib/{core-react → cjs/core-react}/utils/getUserColor.js +0 -0
  668. package/lib/cjs/core-react/utils/getUserColor.js.map +1 -0
  669. package/lib/{core-react → cjs/core-react}/utils/hooks/ResizeObserverPolyfill.d.ts +0 -0
  670. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +1 -0
  671. package/lib/{core-react → cjs/core-react}/utils/hooks/ResizeObserverPolyfill.js +0 -0
  672. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +1 -0
  673. package/lib/{core-react → cjs/core-react}/utils/hooks/useDisposable.d.ts +0 -0
  674. package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts.map +1 -0
  675. package/lib/{core-react → cjs/core-react}/utils/hooks/useDisposable.js +0 -0
  676. package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +1 -0
  677. package/lib/{core-react → cjs/core-react}/utils/hooks/useEffectSkipFirst.d.ts +0 -0
  678. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +1 -0
  679. package/lib/{core-react → cjs/core-react}/utils/hooks/useEffectSkipFirst.js +0 -0
  680. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -0
  681. package/lib/{core-react → cjs/core-react}/utils/hooks/useEventListener.d.ts +0 -0
  682. package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts.map +1 -0
  683. package/lib/{core-react → cjs/core-react}/utils/hooks/useEventListener.js +0 -0
  684. package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +1 -0
  685. package/lib/{core-react → cjs/core-react}/utils/hooks/useLifecycleLogging.d.ts +0 -0
  686. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.d.ts.map +1 -0
  687. package/lib/{core-react → cjs/core-react}/utils/hooks/useLifecycleLogging.js +0 -0
  688. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +1 -0
  689. package/lib/{core-react → cjs/core-react}/utils/hooks/useOnOutsideClick.d.ts +0 -0
  690. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.d.ts.map +1 -0
  691. package/lib/{core-react → cjs/core-react}/utils/hooks/useOnOutsideClick.js +0 -0
  692. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +1 -0
  693. package/lib/{core-react → cjs/core-react}/utils/hooks/useProximityToMouse.d.ts +0 -0
  694. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.d.ts.map +1 -0
  695. package/lib/{core-react → cjs/core-react}/utils/hooks/useProximityToMouse.js +0 -0
  696. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +1 -0
  697. package/lib/{core-react → cjs/core-react}/utils/hooks/useRefEffect.d.ts +0 -0
  698. package/lib/cjs/core-react/utils/hooks/useRefEffect.d.ts.map +1 -0
  699. package/lib/{core-react → cjs/core-react}/utils/hooks/useRefEffect.js +0 -0
  700. package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +1 -0
  701. package/lib/{core-react → cjs/core-react}/utils/hooks/useRefState.d.ts +0 -0
  702. package/lib/cjs/core-react/utils/hooks/useRefState.d.ts.map +1 -0
  703. package/lib/{core-react → cjs/core-react}/utils/hooks/useRefState.js +0 -0
  704. package/lib/cjs/core-react/utils/hooks/useRefState.js.map +1 -0
  705. package/lib/{core-react → cjs/core-react}/utils/hooks/useRefs.d.ts +0 -0
  706. package/lib/cjs/core-react/utils/hooks/useRefs.d.ts.map +1 -0
  707. package/lib/{core-react → cjs/core-react}/utils/hooks/useRefs.js +0 -0
  708. package/lib/cjs/core-react/utils/hooks/useRefs.js.map +1 -0
  709. package/lib/{core-react → cjs/core-react}/utils/hooks/useResizeObserver.d.ts +0 -0
  710. package/lib/cjs/core-react/utils/hooks/useResizeObserver.d.ts.map +1 -0
  711. package/lib/{core-react → cjs/core-react}/utils/hooks/useResizeObserver.js +0 -0
  712. package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +1 -0
  713. package/lib/{core-react → cjs/core-react}/utils/hooks/useTargeted.d.ts +0 -0
  714. package/lib/cjs/core-react/utils/hooks/useTargeted.d.ts.map +1 -0
  715. package/lib/{core-react → cjs/core-react}/utils/hooks/useTargeted.js +0 -0
  716. package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +1 -0
  717. package/lib/{core-react → cjs/core-react}/utils/hooks/useThrottledFn.d.ts +0 -0
  718. package/lib/cjs/core-react/utils/hooks/useThrottledFn.d.ts.map +1 -0
  719. package/lib/{core-react → cjs/core-react}/utils/hooks/useThrottledFn.js +0 -0
  720. package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +1 -0
  721. package/lib/{core-react → cjs/core-react}/utils/hooks/useWidgetOpacityContext.d.ts +0 -0
  722. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +1 -0
  723. package/lib/{core-react → cjs/core-react}/utils/hooks/useWidgetOpacityContext.js +0 -0
  724. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -0
  725. package/lib/{core-react → cjs/core-react}/utils/isPromiseLike.d.ts +0 -0
  726. package/lib/cjs/core-react/utils/isPromiseLike.d.ts.map +1 -0
  727. package/lib/{core-react → cjs/core-react}/utils/isPromiseLike.js +0 -0
  728. package/lib/cjs/core-react/utils/isPromiseLike.js.map +1 -0
  729. package/lib/{core-react → cjs/core-react}/utils/shallowDiffers.d.ts +0 -0
  730. package/lib/cjs/core-react/utils/shallowDiffers.d.ts.map +1 -0
  731. package/lib/{core-react → cjs/core-react}/utils/shallowDiffers.js +0 -0
  732. package/lib/cjs/core-react/utils/shallowDiffers.js.map +1 -0
  733. package/lib/{core-react → cjs/core-react}/utils/typeUtils.d.ts +0 -0
  734. package/lib/cjs/core-react/utils/typeUtils.d.ts.map +1 -0
  735. package/lib/{core-react → cjs/core-react}/utils/typeUtils.js +0 -0
  736. package/lib/cjs/core-react/utils/typeUtils.js.map +1 -0
  737. package/lib/{core-react.d.ts → cjs/core-react.d.ts} +0 -0
  738. package/lib/cjs/core-react.d.ts.map +1 -0
  739. package/lib/{core-react.js → cjs/core-react.js} +0 -0
  740. package/lib/cjs/core-react.js.map +1 -0
  741. package/lib/esm/core-react/UiCore.d.ts +39 -0
  742. package/lib/esm/core-react/UiCore.d.ts.map +1 -0
  743. package/lib/esm/core-react/UiCore.js +77 -0
  744. package/lib/esm/core-react/UiCore.js.map +1 -0
  745. package/lib/esm/core-react/_geometry.scss +70 -0
  746. package/lib/esm/core-react/_helpers.scss +51 -0
  747. package/lib/esm/core-react/_math.scss +13 -0
  748. package/lib/esm/core-react/_scrollbar.scss +51 -0
  749. package/lib/esm/core-react/_typography.scss +45 -0
  750. package/lib/esm/core-react/_z-index.scss +62 -0
  751. package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts +97 -0
  752. package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts.map +1 -0
  753. package/lib/esm/core-react/autosuggest/AutoSuggest.js +171 -0
  754. package/lib/esm/core-react/autosuggest/AutoSuggest.js.map +1 -0
  755. package/lib/esm/core-react/autosuggest/AutoSuggest.scss +83 -0
  756. package/lib/esm/core-react/badge/Badge.d.ts +19 -0
  757. package/lib/esm/core-react/badge/Badge.d.ts.map +1 -0
  758. package/lib/esm/core-react/badge/Badge.js +21 -0
  759. package/lib/esm/core-react/badge/Badge.js.map +1 -0
  760. package/lib/esm/core-react/badge/Badge.scss +13 -0
  761. package/lib/esm/core-react/badge/BadgeUtilities.d.ts +13 -0
  762. package/lib/esm/core-react/badge/BadgeUtilities.d.ts.map +1 -0
  763. package/lib/esm/core-react/badge/BadgeUtilities.js +35 -0
  764. package/lib/esm/core-react/badge/BadgeUtilities.js.map +1 -0
  765. package/lib/esm/core-react/badge/BetaBadge.d.ts +11 -0
  766. package/lib/esm/core-react/badge/BetaBadge.d.ts.map +1 -0
  767. package/lib/esm/core-react/badge/BetaBadge.js +20 -0
  768. package/lib/esm/core-react/badge/BetaBadge.js.map +1 -0
  769. package/lib/esm/core-react/badge/BetaBadge.scss +9 -0
  770. package/lib/esm/core-react/badge/NewBadge.d.ts +11 -0
  771. package/lib/esm/core-react/badge/NewBadge.d.ts.map +1 -0
  772. package/lib/esm/core-react/badge/NewBadge.js +20 -0
  773. package/lib/esm/core-react/badge/NewBadge.js.map +1 -0
  774. package/lib/esm/core-react/badge/NewBadge.scss +9 -0
  775. package/lib/esm/core-react/badge/new-feature-badge.svg +1 -0
  776. package/lib/esm/core-react/badge/technical-preview-badge.svg +1 -0
  777. package/lib/esm/core-react/base/Centered.d.ts +11 -0
  778. package/lib/esm/core-react/base/Centered.d.ts.map +1 -0
  779. package/lib/esm/core-react/base/Centered.js +17 -0
  780. package/lib/esm/core-react/base/Centered.js.map +1 -0
  781. package/lib/esm/core-react/base/Div.d.ts +17 -0
  782. package/lib/esm/core-react/base/Div.d.ts.map +1 -0
  783. package/lib/esm/core-react/base/Div.js +17 -0
  784. package/lib/esm/core-react/base/Div.js.map +1 -0
  785. package/lib/esm/core-react/base/DivWithOutsideClick.d.ts +80 -0
  786. package/lib/esm/core-react/base/DivWithOutsideClick.d.ts.map +1 -0
  787. package/lib/esm/core-react/base/DivWithOutsideClick.js +14 -0
  788. package/lib/esm/core-react/base/DivWithOutsideClick.js.map +1 -0
  789. package/lib/esm/core-react/base/FillCentered.d.ts +11 -0
  790. package/lib/esm/core-react/base/FillCentered.d.ts.map +1 -0
  791. package/lib/esm/core-react/base/FillCentered.js +17 -0
  792. package/lib/esm/core-react/base/FillCentered.js.map +1 -0
  793. package/lib/esm/core-react/base/FlexWrapContainer.d.ts +12 -0
  794. package/lib/esm/core-react/base/FlexWrapContainer.d.ts.map +1 -0
  795. package/lib/esm/core-react/base/FlexWrapContainer.js +18 -0
  796. package/lib/esm/core-react/base/FlexWrapContainer.js.map +1 -0
  797. package/lib/esm/core-react/base/Gap.d.ts +16 -0
  798. package/lib/esm/core-react/base/Gap.d.ts.map +1 -0
  799. package/lib/esm/core-react/base/Gap.js +17 -0
  800. package/lib/esm/core-react/base/Gap.js.map +1 -0
  801. package/lib/esm/core-react/base/PointerEvents.d.ts +8 -0
  802. package/lib/esm/core-react/base/PointerEvents.d.ts.map +1 -0
  803. package/lib/esm/core-react/base/PointerEvents.js +14 -0
  804. package/lib/esm/core-react/base/PointerEvents.js.map +1 -0
  805. package/lib/esm/core-react/base/ScrollView.d.ts +12 -0
  806. package/lib/esm/core-react/base/ScrollView.d.ts.map +1 -0
  807. package/lib/esm/core-react/base/ScrollView.js +18 -0
  808. package/lib/esm/core-react/base/ScrollView.js.map +1 -0
  809. package/lib/esm/core-react/base/base.scss +42 -0
  810. package/lib/esm/core-react/base/classes.scss +13 -0
  811. package/lib/esm/core-react/base/index.scss +5 -0
  812. package/lib/esm/core-react/button/Button.d.ts +48 -0
  813. package/lib/esm/core-react/button/Button.d.ts.map +1 -0
  814. package/lib/esm/core-react/button/Button.js +83 -0
  815. package/lib/esm/core-react/button/Button.js.map +1 -0
  816. package/lib/esm/core-react/button/UnderlinedButton.d.ts +25 -0
  817. package/lib/esm/core-react/button/UnderlinedButton.d.ts.map +1 -0
  818. package/lib/esm/core-react/button/UnderlinedButton.js +32 -0
  819. package/lib/esm/core-react/button/UnderlinedButton.js.map +1 -0
  820. package/lib/esm/core-react/button/UnderlinedButton.scss +33 -0
  821. package/lib/esm/core-react/button/blue-large.scss +12 -0
  822. package/lib/esm/core-react/button/blue.scss +25 -0
  823. package/lib/esm/core-react/button/button.scss +81 -0
  824. package/lib/esm/core-react/button/classes.scss +14 -0
  825. package/lib/esm/core-react/button/disabled-large.scss +12 -0
  826. package/lib/esm/core-react/button/disabled.scss +17 -0
  827. package/lib/esm/core-react/button/hollow-large.scss +13 -0
  828. package/lib/esm/core-react/button/hollow.scss +30 -0
  829. package/lib/esm/core-react/button/index.scss +14 -0
  830. package/lib/esm/core-react/button/primary-large.scss +12 -0
  831. package/lib/esm/core-react/button/primary.scss +25 -0
  832. package/lib/esm/core-react/button/variables.scss +19 -0
  833. package/lib/esm/core-react/checkbox/Checkbox.d.ts +57 -0
  834. package/lib/esm/core-react/checkbox/Checkbox.d.ts.map +1 -0
  835. package/lib/esm/core-react/checkbox/Checkbox.js +61 -0
  836. package/lib/esm/core-react/checkbox/Checkbox.js.map +1 -0
  837. package/lib/esm/core-react/checkbox/checkbox.scss +129 -0
  838. package/lib/esm/core-react/checkbox/classes.scss +8 -0
  839. package/lib/esm/core-react/checkbox/index.scss +8 -0
  840. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts +38 -0
  841. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts.map +1 -0
  842. package/lib/esm/core-react/checklistbox/CheckListBox.js +37 -0
  843. package/lib/esm/core-react/checklistbox/CheckListBox.js.map +1 -0
  844. package/lib/esm/core-react/checklistbox/CheckListBox.scss +23 -0
  845. package/lib/esm/core-react/classes.scss +18 -0
  846. package/lib/esm/core-react/colorthemes.scss +58 -0
  847. package/lib/esm/core-react/colorvariables.scss +112 -0
  848. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts +92 -0
  849. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts.map +1 -0
  850. package/lib/esm/core-react/contextmenu/ContextMenu.js +361 -0
  851. package/lib/esm/core-react/contextmenu/ContextMenu.js.map +1 -0
  852. package/lib/esm/core-react/contextmenu/ContextMenu.scss +238 -0
  853. package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts +19 -0
  854. package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts.map +1 -0
  855. package/lib/esm/core-react/contextmenu/ContextMenuDirection.js +24 -0
  856. package/lib/esm/core-react/contextmenu/ContextMenuDirection.js.map +1 -0
  857. package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts +13 -0
  858. package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -0
  859. package/lib/esm/core-react/contextmenu/ContextMenuDivider.js +20 -0
  860. package/lib/esm/core-react/contextmenu/ContextMenuDivider.js.map +1 -0
  861. package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts +62 -0
  862. package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -0
  863. package/lib/esm/core-react/contextmenu/ContextMenuItem.js +105 -0
  864. package/lib/esm/core-react/contextmenu/ContextMenuItem.js.map +1 -0
  865. package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts +52 -0
  866. package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -0
  867. package/lib/esm/core-react/contextmenu/ContextSubMenu.js +156 -0
  868. package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +1 -0
  869. package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts +35 -0
  870. package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -0
  871. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js +56 -0
  872. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js.map +1 -0
  873. package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts +54 -0
  874. package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -0
  875. package/lib/esm/core-react/contextmenu/PopupContextMenu.js +52 -0
  876. package/lib/esm/core-react/contextmenu/PopupContextMenu.js.map +1 -0
  877. package/lib/esm/core-react/contextmenu/TildeFinder.d.ts +19 -0
  878. package/lib/esm/core-react/contextmenu/TildeFinder.d.ts.map +1 -0
  879. package/lib/esm/core-react/contextmenu/TildeFinder.js +67 -0
  880. package/lib/esm/core-react/contextmenu/TildeFinder.js.map +1 -0
  881. package/lib/esm/core-react/dialog/Dialog.d.ts +131 -0
  882. package/lib/esm/core-react/dialog/Dialog.d.ts.map +1 -0
  883. package/lib/esm/core-react/dialog/Dialog.js +330 -0
  884. package/lib/esm/core-react/dialog/Dialog.js.map +1 -0
  885. package/lib/esm/core-react/dialog/Dialog.scss +241 -0
  886. package/lib/esm/core-react/dialog/DialogButtonDef.d.ts +47 -0
  887. package/lib/esm/core-react/dialog/DialogButtonDef.d.ts.map +1 -0
  888. package/lib/esm/core-react/dialog/DialogButtonDef.js +35 -0
  889. package/lib/esm/core-react/dialog/DialogButtonDef.js.map +1 -0
  890. package/lib/esm/core-react/dialog/GlobalDialog.d.ts +29 -0
  891. package/lib/esm/core-react/dialog/GlobalDialog.d.ts.map +1 -0
  892. package/lib/esm/core-react/dialog/GlobalDialog.js +50 -0
  893. package/lib/esm/core-react/dialog/GlobalDialog.js.map +1 -0
  894. package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts +42 -0
  895. package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts.map +1 -0
  896. package/lib/esm/core-react/elementseparator/ElementSeparator.js +160 -0
  897. package/lib/esm/core-react/elementseparator/ElementSeparator.js.map +1 -0
  898. package/lib/esm/core-react/elementseparator/ElementSeparator.scss +85 -0
  899. package/lib/esm/core-react/enums/Alignment.d.ts +23 -0
  900. package/lib/esm/core-react/enums/Alignment.d.ts.map +1 -0
  901. package/lib/esm/core-react/enums/Alignment.js +29 -0
  902. package/lib/esm/core-react/enums/Alignment.js.map +1 -0
  903. package/lib/esm/core-react/enums/CheckBoxState.d.ts +21 -0
  904. package/lib/esm/core-react/enums/CheckBoxState.d.ts.map +1 -0
  905. package/lib/esm/core-react/enums/CheckBoxState.js +17 -0
  906. package/lib/esm/core-react/enums/CheckBoxState.js.map +1 -0
  907. package/lib/esm/core-react/enums/Orientation.d.ts +12 -0
  908. package/lib/esm/core-react/enums/Orientation.d.ts.map +1 -0
  909. package/lib/esm/core-react/enums/Orientation.js +17 -0
  910. package/lib/esm/core-react/enums/Orientation.js.map +1 -0
  911. package/lib/esm/core-react/enums/SortDirection.d.ts +13 -0
  912. package/lib/esm/core-react/enums/SortDirection.d.ts.map +1 -0
  913. package/lib/esm/core-react/enums/SortDirection.js +18 -0
  914. package/lib/esm/core-react/enums/SortDirection.js.map +1 -0
  915. package/lib/esm/core-react/enums/TimeFormat.d.ts +15 -0
  916. package/lib/esm/core-react/enums/TimeFormat.d.ts.map +1 -0
  917. package/lib/esm/core-react/enums/TimeFormat.js +20 -0
  918. package/lib/esm/core-react/enums/TimeFormat.js.map +1 -0
  919. package/lib/esm/core-react/expandable/ExpandableBlock.d.ts +34 -0
  920. package/lib/esm/core-react/expandable/ExpandableBlock.d.ts.map +1 -0
  921. package/lib/esm/core-react/expandable/ExpandableBlock.js +32 -0
  922. package/lib/esm/core-react/expandable/ExpandableBlock.js.map +1 -0
  923. package/lib/esm/core-react/expandable/ExpandableBlock.scss +145 -0
  924. package/lib/esm/core-react/expandable/ExpandableList.d.ts +36 -0
  925. package/lib/esm/core-react/expandable/ExpandableList.d.ts.map +1 -0
  926. package/lib/esm/core-react/expandable/ExpandableList.js +54 -0
  927. package/lib/esm/core-react/expandable/ExpandableList.js.map +1 -0
  928. package/lib/esm/core-react/expandable/ExpandableList.scss +12 -0
  929. package/lib/esm/core-react/expandable/classes.scss +7 -0
  930. package/lib/esm/core-react/expandable/index.scss +5 -0
  931. package/lib/esm/core-react/expandable/list.scss +45 -0
  932. package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts +54 -0
  933. package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts.map +1 -0
  934. package/lib/esm/core-react/focus/ItemKeyboardNavigator.js +146 -0
  935. package/lib/esm/core-react/focus/ItemKeyboardNavigator.js.map +1 -0
  936. package/lib/esm/core-react/focustrap/FocusTrap.d.ts +29 -0
  937. package/lib/esm/core-react/focustrap/FocusTrap.d.ts.map +1 -0
  938. package/lib/esm/core-react/focustrap/FocusTrap.js +192 -0
  939. package/lib/esm/core-react/focustrap/FocusTrap.js.map +1 -0
  940. package/lib/esm/core-react/form/Field.d.ts +20 -0
  941. package/lib/esm/core-react/form/Field.d.ts.map +1 -0
  942. package/lib/esm/core-react/form/Field.js +40 -0
  943. package/lib/esm/core-react/form/Field.js.map +1 -0
  944. package/lib/esm/core-react/form/Form.d.ts +132 -0
  945. package/lib/esm/core-react/form/Form.d.ts.map +1 -0
  946. package/lib/esm/core-react/form/Form.js +127 -0
  947. package/lib/esm/core-react/form/Form.js.map +1 -0
  948. package/lib/esm/core-react/form/Form.scss +78 -0
  949. package/lib/esm/core-react/hocs/withIsPressed.d.ts +78 -0
  950. package/lib/esm/core-react/hocs/withIsPressed.d.ts.map +1 -0
  951. package/lib/esm/core-react/hocs/withIsPressed.js +43 -0
  952. package/lib/esm/core-react/hocs/withIsPressed.js.map +1 -0
  953. package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts +104 -0
  954. package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts.map +1 -0
  955. package/lib/esm/core-react/hocs/withOnOutsideClick.js +109 -0
  956. package/lib/esm/core-react/hocs/withOnOutsideClick.js.map +1 -0
  957. package/lib/esm/core-react/hocs/withTimeout.d.ts +75 -0
  958. package/lib/esm/core-react/hocs/withTimeout.d.ts.map +1 -0
  959. package/lib/esm/core-react/hocs/withTimeout.js +43 -0
  960. package/lib/esm/core-react/hocs/withTimeout.js.map +1 -0
  961. package/lib/esm/core-react/icons/IconComponent.d.ts +23 -0
  962. package/lib/esm/core-react/icons/IconComponent.d.ts.map +1 -0
  963. package/lib/esm/core-react/icons/IconComponent.js +31 -0
  964. package/lib/esm/core-react/icons/IconComponent.js.map +1 -0
  965. package/lib/esm/core-react/icons/IconComponent.scss +10 -0
  966. package/lib/esm/core-react/icons/SvgPath.d.ts +24 -0
  967. package/lib/esm/core-react/icons/SvgPath.d.ts.map +1 -0
  968. package/lib/esm/core-react/icons/SvgPath.js +24 -0
  969. package/lib/esm/core-react/icons/SvgPath.js.map +1 -0
  970. package/lib/esm/core-react/icons/SvgSprite.d.ts +20 -0
  971. package/lib/esm/core-react/icons/SvgSprite.d.ts.map +1 -0
  972. package/lib/esm/core-react/icons/SvgSprite.js +21 -0
  973. package/lib/esm/core-react/icons/SvgSprite.js.map +1 -0
  974. package/lib/esm/core-react/icons/SvgSprite.scss +15 -0
  975. package/lib/esm/core-react/icons/WebFontIcon.d.ts +27 -0
  976. package/lib/esm/core-react/icons/WebFontIcon.d.ts.map +1 -0
  977. package/lib/esm/core-react/icons/WebFontIcon.js +19 -0
  978. package/lib/esm/core-react/icons/WebFontIcon.js.map +1 -0
  979. package/lib/esm/core-react/icons/WebFontIcon.scss +17 -0
  980. package/lib/esm/core-react/icons/classes.scss +10 -0
  981. package/lib/esm/core-react/icons/index.scss +6 -0
  982. package/lib/esm/core-react/icons/mixins.scss +25 -0
  983. package/lib/esm/core-react/icons/variables.scss +21 -0
  984. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts +43 -0
  985. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -0
  986. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js +53 -0
  987. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js.map +1 -0
  988. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +55 -0
  989. package/lib/esm/core-react/index.scss +27 -0
  990. package/lib/esm/core-react/inputs/Input.d.ts +23 -0
  991. package/lib/esm/core-react/inputs/Input.d.ts.map +1 -0
  992. package/lib/esm/core-react/inputs/Input.js +44 -0
  993. package/lib/esm/core-react/inputs/Input.js.map +1 -0
  994. package/lib/esm/core-react/inputs/InputLabel.d.ts +19 -0
  995. package/lib/esm/core-react/inputs/InputLabel.d.ts.map +1 -0
  996. package/lib/esm/core-react/inputs/InputLabel.js +30 -0
  997. package/lib/esm/core-react/inputs/InputLabel.js.map +1 -0
  998. package/lib/esm/core-react/inputs/InputStatus.d.ts +12 -0
  999. package/lib/esm/core-react/inputs/InputStatus.d.ts.map +1 -0
  1000. package/lib/esm/core-react/inputs/InputStatus.js +17 -0
  1001. package/lib/esm/core-react/inputs/InputStatus.js.map +1 -0
  1002. package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts +34 -0
  1003. package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts.map +1 -0
  1004. package/lib/esm/core-react/inputs/LabeledComponentProps.js +9 -0
  1005. package/lib/esm/core-react/inputs/LabeledComponentProps.js.map +1 -0
  1006. package/lib/esm/core-react/inputs/LabeledInput.d.ts +18 -0
  1007. package/lib/esm/core-react/inputs/LabeledInput.d.ts.map +1 -0
  1008. package/lib/esm/core-react/inputs/LabeledInput.js +30 -0
  1009. package/lib/esm/core-react/inputs/LabeledInput.js.map +1 -0
  1010. package/lib/esm/core-react/inputs/LabeledTextarea.d.ts +18 -0
  1011. package/lib/esm/core-react/inputs/LabeledTextarea.d.ts.map +1 -0
  1012. package/lib/esm/core-react/inputs/LabeledTextarea.js +28 -0
  1013. package/lib/esm/core-react/inputs/LabeledTextarea.js.map +1 -0
  1014. package/lib/esm/core-react/inputs/Textarea.d.ts +23 -0
  1015. package/lib/esm/core-react/inputs/Textarea.d.ts.map +1 -0
  1016. package/lib/esm/core-react/inputs/Textarea.js +33 -0
  1017. package/lib/esm/core-react/inputs/Textarea.js.map +1 -0
  1018. package/lib/esm/core-react/inputs/classes.scss +10 -0
  1019. package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts +24 -0
  1020. package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts.map +1 -0
  1021. package/lib/esm/core-react/inputs/iconinput/IconInput.js +27 -0
  1022. package/lib/esm/core-react/inputs/iconinput/IconInput.js.map +1 -0
  1023. package/lib/esm/core-react/inputs/iconinput/IconInput.scss +35 -0
  1024. package/lib/esm/core-react/inputs/index.scss +11 -0
  1025. package/lib/esm/core-react/inputs/input.scss +60 -0
  1026. package/lib/esm/core-react/inputs/labeled-input.scss +103 -0
  1027. package/lib/esm/core-react/inputs/labeled-textarea.scss +77 -0
  1028. package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts +46 -0
  1029. package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -0
  1030. package/lib/esm/core-react/inputs/numberinput/NumberInput.js +145 -0
  1031. package/lib/esm/core-react/inputs/numberinput/NumberInput.js.map +1 -0
  1032. package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +76 -0
  1033. package/lib/esm/core-react/inputs/textarea.scss +55 -0
  1034. package/lib/esm/core-react/inputs/variables.scss +33 -0
  1035. package/lib/esm/core-react/layout-variables.scss +15 -0
  1036. package/lib/esm/core-react/listbox/Listbox.d.ts +56 -0
  1037. package/lib/esm/core-react/listbox/Listbox.d.ts.map +1 -0
  1038. package/lib/esm/core-react/listbox/Listbox.js +218 -0
  1039. package/lib/esm/core-react/listbox/Listbox.js.map +1 -0
  1040. package/lib/esm/core-react/listbox/Listbox.scss +54 -0
  1041. package/lib/esm/core-react/loading/LoadingBar.d.ts +30 -0
  1042. package/lib/esm/core-react/loading/LoadingBar.d.ts.map +1 -0
  1043. package/lib/esm/core-react/loading/LoadingBar.js +36 -0
  1044. package/lib/esm/core-react/loading/LoadingBar.js.map +1 -0
  1045. package/lib/esm/core-react/loading/LoadingBar.scss +29 -0
  1046. package/lib/esm/core-react/loading/LoadingPrompt.d.ts +40 -0
  1047. package/lib/esm/core-react/loading/LoadingPrompt.d.ts.map +1 -0
  1048. package/lib/esm/core-react/loading/LoadingPrompt.js +41 -0
  1049. package/lib/esm/core-react/loading/LoadingPrompt.js.map +1 -0
  1050. package/lib/esm/core-react/loading/LoadingPrompt.scss +33 -0
  1051. package/lib/esm/core-react/loading/LoadingSpinner.d.ts +34 -0
  1052. package/lib/esm/core-react/loading/LoadingSpinner.d.ts.map +1 -0
  1053. package/lib/esm/core-react/loading/LoadingSpinner.js +42 -0
  1054. package/lib/esm/core-react/loading/LoadingSpinner.js.map +1 -0
  1055. package/lib/esm/core-react/loading/LoadingSpinner.scss +27 -0
  1056. package/lib/esm/core-react/loading/LoadingStatus.d.ts +25 -0
  1057. package/lib/esm/core-react/loading/LoadingStatus.d.ts.map +1 -0
  1058. package/lib/esm/core-react/loading/LoadingStatus.js +34 -0
  1059. package/lib/esm/core-react/loading/LoadingStatus.js.map +1 -0
  1060. package/lib/esm/core-react/loading/LoadingStatus.scss +20 -0
  1061. package/lib/esm/core-react/loading/Spinner.d.ts +38 -0
  1062. package/lib/esm/core-react/loading/Spinner.d.ts.map +1 -0
  1063. package/lib/esm/core-react/loading/Spinner.js +57 -0
  1064. package/lib/esm/core-react/loading/Spinner.js.map +1 -0
  1065. package/lib/esm/core-react/loading/Spinner.scss +26 -0
  1066. package/lib/esm/core-react/loading/index.scss +5 -0
  1067. package/lib/esm/core-react/loading/mixins.scss +57 -0
  1068. package/lib/esm/core-react/messagebox/MessageBox.d.ts +65 -0
  1069. package/lib/esm/core-react/messagebox/MessageBox.d.ts.map +1 -0
  1070. package/lib/esm/core-react/messagebox/MessageBox.js +63 -0
  1071. package/lib/esm/core-react/messagebox/MessageBox.js.map +1 -0
  1072. package/lib/esm/core-react/messagebox/MessageBox.scss +44 -0
  1073. package/lib/esm/core-react/messagebox/MessageSeverity.d.ts +16 -0
  1074. package/lib/esm/core-react/messagebox/MessageSeverity.d.ts.map +1 -0
  1075. package/lib/esm/core-react/messagebox/MessageSeverity.js +21 -0
  1076. package/lib/esm/core-react/messagebox/MessageSeverity.js.map +1 -0
  1077. package/lib/esm/core-react/notification/MessageRenderer.d.ts +20 -0
  1078. package/lib/esm/core-react/notification/MessageRenderer.d.ts.map +1 -0
  1079. package/lib/esm/core-react/notification/MessageRenderer.js +75 -0
  1080. package/lib/esm/core-react/notification/MessageRenderer.js.map +1 -0
  1081. package/lib/esm/core-react/notification/MessageType.d.ts +23 -0
  1082. package/lib/esm/core-react/notification/MessageType.d.ts.map +1 -0
  1083. package/lib/esm/core-react/notification/MessageType.js +20 -0
  1084. package/lib/esm/core-react/notification/MessageType.js.map +1 -0
  1085. package/lib/esm/core-react/popup/Popup.d.ts +99 -0
  1086. package/lib/esm/core-react/popup/Popup.d.ts.map +1 -0
  1087. package/lib/esm/core-react/popup/Popup.js +397 -0
  1088. package/lib/esm/core-react/popup/Popup.js.map +1 -0
  1089. package/lib/esm/core-react/popup/Popup.scss +231 -0
  1090. package/lib/esm/core-react/progress-indicators/ProgressBar.d.ts +29 -0
  1091. package/lib/esm/core-react/progress-indicators/ProgressBar.d.ts.map +1 -0
  1092. package/lib/esm/core-react/progress-indicators/ProgressBar.js +44 -0
  1093. package/lib/esm/core-react/progress-indicators/ProgressBar.js.map +1 -0
  1094. package/lib/esm/core-react/progress-indicators/ProgressSpinner.d.ts +49 -0
  1095. package/lib/esm/core-react/progress-indicators/ProgressSpinner.d.ts.map +1 -0
  1096. package/lib/esm/core-react/progress-indicators/ProgressSpinner.js +70 -0
  1097. package/lib/esm/core-react/progress-indicators/ProgressSpinner.js.map +1 -0
  1098. package/lib/esm/core-react/progress-indicators/classes.scss +33 -0
  1099. package/lib/esm/core-react/progress-indicators/index.scss +6 -0
  1100. package/lib/esm/core-react/progress-indicators/progress-bar.scss +91 -0
  1101. package/lib/esm/core-react/progress-indicators/progress-spinner.scss +132 -0
  1102. package/lib/esm/core-react/radialmenu/Annulus.d.ts +55 -0
  1103. package/lib/esm/core-react/radialmenu/Annulus.d.ts.map +1 -0
  1104. package/lib/esm/core-react/radialmenu/Annulus.js +76 -0
  1105. package/lib/esm/core-react/radialmenu/Annulus.js.map +1 -0
  1106. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts +94 -0
  1107. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts.map +1 -0
  1108. package/lib/esm/core-react/radialmenu/RadialMenu.js +175 -0
  1109. package/lib/esm/core-react/radialmenu/RadialMenu.js.map +1 -0
  1110. package/lib/esm/core-react/radialmenu/RadialMenu.scss +56 -0
  1111. package/lib/esm/core-react/radio/Radio.d.ts +20 -0
  1112. package/lib/esm/core-react/radio/Radio.d.ts.map +1 -0
  1113. package/lib/esm/core-react/radio/Radio.js +24 -0
  1114. package/lib/esm/core-react/radio/Radio.js.map +1 -0
  1115. package/lib/esm/core-react/radio/classes.scss +7 -0
  1116. package/lib/esm/core-react/radio/index.scss +8 -0
  1117. package/lib/esm/core-react/radio/radio.scss +89 -0
  1118. package/lib/esm/core-react/searchbox/SearchBox.d.ts +53 -0
  1119. package/lib/esm/core-react/searchbox/SearchBox.d.ts.map +1 -0
  1120. package/lib/esm/core-react/searchbox/SearchBox.js +106 -0
  1121. package/lib/esm/core-react/searchbox/SearchBox.js.map +1 -0
  1122. package/lib/esm/core-react/searchbox/SearchBox.scss +53 -0
  1123. package/lib/esm/core-react/select/LabeledSelect.d.ts +20 -0
  1124. package/lib/esm/core-react/select/LabeledSelect.d.ts.map +1 -0
  1125. package/lib/esm/core-react/select/LabeledSelect.js +30 -0
  1126. package/lib/esm/core-react/select/LabeledSelect.js.map +1 -0
  1127. package/lib/esm/core-react/select/LabeledThemedSelect.d.ts +16 -0
  1128. package/lib/esm/core-react/select/LabeledThemedSelect.d.ts.map +1 -0
  1129. package/lib/esm/core-react/select/LabeledThemedSelect.js +27 -0
  1130. package/lib/esm/core-react/select/LabeledThemedSelect.js.map +1 -0
  1131. package/lib/esm/core-react/select/Select.d.ts +53 -0
  1132. package/lib/esm/core-react/select/Select.d.ts.map +1 -0
  1133. package/lib/esm/core-react/select/Select.js +57 -0
  1134. package/lib/esm/core-react/select/Select.js.map +1 -0
  1135. package/lib/esm/core-react/select/ThemedSelect.d.ts +104 -0
  1136. package/lib/esm/core-react/select/ThemedSelect.d.ts.map +1 -0
  1137. package/lib/esm/core-react/select/ThemedSelect.js +53 -0
  1138. package/lib/esm/core-react/select/ThemedSelect.js.map +1 -0
  1139. package/lib/esm/core-react/select/classes.scss +9 -0
  1140. package/lib/esm/core-react/select/index.scss +10 -0
  1141. package/lib/esm/core-react/select/labeled-select.scss +72 -0
  1142. package/lib/esm/core-react/select/labeled-themed-select.scss +77 -0
  1143. package/lib/esm/core-react/select/modalHelper.d.ts +5 -0
  1144. package/lib/esm/core-react/select/modalHelper.d.ts.map +1 -0
  1145. package/lib/esm/core-react/select/modalHelper.js +17 -0
  1146. package/lib/esm/core-react/select/modalHelper.js.map +1 -0
  1147. package/lib/esm/core-react/select/select.scss +74 -0
  1148. package/lib/esm/core-react/select/themed-select.scss +159 -0
  1149. package/lib/esm/core-react/settings/SettingsContainer.d.ts +31 -0
  1150. package/lib/esm/core-react/settings/SettingsContainer.d.ts.map +1 -0
  1151. package/lib/esm/core-react/settings/SettingsContainer.js +116 -0
  1152. package/lib/esm/core-react/settings/SettingsContainer.js.map +1 -0
  1153. package/lib/esm/core-react/settings/SettingsContainer.scss +65 -0
  1154. package/lib/esm/core-react/settings/SettingsManager.d.ts +133 -0
  1155. package/lib/esm/core-react/settings/SettingsManager.d.ts.map +1 -0
  1156. package/lib/esm/core-react/settings/SettingsManager.js +114 -0
  1157. package/lib/esm/core-react/settings/SettingsManager.js.map +1 -0
  1158. package/lib/esm/core-react/slider/Slider.d.ts +80 -0
  1159. package/lib/esm/core-react/slider/Slider.d.ts.map +1 -0
  1160. package/lib/esm/core-react/slider/Slider.js +87 -0
  1161. package/lib/esm/core-react/slider/Slider.js.map +1 -0
  1162. package/lib/esm/core-react/slider/Slider.scss +96 -0
  1163. package/lib/esm/core-react/splitbutton/SplitButton.d.ts +62 -0
  1164. package/lib/esm/core-react/splitbutton/SplitButton.d.ts.map +1 -0
  1165. package/lib/esm/core-react/splitbutton/SplitButton.js +100 -0
  1166. package/lib/esm/core-react/splitbutton/SplitButton.js.map +1 -0
  1167. package/lib/esm/core-react/splitbutton/SplitButton.scss +137 -0
  1168. package/lib/esm/core-react/style/baseline.scss +13 -0
  1169. package/lib/esm/core-react/style/breakpoints.scss +41 -0
  1170. package/lib/esm/core-react/style/colors.scss +77 -0
  1171. package/lib/esm/core-react/style/data-viz.scss +23 -0
  1172. package/lib/esm/core-react/style/index.scss +17 -0
  1173. package/lib/esm/core-react/style/itwinui-overrides.scss +93 -0
  1174. package/lib/esm/core-react/style/mixins.scss +28 -0
  1175. package/lib/esm/core-react/style/opacity.scss +17 -0
  1176. package/lib/esm/core-react/style/space.scss +17 -0
  1177. package/lib/esm/core-react/style/speed.scss +13 -0
  1178. package/lib/esm/core-react/style/themecolors.scss +126 -0
  1179. package/lib/esm/core-react/style/typography.scss +43 -0
  1180. package/lib/esm/core-react/style/variables.scss +13 -0
  1181. package/lib/esm/core-react/tabs/HorizontalTabs.d.ts +11 -0
  1182. package/lib/esm/core-react/tabs/HorizontalTabs.d.ts.map +1 -0
  1183. package/lib/esm/core-react/tabs/HorizontalTabs.js +18 -0
  1184. package/lib/esm/core-react/tabs/HorizontalTabs.js.map +1 -0
  1185. package/lib/esm/core-react/tabs/Tabs.d.ts +72 -0
  1186. package/lib/esm/core-react/tabs/Tabs.d.ts.map +1 -0
  1187. package/lib/esm/core-react/tabs/Tabs.js +122 -0
  1188. package/lib/esm/core-react/tabs/Tabs.js.map +1 -0
  1189. package/lib/esm/core-react/tabs/VerticalTabs.d.ts +10 -0
  1190. package/lib/esm/core-react/tabs/VerticalTabs.d.ts.map +1 -0
  1191. package/lib/esm/core-react/tabs/VerticalTabs.js +17 -0
  1192. package/lib/esm/core-react/tabs/VerticalTabs.js.map +1 -0
  1193. package/lib/esm/core-react/tabs/classes.scss +8 -0
  1194. package/lib/esm/core-react/tabs/horizontal.scss +77 -0
  1195. package/lib/esm/core-react/tabs/index.scss +6 -0
  1196. package/lib/esm/core-react/tabs/tabs.scss +117 -0
  1197. package/lib/esm/core-react/tabs/vertical.scss +64 -0
  1198. package/lib/esm/core-react/text/BlockText.d.ts +10 -0
  1199. package/lib/esm/core-react/text/BlockText.d.ts.map +1 -0
  1200. package/lib/esm/core-react/text/BlockText.js +16 -0
  1201. package/lib/esm/core-react/text/BlockText.js.map +1 -0
  1202. package/lib/esm/core-react/text/BodyText.d.ts +10 -0
  1203. package/lib/esm/core-react/text/BodyText.d.ts.map +1 -0
  1204. package/lib/esm/core-react/text/BodyText.js +16 -0
  1205. package/lib/esm/core-react/text/BodyText.js.map +1 -0
  1206. package/lib/esm/core-react/text/DisabledText.d.ts +7 -0
  1207. package/lib/esm/core-react/text/DisabledText.d.ts.map +1 -0
  1208. package/lib/esm/core-react/text/DisabledText.js +16 -0
  1209. package/lib/esm/core-react/text/DisabledText.js.map +1 -0
  1210. package/lib/esm/core-react/text/FilteredText.d.ts +25 -0
  1211. package/lib/esm/core-react/text/FilteredText.d.ts.map +1 -0
  1212. package/lib/esm/core-react/text/FilteredText.js +37 -0
  1213. package/lib/esm/core-react/text/FilteredText.js.map +1 -0
  1214. package/lib/esm/core-react/text/FilteredText.scss +10 -0
  1215. package/lib/esm/core-react/text/Headline.d.ts +11 -0
  1216. package/lib/esm/core-react/text/Headline.d.ts.map +1 -0
  1217. package/lib/esm/core-react/text/Headline.js +17 -0
  1218. package/lib/esm/core-react/text/Headline.js.map +1 -0
  1219. package/lib/esm/core-react/text/LeadingText.d.ts +11 -0
  1220. package/lib/esm/core-react/text/LeadingText.d.ts.map +1 -0
  1221. package/lib/esm/core-react/text/LeadingText.js +17 -0
  1222. package/lib/esm/core-react/text/LeadingText.js.map +1 -0
  1223. package/lib/esm/core-react/text/LeadingText2.d.ts +11 -0
  1224. package/lib/esm/core-react/text/LeadingText2.d.ts.map +1 -0
  1225. package/lib/esm/core-react/text/LeadingText2.js +17 -0
  1226. package/lib/esm/core-react/text/LeadingText2.js.map +1 -0
  1227. package/lib/esm/core-react/text/MutedText.d.ts +10 -0
  1228. package/lib/esm/core-react/text/MutedText.d.ts.map +1 -0
  1229. package/lib/esm/core-react/text/MutedText.js +16 -0
  1230. package/lib/esm/core-react/text/MutedText.js.map +1 -0
  1231. package/lib/esm/core-react/text/SmallText.d.ts +11 -0
  1232. package/lib/esm/core-react/text/SmallText.d.ts.map +1 -0
  1233. package/lib/esm/core-react/text/SmallText.js +17 -0
  1234. package/lib/esm/core-react/text/SmallText.js.map +1 -0
  1235. package/lib/esm/core-react/text/StyledText.d.ts +17 -0
  1236. package/lib/esm/core-react/text/StyledText.d.ts.map +1 -0
  1237. package/lib/esm/core-react/text/StyledText.js +17 -0
  1238. package/lib/esm/core-react/text/StyledText.js.map +1 -0
  1239. package/lib/esm/core-react/text/Subheading.d.ts +11 -0
  1240. package/lib/esm/core-react/text/Subheading.d.ts.map +1 -0
  1241. package/lib/esm/core-react/text/Subheading.js +17 -0
  1242. package/lib/esm/core-react/text/Subheading.js.map +1 -0
  1243. package/lib/esm/core-react/text/Subheading2.d.ts +11 -0
  1244. package/lib/esm/core-react/text/Subheading2.d.ts.map +1 -0
  1245. package/lib/esm/core-react/text/Subheading2.js +17 -0
  1246. package/lib/esm/core-react/text/Subheading2.js.map +1 -0
  1247. package/lib/esm/core-react/text/TextProps.d.ts +11 -0
  1248. package/lib/esm/core-react/text/TextProps.d.ts.map +1 -0
  1249. package/lib/esm/core-react/text/TextProps.js +9 -0
  1250. package/lib/esm/core-react/text/TextProps.js.map +1 -0
  1251. package/lib/esm/core-react/text/Title.d.ts +11 -0
  1252. package/lib/esm/core-react/text/Title.d.ts.map +1 -0
  1253. package/lib/esm/core-react/text/Title.js +17 -0
  1254. package/lib/esm/core-react/text/Title.js.map +1 -0
  1255. package/lib/esm/core-react/text/Title2.d.ts +11 -0
  1256. package/lib/esm/core-react/text/Title2.d.ts.map +1 -0
  1257. package/lib/esm/core-react/text/Title2.js +17 -0
  1258. package/lib/esm/core-react/text/Title2.js.map +1 -0
  1259. package/lib/esm/core-react/text/block.scss +10 -0
  1260. package/lib/esm/core-react/text/body.scss +10 -0
  1261. package/lib/esm/core-react/text/classes.scss +18 -0
  1262. package/lib/esm/core-react/text/disabled.scss +10 -0
  1263. package/lib/esm/core-react/text/headline.scss +10 -0
  1264. package/lib/esm/core-react/text/index.scss +18 -0
  1265. package/lib/esm/core-react/text/leading-2.scss +11 -0
  1266. package/lib/esm/core-react/text/leading.scss +10 -0
  1267. package/lib/esm/core-react/text/mixins.scss +62 -0
  1268. package/lib/esm/core-react/text/muted.scss +10 -0
  1269. package/lib/esm/core-react/text/small.scss +10 -0
  1270. package/lib/esm/core-react/text/subheading-2.scss +11 -0
  1271. package/lib/esm/core-react/text/subheading.scss +11 -0
  1272. package/lib/esm/core-react/text/title-2.scss +11 -0
  1273. package/lib/esm/core-react/text/title.scss +10 -0
  1274. package/lib/esm/core-react/tiles/FeaturedTile.d.ts +11 -0
  1275. package/lib/esm/core-react/tiles/FeaturedTile.d.ts.map +1 -0
  1276. package/lib/esm/core-react/tiles/FeaturedTile.js +17 -0
  1277. package/lib/esm/core-react/tiles/FeaturedTile.js.map +1 -0
  1278. package/lib/esm/core-react/tiles/MinimalFeaturedTile.d.ts +11 -0
  1279. package/lib/esm/core-react/tiles/MinimalFeaturedTile.d.ts.map +1 -0
  1280. package/lib/esm/core-react/tiles/MinimalFeaturedTile.js +17 -0
  1281. package/lib/esm/core-react/tiles/MinimalFeaturedTile.js.map +1 -0
  1282. package/lib/esm/core-react/tiles/MinimalTile.d.ts +11 -0
  1283. package/lib/esm/core-react/tiles/MinimalTile.d.ts.map +1 -0
  1284. package/lib/esm/core-react/tiles/MinimalTile.js +17 -0
  1285. package/lib/esm/core-react/tiles/MinimalTile.js.map +1 -0
  1286. package/lib/esm/core-react/tiles/Tile.d.ts +32 -0
  1287. package/lib/esm/core-react/tiles/Tile.d.ts.map +1 -0
  1288. package/lib/esm/core-react/tiles/Tile.js +36 -0
  1289. package/lib/esm/core-react/tiles/Tile.js.map +1 -0
  1290. package/lib/esm/core-react/tiles/classes.scss +7 -0
  1291. package/lib/esm/core-react/tiles/index.scss +5 -0
  1292. package/lib/esm/core-react/tiles/tile.scss +134 -0
  1293. package/lib/esm/core-react/toggle/LabeledToggle.d.ts +26 -0
  1294. package/lib/esm/core-react/toggle/LabeledToggle.d.ts.map +1 -0
  1295. package/lib/esm/core-react/toggle/LabeledToggle.js +25 -0
  1296. package/lib/esm/core-react/toggle/LabeledToggle.js.map +1 -0
  1297. package/lib/esm/core-react/toggle/LabeledToggle.scss +21 -0
  1298. package/lib/esm/core-react/toggle/Toggle.d.ts +52 -0
  1299. package/lib/esm/core-react/toggle/Toggle.d.ts.map +1 -0
  1300. package/lib/esm/core-react/toggle/Toggle.js +102 -0
  1301. package/lib/esm/core-react/toggle/Toggle.js.map +1 -0
  1302. package/lib/esm/core-react/toggle/Toggle.scss +135 -0
  1303. package/lib/esm/core-react/tooltip/Tooltip.d.ts +34 -0
  1304. package/lib/esm/core-react/tooltip/Tooltip.d.ts.map +1 -0
  1305. package/lib/esm/core-react/tooltip/Tooltip.js +52 -0
  1306. package/lib/esm/core-react/tooltip/Tooltip.js.map +1 -0
  1307. package/lib/esm/core-react/tooltip/Tooltip.scss +18 -0
  1308. package/lib/esm/core-react/tree/Branch.d.ts +20 -0
  1309. package/lib/esm/core-react/tree/Branch.d.ts.map +1 -0
  1310. package/lib/esm/core-react/tree/Branch.js +20 -0
  1311. package/lib/esm/core-react/tree/Branch.js.map +1 -0
  1312. package/lib/esm/core-react/tree/Branch.scss +13 -0
  1313. package/lib/esm/core-react/tree/ExpansionToggle.d.ts +21 -0
  1314. package/lib/esm/core-react/tree/ExpansionToggle.d.ts.map +1 -0
  1315. package/lib/esm/core-react/tree/ExpansionToggle.js +25 -0
  1316. package/lib/esm/core-react/tree/ExpansionToggle.js.map +1 -0
  1317. package/lib/esm/core-react/tree/ExpansionToggle.scss +28 -0
  1318. package/lib/esm/core-react/tree/Node.d.ts +80 -0
  1319. package/lib/esm/core-react/tree/Node.d.ts.map +1 -0
  1320. package/lib/esm/core-react/tree/Node.js +87 -0
  1321. package/lib/esm/core-react/tree/Node.js.map +1 -0
  1322. package/lib/esm/core-react/tree/Node.scss +77 -0
  1323. package/lib/esm/core-react/tree/Placeholder.d.ts +23 -0
  1324. package/lib/esm/core-react/tree/Placeholder.d.ts.map +1 -0
  1325. package/lib/esm/core-react/tree/Placeholder.js +28 -0
  1326. package/lib/esm/core-react/tree/Placeholder.js.map +1 -0
  1327. package/lib/esm/core-react/tree/Placeholder.scss +20 -0
  1328. package/lib/esm/core-react/tree/Tree.d.ts +29 -0
  1329. package/lib/esm/core-react/tree/Tree.d.ts.map +1 -0
  1330. package/lib/esm/core-react/tree/Tree.js +97 -0
  1331. package/lib/esm/core-react/tree/Tree.js.map +1 -0
  1332. package/lib/esm/core-react/tree/Tree.scss +21 -0
  1333. package/lib/esm/core-react/uisettings/LocalSettingsStorage.d.ts +24 -0
  1334. package/lib/esm/core-react/uisettings/LocalSettingsStorage.d.ts.map +1 -0
  1335. package/lib/esm/core-react/uisettings/LocalSettingsStorage.js +51 -0
  1336. package/lib/esm/core-react/uisettings/LocalSettingsStorage.js.map +1 -0
  1337. package/lib/esm/core-react/uisettings/SessionSettingsStorage.d.ts +24 -0
  1338. package/lib/esm/core-react/uisettings/SessionSettingsStorage.d.ts.map +1 -0
  1339. package/lib/esm/core-react/uisettings/SessionSettingsStorage.js +51 -0
  1340. package/lib/esm/core-react/uisettings/SessionSettingsStorage.js.map +1 -0
  1341. package/lib/esm/core-react/uisettings/UiSetting.d.ts +31 -0
  1342. package/lib/esm/core-react/uisettings/UiSetting.d.ts.map +1 -0
  1343. package/lib/esm/core-react/uisettings/UiSetting.js +56 -0
  1344. package/lib/esm/core-react/uisettings/UiSetting.js.map +1 -0
  1345. package/lib/esm/core-react/uisettings/UiSettingsStorage.d.ts +33 -0
  1346. package/lib/esm/core-react/uisettings/UiSettingsStorage.d.ts.map +1 -0
  1347. package/lib/esm/core-react/uisettings/UiSettingsStorage.js +19 -0
  1348. package/lib/esm/core-react/uisettings/UiSettingsStorage.js.map +1 -0
  1349. package/lib/esm/core-react/utils/IconHelper.d.ts +23 -0
  1350. package/lib/esm/core-react/utils/IconHelper.d.ts.map +1 -0
  1351. package/lib/esm/core-react/utils/IconHelper.js +59 -0
  1352. package/lib/esm/core-react/utils/IconHelper.js.map +1 -0
  1353. package/lib/esm/core-react/utils/Point.d.ts +38 -0
  1354. package/lib/esm/core-react/utils/Point.d.ts.map +1 -0
  1355. package/lib/esm/core-react/utils/Point.js +70 -0
  1356. package/lib/esm/core-react/utils/Point.js.map +1 -0
  1357. package/lib/esm/core-react/utils/PointProps.d.ts +12 -0
  1358. package/lib/esm/core-react/utils/PointProps.d.ts.map +1 -0
  1359. package/lib/esm/core-react/utils/PointProps.js +9 -0
  1360. package/lib/esm/core-react/utils/PointProps.js.map +1 -0
  1361. package/lib/esm/core-react/utils/Props.d.ts +39 -0
  1362. package/lib/esm/core-react/utils/Props.d.ts.map +1 -0
  1363. package/lib/esm/core-react/utils/Props.js +9 -0
  1364. package/lib/esm/core-react/utils/Props.js.map +1 -0
  1365. package/lib/esm/core-react/utils/Rectangle.d.ts +145 -0
  1366. package/lib/esm/core-react/utils/Rectangle.d.ts.map +1 -0
  1367. package/lib/esm/core-react/utils/Rectangle.js +267 -0
  1368. package/lib/esm/core-react/utils/Rectangle.js.map +1 -0
  1369. package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts +24 -0
  1370. package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -0
  1371. package/lib/esm/core-react/utils/ScrollPositionMaintainer.js +33 -0
  1372. package/lib/esm/core-react/utils/ScrollPositionMaintainer.js.map +1 -0
  1373. package/lib/esm/core-react/utils/Size.d.ts +24 -0
  1374. package/lib/esm/core-react/utils/Size.d.ts.map +1 -0
  1375. package/lib/esm/core-react/utils/Size.js +29 -0
  1376. package/lib/esm/core-react/utils/Size.js.map +1 -0
  1377. package/lib/esm/core-react/utils/Timer.d.ts +36 -0
  1378. package/lib/esm/core-react/utils/Timer.d.ts.map +1 -0
  1379. package/lib/esm/core-react/utils/Timer.js +61 -0
  1380. package/lib/esm/core-react/utils/Timer.js.map +1 -0
  1381. package/lib/esm/core-react/utils/UiEvent.d.ts +10 -0
  1382. package/lib/esm/core-react/utils/UiEvent.d.ts.map +1 -0
  1383. package/lib/esm/core-react/utils/UiEvent.js +14 -0
  1384. package/lib/esm/core-react/utils/UiEvent.js.map +1 -0
  1385. package/lib/esm/core-react/utils/UiGeometry.d.ts +21 -0
  1386. package/lib/esm/core-react/utils/UiGeometry.d.ts.map +1 -0
  1387. package/lib/esm/core-react/utils/UiGeometry.js +25 -0
  1388. package/lib/esm/core-react/utils/UiGeometry.js.map +1 -0
  1389. package/lib/esm/core-react/utils/flattenChildren.d.ts +9 -0
  1390. package/lib/esm/core-react/utils/flattenChildren.d.ts.map +1 -0
  1391. package/lib/esm/core-react/utils/flattenChildren.js +24 -0
  1392. package/lib/esm/core-react/utils/flattenChildren.js.map +1 -0
  1393. package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts +8 -0
  1394. package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts.map +1 -0
  1395. package/lib/esm/core-react/utils/getBestBWContrastColor.js +19 -0
  1396. package/lib/esm/core-react/utils/getBestBWContrastColor.js.map +1 -0
  1397. package/lib/esm/core-react/utils/getCssVariable.d.ts +12 -0
  1398. package/lib/esm/core-react/utils/getCssVariable.d.ts.map +1 -0
  1399. package/lib/esm/core-react/utils/getCssVariable.js +29 -0
  1400. package/lib/esm/core-react/utils/getCssVariable.js.map +1 -0
  1401. package/lib/esm/core-react/utils/getDisplayName.d.ts +9 -0
  1402. package/lib/esm/core-react/utils/getDisplayName.d.ts.map +1 -0
  1403. package/lib/esm/core-react/utils/getDisplayName.js +18 -0
  1404. package/lib/esm/core-react/utils/getDisplayName.js.map +1 -0
  1405. package/lib/esm/core-react/utils/getUserColor.d.ts +8 -0
  1406. package/lib/esm/core-react/utils/getUserColor.d.ts.map +1 -0
  1407. package/lib/esm/core-react/utils/getUserColor.js +35 -0
  1408. package/lib/esm/core-react/utils/getUserColor.js.map +1 -0
  1409. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +5 -0
  1410. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +1 -0
  1411. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js +17 -0
  1412. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js.map +1 -0
  1413. package/lib/esm/core-react/utils/hooks/useDisposable.d.ts +18 -0
  1414. package/lib/esm/core-react/utils/hooks/useDisposable.d.ts.map +1 -0
  1415. package/lib/esm/core-react/utils/hooks/useDisposable.js +34 -0
  1416. package/lib/esm/core-react/utils/hooks/useDisposable.js.map +1 -0
  1417. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts +9 -0
  1418. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +1 -0
  1419. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js +23 -0
  1420. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -0
  1421. package/lib/esm/core-react/utils/hooks/useEventListener.d.ts +12 -0
  1422. package/lib/esm/core-react/utils/hooks/useEventListener.d.ts.map +1 -0
  1423. package/lib/esm/core-react/utils/hooks/useEventListener.js +40 -0
  1424. package/lib/esm/core-react/utils/hooks/useEventListener.js.map +1 -0
  1425. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts +6 -0
  1426. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts.map +1 -0
  1427. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js +61 -0
  1428. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js.map +1 -0
  1429. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts +13 -0
  1430. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts.map +1 -0
  1431. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js +89 -0
  1432. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js.map +1 -0
  1433. package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts +56 -0
  1434. package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts.map +1 -0
  1435. package/lib/esm/core-react/utils/hooks/useProximityToMouse.js +103 -0
  1436. package/lib/esm/core-react/utils/hooks/useProximityToMouse.js.map +1 -0
  1437. package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts +8 -0
  1438. package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts.map +1 -0
  1439. package/lib/esm/core-react/utils/hooks/useRefEffect.js +20 -0
  1440. package/lib/esm/core-react/utils/hooks/useRefEffect.js.map +1 -0
  1441. package/lib/esm/core-react/utils/hooks/useRefState.d.ts +22 -0
  1442. package/lib/esm/core-react/utils/hooks/useRefState.d.ts.map +1 -0
  1443. package/lib/esm/core-react/utils/hooks/useRefState.js +32 -0
  1444. package/lib/esm/core-react/utils/hooks/useRefState.js.map +1 -0
  1445. package/lib/esm/core-react/utils/hooks/useRefs.d.ts +13 -0
  1446. package/lib/esm/core-react/utils/hooks/useRefs.d.ts.map +1 -0
  1447. package/lib/esm/core-react/utils/hooks/useRefs.js +49 -0
  1448. package/lib/esm/core-react/utils/hooks/useRefs.js.map +1 -0
  1449. package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts +40 -0
  1450. package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts.map +1 -0
  1451. package/lib/esm/core-react/utils/hooks/useResizeObserver.js +202 -0
  1452. package/lib/esm/core-react/utils/hooks/useResizeObserver.js.map +1 -0
  1453. package/lib/esm/core-react/utils/hooks/useTargeted.d.ts +9 -0
  1454. package/lib/esm/core-react/utils/hooks/useTargeted.d.ts.map +1 -0
  1455. package/lib/esm/core-react/utils/hooks/useTargeted.js +25 -0
  1456. package/lib/esm/core-react/utils/hooks/useTargeted.js.map +1 -0
  1457. package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts +16 -0
  1458. package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts.map +1 -0
  1459. package/lib/esm/core-react/utils/hooks/useThrottledFn.js +22 -0
  1460. package/lib/esm/core-react/utils/hooks/useThrottledFn.js.map +1 -0
  1461. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts +21 -0
  1462. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +1 -0
  1463. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js +24 -0
  1464. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -0
  1465. package/lib/esm/core-react/utils/isPromiseLike.d.ts +8 -0
  1466. package/lib/esm/core-react/utils/isPromiseLike.d.ts.map +1 -0
  1467. package/lib/esm/core-react/utils/isPromiseLike.js +14 -0
  1468. package/lib/esm/core-react/utils/isPromiseLike.js.map +1 -0
  1469. package/lib/esm/core-react/utils/shallowDiffers.d.ts +12 -0
  1470. package/lib/esm/core-react/utils/shallowDiffers.d.ts.map +1 -0
  1471. package/lib/esm/core-react/utils/shallowDiffers.js +26 -0
  1472. package/lib/esm/core-react/utils/shallowDiffers.js.map +1 -0
  1473. package/lib/esm/core-react/utils/typeUtils.d.ts +8 -0
  1474. package/lib/esm/core-react/utils/typeUtils.d.ts.map +1 -0
  1475. package/lib/esm/core-react/utils/typeUtils.js +9 -0
  1476. package/lib/esm/core-react/utils/typeUtils.js.map +1 -0
  1477. package/lib/esm/core-react.d.ts +275 -0
  1478. package/lib/esm/core-react.d.ts.map +1 -0
  1479. package/lib/esm/core-react.js +280 -0
  1480. package/lib/esm/core-react.js.map +1 -0
  1481. package/package.json +23 -20
  1482. package/lib/core-react/UiCore.d.ts.map +0 -1
  1483. package/lib/core-react/UiCore.js.map +0 -1
  1484. package/lib/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
  1485. package/lib/core-react/autosuggest/AutoSuggest.js +0 -179
  1486. package/lib/core-react/autosuggest/AutoSuggest.js.map +0 -1
  1487. package/lib/core-react/autosuggest/AutoSuggest.scss +0 -83
  1488. package/lib/core-react/badge/Badge.d.ts.map +0 -1
  1489. package/lib/core-react/badge/Badge.js.map +0 -1
  1490. package/lib/core-react/badge/BadgeUtilities.d.ts.map +0 -1
  1491. package/lib/core-react/badge/BadgeUtilities.js.map +0 -1
  1492. package/lib/core-react/badge/BetaBadge.d.ts.map +0 -1
  1493. package/lib/core-react/badge/BetaBadge.js +0 -24
  1494. package/lib/core-react/badge/BetaBadge.js.map +0 -1
  1495. package/lib/core-react/badge/NewBadge.d.ts.map +0 -1
  1496. package/lib/core-react/badge/NewBadge.js +0 -35
  1497. package/lib/core-react/badge/NewBadge.js.map +0 -1
  1498. package/lib/core-react/base/Centered.d.ts.map +0 -1
  1499. package/lib/core-react/base/Centered.js +0 -21
  1500. package/lib/core-react/base/Centered.js.map +0 -1
  1501. package/lib/core-react/base/Div.d.ts.map +0 -1
  1502. package/lib/core-react/base/Div.js +0 -32
  1503. package/lib/core-react/base/Div.js.map +0 -1
  1504. package/lib/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
  1505. package/lib/core-react/base/DivWithOutsideClick.js +0 -17
  1506. package/lib/core-react/base/DivWithOutsideClick.js.map +0 -1
  1507. package/lib/core-react/base/FillCentered.d.ts.map +0 -1
  1508. package/lib/core-react/base/FillCentered.js +0 -21
  1509. package/lib/core-react/base/FillCentered.js.map +0 -1
  1510. package/lib/core-react/base/FlexWrapContainer.d.ts.map +0 -1
  1511. package/lib/core-react/base/FlexWrapContainer.js +0 -22
  1512. package/lib/core-react/base/FlexWrapContainer.js.map +0 -1
  1513. package/lib/core-react/base/Gap.d.ts.map +0 -1
  1514. package/lib/core-react/base/Gap.js +0 -32
  1515. package/lib/core-react/base/Gap.js.map +0 -1
  1516. package/lib/core-react/base/PointerEvents.d.ts.map +0 -1
  1517. package/lib/core-react/base/PointerEvents.js.map +0 -1
  1518. package/lib/core-react/base/ScrollView.d.ts.map +0 -1
  1519. package/lib/core-react/base/ScrollView.js +0 -22
  1520. package/lib/core-react/base/ScrollView.js.map +0 -1
  1521. package/lib/core-react/button/Button.d.ts.map +0 -1
  1522. package/lib/core-react/button/Button.js +0 -99
  1523. package/lib/core-react/button/Button.js.map +0 -1
  1524. package/lib/core-react/button/UnderlinedButton.d.ts.map +0 -1
  1525. package/lib/core-react/button/UnderlinedButton.js.map +0 -1
  1526. package/lib/core-react/checkbox/Checkbox.d.ts.map +0 -1
  1527. package/lib/core-react/checkbox/Checkbox.js +0 -76
  1528. package/lib/core-react/checkbox/Checkbox.js.map +0 -1
  1529. package/lib/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
  1530. package/lib/core-react/checklistbox/CheckListBox.js.map +0 -1
  1531. package/lib/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
  1532. package/lib/core-react/contextmenu/ContextMenu.js +0 -376
  1533. package/lib/core-react/contextmenu/ContextMenu.js.map +0 -1
  1534. package/lib/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
  1535. package/lib/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
  1536. package/lib/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
  1537. package/lib/core-react/contextmenu/ContextMenuDivider.js +0 -35
  1538. package/lib/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
  1539. package/lib/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
  1540. package/lib/core-react/contextmenu/ContextMenuItem.js +0 -120
  1541. package/lib/core-react/contextmenu/ContextMenuItem.js.map +0 -1
  1542. package/lib/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
  1543. package/lib/core-react/contextmenu/ContextSubMenu.js +0 -171
  1544. package/lib/core-react/contextmenu/ContextSubMenu.js.map +0 -1
  1545. package/lib/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
  1546. package/lib/core-react/contextmenu/GlobalContextMenu.js +0 -71
  1547. package/lib/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
  1548. package/lib/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
  1549. package/lib/core-react/contextmenu/PopupContextMenu.js +0 -67
  1550. package/lib/core-react/contextmenu/PopupContextMenu.js.map +0 -1
  1551. package/lib/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
  1552. package/lib/core-react/contextmenu/TildeFinder.js.map +0 -1
  1553. package/lib/core-react/dialog/Dialog.d.ts.map +0 -1
  1554. package/lib/core-react/dialog/Dialog.js +0 -342
  1555. package/lib/core-react/dialog/Dialog.js.map +0 -1
  1556. package/lib/core-react/dialog/DialogButtonDef.d.ts.map +0 -1
  1557. package/lib/core-react/dialog/DialogButtonDef.js.map +0 -1
  1558. package/lib/core-react/dialog/GlobalDialog.d.ts.map +0 -1
  1559. package/lib/core-react/dialog/GlobalDialog.js +0 -65
  1560. package/lib/core-react/dialog/GlobalDialog.js.map +0 -1
  1561. package/lib/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
  1562. package/lib/core-react/elementseparator/ElementSeparator.js +0 -161
  1563. package/lib/core-react/elementseparator/ElementSeparator.js.map +0 -1
  1564. package/lib/core-react/enums/Alignment.d.ts.map +0 -1
  1565. package/lib/core-react/enums/Alignment.js.map +0 -1
  1566. package/lib/core-react/enums/CheckBoxState.d.ts.map +0 -1
  1567. package/lib/core-react/enums/CheckBoxState.js.map +0 -1
  1568. package/lib/core-react/enums/Orientation.d.ts.map +0 -1
  1569. package/lib/core-react/enums/Orientation.js.map +0 -1
  1570. package/lib/core-react/enums/SortDirection.d.ts.map +0 -1
  1571. package/lib/core-react/enums/SortDirection.js.map +0 -1
  1572. package/lib/core-react/enums/TimeFormat.d.ts.map +0 -1
  1573. package/lib/core-react/enums/TimeFormat.js.map +0 -1
  1574. package/lib/core-react/expandable/ExpandableBlock.d.ts.map +0 -1
  1575. package/lib/core-react/expandable/ExpandableBlock.js.map +0 -1
  1576. package/lib/core-react/expandable/ExpandableList.d.ts.map +0 -1
  1577. package/lib/core-react/expandable/ExpandableList.js.map +0 -1
  1578. package/lib/core-react/expandable/ExpandableList.scss +0 -12
  1579. package/lib/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
  1580. package/lib/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
  1581. package/lib/core-react/focustrap/FocusTrap.d.ts.map +0 -1
  1582. package/lib/core-react/focustrap/FocusTrap.js.map +0 -1
  1583. package/lib/core-react/form/Field.d.ts.map +0 -1
  1584. package/lib/core-react/form/Field.js.map +0 -1
  1585. package/lib/core-react/form/Form.d.ts.map +0 -1
  1586. package/lib/core-react/form/Form.js +0 -131
  1587. package/lib/core-react/form/Form.js.map +0 -1
  1588. package/lib/core-react/hocs/withIsPressed.d.ts.map +0 -1
  1589. package/lib/core-react/hocs/withIsPressed.js +0 -58
  1590. package/lib/core-react/hocs/withIsPressed.js.map +0 -1
  1591. package/lib/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
  1592. package/lib/core-react/hocs/withOnOutsideClick.js +0 -124
  1593. package/lib/core-react/hocs/withOnOutsideClick.js.map +0 -1
  1594. package/lib/core-react/hocs/withTimeout.d.ts.map +0 -1
  1595. package/lib/core-react/hocs/withTimeout.js +0 -58
  1596. package/lib/core-react/hocs/withTimeout.js.map +0 -1
  1597. package/lib/core-react/icons/IconComponent.d.ts.map +0 -1
  1598. package/lib/core-react/icons/IconComponent.js.map +0 -1
  1599. package/lib/core-react/icons/SvgPath.d.ts.map +0 -1
  1600. package/lib/core-react/icons/SvgPath.js.map +0 -1
  1601. package/lib/core-react/icons/SvgSprite.d.ts.map +0 -1
  1602. package/lib/core-react/icons/SvgSprite.js.map +0 -1
  1603. package/lib/core-react/icons/WebFontIcon.d.ts.map +0 -1
  1604. package/lib/core-react/icons/WebFontIcon.js.map +0 -1
  1605. package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
  1606. package/lib/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
  1607. package/lib/core-react/inputs/Input.d.ts.map +0 -1
  1608. package/lib/core-react/inputs/Input.js +0 -58
  1609. package/lib/core-react/inputs/Input.js.map +0 -1
  1610. package/lib/core-react/inputs/InputLabel.d.ts.map +0 -1
  1611. package/lib/core-react/inputs/InputLabel.js.map +0 -1
  1612. package/lib/core-react/inputs/InputStatus.d.ts.map +0 -1
  1613. package/lib/core-react/inputs/InputStatus.js.map +0 -1
  1614. package/lib/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
  1615. package/lib/core-react/inputs/LabeledComponentProps.js.map +0 -1
  1616. package/lib/core-react/inputs/LabeledInput.d.ts.map +0 -1
  1617. package/lib/core-react/inputs/LabeledInput.js +0 -45
  1618. package/lib/core-react/inputs/LabeledInput.js.map +0 -1
  1619. package/lib/core-react/inputs/LabeledTextarea.d.ts.map +0 -1
  1620. package/lib/core-react/inputs/LabeledTextarea.js +0 -43
  1621. package/lib/core-react/inputs/LabeledTextarea.js.map +0 -1
  1622. package/lib/core-react/inputs/Textarea.d.ts.map +0 -1
  1623. package/lib/core-react/inputs/Textarea.js +0 -47
  1624. package/lib/core-react/inputs/Textarea.js.map +0 -1
  1625. package/lib/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
  1626. package/lib/core-react/inputs/iconinput/IconInput.js +0 -41
  1627. package/lib/core-react/inputs/iconinput/IconInput.js.map +0 -1
  1628. package/lib/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
  1629. package/lib/core-react/inputs/numberinput/NumberInput.js +0 -159
  1630. package/lib/core-react/inputs/numberinput/NumberInput.js.map +0 -1
  1631. package/lib/core-react/listbox/Listbox.d.ts.map +0 -1
  1632. package/lib/core-react/listbox/Listbox.js +0 -234
  1633. package/lib/core-react/listbox/Listbox.js.map +0 -1
  1634. package/lib/core-react/listbox/Listbox.scss +0 -54
  1635. package/lib/core-react/loading/LoadingBar.d.ts.map +0 -1
  1636. package/lib/core-react/loading/LoadingBar.js.map +0 -1
  1637. package/lib/core-react/loading/LoadingPrompt.d.ts.map +0 -1
  1638. package/lib/core-react/loading/LoadingPrompt.js.map +0 -1
  1639. package/lib/core-react/loading/LoadingSpinner.d.ts.map +0 -1
  1640. package/lib/core-react/loading/LoadingSpinner.js +0 -57
  1641. package/lib/core-react/loading/LoadingSpinner.js.map +0 -1
  1642. package/lib/core-react/loading/LoadingStatus.d.ts.map +0 -1
  1643. package/lib/core-react/loading/LoadingStatus.js.map +0 -1
  1644. package/lib/core-react/loading/Spinner.d.ts.map +0 -1
  1645. package/lib/core-react/loading/Spinner.js.map +0 -1
  1646. package/lib/core-react/messagebox/MessageBox.d.ts.map +0 -1
  1647. package/lib/core-react/messagebox/MessageBox.js.map +0 -1
  1648. package/lib/core-react/messagebox/MessageSeverity.d.ts.map +0 -1
  1649. package/lib/core-react/messagebox/MessageSeverity.js.map +0 -1
  1650. package/lib/core-react/notification/MessageRenderer.d.ts.map +0 -1
  1651. package/lib/core-react/notification/MessageRenderer.js.map +0 -1
  1652. package/lib/core-react/notification/MessageType.d.ts.map +0 -1
  1653. package/lib/core-react/notification/MessageType.js.map +0 -1
  1654. package/lib/core-react/popup/Popup.d.ts.map +0 -1
  1655. package/lib/core-react/popup/Popup.js +0 -397
  1656. package/lib/core-react/popup/Popup.js.map +0 -1
  1657. package/lib/core-react/progress-indicators/ProgressBar.d.ts.map +0 -1
  1658. package/lib/core-react/progress-indicators/ProgressBar.js +0 -45
  1659. package/lib/core-react/progress-indicators/ProgressBar.js.map +0 -1
  1660. package/lib/core-react/progress-indicators/ProgressSpinner.d.ts.map +0 -1
  1661. package/lib/core-react/progress-indicators/ProgressSpinner.js +0 -74
  1662. package/lib/core-react/progress-indicators/ProgressSpinner.js.map +0 -1
  1663. package/lib/core-react/radialmenu/Annulus.d.ts.map +0 -1
  1664. package/lib/core-react/radialmenu/Annulus.js.map +0 -1
  1665. package/lib/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
  1666. package/lib/core-react/radialmenu/RadialMenu.js +0 -180
  1667. package/lib/core-react/radialmenu/RadialMenu.js.map +0 -1
  1668. package/lib/core-react/radio/Radio.d.ts.map +0 -1
  1669. package/lib/core-react/radio/Radio.js +0 -39
  1670. package/lib/core-react/radio/Radio.js.map +0 -1
  1671. package/lib/core-react/searchbox/SearchBox.d.ts.map +0 -1
  1672. package/lib/core-react/searchbox/SearchBox.js.map +0 -1
  1673. package/lib/core-react/select/LabeledSelect.d.ts.map +0 -1
  1674. package/lib/core-react/select/LabeledSelect.js +0 -45
  1675. package/lib/core-react/select/LabeledSelect.js.map +0 -1
  1676. package/lib/core-react/select/LabeledThemedSelect.d.ts.map +0 -1
  1677. package/lib/core-react/select/LabeledThemedSelect.js +0 -42
  1678. package/lib/core-react/select/LabeledThemedSelect.js.map +0 -1
  1679. package/lib/core-react/select/Select.d.ts.map +0 -1
  1680. package/lib/core-react/select/Select.js +0 -71
  1681. package/lib/core-react/select/Select.js.map +0 -1
  1682. package/lib/core-react/select/ThemedSelect.d.ts.map +0 -1
  1683. package/lib/core-react/select/ThemedSelect.js +0 -65
  1684. package/lib/core-react/select/ThemedSelect.js.map +0 -1
  1685. package/lib/core-react/select/modalHelper.d.ts.map +0 -1
  1686. package/lib/core-react/select/modalHelper.js.map +0 -1
  1687. package/lib/core-react/settings/SettingsContainer.d.ts.map +0 -1
  1688. package/lib/core-react/settings/SettingsContainer.js.map +0 -1
  1689. package/lib/core-react/settings/SettingsManager.d.ts.map +0 -1
  1690. package/lib/core-react/settings/SettingsManager.js.map +0 -1
  1691. package/lib/core-react/slider/Slider.d.ts.map +0 -1
  1692. package/lib/core-react/slider/Slider.js.map +0 -1
  1693. package/lib/core-react/splitbutton/SplitButton.d.ts.map +0 -1
  1694. package/lib/core-react/splitbutton/SplitButton.js.map +0 -1
  1695. package/lib/core-react/tabs/HorizontalTabs.d.ts.map +0 -1
  1696. package/lib/core-react/tabs/HorizontalTabs.js +0 -22
  1697. package/lib/core-react/tabs/HorizontalTabs.js.map +0 -1
  1698. package/lib/core-react/tabs/Tabs.d.ts.map +0 -1
  1699. package/lib/core-react/tabs/Tabs.js.map +0 -1
  1700. package/lib/core-react/tabs/VerticalTabs.d.ts.map +0 -1
  1701. package/lib/core-react/tabs/VerticalTabs.js +0 -21
  1702. package/lib/core-react/tabs/VerticalTabs.js.map +0 -1
  1703. package/lib/core-react/text/BlockText.d.ts.map +0 -1
  1704. package/lib/core-react/text/BlockText.js +0 -20
  1705. package/lib/core-react/text/BlockText.js.map +0 -1
  1706. package/lib/core-react/text/BodyText.d.ts.map +0 -1
  1707. package/lib/core-react/text/BodyText.js +0 -20
  1708. package/lib/core-react/text/BodyText.js.map +0 -1
  1709. package/lib/core-react/text/DisabledText.d.ts.map +0 -1
  1710. package/lib/core-react/text/DisabledText.js +0 -20
  1711. package/lib/core-react/text/DisabledText.js.map +0 -1
  1712. package/lib/core-react/text/FilteredText.d.ts.map +0 -1
  1713. package/lib/core-react/text/FilteredText.js +0 -52
  1714. package/lib/core-react/text/FilteredText.js.map +0 -1
  1715. package/lib/core-react/text/Headline.d.ts.map +0 -1
  1716. package/lib/core-react/text/Headline.js +0 -21
  1717. package/lib/core-react/text/Headline.js.map +0 -1
  1718. package/lib/core-react/text/LeadingText.d.ts.map +0 -1
  1719. package/lib/core-react/text/LeadingText.js +0 -21
  1720. package/lib/core-react/text/LeadingText.js.map +0 -1
  1721. package/lib/core-react/text/LeadingText2.d.ts.map +0 -1
  1722. package/lib/core-react/text/LeadingText2.js +0 -21
  1723. package/lib/core-react/text/LeadingText2.js.map +0 -1
  1724. package/lib/core-react/text/MutedText.d.ts.map +0 -1
  1725. package/lib/core-react/text/MutedText.js +0 -20
  1726. package/lib/core-react/text/MutedText.js.map +0 -1
  1727. package/lib/core-react/text/SmallText.d.ts.map +0 -1
  1728. package/lib/core-react/text/SmallText.js +0 -21
  1729. package/lib/core-react/text/SmallText.js.map +0 -1
  1730. package/lib/core-react/text/StyledText.d.ts.map +0 -1
  1731. package/lib/core-react/text/StyledText.js +0 -32
  1732. package/lib/core-react/text/StyledText.js.map +0 -1
  1733. package/lib/core-react/text/Subheading.d.ts.map +0 -1
  1734. package/lib/core-react/text/Subheading.js +0 -21
  1735. package/lib/core-react/text/Subheading.js.map +0 -1
  1736. package/lib/core-react/text/Subheading2.d.ts.map +0 -1
  1737. package/lib/core-react/text/Subheading2.js +0 -21
  1738. package/lib/core-react/text/Subheading2.js.map +0 -1
  1739. package/lib/core-react/text/TextProps.d.ts.map +0 -1
  1740. package/lib/core-react/text/TextProps.js.map +0 -1
  1741. package/lib/core-react/text/Title.d.ts.map +0 -1
  1742. package/lib/core-react/text/Title.js +0 -21
  1743. package/lib/core-react/text/Title.js.map +0 -1
  1744. package/lib/core-react/text/Title2.d.ts.map +0 -1
  1745. package/lib/core-react/text/Title2.js +0 -21
  1746. package/lib/core-react/text/Title2.js.map +0 -1
  1747. package/lib/core-react/tiles/FeaturedTile.d.ts.map +0 -1
  1748. package/lib/core-react/tiles/FeaturedTile.js +0 -21
  1749. package/lib/core-react/tiles/FeaturedTile.js.map +0 -1
  1750. package/lib/core-react/tiles/MinimalFeaturedTile.d.ts.map +0 -1
  1751. package/lib/core-react/tiles/MinimalFeaturedTile.js +0 -21
  1752. package/lib/core-react/tiles/MinimalFeaturedTile.js.map +0 -1
  1753. package/lib/core-react/tiles/MinimalTile.d.ts.map +0 -1
  1754. package/lib/core-react/tiles/MinimalTile.js +0 -21
  1755. package/lib/core-react/tiles/MinimalTile.js.map +0 -1
  1756. package/lib/core-react/tiles/Tile.d.ts.map +0 -1
  1757. package/lib/core-react/tiles/Tile.js.map +0 -1
  1758. package/lib/core-react/toggle/LabeledToggle.d.ts.map +0 -1
  1759. package/lib/core-react/toggle/LabeledToggle.js +0 -40
  1760. package/lib/core-react/toggle/LabeledToggle.js.map +0 -1
  1761. package/lib/core-react/toggle/Toggle.d.ts.map +0 -1
  1762. package/lib/core-react/toggle/Toggle.js +0 -105
  1763. package/lib/core-react/toggle/Toggle.js.map +0 -1
  1764. package/lib/core-react/tooltip/Tooltip.d.ts.map +0 -1
  1765. package/lib/core-react/tooltip/Tooltip.js.map +0 -1
  1766. package/lib/core-react/tree/Branch.d.ts.map +0 -1
  1767. package/lib/core-react/tree/Branch.js.map +0 -1
  1768. package/lib/core-react/tree/ExpansionToggle.d.ts.map +0 -1
  1769. package/lib/core-react/tree/ExpansionToggle.js.map +0 -1
  1770. package/lib/core-react/tree/Node.d.ts.map +0 -1
  1771. package/lib/core-react/tree/Node.js +0 -91
  1772. package/lib/core-react/tree/Node.js.map +0 -1
  1773. package/lib/core-react/tree/Placeholder.d.ts.map +0 -1
  1774. package/lib/core-react/tree/Placeholder.js +0 -32
  1775. package/lib/core-react/tree/Placeholder.js.map +0 -1
  1776. package/lib/core-react/tree/Tree.d.ts.map +0 -1
  1777. package/lib/core-react/tree/Tree.js.map +0 -1
  1778. package/lib/core-react/uisettings/LocalSettingsStorage.d.ts.map +0 -1
  1779. package/lib/core-react/uisettings/LocalSettingsStorage.js.map +0 -1
  1780. package/lib/core-react/uisettings/SessionSettingsStorage.d.ts.map +0 -1
  1781. package/lib/core-react/uisettings/SessionSettingsStorage.js.map +0 -1
  1782. package/lib/core-react/uisettings/UiSetting.d.ts.map +0 -1
  1783. package/lib/core-react/uisettings/UiSetting.js.map +0 -1
  1784. package/lib/core-react/uisettings/UiSettingsStorage.d.ts.map +0 -1
  1785. package/lib/core-react/uisettings/UiSettingsStorage.js.map +0 -1
  1786. package/lib/core-react/utils/IconHelper.d.ts.map +0 -1
  1787. package/lib/core-react/utils/IconHelper.js.map +0 -1
  1788. package/lib/core-react/utils/Point.d.ts.map +0 -1
  1789. package/lib/core-react/utils/Point.js.map +0 -1
  1790. package/lib/core-react/utils/PointProps.d.ts.map +0 -1
  1791. package/lib/core-react/utils/PointProps.js.map +0 -1
  1792. package/lib/core-react/utils/Props.d.ts.map +0 -1
  1793. package/lib/core-react/utils/Props.js.map +0 -1
  1794. package/lib/core-react/utils/Rectangle.d.ts.map +0 -1
  1795. package/lib/core-react/utils/Rectangle.js.map +0 -1
  1796. package/lib/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
  1797. package/lib/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
  1798. package/lib/core-react/utils/Size.d.ts.map +0 -1
  1799. package/lib/core-react/utils/Size.js.map +0 -1
  1800. package/lib/core-react/utils/Timer.d.ts.map +0 -1
  1801. package/lib/core-react/utils/Timer.js.map +0 -1
  1802. package/lib/core-react/utils/UiEvent.d.ts.map +0 -1
  1803. package/lib/core-react/utils/UiEvent.js.map +0 -1
  1804. package/lib/core-react/utils/UiGeometry.d.ts.map +0 -1
  1805. package/lib/core-react/utils/UiGeometry.js.map +0 -1
  1806. package/lib/core-react/utils/flattenChildren.d.ts.map +0 -1
  1807. package/lib/core-react/utils/flattenChildren.js.map +0 -1
  1808. package/lib/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
  1809. package/lib/core-react/utils/getBestBWContrastColor.js.map +0 -1
  1810. package/lib/core-react/utils/getCssVariable.d.ts.map +0 -1
  1811. package/lib/core-react/utils/getCssVariable.js.map +0 -1
  1812. package/lib/core-react/utils/getDisplayName.d.ts.map +0 -1
  1813. package/lib/core-react/utils/getDisplayName.js.map +0 -1
  1814. package/lib/core-react/utils/getUserColor.d.ts.map +0 -1
  1815. package/lib/core-react/utils/getUserColor.js.map +0 -1
  1816. package/lib/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
  1817. package/lib/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
  1818. package/lib/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
  1819. package/lib/core-react/utils/hooks/useDisposable.js.map +0 -1
  1820. package/lib/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
  1821. package/lib/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
  1822. package/lib/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
  1823. package/lib/core-react/utils/hooks/useEventListener.js.map +0 -1
  1824. package/lib/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
  1825. package/lib/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
  1826. package/lib/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
  1827. package/lib/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
  1828. package/lib/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
  1829. package/lib/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
  1830. package/lib/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
  1831. package/lib/core-react/utils/hooks/useRefEffect.js.map +0 -1
  1832. package/lib/core-react/utils/hooks/useRefState.d.ts.map +0 -1
  1833. package/lib/core-react/utils/hooks/useRefState.js.map +0 -1
  1834. package/lib/core-react/utils/hooks/useRefs.d.ts.map +0 -1
  1835. package/lib/core-react/utils/hooks/useRefs.js.map +0 -1
  1836. package/lib/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
  1837. package/lib/core-react/utils/hooks/useResizeObserver.js.map +0 -1
  1838. package/lib/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
  1839. package/lib/core-react/utils/hooks/useTargeted.js.map +0 -1
  1840. package/lib/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
  1841. package/lib/core-react/utils/hooks/useThrottledFn.js.map +0 -1
  1842. package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
  1843. package/lib/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
  1844. package/lib/core-react/utils/isPromiseLike.d.ts.map +0 -1
  1845. package/lib/core-react/utils/isPromiseLike.js.map +0 -1
  1846. package/lib/core-react/utils/shallowDiffers.d.ts.map +0 -1
  1847. package/lib/core-react/utils/shallowDiffers.js.map +0 -1
  1848. package/lib/core-react/utils/typeUtils.d.ts.map +0 -1
  1849. package/lib/core-react/utils/typeUtils.js.map +0 -1
  1850. package/lib/core-react.d.ts.map +0 -1
  1851. package/lib/core-react.js.map +0 -1
@@ -1,91 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Tree
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.TreeNode = exports.LEVEL_OFFSET = void 0;
11
- require("./Node.scss");
12
- const classnames_1 = require("classnames");
13
- const React = require("react");
14
- const itwinui_react_1 = require("@itwin/itwinui-react");
15
- const CheckBoxState_1 = require("../enums/CheckBoxState");
16
- const ExpansionToggle_1 = require("./ExpansionToggle");
17
- /** Number of pixels the node gets offset per each hierarchy level
18
- * @internal
19
- */
20
- exports.LEVEL_OFFSET = 20;
21
- const EXPANSION_TOGGLE_WIDTH = 24;
22
- /** Presentation React component for a Tree node
23
- * @public
24
- */
25
- class TreeNode extends React.Component {
26
- constructor(props) {
27
- super(props);
28
- this._onCheckboxChange = (checked) => {
29
- if (this.props.checkboxProps && this.props.checkboxProps.onClick && !this.props.checkboxProps.isDisabled)
30
- this.props.checkboxProps.onClick(checked ? CheckBoxState_1.CheckBoxState.On : CheckBoxState_1.CheckBoxState.Off);
31
- };
32
- this._onCheckboxClick = (e) => {
33
- e.stopPropagation();
34
- };
35
- this._onClickExpansionToggle = (e) => {
36
- e.stopPropagation();
37
- if (this.props.onClickExpansionToggle)
38
- this.props.onClickExpansionToggle();
39
- };
40
- this._onClick = (e) => {
41
- e.stopPropagation();
42
- if (this.props.onClick)
43
- this.props.onClick(e);
44
- };
45
- }
46
- render() {
47
- const className = (0, classnames_1.default)("core-tree-node", this.props.isFocused && "is-focused", this.props.isSelected && "is-selected", this.props.isHoverDisabled && "is-hover-disabled", this.props.className);
48
- let offset = this.props.level * exports.LEVEL_OFFSET;
49
- if (!this.props.isLoading && this.props.isLeaf)
50
- offset += EXPANSION_TOGGLE_WIDTH; // Add expansion toggle/loader width if they're not rendered
51
- const loader = this.props.isLoading ? (React.createElement("div", { className: "loader" },
52
- React.createElement(itwinui_react_1.ProgressRadial, { size: "x-small", indeterminate: true }))) : undefined;
53
- let checkbox;
54
- if (this.props.checkboxProps) {
55
- const props = {
56
- label: "",
57
- checked: this.props.checkboxProps.state === CheckBoxState_1.CheckBoxState.On,
58
- indeterminate: this.props.checkboxProps.state === CheckBoxState_1.CheckBoxState.Partial,
59
- disabled: this.props.checkboxProps.isDisabled,
60
- title: this.props.checkboxProps.tooltip,
61
- onClick: this._onCheckboxClick,
62
- onChange: this._onCheckboxChange,
63
- };
64
- if (this.props.renderOverrides && this.props.renderOverrides.renderCheckbox) {
65
- checkbox = this.props.renderOverrides.renderCheckbox(props);
66
- }
67
- else {
68
- checkbox = (React.createElement(itwinui_react_1.Checkbox, Object.assign({}, props, { onChange: (e) => this._onCheckboxChange(e.target.checked), "data-testid": this.createSubComponentTestId("checkbox") })));
69
- }
70
- }
71
- const icon = this.props.icon ? (React.createElement("div", { className: "core-tree-node-icon" }, this.props.icon)) : undefined;
72
- const toggle = (this.props.isLoading || this.props.isLeaf) ? undefined : (React.createElement(ExpansionToggle_1.ExpansionToggle, { className: "expansion-toggle", "data-testid": this.createSubComponentTestId("expansion-toggle"), onClick: this._onClickExpansionToggle, isExpanded: this.props.isExpanded }));
73
- return (
74
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events
75
- React.createElement("div", { className: className, style: this.props.style, "data-testid": this.props["data-testid"], onClick: this._onClick, onContextMenu: this.props.onContextMenu, onMouseDown: this.props.onMouseDown, onMouseUp: this.props.onMouseUp, onMouseMove: this.props.onMouseMove, role: "treeitem", tabIndex: -1 },
76
- React.createElement("div", { className: "contents", style: { marginLeft: offset }, "data-testid": this.createSubComponentTestId("contents") },
77
- loader,
78
- toggle,
79
- checkbox,
80
- icon,
81
- this.props.label),
82
- this.props.children));
83
- }
84
- createSubComponentTestId(subId) {
85
- if (!this.props["data-testid"])
86
- return undefined;
87
- return `${this.props["data-testid"]}-${subId}`;
88
- }
89
- }
90
- exports.TreeNode = TreeNode;
91
- //# sourceMappingURL=Node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Node.js","sourceRoot":"","sources":["../../../src/core-react/tree/Node.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,uBAAqB;AACrB,2CAAoC;AACpC,+BAA+B;AAC/B,wDAA+E;AAC/E,0DAAuD;AAGvD,uDAAoD;AAepD;;GAEG;AACU,QAAA,YAAY,GAAG,EAAE,CAAC;AAE/B,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAgDlC;;GAEG;AACH,MAAa,QAAS,SAAQ,KAAK,CAAC,SAAwB;IAC1D,YAAY,KAAoB;QAC9B,KAAK,CAAC,KAAK,CAAC,CAAC;QAqFP,sBAAiB,GAAG,CAAC,OAAgB,EAAE,EAAE;YAC/C,IAAI,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU;gBACtG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,6BAAa,CAAC,EAAE,CAAC,CAAC,CAAC,6BAAa,CAAC,GAAG,CAAC,CAAC;QACrF,CAAC,CAAC;QAEM,qBAAgB,GAAG,CAAC,CAAmB,EAAE,EAAE;YACjD,CAAC,CAAC,eAAe,EAAE,CAAC;QACtB,CAAC,CAAC;QAEM,4BAAuB,GAAG,CAAC,CAAmC,EAAE,EAAE;YACxE,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,IAAI,IAAI,CAAC,KAAK,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,OAAO;QACL,iEAAiE;QACjE,6BACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,iBACV,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,EACtC,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,EACvC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC;YAEZ,6BACE,SAAS,EAAC,UAAU,EACpB,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,iBAChB,IAAI,CAAC,wBAAwB,CAAC,UAAU,CAAC;gBAErD,MAAM;gBACN,MAAM;gBACN,QAAQ;gBACR,IAAI;gBACJ,IAAI,CAAC,KAAK,CAAC,KAAK,CACb;YACL,IAAI,CAAC,KAAK,CAAC,QAAQ,CAChB,CACP,CAAC;IACJ,CAAC;IAEO,wBAAwB,CAAC,KAAa;QAC5C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;YAC5B,OAAO,SAAS,CAAC;QACnB,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,KAAK,EAAE,CAAC;IACjD,CAAC;CAsBF;AA3GD,4BA2GC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tree\n */\n\nimport \"./Node.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { Checkbox, CheckboxProps, ProgressRadial } from \"@itwin/itwinui-react\";\nimport { CheckBoxState } from \"../enums/CheckBoxState\";\nimport { CommonProps } from \"../utils/Props\";\nimport { Omit } from \"../utils/typeUtils\";\nimport { ExpansionToggle } from \"./ExpansionToggle\";\n\n/** Props for node Checkbox renderer\n * @public\n */\nexport type NodeCheckboxRenderProps = Omit<CheckboxProps, \"onChange\" | \"onClick\"> & {\n onChange: (checked: boolean) => void;\n onClick: (e: React.MouseEvent) => void;\n};\n\n/** Type for node Checkbox renderer\n * @public\n */\nexport type NodeCheckboxRenderer = (props: NodeCheckboxRenderProps) => React.ReactNode;\n\n/** Number of pixels the node gets offset per each hierarchy level\n * @internal\n */\nexport const LEVEL_OFFSET = 20;\n\nconst EXPANSION_TOGGLE_WIDTH = 24;\n\n/** Properties for Tree Node CheckBox\n * @public\n */\nexport interface NodeCheckboxProps {\n /** State of the checkbox */\n state?: CheckBoxState;\n /** Click event callback */\n onClick?: (newState: CheckBoxState) => void;\n /** Indicates whether checkbox is disabled */\n isDisabled?: boolean;\n /** Tooltip to be displayed when mouse is hovered over checkbox */\n tooltip?: string;\n}\n\n/** Properties for the [[TreeNode]] React component\n * @public\n */\nexport interface TreeNodeProps extends CommonProps {\n label: React.ReactNode;\n level: number;\n icon?: React.ReactChild;\n /** Properties for the checkbox.\n * @public */\n checkboxProps?: NodeCheckboxProps;\n isLeaf?: boolean;\n isLoading?: boolean;\n isExpanded?: boolean;\n isFocused?: boolean;\n isSelected?: boolean;\n isHoverDisabled?: boolean;\n onClick?: (e: React.MouseEvent) => void;\n onContextMenu?: (e: React.MouseEvent) => void;\n onMouseMove?: (e: React.MouseEvent) => void;\n onMouseDown?: (e: React.MouseEvent) => void;\n onMouseUp?: (e: React.MouseEvent) => void;\n onClickExpansionToggle?: () => void;\n children?: React.ReactNode;\n\n /** Contains render overrides for different pieces of the node component. */\n renderOverrides?: {\n /** Callback to render a checkbox. Only called when checkbox is displayed. */\n renderCheckbox?: NodeCheckboxRenderer;\n };\n [\"data-testid\"]?: string;\n}\n\n/** Presentation React component for a Tree node\n * @public\n */\nexport class TreeNode extends React.Component<TreeNodeProps> {\n constructor(props: TreeNodeProps) {\n super(props);\n }\n\n public override render() {\n const className = classnames(\n \"core-tree-node\",\n this.props.isFocused && \"is-focused\",\n this.props.isSelected && \"is-selected\",\n this.props.isHoverDisabled && \"is-hover-disabled\",\n this.props.className);\n let offset = this.props.level * LEVEL_OFFSET;\n if (!this.props.isLoading && this.props.isLeaf)\n offset += EXPANSION_TOGGLE_WIDTH; // Add expansion toggle/loader width if they're not rendered\n\n const loader = this.props.isLoading ? (<div className=\"loader\"><ProgressRadial size=\"x-small\" indeterminate /></div>) : undefined;\n\n let checkbox: React.ReactNode;\n if (this.props.checkboxProps) {\n const props: NodeCheckboxRenderProps = {\n label: \"\",\n checked: this.props.checkboxProps.state === CheckBoxState.On,\n indeterminate: this.props.checkboxProps.state === CheckBoxState.Partial,\n disabled: this.props.checkboxProps.isDisabled,\n title: this.props.checkboxProps.tooltip,\n onClick: this._onCheckboxClick,\n onChange: this._onCheckboxChange,\n };\n if (this.props.renderOverrides && this.props.renderOverrides.renderCheckbox) {\n checkbox = this.props.renderOverrides.renderCheckbox(props);\n } else {\n checkbox = (\n <Checkbox {...props}\n onChange={(e: React.ChangeEvent<HTMLInputElement>) => this._onCheckboxChange(e.target.checked)} data-testid={this.createSubComponentTestId(\"checkbox\")}\n />\n );\n }\n }\n\n const icon = this.props.icon ? (<div className=\"core-tree-node-icon\">{this.props.icon}</div>) : undefined;\n\n const toggle = (this.props.isLoading || this.props.isLeaf) ? undefined : (\n <ExpansionToggle\n className=\"expansion-toggle\"\n data-testid={this.createSubComponentTestId(\"expansion-toggle\")}\n onClick={this._onClickExpansionToggle}\n isExpanded={this.props.isExpanded}\n />\n );\n\n return (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\n <div\n className={className}\n style={this.props.style}\n data-testid={this.props[\"data-testid\"]}\n onClick={this._onClick}\n onContextMenu={this.props.onContextMenu}\n onMouseDown={this.props.onMouseDown}\n onMouseUp={this.props.onMouseUp}\n onMouseMove={this.props.onMouseMove}\n role=\"treeitem\"\n tabIndex={-1}\n >\n <div\n className=\"contents\"\n style={{ marginLeft: offset }}\n data-testid={this.createSubComponentTestId(\"contents\")}\n >\n {loader}\n {toggle}\n {checkbox}\n {icon}\n {this.props.label}\n </div>\n {this.props.children}\n </div>\n );\n }\n\n private createSubComponentTestId(subId: string): string | undefined {\n if (!this.props[\"data-testid\"])\n return undefined;\n return `${this.props[\"data-testid\"]}-${subId}`;\n }\n\n private _onCheckboxChange = (checked: boolean) => {\n if (this.props.checkboxProps && this.props.checkboxProps.onClick && !this.props.checkboxProps.isDisabled)\n this.props.checkboxProps.onClick(checked ? CheckBoxState.On : CheckBoxState.Off);\n };\n\n private _onCheckboxClick = (e: React.MouseEvent) => {\n e.stopPropagation();\n };\n\n private _onClickExpansionToggle = (e: React.MouseEvent<HTMLDivElement>) => {\n e.stopPropagation();\n if (this.props.onClickExpansionToggle)\n this.props.onClickExpansionToggle();\n };\n\n private _onClick = (e: React.MouseEvent<HTMLDivElement>) => {\n e.stopPropagation();\n if (this.props.onClick)\n this.props.onClick(e);\n };\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.d.ts","sourceRoot":"","sources":["../../../src/core-react/tree/Placeholder.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,oBAAoB,CAAC;AAE5B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,aAAa,CAAC,wBAAwB,CAAC;IACpE,MAAM;CAiBvB"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Tree
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.TreeNodePlaceholder = void 0;
11
- require("./Placeholder.scss");
12
- const classnames_1 = require("classnames");
13
- const React = require("react");
14
- const Node_1 = require("./Node");
15
- /**
16
- * Presentation React component for a placeholder to be displayed instead of a node while it's being loaded
17
- * @public
18
- */
19
- class TreeNodePlaceholder extends React.PureComponent {
20
- render() {
21
- const className = (0, classnames_1.default)("core-tree-placeholder", this.props.className);
22
- const offset = this.props.level * Node_1.LEVEL_OFFSET;
23
- const min = (this.props.minWidth || 50);
24
- const max = (this.props.maxWidth || 200);
25
- const width = Math.floor(min + Math.random() * (max - min));
26
- const style = Object.assign(Object.assign({}, this.props.style), { paddingLeft: `${offset}px` });
27
- return (React.createElement("div", { className: className, style: style, "data-testid": this.props["data-testid"] },
28
- React.createElement("div", { className: "contents", style: { width: `${width}px` } })));
29
- }
30
- }
31
- exports.TreeNodePlaceholder = TreeNodePlaceholder;
32
- //# sourceMappingURL=Placeholder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/core-react/tree/Placeholder.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,8BAA4B;AAC5B,2CAAoC;AACpC,+BAA+B;AAE/B,iCAAsC;AAYtC;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,KAAK,CAAC,aAAuC;IACpE,MAAM;QACpB,MAAM,SAAS,GAAG,IAAA,oBAAU,EAAC,uBAAuB,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,mBAAY,CAAC;QAC/C,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QACxC,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,GAAG,CAAC,CAAC;QACzC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC;QAC5D,MAAM,KAAK,mCAAQ,IAAI,CAAC,KAAK,CAAC,KAAK,KAAE,WAAW,EAAE,GAAG,MAAM,IAAI,GAAE,CAAC;QAClE,OAAO,CACL,6BACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,iBACC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;YAEtC,6BAAK,SAAS,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,GAAI,CACxD,CACP,CAAC;IACJ,CAAC;CACF;AAlBD,kDAkBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tree\n */\n\nimport \"./Placeholder.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { CommonProps } from \"../utils/Props\";\nimport { LEVEL_OFFSET } from \"./Node\";\n\n/** Properties for the [[TreeNodePlaceholder]] React component\n * @public\n */\nexport interface TreeNodePlaceholderProps extends CommonProps {\n level: number;\n minWidth?: number;\n maxWidth?: number;\n [\"data-testid\"]?: string;\n}\n\n/**\n * Presentation React component for a placeholder to be displayed instead of a node while it's being loaded\n * @public\n */\nexport class TreeNodePlaceholder extends React.PureComponent<TreeNodePlaceholderProps> {\n public override render() {\n const className = classnames(\"core-tree-placeholder\", this.props.className);\n const offset = this.props.level * LEVEL_OFFSET;\n const min = (this.props.minWidth || 50);\n const max = (this.props.maxWidth || 200);\n const width = Math.floor(min + Math.random() * (max - min));\n const style = { ...this.props.style, paddingLeft: `${offset}px` };\n return (\n <div\n className={className}\n style={style}\n data-testid={this.props[\"data-testid\"]}\n >\n <div className=\"contents\" style={{ width: `${width}px` }} />\n </div>\n );\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/core-react/tree/Tree.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACtD,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACvD,OAAO,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;CACtD;AAED;;GAEG;AACH,qBAAa,IAAK,SAAQ,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC;IACtD,OAAO,CAAC,YAAY,CAAsD;IAE1E,OAAO,KAAK,oBAAoB,GAe/B;IAEM,eAAe,CAAC,OAAO,EAAE,OAAO;IAwChC,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,EAAE;IAWpD,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAarC,MAAM;CAqBvB"}
@@ -1 +0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,EACpB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAC3B,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,CAAC,CAAC,IAEX,IAAI,CAAC,KAAK,CAAC,QAAQ,CAChB,CACP,CAAC;IACJ,CAAC;CACF;AAzGD,oBAyGC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tree\n */\n\nimport \"./Tree.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { CommonProps } from \"../utils/Props\";\nimport { Rectangle } from \"../utils/Rectangle\";\n\n/** Properties for the [[Tree]] presentational React component\n * @public\n */\nexport interface TreeProps extends CommonProps {\n children?: React.ReactNode;\n onMouseDown?: React.MouseEventHandler<HTMLDivElement>;\n onMouseMove?: React.MouseEventHandler<HTMLDivElement>;\n onMouseUp?: React.MouseEventHandler<HTMLDivElement>;\n onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;\n onKeyUp?: React.KeyboardEventHandler<HTMLDivElement>;\n}\n\n/** Presentation React component for a Tree\n * @public\n */\nexport class Tree extends React.PureComponent<TreeProps> {\n private _treeElement: React.RefObject<HTMLDivElement> = React.createRef();\n\n private get _scrollableContainer(): Element | undefined {\n if (!this._treeElement.current)\n return undefined;\n\n const isScrollable = (element: Element) => {\n const style = window.getComputedStyle(element);\n return style.overflow === \"auto\" || style.overflow === \"scroll\"\n || style.overflowY === \"auto\" || style.overflowY === \"scroll\"\n || style.overflowX === \"auto\" || style.overflowX === \"scroll\";\n };\n let scrollableContainer: Element | undefined = this._treeElement.current;\n while (scrollableContainer && !isScrollable(scrollableContainer))\n scrollableContainer = (scrollableContainer.children.length > 0) ? scrollableContainer.children[0] : undefined;\n\n return scrollableContainer;\n }\n\n public scrollToElement(element: Element) {\n const container = this._scrollableContainer;\n if (!container)\n return;\n\n // istanbul ignore next\n if (!Element.prototype.scrollTo) { // eslint-disable-line @typescript-eslint/unbound-method\n // workaround for Edge scrollTo issue https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/15534521/\n element.scrollIntoView();\n return;\n }\n\n const elementBox = element.getBoundingClientRect();\n const elementRange = Rectangle.createXYXY(elementBox.left, elementBox.top, elementBox.right, elementBox.bottom);\n const containerBox = container.getBoundingClientRect();\n const containerRange = Rectangle.createXYXY(containerBox.left - container.scrollLeft, containerBox.top - container.scrollTop,\n containerBox.right - container.scrollLeft, containerBox.bottom - container.scrollTop);\n\n let left: number;\n if (container.scrollLeft > 0 && elementRange.right <= containerRange.right) {\n // always attempt to keep horizontal scroll at 0\n left = 0;\n } else if (containerRange.left <= elementRange.left && containerRange.right >= elementRange.right) {\n // already visible - no need to scroll to\n left = container.scrollLeft;\n } else {\n left = elementRange.left - containerRange.left;\n }\n\n let top: number;\n if (containerRange.top <= elementRange.top && containerRange.bottom >= elementRange.bottom) {\n // already visible - no need to scroll to\n top = container.scrollTop;\n } else {\n top = elementRange.top - containerRange.top;\n }\n\n container.scrollTo({ left, top });\n }\n\n public getElementsByClassName(className: string): Element[] {\n if (!this._treeElement.current)\n return [];\n\n const elems = new Array<Element>();\n const collection = this._treeElement.current.getElementsByClassName(className);\n for (let i = 0; i < collection.length; ++i)\n elems.push(collection.item(i)!);\n return elems;\n }\n // istanbul ignore next\n public setFocusByClassName(selector: string): boolean {\n let status = false;\n if (this._treeElement.current) {\n const element = this._treeElement.current.querySelector(selector) as HTMLElement;\n // istanbul ignore else\n if (element && element.focus) {\n element.focus();\n status = true;\n }\n }\n return status;\n }\n\n public override render() {\n const className = classnames(\n \"core-tree\",\n this.props.className);\n\n return (\n <div ref={this._treeElement}\n className={className}\n style={this.props.style}\n onMouseDown={this.props.onMouseDown}\n onMouseMove={this.props.onMouseMove}\n onMouseUp={this.props.onMouseUp}\n onKeyDown={this.props.onKeyDown}\n onKeyUp={this.props.onKeyUp}\n role=\"tree\"\n tabIndex={-1}\n >\n {this.props.children}\n </div>\n );\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocalSettingsStorage.d.ts","sourceRoot":"","sources":["../../../src/core-react/uisettings/LocalSettingsStorage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAoB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE5F;;;GAGG;AACH,qBAAa,oBAAqB,YAAW,iBAAiB;IAEzC,CAAC,EAAE,MAAM;gBAAT,CAAC,GAAE,MAAe;IAExB,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQpF,WAAW,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAKnG,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQ3E,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAQrG;AAED;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,oBAAoB;gBAC3C,CAAC,GAAE,MAAe;CAC/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocalSettingsStorage.js","sourceRoot":"","sources":["../../../src/core-react/uisettings/LocalSettingsStorage.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;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AI,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,OAAO,KAAK,IAAI;YAClB,OAAO,EAAE,MAAM,EAAE,oCAAgB,CAAC,QAAQ,EAAE,CAAC;QAC/C,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACrC,OAAO,EAAE,MAAM,EAAE,oCAAgB,CAAC,OAAO,EAAE,CAAC;IAC9C,CAAC;CACF;AAjCD,oDAiCC;AAED;;;GAGG;AACH,MAAa,eAAgB,SAAQ,oBAAoB;IACvD,YAAY,IAAY,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9C;AAFD,0CAEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module UiSettings\n */\n\nimport { UiSettingsResult, UiSettingsStatus, UiSettingsStorage } from \"./UiSettingsStorage\";\n\n/**\n * Implementation of [[UiSettingsStorage]] using Window.localStorage.\n * @public\n */\nexport class LocalSettingsStorage implements UiSettingsStorage {\n\n constructor(public w: Window = window) { }\n\n public async getSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult> {\n const setting = this.w.localStorage.getItem(`${settingNamespace}.${settingName}`);\n if (setting !== null)\n return { status: UiSettingsStatus.Success, setting: JSON.parse(setting) };\n else\n return { status: UiSettingsStatus.NotFound };\n }\n\n public async saveSetting(settingNamespace: string, settingName: string, setting: any): Promise<UiSettingsResult> {\n this.w.localStorage.setItem(`${settingNamespace}.${settingName}`, JSON.stringify(setting));\n return { status: UiSettingsStatus.Success };\n }\n\n public async hasSetting(settingNamespace: string, settingName: string): Promise<boolean> {\n const name = `${settingNamespace}.${settingName}`;\n const setting = this.w.localStorage.getItem(name);\n if (setting === null)\n return false;\n return true;\n }\n\n public async deleteSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult> {\n const name = `${settingNamespace}.${settingName}`;\n const setting = this.w.localStorage.getItem(name);\n if (setting === null)\n return { status: UiSettingsStatus.NotFound };\n this.w.localStorage.removeItem(name);\n return { status: UiSettingsStatus.Success };\n }\n}\n\n/** Alias for [[LocalSettingsStorage]]\n * @beta\n * @deprecated use [LocalSettingsStorage]($core-react) instead\n */\nexport class LocalUiSettings extends LocalSettingsStorage {\n constructor(w: Window = window) { super(w); }\n}\n\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionSettingsStorage.d.ts","sourceRoot":"","sources":["../../../src/core-react/uisettings/SessionSettingsStorage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAoB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE5F;;;GAGG;AACH,qBAAa,sBAAuB,YAAW,iBAAiB;IAE3C,CAAC,EAAE,MAAM;gBAAT,CAAC,GAAE,MAAe;IAExB,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQpF,WAAW,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAKnG,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IASvF,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAQzF;AAED;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAAsB;gBAC/C,CAAC,GAAE,MAAe;CAC/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionSettingsStorage.js","sourceRoot":"","sources":["../../../src/core-react/uisettings/SessionSettingsStorage.ts"],"names":[],"mappings":";AAA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AgB,CAAC,OAAO,EAAE,CAAC;IAC9C,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,gBAAwB,EAAE,WAAmB;QACnE,MAAM,IAAI,GAAG,GAAG,gBAAgB,IAAI,WAAW,EAAE,CAAC;QAClD,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,OAAO,KAAK,IAAI;YAClB,OAAO,KAAK,CAAC;QACf,OAAO,IAAI,CAAC;IACd,CAAC;CAEF;AAlCD,wDAkCC;AAED;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,sBAAsB;IAC3D,YAAY,IAAY,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9C;AAFD,8CAEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module UiSettings\n */\n\nimport { UiSettingsResult, UiSettingsStatus, UiSettingsStorage } from \"./UiSettingsStorage\";\n\n/**\n * Implementation of [[UiSettings]] using Window.sessionStorage.\n * @public\n */\nexport class SessionSettingsStorage implements UiSettingsStorage {\n\n constructor(public w: Window = window) { }\n\n public async getSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult> {\n const setting = this.w.sessionStorage.getItem(`${settingNamespace}.${settingName}`);\n if (setting !== null)\n return { status: UiSettingsStatus.Success, setting: JSON.parse(setting) };\n else\n return { status: UiSettingsStatus.NotFound };\n }\n\n public async saveSetting(settingNamespace: string, settingName: string, setting: any): Promise<UiSettingsResult> {\n this.w.sessionStorage.setItem(`${settingNamespace}.${settingName}`, JSON.stringify(setting));\n return { status: UiSettingsStatus.Success };\n }\n\n public async deleteSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult> {\n const name = `${settingNamespace}.${settingName}`;\n const setting = this.w.sessionStorage.getItem(name);\n if (setting === null)\n return { status: UiSettingsStatus.NotFound };\n this.w.sessionStorage.removeItem(name);\n return { status: UiSettingsStatus.Success };\n }\n\n public async hasSetting(settingNamespace: string, settingName: string): Promise<boolean> {\n const name = `${settingNamespace}.${settingName}`;\n const setting = this.w.sessionStorage.getItem(name);\n if (setting === null)\n return false;\n return true;\n }\n\n}\n\n/** Alias for [[SessionSettingsStorage]]\n * @beta\n * @deprecated use [SessionSettingsStorage]($core-react) instead\n */\nexport class SessionUiSettings extends SessionSettingsStorage {\n constructor(w: Window = window) { super(w); }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiSetting.d.ts","sourceRoot":"","sources":["../../../src/core-react/uisettings/UiSetting.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAoB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE5F;;GAEG;AACH,qBAAa,SAAS,CAAC,CAAC;IAQI,gBAAgB,EAAE,MAAM;IAAS,WAAW,EAAE,MAAM;IAAS,QAAQ,EAAE,MAAM,CAAC;IAAS,UAAU,CAAC,OAAM,CAAC,KAAK,IAAI;IAAS,YAAY,CAAC;IAPlK;;;;;;OAMG;gBACuB,gBAAgB,EAAE,MAAM,EAAS,WAAW,EAAE,MAAM,EAAS,QAAQ,EAAE,MAAM,CAAC,EAAS,UAAU,CAAC,OAAM,CAAC,KAAK,IAAI,aAAA,EAAS,YAAY,CAAC,eAAG;IAGrK,kDAAkD;IACrC,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI9E,yEAAyE;IAC5D,WAAW,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI/E,0CAA0C;IAC7B,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIjF,6FAA6F;IAChF,uBAAuB,CAAC,OAAO,EAAE,iBAAiB,GAAG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UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;aACjC;iBAAM,IAAI,SAAS,KAAK,IAAI,CAAC,YAAY,EAAE;gBAC1C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;gBACnC,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC;gBACnC,MAAM,CAAC,MAAM,GAAG,oCAAgB,CAAC,OAAO,CAAC;aAC1C;YACD,OAAO,MAAM,CAAC;SACf;QACD,OAAO,EAAE,MAAM,EAAE,oCAAgB,CAAC,aAAa,EAAE,CAAC;IACpD,CAAC;CACF;AAzCD,8BAyCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module UiSettings\n */\n\nimport { UiSettingsResult, UiSettingsStatus, UiSettingsStorage } from \"./UiSettingsStorage\";\n\n/** A Ui Setting with namespace and setting name.\n * @public\n */\nexport class UiSetting<T> {\n /** Constructor\n * @param settingNamespace Namespace for the setting, passed to UiSettings.\n * @param settingName Name for the setting, passed to UiSettings.\n * @param getValue Function for getting the value from the application.\n * @param applyValue Function for applying the setting value to the application.\n * @param defaultValue Optional default value if not already stored.\n */\n public constructor(public settingNamespace: string, public settingName: string, public getValue: () => T, public applyValue?: (v: T) => void, public defaultValue?: T) {\n }\n\n /** Gets the setting from [[UiSettingsStorage]] */\n public async getSetting(storage: UiSettingsStorage): Promise<UiSettingsResult> {\n return storage.getSetting(this.settingNamespace, this.settingName);\n }\n\n /** Saves the setting value from the `getValue` function to UiSettings */\n public async saveSetting(storage: UiSettingsStorage): Promise<UiSettingsResult> {\n return storage.saveSetting(this.settingNamespace, this.settingName, this.getValue());\n }\n\n /** Deletes the setting from UiSettings */\n public async deleteSetting(storage: UiSettingsStorage): Promise<UiSettingsResult> {\n return storage.deleteSetting(this.settingNamespace, this.settingName);\n }\n\n /** Gets the setting from UiSettings and applies the value using the `applyValue` function */\n public async getSettingAndApplyValue(storage: UiSettingsStorage): Promise<UiSettingsResult> {\n if (this.applyValue) {\n const result = await this.getSetting(storage);\n if (result.status === UiSettingsStatus.Success) {\n this.applyValue(result.setting);\n } else if (undefined !== this.defaultValue) {\n this.applyValue(this.defaultValue);\n result.setting = this.defaultValue;\n result.status = UiSettingsStatus.Success;\n }\n return result;\n }\n return { status: UiSettingsStatus.Uninitialized };\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiSettingsStorage.d.ts","sourceRoot":"","sources":["../../../src/core-react/uisettings/UiSettingsStorage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACrF,WAAW,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACpG,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACzF;AAED;;GAEG;AACH,oBAAY,UAAU,GAAG,iBAAiB,CAAC;AAE3C;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,YAAY,IAAI;IAChB,aAAa,IAAI;IACjB,kBAAkB,IAAI;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiSettingsStorage.js","sourceRoot":"","sources":["../../../src/core-react/uisettings/UiSettingsStorage.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAgBH;;GAEG;AACH,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,6DAAW,CAAA;IACX,+DAAY,CAAA;IACZ,uEAAgB,CAAA;IAChB,yEAAiB,CAAA;IACjB,mFAAsB,CAAA;AACxB,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module UiSettings\n */\n\n/** Interface for getting, saving and deleting settings.\n * @public\n */\nexport interface UiSettingsStorage {\n getSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult>;\n saveSetting(settingNamespace: string, settingName: string, setting: any): Promise<UiSettingsResult>;\n deleteSetting(settingNamespace: string, settingName: string): Promise<UiSettingsResult>;\n}\n\n/** Alias for [[UiSettingsStorage]]\n * @public\n */\nexport type UiSettings = UiSettingsStorage;\n\n/** Enum for [[UiSettingsStorage]] status.\n * @public\n */\nexport enum UiSettingsStatus {\n Success = 0,\n NotFound = 1,\n UnknownError = 2,\n Uninitialized = 3,\n AuthorizationError = 4,\n}\n\n/** Interface for result of accessing setting in [[UiSettingsStorage]].\n * @public\n */\nexport interface UiSettingsResult {\n status: UiSettingsStatus;\n setting?: any;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconHelper.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/IconHelper.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/D;;GAEG;AACH,qBAAa,UAAU;IACrB,WAAkB,YAAY,IAAI,MAAM,CAEvC;IAED;;;OAGG;WACW,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAs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AU,CAAC,YAAY,CAAoB,GAAI,CAAC;YAC1F,OAAO,IAAI,CAAC;SACb;QAED,OAAO,oBAAC,oBAAI,IAAC,QAAQ,EAAE,UAAU,GAAI,CAAC;IACxC,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,WAAW,CAAC,QAA2D,EAAE,YAA+B;QACpH,MAAM,IAAI,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC;QAEnF,IAAI,YAAY,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,UAAU,CAAC,YAAY,EAAE;YAChF,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;SACrD;QAED,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,YAAY,uCAAsB;YACpE,OAAO,IAAI,CAAC;QAEd,OAAO,EAAE,CAAC;IACZ,CAAC;CACF;AAtDD,gCAsDC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\nimport { ConditionalStringValue } from \"@itwin/appui-abstract\";\nimport { Icon } from \"../icons/IconComponent\";\n\n/** Icon Helper Class used to store the data needed to generate an <Icon> for use in any control that shows an icon.\n * @public\n */\nexport class IconHelper {\n public static get reactIconKey(): string {\n return \"#-react-iconspec-node-#\";\n }\n\n /** Returns an <Icon> ReactNode from the many ways an icon can be specified.\n * @param icon abstract icon specification.\n * @param internalData a map that may hold a React.ReactNode stored in an abstract item definition.\n */\n public static getIconReactNode(icon: string | ConditionalStringValue | React.ReactNode, internalData?: Map<string, any>): React.ReactNode {\n // istanbul ignore else\n if (!icon)\n return null;\n\n // istanbul ignore else\n if (React.isValidElement(icon))\n return <Icon iconSpec={icon} />;\n\n // istanbul ignore if\n if (!(icon instanceof ConditionalStringValue) && typeof icon !== \"string\")\n return null;\n\n const iconString = ConditionalStringValue.getValue(icon);\n if (!iconString)\n return null;\n\n // istanbul ignore else\n if (iconString === IconHelper.reactIconKey) {\n // istanbul ignore else\n if (internalData)\n return <Icon iconSpec={internalData.get(IconHelper.reactIconKey) as React.ReactNode} />;\n return null;\n }\n\n return <Icon iconSpec={iconString} />;\n }\n\n /** Returns an icon definition that can be stored in an abstract item definition. If the iconSpec specifies a ReactNode\n * then the react data is stored in the internalData map and the key to the react data is returned.\n * @param iconSpec any supported variations of how an icon can be defined in an abstract item or IconProps.\n * @param internalData a map supplied by the caller to store away react element if React.ReactNode\n */\n public static getIconData(iconSpec: string | ConditionalStringValue | React.ReactNode, internalData?: Map<string, any>): string | ConditionalStringValue {\n const icon = (React.isValidElement(iconSpec)) ? IconHelper.reactIconKey : iconSpec;\n\n if (internalData && typeof icon === \"string\" && icon === IconHelper.reactIconKey) {\n internalData.set(IconHelper.reactIconKey, iconSpec);\n }\n\n if (typeof icon === \"string\" || icon instanceof ConditionalStringValue)\n return icon;\n\n return \"\";\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Point.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD;;GAEG;AACH,qBAAa,KAAM,YAAW,UAAU;aAOH,CAAC;aAAsB,CAAC;IAN3D,yCAAyC;WAC3B,MAAM,CAAC,UAAU,EAAE,UAAU;IAI3C,2BAA2B;gBACQ,CAAC,SAAI,EAAkB,CAAC,SAAI;IAG/D,oDAAoD;IAC7C,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM;IAK/C,oDAAoD;IAC7C,sBAAsB,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM;IAIxD,kCAAk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,CAAC,CAAC;IAC9B,CAAC;IAED,8EAA8E;IACvE,QAAQ,CAAC,MAAc;QAC5B,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;IACrD,CAAC;IAED,qDAAqD;IAC9C,OAAO;QACZ,OAAO;YACL,CAAC,EAAE,IAAI,CAAC,CAAC;YACT,CAAC,EAAE,IAAI,CAAC,CAAC;SACV,CAAC;IACJ,CAAC;CACF;AApED,sBAoEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport { PointProps } from \"@itwin/appui-abstract\";\n\n/** Describes and provides methods to work with 2d points.\n * @internal\n */\nexport class Point implements PointProps {\n /** Creates point from [[PointProps]]. */\n public static create(pointProps: PointProps) {\n return new Point(pointProps.x, pointProps.y);\n }\n\n /** Creates a new point. */\n public constructor(public readonly x = 0, public readonly y = 0) {\n }\n\n /** Calculates Euclidean distance to other point. */\n public getDistanceTo(other: PointProps): number {\n const offset = this.getOffsetTo(other);\n return Math.sqrt(Math.pow(offset.x, 2) + Math.pow(offset.y, 2));\n }\n\n /** Calculates grid-like distance to other point. */\n public getManhattanDistanceTo(other: PointProps): number {\n return Math.abs(this.x - other.x) + Math.abs(this.y - other.y);\n }\n\n /** Gets offset to other point. */\n public getOffsetTo(other: PointProps) {\n return new Point(other.x - this.x, other.y - this.y);\n }\n\n /** @returns New [[Point]] that is offset along the X and Y axes. */\n public offset(offset: PointProps) {\n return new Point(this.x + offset.x, this.y + offset.y);\n }\n\n /** @returns New [[Point]] that is offset along the X axis. */\n public offsetX(offset: number) {\n return new Point(this.x + offset, this.y);\n }\n\n /** @returns New [[Point]] that is offset along the Y axis. */\n public offsetY(offset: number) {\n return new Point(this.x, this.y + offset);\n }\n\n /** @returns True if position of this and other points are equal. */\n public equals(other: PointProps) {\n return other.x === this.x && other.y === this.y;\n }\n\n /** @returns New [[Point]] with modified x value. */\n public setX(x: number) {\n return new Point(x, this.y);\n }\n\n /** @returns New [[Point]] with modified y value. */\n public setY(y: number) {\n return new Point(this.x, y);\n }\n\n /** @returns New [[Point]] with coordinates multiplied by specified factor. */\n public multiply(factor: number) {\n return new Point(this.x * factor, this.y * factor);\n }\n\n /** @returns [[PointProps]] object for this point. */\n public toProps(): PointProps {\n return {\n x: this.x,\n y: this.y,\n };\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PointProps.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/PointProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PointProps.js","sourceRoot":"","sources":["../../../src/core-react/utils/PointProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/** Describes 2d points.\n * @public\n * @deprecated Use [PointProps]($appui-abstract) instead\n */\nexport interface PointProps {\n readonly x: number;\n readonly y: number;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Props.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,kCAAkC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,gHAAgH;IAChH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,EAAE,WAAW;CAAI;AAEhG;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,oBAAY,gBAAgB,CAAC,CAAC,SAAS;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,IAAI,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Props.js","sourceRoot":"","sources":["../../../src/core-react/utils/Props.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\nimport { Omit } from \"./typeUtils\";\n\n/** Props used by components that expect class name to be passed in.\n * @public\n */\nexport interface ClassNameProps {\n /** Custom CSS class name */\n className?: string;\n}\n\n/** Common props used by components.\n * @public\n */\nexport interface CommonProps extends ClassNameProps {\n /** Custom CSS style properties */\n style?: React.CSSProperties;\n /** Optional unique identifier for item. If defined it will be added to DOM Element attribute as data-item-id */\n itemId?: string;\n}\n\n/** Common properties using a div element.\n * @public\n */\nexport interface CommonDivProps extends React.AllHTMLAttributes<HTMLDivElement>, CommonProps { }\n\n/** Props used by components that do not expect children to be passed in.\n * @public\n */\nexport interface NoChildrenProps {\n children?: undefined;\n}\n\n/** Omit children property from T.\n * @public\n */\nexport type OmitChildrenProp<T extends { children?: React.ReactNode }> = Omit<T, \"children\">;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rectangle.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Rectangle.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGzC;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,oBAAY,MAAM;IAChB,OAAO,IAAA;IACP,QAAQ,IAAA;IACR,WAAW,IAAA;IACX,UAAU,IAAA;CACX;AAED;;GAEG;AACH,qBAAa,SAAU,YAAW,cAAc;aAmBX,IAAI;aAAsB,GAAG;aAAsB,KAAK;aAAsB,MAAM;IAlBvH,iDAAiD;WACnC,MAAM,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;IAItD,4CAA4C;WAC9B,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS;IAIxD,sHAAsH;WACxG,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,SAAS;IAMnF,+CAA+C;gBACZ,IAAI,SAAI,EAAkB,GAAG,SAAI,EAAkB,KAAK,SAAI,EAAkB,MAAM,SAAI;IAG3H,uCAAuC;IAChC,OAAO,IAAI,IAAI;IAMtB,wCAAwC;IACjC,QAAQ,IAA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AAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CAAC;IACJ,CAAC;CACF;AAjRD,8BAiRC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport { PointProps } from \"@itwin/appui-abstract\";\nimport { Point } from \"./Point\";\nimport { Size, SizeProps } from \"./Size\";\nimport { UiGeometry } from \"./UiGeometry\";\n\n/** Describes 2d bounds.\n * @public\n */\nexport interface RectangleProps {\n readonly left: number;\n readonly top: number;\n readonly right: number;\n readonly bottom: number;\n}\n\n/** Available corners of [[Rectangle]].\n * @internal\n */\nexport enum Corner {\n TopLeft,\n TopRight,\n BottomRight,\n BottomLeft,\n}\n\n/** Describes and provides methods to work with 2d bounds.\n * @internal\n */\nexport class Rectangle implements RectangleProps {\n /** Creates rectangle from [[RectangleProps]]. */\n public static create(props: RectangleProps): Rectangle {\n return new Rectangle(props.left, props.top, props.right, props.bottom);\n }\n\n /** Creates rectangle from [[SizeProps]]. */\n public static createFromSize(size: SizeProps): Rectangle {\n return new Rectangle(0, 0, size.width, size.height);\n }\n\n /** Create a rectangle with 2 pairs of xy candidates. Theses are compared and shuffled as needed for the rectangle. */\n public static createXYXY(xA: number, yA: number, xB: number, yB: number): Rectangle {\n return new Rectangle(\n Math.min(xA, xB), Math.min(yA, yB),\n Math.max(xA, xB), Math.max(yA, yB));\n }\n\n /** Creates rectangle with specified bounds. */\n public constructor(public readonly left = 0, public readonly top = 0, public readonly right = 0, public readonly bottom = 0) {\n }\n\n /** @returns Size of this rectangle. */\n public getSize(): Size {\n const width = this.getWidth();\n const height = this.getHeight();\n return new Size(width, height);\n }\n\n /** @returns Width of this rectangle. */\n public getWidth(): number {\n return this.right - this.left;\n }\n\n /** @returns Height of this rectangle. */\n public getHeight(): number {\n return this.bottom - this.top;\n }\n\n /** @returns Position of specified corner. */\n public getCorner(corner: Corner): Point {\n switch (corner) {\n case Corner.TopLeft: {\n return this.topLeft();\n }\n case Corner.TopRight: {\n return new Point(this.right, this.top);\n }\n case Corner.BottomLeft: {\n return new Point(this.left, this.bottom);\n }\n case Corner.BottomRight: {\n return new Point(this.right, this.bottom);\n }\n }\n }\n\n /**\n * Inset the bounds of this rectangle.\n * @note Negative arguments will increase the size of rectangle.\n * @returns New [[Rectangle]] with modified bounds.\n */\n public inset(left: number, top: number, right: number, bottom: number): Rectangle {\n return new Rectangle(this.left + left, this.top + top, this.right - right, this.bottom - bottom);\n }\n\n /**\n * Offsets the rectangle along the X and Y axes.\n * @returns New [[Rectangle]] with modified position.\n */\n public offset(offset: PointProps): Rectangle {\n return new Rectangle(this.left + offset.x, this.top + offset.y, this.right + offset.x, this.bottom + offset.y);\n }\n\n /**\n * Offsets the rectangle along the X axis.\n * @returns New [[Rectangle]] with modified position along X axis.\n */\n public offsetX(offset: number): Rectangle {\n return new Rectangle(this.left + offset, this.top, this.right + offset, this.bottom);\n }\n\n /**\n * Offsets the rectangle along the Y axis.\n * @returns New [[Rectangle]] with modified position along Y axis.\n */\n public offsetY(offset: number): Rectangle {\n return new Rectangle(this.left, this.top + offset, this.right, this.bottom + offset);\n }\n\n /**\n * Moves the top left corner of rectangle to specified point.\n * @returns New [[Rectangle]] with modified position.\n */\n public setPosition(position: PointProps): Rectangle {\n return new Rectangle(position.x, position.y, position.x + this.getWidth(), position.y + this.getHeight());\n }\n\n /**\n * Sets the height of the rectangle.\n * @note Only [[Edge.Bottom]] is subject to change.\n * @returns New [[Rectangle]] with modified height.\n */\n public setHeight(height: number): Rectangle {\n return new Rectangle(this.left, this.top, this.right, this.top + height);\n }\n\n /**\n * Sets the width of the rectangle.\n * @note Only [[Edge.Right]] is subject to change.\n * @returns New [[Rectangle]] with modified width.\n */\n public setWidth(width: number): Rectangle {\n return new Rectangle(this.left, this.top, this.left + width, this.bottom);\n }\n\n /**\n * Sets the height and width of the rectangle.\n * @note Only [[Edge.Bottom]] and [[Edge.Right]] are subjects to change.\n * @returns New [[Rectangle]] with modified height.\n */\n public setSize(size: SizeProps): Rectangle {\n return new Rectangle(this.left, this.top, this.left + size.width, this.top + size.height);\n }\n\n /** Checks if bounds of two rectangles match. */\n public equals(other: RectangleProps): boolean {\n if (this.left === other.left &&\n this.top === other.top &&\n this.right === other.right &&\n this.bottom === other.bottom)\n return true;\n\n return false;\n }\n\n /**\n * Checks if point is within bounds of the rectangle.\n * @note Inclusive.\n */\n public containsPoint(point: PointProps): boolean {\n return point.x >= this.left && point.x <= this.right && point.y >= this.top && point.y <= this.bottom;\n }\n\n /**\n * Checks if a point given as x,y is within the rectangle.\n * @note Inclusive.\n */\n public containsXY(x: number, y: number): boolean {\n return this.containsPoint({x, y});\n }\n\n /**\n * @returns true if this rectangle contains other rectangle.\n * @note Inclusive.\n */\n public contains(other: RectangleProps): boolean {\n return other.left >= this.left && other.right <= this.right && other.top >= this.top && other.bottom <= this.bottom;\n }\n\n /** @returns New [[Rectangle]] which is contained in other rectangle. */\n public containIn(other: RectangleProps): Rectangle {\n let contained: Rectangle = this.containVerticallyIn(other);\n contained = contained.containHorizontallyIn(other);\n return contained;\n }\n\n /** @returns New [[Rectangle]] which is vertically contained in other rectangle. */\n public containVerticallyIn(other: RectangleProps): Rectangle {\n const contained = this.offsetY(Math.min(other.bottom - this.bottom, 0));\n return contained.offsetY(Math.max(other.top - contained.top, 0));\n }\n\n /** @returns New [[Rectangle]] which is horizontally contained in other rectangle. */\n public containHorizontallyIn(other: RectangleProps): Rectangle {\n const contained = this.offsetX(Math.min(other.right - this.right, 0));\n return contained.offsetX(Math.max(other.left - contained.left, 0));\n }\n\n /** @returns [[Corner.TopLeft]] position of this rectangle. */\n public topLeft(): Point {\n return new Point(this.left, this.top);\n }\n\n /** @returns Center point position of this rectangle. */\n public center(): Point {\n const x = this.left + (this.right - this.left) / 2;\n const y = this.top + (this.bottom - this.top) / 2;\n return new Point(x, y);\n }\n\n /** @returns true if this rectangle intersects other rectangle. */\n public intersects(other: RectangleProps): boolean {\n return this.left < other.right && this.right > other.left &&\n this.top < other.bottom && this.bottom > other.top;\n }\n\n /**\n * Merges outer edges of this and other rectangles.\n * @returns New [[Rectangle]] with merged bounds.\n */\n public outerMergeWith(other: RectangleProps): Rectangle {\n const left = Math.min(this.left, other.left);\n const top = Math.min(this.top, other.top);\n const right = Math.max(this.right, other.right);\n const bottom = Math.max(this.bottom, other.bottom);\n return new Rectangle(left, top, right, bottom);\n }\n\n /**\n * Vertically divides this rectangle into specified number of equal height segments.\n * @returns Vertical rectangle segment.\n */\n public getVerticalSegmentBounds(segmentId: number, numberOfSegments: number): Rectangle {\n const segmentHeight = this.getHeight() / numberOfSegments;\n\n const top = segmentId * segmentHeight;\n return this.inset(0, top, 0, 0).setHeight(segmentHeight);\n }\n\n /**\n * Horizontally divides this rectangle into specified number of equal width segments.\n * @returns Horizontal rectangle segment.\n */\n public getHorizontalSegmentBounds(segmentId: number, numberOfSegments: number): Rectangle {\n const segmentWidth = this.getWidth() / numberOfSegments;\n\n const left = segmentId * segmentWidth;\n return this.inset(left, 0, 0, 0).setWidth(segmentWidth);\n }\n\n /**\n * Calculates the shortest distance between this rectangle and a given point.\n * @returns The shortest distance to a point.\n */\n public getShortestDistanceToPoint(point: PointProps): number {\n let shortestDistance = 0;\n\n if (point.x < this.left) {\n if (point.y < this.top)\n shortestDistance = UiGeometry.hypotenuseXY(this.left - point.x, this.top - point.y);\n else if (point.y <= this.bottom)\n shortestDistance = this.left - point.x;\n else\n shortestDistance = UiGeometry.hypotenuseXY(this.left - point.x, this.bottom - point.y);\n } else if (point.x <= this.right) {\n if (point.y < this.top)\n shortestDistance = this.top - point.y;\n else if (point.y <= this.bottom)\n shortestDistance = 0;\n else\n shortestDistance = point.y - this.bottom;\n } else {\n if (point.y < this.top)\n shortestDistance = UiGeometry.hypotenuseXY(this.right - point.x, this.top - point.y);\n else if (point.y <= this.bottom)\n shortestDistance = point.x - this.right;\n else\n shortestDistance = UiGeometry.hypotenuseXY(this.right - point.x, this.bottom - point.y);\n }\n\n return shortestDistance;\n }\n\n /** @returns [[RectangleProps]] object for this rectangle. */\n public toProps(): RectangleProps {\n return {\n bottom: this.bottom,\n left: this.left,\n right: this.right,\n top: this.top,\n };\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollPositionMaintainer.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/ScrollPositionMaintainer.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,qBAAa,wBAAyB,YAAW,WAAW;IAC1D,OAAO,CAAC,QAAQ,CAAuB;gBACpB,EAAE,EAAE,OAAO;IAIvB,OAAO;IACd,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAUlC,OAAO,CAAC,MAAM,CAAC,sBAAsB;CAGtC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollPositionMaintainer.js","sourceRoot":"","sources":["../../../src/core-react/utils/ScrollPositionMaintainer.ts"],"names":[],"mappings":";;;AASA;;;;;;;;;;;GAWG;AACH,MAAa,wBAAwB;IAEnC,YAAmB,EAAW;QAC5B,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;QAC1B,wBAAwB,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpE,CAAC;IACM,OAAO,KAAK,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,mBAAmB,CAAC,KAAiC,EAAE,OAA6B;QACjG,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE;YACtB,uBAAuB;YACvB,IAAI,EAAE,CAAC,SAAS;gBACd,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;YAChC,uBAAuB;YACvB,IAAI,EAAE,CAAC,QAAQ;gBACb,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;SAClD;IACH,CAAC;IACO,MAAM,CAAC,sBAAsB,CAAC,OAA6B;QACjE,OAAO,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC/D,CAAC;CACF;AApBD,4DAoBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\nimport { IDisposable } from \"@itwin/core-bentley\";\n\n/**\n * A helper class to recursively save and restore scroll positions.\n * Usage:\n * ```ts\n * // scroll positions are saved when `ScrollPositionMaintainer` object is created\n * const maintainer = new ScrollPositionMaintainer(element);\n * // can do something with `element` here\n * // disposing the `maintainer` object restores scroll positions\n * maintainer.dispose();\n * ```\n * @public\n */\nexport class ScrollPositionMaintainer implements IDisposable {\n private _storage: Map<Element, number>;\n public constructor(el: Element) {\n this._storage = new Map();\n ScrollPositionMaintainer.saveScrollPositions([el], this._storage);\n }\n public dispose() { ScrollPositionMaintainer.restoreScrollPositions(this._storage); }\n private static saveScrollPositions(elems: Element[] | HTMLCollection, storage: Map<Element, number>) {\n for (const el of elems) {\n // istanbul ignore else\n if (el.scrollTop)\n storage.set(el, el.scrollTop);\n // istanbul ignore else\n if (el.children)\n this.saveScrollPositions(el.children, storage);\n }\n }\n private static restoreScrollPositions(storage: Map<Element, number>) {\n storage.forEach((scrollTop, el) => el.scrollTop = scrollTop);\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Size.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,qBAAa,IAAK,YAAW,SAAS;aAOD,KAAK;aAAsB,MAAM;IANpE,yCAAyC;WAC3B,MAAM,CAAC,IAAI,EAAE,SAAS;IAIpC,gDAAgD;gBACb,KAAK,SAAI,EAAkB,MAAM,SAAI;IAGxE,mDAAmD;IAC5C,MAAM,CAAC,KAAK,EAAE,SAAS;CAM/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Size.js","sourceRoot":"","sources":["../../../src/core-react/utils/Size.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH;;GAEG;AACH,MAAa,IAAI;IAMf,gDAAgD;IAChD,YAAmC,QAAQ,CAAC,EAAkB,SAAS,CAAC;QAArC,UAAK,GAAL,KAAK,CAAI;QAAkB,WAAM,GAAN,MAAM,CAAI;IACxE,CAAC;IAPD,yCAAyC;IAClC,MAAM,CAAC,MAAM,CAAC,IAAe;QAClC,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3C,CAAC;IAMD,mDAAmD;IAC5C,MAAM,CAAC,KAAgB;QAC5B,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK;YAC5B,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;YAC5B,OAAO,IAAI,CAAC;QACd,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAjBD,oBAiBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/** Describes 2d dimensions.\n * @public\n */\nexport interface SizeProps {\n readonly width: number;\n readonly height: number;\n}\n\n/** Describes and provides methods to work with 2d dimensions.\n * @internal\n */\nexport class Size implements SizeProps {\n /** Creates a size from [[SizeProps]]. */\n public static create(size: SizeProps) {\n return new Size(size.width, size.height);\n }\n\n /** Creates a size with specified dimensions. */\n public constructor(public readonly width = 0, public readonly height = 0) {\n }\n\n /** Checks if dimensions of two sizes are equal. */\n public equals(other: SizeProps) {\n if (this.width === other.width &&\n this.height === other.height)\n return true;\n return false;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Timer.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Timer.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,oBAAY,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;AAElD;;GAEG;AACH,qBAAa,KAAK;IAChB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,UAAU,CAA6B;IAE/C;;;OAGG;gBACgB,OAAO,EAAE,MAAM;IAIlC,6CAA6C;IAC7C,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,0EAA0E;IAC1E,IAAW,KAAK,IAGK,MAAM,CAD1B;IACD,IAAW,KAAK,CAAC,EAAE,EAAE,MAAM,EAE1B;IAED,uDAAuD;IAChD,YAAY,CAAC,SAAS,EAAE,cAAc,GAAG,SAAS;IAIzD,yBAAyB;IAClB,KAAK;IAQZ,wBAAwB;IACjB,IAAI;IAQX,OAAO,CAAC,OAAO;IAKf,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,YAAY;CAGrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Timer.js","sourceRoot":"","sources":["../../../src/core-react/utils/Timer.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;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CACF;AA9DD,sBA8DC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/** Signature for [[Timer]] execute callback.\n * @public\n */\nexport type ExecuteHandler = (this: void) => void;\n\n/** Notifies handler after a set interval.\n * @public\n */\nexport class Timer {\n private _delay: number;\n private _isRunning = false;\n private _timerId = 0;\n private _onExecute: ExecuteHandler | undefined;\n\n /**\n * Creates a new Timer.\n * @param msDelay Time interval in milliseconds after which handler will be notified.\n */\n public constructor(msDelay: number) {\n this._delay = msDelay;\n }\n\n /** Indicates whether the timer is running */\n public get isRunning(): boolean {\n return this._isRunning;\n }\n\n /** Time interval in milliseconds after which handler will be notified. */\n public get delay() {\n return this._delay;\n }\n public set delay(ms: number) {\n this._delay = ms;\n }\n\n /** Set handler that is called after a set interval. */\n public setOnExecute(onExecute: ExecuteHandler | undefined) {\n this._onExecute = onExecute;\n }\n\n /** Starts this Timer. */\n public start() {\n if (this._isRunning)\n this.clearTimeout();\n\n this._isRunning = true;\n this.setTimeout();\n }\n\n /** Stops this Timer. */\n public stop() {\n if (!this._isRunning)\n return;\n\n this._isRunning = false;\n this.clearTimeout();\n }\n\n private execute() {\n this._onExecute && this._onExecute();\n this._isRunning = false;\n }\n\n private setTimeout() {\n this._timerId = window.setTimeout(() => this.execute(), this._delay);\n }\n\n private clearTimeout() {\n window.clearTimeout(this._timerId);\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiEvent.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/UiEvent.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD;;GAEG;AACH,qBAAa,OAAO,CAAC,UAAU,CAAE,SAAQ,SAAS,CAAC,UAAU,CAAC;CAAI"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiEvent.js","sourceRoot":"","sources":["../../../src/core-react/utils/UiEvent.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAgD;AAEhD;;GAEG;AACH,MAAa,OAAoB,SAAQ,wBAAqB;CAAI;AAAlE,0BAAkE","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport { BeUiEvent } from \"@itwin/core-bentley\";\n\n/** iModel.js UI UiEvent class is a subclass of BeEvent with argument type safety.\n * @public\n */\nexport class UiEvent<TEventArgs> extends BeUiEvent<TEventArgs> { }\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiGeometry.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/UiGeometry.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,qBAAa,UAAU;IACrB;;;;;OAKG;WACW,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAEpE;;OAEG;WACW,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM;CACzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UiGeometry.js","sourceRoot":"","sources":["../../../src/core-react/utils/UiGeometry.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH;;;GAGG;AACH,MAAa,UAAU;IACrB;;;;;OAKG;IACI,MAAM,CAAC,KAAK,CAAC,KAAa,EAAE,GAAW,EAAE,GAAW,IAAY,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAEpH;;OAEG;IACI,MAAM,CAAC,YAAY,CAAC,CAAS,EAAE,CAAS,IAAY,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9F;AAbD,gCAaC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/**\n * Class containing static methods for typical numeric operations.\n * @internal\n */\nexport class UiGeometry {\n /**\n * Clamp value to (min,max) with no test for order of (min,max)\n * @param value value to clamp\n * @param min smallest allowed output\n * @param max largest allowed result.\n */\n public static clamp(value: number, min: number, max: number): number { return Math.max(min, Math.min(max, value)); }\n\n /**\n * Return the hypotenuse `sqrt(x*x + y*y)`. This is much faster than `Math.hypot(x,y)`.\n */\n public static hypotenuseXY(x: number, y: number): number { return Math.sqrt(x * x + y * y); }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"flattenChildren.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/flattenChildren.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,eAAe,aAAc,MAAM,SAAS,KAAG,MAAM,SAajE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"flattenChildren.js","sourceRoot":"","sources":["../../../src/core-react/utils/flattenChildren.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B;;GAEG;AACI,MAAM,eAAe,GAAG,CAAC,QAAyB,EAAmB,EAAE;IAC5E,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;QACnD,uBAAuB;QACvB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAiC,KAAK,CAAC;YAC9D,OAAO,KAAK,CAAC;QAEf,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,QAAQ,EAAE;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;SAC7B;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAbW,QAAA,eAAe,mBAa1B","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** Flattens React fragments.\n * @internal\n */\nexport const flattenChildren = (children: React.ReactNode): React.ReactNode => {\n const items = React.Children.map(children, (child) => {\n // istanbul ignore next\n if (!React.isValidElement<{ children?: React.ReactNode }>(child))\n return child;\n\n if (child.type === React.Fragment) {\n return child.props.children;\n }\n\n return child;\n });\n return items;\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBestBWContrastColor.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getBestBWContrastColor.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,qBAMtD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBestBWContrastColor.js","sourceRoot":"","sources":["../../../src/core-react/utils/getBestBWContrastColor.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,uBAAuB;AAEvB;;GAEG;AACH,SAAgB,sBAAsB,CAAC,QAAgB;IACrD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9C,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9C,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9C,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC;IACvD,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AAC1C,CAAC;AAND,wDAMC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n// cspell:ignore RRGGBB\n\n/** Gets best black or white color that contrasts with a given color in #RRGGBB format.\n * @internal\n */\nexport function getBestBWContrastColor(hexColor: string) {\n const r = parseInt(hexColor.substr(1, 2), 16);\n const g = parseInt(hexColor.substr(3, 2), 16);\n const b = parseInt(hexColor.substr(5, 2), 16);\n const yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000;\n return (yiq >= 128) ? \"black\" : \"white\";\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCssVariable.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getCssVariable.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH;;GAEG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,MAAM,CAKtF;AAGD;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,MAAM,CAM9F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCssVariable.js","sourceRoot":"","sources":["../../../src/core-react/utils/getCssVariable.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,0BAA0B;AAC1B;;GAEG;AACH,SAAgB,cAAc,CAAC,YAAoB,EAAE,WAAyB;IAC5E,MAAM,OAAO,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,QAAQ,CAAC,eAAe,CAAC;IACxD,MAAM,SAAS,GAAG,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAClD,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC;AALD,wCAKC;AAED,0BAA0B;AAC1B;;GAEG;AACH,SAAgB,sBAAsB,CAAC,YAAoB,EAAE,WAAyB;IACpF,IAAI,SAAS,GAAW,GAAG,CAAC;IAC5B,MAAM,SAAS,GAAG,cAAc,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC5D,IAAI,SAAS;QACX,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACpC,OAAO,SAAS,CAAC;AACnB,CAAC;AAND,wDAMC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/* istanbul ignore next */\n/** Get CSS variable\n * @public\n */\nexport function getCssVariable(variableName: string, htmlElement?: HTMLElement): string {\n const element = htmlElement ?? document.documentElement;\n const cssStyles = getComputedStyle(element, null);\n const cssVal = String(cssStyles.getPropertyValue(variableName)).trim();\n return cssVal;\n}\n\n/* istanbul ignore next */\n/** Get CSS variable as number\n * @public\n */\nexport function getCssVariableAsNumber(variableName: string, htmlElement?: HTMLElement): number {\n let cssValNum: number = NaN;\n const cssValStr = getCssVariable(variableName, htmlElement);\n if (cssValStr)\n cssValNum = parseFloat(cssValStr);\n return cssValNum;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDisplayName.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getDisplayName.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,cAAc,cAAe,MAAM,aAAa,CAAC,GAAG,CAAC,KAAG,MAMpE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDisplayName.js","sourceRoot":"","sources":["../../../src/core-react/utils/getDisplayName.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH;;GAEG;AACI,MAAM,cAAc,GAAG,CAAC,SAAmC,EAAU,EAAE;IAC5E,IAAI,SAAS,CAAC,WAAW;QACvB,OAAO,SAAS,CAAC,WAAW,CAAC;IAC/B,IAAI,SAAS,CAAC,IAAI;QAChB,OAAO,SAAS,CAAC,IAAI,CAAC;IACxB,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** Gets the display name for a React component.\n * @internal\n */\nexport const getDisplayName = (component: React.ComponentType<any>): string => {\n if (component.displayName)\n return component.displayName;\n if (component.name)\n return component.name;\n return \"Component\";\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getUserColor.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getUserColor.ts"],"names":[],"mappings":"AAIA;;GAEG;AAgBH;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAYlD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getUserColor.js","sourceRoot":"","sources":["../../../src/core-react/utils/getUserColor.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,MAAM,MAAM,GAAG;IACb,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC;AAEF;;GAEG;AACH,SAAgB,YAAY,CAAC,KAAa;IACxC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAG,wBAAwB;QACtD,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;IAEnB,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAE/C,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC3C,MAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC3C,IAAI,GAAG,CAAC,IAAI,GAAG,QAAQ,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC;KAC1C;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC;AAZD,oCAYC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nconst COLORS = [\n \"#6ab9ec\",\n \"#b1c854\",\n \"#f7706c\",\n \"#4585a5\",\n \"#ffc335\",\n \"#f7963e\",\n \"#73c7c1\",\n \"#85a9cf\",\n \"#a3779f\",\n \"#c8c2b4\",\n \"#a47854\",\n];\n\n/** Gets a color based on a given email address. This color is usually displayed in an avatar component.\n * @internal\n */\nexport function getUserColor(email: string): string {\n if (typeof email !== \"string\") // Test for invalid data\n return COLORS[0];\n\n const cleanString = email.trim().toLowerCase();\n\n let hash = 0;\n for (let i = 0; i < cleanString.length; i++) {\n const charCode = cleanString.charCodeAt(i);\n hash = (hash + charCode) % COLORS.length;\n }\n return COLORS[hash];\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResizeObserverPolyfill.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/ResizeObserverPolyfill.tsx"],"names":[],"mappings":"AASA,gBAAgB;AAChB,oBAAY,kBAAkB,GAAG,cAAc,0BAA0B,EAAE,OAAO,CAAC;AASnF,gBAAgB;AAChB,eAAO,MAAM,cAAc,EAAE,kBAAsD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResizeObserverPolyfill.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/ResizeObserverPolyfill.tsx"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,mEAAmE;AAKnE,SAAS,SAAS,CAAC,GAAQ;IACzB,wBAAwB;IACxB,IAAI,GAAG,CAAC,OAAO;QACb,OAAO,GAAG,CAAC,OAAO,CAAC;IACrB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,gBAAgB;AACH,QAAA,cAAc,GAAuB,SAAS,CAAC,sBAAsB,CAAC,CAAC,CAAC,2DAA2D","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\nimport * as ResizeObserverPolyfill from \"resize-observer-polyfill\";\n\n/** @internal */\nexport type ResizeObserverType = typeof import(\"resize-observer-polyfill\").default;\n\nfunction getModule(mod: any) {\n /* istanbul ignore if */\n if (mod.default)\n return mod.default;\n return mod;\n}\n\n/** @internal */\nexport const ResizeObserver: ResizeObserverType = getModule(ResizeObserverPolyfill); // eslint-disable-line @typescript-eslint/naming-convention\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDisposable.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useDisposable.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,WAAW,SAAS,WAAW,EAAE,gBAAgB,EAAE,MAAM,WAAW,GAAG,WAAW,CAE/G;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,SAAS,WAAW,EAAE,gBAAgB,EAAE,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAY/I"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDisposable.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useDisposable.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,iCAAmD;AAGnD;;;;GAIG;AACH,SAAgB,aAAa,CAAkC,gBAAmC;IAChG,OAAO,qBAAqB,CAAC,gBAAgB,CAAE,CAAC;AAClD,CAAC;AAFD,sCAEC;AAED;;;;;GAKG;AACH,SAAgB,qBAAqB,CAAkC,gBAA+C;IACpH,MAAM,QAAQ,GAAG,IAAA,cAAM,GAAe,CAAC;IACvC,MAAM,KAAK,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QACzB,IAAI,QAAQ,CAAC,OAAO;YAClB,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QAE7B,QAAQ,CAAC,OAAO,GAAG,gBAAgB,EAAE,CAAC;QACtC,OAAO,QAAQ,CAAC,OAAO,CAAC;IAC1B,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,IAAA,iBAAS,EAAC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,OAAO,KAAK,CAAC;AACf,CAAC;AAZD,sDAYC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport { useEffect, useMemo, useRef } from \"react\";\nimport { IDisposable } from \"@itwin/core-bentley\";\n\n/**\n * A custom hook which creates a disposable object and manages its disposal on unmount\n * or factory method change.\n * @public\n */\nexport function useDisposable<TDisposable extends IDisposable>(createDisposable: () => TDisposable): TDisposable {\n return useOptionalDisposable(createDisposable)!;\n}\n\n/**\n * A custom hook which calls the factory method to create a disposable object\n * which might as well be undefined. If the result was a disposable object, the\n * hook takes care of disposing it when necessary.\n * @public\n */\nexport function useOptionalDisposable<TDisposable extends IDisposable>(createDisposable: () => TDisposable | undefined): TDisposable | undefined {\n const previous = useRef<TDisposable>();\n const value = useMemo(() => {\n if (previous.current)\n previous.current.dispose();\n\n previous.current = createDisposable();\n return previous.current;\n }, [createDisposable]);\n\n useEffect(() => () => previous.current && previous.current.dispose(), []);\n return value;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEffectSkipFirst.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useEffectSkipFirst.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,QAWxG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEffectSkipFirst.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useEffectSkipFirst.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,iCAA0C;AAE1C;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,QAAwD,EAAE,IAAY;IACvG,MAAM,SAAS,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IAE/B,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,SAAS,CAAC,OAAO,EAAE;YACrB,SAAS,CAAC,OAAO,GAAG,KAAK,CAAC;YAC1B,OAAO;SACR;QAED,OAAO,QAAQ,EAAE,CAAC;IACpB,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,kDAAkD;AAC9D,CAAC;AAXD,gDAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport { useEffect, useRef } from \"react\";\n\n/**\n * Custom hook which works like useEffect hook, but does not invoke callback when effect is triggered for the first time.\n * @public\n */\nexport function useEffectSkipFirst(callback: () => (void | (() => void | undefined)) | void, deps?: any[]) {\n const skipFirst = useRef(true);\n\n useEffect(() => {\n if (skipFirst.current) {\n skipFirst.current = false;\n return;\n }\n\n return callback();\n }, deps); // eslint-disable-line react-hooks/exhaustive-deps\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEventListener.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useEventListener.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,EAC/B,OAAO,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,QA2B5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEventListener.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useEventListener.tsx"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F,+BAA+B;AAE/B;;;;;;;;;GASG;AACH,SAAgB,gBAAgB,CAC9B,SAAiB,EACjB,OAA+B,EAC/B,OAA2C;IAE3C,kEAAkE;IAClE,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,EAA0B,CAAC;IAE5D,uEAAuE;IACvE,+EAA+E;IAC/E,uDAAuD;IACvD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IACjC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO;SACR;QAED,MAAM,aAAa,GAAG,CAAC,KAAY,EAAE,EAAE;YACrC,uBAAuB;YACvB,IAAI,YAAY,CAAC,OAAO;gBACtB,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAChC,CAAC,CAAC;QACF,OAAO,CAAC,gBAAgB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACnD,OAAO,GAAG,EAAE;YACV,OAAO,CAAC,mBAAmB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACxD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3B,CAAC;AA9BD,4CA8BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport * as React from \"react\";\n\n/**\n * Hook that adds and removes Event listeners.\n * @example\n * useEventListener(\n * 'pointerup',\n * handlePointerUp,\n * containerRef.current?.ownerDocument,\n * );\n * @internal\n */\nexport function useEventListener(\n eventName: string,\n handler: (event: Event) => void,\n element: HTMLElement | Document | undefined\n) {\n // Based on published hook https://usehooks.com/useEventListener/.\n const savedHandler = React.useRef<(event: Event) => void>();\n\n // Update reference if handler changes. This allows our effect below to\n // always use latest handler without us needing to pass it in effect deps array\n // and potentially cause effect to re-run every render.\n React.useEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n\n React.useEffect(() => {\n if (!element) {\n return;\n }\n\n const eventListener = (event: Event) => {\n // istanbul ignore else\n if (savedHandler.current)\n savedHandler.current(event);\n };\n element.addEventListener(eventName, eventListener);\n return () => {\n element.removeEventListener(eventName, eventListener);\n };\n }, [eventName, element]);\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLifecycleLogging.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useLifecycleLogging.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAsD1G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLifecycleLogging.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useLifecycleLogging.ts"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F,iCAA0C;AAE1C;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,IAAY,EAAE,KAA0B,EAAE,OAA6B;IACzG,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,sCAAsC;QACtC,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,sBAAsB,CAAC,CAAC;QAEnE,OAAO,GAAG,EAAE;YACV,sCAAsC;YACtC,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,wBAAwB,CAAC,CAAC;QACvE,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,kDAAkD;IAE1D,MAAM,SAAS,GAAG,IAAA,cAAM,EAAC,KAAK,CAAC,CAAC;IAChC,MAAM,WAAW,GAAG,IAAA,cAAM,EAAC,OAAO,CAAC,CAAC;IACpC,MAAM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M,IAAI,WAAW,CAAC,OAAO,KAAK,OAAO,EAAE;YAC1C,sCAAsC;YACtC,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,qBAAqB,EAAE,WAAW,CAAC,CAAC;SAChF;aAAM;YACL,sCAAsC;YACtC,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,0BAA0B,CAAC,CAAC;SACxE;QAED,SAAS,CAAC,OAAO,GAAG,KAAK,CAAC;QAC1B,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC;AAtDD,kDAsDC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { useEffect, useRef } from \"react\";\n\n/**\n * Logs to console information about component lifecycle: mounting, re-rendering and unmounting.\n * @internal\n */\nexport function useLifecycleLogging(name: string, props: Record<string, any>, context?: Record<string, any>) {\n useEffect(() => {\n // eslint-disable-next-line no-console\n console.log(`[useLifecycleLogging]: '${name}' Component mounted.`);\n\n return () => {\n // eslint-disable-next-line no-console\n console.log(`[useLifecycleLogging]: '${name}' Component unmounted.`);\n };\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n const prevProps = useRef(props);\n const prevContext = useRef(context);\n const firstRun = useRef(true);\n useEffect(() => {\n if (firstRun.current) {\n firstRun.current = false;\n return;\n }\n\n function getDiff(prev: Record<string, any>, current: Record<string, any>): Record<string, any> {\n const diff: Record<string, { from: any, to: any }> = {};\n for (const key of Object.keys(current)) {\n if (prev[key] !== current[key]) {\n diff[key] = {\n from: prev[key],\n to: current[key],\n };\n }\n }\n\n return diff;\n }\n\n const propsDiff = getDiff(prevProps.current, props);\n const contextDiff = { from: context === undefined ? context : prevContext.current, to: context };\n\n if (Object.keys(propsDiff).length > 0 && prevContext.current !== context) {\n // eslint-disable-next-line no-console\n console.log(`[useLifecycleLogging]: '${name}' Props and context changed: `, propsDiff, contextDiff);\n } else if (Object.keys(propsDiff).length > 0) {\n // eslint-disable-next-line no-console\n console.log(`[useLifecycleLogging]: '${name}' Props changed: `, propsDiff);\n } else if (prevContext.current !== context) {\n // eslint-disable-next-line no-console\n console.log(`[useLifecycleLogging]: '${name}' Context changed: `, contextDiff);\n } else {\n // eslint-disable-next-line no-console\n console.log(`[useLifecycleLogging]: '${name}' Component re-rendered.`);\n }\n\n prevProps.current = props;\n prevContext.current = context;\n });\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOnOutsideClick.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useOnOutsideClick.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,cAAc;AACd,oBAAY,iBAAiB,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC;AAEvE;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,OAAO,EACjD,cAAc,CAAC,EAAE,MAAM,IAAI;AAC3B,gFAAgF;AAChF,qBAAqB,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,OAAO,sBAoE1D"}