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