@hraness/design-kit 0.36.5 → 0.39.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.
- package/MARKETING_COPY.md +2 -0
- package/README.md +77 -11
- package/dist/{chunk-xa28y4fg.js → chunk-1dgm85ta.js} +191 -55
- package/dist/chunk-6mx403v5.js +286 -0
- package/dist/{chunk-thv5t11w.js → chunk-dc8v05zh.js} +6 -137
- package/dist/{chunk-evb02bc1.js → chunk-fcs5qekr.js} +48 -1
- package/dist/chunk-fxwed3e5.js +775 -0
- package/dist/chunk-vy0pt84a.js +1807 -0
- package/dist/{chunk-sabcr66p.js → chunk-w1y1m3m7.js} +300 -1
- package/dist/index.js +24 -12
- package/dist/mockups/client.js +6 -654
- package/dist/mockups/index.js +29 -1797
- package/dist/provider-marks.js +1 -1
- package/dist/react/index.js +190 -5
- package/dist/react/server.js +5 -3
- package/dist/stylex-manifest.json +1 -1
- package/package.json +9 -5
- package/portfolio-inventory.json +1 -1
- package/src/compiler-foundation.css +2 -0
- package/src/design-gallery.css +12 -0
- package/src/index.ts +1 -0
- package/src/marketing-marquee.css +281 -0
- package/src/marketing-marquee.ts +206 -0
- package/src/mockups/client.tsx +157 -66
- package/src/mockups/core.tsx +30 -0
- package/src/mockups.css +158 -23
- package/src/provider-marks.generated.ts +92 -0
- package/src/provider-marks.ts +29 -4
- package/src/react/design-gallery.tsx +53 -0
- package/src/react/index.ts +1 -0
- package/src/react/marketing-marquee.tsx +71 -0
- package/src/react/server.ts +1 -0
- package/src/styles.css +2 -0
- package/vendor/provider-marks/BOOTSTRAP-ICONS-LICENSE +21 -0
- package/vendor/provider-marks/UPSTREAM.md +28 -0
- package/vendor/provider-marks/bootstrap-icons/calendar-event-fill.svg +3 -0
- package/vendor/provider-marks/bootstrap-icons/filetype-csv.svg +3 -0
- package/vendor/provider-marks/bootstrap-icons/globe2.svg +3 -0
- package/vendor/provider-marks/bootstrap-icons/linkedin.svg +3 -0
- package/vendor/provider-marks/bootstrap-icons/microsoft.svg +3 -0
- package/vendor/provider-marks/bootstrap-icons/person-vcard-fill.svg +3 -0
- package/vendor/provider-marks/bootstrap-icons/shop.svg +3 -0
- package/vendor/provider-marks/simple-icons/apple.svg +1 -0
- package/vendor/provider-marks/simple-icons/bluesky.svg +1 -0
- package/vendor/provider-marks/simple-icons/facebook.svg +1 -0
- package/vendor/provider-marks/simple-icons/github.svg +1 -0
- package/vendor/provider-marks/simple-icons/gmail.svg +1 -0
- package/vendor/provider-marks/simple-icons/google.svg +1 -0
- package/vendor/provider-marks/simple-icons/instagram.svg +1 -0
- package/vendor/provider-marks/simple-icons/reddit.svg +1 -0
- package/vendor/provider-marks/simple-icons/substack.svg +1 -0
- package/vendor/provider-marks/simple-icons/telegram.svg +1 -0
- package/vendor/provider-marks/simple-icons/threads.svg +1 -0
- package/vendor/provider-marks/simple-icons/tiktok.svg +1 -0
- package/vendor/provider-marks/simple-icons/twitch.svg +1 -0
- package/vendor/provider-marks/simple-icons/x.svg +1 -0
- package/vendor/provider-marks/simple-icons/ycombinator.svg +1 -0
- package/vendor/provider-marks/simple-icons/youtube.svg +1 -0
- package/dist/chunk-gmea6p0d.js +0 -13
package/dist/provider-marks.js
CHANGED
package/dist/react/index.js
CHANGED
|
@@ -49,6 +49,7 @@ import {
|
|
|
49
49
|
MarketingInterfaceGrid,
|
|
50
50
|
MarketingMain,
|
|
51
51
|
MarketingMaker,
|
|
52
|
+
MarketingMarquee,
|
|
52
53
|
MarketingNotice,
|
|
53
54
|
MarketingPage,
|
|
54
55
|
MarketingPillars,
|
|
@@ -89,7 +90,7 @@ import {
|
|
|
89
90
|
marketingProofFrameAddress,
|
|
90
91
|
proceduralBackdropVariants,
|
|
91
92
|
proceduralRecipeVersion
|
|
92
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-1dgm85ta.js";
|
|
93
94
|
import {
|
|
94
95
|
SyntaxCode
|
|
95
96
|
} from "../chunk-6ts4955n.js";
|
|
@@ -121,8 +122,8 @@ import {
|
|
|
121
122
|
resolveStatusPage,
|
|
122
123
|
statusPageRoutesAttribute,
|
|
123
124
|
suggestStatusRoute
|
|
124
|
-
} from "../chunk-
|
|
125
|
-
import"../chunk-
|
|
125
|
+
} from "../chunk-dc8v05zh.js";
|
|
126
|
+
import"../chunk-6mx403v5.js";
|
|
126
127
|
import"../chunk-wzvdn8ey.js";
|
|
127
128
|
import"../chunk-he8eznb1.js";
|
|
128
129
|
import"../chunk-77391vmq.js";
|
|
@@ -132,7 +133,16 @@ import {
|
|
|
132
133
|
characterLength,
|
|
133
134
|
xPostLength
|
|
134
135
|
} from "../chunk-cejpzyfh.js";
|
|
135
|
-
import
|
|
136
|
+
import {
|
|
137
|
+
BrowserFrame
|
|
138
|
+
} from "../chunk-vy0pt84a.js";
|
|
139
|
+
import {
|
|
140
|
+
StepThrough
|
|
141
|
+
} from "../chunk-fxwed3e5.js";
|
|
142
|
+
import {
|
|
143
|
+
SampleText
|
|
144
|
+
} from "../chunk-fcs5qekr.js";
|
|
145
|
+
import"../chunk-w1y1m3m7.js";
|
|
136
146
|
import {
|
|
137
147
|
__require
|
|
138
148
|
} from "../chunk-5gtx3pza.js";
|
|
@@ -5976,7 +5986,7 @@ var designGallerySections = [{
|
|
|
5976
5986
|
label: "Syntax"
|
|
5977
5987
|
}];
|
|
5978
5988
|
var designGalleryTouchKinds = ["button", "link", "radio", "range"];
|
|
5979
|
-
var designGalleryRecipeCoverage = ["@hraness/ui primitives", "animated rail stage", "application shells", "article layer", "charts", "chat message and composer", "dither surface", "fader", "foil card surface", "layout surfaces", "Lantern material", "playback transport", "plain site and publication grammar", "product-marketing grammar", "Nebula Sans typography", "procedural effects", "platform install commands", "production preview notice", "relative time", "status pages", "syntax highlighting"];
|
|
5989
|
+
var designGalleryRecipeCoverage = ["@hraness/ui primitives", "animated rail stage", "application shells", "article layer", "charts", "chat message and composer", "dither surface", "fader", "foil card surface", "layout surfaces", "Lantern material", "playback transport", "plain site and publication grammar", "product-marketing grammar", "Nebula Sans typography", "procedural effects", "platform install commands", "production preview notice", "relative time", "responsive product walkthroughs", "status pages", "syntax highlighting"];
|
|
5980
5990
|
var designGalleryRelativeTimeNow = Date.UTC(2026, 8, 26, 12, 0, 0);
|
|
5981
5991
|
var relativeTimeExamples = [{
|
|
5982
5992
|
id: "seconds",
|
|
@@ -6044,6 +6054,116 @@ var foilDeckExamples = [{
|
|
|
6044
6054
|
ornament: "facets",
|
|
6045
6055
|
preset: "max"
|
|
6046
6056
|
}];
|
|
6057
|
+
function GalleryJobPreview({
|
|
6058
|
+
state
|
|
6059
|
+
}) {
|
|
6060
|
+
const completed = state === "saved";
|
|
6061
|
+
return /* @__PURE__ */ jsx17(BrowserFrame, {
|
|
6062
|
+
describe: `A conceptual job interface shows a weekly report ${state === "ready" ? "ready to run" : state === "running" ? "being prepared" : "saved beside its source"}.`,
|
|
6063
|
+
url: "relay.example/jobs/weekly-report",
|
|
6064
|
+
children: /* @__PURE__ */ jsxs15("div", {
|
|
6065
|
+
className: "design-gallery__walkthrough-preview",
|
|
6066
|
+
children: [
|
|
6067
|
+
/* @__PURE__ */ jsx17("p", {
|
|
6068
|
+
className: "design-gallery__walkthrough-context",
|
|
6069
|
+
children: "WORKSPACE / JOBS"
|
|
6070
|
+
}),
|
|
6071
|
+
/* @__PURE__ */ jsxs15("p", {
|
|
6072
|
+
className: "design-gallery__walkthrough-title",
|
|
6073
|
+
children: [
|
|
6074
|
+
/* @__PURE__ */ jsx17(SampleText, {
|
|
6075
|
+
children: "Weekly report"
|
|
6076
|
+
}),
|
|
6077
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6078
|
+
className: "design-gallery__walkthrough-state",
|
|
6079
|
+
children: state === "ready" ? "Ready" : completed ? "Saved" : "Running"
|
|
6080
|
+
})
|
|
6081
|
+
]
|
|
6082
|
+
}),
|
|
6083
|
+
/* @__PURE__ */ jsxs15("dl", {
|
|
6084
|
+
className: "design-gallery__walkthrough-facts",
|
|
6085
|
+
children: [
|
|
6086
|
+
/* @__PURE__ */ jsxs15("div", {
|
|
6087
|
+
children: [
|
|
6088
|
+
/* @__PURE__ */ jsx17("dt", {
|
|
6089
|
+
children: "Source"
|
|
6090
|
+
}),
|
|
6091
|
+
/* @__PURE__ */ jsx17("dd", {
|
|
6092
|
+
children: /* @__PURE__ */ jsx17(SampleText, {
|
|
6093
|
+
children: "orders.csv"
|
|
6094
|
+
})
|
|
6095
|
+
})
|
|
6096
|
+
]
|
|
6097
|
+
}),
|
|
6098
|
+
/* @__PURE__ */ jsxs15("div", {
|
|
6099
|
+
children: [
|
|
6100
|
+
/* @__PURE__ */ jsx17("dt", {
|
|
6101
|
+
children: "Run"
|
|
6102
|
+
}),
|
|
6103
|
+
/* @__PURE__ */ jsx17("dd", {
|
|
6104
|
+
children: /* @__PURE__ */ jsx17(SampleText, {
|
|
6105
|
+
children: state === "ready" ? "On demand" : "run-042"
|
|
6106
|
+
})
|
|
6107
|
+
})
|
|
6108
|
+
]
|
|
6109
|
+
})
|
|
6110
|
+
]
|
|
6111
|
+
}),
|
|
6112
|
+
/* @__PURE__ */ jsxs15("ol", {
|
|
6113
|
+
className: "design-gallery__walkthrough-checks",
|
|
6114
|
+
children: [
|
|
6115
|
+
/* @__PURE__ */ jsxs15("li", {
|
|
6116
|
+
children: [
|
|
6117
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6118
|
+
children: "Check input"
|
|
6119
|
+
}),
|
|
6120
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6121
|
+
children: state === "ready" ? "Waiting" : "Complete"
|
|
6122
|
+
})
|
|
6123
|
+
]
|
|
6124
|
+
}),
|
|
6125
|
+
/* @__PURE__ */ jsxs15("li", {
|
|
6126
|
+
children: [
|
|
6127
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6128
|
+
children: "Build report"
|
|
6129
|
+
}),
|
|
6130
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6131
|
+
children: state === "ready" ? "Waiting" : completed ? "Complete" : "In progress"
|
|
6132
|
+
})
|
|
6133
|
+
]
|
|
6134
|
+
}),
|
|
6135
|
+
/* @__PURE__ */ jsxs15("li", {
|
|
6136
|
+
children: [
|
|
6137
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6138
|
+
children: "Save output"
|
|
6139
|
+
}),
|
|
6140
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6141
|
+
children: completed ? "Complete" : "Waiting"
|
|
6142
|
+
})
|
|
6143
|
+
]
|
|
6144
|
+
})
|
|
6145
|
+
]
|
|
6146
|
+
}),
|
|
6147
|
+
/* @__PURE__ */ jsxs15("div", {
|
|
6148
|
+
className: "design-gallery__walkthrough-result",
|
|
6149
|
+
children: [
|
|
6150
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6151
|
+
children: completed ? "Saved report" : "Output"
|
|
6152
|
+
}),
|
|
6153
|
+
/* @__PURE__ */ jsx17("strong", {
|
|
6154
|
+
children: /* @__PURE__ */ jsx17(SampleText, {
|
|
6155
|
+
children: completed ? "weekly-report.md" : "Weekly report"
|
|
6156
|
+
})
|
|
6157
|
+
}),
|
|
6158
|
+
/* @__PURE__ */ jsx17("span", {
|
|
6159
|
+
children: completed ? "12 sections · Source attached" : "Available after the run finishes"
|
|
6160
|
+
})
|
|
6161
|
+
]
|
|
6162
|
+
})
|
|
6163
|
+
]
|
|
6164
|
+
})
|
|
6165
|
+
});
|
|
6166
|
+
}
|
|
6047
6167
|
function DesignSystemGallery({
|
|
6048
6168
|
isNestedInMain = false
|
|
6049
6169
|
}) {
|
|
@@ -6477,6 +6597,37 @@ function DesignSystemGallery({
|
|
|
6477
6597
|
}),
|
|
6478
6598
|
summary: "Relay runs the same job wherever you start it and writes a log you can read afterward: inputs, outputs, and how long it took."
|
|
6479
6599
|
}),
|
|
6600
|
+
/* @__PURE__ */ jsx17(MarketingMarquee, {
|
|
6601
|
+
action: {
|
|
6602
|
+
href: "#gallery-install",
|
|
6603
|
+
label: "Set up your agent"
|
|
6604
|
+
},
|
|
6605
|
+
id: "design-gallery-marquee",
|
|
6606
|
+
items: [{
|
|
6607
|
+
name: "Claude Code"
|
|
6608
|
+
}, {
|
|
6609
|
+
name: "Codex"
|
|
6610
|
+
}, {
|
|
6611
|
+
name: "Cursor"
|
|
6612
|
+
}, {
|
|
6613
|
+
name: "Gemini CLI"
|
|
6614
|
+
}, {
|
|
6615
|
+
name: "GitHub Copilot"
|
|
6616
|
+
}, {
|
|
6617
|
+
name: "Goose"
|
|
6618
|
+
}, {
|
|
6619
|
+
name: "opencode"
|
|
6620
|
+
}, {
|
|
6621
|
+
name: "Crush"
|
|
6622
|
+
}, {
|
|
6623
|
+
name: "Aider"
|
|
6624
|
+
}, {
|
|
6625
|
+
name: "Amp"
|
|
6626
|
+
}, {
|
|
6627
|
+
name: "Devin"
|
|
6628
|
+
}],
|
|
6629
|
+
label: "Works with {count} coding agents"
|
|
6630
|
+
}),
|
|
6480
6631
|
/* @__PURE__ */ jsx17(MarketingPillars, {
|
|
6481
6632
|
ariaLabel: "Relay in three points",
|
|
6482
6633
|
presentation: "benefits",
|
|
@@ -6600,6 +6751,39 @@ Run the job, then show me its log.`,
|
|
|
6600
6751
|
})
|
|
6601
6752
|
]
|
|
6602
6753
|
}),
|
|
6754
|
+
/* @__PURE__ */ jsx17(MarketingSection, {
|
|
6755
|
+
heading: "Show the result at each step.",
|
|
6756
|
+
headingId: "gallery-walkthrough",
|
|
6757
|
+
headingLevel: 3,
|
|
6758
|
+
label: "Walkthrough",
|
|
6759
|
+
summary: "Use short labels and visible explanations beside a compact illustration of what changes.",
|
|
6760
|
+
children: /* @__PURE__ */ jsx17(StepThrough, {
|
|
6761
|
+
fit: "fill",
|
|
6762
|
+
label: "Run a Relay job",
|
|
6763
|
+
steps: [{
|
|
6764
|
+
id: "choose",
|
|
6765
|
+
label: "Choose a job",
|
|
6766
|
+
hint: "Pick a saved job and review the file it reads before starting the run.",
|
|
6767
|
+
render: () => /* @__PURE__ */ jsx17(GalleryJobPreview, {
|
|
6768
|
+
state: "ready"
|
|
6769
|
+
})
|
|
6770
|
+
}, {
|
|
6771
|
+
id: "run",
|
|
6772
|
+
label: "Watch the run",
|
|
6773
|
+
hint: "See the input check, transformation, and saved output as separate stages.",
|
|
6774
|
+
render: () => /* @__PURE__ */ jsx17(GalleryJobPreview, {
|
|
6775
|
+
state: "running"
|
|
6776
|
+
})
|
|
6777
|
+
}, {
|
|
6778
|
+
id: "inspect",
|
|
6779
|
+
label: "Read the result",
|
|
6780
|
+
hint: "Open the saved report with the run ID and source file beside it.",
|
|
6781
|
+
render: () => /* @__PURE__ */ jsx17(GalleryJobPreview, {
|
|
6782
|
+
state: "saved"
|
|
6783
|
+
})
|
|
6784
|
+
}]
|
|
6785
|
+
})
|
|
6786
|
+
}),
|
|
6603
6787
|
/* @__PURE__ */ jsx17(MarketingPrimitives, {
|
|
6604
6788
|
columns: 3,
|
|
6605
6789
|
heading: "Three objects cover most work.",
|
|
@@ -8336,6 +8520,7 @@ export {
|
|
|
8336
8520
|
MarketingPillars,
|
|
8337
8521
|
MarketingPage,
|
|
8338
8522
|
MarketingNotice,
|
|
8523
|
+
MarketingMarquee,
|
|
8339
8524
|
MarketingMaker,
|
|
8340
8525
|
MarketingMain,
|
|
8341
8526
|
MarketingInterfaceGrid,
|
package/dist/react/server.js
CHANGED
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
MarketingInterfaceGrid,
|
|
37
37
|
MarketingMain,
|
|
38
38
|
MarketingMaker,
|
|
39
|
+
MarketingMarquee,
|
|
39
40
|
MarketingNotice,
|
|
40
41
|
MarketingPage,
|
|
41
42
|
MarketingPillars,
|
|
@@ -68,16 +69,16 @@ import {
|
|
|
68
69
|
marketingProofFrameAddress,
|
|
69
70
|
proceduralBackdropVariants,
|
|
70
71
|
proceduralRecipeVersion
|
|
71
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-1dgm85ta.js";
|
|
72
73
|
import {
|
|
73
74
|
SyntaxCode
|
|
74
75
|
} from "../chunk-6ts4955n.js";
|
|
75
|
-
import"../chunk-
|
|
76
|
+
import"../chunk-6mx403v5.js";
|
|
76
77
|
import"../chunk-wzvdn8ey.js";
|
|
77
78
|
import"../chunk-he8eznb1.js";
|
|
78
79
|
import"../chunk-77391vmq.js";
|
|
79
80
|
import"../chunk-cejpzyfh.js";
|
|
80
|
-
import"../chunk-
|
|
81
|
+
import"../chunk-w1y1m3m7.js";
|
|
81
82
|
import"../chunk-5gtx3pza.js";
|
|
82
83
|
export {
|
|
83
84
|
proceduralRecipeVersion,
|
|
@@ -113,6 +114,7 @@ export {
|
|
|
113
114
|
MarketingPillars,
|
|
114
115
|
MarketingPage,
|
|
115
116
|
MarketingNotice,
|
|
117
|
+
MarketingMarquee,
|
|
116
118
|
MarketingMaker,
|
|
117
119
|
MarketingMain,
|
|
118
120
|
MarketingInterfaceGrid,
|