@codecademy/gamut-patterns 1.0.0-alpha.fb02a7.0 → 1.0.1-alpha.817a48.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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/patterns/CheckerDense.d.ts +3 -0
- package/dist/patterns/CheckerDense.js +45 -0
- package/dist/patterns/CheckerLoose.d.ts +3 -0
- package/dist/patterns/CheckerLoose.js +45 -0
- package/dist/patterns/CheckerRegular.d.ts +3 -0
- package/dist/patterns/CheckerRegular.js +45 -0
- package/dist/patterns/DiagonalADense.d.ts +3 -0
- package/dist/patterns/DiagonalADense.js +79 -0
- package/dist/patterns/DiagonalALoose.d.ts +3 -0
- package/dist/patterns/DiagonalALoose.js +223 -0
- package/dist/patterns/DiagonalARegular.d.ts +3 -0
- package/dist/patterns/DiagonalARegular.js +127 -0
- package/dist/patterns/DiagonalBDense.d.ts +3 -0
- package/dist/patterns/DiagonalBDense.js +61 -0
- package/dist/patterns/DiagonalBLoose.d.ts +3 -0
- package/dist/patterns/DiagonalBLoose.js +129 -0
- package/dist/patterns/DiagonalBRegular.d.ts +3 -0
- package/dist/patterns/DiagonalBRegular.js +85 -0
- package/dist/patterns/DotDense.d.ts +3 -0
- package/dist/patterns/DotDense.js +40 -0
- package/dist/patterns/DotLoose.d.ts +3 -0
- package/dist/patterns/DotLoose.js +83 -0
- package/dist/patterns/DotRegular.d.ts +3 -0
- package/dist/patterns/DotRegular.js +40 -0
- package/dist/patterns/ExDense.d.ts +3 -0
- package/dist/patterns/ExDense.js +62 -0
- package/dist/patterns/ExLoose.d.ts +3 -0
- package/dist/patterns/ExLoose.js +62 -0
- package/dist/patterns/ExRegular.d.ts +3 -0
- package/dist/patterns/ExRegular.js +62 -0
- package/dist/patterns/FlowerDense.d.ts +3 -0
- package/dist/patterns/FlowerDense.js +56 -0
- package/dist/patterns/FlowerLoose.d.ts +3 -0
- package/dist/patterns/FlowerLoose.js +56 -0
- package/dist/patterns/FlowerRegular.d.ts +3 -0
- package/dist/patterns/FlowerRegular.js +56 -0
- package/dist/patterns/GridDense.d.ts +3 -0
- package/dist/patterns/GridDense.js +55 -0
- package/dist/patterns/GridLoose.d.ts +3 -0
- package/dist/patterns/GridLoose.js +55 -0
- package/dist/patterns/GridRegular.d.ts +3 -0
- package/dist/patterns/GridRegular.js +55 -0
- package/dist/patterns/Herringbone.d.ts +3 -0
- package/dist/patterns/Herringbone.js +73 -0
- package/dist/patterns/RainDense.d.ts +3 -0
- package/dist/patterns/RainDense.js +45 -0
- package/dist/patterns/RainLoose.d.ts +3 -0
- package/dist/patterns/RainLoose.js +45 -0
- package/dist/patterns/RainRegular.d.ts +3 -0
- package/dist/patterns/RainRegular.js +45 -0
- package/dist/patterns/StripeDense.d.ts +3 -0
- package/dist/patterns/StripeDense.js +77 -0
- package/dist/patterns/StripeLoose.d.ts +3 -0
- package/dist/patterns/StripeLoose.js +209 -0
- package/dist/patterns/StripeRegular.d.ts +3 -0
- package/dist/patterns/StripeRegular.js +121 -0
- package/dist/patterns/index.d.ts +28 -0
- package/dist/patterns/index.js +28 -0
- package/dist/props.d.ts +302 -0
- package/dist/props.js +17 -0
- package/dist/svg/CheckerDense.svg +14 -0
- package/dist/svg/CheckerLoose.svg +14 -0
- package/dist/svg/CheckerRegular.svg +14 -0
- package/dist/svg/DiagonalADense.svg +20 -0
- package/dist/svg/DiagonalALoose.svg +44 -0
- package/dist/svg/DiagonalARegular.svg +28 -0
- package/dist/svg/DiagonalBDense.svg +24 -0
- package/dist/svg/DiagonalBLoose.svg +28 -0
- package/dist/svg/DiagonalBRegular.svg +28 -0
- package/dist/svg/DotDense.svg +13 -0
- package/dist/svg/DotLoose.svg +40 -0
- package/dist/svg/DotRegular.svg +13 -0
- package/dist/svg/ExDense.svg +17 -0
- package/dist/svg/ExLoose.svg +17 -0
- package/dist/svg/ExRegular.svg +17 -0
- package/dist/svg/FlowerDense.svg +16 -0
- package/dist/svg/FlowerLoose.svg +16 -0
- package/dist/svg/FlowerRegular.svg +16 -0
- package/dist/svg/GridDense.svg +16 -0
- package/dist/svg/GridLoose.svg +16 -0
- package/dist/svg/GridRegular.svg +16 -0
- package/dist/svg/Herringbone.svg +19 -0
- package/dist/svg/RainDense.svg +14 -0
- package/dist/svg/RainLoose.svg +14 -0
- package/dist/svg/RainRegular.svg +14 -0
- package/dist/svg/StripeDense.svg +20 -0
- package/dist/svg/StripeLoose.svg +44 -0
- package/dist/svg/StripeRegular.svg +28 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/usePatternId.d.ts +1 -0
- package/dist/usePatternId.js +7 -0
- package/package.json +21 -38
- package/CHANGELOG.md +0 -15
- package/LICENSE +0 -21
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="exDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect x="1" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="1" y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="3" y="2" width="1" height="1" fill="currentColor" />
|
|
15
|
+
</pattern>
|
|
16
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#exDense)" />
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="exLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect x="1" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="1" y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="15" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="15" y="2" width="1" height="1" fill="currentColor" />
|
|
15
|
+
</pattern>
|
|
16
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#exLoose)" />
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="exRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect x="1" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="1" y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="7" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="7" y="2" width="1" height="1" fill="currentColor" />
|
|
15
|
+
</pattern>
|
|
16
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#exRegular)" />
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="flowerDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="3" y="1" width="1" height="1" fill="currentColor" />
|
|
14
|
+
</pattern>
|
|
15
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#flowerDense)" />
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="flowerLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="15" y="1" width="1" height="1" fill="currentColor" />
|
|
14
|
+
</pattern>
|
|
15
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#flowerLoose)" />
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="flowerRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="7" y="1" width="1" height="1" fill="currentColor" />
|
|
14
|
+
</pattern>
|
|
15
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#flowerRegular)" />
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="gridDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect y="2" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="2" y="2" width="1" height="1" fill="currentColor" />
|
|
14
|
+
</pattern>
|
|
15
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#gridDense)" />
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="gridLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect y="8" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="8" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="8" y="8" width="1" height="1" fill="currentColor" />
|
|
14
|
+
</pattern>
|
|
15
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#gridLoose)" />
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="gridRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect y="4" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="4" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="4" y="4" width="1" height="1" fill="currentColor" />
|
|
14
|
+
</pattern>
|
|
15
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#gridRegular)" />
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="herringbone"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect y="1" width="1" height="1" fill="herringbone" />
|
|
11
|
+
<rect x="1" y="2" width="1" height="1" fill="herringbone" />
|
|
12
|
+
<rect x="3" width="1" height="1" fill="herringbone" />
|
|
13
|
+
<rect x="2" width="1" height="1" fill="herringbone" />
|
|
14
|
+
<rect x="3" y="1" width="1" height="1" fill="herringbone" />
|
|
15
|
+
<rect x="3" y="3" width="1" height="1" fill="herringbone" />
|
|
16
|
+
<rect y="3" width="1" height="1" fill="herringbone" />
|
|
17
|
+
</pattern>
|
|
18
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#herringbone)" />
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="rainDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
</pattern>
|
|
13
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#rainDense)" />
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="rainLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
</pattern>
|
|
13
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#rainLoose)" />
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="rainRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="1" width="1" height="1" fill="currentColor" />
|
|
12
|
+
</pattern>
|
|
13
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#rainRegular)" />
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="stripeDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect x="1" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="1" y="2" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect y="2" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="2" y="2" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="3" y="2" width="1" height="1" fill="currentColor" />
|
|
18
|
+
</pattern>
|
|
19
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#stripeDense)" />
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="stripeLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect x="1" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="1" y="8" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect y="8" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="2" y="8" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="3" y="8" width="1" height="1" fill="currentColor" />
|
|
18
|
+
<rect x="5" width="1" height="1" fill="currentColor" />
|
|
19
|
+
<rect x="4" width="1" height="1" fill="currentColor" />
|
|
20
|
+
<rect x="6" width="1" height="1" fill="currentColor" />
|
|
21
|
+
<rect x="7" width="1" height="1" fill="currentColor" />
|
|
22
|
+
<rect x="5" y="8" width="1" height="1" fill="currentColor" />
|
|
23
|
+
<rect x="4" y="8" width="1" height="1" fill="currentColor" />
|
|
24
|
+
<rect x="6" y="8" width="1" height="1" fill="currentColor" />
|
|
25
|
+
<rect x="7" y="8" width="1" height="1" fill="currentColor" />
|
|
26
|
+
<rect x="9" width="1" height="1" fill="currentColor" />
|
|
27
|
+
<rect x="8" width="1" height="1" fill="currentColor" />
|
|
28
|
+
<rect x="10" width="1" height="1" fill="currentColor" />
|
|
29
|
+
<rect x="11" width="1" height="1" fill="currentColor" />
|
|
30
|
+
<rect x="9" y="8" width="1" height="1" fill="currentColor" />
|
|
31
|
+
<rect x="8" y="8" width="1" height="1" fill="currentColor" />
|
|
32
|
+
<rect x="10" y="8" width="1" height="1" fill="currentColor" />
|
|
33
|
+
<rect x="11" y="8" width="1" height="1" fill="currentColor" />
|
|
34
|
+
<rect x="13" width="1" height="1" fill="currentColor" />
|
|
35
|
+
<rect x="12" width="1" height="1" fill="currentColor" />
|
|
36
|
+
<rect x="14" width="1" height="1" fill="currentColor" />
|
|
37
|
+
<rect x="15" width="1" height="1" fill="currentColor" />
|
|
38
|
+
<rect x="13" y="8" width="1" height="1" fill="currentColor" />
|
|
39
|
+
<rect x="12" y="8" width="1" height="1" fill="currentColor" />
|
|
40
|
+
<rect x="14" y="8" width="1" height="1" fill="currentColor" />
|
|
41
|
+
<rect x="15" y="8" width="1" height="1" fill="currentColor" />
|
|
42
|
+
</pattern>
|
|
43
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#stripeLoose)" />
|
|
44
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="stripeRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect x="1" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="1" y="4" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect y="4" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="2" y="4" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="3" y="4" width="1" height="1" fill="currentColor" />
|
|
18
|
+
<rect x="5" width="1" height="1" fill="currentColor" />
|
|
19
|
+
<rect x="4" width="1" height="1" fill="currentColor" />
|
|
20
|
+
<rect x="6" width="1" height="1" fill="currentColor" />
|
|
21
|
+
<rect x="7" width="1" height="1" fill="currentColor" />
|
|
22
|
+
<rect x="5" y="4" width="1" height="1" fill="currentColor" />
|
|
23
|
+
<rect x="4" y="4" width="1" height="1" fill="currentColor" />
|
|
24
|
+
<rect x="6" y="4" width="1" height="1" fill="currentColor" />
|
|
25
|
+
<rect x="7" y="4" width="1" height="1" fill="currentColor" />
|
|
26
|
+
</pattern>
|
|
27
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#stripeRegular)" />
|
|
28
|
+
</svg>
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PatternProps } from './props';
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function usePatternId(id: string): string;
|
package/package.json
CHANGED
|
@@ -1,52 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "@codecademy/gamut-patterns",
|
|
3
|
+
"description": "Pattern library for Codecademy",
|
|
4
|
+
"version": "1.0.1-alpha.817a48.0",
|
|
2
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
3
|
-
"bugs":
|
|
4
|
-
"url": "https://github.com/Codecademy/client-modules/issues"
|
|
5
|
-
},
|
|
6
|
+
"bugs": "https://github.com/Codecademy/gamut/issues",
|
|
6
7
|
"dependencies": {
|
|
7
|
-
"@codecademy/gamut": "
|
|
8
|
-
"@codecademy/
|
|
9
|
-
"@codecademy/gamut-system": "^0.7.0",
|
|
8
|
+
"@codecademy/gamut-styles": "21.0.1-alpha.817a48.0",
|
|
9
|
+
"@codecademy/variance": "1.0.1-alpha.817a48.0",
|
|
10
10
|
"classnames": "^2.2.5"
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"main": "./dist/index.js",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/Codecademy/gamut#readme",
|
|
17
16
|
"license": "MIT",
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"module": "dist/index.js",
|
|
18
19
|
"peerDependencies": {
|
|
19
|
-
"@emotion/react": "^11.
|
|
20
|
-
"@emotion/styled": "^11.
|
|
21
|
-
"react": "
|
|
22
|
-
"react-dom": "
|
|
20
|
+
"@emotion/react": "^11.4.0",
|
|
21
|
+
"@emotion/styled": "^11.3.0",
|
|
22
|
+
"react": "^17.0.2 || ^18.3.0 || ^19.0.0",
|
|
23
|
+
"react-dom": "^17.0.2 || ^18.3.0 || ^19.0.0"
|
|
23
24
|
},
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|
|
26
27
|
},
|
|
27
|
-
"repository":
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+ssh://git@github.com/Codecademy/client-modules.git"
|
|
30
|
-
},
|
|
28
|
+
"repository": "Codecademy/gamut.git",
|
|
31
29
|
"scripts": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"build:clean": "rm -rf dist",
|
|
35
|
-
"build:types": "tsc --emitDeclarationOnly",
|
|
36
|
-
"build": "yarn build:clean && yarn build:compile && yarn build:types",
|
|
37
|
-
"lernaBuildTask": "yarn build"
|
|
38
|
-
},
|
|
39
|
-
"sideEffects": [
|
|
40
|
-
"dist/**/[A-Z]**/[A-Z]*.js",
|
|
41
|
-
"dist/**/[A-Z]**/index.js"
|
|
42
|
-
],
|
|
43
|
-
"version": "1.0.0-alpha.fb02a7.0",
|
|
44
|
-
"directories": {
|
|
45
|
-
"lib": "lib",
|
|
46
|
-
"test": "__tests__"
|
|
30
|
+
"build": "nx build @codecademy/gamut-patterns",
|
|
31
|
+
"format": "svgo -f ./src/svg --pretty --config=.svgo.yml"
|
|
47
32
|
},
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
],
|
|
51
|
-
"gitHead": "18684215cc68f2fe69f21966cdb8f807378bfbd4"
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"types": "dist/index.d.ts"
|
|
52
35
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## 1.0.0-alpha.fb02a7.0 (2021-04-27)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### ⚠ BREAKING CHANGES
|
|
10
|
-
|
|
11
|
-
* add new gamut-patterns package
|
|
12
|
-
|
|
13
|
-
### Features
|
|
14
|
-
|
|
15
|
-
* add new gamut-patterns package ([0c1c869](https://github.com/Codecademy/client-modules/commit/0c1c869f622bb8f8c4bfba4ac7d01d98736c966f))
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2016 Ryzac, Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|