@codecademy/gamut-patterns 1.0.0-alpha.f6cb5a.0 → 67.0.0-alpha.387605.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 (41) hide show
  1. package/LICENSE +1 -1
  2. package/dist/patterns/CheckerDense.js +39 -32
  3. package/dist/patterns/CheckerLoose.js +39 -32
  4. package/dist/patterns/CheckerRegular.js +39 -32
  5. package/dist/patterns/DiagonalADense.js +73 -66
  6. package/dist/patterns/DiagonalALoose.js +217 -210
  7. package/dist/patterns/DiagonalARegular.js +121 -114
  8. package/dist/patterns/DiagonalBDense.js +55 -48
  9. package/dist/patterns/DiagonalBLoose.js +123 -116
  10. package/dist/patterns/DiagonalBRegular.js +79 -72
  11. package/dist/patterns/DotDense.js +34 -27
  12. package/dist/patterns/DotLoose.js +77 -70
  13. package/dist/patterns/DotRegular.js +34 -27
  14. package/dist/patterns/ExDense.js +56 -49
  15. package/dist/patterns/ExLoose.js +56 -49
  16. package/dist/patterns/ExRegular.js +56 -49
  17. package/dist/patterns/FlowerDense.js +50 -43
  18. package/dist/patterns/FlowerLoose.js +50 -43
  19. package/dist/patterns/FlowerRegular.js +50 -43
  20. package/dist/patterns/GridDense.js +49 -42
  21. package/dist/patterns/GridLoose.js +49 -42
  22. package/dist/patterns/GridRegular.js +49 -42
  23. package/dist/patterns/Herringbone.js +67 -60
  24. package/dist/patterns/RainDense.js +39 -32
  25. package/dist/patterns/RainLoose.js +39 -32
  26. package/dist/patterns/RainRegular.js +39 -32
  27. package/dist/patterns/StripeDense.js +71 -64
  28. package/dist/patterns/StripeLoose.js +203 -196
  29. package/dist/patterns/StripeRegular.js +115 -108
  30. package/dist/types.js +1 -0
  31. package/dist/usePatternId.js +4 -6
  32. package/package.json +16 -17
  33. package/.svgo.yml +0 -11
  34. package/CHANGELOG.md +0 -329
  35. package/babel.config.js +0 -5
  36. package/emotion-plugin.js +0 -46
  37. package/index-template.js +0 -10
  38. package/jest.config.js +0 -1
  39. package/pattern-template.js +0 -30
  40. package/svgr.config.js +0 -29
  41. package/tsconfig.json +0 -12
@@ -1,87 +1,94 @@
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
-
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  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
8
  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
9
  import * as React from 'react';
8
10
  import { Svg } from '../props';
9
11
  import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
14
  export var DiagonalBRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
15
  var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Diagonal B Regular' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
+ title = _ref$title === void 0 ? 'Diagonal B Regular' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
19
  var patternId = usePatternId('DiagonalBRegular');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
18
21
  fill: "currentColor",
19
22
  role: "img",
20
23
  "aria-hidden": "true",
21
24
  ref: svgRef,
22
25
  "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: 8,
34
- height: 8,
35
- fill: "transparent"
36
- }), /*#__PURE__*/React.createElement("rect", {
37
- y: 7,
38
- width: 1,
39
- height: 1,
40
- fill: "currentColor"
41
- }), /*#__PURE__*/React.createElement("rect", {
42
- x: 1,
43
- y: 6,
44
- width: 1,
45
- height: 1,
46
- fill: "currentColor"
47
- }), /*#__PURE__*/React.createElement("rect", {
48
- x: 2,
49
- y: 5,
50
- width: 1,
51
- height: 1,
52
- fill: "currentColor"
53
- }), /*#__PURE__*/React.createElement("rect", {
54
- x: 3,
55
- y: 4,
56
- width: 1,
57
- height: 1,
58
- fill: "currentColor"
59
- }), /*#__PURE__*/React.createElement("rect", {
60
- x: 4,
61
- y: 3,
62
- width: 1,
63
- height: 1,
64
- fill: "currentColor"
65
- }), /*#__PURE__*/React.createElement("rect", {
66
- x: 5,
67
- y: 2,
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: 7,
79
- width: 1,
80
- height: 1,
81
- fill: "currentColor"
82
- })), /*#__PURE__*/React.createElement("rect", {
83
- width: "100%",
84
- height: "100%",
85
- fill: "url(#".concat(patternId, ")")
26
+ }, props), {}, {
27
+ children: [title ? /*#__PURE__*/_jsx("title", {
28
+ id: titleId,
29
+ children: title
30
+ }) : null, /*#__PURE__*/_jsxs("pattern", {
31
+ id: patternId,
32
+ x: 0,
33
+ y: 0,
34
+ width: 8,
35
+ height: 8,
36
+ patternUnits: "userSpaceOnUse",
37
+ children: [/*#__PURE__*/_jsx("rect", {
38
+ width: 8,
39
+ height: 8,
40
+ fill: "transparent"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ y: 7,
43
+ width: 1,
44
+ height: 1,
45
+ fill: "currentColor"
46
+ }), /*#__PURE__*/_jsx("rect", {
47
+ x: 1,
48
+ y: 6,
49
+ width: 1,
50
+ height: 1,
51
+ fill: "currentColor"
52
+ }), /*#__PURE__*/_jsx("rect", {
53
+ x: 2,
54
+ y: 5,
55
+ width: 1,
56
+ height: 1,
57
+ fill: "currentColor"
58
+ }), /*#__PURE__*/_jsx("rect", {
59
+ x: 3,
60
+ y: 4,
61
+ width: 1,
62
+ height: 1,
63
+ fill: "currentColor"
64
+ }), /*#__PURE__*/_jsx("rect", {
65
+ x: 4,
66
+ y: 3,
67
+ width: 1,
68
+ height: 1,
69
+ fill: "currentColor"
70
+ }), /*#__PURE__*/_jsx("rect", {
71
+ x: 5,
72
+ y: 2,
73
+ width: 1,
74
+ height: 1,
75
+ fill: "currentColor"
76
+ }), /*#__PURE__*/_jsx("rect", {
77
+ x: 6,
78
+ y: 1,
79
+ width: 1,
80
+ height: 1,
81
+ fill: "currentColor"
82
+ }), /*#__PURE__*/_jsx("rect", {
83
+ x: 7,
84
+ width: 1,
85
+ height: 1,
86
+ fill: "currentColor"
87
+ })]
88
+ }), /*#__PURE__*/_jsx("rect", {
89
+ width: "100%",
90
+ height: "100%",
91
+ fill: "url(#".concat(patternId, ")")
92
+ })]
86
93
  }));
87
94
  });
@@ -1,42 +1,49 @@
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
-
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  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
8
  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
9
  import * as React from 'react';
8
10
  import { Svg } from '../props';
9
11
  import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
14
  export var DotDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
15
  var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Dot Dense' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
+ title = _ref$title === void 0 ? 'Dot Dense' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
19
  var patternId = usePatternId('DotDense');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
18
21
  fill: "currentColor",
19
22
  role: "img",
20
23
  "aria-hidden": "true",
21
24
  ref: svgRef,
22
25
  "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("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, ")")
26
+ }, props), {}, {
27
+ children: [title ? /*#__PURE__*/_jsx("title", {
28
+ id: titleId,
29
+ children: title
30
+ }) : null, /*#__PURE__*/_jsx("pattern", {
31
+ id: patternId,
32
+ x: 0,
33
+ y: 0,
34
+ width: 4,
35
+ height: 4,
36
+ patternUnits: "userSpaceOnUse",
37
+ children: /*#__PURE__*/_jsx("circle", {
38
+ cx: 0.5,
39
+ cy: 0.5,
40
+ r: 0.5,
41
+ fill: "currentColor"
42
+ })
43
+ }), /*#__PURE__*/_jsx("rect", {
44
+ width: "100%",
45
+ height: "100%",
46
+ fill: "url(#".concat(patternId, ")")
47
+ })]
41
48
  }));
42
49
  });
@@ -1,85 +1,92 @@
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
-
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  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
8
  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
9
  import * as React from 'react';
8
10
  import { Svg } from '../props';
9
11
  import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
14
  export var DotLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
15
  var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Dot Loose' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
+ title = _ref$title === void 0 ? 'Dot Loose' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
19
  var patternId = usePatternId('DotLoose');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
18
21
  fill: "currentColor",
19
22
  role: "img",
20
23
  "aria-hidden": "true",
21
24
  ref: svgRef,
22
25
  "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: 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, ")")
26
+ }, props), {}, {
27
+ children: [title ? /*#__PURE__*/_jsx("title", {
28
+ id: titleId,
29
+ children: title
30
+ }) : null, /*#__PURE__*/_jsxs("pattern", {
31
+ id: patternId,
32
+ x: 0,
33
+ y: 0,
34
+ width: 16,
35
+ height: 16,
36
+ patternUnits: "userSpaceOnUse",
37
+ children: [/*#__PURE__*/_jsx("rect", {
38
+ width: 0.5,
39
+ height: 0.5,
40
+ fill: "currentColor"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ y: 1,
43
+ width: 0.5,
44
+ height: 0.5,
45
+ fill: "currentColor"
46
+ }), /*#__PURE__*/_jsx("rect", {
47
+ y: 0.5,
48
+ width: 0.5,
49
+ height: 0.5,
50
+ fill: "currentColor"
51
+ }), /*#__PURE__*/_jsx("rect", {
52
+ x: 1,
53
+ width: 0.5,
54
+ height: 0.5,
55
+ fill: "currentColor"
56
+ }), /*#__PURE__*/_jsx("rect", {
57
+ x: 1,
58
+ y: 1,
59
+ width: 0.5,
60
+ height: 0.5,
61
+ fill: "currentColor"
62
+ }), /*#__PURE__*/_jsx("rect", {
63
+ x: 1,
64
+ y: 0.5,
65
+ width: 0.5,
66
+ height: 0.5,
67
+ fill: "currentColor"
68
+ }), /*#__PURE__*/_jsx("rect", {
69
+ x: 0.5,
70
+ width: 0.5,
71
+ height: 0.5,
72
+ fill: "currentColor"
73
+ }), /*#__PURE__*/_jsx("rect", {
74
+ x: 0.5,
75
+ y: 1,
76
+ width: 0.5,
77
+ height: 0.5,
78
+ fill: "currentColor"
79
+ }), /*#__PURE__*/_jsx("rect", {
80
+ x: 0.5,
81
+ y: 0.5,
82
+ width: 0.5,
83
+ height: 0.5,
84
+ fill: "currentColor"
85
+ })]
86
+ }), /*#__PURE__*/_jsx("rect", {
87
+ width: "100%",
88
+ height: "100%",
89
+ fill: "url(#".concat(patternId, ")")
90
+ })]
84
91
  }));
85
92
  });
@@ -1,42 +1,49 @@
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
-
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  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
8
  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
9
  import * as React from 'react';
8
10
  import { Svg } from '../props';
9
11
  import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
14
  export var DotRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
15
  var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Dot Regular' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
+ title = _ref$title === void 0 ? 'Dot Regular' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
19
  var patternId = usePatternId('DotRegular');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
18
21
  fill: "currentColor",
19
22
  role: "img",
20
23
  "aria-hidden": "true",
21
24
  ref: svgRef,
22
25
  "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("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, ")")
26
+ }, props), {}, {
27
+ children: [title ? /*#__PURE__*/_jsx("title", {
28
+ id: titleId,
29
+ children: title
30
+ }) : null, /*#__PURE__*/_jsx("pattern", {
31
+ id: patternId,
32
+ x: 0,
33
+ y: 0,
34
+ width: 8,
35
+ height: 8,
36
+ patternUnits: "userSpaceOnUse",
37
+ children: /*#__PURE__*/_jsx("circle", {
38
+ cx: 0.5,
39
+ cy: 0.5,
40
+ r: 0.5,
41
+ fill: "currentColor"
42
+ })
43
+ }), /*#__PURE__*/_jsx("rect", {
44
+ width: "100%",
45
+ height: "100%",
46
+ fill: "url(#".concat(patternId, ")")
47
+ })]
41
48
  }));
42
49
  });
@@ -1,64 +1,71 @@
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
-
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  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
8
  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
9
  import * as React from 'react';
8
10
  import { Svg } from '../props';
9
11
  import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
14
  export var ExDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
11
15
  var _ref$title = _ref.title,
12
- title = _ref$title === void 0 ? 'Ex Dense' : _ref$title,
13
- titleId = _ref.titleId,
14
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
-
16
+ title = _ref$title === void 0 ? 'Ex Dense' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
16
19
  var patternId = usePatternId('ExDense');
17
- return /*#__PURE__*/React.createElement(Svg, _extends({
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
18
21
  fill: "currentColor",
19
22
  role: "img",
20
23
  "aria-hidden": "true",
21
24
  ref: svgRef,
22
25
  "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
- 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, ")")
26
+ }, props), {}, {
27
+ children: [title ? /*#__PURE__*/_jsx("title", {
28
+ id: titleId,
29
+ children: title
30
+ }) : null, /*#__PURE__*/_jsxs("pattern", {
31
+ id: patternId,
32
+ x: 0,
33
+ y: 0,
34
+ width: 4,
35
+ height: 4,
36
+ patternUnits: "userSpaceOnUse",
37
+ children: [/*#__PURE__*/_jsx("rect", {
38
+ x: 1,
39
+ width: 1,
40
+ height: 1,
41
+ fill: "currentColor"
42
+ }), /*#__PURE__*/_jsx("rect", {
43
+ y: 1,
44
+ width: 1,
45
+ height: 1,
46
+ fill: "currentColor"
47
+ }), /*#__PURE__*/_jsx("rect", {
48
+ x: 1,
49
+ y: 2,
50
+ width: 1,
51
+ height: 1,
52
+ fill: "currentColor"
53
+ }), /*#__PURE__*/_jsx("rect", {
54
+ x: 3,
55
+ width: 1,
56
+ height: 1,
57
+ fill: "currentColor"
58
+ }), /*#__PURE__*/_jsx("rect", {
59
+ x: 3,
60
+ y: 2,
61
+ width: 1,
62
+ height: 1,
63
+ fill: "currentColor"
64
+ })]
65
+ }), /*#__PURE__*/_jsx("rect", {
66
+ width: "100%",
67
+ height: "100%",
68
+ fill: "url(#".concat(patternId, ")")
69
+ })]
63
70
  }));
64
71
  });