@itwin/core-react 4.0.0-dev.7 → 4.0.0-dev.9

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 (590) hide show
  1. package/CHANGELOG.md +1 -93
  2. package/lib/cjs/core-react/UiCore.d.ts +1 -1
  3. package/lib/cjs/core-react/UiCore.js +1 -1
  4. package/lib/cjs/core-react/UiCore.js.map +1 -1
  5. package/lib/cjs/core-react/_typography.scss +7 -8
  6. package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +2 -3
  7. package/lib/cjs/core-react/badge/BetaBadge.d.ts +0 -1
  8. package/lib/cjs/core-react/badge/BetaBadge.d.ts.map +1 -1
  9. package/lib/cjs/core-react/badge/BetaBadge.js +0 -1
  10. package/lib/cjs/core-react/badge/BetaBadge.js.map +1 -1
  11. package/lib/cjs/core-react/button/button.scss +31 -42
  12. package/lib/cjs/core-react/button/variables.scss +10 -7
  13. package/lib/cjs/core-react/checkbox/checkbox.scss +11 -16
  14. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts +4 -1
  15. package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts.map +1 -1
  16. package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +1 -1
  17. package/lib/cjs/core-react/classes.scss +0 -4
  18. package/lib/cjs/core-react/colorthemes.scss +42 -10
  19. package/lib/cjs/core-react/colorvariables.scss +53 -15
  20. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts +2 -0
  21. package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts.map +1 -1
  22. package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +1 -1
  23. package/lib/cjs/core-react/contextmenu/ContextMenu.scss +7 -8
  24. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js +1 -1
  25. package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +1 -1
  26. package/lib/cjs/core-react/dialog/Dialog.scss +4 -5
  27. package/lib/cjs/core-react/expandable/ExpandableList.d.ts +2 -0
  28. package/lib/cjs/core-react/expandable/ExpandableList.d.ts.map +1 -1
  29. package/lib/cjs/core-react/expandable/ExpandableList.js.map +1 -1
  30. package/lib/cjs/core-react/expandable/list.scss +7 -17
  31. package/lib/cjs/core-react/hocs/withTimeout.js.map +1 -1
  32. package/lib/cjs/core-react/icons/IconComponent.d.ts +1 -1
  33. package/lib/cjs/core-react/icons/IconComponent.d.ts.map +1 -1
  34. package/lib/cjs/core-react/icons/IconComponent.js +1 -7
  35. package/lib/cjs/core-react/icons/IconComponent.js.map +1 -1
  36. package/lib/cjs/core-react/icons/SvgPath.d.ts +1 -1
  37. package/lib/cjs/core-react/icons/SvgPath.d.ts.map +1 -1
  38. package/lib/cjs/core-react/icons/SvgPath.js +2 -2
  39. package/lib/cjs/core-react/icons/SvgPath.js.map +1 -1
  40. package/lib/{esm/core-react/icons/SvgSprite.scss → cjs/core-react/icons/SvgPath.scss} +1 -1
  41. package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +4 -5
  42. package/lib/cjs/core-react/index.scss +0 -4
  43. package/lib/cjs/core-react/inputs/Input.d.ts +2 -4
  44. package/lib/cjs/core-react/inputs/Input.d.ts.map +1 -1
  45. package/lib/cjs/core-react/inputs/Input.js +1 -2
  46. package/lib/cjs/core-react/inputs/Input.js.map +1 -1
  47. package/lib/cjs/core-react/inputs/InputLabel.d.ts +2 -0
  48. package/lib/cjs/core-react/inputs/InputLabel.d.ts.map +1 -1
  49. package/lib/cjs/core-react/inputs/InputLabel.js.map +1 -1
  50. package/lib/cjs/core-react/inputs/classes.scss +0 -2
  51. package/lib/cjs/core-react/inputs/index.scss +1 -3
  52. package/lib/cjs/core-react/inputs/input-label.scss +90 -0
  53. package/lib/cjs/core-react/inputs/input.scss +36 -38
  54. package/lib/cjs/core-react/inputs/variables.scss +20 -15
  55. package/lib/cjs/core-react/listbox/Listbox.scss +3 -3
  56. package/lib/cjs/core-react/loading/LoadingSpinner.d.ts +1 -2
  57. package/lib/cjs/core-react/loading/LoadingSpinner.d.ts.map +1 -1
  58. package/lib/cjs/core-react/loading/LoadingSpinner.js +1 -16
  59. package/lib/cjs/core-react/loading/LoadingSpinner.js.map +1 -1
  60. package/lib/cjs/core-react/loading/LoadingSpinner.scss +4 -5
  61. package/lib/cjs/core-react/messagebox/MessageBox.d.ts +4 -0
  62. package/lib/cjs/core-react/messagebox/MessageBox.d.ts.map +1 -1
  63. package/lib/cjs/core-react/messagebox/MessageBox.js.map +1 -1
  64. package/lib/cjs/core-react/popup/Popup.d.ts +2 -0
  65. package/lib/cjs/core-react/popup/Popup.d.ts.map +1 -1
  66. package/lib/cjs/core-react/popup/Popup.js.map +1 -1
  67. package/lib/cjs/core-react/popup/Popup.scss +123 -123
  68. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts +4 -0
  69. package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts.map +1 -1
  70. package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +1 -1
  71. package/lib/cjs/core-react/radialmenu/RadialMenu.scss +1 -2
  72. package/lib/cjs/core-react/searchbox/SearchBox.scss +2 -4
  73. package/lib/cjs/core-react/settings/SettingsContainer.js +1 -1
  74. package/lib/cjs/core-react/settings/SettingsContainer.js.map +1 -1
  75. package/lib/cjs/core-react/settings/SettingsContainer.scss +8 -7
  76. package/lib/cjs/core-react/style/baseline.scss +6 -8
  77. package/lib/cjs/core-react/style/data-viz.scss +11 -14
  78. package/lib/cjs/core-react/style/itwinui-overrides.scss +0 -1
  79. package/lib/cjs/core-react/style/mixins.scss +0 -1
  80. package/lib/cjs/core-react/style/opacity.scss +9 -10
  81. package/lib/cjs/core-react/style/space.scss +9 -13
  82. package/lib/cjs/core-react/style/speed.scss +3 -4
  83. package/lib/cjs/core-react/style/typography.scss +26 -25
  84. package/lib/cjs/core-react/style/variables.scss +4 -5
  85. package/lib/cjs/core-react/tabs/Tabs.d.ts +1 -1
  86. package/lib/cjs/core-react/tabs/Tabs.js.map +1 -1
  87. package/lib/cjs/core-react/tabs/classes.scss +0 -1
  88. package/lib/cjs/core-react/tabs/index.scss +0 -1
  89. package/lib/cjs/core-react/tabs/tabs.scss +38 -49
  90. package/lib/cjs/core-react/tabs/vertical.scss +17 -23
  91. package/lib/cjs/core-react/text/classes.scss +0 -8
  92. package/lib/cjs/core-react/text/index.scss +0 -8
  93. package/lib/cjs/core-react/text/mixins.scss +8 -46
  94. package/lib/cjs/core-react/tree/Node.scss +5 -5
  95. package/lib/cjs/core-react.d.ts +1 -41
  96. package/lib/cjs/core-react.d.ts.map +1 -1
  97. package/lib/cjs/core-react.js +1 -41
  98. package/lib/cjs/core-react.js.map +1 -1
  99. package/lib/esm/core-react/UiCore.d.ts +1 -1
  100. package/lib/esm/core-react/UiCore.js +1 -1
  101. package/lib/esm/core-react/UiCore.js.map +1 -1
  102. package/lib/esm/core-react/_typography.scss +7 -8
  103. package/lib/esm/core-react/autosuggest/AutoSuggest.scss +2 -3
  104. package/lib/esm/core-react/badge/BetaBadge.d.ts +0 -1
  105. package/lib/esm/core-react/badge/BetaBadge.d.ts.map +1 -1
  106. package/lib/esm/core-react/badge/BetaBadge.js +0 -1
  107. package/lib/esm/core-react/badge/BetaBadge.js.map +1 -1
  108. package/lib/esm/core-react/button/button.scss +31 -42
  109. package/lib/esm/core-react/button/variables.scss +10 -7
  110. package/lib/esm/core-react/checkbox/checkbox.scss +11 -16
  111. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts +4 -1
  112. package/lib/esm/core-react/checklistbox/CheckListBox.d.ts.map +1 -1
  113. package/lib/esm/core-react/checklistbox/CheckListBox.js.map +1 -1
  114. package/lib/esm/core-react/classes.scss +0 -4
  115. package/lib/esm/core-react/colorthemes.scss +42 -10
  116. package/lib/esm/core-react/colorvariables.scss +53 -15
  117. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts +2 -0
  118. package/lib/esm/core-react/contextmenu/ContextMenu.d.ts.map +1 -1
  119. package/lib/esm/core-react/contextmenu/ContextMenu.js.map +1 -1
  120. package/lib/esm/core-react/contextmenu/ContextMenu.scss +7 -8
  121. package/lib/esm/core-react/contextmenu/ContextSubMenu.js +2 -2
  122. package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +1 -1
  123. package/lib/esm/core-react/dialog/Dialog.scss +4 -5
  124. package/lib/esm/core-react/expandable/ExpandableList.d.ts +2 -0
  125. package/lib/esm/core-react/expandable/ExpandableList.d.ts.map +1 -1
  126. package/lib/esm/core-react/expandable/ExpandableList.js.map +1 -1
  127. package/lib/esm/core-react/expandable/list.scss +7 -17
  128. package/lib/esm/core-react/hocs/withTimeout.js.map +1 -1
  129. package/lib/esm/core-react/icons/IconComponent.d.ts +1 -1
  130. package/lib/esm/core-react/icons/IconComponent.d.ts.map +1 -1
  131. package/lib/esm/core-react/icons/IconComponent.js +1 -7
  132. package/lib/esm/core-react/icons/IconComponent.js.map +1 -1
  133. package/lib/esm/core-react/icons/SvgPath.d.ts +1 -1
  134. package/lib/esm/core-react/icons/SvgPath.d.ts.map +1 -1
  135. package/lib/esm/core-react/icons/SvgPath.js +2 -2
  136. package/lib/esm/core-react/icons/SvgPath.js.map +1 -1
  137. package/lib/{cjs/core-react/icons/SvgSprite.scss → esm/core-react/icons/SvgPath.scss} +1 -1
  138. package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +4 -5
  139. package/lib/esm/core-react/index.scss +0 -4
  140. package/lib/esm/core-react/inputs/Input.d.ts +2 -4
  141. package/lib/esm/core-react/inputs/Input.d.ts.map +1 -1
  142. package/lib/esm/core-react/inputs/Input.js +1 -2
  143. package/lib/esm/core-react/inputs/Input.js.map +1 -1
  144. package/lib/esm/core-react/inputs/InputLabel.d.ts +2 -0
  145. package/lib/esm/core-react/inputs/InputLabel.d.ts.map +1 -1
  146. package/lib/esm/core-react/inputs/InputLabel.js.map +1 -1
  147. package/lib/esm/core-react/inputs/classes.scss +0 -2
  148. package/lib/esm/core-react/inputs/index.scss +1 -3
  149. package/lib/esm/core-react/inputs/input-label.scss +90 -0
  150. package/lib/esm/core-react/inputs/input.scss +36 -38
  151. package/lib/esm/core-react/inputs/variables.scss +20 -15
  152. package/lib/esm/core-react/listbox/Listbox.scss +3 -3
  153. package/lib/esm/core-react/loading/LoadingSpinner.d.ts +1 -2
  154. package/lib/esm/core-react/loading/LoadingSpinner.d.ts.map +1 -1
  155. package/lib/esm/core-react/loading/LoadingSpinner.js +1 -16
  156. package/lib/esm/core-react/loading/LoadingSpinner.js.map +1 -1
  157. package/lib/esm/core-react/loading/LoadingSpinner.scss +4 -5
  158. package/lib/esm/core-react/messagebox/MessageBox.d.ts +4 -0
  159. package/lib/esm/core-react/messagebox/MessageBox.d.ts.map +1 -1
  160. package/lib/esm/core-react/messagebox/MessageBox.js.map +1 -1
  161. package/lib/esm/core-react/popup/Popup.d.ts +2 -0
  162. package/lib/esm/core-react/popup/Popup.d.ts.map +1 -1
  163. package/lib/esm/core-react/popup/Popup.js.map +1 -1
  164. package/lib/esm/core-react/popup/Popup.scss +123 -123
  165. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts +4 -0
  166. package/lib/esm/core-react/radialmenu/RadialMenu.d.ts.map +1 -1
  167. package/lib/esm/core-react/radialmenu/RadialMenu.js.map +1 -1
  168. package/lib/esm/core-react/radialmenu/RadialMenu.scss +1 -2
  169. package/lib/esm/core-react/searchbox/SearchBox.scss +2 -4
  170. package/lib/esm/core-react/settings/SettingsContainer.js +1 -1
  171. package/lib/esm/core-react/settings/SettingsContainer.js.map +1 -1
  172. package/lib/esm/core-react/settings/SettingsContainer.scss +8 -7
  173. package/lib/esm/core-react/style/baseline.scss +6 -8
  174. package/lib/esm/core-react/style/data-viz.scss +11 -14
  175. package/lib/esm/core-react/style/itwinui-overrides.scss +0 -1
  176. package/lib/esm/core-react/style/mixins.scss +0 -1
  177. package/lib/esm/core-react/style/opacity.scss +9 -10
  178. package/lib/esm/core-react/style/space.scss +9 -13
  179. package/lib/esm/core-react/style/speed.scss +3 -4
  180. package/lib/esm/core-react/style/typography.scss +26 -25
  181. package/lib/esm/core-react/style/variables.scss +4 -5
  182. package/lib/esm/core-react/tabs/Tabs.d.ts +1 -1
  183. package/lib/esm/core-react/tabs/Tabs.js.map +1 -1
  184. package/lib/esm/core-react/tabs/classes.scss +0 -1
  185. package/lib/esm/core-react/tabs/index.scss +0 -1
  186. package/lib/esm/core-react/tabs/tabs.scss +38 -49
  187. package/lib/esm/core-react/tabs/vertical.scss +17 -23
  188. package/lib/esm/core-react/text/classes.scss +0 -8
  189. package/lib/esm/core-react/text/index.scss +0 -8
  190. package/lib/esm/core-react/text/mixins.scss +8 -46
  191. package/lib/esm/core-react/tree/Node.scss +5 -5
  192. package/lib/esm/core-react.d.ts +1 -41
  193. package/lib/esm/core-react.d.ts.map +1 -1
  194. package/lib/esm/core-react.js +1 -41
  195. package/lib/esm/core-react.js.map +1 -1
  196. package/package.json +23 -21
  197. package/lib/cjs/core-react/badge/BetaBadge.scss +0 -9
  198. package/lib/cjs/core-react/button/Button.d.ts +0 -48
  199. package/lib/cjs/core-react/button/Button.d.ts.map +0 -1
  200. package/lib/cjs/core-react/button/Button.js +0 -86
  201. package/lib/cjs/core-react/button/Button.js.map +0 -1
  202. package/lib/cjs/core-react/checkbox/Checkbox.d.ts +0 -57
  203. package/lib/cjs/core-react/checkbox/Checkbox.d.ts.map +0 -1
  204. package/lib/cjs/core-react/checkbox/Checkbox.js +0 -65
  205. package/lib/cjs/core-react/checkbox/Checkbox.js.map +0 -1
  206. package/lib/cjs/core-react/dialog/DialogButtonDef.d.ts +0 -47
  207. package/lib/cjs/core-react/dialog/DialogButtonDef.d.ts.map +0 -1
  208. package/lib/cjs/core-react/dialog/DialogButtonDef.js +0 -38
  209. package/lib/cjs/core-react/dialog/DialogButtonDef.js.map +0 -1
  210. package/lib/cjs/core-react/expandable/ExpandableBlock.d.ts +0 -34
  211. package/lib/cjs/core-react/expandable/ExpandableBlock.d.ts.map +0 -1
  212. package/lib/cjs/core-react/expandable/ExpandableBlock.js +0 -36
  213. package/lib/cjs/core-react/expandable/ExpandableBlock.js.map +0 -1
  214. package/lib/cjs/core-react/expandable/ExpandableBlock.scss +0 -145
  215. package/lib/cjs/core-react/form/Field.d.ts +0 -20
  216. package/lib/cjs/core-react/form/Field.d.ts.map +0 -1
  217. package/lib/cjs/core-react/form/Field.js +0 -45
  218. package/lib/cjs/core-react/form/Field.js.map +0 -1
  219. package/lib/cjs/core-react/form/Form.d.ts +0 -132
  220. package/lib/cjs/core-react/form/Form.d.ts.map +0 -1
  221. package/lib/cjs/core-react/form/Form.js +0 -132
  222. package/lib/cjs/core-react/form/Form.js.map +0 -1
  223. package/lib/cjs/core-react/form/Form.scss +0 -78
  224. package/lib/cjs/core-react/icons/SvgSprite.d.ts +0 -21
  225. package/lib/cjs/core-react/icons/SvgSprite.d.ts.map +0 -1
  226. package/lib/cjs/core-react/icons/SvgSprite.js +0 -27
  227. package/lib/cjs/core-react/icons/SvgSprite.js.map +0 -1
  228. package/lib/cjs/core-react/inputs/LabeledInput.d.ts +0 -18
  229. package/lib/cjs/core-react/inputs/LabeledInput.d.ts.map +0 -1
  230. package/lib/cjs/core-react/inputs/LabeledInput.js +0 -34
  231. package/lib/cjs/core-react/inputs/LabeledInput.js.map +0 -1
  232. package/lib/cjs/core-react/inputs/LabeledTextarea.d.ts +0 -18
  233. package/lib/cjs/core-react/inputs/LabeledTextarea.d.ts.map +0 -1
  234. package/lib/cjs/core-react/inputs/LabeledTextarea.js +0 -32
  235. package/lib/cjs/core-react/inputs/LabeledTextarea.js.map +0 -1
  236. package/lib/cjs/core-react/inputs/Textarea.d.ts +0 -23
  237. package/lib/cjs/core-react/inputs/Textarea.d.ts.map +0 -1
  238. package/lib/cjs/core-react/inputs/Textarea.js +0 -36
  239. package/lib/cjs/core-react/inputs/Textarea.js.map +0 -1
  240. package/lib/cjs/core-react/inputs/labeled-input.scss +0 -103
  241. package/lib/cjs/core-react/inputs/labeled-textarea.scss +0 -77
  242. package/lib/cjs/core-react/inputs/textarea.scss +0 -55
  243. package/lib/cjs/core-react/loading/Spinner.d.ts +0 -38
  244. package/lib/cjs/core-react/loading/Spinner.d.ts.map +0 -1
  245. package/lib/cjs/core-react/loading/Spinner.js +0 -61
  246. package/lib/cjs/core-react/loading/Spinner.js.map +0 -1
  247. package/lib/cjs/core-react/loading/Spinner.scss +0 -26
  248. package/lib/cjs/core-react/messagebox/MessageSeverity.d.ts +0 -16
  249. package/lib/cjs/core-react/messagebox/MessageSeverity.d.ts.map +0 -1
  250. package/lib/cjs/core-react/messagebox/MessageSeverity.js +0 -24
  251. package/lib/cjs/core-react/messagebox/MessageSeverity.js.map +0 -1
  252. package/lib/cjs/core-react/progress-indicators/ProgressBar.d.ts +0 -29
  253. package/lib/cjs/core-react/progress-indicators/ProgressBar.d.ts.map +0 -1
  254. package/lib/cjs/core-react/progress-indicators/ProgressBar.js +0 -48
  255. package/lib/cjs/core-react/progress-indicators/ProgressBar.js.map +0 -1
  256. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.d.ts +0 -49
  257. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.d.ts.map +0 -1
  258. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.js +0 -74
  259. package/lib/cjs/core-react/progress-indicators/ProgressSpinner.js.map +0 -1
  260. package/lib/cjs/core-react/progress-indicators/classes.scss +0 -33
  261. package/lib/cjs/core-react/progress-indicators/index.scss +0 -6
  262. package/lib/cjs/core-react/progress-indicators/progress-bar.scss +0 -91
  263. package/lib/cjs/core-react/progress-indicators/progress-spinner.scss +0 -132
  264. package/lib/cjs/core-react/radio/Radio.d.ts +0 -20
  265. package/lib/cjs/core-react/radio/Radio.d.ts.map +0 -1
  266. package/lib/cjs/core-react/radio/Radio.js +0 -28
  267. package/lib/cjs/core-react/radio/Radio.js.map +0 -1
  268. package/lib/cjs/core-react/radio/classes.scss +0 -7
  269. package/lib/cjs/core-react/radio/index.scss +0 -8
  270. package/lib/cjs/core-react/radio/radio.scss +0 -89
  271. package/lib/cjs/core-react/select/LabeledSelect.d.ts +0 -20
  272. package/lib/cjs/core-react/select/LabeledSelect.d.ts.map +0 -1
  273. package/lib/cjs/core-react/select/LabeledSelect.js +0 -34
  274. package/lib/cjs/core-react/select/LabeledSelect.js.map +0 -1
  275. package/lib/cjs/core-react/select/LabeledThemedSelect.d.ts +0 -16
  276. package/lib/cjs/core-react/select/LabeledThemedSelect.d.ts.map +0 -1
  277. package/lib/cjs/core-react/select/LabeledThemedSelect.js +0 -31
  278. package/lib/cjs/core-react/select/LabeledThemedSelect.js.map +0 -1
  279. package/lib/cjs/core-react/select/Select.d.ts +0 -53
  280. package/lib/cjs/core-react/select/Select.d.ts.map +0 -1
  281. package/lib/cjs/core-react/select/Select.js +0 -60
  282. package/lib/cjs/core-react/select/Select.js.map +0 -1
  283. package/lib/cjs/core-react/select/ThemedSelect.d.ts +0 -104
  284. package/lib/cjs/core-react/select/ThemedSelect.d.ts.map +0 -1
  285. package/lib/cjs/core-react/select/ThemedSelect.js +0 -57
  286. package/lib/cjs/core-react/select/ThemedSelect.js.map +0 -1
  287. package/lib/cjs/core-react/select/classes.scss +0 -9
  288. package/lib/cjs/core-react/select/index.scss +0 -10
  289. package/lib/cjs/core-react/select/labeled-select.scss +0 -72
  290. package/lib/cjs/core-react/select/labeled-themed-select.scss +0 -77
  291. package/lib/cjs/core-react/select/modalHelper.d.ts +0 -5
  292. package/lib/cjs/core-react/select/modalHelper.d.ts.map +0 -1
  293. package/lib/cjs/core-react/select/modalHelper.js +0 -21
  294. package/lib/cjs/core-react/select/modalHelper.js.map +0 -1
  295. package/lib/cjs/core-react/select/select.scss +0 -74
  296. package/lib/cjs/core-react/select/themed-select.scss +0 -159
  297. package/lib/cjs/core-react/slider/Slider.d.ts +0 -80
  298. package/lib/cjs/core-react/slider/Slider.d.ts.map +0 -1
  299. package/lib/cjs/core-react/slider/Slider.js +0 -91
  300. package/lib/cjs/core-react/slider/Slider.js.map +0 -1
  301. package/lib/cjs/core-react/slider/Slider.scss +0 -96
  302. package/lib/cjs/core-react/splitbutton/SplitButton.d.ts +0 -62
  303. package/lib/cjs/core-react/splitbutton/SplitButton.d.ts.map +0 -1
  304. package/lib/cjs/core-react/splitbutton/SplitButton.js +0 -104
  305. package/lib/cjs/core-react/splitbutton/SplitButton.js.map +0 -1
  306. package/lib/cjs/core-react/splitbutton/SplitButton.scss +0 -137
  307. package/lib/cjs/core-react/tabs/HorizontalTabs.d.ts +0 -11
  308. package/lib/cjs/core-react/tabs/HorizontalTabs.d.ts.map +0 -1
  309. package/lib/cjs/core-react/tabs/HorizontalTabs.js +0 -22
  310. package/lib/cjs/core-react/tabs/HorizontalTabs.js.map +0 -1
  311. package/lib/cjs/core-react/tabs/horizontal.scss +0 -77
  312. package/lib/cjs/core-react/text/Headline.d.ts +0 -11
  313. package/lib/cjs/core-react/text/Headline.d.ts.map +0 -1
  314. package/lib/cjs/core-react/text/Headline.js +0 -21
  315. package/lib/cjs/core-react/text/Headline.js.map +0 -1
  316. package/lib/cjs/core-react/text/LeadingText.d.ts +0 -11
  317. package/lib/cjs/core-react/text/LeadingText.d.ts.map +0 -1
  318. package/lib/cjs/core-react/text/LeadingText.js +0 -21
  319. package/lib/cjs/core-react/text/LeadingText.js.map +0 -1
  320. package/lib/cjs/core-react/text/LeadingText2.d.ts +0 -11
  321. package/lib/cjs/core-react/text/LeadingText2.d.ts.map +0 -1
  322. package/lib/cjs/core-react/text/LeadingText2.js +0 -21
  323. package/lib/cjs/core-react/text/LeadingText2.js.map +0 -1
  324. package/lib/cjs/core-react/text/SmallText.d.ts +0 -11
  325. package/lib/cjs/core-react/text/SmallText.d.ts.map +0 -1
  326. package/lib/cjs/core-react/text/SmallText.js +0 -21
  327. package/lib/cjs/core-react/text/SmallText.js.map +0 -1
  328. package/lib/cjs/core-react/text/Subheading.d.ts +0 -11
  329. package/lib/cjs/core-react/text/Subheading.d.ts.map +0 -1
  330. package/lib/cjs/core-react/text/Subheading.js +0 -21
  331. package/lib/cjs/core-react/text/Subheading.js.map +0 -1
  332. package/lib/cjs/core-react/text/Subheading2.d.ts +0 -11
  333. package/lib/cjs/core-react/text/Subheading2.d.ts.map +0 -1
  334. package/lib/cjs/core-react/text/Subheading2.js +0 -21
  335. package/lib/cjs/core-react/text/Subheading2.js.map +0 -1
  336. package/lib/cjs/core-react/text/Title.d.ts +0 -11
  337. package/lib/cjs/core-react/text/Title.d.ts.map +0 -1
  338. package/lib/cjs/core-react/text/Title.js +0 -21
  339. package/lib/cjs/core-react/text/Title.js.map +0 -1
  340. package/lib/cjs/core-react/text/Title2.d.ts +0 -11
  341. package/lib/cjs/core-react/text/Title2.d.ts.map +0 -1
  342. package/lib/cjs/core-react/text/Title2.js +0 -21
  343. package/lib/cjs/core-react/text/Title2.js.map +0 -1
  344. package/lib/cjs/core-react/text/headline.scss +0 -10
  345. package/lib/cjs/core-react/text/leading-2.scss +0 -11
  346. package/lib/cjs/core-react/text/leading.scss +0 -10
  347. package/lib/cjs/core-react/text/small.scss +0 -10
  348. package/lib/cjs/core-react/text/subheading-2.scss +0 -11
  349. package/lib/cjs/core-react/text/subheading.scss +0 -11
  350. package/lib/cjs/core-react/text/title-2.scss +0 -11
  351. package/lib/cjs/core-react/text/title.scss +0 -10
  352. package/lib/cjs/core-react/tiles/FeaturedTile.d.ts +0 -11
  353. package/lib/cjs/core-react/tiles/FeaturedTile.d.ts.map +0 -1
  354. package/lib/cjs/core-react/tiles/FeaturedTile.js +0 -21
  355. package/lib/cjs/core-react/tiles/FeaturedTile.js.map +0 -1
  356. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.d.ts +0 -11
  357. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.d.ts.map +0 -1
  358. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.js +0 -21
  359. package/lib/cjs/core-react/tiles/MinimalFeaturedTile.js.map +0 -1
  360. package/lib/cjs/core-react/tiles/MinimalTile.d.ts +0 -11
  361. package/lib/cjs/core-react/tiles/MinimalTile.d.ts.map +0 -1
  362. package/lib/cjs/core-react/tiles/MinimalTile.js +0 -21
  363. package/lib/cjs/core-react/tiles/MinimalTile.js.map +0 -1
  364. package/lib/cjs/core-react/tiles/Tile.d.ts +0 -32
  365. package/lib/cjs/core-react/tiles/Tile.d.ts.map +0 -1
  366. package/lib/cjs/core-react/tiles/Tile.js +0 -40
  367. package/lib/cjs/core-react/tiles/Tile.js.map +0 -1
  368. package/lib/cjs/core-react/tiles/classes.scss +0 -7
  369. package/lib/cjs/core-react/tiles/index.scss +0 -5
  370. package/lib/cjs/core-react/tiles/tile.scss +0 -134
  371. package/lib/cjs/core-react/toggle/LabeledToggle.d.ts +0 -26
  372. package/lib/cjs/core-react/toggle/LabeledToggle.d.ts.map +0 -1
  373. package/lib/cjs/core-react/toggle/LabeledToggle.js +0 -29
  374. package/lib/cjs/core-react/toggle/LabeledToggle.js.map +0 -1
  375. package/lib/cjs/core-react/toggle/LabeledToggle.scss +0 -21
  376. package/lib/cjs/core-react/toggle/Toggle.d.ts +0 -52
  377. package/lib/cjs/core-react/toggle/Toggle.d.ts.map +0 -1
  378. package/lib/cjs/core-react/toggle/Toggle.js +0 -105
  379. package/lib/cjs/core-react/toggle/Toggle.js.map +0 -1
  380. package/lib/cjs/core-react/toggle/Toggle.scss +0 -135
  381. package/lib/cjs/core-react/tooltip/Tooltip.d.ts +0 -34
  382. package/lib/cjs/core-react/tooltip/Tooltip.d.ts.map +0 -1
  383. package/lib/cjs/core-react/tooltip/Tooltip.js +0 -57
  384. package/lib/cjs/core-react/tooltip/Tooltip.js.map +0 -1
  385. package/lib/cjs/core-react/tooltip/Tooltip.scss +0 -18
  386. package/lib/cjs/core-react/utils/PointProps.d.ts +0 -12
  387. package/lib/cjs/core-react/utils/PointProps.d.ts.map +0 -1
  388. package/lib/cjs/core-react/utils/PointProps.js +0 -10
  389. package/lib/cjs/core-react/utils/PointProps.js.map +0 -1
  390. package/lib/cjs/core-react/utils/UiEvent.d.ts +0 -10
  391. package/lib/cjs/core-react/utils/UiEvent.d.ts.map +0 -1
  392. package/lib/cjs/core-react/utils/UiEvent.js +0 -18
  393. package/lib/cjs/core-react/utils/UiEvent.js.map +0 -1
  394. package/lib/esm/core-react/badge/BetaBadge.scss +0 -9
  395. package/lib/esm/core-react/button/Button.d.ts +0 -48
  396. package/lib/esm/core-react/button/Button.d.ts.map +0 -1
  397. package/lib/esm/core-react/button/Button.js +0 -81
  398. package/lib/esm/core-react/button/Button.js.map +0 -1
  399. package/lib/esm/core-react/checkbox/Checkbox.d.ts +0 -57
  400. package/lib/esm/core-react/checkbox/Checkbox.d.ts.map +0 -1
  401. package/lib/esm/core-react/checkbox/Checkbox.js +0 -61
  402. package/lib/esm/core-react/checkbox/Checkbox.js.map +0 -1
  403. package/lib/esm/core-react/dialog/DialogButtonDef.d.ts +0 -47
  404. package/lib/esm/core-react/dialog/DialogButtonDef.d.ts.map +0 -1
  405. package/lib/esm/core-react/dialog/DialogButtonDef.js +0 -35
  406. package/lib/esm/core-react/dialog/DialogButtonDef.js.map +0 -1
  407. package/lib/esm/core-react/expandable/ExpandableBlock.d.ts +0 -34
  408. package/lib/esm/core-react/expandable/ExpandableBlock.d.ts.map +0 -1
  409. package/lib/esm/core-react/expandable/ExpandableBlock.js +0 -32
  410. package/lib/esm/core-react/expandable/ExpandableBlock.js.map +0 -1
  411. package/lib/esm/core-react/expandable/ExpandableBlock.scss +0 -145
  412. package/lib/esm/core-react/form/Field.d.ts +0 -20
  413. package/lib/esm/core-react/form/Field.d.ts.map +0 -1
  414. package/lib/esm/core-react/form/Field.js +0 -41
  415. package/lib/esm/core-react/form/Field.js.map +0 -1
  416. package/lib/esm/core-react/form/Form.d.ts +0 -132
  417. package/lib/esm/core-react/form/Form.d.ts.map +0 -1
  418. package/lib/esm/core-react/form/Form.js +0 -128
  419. package/lib/esm/core-react/form/Form.js.map +0 -1
  420. package/lib/esm/core-react/form/Form.scss +0 -78
  421. package/lib/esm/core-react/icons/SvgSprite.d.ts +0 -21
  422. package/lib/esm/core-react/icons/SvgSprite.d.ts.map +0 -1
  423. package/lib/esm/core-react/icons/SvgSprite.js +0 -23
  424. package/lib/esm/core-react/icons/SvgSprite.js.map +0 -1
  425. package/lib/esm/core-react/inputs/LabeledInput.d.ts +0 -18
  426. package/lib/esm/core-react/inputs/LabeledInput.d.ts.map +0 -1
  427. package/lib/esm/core-react/inputs/LabeledInput.js +0 -30
  428. package/lib/esm/core-react/inputs/LabeledInput.js.map +0 -1
  429. package/lib/esm/core-react/inputs/LabeledTextarea.d.ts +0 -18
  430. package/lib/esm/core-react/inputs/LabeledTextarea.d.ts.map +0 -1
  431. package/lib/esm/core-react/inputs/LabeledTextarea.js +0 -28
  432. package/lib/esm/core-react/inputs/LabeledTextarea.js.map +0 -1
  433. package/lib/esm/core-react/inputs/Textarea.d.ts +0 -23
  434. package/lib/esm/core-react/inputs/Textarea.d.ts.map +0 -1
  435. package/lib/esm/core-react/inputs/Textarea.js +0 -33
  436. package/lib/esm/core-react/inputs/Textarea.js.map +0 -1
  437. package/lib/esm/core-react/inputs/labeled-input.scss +0 -103
  438. package/lib/esm/core-react/inputs/labeled-textarea.scss +0 -77
  439. package/lib/esm/core-react/inputs/textarea.scss +0 -55
  440. package/lib/esm/core-react/loading/Spinner.d.ts +0 -38
  441. package/lib/esm/core-react/loading/Spinner.d.ts.map +0 -1
  442. package/lib/esm/core-react/loading/Spinner.js +0 -57
  443. package/lib/esm/core-react/loading/Spinner.js.map +0 -1
  444. package/lib/esm/core-react/loading/Spinner.scss +0 -26
  445. package/lib/esm/core-react/messagebox/MessageSeverity.d.ts +0 -16
  446. package/lib/esm/core-react/messagebox/MessageSeverity.d.ts.map +0 -1
  447. package/lib/esm/core-react/messagebox/MessageSeverity.js +0 -21
  448. package/lib/esm/core-react/messagebox/MessageSeverity.js.map +0 -1
  449. package/lib/esm/core-react/progress-indicators/ProgressBar.d.ts +0 -29
  450. package/lib/esm/core-react/progress-indicators/ProgressBar.d.ts.map +0 -1
  451. package/lib/esm/core-react/progress-indicators/ProgressBar.js +0 -44
  452. package/lib/esm/core-react/progress-indicators/ProgressBar.js.map +0 -1
  453. package/lib/esm/core-react/progress-indicators/ProgressSpinner.d.ts +0 -49
  454. package/lib/esm/core-react/progress-indicators/ProgressSpinner.d.ts.map +0 -1
  455. package/lib/esm/core-react/progress-indicators/ProgressSpinner.js +0 -70
  456. package/lib/esm/core-react/progress-indicators/ProgressSpinner.js.map +0 -1
  457. package/lib/esm/core-react/progress-indicators/classes.scss +0 -33
  458. package/lib/esm/core-react/progress-indicators/index.scss +0 -6
  459. package/lib/esm/core-react/progress-indicators/progress-bar.scss +0 -91
  460. package/lib/esm/core-react/progress-indicators/progress-spinner.scss +0 -132
  461. package/lib/esm/core-react/radio/Radio.d.ts +0 -20
  462. package/lib/esm/core-react/radio/Radio.d.ts.map +0 -1
  463. package/lib/esm/core-react/radio/Radio.js +0 -24
  464. package/lib/esm/core-react/radio/Radio.js.map +0 -1
  465. package/lib/esm/core-react/radio/classes.scss +0 -7
  466. package/lib/esm/core-react/radio/index.scss +0 -8
  467. package/lib/esm/core-react/radio/radio.scss +0 -89
  468. package/lib/esm/core-react/select/LabeledSelect.d.ts +0 -20
  469. package/lib/esm/core-react/select/LabeledSelect.d.ts.map +0 -1
  470. package/lib/esm/core-react/select/LabeledSelect.js +0 -30
  471. package/lib/esm/core-react/select/LabeledSelect.js.map +0 -1
  472. package/lib/esm/core-react/select/LabeledThemedSelect.d.ts +0 -16
  473. package/lib/esm/core-react/select/LabeledThemedSelect.d.ts.map +0 -1
  474. package/lib/esm/core-react/select/LabeledThemedSelect.js +0 -27
  475. package/lib/esm/core-react/select/LabeledThemedSelect.js.map +0 -1
  476. package/lib/esm/core-react/select/Select.d.ts +0 -53
  477. package/lib/esm/core-react/select/Select.d.ts.map +0 -1
  478. package/lib/esm/core-react/select/Select.js +0 -57
  479. package/lib/esm/core-react/select/Select.js.map +0 -1
  480. package/lib/esm/core-react/select/ThemedSelect.d.ts +0 -104
  481. package/lib/esm/core-react/select/ThemedSelect.d.ts.map +0 -1
  482. package/lib/esm/core-react/select/ThemedSelect.js +0 -53
  483. package/lib/esm/core-react/select/ThemedSelect.js.map +0 -1
  484. package/lib/esm/core-react/select/classes.scss +0 -9
  485. package/lib/esm/core-react/select/index.scss +0 -10
  486. package/lib/esm/core-react/select/labeled-select.scss +0 -72
  487. package/lib/esm/core-react/select/labeled-themed-select.scss +0 -77
  488. package/lib/esm/core-react/select/modalHelper.d.ts +0 -5
  489. package/lib/esm/core-react/select/modalHelper.d.ts.map +0 -1
  490. package/lib/esm/core-react/select/modalHelper.js +0 -17
  491. package/lib/esm/core-react/select/modalHelper.js.map +0 -1
  492. package/lib/esm/core-react/select/select.scss +0 -74
  493. package/lib/esm/core-react/select/themed-select.scss +0 -159
  494. package/lib/esm/core-react/slider/Slider.d.ts +0 -80
  495. package/lib/esm/core-react/slider/Slider.d.ts.map +0 -1
  496. package/lib/esm/core-react/slider/Slider.js +0 -87
  497. package/lib/esm/core-react/slider/Slider.js.map +0 -1
  498. package/lib/esm/core-react/slider/Slider.scss +0 -96
  499. package/lib/esm/core-react/splitbutton/SplitButton.d.ts +0 -62
  500. package/lib/esm/core-react/splitbutton/SplitButton.d.ts.map +0 -1
  501. package/lib/esm/core-react/splitbutton/SplitButton.js +0 -100
  502. package/lib/esm/core-react/splitbutton/SplitButton.js.map +0 -1
  503. package/lib/esm/core-react/splitbutton/SplitButton.scss +0 -137
  504. package/lib/esm/core-react/tabs/HorizontalTabs.d.ts +0 -11
  505. package/lib/esm/core-react/tabs/HorizontalTabs.d.ts.map +0 -1
  506. package/lib/esm/core-react/tabs/HorizontalTabs.js +0 -18
  507. package/lib/esm/core-react/tabs/HorizontalTabs.js.map +0 -1
  508. package/lib/esm/core-react/tabs/horizontal.scss +0 -77
  509. package/lib/esm/core-react/text/Headline.d.ts +0 -11
  510. package/lib/esm/core-react/text/Headline.d.ts.map +0 -1
  511. package/lib/esm/core-react/text/Headline.js +0 -17
  512. package/lib/esm/core-react/text/Headline.js.map +0 -1
  513. package/lib/esm/core-react/text/LeadingText.d.ts +0 -11
  514. package/lib/esm/core-react/text/LeadingText.d.ts.map +0 -1
  515. package/lib/esm/core-react/text/LeadingText.js +0 -17
  516. package/lib/esm/core-react/text/LeadingText.js.map +0 -1
  517. package/lib/esm/core-react/text/LeadingText2.d.ts +0 -11
  518. package/lib/esm/core-react/text/LeadingText2.d.ts.map +0 -1
  519. package/lib/esm/core-react/text/LeadingText2.js +0 -17
  520. package/lib/esm/core-react/text/LeadingText2.js.map +0 -1
  521. package/lib/esm/core-react/text/SmallText.d.ts +0 -11
  522. package/lib/esm/core-react/text/SmallText.d.ts.map +0 -1
  523. package/lib/esm/core-react/text/SmallText.js +0 -17
  524. package/lib/esm/core-react/text/SmallText.js.map +0 -1
  525. package/lib/esm/core-react/text/Subheading.d.ts +0 -11
  526. package/lib/esm/core-react/text/Subheading.d.ts.map +0 -1
  527. package/lib/esm/core-react/text/Subheading.js +0 -17
  528. package/lib/esm/core-react/text/Subheading.js.map +0 -1
  529. package/lib/esm/core-react/text/Subheading2.d.ts +0 -11
  530. package/lib/esm/core-react/text/Subheading2.d.ts.map +0 -1
  531. package/lib/esm/core-react/text/Subheading2.js +0 -17
  532. package/lib/esm/core-react/text/Subheading2.js.map +0 -1
  533. package/lib/esm/core-react/text/Title.d.ts +0 -11
  534. package/lib/esm/core-react/text/Title.d.ts.map +0 -1
  535. package/lib/esm/core-react/text/Title.js +0 -17
  536. package/lib/esm/core-react/text/Title.js.map +0 -1
  537. package/lib/esm/core-react/text/Title2.d.ts +0 -11
  538. package/lib/esm/core-react/text/Title2.d.ts.map +0 -1
  539. package/lib/esm/core-react/text/Title2.js +0 -17
  540. package/lib/esm/core-react/text/Title2.js.map +0 -1
  541. package/lib/esm/core-react/text/headline.scss +0 -10
  542. package/lib/esm/core-react/text/leading-2.scss +0 -11
  543. package/lib/esm/core-react/text/leading.scss +0 -10
  544. package/lib/esm/core-react/text/small.scss +0 -10
  545. package/lib/esm/core-react/text/subheading-2.scss +0 -11
  546. package/lib/esm/core-react/text/subheading.scss +0 -11
  547. package/lib/esm/core-react/text/title-2.scss +0 -11
  548. package/lib/esm/core-react/text/title.scss +0 -10
  549. package/lib/esm/core-react/tiles/FeaturedTile.d.ts +0 -11
  550. package/lib/esm/core-react/tiles/FeaturedTile.d.ts.map +0 -1
  551. package/lib/esm/core-react/tiles/FeaturedTile.js +0 -17
  552. package/lib/esm/core-react/tiles/FeaturedTile.js.map +0 -1
  553. package/lib/esm/core-react/tiles/MinimalFeaturedTile.d.ts +0 -11
  554. package/lib/esm/core-react/tiles/MinimalFeaturedTile.d.ts.map +0 -1
  555. package/lib/esm/core-react/tiles/MinimalFeaturedTile.js +0 -17
  556. package/lib/esm/core-react/tiles/MinimalFeaturedTile.js.map +0 -1
  557. package/lib/esm/core-react/tiles/MinimalTile.d.ts +0 -11
  558. package/lib/esm/core-react/tiles/MinimalTile.d.ts.map +0 -1
  559. package/lib/esm/core-react/tiles/MinimalTile.js +0 -17
  560. package/lib/esm/core-react/tiles/MinimalTile.js.map +0 -1
  561. package/lib/esm/core-react/tiles/Tile.d.ts +0 -32
  562. package/lib/esm/core-react/tiles/Tile.d.ts.map +0 -1
  563. package/lib/esm/core-react/tiles/Tile.js +0 -36
  564. package/lib/esm/core-react/tiles/Tile.js.map +0 -1
  565. package/lib/esm/core-react/tiles/classes.scss +0 -7
  566. package/lib/esm/core-react/tiles/index.scss +0 -5
  567. package/lib/esm/core-react/tiles/tile.scss +0 -134
  568. package/lib/esm/core-react/toggle/LabeledToggle.d.ts +0 -26
  569. package/lib/esm/core-react/toggle/LabeledToggle.d.ts.map +0 -1
  570. package/lib/esm/core-react/toggle/LabeledToggle.js +0 -25
  571. package/lib/esm/core-react/toggle/LabeledToggle.js.map +0 -1
  572. package/lib/esm/core-react/toggle/LabeledToggle.scss +0 -21
  573. package/lib/esm/core-react/toggle/Toggle.d.ts +0 -52
  574. package/lib/esm/core-react/toggle/Toggle.d.ts.map +0 -1
  575. package/lib/esm/core-react/toggle/Toggle.js +0 -102
  576. package/lib/esm/core-react/toggle/Toggle.js.map +0 -1
  577. package/lib/esm/core-react/toggle/Toggle.scss +0 -135
  578. package/lib/esm/core-react/tooltip/Tooltip.d.ts +0 -34
  579. package/lib/esm/core-react/tooltip/Tooltip.d.ts.map +0 -1
  580. package/lib/esm/core-react/tooltip/Tooltip.js +0 -52
  581. package/lib/esm/core-react/tooltip/Tooltip.js.map +0 -1
  582. package/lib/esm/core-react/tooltip/Tooltip.scss +0 -18
  583. package/lib/esm/core-react/utils/PointProps.d.ts +0 -12
  584. package/lib/esm/core-react/utils/PointProps.d.ts.map +0 -1
  585. package/lib/esm/core-react/utils/PointProps.js +0 -9
  586. package/lib/esm/core-react/utils/PointProps.js.map +0 -1
  587. package/lib/esm/core-react/utils/UiEvent.d.ts +0 -10
  588. package/lib/esm/core-react/utils/UiEvent.d.ts.map +0 -1
  589. package/lib/esm/core-react/utils/UiEvent.js +0 -14
  590. package/lib/esm/core-react/utils/UiEvent.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../../src/core-react/slider/Slider.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,yBAAuB;AACvB,2CAAoC;AACpC,+BAA+B;AAC/B,wDAA6D;AAE7D,+CAA4C;AA6E5C;;;;IAII;AACJ,SAAgB,MAAM,CAAC,KAAkB;IACvC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EACpD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EACvF,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAC9B,WAAW,EAAE,YAAY,EAAE,aAAa,GACzC,GAAG,KAAK,CAAC;IAEV,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EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC/C,IAAI,OAAgC,CAAC;IACrC,MAAM,YAAY,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAElE,IAAI,KAAK;QACP,OAAO,GAAG,0CAAG,KAAK,CAAI,CAAC;;QAEvB,OAAO,GAAG,oBAAC,mBAAQ,IAAC,SAAS,EAAC,oBAAoB,iBAAc,MAAM,IAAG,YAAY,CAAY,CAAC;IAEpG,OAAO,OAAO,CAAC;AACjB,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 Slider\r\n */\r\n\r\nimport \"./Slider.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { Slider as ItwinSlider } from \"@itwin/itwinui-react\";\r\nimport { CommonProps } from \"../utils/Props\";\r\nimport { BodyText } from \"../text/BodyText\";\r\n\r\n// cspell:ignore pushable\r\n\r\n/** Properties for [[Slider]] component\r\n * @public\r\n */\r\nexport interface SliderProps extends CommonProps {\r\n /** Values to set Slider to initially */\r\n values: number[];\r\n /** Minimum value */\r\n min: number;\r\n /** Maximum value */\r\n max: number;\r\n /** Format the min display value */\r\n formatMin?: (value: number) => string;\r\n /** Format the max display value */\r\n formatMax?: (value: number) => string;\r\n\r\n /** Step value. Default is 0.1. */\r\n step?: number;\r\n /** The interaction mode. Default is 1. Possible values:\r\n * 1 - allows handles to cross each other.\r\n * 2 - keeps the sliders from crossing and separated by a step.\r\n */\r\n mode?: number | (() => number);\r\n /** Indicates whether the display of the Slider values is reversed. */\r\n reversed?: boolean;\r\n /** Indicates whether the Slider is disabled. */\r\n disabled?: boolean;\r\n /** Indicates whether to compensate for the tick marks when determining the width. */\r\n includeTicksInWidth?: boolean;\r\n\r\n /** Indicates whether to show tooltip with the value. The tooltip will be positioned above the Slider, by default. */\r\n showTooltip?: boolean;\r\n /** Indicates whether the tooltip should show below the Slider instead of above. */\r\n tooltipBelow?: boolean;\r\n /** Format a value for the tooltip */\r\n formatTooltip?: (value: number) => string;\r\n\r\n /** Indicates whether to show min & max values to the left & right of the Slider. */\r\n showMinMax?: boolean;\r\n /** Image to show for min. */\r\n minImage?: React.ReactNode;\r\n /** Image to show for max. */\r\n maxImage?: React.ReactNode;\r\n\r\n /** Indicates whether to show tick marks under the Slider. */\r\n showTicks?: boolean;\r\n /** Indicates whether to show tick labels under the tick marks. */\r\n showTickLabels?: boolean;\r\n /** Format a tick mark value */\r\n formatTick?: (tick: number) => string;\r\n /** Function to get the tick count. The default tick count is 10. */\r\n getTickCount?: () => number;\r\n /** Function to get the tick values. This overrides the tick count from getTickCount.\r\n * Use this prop if you want to specify your own tick values instead of ticks generated by the slider.\r\n * The numbers should be valid numbers in the domain and correspond to the step value.\r\n * Invalid values will be coerced to the closet matching value in the domain.\r\n */\r\n getTickValues?: () => number[];\r\n\r\n /** Listens for value changes.\r\n * Triggered when the value of the slider has changed. This will receive changes at\r\n * the end of a slide as well as changes from clicks on rails and tracks.\r\n */\r\n onChange?: (values: ReadonlyArray<number>) => void;\r\n /** Listens for value updates.\r\n * Called with the values at each update (caution: high-volume updates when dragging).\r\n */\r\n onUpdate?: (values: ReadonlyArray<number>) => void;\r\n /** No longer available use onUpdate. */\r\n onSlideStart?: (values: ReadonlyArray<number>) => void;\r\n /** No longer available use onChange. */\r\n onSlideEnd?: (values: ReadonlyArray<number>) => void;\r\n}\r\n\r\n/**\r\n * Slider React component displays a range slider.\r\n * @public\r\n * @deprecated in 3.0. Use Slider in itwinui-react instead\r\n */\r\nexport function Slider(props: SliderProps) {\r\n const { className, style, min, max, values, step, mode,\r\n formatMin, formatMax,\r\n onChange, onUpdate,\r\n showTicks, showTickLabels, formatTick, getTickCount, getTickValues, includeTicksInWidth,\r\n reversed, disabled,\r\n showMinMax, minImage, maxImage,\r\n showTooltip, tooltipBelow, formatTooltip,\r\n } = props;\r\n\r\n const containerClassNames = classnames(\r\n \"core-slider-container\",\r\n className,\r\n disabled && \"core-disabled\",\r\n showTickLabels && \"core-slider-tickLabels\",\r\n includeTicksInWidth && \"core-slider-includeTicksInWidth\",\r\n );\r\n const sliderClassNames = classnames(\r\n \"core-slider\",\r\n showMinMax && \"core-slider-minMax\",\r\n );\r\n\r\n const internalFormatTooltip = React.useCallback((value: number) => {\r\n if (formatTooltip)\r\n return formatTooltip(value);\r\n\r\n const actualStep = Math.abs(step ?? 1);\r\n\r\n if (Number.isInteger(actualStep))\r\n return value.toFixed(0);\r\n\r\n const stepString = actualStep.toString();\r\n const decimalIndex = stepString.indexOf(\".\");\r\n const numDecimals = actualStep.toString().length - (decimalIndex + 1);\r\n return value.toFixed(numDecimals);\r\n }, [formatTooltip, step]);\r\n\r\n const tooltipProps = React.useCallback((_index: number, val: number) => {\r\n const content = internalFormatTooltip(val);\r\n if (!showTooltip)\r\n return { visible: false };\r\n return { placement: tooltipBelow ? \"bottom\" : \"top\", content } as const;\r\n }, [internalFormatTooltip, showTooltip, tooltipBelow]);\r\n\r\n const tickLabels = React.useMemo(() => {\r\n let ticks: string[] | undefined;\r\n\r\n if (showTicks) {\r\n const count = getTickCount ? getTickCount() : 0;\r\n if (count) {\r\n ticks = [];\r\n const increment = (max - min) / count;\r\n for (let i = 0; i <= count; i++) {\r\n const value = (i * increment) + min;\r\n if (showTickLabels) {\r\n const label = formatTick ? formatTick(value) : internalFormatTooltip(value);\r\n ticks.push(label);\r\n } else {\r\n ticks.push(\"\");\r\n }\r\n }\r\n } else /* istanbul ignore else */ if (getTickValues) {\r\n return getTickValues().map((val: number) => formatTick ? formatTick(val) : internalFormatTooltip(val));\r\n }\r\n }\r\n return ticks;\r\n }, [formatTick, getTickCount, getTickValues, internalFormatTooltip, max, min, showTickLabels, showTicks]);\r\n\r\n const thumbMode = React.useMemo(() => {\r\n let inMode = 1;\r\n if (typeof mode === \"function\")\r\n inMode = mode();\r\n\r\n return 1 === inMode ? \"allow-crossing\" : \"inhibit-crossing\";\r\n }, [mode]);\r\n\r\n return (\r\n <div className={containerClassNames} style={style}>\r\n {showMinMax &&\r\n <MinMax value={min} testId=\"core-slider-min\" image={minImage} format={formatMin} />\r\n }\r\n <ItwinSlider\r\n className={sliderClassNames}\r\n values={values}\r\n min={min}\r\n max={max}\r\n step={step}\r\n thumbMode={thumbMode}\r\n trackDisplayMode={!reversed ? \"auto\" : \"odd-segments\"\r\n }\r\n disabled={disabled}\r\n minLabel=\"\"\r\n maxLabel=\"\"\r\n tooltipProps={tooltipProps}\r\n tickLabels={tickLabels}\r\n onChange={onChange}\r\n onUpdate={onUpdate}\r\n />\r\n {showMinMax &&\r\n <MinMax value={max} testId=\"core-slider-max\" image={maxImage} format={formatMax} />\r\n }\r\n </div>\r\n );\r\n}\r\n\r\n/** Properties for [[MinMax]] component */\r\ninterface MinMaxProps {\r\n value: number;\r\n testId: string;\r\n image?: React.ReactNode;\r\n format?: (value: number) => string;\r\n}\r\n\r\n/** MinMax component for Slider */\r\nfunction MinMax(props: MinMaxProps) {\r\n const { value, testId, image, format } = props;\r\n let element: React.ReactElement<any>;\r\n const displayValue = format !== undefined ? format(value) : value;\r\n\r\n if (image)\r\n element = <>{image}</>;\r\n else\r\n element = <BodyText className=\"core-slider-minmax\" data-testid={testId}>{displayValue}</BodyText>;\r\n\r\n return element;\r\n}\r\n"]}
@@ -1,96 +0,0 @@
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/opacity";
6
- @import "../style/themecolors";
7
- @import "../button/button";
8
- @import "../z-index";
9
-
10
- $uicore-slider-height: 24px;
11
- $uicore-slider-rail-height: 4px;
12
- $uicore-slider-handle-size: 14px;
13
- $uicore-slider-minmax-margin: 6px;
14
-
15
- .core-slider-container {
16
- position: relative;
17
- height: $uicore-slider-height;
18
- display: flex;
19
- flex-direction: row;
20
- align-items: center;
21
- width: 100%;
22
-
23
- span.core-slider-minmax[data-testid="core-slider-min"] {
24
- margin-right: 4px;
25
- }
26
-
27
- span.core-slider-minmax[data-testid="core-slider-max"] {
28
- margin-left: 4px;
29
- }
30
-
31
- &.core-slider-tickLabels {
32
- margin-bottom: 9px;
33
- }
34
-
35
- &.core.slider-includeTicksInWidth {
36
- margin-right: 10px;
37
- }
38
-
39
- .core-slider-minMax {
40
- margin-left: $uicore-slider-minmax-margin;
41
- margin-right: $uicore-slider-minmax-margin;
42
- }
43
-
44
- .core-slider {
45
- flex: 1;
46
- position: relative;
47
- height: inherit;
48
- margin-bottom: 2px;
49
- }
50
-
51
- &.core-disabled {
52
- cursor: not-allowed;
53
-
54
- .core-slider {
55
- .core-slider-rail {
56
- cursor: not-allowed;
57
- }
58
-
59
- .core-slider-track {
60
- cursor: not-allowed;
61
-
62
- >.core-slider-track-inner {
63
- background: $buic-foreground-disabled;
64
- }
65
- }
66
-
67
- .core-slider-handle {
68
- background: $buic-background-control-disabled;
69
- border-color: $buic-background-control-stroke-disabled;
70
- cursor: not-allowed;
71
- }
72
-
73
- .core-slider-tick-mark {
74
- opacity: $uicore-opacity-disabled;
75
- }
76
-
77
- .core-slider-tick-label {
78
- color: $buic-foreground-disabled;
79
- }
80
- }
81
-
82
- .uicore-text-body {
83
- color: $buic-foreground-disabled;
84
- }
85
-
86
- .icon {
87
- color: $buic-foreground-disabled;
88
- }
89
- }
90
- }
91
-
92
- .core-slider_track-tooltip-container {
93
- position: absolute;
94
- left: 0;
95
- top: 0;
96
- }
@@ -1,62 +0,0 @@
1
- /** @packageDocumentation
2
- * @module SplitButton
3
- */
4
- import "./SplitButton.scss";
5
- import * as React from "react";
6
- import { IconSpec } from "../icons/IconComponent";
7
- import { CommonProps } from "../utils/Props";
8
- import { RelativePosition } from "@itwin/appui-abstract";
9
- import { ButtonType } from "../button/Button";
10
- /** @internal */
11
- export declare enum SplitButtonActionType {
12
- ContextMenu = 0,
13
- List = 1
14
- }
15
- /** Properties for [[SplitButton]] component
16
- * @public
17
- * @deprecated in 3.0. Use SplitButtonProps in itwinui-react instead
18
- */
19
- export interface SplitButtonProps extends CommonProps {
20
- /** Label to display in click area. */
21
- label: string | React.ReactNode;
22
- /** Listens for click events on button area */
23
- onClick?: (event: any) => any;
24
- /** Listens for execute on button area */
25
- onExecute?: () => any;
26
- /** Specifies icon for Splitbutton component */
27
- icon?: IconSpec;
28
- /** Indicates whether to draw a border around the button */
29
- drawBorder?: boolean;
30
- /** ToolTip text */
31
- toolTip?: string;
32
- /** Direction relative to the button to which the popup is expanded (defaults to Bottom) */
33
- popupPosition?: RelativePosition;
34
- /** 4 styles to tweak the content of the button */
35
- buttonType?: ButtonType;
36
- /** @internal */
37
- initialExpanded?: boolean;
38
- }
39
- /** @internal */
40
- interface SplitButtonState {
41
- expanded: boolean;
42
- }
43
- /**
44
- * SplitButton with an action button on the left and an arrow button that displays a context menu on the right.
45
- * @public
46
- * @deprecated in 3.0. Use SplitButton in itwinui-react instead
47
- */
48
- export declare class SplitButton extends React.Component<SplitButtonProps, SplitButtonState> {
49
- private _arrowElement;
50
- private _buttonRef;
51
- private _closing;
52
- /** @internal */
53
- readonly state: Readonly<SplitButtonState>;
54
- constructor(props: SplitButtonProps);
55
- render(): JSX.Element;
56
- private _handleKeyUp;
57
- private _open;
58
- private _handleArrowClick;
59
- private _handleClose;
60
- }
61
- export {};
62
- //# sourceMappingURL=SplitButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplitButton.d.ts","sourceRoot":"","sources":["../../../../src/core-react/splitbutton/SplitButton.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,oBAAoB,CAAC;AAE5B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAQ,QAAQ,EAAE,MAA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DrC,OAAO,CAAC,YAAY,CASlB;IAEF,OAAO,CAAC,KAAK,CAOX;IAEF,OAAO,CAAC,iBAAiB,CAQvB;IAEF,OAAO,CAAC,YAAY,CASlB;CACH"}
@@ -1,104 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module SplitButton
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.SplitButton = exports.SplitButtonActionType = void 0;
11
- require("./SplitButton.scss");
12
- const classnames_1 = require("classnames");
13
- const React = require("react");
14
- const PopupContextMenu_1 = require("../contextmenu/PopupContextMenu");
15
- const IconComponent_1 = require("../icons/IconComponent");
16
- const appui_abstract_1 = require("@itwin/appui-abstract");
17
- const Button_1 = require("../button/Button");
18
- // TODO: implement
19
- /** @internal */
20
- var SplitButtonActionType;
21
- (function (SplitButtonActionType) {
22
- SplitButtonActionType[SplitButtonActionType["ContextMenu"] = 0] = "ContextMenu";
23
- SplitButtonActionType[SplitButtonActionType["List"] = 1] = "List";
24
- })(SplitButtonActionType = exports.SplitButtonActionType || (exports.SplitButtonActionType = {}));
25
- /**
26
- * SplitButton with an action button on the left and an arrow button that displays a context menu on the right.
27
- * @public
28
- * @deprecated in 3.0. Use SplitButton in itwinui-react instead
29
- */
30
- class SplitButton extends React.Component {
31
- constructor(props) {
32
- super(props);
33
- this._arrowElement = React.createRef();
34
- this._buttonRef = React.createRef();
35
- this._closing = false;
36
- /** @internal */
37
- this.state = { expanded: false };
38
- this._handleKeyUp = (event) => {
39
- if (event.key === appui_abstract_1.SpecialKey.Enter) {
40
- this.props.onExecute && this.props.onExecute();
41
- }
42
- else if (event.key === appui_abstract_1.SpecialKey.ArrowDown && !this.state.expanded) {
43
- this._closing = false;
44
- this._open();
45
- }
46
- else {
47
- this._closing = false;
48
- }
49
- };
50
- this._open = () => {
51
- // istanbul ignore else
52
- if (!this.state.expanded && !this._closing) {
53
- this.setState({ expanded: true });
54
- }
55
- else {
56
- this._closing = false;
57
- }
58
- };
59
- this._handleArrowClick = (event) => {
60
- if (this.state.expanded) {
61
- event.stopPropagation();
62
- this.setState({ expanded: false });
63
- this._closing = false;
64
- }
65
- else {
66
- this._open();
67
- }
68
- };
69
- this._handleClose = (event) => {
70
- // istanbul ignore else
71
- if (this._arrowElement.current && this._buttonRef.current) {
72
- // istanbul ignore next
73
- if (this.state.expanded && "target" in event && this._arrowElement.current.contains(event.target))
74
- this._closing = true;
75
- this.setState((_prevState) => ({ expanded: false }));
76
- this._buttonRef.current.focus();
77
- }
78
- };
79
- this.state = {
80
- expanded: props.initialExpanded !== undefined ? props.initialExpanded : false,
81
- };
82
- }
83
- render() {
84
- let icon = (React.createElement(React.Fragment, null));
85
- if (this.props.icon !== undefined) {
86
- icon = (React.createElement(IconComponent_1.Icon, { iconSpec: this.props.icon }));
87
- }
88
- const borderClassName = (this.props.drawBorder && this.props.buttonType === undefined) ? "core-split-button-border" : undefined;
89
- const typeClassName = this.props.buttonType !== undefined ? (0, Button_1.getButtonTypeClassName)(this.props.buttonType) : "core-split-button-default-colors";
90
- const classNames = (0, classnames_1.default)("core-split-button", typeClassName, borderClassName, this.state.expanded && "core-expanded", this.props.className);
91
- const position = this.props.popupPosition !== undefined ? this.props.popupPosition : appui_abstract_1.RelativePosition.BottomLeft;
92
- return (React.createElement("div", { "data-testid": "core-split-button-root", title: this.props.toolTip, className: classNames, style: this.props.style, tabIndex: 0, onKeyUp: this._handleKeyUp, ref: this._buttonRef, role: "button" },
93
- React.createElement("div", { "data-testid": "core-split-button-label", onClick: this.props.onClick, className: (0, classnames_1.default)("core-split-button-label", this.props.drawBorder && "core-split-button-border"), role: "button", tabIndex: -1 },
94
- icon,
95
- " ",
96
- this.props.label),
97
- React.createElement("div", { className: (0, classnames_1.default)("core-split-button-divider", this.props.drawBorder && "core-split-button-border") }),
98
- React.createElement("div", { className: "core-split-button-arrow", ref: this._arrowElement, onClick: this._handleArrowClick, role: "button", tabIndex: -1 },
99
- React.createElement("div", { className: (0, classnames_1.default)("core-split-button-arrow-icon", "icon", "icon-chevron-down") }),
100
- React.createElement(PopupContextMenu_1.PopupContextMenu, { position: position, target: this._buttonRef.current, animate: false, selectedIndex: 0, onSelect: this._handleClose, onOutsideClick: this._handleClose, onEsc: this._handleClose, isOpen: this.state.expanded, autoflip: false }, this.props.children))));
101
- }
102
- }
103
- exports.SplitButton = SplitButton;
104
- //# sourceMappingURL=SplitButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplitButton.js","sourceRoot":"","sources":["../../../../src/core-react/splitbutton/SplitButton.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,8BAA4B;AAC5B,2CAAoC;AACpC,+BAA+B;AAC/B,sEAAmE;AACnE,0DAAwD;AAExD,0DAAqE;AACrE,6CAAsE;AAEtE,kBAAkB;AAClB,gBAAgB;AAChB,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,+EAAW,CAAA;IACX,iEAAI,CAAA;AACN,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAiCD;;;;GAIG;AACH,MAAa,WAAY,SAAQ,KAAK,CAAC,SAA6C;IAQlF,YAAY,KAAuB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;QARP,kBAAa,GAAG,KAAK,CAAC,SAAS,EAAkB,CAAC;QAClD,eAAU,GAAG,KAAK,CAAC,SAAS,EAAkB,CAAC;QAC/C,aAAQ,GAAY,KAAK,CAAC;QAElC,gBAAgB;QACS,UAAK,GAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAmEzE,iBAAY,GAAG,CAAC,KAA0B,EAAE,EAAE;YACpD,IAAI,KAAK,CAAC,GAAG,KAAK,2BAAU,CAAC,KAAK,EAAE;gBAClC,IAAI,CAAC,KAAK,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3B,cAAc,EAAE,IAAI,CAAC,YAAY,EACjC,KAAK,EAAE,IAAI,CAAC,YAAY,EACxB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAC3B,QAAQ,EAAE,KAAK,IACd,IAAI,CAAC,KAAK,CAAC,QAAQ,CACH,CACf,CACF,CACP,CAAC;IACJ,CAAC;CA0CF;AAjHD,kCAiHC","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 SplitButton\r\n */\r\n\r\nimport \"./SplitButton.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { PopupContextMenu } from \"../contextmenu/PopupContextMenu\";\r\nimport { Icon, IconSpec } from \"../icons/IconComponent\";\r\nimport { CommonProps } from \"../utils/Props\";\r\nimport { RelativePosition, SpecialKey } from \"@itwin/appui-abstract\";\r\nimport { ButtonType, getButtonTypeClassName } from \"../button/Button\";\r\n\r\n// TODO: implement\r\n/** @internal */\r\nexport enum SplitButtonActionType {\r\n ContextMenu, // eslint-disable-line @typescript-eslint/no-shadow\r\n List,\r\n}\r\n\r\n/** Properties for [[SplitButton]] component\r\n * @public\r\n * @deprecated in 3.0. Use SplitButtonProps in itwinui-react instead\r\n */\r\nexport interface SplitButtonProps extends CommonProps {\r\n /** Label to display in click area. */\r\n label: string | React.ReactNode;\r\n /** Listens for click events on button area */\r\n onClick?: (event: any) => any;\r\n /** Listens for execute on button area */\r\n onExecute?: () => any;\r\n /** Specifies icon for Splitbutton component */\r\n icon?: IconSpec;\r\n /** Indicates whether to draw a border around the button */\r\n drawBorder?: boolean;\r\n /** ToolTip text */\r\n toolTip?: string;\r\n /** Direction relative to the button to which the popup is expanded (defaults to Bottom) */\r\n popupPosition?: RelativePosition;\r\n /** 4 styles to tweak the content of the button */\r\n buttonType?: ButtonType; // eslint-disable-line deprecation/deprecation\r\n\r\n /** @internal */\r\n initialExpanded?: boolean;\r\n}\r\n\r\n/** @internal */\r\ninterface SplitButtonState {\r\n expanded: boolean;\r\n}\r\n\r\n/**\r\n * SplitButton with an action button on the left and an arrow button that displays a context menu on the right.\r\n * @public\r\n * @deprecated in 3.0. Use SplitButton in itwinui-react instead\r\n */\r\nexport class SplitButton extends React.Component<SplitButtonProps, SplitButtonState> { // eslint-disable-line deprecation/deprecation\r\n private _arrowElement = React.createRef<HTMLDivElement>();\r\n private _buttonRef = React.createRef<HTMLDivElement>();\r\n private _closing: boolean = false;\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<SplitButtonState> = { expanded: false };\r\n\r\n constructor(props: SplitButtonProps) { // eslint-disable-line deprecation/deprecation\r\n super(props);\r\n\r\n this.state = {\r\n expanded: props.initialExpanded !== undefined ? props.initialExpanded : false,\r\n };\r\n }\r\n\r\n public override render(): JSX.Element {\r\n let icon = (<></>);\r\n if (this.props.icon !== undefined) {\r\n icon = (\r\n <Icon iconSpec={this.props.icon} />\r\n );\r\n }\r\n\r\n const borderClassName = (this.props.drawBorder && this.props.buttonType === undefined) ? \"core-split-button-border\" : undefined;\r\n const typeClassName = this.props.buttonType !== undefined ? getButtonTypeClassName(this.props.buttonType) : \"core-split-button-default-colors\";\r\n const classNames = classnames(\r\n \"core-split-button\",\r\n typeClassName,\r\n borderClassName,\r\n this.state.expanded && \"core-expanded\",\r\n this.props.className);\r\n const position = this.props.popupPosition !== undefined ? this.props.popupPosition : RelativePosition.BottomLeft;\r\n\r\n return (\r\n <div data-testid=\"core-split-button-root\" title={this.props.toolTip}\r\n className={classNames}\r\n style={this.props.style}\r\n tabIndex={0}\r\n onKeyUp={this._handleKeyUp}\r\n ref={this._buttonRef}\r\n role=\"button\"\r\n >\r\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\r\n <div data-testid=\"core-split-button-label\" onClick={this.props.onClick}\r\n className={classnames(\"core-split-button-label\", this.props.drawBorder && \"core-split-button-border\")}\r\n role=\"button\" tabIndex={-1}\r\n >\r\n {icon} {this.props.label}\r\n </div>\r\n <div className={classnames(\"core-split-button-divider\", this.props.drawBorder && \"core-split-button-border\")} />\r\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\r\n <div className={\"core-split-button-arrow\"} ref={this._arrowElement} onClick={this._handleArrowClick}\r\n role=\"button\" tabIndex={-1}\r\n >\r\n <div className={classnames(\"core-split-button-arrow-icon\", \"icon\", \"icon-chevron-down\")} />\r\n <PopupContextMenu\r\n position={position}\r\n target={this._buttonRef.current}\r\n animate={false}\r\n selectedIndex={0}\r\n onSelect={this._handleClose}\r\n onOutsideClick={this._handleClose}\r\n onEsc={this._handleClose}\r\n isOpen={this.state.expanded}\r\n autoflip={false}>\r\n {this.props.children}\r\n </PopupContextMenu>\r\n </div>\r\n </div>\r\n );\r\n }\r\n\r\n private _handleKeyUp = (event: React.KeyboardEvent) => {\r\n if (event.key === SpecialKey.Enter) {\r\n this.props.onExecute && this.props.onExecute();\r\n } else if (event.key === SpecialKey.ArrowDown && !this.state.expanded) {\r\n this._closing = false;\r\n this._open();\r\n } else {\r\n this._closing = false;\r\n }\r\n };\r\n\r\n private _open = () => {\r\n // istanbul ignore else\r\n if (!this.state.expanded && !this._closing) {\r\n this.setState({ expanded: true });\r\n } else {\r\n this._closing = false;\r\n }\r\n };\r\n\r\n private _handleArrowClick = (event: React.MouseEvent) => {\r\n if (this.state.expanded) {\r\n event.stopPropagation();\r\n this.setState({ expanded: false });\r\n this._closing = false;\r\n } else {\r\n this._open();\r\n }\r\n };\r\n\r\n private _handleClose = (event: any) => {\r\n // istanbul ignore else\r\n if (this._arrowElement.current && this._buttonRef.current) {\r\n // istanbul ignore next\r\n if (this.state.expanded && \"target\" in event && this._arrowElement.current.contains(event.target))\r\n this._closing = true;\r\n this.setState((_prevState) => ({ expanded: false }));\r\n this._buttonRef.current.focus();\r\n }\r\n };\r\n}\r\n"]}
@@ -1,137 +0,0 @@
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 "../button/button";
6
- @import "../icons/variables";
7
- @import "../style/baseline";
8
- @import "../style/opacity";
9
- @import "../style/themecolors";
10
- @import "../text/mixins";
11
- @import "~@itwin/itwinui-css/scss/style/typography";
12
-
13
- // cspell:ignore themecolors unbordered
14
-
15
- $split-button-padding: 4px;
16
-
17
- .core-split-button {
18
- flex-shrink: 1;
19
-
20
- @include iui-font-family;
21
- @include uicore-buttons-button;
22
-
23
- padding: $uicore-button-padding;
24
- box-shadow: none;
25
-
26
- cursor: pointer;
27
- margin: 0;
28
- display: flex;
29
- box-sizing: border-box;
30
- line-height: $uicore-line-height;
31
- outline: none;
32
-
33
- &.core-split-button-default-colors {
34
- border-color: $buic-background-control;
35
- color: $buic-foreground-body;
36
- background-color: $buic-background-control;
37
-
38
- > .core-split-button-label {
39
- &:hover {
40
- color: $buic-foreground-primary;
41
- }
42
- }
43
-
44
- > .core-split-button-arrow {
45
- > .core-split-button-arrow-icon {
46
- &:hover {
47
- color: $buic-foreground-primary;
48
- }
49
- }
50
- }
51
-
52
- &:focus {
53
- > .core-split-button-arrow {
54
- > .core-split-button-arrow-icon {
55
- color: $buic-foreground-primary;
56
- }
57
- }
58
- }
59
- }
60
-
61
- > .core-split-button-label {
62
- flex: 1;
63
- text-align: center;
64
-
65
- &.core-split-button-border {
66
- margin: 0 $split-button-padding;
67
- }
68
- }
69
-
70
- &.core-split-button-border {
71
- border-color: $buic-text-color-disabled;
72
- box-shadow: $buic-inputs-boxshadow 0px 1px 1px inset;
73
- }
74
-
75
- > .core-split-button-divider {
76
- width: $split-button-padding + 1px;
77
-
78
- &.core-split-button-border {
79
- border-right: 1px solid currentColor;
80
- opacity: $uicore-opacity-disabled;
81
- }
82
- }
83
-
84
- > .core-split-button-arrow {
85
- > .core-split-button-arrow-icon {
86
- transition: transform .2s;
87
-
88
- text-align: center;
89
- font-size: $uicore-icons-x-small;
90
- line-height: $uicore-line-height;
91
- }
92
-
93
- width: $uicore-line-height;
94
- height: $uicore-line-height;
95
- margin-left: $split-button-padding;
96
-
97
- > .context-menu {
98
- top: $uicore-inputs-padding-bordered;
99
- }
100
-
101
- &:focus {
102
- outline: none;
103
- }
104
- }
105
-
106
- &:active,
107
- &:focus {
108
- @include uicore-buttons-button-unbordered;
109
- border-color: $buic-foreground-focus;
110
-
111
- &.core-split-button-border {
112
- border-color: $buic-background-control;
113
- @include uicore-buttons-button-focused;
114
- }
115
- }
116
-
117
- &:focus {
118
- > .core-split-button-arrow {
119
- border: none;
120
- box-shadow: none;
121
- outline: 0px;
122
- }
123
- }
124
-
125
- &.core-expanded {
126
- border-color: $buic-foreground-focus;
127
-
128
- &.core-split-button-border {
129
- border-color: $buic-background-control;
130
- @include uicore-buttons-button-focused;
131
- }
132
-
133
- > .core-split-button-arrow > .core-split-button-arrow-icon {
134
- transform: scaleY(-1);
135
- }
136
- }
137
- }
@@ -1,11 +0,0 @@
1
- /** @packageDocumentation
2
- * @module Tabs
3
- */
4
- /// <reference types="react" />
5
- import { TabsProps } from "./Tabs";
6
- /** Horizontal tabs meant to represent the current position in a page/section
7
- * @public
8
- * @deprecated in 3.0. Use HorizontalTabs in itwinui-react instead
9
- */
10
- export declare function HorizontalTabs(props: TabsProps): JSX.Element;
11
- //# sourceMappingURL=HorizontalTabs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalTabs.d.ts","sourceRoot":"","sources":["../../../../src/core-react/tabs/HorizontalTabs.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAGH,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGzC;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,eAI9C"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Tabs
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.HorizontalTabs = void 0;
11
- const React = require("react");
12
- const Tabs_1 = require("./Tabs");
13
- const Orientation_1 = require("../enums/Orientation");
14
- /** Horizontal tabs meant to represent the current position in a page/section
15
- * @public
16
- * @deprecated in 3.0. Use HorizontalTabs in itwinui-react instead
17
- */
18
- function HorizontalTabs(props) {
19
- return (React.createElement(Tabs_1.Tabs, { mainClassName: "uicore-tabs-horizontal", orientation: Orientation_1.Orientation.Horizontal, ...props }));
20
- }
21
- exports.HorizontalTabs = HorizontalTabs;
22
- //# sourceMappingURL=HorizontalTabs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalTabs.js","sourceRoot":"","sources":["../../../../src/core-react/tabs/HorizontalTabs.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,iCAAyC;AACzC,sDAAmD;AAEnD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAgB;IAC7C,OAAO,CACL,oBAAC,WAAI,IAAC,aAAa,EAAC,wBAAwB,EAAC,WAAW,EAAE,yBAAW,CAAC,UAAU,KAAM,KAAK,GAAI,CAChG,CAAC;AACJ,CAAC;AAJD,wCAIC","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 Tabs\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Tabs, TabsProps } from \"./Tabs\";\r\nimport { Orientation } from \"../enums/Orientation\";\r\n\r\n/** Horizontal tabs meant to represent the current position in a page/section\r\n * @public\r\n * @deprecated in 3.0. Use HorizontalTabs in itwinui-react instead\r\n */\r\nexport function HorizontalTabs(props: TabsProps) {\r\n return (\r\n <Tabs mainClassName=\"uicore-tabs-horizontal\" orientation={Orientation.Horizontal} {...props} />\r\n );\r\n}\r\n"]}
@@ -1,77 +0,0 @@
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-horizontal {
9
-
10
- @include uicore-tabs;
11
-
12
- > li {
13
-
14
- display: inline-block;
15
- margin: 0 -1px 0 0;
16
- padding: 0;
17
-
18
- > a {
19
-
20
- line-height: $uicore-line-height;
21
- padding: 9px 14px;
22
- margin: 0;
23
- border-bottom: 0 none transparent;
24
- background: $buic-background-tab-inactive;
25
- text-align: center;
26
-
27
- $bar-size: 2px;
28
-
29
- .uicore-tabs-inline-label {
30
- display: grid;
31
- grid-template-columns: auto 1fr;
32
- align-items: center;
33
- }
34
-
35
- .uicore-tabs-subLabel {
36
- white-space: nowrap;
37
- }
38
-
39
- &::after {
40
-
41
- width: 100%;
42
- height: $bar-size;
43
- top: $bar-size;
44
- padding-left: $bar-size;
45
- padding-right: $bar-size;
46
- box-sizing: border-box;
47
- background-clip: content-box;
48
- }
49
-
50
- &:focus {
51
- background-color: $buic-background-active-overlay;
52
- outline: none;
53
- }
54
- }
55
-
56
- &:not(.core-active) {
57
- border-bottom: 1px solid $buic-background-dialog-stroke;
58
- }
59
-
60
- &:not(:first-child) {
61
- border-left: 1px solid $buic-background-dialog-stroke;
62
- }
63
-
64
- &.core-active {
65
- > a {
66
-
67
- color: $buic-foreground-primary;
68
- background-color: $buic-background-tab-active;
69
-
70
- &:focus {
71
- background-color: $buic-background-active-overlay;
72
- }
73
- }
74
- }
75
- }
76
-
77
- }
@@ -1,11 +0,0 @@
1
- /** @packageDocumentation
2
- * @module Text
3
- */
4
- /// <reference types="react" />
5
- import { TextProps } from "./TextProps";
6
- /** Styled headline text React functional component
7
- * @public
8
- * @deprecated in 3.0. Use Headline in itwinui-react instead
9
- */
10
- export declare function Headline(props: TextProps): JSX.Element;
11
- //# sourceMappingURL=Headline.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Headline.d.ts","sourceRoot":"","sources":["../../../../src/core-react/text/Headline.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,eAExC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Text
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.Headline = void 0;
11
- const React = require("react");
12
- const StyledText_1 = require("./StyledText");
13
- /** Styled headline text React functional component
14
- * @public
15
- * @deprecated in 3.0. Use Headline in itwinui-react instead
16
- */
17
- function Headline(props) {
18
- return React.createElement(StyledText_1.StyledText, { ...props, mainClassName: "uicore-text-headline" });
19
- }
20
- exports.Headline = Headline;
21
- //# sourceMappingURL=Headline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../../src/core-react/text/Headline.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,6CAA0C;AAG1C;;;GAGG;AACH,SAAgB,QAAQ,CAAC,KAAgB;IACvC,OAAO,oBAAC,uBAAU,OAAK,KAAK,EAAE,aAAa,EAAC,sBAAsB,GAAG,CAAC;AACxE,CAAC;AAFD,4BAEC","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 headline text React functional component\r\n * @public\r\n * @deprecated in 3.0. Use Headline in itwinui-react instead\r\n */\r\nexport function Headline(props: TextProps) {\r\n return <StyledText {...props} mainClassName=\"uicore-text-headline\" />;\r\n}\r\n"]}
@@ -1,11 +0,0 @@
1
- /** @packageDocumentation
2
- * @module Text
3
- */
4
- /// <reference types="react" />
5
- import { TextProps } from "./TextProps";
6
- /** Styled leading text React functional component
7
- * @public
8
- * @deprecated in 3.0. Use Leading in itwinui-react instead
9
- */
10
- export declare function LeadingText(props: TextProps): JSX.Element;
11
- //# sourceMappingURL=LeadingText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LeadingText.d.ts","sourceRoot":"","sources":["../../../../src/core-react/text/LeadingText.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,eAE3C"}