@itwin/itwinui-react 2.5.1 → 2.6.0

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 (48) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/cjs/core/ComboBox/ComboBox.js +4 -1
  3. package/cjs/core/FileUpload/FileEmptyCard.d.ts +29 -0
  4. package/cjs/core/FileUpload/FileEmptyCard.js +50 -0
  5. package/cjs/core/FileUpload/FileUploadCard.d.ts +116 -0
  6. package/cjs/core/FileUpload/FileUploadCard.js +144 -0
  7. package/cjs/core/FileUpload/FileUploadTemplate.d.ts +1 -1
  8. package/cjs/core/FileUpload/FileUploadTemplate.js +4 -3
  9. package/cjs/core/FileUpload/index.d.ts +4 -0
  10. package/cjs/core/FileUpload/index.js +5 -1
  11. package/cjs/core/Header/HeaderLogo.d.ts +8 -11
  12. package/cjs/core/Header/HeaderLogo.js +7 -12
  13. package/cjs/core/ToggleSwitch/ToggleSwitch.d.ts +12 -2
  14. package/cjs/core/ToggleSwitch/ToggleSwitch.js +2 -2
  15. package/cjs/core/index.d.ts +2 -2
  16. package/cjs/core/index.js +5 -3
  17. package/cjs/core/utils/hooks/index.d.ts +1 -0
  18. package/cjs/core/utils/hooks/index.js +1 -0
  19. package/cjs/core/utils/hooks/useId.d.ts +5 -0
  20. package/cjs/core/utils/hooks/useId.js +20 -0
  21. package/cjs/core/utils/icons/SvgDocument.d.ts +2 -0
  22. package/cjs/core/utils/icons/SvgDocument.js +36 -0
  23. package/cjs/core/utils/icons/index.d.ts +1 -0
  24. package/cjs/core/utils/icons/index.js +1 -0
  25. package/esm/core/ComboBox/ComboBox.js +4 -1
  26. package/esm/core/FileUpload/FileEmptyCard.d.ts +29 -0
  27. package/esm/core/FileUpload/FileEmptyCard.js +44 -0
  28. package/esm/core/FileUpload/FileUploadCard.d.ts +116 -0
  29. package/esm/core/FileUpload/FileUploadCard.js +138 -0
  30. package/esm/core/FileUpload/FileUploadTemplate.d.ts +1 -1
  31. package/esm/core/FileUpload/FileUploadTemplate.js +4 -3
  32. package/esm/core/FileUpload/index.d.ts +4 -0
  33. package/esm/core/FileUpload/index.js +2 -0
  34. package/esm/core/Header/HeaderLogo.d.ts +8 -11
  35. package/esm/core/Header/HeaderLogo.js +7 -11
  36. package/esm/core/ToggleSwitch/ToggleSwitch.d.ts +12 -2
  37. package/esm/core/ToggleSwitch/ToggleSwitch.js +2 -2
  38. package/esm/core/index.d.ts +2 -2
  39. package/esm/core/index.js +1 -1
  40. package/esm/core/utils/hooks/index.d.ts +1 -0
  41. package/esm/core/utils/hooks/index.js +1 -0
  42. package/esm/core/utils/hooks/useId.d.ts +5 -0
  43. package/esm/core/utils/hooks/useId.js +14 -0
  44. package/esm/core/utils/icons/SvgDocument.d.ts +2 -0
  45. package/esm/core/utils/icons/SvgDocument.js +9 -0
  46. package/esm/core/utils/icons/index.d.ts +1 -0
  47. package/esm/core/utils/icons/index.js +1 -0
  48. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SvgDocument: (props: React.ComponentProps<'svg'>) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ export const SvgDocument = (props) => {
7
+ return (React.createElement("svg", { viewBox: '0 0 16 16', ...props },
8
+ React.createElement("path", { d: 'M10 0H2v16h12V4h-4zm1 0v3h3z' })));
9
+ };
@@ -27,3 +27,4 @@ export * from './SvgNew';
27
27
  export * from './SvgFilter';
28
28
  export * from './SvgFilterHollow';
29
29
  export * from './SvgCalendar';
30
+ export * from './SvgDocument';
@@ -31,3 +31,4 @@ export * from './SvgNew';
31
31
  export * from './SvgFilter';
32
32
  export * from './SvgFilterHollow';
33
33
  export * from './SvgCalendar';
34
+ export * from './SvgDocument';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-react",
3
- "version": "2.5.1",
3
+ "version": "2.6.0",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "cjs/index.js",
@@ -62,7 +62,7 @@
62
62
  "dev:types": "concurrently \"tsc -p tsconfig.cjs.json --emitDeclarationOnly --watch --preserveWatchOutput\" \"tsc -p tsconfig.esm.json --emitDeclarationOnly --watch --preserveWatchOutput\""
63
63
  },
64
64
  "dependencies": {
65
- "@itwin/itwinui-css": "^1.6.0",
65
+ "@itwin/itwinui-css": "^1.7.0",
66
66
  "@itwin/itwinui-illustrations-react": "^2.0.0",
67
67
  "@itwin/itwinui-variables": "^2.0.0",
68
68
  "@tippyjs/react": "^4.2.6",