@almanaclabs/blaze-ui 0.12.0 → 0.14.0

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.
Files changed (59) hide show
  1. package/dist/components/approval-card/approval-card.d.ts +8 -1
  2. package/dist/components/approval-card/approval-card.d.ts.map +1 -1
  3. package/dist/components/approval-card/approval-card.js +47 -34
  4. package/dist/components/button/button.d.ts +3 -2
  5. package/dist/components/button/button.d.ts.map +1 -1
  6. package/dist/components/button/button.js +17 -9
  7. package/dist/components/detail-list/detail-list.d.ts +25 -0
  8. package/dist/components/detail-list/detail-list.d.ts.map +1 -0
  9. package/dist/components/detail-list/detail-list.js +38 -0
  10. package/dist/components/detail-list/index.d.ts +2 -0
  11. package/dist/components/detail-list/index.d.ts.map +1 -0
  12. package/dist/components/filter-chips/filter-chips.d.ts +2 -0
  13. package/dist/components/filter-chips/filter-chips.d.ts.map +1 -1
  14. package/dist/components/filter-chips/filter-chips.js +10 -6
  15. package/dist/components/item/item.d.ts +1 -1
  16. package/dist/components/marker/marker.d.ts +1 -1
  17. package/dist/components/metric-tile/metric-tile.d.ts +4 -2
  18. package/dist/components/metric-tile/metric-tile.d.ts.map +1 -1
  19. package/dist/components/metric-tile/metric-tile.js +51 -45
  20. package/dist/components/platform-icon/channel-color.d.ts +15 -0
  21. package/dist/components/platform-icon/channel-color.d.ts.map +1 -0
  22. package/dist/components/platform-icon/channel-color.js +20 -0
  23. package/dist/components/platform-icon/index.d.ts +2 -0
  24. package/dist/components/platform-icon/index.d.ts.map +1 -1
  25. package/dist/components/platform-icon/letter-mark.d.ts +20 -0
  26. package/dist/components/platform-icon/letter-mark.d.ts.map +1 -0
  27. package/dist/components/platform-icon/letter-mark.js +34 -0
  28. package/dist/components/platform-icon/platform-icon.d.ts +8 -2
  29. package/dist/components/platform-icon/platform-icon.d.ts.map +1 -1
  30. package/dist/components/platform-icon/platform-icon.js +69 -45
  31. package/dist/components/rating/index.d.ts +2 -0
  32. package/dist/components/rating/index.d.ts.map +1 -0
  33. package/dist/components/rating/rating.d.ts +15 -0
  34. package/dist/components/rating/rating.d.ts.map +1 -0
  35. package/dist/components/rating/rating.js +27 -0
  36. package/dist/components/section-header/index.d.ts +2 -0
  37. package/dist/components/section-header/index.d.ts.map +1 -0
  38. package/dist/components/section-header/section-header.d.ts +20 -0
  39. package/dist/components/section-header/section-header.d.ts.map +1 -0
  40. package/dist/components/section-header/section-header.js +32 -0
  41. package/dist/components/sparkline/index.d.ts +2 -0
  42. package/dist/components/sparkline/index.d.ts.map +1 -0
  43. package/dist/components/sparkline/sparkline.d.ts +19 -0
  44. package/dist/components/sparkline/sparkline.d.ts.map +1 -0
  45. package/dist/components/sparkline/sparkline.js +69 -0
  46. package/dist/components/stacked-bar-chart/stacked-bar-chart.d.ts +6 -0
  47. package/dist/components/stacked-bar-chart/stacked-bar-chart.d.ts.map +1 -1
  48. package/dist/components/stacked-bar-chart/stacked-bar-chart.js +81 -54
  49. package/dist/components/tabs/tabs.d.ts +1 -1
  50. package/dist/components/tag/index.d.ts +2 -0
  51. package/dist/components/tag/index.d.ts.map +1 -0
  52. package/dist/components/tag/tag.d.ts +25 -0
  53. package/dist/components/tag/tag.d.ts.map +1 -0
  54. package/dist/components/tag/tag.js +60 -0
  55. package/dist/index.d.ts +5 -0
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +47 -40
  58. package/package.json +1 -1
  59. package/src/styles/globals.css +181 -0
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- type Platform = 'x' | 'threads' | 'instagram' | 'facebook' | 'bluesky' | 'linkedin' | 'tiktok' | 'youtube' | 'google' | 'beehiiv' | 'reddit' | 'gmail' | 'outlook' | 'microsoft' | 'email' | 'phone';
2
+ type Platform = 'x' | 'threads' | 'instagram' | 'facebook' | 'bluesky' | 'linkedin' | 'tiktok' | 'youtube' | 'google' | 'beehiiv' | 'reddit' | 'gmail' | 'outlook' | 'microsoft' | 'email' | 'phone' | 'meta' | 'wordpress' | 'zapier' | 'apple' | 'bing' | 'chatgpt';
3
3
  declare const PLATFORMS: readonly Platform[];
4
4
  declare const PLATFORM_COLOR: Record<Platform, string>;
5
5
  declare const PLATFORM_LABEL: Record<Platform, string>;
@@ -25,6 +25,12 @@ declare const BrandOutlook: BrandIcon;
25
25
  declare const BrandMicrosoft: BrandIcon;
26
26
  declare const BrandEmail: BrandIcon;
27
27
  declare const BrandPhone: BrandIcon;
28
+ declare const BrandMeta: BrandIcon;
29
+ declare const BrandWordpress: BrandIcon;
30
+ declare const BrandZapier: BrandIcon;
31
+ declare const BrandApple: BrandIcon;
32
+ declare const BrandBing: BrandIcon;
33
+ declare const BrandChatgpt: BrandIcon;
28
34
  declare const PLATFORM_ICON: Record<Platform, BrandIcon>;
29
35
  type PlatformIconProps = Omit<BrandIconProps, 'size'> & {
30
36
  platform: Platform;
@@ -34,5 +40,5 @@ type PlatformIconProps = Omit<BrandIconProps, 'size'> & {
34
40
  title?: string;
35
41
  };
36
42
  declare function PlatformIcon({ platform, size, className, style, ...props }: PlatformIconProps): React.JSX.Element;
37
- export { PlatformIcon, PLATFORMS, PLATFORM_COLOR, PLATFORM_ICON, PLATFORM_LABEL, BrandX, BrandThreads, BrandInstagram, BrandFacebook, BrandBluesky, BrandLinkedin, BrandTiktok, BrandYoutube, BrandGoogle, BrandBeehiiv, BrandReddit, BrandGmail, BrandOutlook, BrandMicrosoft, BrandEmail, BrandPhone, type BrandIcon, type BrandIconProps, type Platform, type PlatformIconProps, };
43
+ export { PlatformIcon, PLATFORMS, PLATFORM_COLOR, PLATFORM_ICON, PLATFORM_LABEL, BrandX, BrandThreads, BrandInstagram, BrandFacebook, BrandBluesky, BrandLinkedin, BrandTiktok, BrandYoutube, BrandGoogle, BrandBeehiiv, BrandReddit, BrandGmail, BrandOutlook, BrandMicrosoft, BrandEmail, BrandPhone, BrandMeta, BrandWordpress, BrandZapier, BrandApple, BrandBing, BrandChatgpt, type BrandIcon, type BrandIconProps, type Platform, type PlatformIconProps, };
38
44
  //# sourceMappingURL=platform-icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"platform-icon.d.ts","sourceRoot":"","sources":["../../../src/components/platform-icon/platform-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAyB9B,KAAK,QAAQ,GACT,GAAG,GACH,SAAS,GACT,WAAW,GACX,UAAU,GACV,SAAS,GACT,UAAU,GACV,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,CAAA;AAEX,QAAA,MAAM,SAAS,EAAE,SAAS,QAAQ,EAiBjC,CAAA;AAID,QAAA,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAiB5C,CAAA;AAED,QAAA,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAiB5C,CAAA;AAMD,KAAK,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,GAAG;IAC5E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,SAAS,GAAG,KAAK,CAAC,yBAAyB,CAC9C,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CACpD,CAAA;AAqCD,QAAA,MAAM,MAAM,WAAkD,CAAA;AAC9D,QAAA,MAAM,YAAY,WAA8D,CAAA;AAChF,QAAA,MAAM,aAAa,WAIlB,CAAA;AACD,QAAA,MAAM,aAAa,WAIlB,CAAA;AACD,QAAA,MAAM,WAAW,WAIhB,CAAA;AACD,QAAA,MAAM,YAAY,WAIjB,CAAA;AACD,QAAA,MAAM,WAAW,WAA2D,CAAA;AAE5E,QAAA,MAAM,YAAY,WAKjB,CAAA;AAmCD,QAAA,MAAM,cAAc,WAgBlB,CAAA;AAGF,QAAA,MAAM,WAAW,WAmBf,CAAA;AAGF,QAAA,MAAM,YAAY,WAYhB,CAAA;AAGF,QAAA,MAAM,UAAU,WAcd,CAAA;AAGF,QAAA,MAAM,YAAY,WA4BhB,CAAA;AAGF,QAAA,MAAM,cAAc,WAOlB,CAAA;AAGF,QAAA,MAAM,UAAU,WAAkD,CAAA;AAClE,QAAA,MAAM,UAAU,WAAmD,CAAA;AAEnE,QAAA,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,SAAS,CAiB9C,CAAA;AAED,KAAK,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,GAAG;IACtD,QAAQ,EAAE,QAAQ,CAAA;IAClB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sFAAsF;IACtF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,IAAS,EACT,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,qBAanB;AAED,OAAO,EACL,YAAY,EACZ,SAAS,EACT,cAAc,EACd,aAAa,EACb,cAAc,EACd,MAAM,EACN,YAAY,EACZ,cAAc,EACd,aAAa,EACb,YAAY,EACZ,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,EACZ,cAAc,EACd,UAAU,EACV,UAAU,EACV,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,iBAAiB,GACvB,CAAA"}
1
+ {"version":3,"file":"platform-icon.d.ts","sourceRoot":"","sources":["../../../src/components/platform-icon/platform-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA+B9B,KAAK,QAAQ,GACT,GAAG,GAC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from "../../lib/utils.js";
2
2
  import * as t from "react";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
- import { IconBrandBluesky as a, IconBrandFacebookFilled as o, IconBrandLinkedinFilled as s, IconBrandReddit as c, IconBrandThreads as l, IconBrandTiktokFilled as u, IconBrandXFilled as d, IconBrandYoutubeFilled as f, IconMail as p, IconPhone as m } from "@tabler/icons-react";
4
+ import { IconBrandApple as a, IconBrandBing as o, IconBrandBluesky as s, IconBrandFacebookFilled as c, IconBrandLinkedinFilled as l, IconBrandMeta as u, IconBrandOpenai as d, IconBrandReddit as f, IconBrandThreads as p, IconBrandTiktokFilled as m, IconBrandWordpress as h, IconBrandXFilled as g, IconBrandYoutubeFilled as _, IconBrandZapier as v, IconMail as y, IconPhone as b } from "@tabler/icons-react";
5
5
  //#region src/components/platform-icon/platform-icon.tsx
6
- var h = [
6
+ var x = [
7
7
  "x",
8
8
  "threads",
9
9
  "instagram",
@@ -19,15 +19,21 @@ var h = [
19
19
  "outlook",
20
20
  "microsoft",
21
21
  "email",
22
- "phone"
23
- ], g = "var(--foreground, #000000)", _ = {
24
- x: g,
25
- threads: g,
22
+ "phone",
23
+ "meta",
24
+ "wordpress",
25
+ "zapier",
26
+ "apple",
27
+ "bing",
28
+ "chatgpt"
29
+ ], S = "var(--foreground, #000000)", C = {
30
+ x: S,
31
+ threads: S,
26
32
  instagram: "#E1306C",
27
33
  facebook: "#1877F2",
28
34
  bluesky: "#1185FE",
29
35
  linkedin: "#0A66C2",
30
- tiktok: g,
36
+ tiktok: S,
31
37
  youtube: "#FF0000",
32
38
  google: "#4285F4",
33
39
  beehiiv: "#FFC300",
@@ -35,9 +41,15 @@ var h = [
35
41
  gmail: "#EA4335",
36
42
  outlook: "#0078D4",
37
43
  microsoft: "#00A4EF",
38
- email: g,
39
- phone: g
40
- }, v = {
44
+ email: S,
45
+ phone: S,
46
+ meta: "#0866FF",
47
+ wordpress: "#21759B",
48
+ zapier: "#FF4F00",
49
+ apple: S,
50
+ bing: "#008373",
51
+ chatgpt: S
52
+ }, w = {
41
53
  x: "X",
42
54
  threads: "Threads",
43
55
  instagram: "Instagram",
@@ -53,20 +65,26 @@ var h = [
53
65
  outlook: "Outlook",
54
66
  microsoft: "Microsoft",
55
67
  email: "Email",
56
- phone: "Phone"
68
+ phone: "Phone",
69
+ meta: "Meta",
70
+ wordpress: "WordPress",
71
+ zapier: "Zapier",
72
+ apple: "Apple",
73
+ bing: "Bing",
74
+ chatgpt: "ChatGPT"
57
75
  };
58
- function y(e) {
76
+ function T(e) {
59
77
  return e ? {
60
78
  role: "img",
61
79
  "aria-label": e
62
80
  } : { "aria-hidden": !0 };
63
81
  }
64
- function b(e, n, i, a) {
82
+ function E(e, n, i, a) {
65
83
  let o = e, s = t.forwardRef(({ style: e, title: t, ...s }, c) => /* @__PURE__ */ r(o, {
66
84
  ref: c,
67
85
  "data-platform-mark": i,
68
86
  ...a ? { fill: a } : {},
69
- ...y(t),
87
+ ...T(t),
70
88
  ...s,
71
89
  style: {
72
90
  ...e,
@@ -75,8 +93,8 @@ function b(e, n, i, a) {
75
93
  }));
76
94
  return s.displayName = `Brand${i}`, s;
77
95
  }
78
- var x = b(d, _.x, "X"), S = b(l, _.threads, "Threads"), C = b(o, _.facebook, "Facebook"), w = b(s, _.linkedin, "Linkedin"), T = b(u, _.tiktok, "Tiktok"), E = b(f, _.youtube, "Youtube"), D = b(c, _.reddit, "Reddit"), O = b(a, _.bluesky, "Bluesky", _.bluesky);
79
- function k(e, n, i) {
96
+ var D = E(g, C.x, "X"), O = E(p, C.threads, "Threads"), k = E(c, C.facebook, "Facebook"), A = E(l, C.linkedin, "Linkedin"), j = E(m, C.tiktok, "Tiktok"), M = E(_, C.youtube, "Youtube"), N = E(f, C.reddit, "Reddit"), P = E(s, C.bluesky, "Bluesky", C.bluesky);
97
+ function F(e, n, i) {
80
98
  let a = t.forwardRef(({ size: a = 24, title: o, className: s, style: c, ...l }, u) => {
81
99
  let d = `${e.toLowerCase()}${t.useId().replace(/:/g, "")}`;
82
100
  return /* @__PURE__ */ r("svg", {
@@ -88,14 +106,14 @@ function k(e, n, i) {
88
106
  "data-platform-mark": e,
89
107
  className: s,
90
108
  style: c,
91
- ...y(o),
109
+ ...T(o),
92
110
  ...l,
93
111
  children: i(d)
94
112
  });
95
113
  });
96
114
  return a.displayName = `Brand${e}`, a;
97
115
  }
98
- var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ i("radialGradient", {
116
+ var I = F("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ i("radialGradient", {
99
117
  id: e,
100
118
  cx: "0.3",
101
119
  cy: "1.07",
@@ -125,7 +143,7 @@ var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/*
125
143
  }) }), /* @__PURE__ */ r("path", {
126
144
  fill: `url(#${e})`,
127
145
  d: "M16 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-8a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-4 5a4 4 0 0 0 -3.995 3.8l-.005 .2a4 4 0 1 0 4 -4m4.5 -1.5a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1"
128
- })] })), j = k("Google", "-2 -2 52 52", () => /* @__PURE__ */ i(n, { children: [
146
+ })] })), L = F("Google", "-2 -2 52 52", () => /* @__PURE__ */ i(n, { children: [
129
147
  /* @__PURE__ */ r("path", {
130
148
  fill: "#EA4335",
131
149
  d: "M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"
@@ -142,17 +160,17 @@ var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/*
142
160
  fill: "#34A853",
143
161
  d: "M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"
144
162
  })
145
- ] })), M = k("Beehiiv", "0 0 24 24", () => /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("rect", {
163
+ ] })), R = F("Beehiiv", "0 0 24 24", () => /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("rect", {
146
164
  x: "2",
147
165
  y: "2",
148
166
  width: "20",
149
167
  height: "20",
150
168
  rx: "5",
151
- fill: _.beehiiv
169
+ fill: C.beehiiv
152
170
  }), /* @__PURE__ */ r("path", {
153
171
  fill: "#111111",
154
172
  d: "M12 6.5l4.76 2.75v5.5L12 17.5l-4.76-2.75v-5.5z"
155
- })] })), N = k("Gmail", "-2 -7 56 56", () => /* @__PURE__ */ i(n, { children: [
173
+ })] })), z = F("Gmail", "-2 -7 56 56", () => /* @__PURE__ */ i(n, { children: [
156
174
  /* @__PURE__ */ r("path", {
157
175
  fill: "#4285F4",
158
176
  d: "M3.5 42h8V22.6L0 13.9v24.6C0 40.4 1.6 42 3.5 42z"
@@ -173,7 +191,7 @@ var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/*
173
191
  fill: "#C5221F",
174
192
  d: "M0 9.3v4.6l11.5 8.6V7.6L8.3 5.2C4.9 2.6 0 5.1 0 9.3z"
175
193
  })
176
- ] })), P = k("Outlook", "0 0 24 24", () => /* @__PURE__ */ i(n, { children: [
194
+ ] })), B = F("Outlook", "0 0 24 24", () => /* @__PURE__ */ i(n, { children: [
177
195
  /* @__PURE__ */ r("rect", {
178
196
  x: "8",
179
197
  y: "5",
@@ -195,7 +213,7 @@ var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/*
195
213
  width: "12",
196
214
  height: "18",
197
215
  rx: "2",
198
- fill: _.outlook
216
+ fill: C.outlook
199
217
  }),
200
218
  /* @__PURE__ */ r("ellipse", {
201
219
  cx: "8",
@@ -206,7 +224,7 @@ var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/*
206
224
  stroke: "#FFFFFF",
207
225
  strokeWidth: "1.8"
208
226
  })
209
- ] })), F = k("Microsoft", "0 0 24 24", () => /* @__PURE__ */ i(n, { children: [
227
+ ] })), V = F("Microsoft", "0 0 24 24", () => /* @__PURE__ */ i(n, { children: [
210
228
  /* @__PURE__ */ r("rect", {
211
229
  x: "2.5",
212
230
  y: "2.5",
@@ -235,26 +253,32 @@ var A = k("Instagram", "0 0 24 24", (e) => /* @__PURE__ */ i(n, { children: [/*
235
253
  height: "9",
236
254
  fill: "#FFB900"
237
255
  })
238
- ] })), I = b(p, _.email, "Email"), L = b(m, _.phone, "Phone"), R = {
239
- x,
240
- threads: S,
241
- instagram: A,
242
- facebook: C,
243
- bluesky: O,
244
- linkedin: w,
245
- tiktok: T,
246
- youtube: E,
247
- google: j,
248
- beehiiv: M,
249
- reddit: D,
250
- gmail: N,
251
- outlook: P,
252
- microsoft: F,
253
- email: I,
254
- phone: L
256
+ ] })), H = E(y, C.email, "Email"), U = E(b, C.phone, "Phone"), W = E(u, C.meta, "Meta"), G = E(h, C.wordpress, "Wordpress"), K = E(v, C.zapier, "Zapier"), q = E(a, C.apple, "Apple"), J = E(o, C.bing, "Bing"), Y = E(d, C.chatgpt, "Chatgpt"), X = {
257
+ x: D,
258
+ threads: O,
259
+ instagram: I,
260
+ facebook: k,
261
+ bluesky: P,
262
+ linkedin: A,
263
+ tiktok: j,
264
+ youtube: M,
265
+ google: L,
266
+ beehiiv: R,
267
+ reddit: N,
268
+ gmail: z,
269
+ outlook: B,
270
+ microsoft: V,
271
+ email: H,
272
+ phone: U,
273
+ meta: W,
274
+ wordpress: G,
275
+ zapier: K,
276
+ apple: q,
277
+ bing: J,
278
+ chatgpt: Y
255
279
  };
256
- function z({ platform: t, size: n = 16, className: i, style: a, ...o }) {
257
- let s = R[t];
280
+ function Z({ platform: t, size: n = 16, className: i, style: a, ...o }) {
281
+ let s = X[t];
258
282
  return /* @__PURE__ */ r(s, {
259
283
  "data-slot": "platform-icon",
260
284
  "data-platform": t,
@@ -269,4 +293,4 @@ function z({ platform: t, size: n = 16, className: i, style: a, ...o }) {
269
293
  });
270
294
  }
271
295
  //#endregion
272
- export { M as BrandBeehiiv, O as BrandBluesky, I as BrandEmail, C as BrandFacebook, N as BrandGmail, j as BrandGoogle, A as BrandInstagram, w as BrandLinkedin, F as BrandMicrosoft, P as BrandOutlook, L as BrandPhone, D as BrandReddit, S as BrandThreads, T as BrandTiktok, x as BrandX, E as BrandYoutube, h as PLATFORMS, _ as PLATFORM_COLOR, R as PLATFORM_ICON, v as PLATFORM_LABEL, z as PlatformIcon };
296
+ export { q as BrandApple, R as BrandBeehiiv, J as BrandBing, P as BrandBluesky, Y as BrandChatgpt, H as BrandEmail, k as BrandFacebook, z as BrandGmail, L as BrandGoogle, I as BrandInstagram, A as BrandLinkedin, W as BrandMeta, V as BrandMicrosoft, B as BrandOutlook, U as BrandPhone, N as BrandReddit, O as BrandThreads, j as BrandTiktok, G as BrandWordpress, D as BrandX, M as BrandYoutube, K as BrandZapier, x as PLATFORMS, C as PLATFORM_COLOR, X as PLATFORM_ICON, w as PLATFORM_LABEL, Z as PlatformIcon };
@@ -0,0 +1,2 @@
1
+ export * from './rating';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ type RatingProps = Omit<React.ComponentProps<'span'>, 'children'> & {
3
+ /** The rating, rounded to whole stars for display. */
4
+ value: number;
5
+ /** How many stars make a full score. */
6
+ max?: number;
7
+ /** Star size in pixels. */
8
+ size?: 12 | 14 | 16;
9
+ /** The accessible name. Defaults to "4 of 5 stars". */
10
+ label?: string;
11
+ };
12
+ /** Read-only stars for a review or an average rating. */
13
+ declare function Rating({ value, max, size, label, className, ...props }: RatingProps): React.JSX.Element;
14
+ export { Rating, type RatingProps };
15
+ //# sourceMappingURL=rating.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../../src/components/rating/rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,KAAK,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IAClE,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAA;IACb,wCAAwC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,2BAA2B;IAC3B,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAQD,yDAAyD;AACzD,iBAAS,MAAM,CAAC,EACd,KAAK,EACL,GAAO,EACP,IAAS,EACT,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,qBAuBb;AAED,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import "react";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ import { IconStarFilled as n } from "@tabler/icons-react";
5
+ //#region src/components/rating/rating.tsx
6
+ var r = {
7
+ 12: "size-3",
8
+ 14: "size-3.5",
9
+ 16: "size-4"
10
+ };
11
+ function i({ value: i, max: a = 5, size: o = 14, label: s, className: c, ...l }) {
12
+ let u = Math.max(0, Math.min(a, Math.round(i)));
13
+ return /* @__PURE__ */ t("span", {
14
+ "data-slot": "rating",
15
+ role: "img",
16
+ "aria-label": s ?? `${u} of ${a} stars`,
17
+ className: e("inline-flex flex-none items-center gap-px", c),
18
+ ...l,
19
+ children: Array.from({ length: a }, (i, a) => /* @__PURE__ */ t(n, {
20
+ "aria-hidden": "true",
21
+ "data-filled": a < u ? "" : void 0,
22
+ className: e(r[o], a < u ? "text-foreground" : "text-border")
23
+ }, a))
24
+ });
25
+ }
26
+ //#endregion
27
+ export { i as Rating };
@@ -0,0 +1,2 @@
1
+ export * from './section-header';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/section-header/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ type SectionHeaderProps = Omit<React.ComponentProps<'div'>, 'title'> & {
3
+ /** The section's name. */
4
+ title: React.ReactNode;
5
+ /** One muted line under the title. */
6
+ description?: React.ReactNode;
7
+ /** Muted text at the right, such as a count or "Google, last 28 days". */
8
+ meta?: React.ReactNode;
9
+ /** A link or button at the right, after `meta`. */
10
+ action?: React.ReactNode;
11
+ /** The heading level. Defaults to `h2`. */
12
+ as?: 'h2' | 'h3' | 'h4';
13
+ };
14
+ /**
15
+ * The header over a page section: a title with an optional line under it, and
16
+ * a count, a note or an action at the right.
17
+ */
18
+ declare function SectionHeader({ title, description, meta, action, as: Heading, className, ...props }: SectionHeaderProps): React.JSX.Element;
19
+ export { SectionHeader, type SectionHeaderProps };
20
+ //# sourceMappingURL=section-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section-header.d.ts","sourceRoot":"","sources":["../../../src/components/section-header/section-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,KAAK,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,GAAG;IACrE,0BAA0B;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,sCAAsC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,0EAA0E;IAC1E,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,mDAAmD;IACnD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,2CAA2C;IAC3C,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACxB,CAAA;AAED;;;GAGG;AACH,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,MAAM,EACN,EAAE,EAAE,OAAc,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,qBA0CpB;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,32 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import "react";
3
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
+ //#region src/components/section-header/section-header.tsx
5
+ function r({ title: r, description: i, meta: a, action: o, as: s = "h2", className: c, ...l }) {
6
+ return /* @__PURE__ */ n("div", {
7
+ "data-slot": "section-header",
8
+ className: e("flex flex-wrap items-start justify-between gap-x-4 gap-y-2", c),
9
+ ...l,
10
+ children: [/* @__PURE__ */ n("div", {
11
+ className: "min-w-[min(100%,12rem)] flex-1",
12
+ children: [/* @__PURE__ */ t(s, {
13
+ "data-slot": "section-header-title",
14
+ className: "type-section-title",
15
+ children: r
16
+ }), i ? /* @__PURE__ */ t("p", {
17
+ "data-slot": "section-header-description",
18
+ className: "type-body mt-0.5 text-muted-foreground",
19
+ children: i
20
+ }) : null]
21
+ }), a != null || o != null ? /* @__PURE__ */ n("div", {
22
+ className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1 pt-1",
23
+ children: [a == null ? null : /* @__PURE__ */ t("span", {
24
+ "data-slot": "section-header-meta",
25
+ className: "type-meta text-muted-foreground tabular-nums",
26
+ children: a
27
+ }), o]
28
+ }) : null]
29
+ });
30
+ }
31
+ //#endregion
32
+ export { r as SectionHeader };
@@ -0,0 +1,2 @@
1
+ export * from './sparkline';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sparkline/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ type SparklineProps = Omit<React.ComponentProps<'svg'>, 'values'> & {
3
+ /** The points, oldest first. Null leaves a point out. */
4
+ values: readonly (number | null)[];
5
+ /** Any CSS color. Defaults to the text color, so a `text-*` class sets it. */
6
+ color?: string;
7
+ /** Rendered width and height in pixels. */
8
+ width?: number;
9
+ height?: number;
10
+ /** Names the chart for assistive tech. Leave it out when nearby text says the value. */
11
+ label?: string;
12
+ };
13
+ /**
14
+ * A small line with no axes, under a tint, ending on a dot: the trend beside a
15
+ * number in a metric card. Decorative unless given a `label`.
16
+ */
17
+ declare function Sparkline({ values, color, width, height, label, className, style, ...props }: SparklineProps): React.JSX.Element;
18
+ export { Sparkline, type SparklineProps };
19
+ //# sourceMappingURL=sparkline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sparkline.d.ts","sourceRoot":"","sources":["../../../src/components/sparkline/sparkline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,KAAK,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,GAAG;IAClE,yDAAyD;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAA;IAClC,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED;;;GAGG;AACH,iBAAS,SAAS,CAAC,EACjB,MAAM,EACN,KAAK,EACL,KAAU,EACV,MAAW,EACX,KAAK,EACL,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,cAAc,qBAkEhB;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAA"}
@@ -0,0 +1,69 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import * as t from "react";
3
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
+ //#region src/components/sparkline/sparkline.tsx
5
+ function a({ values: a, color: o, width: s = 64, height: c = 24, label: l, className: u, style: d, ...f }) {
6
+ let p = `sparkline${t.useId().replace(/:/g, "")}`, m = a.flatMap((e, t) => e === null || !Number.isFinite(e) ? [] : [{
7
+ index: t,
8
+ value: e
9
+ }]), h = Math.min(...m.map((e) => e.value)), g = Math.max(...m.map((e) => e.value)) - h || 1, _ = a.length > 1 ? (s - 4) / (a.length - 1) : 0, v = m.map(({ index: e, value: t }) => ({
10
+ x: 2 + e * _,
11
+ y: 2 + (1 - (t - h) / g) * (c - 4)
12
+ })), y = v.map(({ x: e, y: t }) => `${e.toFixed(2)},${t.toFixed(2)}`).join(" "), b = v[v.length - 1], x = v[0];
13
+ return /* @__PURE__ */ i("svg", {
14
+ "data-slot": "sparkline",
15
+ viewBox: `0 0 ${s} ${c}`,
16
+ width: s,
17
+ height: c,
18
+ className: e("flex-none overflow-visible", u),
19
+ style: o ? {
20
+ color: o,
21
+ ...d
22
+ } : d,
23
+ ...l ? {
24
+ role: "img",
25
+ "aria-label": l
26
+ } : { "aria-hidden": !0 },
27
+ ...f,
28
+ children: [v.length > 1 && x && b ? /* @__PURE__ */ i(n, { children: [
29
+ /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ i("linearGradient", {
30
+ id: p,
31
+ x1: "0",
32
+ y1: "0",
33
+ x2: "0",
34
+ y2: "1",
35
+ children: [/* @__PURE__ */ r("stop", {
36
+ offset: "0",
37
+ stopColor: "currentColor",
38
+ stopOpacity: "0.18"
39
+ }), /* @__PURE__ */ r("stop", {
40
+ offset: "1",
41
+ stopColor: "currentColor",
42
+ stopOpacity: "0"
43
+ })]
44
+ }) }),
45
+ /* @__PURE__ */ r("polygon", {
46
+ "data-slot": "sparkline-area",
47
+ fill: `url(#${p})`,
48
+ points: `${x.x},${c} ${y} ${b.x},${c}`
49
+ }),
50
+ /* @__PURE__ */ r("polyline", {
51
+ "data-slot": "sparkline-line",
52
+ fill: "none",
53
+ stroke: "currentColor",
54
+ strokeWidth: "1.5",
55
+ strokeLinejoin: "round",
56
+ strokeLinecap: "round",
57
+ points: y
58
+ })
59
+ ] }) : null, b ? /* @__PURE__ */ r("circle", {
60
+ "data-slot": "sparkline-end",
61
+ cx: b.x,
62
+ cy: b.y,
63
+ r: "2",
64
+ fill: "currentColor"
65
+ }) : null]
66
+ });
67
+ }
68
+ //#endregion
69
+ export { a as Sparkline };
@@ -26,6 +26,12 @@ export interface StackedBarChartDatum {
26
26
  tooltipLabel?: React.ReactNode;
27
27
  /** Draws the day's bars faded, for a count still coming in. */
28
28
  partial?: boolean;
29
+ /**
30
+ * Where the day is on pace to land, for a day still in progress. Draws a
31
+ * dashed outline from zero to this total around the bars so far, and adds
32
+ * "On pace for …" to the tooltip. It counts toward the y-axis.
33
+ */
34
+ projected?: number | null;
29
35
  /** One number per series key. Null, or a missing key, means no count that day. */
30
36
  values: Readonly<Partial<Record<string, number | null>>>;
31
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stacked-bar-chart.d.ts","sourceRoot":"","sources":["../../../src/components/stacked-bar-chart/stacked-bar-chart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAoB9B,MAAM,WAAW,qBAAqB;IACpC,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAA;IACX,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAA;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AS,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,uCAAuC;IACvC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAChC,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACvC,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC/C;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC5B,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AA4CD;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EAAE,UAAU,EAClB,aAAa,EACb,cAAc,EACd,YAAY,EAAE,UAAU,EACxB,mBAAwB,EACxB,oBAAoB,EACpB,OAAmB,EACnB,MAAM,EACN,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,qBAqRtB;AAED,OAAO,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"stacked-bar-chart.d.ts","sourceRoot":"","sources":["../../../src/components/stacked-bar-chart/stacked-bar-chart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAoB9B,MAAM,WAAW,qBAAqB;IACpC,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAA;IACX,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAA;IACb,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,I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