@instructure/ui-icons 10.0.1-snapshot-14 → 10.2.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 (52) hide show
  1. package/CHANGELOG.md +16 -2
  2. package/README.md +11 -0
  3. package/es/IconAiLine.js +65 -0
  4. package/es/IconAiSolid.js +64 -0
  5. package/es/font/Line/InstructureIcons-Line.css +360 -355
  6. package/es/font/Line/InstructureIcons-Line.eot +0 -0
  7. package/es/font/Line/InstructureIcons-Line.svg +358 -355
  8. package/es/font/Line/InstructureIcons-Line.ttf +0 -0
  9. package/es/font/Line/InstructureIcons-Line.woff +0 -0
  10. package/es/font/Line/InstructureIcons-Line.woff2 +0 -0
  11. package/es/font/Line/InstructureIcons-Line_icon-map.scss +357 -355
  12. package/es/font/Solid/InstructureIcons-Solid.css +360 -355
  13. package/es/font/Solid/InstructureIcons-Solid.eot +0 -0
  14. package/es/font/Solid/InstructureIcons-Solid.svg +358 -355
  15. package/es/font/Solid/InstructureIcons-Solid.ttf +0 -0
  16. package/es/font/Solid/InstructureIcons-Solid.woff +0 -0
  17. package/es/font/Solid/InstructureIcons-Solid.woff2 +0 -0
  18. package/es/font/Solid/InstructureIcons-Solid_icon-map.scss +357 -355
  19. package/es/font/index.js +730 -710
  20. package/es/index.js +2 -0
  21. package/es/svg/index.js +12 -0
  22. package/lib/IconAiLine.js +72 -0
  23. package/lib/IconAiSolid.js +71 -0
  24. package/lib/font/Line/InstructureIcons-Line.css +360 -355
  25. package/lib/font/Line/InstructureIcons-Line.eot +0 -0
  26. package/lib/font/Line/InstructureIcons-Line.svg +358 -355
  27. package/lib/font/Line/InstructureIcons-Line.ttf +0 -0
  28. package/lib/font/Line/InstructureIcons-Line.woff +0 -0
  29. package/lib/font/Line/InstructureIcons-Line.woff2 +0 -0
  30. package/lib/font/Line/InstructureIcons-Line_icon-map.scss +357 -355
  31. package/lib/font/Solid/InstructureIcons-Solid.css +360 -355
  32. package/lib/font/Solid/InstructureIcons-Solid.eot +0 -0
  33. package/lib/font/Solid/InstructureIcons-Solid.svg +358 -355
  34. package/lib/font/Solid/InstructureIcons-Solid.ttf +0 -0
  35. package/lib/font/Solid/InstructureIcons-Solid.woff +0 -0
  36. package/lib/font/Solid/InstructureIcons-Solid.woff2 +0 -0
  37. package/lib/font/Solid/InstructureIcons-Solid_icon-map.scss +357 -355
  38. package/lib/font/index.js +738 -718
  39. package/lib/index.js +14 -0
  40. package/lib/svg/index.js +13 -1
  41. package/package.json +4 -4
  42. package/svg/Line/ai.svg +6 -0
  43. package/svg/Solid/ai.svg +6 -0
  44. package/tsconfig.build.tsbuildinfo +1 -1
  45. package/types/IconAiLine.d.ts +29 -0
  46. package/types/IconAiLine.d.ts.map +1 -0
  47. package/types/IconAiSolid.d.ts +29 -0
  48. package/types/IconAiSolid.d.ts.map +1 -0
  49. package/types/font/index.d.ts +746 -710
  50. package/types/index.d.ts +2 -0
  51. package/types/index.d.ts.map +1 -1
  52. package/types/svg/index.d.ts +738 -718
package/CHANGELOG.md CHANGED
@@ -3,9 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [10.0.1-snapshot-14](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.0.1-snapshot-14) (2024-08-22)
6
+ # [10.2.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.2.0) (2024-08-23)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-icons
8
+
9
+ ### Features
10
+
11
+ * **ui-icons:** add new AI icon ([44b02ce](https://github.com/instructure/instructure-ui/commit/44b02ce1dc7123a293793ebc493f9e8446dcc7b2))
12
+
13
+
14
+
15
+
16
+
17
+ # [10.1.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.0) (2024-08-23)
18
+
19
+
20
+ ### Features
21
+
22
+ * **ui-icons:** add new AI icon ([44b02ce](https://github.com/instructure/instructure-ui/commit/44b02ce1dc7123a293793ebc493f9e8446dcc7b2))
9
23
 
10
24
 
11
25
 
package/README.md CHANGED
@@ -19,6 +19,9 @@ npm install @instructure/ui-icons
19
19
  To use the React components:
20
20
 
21
21
  ```js
22
+ ---
23
+ type: code
24
+ ---
22
25
  import { IconAddLine } from '@instructure/ui-icons'
23
26
 
24
27
  const MyComponent = () => {
@@ -36,6 +39,10 @@ const MyComponent = () => {
36
39
  - Double-check that the SVG size is 1920x1920.
37
40
 
38
41
  ```html
42
+ ---
43
+ type: code
44
+ ---
45
+
39
46
  <svg
40
47
  width="1920"
41
48
  height="1920"
@@ -50,6 +57,10 @@ const MyComponent = () => {
50
57
  - The files cannot contain [clipping paths](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath)! Sadly, when the Designers export icons from Figma, most of the time they have a clipping path around the whole canvas. If the source code has them, manually refactor the code, e.g:
51
58
 
52
59
  ```html
60
+ ---
61
+ type: code
62
+ ---
63
+
53
64
  // Before:
54
65
  <svg
55
66
  width="1920"
@@ -0,0 +1,65 @@
1
+ var _g;
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2015 - present Instructure, Inc.
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ import React, { Component } from 'react';
26
+ import { SVGIcon } from '@instructure/ui-svg-images';
27
+ class IconAiLine extends Component {
28
+ constructor(...args) {
29
+ super(...args);
30
+ this.ref = null;
31
+ this.handleRef = el => {
32
+ const elementRef = this.props.elementRef;
33
+ this.ref = el;
34
+ if (typeof elementRef === 'function') {
35
+ elementRef(el);
36
+ }
37
+ };
38
+ }
39
+ render() {
40
+ return /*#__PURE__*/React.createElement(SVGIcon, Object.assign({}, this.props, {
41
+ name: "IconAi",
42
+ viewBox: "0 0 1920 1920",
43
+ elementRef: this.handleRef
44
+ }), _g || (_g = /*#__PURE__*/React.createElement("g", {
45
+ fillRule: "evenodd",
46
+ stroke: "none",
47
+ strokeWidth: "1"
48
+ }, /*#__PURE__*/React.createElement("path", {
49
+ d: "M1219.29 700.713L960 0L700.713 700.713L0 960L700.713 1219.29L960 1920L1219.29 1219.29L1920 960L1219.29 700.713ZM1134.23 785.768L960 314.915L785.768 785.768L314.915 960L785.768 1134.23L960 1605.09L1134.23 1134.23L1605.09 960L1134.23 785.768Z",
50
+ fillRule: "evenodd"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M1600 0L1686.43 233.571L1920 320L1686.43 406.429L1600 640L1513.57 406.429L1280 320L1513.57 233.571L1600 0Z"
53
+ }))));
54
+ }
55
+ }
56
+ IconAiLine.glyphName = 'ai';
57
+ IconAiLine.variant = 'Line';
58
+ IconAiLine.displayName = 'IconAiLine';
59
+ // eslint-disable-next-line react/forbid-foreign-prop-types
60
+ IconAiLine.propTypes = {
61
+ ...SVGIcon.propTypes
62
+ };
63
+ IconAiLine.allowedProps = [...SVGIcon.allowedProps];
64
+ export default IconAiLine;
65
+ export { IconAiLine };
@@ -0,0 +1,64 @@
1
+ var _g;
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2015 - present Instructure, Inc.
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ import React, { Component } from 'react';
26
+ import { SVGIcon } from '@instructure/ui-svg-images';
27
+ class IconAiSolid extends Component {
28
+ constructor(...args) {
29
+ super(...args);
30
+ this.ref = null;
31
+ this.handleRef = el => {
32
+ const elementRef = this.props.elementRef;
33
+ this.ref = el;
34
+ if (typeof elementRef === 'function') {
35
+ elementRef(el);
36
+ }
37
+ };
38
+ }
39
+ render() {
40
+ return /*#__PURE__*/React.createElement(SVGIcon, Object.assign({}, this.props, {
41
+ name: "IconAi",
42
+ viewBox: "0 0 1920 1920",
43
+ elementRef: this.handleRef
44
+ }), _g || (_g = /*#__PURE__*/React.createElement("g", {
45
+ fillRule: "evenodd",
46
+ stroke: "none",
47
+ strokeWidth: "1"
48
+ }, /*#__PURE__*/React.createElement("path", {
49
+ d: "M960 0L1219.29 700.713L1920 960L1219.29 1219.29L960 1920L700.713 1219.29L0 960L700.713 700.713L960 0Z"
50
+ }), /*#__PURE__*/React.createElement("path", {
51
+ d: "M1600 0L1686.43 233.571L1920 320L1686.43 406.429L1600 640L1513.57 406.429L1280 320L1513.57 233.571L1600 0Z"
52
+ }))));
53
+ }
54
+ }
55
+ IconAiSolid.glyphName = 'ai';
56
+ IconAiSolid.variant = 'Solid';
57
+ IconAiSolid.displayName = 'IconAiSolid';
58
+ // eslint-disable-next-line react/forbid-foreign-prop-types
59
+ IconAiSolid.propTypes = {
60
+ ...SVGIcon.propTypes
61
+ };
62
+ IconAiSolid.allowedProps = [...SVGIcon.allowedProps];
63
+ export default IconAiSolid;
64
+ export { IconAiSolid };