@codecademy/gamut-patterns 1.0.0-alpha.c3e36a.0 → 1.0.0-alpha.d04966.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.
Files changed (180) hide show
  1. package/.svgo.yml +11 -0
  2. package/CHANGELOG.md +316 -2
  3. package/babel.config.js +0 -10
  4. package/dist/index.d.ts +1 -10
  5. package/dist/index.js +1 -10
  6. package/dist/patterns/CheckerDense.d.ts +3 -0
  7. package/dist/patterns/CheckerDense.js +47 -0
  8. package/dist/patterns/CheckerLoose.d.ts +3 -0
  9. package/dist/patterns/CheckerLoose.js +47 -0
  10. package/dist/patterns/CheckerRegular.d.ts +3 -0
  11. package/dist/patterns/CheckerRegular.js +47 -0
  12. package/dist/patterns/DiagonalADense.d.ts +3 -0
  13. package/dist/patterns/DiagonalADense.js +81 -0
  14. package/dist/patterns/DiagonalALoose.d.ts +3 -0
  15. package/dist/patterns/DiagonalALoose.js +225 -0
  16. package/dist/patterns/DiagonalARegular.d.ts +3 -0
  17. package/dist/patterns/DiagonalARegular.js +129 -0
  18. package/dist/patterns/DiagonalBDense.d.ts +3 -0
  19. package/dist/patterns/DiagonalBDense.js +63 -0
  20. package/dist/patterns/DiagonalBLoose.d.ts +3 -0
  21. package/dist/patterns/DiagonalBLoose.js +131 -0
  22. package/dist/patterns/DiagonalBRegular.d.ts +3 -0
  23. package/dist/patterns/DiagonalBRegular.js +87 -0
  24. package/dist/patterns/DotDense.d.ts +3 -0
  25. package/dist/patterns/DotDense.js +42 -0
  26. package/dist/patterns/DotLoose.d.ts +3 -0
  27. package/dist/patterns/DotLoose.js +85 -0
  28. package/dist/patterns/DotRegular.d.ts +3 -0
  29. package/dist/patterns/DotRegular.js +42 -0
  30. package/dist/patterns/ExDense.d.ts +3 -0
  31. package/dist/patterns/ExDense.js +64 -0
  32. package/dist/patterns/ExLoose.d.ts +3 -0
  33. package/dist/patterns/ExLoose.js +64 -0
  34. package/dist/patterns/ExRegular.d.ts +3 -0
  35. package/dist/patterns/ExRegular.js +64 -0
  36. package/dist/patterns/FlowerDense.d.ts +3 -0
  37. package/dist/patterns/FlowerDense.js +58 -0
  38. package/dist/patterns/FlowerLoose.d.ts +3 -0
  39. package/dist/patterns/FlowerLoose.js +58 -0
  40. package/dist/patterns/FlowerRegular.d.ts +3 -0
  41. package/dist/patterns/FlowerRegular.js +58 -0
  42. package/dist/patterns/GridDense.d.ts +3 -0
  43. package/dist/patterns/GridDense.js +57 -0
  44. package/dist/patterns/GridLoose.d.ts +3 -0
  45. package/dist/patterns/GridLoose.js +57 -0
  46. package/dist/patterns/GridRegular.d.ts +3 -0
  47. package/dist/patterns/GridRegular.js +57 -0
  48. package/dist/patterns/Herringbone.d.ts +3 -0
  49. package/dist/patterns/Herringbone.js +75 -0
  50. package/dist/patterns/RainDense.d.ts +3 -0
  51. package/dist/patterns/RainDense.js +47 -0
  52. package/dist/patterns/RainLoose.d.ts +3 -0
  53. package/dist/patterns/RainLoose.js +47 -0
  54. package/dist/patterns/RainRegular.d.ts +3 -0
  55. package/dist/patterns/RainRegular.js +47 -0
  56. package/dist/patterns/StripeDense.d.ts +3 -0
  57. package/dist/patterns/StripeDense.js +79 -0
  58. package/dist/patterns/StripeLoose.d.ts +3 -0
  59. package/dist/patterns/StripeLoose.js +211 -0
  60. package/dist/patterns/StripeRegular.d.ts +3 -0
  61. package/dist/patterns/StripeRegular.js +123 -0
  62. package/dist/patterns/index.d.ts +28 -0
  63. package/dist/patterns/index.js +28 -0
  64. package/dist/props.d.ts +193 -0
  65. package/dist/props.js +9 -0
  66. package/dist/svg/CheckerDense.svg +14 -0
  67. package/dist/svg/CheckerLoose.svg +14 -0
  68. package/dist/svg/CheckerRegular.svg +14 -0
  69. package/dist/svg/DiagonalADense.svg +20 -0
  70. package/dist/svg/DiagonalALoose.svg +44 -0
  71. package/dist/svg/DiagonalARegular.svg +28 -0
  72. package/dist/svg/DiagonalBDense.svg +24 -0
  73. package/dist/svg/DiagonalBLoose.svg +28 -0
  74. package/dist/svg/DiagonalBRegular.svg +28 -0
  75. package/dist/svg/DotDense.svg +13 -0
  76. package/dist/svg/DotLoose.svg +40 -0
  77. package/dist/svg/DotRegular.svg +13 -0
  78. package/dist/svg/ExDense.svg +17 -0
  79. package/dist/svg/ExLoose.svg +17 -0
  80. package/dist/svg/ExRegular.svg +17 -0
  81. package/dist/svg/FlowerDense.svg +16 -0
  82. package/dist/svg/FlowerLoose.svg +16 -0
  83. package/dist/svg/FlowerRegular.svg +16 -0
  84. package/dist/svg/GridDense.svg +16 -0
  85. package/dist/svg/GridLoose.svg +16 -0
  86. package/dist/svg/GridRegular.svg +16 -0
  87. package/dist/svg/Herringbone.svg +19 -0
  88. package/dist/svg/RainDense.svg +14 -0
  89. package/dist/svg/RainLoose.svg +14 -0
  90. package/dist/svg/RainRegular.svg +14 -0
  91. package/dist/svg/StripeDense.svg +20 -0
  92. package/dist/svg/StripeLoose.svg +44 -0
  93. package/dist/svg/StripeRegular.svg +28 -0
  94. package/dist/types.d.ts +1 -282
  95. package/dist/types.js +0 -11
  96. package/dist/usePatternId.d.ts +1 -0
  97. package/dist/usePatternId.js +10 -0
  98. package/emotion-plugin.js +46 -0
  99. package/icon-template.js +28 -0
  100. package/index-template.js +10 -0
  101. package/jest.config.js +1 -0
  102. package/package.json +20 -14
  103. package/svgr.config.js +29 -0
  104. package/tsconfig.json +6 -1
  105. package/dist/patterns/checker/CheckerDense.d.ts +0 -3
  106. package/dist/patterns/checker/CheckerDense.js +0 -37
  107. package/dist/patterns/checker/CheckerLoose.d.ts +0 -3
  108. package/dist/patterns/checker/CheckerLoose.js +0 -37
  109. package/dist/patterns/checker/CheckerRegular.d.ts +0 -3
  110. package/dist/patterns/checker/CheckerRegular.js +0 -37
  111. package/dist/patterns/checker/index.d.ts +0 -3
  112. package/dist/patterns/checker/index.js +0 -3
  113. package/dist/patterns/diagonalA/DiagonalADense.d.ts +0 -3
  114. package/dist/patterns/diagonalA/DiagonalADense.js +0 -71
  115. package/dist/patterns/diagonalA/DiagonalALoose.d.ts +0 -3
  116. package/dist/patterns/diagonalA/DiagonalALoose.js +0 -215
  117. package/dist/patterns/diagonalA/DiagonalARegular.d.ts +0 -3
  118. package/dist/patterns/diagonalA/DiagonalARegular.js +0 -119
  119. package/dist/patterns/diagonalA/index.d.ts +0 -3
  120. package/dist/patterns/diagonalA/index.js +0 -3
  121. package/dist/patterns/diagonalB/DiagonalBDense.d.ts +0 -3
  122. package/dist/patterns/diagonalB/DiagonalBDense.js +0 -61
  123. package/dist/patterns/diagonalB/DiagonalBLoose.d.ts +0 -3
  124. package/dist/patterns/diagonalB/DiagonalBLoose.js +0 -121
  125. package/dist/patterns/diagonalB/DiagonalBRegular.d.ts +0 -3
  126. package/dist/patterns/diagonalB/DiagonalBRegular.js +0 -85
  127. package/dist/patterns/diagonalB/index.d.ts +0 -3
  128. package/dist/patterns/diagonalB/index.js +0 -3
  129. package/dist/patterns/dot/DotDense.d.ts +0 -3
  130. package/dist/patterns/dot/DotDense.js +0 -32
  131. package/dist/patterns/dot/DotLoose.d.ts +0 -3
  132. package/dist/patterns/dot/DotLoose.js +0 -79
  133. package/dist/patterns/dot/DotRegular.d.ts +0 -3
  134. package/dist/patterns/dot/DotRegular.js +0 -32
  135. package/dist/patterns/dot/index.d.ts +0 -3
  136. package/dist/patterns/dot/index.js +0 -3
  137. package/dist/patterns/ex/ExDense.d.ts +0 -3
  138. package/dist/patterns/ex/ExDense.js +0 -54
  139. package/dist/patterns/ex/ExLoose.d.ts +0 -3
  140. package/dist/patterns/ex/ExLoose.js +0 -54
  141. package/dist/patterns/ex/ExRegular.d.ts +0 -3
  142. package/dist/patterns/ex/ExRegular.js +0 -54
  143. package/dist/patterns/ex/index.d.ts +0 -3
  144. package/dist/patterns/ex/index.js +0 -3
  145. package/dist/patterns/flower/FlowerDense.d.ts +0 -3
  146. package/dist/patterns/flower/FlowerDense.js +0 -48
  147. package/dist/patterns/flower/FlowerLoose.d.ts +0 -3
  148. package/dist/patterns/flower/FlowerLoose.js +0 -48
  149. package/dist/patterns/flower/FlowerRegular.d.ts +0 -3
  150. package/dist/patterns/flower/FlowerRegular.js +0 -48
  151. package/dist/patterns/flower/index.d.ts +0 -3
  152. package/dist/patterns/flower/index.js +0 -3
  153. package/dist/patterns/grid/GridDense.d.ts +0 -3
  154. package/dist/patterns/grid/GridDense.js +0 -47
  155. package/dist/patterns/grid/GridLoose.d.ts +0 -3
  156. package/dist/patterns/grid/GridLoose.js +0 -47
  157. package/dist/patterns/grid/GridRegular.d.ts +0 -3
  158. package/dist/patterns/grid/GridRegular.js +0 -47
  159. package/dist/patterns/grid/index.d.ts +0 -3
  160. package/dist/patterns/grid/index.js +0 -3
  161. package/dist/patterns/herringbone/Herringbone.d.ts +0 -3
  162. package/dist/patterns/herringbone/Herringbone.js +0 -65
  163. package/dist/patterns/herringbone/index.d.ts +0 -1
  164. package/dist/patterns/herringbone/index.js +0 -1
  165. package/dist/patterns/rain/RainDense.d.ts +0 -3
  166. package/dist/patterns/rain/RainDense.js +0 -37
  167. package/dist/patterns/rain/RainLoose.d.ts +0 -3
  168. package/dist/patterns/rain/RainLoose.js +0 -37
  169. package/dist/patterns/rain/RainRegular.d.ts +0 -3
  170. package/dist/patterns/rain/RainRegular.js +0 -37
  171. package/dist/patterns/rain/index.d.ts +0 -3
  172. package/dist/patterns/rain/index.js +0 -3
  173. package/dist/patterns/stripe/StripeDense.d.ts +0 -3
  174. package/dist/patterns/stripe/StripeDense.js +0 -69
  175. package/dist/patterns/stripe/StripeLoose.d.ts +0 -3
  176. package/dist/patterns/stripe/StripeLoose.js +0 -201
  177. package/dist/patterns/stripe/StripeRegular.d.ts +0 -3
  178. package/dist/patterns/stripe/StripeRegular.js +0 -113
  179. package/dist/patterns/stripe/index.d.ts +0 -3
  180. package/dist/patterns/stripe/index.js +0 -3
package/.svgo.yml ADDED
@@ -0,0 +1,11 @@
1
+ multipass: true
2
+
3
+ plugins:
4
+ - inlineStyles:
5
+ onlyMatchedOnce: false
6
+ - removeDimensions: true
7
+ - removeViewBox: false
8
+ - removeTitle: true
9
+ - removeDesc: true
10
+ - mergePaths: false
11
+ - convertShapeToPath: false
package/CHANGELOG.md CHANGED
@@ -3,7 +3,321 @@
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
- ## 1.0.0-alpha.c3e36a.0 (2021-04-28)
6
+ ## [1.0.0-alpha.d04966.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.7.3...@codecademy/gamut-patterns@1.0.0-alpha.d04966.0) (2021-12-21)
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))
16
+
17
+
18
+ ### Reverts
19
+
20
+ * Revert "Updated svgr and svgo to latest" ([d049662](https://github.com/Codecademy/gamut/commit/d049662334753f113245a04e1cc7f37827fc4f52))
21
+
22
+
23
+
24
+ ### [0.7.3](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.7.2...@codecademy/gamut-patterns@0.7.3) (2021-12-07)
25
+
26
+ **Note:** Version bump only for package @codecademy/gamut-patterns
27
+
28
+
29
+
30
+
31
+
32
+ ### [0.7.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.7.1...@codecademy/gamut-patterns@0.7.2) (2021-11-23)
33
+
34
+ **Note:** Version bump only for package @codecademy/gamut-patterns
35
+
36
+
37
+
38
+
39
+
40
+ ### [0.7.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.7.0...@codecademy/gamut-patterns@0.7.1) (2021-10-27)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * **Pattern:** fix white bg on regular and dense diagonal patterns ([2f321c2](https://github.com/Codecademy/gamut/commit/2f321c2446cdc28e4338fa1dae94efa698e4c6ea))
46
+
47
+
48
+
49
+ ## 0.7.0 (2021-10-26)
50
+
51
+
52
+ ### ⚠ BREAKING CHANGES
53
+
54
+ * add new gamut-patterns package
55
+
56
+ ### Features
57
+
58
+ * bump ESLint configs to latest ([4e3cf77](https://github.com/Codecademy/gamut/commit/4e3cf77928bdd69bce3eeca8a7f07439627b4f08))
59
+ * **Patterns:** Add SVGR build process and SVGO settings ([e8433ce](https://github.com/Codecademy/gamut/commit/e8433ceace8b617fcaa45f13a11ce1367cff0e0b))
60
+ * **props:** Support `color` and other HTML attributes as system props without type collision GM-247 ([ff93f0c](https://github.com/Codecademy/gamut/commit/ff93f0c9b7ca64ed9819586709f58436ca4502b9))
61
+ * Migrate final gamut-system docs + functions to variance [WEB-1413] ([f966933](https://github.com/Codecademy/gamut/commit/f966933ac814d228072e781ee2a3d75a33190a85))
62
+ * **theme:** createTheme self containment ([87a203c](https://github.com/Codecademy/gamut/commit/87a203c56df8002406552208b8b5ffc55b228262)), closes [#666666](https://github.com/Codecademy/gamut/issues/666666) [#666666](https://github.com/Codecademy/gamut/issues/666666)
63
+ * add new gamut-patterns package ([3b9785a](https://github.com/Codecademy/gamut/commit/3b9785a20e26767a9531b1f1ce8de5f504f2dd34))
64
+
65
+
66
+
67
+ ### [0.6.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.6.1...@codecademy/gamut-patterns@0.6.2) (2021-09-30)
68
+
69
+ **Note:** Version bump only for package @codecademy/gamut-patterns
70
+
71
+
72
+
73
+
74
+
75
+ ### [0.6.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.6.0...@codecademy/gamut-patterns@0.6.1) (2021-09-13)
76
+
77
+ **Note:** Version bump only for package @codecademy/gamut-patterns
78
+
79
+
80
+
81
+
82
+
83
+ ## [0.6.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.8...@codecademy/gamut-patterns@0.6.0) (2021-09-10)
84
+
85
+
86
+ ### Features
87
+
88
+ * bump ESLint configs to latest ([e0a201a](https://github.com/Codecademy/gamut/commit/e0a201abcc5f49718538d3d91af21cb37db4470e))
89
+
90
+
91
+
92
+ ### [0.5.8](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.7...@codecademy/gamut-patterns@0.5.8) (2021-08-30)
93
+
94
+ **Note:** Version bump only for package @codecademy/gamut-patterns
95
+
96
+
97
+
98
+
99
+
100
+ ### [0.5.7](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.6...@codecademy/gamut-patterns@0.5.7) (2021-08-16)
101
+
102
+ **Note:** Version bump only for package @codecademy/gamut-patterns
103
+
104
+
105
+
106
+
107
+
108
+ ### [0.5.6](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.5...@codecademy/gamut-patterns@0.5.6) (2021-08-16)
109
+
110
+ **Note:** Version bump only for package @codecademy/gamut-patterns
111
+
112
+
113
+
114
+
115
+
116
+ ### [0.5.5](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.4...@codecademy/gamut-patterns@0.5.5) (2021-08-13)
117
+
118
+ **Note:** Version bump only for package @codecademy/gamut-patterns
119
+
120
+
121
+
122
+
123
+
124
+ ### [0.5.4](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.3...@codecademy/gamut-patterns@0.5.4) (2021-08-12)
125
+
126
+ **Note:** Version bump only for package @codecademy/gamut-patterns
127
+
128
+
129
+
130
+
131
+
132
+ ### [0.5.3](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.2...@codecademy/gamut-patterns@0.5.3) (2021-08-05)
133
+
134
+ **Note:** Version bump only for package @codecademy/gamut-patterns
135
+
136
+
137
+
138
+
139
+
140
+ ### [0.5.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.1...@codecademy/gamut-patterns@0.5.2) (2021-08-03)
141
+
142
+ **Note:** Version bump only for package @codecademy/gamut-patterns
143
+
144
+
145
+
146
+
147
+
148
+ ### [0.5.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.5.0...@codecademy/gamut-patterns@0.5.1) (2021-07-29)
149
+
150
+ **Note:** Version bump only for package @codecademy/gamut-patterns
151
+
152
+
153
+
154
+
155
+
156
+ ## [0.5.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.7...@codecademy/gamut-patterns@0.5.0) (2021-07-27)
157
+
158
+
159
+ ### Features
160
+
161
+ * **Patterns:** Add SVGR build process and SVGO settings ([56e50ff](https://github.com/Codecademy/gamut/commit/56e50ffe021102b84a7f9e5d7bb33ea6de890994))
162
+
163
+
164
+
165
+ ### [0.4.7](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.6...@codecademy/gamut-patterns@0.4.7) (2021-07-19)
166
+
167
+ **Note:** Version bump only for package @codecademy/gamut-patterns
168
+
169
+
170
+
171
+
172
+
173
+ ### [0.4.6](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.5...@codecademy/gamut-patterns@0.4.6) (2021-07-16)
174
+
175
+ **Note:** Version bump only for package @codecademy/gamut-patterns
176
+
177
+
178
+
179
+
180
+
181
+ ### [0.4.5](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.4...@codecademy/gamut-patterns@0.4.5) (2021-07-15)
182
+
183
+ **Note:** Version bump only for package @codecademy/gamut-patterns
184
+
185
+
186
+
187
+
188
+
189
+ ### [0.4.4](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.3...@codecademy/gamut-patterns@0.4.4) (2021-06-17)
190
+
191
+ **Note:** Version bump only for package @codecademy/gamut-patterns
192
+
193
+
194
+
195
+
196
+
197
+ ### [0.4.3](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.2...@codecademy/gamut-patterns@0.4.3) (2021-06-16)
198
+
199
+ **Note:** Version bump only for package @codecademy/gamut-patterns
200
+
201
+
202
+
203
+
204
+
205
+ ### [0.4.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.1...@codecademy/gamut-patterns@0.4.2) (2021-06-16)
206
+
207
+ **Note:** Version bump only for package @codecademy/gamut-patterns
208
+
209
+
210
+
211
+
212
+
213
+ ### [0.4.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.4.0...@codecademy/gamut-patterns@0.4.1) (2021-06-16)
214
+
215
+ **Note:** Version bump only for package @codecademy/gamut-patterns
216
+
217
+
218
+
219
+
220
+
221
+ ## [0.4.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.3.4...@codecademy/gamut-patterns@0.4.0) (2021-06-15)
222
+
223
+
224
+ ### Features
225
+
226
+ * **props:** Support `color` and other HTML attributes as system props without type collision GM-247 ([50a8b43](https://github.com/Codecademy/gamut/commit/50a8b43b27eff2d75307d317d724383156e5a3ed))
227
+
228
+
229
+
230
+ ### [0.3.4](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.3.3...@codecademy/gamut-patterns@0.3.4) (2021-06-10)
231
+
232
+ **Note:** Version bump only for package @codecademy/gamut-patterns
233
+
234
+
235
+
236
+
237
+
238
+ ### [0.3.3](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.3.2...@codecademy/gamut-patterns@0.3.3) (2021-06-10)
239
+
240
+ **Note:** Version bump only for package @codecademy/gamut-patterns
241
+
242
+
243
+
244
+
245
+
246
+ ### [0.3.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.3.1...@codecademy/gamut-patterns@0.3.2) (2021-06-03)
247
+
248
+ **Note:** Version bump only for package @codecademy/gamut-patterns
249
+
250
+
251
+
252
+
253
+
254
+ ### [0.3.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.3.0...@codecademy/gamut-patterns@0.3.1) (2021-06-02)
255
+
256
+ **Note:** Version bump only for package @codecademy/gamut-patterns
257
+
258
+
259
+
260
+
261
+
262
+ ## [0.3.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.2.2...@codecademy/gamut-patterns@0.3.0) (2021-05-27)
263
+
264
+
265
+ ### Features
266
+
267
+ * Migrate final gamut-system docs + functions to variance [WEB-1413] ([67c8651](https://github.com/Codecademy/gamut/commit/67c8651dc4985dd656c8d488af4cf56ca21a813b))
268
+
269
+
270
+
271
+ ### [0.2.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.2.1...@codecademy/gamut-patterns@0.2.2) (2021-05-25)
272
+
273
+ **Note:** Version bump only for package @codecademy/gamut-patterns
274
+
275
+
276
+
277
+
278
+
279
+ ### [0.2.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.2.0...@codecademy/gamut-patterns@0.2.1) (2021-05-24)
280
+
281
+ **Note:** Version bump only for package @codecademy/gamut-patterns
282
+
283
+
284
+
285
+
286
+
287
+ ## [0.2.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.1.3...@codecademy/gamut-patterns@0.2.0) (2021-05-18)
288
+
289
+
290
+ ### Features
291
+
292
+ * **theme:** createTheme self containment ([59ddff7](https://github.com/Codecademy/gamut/commit/59ddff7224cd8e0972212dd6ba1696f40ccac835)), closes [#666666](https://github.com/Codecademy/gamut/issues/666666) [#666666](https://github.com/Codecademy/gamut/issues/666666)
293
+
294
+
295
+
296
+ ### [0.1.3](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.1.2...@codecademy/gamut-patterns@0.1.3) (2021-05-12)
297
+
298
+ **Note:** Version bump only for package @codecademy/gamut-patterns
299
+
300
+
301
+
302
+
303
+
304
+ ### [0.1.2](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.1.1...@codecademy/gamut-patterns@0.1.2) (2021-05-11)
305
+
306
+ **Note:** Version bump only for package @codecademy/gamut-patterns
307
+
308
+
309
+
310
+
311
+
312
+ ### [0.1.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-patterns@0.1.0...@codecademy/gamut-patterns@0.1.1) (2021-05-07)
313
+
314
+ **Note:** Version bump only for package @codecademy/gamut-patterns
315
+
316
+
317
+
318
+
319
+
320
+ ## 0.1.0 (2021-05-06)
7
321
 
8
322
 
9
323
  ### ⚠ BREAKING CHANGES
@@ -12,4 +326,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
12
326
 
13
327
  ### Features
14
328
 
15
- * add new gamut-patterns package ([0c1c869](https://github.com/Codecademy/client-modules/commit/0c1c869f622bb8f8c4bfba4ac7d01d98736c966f))
329
+ * add new gamut-patterns package ([e0b30b1](https://github.com/Codecademy/gamut/commit/e0b30b102b32b8447a1b4c97f9da63fcce365af6))
package/babel.config.js CHANGED
@@ -1,15 +1,5 @@
1
1
  module.exports = {
2
2
  presets: ['codecademy', '@babel/preset-typescript'],
3
- plugins: [
4
- [
5
- '@emotion',
6
- {
7
- sourceMap: true,
8
- autoLabel: 'always',
9
- labelFormat: '[local]',
10
- },
11
- ],
12
- ],
13
3
  include: ['./src/**/*'],
14
4
  ignore: ['__tests__', './**/*.d.ts'],
15
5
  };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,2 @@
1
- export * from './patterns/checker';
2
- export * from './patterns/diagonalA';
3
- export * from './patterns/diagonalB';
4
- export * from './patterns/dot';
5
- export * from './patterns/ex';
6
- export * from './patterns/flower';
7
- export * from './patterns/grid';
8
- export * from './patterns/herringbone';
9
- export * from './patterns/rain';
10
- export * from './patterns/stripe';
1
+ export * from './patterns';
11
2
  export * from './types';
package/dist/index.js CHANGED
@@ -1,11 +1,2 @@
1
- export * from './patterns/checker';
2
- export * from './patterns/diagonalA';
3
- export * from './patterns/diagonalB';
4
- export * from './patterns/dot';
5
- export * from './patterns/ex';
6
- export * from './patterns/flower';
7
- export * from './patterns/grid';
8
- export * from './patterns/herringbone';
9
- export * from './patterns/rain';
10
- export * from './patterns/stripe';
1
+ export * from './patterns';
11
2
  export * from './types';
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { PatternProps } from '../props';
3
+ export declare const CheckerDense: React.ForwardRefExoticComponent<Pick<PatternProps, "string" | "flexBasis" | "flexShrink" | "flexGrow" | "order" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridRowStart" | "gridColumnEnd" | "gridRowEnd" | "justifySelf" | "alignSelf" | "gridArea" | "display" | "overflow" | "overflowX" | "overflowY" | "dimensions" | "width" | "minWidth" | "maxWidth" | "height" | "minHeight" | "maxHeight" | "verticalAlign" | "position" | "inset" | "top" | "right" | "bottom" | "left" | "zIndex" | "opacity" | "p" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "scale" | "filter" | "fill" | "values" | "color" | "fontSize" | "fontFamily" | "fontWeight" | "spacing" | "mode" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "imageRendering" | "letterSpacing" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "min" | "max" | "theme" | "end" | "clip" | "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-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "titleId" | "title"> & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,47 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
7
+ import * as React from 'react';
8
+ import { Svg } from '../props';
9
+ import { usePatternId } from '../usePatternId';
10
+ export var CheckerDense = /*#__PURE__*/React.forwardRef(function CheckerDense(_ref, svgRef) {
11
+ var _ref$title = _ref.title,
12
+ title = _ref$title === void 0 ? 'Checker Dense' : _ref$title,
13
+ titleId = _ref.titleId,
14
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
+
16
+ var patternId = usePatternId('CheckerDense');
17
+ return /*#__PURE__*/React.createElement(Svg, _extends({
18
+ fill: "currentColor",
19
+ role: "img",
20
+ "aria-hidden": "true",
21
+ ref: svgRef,
22
+ "aria-labelledby": titleId
23
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
24
+ id: titleId
25
+ }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
+ id: patternId,
27
+ x: 0,
28
+ y: 0,
29
+ width: 4,
30
+ height: 4,
31
+ patternUnits: "userSpaceOnUse"
32
+ }, /*#__PURE__*/React.createElement("rect", {
33
+ width: 1,
34
+ height: 1,
35
+ fill: "currentColor"
36
+ }), /*#__PURE__*/React.createElement("rect", {
37
+ x: 2,
38
+ y: 2,
39
+ width: 1,
40
+ height: 1,
41
+ fill: "currentColor"
42
+ })), /*#__PURE__*/React.createElement("rect", {
43
+ width: "100%",
44
+ height: "100%",
45
+ fill: "url(#".concat(patternId, ")")
46
+ }));
47
+ });
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { PatternProps } from '../props';
3
+ export declare const CheckerLoose: React.ForwardRefExoticComponent<Pick<PatternProps, "string" | "flexBasis" | "flexShrink" | "flexGrow" | "order" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridRowStart" | "gridColumnEnd" | "gridRowEnd" | "justifySelf" | "alignSelf" | "gridArea" | "display" | "overflow" | "overflowX" | "overflowY" | "dimensions" | "width" | "minWidth" | "maxWidth" | "height" | "minHeight" | "maxHeight" | "verticalAlign" | "position" | "inset" | "top" | "right" | "bottom" | "left" | "zIndex" | "opacity" | "p" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "scale" | "filter" | "fill" | "values" | "color" | "fontSize" | "fontFamily" | "fontWeight" | "spacing" | "mode" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "imageRendering" | "letterSpacing" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "min" | "max" | "theme" | "end" | "clip" | "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-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "titleId" | "title"> & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,47 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
7
+ import * as React from 'react';
8
+ import { Svg } from '../props';
9
+ import { usePatternId } from '../usePatternId';
10
+ export var CheckerLoose = /*#__PURE__*/React.forwardRef(function CheckerLoose(_ref, svgRef) {
11
+ var _ref$title = _ref.title,
12
+ title = _ref$title === void 0 ? 'Checker Loose' : _ref$title,
13
+ titleId = _ref.titleId,
14
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
+
16
+ var patternId = usePatternId('CheckerLoose');
17
+ return /*#__PURE__*/React.createElement(Svg, _extends({
18
+ fill: "currentColor",
19
+ role: "img",
20
+ "aria-hidden": "true",
21
+ ref: svgRef,
22
+ "aria-labelledby": titleId
23
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
24
+ id: titleId
25
+ }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
+ id: patternId,
27
+ x: 0,
28
+ y: 0,
29
+ width: 16,
30
+ height: 16,
31
+ patternUnits: "userSpaceOnUse"
32
+ }, /*#__PURE__*/React.createElement("rect", {
33
+ width: 1,
34
+ height: 1,
35
+ fill: "currentColor"
36
+ }), /*#__PURE__*/React.createElement("rect", {
37
+ x: 8,
38
+ y: 8,
39
+ width: 1,
40
+ height: 1,
41
+ fill: "currentColor"
42
+ })), /*#__PURE__*/React.createElement("rect", {
43
+ width: "100%",
44
+ height: "100%",
45
+ fill: "url(#".concat(patternId, ")")
46
+ }));
47
+ });
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { PatternProps } from '../props';
3
+ export declare const CheckerRegular: React.ForwardRefExoticComponent<Pick<PatternProps, "string" | "flexBasis" | "flexShrink" | "flexGrow" | "order" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridRowStart" | "gridColumnEnd" | "gridRowEnd" | "justifySelf" | "alignSelf" | "gridArea" | "display" | "overflow" | "overflowX" | "overflowY" | "dimensions" | "width" | "minWidth" | "maxWidth" | "height" | "minHeight" | "maxHeight" | "verticalAlign" | "position" | "inset" | "top" | "right" | "bottom" | "left" | "zIndex" | "opacity" | "p" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "scale" | "filter" | "fill" | "values" | "color" | "fontSize" | "fontFamily" | "fontWeight" | "spacing" | "mode" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "imageRendering" | "letterSpacing" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "min" | "max" | "theme" | "end" | "clip" | "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-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "titleId" | "title"> & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,47 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
7
+ import * as React from 'react';
8
+ import { Svg } from '../props';
9
+ import { usePatternId } from '../usePatternId';
10
+ export var CheckerRegular = /*#__PURE__*/React.forwardRef(function CheckerRegular(_ref, svgRef) {
11
+ var _ref$title = _ref.title,
12
+ title = _ref$title === void 0 ? 'Checker Regular' : _ref$title,
13
+ titleId = _ref.titleId,
14
+ props = _objectWithoutProperties(_ref, ["title", "titleId"]);
15
+
16
+ var patternId = usePatternId('CheckerRegular');
17
+ return /*#__PURE__*/React.createElement(Svg, _extends({
18
+ fill: "currentColor",
19
+ role: "img",
20
+ "aria-hidden": "true",
21
+ ref: svgRef,
22
+ "aria-labelledby": titleId
23
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
24
+ id: titleId
25
+ }, title) : null, /*#__PURE__*/React.createElement("pattern", {
26
+ id: patternId,
27
+ x: 0,
28
+ y: 0,
29
+ width: 8,
30
+ height: 8,
31
+ patternUnits: "userSpaceOnUse"
32
+ }, /*#__PURE__*/React.createElement("rect", {
33
+ width: 1,
34
+ height: 1,
35
+ fill: "currentColor"
36
+ }), /*#__PURE__*/React.createElement("rect", {
37
+ x: 4,
38
+ y: 4,
39
+ width: 1,
40
+ height: 1,
41
+ fill: "currentColor"
42
+ })), /*#__PURE__*/React.createElement("rect", {
43
+ width: "100%",
44
+ height: "100%",
45
+ fill: "url(#".concat(patternId, ")")
46
+ }));
47
+ });