@itwin/core-react 4.0.0-dev.20 → 4.0.0-dev.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/lib/cjs/core-react/UiCore.js.map +1 -1
  2. package/lib/cjs/core-react/_geometry.scss +70 -70
  3. package/lib/cjs/core-react/_helpers.scss +51 -51
  4. package/lib/cjs/core-react/_math.scss +13 -13
  5. package/lib/cjs/core-react/_scrollbar.scss +51 -51
  6. package/lib/cjs/core-react/_typography.scss +44 -44
  7. package/lib/cjs/core-react/_z-index.scss +65 -65
  8. package/lib/cjs/core-react/autosuggest/AutoSuggest.js.map +1 -1
  9. package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +79 -79
  10. package/lib/cjs/core-react/badge/Badge.js.map +1 -1
  11. package/lib/cjs/core-react/badge/Badge.scss +13 -13
  12. package/lib/cjs/core-react/badge/BadgeUtilities.js.map +1 -1
  13. package/lib/cjs/core-react/badge/BetaBadge.js.map +1 -1
  14. package/lib/cjs/core-react/badge/NewBadge.js.map +1 -1
  15. package/lib/cjs/core-react/badge/NewBadge.scss +9 -9
  16. package/lib/cjs/core-react/base/Centered.js.map +1 -1
  17. package/lib/cjs/core-react/base/Div.js.map +1 -1
  18. package/lib/cjs/core-react/base/DivWithOutsideClick.js.map +1 -1
  19. package/lib/cjs/core-react/base/FillCentered.js.map +1 -1
  20. package/lib/cjs/core-react/base/FlexWrapContainer.js.map +1 -1
  21. package/lib/cjs/core-react/base/Gap.js.map +1 -1
  22. package/lib/cjs/core-react/base/PointerEvents.js.map +1 -1
  23. package/lib/cjs/core-react/base/ScrollView.js.map +1 -1
  24. package/lib/cjs/core-react/base/base.scss +42 -42
  25. package/lib/cjs/core-react/base/classes.scss +13 -13
  26. package/lib/cjs/core-react/base/index.scss +5 -5
  27. package/lib/cjs/core-react/button/UnderlinedButton.js.map +1 -1
  28. package/lib/cjs/core-react/button/UnderlinedButton.scss +32 -32
  29. package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +1 -1
  30. package/lib/cjs/core-react/checklistbox/CheckListBox.scss +21 -21
  31. package/lib/cjs/core-react/classes.scss +11 -11
  32. package/lib/cjs/core-react/colorthemes.scss +61 -61
  33. package/lib/cjs/core-react/colorvariables.scss +131 -131
  34. package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +1 -1
  35. package/lib/cjs/core-react/contextmenu/ContextMenu.scss +236 -236
  36. package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js.map +1 -1
  37. package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js.map +1 -1
  38. package/lib/cjs/core-react/contextmenu/ContextMenuItem.js.map +1 -1
  39. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +1 -1
  40. package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js.map +1 -1
  41. package/lib/cjs/core-react/contextmenu/PopupContextMenu.js.map +1 -1
  42. package/lib/cjs/core-react/contextmenu/TildeFinder.js.map +1 -1
  43. package/lib/cjs/core-react/dialog/Dialog.js.map +1 -1
  44. package/lib/cjs/core-react/dialog/Dialog.scss +245 -245
  45. package/lib/cjs/core-react/dialog/GlobalDialog.js.map +1 -1
  46. package/lib/cjs/core-react/elementseparator/ElementSeparator.js.map +1 -1
  47. package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +85 -85
  48. package/lib/cjs/core-react/enums/Alignment.js.map +1 -1
  49. package/lib/cjs/core-react/enums/CheckBoxState.js.map +1 -1
  50. package/lib/cjs/core-react/enums/Orientation.js.map +1 -1
  51. package/lib/cjs/core-react/enums/SortDirection.js.map +1 -1
  52. package/lib/cjs/core-react/enums/TimeFormat.js.map +1 -1
  53. package/lib/cjs/core-react/expandable/ExpandableList.js.map +1 -1
  54. package/lib/cjs/core-react/expandable/ExpandableList.scss +8 -8
  55. package/lib/cjs/core-react/expandable/classes.scss +7 -7
  56. package/lib/cjs/core-react/expandable/index.scss +5 -5
  57. package/lib/cjs/core-react/expandable/list.scss +35 -35
  58. package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js.map +1 -1
  59. package/lib/cjs/core-react/focustrap/FocusTrap.js.map +1 -1
  60. package/lib/cjs/core-react/hocs/withIsPressed.js.map +1 -1
  61. package/lib/cjs/core-react/hocs/withOnOutsideClick.js.map +1 -1
  62. package/lib/cjs/core-react/hocs/withTimeout.js.map +1 -1
  63. package/lib/cjs/core-react/icons/ConditionalIconItem.js.map +1 -1
  64. package/lib/cjs/core-react/icons/IconComponent.js.map +1 -1
  65. package/lib/cjs/core-react/icons/IconComponent.scss +20 -20
  66. package/lib/cjs/core-react/icons/SvgPath.js.map +1 -1
  67. package/lib/cjs/core-react/icons/SvgPath.scss +15 -15
  68. package/lib/cjs/core-react/icons/WebFontIcon.js.map +1 -1
  69. package/lib/cjs/core-react/icons/WebFontIcon.scss +17 -17
  70. package/lib/cjs/core-react/icons/classes.scss +10 -10
  71. package/lib/cjs/core-react/icons/index.scss +6 -6
  72. package/lib/cjs/core-react/icons/mixins.scss +25 -25
  73. package/lib/cjs/core-react/icons/variables.scss +12 -12
  74. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js.map +1 -1
  75. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +54 -54
  76. package/lib/cjs/core-react/index.scss +21 -21
  77. package/lib/cjs/core-react/inputs/Input.js.map +1 -1
  78. package/lib/cjs/core-react/inputs/InputLabel.js.map +1 -1
  79. package/lib/cjs/core-react/inputs/InputStatus.js.map +1 -1
  80. package/lib/cjs/core-react/inputs/LabeledComponentProps.js.map +1 -1
  81. package/lib/cjs/core-react/inputs/classes.scss +8 -8
  82. package/lib/cjs/core-react/inputs/iconinput/IconInput.js.map +1 -1
  83. package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +35 -35
  84. package/lib/cjs/core-react/inputs/index.scss +9 -9
  85. package/lib/cjs/core-react/inputs/input-label.scss +90 -90
  86. package/lib/cjs/core-react/inputs/input.scss +58 -58
  87. package/lib/cjs/core-react/inputs/numberinput/NumberInput.js.map +1 -1
  88. package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +88 -88
  89. package/lib/cjs/core-react/inputs/variables.scss +38 -38
  90. package/lib/cjs/core-react/layout-variables.scss +17 -17
  91. package/lib/cjs/core-react/listbox/Listbox.js.map +1 -1
  92. package/lib/cjs/core-react/listbox/Listbox.scss +54 -54
  93. package/lib/cjs/core-react/loading/LoadingBar.js.map +1 -1
  94. package/lib/cjs/core-react/loading/LoadingBar.scss +29 -29
  95. package/lib/cjs/core-react/loading/LoadingPrompt.js.map +1 -1
  96. package/lib/cjs/core-react/loading/LoadingPrompt.scss +33 -33
  97. package/lib/cjs/core-react/loading/LoadingSpinner.js.map +1 -1
  98. package/lib/cjs/core-react/loading/LoadingSpinner.scss +26 -26
  99. package/lib/cjs/core-react/loading/LoadingStatus.js.map +1 -1
  100. package/lib/cjs/core-react/loading/LoadingStatus.scss +20 -20
  101. package/lib/cjs/core-react/loading/index.scss +5 -5
  102. package/lib/cjs/core-react/loading/mixins.scss +57 -57
  103. package/lib/cjs/core-react/messagebox/MessageBox.js.map +1 -1
  104. package/lib/cjs/core-react/messagebox/MessageBox.scss +56 -56
  105. package/lib/cjs/core-react/notification/MessageRenderer.js.map +1 -1
  106. package/lib/cjs/core-react/notification/MessageType.js.map +1 -1
  107. package/lib/cjs/core-react/popup/Popup.js.map +1 -1
  108. package/lib/cjs/core-react/popup/Popup.scss +240 -240
  109. package/lib/cjs/core-react/radialmenu/Annulus.js.map +1 -1
  110. package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +1 -1
  111. package/lib/cjs/core-react/radialmenu/RadialMenu.scss +55 -55
  112. package/lib/cjs/core-react/searchbox/SearchBox.js.map +1 -1
  113. package/lib/cjs/core-react/searchbox/SearchBox.scss +47 -47
  114. package/lib/cjs/core-react/settings/SettingsContainer.js.map +1 -1
  115. package/lib/cjs/core-react/settings/SettingsContainer.scss +68 -68
  116. package/lib/cjs/core-react/settings/SettingsManager.js.map +1 -1
  117. package/lib/cjs/core-react/style/baseline.scss +11 -11
  118. package/lib/cjs/core-react/style/breakpoints.scss +41 -41
  119. package/lib/cjs/core-react/style/colors.scss +77 -77
  120. package/lib/cjs/core-react/style/index.scss +10 -10
  121. package/lib/cjs/core-react/style/mixins.scss +27 -27
  122. package/lib/cjs/core-react/style/opacity.scss +16 -16
  123. package/lib/cjs/core-react/style/themecolors.scss +123 -123
  124. package/lib/cjs/core-react/tabs/Tabs.js.map +1 -1
  125. package/lib/cjs/core-react/tabs/VerticalTabs.js.map +1 -1
  126. package/lib/cjs/core-react/tabs/classes.scss +7 -7
  127. package/lib/cjs/core-react/tabs/index.scss +5 -5
  128. package/lib/cjs/core-react/tabs/tabs.scss +96 -96
  129. package/lib/cjs/core-react/tabs/vertical.scss +51 -51
  130. package/lib/cjs/core-react/text/BlockText.js.map +1 -1
  131. package/lib/cjs/core-react/text/BodyText.js.map +1 -1
  132. package/lib/cjs/core-react/text/DisabledText.js.map +1 -1
  133. package/lib/cjs/core-react/text/FilteredText.js.map +1 -1
  134. package/lib/cjs/core-react/text/FilteredText.scss +10 -10
  135. package/lib/cjs/core-react/text/MutedText.js.map +1 -1
  136. package/lib/cjs/core-react/text/StyledText.js.map +1 -1
  137. package/lib/cjs/core-react/text/TextProps.js.map +1 -1
  138. package/lib/cjs/core-react/text/block.scss +15 -15
  139. package/lib/cjs/core-react/text/body.scss +13 -13
  140. package/lib/cjs/core-react/text/classes.scss +10 -10
  141. package/lib/cjs/core-react/text/disabled.scss +10 -10
  142. package/lib/cjs/core-react/text/index.scss +10 -10
  143. package/lib/cjs/core-react/text/mixins.scss +24 -24
  144. package/lib/cjs/core-react/text/muted.scss +10 -10
  145. package/lib/cjs/core-react/tree/Branch.js.map +1 -1
  146. package/lib/cjs/core-react/tree/Branch.scss +12 -12
  147. package/lib/cjs/core-react/tree/ExpansionToggle.js.map +1 -1
  148. package/lib/cjs/core-react/tree/ExpansionToggle.scss +32 -32
  149. package/lib/cjs/core-react/tree/Node.js.map +1 -1
  150. package/lib/cjs/core-react/tree/Node.scss +68 -68
  151. package/lib/cjs/core-react/tree/Placeholder.js.map +1 -1
  152. package/lib/cjs/core-react/tree/Placeholder.scss +17 -17
  153. package/lib/cjs/core-react/tree/Tree.js.map +1 -1
  154. package/lib/cjs/core-react/tree/Tree.scss +21 -21
  155. package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +1 -1
  156. package/lib/cjs/core-react/uistate/UiStateEntry.js.map +1 -1
  157. package/lib/cjs/core-react/uistate/UiStateStorage.js.map +1 -1
  158. package/lib/cjs/core-react/utils/IconHelper.js.map +1 -1
  159. package/lib/cjs/core-react/utils/IconWebComponent.js.map +1 -1
  160. package/lib/cjs/core-react/utils/Point.js.map +1 -1
  161. package/lib/cjs/core-react/utils/Props.js.map +1 -1
  162. package/lib/cjs/core-react/utils/Rectangle.js.map +1 -1
  163. package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +1 -1
  164. package/lib/cjs/core-react/utils/Size.js.map +1 -1
  165. package/lib/cjs/core-react/utils/Timer.js.map +1 -1
  166. package/lib/cjs/core-react/utils/UiGeometry.js.map +1 -1
  167. package/lib/cjs/core-react/utils/flattenChildren.js.map +1 -1
  168. package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +1 -1
  169. package/lib/cjs/core-react/utils/getCssVariable.js.map +1 -1
  170. package/lib/cjs/core-react/utils/getDisplayName.js.map +1 -1
  171. package/lib/cjs/core-react/utils/getUserColor.js.map +1 -1
  172. package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +1 -1
  173. package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -1
  174. package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +1 -1
  175. package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -1
  176. package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +1 -1
  177. package/lib/cjs/core-react/utils/hooks/useInterval.js.map +1 -1
  178. package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +1 -1
  179. package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +1 -1
  180. package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +1 -1
  181. package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +1 -1
  182. package/lib/cjs/core-react/utils/hooks/useRefState.js.map +1 -1
  183. package/lib/cjs/core-react/utils/hooks/useRefs.js.map +1 -1
  184. package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +1 -1
  185. package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +1 -1
  186. package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +1 -1
  187. package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -1
  188. package/lib/cjs/core-react/utils/isPromiseLike.js.map +1 -1
  189. package/lib/cjs/core-react/utils/shallowDiffers.js.map +1 -1
  190. package/lib/cjs/core-react/utils/typeUtils.js.map +1 -1
  191. package/lib/cjs/core-react.js.map +1 -1
  192. package/lib/esm/core-react/UiCore.js.map +1 -1
  193. package/lib/esm/core-react/_geometry.scss +70 -70
  194. package/lib/esm/core-react/_helpers.scss +51 -51
  195. package/lib/esm/core-react/_math.scss +13 -13
  196. package/lib/esm/core-react/_scrollbar.scss +51 -51
  197. package/lib/esm/core-react/_typography.scss +44 -44
  198. package/lib/esm/core-react/_z-index.scss +65 -65
  199. package/lib/esm/core-react/autosuggest/AutoSuggest.js.map +1 -1
  200. package/lib/esm/core-react/autosuggest/AutoSuggest.scss +79 -79
  201. package/lib/esm/core-react/badge/Badge.js.map +1 -1
  202. package/lib/esm/core-react/badge/Badge.scss +13 -13
  203. package/lib/esm/core-react/badge/BadgeUtilities.js.map +1 -1
  204. package/lib/esm/core-react/badge/BetaBadge.js.map +1 -1
  205. package/lib/esm/core-react/badge/NewBadge.js.map +1 -1
  206. package/lib/esm/core-react/badge/NewBadge.scss +9 -9
  207. package/lib/esm/core-react/base/Centered.js.map +1 -1
  208. package/lib/esm/core-react/base/Div.js.map +1 -1
  209. package/lib/esm/core-react/base/DivWithOutsideClick.js.map +1 -1
  210. package/lib/esm/core-react/base/FillCentered.js.map +1 -1
  211. package/lib/esm/core-react/base/FlexWrapContainer.js.map +1 -1
  212. package/lib/esm/core-react/base/Gap.js.map +1 -1
  213. package/lib/esm/core-react/base/PointerEvents.js.map +1 -1
  214. package/lib/esm/core-react/base/ScrollView.js.map +1 -1
  215. package/lib/esm/core-react/base/base.scss +42 -42
  216. package/lib/esm/core-react/base/classes.scss +13 -13
  217. package/lib/esm/core-react/base/index.scss +5 -5
  218. package/lib/esm/core-react/button/UnderlinedButton.js.map +1 -1
  219. package/lib/esm/core-react/button/UnderlinedButton.scss +32 -32
  220. package/lib/esm/core-react/checklistbox/CheckListBox.js.map +1 -1
  221. package/lib/esm/core-react/checklistbox/CheckListBox.scss +21 -21
  222. package/lib/esm/core-react/classes.scss +11 -11
  223. package/lib/esm/core-react/colorthemes.scss +61 -61
  224. package/lib/esm/core-react/colorvariables.scss +131 -131
  225. package/lib/esm/core-react/contextmenu/ContextMenu.js.map +1 -1
  226. package/lib/esm/core-react/contextmenu/ContextMenu.scss +236 -236
  227. package/lib/esm/core-react/contextmenu/ContextMenuDirection.js.map +1 -1
  228. package/lib/esm/core-react/contextmenu/ContextMenuDivider.js.map +1 -1
  229. package/lib/esm/core-react/contextmenu/ContextMenuItem.js.map +1 -1
  230. package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +1 -1
  231. package/lib/esm/core-react/contextmenu/GlobalContextMenu.js.map +1 -1
  232. package/lib/esm/core-react/contextmenu/PopupContextMenu.js.map +1 -1
  233. package/lib/esm/core-react/contextmenu/TildeFinder.js.map +1 -1
  234. package/lib/esm/core-react/dialog/Dialog.js.map +1 -1
  235. package/lib/esm/core-react/dialog/Dialog.scss +245 -245
  236. package/lib/esm/core-react/dialog/GlobalDialog.js.map +1 -1
  237. package/lib/esm/core-react/elementseparator/ElementSeparator.js.map +1 -1
  238. package/lib/esm/core-react/elementseparator/ElementSeparator.scss +85 -85
  239. package/lib/esm/core-react/enums/Alignment.js.map +1 -1
  240. package/lib/esm/core-react/enums/CheckBoxState.js.map +1 -1
  241. package/lib/esm/core-react/enums/Orientation.js.map +1 -1
  242. package/lib/esm/core-react/enums/SortDirection.js.map +1 -1
  243. package/lib/esm/core-react/enums/TimeFormat.js.map +1 -1
  244. package/lib/esm/core-react/expandable/ExpandableList.js.map +1 -1
  245. package/lib/esm/core-react/expandable/ExpandableList.scss +8 -8
  246. package/lib/esm/core-react/expandable/classes.scss +7 -7
  247. package/lib/esm/core-react/expandable/index.scss +5 -5
  248. package/lib/esm/core-react/expandable/list.scss +35 -35
  249. package/lib/esm/core-react/focus/ItemKeyboardNavigator.js.map +1 -1
  250. package/lib/esm/core-react/focustrap/FocusTrap.js.map +1 -1
  251. package/lib/esm/core-react/hocs/withIsPressed.js.map +1 -1
  252. package/lib/esm/core-react/hocs/withOnOutsideClick.js.map +1 -1
  253. package/lib/esm/core-react/hocs/withTimeout.js.map +1 -1
  254. package/lib/esm/core-react/icons/ConditionalIconItem.js.map +1 -1
  255. package/lib/esm/core-react/icons/IconComponent.js.map +1 -1
  256. package/lib/esm/core-react/icons/IconComponent.scss +20 -20
  257. package/lib/esm/core-react/icons/SvgPath.js.map +1 -1
  258. package/lib/esm/core-react/icons/SvgPath.scss +15 -15
  259. package/lib/esm/core-react/icons/WebFontIcon.js.map +1 -1
  260. package/lib/esm/core-react/icons/WebFontIcon.scss +17 -17
  261. package/lib/esm/core-react/icons/classes.scss +10 -10
  262. package/lib/esm/core-react/icons/index.scss +6 -6
  263. package/lib/esm/core-react/icons/mixins.scss +25 -25
  264. package/lib/esm/core-react/icons/variables.scss +12 -12
  265. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js.map +1 -1
  266. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +54 -54
  267. package/lib/esm/core-react/index.scss +21 -21
  268. package/lib/esm/core-react/inputs/Input.js.map +1 -1
  269. package/lib/esm/core-react/inputs/InputLabel.js.map +1 -1
  270. package/lib/esm/core-react/inputs/InputStatus.js.map +1 -1
  271. package/lib/esm/core-react/inputs/LabeledComponentProps.js.map +1 -1
  272. package/lib/esm/core-react/inputs/classes.scss +8 -8
  273. package/lib/esm/core-react/inputs/iconinput/IconInput.js.map +1 -1
  274. package/lib/esm/core-react/inputs/iconinput/IconInput.scss +35 -35
  275. package/lib/esm/core-react/inputs/index.scss +9 -9
  276. package/lib/esm/core-react/inputs/input-label.scss +90 -90
  277. package/lib/esm/core-react/inputs/input.scss +58 -58
  278. package/lib/esm/core-react/inputs/numberinput/NumberInput.js.map +1 -1
  279. package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +88 -88
  280. package/lib/esm/core-react/inputs/variables.scss +38 -38
  281. package/lib/esm/core-react/layout-variables.scss +17 -17
  282. package/lib/esm/core-react/listbox/Listbox.js.map +1 -1
  283. package/lib/esm/core-react/listbox/Listbox.scss +54 -54
  284. package/lib/esm/core-react/loading/LoadingBar.js.map +1 -1
  285. package/lib/esm/core-react/loading/LoadingBar.scss +29 -29
  286. package/lib/esm/core-react/loading/LoadingPrompt.js.map +1 -1
  287. package/lib/esm/core-react/loading/LoadingPrompt.scss +33 -33
  288. package/lib/esm/core-react/loading/LoadingSpinner.js.map +1 -1
  289. package/lib/esm/core-react/loading/LoadingSpinner.scss +26 -26
  290. package/lib/esm/core-react/loading/LoadingStatus.js.map +1 -1
  291. package/lib/esm/core-react/loading/LoadingStatus.scss +20 -20
  292. package/lib/esm/core-react/loading/index.scss +5 -5
  293. package/lib/esm/core-react/loading/mixins.scss +57 -57
  294. package/lib/esm/core-react/messagebox/MessageBox.js.map +1 -1
  295. package/lib/esm/core-react/messagebox/MessageBox.scss +56 -56
  296. package/lib/esm/core-react/notification/MessageRenderer.js.map +1 -1
  297. package/lib/esm/core-react/notification/MessageType.js.map +1 -1
  298. package/lib/esm/core-react/popup/Popup.js.map +1 -1
  299. package/lib/esm/core-react/popup/Popup.scss +240 -240
  300. package/lib/esm/core-react/radialmenu/Annulus.js.map +1 -1
  301. package/lib/esm/core-react/radialmenu/RadialMenu.js.map +1 -1
  302. package/lib/esm/core-react/radialmenu/RadialMenu.scss +55 -55
  303. package/lib/esm/core-react/searchbox/SearchBox.js.map +1 -1
  304. package/lib/esm/core-react/searchbox/SearchBox.scss +47 -47
  305. package/lib/esm/core-react/settings/SettingsContainer.js.map +1 -1
  306. package/lib/esm/core-react/settings/SettingsContainer.scss +68 -68
  307. package/lib/esm/core-react/settings/SettingsManager.js.map +1 -1
  308. package/lib/esm/core-react/style/baseline.scss +11 -11
  309. package/lib/esm/core-react/style/breakpoints.scss +41 -41
  310. package/lib/esm/core-react/style/colors.scss +77 -77
  311. package/lib/esm/core-react/style/index.scss +10 -10
  312. package/lib/esm/core-react/style/mixins.scss +27 -27
  313. package/lib/esm/core-react/style/opacity.scss +16 -16
  314. package/lib/esm/core-react/style/themecolors.scss +123 -123
  315. package/lib/esm/core-react/tabs/Tabs.js.map +1 -1
  316. package/lib/esm/core-react/tabs/VerticalTabs.js.map +1 -1
  317. package/lib/esm/core-react/tabs/classes.scss +7 -7
  318. package/lib/esm/core-react/tabs/index.scss +5 -5
  319. package/lib/esm/core-react/tabs/tabs.scss +96 -96
  320. package/lib/esm/core-react/tabs/vertical.scss +51 -51
  321. package/lib/esm/core-react/text/BlockText.js.map +1 -1
  322. package/lib/esm/core-react/text/BodyText.js.map +1 -1
  323. package/lib/esm/core-react/text/DisabledText.js.map +1 -1
  324. package/lib/esm/core-react/text/FilteredText.js.map +1 -1
  325. package/lib/esm/core-react/text/FilteredText.scss +10 -10
  326. package/lib/esm/core-react/text/MutedText.js.map +1 -1
  327. package/lib/esm/core-react/text/StyledText.js.map +1 -1
  328. package/lib/esm/core-react/text/TextProps.js.map +1 -1
  329. package/lib/esm/core-react/text/block.scss +15 -15
  330. package/lib/esm/core-react/text/body.scss +13 -13
  331. package/lib/esm/core-react/text/classes.scss +10 -10
  332. package/lib/esm/core-react/text/disabled.scss +10 -10
  333. package/lib/esm/core-react/text/index.scss +10 -10
  334. package/lib/esm/core-react/text/mixins.scss +24 -24
  335. package/lib/esm/core-react/text/muted.scss +10 -10
  336. package/lib/esm/core-react/tree/Branch.js.map +1 -1
  337. package/lib/esm/core-react/tree/Branch.scss +12 -12
  338. package/lib/esm/core-react/tree/ExpansionToggle.js.map +1 -1
  339. package/lib/esm/core-react/tree/ExpansionToggle.scss +32 -32
  340. package/lib/esm/core-react/tree/Node.js.map +1 -1
  341. package/lib/esm/core-react/tree/Node.scss +68 -68
  342. package/lib/esm/core-react/tree/Placeholder.js.map +1 -1
  343. package/lib/esm/core-react/tree/Placeholder.scss +17 -17
  344. package/lib/esm/core-react/tree/Tree.js.map +1 -1
  345. package/lib/esm/core-react/tree/Tree.scss +21 -21
  346. package/lib/esm/core-react/uistate/LocalStateStorage.js.map +1 -1
  347. package/lib/esm/core-react/uistate/UiStateEntry.js.map +1 -1
  348. package/lib/esm/core-react/uistate/UiStateStorage.js.map +1 -1
  349. package/lib/esm/core-react/utils/IconHelper.js.map +1 -1
  350. package/lib/esm/core-react/utils/IconWebComponent.js.map +1 -1
  351. package/lib/esm/core-react/utils/Point.js.map +1 -1
  352. package/lib/esm/core-react/utils/Props.js.map +1 -1
  353. package/lib/esm/core-react/utils/Rectangle.js.map +1 -1
  354. package/lib/esm/core-react/utils/ScrollPositionMaintainer.js.map +1 -1
  355. package/lib/esm/core-react/utils/Size.js.map +1 -1
  356. package/lib/esm/core-react/utils/Timer.js.map +1 -1
  357. package/lib/esm/core-react/utils/UiGeometry.js.map +1 -1
  358. package/lib/esm/core-react/utils/flattenChildren.js.map +1 -1
  359. package/lib/esm/core-react/utils/getBestBWContrastColor.js.map +1 -1
  360. package/lib/esm/core-react/utils/getCssVariable.js.map +1 -1
  361. package/lib/esm/core-react/utils/getDisplayName.js.map +1 -1
  362. package/lib/esm/core-react/utils/getUserColor.js.map +1 -1
  363. package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js.map +1 -1
  364. package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -1
  365. package/lib/esm/core-react/utils/hooks/useDisposable.js.map +1 -1
  366. package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -1
  367. package/lib/esm/core-react/utils/hooks/useEventListener.js.map +1 -1
  368. package/lib/esm/core-react/utils/hooks/useInterval.js.map +1 -1
  369. package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js.map +1 -1
  370. package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js.map +1 -1
  371. package/lib/esm/core-react/utils/hooks/useProximityToMouse.js.map +1 -1
  372. package/lib/esm/core-react/utils/hooks/useRefEffect.js.map +1 -1
  373. package/lib/esm/core-react/utils/hooks/useRefState.js.map +1 -1
  374. package/lib/esm/core-react/utils/hooks/useRefs.js.map +1 -1
  375. package/lib/esm/core-react/utils/hooks/useResizeObserver.js.map +1 -1
  376. package/lib/esm/core-react/utils/hooks/useTargeted.js.map +1 -1
  377. package/lib/esm/core-react/utils/hooks/useThrottledFn.js.map +1 -1
  378. package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -1
  379. package/lib/esm/core-react/utils/isPromiseLike.js.map +1 -1
  380. package/lib/esm/core-react/utils/shallowDiffers.js.map +1 -1
  381. package/lib/esm/core-react/utils/typeUtils.js.map +1 -1
  382. package/lib/esm/core-react.js.map +1 -1
  383. package/lib/public/locales/en/UiCore.json +30 -30
  384. package/package.json +1 -1
@@ -1,96 +1,96 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "../style/index";
6
- @import "../icons/variables";
7
-
8
- @mixin uicore-tabs {
9
- display: block;
10
- list-style: none;
11
- padding: 0;
12
- margin: 0;
13
- box-sizing: border-box;
14
- border: none;
15
- outline: none;
16
-
17
- > li {
18
- display: block;
19
- position: relative;
20
- padding: 0;
21
- margin: 0;
22
-
23
- &.core-tab-item-disabled {
24
- pointer-events: none;
25
- }
26
-
27
- > a {
28
- display: block;
29
- position: relative;
30
- padding: $uicore-bordered-padding (var(--iui-font-size-1) - 1px)
31
- $uicore-unbordered-padding;
32
- margin: 0;
33
- line-height: var(--iui-size-l);
34
- color: var(--iui-color-text);
35
- cursor: pointer;
36
-
37
- .uicore-tabs-inline-label {
38
- &.core-tab-item-disabled {
39
- color: var(--iui-color-text-disabled);
40
-
41
- .uicore-tabs-subLabel {
42
- color: var(--iui-color-text-disabled);
43
- }
44
- }
45
-
46
- .uicore-tabs-icon {
47
- width: ($uicore-icons-small + 12px);
48
- height: ($uicore-icons-small + 12px);
49
- display: flex;
50
- align-items: center;
51
- }
52
- }
53
-
54
- &::after {
55
- content: "";
56
- position: absolute;
57
- z-index: 1;
58
- transition: all var(--iui-duration-1);
59
- top: 0;
60
- right: 0;
61
- background: var(--iui-color-border-accent);
62
- opacity: 0;
63
- }
64
-
65
- &:hover {
66
- text-decoration: none;
67
- background-color: var(--iui-color-background-hover);
68
- color: var(--iui-color-text-hover);
69
- }
70
- }
71
-
72
- &.core-active a::after {
73
- opacity: 1;
74
- }
75
-
76
- .uicore-tabs-label-subLabel-container {
77
- display: flex;
78
- flex-direction: column;
79
- .uicore-tabs-subLabel {
80
- font-size: var(--iui-font-size-0);
81
- }
82
- }
83
- &:not(.core-active) {
84
- .uicore-tabs-label-subLabel-container {
85
- .uicore-tabs-subLabel {
86
- color: var(--iui-color-text-muted);
87
- font-weight: var(--iui-font-weight-light);
88
- }
89
- }
90
- }
91
- }
92
-
93
- &.uicore-tabs-green > li > a::after {
94
- background-color: $buic-foreground-success;
95
- }
96
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "../style/index";
6
+ @import "../icons/variables";
7
+
8
+ @mixin uicore-tabs {
9
+ display: block;
10
+ list-style: none;
11
+ padding: 0;
12
+ margin: 0;
13
+ box-sizing: border-box;
14
+ border: none;
15
+ outline: none;
16
+
17
+ > li {
18
+ display: block;
19
+ position: relative;
20
+ padding: 0;
21
+ margin: 0;
22
+
23
+ &.core-tab-item-disabled {
24
+ pointer-events: none;
25
+ }
26
+
27
+ > a {
28
+ display: block;
29
+ position: relative;
30
+ padding: $uicore-bordered-padding (var(--iui-font-size-1) - 1px)
31
+ $uicore-unbordered-padding;
32
+ margin: 0;
33
+ line-height: var(--iui-size-l);
34
+ color: var(--iui-color-text);
35
+ cursor: pointer;
36
+
37
+ .uicore-tabs-inline-label {
38
+ &.core-tab-item-disabled {
39
+ color: var(--iui-color-text-disabled);
40
+
41
+ .uicore-tabs-subLabel {
42
+ color: var(--iui-color-text-disabled);
43
+ }
44
+ }
45
+
46
+ .uicore-tabs-icon {
47
+ width: ($uicore-icons-small + 12px);
48
+ height: ($uicore-icons-small + 12px);
49
+ display: flex;
50
+ align-items: center;
51
+ }
52
+ }
53
+
54
+ &::after {
55
+ content: "";
56
+ position: absolute;
57
+ z-index: 1;
58
+ transition: all var(--iui-duration-1);
59
+ top: 0;
60
+ right: 0;
61
+ background: var(--iui-color-border-accent);
62
+ opacity: 0;
63
+ }
64
+
65
+ &:hover {
66
+ text-decoration: none;
67
+ background-color: var(--iui-color-background-hover);
68
+ color: var(--iui-color-text-hover);
69
+ }
70
+ }
71
+
72
+ &.core-active a::after {
73
+ opacity: 1;
74
+ }
75
+
76
+ .uicore-tabs-label-subLabel-container {
77
+ display: flex;
78
+ flex-direction: column;
79
+ .uicore-tabs-subLabel {
80
+ font-size: var(--iui-font-size-0);
81
+ }
82
+ }
83
+ &:not(.core-active) {
84
+ .uicore-tabs-label-subLabel-container {
85
+ .uicore-tabs-subLabel {
86
+ color: var(--iui-color-text-muted);
87
+ font-weight: var(--iui-font-weight-light);
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ &.uicore-tabs-green > li > a::after {
94
+ background-color: $buic-foreground-success;
95
+ }
96
+ }
@@ -1,51 +1,51 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "../style/index";
6
- @import "./tabs";
7
-
8
- @mixin uicore-tabs-vertical {
9
- @include uicore-tabs;
10
-
11
- > li {
12
- display: block;
13
- margin: 0;
14
- padding: 0;
15
- width: 100%;
16
-
17
- > a {
18
- line-height: var(--iui-size-l);
19
- padding: 14px 20px;
20
- border-width: 0;
21
-
22
- $bar-size: 2px;
23
-
24
- .uicore-tabs-inline-label {
25
- display: grid;
26
- grid-template-columns: auto 1fr;
27
- align-items: center;
28
- }
29
-
30
- &::after {
31
- height: 100%;
32
- width: $bar-size;
33
- left: $bar-size;
34
- padding-top: $bar-size;
35
- padding-bottom: $bar-size;
36
- background-clip: content-box;
37
- box-sizing: border-box;
38
- }
39
-
40
- &:focus-visible {
41
- outline: 1px solid var(--iui-color-border-accent);
42
- outline-offset: -1px;
43
- }
44
- }
45
-
46
- &.core-active a {
47
- color: var(--iui-color-text-accent);
48
- background-color: var(--iui-color-background-accent-muted);
49
- }
50
- }
51
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "../style/index";
6
+ @import "./tabs";
7
+
8
+ @mixin uicore-tabs-vertical {
9
+ @include uicore-tabs;
10
+
11
+ > li {
12
+ display: block;
13
+ margin: 0;
14
+ padding: 0;
15
+ width: 100%;
16
+
17
+ > a {
18
+ line-height: var(--iui-size-l);
19
+ padding: 14px 20px;
20
+ border-width: 0;
21
+
22
+ $bar-size: 2px;
23
+
24
+ .uicore-tabs-inline-label {
25
+ display: grid;
26
+ grid-template-columns: auto 1fr;
27
+ align-items: center;
28
+ }
29
+
30
+ &::after {
31
+ height: 100%;
32
+ width: $bar-size;
33
+ left: $bar-size;
34
+ padding-top: $bar-size;
35
+ padding-bottom: $bar-size;
36
+ background-clip: content-box;
37
+ box-sizing: border-box;
38
+ }
39
+
40
+ &:focus-visible {
41
+ outline: 1px solid var(--iui-color-border-accent);
42
+ outline-offset: -1px;
43
+ }
44
+ }
45
+
46
+ &.core-active a {
47
+ color: var(--iui-color-text-accent);
48
+ background-color: var(--iui-color-background-accent-muted);
49
+ }
50
+ }
51
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"BlockText.js","sourceRoot":"","sources":["../../../../src/core-react/text/BlockText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;GAEG;AACH,SAAgB,SAAS,CAAC,KAAgB;IACxC,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,mBAAmB,GAAG,CAAC;AACrE,CAAC;AAHD,8BAGC","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 Text\n */\n\nimport * as React from \"react\";\nimport { StyledText } from \"./StyledText\";\nimport { TextProps } from \"./TextProps\";\n\n/** Styled block text React functional component\n * @public\n */\nexport function BlockText(props: TextProps) {\n {/* eslint-disable-next-line */}\n return <StyledText {...props} mainClassName=\"uicore-text-block\" />;\n}\n"]}
1
+ {"version":3,"file":"BlockText.js","sourceRoot":"","sources":["../../../../src/core-react/text/BlockText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;GAEG;AACH,SAAgB,SAAS,CAAC,KAAgB;IACxC,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,mBAAmB,GAAG,CAAC;AACrE,CAAC;AAHD,8BAGC","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 Text\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { StyledText } from \"./StyledText\";\r\nimport { TextProps } from \"./TextProps\";\r\n\r\n/** Styled block text React functional component\r\n * @public\r\n */\r\nexport function BlockText(props: TextProps) {\r\n {/* eslint-disable-next-line */}\r\n return <StyledText {...props} mainClassName=\"uicore-text-block\" />;\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"BodyText.js","sourceRoot":"","sources":["../../../../src/core-react/text/BodyText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;;GAGG;AACH,SAAgB,QAAQ,CAAC,KAAgB;IACvC,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,kBAAkB,GAAG,CAAC;AACpE,CAAC;AAHD,4BAGC","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 Text\n */\n\nimport * as React from \"react\";\nimport { StyledText } from \"./StyledText\";\nimport { TextProps } from \"./TextProps\";\n\n/** Styled body text React functional component\n * @public\n * @deprecated in 4.0 Use \\<Text variant='body' /\\> from iTwinUI-react package.\n */\nexport function BodyText(props: TextProps) {\n {/* eslint-disable-next-line */}\n return <StyledText {...props} mainClassName=\"uicore-text-body\" />;\n}\n"]}
1
+ {"version":3,"file":"BodyText.js","sourceRoot":"","sources":["../../../../src/core-react/text/BodyText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;;GAGG;AACH,SAAgB,QAAQ,CAAC,KAAgB;IACvC,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,kBAAkB,GAAG,CAAC;AACpE,CAAC;AAHD,4BAGC","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 Text\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { StyledText } from \"./StyledText\";\r\nimport { TextProps } from \"./TextProps\";\r\n\r\n/** Styled body text React functional component\r\n * @public\r\n * @deprecated in 4.0 Use \\<Text variant='body' /\\> from iTwinUI-react package.\r\n */\r\nexport function BodyText(props: TextProps) {\r\n {/* eslint-disable-next-line */}\r\n return <StyledText {...props} mainClassName=\"uicore-text-body\" />;\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DisabledText.js","sourceRoot":"","sources":["../../../../src/core-react/text/DisabledText.tsx"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,+BAA+B;AAC/B,6CAA0C;AAG1C;;GAEG;AACH,SAAgB,YAAY,CAAC,KAAgB;IAC3C,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,sBAAsB,GAAG,CAAC;AACxE,CAAC;AAHD,oCAGC","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 Text\n */\nimport * as React from \"react\";\nimport { StyledText } from \"./StyledText\";\nimport { TextProps } from \"./TextProps\";\n\n/** Styled disabled text React functional component\n * @public\n */\nexport function DisabledText(props: TextProps) {\n {/* eslint-disable-next-line */}\n return <StyledText {...props} mainClassName=\"uicore-text-disabled\" />;\n}\n"]}
1
+ {"version":3,"file":"DisabledText.js","sourceRoot":"","sources":["../../../../src/core-react/text/DisabledText.tsx"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,+BAA+B;AAC/B,6CAA0C;AAG1C;;GAEG;AACH,SAAgB,YAAY,CAAC,KAAgB;IAC3C,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,sBAAsB,GAAG,CAAC;AACxE,CAAC;AAHD,oCAGC","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 Text\r\n */\r\nimport * as React from \"react\";\r\nimport { StyledText } from \"./StyledText\";\r\nimport { TextProps } from \"./TextProps\";\r\n\r\n/** Styled disabled text React functional component\r\n * @public\r\n */\r\nexport function DisabledText(props: TextProps) {\r\n {/* eslint-disable-next-line */}\r\n return <StyledText {...props} mainClassName=\"uicore-text-disabled\" />;\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FilteredText.js","sourceRoot":"","sources":["../../../../src/core-react/text/FilteredText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2BAA2B;AAE3B,+BAA+B;AAC/B,2CAAoC;AAGpC,+BAA6B;AAgB7B;;GAEG;AACH,SAAgB,YAAY,CAAC,KAAwB;IACnD,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IACvF,uBAAuB;IACvB,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QACjC,MAAM,KAAK,GAAsB,EAAE,CAAC;QAEpC,IAAI,QAAQ,GAAG,CAAC,CAAC;QACjB,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;YAC5B,uBAAuB;YACrB,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ;gBACzB,KAAK,CAAC,IAAI,CAAC,8BAAM,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAC,8BAA8B,IAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAS,CAAC,CAAC;YAC5H,KAAK,CAAC,IAAI,CAAC,8BAAM,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,IAAA,oBAAU,EAAC,4BAA4B,EAAE,cAAc,CAAC,IAAG,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAQ,CAAC,CAAC;YAC1K,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC;SACrB;QACD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,uBAAuB;QACvB,IAAI,QAAQ,GAAG,MAAM,EAAE;YACrB,KAAK,CAAC,IAAI,CAAC,8BAAM,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAC,8BAA8B,IAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAQ,CAAC,CAAC;SACtH;QACD,OAAO,gCAAS,UAAU,EAAE,SAAS,EAAE,IAAA,oBAAU,EAAC,sBAAsB,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,IAAG,KAAK,CAAO,CAAC;KACnH;IAED,OAAO,iCAAU,UAAU,EAAE,SAAS,EAAE,IAAA,oBAAU,EAAC,sBAAsB,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,IAAG,KAAK,CAAQ,CAAC;AACtH,CAAC;AAvBD,oCAuBC","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 Text\n */\n\n// cSpell:ignore focusvalue\n\nimport * as React from \"react\";\nimport classnames from \"classnames\";\nimport { IMatch } from \"@itwin/appui-abstract\";\nimport { CommonProps } from \"../utils/Props\";\nimport \"./FilteredText.scss\";\n\n/** Props supported by [FilteredText] component\n * @alpha\n */\nexport interface FilteredTextProps extends CommonProps {\n /** string that matched a filter string */\n value: string;\n /** define array of start and end positions of filter matches. */\n matches?: IMatch[];\n /** holds class name for matching span text. */\n matchClassName?: string;\n /** holds style for matching span text. */\n matchStyle?: React.CSSProperties;\n}\n\n/** Component used to highlight filter matches within a text string.\n * @alpha\n */\nexport function FilteredText(props: FilteredTextProps) {\n const { value, className, matches, matchClassName, matchStyle, ...otherProps } = props;\n // istanbul ignore else\n if (matches && matches.length > 0) {\n const spans: React.ReactNode[] = [];\n\n let startPos = 0;\n for (const span of matches) {\n // istanbul ignore else\n if (span.start !== startPos)\n spans.push(<span key={startPos} className=\"uicore-partial-filtered-text\">{value.substring(startPos, span.start)}</span >);\n spans.push(<span key={span.start} style={matchStyle} className={classnames(\"uicore-filtered-text-match\", matchClassName)}>{value.substring(span.start, span.end)}</span>);\n startPos = span.end;\n }\n const endPos = value.length;\n // istanbul ignore else\n if (startPos < endPos) {\n spans.push(<span key={startPos} className=\"uicore-partial-filtered-text\">{value.substring(startPos, endPos)}</span>);\n }\n return <div {...otherProps} className={classnames(\"uicore-filtered-text\", className)} title={value}>{spans}</div>;\n }\n\n return <span {...otherProps} className={classnames(\"uicore-filtered-text\", className)} title={value}>{value}</span>;\n}\n"]}
1
+ {"version":3,"file":"FilteredText.js","sourceRoot":"","sources":["../../../../src/core-react/text/FilteredText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2BAA2B;AAE3B,+BAA+B;AAC/B,2CAAoC;AAGpC,+BAA6B;AAgB7B;;GAEG;AACH,SAAgB,YAAY,CAAC,KAAwB;IACnD,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IACvF,uBAAuB;IACvB,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QACjC,MAAM,KAAK,GAAsB,EAAE,CAAC;QAEpC,IAAI,QAAQ,GAAG,CAAC,CAAC;QACjB,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;YAC5B,uBAAuB;YACrB,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ;gBACzB,KAAK,CAAC,IAAI,CAAC,8BAAM,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAC,8BAA8B,IAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAS,CAAC,CAAC;YAC5H,KAAK,CAAC,IAAI,CAAC,8BAAM,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,IAAA,oBAAU,EAAC,4BAA4B,EAAE,cAAc,CAAC,IAAG,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAQ,CAAC,CAAC;YAC1K,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC;SACrB;QACD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,uBAAuB;QACvB,IAAI,QAAQ,GAAG,MAAM,EAAE;YACrB,KAAK,CAAC,IAAI,CAAC,8BAAM,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAC,8BAA8B,IAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAQ,CAAC,CAAC;SACtH;QACD,OAAO,gCAAS,UAAU,EAAE,SAAS,EAAE,IAAA,oBAAU,EAAC,sBAAsB,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,IAAG,KAAK,CAAO,CAAC;KACnH;IAED,OAAO,iCAAU,UAAU,EAAE,SAAS,EAAE,IAAA,oBAAU,EAAC,sBAAsB,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,IAAG,KAAK,CAAQ,CAAC;AACtH,CAAC;AAvBD,oCAuBC","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 Text\r\n */\r\n\r\n// cSpell:ignore focusvalue\r\n\r\nimport * as React from \"react\";\r\nimport classnames from \"classnames\";\r\nimport { IMatch } from \"@itwin/appui-abstract\";\r\nimport { CommonProps } from \"../utils/Props\";\r\nimport \"./FilteredText.scss\";\r\n\r\n/** Props supported by [FilteredText] component\r\n * @alpha\r\n */\r\nexport interface FilteredTextProps extends CommonProps {\r\n /** string that matched a filter string */\r\n value: string;\r\n /** define array of start and end positions of filter matches. */\r\n matches?: IMatch[];\r\n /** holds class name for matching span text. */\r\n matchClassName?: string;\r\n /** holds style for matching span text. */\r\n matchStyle?: React.CSSProperties;\r\n}\r\n\r\n/** Component used to highlight filter matches within a text string.\r\n * @alpha\r\n */\r\nexport function FilteredText(props: FilteredTextProps) {\r\n const { value, className, matches, matchClassName, matchStyle, ...otherProps } = props;\r\n // istanbul ignore else\r\n if (matches && matches.length > 0) {\r\n const spans: React.ReactNode[] = [];\r\n\r\n let startPos = 0;\r\n for (const span of matches) {\r\n // istanbul ignore else\r\n if (span.start !== startPos)\r\n spans.push(<span key={startPos} className=\"uicore-partial-filtered-text\">{value.substring(startPos, span.start)}</span >);\r\n spans.push(<span key={span.start} style={matchStyle} className={classnames(\"uicore-filtered-text-match\", matchClassName)}>{value.substring(span.start, span.end)}</span>);\r\n startPos = span.end;\r\n }\r\n const endPos = value.length;\r\n // istanbul ignore else\r\n if (startPos < endPos) {\r\n spans.push(<span key={startPos} className=\"uicore-partial-filtered-text\">{value.substring(startPos, endPos)}</span>);\r\n }\r\n return <div {...otherProps} className={classnames(\"uicore-filtered-text\", className)} title={value}>{spans}</div>;\r\n }\r\n\r\n return <span {...otherProps} className={classnames(\"uicore-filtered-text\", className)} title={value}>{value}</span>;\r\n}\r\n"]}
@@ -1,10 +1,10 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "../style/themecolors";
6
-
7
- .uicore-filtered-text-match {
8
- color: $buic-text-color-highlight;
9
- font-weight: bold;
10
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "../style/themecolors";
6
+
7
+ .uicore-filtered-text-match {
8
+ color: $buic-text-color-highlight;
9
+ font-weight: bold;
10
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"MutedText.js","sourceRoot":"","sources":["../../../../src/core-react/text/MutedText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;;GAGG;AACH,SAAgB,SAAS,CAAC,KAAgB;IACxC,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,mBAAmB,GAAG,CAAC;AACrE,CAAC;AAHD,8BAGC","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 Text\n */\n\nimport * as React from \"react\";\nimport { StyledText } from \"./StyledText\";\nimport { TextProps } from \"./TextProps\";\n\n/** Styled muted/gray text React functional component\n * @public\n * @deprecated in 4.0 Use \\<Text isMuted /\\> from iTwinUI-react package.\n */\nexport function MutedText(props: TextProps) {\n {/* eslint-disable-next-line */}\n return <StyledText {...props} mainClassName=\"uicore-text-muted\" />;\n}\n"]}
1
+ {"version":3,"file":"MutedText.js","sourceRoot":"","sources":["../../../../src/core-react/text/MutedText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;;GAGG;AACH,SAAgB,SAAS,CAAC,KAAgB;IACxC,EAAC,8BAA8B,EAAC;IAChC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,mBAAmB,GAAG,CAAC;AACrE,CAAC;AAHD,8BAGC","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 Text\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { StyledText } from \"./StyledText\";\r\nimport { TextProps } from \"./TextProps\";\r\n\r\n/** Styled muted/gray text React functional component\r\n * @public\r\n * @deprecated in 4.0 Use \\<Text isMuted /\\> from iTwinUI-react package.\r\n */\r\nexport function MutedText(props: TextProps) {\r\n {/* eslint-disable-next-line */}\r\n return <StyledText {...props} mainClassName=\"uicore-text-muted\" />;\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"StyledText.js","sourceRoot":"","sources":["../../../../src/core-react/text/StyledText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2CAAoC;AACpC,+BAA+B;AAW/B;;;GAGG;AACH,SAAgB,UAAU,CAAC,KAAsB;IAC/C,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,iCACM,SAAS,EACb,SAAS,EAAE,IAAA,oBAAU,EAAC,aAAa,EAAE,SAAS,CAAC,EAC/C,KAAK,EAAE,KAAK,IAEX,QAAQ,CACJ,CACR,CAAC;AACJ,CAAC;AAZD,gCAYC","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 Text\n */\n\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { TextProps } from \"./TextProps\";\n\n/** Properties for [[StyledText]] component\n * @public\n */\nexport interface StyledTextProps extends TextProps {\n /** Main CSS class name */\n mainClassName: string;\n}\n\n/** The base component for other text components that pass a main CSS class name.\n * @public\n * @deprecated in 4.0 Use \\<Text /\\> component from iTwinUI-react library.\n */\nexport function StyledText(props: StyledTextProps) {\n const { mainClassName, className, style, children, ...spanProps } = props;\n\n return (\n <span\n {...spanProps}\n className={classnames(mainClassName, className)}\n style={style}\n >\n {children}\n </span>\n );\n}\n"]}
1
+ {"version":3,"file":"StyledText.js","sourceRoot":"","sources":["../../../../src/core-react/text/StyledText.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2CAAoC;AACpC,+BAA+B;AAW/B;;;GAGG;AACH,SAAgB,UAAU,CAAC,KAAsB;IAC/C,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,iCACM,SAAS,EACb,SAAS,EAAE,IAAA,oBAAU,EAAC,aAAa,EAAE,SAAS,CAAC,EAC/C,KAAK,EAAE,KAAK,IAEX,QAAQ,CACJ,CACR,CAAC;AACJ,CAAC;AAZD,gCAYC","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 Text\r\n */\r\n\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { TextProps } from \"./TextProps\";\r\n\r\n/** Properties for [[StyledText]] component\r\n * @public\r\n */\r\nexport interface StyledTextProps extends TextProps {\r\n /** Main CSS class name */\r\n mainClassName: string;\r\n}\r\n\r\n/** The base component for other text components that pass a main CSS class name.\r\n * @public\r\n * @deprecated in 4.0 Use \\<Text /\\> component from iTwinUI-react library.\r\n */\r\nexport function StyledText(props: StyledTextProps) {\r\n const { mainClassName, className, style, children, ...spanProps } = props;\r\n\r\n return (\r\n <span\r\n {...spanProps}\r\n className={classnames(mainClassName, className)}\r\n style={style}\r\n >\r\n {children}\r\n </span>\r\n );\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../../../src/core-react/text/TextProps.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Text\n */\n\nimport * as React from \"react\";\nimport { CommonProps } from \"../utils/Props\";\n\n/** Properties for various text components\n * @public\n */\nexport interface TextProps extends React.AllHTMLAttributes<HTMLSpanElement>, CommonProps { }\n"]}
1
+ {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../../../src/core-react/text/TextProps.tsx"],"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 Text\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonProps } from \"../utils/Props\";\r\n\r\n/** Properties for various text components\r\n * @public\r\n */\r\nexport interface TextProps extends React.AllHTMLAttributes<HTMLSpanElement>, CommonProps { }\r\n"]}
@@ -1,15 +1,15 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @mixin uicore-text-block {
6
- margin: 0;
7
- padding: 0;
8
- border: none;
9
- vertical-align: baseline;
10
- font-size: var(--iui-font-size-1);
11
- font-weight: var(--iui-font-weight-normal);
12
- line-height: var(--iui-size-l);
13
-
14
- margin: 0 0 var(--iui-size-l);
15
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @mixin uicore-text-block {
6
+ margin: 0;
7
+ padding: 0;
8
+ border: none;
9
+ vertical-align: baseline;
10
+ font-size: var(--iui-font-size-1);
11
+ font-weight: var(--iui-font-weight-normal);
12
+ line-height: var(--iui-size-l);
13
+
14
+ margin: 0 0 var(--iui-size-l);
15
+ }
@@ -1,13 +1,13 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @mixin uicore-text-body {
6
- margin: 0;
7
- padding: 0;
8
- border: none;
9
- vertical-align: baseline;
10
- font-size: var(--iui-font-size-1);
11
- font-weight: var(--iui-font-weight-normal);
12
- line-height: var(--iui-size-l);
13
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @mixin uicore-text-body {
6
+ margin: 0;
7
+ padding: 0;
8
+ border: none;
9
+ vertical-align: baseline;
10
+ font-size: var(--iui-font-size-1);
11
+ font-weight: var(--iui-font-weight-normal);
12
+ line-height: var(--iui-size-l);
13
+ }
@@ -1,10 +1,10 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "./index";
6
-
7
- .uicore-text-body { @include uicore-text-body; }
8
- .uicore-text-block { @include uicore-text-block; }
9
- .uicore-text-disabled { @include uicore-text-disabled; }
10
- .uicore-text-muted { @include uicore-text-muted; }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "./index";
6
+
7
+ .uicore-text-body { @include uicore-text-body; }
8
+ .uicore-text-block { @include uicore-text-block; }
9
+ .uicore-text-disabled { @include uicore-text-disabled; }
10
+ .uicore-text-muted { @include uicore-text-muted; }
@@ -1,10 +1,10 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "../style/themecolors";
6
-
7
- @mixin uicore-text-disabled {
8
-
9
- color: $buic-foreground-disabled;
10
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "../style/themecolors";
6
+
7
+ @mixin uicore-text-disabled {
8
+
9
+ color: $buic-foreground-disabled;
10
+ }
@@ -1,10 +1,10 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "./mixins";
6
-
7
- @import "./body";
8
- @import "./block";
9
- @import "./disabled";
10
- @import "./muted";
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "./mixins";
6
+
7
+ @import "./body";
8
+ @import "./block";
9
+ @import "./disabled";
10
+ @import "./muted";
@@ -1,24 +1,24 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "../style/themecolors";
6
-
7
- @mixin uicore-text-block-spacing {
8
- padding: 0;
9
- margin: 0 0 var(--iui-size-l);
10
- }
11
-
12
- @mixin uicore-text($type: body) {
13
- $sizes: (
14
- body: var(--iui-font-size-1),
15
- small: var(--iui-font-size-0),
16
- );
17
-
18
- $type: if(map-has-key($sizes, $type), $type, body);
19
-
20
- font-size: map-get($sizes, $type);
21
- font-weight: var(--iui-font-weight-normal);
22
- line-height: var(--iui-size-l);
23
- color: var(--iui-color-text);
24
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "../style/themecolors";
6
+
7
+ @mixin uicore-text-block-spacing {
8
+ padding: 0;
9
+ margin: 0 0 var(--iui-size-l);
10
+ }
11
+
12
+ @mixin uicore-text($type: body) {
13
+ $sizes: (
14
+ body: var(--iui-font-size-1),
15
+ small: var(--iui-font-size-0),
16
+ );
17
+
18
+ $type: if(map-has-key($sizes, $type), $type, body);
19
+
20
+ font-size: map-get($sizes, $type);
21
+ font-weight: var(--iui-font-weight-normal);
22
+ line-height: var(--iui-size-l);
23
+ color: var(--iui-color-text);
24
+ }
@@ -1,10 +1,10 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "../style/themecolors";
6
-
7
- @mixin uicore-text-muted {
8
-
9
- color: $buic-foreground-muted;
10
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "../style/themecolors";
6
+
7
+ @mixin uicore-text-muted {
8
+
9
+ color: $buic-foreground-muted;
10
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"Branch.js","sourceRoot":"","sources":["../../../../src/core-react/tree/Branch.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,yBAAuB;AACvB,2CAAoC;AACpC,+BAA+B;AAW/B;;GAEG;AACH,MAAa,UAAW,SAAQ,KAAK,CAAC,aAA8B;IAClD,MAAM;QACpB,MAAM,SAAS,GAAG,IAAA,oBAAU,EAC1B,kBAAkB,EAClB,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAExB,OAAO,CACL,6BACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAEtB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAChB,CACP,CAAC;IACJ,CAAC;CACF;AAfD,gCAeC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tree\n */\n\nimport \"./Branch.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { CommonProps } from \"../utils/Props\";\n\n/** Properties for [[TreeBranch]] React component\n * @public\n */\nexport interface TreeBranchProps extends CommonProps {\n /** Child nodes of the tree branch */\n children?: React.ReactNode;\n}\n\n/** Presentation React component for a Tree branch\n * @public\n */\nexport class TreeBranch extends React.PureComponent<TreeBranchProps> {\n public override render() {\n const className = classnames(\n \"core-tree-branch\",\n this.props.className);\n\n return (\n <div\n className={className}\n style={this.props.style}\n >\n {this.props.children}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"Branch.js","sourceRoot":"","sources":["../../../../src/core-react/tree/Branch.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,yBAAuB;AACvB,2CAAoC;AACpC,+BAA+B;AAW/B;;GAEG;AACH,MAAa,UAAW,SAAQ,KAAK,CAAC,aAA8B;IAClD,MAAM;QACpB,MAAM,SAAS,GAAG,IAAA,oBAAU,EAC1B,kBAAkB,EAClB,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAExB,OAAO,CACL,6BACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAEtB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAChB,CACP,CAAC;IACJ,CAAC;CACF;AAfD,gCAeC","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 Tree\r\n */\r\n\r\nimport \"./Branch.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { CommonProps } from \"../utils/Props\";\r\n\r\n/** Properties for [[TreeBranch]] React component\r\n * @public\r\n */\r\nexport interface TreeBranchProps extends CommonProps {\r\n /** Child nodes of the tree branch */\r\n children?: React.ReactNode;\r\n}\r\n\r\n/** Presentation React component for a Tree branch\r\n * @public\r\n */\r\nexport class TreeBranch extends React.PureComponent<TreeBranchProps> {\r\n public override render() {\r\n const className = classnames(\r\n \"core-tree-branch\",\r\n this.props.className);\r\n\r\n return (\r\n <div\r\n className={className}\r\n style={this.props.style}\r\n >\r\n {this.props.children}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
@@ -1,13 +1,13 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- .core-tree-branch {
7
- display: block;
8
- box-sizing: border-box;
9
- margin: 0;
10
- padding: 0 0 0 20px;
11
- width: fit-content;
12
- min-width: 100%;
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .core-tree-branch {
7
+ display: block;
8
+ box-sizing: border-box;
9
+ margin: 0;
10
+ padding: 0 0 0 20px;
11
+ width: fit-content;
12
+ min-width: 100%;
13
13
  }