@itwin/core-react 4.1.0-dev.0 → 4.1.0-dev.1

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 (685) hide show
  1. package/CHANGELOG.md +32 -7
  2. package/lib/cjs/core-react/UiCore.js.map +1 -1
  3. package/lib/cjs/core-react/_geometry.scss +70 -70
  4. package/lib/cjs/core-react/_helpers.scss +51 -51
  5. package/lib/cjs/core-react/_math.scss +13 -13
  6. package/lib/cjs/core-react/_scrollbar.scss +51 -51
  7. package/lib/cjs/core-react/_typography.scss +44 -44
  8. package/lib/cjs/core-react/_z-index.scss +65 -65
  9. package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts +1 -1
  10. package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts.map +1 -1
  11. package/lib/cjs/core-react/autosuggest/AutoSuggest.js.map +1 -1
  12. package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +79 -79
  13. package/lib/cjs/core-react/badge/Badge.d.ts +1 -1
  14. package/lib/cjs/core-react/badge/Badge.d.ts.map +1 -1
  15. package/lib/cjs/core-react/badge/Badge.js.map +1 -1
  16. package/lib/cjs/core-react/badge/Badge.scss +13 -13
  17. package/lib/cjs/core-react/badge/BadgeUtilities.js.map +1 -1
  18. package/lib/cjs/core-react/badge/BetaBadge.d.ts +1 -1
  19. package/lib/cjs/core-react/badge/BetaBadge.d.ts.map +1 -1
  20. package/lib/cjs/core-react/badge/BetaBadge.js.map +1 -1
  21. package/lib/cjs/core-react/badge/NewBadge.d.ts +1 -1
  22. package/lib/cjs/core-react/badge/NewBadge.d.ts.map +1 -1
  23. package/lib/cjs/core-react/badge/NewBadge.js.map +1 -1
  24. package/lib/cjs/core-react/badge/NewBadge.scss +9 -9
  25. package/lib/cjs/core-react/base/Centered.d.ts +1 -1
  26. package/lib/cjs/core-react/base/Centered.d.ts.map +1 -1
  27. package/lib/cjs/core-react/base/Centered.js.map +1 -1
  28. package/lib/cjs/core-react/base/Div.d.ts +1 -1
  29. package/lib/cjs/core-react/base/Div.d.ts.map +1 -1
  30. package/lib/cjs/core-react/base/Div.js.map +1 -1
  31. package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts +1 -1
  32. package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts.map +1 -1
  33. package/lib/cjs/core-react/base/DivWithOutsideClick.js.map +1 -1
  34. package/lib/cjs/core-react/base/FillCentered.d.ts +1 -1
  35. package/lib/cjs/core-react/base/FillCentered.d.ts.map +1 -1
  36. package/lib/cjs/core-react/base/FillCentered.js.map +1 -1
  37. package/lib/cjs/core-react/base/FlexWrapContainer.d.ts +1 -1
  38. package/lib/cjs/core-react/base/FlexWrapContainer.d.ts.map +1 -1
  39. package/lib/cjs/core-react/base/FlexWrapContainer.js.map +1 -1
  40. package/lib/cjs/core-react/base/Gap.d.ts +1 -1
  41. package/lib/cjs/core-react/base/Gap.d.ts.map +1 -1
  42. package/lib/cjs/core-react/base/Gap.js +1 -1
  43. package/lib/cjs/core-react/base/Gap.js.map +1 -1
  44. package/lib/cjs/core-react/base/PointerEvents.js.map +1 -1
  45. package/lib/cjs/core-react/base/ScrollView.d.ts +1 -1
  46. package/lib/cjs/core-react/base/ScrollView.d.ts.map +1 -1
  47. package/lib/cjs/core-react/base/ScrollView.js.map +1 -1
  48. package/lib/cjs/core-react/base/base.scss +42 -42
  49. package/lib/cjs/core-react/base/classes.scss +13 -13
  50. package/lib/cjs/core-react/base/index.scss +5 -5
  51. package/lib/cjs/core-react/button/UnderlinedButton.js.map +1 -1
  52. package/lib/cjs/core-react/button/UnderlinedButton.scss +32 -32
  53. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts +1 -1
  54. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts.map +1 -1
  55. package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +1 -1
  56. package/lib/cjs/core-react/checklistbox/CheckListBox.scss +21 -21
  57. package/lib/cjs/core-react/classes.scss +11 -11
  58. package/lib/cjs/core-react/colorthemes.scss +61 -61
  59. package/lib/cjs/core-react/colorvariables.scss +131 -131
  60. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts +1 -1
  61. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts.map +1 -1
  62. package/lib/cjs/core-react/contextmenu/ContextMenu.js +2 -1
  63. package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +1 -1
  64. package/lib/cjs/core-react/contextmenu/ContextMenu.scss +236 -236
  65. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js.map +1 -1
  66. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts +1 -1
  67. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -1
  68. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js.map +1 -1
  69. package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts +5 -4
  70. package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -1
  71. package/lib/cjs/core-react/contextmenu/ContextMenuItem.js.map +1 -1
  72. package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts +3 -3
  73. package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -1
  74. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +1 -1
  75. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts +1 -1
  76. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -1
  77. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js +5 -3
  78. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js.map +1 -1
  79. package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts +1 -1
  80. package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -1
  81. package/lib/cjs/core-react/contextmenu/PopupContextMenu.js.map +1 -1
  82. package/lib/cjs/core-react/contextmenu/TildeFinder.js.map +1 -1
  83. package/lib/cjs/core-react/dialog/Dialog.d.ts +3 -3
  84. package/lib/cjs/core-react/dialog/Dialog.d.ts.map +1 -1
  85. package/lib/cjs/core-react/dialog/Dialog.js +2 -1
  86. package/lib/cjs/core-react/dialog/Dialog.js.map +1 -1
  87. package/lib/cjs/core-react/dialog/Dialog.scss +245 -245
  88. package/lib/cjs/core-react/dialog/GlobalDialog.d.ts +1 -1
  89. package/lib/cjs/core-react/dialog/GlobalDialog.d.ts.map +1 -1
  90. package/lib/cjs/core-react/dialog/GlobalDialog.js +2 -1
  91. package/lib/cjs/core-react/dialog/GlobalDialog.js.map +1 -1
  92. package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts +1 -1
  93. package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts.map +1 -1
  94. package/lib/cjs/core-react/elementseparator/ElementSeparator.js +2 -2
  95. package/lib/cjs/core-react/elementseparator/ElementSeparator.js.map +1 -1
  96. package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +85 -85
  97. package/lib/cjs/core-react/enums/Alignment.js.map +1 -1
  98. package/lib/cjs/core-react/enums/CheckBoxState.js.map +1 -1
  99. package/lib/cjs/core-react/enums/Orientation.js.map +1 -1
  100. package/lib/cjs/core-react/enums/SortDirection.js.map +1 -1
  101. package/lib/cjs/core-react/enums/TimeFormat.js.map +1 -1
  102. package/lib/cjs/core-react/expandable/ExpandableList.d.ts +1 -1
  103. package/lib/cjs/core-react/expandable/ExpandableList.d.ts.map +1 -1
  104. package/lib/cjs/core-react/expandable/ExpandableList.js.map +1 -1
  105. package/lib/cjs/core-react/expandable/ExpandableList.scss +8 -8
  106. package/lib/cjs/core-react/expandable/classes.scss +7 -7
  107. package/lib/cjs/core-react/expandable/index.scss +5 -5
  108. package/lib/cjs/core-react/expandable/list.scss +35 -35
  109. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js.map +1 -1
  110. package/lib/cjs/core-react/focustrap/FocusTrap.js.map +1 -1
  111. package/lib/cjs/core-react/hocs/withIsPressed.js.map +1 -1
  112. package/lib/cjs/core-react/hocs/withOnOutsideClick.js +2 -1
  113. package/lib/cjs/core-react/hocs/withOnOutsideClick.js.map +1 -1
  114. package/lib/cjs/core-react/hocs/withTimeout.js.map +1 -1
  115. package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts +1 -1
  116. package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts.map +1 -1
  117. package/lib/cjs/core-react/icons/ConditionalIconItem.js.map +1 -1
  118. package/lib/cjs/core-react/icons/IconComponent.d.ts +2 -2
  119. package/lib/cjs/core-react/icons/IconComponent.d.ts.map +1 -1
  120. package/lib/cjs/core-react/icons/IconComponent.js +1 -1
  121. package/lib/cjs/core-react/icons/IconComponent.js.map +1 -1
  122. package/lib/cjs/core-react/icons/IconComponent.scss +20 -20
  123. package/lib/cjs/core-react/icons/SvgPath.d.ts +1 -1
  124. package/lib/cjs/core-react/icons/SvgPath.d.ts.map +1 -1
  125. package/lib/cjs/core-react/icons/SvgPath.js.map +1 -1
  126. package/lib/cjs/core-react/icons/SvgPath.scss +15 -15
  127. package/lib/cjs/core-react/icons/WebFontIcon.d.ts +1 -1
  128. package/lib/cjs/core-react/icons/WebFontIcon.d.ts.map +1 -1
  129. package/lib/cjs/core-react/icons/WebFontIcon.js.map +1 -1
  130. package/lib/cjs/core-react/icons/WebFontIcon.scss +17 -17
  131. package/lib/cjs/core-react/icons/classes.scss +10 -10
  132. package/lib/cjs/core-react/icons/index.scss +6 -6
  133. package/lib/cjs/core-react/icons/mixins.scss +25 -25
  134. package/lib/cjs/core-react/icons/variables.scss +12 -12
  135. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts +1 -1
  136. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -1
  137. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js.map +1 -1
  138. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +54 -54
  139. package/lib/cjs/core-react/index.scss +21 -21
  140. package/lib/cjs/core-react/inputs/Input.d.ts +1 -1
  141. package/lib/cjs/core-react/inputs/Input.d.ts.map +1 -1
  142. package/lib/cjs/core-react/inputs/Input.js.map +1 -1
  143. package/lib/cjs/core-react/inputs/InputLabel.d.ts +2 -2
  144. package/lib/cjs/core-react/inputs/InputLabel.d.ts.map +1 -1
  145. package/lib/cjs/core-react/inputs/InputLabel.js.map +1 -1
  146. package/lib/cjs/core-react/inputs/InputStatus.js.map +1 -1
  147. package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts +2 -2
  148. package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts.map +1 -1
  149. package/lib/cjs/core-react/inputs/LabeledComponentProps.js.map +1 -1
  150. package/lib/cjs/core-react/inputs/classes.scss +8 -8
  151. package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts +1 -1
  152. package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts.map +1 -1
  153. package/lib/cjs/core-react/inputs/iconinput/IconInput.js.map +1 -1
  154. package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +35 -35
  155. package/lib/cjs/core-react/inputs/index.scss +9 -9
  156. package/lib/cjs/core-react/inputs/input-label.scss +90 -90
  157. package/lib/cjs/core-react/inputs/input.scss +58 -58
  158. package/lib/cjs/core-react/inputs/numberinput/NumberInput.d.ts +1 -1
  159. package/lib/cjs/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -1
  160. package/lib/cjs/core-react/inputs/numberinput/NumberInput.js.map +1 -1
  161. package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +88 -88
  162. package/lib/cjs/core-react/inputs/variables.scss +38 -38
  163. package/lib/cjs/core-react/layout-variables.scss +17 -17
  164. package/lib/cjs/core-react/listbox/Listbox.js +3 -2
  165. package/lib/cjs/core-react/listbox/Listbox.js.map +1 -1
  166. package/lib/cjs/core-react/listbox/Listbox.scss +54 -54
  167. package/lib/cjs/core-react/loading/LoadingBar.d.ts +1 -1
  168. package/lib/cjs/core-react/loading/LoadingBar.d.ts.map +1 -1
  169. package/lib/cjs/core-react/loading/LoadingBar.js.map +1 -1
  170. package/lib/cjs/core-react/loading/LoadingBar.scss +29 -29
  171. package/lib/cjs/core-react/loading/LoadingPrompt.d.ts +1 -1
  172. package/lib/cjs/core-react/loading/LoadingPrompt.d.ts.map +1 -1
  173. package/lib/cjs/core-react/loading/LoadingPrompt.js.map +1 -1
  174. package/lib/cjs/core-react/loading/LoadingPrompt.scss +33 -33
  175. package/lib/cjs/core-react/loading/LoadingSpinner.d.ts +1 -1
  176. package/lib/cjs/core-react/loading/LoadingSpinner.d.ts.map +1 -1
  177. package/lib/cjs/core-react/loading/LoadingSpinner.js.map +1 -1
  178. package/lib/cjs/core-react/loading/LoadingSpinner.scss +26 -26
  179. package/lib/cjs/core-react/loading/LoadingStatus.d.ts +1 -1
  180. package/lib/cjs/core-react/loading/LoadingStatus.d.ts.map +1 -1
  181. package/lib/cjs/core-react/loading/LoadingStatus.js.map +1 -1
  182. package/lib/cjs/core-react/loading/LoadingStatus.scss +20 -20
  183. package/lib/cjs/core-react/loading/index.scss +5 -5
  184. package/lib/cjs/core-react/loading/mixins.scss +57 -57
  185. package/lib/cjs/core-react/messagebox/MessageBox.d.ts +4 -3
  186. package/lib/cjs/core-react/messagebox/MessageBox.d.ts.map +1 -1
  187. package/lib/cjs/core-react/messagebox/MessageBox.js.map +1 -1
  188. package/lib/cjs/core-react/messagebox/MessageBox.scss +56 -56
  189. package/lib/cjs/core-react/notification/MessageRenderer.d.ts +2 -2
  190. package/lib/cjs/core-react/notification/MessageRenderer.d.ts.map +1 -1
  191. package/lib/cjs/core-react/notification/MessageRenderer.js +1 -1
  192. package/lib/cjs/core-react/notification/MessageRenderer.js.map +1 -1
  193. package/lib/cjs/core-react/notification/MessageType.d.ts +1 -1
  194. package/lib/cjs/core-react/notification/MessageType.d.ts.map +1 -1
  195. package/lib/cjs/core-react/notification/MessageType.js.map +1 -1
  196. package/lib/cjs/core-react/popup/Popup.d.ts +1 -1
  197. package/lib/cjs/core-react/popup/Popup.d.ts.map +1 -1
  198. package/lib/cjs/core-react/popup/Popup.js +8 -4
  199. package/lib/cjs/core-react/popup/Popup.js.map +1 -1
  200. package/lib/cjs/core-react/popup/Popup.scss +240 -240
  201. package/lib/cjs/core-react/radialmenu/Annulus.js.map +1 -1
  202. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts +2 -2
  203. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts.map +1 -1
  204. package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +1 -1
  205. package/lib/cjs/core-react/radialmenu/RadialMenu.scss +55 -55
  206. package/lib/cjs/core-react/searchbox/SearchBox.d.ts +1 -1
  207. package/lib/cjs/core-react/searchbox/SearchBox.d.ts.map +1 -1
  208. package/lib/cjs/core-react/searchbox/SearchBox.js.map +1 -1
  209. package/lib/cjs/core-react/searchbox/SearchBox.scss +47 -47
  210. package/lib/cjs/core-react/settings/SettingsContainer.d.ts +1 -1
  211. package/lib/cjs/core-react/settings/SettingsContainer.d.ts.map +1 -1
  212. package/lib/cjs/core-react/settings/SettingsContainer.js.map +1 -1
  213. package/lib/cjs/core-react/settings/SettingsContainer.scss +68 -68
  214. package/lib/cjs/core-react/settings/SettingsManager.d.ts +1 -1
  215. package/lib/cjs/core-react/settings/SettingsManager.d.ts.map +1 -1
  216. package/lib/cjs/core-react/settings/SettingsManager.js.map +1 -1
  217. package/lib/cjs/core-react/style/baseline.scss +11 -11
  218. package/lib/cjs/core-react/style/breakpoints.scss +41 -41
  219. package/lib/cjs/core-react/style/colors.scss +77 -77
  220. package/lib/cjs/core-react/style/index.scss +10 -10
  221. package/lib/cjs/core-react/style/mixins.scss +27 -27
  222. package/lib/cjs/core-react/style/opacity.scss +16 -16
  223. package/lib/cjs/core-react/style/themecolors.scss +123 -123
  224. package/lib/cjs/core-react/tabs/Tabs.d.ts +1 -1
  225. package/lib/cjs/core-react/tabs/Tabs.d.ts.map +1 -1
  226. package/lib/cjs/core-react/tabs/Tabs.js.map +1 -1
  227. package/lib/cjs/core-react/tabs/VerticalTabs.d.ts +1 -1
  228. package/lib/cjs/core-react/tabs/VerticalTabs.d.ts.map +1 -1
  229. package/lib/cjs/core-react/tabs/VerticalTabs.js.map +1 -1
  230. package/lib/cjs/core-react/tabs/classes.scss +7 -7
  231. package/lib/cjs/core-react/tabs/index.scss +5 -5
  232. package/lib/cjs/core-react/tabs/tabs.scss +96 -96
  233. package/lib/cjs/core-react/tabs/vertical.scss +51 -51
  234. package/lib/cjs/core-react/text/BlockText.d.ts +1 -1
  235. package/lib/cjs/core-react/text/BlockText.d.ts.map +1 -1
  236. package/lib/cjs/core-react/text/BlockText.js.map +1 -1
  237. package/lib/cjs/core-react/text/BodyText.d.ts +1 -1
  238. package/lib/cjs/core-react/text/BodyText.d.ts.map +1 -1
  239. package/lib/cjs/core-react/text/BodyText.js.map +1 -1
  240. package/lib/cjs/core-react/text/DisabledText.d.ts +1 -1
  241. package/lib/cjs/core-react/text/DisabledText.d.ts.map +1 -1
  242. package/lib/cjs/core-react/text/DisabledText.js.map +1 -1
  243. package/lib/cjs/core-react/text/FilteredText.d.ts +2 -2
  244. package/lib/cjs/core-react/text/FilteredText.d.ts.map +1 -1
  245. package/lib/cjs/core-react/text/FilteredText.js.map +1 -1
  246. package/lib/cjs/core-react/text/FilteredText.scss +10 -10
  247. package/lib/cjs/core-react/text/MutedText.d.ts +1 -1
  248. package/lib/cjs/core-react/text/MutedText.d.ts.map +1 -1
  249. package/lib/cjs/core-react/text/MutedText.js.map +1 -1
  250. package/lib/cjs/core-react/text/StyledText.d.ts +1 -1
  251. package/lib/cjs/core-react/text/StyledText.d.ts.map +1 -1
  252. package/lib/cjs/core-react/text/StyledText.js.map +1 -1
  253. package/lib/cjs/core-react/text/TextProps.d.ts +2 -2
  254. package/lib/cjs/core-react/text/TextProps.d.ts.map +1 -1
  255. package/lib/cjs/core-react/text/TextProps.js.map +1 -1
  256. package/lib/cjs/core-react/text/block.scss +15 -15
  257. package/lib/cjs/core-react/text/body.scss +13 -13
  258. package/lib/cjs/core-react/text/classes.scss +10 -10
  259. package/lib/cjs/core-react/text/disabled.scss +10 -10
  260. package/lib/cjs/core-react/text/index.scss +10 -10
  261. package/lib/cjs/core-react/text/mixins.scss +24 -24
  262. package/lib/cjs/core-react/text/muted.scss +10 -10
  263. package/lib/cjs/core-react/tree/Branch.d.ts +1 -1
  264. package/lib/cjs/core-react/tree/Branch.d.ts.map +1 -1
  265. package/lib/cjs/core-react/tree/Branch.js.map +1 -1
  266. package/lib/cjs/core-react/tree/Branch.scss +12 -12
  267. package/lib/cjs/core-react/tree/ExpansionToggle.d.ts +1 -1
  268. package/lib/cjs/core-react/tree/ExpansionToggle.d.ts.map +1 -1
  269. package/lib/cjs/core-react/tree/ExpansionToggle.js.map +1 -1
  270. package/lib/cjs/core-react/tree/ExpansionToggle.scss +32 -32
  271. package/lib/cjs/core-react/tree/Node.d.ts +3 -3
  272. package/lib/cjs/core-react/tree/Node.d.ts.map +1 -1
  273. package/lib/cjs/core-react/tree/Node.js +2 -1
  274. package/lib/cjs/core-react/tree/Node.js.map +1 -1
  275. package/lib/cjs/core-react/tree/Node.scss +68 -68
  276. package/lib/cjs/core-react/tree/Placeholder.d.ts +1 -1
  277. package/lib/cjs/core-react/tree/Placeholder.d.ts.map +1 -1
  278. package/lib/cjs/core-react/tree/Placeholder.js.map +1 -1
  279. package/lib/cjs/core-react/tree/Placeholder.scss +17 -17
  280. package/lib/cjs/core-react/tree/Tree.d.ts +1 -1
  281. package/lib/cjs/core-react/tree/Tree.d.ts.map +1 -1
  282. package/lib/cjs/core-react/tree/Tree.js.map +1 -1
  283. package/lib/cjs/core-react/tree/Tree.scss +21 -21
  284. package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts +1 -1
  285. package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts.map +1 -1
  286. package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +1 -1
  287. package/lib/cjs/core-react/uistate/UiStateEntry.d.ts +1 -1
  288. package/lib/cjs/core-react/uistate/UiStateEntry.d.ts.map +1 -1
  289. package/lib/cjs/core-react/uistate/UiStateEntry.js.map +1 -1
  290. package/lib/cjs/core-react/uistate/UiStateStorage.js.map +1 -1
  291. package/lib/cjs/core-react/utils/IconHelper.d.ts +1 -1
  292. package/lib/cjs/core-react/utils/IconHelper.d.ts.map +1 -1
  293. package/lib/cjs/core-react/utils/IconHelper.js.map +1 -1
  294. package/lib/cjs/core-react/utils/IconWebComponent.js +1 -1
  295. package/lib/cjs/core-react/utils/IconWebComponent.js.map +1 -1
  296. package/lib/cjs/core-react/utils/Point.d.ts +1 -1
  297. package/lib/cjs/core-react/utils/Point.d.ts.map +1 -1
  298. package/lib/cjs/core-react/utils/Point.js.map +1 -1
  299. package/lib/cjs/core-react/utils/Props.d.ts +2 -2
  300. package/lib/cjs/core-react/utils/Props.d.ts.map +1 -1
  301. package/lib/cjs/core-react/utils/Props.js.map +1 -1
  302. package/lib/cjs/core-react/utils/Rectangle.d.ts +3 -2
  303. package/lib/cjs/core-react/utils/Rectangle.d.ts.map +1 -1
  304. package/lib/cjs/core-react/utils/Rectangle.js.map +1 -1
  305. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts +1 -1
  306. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -1
  307. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +1 -1
  308. package/lib/cjs/core-react/utils/Size.js.map +1 -1
  309. package/lib/cjs/core-react/utils/Timer.js.map +1 -1
  310. package/lib/cjs/core-react/utils/UiGeometry.js.map +1 -1
  311. package/lib/cjs/core-react/utils/flattenChildren.js.map +1 -1
  312. package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +1 -1
  313. package/lib/cjs/core-react/utils/getCssVariable.js +1 -1
  314. package/lib/cjs/core-react/utils/getCssVariable.js.map +1 -1
  315. package/lib/cjs/core-react/utils/getDisplayName.d.ts +1 -1
  316. package/lib/cjs/core-react/utils/getDisplayName.d.ts.map +1 -1
  317. package/lib/cjs/core-react/utils/getDisplayName.js.map +1 -1
  318. package/lib/cjs/core-react/utils/getUserColor.js.map +1 -1
  319. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +1 -1
  320. package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js +2 -1
  321. package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -1
  322. package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts +1 -1
  323. package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts.map +1 -1
  324. package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +1 -1
  325. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -1
  326. package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +1 -1
  327. package/lib/cjs/core-react/utils/hooks/useInterval.js.map +1 -1
  328. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +1 -1
  329. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +1 -1
  330. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +1 -1
  331. package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +1 -1
  332. package/lib/cjs/core-react/utils/hooks/useRefState.js.map +1 -1
  333. package/lib/cjs/core-react/utils/hooks/useRefs.js.map +1 -1
  334. package/lib/cjs/core-react/utils/hooks/useResizeObserver.js +13 -8
  335. package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +1 -1
  336. package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +1 -1
  337. package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +1 -1
  338. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -1
  339. package/lib/cjs/core-react/utils/isPromiseLike.js.map +1 -1
  340. package/lib/cjs/core-react/utils/shallowDiffers.js.map +1 -1
  341. package/lib/cjs/core-react/utils/typeUtils.js.map +1 -1
  342. package/lib/cjs/core-react.js.map +1 -1
  343. package/lib/esm/core-react/UiCore.js.map +1 -1
  344. package/lib/esm/core-react/_geometry.scss +70 -70
  345. package/lib/esm/core-react/_helpers.scss +51 -51
  346. package/lib/esm/core-react/_math.scss +13 -13
  347. package/lib/esm/core-react/_scrollbar.scss +51 -51
  348. package/lib/esm/core-react/_typography.scss +44 -44
  349. package/lib/esm/core-react/_z-index.scss +65 -65
  350. package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts +1 -1
  351. package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts.map +1 -1
  352. package/lib/esm/core-react/autosuggest/AutoSuggest.js.map +1 -1
  353. package/lib/esm/core-react/autosuggest/AutoSuggest.scss +79 -79
  354. package/lib/esm/core-react/badge/Badge.d.ts +1 -1
  355. package/lib/esm/core-react/badge/Badge.d.ts.map +1 -1
  356. package/lib/esm/core-react/badge/Badge.js.map +1 -1
  357. package/lib/esm/core-react/badge/Badge.scss +13 -13
  358. package/lib/esm/core-react/badge/BadgeUtilities.js.map +1 -1
  359. package/lib/esm/core-react/badge/BetaBadge.d.ts +1 -1
  360. package/lib/esm/core-react/badge/BetaBadge.d.ts.map +1 -1
  361. package/lib/esm/core-react/badge/BetaBadge.js.map +1 -1
  362. package/lib/esm/core-react/badge/NewBadge.d.ts +1 -1
  363. package/lib/esm/core-react/badge/NewBadge.d.ts.map +1 -1
  364. package/lib/esm/core-react/badge/NewBadge.js.map +1 -1
  365. package/lib/esm/core-react/badge/NewBadge.scss +9 -9
  366. package/lib/esm/core-react/base/Centered.d.ts +1 -1
  367. package/lib/esm/core-react/base/Centered.d.ts.map +1 -1
  368. package/lib/esm/core-react/base/Centered.js.map +1 -1
  369. package/lib/esm/core-react/base/Div.d.ts +1 -1
  370. package/lib/esm/core-react/base/Div.d.ts.map +1 -1
  371. package/lib/esm/core-react/base/Div.js.map +1 -1
  372. package/lib/esm/core-react/base/DivWithOutsideClick.d.ts +1 -1
  373. package/lib/esm/core-react/base/DivWithOutsideClick.d.ts.map +1 -1
  374. package/lib/esm/core-react/base/DivWithOutsideClick.js.map +1 -1
  375. package/lib/esm/core-react/base/FillCentered.d.ts +1 -1
  376. package/lib/esm/core-react/base/FillCentered.d.ts.map +1 -1
  377. package/lib/esm/core-react/base/FillCentered.js.map +1 -1
  378. package/lib/esm/core-react/base/FlexWrapContainer.d.ts +1 -1
  379. package/lib/esm/core-react/base/FlexWrapContainer.d.ts.map +1 -1
  380. package/lib/esm/core-react/base/FlexWrapContainer.js.map +1 -1
  381. package/lib/esm/core-react/base/Gap.d.ts +1 -1
  382. package/lib/esm/core-react/base/Gap.d.ts.map +1 -1
  383. package/lib/esm/core-react/base/Gap.js +1 -1
  384. package/lib/esm/core-react/base/Gap.js.map +1 -1
  385. package/lib/esm/core-react/base/PointerEvents.js.map +1 -1
  386. package/lib/esm/core-react/base/ScrollView.d.ts +1 -1
  387. package/lib/esm/core-react/base/ScrollView.d.ts.map +1 -1
  388. package/lib/esm/core-react/base/ScrollView.js.map +1 -1
  389. package/lib/esm/core-react/base/base.scss +42 -42
  390. package/lib/esm/core-react/base/classes.scss +13 -13
  391. package/lib/esm/core-react/base/index.scss +5 -5
  392. package/lib/esm/core-react/button/UnderlinedButton.js.map +1 -1
  393. package/lib/esm/core-react/button/UnderlinedButton.scss +32 -32
  394. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts +1 -1
  395. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts.map +1 -1
  396. package/lib/esm/core-react/checklistbox/CheckListBox.js.map +1 -1
  397. package/lib/esm/core-react/checklistbox/CheckListBox.scss +21 -21
  398. package/lib/esm/core-react/classes.scss +11 -11
  399. package/lib/esm/core-react/colorthemes.scss +61 -61
  400. package/lib/esm/core-react/colorvariables.scss +131 -131
  401. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts +1 -1
  402. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts.map +1 -1
  403. package/lib/esm/core-react/contextmenu/ContextMenu.js +2 -1
  404. package/lib/esm/core-react/contextmenu/ContextMenu.js.map +1 -1
  405. package/lib/esm/core-react/contextmenu/ContextMenu.scss +236 -236
  406. package/lib/esm/core-react/contextmenu/ContextMenuDirection.js.map +1 -1
  407. package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts +1 -1
  408. package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -1
  409. package/lib/esm/core-react/contextmenu/ContextMenuDivider.js.map +1 -1
  410. package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts +5 -4
  411. package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -1
  412. package/lib/esm/core-react/contextmenu/ContextMenuItem.js.map +1 -1
  413. package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts +3 -3
  414. package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -1
  415. package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +1 -1
  416. package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts +1 -1
  417. package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -1
  418. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js +5 -3
  419. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js.map +1 -1
  420. package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts +1 -1
  421. package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -1
  422. package/lib/esm/core-react/contextmenu/PopupContextMenu.js.map +1 -1
  423. package/lib/esm/core-react/contextmenu/TildeFinder.js.map +1 -1
  424. package/lib/esm/core-react/dialog/Dialog.d.ts +3 -3
  425. package/lib/esm/core-react/dialog/Dialog.d.ts.map +1 -1
  426. package/lib/esm/core-react/dialog/Dialog.js +2 -1
  427. package/lib/esm/core-react/dialog/Dialog.js.map +1 -1
  428. package/lib/esm/core-react/dialog/Dialog.scss +245 -245
  429. package/lib/esm/core-react/dialog/GlobalDialog.d.ts +1 -1
  430. package/lib/esm/core-react/dialog/GlobalDialog.d.ts.map +1 -1
  431. package/lib/esm/core-react/dialog/GlobalDialog.js +2 -1
  432. package/lib/esm/core-react/dialog/GlobalDialog.js.map +1 -1
  433. package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts +1 -1
  434. package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts.map +1 -1
  435. package/lib/esm/core-react/elementseparator/ElementSeparator.js +2 -2
  436. package/lib/esm/core-react/elementseparator/ElementSeparator.js.map +1 -1
  437. package/lib/esm/core-react/elementseparator/ElementSeparator.scss +85 -85
  438. package/lib/esm/core-react/enums/Alignment.js.map +1 -1
  439. package/lib/esm/core-react/enums/CheckBoxState.js.map +1 -1
  440. package/lib/esm/core-react/enums/Orientation.js.map +1 -1
  441. package/lib/esm/core-react/enums/SortDirection.js.map +1 -1
  442. package/lib/esm/core-react/enums/TimeFormat.js.map +1 -1
  443. package/lib/esm/core-react/expandable/ExpandableList.d.ts +1 -1
  444. package/lib/esm/core-react/expandable/ExpandableList.d.ts.map +1 -1
  445. package/lib/esm/core-react/expandable/ExpandableList.js.map +1 -1
  446. package/lib/esm/core-react/expandable/ExpandableList.scss +8 -8
  447. package/lib/esm/core-react/expandable/classes.scss +7 -7
  448. package/lib/esm/core-react/expandable/index.scss +5 -5
  449. package/lib/esm/core-react/expandable/list.scss +35 -35
  450. package/lib/esm/core-react/focus/ItemKeyboardNavigator.js.map +1 -1
  451. package/lib/esm/core-react/focustrap/FocusTrap.js.map +1 -1
  452. package/lib/esm/core-react/hocs/withIsPressed.js.map +1 -1
  453. package/lib/esm/core-react/hocs/withOnOutsideClick.js +2 -1
  454. package/lib/esm/core-react/hocs/withOnOutsideClick.js.map +1 -1
  455. package/lib/esm/core-react/hocs/withTimeout.js.map +1 -1
  456. package/lib/esm/core-react/icons/ConditionalIconItem.d.ts +1 -1
  457. package/lib/esm/core-react/icons/ConditionalIconItem.d.ts.map +1 -1
  458. package/lib/esm/core-react/icons/ConditionalIconItem.js.map +1 -1
  459. package/lib/esm/core-react/icons/IconComponent.d.ts +2 -2
  460. package/lib/esm/core-react/icons/IconComponent.d.ts.map +1 -1
  461. package/lib/esm/core-react/icons/IconComponent.js +1 -1
  462. package/lib/esm/core-react/icons/IconComponent.js.map +1 -1
  463. package/lib/esm/core-react/icons/IconComponent.scss +20 -20
  464. package/lib/esm/core-react/icons/SvgPath.d.ts +1 -1
  465. package/lib/esm/core-react/icons/SvgPath.d.ts.map +1 -1
  466. package/lib/esm/core-react/icons/SvgPath.js.map +1 -1
  467. package/lib/esm/core-react/icons/SvgPath.scss +15 -15
  468. package/lib/esm/core-react/icons/WebFontIcon.d.ts +1 -1
  469. package/lib/esm/core-react/icons/WebFontIcon.d.ts.map +1 -1
  470. package/lib/esm/core-react/icons/WebFontIcon.js.map +1 -1
  471. package/lib/esm/core-react/icons/WebFontIcon.scss +17 -17
  472. package/lib/esm/core-react/icons/classes.scss +10 -10
  473. package/lib/esm/core-react/icons/index.scss +6 -6
  474. package/lib/esm/core-react/icons/mixins.scss +25 -25
  475. package/lib/esm/core-react/icons/variables.scss +12 -12
  476. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts +1 -1
  477. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -1
  478. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js.map +1 -1
  479. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +54 -54
  480. package/lib/esm/core-react/index.scss +21 -21
  481. package/lib/esm/core-react/inputs/Input.d.ts +1 -1
  482. package/lib/esm/core-react/inputs/Input.d.ts.map +1 -1
  483. package/lib/esm/core-react/inputs/Input.js.map +1 -1
  484. package/lib/esm/core-react/inputs/InputLabel.d.ts +2 -2
  485. package/lib/esm/core-react/inputs/InputLabel.d.ts.map +1 -1
  486. package/lib/esm/core-react/inputs/InputLabel.js.map +1 -1
  487. package/lib/esm/core-react/inputs/InputStatus.js.map +1 -1
  488. package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts +2 -2
  489. package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts.map +1 -1
  490. package/lib/esm/core-react/inputs/LabeledComponentProps.js.map +1 -1
  491. package/lib/esm/core-react/inputs/classes.scss +8 -8
  492. package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts +1 -1
  493. package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts.map +1 -1
  494. package/lib/esm/core-react/inputs/iconinput/IconInput.js.map +1 -1
  495. package/lib/esm/core-react/inputs/iconinput/IconInput.scss +35 -35
  496. package/lib/esm/core-react/inputs/index.scss +9 -9
  497. package/lib/esm/core-react/inputs/input-label.scss +90 -90
  498. package/lib/esm/core-react/inputs/input.scss +58 -58
  499. package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts +1 -1
  500. package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -1
  501. package/lib/esm/core-react/inputs/numberinput/NumberInput.js.map +1 -1
  502. package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +88 -88
  503. package/lib/esm/core-react/inputs/variables.scss +38 -38
  504. package/lib/esm/core-react/layout-variables.scss +17 -17
  505. package/lib/esm/core-react/listbox/Listbox.js +3 -2
  506. package/lib/esm/core-react/listbox/Listbox.js.map +1 -1
  507. package/lib/esm/core-react/listbox/Listbox.scss +54 -54
  508. package/lib/esm/core-react/loading/LoadingBar.d.ts +1 -1
  509. package/lib/esm/core-react/loading/LoadingBar.d.ts.map +1 -1
  510. package/lib/esm/core-react/loading/LoadingBar.js.map +1 -1
  511. package/lib/esm/core-react/loading/LoadingBar.scss +29 -29
  512. package/lib/esm/core-react/loading/LoadingPrompt.d.ts +1 -1
  513. package/lib/esm/core-react/loading/LoadingPrompt.d.ts.map +1 -1
  514. package/lib/esm/core-react/loading/LoadingPrompt.js.map +1 -1
  515. package/lib/esm/core-react/loading/LoadingPrompt.scss +33 -33
  516. package/lib/esm/core-react/loading/LoadingSpinner.d.ts +1 -1
  517. package/lib/esm/core-react/loading/LoadingSpinner.d.ts.map +1 -1
  518. package/lib/esm/core-react/loading/LoadingSpinner.js.map +1 -1
  519. package/lib/esm/core-react/loading/LoadingSpinner.scss +26 -26
  520. package/lib/esm/core-react/loading/LoadingStatus.d.ts +1 -1
  521. package/lib/esm/core-react/loading/LoadingStatus.d.ts.map +1 -1
  522. package/lib/esm/core-react/loading/LoadingStatus.js.map +1 -1
  523. package/lib/esm/core-react/loading/LoadingStatus.scss +20 -20
  524. package/lib/esm/core-react/loading/index.scss +5 -5
  525. package/lib/esm/core-react/loading/mixins.scss +57 -57
  526. package/lib/esm/core-react/messagebox/MessageBox.d.ts +4 -3
  527. package/lib/esm/core-react/messagebox/MessageBox.d.ts.map +1 -1
  528. package/lib/esm/core-react/messagebox/MessageBox.js.map +1 -1
  529. package/lib/esm/core-react/messagebox/MessageBox.scss +56 -56
  530. package/lib/esm/core-react/notification/MessageRenderer.d.ts +2 -2
  531. package/lib/esm/core-react/notification/MessageRenderer.d.ts.map +1 -1
  532. package/lib/esm/core-react/notification/MessageRenderer.js +1 -1
  533. package/lib/esm/core-react/notification/MessageRenderer.js.map +1 -1
  534. package/lib/esm/core-react/notification/MessageType.d.ts +1 -1
  535. package/lib/esm/core-react/notification/MessageType.d.ts.map +1 -1
  536. package/lib/esm/core-react/notification/MessageType.js.map +1 -1
  537. package/lib/esm/core-react/popup/Popup.d.ts +1 -1
  538. package/lib/esm/core-react/popup/Popup.d.ts.map +1 -1
  539. package/lib/esm/core-react/popup/Popup.js +8 -4
  540. package/lib/esm/core-react/popup/Popup.js.map +1 -1
  541. package/lib/esm/core-react/popup/Popup.scss +240 -240
  542. package/lib/esm/core-react/radialmenu/Annulus.js.map +1 -1
  543. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts +2 -2
  544. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts.map +1 -1
  545. package/lib/esm/core-react/radialmenu/RadialMenu.js.map +1 -1
  546. package/lib/esm/core-react/radialmenu/RadialMenu.scss +55 -55
  547. package/lib/esm/core-react/searchbox/SearchBox.d.ts +1 -1
  548. package/lib/esm/core-react/searchbox/SearchBox.d.ts.map +1 -1
  549. package/lib/esm/core-react/searchbox/SearchBox.js.map +1 -1
  550. package/lib/esm/core-react/searchbox/SearchBox.scss +47 -47
  551. package/lib/esm/core-react/settings/SettingsContainer.d.ts +1 -1
  552. package/lib/esm/core-react/settings/SettingsContainer.d.ts.map +1 -1
  553. package/lib/esm/core-react/settings/SettingsContainer.js.map +1 -1
  554. package/lib/esm/core-react/settings/SettingsContainer.scss +68 -68
  555. package/lib/esm/core-react/settings/SettingsManager.d.ts +1 -1
  556. package/lib/esm/core-react/settings/SettingsManager.d.ts.map +1 -1
  557. package/lib/esm/core-react/settings/SettingsManager.js.map +1 -1
  558. package/lib/esm/core-react/style/baseline.scss +11 -11
  559. package/lib/esm/core-react/style/breakpoints.scss +41 -41
  560. package/lib/esm/core-react/style/colors.scss +77 -77
  561. package/lib/esm/core-react/style/index.scss +10 -10
  562. package/lib/esm/core-react/style/mixins.scss +27 -27
  563. package/lib/esm/core-react/style/opacity.scss +16 -16
  564. package/lib/esm/core-react/style/themecolors.scss +123 -123
  565. package/lib/esm/core-react/tabs/Tabs.d.ts +1 -1
  566. package/lib/esm/core-react/tabs/Tabs.d.ts.map +1 -1
  567. package/lib/esm/core-react/tabs/Tabs.js.map +1 -1
  568. package/lib/esm/core-react/tabs/VerticalTabs.d.ts +1 -1
  569. package/lib/esm/core-react/tabs/VerticalTabs.d.ts.map +1 -1
  570. package/lib/esm/core-react/tabs/VerticalTabs.js.map +1 -1
  571. package/lib/esm/core-react/tabs/classes.scss +7 -7
  572. package/lib/esm/core-react/tabs/index.scss +5 -5
  573. package/lib/esm/core-react/tabs/tabs.scss +96 -96
  574. package/lib/esm/core-react/tabs/vertical.scss +51 -51
  575. package/lib/esm/core-react/text/BlockText.d.ts +1 -1
  576. package/lib/esm/core-react/text/BlockText.d.ts.map +1 -1
  577. package/lib/esm/core-react/text/BlockText.js.map +1 -1
  578. package/lib/esm/core-react/text/BodyText.d.ts +1 -1
  579. package/lib/esm/core-react/text/BodyText.d.ts.map +1 -1
  580. package/lib/esm/core-react/text/BodyText.js.map +1 -1
  581. package/lib/esm/core-react/text/DisabledText.d.ts +1 -1
  582. package/lib/esm/core-react/text/DisabledText.d.ts.map +1 -1
  583. package/lib/esm/core-react/text/DisabledText.js.map +1 -1
  584. package/lib/esm/core-react/text/FilteredText.d.ts +2 -2
  585. package/lib/esm/core-react/text/FilteredText.d.ts.map +1 -1
  586. package/lib/esm/core-react/text/FilteredText.js.map +1 -1
  587. package/lib/esm/core-react/text/FilteredText.scss +10 -10
  588. package/lib/esm/core-react/text/MutedText.d.ts +1 -1
  589. package/lib/esm/core-react/text/MutedText.d.ts.map +1 -1
  590. package/lib/esm/core-react/text/MutedText.js.map +1 -1
  591. package/lib/esm/core-react/text/StyledText.d.ts +1 -1
  592. package/lib/esm/core-react/text/StyledText.d.ts.map +1 -1
  593. package/lib/esm/core-react/text/StyledText.js.map +1 -1
  594. package/lib/esm/core-react/text/TextProps.d.ts +2 -2
  595. package/lib/esm/core-react/text/TextProps.d.ts.map +1 -1
  596. package/lib/esm/core-react/text/TextProps.js.map +1 -1
  597. package/lib/esm/core-react/text/block.scss +15 -15
  598. package/lib/esm/core-react/text/body.scss +13 -13
  599. package/lib/esm/core-react/text/classes.scss +10 -10
  600. package/lib/esm/core-react/text/disabled.scss +10 -10
  601. package/lib/esm/core-react/text/index.scss +10 -10
  602. package/lib/esm/core-react/text/mixins.scss +24 -24
  603. package/lib/esm/core-react/text/muted.scss +10 -10
  604. package/lib/esm/core-react/tree/Branch.d.ts +1 -1
  605. package/lib/esm/core-react/tree/Branch.d.ts.map +1 -1
  606. package/lib/esm/core-react/tree/Branch.js.map +1 -1
  607. package/lib/esm/core-react/tree/Branch.scss +12 -12
  608. package/lib/esm/core-react/tree/ExpansionToggle.d.ts +1 -1
  609. package/lib/esm/core-react/tree/ExpansionToggle.d.ts.map +1 -1
  610. package/lib/esm/core-react/tree/ExpansionToggle.js.map +1 -1
  611. package/lib/esm/core-react/tree/ExpansionToggle.scss +32 -32
  612. package/lib/esm/core-react/tree/Node.d.ts +3 -3
  613. package/lib/esm/core-react/tree/Node.d.ts.map +1 -1
  614. package/lib/esm/core-react/tree/Node.js +2 -1
  615. package/lib/esm/core-react/tree/Node.js.map +1 -1
  616. package/lib/esm/core-react/tree/Node.scss +68 -68
  617. package/lib/esm/core-react/tree/Placeholder.d.ts +1 -1
  618. package/lib/esm/core-react/tree/Placeholder.d.ts.map +1 -1
  619. package/lib/esm/core-react/tree/Placeholder.js.map +1 -1
  620. package/lib/esm/core-react/tree/Placeholder.scss +17 -17
  621. package/lib/esm/core-react/tree/Tree.d.ts +1 -1
  622. package/lib/esm/core-react/tree/Tree.d.ts.map +1 -1
  623. package/lib/esm/core-react/tree/Tree.js.map +1 -1
  624. package/lib/esm/core-react/tree/Tree.scss +21 -21
  625. package/lib/esm/core-react/uistate/LocalStateStorage.d.ts +1 -1
  626. package/lib/esm/core-react/uistate/LocalStateStorage.d.ts.map +1 -1
  627. package/lib/esm/core-react/uistate/LocalStateStorage.js.map +1 -1
  628. package/lib/esm/core-react/uistate/UiStateEntry.d.ts +1 -1
  629. package/lib/esm/core-react/uistate/UiStateEntry.d.ts.map +1 -1
  630. package/lib/esm/core-react/uistate/UiStateEntry.js.map +1 -1
  631. package/lib/esm/core-react/uistate/UiStateStorage.js.map +1 -1
  632. package/lib/esm/core-react/utils/IconHelper.d.ts +1 -1
  633. package/lib/esm/core-react/utils/IconHelper.d.ts.map +1 -1
  634. package/lib/esm/core-react/utils/IconHelper.js.map +1 -1
  635. package/lib/esm/core-react/utils/IconWebComponent.js +1 -1
  636. package/lib/esm/core-react/utils/IconWebComponent.js.map +1 -1
  637. package/lib/esm/core-react/utils/Point.d.ts +1 -1
  638. package/lib/esm/core-react/utils/Point.d.ts.map +1 -1
  639. package/lib/esm/core-react/utils/Point.js.map +1 -1
  640. package/lib/esm/core-react/utils/Props.d.ts +2 -2
  641. package/lib/esm/core-react/utils/Props.d.ts.map +1 -1
  642. package/lib/esm/core-react/utils/Props.js.map +1 -1
  643. package/lib/esm/core-react/utils/Rectangle.d.ts +3 -2
  644. package/lib/esm/core-react/utils/Rectangle.d.ts.map +1 -1
  645. package/lib/esm/core-react/utils/Rectangle.js.map +1 -1
  646. package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts +1 -1
  647. package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -1
  648. package/lib/esm/core-react/utils/ScrollPositionMaintainer.js.map +1 -1
  649. package/lib/esm/core-react/utils/Size.js.map +1 -1
  650. package/lib/esm/core-react/utils/Timer.js.map +1 -1
  651. package/lib/esm/core-react/utils/UiGeometry.js.map +1 -1
  652. package/lib/esm/core-react/utils/flattenChildren.js.map +1 -1
  653. package/lib/esm/core-react/utils/getBestBWContrastColor.js.map +1 -1
  654. package/lib/esm/core-react/utils/getCssVariable.js +1 -1
  655. package/lib/esm/core-react/utils/getCssVariable.js.map +1 -1
  656. package/lib/esm/core-react/utils/getDisplayName.d.ts +1 -1
  657. package/lib/esm/core-react/utils/getDisplayName.d.ts.map +1 -1
  658. package/lib/esm/core-react/utils/getDisplayName.js.map +1 -1
  659. package/lib/esm/core-react/utils/getUserColor.js.map +1 -1
  660. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js.map +1 -1
  661. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js +2 -1
  662. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -1
  663. package/lib/esm/core-react/utils/hooks/useDisposable.d.ts +1 -1
  664. package/lib/esm/core-react/utils/hooks/useDisposable.d.ts.map +1 -1
  665. package/lib/esm/core-react/utils/hooks/useDisposable.js.map +1 -1
  666. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -1
  667. package/lib/esm/core-react/utils/hooks/useEventListener.js.map +1 -1
  668. package/lib/esm/core-react/utils/hooks/useInterval.js.map +1 -1
  669. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js.map +1 -1
  670. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js.map +1 -1
  671. package/lib/esm/core-react/utils/hooks/useProximityToMouse.js.map +1 -1
  672. package/lib/esm/core-react/utils/hooks/useRefEffect.js.map +1 -1
  673. package/lib/esm/core-react/utils/hooks/useRefState.js.map +1 -1
  674. package/lib/esm/core-react/utils/hooks/useRefs.js.map +1 -1
  675. package/lib/esm/core-react/utils/hooks/useResizeObserver.js +13 -8
  676. package/lib/esm/core-react/utils/hooks/useResizeObserver.js.map +1 -1
  677. package/lib/esm/core-react/utils/hooks/useTargeted.js.map +1 -1
  678. package/lib/esm/core-react/utils/hooks/useThrottledFn.js.map +1 -1
  679. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -1
  680. package/lib/esm/core-react/utils/isPromiseLike.js.map +1 -1
  681. package/lib/esm/core-react/utils/shallowDiffers.js.map +1 -1
  682. package/lib/esm/core-react/utils/typeUtils.js.map +1 -1
  683. package/lib/esm/core-react.js.map +1 -1
  684. package/lib/public/locales/en/UiCore.json +30 -30
  685. package/package.json +9 -4
@@ -1 +1 @@
1
- {"version":3,"file":"useResizeObserver.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useResizeObserver.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;IAEI;AACJ,MAAM,UAAU,iBAAiB,CAAoB,QAAkD;IACrG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;IACpE,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,CAAwB,IAAI,CAAC,CAAC;IACjE,MAAM,MAAM,GAAG,KAAK,C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AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\nimport * as React from \"react\";\r\nimport { ResizeObserver } from \"./ResizeObserverPolyfill\";\r\nimport { useRefEffect } from \"./useRefEffect\";\r\nimport { useRefs } from \"./useRefs\";\r\n\r\n/** Uses ResizeObserver API to notify about element bound changes.\r\n * @internal\r\n */\r\nexport function useResizeObserver<T extends Element>(onResize?: (width: number, height: number) => void) {\r\n const [bounds, setBounds] = React.useState({ width: 0, height: 0 });\r\n const resizeObserver = React.useRef<ResizeObserver | null>(null);\r\n const rafRef = React.useRef(0); // set to non-zero when requestAnimationFrame processing is active\r\n const isMountedRef = React.useRef(false);\r\n const owningWindowRef = React.useRef<any>(null);\r\n\r\n // istanbul ignore next\r\n const resizeObserverCleanup = () => {\r\n if (rafRef.current)\r\n owningWindowRef.current.cancelAnimationFrame(rafRef.current);\r\n\r\n resizeObserver.current?.disconnect();\r\n resizeObserver.current = null;\r\n };\r\n\r\n React.useEffect(() => {\r\n isMountedRef.current = true;\r\n return () => {\r\n isMountedRef.current = false;\r\n if (rafRef.current)\r\n owningWindowRef.current.cancelAnimationFrame(rafRef.current);\r\n owningWindowRef.current?.removeEventListener(\"beforeunload\", resizeObserverCleanup);\r\n };\r\n }, []);\r\n\r\n const processResize = React.useCallback((target: HTMLElement) => {\r\n const newBounds = target.getBoundingClientRect();\r\n // istanbul ignore else\r\n if (isMountedRef.current && (bounds.width !== newBounds.width || bounds.height !== newBounds.height)) {\r\n setBounds(newBounds);\r\n onResize && onResize(newBounds.width, newBounds.height);\r\n }\r\n }, [onResize, bounds.height, bounds.width]);\r\n\r\n const handleResize = React.useCallback((entries: any[]) => {\r\n // istanbul ignore if\r\n if (!isMountedRef.current || !Array.isArray(entries) || 0 === entries.length) {\r\n return;\r\n }\r\n const target = entries[0].target as HTMLElement;\r\n // istanbul ignore next\r\n owningWindowRef.current && owningWindowRef.current.removeEventListener(\"beforeunload\", resizeObserverCleanup);\r\n\r\n owningWindowRef.current = target.ownerDocument.defaultView;\r\n // istanbul ignore else\r\n if (owningWindowRef.current) {\r\n owningWindowRef.current.addEventListener(\"unload\", resizeObserverCleanup);\r\n\r\n // using requestAnimationFrame to stop the \"ResizeObserver loop completed with undelivered notifications.\" and\r\n // \"ResizeObserver loop limit exceeded\" messages reported to window.onError\r\n rafRef.current = owningWindowRef.current.requestAnimationFrame(() => processResize(target));\r\n }\r\n }, [processResize]);\r\n\r\n const observerRef = useRefEffect((instance: T | null) => {\r\n resizeObserver.current = new ResizeObserver(handleResize);\r\n if (instance) {\r\n resizeObserver.current.observe(instance);\r\n const newBounds = instance.getBoundingClientRect();\r\n onResize && onResize(newBounds.width, newBounds.height);\r\n setBounds(newBounds);\r\n }\r\n\r\n return () => {\r\n instance && ( /* istanbul ignore next */resizeObserver.current?.unobserve(instance));\r\n resizeObserver.current = null;\r\n };\r\n }, [handleResize, onResize]);\r\n\r\n const handleRef = React.useCallback((instance: Element | null) => {\r\n const newBounds = instance && instance.getBoundingClientRect();\r\n // istanbul ignore if\r\n if (newBounds && (bounds.width !== newBounds.width || bounds.height !== newBounds.height)) {\r\n setBounds(newBounds);\r\n onResize && onResize(newBounds.width, newBounds.height);\r\n }\r\n }, [bounds.height, bounds.width, onResize]);\r\n\r\n const ref = useRefs(handleRef, observerRef);\r\n return ref;\r\n}\r\n\r\n/** React hook that uses ResizeObserver API to notify about element bound changes. Note: to work similar to ReactResizeDetector\r\n * width and height are initialized as undefined and only set during after mount if bounds are non-zero. This implementation properly\r\n * handles observing element in pop-out/child windows.\r\n * @internal\r\n */\r\nexport function useLayoutResizeObserver(inElement: HTMLElement | null, onResize?: (width?: number, height?: number) => void) {\r\n const inBoundingRect = inElement?.getBoundingClientRect();\r\n const [bounds, setBounds] = React.useState<{ width?: number, height?: number }>({ width: inBoundingRect?.width, height: inBoundingRect?.height });\r\n const [watchedElement, setWatchedElement] = React.useState(inElement);\r\n const resizeObserver = React.useRef<ResizeObserver | null>(null);\r\n const rafRef = React.useRef(0); // set to non-zero when requestAnimationFrame processing is active\r\n const isMountedRef = React.useRef(false);\r\n const owningWindowRef = React.useRef<any>(null);\r\n\r\n // istanbul ignore next\r\n const resizeObserverCleanup = () => {\r\n if (rafRef.current)\r\n owningWindowRef.current.cancelAnimationFrame(rafRef.current);\r\n\r\n resizeObserver.current?.disconnect();\r\n resizeObserver.current = null;\r\n };\r\n\r\n React.useEffect(() => {\r\n isMountedRef.current = true;\r\n setWatchedElement(inElement);\r\n\r\n // istanbul ignore next\r\n if (inElement) {\r\n const newBounds = inElement.getBoundingClientRect();\r\n onResize && onResize(newBounds.width, newBounds.height);\r\n setBounds(newBounds);\r\n }\r\n\r\n return () => {\r\n isMountedRef.current = false;\r\n (rafRef.current && owningWindowRef.current) && owningWindowRef.current.cancelAnimationFrame(rafRef.current);\r\n owningWindowRef.current && owningWindowRef.current.removeEventListener(\"beforeunload\", resizeObserverCleanup);\r\n };\r\n }, [onResize, inElement]);\r\n\r\n const processResize = React.useCallback((target: HTMLElement) => {\r\n const newBounds = target.getBoundingClientRect();\r\n // istanbul ignore next\r\n if (isMountedRef.current && (bounds.width !== newBounds.width || bounds.height !== newBounds.height)) {\r\n onResize && onResize(newBounds.width, newBounds.height);\r\n setBounds(newBounds);\r\n }\r\n }, [bounds.height, bounds.width, onResize]);\r\n\r\n const handleResize = React.useCallback((entries: any[]) => {\r\n // istanbul ignore next\r\n if (!isMountedRef.current || !Array.isArray(entries) || 0 === entries.length) {\r\n return;\r\n }\r\n const target = entries[0].target as HTMLElement;\r\n // istanbul ignore next\r\n if (owningWindowRef.current)\r\n owningWindowRef.current.removeEventListener(\"beforeunload\", resizeObserverCleanup);\r\n\r\n owningWindowRef.current = target.ownerDocument.defaultView;\r\n // istanbul ignore else\r\n if (owningWindowRef.current) {\r\n owningWindowRef.current.addEventListener(\"unload\", resizeObserverCleanup);\r\n\r\n // using requestAnimationFrame to stop the \"ResizeObserver loop completed with undelivered notifications.\" and\r\n // \"ResizeObserver loop limit exceeded\" messages reported to window.onError\r\n rafRef.current = owningWindowRef.current.requestAnimationFrame(() => processResize(target));\r\n }\r\n }, [processResize]);\r\n\r\n React.useLayoutEffect(() => {\r\n if (!watchedElement) {\r\n return;\r\n }\r\n resizeObserver.current = new ResizeObserver(handleResize);\r\n resizeObserver.current.observe(watchedElement);\r\n return () => {\r\n // istanbul ignore next\r\n resizeObserver.current?.disconnect();\r\n resizeObserver.current = null;\r\n };\r\n }, [handleResize, watchedElement]);\r\n\r\n return [bounds.width, bounds.height];\r\n}\r\n\r\n/** Prop the ElementResizeObserver sends to the render function.\r\n * @public\r\n */\r\nexport interface RenderPropsArgs {\r\n width?: number;\r\n height?: number;\r\n}\r\n\r\n/** ElementResizeObserver provides functionality similar to ReactResizeDetector when a render function is specified. This implementation properly handles\r\n * observing element in pop-out/child windows.\r\n * @public\r\n */\r\nexport function ElementResizeObserver({ watchedElement, render }: { watchedElement: HTMLElement | null, render: (props: RenderPropsArgs) => JSX.Element }) {\r\n const [width, height] = useLayoutResizeObserver(watchedElement);\r\n return render({ width, height });\r\n}\r\n\r\n/** ResizableContainerObserver is a component that provides the functionality similar to the ReactResizeDetector option that call a function when\r\n * the observed element is resized. This implementation properly handles observing element in pop-out/child windows. If children nodes are defined then\r\n * the div added by the component is considered the container whose size will be observed. If no children are provided then the component will report\r\n * size changes from its parent container.\r\n * @public\r\n */\r\nexport function ResizableContainerObserver({ onResize, children }: { onResize: (width: number, height: number) => void, children?: React.ReactNode }) {\r\n const containerRef = React.useRef<HTMLDivElement>(null); // set to non-zero when requestAnimationFrame processing is active\r\n const [containerElement, setContainerElement] = React.useState<HTMLElement | null>(null);\r\n const isMountedRef = React.useRef(false);\r\n const hasChildren = React.Children.count(children) !== 0;\r\n\r\n // if no children are specified then monitor size of parent element.\r\n React.useEffect(() => {\r\n // istanbul ignore next\r\n if (!isMountedRef.current && containerRef.current) {\r\n isMountedRef.current = true;\r\n const hasParent = !!containerRef.current.parentElement;\r\n setContainerElement(hasChildren && hasParent ? containerRef.current : containerRef.current.parentElement);\r\n }\r\n }, [hasChildren]);\r\n\r\n const processResize = React.useCallback((width?: number, height?: number) => {\r\n // istanbul ignore next\r\n onResize(width ?? 0, height ?? 0);\r\n }, [onResize]);\r\n\r\n useLayoutResizeObserver(containerElement, processResize);\r\n const style: React.CSSProperties = hasChildren ? { width: \"100%\", height: \"100%\" } : { display: \"none\" };\r\n\r\n return (\r\n <div ref={containerRef} className=\"uicore-resizable-container\" style={style}>\r\n {hasChildren && children}\r\n </div>\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"useResizeObserver.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useResizeObserver.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;IAEI;AACJ,MAAM,UAAU,iBAAiB,CAAoB,QAAkD;IACrG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;IACpE,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,CAAwB,IAAI,CAAC,CAAC;IACjE,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAE,kEAAkE;IACnG,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,eAAe,GAAG,KAAK,CAAC,MAAM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ACP,CAAC;AACJ,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\";\nimport { ResizeObserver } from \"./ResizeObserverPolyfill\";\nimport { useRefEffect } from \"./useRefEffect\";\nimport { useRefs } from \"./useRefs\";\n\n/** Uses ResizeObserver API to notify about element bound changes.\n * @internal\n */\nexport function useResizeObserver<T extends Element>(onResize?: (width: number, height: number) => void) {\n const [bounds, setBounds] = React.useState({ width: 0, height: 0 });\n const resizeObserver = React.useRef<ResizeObserver | null>(null);\n const rafRef = React.useRef(0); // set to non-zero when requestAnimationFrame processing is active\n const isMountedRef = React.useRef(false);\n const owningWindowRef = React.useRef<any>(null);\n\n // istanbul ignore next\n const resizeObserverCleanup = () => {\n if (rafRef.current)\n owningWindowRef.current.cancelAnimationFrame(rafRef.current);\n\n resizeObserver.current?.disconnect();\n resizeObserver.current = null;\n };\n\n React.useEffect(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n if (rafRef.current)\n owningWindowRef.current.cancelAnimationFrame(rafRef.current);\n owningWindowRef.current?.removeEventListener(\"beforeunload\", resizeObserverCleanup);\n };\n }, []);\n\n const processResize = React.useCallback((target: HTMLElement) => {\n const newBounds = target.getBoundingClientRect();\n // istanbul ignore else\n if (isMountedRef.current && (bounds.width !== newBounds.width || bounds.height !== newBounds.height)) {\n setBounds(newBounds);\n onResize && onResize(newBounds.width, newBounds.height);\n }\n }, [onResize, bounds.height, bounds.width]);\n\n const handleResize = React.useCallback((entries: any[]) => {\n // istanbul ignore if\n if (!isMountedRef.current || !Array.isArray(entries) || 0 === entries.length) {\n return;\n }\n const target = entries[0].target as HTMLElement;\n // istanbul ignore next\n owningWindowRef.current && owningWindowRef.current.removeEventListener(\"beforeunload\", resizeObserverCleanup);\n\n owningWindowRef.current = target.ownerDocument.defaultView;\n // istanbul ignore else\n if (owningWindowRef.current) {\n owningWindowRef.current.addEventListener(\"unload\", resizeObserverCleanup);\n\n // using requestAnimationFrame to stop the \"ResizeObserver loop completed with undelivered notifications.\" and\n // \"ResizeObserver loop limit exceeded\" messages reported to window.onError\n rafRef.current = owningWindowRef.current.requestAnimationFrame(() => processResize(target));\n }\n }, [processResize]);\n\n const observerRef = useRefEffect((instance: T | null) => {\n resizeObserver.current = new ResizeObserver(handleResize);\n if (instance) {\n resizeObserver.current.observe(instance);\n const newBounds = instance.getBoundingClientRect();\n onResize && onResize(newBounds.width, newBounds.height);\n setBounds(newBounds);\n }\n\n return () => {\n instance && ( /* istanbul ignore next */resizeObserver.current?.unobserve(instance));\n resizeObserver.current = null;\n };\n }, [handleResize, onResize]);\n\n const handleRef = React.useCallback((instance: Element | null) => {\n const newBounds = instance && instance.getBoundingClientRect();\n // istanbul ignore if\n if (newBounds && (bounds.width !== newBounds.width || bounds.height !== newBounds.height)) {\n setBounds(newBounds);\n onResize && onResize(newBounds.width, newBounds.height);\n }\n }, [bounds.height, bounds.width, onResize]);\n\n const ref = useRefs(handleRef, observerRef);\n return ref;\n}\n\n/** React hook that uses ResizeObserver API to notify about element bound changes. Note: to work similar to ReactResizeDetector\n * width and height are initialized as undefined and only set during after mount if bounds are non-zero. This implementation properly\n * handles observing element in pop-out/child windows.\n * @internal\n */\nexport function useLayoutResizeObserver(inElement: HTMLElement | null, onResize?: (width?: number, height?: number) => void) {\n const inBoundingRect = inElement?.getBoundingClientRect();\n const [bounds, setBounds] = React.useState<{ width?: number, height?: number }>({ width: inBoundingRect?.width, height: inBoundingRect?.height });\n const [watchedElement, setWatchedElement] = React.useState(inElement);\n const resizeObserver = React.useRef<ResizeObserver | null>(null);\n const rafRef = React.useRef(0); // set to non-zero when requestAnimationFrame processing is active\n const isMountedRef = React.useRef(false);\n const owningWindowRef = React.useRef<any>(null);\n\n // istanbul ignore next\n const resizeObserverCleanup = () => {\n if (rafRef.current)\n owningWindowRef.current.cancelAnimationFrame(rafRef.current);\n\n resizeObserver.current?.disconnect();\n resizeObserver.current = null;\n };\n\n React.useEffect(() => {\n isMountedRef.current = true;\n setWatchedElement(inElement);\n\n // istanbul ignore next\n if (inElement) {\n const newBounds = inElement.getBoundingClientRect();\n onResize && onResize(newBounds.width, newBounds.height);\n setBounds(newBounds);\n }\n\n return () => {\n isMountedRef.current = false;\n (rafRef.current && owningWindowRef.current) && owningWindowRef.current.cancelAnimationFrame(rafRef.current);\n owningWindowRef.current && owningWindowRef.current.removeEventListener(\"beforeunload\", resizeObserverCleanup);\n };\n }, [onResize, inElement]);\n\n const processResize = React.useCallback((target: HTMLElement) => {\n const newBounds = target.getBoundingClientRect();\n // istanbul ignore next\n if (isMountedRef.current && (bounds.width !== newBounds.width || bounds.height !== newBounds.height)) {\n onResize && onResize(newBounds.width, newBounds.height);\n setBounds(newBounds);\n }\n }, [bounds.height, bounds.width, onResize]);\n\n const handleResize = React.useCallback((entries: any[]) => {\n // istanbul ignore next\n if (!isMountedRef.current || !Array.isArray(entries) || 0 === entries.length) {\n return;\n }\n const target = entries[0].target as HTMLElement;\n // istanbul ignore next\n if (owningWindowRef.current)\n owningWindowRef.current.removeEventListener(\"beforeunload\", resizeObserverCleanup);\n\n owningWindowRef.current = target.ownerDocument.defaultView;\n // istanbul ignore else\n if (owningWindowRef.current) {\n owningWindowRef.current.addEventListener(\"unload\", resizeObserverCleanup);\n\n // using requestAnimationFrame to stop the \"ResizeObserver loop completed with undelivered notifications.\" and\n // \"ResizeObserver loop limit exceeded\" messages reported to window.onError\n rafRef.current = owningWindowRef.current.requestAnimationFrame(() => processResize(target));\n }\n }, [processResize]);\n\n React.useLayoutEffect(() => {\n if (!watchedElement) {\n return;\n }\n resizeObserver.current = new ResizeObserver(handleResize);\n resizeObserver.current.observe(watchedElement);\n return () => {\n // istanbul ignore next\n resizeObserver.current?.disconnect();\n resizeObserver.current = null;\n };\n }, [handleResize, watchedElement]);\n\n return [bounds.width, bounds.height];\n}\n\n/** Prop the ElementResizeObserver sends to the render function.\n * @public\n */\nexport interface RenderPropsArgs {\n width?: number;\n height?: number;\n}\n\n/** ElementResizeObserver provides functionality similar to ReactResizeDetector when a render function is specified. This implementation properly handles\n * observing element in pop-out/child windows.\n * @public\n */\nexport function ElementResizeObserver({ watchedElement, render }: { watchedElement: HTMLElement | null, render: (props: RenderPropsArgs) => JSX.Element }) {\n const [width, height] = useLayoutResizeObserver(watchedElement);\n return render({ width, height });\n}\n\n/** ResizableContainerObserver is a component that provides the functionality similar to the ReactResizeDetector option that call a function when\n * the observed element is resized. This implementation properly handles observing element in pop-out/child windows. If children nodes are defined then\n * the div added by the component is considered the container whose size will be observed. If no children are provided then the component will report\n * size changes from its parent container.\n * @public\n */\nexport function ResizableContainerObserver({ onResize, children }: { onResize: (width: number, height: number) => void, children?: React.ReactNode }) {\n const containerRef = React.useRef<HTMLDivElement>(null); // set to non-zero when requestAnimationFrame processing is active\n const [containerElement, setContainerElement] = React.useState<HTMLElement | null>(null);\n const isMountedRef = React.useRef(false);\n const hasChildren = React.Children.count(children) !== 0;\n\n // if no children are specified then monitor size of parent element.\n React.useEffect(() => {\n // istanbul ignore next\n if (!isMountedRef.current && containerRef.current) {\n isMountedRef.current = true;\n const hasParent = !!containerRef.current.parentElement;\n setContainerElement(hasChildren && hasParent ? containerRef.current : containerRef.current.parentElement);\n }\n }, [hasChildren]);\n\n const processResize = React.useCallback((width?: number, height?: number) => {\n // istanbul ignore next\n onResize(width ?? 0, height ?? 0);\n }, [onResize]);\n\n useLayoutResizeObserver(containerElement, processResize);\n const style: React.CSSProperties = hasChildren ? { width: \"100%\", height: \"100%\" } : { display: \"none\" };\n\n return (\n <div ref={containerRef} className=\"uicore-resizable-container\" style={style}>\n {hasChildren && children}\n </div>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useTargeted.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useTargeted.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAA6B,EAAE,EAAE;IAC3D,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,yBAAyB,GAAG,CAAC,CAAe,EAAE,EAAE;YACpD,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM,YAAY,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3G,CAAC,CAAC;QACF,QAAQ,CAAC,gBAAgB,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;QACpE,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;QACzE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACV,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\nimport * as React from \"react\";\r\n\r\n/** Returns a stateful value that indicates if the component is targeted/hovered.\r\n * @internal\r\n */\r\nexport const useTargeted = (ref: React.RefObject<Element>) => {\r\n const [targeted, setTargeted] = React.useState(false);\r\n React.useEffect(() => {\r\n const handleDocumentPointerMove = (e: PointerEvent) => {\r\n setTargeted(!!ref.current && !!e.target && (e.target instanceof Node) && ref.current.contains(e.target));\r\n };\r\n document.addEventListener(\"pointermove\", handleDocumentPointerMove);\r\n return () => {\r\n document.removeEventListener(\"pointermove\", handleDocumentPointerMove);\r\n };\r\n }, [ref]);\r\n return targeted;\r\n};\r\n"]}
1
+ {"version":3,"file":"useTargeted.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useTargeted.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAA6B,EAAE,EAAE;IAC3D,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,yBAAyB,GAAG,CAAC,CAAe,EAAE,EAAE;YACpD,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM,YAAY,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3G,CAAC,CAAC;QACF,QAAQ,CAAC,gBAAgB,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;QACpE,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;QACzE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACV,OAAO,QAAQ,CAAC;AAClB,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/** Returns a stateful value that indicates if the component is targeted/hovered.\n * @internal\n */\nexport const useTargeted = (ref: React.RefObject<Element>) => {\n const [targeted, setTargeted] = React.useState(false);\n React.useEffect(() => {\n const handleDocumentPointerMove = (e: PointerEvent) => {\n setTargeted(!!ref.current && !!e.target && (e.target instanceof Node) && ref.current.contains(e.target));\n };\n document.addEventListener(\"pointermove\", handleDocumentPointerMove);\n return () => {\n document.removeEventListener(\"pointermove\", handleDocumentPointerMove);\n };\n }, [ref]);\n return targeted;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useThrottledFn.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useThrottledFn.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAUlC,MAAM,cAAc,GAAqB;IACvC,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,IAAI;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,cAAc,CAC5B,kBAAqB,EACrB,QAAgB,EAChB,YAAkC,EAClC,UAA4B,cAAc;IAE1C,MAAM,iBAAiB,GAAG,QAAQ,CAAC,kBAAkB,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC1E,uDAAuD;IACvD,OAAO,KAAK,CAAC,WAAW,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;AAC5D,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { throttle } from \"lodash\";\r\n\r\n/** lodash throttle options\r\n * @internal\r\n */\r\nexport interface ThrottleSettings {\r\n leading: boolean;\r\n trailing: boolean;\r\n}\r\n\r\nconst defaultOptions: ThrottleSettings = {\r\n leading: false,\r\n trailing: true,\r\n};\r\n\r\n/** Used to throttle function calls\r\n * @internal\r\n */\r\nexport function useThrottledFn<T extends (...args: any) => any>(\r\n functionToThrottle: T,\r\n waitTime: number,\r\n dependencies: React.DependencyList,\r\n options: ThrottleSettings = defaultOptions,\r\n) {\r\n const throttledFunction = throttle(functionToThrottle, waitTime, options);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n return React.useCallback(throttledFunction, dependencies);\r\n}\r\n"]}
1
+ {"version":3,"file":"useThrottledFn.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useThrottledFn.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAUlC,MAAM,cAAc,GAAqB;IACvC,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,IAAI;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,cAAc,CAC5B,kBAAqB,EACrB,QAAgB,EAChB,YAAkC,EAClC,UAA4B,cAAc;IAE1C,MAAM,iBAAiB,GAAG,QAAQ,CAAC,kBAAkB,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC1E,uDAAuD;IACvD,OAAO,KAAK,CAAC,WAAW,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;AAC5D,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 { throttle } from \"lodash\";\n\n/** lodash throttle options\n * @internal\n */\nexport interface ThrottleSettings {\n leading: boolean;\n trailing: boolean;\n}\n\nconst defaultOptions: ThrottleSettings = {\n leading: false,\n trailing: true,\n};\n\n/** Used to throttle function calls\n * @internal\n */\nexport function useThrottledFn<T extends (...args: any) => any>(\n functionToThrottle: T,\n waitTime: number,\n dependencies: React.DependencyList,\n options: ThrottleSettings = defaultOptions,\n) {\n const throttledFunction = throttle(functionToThrottle, waitTime, options);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(throttledFunction, dependencies);\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useWidgetOpacityContext.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useWidgetOpacityContext.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAA4B;IACjF,YAAY,EAAE,0BAA0B,CAAC,CAAC,WAAqC,EAAE,EAAE,CAAC,KAAK,EAAE;IAC3F,cAAc,EAAE,GAAG;CACpB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAChD,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\nimport * as React from \"react\";\r\n\r\n/** Properties for [[WidgetOpacityContext]]\r\n * @internal\r\n */\r\nexport interface WidgetOpacityContextProps {\r\n readonly onElementRef: (elementRef: React.RefObject<Element>) => void;\r\n readonly proximityScale: number;\r\n}\r\n\r\n/**\r\n * Context used by Widgets and child components to process opacity changes based on mouse proximity.\r\n * @internal\r\n */\r\n// eslint-disable-next-line @typescript-eslint/naming-convention\r\nexport const WidgetOpacityContext = React.createContext<WidgetOpacityContextProps>({\r\n onElementRef: /* istanbul ignore next */ (_elementRef: React.RefObject<Element>) => void {},\r\n proximityScale: 1.0,\r\n});\r\n\r\n/** Hook for using [[WidgetOpacityContext]]\r\n * @internal\r\n */\r\nexport function useWidgetOpacityContext() {\r\n return React.useContext(WidgetOpacityContext);\r\n}\r\n"]}
1
+ {"version":3,"file":"useWidgetOpacityContext.js","sourceRoot":"","sources":["../../../../../src/core-react/utils/hooks/useWidgetOpacityContext.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAA4B;IACjF,YAAY,EAAE,0BAA0B,CAAC,CAAC,WAAqC,EAAE,EAAE,CAAC,KAAK,EAAE;IAC3F,cAAc,EAAE,GAAG;CACpB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAChD,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/** Properties for [[WidgetOpacityContext]]\n * @internal\n */\nexport interface WidgetOpacityContextProps {\n readonly onElementRef: (elementRef: React.RefObject<Element>) => void;\n readonly proximityScale: number;\n}\n\n/**\n * Context used by Widgets and child components to process opacity changes based on mouse proximity.\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const WidgetOpacityContext = React.createContext<WidgetOpacityContextProps>({\n onElementRef: /* istanbul ignore next */ (_elementRef: React.RefObject<Element>) => void {},\n proximityScale: 1.0,\n});\n\n/** Hook for using [[WidgetOpacityContext]]\n * @internal\n */\nexport function useWidgetOpacityContext() {\n return React.useContext(WidgetOpacityContext);\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"isPromiseLike.js","sourceRoot":"","sources":["../../../../src/core-react/utils/isPromiseLike.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,GAAY;IACxC,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,IAAI,CAAC,OAAQ,GAAW,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC;AAC3F,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\n/** Checks if the specified argument is a promise\r\n * @internal\r\n */\r\nexport function isPromiseLike(obj: unknown): obj is PromiseLike<unknown> {\r\n return !!(obj && (typeof obj === \"object\") && (typeof (obj as any).then === \"function\"));\r\n}\r\n"]}
1
+ {"version":3,"file":"isPromiseLike.js","sourceRoot":"","sources":["../../../../src/core-react/utils/isPromiseLike.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,GAAY;IACxC,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,IAAI,CAAC,OAAQ,GAAW,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC;AAC3F,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/** Checks if the specified argument is a promise\n * @internal\n */\nexport function isPromiseLike(obj: unknown): obj is PromiseLike<unknown> {\n return !!(obj && (typeof obj === \"object\") && (typeof (obj as any).then === \"function\"));\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"shallowDiffers.js","sourceRoot":"","sources":["../../../../src/core-react/utils/shallowDiffers.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAqC,EAAE,CAAqC,EAAW,EAAE;IACtH,IAAI,CAAC,KAAK,CAAC;QACT,OAAO,KAAK,CAAC;IACf,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,SAAS;QACpC,OAAO,IAAI,CAAC;IACd,KAAK,MAAM,CAAC,IAAI,CAAC,EAAE;QACjB,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YACX,OAAO,IAAI,CAAC;KACf;IACD,KAAK,MAAM,CAAC,IAAI,CAAC,EAAE;QACjB,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACf,OAAO,IAAI,CAAC;KACf;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\n/** Performs a shallow difference check on two objects.\r\n * @internal\r\n */\r\nexport const shallowDiffers = (a: { [key: string]: any } | undefined, b: { [key: string]: any } | undefined): boolean => {\r\n if (a === b)\r\n return false;\r\n if (a === undefined || b === undefined)\r\n return true;\r\n for (const i in a) {\r\n if (!(i in b))\r\n return true;\r\n }\r\n for (const i in b) {\r\n if (a[i] !== b[i])\r\n return true;\r\n }\r\n return false;\r\n};\r\n"]}
1
+ {"version":3,"file":"shallowDiffers.js","sourceRoot":"","sources":["../../../../src/core-react/utils/shallowDiffers.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAqC,EAAE,CAAqC,EAAW,EAAE;IACtH,IAAI,CAAC,KAAK,CAAC;QACT,OAAO,KAAK,CAAC;IACf,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,SAAS;QACpC,OAAO,IAAI,CAAC;IACd,KAAK,MAAM,CAAC,IAAI,CAAC,EAAE;QACjB,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YACX,OAAO,IAAI,CAAC;KACf;IACD,KAAK,MAAM,CAAC,IAAI,CAAC,EAAE;QACjB,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACf,OAAO,IAAI,CAAC;KACf;IACD,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\n/** Performs a shallow difference check on two objects.\n * @internal\n */\nexport const shallowDiffers = (a: { [key: string]: any } | undefined, b: { [key: string]: any } | undefined): boolean => {\n if (a === b)\n return false;\n if (a === undefined || b === undefined)\n return true;\n for (const i in a) {\n if (!(i in b))\n return true;\n }\n for (const i in b) {\n if (a[i] !== b[i])\n return true;\n }\n return false;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"typeUtils.js","sourceRoot":"","sources":["../../../../src/core-react/utils/typeUtils.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\n/** Used to omit properties in a given interface\r\n * @public\r\n */\r\nexport type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;\r\n"]}
1
+ {"version":3,"file":"typeUtils.js","sourceRoot":"","sources":["../../../../src/core-react/utils/typeUtils.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/** Used to omit properties in a given interface\n * @public\n */\nexport type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"core-react.js","sourceRoot":"","sources":["../../src/core-react.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,gFAAgF;AAEhF,cAAc,qBAAqB,CAAC;AAEpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,sCAAsC,CAAC;AAErD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,4BAA4B,CAAC;AAC3C,cAAc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AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n// cSpell:ignore focustrap imagecheckbox iconinput hocs numberinput numericinput\r\n\r\nexport * from \"./core-react/UiCore\";\r\n\r\nexport * from \"./core-react/badge/Badge\";\r\nexport * from \"./core-react/badge/BadgeUtilities\";\r\nexport * from \"./core-react/badge/BetaBadge\";\r\nexport * from \"./core-react/badge/NewBadge\";\r\n\r\nexport * from \"./core-react/base/Div\";\r\nexport * from \"./core-react/base/DivWithOutsideClick\";\r\nexport * from \"./core-react/base/Centered\";\r\nexport * from \"./core-react/base/FillCentered\";\r\nexport * from \"./core-react/base/FlexWrapContainer\";\r\nexport * from \"./core-react/base/Gap\";\r\nexport * from \"./core-react/base/PointerEvents\";\r\nexport * from \"./core-react/base/ScrollView\";\r\n\r\nexport * from \"./core-react/button/UnderlinedButton\";\r\n\r\nexport * from \"./core-react/checklistbox/CheckListBox\";\r\n\r\nexport * from \"./core-react/contextmenu/ContextMenu\";\r\nexport * from \"./core-react/contextmenu/ContextMenuDirection\";\r\nexport * from \"./core-react/contextmenu/ContextMenuDivider\";\r\nexport * from \"./core-react/contextmenu/ContextMenuItem\";\r\nexport * from \"./core-react/contextmenu/ContextSubMenu\";\r\nexport * from \"./core-react/contextmenu/GlobalContextMenu\";\r\nexport * from \"./core-react/contextmenu/PopupContextMenu\";\r\n\r\nexport * from \"./core-react/dialog/Dialog\";\r\nexport * from \"./core-react/dialog/GlobalDialog\";\r\n\r\nexport * from \"./core-react/elementseparator/ElementSeparator\";\r\n\r\nexport * from \"./core-react/enums/Alignment\";\r\nexport * from \"./core-react/enums/CheckBoxState\";\r\nexport * from \"./core-react/enums/Orientation\";\r\nexport * from \"./core-react/enums/SortDirection\";\r\nexport * from \"./core-react/enums/TimeFormat\";\r\n\r\nexport * from \"./core-react/expandable/ExpandableList\";\r\n\r\nexport * from \"./core-react/focus/ItemKeyboardNavigator\";\r\nexport * from \"./core-react/focustrap/FocusTrap\";\r\n\r\nexport * from \"./core-react/hocs/withIsPressed\";\r\nexport * from \"./core-react/hocs/withOnOutsideClick\";\r\nexport * from \"./core-react/hocs/withTimeout\";\r\n\r\nexport * from \"./core-react/icons/ConditionalIconItem\";\r\nexport * from \"./core-react/icons/IconComponent\";\r\nexport * from \"./core-react/icons/SvgPath\";\r\nexport * from \"./core-react/icons/WebFontIcon\";\r\n\r\nexport * from \"./core-react/autosuggest/AutoSuggest\";\r\n\r\nexport * from \"./core-react/imagecheckbox/ImageCheckBox\";\r\n\r\nexport * from \"./core-react/inputs/InputLabel\";\r\nexport * from \"./core-react/inputs/InputStatus\";\r\nexport * from \"./core-react/inputs/iconinput/IconInput\";\r\nexport * from \"./core-react/inputs/LabeledComponentProps\";\r\nexport * from \"./core-react/inputs/numberinput/NumberInput\";\r\n\r\nexport * from \"./core-react/listbox/Listbox\";\r\n\r\nexport * from \"./core-react/loading/LoadingBar\";\r\nexport * from \"./core-react/loading/LoadingPrompt\";\r\nexport * from \"./core-react/loading/LoadingSpinner\";\r\nexport * from \"./core-react/loading/LoadingStatus\";\r\n\r\nexport * from \"./core-react/messagebox/MessageBox\";\r\n\r\nexport * from \"./core-react/notification/MessageRenderer\";\r\nexport * from \"./core-react/notification/MessageType\";\r\n\r\nexport * from \"./core-react/popup/Popup\";\r\n\r\nexport * from \"./core-react/radialmenu/RadialMenu\";\r\nexport * from \"./core-react/radialmenu/Annulus\";\r\n\r\nexport * from \"./core-react/searchbox/SearchBox\";\r\n\r\nexport * from \"./core-react/settings/SettingsManager\";\r\nexport * from \"./core-react/settings/SettingsContainer\";\r\n\r\nexport * from \"./core-react/tabs/VerticalTabs\";\r\nexport * from \"./core-react/tabs/Tabs\";\r\n\r\nexport * from \"./core-react/text/BodyText\";\r\nexport * from \"./core-react/text/BlockText\";\r\nexport * from \"./core-react/text/DisabledText\";\r\nexport * from \"./core-react/text/FilteredText\";\r\nexport * from \"./core-react/text/MutedText\";\r\nexport * from \"./core-react/text/StyledText\";\r\nexport * from \"./core-react/text/TextProps\";\r\n\r\nexport { ExpansionToggle, ExpansionToggleProps } from \"./core-react/tree/ExpansionToggle\";\r\nexport { TreeBranch, TreeBranchProps } from \"./core-react/tree/Branch\";\r\nexport { TreeNode, TreeNodeProps, NodeCheckboxProps, NodeCheckboxRenderer, NodeCheckboxRenderProps } from \"./core-react/tree/Node\";\r\nexport { Tree, TreeProps } from \"./core-react/tree/Tree\";\r\nexport { TreeNodePlaceholder, TreeNodePlaceholderProps } from \"./core-react/tree/Placeholder\";\r\n\r\nexport * from \"./core-react/uistate/UiStateEntry\";\r\nexport * from \"./core-react/uistate/UiStateStorage\";\r\nexport * from \"./core-react/uistate/LocalStateStorage\";\r\n\r\nexport * from \"./core-react/utils/IconHelper\";\r\nexport * from \"./core-react/utils/Point\";\r\nexport * from \"./core-react/utils/Props\";\r\nexport * from \"./core-react/utils/Rectangle\";\r\nexport * from \"./core-react/utils/Size\";\r\nexport * from \"./core-react/utils/Timer\";\r\nexport * from \"./core-react/utils/UiGeometry\";\r\nexport * from \"./core-react/utils/flattenChildren\";\r\nexport * from \"./core-react/utils/getBestBWContrastColor\";\r\nexport * from \"./core-react/utils/getCssVariable\";\r\nexport * from \"./core-react/utils/getDisplayName\";\r\nexport * from \"./core-react/utils/getUserColor\";\r\nexport * from \"./core-react/utils/shallowDiffers\";\r\nexport * from \"./core-react/utils/typeUtils\";\r\nexport * from \"./core-react/utils/isPromiseLike\";\r\nexport * from \"./core-react/utils/ScrollPositionMaintainer\";\r\n\r\nexport * from \"./core-react/utils/hooks/useDisposable\";\r\nexport * from \"./core-react/utils/hooks/useEffectSkipFirst\";\r\nexport * from \"./core-react/utils/hooks/useEventListener\";\r\nexport * from \"./core-react/utils/hooks/ResizeObserverPolyfill\";\r\nexport * from \"./core-react/utils/hooks/useOnOutsideClick\";\r\nexport * from \"./core-react/utils/hooks/useProximityToMouse\";\r\nexport * from \"./core-react/utils/hooks/useRefEffect\";\r\nexport * from \"./core-react/utils/hooks/useRefs\";\r\nexport * from \"./core-react/utils/hooks/useRefState\";\r\nexport * from \"./core-react/utils/hooks/useResizeObserver\";\r\nexport * from \"./core-react/utils/hooks/useTargeted\";\r\nexport * from \"./core-react/utils/hooks/useWidgetOpacityContext\";\r\nexport * from \"./core-react/utils/hooks/useInterval\";\r\nexport * from \"./core-react/utils/hooks/useCrossOriginPopup\";\r\n\r\n/** @docs-package-description\r\n * The core-react package contains general purpose React components, such as Dialog, MessageBox, SearchBox, RadialMenu and SplitButton.\r\n * For more information, see [learning about core-react]($docs/learning/ui/core/index.md).\r\n */\r\n/**\r\n * @docs-group-description AutoSuggest\r\n * Component for input with an auto-suggestion dropdown.\r\n */\r\n/**\r\n * @docs-group-description Base\r\n * Low-level classes and components for building application UI.\r\n */\r\n/**\r\n * @docs-group-description Button\r\n * Components for working with various Buttons.\r\n */\r\n/**\r\n * @docs-group-description Checkbox\r\n * Component is a wrapper for the `<input type=\"checkbox\">` HTML element.\r\n */\r\n/**\r\n * @docs-group-description CheckListBox\r\n * Components for working with a Check listbox.\r\n */\r\n/**\r\n * @docs-group-description Common\r\n * Common classes and enums used across various UI components.\r\n */\r\n/**\r\n * @docs-group-description ContextMenu\r\n * Components for working with a Context Menu.\r\n */\r\n/**\r\n * @docs-group-description Dialog\r\n * Components for working with a Dialog or MessageBox.\r\n */\r\n/**\r\n * @docs-group-description ElementSeparator\r\n * Components for working with a ElementSeparator.\r\n */\r\n/**\r\n * @docs-group-description Expandable\r\n * Components for working with a ExpandableBlock or ExpandableList.\r\n */\r\n/**\r\n * @docs-group-description Form\r\n * Components used to create a Form using supplied properties to specify fields.\r\n */\r\n/**\r\n * @docs-group-description Icon\r\n * Component that renders core-react icon when given an icon name or SVG source.\r\n */\r\n/**\r\n * @docs-group-description Inputs\r\n * Components for working with input controls, such as Input, IconInput and NumberInput.\r\n */\r\n/**\r\n * @docs-group-description Loading\r\n * Components for working with Loading spinners and progress indicators and bars.\r\n */\r\n/**\r\n * @docs-group-description Notification\r\n * Components for working with messages and tooltips.\r\n */\r\n/**\r\n * @docs-group-description Popup\r\n * Components for working with a Popup.\r\n */\r\n/**\r\n * @docs-group-description RadialMenu\r\n * Components for working with a RadialMenu.\r\n */\r\n/**\r\n * @docs-group-description Radio\r\n * Component is a wrapper for the `<input type=\"radio\">` HTML element.\r\n */\r\n/**\r\n * @docs-group-description SearchBox\r\n * Components for working with a SearchBox.\r\n */\r\n/**\r\n * @docs-group-description Select\r\n * Component is a wrapper for the `<select>` HTML element.\r\n */\r\n/**\r\n * @docs-group-description Settings\r\n * Manager and UI Components that allow users to modify settings for different packages and extensions.\r\n */\r\n/**\r\n * @docs-group-description Slider\r\n * Component displays a range slider with thumbs for changing the value.\r\n */\r\n/**\r\n * @docs-group-description SplitButton\r\n * Components for working with a SplitButton.\r\n */\r\n/**\r\n * @docs-group-description Tabs\r\n * Components for working with horizontal or vertical tabs.\r\n */\r\n/**\r\n * @docs-group-description Text\r\n * Components for working with styled text.\r\n */\r\n/**\r\n * @docs-group-description Tiles\r\n * Components for a container rendering elements that can be grouped together.\r\n */\r\n/**\r\n * @docs-group-description Toggle\r\n * Components for working with a Toggle switch.\r\n */\r\n/**\r\n * @docs-group-description Tooltip\r\n * Components for working with a Tooltip.\r\n */\r\n/**\r\n * @docs-group-description Tree\r\n * Presentation React components for working with a Tree.\r\n */\r\n/**\r\n * @docs-group-description UiStateStorage\r\n * Interfaces and classes for working with persistent UI settings.\r\n */\r\n/**\r\n * @docs-group-description Utilities\r\n * Various utility classes, functions and React hooks for working with a UI.\r\n */\r\n"]}
1
+ {"version":3,"file":"core-react.js","sourceRoot":"","sources":["../../src/core-react.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,gFAAgF;AAEhF,cAAc,qBAAqB,CAAC;AAEpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,sCAAsC,CAAC;AAErD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AAEjD,cAAc,gDAAgD,CAAC;AAE/D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,wCAAwC,CAAC;AAEvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;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G;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","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\n// cSpell:ignore focustrap imagecheckbox iconinput hocs numberinput numericinput\n\nexport * from \"./core-react/UiCore\";\n\nexport * from \"./core-react/badge/Badge\";\nexport * from \"./core-react/badge/BadgeUtilities\";\nexport * from \"./core-react/badge/BetaBadge\";\nexport * from \"./core-react/badge/NewBadge\";\n\nexport * from \"./core-react/base/Div\";\nexport * from \"./core-react/base/DivWithOutsideClick\";\nexport * from \"./core-react/base/Centered\";\nexport * from \"./core-react/base/FillCentered\";\nexport * from \"./core-react/base/FlexWrapContainer\";\nexport * from \"./core-react/base/Gap\";\nexport * from \"./core-react/base/PointerEvents\";\nexport * from \"./core-react/base/ScrollView\";\n\nexport * from \"./core-react/button/UnderlinedButton\";\n\nexport * from \"./core-react/checklistbox/CheckListBox\";\n\nexport * from \"./core-react/contextmenu/ContextMenu\";\nexport * from \"./core-react/contextmenu/ContextMenuDirection\";\nexport * from \"./core-react/contextmenu/ContextMenuDivider\";\nexport * from \"./core-react/contextmenu/ContextMenuItem\";\nexport * from \"./core-react/contextmenu/ContextSubMenu\";\nexport * from \"./core-react/contextmenu/GlobalContextMenu\";\nexport * from \"./core-react/contextmenu/PopupContextMenu\";\n\nexport * from \"./core-react/dialog/Dialog\";\nexport * from \"./core-react/dialog/GlobalDialog\";\n\nexport * from \"./core-react/elementseparator/ElementSeparator\";\n\nexport * from \"./core-react/enums/Alignment\";\nexport * from \"./core-react/enums/CheckBoxState\";\nexport * from \"./core-react/enums/Orientation\";\nexport * from \"./core-react/enums/SortDirection\";\nexport * from \"./core-react/enums/TimeFormat\";\n\nexport * from \"./core-react/expandable/ExpandableList\";\n\nexport * from \"./core-react/focus/ItemKeyboardNavigator\";\nexport * from \"./core-react/focustrap/FocusTrap\";\n\nexport * from \"./core-react/hocs/withIsPressed\";\nexport * from \"./core-react/hocs/withOnOutsideClick\";\nexport * from \"./core-react/hocs/withTimeout\";\n\nexport * from \"./core-react/icons/ConditionalIconItem\";\nexport * from \"./core-react/icons/IconComponent\";\nexport * from \"./core-react/icons/SvgPath\";\nexport * from \"./core-react/icons/WebFontIcon\";\n\nexport * from \"./core-react/autosuggest/AutoSuggest\";\n\nexport * from \"./core-react/imagecheckbox/ImageCheckBox\";\n\nexport * from \"./core-react/inputs/InputLabel\";\nexport * from \"./core-react/inputs/InputStatus\";\nexport * from \"./core-react/inputs/iconinput/IconInput\";\nexport * from \"./core-react/inputs/LabeledComponentProps\";\nexport * from \"./core-react/inputs/numberinput/NumberInput\";\n\nexport * from \"./core-react/listbox/Listbox\";\n\nexport * from \"./core-react/loading/LoadingBar\";\nexport * from \"./core-react/loading/LoadingPrompt\";\nexport * from \"./core-react/loading/LoadingSpinner\";\nexport * from \"./core-react/loading/LoadingStatus\";\n\nexport * from \"./core-react/messagebox/MessageBox\";\n\nexport * from \"./core-react/notification/MessageRenderer\";\nexport * from \"./core-react/notification/MessageType\";\n\nexport * from \"./core-react/popup/Popup\";\n\nexport * from \"./core-react/radialmenu/RadialMenu\";\nexport * from \"./core-react/radialmenu/Annulus\";\n\nexport * from \"./core-react/searchbox/SearchBox\";\n\nexport * from \"./core-react/settings/SettingsManager\";\nexport * from \"./core-react/settings/SettingsContainer\";\n\nexport * from \"./core-react/tabs/VerticalTabs\";\nexport * from \"./core-react/tabs/Tabs\";\n\nexport * from \"./core-react/text/BodyText\";\nexport * from \"./core-react/text/BlockText\";\nexport * from \"./core-react/text/DisabledText\";\nexport * from \"./core-react/text/FilteredText\";\nexport * from \"./core-react/text/MutedText\";\nexport * from \"./core-react/text/StyledText\";\nexport * from \"./core-react/text/TextProps\";\n\nexport { ExpansionToggle, ExpansionToggleProps } from \"./core-react/tree/ExpansionToggle\";\nexport { TreeBranch, TreeBranchProps } from \"./core-react/tree/Branch\";\nexport { TreeNode, TreeNodeProps, NodeCheckboxProps, NodeCheckboxRenderer, NodeCheckboxRenderProps } from \"./core-react/tree/Node\";\nexport { Tree, TreeProps } from \"./core-react/tree/Tree\";\nexport { TreeNodePlaceholder, TreeNodePlaceholderProps } from \"./core-react/tree/Placeholder\";\n\nexport * from \"./core-react/uistate/UiStateEntry\";\nexport * from \"./core-react/uistate/UiStateStorage\";\nexport * from \"./core-react/uistate/LocalStateStorage\";\n\nexport * from \"./core-react/utils/IconHelper\";\nexport * from \"./core-react/utils/Point\";\nexport * from \"./core-react/utils/Props\";\nexport * from \"./core-react/utils/Rectangle\";\nexport * from \"./core-react/utils/Size\";\nexport * from \"./core-react/utils/Timer\";\nexport * from \"./core-react/utils/UiGeometry\";\nexport * from \"./core-react/utils/flattenChildren\";\nexport * from \"./core-react/utils/getBestBWContrastColor\";\nexport * from \"./core-react/utils/getCssVariable\";\nexport * from \"./core-react/utils/getDisplayName\";\nexport * from \"./core-react/utils/getUserColor\";\nexport * from \"./core-react/utils/shallowDiffers\";\nexport * from \"./core-react/utils/typeUtils\";\nexport * from \"./core-react/utils/isPromiseLike\";\nexport * from \"./core-react/utils/ScrollPositionMaintainer\";\n\nexport * from \"./core-react/utils/hooks/useDisposable\";\nexport * from \"./core-react/utils/hooks/useEffectSkipFirst\";\nexport * from \"./core-react/utils/hooks/useEventListener\";\nexport * from \"./core-react/utils/hooks/ResizeObserverPolyfill\";\nexport * from \"./core-react/utils/hooks/useOnOutsideClick\";\nexport * from \"./core-react/utils/hooks/useProximityToMouse\";\nexport * from \"./core-react/utils/hooks/useRefEffect\";\nexport * from \"./core-react/utils/hooks/useRefs\";\nexport * from \"./core-react/utils/hooks/useRefState\";\nexport * from \"./core-react/utils/hooks/useResizeObserver\";\nexport * from \"./core-react/utils/hooks/useTargeted\";\nexport * from \"./core-react/utils/hooks/useWidgetOpacityContext\";\nexport * from \"./core-react/utils/hooks/useInterval\";\nexport * from \"./core-react/utils/hooks/useCrossOriginPopup\";\n\n/** @docs-package-description\n * The core-react package contains general purpose React components, such as Dialog, MessageBox, SearchBox, RadialMenu and SplitButton.\n * For more information, see [learning about core-react]($docs/learning/ui/core/index.md).\n */\n/**\n * @docs-group-description AutoSuggest\n * Component for input with an auto-suggestion dropdown.\n */\n/**\n * @docs-group-description Base\n * Low-level classes and components for building application UI.\n */\n/**\n * @docs-group-description Button\n * Components for working with various Buttons.\n */\n/**\n * @docs-group-description Checkbox\n * Component is a wrapper for the `<input type=\"checkbox\">` HTML element.\n */\n/**\n * @docs-group-description CheckListBox\n * Components for working with a Check listbox.\n */\n/**\n * @docs-group-description Common\n * Common classes and enums used across various UI components.\n */\n/**\n * @docs-group-description ContextMenu\n * Components for working with a Context Menu.\n */\n/**\n * @docs-group-description Dialog\n * Components for working with a Dialog or MessageBox.\n */\n/**\n * @docs-group-description ElementSeparator\n * Components for working with a ElementSeparator.\n */\n/**\n * @docs-group-description Expandable\n * Components for working with a ExpandableBlock or ExpandableList.\n */\n/**\n * @docs-group-description Form\n * Components used to create a Form using supplied properties to specify fields.\n */\n/**\n * @docs-group-description Icon\n * Component that renders core-react icon when given an icon name or SVG source.\n */\n/**\n * @docs-group-description Inputs\n * Components for working with input controls, such as Input, IconInput and NumberInput.\n */\n/**\n * @docs-group-description Loading\n * Components for working with Loading spinners and progress indicators and bars.\n */\n/**\n * @docs-group-description Notification\n * Components for working with messages and tooltips.\n */\n/**\n * @docs-group-description Popup\n * Components for working with a Popup.\n */\n/**\n * @docs-group-description RadialMenu\n * Components for working with a RadialMenu.\n */\n/**\n * @docs-group-description Radio\n * Component is a wrapper for the `<input type=\"radio\">` HTML element.\n */\n/**\n * @docs-group-description SearchBox\n * Components for working with a SearchBox.\n */\n/**\n * @docs-group-description Select\n * Component is a wrapper for the `<select>` HTML element.\n */\n/**\n * @docs-group-description Settings\n * Manager and UI Components that allow users to modify settings for different packages and extensions.\n */\n/**\n * @docs-group-description Slider\n * Component displays a range slider with thumbs for changing the value.\n */\n/**\n * @docs-group-description SplitButton\n * Components for working with a SplitButton.\n */\n/**\n * @docs-group-description Tabs\n * Components for working with horizontal or vertical tabs.\n */\n/**\n * @docs-group-description Text\n * Components for working with styled text.\n */\n/**\n * @docs-group-description Tiles\n * Components for a container rendering elements that can be grouped together.\n */\n/**\n * @docs-group-description Toggle\n * Components for working with a Toggle switch.\n */\n/**\n * @docs-group-description Tooltip\n * Components for working with a Tooltip.\n */\n/**\n * @docs-group-description Tree\n * Presentation React components for working with a Tree.\n */\n/**\n * @docs-group-description UiStateStorage\n * Interfaces and classes for working with persistent UI settings.\n */\n/**\n * @docs-group-description Utilities\n * Various utility classes, functions and React hooks for working with a UI.\n */\n"]}
@@ -1,31 +1,31 @@
1
- {
2
- "form": {
3
- "submitButtonLabel": "Submit",
4
- "errorPrefix": "Error:",
5
- "errorSuffix": "Please review input and try again."
6
- },
7
- "general": {
8
- "search": "Search",
9
- "clear": "Clear"
10
- },
11
- "dialog": {
12
- "ok": "OK",
13
- "retry": "Retry",
14
- "yes": "Yes",
15
- "no": "No",
16
- "cancel": "Cancel",
17
- "close": "Close",
18
- "next": "Next",
19
- "previous": "Previous"
20
- },
21
- "reactselect": {
22
- "noSelectOption": "Option not found"
23
- },
24
- "tree": {
25
- "expand": "Expand",
26
- "collapse": "Collapse"
27
- },
28
- "elementSeparator": {
29
- "label": "Resizer"
30
- }
1
+ {
2
+ "form": {
3
+ "submitButtonLabel": "Submit",
4
+ "errorPrefix": "Error:",
5
+ "errorSuffix": "Please review input and try again."
6
+ },
7
+ "general": {
8
+ "search": "Search",
9
+ "clear": "Clear"
10
+ },
11
+ "dialog": {
12
+ "ok": "OK",
13
+ "retry": "Retry",
14
+ "yes": "Yes",
15
+ "no": "No",
16
+ "cancel": "Cancel",
17
+ "close": "Close",
18
+ "next": "Next",
19
+ "previous": "Previous"
20
+ },
21
+ "reactselect": {
22
+ "noSelectOption": "Option not found"
23
+ },
24
+ "tree": {
25
+ "expand": "Expand",
26
+ "collapse": "Collapse"
27
+ },
28
+ "elementSeparator": {
29
+ "label": "Resizer"
30
+ }
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/core-react",
3
- "version": "4.1.0-dev.0",
3
+ "version": "4.1.0-dev.1",
4
4
  "description": "iTwin.js UI core components",
5
5
  "main": "lib/cjs/core-react.js",
6
6
  "module": "lib/esm/core-react.js",
@@ -24,8 +24,8 @@
24
24
  "url": "http://www.bentley.com"
25
25
  },
26
26
  "peerDependencies": {
27
- "@itwin/appui-abstract": ">=3.7.0",
28
- "@itwin/core-bentley": ">=3.7.0",
27
+ "@itwin/appui-abstract": "^3.7.0 || ^4.0.0",
28
+ "@itwin/core-bentley": "^3.7.0 || ^4.0.0",
29
29
  "react": "^17.0.0 || ^18.0.0",
30
30
  "react-dom": "^17.0.0 || ^18.0.0"
31
31
  },
@@ -112,7 +112,11 @@
112
112
  "extends": [
113
113
  "plugin:@itwin/ui",
114
114
  "plugin:@itwin/jsdoc"
115
- ]
115
+ ],
116
+ "rules": {
117
+ "@typescript-eslint/consistent-type-imports": "error",
118
+ "no-duplicate-imports": "off"
119
+ }
116
120
  },
117
121
  "scripts": {
118
122
  "build": "npm run -s copy:locale && npm run -s build:cjs && npm run -s build:esm",
@@ -125,6 +129,7 @@
125
129
  "clean": "rimraf lib .rush/temp/package-deps*.json",
126
130
  "cover": "nyc npm -s test",
127
131
  "lint": "eslint -f visualstudio \"./src/**/*.{ts,tsx}\" 1>&2",
132
+ "lint:fix": "npm run -s lint -- --fix",
128
133
  "extract-api": "betools extract-api --entry=core-react",
129
134
  "test": "mocha --config ../.mocharc.json \"./lib/cjs/test/**/*.test.js\"",
130
135
  "test:watch": "npm -s test -- --reporter min --watch-extensions ts,tsx --watch",