@codecademy/gamut-patterns 0.8.11 → 0.8.12-alpha.4d61d4.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 (65) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/babel.config.js +10 -3
  3. package/dist/patterns/CheckerDense.js +60 -30
  4. package/dist/patterns/CheckerLoose.js +60 -30
  5. package/dist/patterns/CheckerRegular.js +60 -30
  6. package/dist/patterns/DiagonalADense.js +118 -64
  7. package/dist/patterns/DiagonalALoose.js +358 -208
  8. package/dist/patterns/DiagonalARegular.js +198 -112
  9. package/dist/patterns/DiagonalBDense.js +88 -46
  10. package/dist/patterns/DiagonalBLoose.js +200 -114
  11. package/dist/patterns/DiagonalBRegular.js +128 -70
  12. package/dist/patterns/DotDense.js +51 -25
  13. package/dist/patterns/DotLoose.js +126 -68
  14. package/dist/patterns/DotRegular.js +51 -25
  15. package/dist/patterns/ExDense.js +89 -47
  16. package/dist/patterns/ExLoose.js +89 -47
  17. package/dist/patterns/ExRegular.js +89 -47
  18. package/dist/patterns/FlowerDense.js +79 -41
  19. package/dist/patterns/FlowerLoose.js +79 -41
  20. package/dist/patterns/FlowerRegular.js +79 -41
  21. package/dist/patterns/GridDense.js +78 -40
  22. package/dist/patterns/GridLoose.js +78 -40
  23. package/dist/patterns/GridRegular.js +78 -40
  24. package/dist/patterns/Herringbone.js +108 -58
  25. package/dist/patterns/RainDense.js +60 -30
  26. package/dist/patterns/RainLoose.js +60 -30
  27. package/dist/patterns/RainRegular.js +60 -30
  28. package/dist/patterns/StripeDense.js +116 -62
  29. package/dist/patterns/StripeLoose.js +344 -194
  30. package/dist/patterns/StripeRegular.js +192 -106
  31. package/dist/props.d.ts +5 -5
  32. package/dist/types.js +1 -0
  33. package/dist/usePatternId.js +2 -2
  34. package/package.json +4 -4
  35. package/project.json +10 -1
  36. package/tsconfig.json +5 -2
  37. package/dist/svg/CheckerDense.svg +0 -14
  38. package/dist/svg/CheckerLoose.svg +0 -14
  39. package/dist/svg/CheckerRegular.svg +0 -14
  40. package/dist/svg/DiagonalADense.svg +0 -20
  41. package/dist/svg/DiagonalALoose.svg +0 -44
  42. package/dist/svg/DiagonalARegular.svg +0 -28
  43. package/dist/svg/DiagonalBDense.svg +0 -24
  44. package/dist/svg/DiagonalBLoose.svg +0 -28
  45. package/dist/svg/DiagonalBRegular.svg +0 -28
  46. package/dist/svg/DotDense.svg +0 -13
  47. package/dist/svg/DotLoose.svg +0 -40
  48. package/dist/svg/DotRegular.svg +0 -13
  49. package/dist/svg/ExDense.svg +0 -17
  50. package/dist/svg/ExLoose.svg +0 -17
  51. package/dist/svg/ExRegular.svg +0 -17
  52. package/dist/svg/FlowerDense.svg +0 -16
  53. package/dist/svg/FlowerLoose.svg +0 -16
  54. package/dist/svg/FlowerRegular.svg +0 -16
  55. package/dist/svg/GridDense.svg +0 -16
  56. package/dist/svg/GridLoose.svg +0 -16
  57. package/dist/svg/GridRegular.svg +0 -16
  58. package/dist/svg/Herringbone.svg +0 -19
  59. package/dist/svg/RainDense.svg +0 -14
  60. package/dist/svg/RainLoose.svg +0 -14
  61. package/dist/svg/RainRegular.svg +0 -14
  62. package/dist/svg/StripeDense.svg +0 -20
  63. package/dist/svg/StripeLoose.svg +0 -44
  64. package/dist/svg/StripeRegular.svg +0 -28
  65. package/jest.config.js +0 -1
@@ -1,47 +1,77 @@
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); }
1
+ import _objectWithoutPropertiesLoose from "/home/circleci/repo/node_modules/@nrwl/web/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js";
2
+ var _excluded = ["title", "titleId"];
2
3
 
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; }
4
+ var _jsxFileName = "/home/circleci/repo/packages/gamut-patterns/src/patterns/RainDense.tsx",
5
+ _this = this;
6
6
 
7
+ import "core-js/modules/es.object.assign.js";
7
8
  import * as React from 'react';
8
9
  import { Svg } from '../props';
9
10
  import { usePatternId } from '../usePatternId';
11
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
10
12
  export var RainDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Rain Dense' : _ref$title,
13
15
  titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
15
17
 
16
18
  var patternId = usePatternId('RainDense');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
19
+ return /*#__PURE__*/_jsxDEV(Svg, Object.assign({
18
20
  fill: "currentColor",
19
21
  role: "img",
20
22
  "aria-hidden": "true",
21
23
  ref: svgRef,
22
24
  "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: 1,
38
- y: 1,
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
- }));
25
+ }, props, {
26
+ children: [title ? /*#__PURE__*/_jsxDEV("title", {
27
+ id: titleId,
28
+ children: title
29
+ }, void 0, false, {
30
+ fileName: _jsxFileName,
31
+ lineNumber: 16,
32
+ columnNumber: 18
33
+ }, _this) : null, /*#__PURE__*/_jsxDEV("pattern", {
34
+ id: patternId,
35
+ x: 0,
36
+ y: 0,
37
+ width: 4,
38
+ height: 4,
39
+ patternUnits: "userSpaceOnUse",
40
+ children: [/*#__PURE__*/_jsxDEV("rect", {
41
+ width: 1,
42
+ height: 1,
43
+ fill: "currentColor"
44
+ }, void 0, false, {
45
+ fileName: _jsxFileName,
46
+ lineNumber: 25,
47
+ columnNumber: 11
48
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
49
+ x: 1,
50
+ y: 1,
51
+ width: 1,
52
+ height: 1,
53
+ fill: "currentColor"
54
+ }, void 0, false, {
55
+ fileName: _jsxFileName,
56
+ lineNumber: 26,
57
+ columnNumber: 11
58
+ }, _this)]
59
+ }, void 0, true, {
60
+ fileName: _jsxFileName,
61
+ lineNumber: 17,
62
+ columnNumber: 9
63
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
64
+ width: "100%",
65
+ height: "100%",
66
+ fill: "url(#" + patternId + ")"
67
+ }, void 0, false, {
68
+ fileName: _jsxFileName,
69
+ lineNumber: 28,
70
+ columnNumber: 9
71
+ }, _this)]
72
+ }), void 0, true, {
73
+ fileName: _jsxFileName,
74
+ lineNumber: 8,
75
+ columnNumber: 7
76
+ }, _this);
47
77
  });
@@ -1,47 +1,77 @@
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); }
1
+ import _objectWithoutPropertiesLoose from "/home/circleci/repo/node_modules/@nrwl/web/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js";
2
+ var _excluded = ["title", "titleId"];
2
3
 
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; }
4
+ var _jsxFileName = "/home/circleci/repo/packages/gamut-patterns/src/patterns/RainLoose.tsx",
5
+ _this = this;
6
6
 
7
+ import "core-js/modules/es.object.assign.js";
7
8
  import * as React from 'react';
8
9
  import { Svg } from '../props';
9
10
  import { usePatternId } from '../usePatternId';
11
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
10
12
  export var RainLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Rain Loose' : _ref$title,
13
15
  titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
15
17
 
16
18
  var patternId = usePatternId('RainLoose');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
19
+ return /*#__PURE__*/_jsxDEV(Svg, Object.assign({
18
20
  fill: "currentColor",
19
21
  role: "img",
20
22
  "aria-hidden": "true",
21
23
  ref: svgRef,
22
24
  "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: 1,
38
- y: 1,
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
- }));
25
+ }, props, {
26
+ children: [title ? /*#__PURE__*/_jsxDEV("title", {
27
+ id: titleId,
28
+ children: title
29
+ }, void 0, false, {
30
+ fileName: _jsxFileName,
31
+ lineNumber: 16,
32
+ columnNumber: 18
33
+ }, _this) : null, /*#__PURE__*/_jsxDEV("pattern", {
34
+ id: patternId,
35
+ x: 0,
36
+ y: 0,
37
+ width: 16,
38
+ height: 16,
39
+ patternUnits: "userSpaceOnUse",
40
+ children: [/*#__PURE__*/_jsxDEV("rect", {
41
+ width: 1,
42
+ height: 1,
43
+ fill: "currentColor"
44
+ }, void 0, false, {
45
+ fileName: _jsxFileName,
46
+ lineNumber: 25,
47
+ columnNumber: 11
48
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
49
+ x: 1,
50
+ y: 1,
51
+ width: 1,
52
+ height: 1,
53
+ fill: "currentColor"
54
+ }, void 0, false, {
55
+ fileName: _jsxFileName,
56
+ lineNumber: 26,
57
+ columnNumber: 11
58
+ }, _this)]
59
+ }, void 0, true, {
60
+ fileName: _jsxFileName,
61
+ lineNumber: 17,
62
+ columnNumber: 9
63
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
64
+ width: "100%",
65
+ height: "100%",
66
+ fill: "url(#" + patternId + ")"
67
+ }, void 0, false, {
68
+ fileName: _jsxFileName,
69
+ lineNumber: 28,
70
+ columnNumber: 9
71
+ }, _this)]
72
+ }), void 0, true, {
73
+ fileName: _jsxFileName,
74
+ lineNumber: 8,
75
+ columnNumber: 7
76
+ }, _this);
47
77
  });
@@ -1,47 +1,77 @@
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); }
1
+ import _objectWithoutPropertiesLoose from "/home/circleci/repo/node_modules/@nrwl/web/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js";
2
+ var _excluded = ["title", "titleId"];
2
3
 
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; }
4
+ var _jsxFileName = "/home/circleci/repo/packages/gamut-patterns/src/patterns/RainRegular.tsx",
5
+ _this = this;
6
6
 
7
+ import "core-js/modules/es.object.assign.js";
7
8
  import * as React from 'react';
8
9
  import { Svg } from '../props';
9
10
  import { usePatternId } from '../usePatternId';
11
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
10
12
  export var RainRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Rain Regular' : _ref$title,
13
15
  titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
15
17
 
16
18
  var patternId = usePatternId('RainRegular');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
19
+ return /*#__PURE__*/_jsxDEV(Svg, Object.assign({
18
20
  fill: "currentColor",
19
21
  role: "img",
20
22
  "aria-hidden": "true",
21
23
  ref: svgRef,
22
24
  "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: 1,
38
- y: 1,
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
- }));
25
+ }, props, {
26
+ children: [title ? /*#__PURE__*/_jsxDEV("title", {
27
+ id: titleId,
28
+ children: title
29
+ }, void 0, false, {
30
+ fileName: _jsxFileName,
31
+ lineNumber: 16,
32
+ columnNumber: 18
33
+ }, _this) : null, /*#__PURE__*/_jsxDEV("pattern", {
34
+ id: patternId,
35
+ x: 0,
36
+ y: 0,
37
+ width: 8,
38
+ height: 8,
39
+ patternUnits: "userSpaceOnUse",
40
+ children: [/*#__PURE__*/_jsxDEV("rect", {
41
+ width: 1,
42
+ height: 1,
43
+ fill: "currentColor"
44
+ }, void 0, false, {
45
+ fileName: _jsxFileName,
46
+ lineNumber: 25,
47
+ columnNumber: 11
48
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
49
+ x: 1,
50
+ y: 1,
51
+ width: 1,
52
+ height: 1,
53
+ fill: "currentColor"
54
+ }, void 0, false, {
55
+ fileName: _jsxFileName,
56
+ lineNumber: 26,
57
+ columnNumber: 11
58
+ }, _this)]
59
+ }, void 0, true, {
60
+ fileName: _jsxFileName,
61
+ lineNumber: 17,
62
+ columnNumber: 9
63
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
64
+ width: "100%",
65
+ height: "100%",
66
+ fill: "url(#" + patternId + ")"
67
+ }, void 0, false, {
68
+ fileName: _jsxFileName,
69
+ lineNumber: 28,
70
+ columnNumber: 9
71
+ }, _this)]
72
+ }), void 0, true, {
73
+ fileName: _jsxFileName,
74
+ lineNumber: 8,
75
+ columnNumber: 7
76
+ }, _this);
47
77
  });
@@ -1,79 +1,133 @@
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); }
1
+ import _objectWithoutPropertiesLoose from "/home/circleci/repo/node_modules/@nrwl/web/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js";
2
+ var _excluded = ["title", "titleId"];
2
3
 
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; }
4
+ var _jsxFileName = "/home/circleci/repo/packages/gamut-patterns/src/patterns/StripeDense.tsx",
5
+ _this = this;
6
6
 
7
+ import "core-js/modules/es.object.assign.js";
7
8
  import * as React from 'react';
8
9
  import { Svg } from '../props';
9
10
  import { usePatternId } from '../usePatternId';
11
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
10
12
  export var StripeDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Stripe Dense' : _ref$title,
13
15
  titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
15
17
 
16
18
  var patternId = usePatternId('StripeDense');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
19
+ return /*#__PURE__*/_jsxDEV(Svg, Object.assign({
18
20
  fill: "currentColor",
19
21
  role: "img",
20
22
  "aria-hidden": "true",
21
23
  ref: svgRef,
22
24
  "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
- x: 1,
34
- width: 1,
35
- height: 1,
36
- fill: "currentColor"
37
- }), /*#__PURE__*/React.createElement("rect", {
38
- width: 1,
39
- height: 1,
40
- fill: "currentColor"
41
- }), /*#__PURE__*/React.createElement("rect", {
42
- x: 2,
43
- width: 1,
44
- height: 1,
45
- fill: "currentColor"
46
- }), /*#__PURE__*/React.createElement("rect", {
47
- x: 3,
48
- width: 1,
49
- height: 1,
50
- fill: "currentColor"
51
- }), /*#__PURE__*/React.createElement("rect", {
52
- x: 1,
53
- y: 2,
54
- width: 1,
55
- height: 1,
56
- fill: "currentColor"
57
- }), /*#__PURE__*/React.createElement("rect", {
58
- y: 2,
59
- width: 1,
60
- height: 1,
61
- fill: "currentColor"
62
- }), /*#__PURE__*/React.createElement("rect", {
63
- x: 2,
64
- y: 2,
65
- width: 1,
66
- height: 1,
67
- fill: "currentColor"
68
- }), /*#__PURE__*/React.createElement("rect", {
69
- x: 3,
70
- y: 2,
71
- width: 1,
72
- height: 1,
73
- fill: "currentColor"
74
- })), /*#__PURE__*/React.createElement("rect", {
75
- width: "100%",
76
- height: "100%",
77
- fill: "url(#".concat(patternId, ")")
78
- }));
25
+ }, props, {
26
+ children: [title ? /*#__PURE__*/_jsxDEV("title", {
27
+ id: titleId,
28
+ children: title
29
+ }, void 0, false, {
30
+ fileName: _jsxFileName,
31
+ lineNumber: 16,
32
+ columnNumber: 18
33
+ }, _this) : null, /*#__PURE__*/_jsxDEV("pattern", {
34
+ id: patternId,
35
+ x: 0,
36
+ y: 0,
37
+ width: 4,
38
+ height: 4,
39
+ patternUnits: "userSpaceOnUse",
40
+ children: [/*#__PURE__*/_jsxDEV("rect", {
41
+ x: 1,
42
+ width: 1,
43
+ height: 1,
44
+ fill: "currentColor"
45
+ }, void 0, false, {
46
+ fileName: _jsxFileName,
47
+ lineNumber: 25,
48
+ columnNumber: 11
49
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
50
+ width: 1,
51
+ height: 1,
52
+ fill: "currentColor"
53
+ }, void 0, false, {
54
+ fileName: _jsxFileName,
55
+ lineNumber: 26,
56
+ columnNumber: 11
57
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
58
+ x: 2,
59
+ width: 1,
60
+ height: 1,
61
+ fill: "currentColor"
62
+ }, void 0, false, {
63
+ fileName: _jsxFileName,
64
+ lineNumber: 27,
65
+ columnNumber: 11
66
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
67
+ x: 3,
68
+ width: 1,
69
+ height: 1,
70
+ fill: "currentColor"
71
+ }, void 0, false, {
72
+ fileName: _jsxFileName,
73
+ lineNumber: 28,
74
+ columnNumber: 11
75
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
76
+ x: 1,
77
+ y: 2,
78
+ width: 1,
79
+ height: 1,
80
+ fill: "currentColor"
81
+ }, void 0, false, {
82
+ fileName: _jsxFileName,
83
+ lineNumber: 29,
84
+ columnNumber: 11
85
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
86
+ y: 2,
87
+ width: 1,
88
+ height: 1,
89
+ fill: "currentColor"
90
+ }, void 0, false, {
91
+ fileName: _jsxFileName,
92
+ lineNumber: 30,
93
+ columnNumber: 11
94
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
95
+ x: 2,
96
+ y: 2,
97
+ width: 1,
98
+ height: 1,
99
+ fill: "currentColor"
100
+ }, void 0, false, {
101
+ fileName: _jsxFileName,
102
+ lineNumber: 31,
103
+ columnNumber: 11
104
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
105
+ x: 3,
106
+ y: 2,
107
+ width: 1,
108
+ height: 1,
109
+ fill: "currentColor"
110
+ }, void 0, false, {
111
+ fileName: _jsxFileName,
112
+ lineNumber: 32,
113
+ columnNumber: 11
114
+ }, _this)]
115
+ }, void 0, true, {
116
+ fileName: _jsxFileName,
117
+ lineNumber: 17,
118
+ columnNumber: 9
119
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
120
+ width: "100%",
121
+ height: "100%",
122
+ fill: "url(#" + patternId + ")"
123
+ }, void 0, false, {
124
+ fileName: _jsxFileName,
125
+ lineNumber: 34,
126
+ columnNumber: 9
127
+ }, _this)]
128
+ }), void 0, true, {
129
+ fileName: _jsxFileName,
130
+ lineNumber: 8,
131
+ columnNumber: 7
132
+ }, _this);
79
133
  });