@crisp-ui-kit/crisp 0.1.0 → 0.5.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 (249) hide show
  1. package/README.md +6 -0
  2. package/dist/base.css +25 -0
  3. package/dist/bulkbar.css +13 -0
  4. package/dist/bulkbar.d.ts +7 -0
  5. package/dist/button.css +1 -1
  6. package/dist/command.css +1 -1
  7. package/dist/contextmenu.css +1 -1
  8. package/dist/datatable.css +60 -0
  9. package/dist/datatable.d.ts +7 -0
  10. package/dist/datepicker.css +1 -1
  11. package/dist/dialog.css +1 -1
  12. package/dist/esm/components/accordion/accordion.js +32 -0
  13. package/dist/esm/components/accordion/accordion.recipe.js +23 -0
  14. package/dist/esm/components/accordion/index.js +2 -0
  15. package/dist/esm/components/avatar/avatar.js +8 -0
  16. package/dist/esm/components/avatar/avatar.recipe.js +39 -0
  17. package/dist/esm/components/avatar/index.js +2 -0
  18. package/dist/esm/components/avatargroup/avatargroup.js +16 -0
  19. package/dist/esm/components/avatargroup/avatargroup.recipe.js +15 -0
  20. package/dist/esm/components/avatargroup/index.js +2 -0
  21. package/dist/esm/components/badge/badge.js +8 -0
  22. package/dist/esm/components/badge/badge.recipe.js +65 -0
  23. package/dist/esm/components/badge/index.js +2 -0
  24. package/dist/esm/components/barchart/barchart.js +29 -0
  25. package/dist/esm/components/barchart/barchart.recipe.js +26 -0
  26. package/dist/esm/components/barchart/index.js +2 -0
  27. package/dist/esm/components/breadcrumb/breadcrumb.js +17 -0
  28. package/dist/esm/components/breadcrumb/breadcrumb.recipe.js +18 -0
  29. package/dist/esm/components/breadcrumb/index.js +2 -0
  30. package/dist/esm/components/bulkbar/bulkbar.js +16 -0
  31. package/dist/esm/components/bulkbar/bulkbar.recipe.js +28 -0
  32. package/dist/esm/components/bulkbar/index.js +2 -0
  33. package/dist/esm/components/button/button.js +15 -0
  34. package/dist/esm/components/button/button.recipe.js +39 -0
  35. package/dist/esm/components/button/index.js +2 -0
  36. package/dist/esm/components/callout/callout.js +22 -0
  37. package/dist/esm/components/callout/callout.recipe.js +26 -0
  38. package/dist/esm/components/callout/index.js +2 -0
  39. package/dist/esm/components/card/card.js +15 -0
  40. package/dist/esm/components/card/card.recipe.js +28 -0
  41. package/dist/esm/components/card/index.js +2 -0
  42. package/dist/esm/components/checkbox/checkbox.js +20 -0
  43. package/dist/esm/components/checkbox/checkbox.recipe.js +23 -0
  44. package/dist/esm/components/checkbox/index.js +2 -0
  45. package/dist/esm/components/contextmenu/contextmenu.js +42 -0
  46. package/dist/esm/components/contextmenu/contextmenu.recipe.js +21 -0
  47. package/dist/esm/components/contextmenu/index.js +2 -0
  48. package/dist/esm/components/datatable/datatable.js +245 -0
  49. package/dist/esm/components/datatable/datatable.recipe.js +72 -0
  50. package/dist/esm/components/datatable/index.js +2 -0
  51. package/dist/esm/components/datepicker/datepicker.js +57 -0
  52. package/dist/esm/components/datepicker/datepicker.recipe.js +32 -0
  53. package/dist/esm/components/datepicker/index.js +2 -0
  54. package/dist/esm/components/dialog/dialog.js +48 -0
  55. package/dist/esm/components/dialog/dialog.recipe.js +32 -0
  56. package/dist/esm/components/dialog/index.js +2 -0
  57. package/dist/esm/components/divider/divider.js +7 -0
  58. package/dist/esm/components/divider/divider.recipe.js +14 -0
  59. package/dist/esm/components/divider/index.js +2 -0
  60. package/dist/esm/components/donutchart/donutchart.js +38 -0
  61. package/dist/esm/components/donutchart/donutchart.recipe.js +27 -0
  62. package/dist/esm/components/donutchart/index.js +2 -0
  63. package/dist/esm/components/drawer/drawer.js +42 -0
  64. package/dist/esm/components/drawer/drawer.recipe.js +27 -0
  65. package/dist/esm/components/drawer/index.js +2 -0
  66. package/dist/esm/components/emptystate/emptystate.js +7 -0
  67. package/dist/esm/components/emptystate/emptystate.recipe.js +31 -0
  68. package/dist/esm/components/emptystate/index.js +2 -0
  69. package/dist/esm/components/formfield/formfield.js +14 -0
  70. package/dist/esm/components/formfield/formfield.recipe.js +19 -0
  71. package/dist/esm/components/formfield/index.js +2 -0
  72. package/dist/esm/components/input/index.js +2 -0
  73. package/dist/esm/components/input/input.js +8 -0
  74. package/dist/esm/components/input/input.recipe.js +23 -0
  75. package/dist/esm/components/kbd/index.js +2 -0
  76. package/dist/esm/components/kbd/kbd.js +8 -0
  77. package/dist/esm/components/kbd/kbd.recipe.js +20 -0
  78. package/dist/esm/components/linechart/index.js +2 -0
  79. package/dist/esm/components/linechart/linechart.js +41 -0
  80. package/dist/esm/components/linechart/linechart.recipe.js +27 -0
  81. package/dist/esm/components/menu/index.js +2 -0
  82. package/dist/esm/components/menu/menu.js +137 -0
  83. package/dist/esm/components/menu/menu.recipe.js +51 -0
  84. package/dist/esm/components/multiselect/index.js +2 -0
  85. package/dist/esm/components/multiselect/multiselect.js +118 -0
  86. package/dist/esm/components/multiselect/multiselect.recipe.js +68 -0
  87. package/dist/esm/components/popover/index.js +2 -0
  88. package/dist/esm/components/popover/popover.js +70 -0
  89. package/dist/esm/components/popover/popover.recipe.js +18 -0
  90. package/dist/esm/components/progress/index.js +2 -0
  91. package/dist/esm/components/progress/progress.js +23 -0
  92. package/dist/esm/components/progress/progress.recipe.js +17 -0
  93. package/dist/esm/components/radiogroup/index.js +2 -0
  94. package/dist/esm/components/radiogroup/radiogroup.js +46 -0
  95. package/dist/esm/components/radiogroup/radiogroup.recipe.js +37 -0
  96. package/dist/esm/components/segmented/index.js +2 -0
  97. package/dist/esm/components/segmented/segmented.js +59 -0
  98. package/dist/esm/components/segmented/segmented.recipe.js +20 -0
  99. package/dist/esm/components/select/index.js +2 -0
  100. package/dist/esm/components/select/select.js +144 -0
  101. package/dist/esm/components/select/select.recipe.js +76 -0
  102. package/dist/esm/components/skeleton/index.js +2 -0
  103. package/dist/esm/components/skeleton/skeleton.js +7 -0
  104. package/dist/esm/components/skeleton/skeleton.recipe.js +14 -0
  105. package/dist/esm/components/spinner/index.js +2 -0
  106. package/dist/esm/components/spinner/spinner.js +11 -0
  107. package/dist/esm/components/spinner/spinner.recipe.js +13 -0
  108. package/dist/esm/components/stagebar/index.js +2 -0
  109. package/dist/esm/components/stagebar/stagebar.js +23 -0
  110. package/dist/esm/components/stagebar/stagebar.recipe.js +14 -0
  111. package/dist/esm/components/statcard/index.js +2 -0
  112. package/dist/esm/components/statcard/statcard.js +12 -0
  113. package/dist/esm/components/statcard/statcard.recipe.js +34 -0
  114. package/dist/esm/components/switch/index.js +2 -0
  115. package/dist/esm/components/switch/switch.js +22 -0
  116. package/dist/esm/components/switch/switch.recipe.js +26 -0
  117. package/dist/esm/components/table/index.js +2 -0
  118. package/dist/esm/components/table/table.js +30 -0
  119. package/dist/esm/components/table/table.recipe.js +40 -0
  120. package/dist/esm/components/tabletoolbar/index.js +2 -0
  121. package/dist/esm/components/tabletoolbar/tabletoolbar.chrome.js +79 -0
  122. package/dist/esm/components/tabletoolbar/tabletoolbar.js +191 -0
  123. package/dist/esm/components/tabletoolbar/tabletoolbar.recipe.js +23 -0
  124. package/dist/esm/components/tabs/index.js +2 -0
  125. package/dist/esm/components/tabs/tabs.js +70 -0
  126. package/dist/esm/components/tabs/tabs.recipe.js +33 -0
  127. package/dist/esm/components/textarea/index.js +2 -0
  128. package/dist/esm/components/textarea/textarea.js +20 -0
  129. package/dist/esm/components/textarea/textarea.recipe.js +31 -0
  130. package/dist/esm/components/toast/index.js +2 -0
  131. package/dist/esm/components/toast/toast.js +58 -0
  132. package/dist/esm/components/toast/toast.recipe.js +28 -0
  133. package/dist/esm/components/tooltip/index.js +2 -0
  134. package/dist/esm/components/tooltip/tooltip.js +45 -0
  135. package/dist/esm/components/tooltip/tooltip.recipe.js +13 -0
  136. package/dist/esm/core/cx.js +1 -0
  137. package/dist/esm/core/define.js +3 -0
  138. package/dist/esm/core/index.js +4 -0
  139. package/dist/esm/core/primitive.js +13 -0
  140. package/dist/esm/core/resolve.js +41 -0
  141. package/dist/esm/core/types.js +1 -0
  142. package/dist/esm/index.js +71 -0
  143. package/dist/esm/product/appshell/appshell.js +44 -0
  144. package/dist/esm/product/appshell/appshell.recipe.js +27 -0
  145. package/dist/esm/product/appshell/index.js +2 -0
  146. package/dist/esm/product/board/board.js +42 -0
  147. package/dist/esm/product/board/board.recipe.js +28 -0
  148. package/dist/esm/product/board/index.js +2 -0
  149. package/dist/esm/product/command/command.js +188 -0
  150. package/dist/esm/product/command/command.recipe.js +19 -0
  151. package/dist/esm/product/command/index.js +2 -0
  152. package/dist/esm/product/entitycard/entitycard.js +11 -0
  153. package/dist/esm/product/entitycard/entitycard.recipe.js +29 -0
  154. package/dist/esm/product/entitycard/index.js +2 -0
  155. package/dist/esm/product/flowcanvas/flowcanvas.js +85 -0
  156. package/dist/esm/product/flowcanvas/flowcanvas.recipe.js +25 -0
  157. package/dist/esm/product/flowcanvas/index.js +2 -0
  158. package/dist/esm/product/inbox/inbox.js +13 -0
  159. package/dist/esm/product/inbox/inbox.recipe.js +43 -0
  160. package/dist/esm/product/inbox/index.js +2 -0
  161. package/dist/esm/product/listpage/index.js +2 -0
  162. package/dist/esm/product/listpage/listpage.js +21 -0
  163. package/dist/esm/product/listpage/listpage.recipe.js +43 -0
  164. package/dist/esm/product/navitem/index.js +1 -0
  165. package/dist/esm/product/navitem/navitem.js +8 -0
  166. package/dist/esm/product/navitem/navitem.recipe.js +21 -0
  167. package/dist/esm/product/onboarding/index.js +2 -0
  168. package/dist/esm/product/onboarding/onboarding.js +14 -0
  169. package/dist/esm/product/onboarding/onboarding.recipe.js +41 -0
  170. package/dist/esm/product/recordpage/index.js +2 -0
  171. package/dist/esm/product/recordpage/recordpage.js +286 -0
  172. package/dist/esm/product/recordpage/recordpage.recipe.js +157 -0
  173. package/dist/esm/product/recordpanel/index.js +2 -0
  174. package/dist/esm/product/recordpanel/recordpanel.js +47 -0
  175. package/dist/esm/product/recordpanel/recordpanel.recipe.js +52 -0
  176. package/dist/esm/product/recordstable/company-logos.js +26 -0
  177. package/dist/esm/product/recordstable/index.js +2 -0
  178. package/dist/esm/product/recordstable/recordstable.js +963 -0
  179. package/dist/esm/product/recordstable/recordstable.recipe.js +149 -0
  180. package/dist/esm/product/richtext/index.js +2 -0
  181. package/dist/esm/product/richtext/richtext.js +111 -0
  182. package/dist/esm/product/richtext/richtext.recipe.js +40 -0
  183. package/dist/esm/product/settingssection/index.js +2 -0
  184. package/dist/esm/product/settingssection/settingssection.js +11 -0
  185. package/dist/esm/product/settingssection/settingssection.recipe.js +20 -0
  186. package/dist/esm/product/settingsshell/index.js +2 -0
  187. package/dist/esm/product/settingsshell/settingsshell.js +23 -0
  188. package/dist/esm/product/settingsshell/settingsshell.recipe.js +38 -0
  189. package/dist/esm/product/sidebar/index.js +2 -0
  190. package/dist/esm/product/sidebar/sidebar.js +112 -0
  191. package/dist/esm/product/sidebar/sidebar.recipe.js +18 -0
  192. package/dist/esm/product/tasklist/index.js +2 -0
  193. package/dist/esm/product/tasklist/tasklist.js +16 -0
  194. package/dist/esm/product/tasklist/tasklist.recipe.js +35 -0
  195. package/dist/esm/product/trialbanner/index.js +2 -0
  196. package/dist/esm/product/trialbanner/trialbanner.js +10 -0
  197. package/dist/esm/product/trialbanner/trialbanner.recipe.js +29 -0
  198. package/dist/esm/product/viewtoggle/index.js +2 -0
  199. package/dist/esm/product/viewtoggle/viewtoggle.js +11 -0
  200. package/dist/esm/product/viewtoggle/viewtoggle.recipe.js +24 -0
  201. package/dist/esm/tokens/contract.js +18 -0
  202. package/dist/esm/tokens/index.js +4 -0
  203. package/dist/esm/tokens/palette.js +30 -0
  204. package/dist/esm/tokens/scale.js +60 -0
  205. package/dist/esm/tokens/semantic.js +30 -0
  206. package/dist/menu.css +2 -2
  207. package/dist/multiselect.css +3 -3
  208. package/dist/popover.css +1 -1
  209. package/dist/recordpage.css +5 -5
  210. package/dist/recordstable.css +5 -14
  211. package/dist/select.css +10 -4
  212. package/dist/select.d.ts +2 -1
  213. package/dist/sidebar.css +1 -1
  214. package/dist/statcard.css +6 -0
  215. package/dist/statcard.d.ts +2 -2
  216. package/dist/styles.css +237 -37
  217. package/dist/table.css +26 -0
  218. package/dist/table.d.ts +8 -0
  219. package/dist/tabletoolbar.css +70 -0
  220. package/dist/tabletoolbar.d.ts +7 -0
  221. package/dist/tokens.css +24 -0
  222. package/dist/types/components/bulkbar/bulkbar.d.ts +32 -0
  223. package/dist/types/components/bulkbar/bulkbar.recipe.d.ts +3 -0
  224. package/dist/types/components/bulkbar/index.d.ts +2 -0
  225. package/dist/types/components/datatable/datatable.d.ts +98 -0
  226. package/dist/types/components/datatable/datatable.recipe.d.ts +3 -0
  227. package/dist/types/components/datatable/index.d.ts +2 -0
  228. package/dist/types/components/select/select.d.ts +3 -1
  229. package/dist/types/components/select/select.recipe.d.ts +12 -0
  230. package/dist/types/components/statcard/statcard.d.ts +6 -1
  231. package/dist/types/components/statcard/statcard.recipe.d.ts +12 -2
  232. package/dist/types/components/table/index.d.ts +2 -0
  233. package/dist/types/components/table/table.d.ts +53 -0
  234. package/dist/types/components/table/table.recipe.d.ts +21 -0
  235. package/dist/types/components/tabletoolbar/index.d.ts +2 -0
  236. package/dist/types/components/tabletoolbar/tabletoolbar.chrome.d.ts +2 -0
  237. package/dist/types/components/tabletoolbar/tabletoolbar.d.ts +63 -0
  238. package/dist/types/components/tabletoolbar/tabletoolbar.recipe.d.ts +3 -0
  239. package/dist/types/index.d.ts +4 -0
  240. package/dist/types/product/recordstable/company-logos.d.ts +1 -0
  241. package/dist/types/product/recordstable/recordstable.d.ts +44 -1
  242. package/dist/types/product/sidebar/index.d.ts +1 -1
  243. package/dist/types/product/sidebar/sidebar.d.ts +85 -0
  244. package/dist/types/tokens/contract.d.ts +12 -0
  245. package/dist/types/tokens/palette.d.ts +48 -0
  246. package/dist/types/tokens/semantic.d.ts +12 -0
  247. package/dist/viewtoggle.css +2 -2
  248. package/package.json +259 -9
  249. package/dist/index.js +0 -9653
@@ -0,0 +1,85 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Minus, Plus } from "lucide-react";
3
+ import * as React from "react";
4
+ import { flowcanvasRecipe } from "./flowcanvas.recipe.js";
5
+ const GRID = 20;
6
+ const clampZoom = (z) => Math.min(1.5, Math.max(0.5, z));
7
+ /**
8
+ * A pannable, zoomable node canvas with draggable nodes and connecting edges —
9
+ * measured from Attio's Workflows editor. Drag a node to move it (fires
10
+ * `onNodesChange`); drag the background to pan; use the toolbar to zoom.
11
+ */
12
+ export function FlowCanvas({ nodes, edges, onNodesChange, renderNode, nodeWidth = 240, nodeHeight = 64, "aria-label": ariaLabel, className, }) {
13
+ const [pan, setPan] = React.useState({ x: 40, y: 40 });
14
+ const [zoom, setZoom] = React.useState(1);
15
+ const [panning, setPanning] = React.useState(false);
16
+ const drag = React.useRef(null);
17
+ const byId = React.useMemo(() => new Map(nodes.map((n) => [n.id, n])), [nodes]);
18
+ const onNodePointerDown = (e, node) => {
19
+ e.stopPropagation();
20
+ e.target.setPointerCapture?.(e.pointerId);
21
+ drag.current = {
22
+ id: node.id,
23
+ startX: e.clientX,
24
+ startY: e.clientY,
25
+ nodeX: node.x,
26
+ nodeY: node.y,
27
+ };
28
+ };
29
+ const onBackgroundPointerDown = (e) => {
30
+ e.currentTarget.setPointerCapture?.(e.pointerId);
31
+ setPanning(true);
32
+ drag.current = {
33
+ pan: true,
34
+ startX: e.clientX,
35
+ startY: e.clientY,
36
+ panX: pan.x,
37
+ panY: pan.y,
38
+ };
39
+ };
40
+ const onPointerMove = (e) => {
41
+ const d = drag.current;
42
+ if (!d)
43
+ return;
44
+ if ("pan" in d) {
45
+ setPan({
46
+ x: d.panX + (e.clientX - d.startX),
47
+ y: d.panY + (e.clientY - d.startY),
48
+ });
49
+ }
50
+ else {
51
+ const dx = (e.clientX - d.startX) / zoom;
52
+ const dy = (e.clientY - d.startY) / zoom;
53
+ onNodesChange?.(nodes.map((n) => n.id === d.id ? { ...n, x: d.nodeX + dx, y: d.nodeY + dy } : n));
54
+ }
55
+ };
56
+ const onPointerUp = () => {
57
+ drag.current = null;
58
+ setPanning(false);
59
+ };
60
+ return (_jsxs("div", { className: flowcanvasRecipe({ className }), "data-panning": panning ? "" : undefined, style: {
61
+ backgroundSize: `${GRID * zoom}px ${GRID * zoom}px`,
62
+ backgroundPosition: `${pan.x}px ${pan.y}px`,
63
+ }, role: "application", "aria-label": ariaLabel ?? "Flow canvas", onPointerDown: onBackgroundPointerDown, onPointerMove: onPointerMove, onPointerUp: onPointerUp, onPointerCancel: onPointerUp, children: [_jsxs("div", { className: "flowcanvas-viewport", style: {
64
+ transform: `translate(${pan.x}px, ${pan.y}px) scale(${zoom})`,
65
+ }, children: [_jsxs("svg", { className: "flowcanvas-edges", "aria-hidden": "true", children: [_jsx("title", { children: "Edges" }), edges.map((edge) => {
66
+ const a = byId.get(edge.from);
67
+ const b = byId.get(edge.to);
68
+ if (!a || !b)
69
+ return null;
70
+ const sx = a.x + nodeWidth;
71
+ const sy = a.y + nodeHeight / 2;
72
+ const tx = b.x;
73
+ const ty = b.y + nodeHeight / 2;
74
+ const c = Math.max(30, Math.abs(tx - sx) / 2);
75
+ return (_jsxs("g", { children: [_jsx("path", { className: "flowcanvas-edge", d: `M ${sx} ${sy} C ${sx + c} ${sy}, ${tx - c} ${ty}, ${tx} ${ty}` }), _jsx("circle", { className: "flowcanvas-edge-dot", cx: sx, cy: sy, r: 3 }), _jsx("circle", { className: "flowcanvas-edge-dot", cx: tx, cy: ty, r: 3 })] }, `${edge.from}-${edge.to}`));
76
+ })] }), nodes.map((node) => (_jsx("div", { className: "flowcanvas-node", "data-dragging": drag.current &&
77
+ "id" in drag.current &&
78
+ drag.current.id === node.id
79
+ ? ""
80
+ : undefined, style: { left: node.x, top: node.y, width: nodeWidth }, onPointerDown: (e) => onNodePointerDown(e, node), children: renderNode(node) }, node.id)))] }), _jsxs("div", { className: "flowcanvas-toolbar", children: [_jsx("button", { type: "button", className: "flowcanvas-tool", "aria-label": "Zoom out", onClick: () => setZoom((z) => clampZoom(z - 0.1)), children: _jsx(Minus, { size: 16, strokeWidth: 2 }) }), _jsxs("span", { className: "flowcanvas-tool flowcanvas-tool-zoom", "aria-live": "polite", children: [Math.round(zoom * 100), "%"] }), _jsx("button", { type: "button", className: "flowcanvas-tool", "aria-label": "Zoom in", onClick: () => setZoom((z) => clampZoom(z + 0.1)), children: _jsx(Plus, { size: 16, strokeWidth: 2 }) }), _jsx("span", { className: "flowcanvas-tool-sep" }), _jsx("button", { type: "button", className: "flowcanvas-tool", onClick: () => {
81
+ setZoom(1);
82
+ setPan({ x: 40, y: 40 });
83
+ }, children: "Reset" })] })] }));
84
+ }
85
+ FlowCanvas.displayName = "FlowCanvas";
@@ -0,0 +1,25 @@
1
+ import { defineRecipe, resolveRecipe } from "../../core/index.js";
2
+ import { contract as c } from "../../tokens/index.js";
3
+ // A pannable, zoomable node canvas — measured from Attio's Workflows editor:
4
+ // a dotted-grid background, draggable node cards, and connecting edges with dots.
5
+ const config = defineRecipe({
6
+ name: "flowcanvas",
7
+ base: `position: relative; overflow: hidden; box-sizing: border-box; width: 100%; height: 100%; background-color: ${c.bgSurface}; background-image: radial-gradient(circle, color-mix(in srgb, ${c.fgPrimary} 14%, transparent) 1px, transparent 1px); font-family: ${c.font.sans}; cursor: grab; touch-action: none; user-select: none;
8
+ &[data-panning] { cursor: grabbing; }
9
+ & .flowcanvas-viewport { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
10
+ & .flowcanvas-edges { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
11
+ & .flowcanvas-edge { fill: none; stroke: color-mix(in srgb, ${c.fgPrimary} 28%, transparent); stroke-width: 1.5; }
12
+ & .flowcanvas-edge-dot { fill: ${c.bgBrandSolid}; }
13
+ & .flowcanvas-node { position: absolute; cursor: grab; }
14
+ & .flowcanvas-node[data-dragging] { cursor: grabbing; z-index: 10; }
15
+ & .flowcanvas-toolbar { position: absolute; bottom: ${c.space["4"]}; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: ${c.space["1"]}; padding: ${c.space["1"]}; border-radius: ${c.radius.lg}; background: ${c.bgRaised}; box-shadow: inset 0 0 0 1px ${c.borderDefault}, 0 4px 14px -4px rgba(28,40,64,0.16); }
16
+ & .flowcanvas-tool { display: inline-flex; align-items: center; justify-content: center; gap: ${c.space["1"]}; height: 30px; min-width: 30px; padding: 0 ${c.space["2"]}; margin: 0; border: none; border-radius: ${c.radius.md}; background: none; color: ${c.fgMuted}; font-family: inherit; font-size: ${c.text.md}; font-weight: ${c.weight.medium}; cursor: pointer; }
17
+ & .flowcanvas-tool:hover { background: color-mix(in srgb, ${c.fgPrimary} 6%, transparent); color: ${c.fgPrimary}; }
18
+ & .flowcanvas-tool-zoom { min-width: 48px; }
19
+ & .flowcanvas-tool-sep { width: 1px; height: 18px; background: ${c.borderSubtle}; }`,
20
+ variants: {},
21
+ defaultVariants: {},
22
+ compoundVariants: [],
23
+ });
24
+ export const flowcanvasRecipe = resolveRecipe(config);
25
+ export default config;
@@ -0,0 +1,2 @@
1
+ export { FlowCanvas, } from "./flowcanvas.js";
2
+ export { flowcanvasRecipe } from "./flowcanvas.recipe.js";
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Bell } from "lucide-react";
3
+ import { inboxRecipe } from "./inbox.recipe.js";
4
+ /**
5
+ * A notifications inbox panel — measured from Attio's notification flyout. A
6
+ * title, Notifications/Requests tabs with counts, then notification rows
7
+ * (avatar + message + time + unread dot) or a centred empty state. Put it inside
8
+ * a Popover for the flyout.
9
+ */
10
+ export function Inbox({ notifications = [], title = "Notifications", tabs, activeTab, onTabChange, emptyTitle = "No notifications", emptySubtitle = "Notifications such as mentions and important updates will be displayed here.", emptyAction, className, }) {
11
+ return (_jsxs("div", { className: inboxRecipe({ className }), children: [_jsxs("div", { className: "inbox-head", children: [_jsx("div", { className: "inbox-title", children: title }), tabs && tabs.length > 0 && (_jsx("div", { className: "inbox-tabs", role: "tablist", children: tabs.map((t) => (_jsxs("button", { type: "button", role: "tab", "aria-selected": t.id === activeTab, className: "inbox-tab", "data-active": t.id === activeTab ? "" : undefined, onClick: () => onTabChange?.(t.id), children: [t.label, t.count != null && (_jsxs("span", { className: "inbox-tab-count", children: ["(", t.count, ")"] }))] }, t.id))) }))] }), notifications.length === 0 ? (_jsxs("div", { className: "inbox-empty", children: [_jsx("span", { className: "inbox-empty-icon", children: _jsx(Bell, { size: 40, strokeWidth: 1.25 }) }), _jsx("div", { className: "inbox-empty-title", children: emptyTitle }), emptySubtitle != null && (_jsx("div", { className: "inbox-empty-sub", children: emptySubtitle })), emptyAction != null && (_jsx("div", { className: "inbox-empty-action", children: emptyAction }))] })) : (_jsx("div", { className: "inbox-list", children: notifications.map((n) => (_jsxs("button", { type: "button", className: "inbox-row", onClick: n.onClick, children: [n.avatar != null && (_jsx("span", { className: "inbox-row-avatar", children: n.avatar })), _jsxs("span", { className: "inbox-row-body", children: [_jsx("span", { className: "inbox-row-msg", children: n.message }), n.time != null && (_jsx("span", { className: "inbox-row-time", children: n.time }))] }), n.unread && _jsx("span", { className: "inbox-row-unread" })] }, n.id))) }))] }));
12
+ }
13
+ Inbox.displayName = "Inbox";
@@ -0,0 +1,43 @@
1
+ import { defineRecipe, resolveRecipe } from "../../core/index.js";
2
+ import { contract as c } from "../../tokens/index.js";
3
+ // A notifications inbox panel — measured from Attio's notification flyout: a
4
+ // ~380px rounded panel with a title, "Notifications / Requests" tabs (with
5
+ // counts), then notification rows (avatar + message + time + unread dot) or a
6
+ // centred empty state. Drop it in a Popover for the flyout, or use standalone.
7
+ const config = defineRecipe({
8
+ name: "inbox",
9
+ base: `display: flex; flex-direction: column; box-sizing: border-box; width: 380px; max-height: 588px;
10
+ border-radius: ${c.radius.xl}; background: ${c.bgSurface}; font-family: ${c.font.sans}; overflow: hidden;
11
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, ${c.fgPrimary} 6%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10);
12
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
13
+
14
+ & .inbox-head { padding: ${c.space["3"]} ${c.space["3"]} 0; }
15
+ & .inbox-title { font-size: ${c.text.xl}; line-height: 28px; font-weight: ${c.weight.semibold}; letter-spacing: -0.3px; color: ${c.fgPrimary}; }
16
+ & .inbox-tabs { display: flex; gap: ${c.space["3"]}; margin-top: ${c.space["2"]}; box-shadow: inset 0 -1px 0 ${c.borderSubtle}; }
17
+ & .inbox-tab { display: inline-flex; align-items: center; gap: ${c.space["1.5"]}; height: 32px; padding: 0 2px; margin: 0; border: none; background: none; font-family: inherit; font-size: ${c.text.lg}; font-weight: ${c.weight.medium}; color: ${c.fgMuted}; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; transition: color .12s, box-shadow .12s; }
18
+ & .inbox-tab:hover { color: ${c.fgPrimary}; }
19
+ & .inbox-tab[data-active] { color: ${c.bgBrandSolid}; box-shadow: inset 0 -2px 0 ${c.bgBrandSolid}; }
20
+ & .inbox-tab-count { font-size: ${c.text.sm}; color: ${c.fgMuted}; }
21
+ & .inbox-tab[data-active] .inbox-tab-count { color: ${c.bgBrandSolid}; }
22
+
23
+ & .inbox-list { flex: 1; min-height: 0; overflow-y: auto; padding: ${c.space["1"]}; display: flex; flex-direction: column; gap: 1px; }
24
+ & .inbox-row { display: flex; align-items: flex-start; gap: ${c.space["2.5"]}; padding: ${c.space["2"]} ${c.space["2"]}; margin: 0; border: none; border-radius: ${c.radius.md}; background: none; font-family: inherit; text-align: left; cursor: pointer; transition: background-color .12s; }
25
+ & .inbox-row:hover { background: ${c.bgRaised}; }
26
+ & .inbox-row-avatar { flex-shrink: 0; margin-top: 1px; }
27
+ & .inbox-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
28
+ & .inbox-row-msg { font-size: ${c.text.lg}; line-height: 18px; color: ${c.fgPrimary}; }
29
+ & .inbox-row-msg b { font-weight: ${c.weight.semibold}; }
30
+ & .inbox-row-time { font-size: ${c.text.sm}; color: ${c.fgMuted}; }
31
+ & .inbox-row-unread { flex-shrink: 0; width: 8px; height: 8px; margin-top: ${c.space["1"]}; border-radius: ${c.radius.full}; background: ${c.bgBrandSolid}; }
32
+
33
+ & .inbox-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: ${c.space["1"]}; padding: ${c.space["6"]} ${c.space["4"]}; text-align: center; }
34
+ & .inbox-empty-icon { display: inline-flex; margin-bottom: ${c.space["2"]}; color: color-mix(in srgb, ${c.fgPrimary} 22%, transparent); }
35
+ & .inbox-empty-title { font-size: ${c.text.xl}; font-weight: ${c.weight.semibold}; color: ${c.fgPrimary}; }
36
+ & .inbox-empty-sub { font-size: ${c.text.md}; line-height: 18px; color: ${c.fgMuted}; max-width: 260px; }
37
+ & .inbox-empty-action { margin-top: ${c.space["2"]}; }`,
38
+ variants: {},
39
+ defaultVariants: {},
40
+ compoundVariants: [],
41
+ });
42
+ export const inboxRecipe = resolveRecipe(config);
43
+ export default config;
@@ -0,0 +1,2 @@
1
+ export { Inbox, } from "./inbox.js";
2
+ export { inboxRecipe } from "./inbox.recipe.js";
@@ -0,0 +1,2 @@
1
+ export { ListPage, ListRow, } from "./listpage.js";
2
+ export { listpageRecipe } from "./listpage.recipe.js";
@@ -0,0 +1,21 @@
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { listpageRecipe } from "./listpage.recipe.js";
3
+ /** A single list row wrapper (52px, hover, top border). Compose cells inside.
4
+ * Renders a real `<button>` when `onClick` is given, else a plain row. */
5
+ export function ListRow({ children, onClick, }) {
6
+ if (onClick) {
7
+ return (_jsx("button", { type: "button", className: "listpage-row", onClick: onClick, children: children }));
8
+ }
9
+ return _jsx("div", { className: "listpage-row", children: children });
10
+ }
11
+ /**
12
+ * The entity-list page shell — measured from Attio's Reports/Sequences/Tasks/
13
+ * Notes list views. A view-bar toolbar (leading/trailing slots + record count),
14
+ * an optional dashed Favorites region, then column headers and time-grouped
15
+ * rows. Rows are composed by the caller (wrap each in <ListRow>).
16
+ */
17
+ export function ListPage({ leading, trailing, count, favorites, favoritesLabel = "Favorites", columns, groups, emptyLabel = "Nothing here yet", className, }) {
18
+ const total = groups?.reduce((s, g) => s + g.rows.length, 0) ?? 0;
19
+ return (_jsxs("div", { className: listpageRecipe({ className }), children: [_jsxs("div", { className: "listpage-toolbar", children: [_jsx("div", { className: "listpage-toolbar-lead", children: leading }), count != null && _jsx("div", { className: "listpage-count", children: count }), trailing != null && (_jsx("div", { className: "listpage-toolbar-trail", children: trailing }))] }), _jsxs("div", { className: "listpage-body", children: [favorites != null && (_jsxs(_Fragment, { children: [_jsx("div", { className: "listpage-section-label", children: favoritesLabel }), _jsx("div", { className: "listpage-favorites", "data-dashed": "", children: favorites })] })), columns && columns.length > 0 && (_jsx("div", { className: "listpage-colhead", children: columns.map((col, i) => (_jsxs("span", { className: "listpage-colhead-cell", children: [col.icon, col.label] }, i))) })), total === 0 && !groups?.length ? (_jsx("div", { className: "listpage-empty", children: emptyLabel })) : (groups?.map((g) => (_jsxs("div", { children: [_jsxs("div", { className: "listpage-group", children: [g.label, g.count != null && (_jsx("span", { className: "listpage-group-count", children: g.count }))] }), g.rows] }, g.id))))] })] }));
20
+ }
21
+ ListPage.displayName = "ListPage";
@@ -0,0 +1,43 @@
1
+ import { defineRecipe, resolveRecipe } from "../../core/index.js";
2
+ import { contract as c } from "../../tokens/index.js";
3
+ // The entity-list page shell — measured from Attio's Reports / Sequences / Tasks
4
+ // / Notes list views: a view-bar toolbar (leading Sort/Filter, trailing view
5
+ // toggle / settings / New, and a record count), an optional dashed "Favorites"
6
+ // region, then a list with column headers and time-grouped 52px rows.
7
+ const config = defineRecipe({
8
+ name: "listpage",
9
+ base: `display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; font-family: ${c.font.sans}; color: ${c.fgPrimary};
10
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
11
+
12
+ & .listpage-toolbar { display: flex; align-items: center; gap: ${c.space["2"]}; height: 52px; flex-shrink: 0; padding: 0 ${c.space["3"]}; }
13
+ & .listpage-toolbar-lead { display: flex; align-items: center; gap: ${c.space["2"]}; }
14
+ & .listpage-count { margin-left: auto; font-size: ${c.text.md}; color: ${c.fgMuted}; white-space: nowrap; }
15
+ & .listpage-toolbar-trail { display: flex; align-items: center; gap: ${c.space["2"]}; }
16
+ & .listpage-count + .listpage-toolbar-trail { margin-left: ${c.space["3"]}; }
17
+
18
+ & .listpage-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 ${c.space["3"]} ${c.space["3"]}; }
19
+
20
+ & .listpage-section-label { padding: ${c.space["2"]} ${c.space["1"]}; font-size: ${c.text.sm}; font-weight: ${c.weight.medium}; color: ${c.fgMuted}; }
21
+ & .listpage-favorites { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: ${c.space["6"]}; border-radius: ${c.radius.xl};
22
+ background: repeating-linear-gradient(0deg, transparent, transparent) padding-box,
23
+ border-box; box-shadow: inset 0 0 0 1px color-mix(in srgb, ${c.fgPrimary} 8%, transparent); }
24
+ & .listpage-favorites[data-dashed] { box-shadow: none; border: 1px dashed color-mix(in srgb, ${c.fgPrimary} 14%, transparent); }
25
+
26
+ & .listpage-colhead { display: flex; align-items: center; gap: ${c.space["2.5"]}; height: 40px; padding: 0 ${c.space["2"]}; box-shadow: inset 0 -1px 0 ${c.borderSubtle}; font-size: ${c.text.sm}; color: ${c.fgMuted}; }
27
+ & .listpage-colhead-cell { display: inline-flex; align-items: center; gap: ${c.space["1.5"]}; }
28
+
29
+ & .listpage-group { display: flex; align-items: center; gap: ${c.space["1.5"]}; height: 36px; padding: 0 ${c.space["2"]}; font-size: ${c.text.sm}; font-weight: ${c.weight.medium}; color: ${c.fgMuted}; }
30
+ & .listpage-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 ${c.space["1"]}; border-radius: ${c.radius.sm}; background: color-mix(in srgb, ${c.fgPrimary} 6%, transparent); font-size: ${c.text.xs}; color: ${c.fgMuted}; }
31
+
32
+ & .listpage-row { display: flex; align-items: center; gap: ${c.space["2.5"]}; width: 100%; height: 52px; padding: 0 ${c.space["2"]}; margin: 0; border: none; border-top: 1px solid ${c.borderSubtle}; background: none; font-family: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .12s; }
33
+ & .listpage-row:focus-visible { outline: 2px solid ${c.bgBrandSolid}; outline-offset: -2px; }
34
+ & .listpage-row:hover { background: color-mix(in srgb, ${c.fgPrimary} 3%, transparent); }
35
+ & .listpage-row-title { font-size: ${c.text.lg}; font-weight: ${c.weight.medium}; color: ${c.fgPrimary}; }
36
+
37
+ & .listpage-empty { padding: ${c.space["8"]} ${c.space["4"]}; text-align: center; font-size: ${c.text.md}; color: ${c.fgMuted}; }`,
38
+ variants: {},
39
+ defaultVariants: {},
40
+ compoundVariants: [],
41
+ });
42
+ export const listpageRecipe = resolveRecipe(config);
43
+ export default config;
@@ -0,0 +1 @@
1
+ export { NavItem } from "./navitem.js";
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { Primitive } from "../../core/index.js";
4
+ import { navitemRecipe } from "./navitem.recipe.js";
5
+ export const NavItem = React.forwardRef(({ active, icon, trailing, className, children, ...props }, ref) => {
6
+ return (_jsxs(Primitive.a, { ref: ref, "data-active": active || undefined, className: navitemRecipe({ className }), ...props, children: [icon, _jsx("span", { className: "navitem-label", children: children }), trailing != null && (_jsx("span", { className: "navitem-trailing", children: trailing }))] }));
7
+ });
8
+ NavItem.displayName = "NavItem";
@@ -0,0 +1,21 @@
1
+ import { defineRecipe, resolveRecipe } from "../../core/index.js";
2
+ import { contract as c } from "../../tokens/index.js";
3
+ const config = defineRecipe({
4
+ name: "navitem",
5
+ base: `box-sizing: border-box; display: flex; align-items: center; gap: ${c.space["1.5"]}; height: 28px; padding-inline: ${c.space["2"]}; padding-right: ${c.space["1"]}; border-radius: ${c.radius.lg}; font-family: ${c.font.sans}; font-size: ${c.text.lg}; font-weight: ${c.weight.medium}; letter-spacing: -0.14px; line-height: 1; color: ${c.fgPrimary}; text-decoration: none; cursor: pointer; user-select: none; width: 100%; transition: background-color 0.16s; & .navitem-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } & .navitem-trailing { margin-left: auto; display: inline-flex; align-items: center; flex-shrink: 0; } &:hover { background: color-mix(in srgb, ${c.fgPrimary} 5%, transparent); } &[data-active] { background: color-mix(in srgb, ${c.fgPrimary} 4%, transparent); }`,
6
+ variants: {},
7
+ defaultVariants: {},
8
+ compoundVariants: [],
9
+ });
10
+ export const navitemRecipe = Object.assign(resolveRecipe(config), {
11
+ config,
12
+ meta: {
13
+ row: {
14
+ height: "28px",
15
+ borderRadius: "9px",
16
+ fontSize: "14px",
17
+ fontWeight: "500",
18
+ },
19
+ },
20
+ });
21
+ export default config;
@@ -0,0 +1,2 @@
1
+ export { OnboardingChecklist, } from "./onboarding.js";
2
+ export { onboardingRecipe } from "./onboarding.recipe.js";
@@ -0,0 +1,14 @@
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Check, ChevronDown, MoreHorizontal } from "lucide-react";
3
+ import { onboardingRecipe } from "./onboarding.recipe.js";
4
+ /**
5
+ * An onboarding checklist card — measured from Attio's floating "Getting
6
+ * started" widget. Title + optional menu/minimize, a segmented progress bar,
7
+ * and step rows (completed rows strike through with a brand check).
8
+ */
9
+ export function OnboardingChecklist({ title = "Getting started", steps, encouragement = "Keep it up!", onStepClick, onMenu, onMinimize, className, }) {
10
+ const total = steps.length;
11
+ const done = steps.filter((s) => s.done).length;
12
+ return (_jsxs("div", { className: onboardingRecipe({ className }), children: [_jsxs("div", { className: "onboarding-head", children: [_jsx("span", { className: "onboarding-title", children: title }), onMenu && (_jsx("button", { type: "button", className: "onboarding-iconbtn", "aria-label": "Checklist options", onClick: onMenu, children: _jsx(MoreHorizontal, { size: 16, strokeWidth: 1.75 }) })), onMinimize && (_jsx("button", { type: "button", className: "onboarding-iconbtn", "aria-label": "Minimize", onClick: onMinimize, children: _jsx(ChevronDown, { size: 16, strokeWidth: 1.75 }) }))] }), _jsxs("span", { className: "onboarding-sub", children: [_jsxs("b", { children: [done, "/", total] }), " ", "steps completed", encouragement ? _jsxs(_Fragment, { children: [" \u00B7 ", encouragement] }) : null] }), _jsx("div", { className: "onboarding-progress", role: "progressbar", "aria-valuenow": done, "aria-valuemin": 0, "aria-valuemax": total, "aria-label": "Onboarding progress", children: Array.from({ length: total }, (_, i) => (_jsx("span", { className: "onboarding-seg", "data-done": i < done ? "" : undefined }, i))) }), _jsx("div", { className: "onboarding-steps", children: steps.map((s) => (_jsxs("button", { type: "button", className: "onboarding-step", "data-done": s.done ? "" : undefined, disabled: s.done, onClick: s.done ? undefined : () => onStepClick?.(s.id), children: [_jsx("span", { className: "onboarding-step-icon", children: s.icon }), _jsx("span", { className: "onboarding-step-label", children: s.label }), _jsx("span", { className: "onboarding-step-check", children: s.done && _jsx(Check, { size: 12, strokeWidth: 3 }) })] }, s.id))) })] }));
13
+ }
14
+ OnboardingChecklist.displayName = "OnboardingChecklist";
@@ -0,0 +1,41 @@
1
+ import { defineRecipe, resolveRecipe } from "../../core/index.js";
2
+ import { contract as c } from "../../tokens/index.js";
3
+ // An onboarding checklist card — measured from Attio's floating "Getting started"
4
+ // widget: a title + menu/minimize header, a "N/total steps" subtitle, a
5
+ // segmented progress bar (filled pills brand, rest 4% ink), then step rows with
6
+ // an icon + label; completed rows strike through and show a brand check.
7
+ const config = defineRecipe({
8
+ name: "onboarding",
9
+ base: `display: flex; flex-direction: column; box-sizing: border-box; width: 272px; padding: ${c.space["3"]}; gap: ${c.space["2"]};
10
+ border-radius: ${c.radius.xl}; background: ${c.bgSurface}; font-family: ${c.font.sans};
11
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
12
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, ${c.fgPrimary} 6%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10);
13
+
14
+ & .onboarding-head { display: flex; align-items: center; gap: ${c.space["1"]}; }
15
+ & .onboarding-title { flex: 1; min-width: 0; font-size: ${c.text.lg}; font-weight: ${c.weight.medium}; color: ${c.fgPrimary}; }
16
+ & .onboarding-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: ${c.radius.sm}; background: none; color: ${c.fgMuted}; cursor: pointer; transition: background-color .12s, color .12s; }
17
+ & .onboarding-iconbtn:hover { background: ${c.bgRaised}; color: ${c.fgPrimary}; }
18
+
19
+ & .onboarding-sub { font-size: ${c.text.sm}; color: color-mix(in srgb, ${c.fgPrimary} 50%, transparent); }
20
+ & .onboarding-sub b { font-weight: ${c.weight.medium}; color: ${c.fgPrimary}; }
21
+
22
+ & .onboarding-progress { display: flex; gap: ${c.space["1"]}; margin: ${c.space["0.5"]} 0 ${c.space["1"]}; }
23
+ & .onboarding-seg { flex: 1; height: 4px; border-radius: ${c.radius.full}; background: color-mix(in srgb, ${c.fgPrimary} 4%, transparent); transition: background-color .2s ease; }
24
+ & .onboarding-seg[data-done] { background: ${c.bgBrandSolid}; }
25
+
26
+ & .onboarding-steps { display: flex; flex-direction: column; }
27
+ & .onboarding-step { display: flex; align-items: center; gap: ${c.space["2"]}; height: 36px; padding: 0 ${c.space["1"]}; margin: 0; border: none; border-radius: ${c.radius.md}; background: none; font-family: inherit; font-size: ${c.text.lg}; color: ${c.fgPrimary}; text-align: left; cursor: pointer; transition: background-color .12s; }
28
+ & .onboarding-step:hover { background: ${c.bgRaised}; }
29
+ & .onboarding-step-icon { display: inline-flex; flex-shrink: 0; color: ${c.fgMuted}; }
30
+ & .onboarding-step-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
31
+ & .onboarding-step-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: ${c.radius.full}; color: transparent; }
32
+ & .onboarding-step[data-done] { cursor: default; }
33
+ & .onboarding-step[data-done] .onboarding-step-icon, & .onboarding-step[data-done] .onboarding-step-label { color: ${c.fgMuted}; text-decoration: line-through; }
34
+ & .onboarding-step[data-done]:hover { background: none; }
35
+ & .onboarding-step[data-done] .onboarding-step-check { background: ${c.bgBrandSolid}; color: ${c.fgOnBrand}; }`,
36
+ variants: {},
37
+ defaultVariants: {},
38
+ compoundVariants: [],
39
+ });
40
+ export const onboardingRecipe = resolveRecipe(config);
41
+ export default config;
@@ -0,0 +1,2 @@
1
+ export { RecordPage } from "./recordpage.js";
2
+ export { recordpageRecipe } from "./recordpage.recipe.js";