@sproutsocial/racine 8.0.0-beta-dark-mode.2 → 8.0.0-beta-dark-mode.3

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.
@@ -11,7 +11,7 @@ type TypeAlignment = "left" | "center" | "right" | "stretch";
11
11
 
12
12
  type TypeProps = {
13
13
  /** Amount of space between items in the stack */
14
- space?: TypeResponsive<TypeSpace>,
14
+ space?: TypeResponsive<$Keys<TypeSpace>>,
15
15
  /** Alignment of the items in the stack (horizontal or vertical) */
16
16
  align?: TypeResponsive<TypeAlignment>,
17
17
  /** Axis upon which the stack is laid out (left, center, right, or stretch) */
@@ -250,26 +250,6 @@ export const fontWeights = {
250
250
  extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD,
251
251
  };
252
252
 
253
- export type TypeSpaceLiterals =
254
- | 0
255
- | 100
256
- | 200
257
- | 300
258
- | 350
259
- | 400
260
- | 450
261
- | 500
262
- | 600
263
- | -100
264
- | -200
265
- | -300
266
- | -350
267
- | -400
268
- | -450
269
- | -500
270
- | -600
271
- | string;
272
-
273
253
  export const space = {
274
254
  "0": SPACE.SPACE_SIZE_0,
275
255
  "100": SPACE.SPACE_SIZE_100,
@@ -351,4 +331,6 @@ const theme = {
351
331
  duration,
352
332
  };
353
333
 
334
+ console.log(theme.space);
335
+
354
336
  export default theme;
@@ -7,20 +7,18 @@ import {
7
7
  borders,
8
8
  borderWidths,
9
9
  shadows,
10
+ space,
10
11
  easing,
11
12
  duration,
12
13
  } from "../themes/default/theme";
13
14
  import type { TypeColors } from "./theme.colors.flow.js";
14
- import type {
15
- TypeFontFamilyString,
16
- TypeSpaceLiterals,
17
- } from "../themes/default/theme";
15
+ import type { TypeFontFamilyString } from "../themes/default/theme";
18
16
 
19
17
  export type TypeBreakpoint = typeof breakpoints;
20
18
  export type TypeTypography = typeof typography;
21
19
  export type TypeFontWeight = typeof fontWeights;
22
20
  export type TypeFontFamily = TypeFontFamilyString;
23
- export type TypeSpace = TypeSpaceLiterals;
21
+ export type TypeSpace = typeof space;
24
22
  export type TypeColor = TypeColors;
25
23
  export type TypeRadii = typeof radii;
26
24
  export type TypeBorder = typeof borders;
@@ -329,5 +329,6 @@ var theme = {
329
329
  easing: easing,
330
330
  duration: duration
331
331
  };
332
+ console.log(theme.space);
332
333
  var _default = theme;
333
334
  exports.default = _default;
@@ -302,4 +302,5 @@ var theme = {
302
302
  easing: easing,
303
303
  duration: duration
304
304
  };
305
+ console.log(theme.space);
305
306
  export default theme;
@@ -1 +1 @@
1
- import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows, easing, duration } from "../themes/default/theme";
1
+ import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows, space, easing, duration } from "../themes/default/theme";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "8.0.0-beta-dark-mode.2",
3
+ "version": "8.0.0-beta-dark-mode.3",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",