@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
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [1.0.0-alpha.025bb0.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.7.3...@codecademy/gamut-patterns@1.0.0-alpha.025bb0.0) (2022-01-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* bumped React to 17
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* bumped React to 17 ([4d0d029](https://github.com/Codecademy/gamut/commit/4d0d029ce293d3c4a8331c625bcdcdce93235f2d))
|
|
7
16
|
|
|
8
|
-
**Note:** Version bump only for package @codecademy/gamut-patterns
|
|
9
17
|
|
|
18
|
+
### Reverts
|
|
10
19
|
|
|
20
|
+
* Revert "Updated svgr and svgo to latest" ([d049662](https://github.com/Codecademy/gamut/commit/d049662334753f113245a04e1cc7f37827fc4f52))
|
|
11
21
|
|
|
12
22
|
|
|
13
23
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PatternProps } from '../props';
|
|
3
|
-
export declare const CheckerDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const CheckerDense: 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 CheckerDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var CheckerDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Checker 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 CheckerLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const CheckerLoose: 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 CheckerLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var CheckerLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Checker 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 CheckerRegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const CheckerRegular: 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 CheckerRegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var CheckerRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Checker 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 DiagonalADense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DiagonalADense: 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 DiagonalADense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DiagonalADense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Diagonal A 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 DiagonalALoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DiagonalALoose: 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 DiagonalALoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DiagonalALoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Diagonal A 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 DiagonalARegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DiagonalARegular: 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 DiagonalARegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DiagonalARegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Diagonal A 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 DiagonalBDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DiagonalBDense: 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 DiagonalBDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DiagonalBDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Diagonal B 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 DiagonalBLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DiagonalBLoose: 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 DiagonalBLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DiagonalBLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Diagonal B 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 DiagonalBRegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DiagonalBRegular: 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 DiagonalBRegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DiagonalBRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Diagonal B 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 DotDense: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DotDense: 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 DotDense = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DotDense = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Dot 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 DotLoose: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DotLoose: 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 DotLoose = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DotLoose = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Dot 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 DotRegular: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const DotRegular: 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 DotRegular = /*#__PURE__*/React.forwardRef(function
|
|
10
|
+
export var DotRegular = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
11
11
|
var _ref$title = _ref.title,
|
|
12
12
|
title = _ref$title === void 0 ? 'Dot Regular' : _ref$title,
|
|
13
13
|
titleId = _ref.titleId,
|