@codecademy/gamut-patterns 0.8.9-alpha.7b7eab.0 → 0.8.9-alpha.9bfc43.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 (97) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/package.json +4 -4
  3. package/project.json +2 -1
  4. package/dist/index.d.ts +0 -2
  5. package/dist/index.js +0 -2
  6. package/dist/patterns/CheckerDense.d.ts +0 -3
  7. package/dist/patterns/CheckerDense.js +0 -47
  8. package/dist/patterns/CheckerLoose.d.ts +0 -3
  9. package/dist/patterns/CheckerLoose.js +0 -47
  10. package/dist/patterns/CheckerRegular.d.ts +0 -3
  11. package/dist/patterns/CheckerRegular.js +0 -47
  12. package/dist/patterns/DiagonalADense.d.ts +0 -3
  13. package/dist/patterns/DiagonalADense.js +0 -81
  14. package/dist/patterns/DiagonalALoose.d.ts +0 -3
  15. package/dist/patterns/DiagonalALoose.js +0 -225
  16. package/dist/patterns/DiagonalARegular.d.ts +0 -3
  17. package/dist/patterns/DiagonalARegular.js +0 -129
  18. package/dist/patterns/DiagonalBDense.d.ts +0 -3
  19. package/dist/patterns/DiagonalBDense.js +0 -63
  20. package/dist/patterns/DiagonalBLoose.d.ts +0 -3
  21. package/dist/patterns/DiagonalBLoose.js +0 -131
  22. package/dist/patterns/DiagonalBRegular.d.ts +0 -3
  23. package/dist/patterns/DiagonalBRegular.js +0 -87
  24. package/dist/patterns/DotDense.d.ts +0 -3
  25. package/dist/patterns/DotDense.js +0 -42
  26. package/dist/patterns/DotLoose.d.ts +0 -3
  27. package/dist/patterns/DotLoose.js +0 -85
  28. package/dist/patterns/DotRegular.d.ts +0 -3
  29. package/dist/patterns/DotRegular.js +0 -42
  30. package/dist/patterns/ExDense.d.ts +0 -3
  31. package/dist/patterns/ExDense.js +0 -64
  32. package/dist/patterns/ExLoose.d.ts +0 -3
  33. package/dist/patterns/ExLoose.js +0 -64
  34. package/dist/patterns/ExRegular.d.ts +0 -3
  35. package/dist/patterns/ExRegular.js +0 -64
  36. package/dist/patterns/FlowerDense.d.ts +0 -3
  37. package/dist/patterns/FlowerDense.js +0 -58
  38. package/dist/patterns/FlowerLoose.d.ts +0 -3
  39. package/dist/patterns/FlowerLoose.js +0 -58
  40. package/dist/patterns/FlowerRegular.d.ts +0 -3
  41. package/dist/patterns/FlowerRegular.js +0 -58
  42. package/dist/patterns/GridDense.d.ts +0 -3
  43. package/dist/patterns/GridDense.js +0 -57
  44. package/dist/patterns/GridLoose.d.ts +0 -3
  45. package/dist/patterns/GridLoose.js +0 -57
  46. package/dist/patterns/GridRegular.d.ts +0 -3
  47. package/dist/patterns/GridRegular.js +0 -57
  48. package/dist/patterns/Herringbone.d.ts +0 -3
  49. package/dist/patterns/Herringbone.js +0 -75
  50. package/dist/patterns/RainDense.d.ts +0 -3
  51. package/dist/patterns/RainDense.js +0 -47
  52. package/dist/patterns/RainLoose.d.ts +0 -3
  53. package/dist/patterns/RainLoose.js +0 -47
  54. package/dist/patterns/RainRegular.d.ts +0 -3
  55. package/dist/patterns/RainRegular.js +0 -47
  56. package/dist/patterns/StripeDense.d.ts +0 -3
  57. package/dist/patterns/StripeDense.js +0 -79
  58. package/dist/patterns/StripeLoose.d.ts +0 -3
  59. package/dist/patterns/StripeLoose.js +0 -211
  60. package/dist/patterns/StripeRegular.d.ts +0 -3
  61. package/dist/patterns/StripeRegular.js +0 -123
  62. package/dist/patterns/index.d.ts +0 -28
  63. package/dist/patterns/index.js +0 -28
  64. package/dist/props.d.ts +0 -193
  65. package/dist/props.js +0 -9
  66. package/dist/svg/CheckerDense.svg +0 -14
  67. package/dist/svg/CheckerLoose.svg +0 -14
  68. package/dist/svg/CheckerRegular.svg +0 -14
  69. package/dist/svg/DiagonalADense.svg +0 -20
  70. package/dist/svg/DiagonalALoose.svg +0 -44
  71. package/dist/svg/DiagonalARegular.svg +0 -28
  72. package/dist/svg/DiagonalBDense.svg +0 -24
  73. package/dist/svg/DiagonalBLoose.svg +0 -28
  74. package/dist/svg/DiagonalBRegular.svg +0 -28
  75. package/dist/svg/DotDense.svg +0 -13
  76. package/dist/svg/DotLoose.svg +0 -40
  77. package/dist/svg/DotRegular.svg +0 -13
  78. package/dist/svg/ExDense.svg +0 -17
  79. package/dist/svg/ExLoose.svg +0 -17
  80. package/dist/svg/ExRegular.svg +0 -17
  81. package/dist/svg/FlowerDense.svg +0 -16
  82. package/dist/svg/FlowerLoose.svg +0 -16
  83. package/dist/svg/FlowerRegular.svg +0 -16
  84. package/dist/svg/GridDense.svg +0 -16
  85. package/dist/svg/GridLoose.svg +0 -16
  86. package/dist/svg/GridRegular.svg +0 -16
  87. package/dist/svg/Herringbone.svg +0 -19
  88. package/dist/svg/RainDense.svg +0 -14
  89. package/dist/svg/RainLoose.svg +0 -14
  90. package/dist/svg/RainRegular.svg +0 -14
  91. package/dist/svg/StripeDense.svg +0 -20
  92. package/dist/svg/StripeLoose.svg +0 -44
  93. package/dist/svg/StripeRegular.svg +0 -28
  94. package/dist/types.d.ts +0 -1
  95. package/dist/types.js +0 -0
  96. package/dist/usePatternId.d.ts +0 -1
  97. package/dist/usePatternId.js +0 -10
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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
- ### [0.8.9-alpha.7b7eab.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.8.8...@codecademy/gamut-patterns@0.8.9-alpha.7b7eab.0) (2022-07-22)
6
+ ### [0.8.9-alpha.9bfc43.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.8.8...@codecademy/gamut-patterns@0.8.9-alpha.9bfc43.0) (2022-07-22)
7
7
 
8
8
  **Note:** Version bump only for package @codecademy/gamut-patterns
9
9
 
package/package.json CHANGED
@@ -4,8 +4,8 @@
4
4
  "url": "https://github.com/Codecademy/gamut/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "13.4.1-alpha.7b7eab.0",
8
- "@codecademy/variance": "0.20.1-alpha.7b7eab.0",
7
+ "@codecademy/gamut-styles": "13.4.1-alpha.9bfc43.0",
8
+ "@codecademy/variance": "0.20.1-alpha.9bfc43.0",
9
9
  "classnames": "^2.2.5"
10
10
  },
11
11
  "devDependencies": {
@@ -38,6 +38,6 @@
38
38
  "format": "svgo -f ./src/svg --pretty --config=.svgo.yml"
39
39
  },
40
40
  "sideEffects": false,
41
- "version": "0.8.9-alpha.7b7eab.0",
42
- "gitHead": "d4201487b081e2b3665eba6b3a268f90dacedb5c"
41
+ "version": "0.8.9-alpha.9bfc43.0",
42
+ "gitHead": "328c324db5d9cac65ec93ea7a02e1b80b6ff9208"
43
43
  }
package/project.json CHANGED
@@ -11,7 +11,8 @@
11
11
  "outputPath": ["./dist", "./src/patterns"],
12
12
  "commands": [
13
13
  "rm -rf ./dist",
14
- "rm -rf ./src/patterns && svgr --out-dir ./src/patterns --ext 'tsx' ./src/svg",
14
+ "rm -rf ./src/patterns",
15
+ "svgr --out-dir ./src/patterns --ext 'tsx' ./src/svg",
15
16
  "babel ./src --out-dir ./dist --copy-files --extensions \".ts,.tsx\"",
16
17
  "tsc --emitDeclarationOnly"
17
18
  ],
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './patterns';
2
- export * from './types';
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './patterns';
2
- export * from './types';
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const CheckerDense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,47 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
- import * as React from 'react';
8
- import { Svg } from '../props';
9
- import { usePatternId } from '../usePatternId';
10
- export var CheckerDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
- var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Checker Dense' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
- var patternId = usePatternId('CheckerDense');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
18
- fill: "currentColor",
19
- role: "img",
20
- "aria-hidden": "true",
21
- ref: svgRef,
22
- "aria-labelledby": titleId
23
- }, props), title ? /*#__PURE__*/React.createElement("title", {
24
- id: titleId
25
- }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
- id: patternId,
27
- x: 0,
28
- y: 0,
29
- width: 4,
30
- height: 4,
31
- patternUnits: "userSpaceOnUse"
32
- }, /*#__PURE__*/React.createElement("rect", {
33
- width: 1,
34
- height: 1,
35
- fill: "currentColor"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- x: 2,
38
- y: 2,
39
- width: 1,
40
- height: 1,
41
- fill: "currentColor"
42
- })), /*#__PURE__*/React.createElement("rect", {
43
- width: "100%",
44
- height: "100%",
45
- fill: "url(#".concat(patternId, ")")
46
- }));
47
- });
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const CheckerLoose: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,47 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
- import * as React from 'react';
8
- import { Svg } from '../props';
9
- import { usePatternId } from '../usePatternId';
10
- export var CheckerLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
- var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Checker Loose' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
- var patternId = usePatternId('CheckerLoose');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
18
- fill: "currentColor",
19
- role: "img",
20
- "aria-hidden": "true",
21
- ref: svgRef,
22
- "aria-labelledby": titleId
23
- }, props), title ? /*#__PURE__*/React.createElement("title", {
24
- id: titleId
25
- }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
- id: patternId,
27
- x: 0,
28
- y: 0,
29
- width: 16,
30
- height: 16,
31
- patternUnits: "userSpaceOnUse"
32
- }, /*#__PURE__*/React.createElement("rect", {
33
- width: 1,
34
- height: 1,
35
- fill: "currentColor"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- x: 8,
38
- y: 8,
39
- width: 1,
40
- height: 1,
41
- fill: "currentColor"
42
- })), /*#__PURE__*/React.createElement("rect", {
43
- width: "100%",
44
- height: "100%",
45
- fill: "url(#".concat(patternId, ")")
46
- }));
47
- });
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const CheckerRegular: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,47 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
- import * as React from 'react';
8
- import { Svg } from '../props';
9
- import { usePatternId } from '../usePatternId';
10
- export var CheckerRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
- var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Checker Regular' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
- var patternId = usePatternId('CheckerRegular');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
18
- fill: "currentColor",
19
- role: "img",
20
- "aria-hidden": "true",
21
- ref: svgRef,
22
- "aria-labelledby": titleId
23
- }, props), title ? /*#__PURE__*/React.createElement("title", {
24
- id: titleId
25
- }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
- id: patternId,
27
- x: 0,
28
- y: 0,
29
- width: 8,
30
- height: 8,
31
- patternUnits: "userSpaceOnUse"
32
- }, /*#__PURE__*/React.createElement("rect", {
33
- width: 1,
34
- height: 1,
35
- fill: "currentColor"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- x: 4,
38
- y: 4,
39
- width: 1,
40
- height: 1,
41
- fill: "currentColor"
42
- })), /*#__PURE__*/React.createElement("rect", {
43
- width: "100%",
44
- height: "100%",
45
- fill: "url(#".concat(patternId, ")")
46
- }));
47
- });
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const DiagonalADense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,81 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
- import * as React from 'react';
8
- import { Svg } from '../props';
9
- import { usePatternId } from '../usePatternId';
10
- export var DiagonalADense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
- var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Diagonal A Dense' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
- var patternId = usePatternId('DiagonalADense');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
18
- fill: "currentColor",
19
- role: "img",
20
- "aria-hidden": "true",
21
- ref: svgRef,
22
- "aria-labelledby": titleId
23
- }, props), title ? /*#__PURE__*/React.createElement("title", {
24
- id: titleId
25
- }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
- id: patternId,
27
- x: 0,
28
- y: 0,
29
- width: 4,
30
- height: 4,
31
- patternUnits: "userSpaceOnUse"
32
- }, /*#__PURE__*/React.createElement("rect", {
33
- width: 1,
34
- height: 1,
35
- fill: "currentColor"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- x: 2,
38
- y: 2,
39
- width: 1,
40
- height: 1,
41
- fill: "currentColor"
42
- }), /*#__PURE__*/React.createElement("rect", {
43
- x: 1,
44
- y: 2,
45
- width: 1,
46
- height: 1,
47
- fill: "currentColor"
48
- }), /*#__PURE__*/React.createElement("rect", {
49
- x: 1,
50
- y: 3,
51
- width: 1,
52
- height: 1,
53
- fill: "currentColor"
54
- }), /*#__PURE__*/React.createElement("rect", {
55
- y: 3,
56
- width: 1,
57
- height: 1,
58
- fill: "currentColor"
59
- }), /*#__PURE__*/React.createElement("rect", {
60
- x: 3,
61
- width: 1,
62
- height: 1,
63
- fill: "currentColor"
64
- }), /*#__PURE__*/React.createElement("rect", {
65
- x: 3,
66
- y: 1,
67
- width: 1,
68
- height: 1,
69
- fill: "currentColor"
70
- }), /*#__PURE__*/React.createElement("rect", {
71
- x: 2,
72
- y: 1,
73
- width: 1,
74
- height: 1,
75
- fill: "currentColor"
76
- })), /*#__PURE__*/React.createElement("rect", {
77
- width: "100%",
78
- height: "100%",
79
- fill: "url(#".concat(patternId, ")")
80
- }));
81
- });
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const DiagonalALoose: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,225 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
- import * as React from 'react';
8
- import { Svg } from '../props';
9
- import { usePatternId } from '../usePatternId';
10
- export var DiagonalALoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
- var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Diagonal A Loose' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
- var patternId = usePatternId('DiagonalALoose');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
18
- fill: "currentColor",
19
- role: "img",
20
- "aria-hidden": "true",
21
- ref: svgRef,
22
- "aria-labelledby": titleId
23
- }, props), title ? /*#__PURE__*/React.createElement("title", {
24
- id: titleId
25
- }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
- id: patternId,
27
- x: 0,
28
- y: 0,
29
- width: 16,
30
- height: 16,
31
- patternUnits: "userSpaceOnUse"
32
- }, /*#__PURE__*/React.createElement("rect", {
33
- width: 1,
34
- height: 1,
35
- fill: "currentColor"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- x: 14,
38
- y: 2,
39
- width: 1,
40
- height: 1,
41
- fill: "currentColor"
42
- }), /*#__PURE__*/React.createElement("rect", {
43
- x: 13,
44
- y: 2,
45
- width: 1,
46
- height: 1,
47
- fill: "currentColor"
48
- }), /*#__PURE__*/React.createElement("rect", {
49
- x: 13,
50
- y: 3,
51
- width: 1,
52
- height: 1,
53
- fill: "currentColor"
54
- }), /*#__PURE__*/React.createElement("rect", {
55
- x: 12,
56
- y: 3,
57
- width: 1,
58
- height: 1,
59
- fill: "currentColor"
60
- }), /*#__PURE__*/React.createElement("rect", {
61
- x: 15,
62
- width: 1,
63
- height: 1,
64
- fill: "currentColor"
65
- }), /*#__PURE__*/React.createElement("rect", {
66
- x: 15,
67
- y: 1,
68
- width: 1,
69
- height: 1,
70
- fill: "currentColor"
71
- }), /*#__PURE__*/React.createElement("rect", {
72
- x: 14,
73
- y: 1,
74
- width: 1,
75
- height: 1,
76
- fill: "currentColor"
77
- }), /*#__PURE__*/React.createElement("rect", {
78
- x: 11,
79
- y: 5,
80
- width: 1,
81
- height: 1,
82
- fill: "currentColor"
83
- }), /*#__PURE__*/React.createElement("rect", {
84
- x: 10,
85
- y: 5,
86
- width: 1,
87
- height: 1,
88
- fill: "currentColor"
89
- }), /*#__PURE__*/React.createElement("rect", {
90
- x: 10,
91
- y: 6,
92
- width: 1,
93
- height: 1,
94
- fill: "currentColor"
95
- }), /*#__PURE__*/React.createElement("rect", {
96
- x: 9,
97
- y: 6,
98
- width: 1,
99
- height: 1,
100
- fill: "currentColor"
101
- }), /*#__PURE__*/React.createElement("rect", {
102
- x: 8,
103
- y: 7,
104
- width: 1,
105
- height: 1,
106
- fill: "currentColor"
107
- }), /*#__PURE__*/React.createElement("rect", {
108
- x: 9,
109
- y: 7,
110
- width: 1,
111
- height: 1,
112
- fill: "currentColor"
113
- }), /*#__PURE__*/React.createElement("rect", {
114
- x: 12,
115
- y: 4,
116
- width: 1,
117
- height: 1,
118
- fill: "currentColor"
119
- }), /*#__PURE__*/React.createElement("rect", {
120
- x: 11,
121
- y: 4,
122
- width: 1,
123
- height: 1,
124
- fill: "currentColor"
125
- }), /*#__PURE__*/React.createElement("rect", {
126
- x: 7,
127
- y: 9,
128
- width: 1,
129
- height: 1,
130
- fill: "currentColor"
131
- }), /*#__PURE__*/React.createElement("rect", {
132
- x: 6,
133
- y: 9,
134
- width: 1,
135
- height: 1,
136
- fill: "currentColor"
137
- }), /*#__PURE__*/React.createElement("rect", {
138
- x: 6,
139
- y: 10,
140
- width: 1,
141
- height: 1,
142
- fill: "currentColor"
143
- }), /*#__PURE__*/React.createElement("rect", {
144
- x: 5,
145
- y: 10,
146
- width: 1,
147
- height: 1,
148
- fill: "currentColor"
149
- }), /*#__PURE__*/React.createElement("rect", {
150
- x: 8,
151
- y: 8,
152
- width: 1,
153
- height: 1,
154
- fill: "currentColor"
155
- }), /*#__PURE__*/React.createElement("rect", {
156
- x: 7,
157
- y: 8,
158
- width: 1,
159
- height: 1,
160
- fill: "currentColor"
161
- }), /*#__PURE__*/React.createElement("rect", {
162
- x: 4,
163
- y: 12,
164
- width: 1,
165
- height: 1,
166
- fill: "currentColor"
167
- }), /*#__PURE__*/React.createElement("rect", {
168
- x: 3,
169
- y: 12,
170
- width: 1,
171
- height: 1,
172
- fill: "currentColor"
173
- }), /*#__PURE__*/React.createElement("rect", {
174
- x: 3,
175
- y: 13,
176
- width: 1,
177
- height: 1,
178
- fill: "currentColor"
179
- }), /*#__PURE__*/React.createElement("rect", {
180
- x: 2,
181
- y: 13,
182
- width: 1,
183
- height: 1,
184
- fill: "currentColor"
185
- }), /*#__PURE__*/React.createElement("rect", {
186
- x: 1,
187
- y: 14,
188
- width: 1,
189
- height: 1,
190
- fill: "currentColor"
191
- }), /*#__PURE__*/React.createElement("rect", {
192
- x: 2,
193
- y: 14,
194
- width: 1,
195
- height: 1,
196
- fill: "currentColor"
197
- }), /*#__PURE__*/React.createElement("rect", {
198
- y: 15,
199
- width: 1,
200
- height: 1,
201
- fill: "currentColor"
202
- }), /*#__PURE__*/React.createElement("rect", {
203
- x: 1,
204
- y: 15,
205
- width: 1,
206
- height: 1,
207
- fill: "currentColor"
208
- }), /*#__PURE__*/React.createElement("rect", {
209
- x: 5,
210
- y: 11,
211
- width: 1,
212
- height: 1,
213
- fill: "currentColor"
214
- }), /*#__PURE__*/React.createElement("rect", {
215
- x: 4,
216
- y: 11,
217
- width: 1,
218
- height: 1,
219
- fill: "currentColor"
220
- })), /*#__PURE__*/React.createElement("rect", {
221
- width: "100%",
222
- height: "100%",
223
- fill: "url(#".concat(patternId, ")")
224
- }));
225
- });
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const DiagonalARegular: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,129 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
-
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
-
7
- import * as React from 'react';
8
- import { Svg } from '../props';
9
- import { usePatternId } from '../usePatternId';
10
- export var DiagonalARegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
- var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Diagonal A Regular' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
- var patternId = usePatternId('DiagonalARegular');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
18
- fill: "currentColor",
19
- role: "img",
20
- "aria-hidden": "true",
21
- ref: svgRef,
22
- "aria-labelledby": titleId
23
- }, props), title ? /*#__PURE__*/React.createElement("title", {
24
- id: titleId
25
- }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
- id: patternId,
27
- x: 0,
28
- y: 0,
29
- width: 8,
30
- height: 8,
31
- patternUnits: "userSpaceOnUse"
32
- }, /*#__PURE__*/React.createElement("rect", {
33
- width: 1,
34
- height: 1,
35
- fill: "currentColor"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- x: 6,
38
- y: 2,
39
- width: 1,
40
- height: 1,
41
- fill: "currentColor"
42
- }), /*#__PURE__*/React.createElement("rect", {
43
- x: 5,
44
- y: 2,
45
- width: 1,
46
- height: 1,
47
- fill: "currentColor"
48
- }), /*#__PURE__*/React.createElement("rect", {
49
- x: 5,
50
- y: 3,
51
- width: 1,
52
- height: 1,
53
- fill: "currentColor"
54
- }), /*#__PURE__*/React.createElement("rect", {
55
- x: 4,
56
- y: 3,
57
- width: 1,
58
- height: 1,
59
- fill: "currentColor"
60
- }), /*#__PURE__*/React.createElement("rect", {
61
- x: 7,
62
- width: 1,
63
- height: 1,
64
- fill: "currentColor"
65
- }), /*#__PURE__*/React.createElement("rect", {
66
- x: 7,
67
- y: 1,
68
- width: 1,
69
- height: 1,
70
- fill: "currentColor"
71
- }), /*#__PURE__*/React.createElement("rect", {
72
- x: 6,
73
- y: 1,
74
- width: 1,
75
- height: 1,
76
- fill: "currentColor"
77
- }), /*#__PURE__*/React.createElement("rect", {
78
- x: 3,
79
- y: 5,
80
- width: 1,
81
- height: 1,
82
- fill: "currentColor"
83
- }), /*#__PURE__*/React.createElement("rect", {
84
- x: 2,
85
- y: 5,
86
- width: 1,
87
- height: 1,
88
- fill: "currentColor"
89
- }), /*#__PURE__*/React.createElement("rect", {
90
- x: 2,
91
- y: 6,
92
- width: 1,
93
- height: 1,
94
- fill: "currentColor"
95
- }), /*#__PURE__*/React.createElement("rect", {
96
- x: 1,
97
- y: 6,
98
- width: 1,
99
- height: 1,
100
- fill: "currentColor"
101
- }), /*#__PURE__*/React.createElement("rect", {
102
- y: 7,
103
- width: 1,
104
- height: 1,
105
- fill: "currentColor"
106
- }), /*#__PURE__*/React.createElement("rect", {
107
- x: 1,
108
- y: 7,
109
- width: 1,
110
- height: 1,
111
- fill: "currentColor"
112
- }), /*#__PURE__*/React.createElement("rect", {
113
- x: 4,
114
- y: 4,
115
- width: 1,
116
- height: 1,
117
- fill: "currentColor"
118
- }), /*#__PURE__*/React.createElement("rect", {
119
- x: 3,
120
- y: 4,
121
- width: 1,
122
- height: 1,
123
- fill: "currentColor"
124
- })), /*#__PURE__*/React.createElement("rect", {
125
- width: "100%",
126
- height: "100%",
127
- fill: "url(#".concat(patternId, ")")
128
- }));
129
- });
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PatternProps } from '../props';
3
- export declare const DiagonalBDense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;