@fairmint/ui 0.3.8 → 0.3.9
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/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Fairmint's shared design system and UI component library.
|
|
4
4
|
|
|
5
|
+
## Design quality
|
|
6
|
+
|
|
7
|
+
Read [docs/design-quality.md](docs/design-quality.md) before creating or reviewing product UI. It records the approved onboarding v5 quality bar, the shared spacing and hierarchy rules, reusable component expectations, and the visual-review gate for founder, investor, onboarding, SAFE, grant, and cap-table work.
|
|
8
|
+
|
|
5
9
|
## Quick Start
|
|
6
10
|
|
|
7
11
|
### 1. Install
|
package/dist/theme/spacing.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.cjs","sources":["../../src/theme/spacing.ts"],"sourcesContent":["/**\n * Fairmint spacing scale — single source of truth used by both the Mantine\n * theme config and the exported `spacing` constant. Values intentionally match\n * Mantine defaults so current visuals stay unchanged while remaining adjustable.\n */\nexport const spacing = {\n xs: \"0.625rem\",\n sm: \"0.75rem\",\n md: \"1rem\",\n lg: \"1.25rem\",\n xl: \"2rem\",\n} as const;\n\nexport type FairmintSpacing = keyof typeof spacing;\n"],"names":[],"mappings":";;AAKO,MAAM,UAAU;AAAA,EACrB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;
|
|
1
|
+
{"version":3,"file":"spacing.cjs","sources":["../../src/theme/spacing.ts"],"sourcesContent":["/**\n * Fairmint spacing scale — single source of truth used by both the Mantine\n * theme config and the exported `spacing` constant. Values intentionally match\n * Mantine defaults so current visuals stay unchanged while remaining adjustable.\n */\nexport const spacing = {\n xs: \"0.625rem\",\n sm: \"0.75rem\",\n md: \"1rem\",\n lg: \"1.25rem\",\n xl: \"2rem\",\n /** Vertical gap between adjacent form fields (24px). */\n formFieldGap: \"1.5rem\",\n} as const;\n\nexport type FairmintSpacing = keyof typeof spacing;\n"],"names":[],"mappings":";;AAKO,MAAM,UAAU;AAAA,EACrB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA;AAAA,EAEJ,cAAc;AAChB;;"}
|
package/dist/theme/spacing.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export declare const spacing: {
|
|
|
9
9
|
readonly md: "1rem";
|
|
10
10
|
readonly lg: "1.25rem";
|
|
11
11
|
readonly xl: "2rem";
|
|
12
|
+
/** Vertical gap between adjacent form fields (24px). */
|
|
13
|
+
readonly formFieldGap: "1.5rem";
|
|
12
14
|
};
|
|
13
15
|
export type FairmintSpacing = keyof typeof spacing;
|
|
14
16
|
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/theme/spacing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;;;;
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/theme/spacing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;;;;IAMlB,wDAAwD;;CAEhD,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,OAAO,CAAC"}
|
package/dist/theme/spacing.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.js","sources":["../../src/theme/spacing.ts"],"sourcesContent":["/**\n * Fairmint spacing scale — single source of truth used by both the Mantine\n * theme config and the exported `spacing` constant. Values intentionally match\n * Mantine defaults so current visuals stay unchanged while remaining adjustable.\n */\nexport const spacing = {\n xs: \"0.625rem\",\n sm: \"0.75rem\",\n md: \"1rem\",\n lg: \"1.25rem\",\n xl: \"2rem\",\n} as const;\n\nexport type FairmintSpacing = keyof typeof spacing;\n"],"names":[],"mappings":"AAKO,MAAM,UAAU;AAAA,EACrB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;
|
|
1
|
+
{"version":3,"file":"spacing.js","sources":["../../src/theme/spacing.ts"],"sourcesContent":["/**\n * Fairmint spacing scale — single source of truth used by both the Mantine\n * theme config and the exported `spacing` constant. Values intentionally match\n * Mantine defaults so current visuals stay unchanged while remaining adjustable.\n */\nexport const spacing = {\n xs: \"0.625rem\",\n sm: \"0.75rem\",\n md: \"1rem\",\n lg: \"1.25rem\",\n xl: \"2rem\",\n /** Vertical gap between adjacent form fields (24px). */\n formFieldGap: \"1.5rem\",\n} as const;\n\nexport type FairmintSpacing = keyof typeof spacing;\n"],"names":[],"mappings":"AAKO,MAAM,UAAU;AAAA,EACrB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA;AAAA,EAEJ,cAAc;AAChB;"}
|