@abgov/react-components 4.17.0-alpha.17 → 4.17.0-alpha.18
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/common/styling.d.ts +12 -0
- package/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type NumericSpacing = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
|
|
2
|
+
type TShirtSpacing = "none" | "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl";
|
|
3
|
+
export type Spacing = NumericSpacing | TShirtSpacing | null;
|
|
4
|
+
export interface Margins {
|
|
5
|
+
mt?: Spacing;
|
|
6
|
+
mr?: Spacing;
|
|
7
|
+
mb?: Spacing;
|
|
8
|
+
ml?: Spacing;
|
|
9
|
+
}
|
|
10
|
+
export type Direction = "row" | "column";
|
|
11
|
+
export type Alignment = "center" | "start" | "end";
|
|
12
|
+
export {};
|
package/index.d.ts
CHANGED
package/package.json
CHANGED