@codecademy/gamut-patterns 1.0.0-alpha.fb02a7.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 (97) hide show
  1. package/LICENSE +1 -1
  2. package/dist/index.d.ts +2 -0
  3. package/dist/index.js +2 -0
  4. package/dist/patterns/CheckerDense.d.ts +3 -0
  5. package/dist/patterns/CheckerDense.js +54 -0
  6. package/dist/patterns/CheckerLoose.d.ts +3 -0
  7. package/dist/patterns/CheckerLoose.js +54 -0
  8. package/dist/patterns/CheckerRegular.d.ts +3 -0
  9. package/dist/patterns/CheckerRegular.js +54 -0
  10. package/dist/patterns/DiagonalADense.d.ts +3 -0
  11. package/dist/patterns/DiagonalADense.js +88 -0
  12. package/dist/patterns/DiagonalALoose.d.ts +3 -0
  13. package/dist/patterns/DiagonalALoose.js +232 -0
  14. package/dist/patterns/DiagonalARegular.d.ts +3 -0
  15. package/dist/patterns/DiagonalARegular.js +136 -0
  16. package/dist/patterns/DiagonalBDense.d.ts +3 -0
  17. package/dist/patterns/DiagonalBDense.js +70 -0
  18. package/dist/patterns/DiagonalBLoose.d.ts +3 -0
  19. package/dist/patterns/DiagonalBLoose.js +138 -0
  20. package/dist/patterns/DiagonalBRegular.d.ts +3 -0
  21. package/dist/patterns/DiagonalBRegular.js +94 -0
  22. package/dist/patterns/DotDense.d.ts +3 -0
  23. package/dist/patterns/DotDense.js +49 -0
  24. package/dist/patterns/DotLoose.d.ts +3 -0
  25. package/dist/patterns/DotLoose.js +92 -0
  26. package/dist/patterns/DotRegular.d.ts +3 -0
  27. package/dist/patterns/DotRegular.js +49 -0
  28. package/dist/patterns/ExDense.d.ts +3 -0
  29. package/dist/patterns/ExDense.js +71 -0
  30. package/dist/patterns/ExLoose.d.ts +3 -0
  31. package/dist/patterns/ExLoose.js +71 -0
  32. package/dist/patterns/ExRegular.d.ts +3 -0
  33. package/dist/patterns/ExRegular.js +71 -0
  34. package/dist/patterns/FlowerDense.d.ts +3 -0
  35. package/dist/patterns/FlowerDense.js +65 -0
  36. package/dist/patterns/FlowerLoose.d.ts +3 -0
  37. package/dist/patterns/FlowerLoose.js +65 -0
  38. package/dist/patterns/FlowerRegular.d.ts +3 -0
  39. package/dist/patterns/FlowerRegular.js +65 -0
  40. package/dist/patterns/GridDense.d.ts +3 -0
  41. package/dist/patterns/GridDense.js +64 -0
  42. package/dist/patterns/GridLoose.d.ts +3 -0
  43. package/dist/patterns/GridLoose.js +64 -0
  44. package/dist/patterns/GridRegular.d.ts +3 -0
  45. package/dist/patterns/GridRegular.js +64 -0
  46. package/dist/patterns/Herringbone.d.ts +3 -0
  47. package/dist/patterns/Herringbone.js +82 -0
  48. package/dist/patterns/RainDense.d.ts +3 -0
  49. package/dist/patterns/RainDense.js +54 -0
  50. package/dist/patterns/RainLoose.d.ts +3 -0
  51. package/dist/patterns/RainLoose.js +54 -0
  52. package/dist/patterns/RainRegular.d.ts +3 -0
  53. package/dist/patterns/RainRegular.js +54 -0
  54. package/dist/patterns/StripeDense.d.ts +3 -0
  55. package/dist/patterns/StripeDense.js +86 -0
  56. package/dist/patterns/StripeLoose.d.ts +3 -0
  57. package/dist/patterns/StripeLoose.js +218 -0
  58. package/dist/patterns/StripeRegular.d.ts +3 -0
  59. package/dist/patterns/StripeRegular.js +130 -0
  60. package/dist/patterns/index.d.ts +28 -0
  61. package/dist/patterns/index.js +28 -0
  62. package/dist/props.d.ts +193 -0
  63. package/dist/props.js +9 -0
  64. package/dist/svg/CheckerDense.svg +14 -0
  65. package/dist/svg/CheckerLoose.svg +14 -0
  66. package/dist/svg/CheckerRegular.svg +14 -0
  67. package/dist/svg/DiagonalADense.svg +20 -0
  68. package/dist/svg/DiagonalALoose.svg +44 -0
  69. package/dist/svg/DiagonalARegular.svg +28 -0
  70. package/dist/svg/DiagonalBDense.svg +24 -0
  71. package/dist/svg/DiagonalBLoose.svg +28 -0
  72. package/dist/svg/DiagonalBRegular.svg +28 -0
  73. package/dist/svg/DotDense.svg +13 -0
  74. package/dist/svg/DotLoose.svg +40 -0
  75. package/dist/svg/DotRegular.svg +13 -0
  76. package/dist/svg/ExDense.svg +17 -0
  77. package/dist/svg/ExLoose.svg +17 -0
  78. package/dist/svg/ExRegular.svg +17 -0
  79. package/dist/svg/FlowerDense.svg +16 -0
  80. package/dist/svg/FlowerLoose.svg +16 -0
  81. package/dist/svg/FlowerRegular.svg +16 -0
  82. package/dist/svg/GridDense.svg +16 -0
  83. package/dist/svg/GridLoose.svg +16 -0
  84. package/dist/svg/GridRegular.svg +16 -0
  85. package/dist/svg/Herringbone.svg +19 -0
  86. package/dist/svg/RainDense.svg +14 -0
  87. package/dist/svg/RainLoose.svg +14 -0
  88. package/dist/svg/RainRegular.svg +14 -0
  89. package/dist/svg/StripeDense.svg +20 -0
  90. package/dist/svg/StripeLoose.svg +44 -0
  91. package/dist/svg/StripeRegular.svg +28 -0
  92. package/dist/types.d.ts +1 -0
  93. package/dist/types.js +1 -0
  94. package/dist/usePatternId.d.ts +1 -0
  95. package/dist/usePatternId.js +8 -0
  96. package/package.json +26 -31
  97. package/CHANGELOG.md +0 -15
@@ -0,0 +1,64 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var GridLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Grid Loose' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('GridLoose');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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: 1,
39
+ height: 1,
40
+ fill: "currentColor"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ y: 8,
43
+ width: 1,
44
+ height: 1,
45
+ fill: "currentColor"
46
+ }), /*#__PURE__*/_jsx("rect", {
47
+ x: 8,
48
+ width: 1,
49
+ height: 1,
50
+ fill: "currentColor"
51
+ }), /*#__PURE__*/_jsx("rect", {
52
+ x: 8,
53
+ y: 8,
54
+ width: 1,
55
+ height: 1,
56
+ fill: "currentColor"
57
+ })]
58
+ }), /*#__PURE__*/_jsx("rect", {
59
+ width: "100%",
60
+ height: "100%",
61
+ fill: "url(#".concat(patternId, ")")
62
+ })]
63
+ }));
64
+ });
@@ -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,64 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var GridRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Grid Regular' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('GridRegular');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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: 1,
39
+ height: 1,
40
+ fill: "currentColor"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ y: 4,
43
+ width: 1,
44
+ height: 1,
45
+ fill: "currentColor"
46
+ }), /*#__PURE__*/_jsx("rect", {
47
+ x: 4,
48
+ width: 1,
49
+ height: 1,
50
+ fill: "currentColor"
51
+ }), /*#__PURE__*/_jsx("rect", {
52
+ x: 4,
53
+ y: 4,
54
+ width: 1,
55
+ height: 1,
56
+ fill: "currentColor"
57
+ })]
58
+ }), /*#__PURE__*/_jsx("rect", {
59
+ width: "100%",
60
+ height: "100%",
61
+ fill: "url(#".concat(patternId, ")")
62
+ })]
63
+ }));
64
+ });
@@ -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,82 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var Herringbone = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Herringbone' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('Herringbone');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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
+ y: 1,
39
+ width: 1,
40
+ height: 1,
41
+ fill: "herringbone"
42
+ }), /*#__PURE__*/_jsx("rect", {
43
+ x: 1,
44
+ y: 2,
45
+ width: 1,
46
+ height: 1,
47
+ fill: "herringbone"
48
+ }), /*#__PURE__*/_jsx("rect", {
49
+ x: 3,
50
+ width: 1,
51
+ height: 1,
52
+ fill: "herringbone"
53
+ }), /*#__PURE__*/_jsx("rect", {
54
+ x: 2,
55
+ width: 1,
56
+ height: 1,
57
+ fill: "herringbone"
58
+ }), /*#__PURE__*/_jsx("rect", {
59
+ x: 3,
60
+ y: 1,
61
+ width: 1,
62
+ height: 1,
63
+ fill: "herringbone"
64
+ }), /*#__PURE__*/_jsx("rect", {
65
+ x: 3,
66
+ y: 3,
67
+ width: 1,
68
+ height: 1,
69
+ fill: "herringbone"
70
+ }), /*#__PURE__*/_jsx("rect", {
71
+ y: 3,
72
+ width: 1,
73
+ height: 1,
74
+ fill: "herringbone"
75
+ })]
76
+ }), /*#__PURE__*/_jsx("rect", {
77
+ width: "100%",
78
+ height: "100%",
79
+ fill: "url(#".concat(patternId, ")")
80
+ })]
81
+ }));
82
+ });
@@ -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,54 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var RainDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Rain Dense' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('RainDense');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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
+ width: 1,
39
+ height: 1,
40
+ fill: "currentColor"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ x: 1,
43
+ y: 1,
44
+ width: 1,
45
+ height: 1,
46
+ fill: "currentColor"
47
+ })]
48
+ }), /*#__PURE__*/_jsx("rect", {
49
+ width: "100%",
50
+ height: "100%",
51
+ fill: "url(#".concat(patternId, ")")
52
+ })]
53
+ }));
54
+ });
@@ -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,54 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var RainLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Rain Loose' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('RainLoose');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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: 1,
39
+ height: 1,
40
+ fill: "currentColor"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ x: 1,
43
+ y: 1,
44
+ width: 1,
45
+ height: 1,
46
+ fill: "currentColor"
47
+ })]
48
+ }), /*#__PURE__*/_jsx("rect", {
49
+ width: "100%",
50
+ height: "100%",
51
+ fill: "url(#".concat(patternId, ")")
52
+ })]
53
+ }));
54
+ });
@@ -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,54 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var RainRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Rain Regular' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('RainRegular');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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: 1,
39
+ height: 1,
40
+ fill: "currentColor"
41
+ }), /*#__PURE__*/_jsx("rect", {
42
+ x: 1,
43
+ y: 1,
44
+ width: 1,
45
+ height: 1,
46
+ fill: "currentColor"
47
+ })]
48
+ }), /*#__PURE__*/_jsx("rect", {
49
+ width: "100%",
50
+ height: "100%",
51
+ fill: "url(#".concat(patternId, ")")
52
+ })]
53
+ }));
54
+ });
@@ -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,86 @@
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); }
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; }
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; }
9
+ import * as React from 'react';
10
+ import { Svg } from '../props';
11
+ import { usePatternId } from '../usePatternId';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ export var StripeDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Stripe Dense' : _ref$title,
17
+ titleId = _ref.titleId,
18
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
+ var patternId = usePatternId('StripeDense');
20
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
21
+ fill: "currentColor",
22
+ role: "img",
23
+ "aria-hidden": "true",
24
+ ref: svgRef,
25
+ "aria-labelledby": titleId
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
+ width: 1,
44
+ height: 1,
45
+ fill: "currentColor"
46
+ }), /*#__PURE__*/_jsx("rect", {
47
+ x: 2,
48
+ width: 1,
49
+ height: 1,
50
+ fill: "currentColor"
51
+ }), /*#__PURE__*/_jsx("rect", {
52
+ x: 3,
53
+ width: 1,
54
+ height: 1,
55
+ fill: "currentColor"
56
+ }), /*#__PURE__*/_jsx("rect", {
57
+ x: 1,
58
+ y: 2,
59
+ width: 1,
60
+ height: 1,
61
+ fill: "currentColor"
62
+ }), /*#__PURE__*/_jsx("rect", {
63
+ y: 2,
64
+ width: 1,
65
+ height: 1,
66
+ fill: "currentColor"
67
+ }), /*#__PURE__*/_jsx("rect", {
68
+ x: 2,
69
+ y: 2,
70
+ width: 1,
71
+ height: 1,
72
+ fill: "currentColor"
73
+ }), /*#__PURE__*/_jsx("rect", {
74
+ x: 3,
75
+ y: 2,
76
+ width: 1,
77
+ height: 1,
78
+ fill: "currentColor"
79
+ })]
80
+ }), /*#__PURE__*/_jsx("rect", {
81
+ width: "100%",
82
+ height: "100%",
83
+ fill: "url(#".concat(patternId, ")")
84
+ })]
85
+ }));
86
+ });
@@ -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>>;