@fairmint/ui 0.2.31 → 0.2.33
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/dist/components/specific/EquityRibbonChart/EquityRibbonChart.d.ts +41 -0
- package/dist/components/specific/EquityRibbonChart/EquityRibbonChart.d.ts.map +1 -0
- package/dist/components/specific/EquityRibbonChart/FairmintRibbonMark.d.ts +25 -0
- package/dist/components/specific/EquityRibbonChart/FairmintRibbonMark.d.ts.map +1 -0
- package/dist/components/specific/EquityRibbonChart/index.d.ts +9 -0
- package/dist/components/specific/EquityRibbonChart/index.d.ts.map +1 -0
- package/dist/components/specific/EquityRibbonChart/ribbonGeometry.d.ts +73 -0
- package/dist/components/specific/EquityRibbonChart/ribbonGeometry.d.ts.map +1 -0
- package/dist/components/specific/EquityRibbonChart/ribbonTheme.d.ts +13 -0
- package/dist/components/specific/EquityRibbonChart/ribbonTheme.d.ts.map +1 -0
- package/dist/fairmint-ui.cjs +582 -0
- package/dist/fairmint-ui.cjs.map +1 -1
- package/dist/fairmint-ui.js +582 -0
- package/dist/fairmint-ui.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/styles.css +79 -0
- package/dist/theme/ribbonChartColors.d.ts +31 -0
- package/dist/theme/ribbonChartColors.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { RibbonLayout } from './ribbonGeometry';
|
|
3
|
+
import { RibbonBackground, RibbonGradientStop } from './ribbonTheme';
|
|
4
|
+
export type { RibbonBackground, RibbonGradientStop };
|
|
5
|
+
export interface EquityRibbonChartProps {
|
|
6
|
+
/** Band labels, bottom to top visually (Cap Table → Liquidity). */
|
|
7
|
+
labels?: readonly string[];
|
|
8
|
+
/** How many stacked ribbons to draw (1 = bottom band only, 5 = full stack). @default 5 */
|
|
9
|
+
bandCount?: number;
|
|
10
|
+
/** Per-band gradient stops (`start` / `end` hex). Defaults to brand purple stack. */
|
|
11
|
+
gradients?: readonly RibbonGradientStop[];
|
|
12
|
+
/** Play left-to-right reveal + label fade-in. @default true */
|
|
13
|
+
animated?: boolean;
|
|
14
|
+
/** Hide labels. @default false */
|
|
15
|
+
hideLabels?: boolean;
|
|
16
|
+
/** Canvas behind ribbons. @default 'transparent' */
|
|
17
|
+
background?: RibbonBackground;
|
|
18
|
+
/**
|
|
19
|
+
* Color of the 2px seam between ribbons (SVG stroke).
|
|
20
|
+
* Defaults to the `background` surface; when `background` is `transparent`, defaults to `ribbonChartSurface.black`.
|
|
21
|
+
*/
|
|
22
|
+
gapColor?: string;
|
|
23
|
+
/** `hero` = wide marketing chart; `mark` = tight fill for square icon. @default 'hero' */
|
|
24
|
+
layout?: RibbonLayout;
|
|
25
|
+
/** Label text color (CSS color). @default ribbonChartLabelDefault */
|
|
26
|
+
labelColor?: string;
|
|
27
|
+
/** Root element class. */
|
|
28
|
+
className?: string;
|
|
29
|
+
/** Override chart height (CSS length). */
|
|
30
|
+
height?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Chart width in pixels (sets root `width`, same idea as `height`).
|
|
33
|
+
* Clamped up to the rendered height when needed; wider charts increase right-edge stagger between ribbons.
|
|
34
|
+
* Omit to fill the parent (`width: 100%`).
|
|
35
|
+
*/
|
|
36
|
+
chartWidth?: number;
|
|
37
|
+
/** Passed to root for layout wrappers. */
|
|
38
|
+
style?: CSSProperties;
|
|
39
|
+
}
|
|
40
|
+
export declare function EquityRibbonChart({ labels, bandCount: bandCountProp, gradients, animated, hideLabels, background, gapColor, layout, labelColor, className, height, chartWidth, style, }: EquityRibbonChartProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
//# sourceMappingURL=EquityRibbonChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EquityRibbonChart.d.ts","sourceRoot":"","sources":["../../../../src/components/specific/EquityRibbonChart/EquityRibbonChart.ts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AAsB,2CA0RxB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { EquityRibbonChartProps } from './EquityRibbonChart';
|
|
3
|
+
import { RibbonBackground } from './ribbonTheme';
|
|
4
|
+
export interface FairmintRibbonMarkProps {
|
|
5
|
+
/** Square size in pixels. @default 64 */
|
|
6
|
+
size?: number;
|
|
7
|
+
/** Ribbons to include (1–5). @default 5 */
|
|
8
|
+
bandCount?: EquityRibbonChartProps["bandCount"];
|
|
9
|
+
/** Custom gradient stops per band. */
|
|
10
|
+
gradients?: EquityRibbonChartProps["gradients"];
|
|
11
|
+
/** Canvas behind ribbons. @default 'black' */
|
|
12
|
+
background?: RibbonBackground;
|
|
13
|
+
/** Seam color between ribbons; use `transparent` to hide strokes on transparent backgrounds. */
|
|
14
|
+
gapColor?: EquityRibbonChartProps["gapColor"];
|
|
15
|
+
/** Label text color when labels are shown. @default ribbonChartLabelDefault */
|
|
16
|
+
labelColor?: EquityRibbonChartProps["labelColor"];
|
|
17
|
+
/** Additional class name. */
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Square brand mark — stacked ribbons without labels (favicon / app icon source).
|
|
23
|
+
*/
|
|
24
|
+
export declare function FairmintRibbonMark({ size, bandCount, gradients, background, gapColor, labelColor, className, style, }: FairmintRibbonMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=FairmintRibbonMark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FairmintRibbonMark.d.ts","sourceRoot":"","sources":["../../../../src/components/specific/EquityRibbonChart/FairmintRibbonMark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,WAAW,uBAAuB;IACtC,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,SAAS,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;IAChD,sCAAsC;IACtC,SAAS,CAAC,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;IAChD,8CAA8C;IAC9C,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,gGAAgG;IAChG,QAAQ,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAC9C,+EAA+E;IAC/E,UAAU,CAAC,EAAE,sBAAsB,CAAC,YAAY,CAAC,CAAC;IAClD,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAS,EACT,SAAa,EACb,SAAS,EACT,UAAoB,EACpB,QAAQ,EACR,UAAU,EACV,SAAS,EACT,KAAK,GACN,EAAE,uBAAuB,2CAkBzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { EquityRibbonChartProps, RibbonGradientStop } from './EquityRibbonChart';
|
|
2
|
+
export { EquityRibbonChart } from './EquityRibbonChart';
|
|
3
|
+
export type { FairmintRibbonMarkProps } from './FairmintRibbonMark';
|
|
4
|
+
export { FairmintRibbonMark } from './FairmintRibbonMark';
|
|
5
|
+
export type { RibbonLayout } from './ribbonGeometry';
|
|
6
|
+
export { clampBandCount, DEFAULT_RIBBON_CONFIG, MARK_RIBBON_CONFIG, MARK_RIBBON_RIGHT_EDGE, transformPathD, } from './ribbonGeometry';
|
|
7
|
+
export type { RibbonBackground } from './ribbonTheme';
|
|
8
|
+
export { DEFAULT_RIBBON_LABELS, RIBBON_BACKGROUND_CLASS, RIBBON_BAND_GRADIENTS, } from './ribbonTheme';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/specific/EquityRibbonChart/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/** Stacked exponential ribbon chart — geometry ported from preview-journey prototype. */
|
|
2
|
+
export interface RibbonGeometryConfig {
|
|
3
|
+
baseline: number;
|
|
4
|
+
xEndStagger: number;
|
|
5
|
+
xEndDraw: readonly number[];
|
|
6
|
+
xEndCurve: number;
|
|
7
|
+
xStart: readonly number[];
|
|
8
|
+
kArr: readonly number[];
|
|
9
|
+
V: readonly number[];
|
|
10
|
+
vMin: readonly number[];
|
|
11
|
+
xStem: readonly number[];
|
|
12
|
+
labelX: readonly number[];
|
|
13
|
+
labelAboveGap: readonly number[];
|
|
14
|
+
labelLeftGap: number;
|
|
15
|
+
labelLiquidityGap: number;
|
|
16
|
+
labelNudge: readonly [number, number][];
|
|
17
|
+
samples: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const DEFAULT_RIBBON_CONFIG: RibbonGeometryConfig;
|
|
20
|
+
/** Right edge for mark / square charts: all ribbons align on this vertical line. */
|
|
21
|
+
export declare const MARK_RIBBON_RIGHT_EDGE = 0.936;
|
|
22
|
+
/**
|
|
23
|
+
* Stagger scale: `int_px = (chartWidth - height) * RIBBON_END_STAGGER_X` when chartWidth > height.
|
|
24
|
+
* Calibrated at W=1000, H=500: int_px = 0.009 × 1000 ⇒ X = 9 / 500 = 0.018.
|
|
25
|
+
*/
|
|
26
|
+
export declare const RIBBON_END_STAGGER_X: number;
|
|
27
|
+
/**
|
|
28
|
+
* Horizontal scale factor for mark fit (mark layout only).
|
|
29
|
+
* < 1 compresses width so the stack reads square in a 1:1 viewport.
|
|
30
|
+
*/
|
|
31
|
+
export declare const MARK_FIT_HORIZONTAL_COMPRESS = 0.78;
|
|
32
|
+
/** Tighter geometry so the mark fills a square icon. */
|
|
33
|
+
export declare const MARK_RIBBON_CONFIG: RibbonGeometryConfig;
|
|
34
|
+
export type RibbonLayout = "hero" | "mark";
|
|
35
|
+
export type RibbonLabelPlacement = "start";
|
|
36
|
+
/** Scale and translate path `d` (M/L commands only, as produced by buildBandPath). */
|
|
37
|
+
export declare function transformPathD(d: string, scaleX: number, scaleY: number, tx: number, ty: number): string;
|
|
38
|
+
export interface BuiltRibbonLabel {
|
|
39
|
+
index: number;
|
|
40
|
+
text: string;
|
|
41
|
+
leftPct: number;
|
|
42
|
+
topPct: number;
|
|
43
|
+
placement: RibbonLabelPlacement;
|
|
44
|
+
}
|
|
45
|
+
export interface RibbonGeometryResult {
|
|
46
|
+
paths: string[];
|
|
47
|
+
clipWidthPx: number[];
|
|
48
|
+
labels: BuiltRibbonLabel[];
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
bandCount: number;
|
|
52
|
+
}
|
|
53
|
+
export declare function clampBandCount(count: number, max?: number): number;
|
|
54
|
+
/**
|
|
55
|
+
* Geometry width for paths/viewBox.
|
|
56
|
+
* With `chartWidth`: at least rendered height, then respect a narrower measured width (e.g. `max-width: 100%`).
|
|
57
|
+
* Without `chartWidth`: use measured container width only.
|
|
58
|
+
*/
|
|
59
|
+
export declare function resolveChartGeometryWidth(containerWidth: number, containerHeight: number, chartWidth?: number): number;
|
|
60
|
+
/** CSS cap for explicit `chartWidth` (never below rendered height). */
|
|
61
|
+
export declare function nominalChartWidthPx(chartWidth: number, renderedHeightPx: number): number;
|
|
62
|
+
/** Normalized gap between adjacent ribbon right edges (0 when square). */
|
|
63
|
+
export declare function ribbonEndStaggerNorm(chartWidth: number, height: number): number;
|
|
64
|
+
/** Per-band clip right edge (bottom band leftmost, top band at `rightAnchor`). */
|
|
65
|
+
export declare function buildStaggeredEndDraw(bandCount: number, chartWidth: number, height: number): readonly number[];
|
|
66
|
+
export declare function configWithChartDimensions(base: RibbonGeometryConfig, chartWidth: number, height: number): RibbonGeometryConfig;
|
|
67
|
+
export declare function buildRibbonGeometry(width: number, height: number, labels: readonly string[], config?: RibbonGeometryConfig, bandCount?: number, layout?: RibbonLayout): RibbonGeometryResult | null;
|
|
68
|
+
/** Quadratic ease-in-out (GSAP `power2.inOut` equivalent) for reveal motion. */
|
|
69
|
+
export declare function easePower1InOut(t: number): number;
|
|
70
|
+
export declare function easePower2Out(t: number): number;
|
|
71
|
+
/** Label reveal start time (seconds) along a timeline of `duration` seconds. */
|
|
72
|
+
export declare function ribbonLabelRevealTime(labelIndex: number, duration: number, config?: RibbonGeometryConfig): number;
|
|
73
|
+
//# sourceMappingURL=ribbonGeometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ribbonGeometry.d.ts","sourceRoot":"","sources":["../../../../src/components/specific/EquityRibbonChart/ribbonGeometry.ts"],"names":[],"mappings":"AAAA,yFAAyF;AAEzF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAA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AAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,oBAA4C,GACnD,MAAM,CAER"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ribbonChartLabelDefault, ribbonChartSurface } from '../../../theme/ribbonChartColors';
|
|
2
|
+
export type RibbonGradientStop = {
|
|
3
|
+
start: string;
|
|
4
|
+
end: string;
|
|
5
|
+
};
|
|
6
|
+
export type RibbonBackground = keyof typeof ribbonChartSurface | "transparent";
|
|
7
|
+
export declare const RIBBON_BACKGROUND_CLASS: Record<RibbonBackground, string>;
|
|
8
|
+
export declare const DEFAULT_RIBBON_LABELS: readonly ["Cap Table", "Fundraising", "Grants", "Secondaries", "Liquidity"];
|
|
9
|
+
export declare const RIBBON_BAND_GRADIENTS: readonly (RibbonGradientStop & {
|
|
10
|
+
idSuffix: string;
|
|
11
|
+
})[];
|
|
12
|
+
export { ribbonChartLabelDefault, ribbonChartSurface };
|
|
13
|
+
//# sourceMappingURL=ribbonTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ribbonTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/specific/EquityRibbonChart/ribbonTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,kBAAkB,GAAG,aAAa,CAAC;AAE/E,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAIpE,CAAC;AAEF,eAAO,MAAM,qBAAqB,6EAMxB,CAAC;AAEX,eAAO,MAAM,qBAAqB,EAAE,SAAS,CAAC,kBAAkB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,EAC/D,CAAC;AAE1B,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,CAAC"}
|