@sproutsocial/racine 8.0.0-beta-dark-mode.1 → 8.0.0-beta-dark-mode.5

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.
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import { Children } from "react";
4
4
  import Box from "../Box";
5
5
  import { normalizeResponsiveProp } from "../utils/responsiveProps";
6
- import type { TypeSpace } from "../types/theme.flow";
6
+ import type { TypeSpace } from "../themes/default/theme";
7
7
  import type { TypeResponsive } from "../types/system-props.flow";
8
8
 
9
9
  type TypeDirection = "vertical" | "horizontal";
@@ -250,7 +250,11 @@ export const fontWeights = {
250
250
  extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD,
251
251
  };
252
252
 
253
- export const space = {
253
+ export type TypeSpace = {
254
+ [string | number]: string,
255
+ };
256
+
257
+ export const space: TypeSpace = {
254
258
  "0": SPACE.SPACE_SIZE_0,
255
259
  "100": SPACE.SPACE_SIZE_100,
256
260
  "200": SPACE.SPACE_SIZE_200,
@@ -3,22 +3,22 @@ import {
3
3
  breakpoints,
4
4
  typography,
5
5
  fontWeights,
6
- space,
7
6
  radii,
8
7
  borders,
9
8
  borderWidths,
10
9
  shadows,
10
+ //space,
11
11
  easing,
12
12
  duration,
13
13
  } from "../themes/default/theme";
14
14
  import type { TypeColors } from "./theme.colors.flow.js";
15
- import type { TypeFontFamilyString } from "../themes/default/theme";
15
+ import type { TypeFontFamilyString, TypeSpace } from "../themes/default/theme";
16
16
 
17
17
  export type TypeBreakpoint = typeof breakpoints;
18
18
  export type TypeTypography = typeof typography;
19
19
  export type TypeFontWeight = typeof fontWeights;
20
20
  export type TypeFontFamily = TypeFontFamilyString;
21
- export type TypeSpace = $Keys<typeof space>;
21
+ //export type TypeSpace = typeof space;
22
22
  export type TypeColor = TypeColors;
23
23
  export type TypeRadii = typeof radii;
24
24
  export type TypeBorder = typeof borders;
@@ -1 +1,2 @@
1
- import { breakpoints, typography, fontWeights, space, radii, borders, borderWidths, shadows, easing, duration } from "../themes/default/theme";
1
+ import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows //space,
2
+ , 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.1",
3
+ "version": "8.0.0-beta-dark-mode.5",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",