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