@codecademy/gamut-patterns 0.10.22-alpha.8aa868.0 → 0.10.22-alpha.c2d955.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 (3) hide show
  1. package/dist/props.d.ts +12 -60
  2. package/package.json +4 -5
  3. package/LICENSE +0 -21
package/dist/props.d.ts CHANGED
@@ -125,53 +125,29 @@ declare const patternStyles: import("@codecademy/variance/dist/types/config").Pa
125
125
  };
126
126
  readonly px: {
127
127
  readonly property: "padding";
128
- readonly properties: {
129
- readonly physical: readonly ["paddingLeft", "paddingRight"];
130
- readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
131
- };
128
+ readonly properties: readonly ["paddingLeft", "paddingRight"];
132
129
  readonly scale: "spacing";
133
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
134
130
  };
135
131
  readonly py: {
136
132
  readonly property: "padding";
137
- readonly properties: {
138
- readonly physical: readonly ["paddingTop", "paddingBottom"];
139
- readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
140
- };
133
+ readonly properties: readonly ["paddingTop", "paddingBottom"];
141
134
  readonly scale: "spacing";
142
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
143
135
  };
144
136
  readonly pt: {
145
- readonly property: {
146
- readonly physical: "paddingTop";
147
- readonly logical: "paddingBlockStart";
148
- };
137
+ readonly property: "paddingTop";
149
138
  readonly scale: "spacing";
150
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
151
139
  };
152
140
  readonly pb: {
153
- readonly property: {
154
- readonly physical: "paddingBottom";
155
- readonly logical: "paddingBlockEnd";
156
- };
141
+ readonly property: "paddingBottom";
157
142
  readonly scale: "spacing";
158
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
159
143
  };
160
144
  readonly pr: {
161
- readonly property: {
162
- readonly physical: "paddingRight";
163
- readonly logical: "paddingInlineEnd";
164
- };
145
+ readonly property: "paddingRight";
165
146
  readonly scale: "spacing";
166
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
167
147
  };
168
148
  readonly pl: {
169
- readonly property: {
170
- readonly physical: "paddingLeft";
171
- readonly logical: "paddingInlineStart";
172
- };
149
+ readonly property: "paddingLeft";
173
150
  readonly scale: "spacing";
174
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
175
151
  };
176
152
  readonly m: {
177
153
  readonly property: "margin";
@@ -179,53 +155,29 @@ declare const patternStyles: import("@codecademy/variance/dist/types/config").Pa
179
155
  };
180
156
  readonly mx: {
181
157
  readonly property: "margin";
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;
158
+ readonly properties: readonly ["marginLeft", "marginRight"];
187
159
  readonly scale: "spacing";
188
160
  };
189
161
  readonly my: {
190
162
  readonly property: "margin";
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;
163
+ readonly properties: readonly ["marginTop", "marginBottom"];
196
164
  readonly scale: "spacing";
197
165
  };
198
166
  readonly mt: {
199
- readonly property: {
200
- readonly physical: "marginTop";
201
- readonly logical: "marginBlockStart";
202
- };
167
+ readonly property: "marginTop";
203
168
  readonly scale: "spacing";
204
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
205
169
  };
206
170
  readonly mb: {
207
- readonly property: {
208
- readonly physical: "marginBottom";
209
- readonly logical: "marginBlockEnd";
210
- };
171
+ readonly property: "marginBottom";
211
172
  readonly scale: "spacing";
212
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
213
173
  };
214
174
  readonly mr: {
215
- readonly property: {
216
- readonly physical: "marginRight";
217
- readonly logical: "marginInlineEnd";
218
- };
175
+ readonly property: "marginRight";
219
176
  readonly scale: "spacing";
220
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
221
177
  };
222
178
  readonly ml: {
223
- readonly property: {
224
- readonly physical: "marginLeft";
225
- readonly logical: "marginInlineStart";
226
- };
179
+ readonly property: "marginLeft";
227
180
  readonly scale: "spacing";
228
- readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
229
181
  };
230
182
  }>>]>>;
231
183
  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.8aa868.0",
4
+ "version": "0.10.22-alpha.c2d955.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.8aa868.0",
9
- "@codecademy/variance": "0.25.3-alpha.8aa868.0",
8
+ "@codecademy/gamut-styles": "17.11.3-alpha.c2d955.0",
9
+ "@codecademy/variance": "0.25.3-alpha.c2d955.0",
10
10
  "classnames": "^2.2.5"
11
11
  },
12
12
  "files": [
@@ -31,6 +31,5 @@
31
31
  "format": "svgo -f ./src/svg --pretty --config=.svgo.yml"
32
32
  },
33
33
  "sideEffects": false,
34
- "types": "dist/index.d.ts",
35
- "gitHead": "8b0548707790d55b270d5577b0a95a8242c03ec5"
34
+ "types": "dist/index.d.ts"
36
35
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
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.