@codecademy/gamut-patterns 0.7.4-alpha.fa70ff.0 → 1.0.0-alpha.025bb0.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.
- package/CHANGELOG.md +12 -2
- package/dist/patterns/CheckerDense.d.ts +1 -1
- package/dist/patterns/CheckerDense.js +1 -1
- package/dist/patterns/CheckerLoose.d.ts +1 -1
- package/dist/patterns/CheckerLoose.js +1 -1
- package/dist/patterns/CheckerRegular.d.ts +1 -1
- package/dist/patterns/CheckerRegular.js +1 -1
- package/dist/patterns/DiagonalADense.d.ts +1 -1
- package/dist/patterns/DiagonalADense.js +1 -1
- package/dist/patterns/DiagonalALoose.d.ts +1 -1
- package/dist/patterns/DiagonalALoose.js +1 -1
- package/dist/patterns/DiagonalARegular.d.ts +1 -1
- package/dist/patterns/DiagonalARegular.js +1 -1
- package/dist/patterns/DiagonalBDense.d.ts +1 -1
- package/dist/patterns/DiagonalBDense.js +1 -1
- package/dist/patterns/DiagonalBLoose.d.ts +1 -1
- package/dist/patterns/DiagonalBLoose.js +1 -1
- package/dist/patterns/DiagonalBRegular.d.ts +1 -1
- package/dist/patterns/DiagonalBRegular.js +1 -1
- package/dist/patterns/DotDense.d.ts +1 -1
- package/dist/patterns/DotDense.js +1 -1
- package/dist/patterns/DotLoose.d.ts +1 -1
- package/dist/patterns/DotLoose.js +1 -1
- package/dist/patterns/DotRegular.d.ts +1 -1
- package/dist/patterns/DotRegular.js +1 -1
- package/dist/patterns/ExDense.d.ts +1 -1
- package/dist/patterns/ExDense.js +1 -1
- package/dist/patterns/ExLoose.d.ts +1 -1
- package/dist/patterns/ExLoose.js +1 -1
- package/dist/patterns/ExRegular.d.ts +1 -1
- package/dist/patterns/ExRegular.js +1 -1
- package/dist/patterns/FlowerDense.d.ts +1 -1
- package/dist/patterns/FlowerDense.js +1 -1
- package/dist/patterns/FlowerLoose.d.ts +1 -1
- package/dist/patterns/FlowerLoose.js +1 -1
- package/dist/patterns/FlowerRegular.d.ts +1 -1
- package/dist/patterns/FlowerRegular.js +1 -1
- package/dist/patterns/GridDense.d.ts +1 -1
- package/dist/patterns/GridDense.js +1 -1
- package/dist/patterns/GridLoose.d.ts +1 -1
- package/dist/patterns/GridLoose.js +1 -1
- package/dist/patterns/GridRegular.d.ts +1 -1
- package/dist/patterns/GridRegular.js +1 -1
- package/dist/patterns/Herringbone.d.ts +1 -1
- package/dist/patterns/Herringbone.js +1 -1
- package/dist/patterns/RainDense.d.ts +1 -1
- package/dist/patterns/RainDense.js +1 -1
- package/dist/patterns/RainLoose.d.ts +1 -1
- package/dist/patterns/RainLoose.js +1 -1
- package/dist/patterns/RainRegular.d.ts +1 -1
- package/dist/patterns/RainRegular.js +1 -1
- package/dist/patterns/StripeDense.d.ts +1 -1
- package/dist/patterns/StripeDense.js +1 -1
- package/dist/patterns/StripeLoose.d.ts +1 -1
- package/dist/patterns/StripeLoose.js +1 -1
- package/dist/patterns/StripeRegular.d.ts +1 -1
- package/dist/patterns/StripeRegular.js +1 -1
- package/dist/props.d.ts +1 -1
- package/package.json +6 -6
- package/{icon-template.js → pattern-template.js} +5 -3
- package/svgr.config.js +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const ExDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const ExDense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
package/dist/patterns/ExDense.js
CHANGED
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var ExDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var ExDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Ex Dense' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const ExLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const ExLoose: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
package/dist/patterns/ExLoose.js
CHANGED
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var ExLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var ExLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Ex Loose' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const ExRegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const ExRegular: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var ExRegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var ExRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Ex Regular' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const FlowerDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const FlowerDense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var FlowerDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var FlowerDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Flower Dense' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const FlowerLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const FlowerLoose: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var FlowerLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var FlowerLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Flower Loose' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const FlowerRegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const FlowerRegular: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var FlowerRegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var FlowerRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Flower Regular' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const GridDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const GridDense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var GridDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var GridDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Grid Dense' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const GridLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const GridLoose: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var GridLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var GridLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Grid Loose' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const GridRegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const GridRegular: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var GridRegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var GridRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Grid Regular' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const Herringbone: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const Herringbone: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var Herringbone = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var Herringbone = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Herringbone' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const RainDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const RainDense: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var RainDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var RainDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Rain Dense' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const RainLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const RainLoose: React.ForwardRefExoticComponent<PatternProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -7,7 +7,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Svg } from '../props';
|
|
9
9
|
import { usePatternId } from '../usePatternId';
|
|
10
|
-
export var RainLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var RainLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Rain Loose' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|