@itwin/itwinui-react 2.0.0-dev.0 → 2.0.0-dev.2

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 (242) hide show
  1. package/cjs/core/Alert/Alert.js +3 -3
  2. package/cjs/core/Breadcrumbs/Breadcrumbs.js +1 -2
  3. package/cjs/core/Buttons/DropdownButton/DropdownButton.js +1 -3
  4. package/cjs/core/Buttons/IdeasButton/IdeasButton.js +1 -2
  5. package/cjs/core/Buttons/SplitButton/SplitButton.js +1 -3
  6. package/cjs/core/Carousel/CarouselNavigation.js +3 -4
  7. package/cjs/core/ColorPicker/ColorInputPanel.js +1 -2
  8. package/cjs/core/ComboBox/ComboBoxEndIcon.js +1 -2
  9. package/cjs/core/DatePicker/DatePicker.js +4 -8
  10. package/cjs/core/Dialog/DialogTitleBar.js +1 -2
  11. package/cjs/core/ExpandableBlock/ExpandableBlock.js +1 -2
  12. package/cjs/core/FileUpload/FileUploadTemplate.js +1 -2
  13. package/cjs/core/Header/Header.js +2 -3
  14. package/cjs/core/Header/HeaderBreadcrumbs.js +1 -2
  15. package/cjs/core/Header/HeaderDropdownButton.js +2 -5
  16. package/cjs/core/Header/HeaderSplitButton.js +1 -3
  17. package/cjs/core/InformationPanel/InformationPanelHeader.js +1 -2
  18. package/cjs/core/Menu/MenuItem.js +1 -2
  19. package/cjs/core/ProgressIndicators/ProgressRadial/ProgressRadial.js +2 -4
  20. package/cjs/core/Select/Select.js +1 -2
  21. package/cjs/core/SideNavigation/SideNavigation.js +1 -2
  22. package/cjs/core/Surface/Surface.d.ts +0 -2
  23. package/cjs/core/Surface/Surface.js +9 -7
  24. package/cjs/core/Table/SubRowExpander.js +2 -2
  25. package/cjs/core/Table/Table.js +1 -3
  26. package/cjs/core/Table/TablePaginator.js +2 -4
  27. package/cjs/core/Table/columns/actionColumn.js +2 -2
  28. package/cjs/core/Table/columns/expanderColumn.js +2 -2
  29. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +1 -2
  30. package/cjs/core/Table/filters/FilterToggle.js +1 -3
  31. package/cjs/core/Tabs/Tabs.d.ts +32 -12
  32. package/cjs/core/Tabs/Tabs.js +8 -1
  33. package/cjs/core/Tabs/index.d.ts +2 -2
  34. package/cjs/core/Tabs/index.js +2 -1
  35. package/cjs/core/Tag/Tag.js +1 -2
  36. package/cjs/core/Tile/Tile.js +3 -6
  37. package/cjs/core/Toast/Toast.js +1 -2
  38. package/cjs/core/Tree/TreeNodeExpander.js +2 -2
  39. package/cjs/core/Typography/Body/Body.d.ts +5 -3
  40. package/cjs/core/Typography/Body/Body.js +2 -3
  41. package/cjs/core/Typography/Headline/Headline.d.ts +2 -3
  42. package/cjs/core/Typography/Headline/Headline.js +2 -3
  43. package/cjs/core/Typography/Leading/Leading.d.ts +2 -3
  44. package/cjs/core/Typography/Leading/Leading.js +2 -3
  45. package/cjs/core/Typography/Small/Small.d.ts +2 -3
  46. package/cjs/core/Typography/Small/Small.js +2 -3
  47. package/cjs/core/Typography/Subheading/Subheading.d.ts +2 -3
  48. package/cjs/core/Typography/Subheading/Subheading.js +2 -3
  49. package/cjs/core/Typography/Text/Text.d.ts +2 -0
  50. package/cjs/core/Typography/Text/Text.js +2 -0
  51. package/cjs/core/Typography/Title/Title.d.ts +2 -3
  52. package/cjs/core/Typography/Title/Title.js +2 -3
  53. package/cjs/core/index.d.ts +1 -1
  54. package/cjs/core/index.js +4 -3
  55. package/cjs/core/utils/components/index.d.ts +0 -1
  56. package/cjs/core/utils/components/index.js +0 -1
  57. package/cjs/core/utils/functions/colors.d.ts +11 -11
  58. package/cjs/core/utils/functions/colors.js +11 -11
  59. package/cjs/core/utils/{components/icons.d.ts → icons/StatusIconMap.d.ts} +1 -1
  60. package/cjs/core/utils/icons/StatusIconMap.js +52 -0
  61. package/cjs/core/utils/icons/SvgCalendar.d.ts +2 -0
  62. package/cjs/core/utils/icons/SvgCalendar.js +47 -0
  63. package/cjs/core/utils/icons/SvgCaretDownSmall.d.ts +2 -0
  64. package/cjs/core/utils/icons/SvgCaretDownSmall.js +47 -0
  65. package/cjs/core/utils/icons/SvgCaretRightSmall.d.ts +2 -0
  66. package/cjs/core/utils/icons/SvgCaretRightSmall.js +47 -0
  67. package/cjs/core/utils/icons/SvgCaretUpSmall.d.ts +2 -0
  68. package/cjs/core/utils/icons/SvgCaretUpSmall.js +47 -0
  69. package/cjs/core/utils/icons/SvgCheckmark.d.ts +2 -0
  70. package/cjs/core/utils/icons/SvgCheckmark.js +47 -0
  71. package/cjs/core/utils/icons/SvgCheckmarkSmall.d.ts +2 -0
  72. package/cjs/core/utils/icons/SvgCheckmarkSmall.js +47 -0
  73. package/cjs/core/utils/icons/SvgChevronLeft.d.ts +2 -0
  74. package/cjs/core/utils/icons/SvgChevronLeft.js +47 -0
  75. package/cjs/core/utils/icons/SvgChevronLeftDouble.d.ts +2 -0
  76. package/cjs/core/utils/icons/SvgChevronLeftDouble.js +47 -0
  77. package/cjs/core/utils/icons/SvgChevronRight.d.ts +2 -0
  78. package/cjs/core/utils/icons/SvgChevronRight.js +47 -0
  79. package/cjs/core/utils/icons/SvgChevronRightDouble.d.ts +2 -0
  80. package/cjs/core/utils/icons/SvgChevronRightDouble.js +47 -0
  81. package/cjs/core/utils/icons/SvgClose.d.ts +2 -0
  82. package/cjs/core/utils/icons/SvgClose.js +47 -0
  83. package/cjs/core/utils/icons/SvgCloseSmall.d.ts +2 -0
  84. package/cjs/core/utils/icons/SvgCloseSmall.js +47 -0
  85. package/cjs/core/utils/icons/SvgColumnManager.d.ts +2 -0
  86. package/cjs/core/utils/icons/SvgColumnManager.js +47 -0
  87. package/cjs/core/utils/icons/SvgFilter.d.ts +2 -0
  88. package/cjs/core/utils/icons/SvgFilter.js +47 -0
  89. package/cjs/core/utils/icons/SvgFilterHollow.d.ts +2 -0
  90. package/cjs/core/utils/icons/SvgFilterHollow.js +47 -0
  91. package/cjs/core/utils/icons/SvgImportantSmall.d.ts +2 -0
  92. package/cjs/core/utils/icons/SvgImportantSmall.js +47 -0
  93. package/cjs/core/utils/icons/SvgInfoCircular.d.ts +2 -0
  94. package/cjs/core/utils/icons/SvgInfoCircular.js +47 -0
  95. package/cjs/core/utils/icons/SvgMore.d.ts +2 -0
  96. package/cjs/core/utils/icons/SvgMore.js +47 -0
  97. package/cjs/core/utils/icons/SvgMoreVertical.d.ts +2 -0
  98. package/cjs/core/utils/icons/SvgMoreVertical.js +47 -0
  99. package/cjs/core/utils/icons/SvgNew.d.ts +2 -0
  100. package/cjs/core/utils/icons/SvgNew.js +47 -0
  101. package/cjs/core/utils/icons/SvgSmileyHappy.d.ts +2 -0
  102. package/cjs/core/utils/icons/SvgSmileyHappy.js +47 -0
  103. package/cjs/core/utils/icons/SvgSortDown.d.ts +2 -0
  104. package/cjs/core/utils/icons/SvgSortDown.js +47 -0
  105. package/cjs/core/utils/icons/SvgSortUp.d.ts +2 -0
  106. package/cjs/core/utils/icons/SvgSortUp.js +47 -0
  107. package/cjs/core/utils/icons/SvgStatusError.d.ts +2 -0
  108. package/cjs/core/utils/icons/SvgStatusError.js +47 -0
  109. package/cjs/core/utils/icons/SvgStatusSuccess.d.ts +2 -0
  110. package/cjs/core/utils/icons/SvgStatusSuccess.js +47 -0
  111. package/cjs/core/utils/icons/SvgStatusWarning.d.ts +2 -0
  112. package/cjs/core/utils/icons/SvgStatusWarning.js +47 -0
  113. package/cjs/core/utils/icons/SvgSwap.d.ts +2 -0
  114. package/cjs/core/utils/icons/SvgSwap.js +47 -0
  115. package/cjs/core/utils/icons/SvgUpload.d.ts +2 -0
  116. package/cjs/core/utils/icons/SvgUpload.js +47 -0
  117. package/cjs/core/utils/icons/index.d.ts +29 -0
  118. package/cjs/core/utils/icons/index.js +49 -0
  119. package/cjs/core/utils/index.d.ts +1 -0
  120. package/cjs/core/utils/index.js +1 -0
  121. package/esm/core/Alert/Alert.js +4 -4
  122. package/esm/core/Breadcrumbs/Breadcrumbs.js +1 -2
  123. package/esm/core/Buttons/DropdownButton/DropdownButton.js +1 -3
  124. package/esm/core/Buttons/IdeasButton/IdeasButton.js +1 -2
  125. package/esm/core/Buttons/SplitButton/SplitButton.js +1 -3
  126. package/esm/core/Carousel/CarouselNavigation.js +1 -2
  127. package/esm/core/ColorPicker/ColorInputPanel.js +1 -2
  128. package/esm/core/ComboBox/ComboBoxEndIcon.js +1 -2
  129. package/esm/core/DatePicker/DatePicker.js +1 -5
  130. package/esm/core/Dialog/DialogTitleBar.js +1 -2
  131. package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -2
  132. package/esm/core/FileUpload/FileUploadTemplate.js +1 -2
  133. package/esm/core/Header/Header.js +2 -3
  134. package/esm/core/Header/HeaderBreadcrumbs.js +1 -2
  135. package/esm/core/Header/HeaderDropdownButton.js +1 -4
  136. package/esm/core/Header/HeaderSplitButton.js +1 -3
  137. package/esm/core/InformationPanel/InformationPanelHeader.js +1 -2
  138. package/esm/core/Menu/MenuItem.js +1 -2
  139. package/esm/core/ProgressIndicators/ProgressRadial/ProgressRadial.js +3 -5
  140. package/esm/core/Select/Select.js +1 -2
  141. package/esm/core/SideNavigation/SideNavigation.js +1 -2
  142. package/esm/core/Surface/Surface.d.ts +0 -2
  143. package/esm/core/Surface/Surface.js +9 -7
  144. package/esm/core/Table/SubRowExpander.js +1 -1
  145. package/esm/core/Table/Table.js +2 -4
  146. package/esm/core/Table/TablePaginator.js +1 -3
  147. package/esm/core/Table/columns/actionColumn.js +1 -1
  148. package/esm/core/Table/columns/expanderColumn.js +1 -1
  149. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +1 -2
  150. package/esm/core/Table/filters/FilterToggle.js +1 -3
  151. package/esm/core/Tabs/Tabs.d.ts +32 -12
  152. package/esm/core/Tabs/Tabs.js +8 -1
  153. package/esm/core/Tabs/index.d.ts +2 -2
  154. package/esm/core/Tabs/index.js +1 -1
  155. package/esm/core/Tag/Tag.js +1 -2
  156. package/esm/core/Tile/Tile.js +1 -4
  157. package/esm/core/Toast/Toast.js +1 -2
  158. package/esm/core/Tree/TreeNodeExpander.js +1 -1
  159. package/esm/core/Typography/Body/Body.d.ts +5 -3
  160. package/esm/core/Typography/Body/Body.js +2 -3
  161. package/esm/core/Typography/Headline/Headline.d.ts +2 -3
  162. package/esm/core/Typography/Headline/Headline.js +2 -3
  163. package/esm/core/Typography/Leading/Leading.d.ts +2 -3
  164. package/esm/core/Typography/Leading/Leading.js +2 -3
  165. package/esm/core/Typography/Small/Small.d.ts +2 -3
  166. package/esm/core/Typography/Small/Small.js +2 -3
  167. package/esm/core/Typography/Subheading/Subheading.d.ts +2 -3
  168. package/esm/core/Typography/Subheading/Subheading.js +2 -3
  169. package/esm/core/Typography/Text/Text.d.ts +2 -0
  170. package/esm/core/Typography/Text/Text.js +2 -0
  171. package/esm/core/Typography/Title/Title.d.ts +2 -3
  172. package/esm/core/Typography/Title/Title.js +2 -3
  173. package/esm/core/index.d.ts +1 -1
  174. package/esm/core/index.js +1 -1
  175. package/esm/core/utils/components/index.d.ts +0 -1
  176. package/esm/core/utils/components/index.js +0 -1
  177. package/esm/core/utils/functions/colors.d.ts +11 -11
  178. package/esm/core/utils/functions/colors.js +11 -11
  179. package/esm/core/utils/{components/icons.d.ts → icons/StatusIconMap.d.ts} +1 -1
  180. package/esm/core/utils/{components/icons.js → icons/StatusIconMap.js} +5 -5
  181. package/esm/core/utils/icons/SvgCalendar.d.ts +2 -0
  182. package/esm/core/utils/icons/SvgCalendar.js +20 -0
  183. package/esm/core/utils/icons/SvgCaretDownSmall.d.ts +2 -0
  184. package/esm/core/utils/icons/SvgCaretDownSmall.js +20 -0
  185. package/esm/core/utils/icons/SvgCaretRightSmall.d.ts +2 -0
  186. package/esm/core/utils/icons/SvgCaretRightSmall.js +20 -0
  187. package/esm/core/utils/icons/SvgCaretUpSmall.d.ts +2 -0
  188. package/esm/core/utils/icons/SvgCaretUpSmall.js +20 -0
  189. package/esm/core/utils/icons/SvgCheckmark.d.ts +2 -0
  190. package/esm/core/utils/icons/SvgCheckmark.js +20 -0
  191. package/esm/core/utils/icons/SvgCheckmarkSmall.d.ts +2 -0
  192. package/esm/core/utils/icons/SvgCheckmarkSmall.js +20 -0
  193. package/esm/core/utils/icons/SvgChevronLeft.d.ts +2 -0
  194. package/esm/core/utils/icons/SvgChevronLeft.js +20 -0
  195. package/esm/core/utils/icons/SvgChevronLeftDouble.d.ts +2 -0
  196. package/esm/core/utils/icons/SvgChevronLeftDouble.js +20 -0
  197. package/esm/core/utils/icons/SvgChevronRight.d.ts +2 -0
  198. package/esm/core/utils/icons/SvgChevronRight.js +20 -0
  199. package/esm/core/utils/icons/SvgChevronRightDouble.d.ts +2 -0
  200. package/esm/core/utils/icons/SvgChevronRightDouble.js +20 -0
  201. package/esm/core/utils/icons/SvgClose.d.ts +2 -0
  202. package/esm/core/utils/icons/SvgClose.js +20 -0
  203. package/esm/core/utils/icons/SvgCloseSmall.d.ts +2 -0
  204. package/esm/core/utils/icons/SvgCloseSmall.js +20 -0
  205. package/esm/core/utils/icons/SvgColumnManager.d.ts +2 -0
  206. package/esm/core/utils/icons/SvgColumnManager.js +20 -0
  207. package/esm/core/utils/icons/SvgFilter.d.ts +2 -0
  208. package/esm/core/utils/icons/SvgFilter.js +20 -0
  209. package/esm/core/utils/icons/SvgFilterHollow.d.ts +2 -0
  210. package/esm/core/utils/icons/SvgFilterHollow.js +20 -0
  211. package/esm/core/utils/icons/SvgImportantSmall.d.ts +2 -0
  212. package/esm/core/utils/icons/SvgImportantSmall.js +20 -0
  213. package/esm/core/utils/icons/SvgInfoCircular.d.ts +2 -0
  214. package/esm/core/utils/icons/SvgInfoCircular.js +20 -0
  215. package/esm/core/utils/icons/SvgMore.d.ts +2 -0
  216. package/esm/core/utils/icons/SvgMore.js +20 -0
  217. package/esm/core/utils/icons/SvgMoreVertical.d.ts +2 -0
  218. package/esm/core/utils/icons/SvgMoreVertical.js +20 -0
  219. package/esm/core/utils/icons/SvgNew.d.ts +2 -0
  220. package/esm/core/utils/icons/SvgNew.js +20 -0
  221. package/esm/core/utils/icons/SvgSmileyHappy.d.ts +2 -0
  222. package/esm/core/utils/icons/SvgSmileyHappy.js +20 -0
  223. package/esm/core/utils/icons/SvgSortDown.d.ts +2 -0
  224. package/esm/core/utils/icons/SvgSortDown.js +20 -0
  225. package/esm/core/utils/icons/SvgSortUp.d.ts +2 -0
  226. package/esm/core/utils/icons/SvgSortUp.js +20 -0
  227. package/esm/core/utils/icons/SvgStatusError.d.ts +2 -0
  228. package/esm/core/utils/icons/SvgStatusError.js +20 -0
  229. package/esm/core/utils/icons/SvgStatusSuccess.d.ts +2 -0
  230. package/esm/core/utils/icons/SvgStatusSuccess.js +20 -0
  231. package/esm/core/utils/icons/SvgStatusWarning.d.ts +2 -0
  232. package/esm/core/utils/icons/SvgStatusWarning.js +20 -0
  233. package/esm/core/utils/icons/SvgSwap.d.ts +2 -0
  234. package/esm/core/utils/icons/SvgSwap.js +20 -0
  235. package/esm/core/utils/icons/SvgUpload.d.ts +2 -0
  236. package/esm/core/utils/icons/SvgUpload.js +20 -0
  237. package/esm/core/utils/icons/index.d.ts +29 -0
  238. package/esm/core/utils/icons/index.js +33 -0
  239. package/esm/core/utils/index.d.ts +1 -0
  240. package/esm/core/utils/index.js +1 -0
  241. package/package.json +20 -4
  242. package/cjs/core/utils/components/icons.js +0 -32
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgSmileyHappy = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'M8 12.5a5.19 5.19 0 0 1-3.872-1.666.5.5 0 1 1 .744-.668A4.191 4.191 0 0 0 8 11.5a4.191 4.191 0 0 0 3.128-1.334.5.5 0 1 1 .744.668A5.19 5.19 0 0 1 8 12.5zM11 5a1.146 1.146 0 0 1 1 1.25 1.146 1.146 0 0 1-1 1.25 1.146 1.146 0 0 1-1-1.25A1.146 1.146 0 0 1 11 5zM5 5a1.146 1.146 0 0 1 1 1.25A1.146 1.146 0 0 1 5 7.5a1.146 1.146 0 0 1-1-1.25A1.146 1.146 0 0 1 5 5zm3-5a8 8 0 1 0 8 8 8 8 0 0 0-8-8z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgSortDown: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgSortDown = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm7 0v12.7l-3.8-3.7-1.2 1.2 6 5.8 1.2-1.2 4.8-4.6-1.2-1.2-3.8 3.7v-12.7z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgSortUp: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgSortUp = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm9 16v-12.7l3.8 3.7 1.2-1.2-6-5.8-1.2 1.2-4.8 4.6 1.2 1.2 3.8-3.7v12.7z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgStatusError: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgStatusError = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm8 0a8 8 0 1 0 8 8 8 8 0 0 0 -8-8zm1 12h-2v-2h2zm0-3h-2v-5h2z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgStatusSuccess: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgStatusSuccess = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm8 0a8 8 0 1 0 8 8 8 8 0 0 0 -8-8zm-1.35 12-3.65-3.41 1.4-1.3 2.36 2.2 4.83-4.49 1.41 1.29z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgStatusWarning: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgStatusWarning = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm15.86807 13.26721-6.77-11.62a1.15 1.15 0 0 0 -1.1-.67 1.17 1.17 0 0 0 -1.1.69l-6.77 11.59a1.2 1.2 0 0 0 1.1 1.72h13.45a1.19 1.19 0 0 0 1.19-1.71zm-6.87-.29h-2v-2h2zm0-3h-2v-5h2z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgSwap: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgSwap = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm5 15-3.78125-3.5 3.78125-3.5v2h8v3h-8zm6-7 3.78125-3.5-3.78125-3.5v2h-8v3h8z' })));
20
+ };
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgUpload: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ /*---------------------------------------------------------------------------------------------
13
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
14
+ * See LICENSE.md in the project root for license terms and full copyright notice.
15
+ *--------------------------------------------------------------------------------------------*/
16
+ import * as React from 'react';
17
+ export var SvgUpload = function (props) {
18
+ return (React.createElement("svg", __assign({ viewBox: '0 0 16 16' }, props),
19
+ React.createElement("path", { d: 'm2 5h4v7h4v-7h4l-6-5zm12 6v3h-12v-3h-2v5h16v-5z' })));
20
+ };
@@ -0,0 +1,29 @@
1
+ export * from './StatusIconMap';
2
+ export * from './SvgStatusSuccess';
3
+ export * from './SvgStatusWarning';
4
+ export * from './SvgStatusError';
5
+ export * from './SvgInfoCircular';
6
+ export * from './SvgClose';
7
+ export * from './SvgCloseSmall';
8
+ export * from './SvgChevronLeft';
9
+ export * from './SvgChevronRight';
10
+ export * from './SvgChevronLeftDouble';
11
+ export * from './SvgChevronRightDouble';
12
+ export * from './SvgCaretUpSmall';
13
+ export * from './SvgCaretDownSmall';
14
+ export * from './SvgCaretRightSmall';
15
+ export * from './SvgSmileyHappy';
16
+ export * from './SvgSwap';
17
+ export * from './SvgUpload';
18
+ export * from './SvgMoreVertical';
19
+ export * from './SvgCheckmark';
20
+ export * from './SvgCheckmarkSmall';
21
+ export * from './SvgImportantSmall';
22
+ export * from './SvgSortUp';
23
+ export * from './SvgSortDown';
24
+ export * from './SvgColumnManager';
25
+ export * from './SvgMore';
26
+ export * from './SvgNew';
27
+ export * from './SvgFilter';
28
+ export * from './SvgFilterHollow';
29
+ export * from './SvgCalendar';
@@ -0,0 +1,33 @@
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
+ export * from './StatusIconMap';
6
+ export * from './SvgStatusSuccess';
7
+ export * from './SvgStatusWarning';
8
+ export * from './SvgStatusError';
9
+ export * from './SvgInfoCircular';
10
+ export * from './SvgClose';
11
+ export * from './SvgCloseSmall';
12
+ export * from './SvgChevronLeft';
13
+ export * from './SvgChevronRight';
14
+ export * from './SvgChevronLeftDouble';
15
+ export * from './SvgChevronRightDouble';
16
+ export * from './SvgCaretUpSmall';
17
+ export * from './SvgCaretDownSmall';
18
+ export * from './SvgCaretRightSmall';
19
+ export * from './SvgSmileyHappy';
20
+ export * from './SvgSwap';
21
+ export * from './SvgUpload';
22
+ export * from './SvgMoreVertical';
23
+ export * from './SvgCheckmark';
24
+ export * from './SvgCheckmarkSmall';
25
+ export * from './SvgImportantSmall';
26
+ export * from './SvgSortUp';
27
+ export * from './SvgSortDown';
28
+ export * from './SvgColumnManager';
29
+ export * from './SvgMore';
30
+ export * from './SvgNew';
31
+ export * from './SvgFilter';
32
+ export * from './SvgFilterHollow';
33
+ export * from './SvgCalendar';
@@ -3,3 +3,4 @@ export * from './hooks';
3
3
  export * from './components';
4
4
  export * from './props';
5
5
  export * from './color';
6
+ export * from './icons';
@@ -7,3 +7,4 @@ export * from './hooks';
7
7
  export * from './components';
8
8
  export * from './props';
9
9
  export * from './color';
10
+ export * from './icons';
package/package.json CHANGED
@@ -1,11 +1,28 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-react",
3
- "version": "2.0.0-dev.0",
3
+ "version": "2.0.0-dev.2",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "cjs/index.js",
7
7
  "module": "esm/index.js",
8
- "typings": "cjs/index.d.ts",
8
+ "types": "cjs/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./esm/index.d.ts",
13
+ "default": "./esm/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./cjs/index.d.ts",
17
+ "default": "./cjs/index.js"
18
+ }
19
+ },
20
+ "./cjs": "./cjs/index.js",
21
+ "./esm": "./esm/index.js",
22
+ "./cjs/core/utils": "./cjs/core/utils/index.js",
23
+ "./esm/core/utils": "./esm/core/utils/index.js",
24
+ "./*": "./*"
25
+ },
9
26
  "files": [
10
27
  "cjs",
11
28
  "esm",
@@ -44,8 +61,7 @@
44
61
  "createComponent": "node ../../scripts/createComponent.js"
45
62
  },
46
63
  "dependencies": {
47
- "@itwin/itwinui-css": "1.0.0-dev.13",
48
- "@itwin/itwinui-icons-react": "^1.10.1",
64
+ "@itwin/itwinui-css": "dev",
49
65
  "@itwin/itwinui-illustrations-react": "^1.3.1",
50
66
  "@itwin/itwinui-variables": "1.0.0-dev.0",
51
67
  "@tippyjs/react": "^4.2.6",
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.StatusIconMap = void 0;
18
- /*---------------------------------------------------------------------------------------------
19
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
20
- * See LICENSE.md in the project root for license terms and full copyright notice.
21
- *--------------------------------------------------------------------------------------------*/
22
- var InfoCircular_1 = __importDefault(require("@itwin/itwinui-icons-react/cjs/icons/InfoCircular"));
23
- var StatusError_1 = __importDefault(require("@itwin/itwinui-icons-react/cjs/icons/StatusError"));
24
- var StatusSuccess_1 = __importDefault(require("@itwin/itwinui-icons-react/cjs/icons/StatusSuccess"));
25
- var StatusWarning_1 = __importDefault(require("@itwin/itwinui-icons-react/cjs/icons/StatusWarning"));
26
- var react_1 = __importDefault(require("react"));
27
- exports.StatusIconMap = {
28
- negative: function (args) { return react_1.default.createElement(StatusError_1.default, __assign({ "aria-hidden": true }, args)); },
29
- positive: function (args) { return react_1.default.createElement(StatusSuccess_1.default, __assign({ "aria-hidden": true }, args)); },
30
- warning: function (args) { return react_1.default.createElement(StatusWarning_1.default, __assign({ "aria-hidden": true }, args)); },
31
- informational: function (args) { return (react_1.default.createElement(InfoCircular_1.default, __assign({ "aria-hidden": true }, args))); },
32
- };