@artsy/palette 43.3.1 → 43.4.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/Theme.d.ts CHANGED
@@ -64,6 +64,7 @@ export declare const THEMES: {
64
64
  };
65
65
  space: {
66
66
  0.5: string;
67
+ half: string;
67
68
  1: string;
68
69
  2: string;
69
70
  4: string;
@@ -133,6 +134,7 @@ export declare const THEMES: {
133
134
  };
134
135
  space: {
135
136
  0.5: string;
137
+ half: string;
136
138
  1: string;
137
139
  2: string;
138
140
  4: string;
package/dist/styles.css CHANGED
@@ -5,6 +5,7 @@
5
5
  --space-6: 60px;
6
6
  --space-12: 120px;
7
7
  --space-0_5: 5px;
8
+ --space-half: 5px;
8
9
  --color-mono100: #000000;
9
10
  --color-mono60: #707070;
10
11
  --color-mono30: #c2c2c2;
@@ -308,6 +309,52 @@
308
309
  padding-top: 5px;
309
310
  padding-bottom: 5px;
310
311
  }
312
+ .m-half {
313
+ margin: 5px;
314
+ }
315
+ .mt-half {
316
+ margin-top: 5px;
317
+ }
318
+ .mb-half {
319
+ margin-bottom: 5px;
320
+ }
321
+ .ml-half {
322
+ margin-left: 5px;
323
+ }
324
+ .mr-half {
325
+ margin-right: 5px;
326
+ }
327
+ .mx-half {
328
+ margin-right: 5px;
329
+ margin-left: 5px;
330
+ }
331
+ .my-half {
332
+ margin-top: 5px;
333
+ margin-bottom: 5px;
334
+ }
335
+ .p-half {
336
+ padding: 5px;
337
+ }
338
+ .pt-half {
339
+ padding-top: 5px;
340
+ }
341
+ .pb-half {
342
+ padding-bottom: 5px;
343
+ }
344
+ .pl-half {
345
+ padding-left: 5px;
346
+ }
347
+ .pr-half {
348
+ padding-right: 5px;
349
+ }
350
+ .px-half {
351
+ padding-right: 5px;
352
+ padding-left: 5px;
353
+ }
354
+ .py-half {
355
+ padding-top: 5px;
356
+ padding-bottom: 5px;
357
+ }
311
358
  .color-mono100 {
312
359
  color: #000000;
313
360
  }
package/dist/tokens.json CHANGED
@@ -62,7 +62,8 @@
62
62
  "4": "40px",
63
63
  "6": "60px",
64
64
  "12": "120px",
65
- "0.5": "5px"
65
+ "0.5": "5px",
66
+ "half": "5px"
66
67
  },
67
68
  "textVariants": {
68
69
  "xxxl": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette",
3
- "version": "43.3.1",
3
+ "version": "43.4.0",
4
4
  "description": "Design system library for react components",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -119,7 +119,7 @@
119
119
  },
120
120
  "dependencies": {
121
121
  "@artsy/icons": "^3.2.2",
122
- "@artsy/palette-tokens": "^7.0.1",
122
+ "@artsy/palette-tokens": "^7.1.0",
123
123
  "@seznam/compose-react-refs": "^1.0.6",
124
124
  "@storybook/react-webpack5": "^9.0.16",
125
125
  "@styled-system/theme-get": "^5.1.2",
@@ -190,5 +190,5 @@
190
190
  "url": "http://localhost"
191
191
  }
192
192
  },
193
- "gitHead": "f6e91e48dfd13de93e0a8a5fe72a1d08f9f67e83"
193
+ "gitHead": "e5ed06ecb7ea489daeef5eafd3e444c1ebc3cba4"
194
194
  }