@codecademy/gamut-patterns 0.10.16-alpha.f4ac4e.0 → 0.10.16-alpha.fa3524.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/dist/patterns/CheckerDense.js +5 -6
- package/dist/patterns/CheckerLoose.js +5 -6
- package/dist/patterns/CheckerRegular.js +5 -6
- package/dist/patterns/DiagonalADense.js +5 -6
- package/dist/patterns/DiagonalALoose.js +5 -6
- package/dist/patterns/DiagonalARegular.js +5 -6
- package/dist/patterns/DiagonalBDense.js +5 -6
- package/dist/patterns/DiagonalBLoose.js +5 -6
- package/dist/patterns/DiagonalBRegular.js +5 -6
- package/dist/patterns/DotDense.js +5 -6
- package/dist/patterns/DotLoose.js +5 -6
- package/dist/patterns/DotRegular.js +5 -6
- package/dist/patterns/ExDense.js +5 -6
- package/dist/patterns/ExLoose.js +5 -6
- package/dist/patterns/ExRegular.js +5 -6
- package/dist/patterns/FlowerDense.js +5 -6
- package/dist/patterns/FlowerLoose.js +5 -6
- package/dist/patterns/FlowerRegular.js +5 -6
- package/dist/patterns/GridDense.js +5 -6
- package/dist/patterns/GridLoose.js +5 -6
- package/dist/patterns/GridRegular.js +5 -6
- package/dist/patterns/Herringbone.js +5 -6
- package/dist/patterns/RainDense.js +5 -6
- package/dist/patterns/RainLoose.js +5 -6
- package/dist/patterns/RainRegular.js +5 -6
- package/dist/patterns/StripeDense.js +5 -6
- package/dist/patterns/StripeLoose.js +5 -6
- package/dist/patterns/StripeRegular.js +5 -6
- package/dist/props.js +10 -13
- package/package.json +4 -4
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const CheckerDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const CheckerDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Checker Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('CheckerDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const CheckerLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const CheckerLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Checker Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('CheckerLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const CheckerRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const CheckerRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Checker Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('CheckerRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DiagonalADense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DiagonalADense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Diagonal A Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DiagonalADense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DiagonalALoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DiagonalALoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Diagonal A Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DiagonalALoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DiagonalARegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DiagonalARegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Diagonal A Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DiagonalARegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DiagonalBDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DiagonalBDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Diagonal B Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DiagonalBDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DiagonalBLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DiagonalBLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Diagonal B Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DiagonalBLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DiagonalBRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DiagonalBRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Diagonal B Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DiagonalBRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DotDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DotDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Dot Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DotDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DotLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DotLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Dot Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DotLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const DotRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const DotRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Dot Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('DotRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
package/dist/patterns/ExDense.js
CHANGED
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const ExDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const ExDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Ex Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('ExDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
package/dist/patterns/ExLoose.js
CHANGED
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const ExLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const ExLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Ex Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('ExLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const ExRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const ExRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Ex Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('ExRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const FlowerDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const FlowerDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Flower Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('FlowerDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const FlowerLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const FlowerLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Flower Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('FlowerLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const FlowerRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const FlowerRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Flower Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('FlowerRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const GridDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const GridDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Grid Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('GridDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const GridLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const GridLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Grid Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('GridLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const GridRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const GridRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Grid Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('GridRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const Herringbone = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const Herringbone = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Herringbone',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('Herringbone');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const RainDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const RainDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Rain Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('RainDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const RainLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const RainLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Rain Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('RainLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const RainRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const RainRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Rain Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('RainRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const StripeDense = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const StripeDense = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Stripe Dense',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('StripeDense');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const StripeLoose = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const StripeLoose = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Stripe Loose',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('StripeLoose');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
|
@@ -2,12 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import { Svg } from '../props';
|
|
3
3
|
import { usePatternId } from '../usePatternId';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
export const StripeRegular = /*#__PURE__*/React.forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
5
|
+
export const StripeRegular = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title = 'Stripe Regular',
|
|
7
|
+
titleId,
|
|
8
|
+
...props
|
|
9
|
+
}, svgRef) => {
|
|
11
10
|
const patternId = usePatternId('StripeRegular');
|
|
12
11
|
return /*#__PURE__*/_jsxs(Svg, {
|
|
13
12
|
fill: "currentColor",
|
package/dist/props.js
CHANGED
|
@@ -5,16 +5,13 @@ import { forwardRef } from 'react';
|
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const patternStyles = variance.compose(system.layout, system.positioning, system.space);
|
|
7
7
|
const StyledSvg = styled('svg', styledOptions())(patternStyles);
|
|
8
|
-
export const Svg = /*#__PURE__*/forwardRef((
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
...rest
|
|
19
|
-
});
|
|
20
|
-
});
|
|
8
|
+
export const Svg = /*#__PURE__*/forwardRef(({
|
|
9
|
+
height = '100%',
|
|
10
|
+
width = '100%',
|
|
11
|
+
...rest
|
|
12
|
+
}, ref) => /*#__PURE__*/_jsx(StyledSvg, {
|
|
13
|
+
height: height,
|
|
14
|
+
ref: ref,
|
|
15
|
+
width: width,
|
|
16
|
+
...rest
|
|
17
|
+
}));
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-patterns",
|
|
3
3
|
"description": "Pattern library for Codecademy",
|
|
4
|
-
"version": "0.10.16-alpha.
|
|
4
|
+
"version": "0.10.16-alpha.fa3524.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"bugs": "https://github.com/Codecademy/gamut/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@codecademy/gamut-styles": "17.
|
|
9
|
-
"@codecademy/variance": "0.24.0",
|
|
8
|
+
"@codecademy/gamut-styles": "17.9.1-alpha.fa3524.0",
|
|
9
|
+
"@codecademy/variance": "0.24.1-alpha.fa3524.0",
|
|
10
10
|
"classnames": "^2.2.5"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "ca48368b258153a397589468efefefa04ed58c49"
|
|
36
36
|
}
|