@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
package/dist/props.d.ts
ADDED
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { StyleProps } from '@codecademy/variance';
|
|
2
|
+
declare const patternStyles: import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").Compose<[import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
3
|
+
readonly flexBasis: {
|
|
4
|
+
readonly property: "flexBasis";
|
|
5
|
+
};
|
|
6
|
+
readonly flexShrink: {
|
|
7
|
+
readonly property: "flexShrink";
|
|
8
|
+
};
|
|
9
|
+
readonly flexGrow: {
|
|
10
|
+
readonly property: "flexGrow";
|
|
11
|
+
};
|
|
12
|
+
readonly order: {
|
|
13
|
+
readonly property: "order";
|
|
14
|
+
};
|
|
15
|
+
readonly gridColumn: {
|
|
16
|
+
readonly property: "gridColumn";
|
|
17
|
+
};
|
|
18
|
+
readonly gridRow: {
|
|
19
|
+
readonly property: "gridRow";
|
|
20
|
+
};
|
|
21
|
+
readonly gridColumnStart: {
|
|
22
|
+
readonly property: "gridColumnStart";
|
|
23
|
+
};
|
|
24
|
+
readonly gridRowStart: {
|
|
25
|
+
readonly property: "gridRowStart";
|
|
26
|
+
};
|
|
27
|
+
readonly gridColumnEnd: {
|
|
28
|
+
readonly property: "gridColumnEnd";
|
|
29
|
+
};
|
|
30
|
+
readonly gridRowEnd: {
|
|
31
|
+
readonly property: "gridRowEnd";
|
|
32
|
+
};
|
|
33
|
+
readonly justifySelf: {
|
|
34
|
+
readonly property: "justifySelf";
|
|
35
|
+
};
|
|
36
|
+
readonly alignSelf: {
|
|
37
|
+
readonly property: "alignSelf";
|
|
38
|
+
};
|
|
39
|
+
readonly gridArea: {
|
|
40
|
+
readonly property: "gridArea";
|
|
41
|
+
};
|
|
42
|
+
readonly containerType: {
|
|
43
|
+
readonly property: "containerType";
|
|
44
|
+
};
|
|
45
|
+
readonly display: {
|
|
46
|
+
readonly property: "display";
|
|
47
|
+
};
|
|
48
|
+
readonly overflow: {
|
|
49
|
+
readonly property: "overflow";
|
|
50
|
+
};
|
|
51
|
+
readonly overflowX: {
|
|
52
|
+
readonly property: {
|
|
53
|
+
readonly physical: "overflowX";
|
|
54
|
+
readonly logical: "overflowInline";
|
|
55
|
+
};
|
|
56
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
57
|
+
};
|
|
58
|
+
readonly overflowY: {
|
|
59
|
+
readonly property: {
|
|
60
|
+
readonly physical: "overflowY";
|
|
61
|
+
readonly logical: "overflowBlock";
|
|
62
|
+
};
|
|
63
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
64
|
+
};
|
|
65
|
+
readonly dimensions: {
|
|
66
|
+
readonly property: "width";
|
|
67
|
+
readonly properties: {
|
|
68
|
+
readonly physical: readonly ["width", "height"];
|
|
69
|
+
readonly logical: readonly ["inlineSize", "blockSize"];
|
|
70
|
+
};
|
|
71
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
72
|
+
readonly transform: (value: string | number) => string | 0;
|
|
73
|
+
};
|
|
74
|
+
readonly width: {
|
|
75
|
+
readonly property: {
|
|
76
|
+
readonly physical: "width";
|
|
77
|
+
readonly logical: "inlineSize";
|
|
78
|
+
};
|
|
79
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
80
|
+
readonly transform: (value: string | number) => string | 0;
|
|
81
|
+
};
|
|
82
|
+
readonly minWidth: {
|
|
83
|
+
readonly property: {
|
|
84
|
+
readonly physical: "minWidth";
|
|
85
|
+
readonly logical: "minInlineSize";
|
|
86
|
+
};
|
|
87
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
88
|
+
readonly transform: (value: string | number) => string | 0;
|
|
89
|
+
};
|
|
90
|
+
readonly maxWidth: {
|
|
91
|
+
readonly property: {
|
|
92
|
+
readonly physical: "maxWidth";
|
|
93
|
+
readonly logical: "maxInlineSize";
|
|
94
|
+
};
|
|
95
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
96
|
+
readonly transform: (value: string | number) => string | 0;
|
|
97
|
+
};
|
|
98
|
+
readonly height: {
|
|
99
|
+
readonly property: {
|
|
100
|
+
readonly physical: "height";
|
|
101
|
+
readonly logical: "blockSize";
|
|
102
|
+
};
|
|
103
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
104
|
+
readonly transform: (value: string | number) => string | 0;
|
|
105
|
+
};
|
|
106
|
+
readonly minHeight: {
|
|
107
|
+
readonly property: {
|
|
108
|
+
readonly physical: "minHeight";
|
|
109
|
+
readonly logical: "minBlockSize";
|
|
110
|
+
};
|
|
111
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
112
|
+
readonly transform: (value: string | number) => string | 0;
|
|
113
|
+
};
|
|
114
|
+
readonly maxHeight: {
|
|
115
|
+
readonly property: {
|
|
116
|
+
readonly physical: "maxHeight";
|
|
117
|
+
readonly logical: "maxBlockSize";
|
|
118
|
+
};
|
|
119
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
120
|
+
readonly transform: (value: string | number) => string | 0;
|
|
121
|
+
};
|
|
122
|
+
readonly verticalAlign: {
|
|
123
|
+
readonly property: "verticalAlign";
|
|
124
|
+
};
|
|
125
|
+
readonly direction: {
|
|
126
|
+
readonly property: "direction";
|
|
127
|
+
};
|
|
128
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
129
|
+
readonly position: {
|
|
130
|
+
readonly property: "position";
|
|
131
|
+
};
|
|
132
|
+
readonly inset: {
|
|
133
|
+
readonly property: "inset";
|
|
134
|
+
readonly properties: {
|
|
135
|
+
readonly physical: readonly ["top", "right", "bottom", "left"];
|
|
136
|
+
readonly logical: readonly ["insetBlockStart", "insetInlineEnd", "insetBlockEnd", "insetInlineStart"];
|
|
137
|
+
};
|
|
138
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
139
|
+
readonly transform: (value: string | number) => string | 0;
|
|
140
|
+
};
|
|
141
|
+
readonly top: {
|
|
142
|
+
readonly property: {
|
|
143
|
+
readonly physical: "top";
|
|
144
|
+
readonly logical: "insetBlockStart";
|
|
145
|
+
};
|
|
146
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
147
|
+
readonly transform: (value: string | number) => string | 0;
|
|
148
|
+
};
|
|
149
|
+
readonly right: {
|
|
150
|
+
readonly property: {
|
|
151
|
+
readonly physical: "right";
|
|
152
|
+
readonly logical: "insetInlineEnd";
|
|
153
|
+
};
|
|
154
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
155
|
+
readonly transform: (value: string | number) => string | 0;
|
|
156
|
+
};
|
|
157
|
+
readonly bottom: {
|
|
158
|
+
readonly property: {
|
|
159
|
+
readonly physical: "bottom";
|
|
160
|
+
readonly logical: "insetBlockEnd";
|
|
161
|
+
};
|
|
162
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
163
|
+
readonly transform: (value: string | number) => string | 0;
|
|
164
|
+
};
|
|
165
|
+
readonly left: {
|
|
166
|
+
readonly property: {
|
|
167
|
+
readonly physical: "left";
|
|
168
|
+
readonly logical: "insetInlineStart";
|
|
169
|
+
};
|
|
170
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
171
|
+
readonly transform: (value: string | number) => string | 0;
|
|
172
|
+
};
|
|
173
|
+
readonly zIndex: {
|
|
174
|
+
readonly property: "zIndex";
|
|
175
|
+
};
|
|
176
|
+
readonly opacity: {
|
|
177
|
+
readonly property: "opacity";
|
|
178
|
+
};
|
|
179
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
180
|
+
readonly p: {
|
|
181
|
+
readonly property: "padding";
|
|
182
|
+
readonly scale: "spacing";
|
|
183
|
+
};
|
|
184
|
+
readonly px: {
|
|
185
|
+
readonly property: "padding";
|
|
186
|
+
readonly properties: {
|
|
187
|
+
readonly physical: readonly ["paddingLeft", "paddingRight"];
|
|
188
|
+
readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
|
|
189
|
+
};
|
|
190
|
+
readonly scale: "spacing";
|
|
191
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
192
|
+
};
|
|
193
|
+
readonly py: {
|
|
194
|
+
readonly property: "padding";
|
|
195
|
+
readonly properties: {
|
|
196
|
+
readonly physical: readonly ["paddingTop", "paddingBottom"];
|
|
197
|
+
readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
|
|
198
|
+
};
|
|
199
|
+
readonly scale: "spacing";
|
|
200
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
201
|
+
};
|
|
202
|
+
readonly pt: {
|
|
203
|
+
readonly property: {
|
|
204
|
+
readonly physical: "paddingTop";
|
|
205
|
+
readonly logical: "paddingBlockStart";
|
|
206
|
+
};
|
|
207
|
+
readonly scale: "spacing";
|
|
208
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
209
|
+
};
|
|
210
|
+
readonly pb: {
|
|
211
|
+
readonly property: {
|
|
212
|
+
readonly physical: "paddingBottom";
|
|
213
|
+
readonly logical: "paddingBlockEnd";
|
|
214
|
+
};
|
|
215
|
+
readonly scale: "spacing";
|
|
216
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
217
|
+
};
|
|
218
|
+
readonly pr: {
|
|
219
|
+
readonly property: {
|
|
220
|
+
readonly physical: "paddingRight";
|
|
221
|
+
readonly logical: "paddingInlineEnd";
|
|
222
|
+
};
|
|
223
|
+
readonly scale: "spacing";
|
|
224
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
225
|
+
};
|
|
226
|
+
readonly pl: {
|
|
227
|
+
readonly property: {
|
|
228
|
+
readonly physical: "paddingLeft";
|
|
229
|
+
readonly logical: "paddingInlineStart";
|
|
230
|
+
};
|
|
231
|
+
readonly scale: "spacing";
|
|
232
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
233
|
+
};
|
|
234
|
+
readonly m: {
|
|
235
|
+
readonly property: "margin";
|
|
236
|
+
readonly scale: "spacing";
|
|
237
|
+
};
|
|
238
|
+
readonly mx: {
|
|
239
|
+
readonly property: "margin";
|
|
240
|
+
readonly properties: {
|
|
241
|
+
readonly physical: readonly ["marginLeft", "marginRight"];
|
|
242
|
+
readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
|
|
243
|
+
};
|
|
244
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
245
|
+
readonly scale: "spacing";
|
|
246
|
+
};
|
|
247
|
+
readonly my: {
|
|
248
|
+
readonly property: "margin";
|
|
249
|
+
readonly properties: {
|
|
250
|
+
readonly physical: readonly ["marginTop", "marginBottom"];
|
|
251
|
+
readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
|
|
252
|
+
};
|
|
253
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
254
|
+
readonly scale: "spacing";
|
|
255
|
+
};
|
|
256
|
+
readonly mt: {
|
|
257
|
+
readonly property: {
|
|
258
|
+
readonly physical: "marginTop";
|
|
259
|
+
readonly logical: "marginBlockStart";
|
|
260
|
+
};
|
|
261
|
+
readonly scale: "spacing";
|
|
262
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
263
|
+
};
|
|
264
|
+
readonly mb: {
|
|
265
|
+
readonly property: {
|
|
266
|
+
readonly physical: "marginBottom";
|
|
267
|
+
readonly logical: "marginBlockEnd";
|
|
268
|
+
};
|
|
269
|
+
readonly scale: "spacing";
|
|
270
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
271
|
+
};
|
|
272
|
+
readonly mr: {
|
|
273
|
+
readonly property: {
|
|
274
|
+
readonly physical: "marginRight";
|
|
275
|
+
readonly logical: "marginInlineEnd";
|
|
276
|
+
};
|
|
277
|
+
readonly scale: "spacing";
|
|
278
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
279
|
+
};
|
|
280
|
+
readonly ml: {
|
|
281
|
+
readonly property: {
|
|
282
|
+
readonly physical: "marginLeft";
|
|
283
|
+
readonly logical: "marginInlineStart";
|
|
284
|
+
};
|
|
285
|
+
readonly scale: "spacing";
|
|
286
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
287
|
+
};
|
|
288
|
+
}>>]>>;
|
|
289
|
+
export type PatternStyleProps = StyleProps<typeof patternStyles>;
|
|
290
|
+
export interface PatternProps extends Omit<React.SVGProps<SVGSVGElement>, keyof PatternStyleProps>, PatternStyleProps {
|
|
291
|
+
/**
|
|
292
|
+
* A suffix added to the end of the unique generated ID for the icon. This is useful if you have multiple of the same icon on the page and need to pass accessibility guidelines.
|
|
293
|
+
*/
|
|
294
|
+
titleId?: string;
|
|
295
|
+
title?: string;
|
|
296
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
297
|
+
}
|
|
298
|
+
export declare const Svg: import("react").ForwardRefExoticComponent<Omit<{
|
|
299
|
+
theme?: import("@emotion/react").Theme;
|
|
300
|
+
as?: React.ElementType;
|
|
301
|
+
} & PatternProps & Pick<import("react").SVGProps<SVGSVGElement>, "string" | "scale" | "filter" | "fill" | "values" | "spacing" | "name" | "alignmentBaseline" | "baselineShift" | "clipPath" | "clipRule" | "colorInterpolationFilters" | "cursor" | "cx" | "cy" | "d" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontSizeAdjust" | "fontVariant" | "imageRendering" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "paintOrder" | "pointerEvents" | "r" | "rotate" | "rx" | "ry" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textRendering" | "transform" | "transformOrigin" | "unicodeBidi" | "vectorEffect" | "visibility" | "wordSpacing" | "writingMode" | "x" | "y" | "mask" | "offset" | "min" | "max" | "end" | "clip" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "method" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolation" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "fontStretch" | "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" | "limitingConeAngle" | "local" | "markerHeight" | "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" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "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" | "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>>;
|
|
302
|
+
export {};
|
package/dist/props.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { styledOptions, system } from '@codecademy/gamut-styles';
|
|
2
|
+
import { variance } from '@codecademy/variance';
|
|
3
|
+
import styled from '@emotion/styled';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
const patternStyles = variance.compose(system.layout, system.positioning, system.space);
|
|
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
|
+
}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="checkerDense"
|
|
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="2" y="2" width="1" height="1" fill="currentColor" />
|
|
12
|
+
</pattern>
|
|
13
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#checkerDense)" />
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="checkerLoose"
|
|
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="8" y="8" width="1" height="1" fill="currentColor" />
|
|
12
|
+
</pattern>
|
|
13
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#checkerLoose)" />
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="checkerRegular"
|
|
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="4" y="4" width="1" height="1" fill="currentColor" />
|
|
12
|
+
</pattern>
|
|
13
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#checkerRegular)" />
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="diagonalADense"
|
|
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="2" y="2" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="1" y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="1" y="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect y="3" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect x="3" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="3" y="1" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="2" y="1" width="1" height="1" fill="currentColor" />
|
|
18
|
+
</pattern>
|
|
19
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#diagonalADense)" />
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="diagonalALoose"
|
|
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="14" y="2" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="13" y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="13" y="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="12" y="3" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect x="15" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="15" y="1" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="14" y="1" width="1" height="1" fill="currentColor" />
|
|
18
|
+
<rect x="11" y="5" width="1" height="1" fill="currentColor" />
|
|
19
|
+
<rect x="10" y="5" width="1" height="1" fill="currentColor" />
|
|
20
|
+
<rect x="10" y="6" width="1" height="1" fill="currentColor" />
|
|
21
|
+
<rect x="9" y="6" width="1" height="1" fill="currentColor" />
|
|
22
|
+
<rect x="8" y="7" width="1" height="1" fill="currentColor" />
|
|
23
|
+
<rect x="9" y="7" width="1" height="1" fill="currentColor" />
|
|
24
|
+
<rect x="12" y="4" width="1" height="1" fill="currentColor" />
|
|
25
|
+
<rect x="11" y="4" width="1" height="1" fill="currentColor" />
|
|
26
|
+
<rect x="7" y="9" width="1" height="1" fill="currentColor" />
|
|
27
|
+
<rect x="6" y="9" width="1" height="1" fill="currentColor" />
|
|
28
|
+
<rect x="6" y="10" width="1" height="1" fill="currentColor" />
|
|
29
|
+
<rect x="5" y="10" width="1" height="1" fill="currentColor" />
|
|
30
|
+
<rect x="8" y="8" width="1" height="1" fill="currentColor" />
|
|
31
|
+
<rect x="7" y="8" width="1" height="1" fill="currentColor" />
|
|
32
|
+
<rect x="4" y="12" width="1" height="1" fill="currentColor" />
|
|
33
|
+
<rect x="3" y="12" width="1" height="1" fill="currentColor" />
|
|
34
|
+
<rect x="3" y="13" width="1" height="1" fill="currentColor" />
|
|
35
|
+
<rect x="2" y="13" width="1" height="1" fill="currentColor" />
|
|
36
|
+
<rect x="1" y="14" width="1" height="1" fill="currentColor" />
|
|
37
|
+
<rect x="2" y="14" width="1" height="1" fill="currentColor" />
|
|
38
|
+
<rect y="15" width="1" height="1" fill="currentColor" />
|
|
39
|
+
<rect x="1" y="15" width="1" height="1" fill="currentColor" />
|
|
40
|
+
<rect x="5" y="11" width="1" height="1" fill="currentColor" />
|
|
41
|
+
<rect x="4" y="11" width="1" height="1" fill="currentColor" />
|
|
42
|
+
</pattern>
|
|
43
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#diagonalALoose)" />
|
|
44
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="diagonalARegular"
|
|
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="6" y="2" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="5" y="2" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="5" y="3" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="4" y="3" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect x="7" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="7" y="1" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="6" y="1" width="1" height="1" fill="currentColor" />
|
|
18
|
+
<rect x="3" y="5" width="1" height="1" fill="currentColor" />
|
|
19
|
+
<rect x="2" y="5" width="1" height="1" fill="currentColor" />
|
|
20
|
+
<rect x="2" y="6" width="1" height="1" fill="currentColor" />
|
|
21
|
+
<rect x="1" y="6" width="1" height="1" fill="currentColor" />
|
|
22
|
+
<rect y="7" width="1" height="1" fill="currentColor" />
|
|
23
|
+
<rect x="1" y="7" width="1" height="1" fill="currentColor" />
|
|
24
|
+
<rect x="4" y="4" width="1" height="1" fill="currentColor" />
|
|
25
|
+
<rect x="3" y="4" width="1" height="1" fill="currentColor" />
|
|
26
|
+
</pattern>
|
|
27
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#diagonalARegular)" />
|
|
28
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="diagonalBDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<g clipPath="url(#clipDiagonalBDense)">
|
|
11
|
+
<rect width="4" height="4" fill="transparent" />
|
|
12
|
+
<rect y="3" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="1" y="2" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="2" y="1" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect x="3" width="1" height="1" fill="currentColor" />
|
|
16
|
+
</g>
|
|
17
|
+
<defs>
|
|
18
|
+
<clipPath id="clipDiagonalBDense">
|
|
19
|
+
<rect width="4" height="4" fill="transparent" />
|
|
20
|
+
</clipPath>
|
|
21
|
+
</defs>
|
|
22
|
+
</pattern>
|
|
23
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#diagonalBDense)" />
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="diagonalBLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect y="15" width="1" height="1" fill="currentColor" />
|
|
11
|
+
<rect x="1" y="14" width="1" height="1" fill="currentColor" />
|
|
12
|
+
<rect x="2" y="13" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="3" y="12" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="4" y="11" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect x="5" y="10" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="6" y="9" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="7" y="8" width="1" height="1" fill="currentColor" />
|
|
18
|
+
<rect x="8" y="7" width="1" height="1" fill="currentColor" />
|
|
19
|
+
<rect x="9" y="6" width="1" height="1" fill="currentColor" />
|
|
20
|
+
<rect x="10" y="5" width="1" height="1" fill="currentColor" />
|
|
21
|
+
<rect x="11" y="4" width="1" height="1" fill="currentColor" />
|
|
22
|
+
<rect x="12" y="3" width="1" height="1" fill="currentColor" />
|
|
23
|
+
<rect x="13" y="2" width="1" height="1" fill="currentColor" />
|
|
24
|
+
<rect x="14" y="1" width="1" height="1" fill="currentColor" />
|
|
25
|
+
<rect x="15" width="1" height="1" fill="currentColor" />
|
|
26
|
+
</pattern>
|
|
27
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#diagonalBLoose)" />
|
|
28
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="diagonalBRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<g clipPath="url(#clipDiagonalBRegular)">
|
|
11
|
+
<rect width="8" height="8" fill="transparent" />
|
|
12
|
+
<rect y="7" width="1" height="1" fill="currentColor" />
|
|
13
|
+
<rect x="1" y="6" width="1" height="1" fill="currentColor" />
|
|
14
|
+
<rect x="2" y="5" width="1" height="1" fill="currentColor" />
|
|
15
|
+
<rect x="3" y="4" width="1" height="1" fill="currentColor" />
|
|
16
|
+
<rect x="4" y="3" width="1" height="1" fill="currentColor" />
|
|
17
|
+
<rect x="5" y="2" width="1" height="1" fill="currentColor" />
|
|
18
|
+
<rect x="6" y="1" width="1" height="1" fill="currentColor" />
|
|
19
|
+
<rect x="7" width="1" height="1" fill="currentColor" />
|
|
20
|
+
</g>
|
|
21
|
+
<defs>
|
|
22
|
+
<clipPath id="clipDiagonalBRegular">
|
|
23
|
+
<rect width="8" height="8" fill="transparent" />
|
|
24
|
+
</clipPath>
|
|
25
|
+
</defs>
|
|
26
|
+
</pattern>
|
|
27
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#diagonalBRegular)" />
|
|
28
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="dotDense"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="4"
|
|
7
|
+
height="4"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<circle cx="0.5" cy="0.5" r="0.5" fill="currentColor" />
|
|
11
|
+
</pattern>
|
|
12
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#dotDense)" />
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="dotLoose"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<rect width="0.5" height="0.5" fill="currentColor" fillOpacity="0.5" />
|
|
11
|
+
<rect
|
|
12
|
+
y="1"
|
|
13
|
+
width="0.5"
|
|
14
|
+
height="0.5"
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
fillOpacity="0.5"
|
|
17
|
+
/>
|
|
18
|
+
<rect y="0.5" width="0.5" height="0.5" fill="currentColor" />
|
|
19
|
+
<rect
|
|
20
|
+
x="1"
|
|
21
|
+
width="0.5"
|
|
22
|
+
height="0.5"
|
|
23
|
+
fill="currentColor"
|
|
24
|
+
fillOpacity="0.5"
|
|
25
|
+
/>
|
|
26
|
+
<rect
|
|
27
|
+
x="1"
|
|
28
|
+
y="1"
|
|
29
|
+
width="0.5"
|
|
30
|
+
height="0.5"
|
|
31
|
+
fill="currentColor"
|
|
32
|
+
fillOpacity="0.5"
|
|
33
|
+
/>
|
|
34
|
+
<rect x="1" y="0.5" width="0.5" height="0.5" fill="currentColor" />
|
|
35
|
+
<rect x="0.5" width="0.5" height="0.5" fill="currentColor" />
|
|
36
|
+
<rect x="0.5" y="1" width="0.5" height="0.5" fill="currentColor" />
|
|
37
|
+
<rect x="0.5" y="0.5" width="0.5" height="0.5" fill="currentColor" />
|
|
38
|
+
</pattern>
|
|
39
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#dotLoose)" />
|
|
40
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg>
|
|
2
|
+
<pattern
|
|
3
|
+
id="dotRegular"
|
|
4
|
+
x="0"
|
|
5
|
+
y="0"
|
|
6
|
+
width="8"
|
|
7
|
+
height="8"
|
|
8
|
+
patternUnits="userSpaceOnUse"
|
|
9
|
+
>
|
|
10
|
+
<circle cx="0.5" cy="0.5" r="0.5" fill="currentColor" />
|
|
11
|
+
</pattern>
|
|
12
|
+
<rect x="0" y="0" width="100%" height="100%" fill="url(#dotRegular)" />
|
|
13
|
+
</svg>
|