@codecademy/gamut-patterns 0.9.17 → 0.9.18-alpha.23fbb5.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.
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 DotRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Dot Regular' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('DotRegular');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const DotRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Dot Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('DotRegular');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -43,7 +35,7 @@ export var DotRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
43
35
  }), /*#__PURE__*/_jsx("rect", {
44
36
  width: "100%",
45
37
  height: "100%",
46
- fill: "url(#".concat(patternId, ")")
38
+ fill: `url(#${patternId})`
47
39
  })]
48
- }));
40
+ });
49
41
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 ExDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Ex Dense' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('ExDense');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const ExDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Ex Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('ExDense');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -65,7 +57,7 @@ export var ExDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
65
57
  }), /*#__PURE__*/_jsx("rect", {
66
58
  width: "100%",
67
59
  height: "100%",
68
- fill: "url(#".concat(patternId, ")")
60
+ fill: `url(#${patternId})`
69
61
  })]
70
- }));
62
+ });
71
63
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 ExLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Ex Loose' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('ExLoose');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const ExLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Ex Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('ExLoose');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -65,7 +57,7 @@ export var ExLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
65
57
  }), /*#__PURE__*/_jsx("rect", {
66
58
  width: "100%",
67
59
  height: "100%",
68
- fill: "url(#".concat(patternId, ")")
60
+ fill: `url(#${patternId})`
69
61
  })]
70
- }));
62
+ });
71
63
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 ExRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Ex Regular' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('ExRegular');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const ExRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Ex Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('ExRegular');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -65,7 +57,7 @@ export var ExRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
65
57
  }), /*#__PURE__*/_jsx("rect", {
66
58
  width: "100%",
67
59
  height: "100%",
68
- fill: "url(#".concat(patternId, ")")
60
+ fill: `url(#${patternId})`
69
61
  })]
70
- }));
62
+ });
71
63
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 FlowerDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Flower Dense' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('FlowerDense');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const FlowerDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Flower Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('FlowerDense');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -59,7 +51,7 @@ export var FlowerDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
59
51
  }), /*#__PURE__*/_jsx("rect", {
60
52
  width: "100%",
61
53
  height: "100%",
62
- fill: "url(#".concat(patternId, ")")
54
+ fill: `url(#${patternId})`
63
55
  })]
64
- }));
56
+ });
65
57
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 FlowerLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Flower Loose' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('FlowerLoose');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const FlowerLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Flower Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('FlowerLoose');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -59,7 +51,7 @@ export var FlowerLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
59
51
  }), /*#__PURE__*/_jsx("rect", {
60
52
  width: "100%",
61
53
  height: "100%",
62
- fill: "url(#".concat(patternId, ")")
54
+ fill: `url(#${patternId})`
63
55
  })]
64
- }));
56
+ });
65
57
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 FlowerRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Flower Regular' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('FlowerRegular');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const FlowerRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Flower Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('FlowerRegular');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -59,7 +51,7 @@ export var FlowerRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef)
59
51
  }), /*#__PURE__*/_jsx("rect", {
60
52
  width: "100%",
61
53
  height: "100%",
62
- fill: "url(#".concat(patternId, ")")
54
+ fill: `url(#${patternId})`
63
55
  })]
64
- }));
56
+ });
65
57
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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 GridDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
- var _ref$title = _ref.title,
16
- title = _ref$title === void 0 ? 'Grid Dense' : _ref$title,
17
- titleId = _ref.titleId,
18
- props = _objectWithoutProperties(_ref, ["title", "titleId"]);
19
- var patternId = usePatternId('GridDense');
20
- return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const GridDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Grid Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('GridDense');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -58,7 +50,7 @@ export var GridDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
58
50
  }), /*#__PURE__*/_jsx("rect", {
59
51
  width: "100%",
60
52
  height: "100%",
61
- fill: "url(#".concat(patternId, ")")
53
+ fill: `url(#${patternId})`
62
54
  })]
63
- }));
55
+ });
64
56
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const GridLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Grid Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('GridLoose');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -58,7 +50,7 @@ export var GridLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
58
50
  }), /*#__PURE__*/_jsx("rect", {
59
51
  width: "100%",
60
52
  height: "100%",
61
- fill: "url(#".concat(patternId, ")")
53
+ fill: `url(#${patternId})`
62
54
  })]
63
- }));
55
+ });
64
56
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const GridRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Grid Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('GridRegular');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -58,7 +50,7 @@ export var GridRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
58
50
  }), /*#__PURE__*/_jsx("rect", {
59
51
  width: "100%",
60
52
  height: "100%",
61
- fill: "url(#".concat(patternId, ")")
53
+ fill: `url(#${patternId})`
62
54
  })]
63
- }));
55
+ });
64
56
  });
@@ -1,29 +1,21 @@
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
1
  import * as React from 'react';
10
2
  import { Svg } from '../props';
11
3
  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({
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export const Herringbone = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Herringbone',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
11
+ const patternId = usePatternId('Herringbone');
12
+ return /*#__PURE__*/_jsxs(Svg, {
21
13
  fill: "currentColor",
22
14
  role: "img",
23
15
  "aria-hidden": "true",
24
16
  ref: svgRef,
25
- "aria-labelledby": titleId
26
- }, props), {}, {
17
+ "aria-labelledby": titleId,
18
+ ...props,
27
19
  children: [title ? /*#__PURE__*/_jsx("title", {
28
20
  id: titleId,
29
21
  children: title
@@ -76,7 +68,7 @@ export var Herringbone = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
76
68
  }), /*#__PURE__*/_jsx("rect", {
77
69
  width: "100%",
78
70
  height: "100%",
79
- fill: "url(#".concat(patternId, ")")
71
+ fill: `url(#${patternId})`
80
72
  })]
81
- }));
73
+ });
82
74
  });