@codecademy/gamut-patterns 0.10.22-alpha.c2d955.0 → 0.10.22-alpha.f12c24.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/LICENSE +21 -0
- package/dist/props.d.ts +60 -12
- package/package.json +5 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Codecademy LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/props.d.ts
CHANGED
|
@@ -125,29 +125,53 @@ declare const patternStyles: import("@codecademy/variance/dist/types/config").Pa
|
|
|
125
125
|
};
|
|
126
126
|
readonly px: {
|
|
127
127
|
readonly property: "padding";
|
|
128
|
-
readonly properties:
|
|
128
|
+
readonly properties: {
|
|
129
|
+
readonly physical: readonly ["paddingLeft", "paddingRight"];
|
|
130
|
+
readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
|
|
131
|
+
};
|
|
129
132
|
readonly scale: "spacing";
|
|
133
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
130
134
|
};
|
|
131
135
|
readonly py: {
|
|
132
136
|
readonly property: "padding";
|
|
133
|
-
readonly properties:
|
|
137
|
+
readonly properties: {
|
|
138
|
+
readonly physical: readonly ["paddingTop", "paddingBottom"];
|
|
139
|
+
readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
|
|
140
|
+
};
|
|
134
141
|
readonly scale: "spacing";
|
|
142
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
135
143
|
};
|
|
136
144
|
readonly pt: {
|
|
137
|
-
readonly property:
|
|
145
|
+
readonly property: {
|
|
146
|
+
readonly physical: "paddingTop";
|
|
147
|
+
readonly logical: "paddingBlockStart";
|
|
148
|
+
};
|
|
138
149
|
readonly scale: "spacing";
|
|
150
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
139
151
|
};
|
|
140
152
|
readonly pb: {
|
|
141
|
-
readonly property:
|
|
153
|
+
readonly property: {
|
|
154
|
+
readonly physical: "paddingBottom";
|
|
155
|
+
readonly logical: "paddingBlockEnd";
|
|
156
|
+
};
|
|
142
157
|
readonly scale: "spacing";
|
|
158
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
143
159
|
};
|
|
144
160
|
readonly pr: {
|
|
145
|
-
readonly property:
|
|
161
|
+
readonly property: {
|
|
162
|
+
readonly physical: "paddingRight";
|
|
163
|
+
readonly logical: "paddingInlineEnd";
|
|
164
|
+
};
|
|
146
165
|
readonly scale: "spacing";
|
|
166
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
147
167
|
};
|
|
148
168
|
readonly pl: {
|
|
149
|
-
readonly property:
|
|
169
|
+
readonly property: {
|
|
170
|
+
readonly physical: "paddingLeft";
|
|
171
|
+
readonly logical: "paddingInlineStart";
|
|
172
|
+
};
|
|
150
173
|
readonly scale: "spacing";
|
|
174
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
151
175
|
};
|
|
152
176
|
readonly m: {
|
|
153
177
|
readonly property: "margin";
|
|
@@ -155,29 +179,53 @@ declare const patternStyles: import("@codecademy/variance/dist/types/config").Pa
|
|
|
155
179
|
};
|
|
156
180
|
readonly mx: {
|
|
157
181
|
readonly property: "margin";
|
|
158
|
-
readonly properties:
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly physical: readonly ["marginLeft", "marginRight"];
|
|
184
|
+
readonly logical: readonly ["marginInlineStart", "marginInlineEnd"];
|
|
185
|
+
};
|
|
186
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
159
187
|
readonly scale: "spacing";
|
|
160
188
|
};
|
|
161
189
|
readonly my: {
|
|
162
190
|
readonly property: "margin";
|
|
163
|
-
readonly properties:
|
|
191
|
+
readonly properties: {
|
|
192
|
+
readonly physical: readonly ["marginTop", "marginBottom"];
|
|
193
|
+
readonly logical: readonly ["marginBlockStart", "marginBlockEnd"];
|
|
194
|
+
};
|
|
195
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
164
196
|
readonly scale: "spacing";
|
|
165
197
|
};
|
|
166
198
|
readonly mt: {
|
|
167
|
-
readonly property:
|
|
199
|
+
readonly property: {
|
|
200
|
+
readonly physical: "marginTop";
|
|
201
|
+
readonly logical: "marginBlockStart";
|
|
202
|
+
};
|
|
168
203
|
readonly scale: "spacing";
|
|
204
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
169
205
|
};
|
|
170
206
|
readonly mb: {
|
|
171
|
-
readonly property:
|
|
207
|
+
readonly property: {
|
|
208
|
+
readonly physical: "marginBottom";
|
|
209
|
+
readonly logical: "marginBlockEnd";
|
|
210
|
+
};
|
|
172
211
|
readonly scale: "spacing";
|
|
212
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
173
213
|
};
|
|
174
214
|
readonly mr: {
|
|
175
|
-
readonly property:
|
|
215
|
+
readonly property: {
|
|
216
|
+
readonly physical: "marginRight";
|
|
217
|
+
readonly logical: "marginInlineEnd";
|
|
218
|
+
};
|
|
176
219
|
readonly scale: "spacing";
|
|
220
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
177
221
|
};
|
|
178
222
|
readonly ml: {
|
|
179
|
-
readonly property:
|
|
223
|
+
readonly property: {
|
|
224
|
+
readonly physical: "marginLeft";
|
|
225
|
+
readonly logical: "marginInlineStart";
|
|
226
|
+
};
|
|
180
227
|
readonly scale: "spacing";
|
|
228
|
+
readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
|
|
181
229
|
};
|
|
182
230
|
}>>]>>;
|
|
183
231
|
export type PatternStyleProps = StyleProps<typeof patternStyles>;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-patterns",
|
|
3
3
|
"description": "Pattern library for Codecademy",
|
|
4
|
-
"version": "0.10.22-alpha.
|
|
4
|
+
"version": "0.10.22-alpha.f12c24.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"bugs": "https://github.com/Codecademy/gamut/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@codecademy/gamut-styles": "17.11.3-alpha.
|
|
9
|
-
"@codecademy/variance": "0.25.3-alpha.
|
|
8
|
+
"@codecademy/gamut-styles": "17.11.3-alpha.f12c24.0",
|
|
9
|
+
"@codecademy/variance": "0.25.3-alpha.f12c24.0",
|
|
10
10
|
"classnames": "^2.2.5"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
@@ -31,5 +31,6 @@
|
|
|
31
31
|
"format": "svgo -f ./src/svg --pretty --config=.svgo.yml"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
|
-
"types": "dist/index.d.ts"
|
|
34
|
+
"types": "dist/index.d.ts",
|
|
35
|
+
"gitHead": "621175f83edaf6c595338c95749c132faf2e5829"
|
|
35
36
|
}
|