@sproutsocial/racine 8.0.0-beta-dark-mode.2 → 8.0.0-beta-dark-mode.6
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/__flow__/Stack/index.js
CHANGED
|
@@ -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 "../
|
|
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,27 +250,11 @@ export const fontWeights = {
|
|
|
250
250
|
extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD,
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export type
|
|
254
|
-
|
|
|
255
|
-
|
|
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;
|
|
253
|
+
export type TypeSpace = {
|
|
254
|
+
[string | number | [number]]: string,
|
|
255
|
+
};
|
|
272
256
|
|
|
273
|
-
export const space = {
|
|
257
|
+
export const space: TypeSpace = {
|
|
274
258
|
"0": SPACE.SPACE_SIZE_0,
|
|
275
259
|
"100": SPACE.SPACE_SIZE_100,
|
|
276
260
|
"200": SPACE.SPACE_SIZE_200,
|
|
@@ -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, TypeSpace } 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 =
|
|
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;
|
package/lib/types/theme.flow.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows
|
|
1
|
+
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows //space,
|
|
2
|
+
, easing, duration } from "../themes/default/theme";
|