@itwin/core-react 4.17.6 → 5.0.0-dev.3

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 (1530) hide show
  1. package/CHANGELOG.md +1 -33
  2. package/README.md +16 -2
  3. package/lib/cjs/core-react/_helpers.scss +6 -4
  4. package/lib/cjs/core-react/_scrollbar.scss +5 -3
  5. package/lib/cjs/core-react/_typography.scss +4 -4
  6. package/lib/cjs/core-react/_z-index.scss +9 -5
  7. package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +4 -4
  8. package/lib/cjs/core-react/base/base.scss +5 -3
  9. package/lib/cjs/core-react/base/classes.scss +1 -1
  10. package/lib/cjs/core-react/base/index.scss +1 -1
  11. package/lib/cjs/core-react/button/UnderlinedButton.scss +3 -6
  12. package/lib/cjs/core-react/classes.scss +5 -6
  13. package/lib/cjs/core-react/contextmenu/ContextMenu.scss +6 -11
  14. package/lib/cjs/core-react/dialog/Dialog.scss +1 -1
  15. package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +0 -3
  16. package/lib/cjs/core-react/icons/IconComponent.scss +1 -1
  17. package/lib/cjs/core-react/icons/WebFontIcon.scss +0 -2
  18. package/lib/cjs/core-react/icons/classes.scss +1 -1
  19. package/lib/cjs/core-react/icons/index.scss +2 -2
  20. package/lib/cjs/core-react/icons/mixins.scss +11 -9
  21. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +2 -5
  22. package/lib/cjs/core-react/index.scss +12 -14
  23. package/lib/cjs/core-react/inputs/classes.scss +1 -1
  24. package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +1 -2
  25. package/lib/cjs/core-react/inputs/index.scss +4 -4
  26. package/lib/cjs/core-react/inputs/input-label.scss +16 -10
  27. package/lib/cjs/core-react/inputs/input.scss +13 -11
  28. package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +2 -2
  29. package/lib/cjs/core-react/inputs/variables.scss +9 -4
  30. package/lib/cjs/core-react/layout-variables.scss +1 -1
  31. package/lib/cjs/core-react/listbox/Listbox.scss +1 -1
  32. package/lib/cjs/core-react/loading/LoadingBar.scss +2 -4
  33. package/lib/cjs/core-react/loading/LoadingPrompt.scss +0 -4
  34. package/lib/cjs/core-react/loading/LoadingSpinner.scss +0 -2
  35. package/lib/cjs/core-react/loading/index.scss +1 -1
  36. package/lib/cjs/core-react/loading/mixins.scss +3 -3
  37. package/lib/cjs/core-react/messagebox/MessageBox.scss +2 -3
  38. package/lib/cjs/core-react/popup/Popup.scss +1 -2
  39. package/lib/cjs/core-react/radialmenu/RadialMenu.scss +6 -7
  40. package/lib/cjs/core-react/searchbox/SearchBox.scss +0 -2
  41. package/lib/cjs/core-react/settings/SettingsContainer.scss +0 -3
  42. package/lib/cjs/core-react/style/index.scss +6 -6
  43. package/lib/cjs/core-react/tabs/classes.scss +1 -1
  44. package/lib/cjs/core-react/tabs/index.scss +1 -1
  45. package/lib/cjs/core-react/tabs/tabs.scss +10 -7
  46. package/lib/cjs/core-react/tabs/vertical.scss +5 -3
  47. package/lib/cjs/core-react/text/FilteredText.scss +1 -3
  48. package/lib/cjs/core-react/text/classes.scss +1 -1
  49. package/lib/cjs/core-react/text/disabled.scss +1 -3
  50. package/lib/cjs/core-react/text/index.scss +5 -5
  51. package/lib/cjs/core-react/text/mixins.scss +5 -3
  52. package/lib/cjs/core-react/text/muted.scss +1 -3
  53. package/lib/core-react/UiCore.d.ts +38 -0
  54. package/lib/core-react/UiCore.d.ts.map +1 -0
  55. package/lib/core-react/UiCore.js +69 -0
  56. package/lib/core-react/UiCore.js.map +1 -0
  57. package/lib/core-react/_geometry.scss +70 -0
  58. package/lib/core-react/_helpers.scss +54 -0
  59. package/lib/core-react/_math.scss +13 -0
  60. package/lib/core-react/_scrollbar.scss +57 -0
  61. package/lib/core-react/_typography.scss +44 -0
  62. package/lib/core-react/_z-index.scss +51 -0
  63. package/lib/core-react/autosuggest/AutoSuggest.d.ts +99 -0
  64. package/lib/core-react/autosuggest/AutoSuggest.d.ts.map +1 -0
  65. package/lib/core-react/autosuggest/AutoSuggest.js +170 -0
  66. package/lib/core-react/autosuggest/AutoSuggest.js.map +1 -0
  67. package/lib/core-react/autosuggest/AutoSuggest.scss +79 -0
  68. package/lib/core-react/badge/Badge.d.ts +17 -0
  69. package/lib/core-react/badge/Badge.d.ts.map +1 -0
  70. package/lib/core-react/badge/Badge.js +25 -0
  71. package/lib/core-react/badge/Badge.js.map +1 -0
  72. package/lib/core-react/badge/BadgeType.d.ts +19 -0
  73. package/lib/core-react/badge/BadgeType.d.ts.map +1 -0
  74. package/lib/core-react/badge/BadgeType.js +14 -0
  75. package/lib/core-react/badge/BadgeType.js.map +1 -0
  76. package/lib/core-react/badge/DeprecatedBadge.d.ts.map +1 -0
  77. package/lib/core-react/badge/DeprecatedBadge.js.map +1 -0
  78. package/lib/core-react/badge/DeprecatedBadge.scss +11 -0
  79. package/lib/core-react/badge/NewBadge.d.ts.map +1 -0
  80. package/lib/core-react/badge/NewBadge.js.map +1 -0
  81. package/lib/core-react/badge/NewBadge.scss +12 -0
  82. package/lib/core-react/badge/TechnicalPreviewBadge.d.ts.map +1 -0
  83. package/lib/core-react/badge/TechnicalPreviewBadge.js.map +1 -0
  84. package/lib/core-react/badge/TechnicalPreviewBadge.scss +11 -0
  85. package/lib/core-react/base/Centered.d.ts +12 -0
  86. package/lib/core-react/base/Centered.d.ts.map +1 -0
  87. package/lib/core-react/base/Centered.js +20 -0
  88. package/lib/core-react/base/Centered.js.map +1 -0
  89. package/lib/core-react/base/Div.d.ts +19 -0
  90. package/lib/core-react/base/Div.d.ts.map +1 -0
  91. package/lib/core-react/base/Div.js.map +1 -0
  92. package/lib/core-react/base/DivWithOutsideClick.d.ts +77 -0
  93. package/lib/core-react/base/DivWithOutsideClick.d.ts.map +1 -0
  94. package/lib/core-react/base/DivWithOutsideClick.js +17 -0
  95. package/lib/core-react/base/DivWithOutsideClick.js.map +1 -0
  96. package/lib/core-react/base/FillCentered.d.ts +12 -0
  97. package/lib/core-react/base/FillCentered.d.ts.map +1 -0
  98. package/lib/core-react/base/FillCentered.js +20 -0
  99. package/lib/core-react/base/FillCentered.js.map +1 -0
  100. package/lib/core-react/base/FlexWrapContainer.d.ts +13 -0
  101. package/lib/core-react/base/FlexWrapContainer.d.ts.map +1 -0
  102. package/lib/core-react/base/FlexWrapContainer.js +21 -0
  103. package/lib/core-react/base/FlexWrapContainer.js.map +1 -0
  104. package/lib/core-react/base/Gap.d.ts +18 -0
  105. package/lib/core-react/base/Gap.d.ts.map +1 -0
  106. package/lib/core-react/base/Gap.js.map +1 -0
  107. package/lib/core-react/base/PointerEvents.d.ts.map +1 -0
  108. package/lib/core-react/base/PointerEvents.js.map +1 -0
  109. package/lib/core-react/base/ScrollView.d.ts +13 -0
  110. package/lib/core-react/base/ScrollView.d.ts.map +1 -0
  111. package/lib/core-react/base/ScrollView.js +21 -0
  112. package/lib/core-react/base/ScrollView.js.map +1 -0
  113. package/lib/core-react/base/base.scss +44 -0
  114. package/lib/core-react/base/classes.scss +27 -0
  115. package/lib/core-react/base/index.scss +5 -0
  116. package/lib/core-react/button/UnderlinedButton.d.ts.map +1 -0
  117. package/lib/core-react/button/UnderlinedButton.js.map +1 -0
  118. package/lib/core-react/button/UnderlinedButton.scss +29 -0
  119. package/lib/core-react/checklistbox/CheckListBox.d.ts +45 -0
  120. package/lib/core-react/checklistbox/CheckListBox.d.ts.map +1 -0
  121. package/lib/core-react/checklistbox/CheckListBox.js.map +1 -0
  122. package/lib/core-react/checklistbox/CheckListBox.scss +22 -0
  123. package/lib/core-react/classes.scss +9 -0
  124. package/lib/core-react/colorthemes.scss +12 -0
  125. package/lib/core-react/colorvariables.scss +139 -0
  126. package/lib/core-react/contextmenu/ContextMenu.d.ts +91 -0
  127. package/lib/core-react/contextmenu/ContextMenu.d.ts.map +1 -0
  128. package/lib/core-react/contextmenu/ContextMenu.js +362 -0
  129. package/lib/core-react/contextmenu/ContextMenu.js.map +1 -0
  130. package/lib/core-react/contextmenu/ContextMenu.scss +226 -0
  131. package/lib/core-react/contextmenu/ContextMenuDirection.d.ts.map +1 -0
  132. package/lib/core-react/contextmenu/ContextMenuDirection.js.map +1 -0
  133. package/lib/core-react/contextmenu/ContextMenuDivider.d.ts +13 -0
  134. package/lib/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -0
  135. package/lib/core-react/contextmenu/ContextMenuDivider.js.map +1 -0
  136. package/lib/core-react/contextmenu/ContextMenuItem.d.ts +65 -0
  137. package/lib/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -0
  138. package/lib/core-react/contextmenu/ContextMenuItem.js +107 -0
  139. package/lib/core-react/contextmenu/ContextMenuItem.js.map +1 -0
  140. package/lib/core-react/contextmenu/ContextSubMenu.d.ts +51 -0
  141. package/lib/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -0
  142. package/lib/core-react/contextmenu/ContextSubMenu.js +173 -0
  143. package/lib/core-react/contextmenu/ContextSubMenu.js.map +1 -0
  144. package/lib/core-react/contextmenu/GlobalContextMenu.d.ts +36 -0
  145. package/lib/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -0
  146. package/lib/core-react/contextmenu/GlobalContextMenu.js +59 -0
  147. package/lib/core-react/contextmenu/GlobalContextMenu.js.map +1 -0
  148. package/lib/core-react/contextmenu/PopupContextMenu.d.ts +57 -0
  149. package/lib/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -0
  150. package/lib/core-react/contextmenu/PopupContextMenu.js +54 -0
  151. package/lib/core-react/contextmenu/PopupContextMenu.js.map +1 -0
  152. package/lib/core-react/contextmenu/PopupContextMenu.scss +8 -0
  153. package/lib/core-react/contextmenu/TildeFinder.d.ts.map +1 -0
  154. package/lib/core-react/contextmenu/TildeFinder.js.map +1 -0
  155. package/lib/core-react/dialog/Dialog.d.ts +112 -0
  156. package/lib/core-react/dialog/Dialog.d.ts.map +1 -0
  157. package/lib/core-react/dialog/Dialog.js +205 -0
  158. package/lib/core-react/dialog/Dialog.js.map +1 -0
  159. package/lib/core-react/dialog/Dialog.scss +57 -0
  160. package/lib/core-react/dialog/GlobalDialog.d.ts +32 -0
  161. package/lib/core-react/dialog/GlobalDialog.d.ts.map +1 -0
  162. package/lib/core-react/dialog/GlobalDialog.js +57 -0
  163. package/lib/core-react/dialog/GlobalDialog.js.map +1 -0
  164. package/lib/core-react/elementseparator/ElementSeparator.d.ts +44 -0
  165. package/lib/core-react/elementseparator/ElementSeparator.d.ts.map +1 -0
  166. package/lib/core-react/elementseparator/ElementSeparator.js +163 -0
  167. package/lib/core-react/elementseparator/ElementSeparator.js.map +1 -0
  168. package/lib/core-react/elementseparator/ElementSeparator.scss +93 -0
  169. package/lib/core-react/enums/Alignment.d.ts.map +1 -0
  170. package/lib/core-react/enums/Alignment.js.map +1 -0
  171. package/lib/core-react/enums/CheckBoxState.d.ts.map +1 -0
  172. package/lib/core-react/enums/CheckBoxState.js.map +1 -0
  173. package/lib/core-react/enums/Orientation.d.ts.map +1 -0
  174. package/lib/core-react/enums/Orientation.js.map +1 -0
  175. package/lib/core-react/enums/SortDirection.d.ts.map +1 -0
  176. package/lib/core-react/enums/SortDirection.js.map +1 -0
  177. package/lib/core-react/enums/TimeFormat.d.ts.map +1 -0
  178. package/lib/core-react/enums/TimeFormat.js.map +1 -0
  179. package/lib/core-react/expandable/ExpandableList.d.ts +37 -0
  180. package/lib/core-react/expandable/ExpandableList.d.ts.map +1 -0
  181. package/lib/core-react/expandable/ExpandableList.js.map +1 -0
  182. package/lib/core-react/focus/ItemKeyboardNavigator.d.ts +53 -0
  183. package/lib/core-react/focus/ItemKeyboardNavigator.d.ts.map +1 -0
  184. package/lib/core-react/focus/ItemKeyboardNavigator.js +173 -0
  185. package/lib/core-react/focus/ItemKeyboardNavigator.js.map +1 -0
  186. package/lib/core-react/focustrap/FocusTrap.d.ts.map +1 -0
  187. package/lib/core-react/focustrap/FocusTrap.js +196 -0
  188. package/lib/core-react/focustrap/FocusTrap.js.map +1 -0
  189. package/lib/core-react/hocs/withIsPressed.d.ts.map +1 -0
  190. package/lib/core-react/hocs/withIsPressed.js.map +1 -0
  191. package/lib/core-react/hocs/withOnOutsideClick.d.ts.map +1 -0
  192. package/lib/core-react/hocs/withOnOutsideClick.js.map +1 -0
  193. package/lib/core-react/hocs/withTimeout.d.ts +73 -0
  194. package/lib/core-react/hocs/withTimeout.d.ts.map +1 -0
  195. package/lib/core-react/hocs/withTimeout.js +44 -0
  196. package/lib/core-react/hocs/withTimeout.js.map +1 -0
  197. package/lib/core-react/icons/ConditionalIconItem.d.ts +28 -0
  198. package/lib/core-react/icons/ConditionalIconItem.d.ts.map +1 -0
  199. package/lib/core-react/icons/ConditionalIconItem.js.map +1 -0
  200. package/lib/core-react/icons/IconComponent.d.ts +34 -0
  201. package/lib/core-react/icons/IconComponent.d.ts.map +1 -0
  202. package/lib/core-react/icons/IconComponent.js +77 -0
  203. package/lib/core-react/icons/IconComponent.js.map +1 -0
  204. package/lib/core-react/icons/IconComponent.scss +19 -0
  205. package/lib/core-react/icons/SvgPath.d.ts +26 -0
  206. package/lib/core-react/icons/SvgPath.d.ts.map +1 -0
  207. package/lib/core-react/icons/SvgPath.js.map +1 -0
  208. package/lib/core-react/icons/SvgPath.scss +15 -0
  209. package/lib/core-react/icons/WebFontIcon.d.ts +28 -0
  210. package/lib/core-react/icons/WebFontIcon.d.ts.map +1 -0
  211. package/lib/core-react/icons/WebFontIcon.js.map +1 -0
  212. package/lib/core-react/icons/WebFontIcon.scss +15 -0
  213. package/lib/core-react/icons/classes.scss +18 -0
  214. package/lib/core-react/icons/index.scss +6 -0
  215. package/lib/core-react/icons/mixins.scss +27 -0
  216. package/lib/core-react/icons/variables.scss +12 -0
  217. package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts +43 -0
  218. package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -0
  219. package/lib/core-react/imagecheckbox/ImageCheckBox.js +49 -0
  220. package/lib/core-react/imagecheckbox/ImageCheckBox.js.map +1 -0
  221. package/lib/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
  222. package/lib/core-react/index.scss +18 -0
  223. package/lib/core-react/inputs/Input.d.ts +21 -0
  224. package/lib/core-react/inputs/Input.d.ts.map +1 -0
  225. package/lib/core-react/inputs/Input.js +42 -0
  226. package/lib/core-react/inputs/Input.js.map +1 -0
  227. package/lib/core-react/inputs/InputLabel.d.ts +23 -0
  228. package/lib/core-react/inputs/InputLabel.d.ts.map +1 -0
  229. package/lib/core-react/inputs/InputLabel.js +33 -0
  230. package/lib/core-react/inputs/InputLabel.js.map +1 -0
  231. package/lib/core-react/inputs/InputStatus.d.ts.map +1 -0
  232. package/lib/core-react/inputs/InputStatus.js.map +1 -0
  233. package/lib/core-react/inputs/LabeledComponentProps.d.ts +36 -0
  234. package/lib/core-react/inputs/LabeledComponentProps.d.ts.map +1 -0
  235. package/lib/core-react/inputs/LabeledComponentProps.js.map +1 -0
  236. package/lib/core-react/inputs/classes.scss +12 -0
  237. package/lib/core-react/inputs/iconinput/IconInput.d.ts +26 -0
  238. package/lib/core-react/inputs/iconinput/IconInput.d.ts.map +1 -0
  239. package/lib/core-react/inputs/iconinput/IconInput.js +29 -0
  240. package/lib/core-react/inputs/iconinput/IconInput.js.map +1 -0
  241. package/lib/core-react/inputs/iconinput/IconInput.scss +33 -0
  242. package/lib/core-react/inputs/index.scss +9 -0
  243. package/lib/core-react/inputs/input-label.scss +95 -0
  244. package/lib/core-react/inputs/input.scss +56 -0
  245. package/lib/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -0
  246. package/lib/core-react/inputs/numberinput/NumberInput.js +160 -0
  247. package/lib/core-react/inputs/numberinput/NumberInput.js.map +1 -0
  248. package/lib/core-react/inputs/numberinput/NumberInput.scss +88 -0
  249. package/lib/core-react/inputs/variables.scss +41 -0
  250. package/lib/core-react/l10n/LocalizationProvider.d.ts.map +1 -0
  251. package/lib/core-react/l10n/LocalizationProvider.js.map +1 -0
  252. package/lib/core-react/l10n/usePackageTranslation.d.ts.map +1 -0
  253. package/lib/core-react/l10n/usePackageTranslation.js +60 -0
  254. package/lib/core-react/l10n/usePackageTranslation.js.map +1 -0
  255. package/lib/core-react/l10n/useTranslation.d.ts.map +1 -0
  256. package/lib/core-react/l10n/useTranslation.js +26 -0
  257. package/lib/core-react/l10n/useTranslation.js.map +1 -0
  258. package/lib/core-react/layout-variables.scss +15 -0
  259. package/lib/core-react/listbox/Listbox.d.ts.map +1 -0
  260. package/lib/core-react/listbox/Listbox.js.map +1 -0
  261. package/lib/core-react/listbox/Listbox.scss +54 -0
  262. package/lib/core-react/loading/LoadingBar.d.ts +31 -0
  263. package/lib/core-react/loading/LoadingBar.d.ts.map +1 -0
  264. package/lib/core-react/loading/LoadingBar.js.map +1 -0
  265. package/lib/core-react/loading/LoadingBar.scss +27 -0
  266. package/lib/core-react/loading/LoadingPrompt.d.ts +41 -0
  267. package/lib/core-react/loading/LoadingPrompt.d.ts.map +1 -0
  268. package/lib/core-react/loading/LoadingPrompt.js +41 -0
  269. package/lib/core-react/loading/LoadingPrompt.js.map +1 -0
  270. package/lib/core-react/loading/LoadingPrompt.scss +29 -0
  271. package/lib/core-react/loading/LoadingSpinner.d.ts.map +1 -0
  272. package/lib/core-react/loading/LoadingSpinner.js.map +1 -0
  273. package/lib/core-react/loading/LoadingSpinner.scss +24 -0
  274. package/lib/core-react/loading/LoadingStatus.d.ts +26 -0
  275. package/lib/core-react/loading/LoadingStatus.d.ts.map +1 -0
  276. package/lib/core-react/loading/LoadingStatus.js.map +1 -0
  277. package/lib/core-react/loading/LoadingStatus.scss +20 -0
  278. package/lib/core-react/loading/index.scss +5 -0
  279. package/lib/core-react/loading/mixins.scss +57 -0
  280. package/lib/core-react/messagebox/MessageBox.d.ts +90 -0
  281. package/lib/core-react/messagebox/MessageBox.d.ts.map +1 -0
  282. package/lib/core-react/messagebox/MessageBox.js +117 -0
  283. package/lib/core-react/messagebox/MessageBox.js.map +1 -0
  284. package/lib/core-react/messagebox/MessageBox.scss +52 -0
  285. package/lib/core-react/notification/MessageRenderer.d.ts +22 -0
  286. package/lib/core-react/notification/MessageRenderer.d.ts.map +1 -0
  287. package/lib/core-react/notification/MessageRenderer.js +83 -0
  288. package/lib/core-react/notification/MessageRenderer.js.map +1 -0
  289. package/lib/core-react/notification/MessageType.d.ts.map +1 -0
  290. package/lib/core-react/notification/MessageType.js.map +1 -0
  291. package/lib/core-react/popup/Popup.d.ts +128 -0
  292. package/lib/core-react/popup/Popup.d.ts.map +1 -0
  293. package/lib/core-react/popup/Popup.js +466 -0
  294. package/lib/core-react/popup/Popup.js.map +1 -0
  295. package/lib/core-react/popup/Popup.scss +239 -0
  296. package/lib/core-react/radialmenu/Annulus.d.ts +54 -0
  297. package/lib/core-react/radialmenu/Annulus.d.ts.map +1 -0
  298. package/lib/core-react/radialmenu/Annulus.js +75 -0
  299. package/lib/core-react/radialmenu/Annulus.js.map +1 -0
  300. package/lib/core-react/radialmenu/RadialMenu.d.ts +96 -0
  301. package/lib/core-react/radialmenu/RadialMenu.d.ts.map +1 -0
  302. package/lib/core-react/radialmenu/RadialMenu.js +183 -0
  303. package/lib/core-react/radialmenu/RadialMenu.js.map +1 -0
  304. package/lib/core-react/radialmenu/RadialMenu.scss +55 -0
  305. package/lib/core-react/searchbox/SearchBox.d.ts +51 -0
  306. package/lib/core-react/searchbox/SearchBox.d.ts.map +1 -0
  307. package/lib/core-react/searchbox/SearchBox.js +115 -0
  308. package/lib/core-react/searchbox/SearchBox.js.map +1 -0
  309. package/lib/core-react/searchbox/SearchBox.scss +45 -0
  310. package/lib/core-react/settings/SettingsContainer.d.ts +35 -0
  311. package/lib/core-react/settings/SettingsContainer.d.ts.map +1 -0
  312. package/lib/core-react/settings/SettingsContainer.js +149 -0
  313. package/lib/core-react/settings/SettingsContainer.js.map +1 -0
  314. package/lib/core-react/settings/SettingsContainer.scss +65 -0
  315. package/lib/core-react/settings/SettingsManager.d.ts.map +1 -0
  316. package/lib/core-react/settings/SettingsManager.js +112 -0
  317. package/lib/core-react/settings/SettingsManager.js.map +1 -0
  318. package/lib/core-react/style/baseline.scss +11 -0
  319. package/lib/core-react/style/breakpoints.scss +59 -0
  320. package/lib/core-react/style/colors.scss +77 -0
  321. package/lib/core-react/style/index.scss +10 -0
  322. package/lib/core-react/style/mixins.scss +23 -0
  323. package/lib/core-react/style/opacity.scss +16 -0
  324. package/lib/core-react/style/themecolors.scss +133 -0
  325. package/lib/core-react/tabs/Tabs.d.ts +69 -0
  326. package/lib/core-react/tabs/Tabs.d.ts.map +1 -0
  327. package/lib/core-react/tabs/Tabs.js +117 -0
  328. package/lib/core-react/tabs/Tabs.js.map +1 -0
  329. package/lib/core-react/tabs/VerticalTabs.d.ts +11 -0
  330. package/lib/core-react/tabs/VerticalTabs.d.ts.map +1 -0
  331. package/lib/core-react/tabs/VerticalTabs.js +19 -0
  332. package/lib/core-react/tabs/VerticalTabs.js.map +1 -0
  333. package/lib/core-react/tabs/classes.scss +9 -0
  334. package/lib/core-react/tabs/index.scss +5 -0
  335. package/lib/core-react/tabs/tabs.scss +99 -0
  336. package/lib/core-react/tabs/vertical.scss +53 -0
  337. package/lib/core-react/text/BlockText.d.ts +11 -0
  338. package/lib/core-react/text/BlockText.d.ts.map +1 -0
  339. package/lib/core-react/text/BlockText.js +19 -0
  340. package/lib/core-react/text/BlockText.js.map +1 -0
  341. package/lib/core-react/text/BodyText.d.ts +11 -0
  342. package/lib/core-react/text/BodyText.d.ts.map +1 -0
  343. package/lib/core-react/text/BodyText.js +19 -0
  344. package/lib/core-react/text/BodyText.js.map +1 -0
  345. package/lib/core-react/text/DisabledText.d.ts +11 -0
  346. package/lib/core-react/text/DisabledText.d.ts.map +1 -0
  347. package/lib/core-react/text/DisabledText.js +18 -0
  348. package/lib/core-react/text/DisabledText.js.map +1 -0
  349. package/lib/core-react/text/FilteredText.d.ts +27 -0
  350. package/lib/core-react/text/FilteredText.d.ts.map +1 -0
  351. package/lib/core-react/text/FilteredText.js.map +1 -0
  352. package/lib/core-react/text/FilteredText.scss +8 -0
  353. package/lib/core-react/text/MutedText.d.ts +11 -0
  354. package/lib/core-react/text/MutedText.d.ts.map +1 -0
  355. package/lib/core-react/text/MutedText.js +19 -0
  356. package/lib/core-react/text/MutedText.js.map +1 -0
  357. package/lib/core-react/text/StyledText.d.ts +19 -0
  358. package/lib/core-react/text/StyledText.d.ts.map +1 -0
  359. package/lib/core-react/text/StyledText.js.map +1 -0
  360. package/lib/core-react/text/TextProps.d.ts +12 -0
  361. package/lib/core-react/text/TextProps.d.ts.map +1 -0
  362. package/lib/core-react/text/TextProps.js.map +1 -0
  363. package/lib/core-react/text/block.scss +15 -0
  364. package/lib/core-react/text/body.scss +13 -0
  365. package/lib/core-react/text/classes.scss +18 -0
  366. package/lib/core-react/text/disabled.scss +7 -0
  367. package/lib/core-react/text/index.scss +10 -0
  368. package/lib/core-react/text/mixins.scss +26 -0
  369. package/lib/core-react/text/muted.scss +7 -0
  370. package/lib/core-react/tree/Branch.d.ts +22 -0
  371. package/lib/core-react/tree/Branch.d.ts.map +1 -0
  372. package/lib/core-react/tree/Branch.js.map +1 -0
  373. package/lib/core-react/tree/Branch.scss +13 -0
  374. package/lib/core-react/tree/ExpansionToggle.d.ts +21 -0
  375. package/lib/core-react/tree/ExpansionToggle.d.ts.map +1 -0
  376. package/lib/core-react/tree/ExpansionToggle.js +27 -0
  377. package/lib/core-react/tree/ExpansionToggle.js.map +1 -0
  378. package/lib/core-react/tree/ExpansionToggle.scss +32 -0
  379. package/lib/core-react/tree/Node.d.ts +84 -0
  380. package/lib/core-react/tree/Node.d.ts.map +1 -0
  381. package/lib/core-react/tree/Node.js +88 -0
  382. package/lib/core-react/tree/Node.js.map +1 -0
  383. package/lib/core-react/tree/Node.scss +68 -0
  384. package/lib/core-react/tree/Placeholder.d.ts +25 -0
  385. package/lib/core-react/tree/Placeholder.d.ts.map +1 -0
  386. package/lib/core-react/tree/Placeholder.js +30 -0
  387. package/lib/core-react/tree/Placeholder.js.map +1 -0
  388. package/lib/core-react/tree/Placeholder.scss +17 -0
  389. package/lib/core-react/tree/Tree.d.ts +31 -0
  390. package/lib/core-react/tree/Tree.d.ts.map +1 -0
  391. package/lib/core-react/tree/Tree.js +105 -0
  392. package/lib/core-react/tree/Tree.js.map +1 -0
  393. package/lib/core-react/tree/Tree.scss +22 -0
  394. package/lib/core-react/uistate/LocalStateStorage.d.ts +17 -0
  395. package/lib/core-react/uistate/LocalStateStorage.d.ts.map +1 -0
  396. package/lib/core-react/uistate/LocalStateStorage.js +48 -0
  397. package/lib/core-react/uistate/LocalStateStorage.js.map +1 -0
  398. package/lib/core-react/uistate/UiStateEntry.d.ts +32 -0
  399. package/lib/core-react/uistate/UiStateEntry.d.ts.map +1 -0
  400. package/lib/core-react/uistate/UiStateEntry.js +58 -0
  401. package/lib/core-react/uistate/UiStateEntry.js.map +1 -0
  402. package/lib/core-react/uistate/UiStateStorage.d.ts.map +1 -0
  403. package/lib/core-react/uistate/UiStateStorage.js.map +1 -0
  404. package/lib/core-react/utils/IconHelper.d.ts +27 -0
  405. package/lib/core-react/utils/IconHelper.d.ts.map +1 -0
  406. package/lib/core-react/utils/IconHelper.js +82 -0
  407. package/lib/core-react/utils/IconHelper.js.map +1 -0
  408. package/lib/core-react/utils/IconWebComponent.d.ts +13 -0
  409. package/lib/core-react/utils/IconWebComponent.d.ts.map +1 -0
  410. package/lib/core-react/utils/IconWebComponent.js +112 -0
  411. package/lib/core-react/utils/IconWebComponent.js.map +1 -0
  412. package/lib/core-react/utils/ListenerType.d.ts.map +1 -0
  413. package/lib/core-react/utils/ListenerType.js.map +1 -0
  414. package/lib/core-react/utils/Point.d.ts +36 -0
  415. package/lib/core-react/utils/Point.d.ts.map +1 -0
  416. package/lib/core-react/utils/Point.js +66 -0
  417. package/lib/core-react/utils/Point.js.map +1 -0
  418. package/lib/core-react/utils/PointProps.d.ts.map +1 -0
  419. package/lib/core-react/utils/PointProps.js.map +1 -0
  420. package/lib/core-react/utils/Props.d.ts.map +1 -0
  421. package/lib/core-react/utils/Props.js.map +1 -0
  422. package/lib/core-react/utils/Rectangle.d.ts +146 -0
  423. package/lib/core-react/utils/Rectangle.d.ts.map +1 -0
  424. package/lib/core-react/utils/Rectangle.js +276 -0
  425. package/lib/core-react/utils/Rectangle.js.map +1 -0
  426. package/lib/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -0
  427. package/lib/core-react/utils/ScrollPositionMaintainer.js.map +1 -0
  428. package/lib/core-react/utils/Size.d.ts +12 -0
  429. package/lib/core-react/utils/Size.d.ts.map +1 -0
  430. package/lib/core-react/utils/Size.js +9 -0
  431. package/lib/core-react/utils/Size.js.map +1 -0
  432. package/lib/core-react/utils/Timer.d.ts.map +1 -0
  433. package/lib/core-react/utils/Timer.js.map +1 -0
  434. package/lib/core-react/utils/flattenChildren.d.ts.map +1 -0
  435. package/lib/core-react/utils/flattenChildren.js.map +1 -0
  436. package/lib/core-react/utils/getBestBWContrastColor.d.ts.map +1 -0
  437. package/lib/core-react/utils/getBestBWContrastColor.js.map +1 -0
  438. package/lib/core-react/utils/getCssVariable.d.ts.map +1 -0
  439. package/lib/core-react/utils/getCssVariable.js.map +1 -0
  440. package/lib/core-react/utils/getDisplayName.d.ts.map +1 -0
  441. package/lib/core-react/utils/getDisplayName.js.map +1 -0
  442. package/lib/core-react/utils/getUserColor.d.ts.map +1 -0
  443. package/lib/core-react/utils/getUserColor.js.map +1 -0
  444. package/lib/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +1 -0
  445. package/lib/core-react/utils/hooks/useCrossOriginPopup.js +99 -0
  446. package/lib/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -0
  447. package/lib/core-react/utils/hooks/useDisposable.d.ts.map +1 -0
  448. package/lib/core-react/utils/hooks/useDisposable.js.map +1 -0
  449. package/lib/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +1 -0
  450. package/lib/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -0
  451. package/lib/core-react/utils/hooks/useInterval.d.ts.map +1 -0
  452. package/lib/core-react/utils/hooks/useInterval.js.map +1 -0
  453. package/lib/core-react/utils/hooks/useLifecycleLogging.d.ts.map +1 -0
  454. package/lib/core-react/utils/hooks/useLifecycleLogging.js.map +1 -0
  455. package/lib/core-react/utils/hooks/useOnOutsideClick.d.ts.map +1 -0
  456. package/lib/core-react/utils/hooks/useOnOutsideClick.js +99 -0
  457. package/lib/core-react/utils/hooks/useOnOutsideClick.js.map +1 -0
  458. package/lib/core-react/utils/hooks/useProximityToMouse.d.ts.map +1 -0
  459. package/lib/core-react/utils/hooks/useProximityToMouse.js +102 -0
  460. package/lib/core-react/utils/hooks/useProximityToMouse.js.map +1 -0
  461. package/lib/core-react/utils/hooks/useRefEffect.d.ts.map +1 -0
  462. package/lib/core-react/utils/hooks/useRefEffect.js.map +1 -0
  463. package/lib/core-react/utils/hooks/useRefState.d.ts.map +1 -0
  464. package/lib/core-react/utils/hooks/useRefState.js.map +1 -0
  465. package/lib/core-react/utils/hooks/useRefs.d.ts.map +1 -0
  466. package/lib/core-react/utils/hooks/useRefs.js.map +1 -0
  467. package/lib/core-react/utils/hooks/useResizeObserver.d.ts.map +1 -0
  468. package/lib/core-react/utils/hooks/useResizeObserver.js +201 -0
  469. package/lib/core-react/utils/hooks/useResizeObserver.js.map +1 -0
  470. package/lib/core-react/utils/hooks/useTargeted.d.ts.map +1 -0
  471. package/lib/core-react/utils/hooks/useTargeted.js.map +1 -0
  472. package/lib/core-react/utils/hooks/useThrottledFn.d.ts.map +1 -0
  473. package/lib/core-react/utils/hooks/useThrottledFn.js.map +1 -0
  474. package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts +25 -0
  475. package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +1 -0
  476. package/lib/core-react/utils/hooks/useWidgetOpacityContext.js +32 -0
  477. package/lib/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -0
  478. package/lib/core-react/utils/matches.d.ts.map +1 -0
  479. package/lib/core-react/utils/matches.js.map +1 -0
  480. package/lib/core-react/utils/reuseOrCreatePromise.d.ts.map +1 -0
  481. package/lib/core-react/utils/reuseOrCreatePromise.js.map +1 -0
  482. package/lib/core-react/utils/shallowDiffers.d.ts.map +1 -0
  483. package/lib/core-react/utils/shallowDiffers.js.map +1 -0
  484. package/lib/core-react/utils/typeUtils.d.ts.map +1 -0
  485. package/lib/core-react/utils/typeUtils.js.map +1 -0
  486. package/lib/core-react.d.ts +218 -0
  487. package/lib/core-react.d.ts.map +1 -0
  488. package/lib/core-react.js +218 -0
  489. package/lib/core-react.js.map +1 -0
  490. package/lib/esm/core-react/_helpers.scss +6 -4
  491. package/lib/esm/core-react/_scrollbar.scss +5 -3
  492. package/lib/esm/core-react/_typography.scss +4 -4
  493. package/lib/esm/core-react/_z-index.scss +9 -5
  494. package/lib/esm/core-react/autosuggest/AutoSuggest.scss +4 -4
  495. package/lib/esm/core-react/base/base.scss +5 -3
  496. package/lib/esm/core-react/base/classes.scss +1 -1
  497. package/lib/esm/core-react/base/index.scss +1 -1
  498. package/lib/esm/core-react/button/UnderlinedButton.scss +3 -6
  499. package/lib/esm/core-react/classes.scss +5 -6
  500. package/lib/esm/core-react/contextmenu/ContextMenu.scss +6 -11
  501. package/lib/esm/core-react/dialog/Dialog.scss +1 -1
  502. package/lib/esm/core-react/elementseparator/ElementSeparator.scss +0 -3
  503. package/lib/esm/core-react/icons/IconComponent.scss +1 -1
  504. package/lib/esm/core-react/icons/WebFontIcon.scss +0 -2
  505. package/lib/esm/core-react/icons/classes.scss +1 -1
  506. package/lib/esm/core-react/icons/index.scss +2 -2
  507. package/lib/esm/core-react/icons/mixins.scss +11 -9
  508. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +2 -5
  509. package/lib/esm/core-react/index.scss +12 -14
  510. package/lib/esm/core-react/inputs/classes.scss +1 -1
  511. package/lib/esm/core-react/inputs/iconinput/IconInput.scss +1 -2
  512. package/lib/esm/core-react/inputs/index.scss +4 -4
  513. package/lib/esm/core-react/inputs/input-label.scss +16 -10
  514. package/lib/esm/core-react/inputs/input.scss +13 -11
  515. package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +2 -2
  516. package/lib/esm/core-react/inputs/variables.scss +9 -4
  517. package/lib/esm/core-react/layout-variables.scss +1 -1
  518. package/lib/esm/core-react/listbox/Listbox.scss +1 -1
  519. package/lib/esm/core-react/loading/LoadingBar.scss +2 -4
  520. package/lib/esm/core-react/loading/LoadingPrompt.scss +0 -4
  521. package/lib/esm/core-react/loading/LoadingSpinner.scss +0 -2
  522. package/lib/esm/core-react/loading/index.scss +1 -1
  523. package/lib/esm/core-react/loading/mixins.scss +3 -3
  524. package/lib/esm/core-react/messagebox/MessageBox.scss +2 -3
  525. package/lib/esm/core-react/popup/Popup.scss +1 -2
  526. package/lib/esm/core-react/radialmenu/RadialMenu.scss +6 -7
  527. package/lib/esm/core-react/searchbox/SearchBox.scss +0 -2
  528. package/lib/esm/core-react/settings/SettingsContainer.scss +0 -3
  529. package/lib/esm/core-react/style/index.scss +6 -6
  530. package/lib/esm/core-react/tabs/classes.scss +1 -1
  531. package/lib/esm/core-react/tabs/index.scss +1 -1
  532. package/lib/esm/core-react/tabs/tabs.scss +10 -7
  533. package/lib/esm/core-react/tabs/vertical.scss +5 -3
  534. package/lib/esm/core-react/text/FilteredText.scss +1 -3
  535. package/lib/esm/core-react/text/classes.scss +1 -1
  536. package/lib/esm/core-react/text/disabled.scss +1 -3
  537. package/lib/esm/core-react/text/index.scss +5 -5
  538. package/lib/esm/core-react/text/mixins.scss +5 -3
  539. package/lib/esm/core-react/text/muted.scss +1 -3
  540. package/lib/internal.d.ts +18 -0
  541. package/lib/internal.d.ts.map +1 -0
  542. package/lib/internal.js +20 -0
  543. package/lib/internal.js.map +1 -0
  544. package/package.json +39 -35
  545. package/lib/cjs/core-react/UiCore.d.ts +0 -38
  546. package/lib/cjs/core-react/UiCore.d.ts.map +0 -1
  547. package/lib/cjs/core-react/UiCore.js +0 -76
  548. package/lib/cjs/core-react/UiCore.js.map +0 -1
  549. package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts +0 -99
  550. package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
  551. package/lib/cjs/core-react/autosuggest/AutoSuggest.js +0 -174
  552. package/lib/cjs/core-react/autosuggest/AutoSuggest.js.map +0 -1
  553. package/lib/cjs/core-react/badge/Badge.d.ts +0 -17
  554. package/lib/cjs/core-react/badge/Badge.d.ts.map +0 -1
  555. package/lib/cjs/core-react/badge/Badge.js +0 -29
  556. package/lib/cjs/core-react/badge/Badge.js.map +0 -1
  557. package/lib/cjs/core-react/badge/BadgeType.d.ts +0 -19
  558. package/lib/cjs/core-react/badge/BadgeType.d.ts.map +0 -1
  559. package/lib/cjs/core-react/badge/BadgeType.js +0 -17
  560. package/lib/cjs/core-react/badge/BadgeType.js.map +0 -1
  561. package/lib/cjs/core-react/badge/DeprecatedBadge.d.ts.map +0 -1
  562. package/lib/cjs/core-react/badge/DeprecatedBadge.js +0 -29
  563. package/lib/cjs/core-react/badge/DeprecatedBadge.js.map +0 -1
  564. package/lib/cjs/core-react/badge/NewBadge.d.ts.map +0 -1
  565. package/lib/cjs/core-react/badge/NewBadge.js +0 -23
  566. package/lib/cjs/core-react/badge/NewBadge.js.map +0 -1
  567. package/lib/cjs/core-react/badge/TechnicalPreviewBadge.d.ts.map +0 -1
  568. package/lib/cjs/core-react/badge/TechnicalPreviewBadge.js +0 -29
  569. package/lib/cjs/core-react/badge/TechnicalPreviewBadge.js.map +0 -1
  570. package/lib/cjs/core-react/base/Centered.d.ts +0 -12
  571. package/lib/cjs/core-react/base/Centered.d.ts.map +0 -1
  572. package/lib/cjs/core-react/base/Centered.js +0 -24
  573. package/lib/cjs/core-react/base/Centered.js.map +0 -1
  574. package/lib/cjs/core-react/base/Div.d.ts +0 -19
  575. package/lib/cjs/core-react/base/Div.d.ts.map +0 -1
  576. package/lib/cjs/core-react/base/Div.js +0 -23
  577. package/lib/cjs/core-react/base/Div.js.map +0 -1
  578. package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts +0 -77
  579. package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
  580. package/lib/cjs/core-react/base/DivWithOutsideClick.js +0 -20
  581. package/lib/cjs/core-react/base/DivWithOutsideClick.js.map +0 -1
  582. package/lib/cjs/core-react/base/FillCentered.d.ts +0 -12
  583. package/lib/cjs/core-react/base/FillCentered.d.ts.map +0 -1
  584. package/lib/cjs/core-react/base/FillCentered.js +0 -24
  585. package/lib/cjs/core-react/base/FillCentered.js.map +0 -1
  586. package/lib/cjs/core-react/base/FlexWrapContainer.d.ts +0 -13
  587. package/lib/cjs/core-react/base/FlexWrapContainer.d.ts.map +0 -1
  588. package/lib/cjs/core-react/base/FlexWrapContainer.js +0 -25
  589. package/lib/cjs/core-react/base/FlexWrapContainer.js.map +0 -1
  590. package/lib/cjs/core-react/base/Gap.d.ts +0 -18
  591. package/lib/cjs/core-react/base/Gap.d.ts.map +0 -1
  592. package/lib/cjs/core-react/base/Gap.js +0 -23
  593. package/lib/cjs/core-react/base/Gap.js.map +0 -1
  594. package/lib/cjs/core-react/base/PointerEvents.d.ts.map +0 -1
  595. package/lib/cjs/core-react/base/PointerEvents.js +0 -18
  596. package/lib/cjs/core-react/base/PointerEvents.js.map +0 -1
  597. package/lib/cjs/core-react/base/ScrollView.d.ts +0 -13
  598. package/lib/cjs/core-react/base/ScrollView.d.ts.map +0 -1
  599. package/lib/cjs/core-react/base/ScrollView.js +0 -25
  600. package/lib/cjs/core-react/base/ScrollView.js.map +0 -1
  601. package/lib/cjs/core-react/button/UnderlinedButton.d.ts.map +0 -1
  602. package/lib/cjs/core-react/button/UnderlinedButton.js +0 -38
  603. package/lib/cjs/core-react/button/UnderlinedButton.js.map +0 -1
  604. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts +0 -45
  605. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
  606. package/lib/cjs/core-react/checklistbox/CheckListBox.js +0 -50
  607. package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +0 -1
  608. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts +0 -91
  609. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
  610. package/lib/cjs/core-react/contextmenu/ContextMenu.js +0 -366
  611. package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +0 -1
  612. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
  613. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js +0 -21
  614. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
  615. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts +0 -13
  616. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
  617. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js +0 -25
  618. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
  619. package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts +0 -65
  620. package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
  621. package/lib/cjs/core-react/contextmenu/ContextMenuItem.js +0 -111
  622. package/lib/cjs/core-react/contextmenu/ContextMenuItem.js.map +0 -1
  623. package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts +0 -51
  624. package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
  625. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js +0 -177
  626. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +0 -1
  627. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts +0 -36
  628. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
  629. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js +0 -63
  630. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
  631. package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts +0 -57
  632. package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
  633. package/lib/cjs/core-react/contextmenu/PopupContextMenu.js +0 -58
  634. package/lib/cjs/core-react/contextmenu/PopupContextMenu.js.map +0 -1
  635. package/lib/cjs/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
  636. package/lib/cjs/core-react/contextmenu/TildeFinder.js +0 -79
  637. package/lib/cjs/core-react/contextmenu/TildeFinder.js.map +0 -1
  638. package/lib/cjs/core-react/dialog/Dialog.d.ts +0 -112
  639. package/lib/cjs/core-react/dialog/Dialog.d.ts.map +0 -1
  640. package/lib/cjs/core-react/dialog/Dialog.js +0 -209
  641. package/lib/cjs/core-react/dialog/Dialog.js.map +0 -1
  642. package/lib/cjs/core-react/dialog/GlobalDialog.d.ts +0 -32
  643. package/lib/cjs/core-react/dialog/GlobalDialog.d.ts.map +0 -1
  644. package/lib/cjs/core-react/dialog/GlobalDialog.js +0 -61
  645. package/lib/cjs/core-react/dialog/GlobalDialog.js.map +0 -1
  646. package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts +0 -44
  647. package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
  648. package/lib/cjs/core-react/elementseparator/ElementSeparator.js +0 -167
  649. package/lib/cjs/core-react/elementseparator/ElementSeparator.js.map +0 -1
  650. package/lib/cjs/core-react/enums/Alignment.d.ts.map +0 -1
  651. package/lib/cjs/core-react/enums/Alignment.js +0 -34
  652. package/lib/cjs/core-react/enums/Alignment.js.map +0 -1
  653. package/lib/cjs/core-react/enums/CheckBoxState.d.ts.map +0 -1
  654. package/lib/cjs/core-react/enums/CheckBoxState.js +0 -21
  655. package/lib/cjs/core-react/enums/CheckBoxState.js.map +0 -1
  656. package/lib/cjs/core-react/enums/Orientation.d.ts.map +0 -1
  657. package/lib/cjs/core-react/enums/Orientation.js +0 -21
  658. package/lib/cjs/core-react/enums/Orientation.js.map +0 -1
  659. package/lib/cjs/core-react/enums/SortDirection.d.ts.map +0 -1
  660. package/lib/cjs/core-react/enums/SortDirection.js +0 -22
  661. package/lib/cjs/core-react/enums/SortDirection.js.map +0 -1
  662. package/lib/cjs/core-react/enums/TimeFormat.d.ts.map +0 -1
  663. package/lib/cjs/core-react/enums/TimeFormat.js +0 -24
  664. package/lib/cjs/core-react/enums/TimeFormat.js.map +0 -1
  665. package/lib/cjs/core-react/expandable/ExpandableList.d.ts +0 -37
  666. package/lib/cjs/core-react/expandable/ExpandableList.d.ts.map +0 -1
  667. package/lib/cjs/core-react/expandable/ExpandableList.js +0 -62
  668. package/lib/cjs/core-react/expandable/ExpandableList.js.map +0 -1
  669. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts +0 -53
  670. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
  671. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js +0 -178
  672. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
  673. package/lib/cjs/core-react/focustrap/FocusTrap.d.ts.map +0 -1
  674. package/lib/cjs/core-react/focustrap/FocusTrap.js +0 -201
  675. package/lib/cjs/core-react/focustrap/FocusTrap.js.map +0 -1
  676. package/lib/cjs/core-react/hocs/withIsPressed.d.ts.map +0 -1
  677. package/lib/cjs/core-react/hocs/withIsPressed.js +0 -45
  678. package/lib/cjs/core-react/hocs/withIsPressed.js.map +0 -1
  679. package/lib/cjs/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
  680. package/lib/cjs/core-react/hocs/withOnOutsideClick.js +0 -114
  681. package/lib/cjs/core-react/hocs/withOnOutsideClick.js.map +0 -1
  682. package/lib/cjs/core-react/hocs/withTimeout.d.ts +0 -73
  683. package/lib/cjs/core-react/hocs/withTimeout.d.ts.map +0 -1
  684. package/lib/cjs/core-react/hocs/withTimeout.js +0 -48
  685. package/lib/cjs/core-react/hocs/withTimeout.js.map +0 -1
  686. package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts +0 -28
  687. package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts.map +0 -1
  688. package/lib/cjs/core-react/icons/ConditionalIconItem.js +0 -65
  689. package/lib/cjs/core-react/icons/ConditionalIconItem.js.map +0 -1
  690. package/lib/cjs/core-react/icons/IconComponent.d.ts +0 -34
  691. package/lib/cjs/core-react/icons/IconComponent.d.ts.map +0 -1
  692. package/lib/cjs/core-react/icons/IconComponent.js +0 -81
  693. package/lib/cjs/core-react/icons/IconComponent.js.map +0 -1
  694. package/lib/cjs/core-react/icons/SvgPath.d.ts +0 -26
  695. package/lib/cjs/core-react/icons/SvgPath.d.ts.map +0 -1
  696. package/lib/cjs/core-react/icons/SvgPath.js +0 -30
  697. package/lib/cjs/core-react/icons/SvgPath.js.map +0 -1
  698. package/lib/cjs/core-react/icons/WebFontIcon.d.ts +0 -28
  699. package/lib/cjs/core-react/icons/WebFontIcon.d.ts.map +0 -1
  700. package/lib/cjs/core-react/icons/WebFontIcon.js +0 -24
  701. package/lib/cjs/core-react/icons/WebFontIcon.js.map +0 -1
  702. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts +0 -43
  703. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
  704. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js +0 -53
  705. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
  706. package/lib/cjs/core-react/inputs/Input.d.ts +0 -21
  707. package/lib/cjs/core-react/inputs/Input.d.ts.map +0 -1
  708. package/lib/cjs/core-react/inputs/Input.js +0 -45
  709. package/lib/cjs/core-react/inputs/Input.js.map +0 -1
  710. package/lib/cjs/core-react/inputs/InputLabel.d.ts +0 -23
  711. package/lib/cjs/core-react/inputs/InputLabel.d.ts.map +0 -1
  712. package/lib/cjs/core-react/inputs/InputLabel.js +0 -37
  713. package/lib/cjs/core-react/inputs/InputLabel.js.map +0 -1
  714. package/lib/cjs/core-react/inputs/InputStatus.d.ts.map +0 -1
  715. package/lib/cjs/core-react/inputs/InputStatus.js +0 -21
  716. package/lib/cjs/core-react/inputs/InputStatus.js.map +0 -1
  717. package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts +0 -36
  718. package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
  719. package/lib/cjs/core-react/inputs/LabeledComponentProps.js +0 -10
  720. package/lib/cjs/core-react/inputs/LabeledComponentProps.js.map +0 -1
  721. package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts +0 -26
  722. package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
  723. package/lib/cjs/core-react/inputs/iconinput/IconInput.js +0 -32
  724. package/lib/cjs/core-react/inputs/iconinput/IconInput.js.map +0 -1
  725. package/lib/cjs/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
  726. package/lib/cjs/core-react/inputs/numberinput/NumberInput.js +0 -163
  727. package/lib/cjs/core-react/inputs/numberinput/NumberInput.js.map +0 -1
  728. package/lib/cjs/core-react/l10n/LocalizationProvider.d.ts.map +0 -1
  729. package/lib/cjs/core-react/l10n/LocalizationProvider.js +0 -30
  730. package/lib/cjs/core-react/l10n/LocalizationProvider.js.map +0 -1
  731. package/lib/cjs/core-react/l10n/usePackageTranslation.d.ts.map +0 -1
  732. package/lib/cjs/core-react/l10n/usePackageTranslation.js +0 -64
  733. package/lib/cjs/core-react/l10n/usePackageTranslation.js.map +0 -1
  734. package/lib/cjs/core-react/l10n/useTranslation.d.ts.map +0 -1
  735. package/lib/cjs/core-react/l10n/useTranslation.js +0 -30
  736. package/lib/cjs/core-react/l10n/useTranslation.js.map +0 -1
  737. package/lib/cjs/core-react/listbox/Listbox.d.ts.map +0 -1
  738. package/lib/cjs/core-react/listbox/Listbox.js +0 -220
  739. package/lib/cjs/core-react/listbox/Listbox.js.map +0 -1
  740. package/lib/cjs/core-react/loading/LoadingBar.d.ts +0 -31
  741. package/lib/cjs/core-react/loading/LoadingBar.d.ts.map +0 -1
  742. package/lib/cjs/core-react/loading/LoadingBar.js +0 -41
  743. package/lib/cjs/core-react/loading/LoadingBar.js.map +0 -1
  744. package/lib/cjs/core-react/loading/LoadingPrompt.d.ts +0 -41
  745. package/lib/cjs/core-react/loading/LoadingPrompt.d.ts.map +0 -1
  746. package/lib/cjs/core-react/loading/LoadingPrompt.js +0 -45
  747. package/lib/cjs/core-react/loading/LoadingPrompt.js.map +0 -1
  748. package/lib/cjs/core-react/loading/LoadingSpinner.d.ts.map +0 -1
  749. package/lib/cjs/core-react/loading/LoadingSpinner.js +0 -31
  750. package/lib/cjs/core-react/loading/LoadingSpinner.js.map +0 -1
  751. package/lib/cjs/core-react/loading/LoadingStatus.d.ts +0 -26
  752. package/lib/cjs/core-react/loading/LoadingStatus.d.ts.map +0 -1
  753. package/lib/cjs/core-react/loading/LoadingStatus.js +0 -38
  754. package/lib/cjs/core-react/loading/LoadingStatus.js.map +0 -1
  755. package/lib/cjs/core-react/messagebox/MessageBox.d.ts +0 -90
  756. package/lib/cjs/core-react/messagebox/MessageBox.d.ts.map +0 -1
  757. package/lib/cjs/core-react/messagebox/MessageBox.js +0 -122
  758. package/lib/cjs/core-react/messagebox/MessageBox.js.map +0 -1
  759. package/lib/cjs/core-react/notification/MessageRenderer.d.ts +0 -22
  760. package/lib/cjs/core-react/notification/MessageRenderer.d.ts.map +0 -1
  761. package/lib/cjs/core-react/notification/MessageRenderer.js +0 -87
  762. package/lib/cjs/core-react/notification/MessageRenderer.js.map +0 -1
  763. package/lib/cjs/core-react/notification/MessageType.d.ts.map +0 -1
  764. package/lib/cjs/core-react/notification/MessageType.js +0 -25
  765. package/lib/cjs/core-react/notification/MessageType.js.map +0 -1
  766. package/lib/cjs/core-react/popup/Popup.d.ts +0 -128
  767. package/lib/cjs/core-react/popup/Popup.d.ts.map +0 -1
  768. package/lib/cjs/core-react/popup/Popup.js +0 -470
  769. package/lib/cjs/core-react/popup/Popup.js.map +0 -1
  770. package/lib/cjs/core-react/radialmenu/Annulus.d.ts +0 -54
  771. package/lib/cjs/core-react/radialmenu/Annulus.d.ts.map +0 -1
  772. package/lib/cjs/core-react/radialmenu/Annulus.js +0 -82
  773. package/lib/cjs/core-react/radialmenu/Annulus.js.map +0 -1
  774. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts +0 -96
  775. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
  776. package/lib/cjs/core-react/radialmenu/RadialMenu.js +0 -188
  777. package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +0 -1
  778. package/lib/cjs/core-react/searchbox/SearchBox.d.ts +0 -51
  779. package/lib/cjs/core-react/searchbox/SearchBox.d.ts.map +0 -1
  780. package/lib/cjs/core-react/searchbox/SearchBox.js +0 -119
  781. package/lib/cjs/core-react/searchbox/SearchBox.js.map +0 -1
  782. package/lib/cjs/core-react/settings/SettingsContainer.d.ts +0 -35
  783. package/lib/cjs/core-react/settings/SettingsContainer.d.ts.map +0 -1
  784. package/lib/cjs/core-react/settings/SettingsContainer.js +0 -155
  785. package/lib/cjs/core-react/settings/SettingsContainer.js.map +0 -1
  786. package/lib/cjs/core-react/settings/SettingsManager.d.ts.map +0 -1
  787. package/lib/cjs/core-react/settings/SettingsManager.js +0 -120
  788. package/lib/cjs/core-react/settings/SettingsManager.js.map +0 -1
  789. package/lib/cjs/core-react/tabs/Tabs.d.ts +0 -69
  790. package/lib/cjs/core-react/tabs/Tabs.d.ts.map +0 -1
  791. package/lib/cjs/core-react/tabs/Tabs.js +0 -121
  792. package/lib/cjs/core-react/tabs/Tabs.js.map +0 -1
  793. package/lib/cjs/core-react/tabs/VerticalTabs.d.ts +0 -11
  794. package/lib/cjs/core-react/tabs/VerticalTabs.d.ts.map +0 -1
  795. package/lib/cjs/core-react/tabs/VerticalTabs.js +0 -23
  796. package/lib/cjs/core-react/tabs/VerticalTabs.js.map +0 -1
  797. package/lib/cjs/core-react/text/BlockText.d.ts +0 -11
  798. package/lib/cjs/core-react/text/BlockText.d.ts.map +0 -1
  799. package/lib/cjs/core-react/text/BlockText.js +0 -23
  800. package/lib/cjs/core-react/text/BlockText.js.map +0 -1
  801. package/lib/cjs/core-react/text/BodyText.d.ts +0 -11
  802. package/lib/cjs/core-react/text/BodyText.d.ts.map +0 -1
  803. package/lib/cjs/core-react/text/BodyText.js +0 -23
  804. package/lib/cjs/core-react/text/BodyText.js.map +0 -1
  805. package/lib/cjs/core-react/text/DisabledText.d.ts +0 -11
  806. package/lib/cjs/core-react/text/DisabledText.d.ts.map +0 -1
  807. package/lib/cjs/core-react/text/DisabledText.js +0 -22
  808. package/lib/cjs/core-react/text/DisabledText.js.map +0 -1
  809. package/lib/cjs/core-react/text/FilteredText.d.ts +0 -27
  810. package/lib/cjs/core-react/text/FilteredText.d.ts.map +0 -1
  811. package/lib/cjs/core-react/text/FilteredText.js +0 -40
  812. package/lib/cjs/core-react/text/FilteredText.js.map +0 -1
  813. package/lib/cjs/core-react/text/MutedText.d.ts +0 -11
  814. package/lib/cjs/core-react/text/MutedText.d.ts.map +0 -1
  815. package/lib/cjs/core-react/text/MutedText.js +0 -23
  816. package/lib/cjs/core-react/text/MutedText.js.map +0 -1
  817. package/lib/cjs/core-react/text/StyledText.d.ts +0 -19
  818. package/lib/cjs/core-react/text/StyledText.d.ts.map +0 -1
  819. package/lib/cjs/core-react/text/StyledText.js +0 -22
  820. package/lib/cjs/core-react/text/StyledText.js.map +0 -1
  821. package/lib/cjs/core-react/text/TextProps.d.ts +0 -12
  822. package/lib/cjs/core-react/text/TextProps.d.ts.map +0 -1
  823. package/lib/cjs/core-react/text/TextProps.js +0 -10
  824. package/lib/cjs/core-react/text/TextProps.js.map +0 -1
  825. package/lib/cjs/core-react/tree/Branch.d.ts +0 -22
  826. package/lib/cjs/core-react/tree/Branch.d.ts.map +0 -1
  827. package/lib/cjs/core-react/tree/Branch.js +0 -26
  828. package/lib/cjs/core-react/tree/Branch.js.map +0 -1
  829. package/lib/cjs/core-react/tree/ExpansionToggle.d.ts +0 -21
  830. package/lib/cjs/core-react/tree/ExpansionToggle.d.ts.map +0 -1
  831. package/lib/cjs/core-react/tree/ExpansionToggle.js +0 -31
  832. package/lib/cjs/core-react/tree/ExpansionToggle.js.map +0 -1
  833. package/lib/cjs/core-react/tree/Node.d.ts +0 -84
  834. package/lib/cjs/core-react/tree/Node.d.ts.map +0 -1
  835. package/lib/cjs/core-react/tree/Node.js +0 -92
  836. package/lib/cjs/core-react/tree/Node.js.map +0 -1
  837. package/lib/cjs/core-react/tree/Placeholder.d.ts +0 -25
  838. package/lib/cjs/core-react/tree/Placeholder.d.ts.map +0 -1
  839. package/lib/cjs/core-react/tree/Placeholder.js +0 -34
  840. package/lib/cjs/core-react/tree/Placeholder.js.map +0 -1
  841. package/lib/cjs/core-react/tree/Tree.d.ts +0 -31
  842. package/lib/cjs/core-react/tree/Tree.d.ts.map +0 -1
  843. package/lib/cjs/core-react/tree/Tree.js +0 -109
  844. package/lib/cjs/core-react/tree/Tree.js.map +0 -1
  845. package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts +0 -17
  846. package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
  847. package/lib/cjs/core-react/uistate/LocalStateStorage.js +0 -52
  848. package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +0 -1
  849. package/lib/cjs/core-react/uistate/UiStateEntry.d.ts +0 -32
  850. package/lib/cjs/core-react/uistate/UiStateEntry.d.ts.map +0 -1
  851. package/lib/cjs/core-react/uistate/UiStateEntry.js +0 -62
  852. package/lib/cjs/core-react/uistate/UiStateEntry.js.map +0 -1
  853. package/lib/cjs/core-react/uistate/UiStateStorage.d.ts.map +0 -1
  854. package/lib/cjs/core-react/uistate/UiStateStorage.js +0 -23
  855. package/lib/cjs/core-react/uistate/UiStateStorage.js.map +0 -1
  856. package/lib/cjs/core-react/utils/IconHelper.d.ts +0 -27
  857. package/lib/cjs/core-react/utils/IconHelper.d.ts.map +0 -1
  858. package/lib/cjs/core-react/utils/IconHelper.js +0 -86
  859. package/lib/cjs/core-react/utils/IconHelper.js.map +0 -1
  860. package/lib/cjs/core-react/utils/IconWebComponent.d.ts +0 -13
  861. package/lib/cjs/core-react/utils/IconWebComponent.d.ts.map +0 -1
  862. package/lib/cjs/core-react/utils/IconWebComponent.js +0 -117
  863. package/lib/cjs/core-react/utils/IconWebComponent.js.map +0 -1
  864. package/lib/cjs/core-react/utils/ListenerType.d.ts.map +0 -1
  865. package/lib/cjs/core-react/utils/ListenerType.js +0 -3
  866. package/lib/cjs/core-react/utils/ListenerType.js.map +0 -1
  867. package/lib/cjs/core-react/utils/Point.d.ts +0 -38
  868. package/lib/cjs/core-react/utils/Point.d.ts.map +0 -1
  869. package/lib/cjs/core-react/utils/Point.js +0 -74
  870. package/lib/cjs/core-react/utils/Point.js.map +0 -1
  871. package/lib/cjs/core-react/utils/PointProps.d.ts.map +0 -1
  872. package/lib/cjs/core-react/utils/PointProps.js +0 -3
  873. package/lib/cjs/core-react/utils/PointProps.js.map +0 -1
  874. package/lib/cjs/core-react/utils/Props.d.ts.map +0 -1
  875. package/lib/cjs/core-react/utils/Props.js +0 -10
  876. package/lib/cjs/core-react/utils/Props.js.map +0 -1
  877. package/lib/cjs/core-react/utils/Rectangle.d.ts +0 -147
  878. package/lib/cjs/core-react/utils/Rectangle.d.ts.map +0 -1
  879. package/lib/cjs/core-react/utils/Rectangle.js +0 -279
  880. package/lib/cjs/core-react/utils/Rectangle.js.map +0 -1
  881. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
  882. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js +0 -40
  883. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
  884. package/lib/cjs/core-react/utils/Size.d.ts +0 -25
  885. package/lib/cjs/core-react/utils/Size.d.ts.map +0 -1
  886. package/lib/cjs/core-react/utils/Size.js +0 -32
  887. package/lib/cjs/core-react/utils/Size.js.map +0 -1
  888. package/lib/cjs/core-react/utils/Timer.d.ts.map +0 -1
  889. package/lib/cjs/core-react/utils/Timer.js +0 -67
  890. package/lib/cjs/core-react/utils/Timer.js.map +0 -1
  891. package/lib/cjs/core-react/utils/UiGeometry.d.ts +0 -21
  892. package/lib/cjs/core-react/utils/UiGeometry.d.ts.map +0 -1
  893. package/lib/cjs/core-react/utils/UiGeometry.js +0 -33
  894. package/lib/cjs/core-react/utils/UiGeometry.js.map +0 -1
  895. package/lib/cjs/core-react/utils/flattenChildren.d.ts.map +0 -1
  896. package/lib/cjs/core-react/utils/flattenChildren.js +0 -27
  897. package/lib/cjs/core-react/utils/flattenChildren.js.map +0 -1
  898. package/lib/cjs/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
  899. package/lib/cjs/core-react/utils/getBestBWContrastColor.js +0 -23
  900. package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +0 -1
  901. package/lib/cjs/core-react/utils/getCssVariable.d.ts.map +0 -1
  902. package/lib/cjs/core-react/utils/getCssVariable.js +0 -35
  903. package/lib/cjs/core-react/utils/getCssVariable.js.map +0 -1
  904. package/lib/cjs/core-react/utils/getDisplayName.d.ts.map +0 -1
  905. package/lib/cjs/core-react/utils/getDisplayName.js +0 -22
  906. package/lib/cjs/core-react/utils/getDisplayName.js.map +0 -1
  907. package/lib/cjs/core-react/utils/getObjectClassName.d.ts +0 -9
  908. package/lib/cjs/core-react/utils/getObjectClassName.d.ts.map +0 -1
  909. package/lib/cjs/core-react/utils/getObjectClassName.js +0 -23
  910. package/lib/cjs/core-react/utils/getObjectClassName.js.map +0 -1
  911. package/lib/cjs/core-react/utils/getUserColor.d.ts.map +0 -1
  912. package/lib/cjs/core-react/utils/getUserColor.js +0 -40
  913. package/lib/cjs/core-react/utils/getUserColor.js.map +0 -1
  914. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
  915. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
  916. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -22
  917. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
  918. package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
  919. package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js +0 -103
  920. package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
  921. package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
  922. package/lib/cjs/core-react/utils/hooks/useDisposable.js +0 -57
  923. package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +0 -1
  924. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
  925. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js +0 -28
  926. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
  927. package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts +0 -12
  928. package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
  929. package/lib/cjs/core-react/utils/hooks/useEventListener.js +0 -43
  930. package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +0 -1
  931. package/lib/cjs/core-react/utils/hooks/useInterval.d.ts.map +0 -1
  932. package/lib/cjs/core-react/utils/hooks/useInterval.js +0 -40
  933. package/lib/cjs/core-react/utils/hooks/useInterval.js.map +0 -1
  934. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
  935. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js +0 -68
  936. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
  937. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
  938. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js +0 -103
  939. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
  940. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
  941. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js +0 -114
  942. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
  943. package/lib/cjs/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
  944. package/lib/cjs/core-react/utils/hooks/useRefEffect.js +0 -24
  945. package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +0 -1
  946. package/lib/cjs/core-react/utils/hooks/useRefState.d.ts.map +0 -1
  947. package/lib/cjs/core-react/utils/hooks/useRefState.js +0 -36
  948. package/lib/cjs/core-react/utils/hooks/useRefState.js.map +0 -1
  949. package/lib/cjs/core-react/utils/hooks/useRefs.d.ts.map +0 -1
  950. package/lib/cjs/core-react/utils/hooks/useRefs.js +0 -54
  951. package/lib/cjs/core-react/utils/hooks/useRefs.js.map +0 -1
  952. package/lib/cjs/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
  953. package/lib/cjs/core-react/utils/hooks/useResizeObserver.js +0 -211
  954. package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +0 -1
  955. package/lib/cjs/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
  956. package/lib/cjs/core-react/utils/hooks/useTargeted.js +0 -32
  957. package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +0 -1
  958. package/lib/cjs/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
  959. package/lib/cjs/core-react/utils/hooks/useThrottledFn.js +0 -26
  960. package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +0 -1
  961. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
  962. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
  963. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js +0 -27
  964. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
  965. package/lib/cjs/core-react/utils/isPromiseLike.d.ts +0 -8
  966. package/lib/cjs/core-react/utils/isPromiseLike.d.ts.map +0 -1
  967. package/lib/cjs/core-react/utils/isPromiseLike.js +0 -20
  968. package/lib/cjs/core-react/utils/isPromiseLike.js.map +0 -1
  969. package/lib/cjs/core-react/utils/matches.d.ts.map +0 -1
  970. package/lib/cjs/core-react/utils/matches.js +0 -7
  971. package/lib/cjs/core-react/utils/matches.js.map +0 -1
  972. package/lib/cjs/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
  973. package/lib/cjs/core-react/utils/reuseOrCreatePromise.js +0 -33
  974. package/lib/cjs/core-react/utils/reuseOrCreatePromise.js.map +0 -1
  975. package/lib/cjs/core-react/utils/shallowDiffers.d.ts.map +0 -1
  976. package/lib/cjs/core-react/utils/shallowDiffers.js +0 -30
  977. package/lib/cjs/core-react/utils/shallowDiffers.js.map +0 -1
  978. package/lib/cjs/core-react/utils/typeUtils.d.ts.map +0 -1
  979. package/lib/cjs/core-react/utils/typeUtils.js +0 -10
  980. package/lib/cjs/core-react/utils/typeUtils.js.map +0 -1
  981. package/lib/cjs/core-react.d.ts +0 -242
  982. package/lib/cjs/core-react.d.ts.map +0 -1
  983. package/lib/cjs/core-react.js +0 -273
  984. package/lib/cjs/core-react.js.map +0 -1
  985. package/lib/esm/core-react/UiCore.d.ts +0 -38
  986. package/lib/esm/core-react/UiCore.d.ts.map +0 -1
  987. package/lib/esm/core-react/UiCore.js +0 -72
  988. package/lib/esm/core-react/UiCore.js.map +0 -1
  989. package/lib/esm/core-react/UiCore.json +0 -31
  990. package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts +0 -99
  991. package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
  992. package/lib/esm/core-react/autosuggest/AutoSuggest.js +0 -170
  993. package/lib/esm/core-react/autosuggest/AutoSuggest.js.map +0 -1
  994. package/lib/esm/core-react/badge/Badge.d.ts +0 -17
  995. package/lib/esm/core-react/badge/Badge.d.ts.map +0 -1
  996. package/lib/esm/core-react/badge/Badge.js +0 -25
  997. package/lib/esm/core-react/badge/Badge.js.map +0 -1
  998. package/lib/esm/core-react/badge/BadgeType.d.ts +0 -19
  999. package/lib/esm/core-react/badge/BadgeType.d.ts.map +0 -1
  1000. package/lib/esm/core-react/badge/BadgeType.js +0 -14
  1001. package/lib/esm/core-react/badge/BadgeType.js.map +0 -1
  1002. package/lib/esm/core-react/badge/DeprecatedBadge.d.ts +0 -10
  1003. package/lib/esm/core-react/badge/DeprecatedBadge.d.ts.map +0 -1
  1004. package/lib/esm/core-react/badge/DeprecatedBadge.js.map +0 -1
  1005. package/lib/esm/core-react/badge/NewBadge.d.ts +0 -10
  1006. package/lib/esm/core-react/badge/NewBadge.d.ts.map +0 -1
  1007. package/lib/esm/core-react/badge/NewBadge.js.map +0 -1
  1008. package/lib/esm/core-react/badge/TechnicalPreviewBadge.d.ts +0 -10
  1009. package/lib/esm/core-react/badge/TechnicalPreviewBadge.d.ts.map +0 -1
  1010. package/lib/esm/core-react/badge/TechnicalPreviewBadge.js.map +0 -1
  1011. package/lib/esm/core-react/base/Centered.d.ts +0 -12
  1012. package/lib/esm/core-react/base/Centered.d.ts.map +0 -1
  1013. package/lib/esm/core-react/base/Centered.js +0 -20
  1014. package/lib/esm/core-react/base/Centered.js.map +0 -1
  1015. package/lib/esm/core-react/base/Div.d.ts +0 -19
  1016. package/lib/esm/core-react/base/Div.d.ts.map +0 -1
  1017. package/lib/esm/core-react/base/Div.js.map +0 -1
  1018. package/lib/esm/core-react/base/DivWithOutsideClick.d.ts +0 -77
  1019. package/lib/esm/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
  1020. package/lib/esm/core-react/base/DivWithOutsideClick.js +0 -17
  1021. package/lib/esm/core-react/base/DivWithOutsideClick.js.map +0 -1
  1022. package/lib/esm/core-react/base/FillCentered.d.ts +0 -12
  1023. package/lib/esm/core-react/base/FillCentered.d.ts.map +0 -1
  1024. package/lib/esm/core-react/base/FillCentered.js +0 -20
  1025. package/lib/esm/core-react/base/FillCentered.js.map +0 -1
  1026. package/lib/esm/core-react/base/FlexWrapContainer.d.ts +0 -13
  1027. package/lib/esm/core-react/base/FlexWrapContainer.d.ts.map +0 -1
  1028. package/lib/esm/core-react/base/FlexWrapContainer.js +0 -21
  1029. package/lib/esm/core-react/base/FlexWrapContainer.js.map +0 -1
  1030. package/lib/esm/core-react/base/Gap.d.ts +0 -18
  1031. package/lib/esm/core-react/base/Gap.d.ts.map +0 -1
  1032. package/lib/esm/core-react/base/Gap.js.map +0 -1
  1033. package/lib/esm/core-react/base/PointerEvents.d.ts +0 -8
  1034. package/lib/esm/core-react/base/PointerEvents.d.ts.map +0 -1
  1035. package/lib/esm/core-react/base/PointerEvents.js.map +0 -1
  1036. package/lib/esm/core-react/base/ScrollView.d.ts +0 -13
  1037. package/lib/esm/core-react/base/ScrollView.d.ts.map +0 -1
  1038. package/lib/esm/core-react/base/ScrollView.js +0 -21
  1039. package/lib/esm/core-react/base/ScrollView.js.map +0 -1
  1040. package/lib/esm/core-react/button/UnderlinedButton.d.ts +0 -27
  1041. package/lib/esm/core-react/button/UnderlinedButton.d.ts.map +0 -1
  1042. package/lib/esm/core-react/button/UnderlinedButton.js.map +0 -1
  1043. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts +0 -45
  1044. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
  1045. package/lib/esm/core-react/checklistbox/CheckListBox.js.map +0 -1
  1046. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts +0 -91
  1047. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
  1048. package/lib/esm/core-react/contextmenu/ContextMenu.js +0 -362
  1049. package/lib/esm/core-react/contextmenu/ContextMenu.js.map +0 -1
  1050. package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts +0 -17
  1051. package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
  1052. package/lib/esm/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
  1053. package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts +0 -13
  1054. package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
  1055. package/lib/esm/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
  1056. package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts +0 -65
  1057. package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
  1058. package/lib/esm/core-react/contextmenu/ContextMenuItem.js +0 -107
  1059. package/lib/esm/core-react/contextmenu/ContextMenuItem.js.map +0 -1
  1060. package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts +0 -51
  1061. package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
  1062. package/lib/esm/core-react/contextmenu/ContextSubMenu.js +0 -173
  1063. package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +0 -1
  1064. package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts +0 -36
  1065. package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
  1066. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js +0 -59
  1067. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
  1068. package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts +0 -57
  1069. package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
  1070. package/lib/esm/core-react/contextmenu/PopupContextMenu.js +0 -54
  1071. package/lib/esm/core-react/contextmenu/PopupContextMenu.js.map +0 -1
  1072. package/lib/esm/core-react/contextmenu/TildeFinder.d.ts +0 -19
  1073. package/lib/esm/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
  1074. package/lib/esm/core-react/contextmenu/TildeFinder.js.map +0 -1
  1075. package/lib/esm/core-react/dialog/Dialog.d.ts +0 -112
  1076. package/lib/esm/core-react/dialog/Dialog.d.ts.map +0 -1
  1077. package/lib/esm/core-react/dialog/Dialog.js +0 -205
  1078. package/lib/esm/core-react/dialog/Dialog.js.map +0 -1
  1079. package/lib/esm/core-react/dialog/GlobalDialog.d.ts +0 -32
  1080. package/lib/esm/core-react/dialog/GlobalDialog.d.ts.map +0 -1
  1081. package/lib/esm/core-react/dialog/GlobalDialog.js +0 -57
  1082. package/lib/esm/core-react/dialog/GlobalDialog.js.map +0 -1
  1083. package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts +0 -44
  1084. package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
  1085. package/lib/esm/core-react/elementseparator/ElementSeparator.js +0 -163
  1086. package/lib/esm/core-react/elementseparator/ElementSeparator.js.map +0 -1
  1087. package/lib/esm/core-react/enums/Alignment.d.ts +0 -25
  1088. package/lib/esm/core-react/enums/Alignment.d.ts.map +0 -1
  1089. package/lib/esm/core-react/enums/Alignment.js.map +0 -1
  1090. package/lib/esm/core-react/enums/CheckBoxState.d.ts +0 -23
  1091. package/lib/esm/core-react/enums/CheckBoxState.d.ts.map +0 -1
  1092. package/lib/esm/core-react/enums/CheckBoxState.js.map +0 -1
  1093. package/lib/esm/core-react/enums/Orientation.d.ts +0 -13
  1094. package/lib/esm/core-react/enums/Orientation.d.ts.map +0 -1
  1095. package/lib/esm/core-react/enums/Orientation.js.map +0 -1
  1096. package/lib/esm/core-react/enums/SortDirection.d.ts +0 -14
  1097. package/lib/esm/core-react/enums/SortDirection.d.ts.map +0 -1
  1098. package/lib/esm/core-react/enums/SortDirection.js.map +0 -1
  1099. package/lib/esm/core-react/enums/TimeFormat.d.ts +0 -16
  1100. package/lib/esm/core-react/enums/TimeFormat.d.ts.map +0 -1
  1101. package/lib/esm/core-react/enums/TimeFormat.js.map +0 -1
  1102. package/lib/esm/core-react/expandable/ExpandableList.d.ts +0 -37
  1103. package/lib/esm/core-react/expandable/ExpandableList.d.ts.map +0 -1
  1104. package/lib/esm/core-react/expandable/ExpandableList.js.map +0 -1
  1105. package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts +0 -53
  1106. package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
  1107. package/lib/esm/core-react/focus/ItemKeyboardNavigator.js +0 -173
  1108. package/lib/esm/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
  1109. package/lib/esm/core-react/focustrap/FocusTrap.d.ts +0 -29
  1110. package/lib/esm/core-react/focustrap/FocusTrap.d.ts.map +0 -1
  1111. package/lib/esm/core-react/focustrap/FocusTrap.js +0 -196
  1112. package/lib/esm/core-react/focustrap/FocusTrap.js.map +0 -1
  1113. package/lib/esm/core-react/hocs/withIsPressed.d.ts +0 -76
  1114. package/lib/esm/core-react/hocs/withIsPressed.d.ts.map +0 -1
  1115. package/lib/esm/core-react/hocs/withIsPressed.js.map +0 -1
  1116. package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts +0 -100
  1117. package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
  1118. package/lib/esm/core-react/hocs/withOnOutsideClick.js.map +0 -1
  1119. package/lib/esm/core-react/hocs/withTimeout.d.ts +0 -73
  1120. package/lib/esm/core-react/hocs/withTimeout.d.ts.map +0 -1
  1121. package/lib/esm/core-react/hocs/withTimeout.js +0 -44
  1122. package/lib/esm/core-react/hocs/withTimeout.js.map +0 -1
  1123. package/lib/esm/core-react/icons/ConditionalIconItem.d.ts +0 -28
  1124. package/lib/esm/core-react/icons/ConditionalIconItem.d.ts.map +0 -1
  1125. package/lib/esm/core-react/icons/ConditionalIconItem.js.map +0 -1
  1126. package/lib/esm/core-react/icons/IconComponent.d.ts +0 -34
  1127. package/lib/esm/core-react/icons/IconComponent.d.ts.map +0 -1
  1128. package/lib/esm/core-react/icons/IconComponent.js +0 -77
  1129. package/lib/esm/core-react/icons/IconComponent.js.map +0 -1
  1130. package/lib/esm/core-react/icons/SvgPath.d.ts +0 -26
  1131. package/lib/esm/core-react/icons/SvgPath.d.ts.map +0 -1
  1132. package/lib/esm/core-react/icons/SvgPath.js.map +0 -1
  1133. package/lib/esm/core-react/icons/WebFontIcon.d.ts +0 -28
  1134. package/lib/esm/core-react/icons/WebFontIcon.d.ts.map +0 -1
  1135. package/lib/esm/core-react/icons/WebFontIcon.js.map +0 -1
  1136. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts +0 -43
  1137. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
  1138. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js +0 -49
  1139. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
  1140. package/lib/esm/core-react/inputs/Input.d.ts +0 -21
  1141. package/lib/esm/core-react/inputs/Input.d.ts.map +0 -1
  1142. package/lib/esm/core-react/inputs/Input.js +0 -42
  1143. package/lib/esm/core-react/inputs/Input.js.map +0 -1
  1144. package/lib/esm/core-react/inputs/InputLabel.d.ts +0 -23
  1145. package/lib/esm/core-react/inputs/InputLabel.d.ts.map +0 -1
  1146. package/lib/esm/core-react/inputs/InputLabel.js +0 -33
  1147. package/lib/esm/core-react/inputs/InputLabel.js.map +0 -1
  1148. package/lib/esm/core-react/inputs/InputStatus.d.ts +0 -13
  1149. package/lib/esm/core-react/inputs/InputStatus.d.ts.map +0 -1
  1150. package/lib/esm/core-react/inputs/InputStatus.js.map +0 -1
  1151. package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts +0 -36
  1152. package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
  1153. package/lib/esm/core-react/inputs/LabeledComponentProps.js.map +0 -1
  1154. package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts +0 -26
  1155. package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
  1156. package/lib/esm/core-react/inputs/iconinput/IconInput.js +0 -29
  1157. package/lib/esm/core-react/inputs/iconinput/IconInput.js.map +0 -1
  1158. package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts +0 -56
  1159. package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
  1160. package/lib/esm/core-react/inputs/numberinput/NumberInput.js +0 -160
  1161. package/lib/esm/core-react/inputs/numberinput/NumberInput.js.map +0 -1
  1162. package/lib/esm/core-react/l10n/LocalizationProvider.d.ts +0 -21
  1163. package/lib/esm/core-react/l10n/LocalizationProvider.d.ts.map +0 -1
  1164. package/lib/esm/core-react/l10n/LocalizationProvider.js.map +0 -1
  1165. package/lib/esm/core-react/l10n/usePackageTranslation.d.ts +0 -15
  1166. package/lib/esm/core-react/l10n/usePackageTranslation.d.ts.map +0 -1
  1167. package/lib/esm/core-react/l10n/usePackageTranslation.js +0 -60
  1168. package/lib/esm/core-react/l10n/usePackageTranslation.js.map +0 -1
  1169. package/lib/esm/core-react/l10n/useTranslation.d.ts +0 -7
  1170. package/lib/esm/core-react/l10n/useTranslation.d.ts.map +0 -1
  1171. package/lib/esm/core-react/l10n/useTranslation.js +0 -26
  1172. package/lib/esm/core-react/l10n/useTranslation.js.map +0 -1
  1173. package/lib/esm/core-react/listbox/Listbox.d.ts +0 -59
  1174. package/lib/esm/core-react/listbox/Listbox.d.ts.map +0 -1
  1175. package/lib/esm/core-react/listbox/Listbox.js.map +0 -1
  1176. package/lib/esm/core-react/loading/LoadingBar.d.ts +0 -31
  1177. package/lib/esm/core-react/loading/LoadingBar.d.ts.map +0 -1
  1178. package/lib/esm/core-react/loading/LoadingBar.js.map +0 -1
  1179. package/lib/esm/core-react/loading/LoadingPrompt.d.ts +0 -41
  1180. package/lib/esm/core-react/loading/LoadingPrompt.d.ts.map +0 -1
  1181. package/lib/esm/core-react/loading/LoadingPrompt.js +0 -41
  1182. package/lib/esm/core-react/loading/LoadingPrompt.js.map +0 -1
  1183. package/lib/esm/core-react/loading/LoadingSpinner.d.ts +0 -37
  1184. package/lib/esm/core-react/loading/LoadingSpinner.d.ts.map +0 -1
  1185. package/lib/esm/core-react/loading/LoadingSpinner.js.map +0 -1
  1186. package/lib/esm/core-react/loading/LoadingStatus.d.ts +0 -26
  1187. package/lib/esm/core-react/loading/LoadingStatus.d.ts.map +0 -1
  1188. package/lib/esm/core-react/loading/LoadingStatus.js.map +0 -1
  1189. package/lib/esm/core-react/messagebox/MessageBox.d.ts +0 -90
  1190. package/lib/esm/core-react/messagebox/MessageBox.d.ts.map +0 -1
  1191. package/lib/esm/core-react/messagebox/MessageBox.js +0 -117
  1192. package/lib/esm/core-react/messagebox/MessageBox.js.map +0 -1
  1193. package/lib/esm/core-react/notification/MessageRenderer.d.ts +0 -22
  1194. package/lib/esm/core-react/notification/MessageRenderer.d.ts.map +0 -1
  1195. package/lib/esm/core-react/notification/MessageRenderer.js +0 -83
  1196. package/lib/esm/core-react/notification/MessageRenderer.js.map +0 -1
  1197. package/lib/esm/core-react/notification/MessageType.d.ts +0 -25
  1198. package/lib/esm/core-react/notification/MessageType.d.ts.map +0 -1
  1199. package/lib/esm/core-react/notification/MessageType.js.map +0 -1
  1200. package/lib/esm/core-react/popup/Popup.d.ts +0 -128
  1201. package/lib/esm/core-react/popup/Popup.d.ts.map +0 -1
  1202. package/lib/esm/core-react/popup/Popup.js +0 -466
  1203. package/lib/esm/core-react/popup/Popup.js.map +0 -1
  1204. package/lib/esm/core-react/radialmenu/Annulus.d.ts +0 -54
  1205. package/lib/esm/core-react/radialmenu/Annulus.d.ts.map +0 -1
  1206. package/lib/esm/core-react/radialmenu/Annulus.js +0 -75
  1207. package/lib/esm/core-react/radialmenu/Annulus.js.map +0 -1
  1208. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts +0 -96
  1209. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
  1210. package/lib/esm/core-react/radialmenu/RadialMenu.js +0 -183
  1211. package/lib/esm/core-react/radialmenu/RadialMenu.js.map +0 -1
  1212. package/lib/esm/core-react/searchbox/SearchBox.d.ts +0 -51
  1213. package/lib/esm/core-react/searchbox/SearchBox.d.ts.map +0 -1
  1214. package/lib/esm/core-react/searchbox/SearchBox.js +0 -115
  1215. package/lib/esm/core-react/searchbox/SearchBox.js.map +0 -1
  1216. package/lib/esm/core-react/settings/SettingsContainer.d.ts +0 -35
  1217. package/lib/esm/core-react/settings/SettingsContainer.d.ts.map +0 -1
  1218. package/lib/esm/core-react/settings/SettingsContainer.js +0 -149
  1219. package/lib/esm/core-react/settings/SettingsContainer.js.map +0 -1
  1220. package/lib/esm/core-react/settings/SettingsManager.d.ts +0 -137
  1221. package/lib/esm/core-react/settings/SettingsManager.d.ts.map +0 -1
  1222. package/lib/esm/core-react/settings/SettingsManager.js +0 -112
  1223. package/lib/esm/core-react/settings/SettingsManager.js.map +0 -1
  1224. package/lib/esm/core-react/tabs/Tabs.d.ts +0 -69
  1225. package/lib/esm/core-react/tabs/Tabs.d.ts.map +0 -1
  1226. package/lib/esm/core-react/tabs/Tabs.js +0 -117
  1227. package/lib/esm/core-react/tabs/Tabs.js.map +0 -1
  1228. package/lib/esm/core-react/tabs/VerticalTabs.d.ts +0 -11
  1229. package/lib/esm/core-react/tabs/VerticalTabs.d.ts.map +0 -1
  1230. package/lib/esm/core-react/tabs/VerticalTabs.js +0 -19
  1231. package/lib/esm/core-react/tabs/VerticalTabs.js.map +0 -1
  1232. package/lib/esm/core-react/text/BlockText.d.ts +0 -11
  1233. package/lib/esm/core-react/text/BlockText.d.ts.map +0 -1
  1234. package/lib/esm/core-react/text/BlockText.js +0 -19
  1235. package/lib/esm/core-react/text/BlockText.js.map +0 -1
  1236. package/lib/esm/core-react/text/BodyText.d.ts +0 -11
  1237. package/lib/esm/core-react/text/BodyText.d.ts.map +0 -1
  1238. package/lib/esm/core-react/text/BodyText.js +0 -19
  1239. package/lib/esm/core-react/text/BodyText.js.map +0 -1
  1240. package/lib/esm/core-react/text/DisabledText.d.ts +0 -11
  1241. package/lib/esm/core-react/text/DisabledText.d.ts.map +0 -1
  1242. package/lib/esm/core-react/text/DisabledText.js +0 -18
  1243. package/lib/esm/core-react/text/DisabledText.js.map +0 -1
  1244. package/lib/esm/core-react/text/FilteredText.d.ts +0 -27
  1245. package/lib/esm/core-react/text/FilteredText.d.ts.map +0 -1
  1246. package/lib/esm/core-react/text/FilteredText.js.map +0 -1
  1247. package/lib/esm/core-react/text/MutedText.d.ts +0 -11
  1248. package/lib/esm/core-react/text/MutedText.d.ts.map +0 -1
  1249. package/lib/esm/core-react/text/MutedText.js +0 -19
  1250. package/lib/esm/core-react/text/MutedText.js.map +0 -1
  1251. package/lib/esm/core-react/text/StyledText.d.ts +0 -19
  1252. package/lib/esm/core-react/text/StyledText.d.ts.map +0 -1
  1253. package/lib/esm/core-react/text/StyledText.js.map +0 -1
  1254. package/lib/esm/core-react/text/TextProps.d.ts +0 -12
  1255. package/lib/esm/core-react/text/TextProps.d.ts.map +0 -1
  1256. package/lib/esm/core-react/text/TextProps.js.map +0 -1
  1257. package/lib/esm/core-react/tree/Branch.d.ts +0 -22
  1258. package/lib/esm/core-react/tree/Branch.d.ts.map +0 -1
  1259. package/lib/esm/core-react/tree/Branch.js.map +0 -1
  1260. package/lib/esm/core-react/tree/ExpansionToggle.d.ts +0 -21
  1261. package/lib/esm/core-react/tree/ExpansionToggle.d.ts.map +0 -1
  1262. package/lib/esm/core-react/tree/ExpansionToggle.js +0 -27
  1263. package/lib/esm/core-react/tree/ExpansionToggle.js.map +0 -1
  1264. package/lib/esm/core-react/tree/Node.d.ts +0 -84
  1265. package/lib/esm/core-react/tree/Node.d.ts.map +0 -1
  1266. package/lib/esm/core-react/tree/Node.js +0 -88
  1267. package/lib/esm/core-react/tree/Node.js.map +0 -1
  1268. package/lib/esm/core-react/tree/Placeholder.d.ts +0 -25
  1269. package/lib/esm/core-react/tree/Placeholder.d.ts.map +0 -1
  1270. package/lib/esm/core-react/tree/Placeholder.js +0 -30
  1271. package/lib/esm/core-react/tree/Placeholder.js.map +0 -1
  1272. package/lib/esm/core-react/tree/Tree.d.ts +0 -31
  1273. package/lib/esm/core-react/tree/Tree.d.ts.map +0 -1
  1274. package/lib/esm/core-react/tree/Tree.js +0 -105
  1275. package/lib/esm/core-react/tree/Tree.js.map +0 -1
  1276. package/lib/esm/core-react/uistate/LocalStateStorage.d.ts +0 -17
  1277. package/lib/esm/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
  1278. package/lib/esm/core-react/uistate/LocalStateStorage.js +0 -48
  1279. package/lib/esm/core-react/uistate/LocalStateStorage.js.map +0 -1
  1280. package/lib/esm/core-react/uistate/UiStateEntry.d.ts +0 -32
  1281. package/lib/esm/core-react/uistate/UiStateEntry.d.ts.map +0 -1
  1282. package/lib/esm/core-react/uistate/UiStateEntry.js +0 -58
  1283. package/lib/esm/core-react/uistate/UiStateEntry.js.map +0 -1
  1284. package/lib/esm/core-react/uistate/UiStateStorage.d.ts +0 -32
  1285. package/lib/esm/core-react/uistate/UiStateStorage.d.ts.map +0 -1
  1286. package/lib/esm/core-react/uistate/UiStateStorage.js.map +0 -1
  1287. package/lib/esm/core-react/utils/IconHelper.d.ts +0 -27
  1288. package/lib/esm/core-react/utils/IconHelper.d.ts.map +0 -1
  1289. package/lib/esm/core-react/utils/IconHelper.js +0 -82
  1290. package/lib/esm/core-react/utils/IconHelper.js.map +0 -1
  1291. package/lib/esm/core-react/utils/IconWebComponent.d.ts +0 -13
  1292. package/lib/esm/core-react/utils/IconWebComponent.d.ts.map +0 -1
  1293. package/lib/esm/core-react/utils/IconWebComponent.js +0 -112
  1294. package/lib/esm/core-react/utils/IconWebComponent.js.map +0 -1
  1295. package/lib/esm/core-react/utils/ListenerType.d.ts +0 -15
  1296. package/lib/esm/core-react/utils/ListenerType.d.ts.map +0 -1
  1297. package/lib/esm/core-react/utils/ListenerType.js.map +0 -1
  1298. package/lib/esm/core-react/utils/Point.d.ts +0 -38
  1299. package/lib/esm/core-react/utils/Point.d.ts.map +0 -1
  1300. package/lib/esm/core-react/utils/Point.js +0 -70
  1301. package/lib/esm/core-react/utils/Point.js.map +0 -1
  1302. package/lib/esm/core-react/utils/PointProps.d.ts +0 -9
  1303. package/lib/esm/core-react/utils/PointProps.d.ts.map +0 -1
  1304. package/lib/esm/core-react/utils/PointProps.js.map +0 -1
  1305. package/lib/esm/core-react/utils/Props.d.ts +0 -43
  1306. package/lib/esm/core-react/utils/Props.d.ts.map +0 -1
  1307. package/lib/esm/core-react/utils/Props.js.map +0 -1
  1308. package/lib/esm/core-react/utils/Rectangle.d.ts +0 -147
  1309. package/lib/esm/core-react/utils/Rectangle.d.ts.map +0 -1
  1310. package/lib/esm/core-react/utils/Rectangle.js +0 -275
  1311. package/lib/esm/core-react/utils/Rectangle.js.map +0 -1
  1312. package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts +0 -25
  1313. package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
  1314. package/lib/esm/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
  1315. package/lib/esm/core-react/utils/Size.d.ts +0 -25
  1316. package/lib/esm/core-react/utils/Size.d.ts.map +0 -1
  1317. package/lib/esm/core-react/utils/Size.js +0 -28
  1318. package/lib/esm/core-react/utils/Size.js.map +0 -1
  1319. package/lib/esm/core-react/utils/Timer.d.ts +0 -38
  1320. package/lib/esm/core-react/utils/Timer.d.ts.map +0 -1
  1321. package/lib/esm/core-react/utils/Timer.js.map +0 -1
  1322. package/lib/esm/core-react/utils/UiGeometry.d.ts +0 -21
  1323. package/lib/esm/core-react/utils/UiGeometry.d.ts.map +0 -1
  1324. package/lib/esm/core-react/utils/UiGeometry.js +0 -29
  1325. package/lib/esm/core-react/utils/UiGeometry.js.map +0 -1
  1326. package/lib/esm/core-react/utils/flattenChildren.d.ts +0 -9
  1327. package/lib/esm/core-react/utils/flattenChildren.d.ts.map +0 -1
  1328. package/lib/esm/core-react/utils/flattenChildren.js.map +0 -1
  1329. package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts +0 -8
  1330. package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
  1331. package/lib/esm/core-react/utils/getBestBWContrastColor.js.map +0 -1
  1332. package/lib/esm/core-react/utils/getCssVariable.d.ts +0 -14
  1333. package/lib/esm/core-react/utils/getCssVariable.d.ts.map +0 -1
  1334. package/lib/esm/core-react/utils/getCssVariable.js.map +0 -1
  1335. package/lib/esm/core-react/utils/getDisplayName.d.ts +0 -9
  1336. package/lib/esm/core-react/utils/getDisplayName.d.ts.map +0 -1
  1337. package/lib/esm/core-react/utils/getDisplayName.js.map +0 -1
  1338. package/lib/esm/core-react/utils/getObjectClassName.d.ts +0 -9
  1339. package/lib/esm/core-react/utils/getObjectClassName.d.ts.map +0 -1
  1340. package/lib/esm/core-react/utils/getObjectClassName.js +0 -19
  1341. package/lib/esm/core-react/utils/getObjectClassName.js.map +0 -1
  1342. package/lib/esm/core-react/utils/getUserColor.d.ts +0 -8
  1343. package/lib/esm/core-react/utils/getUserColor.d.ts.map +0 -1
  1344. package/lib/esm/core-react/utils/getUserColor.js.map +0 -1
  1345. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
  1346. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
  1347. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -18
  1348. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
  1349. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.d.ts +0 -9
  1350. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
  1351. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js +0 -99
  1352. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
  1353. package/lib/esm/core-react/utils/hooks/useDisposable.d.ts +0 -21
  1354. package/lib/esm/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
  1355. package/lib/esm/core-react/utils/hooks/useDisposable.js.map +0 -1
  1356. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts +0 -10
  1357. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
  1358. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
  1359. package/lib/esm/core-react/utils/hooks/useEventListener.d.ts +0 -12
  1360. package/lib/esm/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
  1361. package/lib/esm/core-react/utils/hooks/useEventListener.js +0 -39
  1362. package/lib/esm/core-react/utils/hooks/useEventListener.js.map +0 -1
  1363. package/lib/esm/core-react/utils/hooks/useInterval.d.ts +0 -7
  1364. package/lib/esm/core-react/utils/hooks/useInterval.d.ts.map +0 -1
  1365. package/lib/esm/core-react/utils/hooks/useInterval.js.map +0 -1
  1366. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts +0 -6
  1367. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
  1368. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
  1369. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts +0 -17
  1370. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
  1371. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js +0 -99
  1372. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
  1373. package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts +0 -56
  1374. package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
  1375. package/lib/esm/core-react/utils/hooks/useProximityToMouse.js +0 -102
  1376. package/lib/esm/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
  1377. package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts +0 -8
  1378. package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
  1379. package/lib/esm/core-react/utils/hooks/useRefEffect.js.map +0 -1
  1380. package/lib/esm/core-react/utils/hooks/useRefState.d.ts +0 -22
  1381. package/lib/esm/core-react/utils/hooks/useRefState.d.ts.map +0 -1
  1382. package/lib/esm/core-react/utils/hooks/useRefState.js.map +0 -1
  1383. package/lib/esm/core-react/utils/hooks/useRefs.d.ts +0 -13
  1384. package/lib/esm/core-react/utils/hooks/useRefs.d.ts.map +0 -1
  1385. package/lib/esm/core-react/utils/hooks/useRefs.js.map +0 -1
  1386. package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts +0 -43
  1387. package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
  1388. package/lib/esm/core-react/utils/hooks/useResizeObserver.js +0 -204
  1389. package/lib/esm/core-react/utils/hooks/useResizeObserver.js.map +0 -1
  1390. package/lib/esm/core-react/utils/hooks/useTargeted.d.ts +0 -9
  1391. package/lib/esm/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
  1392. package/lib/esm/core-react/utils/hooks/useTargeted.js.map +0 -1
  1393. package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts +0 -16
  1394. package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
  1395. package/lib/esm/core-react/utils/hooks/useThrottledFn.js.map +0 -1
  1396. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
  1397. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
  1398. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js +0 -23
  1399. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
  1400. package/lib/esm/core-react/utils/isPromiseLike.d.ts +0 -8
  1401. package/lib/esm/core-react/utils/isPromiseLike.d.ts.map +0 -1
  1402. package/lib/esm/core-react/utils/isPromiseLike.js +0 -16
  1403. package/lib/esm/core-react/utils/isPromiseLike.js.map +0 -1
  1404. package/lib/esm/core-react/utils/matches.d.ts +0 -11
  1405. package/lib/esm/core-react/utils/matches.d.ts.map +0 -1
  1406. package/lib/esm/core-react/utils/matches.js.map +0 -1
  1407. package/lib/esm/core-react/utils/reuseOrCreatePromise.d.ts +0 -14
  1408. package/lib/esm/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
  1409. package/lib/esm/core-react/utils/reuseOrCreatePromise.js.map +0 -1
  1410. package/lib/esm/core-react/utils/shallowDiffers.d.ts +0 -12
  1411. package/lib/esm/core-react/utils/shallowDiffers.d.ts.map +0 -1
  1412. package/lib/esm/core-react/utils/shallowDiffers.js.map +0 -1
  1413. package/lib/esm/core-react/utils/typeUtils.d.ts +0 -9
  1414. package/lib/esm/core-react/utils/typeUtils.d.ts.map +0 -1
  1415. package/lib/esm/core-react/utils/typeUtils.js.map +0 -1
  1416. package/lib/esm/core-react.d.ts +0 -242
  1417. package/lib/esm/core-react.d.ts.map +0 -1
  1418. package/lib/esm/core-react.js +0 -249
  1419. package/lib/esm/core-react.js.map +0 -1
  1420. /package/lib/{cjs/core-react → core-react}/UiCore.json +0 -0
  1421. /package/lib/{cjs/core-react → core-react}/badge/DeprecatedBadge.d.ts +0 -0
  1422. /package/lib/{esm/core-react → core-react}/badge/DeprecatedBadge.js +0 -0
  1423. /package/lib/{cjs/core-react → core-react}/badge/NewBadge.d.ts +0 -0
  1424. /package/lib/{esm/core-react → core-react}/badge/NewBadge.js +0 -0
  1425. /package/lib/{cjs/core-react → core-react}/badge/TechnicalPreviewBadge.d.ts +0 -0
  1426. /package/lib/{esm/core-react → core-react}/badge/TechnicalPreviewBadge.js +0 -0
  1427. /package/lib/{esm/core-react → core-react}/base/Div.js +0 -0
  1428. /package/lib/{esm/core-react → core-react}/base/Gap.js +0 -0
  1429. /package/lib/{cjs/core-react → core-react}/base/PointerEvents.d.ts +0 -0
  1430. /package/lib/{esm/core-react → core-react}/base/PointerEvents.js +0 -0
  1431. /package/lib/{cjs/core-react → core-react}/button/UnderlinedButton.d.ts +0 -0
  1432. /package/lib/{esm/core-react → core-react}/button/UnderlinedButton.js +0 -0
  1433. /package/lib/{esm/core-react → core-react}/checklistbox/CheckListBox.js +0 -0
  1434. /package/lib/{cjs/core-react → core-react}/contextmenu/ContextMenuDirection.d.ts +0 -0
  1435. /package/lib/{esm/core-react → core-react}/contextmenu/ContextMenuDirection.js +0 -0
  1436. /package/lib/{esm/core-react → core-react}/contextmenu/ContextMenuDivider.js +0 -0
  1437. /package/lib/{cjs/core-react → core-react}/contextmenu/TildeFinder.d.ts +0 -0
  1438. /package/lib/{esm/core-react → core-react}/contextmenu/TildeFinder.js +0 -0
  1439. /package/lib/{cjs/core-react → core-react}/enums/Alignment.d.ts +0 -0
  1440. /package/lib/{esm/core-react → core-react}/enums/Alignment.js +0 -0
  1441. /package/lib/{cjs/core-react → core-react}/enums/CheckBoxState.d.ts +0 -0
  1442. /package/lib/{esm/core-react → core-react}/enums/CheckBoxState.js +0 -0
  1443. /package/lib/{cjs/core-react → core-react}/enums/Orientation.d.ts +0 -0
  1444. /package/lib/{esm/core-react → core-react}/enums/Orientation.js +0 -0
  1445. /package/lib/{cjs/core-react → core-react}/enums/SortDirection.d.ts +0 -0
  1446. /package/lib/{esm/core-react → core-react}/enums/SortDirection.js +0 -0
  1447. /package/lib/{cjs/core-react → core-react}/enums/TimeFormat.d.ts +0 -0
  1448. /package/lib/{esm/core-react → core-react}/enums/TimeFormat.js +0 -0
  1449. /package/lib/{esm/core-react → core-react}/expandable/ExpandableList.js +0 -0
  1450. /package/lib/{cjs/core-react → core-react}/focustrap/FocusTrap.d.ts +0 -0
  1451. /package/lib/{cjs/core-react → core-react}/hocs/withIsPressed.d.ts +0 -0
  1452. /package/lib/{esm/core-react → core-react}/hocs/withIsPressed.js +0 -0
  1453. /package/lib/{cjs/core-react → core-react}/hocs/withOnOutsideClick.d.ts +0 -0
  1454. /package/lib/{esm/core-react → core-react}/hocs/withOnOutsideClick.js +0 -0
  1455. /package/lib/{esm/core-react → core-react}/icons/ConditionalIconItem.js +0 -0
  1456. /package/lib/{esm/core-react → core-react}/icons/SvgPath.js +0 -0
  1457. /package/lib/{esm/core-react → core-react}/icons/WebFontIcon.js +0 -0
  1458. /package/lib/{cjs/core-react → core-react}/inputs/InputStatus.d.ts +0 -0
  1459. /package/lib/{esm/core-react → core-react}/inputs/InputStatus.js +0 -0
  1460. /package/lib/{esm/core-react → core-react}/inputs/LabeledComponentProps.js +0 -0
  1461. /package/lib/{cjs/core-react → core-react}/inputs/numberinput/NumberInput.d.ts +0 -0
  1462. /package/lib/{cjs/core-react → core-react}/l10n/LocalizationProvider.d.ts +0 -0
  1463. /package/lib/{esm/core-react → core-react}/l10n/LocalizationProvider.js +0 -0
  1464. /package/lib/{cjs/core-react → core-react}/l10n/usePackageTranslation.d.ts +0 -0
  1465. /package/lib/{cjs/core-react → core-react}/l10n/useTranslation.d.ts +0 -0
  1466. /package/lib/{cjs/core-react → core-react}/listbox/Listbox.d.ts +0 -0
  1467. /package/lib/{esm/core-react → core-react}/listbox/Listbox.js +0 -0
  1468. /package/lib/{esm/core-react → core-react}/loading/LoadingBar.js +0 -0
  1469. /package/lib/{cjs/core-react → core-react}/loading/LoadingSpinner.d.ts +0 -0
  1470. /package/lib/{esm/core-react → core-react}/loading/LoadingSpinner.js +0 -0
  1471. /package/lib/{esm/core-react → core-react}/loading/LoadingStatus.js +0 -0
  1472. /package/lib/{cjs/core-react → core-react}/notification/MessageType.d.ts +0 -0
  1473. /package/lib/{esm/core-react → core-react}/notification/MessageType.js +0 -0
  1474. /package/lib/{cjs/core-react → core-react}/settings/SettingsManager.d.ts +0 -0
  1475. /package/lib/{esm/core-react → core-react}/text/FilteredText.js +0 -0
  1476. /package/lib/{esm/core-react → core-react}/text/StyledText.js +0 -0
  1477. /package/lib/{esm/core-react → core-react}/text/TextProps.js +0 -0
  1478. /package/lib/{esm/core-react → core-react}/tree/Branch.js +0 -0
  1479. /package/lib/{cjs/core-react → core-react}/uistate/UiStateStorage.d.ts +0 -0
  1480. /package/lib/{esm/core-react → core-react}/uistate/UiStateStorage.js +0 -0
  1481. /package/lib/{cjs/core-react → core-react}/utils/ListenerType.d.ts +0 -0
  1482. /package/lib/{esm/core-react → core-react}/utils/ListenerType.js +0 -0
  1483. /package/lib/{cjs/core-react → core-react}/utils/PointProps.d.ts +0 -0
  1484. /package/lib/{esm/core-react → core-react}/utils/PointProps.js +0 -0
  1485. /package/lib/{cjs/core-react → core-react}/utils/Props.d.ts +0 -0
  1486. /package/lib/{esm/core-react → core-react}/utils/Props.js +0 -0
  1487. /package/lib/{cjs/core-react → core-react}/utils/ScrollPositionMaintainer.d.ts +0 -0
  1488. /package/lib/{esm/core-react → core-react}/utils/ScrollPositionMaintainer.js +0 -0
  1489. /package/lib/{cjs/core-react → core-react}/utils/Timer.d.ts +0 -0
  1490. /package/lib/{esm/core-react → core-react}/utils/Timer.js +0 -0
  1491. /package/lib/{cjs/core-react → core-react}/utils/flattenChildren.d.ts +0 -0
  1492. /package/lib/{esm/core-react → core-react}/utils/flattenChildren.js +0 -0
  1493. /package/lib/{cjs/core-react → core-react}/utils/getBestBWContrastColor.d.ts +0 -0
  1494. /package/lib/{esm/core-react → core-react}/utils/getBestBWContrastColor.js +0 -0
  1495. /package/lib/{cjs/core-react → core-react}/utils/getCssVariable.d.ts +0 -0
  1496. /package/lib/{esm/core-react → core-react}/utils/getCssVariable.js +0 -0
  1497. /package/lib/{cjs/core-react → core-react}/utils/getDisplayName.d.ts +0 -0
  1498. /package/lib/{esm/core-react → core-react}/utils/getDisplayName.js +0 -0
  1499. /package/lib/{cjs/core-react → core-react}/utils/getUserColor.d.ts +0 -0
  1500. /package/lib/{esm/core-react → core-react}/utils/getUserColor.js +0 -0
  1501. /package/lib/{cjs/core-react → core-react}/utils/hooks/useCrossOriginPopup.d.ts +0 -0
  1502. /package/lib/{cjs/core-react → core-react}/utils/hooks/useDisposable.d.ts +0 -0
  1503. /package/lib/{esm/core-react → core-react}/utils/hooks/useDisposable.js +0 -0
  1504. /package/lib/{cjs/core-react → core-react}/utils/hooks/useEffectSkipFirst.d.ts +0 -0
  1505. /package/lib/{esm/core-react → core-react}/utils/hooks/useEffectSkipFirst.js +0 -0
  1506. /package/lib/{cjs/core-react → core-react}/utils/hooks/useInterval.d.ts +0 -0
  1507. /package/lib/{esm/core-react → core-react}/utils/hooks/useInterval.js +0 -0
  1508. /package/lib/{cjs/core-react → core-react}/utils/hooks/useLifecycleLogging.d.ts +0 -0
  1509. /package/lib/{esm/core-react → core-react}/utils/hooks/useLifecycleLogging.js +0 -0
  1510. /package/lib/{cjs/core-react → core-react}/utils/hooks/useOnOutsideClick.d.ts +0 -0
  1511. /package/lib/{cjs/core-react → core-react}/utils/hooks/useProximityToMouse.d.ts +0 -0
  1512. /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefEffect.d.ts +0 -0
  1513. /package/lib/{esm/core-react → core-react}/utils/hooks/useRefEffect.js +0 -0
  1514. /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefState.d.ts +0 -0
  1515. /package/lib/{esm/core-react → core-react}/utils/hooks/useRefState.js +0 -0
  1516. /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefs.d.ts +0 -0
  1517. /package/lib/{esm/core-react → core-react}/utils/hooks/useRefs.js +0 -0
  1518. /package/lib/{cjs/core-react → core-react}/utils/hooks/useResizeObserver.d.ts +0 -0
  1519. /package/lib/{cjs/core-react → core-react}/utils/hooks/useTargeted.d.ts +0 -0
  1520. /package/lib/{esm/core-react → core-react}/utils/hooks/useTargeted.js +0 -0
  1521. /package/lib/{cjs/core-react → core-react}/utils/hooks/useThrottledFn.d.ts +0 -0
  1522. /package/lib/{esm/core-react → core-react}/utils/hooks/useThrottledFn.js +0 -0
  1523. /package/lib/{cjs/core-react → core-react}/utils/matches.d.ts +0 -0
  1524. /package/lib/{esm/core-react → core-react}/utils/matches.js +0 -0
  1525. /package/lib/{cjs/core-react → core-react}/utils/reuseOrCreatePromise.d.ts +0 -0
  1526. /package/lib/{esm/core-react → core-react}/utils/reuseOrCreatePromise.js +0 -0
  1527. /package/lib/{cjs/core-react → core-react}/utils/shallowDiffers.d.ts +0 -0
  1528. /package/lib/{esm/core-react → core-react}/utils/shallowDiffers.js +0 -0
  1529. /package/lib/{cjs/core-react → core-react}/utils/typeUtils.d.ts +0 -0
  1530. /package/lib/{esm/core-react → core-react}/utils/typeUtils.js +0 -0
@@ -0,0 +1,276 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Utilities
7
+ */
8
+ import { Point } from "./Point.js";
9
+ /** Available corners of [[Rectangle]].
10
+ * @internal
11
+ */
12
+ export var Corner;
13
+ (function (Corner) {
14
+ Corner[Corner["TopLeft"] = 0] = "TopLeft";
15
+ Corner[Corner["TopRight"] = 1] = "TopRight";
16
+ Corner[Corner["BottomRight"] = 2] = "BottomRight";
17
+ Corner[Corner["BottomLeft"] = 3] = "BottomLeft";
18
+ })(Corner || (Corner = {}));
19
+ /** Describes and provides methods to work with 2d bounds.
20
+ * @internal
21
+ */
22
+ export class Rectangle {
23
+ /** Creates rectangle from [[RectangleProps]]. */
24
+ static create(props) {
25
+ return new Rectangle(props.left, props.top, props.right, props.bottom);
26
+ }
27
+ /** Creates rectangle from [[SizeProps]]. */
28
+ static createFromSize(size) {
29
+ return new Rectangle(0, 0, size.width, size.height);
30
+ }
31
+ /** Create a rectangle with 2 pairs of xy candidates. Theses are compared and shuffled as needed for the rectangle. */
32
+ static createXYXY(xA, yA, xB, yB) {
33
+ return new Rectangle(Math.min(xA, xB), Math.min(yA, yB), Math.max(xA, xB), Math.max(yA, yB));
34
+ }
35
+ /** Creates rectangle with specified bounds. */
36
+ constructor(left = 0, top = 0, right = 0, bottom = 0) {
37
+ this.left = left;
38
+ this.top = top;
39
+ this.right = right;
40
+ this.bottom = bottom;
41
+ }
42
+ /** @returns Size of this rectangle. */
43
+ getSize() {
44
+ const width = this.getWidth();
45
+ const height = this.getHeight();
46
+ return { width, height };
47
+ }
48
+ /** @returns Width of this rectangle. */
49
+ getWidth() {
50
+ return this.right - this.left;
51
+ }
52
+ /** @returns Height of this rectangle. */
53
+ getHeight() {
54
+ return this.bottom - this.top;
55
+ }
56
+ /** @returns Position of specified corner. */
57
+ getCorner(corner) {
58
+ switch (corner) {
59
+ case Corner.TopLeft: {
60
+ return this.topLeft();
61
+ }
62
+ case Corner.TopRight: {
63
+ return new Point(this.right, this.top);
64
+ }
65
+ case Corner.BottomLeft: {
66
+ return new Point(this.left, this.bottom);
67
+ }
68
+ case Corner.BottomRight: {
69
+ return new Point(this.right, this.bottom);
70
+ }
71
+ }
72
+ }
73
+ /**
74
+ * Inset the bounds of this rectangle.
75
+ * @note Negative arguments will increase the size of rectangle.
76
+ * @returns New [[Rectangle]] with modified bounds.
77
+ */
78
+ inset(left, top, right, bottom) {
79
+ return new Rectangle(this.left + left, this.top + top, this.right - right, this.bottom - bottom);
80
+ }
81
+ /**
82
+ * Offsets the rectangle along the X and Y axes.
83
+ * @returns New [[Rectangle]] with modified position.
84
+ */
85
+ offset(offset) {
86
+ return new Rectangle(this.left + offset.x, this.top + offset.y, this.right + offset.x, this.bottom + offset.y);
87
+ }
88
+ /**
89
+ * Offsets the rectangle along the X axis.
90
+ * @returns New [[Rectangle]] with modified position along X axis.
91
+ */
92
+ offsetX(offset) {
93
+ return new Rectangle(this.left + offset, this.top, this.right + offset, this.bottom);
94
+ }
95
+ /**
96
+ * Offsets the rectangle along the Y axis.
97
+ * @returns New [[Rectangle]] with modified position along Y axis.
98
+ */
99
+ offsetY(offset) {
100
+ return new Rectangle(this.left, this.top + offset, this.right, this.bottom + offset);
101
+ }
102
+ /**
103
+ * Moves the top left corner of rectangle to specified point.
104
+ * @returns New [[Rectangle]] with modified position.
105
+ */
106
+ setPosition(position) {
107
+ return new Rectangle(position.x, position.y, position.x + this.getWidth(), position.y + this.getHeight());
108
+ }
109
+ /**
110
+ * Sets the height of the rectangle.
111
+ * @note Only [[Edge.Bottom]] is subject to change.
112
+ * @returns New [[Rectangle]] with modified height.
113
+ */
114
+ setHeight(height) {
115
+ return new Rectangle(this.left, this.top, this.right, this.top + height);
116
+ }
117
+ /**
118
+ * Sets the width of the rectangle.
119
+ * @note Only [[Edge.Right]] is subject to change.
120
+ * @returns New [[Rectangle]] with modified width.
121
+ */
122
+ setWidth(width) {
123
+ return new Rectangle(this.left, this.top, this.left + width, this.bottom);
124
+ }
125
+ /**
126
+ * Sets the height and width of the rectangle.
127
+ * @note Only [[Edge.Bottom]] and [[Edge.Right]] are subjects to change.
128
+ * @returns New [[Rectangle]] with modified height.
129
+ */
130
+ setSize(size) {
131
+ return new Rectangle(this.left, this.top, this.left + size.width, this.top + size.height);
132
+ }
133
+ /** Checks if bounds of two rectangles match. */
134
+ equals(other) {
135
+ if (this.left === other.left &&
136
+ this.top === other.top &&
137
+ this.right === other.right &&
138
+ this.bottom === other.bottom)
139
+ return true;
140
+ return false;
141
+ }
142
+ /**
143
+ * Checks if point is within bounds of the rectangle.
144
+ * @note Inclusive.
145
+ */
146
+ containsPoint(point) {
147
+ return (point.x >= this.left &&
148
+ point.x <= this.right &&
149
+ point.y >= this.top &&
150
+ point.y <= this.bottom);
151
+ }
152
+ /**
153
+ * Checks if a point given as x,y is within the rectangle.
154
+ * @note Inclusive.
155
+ */
156
+ containsXY(x, y) {
157
+ return this.containsPoint({ x, y });
158
+ }
159
+ /**
160
+ * @returns true if this rectangle contains other rectangle.
161
+ * @note Inclusive.
162
+ */
163
+ contains(other) {
164
+ return (other.left >= this.left &&
165
+ other.right <= this.right &&
166
+ other.top >= this.top &&
167
+ other.bottom <= this.bottom);
168
+ }
169
+ /** @returns New [[Rectangle]] which is contained in other rectangle. */
170
+ containIn(other) {
171
+ let contained = this.containVerticallyIn(other);
172
+ contained = contained.containHorizontallyIn(other);
173
+ return contained;
174
+ }
175
+ /** @returns New [[Rectangle]] which is vertically contained in other rectangle. */
176
+ containVerticallyIn(other) {
177
+ const contained = this.offsetY(Math.min(other.bottom - this.bottom, 0));
178
+ return contained.offsetY(Math.max(other.top - contained.top, 0));
179
+ }
180
+ /** @returns New [[Rectangle]] which is horizontally contained in other rectangle. */
181
+ containHorizontallyIn(other) {
182
+ const contained = this.offsetX(Math.min(other.right - this.right, 0));
183
+ return contained.offsetX(Math.max(other.left - contained.left, 0));
184
+ }
185
+ /** @returns [[Corner.TopLeft]] position of this rectangle. */
186
+ topLeft() {
187
+ return new Point(this.left, this.top);
188
+ }
189
+ /** @returns Center point position of this rectangle. */
190
+ center() {
191
+ const x = this.left + (this.right - this.left) / 2;
192
+ const y = this.top + (this.bottom - this.top) / 2;
193
+ return new Point(x, y);
194
+ }
195
+ /** @returns true if this rectangle intersects other rectangle. */
196
+ intersects(other) {
197
+ return (this.left < other.right &&
198
+ this.right > other.left &&
199
+ this.top < other.bottom &&
200
+ this.bottom > other.top);
201
+ }
202
+ /**
203
+ * Merges outer edges of this and other rectangles.
204
+ * @returns New [[Rectangle]] with merged bounds.
205
+ */
206
+ outerMergeWith(other) {
207
+ const left = Math.min(this.left, other.left);
208
+ const top = Math.min(this.top, other.top);
209
+ const right = Math.max(this.right, other.right);
210
+ const bottom = Math.max(this.bottom, other.bottom);
211
+ return new Rectangle(left, top, right, bottom);
212
+ }
213
+ /**
214
+ * Vertically divides this rectangle into specified number of equal height segments.
215
+ * @returns Vertical rectangle segment.
216
+ */
217
+ getVerticalSegmentBounds(segmentId, numberOfSegments) {
218
+ const segmentHeight = this.getHeight() / numberOfSegments;
219
+ const top = segmentId * segmentHeight;
220
+ return this.inset(0, top, 0, 0).setHeight(segmentHeight);
221
+ }
222
+ /**
223
+ * Horizontally divides this rectangle into specified number of equal width segments.
224
+ * @returns Horizontal rectangle segment.
225
+ */
226
+ getHorizontalSegmentBounds(segmentId, numberOfSegments) {
227
+ const segmentWidth = this.getWidth() / numberOfSegments;
228
+ const left = segmentId * segmentWidth;
229
+ return this.inset(left, 0, 0, 0).setWidth(segmentWidth);
230
+ }
231
+ /**
232
+ * Calculates the shortest distance between this rectangle and a given point.
233
+ * @returns The shortest distance to a point.
234
+ */
235
+ getShortestDistanceToPoint(point) {
236
+ let shortestDistance = 0;
237
+ if (point.x < this.left) {
238
+ if (point.y < this.top)
239
+ shortestDistance = hypotenuseXY(this.left - point.x, this.top - point.y);
240
+ else if (point.y <= this.bottom)
241
+ shortestDistance = this.left - point.x;
242
+ else
243
+ shortestDistance = hypotenuseXY(this.left - point.x, this.bottom - point.y);
244
+ }
245
+ else if (point.x <= this.right) {
246
+ if (point.y < this.top)
247
+ shortestDistance = this.top - point.y;
248
+ else if (point.y <= this.bottom)
249
+ shortestDistance = 0;
250
+ else
251
+ shortestDistance = point.y - this.bottom;
252
+ }
253
+ else {
254
+ if (point.y < this.top)
255
+ shortestDistance = hypotenuseXY(this.right - point.x, this.top - point.y);
256
+ else if (point.y <= this.bottom)
257
+ shortestDistance = point.x - this.right;
258
+ else
259
+ shortestDistance = hypotenuseXY(this.right - point.x, this.bottom - point.y);
260
+ }
261
+ return shortestDistance;
262
+ }
263
+ /** @returns [[RectangleProps]] object for this rectangle. */
264
+ toProps() {
265
+ return {
266
+ bottom: this.bottom,
267
+ left: this.left,
268
+ right: this.right,
269
+ top: this.top,
270
+ };
271
+ }
272
+ }
273
+ function hypotenuseXY(x, y) {
274
+ return Math.sqrt(x * x + y * y);
275
+ }
276
+ //# sourceMappingURL=Rectangle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Rectangle.js","sourceRoot":"","sources":["../../../src/core-react/utils/Rectangle.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAiBnC;;GAEG;AACH,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,yCAAO,CAAA;IACP,2CAAQ,CAAA;IACR,iDAAW,CAAA;IACX,+CAAU,CAAA;AACZ,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED;;GAEG;AACH,MAAM,OAAO,SAAS;IACpB,iDAAiD;IAC1C,MAAM,CAAC,MAAM,CAAC,KAAqB;QACxC,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzE,CAAC;IAED,4CAA4C;IACrC,MAAM,CAAC,cAAc,CAAC,IAAe;QAC1C,OAAO,IAAI,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,C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CAAC;QACN,CAAC;QAED,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,6DAA6D;IACtD,OAAO;QACZ,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CAAC;IACJ,CAAC;CACF;AAED,SAAS,YAAY,CAAC,CAAS,EAAE,CAAS;IACxC,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;AAClC,CAAC","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 { Point } from \"./Point.js\";\nimport type { PointProps } from \"./PointProps.js\";\nimport type { SizeProps } from \"./Size.js\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** Describes 2d bounds.\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#RectangleProps} instead.\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(\n xA: number,\n yA: number,\n xB: number,\n yB: number\n ): Rectangle {\n return new Rectangle(\n Math.min(xA, xB),\n Math.min(yA, yB),\n Math.max(xA, xB),\n Math.max(yA, yB)\n );\n }\n\n /** Creates rectangle with specified bounds. */\n public constructor(\n public readonly left = 0,\n public readonly top = 0,\n public readonly right = 0,\n public readonly bottom = 0\n ) {}\n\n /** @returns Size of this rectangle. */\n public getSize(): SizeProps {\n const width = this.getWidth();\n const height = this.getHeight();\n return { 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(\n left: number,\n top: number,\n right: number,\n bottom: number\n ): Rectangle {\n return new Rectangle(\n this.left + left,\n this.top + top,\n this.right - right,\n this.bottom - bottom\n );\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(\n this.left + offset.x,\n this.top + offset.y,\n this.right + offset.x,\n this.bottom + offset.y\n );\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(\n this.left + offset,\n this.top,\n this.right + offset,\n this.bottom\n );\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(\n this.left,\n this.top + offset,\n this.right,\n this.bottom + offset\n );\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(\n position.x,\n position.y,\n position.x + this.getWidth(),\n position.y + this.getHeight()\n );\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(\n this.left,\n this.top,\n this.left + size.width,\n this.top + size.height\n );\n }\n\n /** Checks if bounds of two rectangles match. */\n public equals(other: RectangleProps): boolean {\n if (\n this.left === other.left &&\n this.top === other.top &&\n this.right === other.right &&\n this.bottom === other.bottom\n )\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 (\n point.x >= this.left &&\n point.x <= this.right &&\n point.y >= this.top &&\n point.y <= this.bottom\n );\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 (\n other.left >= this.left &&\n other.right <= this.right &&\n other.top >= this.top &&\n other.bottom <= this.bottom\n );\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 (\n this.left < other.right &&\n this.right > other.left &&\n this.top < other.bottom &&\n this.bottom > other.top\n );\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(\n segmentId: number,\n numberOfSegments: number\n ): 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(\n segmentId: number,\n numberOfSegments: number\n ): 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 = hypotenuseXY(\n this.left - point.x,\n this.top - point.y\n );\n else if (point.y <= this.bottom) shortestDistance = this.left - point.x;\n else\n shortestDistance = hypotenuseXY(\n this.left - point.x,\n this.bottom - point.y\n );\n } else if (point.x <= this.right) {\n if (point.y < this.top) shortestDistance = this.top - point.y;\n else if (point.y <= this.bottom) shortestDistance = 0;\n else shortestDistance = point.y - this.bottom;\n } else {\n if (point.y < this.top)\n shortestDistance = hypotenuseXY(\n this.right - point.x,\n this.top - point.y\n );\n else if (point.y <= this.bottom) shortestDistance = point.x - this.right;\n else\n shortestDistance = hypotenuseXY(\n this.right - point.x,\n this.bottom - point.y\n );\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\nfunction hypotenuseXY(x: number, y: number): number {\n return Math.sqrt(x * x + y * y);\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollPositionMaintainer.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/ScrollPositionMaintainer.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;;;;;;GAYG;AACH,qBAAa,wBAAyB,YAAW,WAAW;IAC1D,OAAO,CAAC,QAAQ,CAAuB;gBACpB,EAAE,EAAE,OAAO;IAKvB,OAAO;IAId,OAAO,CAAC,MAAM,CAAC,mBAAmB;IASlC,OAAO,CAAC,MAAM,CAAC,sBAAsB;CAGtC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollPositionMaintainer.js","sourceRoot":"","sources":["../../../src/core-react/utils/ScrollPositionMaintainer.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,wBAAwB;IAEnC,YAAmB,EAAW;QAC5B,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;QAC1B,mDAAmD;QACnD,wBAAwB,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpE,CAAC;IACM,OAAO;QACZ,mDAAmD;QACnD,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjE,CAAC;IACO,MAAM,CAAC,mBAAmB,CAChC,KAAiC,EACjC,OAA6B;QAE7B,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE,CAAC;YACvB,IAAI,EAAE,CAAC,SAAS;gBAAE,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;YAChD,IAAI,EAAE,CAAC,QAAQ;gBAAE,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAClE,CAAC;IACH,CAAC;IACO,MAAM,CAAC,sBAAsB,CAAC,OAA6B;QACjE,OAAO,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC;IACjE,CAAC;CACF","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 type { 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 * @deprecated in 4.15.0. Not use by AppUI.\n */\nexport class ScrollPositionMaintainer implements IDisposable {\n private _storage: Map<Element, number>;\n public constructor(el: Element) {\n this._storage = new Map();\n // eslint-disable-next-line deprecation/deprecation\n ScrollPositionMaintainer.saveScrollPositions([el], this._storage);\n }\n public dispose() {\n // eslint-disable-next-line deprecation/deprecation\n ScrollPositionMaintainer.restoreScrollPositions(this._storage);\n }\n private static saveScrollPositions(\n elems: Element[] | HTMLCollection,\n storage: Map<Element, number>\n ) {\n for (const el of elems) {\n if (el.scrollTop) storage.set(el, el.scrollTop);\n if (el.children) 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"]}
@@ -0,0 +1,12 @@
1
+ /** @packageDocumentation
2
+ * @module Utilities
3
+ */
4
+ /** Describes 2d dimensions.
5
+ * @public
6
+ * @deprecated in 4.16.0. Use {@link @itwin/appui-react#SizeProps} instead.
7
+ */
8
+ export interface SizeProps {
9
+ readonly width: number;
10
+ readonly height: number;
11
+ }
12
+ //# sourceMappingURL=Size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Size.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,9 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Utilities
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=Size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Size.js","sourceRoot":"","sources":["../../../src/core-react/utils/Size.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;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/* eslint-disable deprecation/deprecation */\n\n/** Describes 2d dimensions.\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#SizeProps} instead.\n */\nexport interface SizeProps {\n readonly width: number;\n readonly height: number;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Timer.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Timer.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;AAElD;;;GAGG;AACH,qBAAa,KAAK;IAChB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAK;IAErB,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;IAEhD,YAAY,CAAC,SAAS,EAAE,cAAc,GAAG,SAAS;IAIzD,yBAAyB;IAClB,KAAK;IAOZ,wBAAwB;IACjB,IAAI;IAOX,OAAO,CAAC,OAAO;IAKf,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,YAAY;CAGrB"}
@@ -0,0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AAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACvE,CAAC;IAEO,YAAY;QAClB,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACrC,CAAC;CACF","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 * @deprecated in 4.15.0. Used internally.\n */\nexport type ExecuteHandler = (this: void) => void;\n\n/** Notifies handler after a set interval.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport class Timer {\n private _delay: number;\n private _isRunning = false;\n private _timerId = 0;\n // eslint-disable-next-line deprecation/deprecation\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 // eslint-disable-next-line deprecation/deprecation\n public setOnExecute(onExecute: ExecuteHandler | undefined) {\n this._onExecute = onExecute;\n }\n\n /** Starts this Timer. */\n public start() {\n if (this._isRunning) this.clearTimeout();\n\n this._isRunning = true;\n this.setTimeout();\n }\n\n /** Stops this Timer. */\n public stop() {\n if (!this._isRunning) 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"]}
@@ -0,0 +1 @@
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,SAYjE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flattenChildren.js","sourceRoot":"","sources":["../../../src/core-react/utils/flattenChildren.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,QAAyB,EAAmB,EAAE;IAC5E,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;QACnD,IAAI,CAAC,KAAK,CAAC,cAAc,CAAiC,KAAK,CAAC;YAC9D,OAAO,KAAK,CAAC;QAEf,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,QAAQ,EAAE,CAAC;YAClC,OAAO,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;QAC9B,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","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 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"]}
@@ -0,0 +1 @@
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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBestBWContrastColor.js","sourceRoot":"","sources":["../../../src/core-react/utils/getBestBWContrastColor.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,uBAAuB;AAEvB;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,QAAgB;IACrD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC;IACjD,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACxC,CAAC","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.substring(1, 3), 16);\n const g = parseInt(hexColor.substring(3, 5), 16);\n const b = parseInt(hexColor.substring(5, 7), 16);\n const yiq = (r * 299 + g * 587 + b * 114) / 1000;\n return yiq >= 128 ? \"black\" : \"white\";\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCssVariable.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getCssVariable.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,WAAW,GACxB,MAAM,CAKR;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,WAAW,GACxB,MAAM,CAMR"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCssVariable.js","sourceRoot":"","sources":["../../../src/core-react/utils/getCssVariable.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH;;;GAGG;AACH,MAAM,UAAU,cAAc,CAC5B,YAAoB,EACpB,WAAyB;IAEzB,MAAM,OAAO,GAAG,WAAW,IAAI,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;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CACpC,YAAoB,EACpB,WAAyB;IAEzB,IAAI,SAAS,GAAW,GAAG,CAAC;IAC5B,mDAAmD;IACnD,MAAM,SAAS,GAAG,cAAc,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC5D,IAAI,SAAS;QAAE,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACjD,OAAO,SAAS,CAAC;AACnB,CAAC","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/** Get CSS variable\n * @public\n * @deprecated in 4.15.0. Not used by AppUI.\n */\nexport function getCssVariable(\n variableName: string,\n htmlElement?: HTMLElement\n): 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/** Get CSS variable as number\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport function getCssVariableAsNumber(\n variableName: string,\n htmlElement?: HTMLElement\n): number {\n let cssValNum: number = NaN;\n // eslint-disable-next-line deprecation/deprecation\n const cssValStr = getCssVariable(variableName, htmlElement);\n if (cssValStr) cssValNum = parseFloat(cssValStr);\n return cssValNum;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDisplayName.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getDisplayName.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,cAAc,cAAe,MAAM,aAAa,CAAC,GAAG,CAAC,KAAG,MAIpE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDisplayName.js","sourceRoot":"","sources":["../../../src/core-react/utils/getDisplayName.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAmC,EAAU,EAAE;IAC5E,IAAI,SAAS,CAAC,WAAW;QAAE,OAAO,SAAS,CAAC,WAAW,CAAC;IACxD,IAAI,SAAS,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC,IAAI,CAAC;IAC1C,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC","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 type * 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) return component.displayName;\n if (component.name) return component.name;\n return \"Component\";\n};\n"]}
@@ -0,0 +1 @@
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,CAalD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUserColor.js","sourceRoot":"","sources":["../../../src/core-react/utils/getUserColor.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;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,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAC3B,wBAAwB;QACxB,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,CAAC;QAC5C,MAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC3C,IAAI,GAAG,CAAC,IAAI,GAAG,QAAQ,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC","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\")\n // 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"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCrossOriginPopup.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useCrossOriginPopup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAKH;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,IAAI,QAuGpB"}
@@ -0,0 +1,99 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Utilities
7
+ */
8
+ import * as React from "react";
9
+ import { useInterval } from "./useInterval.js";
10
+ /** Hook that will show a popup window
11
+ * @public
12
+ * @deprecated in 4.16.0. Without a replacement, use a custom solution instead.
13
+ */
14
+ export function useCrossOriginPopup(visible, url, title, width, height, onClose) {
15
+ const [checkPopupAliveDelay, setCheckPopupAliveDelay] = React.useState();
16
+ // ONLY re-render the popup when visibility changes, any other changes get deferred until next visibility change
17
+ // hence the massive use of 'useRef'
18
+ const popupWindow = React.useRef();
19
+ const savedUrl = React.useRef(url);
20
+ const savedTitle = React.useRef(title);
21
+ const savedWidth = React.useRef(width);
22
+ const savedHeight = React.useRef(height);
23
+ const savedOnClose = React.useRef(onClose);
24
+ React.useEffect(() => {
25
+ savedUrl.current = url;
26
+ }, [url]);
27
+ React.useEffect(() => {
28
+ savedTitle.current = title;
29
+ }, [title]);
30
+ React.useEffect(() => {
31
+ savedWidth.current = width;
32
+ }, [width]);
33
+ React.useEffect(() => {
34
+ savedHeight.current = height;
35
+ }, [height]);
36
+ React.useEffect(() => {
37
+ savedOnClose.current = onClose;
38
+ }, [onClose]);
39
+ // Cleanup method after a popup closure. Also calls the OnClose callback.
40
+ const handleClosedPopup = React.useCallback(() => {
41
+ savedOnClose.current();
42
+ setCheckPopupAliveDelay(undefined);
43
+ popupWindow.current = undefined;
44
+ }, []);
45
+ const closePopup = React.useCallback(() => {
46
+ if (popupWindow.current !== undefined) {
47
+ popupWindow.current.close(); // Manually close the popup
48
+ handleClosedPopup();
49
+ }
50
+ }, [handleClosedPopup]);
51
+ const checkPopupClosed = React.useCallback(() => {
52
+ if (popupWindow.current?.closed) {
53
+ // Popup has been closed by end-user, inform our host and cleanup
54
+ handleClosedPopup();
55
+ }
56
+ }, [handleClosedPopup]);
57
+ // Close popup when parent window get closed
58
+ React.useEffect(() => {
59
+ window.onbeforeunload = (_event) => {
60
+ closePopup();
61
+ };
62
+ return () => {
63
+ window.onbeforeunload = null;
64
+ };
65
+ }, [closePopup]);
66
+ // Whenever the hook is unloaded, make sure the underlying popup get closed.
67
+ // Note: An interval is used to check if popup was closed by user: because we access
68
+ // a cross domain resource inside the popup, we don't have access to popup window events.
69
+ // As a workaround, we periodically check if popup is still alive.
70
+ // Reference: https://stackoverflow.com/questions/9388380/capture-the-close-event-of-popup-window-in-javascript/48240128#48240128
71
+ React.useEffect(() => {
72
+ return () => {
73
+ closePopup();
74
+ };
75
+ }, [closePopup]);
76
+ // Timer that checks if popup was closed by end-user
77
+ // eslint-disable-next-line deprecation/deprecation
78
+ useInterval(checkPopupClosed, checkPopupAliveDelay);
79
+ // ==> Main render effect
80
+ // Monitors visibility changes and open/close the popup accordingly.
81
+ React.useEffect(() => {
82
+ // If visible and a popup window is not already open, open a new popup window
83
+ if (visible && popupWindow.current === undefined) {
84
+ const popup = window.open(savedUrl.current, savedTitle.current, `width=${savedWidth.current},height=${savedHeight.current}`);
85
+ if (popup) {
86
+ popup.focus();
87
+ popupWindow.current = popup;
88
+ // Start and interval that will check if popup got closed by user
89
+ setCheckPopupAliveDelay(1000);
90
+ }
91
+ }
92
+ // If not visible but a previous popup window is still open, close it.
93
+ if (!visible && popupWindow.current !== undefined) {
94
+ popupWindow.current.close();
95
+ handleClosedPopup();
96
+ }
97
+ }, [handleClosedPopup, visible]);
98
+ }
99
+ //# sourceMappingURL=useCrossOriginPopup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCrossOriginPopup.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useCrossOriginPopup.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CACjC,OAAgB,EAChB,GAAuB,EACvB,KAAa,EACb,KAAa,EACb,MAAc,EACd,OAAmB;IAEnB,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,K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AAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,6EAA6E;QAC7E,IAAI,OAAO,IAAI,WAAW,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YACjD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CACvB,QAAQ,CAAC,OAAO,EAChB,UAAU,CAAC,OAAO,EAClB,SAAS,UAAU,CAAC,OAAO,WAAW,WAAW,CAAC,OAAO,EAAE,CAC5D,CAAC;YACF,IAAI,KAAK,EAAE,CAAC;gBACV,KAAK,CAAC,KAAK,EAAE,CAAC;gBACd,WAAW,CAAC,OAAO,GAAG,KAAK,CAAC;gBAE5B,iEAAiE;gBACjE,uBAAuB,CAAC,IAAI,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QAED,sEAAsE;QACtE,IAAI,CAAC,OAAO,IAAI,WAAW,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YAClD,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YAE5B,iBAAiB,EAAE,CAAC;QACtB,CAAC;IACH,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC;AACnC,CAAC","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 { useInterval } from \"./useInterval.js\";\n\n/** Hook that will show a popup window\n * @public\n * @deprecated in 4.16.0. Without a replacement, use a custom solution instead.\n */\nexport function useCrossOriginPopup(\n visible: boolean,\n url: string | undefined,\n title: string,\n width: number,\n height: number,\n onClose: () => void\n) {\n const [checkPopupAliveDelay, setCheckPopupAliveDelay] = React.useState<\n number | undefined\n >();\n\n // ONLY re-render the popup when visibility changes, any other changes get deferred until next visibility change\n // hence the massive use of 'useRef'\n const popupWindow = React.useRef<Window>();\n const savedUrl = React.useRef(url);\n const savedTitle = React.useRef(title);\n const savedWidth = React.useRef(width);\n const savedHeight = React.useRef(height);\n const savedOnClose = React.useRef(onClose);\n\n React.useEffect(() => {\n savedUrl.current = url;\n }, [url]);\n React.useEffect(() => {\n savedTitle.current = title;\n }, [title]);\n React.useEffect(() => {\n savedWidth.current = width;\n }, [width]);\n React.useEffect(() => {\n savedHeight.current = height;\n }, [height]);\n React.useEffect(() => {\n savedOnClose.current = onClose;\n }, [onClose]);\n\n // Cleanup method after a popup closure. Also calls the OnClose callback.\n const handleClosedPopup = React.useCallback(() => {\n savedOnClose.current();\n setCheckPopupAliveDelay(undefined);\n popupWindow.current = undefined;\n }, []);\n\n const closePopup = React.useCallback(() => {\n if (popupWindow.current !== undefined) {\n popupWindow.current.close(); // Manually close the popup\n handleClosedPopup();\n }\n }, [handleClosedPopup]);\n\n const checkPopupClosed = React.useCallback(() => {\n if (popupWindow.current?.closed) {\n // Popup has been closed by end-user, inform our host and cleanup\n handleClosedPopup();\n }\n }, [handleClosedPopup]);\n\n // Close popup when parent window get closed\n React.useEffect(() => {\n window.onbeforeunload = (_event) => {\n closePopup();\n };\n return () => {\n window.onbeforeunload = null;\n };\n }, [closePopup]);\n\n // Whenever the hook is unloaded, make sure the underlying popup get closed.\n // Note: An interval is used to check if popup was closed by user: because we access\n // a cross domain resource inside the popup, we don't have access to popup window events.\n // As a workaround, we periodically check if popup is still alive.\n // Reference: https://stackoverflow.com/questions/9388380/capture-the-close-event-of-popup-window-in-javascript/48240128#48240128\n React.useEffect(() => {\n return () => {\n closePopup();\n };\n }, [closePopup]);\n\n // Timer that checks if popup was closed by end-user\n // eslint-disable-next-line deprecation/deprecation\n useInterval(checkPopupClosed, checkPopupAliveDelay);\n\n // ==> Main render effect\n // Monitors visibility changes and open/close the popup accordingly.\n React.useEffect(() => {\n // If visible and a popup window is not already open, open a new popup window\n if (visible && popupWindow.current === undefined) {\n const popup = window.open(\n savedUrl.current,\n savedTitle.current,\n `width=${savedWidth.current},height=${savedHeight.current}`\n );\n if (popup) {\n popup.focus();\n popupWindow.current = popup;\n\n // Start and interval that will check if popup got closed by user\n setCheckPopupAliveDelay(1000);\n }\n }\n\n // If not visible but a previous popup window is still open, close it.\n if (!visible && popupWindow.current !== undefined) {\n popupWindow.current.close();\n\n handleClosedPopup();\n }\n }, [handleClosedPopup, visible]);\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDisposable.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useDisposable.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,WAAW,SAAS,WAAW,EAC3D,gBAAgB,EAAE,MAAM,WAAW,GAClC,WAAW,CAoBb;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,SAAS,WAAW,EACnE,gBAAgB,EAAE,MAAM,WAAW,GAAG,SAAS,GAC9C,WAAW,GAAG,SAAS,CAYzB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDisposable.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useDisposable.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGpD;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAC3B,gBAAmC;IAEnC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAC7D,0FAA0F;IAC1F,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAChC,MAAM,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAErC,SAAS,CAAC,GAAG,EAAE;QACb,qFAAqF;QACrF,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;YAC7B,SAAS,CAAC,OAAO,GAAG,gBAAgB,EAAE,CAAC;YACvC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;QAED,eAAe,CAAC,OAAO,GAAG,KAAK,CAAC;QAChC,OAAO,GAAG,EAAE;YACV,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QAC9B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,gBAA+C;IAE/C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAA2B,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,UAAU,GAAG,gBAAgB,EAAE,CAAC;QACtC,QAAQ,CAAC,UAAU,CAAC,CAAC;QACrB,OAAO,GAAG,EAAE;YACV,UAAU,IAAI,UAAU,CAAC,OAAO,EAAE,CAAC;QACrC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,OAAO,KAAK,CAAC;AACf,CAAC","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, useState } from \"react\";\nimport type { 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 * @deprecated in 4.9.0. This hook is not compatible with React 18 Strict mode. Use [[useOptionalDisposable]] or `useState` + `useEffect` for\n * creating and disposing disposable resources.\n */\nexport function useDisposable<TDisposable extends IDisposable>(\n createDisposable: () => TDisposable\n): TDisposable {\n const [value, setValue] = useState(() => createDisposable());\n // need to capture initial disposable created during render loop in order to dispose later\n const prevValue = useRef(value);\n const useInitialValue = useRef(true);\n\n useEffect(() => {\n // do not create new disposable on initial render. It was created during render loop.\n if (!useInitialValue.current) {\n prevValue.current = createDisposable();\n setValue(prevValue.current);\n }\n\n useInitialValue.current = false;\n return () => {\n prevValue.current.dispose();\n };\n }, [createDisposable]);\n\n return value;\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 * @deprecated in 4.15.0. Use `useState` + `useEffect` for creating and disposing disposable resources.\n */\nexport function useOptionalDisposable<TDisposable extends IDisposable>(\n createDisposable: () => TDisposable | undefined\n): TDisposable | undefined {\n const [value, setValue] = useState<TDisposable | undefined>();\n\n useEffect(() => {\n const disposable = createDisposable();\n setValue(disposable);\n return () => {\n disposable && disposable.dispose();\n };\n }, [createDisposable]);\n\n return value;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEffectSkipFirst.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useEffectSkipFirst.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,GAAG,IAAI,EACxD,IAAI,CAAC,EAAE,GAAG,EAAE,QAYb"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEffectSkipFirst.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useEffectSkipFirst.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAChC,QAAwD,EACxD,IAAY;IAEZ,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAE/B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,GAAG,KAAK,CAAC;YAC1B,OAAO;QACT,CAAC;QAED,OAAO,QAAQ,EAAE,CAAC;IACpB,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,kDAAkD;AAC9D,CAAC","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 * @deprecated in 4.15.0. Use `useEffect` instead.\n */\nexport function useEffectSkipFirst(\n callback: () => (void | (() => void | undefined)) | void,\n deps?: any[]\n) {\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"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInterval.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useInterval.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAClC,KAAK,EAAE,MAAM,GAAG,SAAS,QAuB1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInterval.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useInterval.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;GAIG;AACH,MAAM,UAAU,WAAW,CACzB,QAAkC,EAClC,KAAyB;IAEzB,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAA2B,QAAQ,CAAC,CAAC;IAEvE,gCAAgC;IAChC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,aAAa,CAAC,OAAO,GAAG,QAAQ,CAAC;IACnC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,uBAAuB;IACvB,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,SAAS,IAAI;YACX,aAAa,CAAC,OAAO,EAAE,CAAC;QAC1B,CAAC;QACD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,EAAE,GAAG,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACpC,OAAO,GAAG,EAAE;gBACV,aAAa,CAAC,EAAE,CAAC,CAAC;YACpB,CAAC,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AACd,CAAC","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 React from \"react\";\n\n/** Hook that create an interval and clears it when unloaded\n * Reference: https://github.com/gaearon/overreacted.io/blob/master/src/pages/making-setinterval-declarative-with-react-hooks/index.md\n * @beta\n * @deprecated in 4.15.0. Used internally.\n */\nexport function useInterval(\n callback: (...args: any[]) => void,\n delay: number | undefined\n) {\n const savedCallback = React.useRef<(...args: any[]) => void>(callback);\n\n // Remember the latest function.\n React.useEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n\n // Set up the interval.\n React.useEffect(() => {\n function tick() {\n savedCallback.current();\n }\n if (delay !== undefined) {\n const id = setInterval(tick, delay);\n return () => {\n clearInterval(id);\n };\n } else {\n return undefined;\n }\n }, [delay]);\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLifecycleLogging.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useLifecycleLogging.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAuE9B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLifecycleLogging.js","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useLifecycleLogging.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CACjC,IAAY,EACZ,KAA0B,EAC1B,OAA6B;IAE7B,SAAS,CAAC,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,MAAM,CAAC,KAAK,CAAC,CAAC;IAChC,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;YACrB,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC;YACzB,OAAO;QACT,CAAC;QAED,SAAS,OAAO,CACd,IAAyB,EACzB,OAA4B;YAE5B,MAAM,IAAI,GAA2C,EAAE,CAAC;YACxD,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI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AAC,OAAO,GAAG,KAAK,CAAC;QAC1B,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC","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(\n name: string,\n props: Record<string, any>,\n context?: Record<string, any>\n) {\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(\n prev: Record<string, any>,\n current: Record<string, any>\n ): 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 = {\n from: context === undefined ? context : prevContext.current,\n to: context,\n };\n\n if (Object.keys(propsDiff).length > 0 && prevContext.current !== context) {\n // eslint-disable-next-line no-console\n console.log(\n `[useLifecycleLogging]: '${name}' Props and context changed: `,\n propsDiff,\n contextDiff\n );\n } else if (Object.keys(propsDiff).length > 0) {\n // eslint-disable-next-line no-console\n console.log(\n `[useLifecycleLogging]: '${name}' Props changed: `,\n propsDiff\n );\n } else if (prevContext.current !== context) {\n // eslint-disable-next-line no-console\n console.log(\n `[useLifecycleLogging]: '${name}' Context changed: `,\n contextDiff\n );\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"]}
@@ -0,0 +1 @@
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;AAM/B;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC;AAEvE;;;GAGG;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,sBA6E1D"}