@codecademy/gamut-patterns 0.8.10-alpha.b04559.0 → 0.8.11-alpha.111771.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 (37) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/babel.config.js +9 -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 +9 -0
  36. package/tsconfig.json +5 -2
  37. package/jest.config.js +0 -1
package/CHANGELOG.md CHANGED
@@ -3,7 +3,15 @@
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.10-alpha.b04559.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.8.9...@codecademy/gamut-patterns@0.8.10-alpha.b04559.0) (2022-07-29)
6
+ ### [0.8.11-alpha.111771.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.8.10...@codecademy/gamut-patterns@0.8.11-alpha.111771.0) (2022-08-01)
7
+
8
+ **Note:** Version bump only for package @codecademy/gamut-patterns
9
+
10
+
11
+
12
+
13
+
14
+ ### [0.8.10](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.8.9...@codecademy/gamut-patterns@0.8.10) (2022-07-29)
7
15
 
8
16
  **Note:** Version bump only for package @codecademy/gamut-patterns
9
17
 
package/babel.config.js CHANGED
@@ -1,5 +1,11 @@
1
1
  module.exports = {
2
- presets: ['codecademy', '@babel/preset-typescript'],
3
- include: ['./src/**/*'],
4
- ignore: ['__tests__', './**/*.d.ts'],
2
+ presets: [
3
+ [
4
+ '@nrwl/react/babel',
5
+ {
6
+ runtime: 'automatic',
7
+ useBuiltIns: 'usage',
8
+ },
9
+ ],
10
+ ],
5
11
  };
@@ -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/CheckerDense.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 CheckerDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Checker 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('CheckerDense');
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: 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
- }));
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: 2,
50
+ y: 2,
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/CheckerLoose.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 CheckerLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Checker 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('CheckerLoose');
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: 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
- }));
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: 8,
50
+ y: 8,
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/CheckerRegular.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 CheckerRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Checker 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('CheckerRegular');
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: 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
- }));
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: 4,
50
+ y: 4,
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,81 +1,135 @@
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/DiagonalADense.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 DiagonalADense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
13
  var _ref$title = _ref.title,
12
14
  title = _ref$title === void 0 ? 'Diagonal A 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('DiagonalADense');
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: 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
- }));
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: 2,
50
+ y: 2,
51
+ width: 1,
52
+ height: 1,
53
+ fill: "currentColor"
54
+ }, void 0, false, {
55
+ fileName: _jsxFileName,
56
+ lineNumber: 26,
57
+ columnNumber: 11
58
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
59
+ x: 1,
60
+ y: 2,
61
+ width: 1,
62
+ height: 1,
63
+ fill: "currentColor"
64
+ }, void 0, false, {
65
+ fileName: _jsxFileName,
66
+ lineNumber: 27,
67
+ columnNumber: 11
68
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
69
+ x: 1,
70
+ y: 3,
71
+ width: 1,
72
+ height: 1,
73
+ fill: "currentColor"
74
+ }, void 0, false, {
75
+ fileName: _jsxFileName,
76
+ lineNumber: 28,
77
+ columnNumber: 11
78
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
79
+ y: 3,
80
+ width: 1,
81
+ height: 1,
82
+ fill: "currentColor"
83
+ }, void 0, false, {
84
+ fileName: _jsxFileName,
85
+ lineNumber: 29,
86
+ columnNumber: 11
87
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
88
+ x: 3,
89
+ width: 1,
90
+ height: 1,
91
+ fill: "currentColor"
92
+ }, void 0, false, {
93
+ fileName: _jsxFileName,
94
+ lineNumber: 30,
95
+ columnNumber: 11
96
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
97
+ x: 3,
98
+ y: 1,
99
+ width: 1,
100
+ height: 1,
101
+ fill: "currentColor"
102
+ }, void 0, false, {
103
+ fileName: _jsxFileName,
104
+ lineNumber: 31,
105
+ columnNumber: 11
106
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
107
+ x: 2,
108
+ y: 1,
109
+ width: 1,
110
+ height: 1,
111
+ fill: "currentColor"
112
+ }, void 0, false, {
113
+ fileName: _jsxFileName,
114
+ lineNumber: 32,
115
+ columnNumber: 11
116
+ }, _this)]
117
+ }, void 0, true, {
118
+ fileName: _jsxFileName,
119
+ lineNumber: 17,
120
+ columnNumber: 9
121
+ }, _this), /*#__PURE__*/_jsxDEV("rect", {
122
+ width: "100%",
123
+ height: "100%",
124
+ fill: "url(#" + patternId + ")"
125
+ }, void 0, false, {
126
+ fileName: _jsxFileName,
127
+ lineNumber: 34,
128
+ columnNumber: 9
129
+ }, _this)]
130
+ }), void 0, true, {
131
+ fileName: _jsxFileName,
132
+ lineNumber: 8,
133
+ columnNumber: 7
134
+ }, _this);
81
135
  });