@codecademy/gamut-patterns 0.10.16-alpha.b27bcb.0 → 0.10.16-alpha.bd0e21.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.
@@ -2,11 +2,12 @@ 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
- title = 'Checker Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const CheckerDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Checker Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('CheckerDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Checker Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const CheckerLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Checker Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('CheckerLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Checker Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const CheckerRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Checker Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('CheckerRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Diagonal A Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DiagonalADense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Diagonal A Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DiagonalADense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Diagonal A Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DiagonalALoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Diagonal A Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DiagonalALoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Diagonal A Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DiagonalARegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Diagonal A Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DiagonalARegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Diagonal B Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DiagonalBDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Diagonal B Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DiagonalBDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Diagonal B Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DiagonalBLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Diagonal B Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DiagonalBLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Diagonal B Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DiagonalBRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Diagonal B Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DiagonalBRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Dot Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DotDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Dot Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DotDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Dot Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DotLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Dot Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DotLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Dot Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const DotRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Dot Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('DotRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Ex Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const ExDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Ex Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('ExDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Ex Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const ExLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Ex Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('ExLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Ex Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const ExRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Ex Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('ExRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Flower Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const FlowerDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Flower Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('FlowerDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Flower Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const FlowerLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Flower Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('FlowerLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Flower Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const FlowerRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Flower Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('FlowerRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Grid Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const GridDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Grid Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('GridDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Grid Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const GridLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Grid Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('GridLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Grid Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const GridRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Grid Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('GridRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Herringbone',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const Herringbone = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Herringbone',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('Herringbone');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Rain Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const RainDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Rain Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('RainDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Rain Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const RainLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Rain Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('RainLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Rain Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const RainRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Rain Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('RainRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Stripe Dense',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const StripeDense = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Stripe Dense',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('StripeDense');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Stripe Loose',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const StripeLoose = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Stripe Loose',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('StripeLoose');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
@@ -2,11 +2,12 @@ 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
- title = 'Stripe Regular',
7
- titleId,
8
- ...props
9
- }, svgRef) => {
5
+ export const StripeRegular = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
6
+ let {
7
+ title = 'Stripe Regular',
8
+ titleId,
9
+ ...props
10
+ } = _ref;
10
11
  const patternId = usePatternId('StripeRegular');
11
12
  return /*#__PURE__*/_jsxs(Svg, {
12
13
  fill: "currentColor",
package/dist/props.d.ts CHANGED
@@ -192,5 +192,5 @@ export interface PatternProps extends Omit<React.SVGProps<SVGSVGElement>, keyof
192
192
  export declare const Svg: import("react").ForwardRefExoticComponent<Omit<{
193
193
  theme?: import("@emotion/react").Theme | undefined;
194
194
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
195
- } & PatternProps & Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "min" | "max" | "end" | "clip" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "method" | "name" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "shapeRendering" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key">, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
195
+ } & PatternProps & Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "name" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "min" | "max" | "end" | "clip" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "method" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "shapeRendering" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key">, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
196
196
  export {};
package/dist/props.js CHANGED
@@ -5,13 +5,16 @@ 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
- height = '100%',
10
- width = '100%',
11
- ...rest
12
- }, ref) => /*#__PURE__*/_jsx(StyledSvg, {
13
- height: height,
14
- ref: ref,
15
- width: width,
16
- ...rest
17
- }));
8
+ export const Svg = /*#__PURE__*/forwardRef((_ref, ref) => {
9
+ let {
10
+ height = '100%',
11
+ width = '100%',
12
+ ...rest
13
+ } = _ref;
14
+ return /*#__PURE__*/_jsx(StyledSvg, {
15
+ height: height,
16
+ ref: ref,
17
+ width: width,
18
+ ...rest
19
+ });
20
+ });
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.b27bcb.0",
4
+ "version": "0.10.16-alpha.bd0e21.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.1-alpha.b27bcb.0",
9
- "@codecademy/variance": "0.24.1-alpha.b27bcb.0",
8
+ "@codecademy/gamut-styles": "17.10.0-alpha.bd0e21.0",
9
+ "@codecademy/variance": "0.24.1-alpha.bd0e21.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": "8867bc1a979b177996c0f58f3d9beeb446d52307"
35
+ "gitHead": "48477ecf2c9232999fff36a4d493d10d9542ecea"
36
36
  }