@noobsociety/nsds 0.1.2 → 0.2.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 (73) hide show
  1. package/CHANGELOG.md +24 -3
  2. package/README.md +347 -193
  3. package/dist/components/hud/HUDBar.d.ts +17 -0
  4. package/dist/components/hud/HUDDivider.d.ts +11 -0
  5. package/dist/components/hud/HUDLabel.d.ts +17 -0
  6. package/dist/components/icons/RPGIcon.d.ts +42 -0
  7. package/dist/index.cjs +1 -0
  8. package/dist/index.d.ts +18 -0
  9. package/dist/index.js +587 -0
  10. package/{styles.css → dist/styles.css} +1 -0
  11. package/dist/tailwind/package.json +1 -0
  12. package/dist/tailwind/preset.js +144 -0
  13. package/{tokens → dist/tokens}/colors.css +25 -19
  14. package/dist/tokens/hud.css +133 -0
  15. package/{tokens → dist/tokens}/motion.css +9 -9
  16. package/{tokens → dist/tokens}/spacing.css +9 -16
  17. package/{tokens → dist/tokens}/typography.css +2 -2
  18. package/package.json +34 -62
  19. package/SKILL.md +0 -18
  20. package/assets/bg.png +0 -0
  21. package/assets/bloop.png +0 -0
  22. package/assets/hero.png +0 -0
  23. package/assets/lamp.png +0 -0
  24. package/assets/logo.png +0 -0
  25. package/assets/mailbox.png +0 -0
  26. package/assets/plaza.png +0 -0
  27. package/assets/prickle.png +0 -0
  28. package/assets/sign.png +0 -0
  29. package/components/buttons/Button.js +0 -55
  30. package/components/buttons/Button.prompt.md +0 -22
  31. package/components/buttons/buttons.card.html +0 -24
  32. package/components/cards/FeatureCard.js +0 -36
  33. package/components/cards/FeatureCard.prompt.md +0 -17
  34. package/components/cards/QuestCard.js +0 -27
  35. package/components/cards/QuestCard.prompt.md +0 -19
  36. package/components/cards/cards.card.html +0 -54
  37. package/components/navigation/SectionArrow.js +0 -28
  38. package/components/navigation/navigation.card.html +0 -29
  39. package/components/react/index.d.ts +0 -11
  40. package/components/react/index.js +0 -4
  41. package/components/shared/styles.js +0 -22
  42. package/guidelines/brand.card.html +0 -41
  43. package/guidelines/colors.card.html +0 -43
  44. package/guidelines/motion.card.html +0 -24
  45. package/guidelines/pixel-accents.card.html +0 -50
  46. package/guidelines/radii-shadows.card.html +0 -28
  47. package/guidelines/semantic-colors.card.html +0 -30
  48. package/guidelines/spacing.card.html +0 -53
  49. package/guidelines/sprites.card.html +0 -22
  50. package/guidelines/type.card.html +0 -24
  51. package/index.d.ts +0 -1
  52. package/index.js +0 -1
  53. package/mui-theme/ThemeProvider.js +0 -14
  54. package/mui-theme/ThemeProvider.tsx +0 -20
  55. package/mui-theme/examples/FeatureCard.tsx +0 -52
  56. package/mui-theme/examples/QuestStatusChip.tsx +0 -41
  57. package/mui-theme/examples/SectionHeader.tsx +0 -44
  58. package/mui-theme/index.d.ts +0 -49
  59. package/mui-theme/index.js +0 -2
  60. package/mui-theme/index.ts +0 -2
  61. package/mui-theme/preview.dc.html +0 -195
  62. package/mui-theme/support.js +0 -1513
  63. package/mui-theme/theme.js +0 -594
  64. package/mui-theme/theme.ts +0 -604
  65. package/references/noobsociety-monokai.dc.html +0 -360
  66. package/support.js +0 -1513
  67. package/ui-kits/homepage/index.html +0 -319
  68. /package/{components → dist/components}/buttons/Button.d.ts +0 -0
  69. /package/{components → dist/components}/cards/FeatureCard.d.ts +0 -0
  70. /package/{components → dist/components}/cards/QuestCard.d.ts +0 -0
  71. /package/{components → dist/components}/navigation/SectionArrow.d.ts +0 -0
  72. /package/{components → dist/components}/primitives.css +0 -0
  73. /package/{tokens → dist/tokens}/base.css +0 -0
package/dist/index.js ADDED
@@ -0,0 +1,587 @@
1
+ import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
+ const a = (...h) => h.filter(Boolean).join(" ");
3
+ function p(h, e) {
4
+ return e ? { ...h, ...e } : h;
5
+ }
6
+ const I = {
7
+ gold: "var(--ns-gold)"
8
+ }, x = {
9
+ done: { className: "ns-quest-card--done", label: "HOLDS", icon: "✓" },
10
+ active: { className: "ns-quest-card--active", label: "BUILDING", icon: "▶" },
11
+ planned: { className: "ns-quest-card--planned", label: "PLANNED", icon: "◌" },
12
+ locked: { className: "ns-quest-card--locked", label: "LATER", icon: "✦" }
13
+ }, k = /* @__PURE__ */ new Set(["play", "ghost"]), B = /* @__PURE__ */ new Set(["sm", "md", "lg"]);
14
+ function Y({
15
+ variant: h = "play",
16
+ size: e = "md",
17
+ href: c,
18
+ onClick: l,
19
+ children: d,
20
+ disabled: r = !1,
21
+ className: f,
22
+ type: n = "button",
23
+ ...w
24
+ }) {
25
+ const v = k.has(h) ? h : "play", b = B.has(e) ? e : "md", m = a(
26
+ "ns-button",
27
+ `ns-button--${v}`,
28
+ `ns-button--${b}`,
29
+ f
30
+ ), g = {
31
+ ...w,
32
+ className: m,
33
+ onClick: r ? void 0 : l
34
+ };
35
+ return c ? /* @__PURE__ */ t(
36
+ "a",
37
+ {
38
+ ...g,
39
+ href: r ? void 0 : c,
40
+ "aria-disabled": r || void 0,
41
+ tabIndex: r ? -1 : w.tabIndex,
42
+ children: d
43
+ }
44
+ ) : /* @__PURE__ */ t("button", { ...g, type: n, disabled: r, children: d });
45
+ }
46
+ function Z({
47
+ icon: h,
48
+ title: e,
49
+ body: c,
50
+ tag: l,
51
+ iconColor: d = I.gold,
52
+ className: r,
53
+ style: f,
54
+ ...n
55
+ }) {
56
+ return /* @__PURE__ */ i(
57
+ "li",
58
+ {
59
+ ...n,
60
+ className: a("ns-card ns-feature-card", r),
61
+ style: p({ "--ns-feature-accent": d }, f),
62
+ children: [
63
+ /* @__PURE__ */ t("span", { className: "ns-icon-slot ns-feature-card__icon", "aria-hidden": "true", children: h }),
64
+ /* @__PURE__ */ i("div", { children: [
65
+ /* @__PURE__ */ t("h3", { className: "ns-feature-card__title", children: e }),
66
+ /* @__PURE__ */ t("p", { className: "ns-feature-card__body", children: c })
67
+ ] }),
68
+ l && /* @__PURE__ */ t("span", { className: "ns-tag ns-feature-card__tag", children: l })
69
+ ]
70
+ }
71
+ );
72
+ }
73
+ function X({ gate: h, title: e, body: c, status: l = "locked", className: d, ...r }) {
74
+ const f = x[l] || x.locked;
75
+ return /* @__PURE__ */ i("li", { ...r, className: a("ns-quest-card", f.className, d), children: [
76
+ /* @__PURE__ */ t("span", { className: "ns-quest-card__icon", "aria-hidden": "true", children: f.icon }),
77
+ /* @__PURE__ */ i("div", { className: "ns-quest-card__body", children: [
78
+ /* @__PURE__ */ t("p", { className: "ns-quest-card__title", children: `Gate ${h} · ${e}` }),
79
+ /* @__PURE__ */ t("p", { className: "ns-quest-card__desc", children: c }),
80
+ /* @__PURE__ */ t("span", { className: "ns-status-pill", children: f.label })
81
+ ] })
82
+ ] });
83
+ }
84
+ const S = 'var(--ns-font-pixel, "Press Start 2P", monospace)';
85
+ function tt({
86
+ value: h = 40,
87
+ max: e = 40,
88
+ fillColor: c = "var(--hud-hp-fill, #4caf73)",
89
+ trackColor: l = "var(--hud-track, rgba(255, 255, 255, 0.10))",
90
+ height: d = 14,
91
+ style: r
92
+ }) {
93
+ const f = e > 0 ? Math.max(0, Math.min(100, h / e * 100)) : 0;
94
+ return /* @__PURE__ */ i(
95
+ "div",
96
+ {
97
+ style: {
98
+ position: "relative",
99
+ background: l,
100
+ height: d,
101
+ overflow: "hidden",
102
+ fontFamily: S,
103
+ ...r
104
+ },
105
+ children: [
106
+ /* @__PURE__ */ t(
107
+ "div",
108
+ {
109
+ style: {
110
+ position: "absolute",
111
+ inset: 0,
112
+ width: `${f}%`,
113
+ background: c,
114
+ transition: "width .35s ease-out"
115
+ }
116
+ }
117
+ ),
118
+ /* @__PURE__ */ i(
119
+ "span",
120
+ {
121
+ style: {
122
+ position: "absolute",
123
+ inset: 0,
124
+ display: "flex",
125
+ alignItems: "center",
126
+ paddingLeft: 4,
127
+ fontSize: 4,
128
+ color: "#fff",
129
+ pointerEvents: "none"
130
+ },
131
+ children: [
132
+ h,
133
+ " / ",
134
+ e
135
+ ]
136
+ }
137
+ )
138
+ ]
139
+ }
140
+ );
141
+ }
142
+ function it({
143
+ direction: h = "vertical",
144
+ color: e = "var(--ns-line)",
145
+ style: c
146
+ }) {
147
+ const l = h === "vertical";
148
+ return /* @__PURE__ */ t(
149
+ "div",
150
+ {
151
+ style: {
152
+ width: l ? "1px" : "100%",
153
+ height: l ? "100%" : "1px",
154
+ background: e,
155
+ flexShrink: 0,
156
+ alignSelf: "stretch",
157
+ ...c
158
+ }
159
+ }
160
+ );
161
+ }
162
+ const N = 'var(--ns-font-pixel, "Press Start 2P", monospace)', s = {
163
+ left: "flex-start",
164
+ center: "center",
165
+ right: "flex-end"
166
+ };
167
+ function et({
168
+ text: h = "Label",
169
+ align: e = "left",
170
+ scale: c = 1,
171
+ color: l = "var(--ns-ink)",
172
+ fontSize: d = 5,
173
+ style: r
174
+ }) {
175
+ return /* @__PURE__ */ t(
176
+ "div",
177
+ {
178
+ style: {
179
+ display: "flex",
180
+ alignItems: "center",
181
+ justifyContent: s[e] || s.left,
182
+ paddingLeft: e === "right" ? 0 : 3,
183
+ paddingRight: e === "left" ? 0 : 3,
184
+ fontFamily: N,
185
+ fontSize: d * c,
186
+ color: l,
187
+ whiteSpace: "nowrap",
188
+ overflow: "hidden",
189
+ width: "100%",
190
+ height: "100%",
191
+ ...r
192
+ },
193
+ children: h
194
+ }
195
+ );
196
+ }
197
+ function y() {
198
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
199
+ /* @__PURE__ */ t("line", { x1: "13", y1: "2", x2: "4", y2: "11", stroke: "#cfd8e2", strokeWidth: "2", strokeLinecap: "square" }),
200
+ /* @__PURE__ */ t("line", { x1: "6", y1: "5", x2: "10", y2: "9", stroke: "#e6db74", strokeWidth: "2", strokeLinecap: "square" }),
201
+ /* @__PURE__ */ t("line", { x1: "4", y1: "10", x2: "2", y2: "13", stroke: "#b07040", strokeWidth: "1.5", strokeLinecap: "square" })
202
+ ] });
203
+ }
204
+ function _() {
205
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
206
+ /* @__PURE__ */ t("rect", { x: "3", y: "1", width: "3", height: "2", fill: "#8a6540" }),
207
+ /* @__PURE__ */ t("rect", { x: "2", y: "3", width: "2", height: "10", fill: "#8a6540" }),
208
+ /* @__PURE__ */ t("rect", { x: "3", y: "13", width: "3", height: "2", fill: "#8a6540" }),
209
+ /* @__PURE__ */ t("rect", { x: "6", y: "2", width: "1", height: "1", fill: "#cfd8e2" }),
210
+ /* @__PURE__ */ t("rect", { x: "7", y: "3", width: "1", height: "10", fill: "#cfd8e2" }),
211
+ /* @__PURE__ */ t("rect", { x: "6", y: "13", width: "1", height: "1", fill: "#cfd8e2" }),
212
+ /* @__PURE__ */ t("rect", { x: "7", y: "7", width: "7", height: "2", fill: "#c8a878" }),
213
+ /* @__PURE__ */ t("rect", { x: "13", y: "6", width: "2", height: "1", fill: "#cfd8e2" }),
214
+ /* @__PURE__ */ t("rect", { x: "14", y: "7", width: "2", height: "2", fill: "#cfd8e2" }),
215
+ /* @__PURE__ */ t("rect", { x: "13", y: "9", width: "2", height: "1", fill: "#cfd8e2" }),
216
+ /* @__PURE__ */ t("rect", { x: "7", y: "5", width: "2", height: "2", fill: "#ae81ff" }),
217
+ /* @__PURE__ */ t("rect", { x: "7", y: "9", width: "2", height: "2", fill: "#ae81ff" })
218
+ ] });
219
+ }
220
+ function L() {
221
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
222
+ /* @__PURE__ */ t("rect", { x: "5", y: "1", width: "6", height: "1", fill: "#c8a8ff" }),
223
+ /* @__PURE__ */ t("rect", { x: "4", y: "2", width: "8", height: "4", fill: "#ae81ff" }),
224
+ /* @__PURE__ */ t("rect", { x: "5", y: "6", width: "6", height: "1", fill: "#c8a8ff" }),
225
+ /* @__PURE__ */ t("rect", { x: "6", y: "3", width: "4", height: "2", fill: "#d4b8ff" }),
226
+ /* @__PURE__ */ t("rect", { x: "7", y: "7", width: "2", height: "8", fill: "#8a6540" }),
227
+ /* @__PURE__ */ t("rect", { x: "6", y: "10", width: "4", height: "1", fill: "#b07040" })
228
+ ] });
229
+ }
230
+ function q() {
231
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
232
+ /* @__PURE__ */ t("rect", { x: "2", y: "1", width: "2", height: "8", fill: "#cfd8e2" }),
233
+ /* @__PURE__ */ t("rect", { x: "2", y: "9", width: "2", height: "3", fill: "#a8b0bc" }),
234
+ /* @__PURE__ */ t("rect", { x: "12", y: "1", width: "2", height: "8", fill: "#cfd8e2" }),
235
+ /* @__PURE__ */ t("rect", { x: "12", y: "9", width: "2", height: "3", fill: "#a8b0bc" }),
236
+ /* @__PURE__ */ t("rect", { x: "2", y: "8", width: "12", height: "2", fill: "#e6db74" }),
237
+ /* @__PURE__ */ t("rect", { x: "6", y: "10", width: "4", height: "5", fill: "#8a6540" }),
238
+ /* @__PURE__ */ t("rect", { x: "3", y: "0", width: "1", height: "1", fill: "#eef0f4" }),
239
+ /* @__PURE__ */ t("rect", { x: "12", y: "0", width: "1", height: "1", fill: "#eef0f4" })
240
+ ] });
241
+ }
242
+ function D() {
243
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
244
+ /* @__PURE__ */ t("rect", { x: "2", y: "2", width: "2", height: "12", fill: "#6a4a6a" }),
245
+ /* @__PURE__ */ t("rect", { x: "4", y: "2", width: "10", height: "12", fill: "#8855aa" }),
246
+ /* @__PURE__ */ t("rect", { x: "13", y: "3", width: "1", height: "10", fill: "#f4f0e8" }),
247
+ /* @__PURE__ */ t("rect", { x: "7", y: "4", width: "2", height: "1", fill: "#c8a8ff" }),
248
+ /* @__PURE__ */ t("rect", { x: "6", y: "5", width: "4", height: "1", fill: "#c8a8ff" }),
249
+ /* @__PURE__ */ t("rect", { x: "7", y: "6", width: "2", height: "1", fill: "#c8a8ff" }),
250
+ /* @__PURE__ */ t("rect", { x: "6", y: "8", width: "4", height: "1", fill: "#e6db74" }),
251
+ /* @__PURE__ */ t("rect", { x: "7", y: "9", width: "2", height: "2", fill: "#e6db74" })
252
+ ] });
253
+ }
254
+ function A() {
255
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
256
+ /* @__PURE__ */ t("rect", { x: "4", y: "1", width: "8", height: "1", fill: "#a8b0bc" }),
257
+ /* @__PURE__ */ t("rect", { x: "3", y: "2", width: "10", height: "5", fill: "#a8b0bc" }),
258
+ /* @__PURE__ */ t("rect", { x: "3", y: "2", width: "10", height: "1", fill: "#cfd8e2" }),
259
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "1", height: "3", fill: "#cfd8e2" }),
260
+ /* @__PURE__ */ t("rect", { x: "3", y: "7", width: "10", height: "1", fill: "#5a6570" }),
261
+ /* @__PURE__ */ t("rect", { x: "7", y: "7", width: "2", height: "8", fill: "#8a6540" }),
262
+ /* @__PURE__ */ t("rect", { x: "6", y: "10", width: "4", height: "1", fill: "#b07040" })
263
+ ] });
264
+ }
265
+ function C() {
266
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
267
+ /* @__PURE__ */ t("rect", { x: "2", y: "6", width: "12", height: "4", fill: "#7a7a8a" }),
268
+ /* @__PURE__ */ t("rect", { x: "6", y: "2", width: "4", height: "12", fill: "#7a7a8a" }),
269
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "2", height: "2", fill: "#7a7a8a" }),
270
+ /* @__PURE__ */ t("rect", { x: "11", y: "3", width: "2", height: "2", fill: "#7a7a8a" }),
271
+ /* @__PURE__ */ t("rect", { x: "3", y: "11", width: "2", height: "2", fill: "#7a7a8a" }),
272
+ /* @__PURE__ */ t("rect", { x: "11", y: "11", width: "2", height: "2", fill: "#7a7a8a" }),
273
+ /* @__PURE__ */ t("rect", { x: "7", y: "7", width: "2", height: "2", fill: "#b0b0c0" }),
274
+ /* @__PURE__ */ t("rect", { x: "7", y: "4", width: "2", height: "1", fill: "#b0b0c0" }),
275
+ /* @__PURE__ */ t("rect", { x: "7", y: "11", width: "2", height: "1", fill: "#b0b0c0" }),
276
+ /* @__PURE__ */ t("rect", { x: "4", y: "7", width: "1", height: "2", fill: "#b0b0c0" }),
277
+ /* @__PURE__ */ t("rect", { x: "11", y: "7", width: "1", height: "2", fill: "#b0b0c0" })
278
+ ] });
279
+ }
280
+ function j() {
281
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
282
+ /* @__PURE__ */ t("rect", { x: "7", y: "2", width: "2", height: "2", fill: "#c8a050" }),
283
+ /* @__PURE__ */ t("rect", { x: "6", y: "4", width: "4", height: "2", fill: "#c8a050" }),
284
+ /* @__PURE__ */ t("rect", { x: "5", y: "6", width: "6", height: "2", fill: "#8b6914" }),
285
+ /* @__PURE__ */ t("rect", { x: "4", y: "8", width: "8", height: "2", fill: "#8b6914" }),
286
+ /* @__PURE__ */ t("rect", { x: "3", y: "10", width: "10", height: "2", fill: "#6a5010" }),
287
+ /* @__PURE__ */ t("rect", { x: "1", y: "12", width: "14", height: "3", fill: "#5a4008" }),
288
+ /* @__PURE__ */ t("rect", { x: "7", y: "2", width: "2", height: "1", fill: "#f0ece0" }),
289
+ /* @__PURE__ */ t("rect", { x: "6", y: "3", width: "4", height: "1", fill: "#f0ece0" }),
290
+ /* @__PURE__ */ t("rect", { x: "5", y: "8", width: "1", height: "1", fill: "#a07820" }),
291
+ /* @__PURE__ */ t("rect", { x: "10", y: "9", width: "1", height: "1", fill: "#a07820" })
292
+ ] });
293
+ }
294
+ function F() {
295
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
296
+ /* @__PURE__ */ t("rect", { x: "2", y: "4", width: "10", height: "1", fill: "#5dcaa5" }),
297
+ /* @__PURE__ */ t("rect", { x: "3", y: "5", width: "2", height: "1", fill: "#5dcaa5" }),
298
+ /* @__PURE__ */ t("rect", { x: "12", y: "3", width: "2", height: "2", fill: "#5dcaa5" }),
299
+ /* @__PURE__ */ t("rect", { x: "13", y: "5", width: "1", height: "1", fill: "#5dcaa5" }),
300
+ /* @__PURE__ */ t("rect", { x: "1", y: "7", width: "11", height: "2", fill: "#5dcaa5" }),
301
+ /* @__PURE__ */ t("rect", { x: "12", y: "6", width: "2", height: "4", fill: "#5dcaa5" }),
302
+ /* @__PURE__ */ t("rect", { x: "11", y: "10", width: "2", height: "1", fill: "#5dcaa5" }),
303
+ /* @__PURE__ */ t("rect", { x: "2", y: "12", width: "9", height: "1", fill: "#5dcaa5" }),
304
+ /* @__PURE__ */ t("rect", { x: "2", y: "11", width: "2", height: "1", fill: "#5dcaa5" }),
305
+ /* @__PURE__ */ t("rect", { x: "11", y: "12", width: "2", height: "2", fill: "#5dcaa5" }),
306
+ /* @__PURE__ */ t("rect", { x: "10", y: "14", width: "2", height: "1", fill: "#5dcaa5" }),
307
+ /* @__PURE__ */ t("rect", { x: "2", y: "3", width: "8", height: "1", fill: "#90e8cc" }),
308
+ /* @__PURE__ */ t("rect", { x: "2", y: "8", width: "9", height: "1", fill: "#90e8cc" })
309
+ ] });
310
+ }
311
+ function H() {
312
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
313
+ /* @__PURE__ */ t("rect", { x: "6", y: "1", width: "4", height: "1", fill: "#378add" }),
314
+ /* @__PURE__ */ t("rect", { x: "5", y: "2", width: "6", height: "2", fill: "#378add" }),
315
+ /* @__PURE__ */ t("rect", { x: "4", y: "4", width: "8", height: "6", fill: "#378add" }),
316
+ /* @__PURE__ */ t("rect", { x: "5", y: "10", width: "6", height: "2", fill: "#378add" }),
317
+ /* @__PURE__ */ t("rect", { x: "6", y: "12", width: "4", height: "2", fill: "#378add" }),
318
+ /* @__PURE__ */ t("rect", { x: "7", y: "14", width: "2", height: "1", fill: "#378add" }),
319
+ /* @__PURE__ */ t("rect", { x: "6", y: "4", width: "3", height: "4", fill: "#70b8f0" }),
320
+ /* @__PURE__ */ t("rect", { x: "7", y: "3", width: "2", height: "1", fill: "#70b8f0" }),
321
+ /* @__PURE__ */ t("rect", { x: "5", y: "7", width: "2", height: "1", fill: "#1a5a9a" }),
322
+ /* @__PURE__ */ t("rect", { x: "9", y: "8", width: "2", height: "1", fill: "#1a5a9a" })
323
+ ] });
324
+ }
325
+ function P() {
326
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
327
+ /* @__PURE__ */ t("rect", { x: "4", y: "11", width: "8", height: "4", fill: "#ba7517" }),
328
+ /* @__PURE__ */ t("rect", { x: "3", y: "8", width: "10", height: "3", fill: "#ba7517" }),
329
+ /* @__PURE__ */ t("rect", { x: "4", y: "5", width: "8", height: "3", fill: "#ba7517" }),
330
+ /* @__PURE__ */ t("rect", { x: "5", y: "3", width: "6", height: "2", fill: "#ba7517" }),
331
+ /* @__PURE__ */ t("rect", { x: "6", y: "1", width: "4", height: "2", fill: "#ba7517" }),
332
+ /* @__PURE__ */ t("rect", { x: "5", y: "9", width: "6", height: "5", fill: "#e8882a" }),
333
+ /* @__PURE__ */ t("rect", { x: "6", y: "7", width: "4", height: "2", fill: "#e8882a" }),
334
+ /* @__PURE__ */ t("rect", { x: "6", y: "10", width: "4", height: "3", fill: "#e6db74" }),
335
+ /* @__PURE__ */ t("rect", { x: "7", y: "9", width: "2", height: "1", fill: "#e6db74" })
336
+ ] });
337
+ }
338
+ function T() {
339
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
340
+ /* @__PURE__ */ t("rect", { x: "5", y: "2", width: "6", height: "2", fill: "#888780" }),
341
+ /* @__PURE__ */ t("rect", { x: "3", y: "4", width: "8", height: "8", fill: "#888780" }),
342
+ /* @__PURE__ */ t("rect", { x: "5", y: "12", width: "6", height: "2", fill: "#888780" }),
343
+ /* @__PURE__ */ t("rect", { x: "4", y: "3", width: "1", height: "10", fill: "#888780" }),
344
+ /* @__PURE__ */ t("rect", { x: "8", y: "4", width: "4", height: "8", fill: "#1a1a20" }),
345
+ /* @__PURE__ */ t("rect", { x: "7", y: "5", width: "5", height: "6", fill: "#1a1a20" }),
346
+ /* @__PURE__ */ t("rect", { x: "11", y: "2", width: "1", height: "1", fill: "#c8c8d0" }),
347
+ /* @__PURE__ */ t("rect", { x: "13", y: "5", width: "1", height: "1", fill: "#c8c8d0" }),
348
+ /* @__PURE__ */ t("rect", { x: "12", y: "9", width: "1", height: "1", fill: "#c8c8d0" })
349
+ ] });
350
+ }
351
+ function U() {
352
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
353
+ /* @__PURE__ */ t("rect", { x: "5", y: "5", width: "6", height: "6", fill: "#fac775" }),
354
+ /* @__PURE__ */ t("rect", { x: "6", y: "4", width: "4", height: "1", fill: "#fac775" }),
355
+ /* @__PURE__ */ t("rect", { x: "6", y: "11", width: "4", height: "1", fill: "#fac775" }),
356
+ /* @__PURE__ */ t("rect", { x: "4", y: "6", width: "1", height: "4", fill: "#fac775" }),
357
+ /* @__PURE__ */ t("rect", { x: "11", y: "6", width: "1", height: "4", fill: "#fac775" }),
358
+ /* @__PURE__ */ t("rect", { x: "7", y: "1", width: "2", height: "3", fill: "#fac775" }),
359
+ /* @__PURE__ */ t("rect", { x: "7", y: "12", width: "2", height: "3", fill: "#fac775" }),
360
+ /* @__PURE__ */ t("rect", { x: "1", y: "7", width: "3", height: "2", fill: "#fac775" }),
361
+ /* @__PURE__ */ t("rect", { x: "12", y: "7", width: "3", height: "2", fill: "#fac775" }),
362
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "2", height: "2", fill: "#fac775" }),
363
+ /* @__PURE__ */ t("rect", { x: "11", y: "3", width: "2", height: "2", fill: "#fac775" }),
364
+ /* @__PURE__ */ t("rect", { x: "3", y: "11", width: "2", height: "2", fill: "#fac775" }),
365
+ /* @__PURE__ */ t("rect", { x: "11", y: "11", width: "2", height: "2", fill: "#fac775" }),
366
+ /* @__PURE__ */ t("rect", { x: "6", y: "6", width: "4", height: "4", fill: "#fff8e0" })
367
+ ] });
368
+ }
369
+ function V() {
370
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
371
+ /* @__PURE__ */ t("rect", { x: "5", y: "1", width: "6", height: "2", fill: "#7f77dd" }),
372
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "10", height: "2", fill: "#7f77dd" }),
373
+ /* @__PURE__ */ t("rect", { x: "2", y: "5", width: "12", height: "6", fill: "#7f77dd" }),
374
+ /* @__PURE__ */ t("rect", { x: "3", y: "11", width: "10", height: "2", fill: "#7f77dd" }),
375
+ /* @__PURE__ */ t("rect", { x: "5", y: "13", width: "6", height: "2", fill: "#7f77dd" }),
376
+ /* @__PURE__ */ t("rect", { x: "4", y: "4", width: "8", height: "8", fill: "#1a1828" }),
377
+ /* @__PURE__ */ t("rect", { x: "5", y: "3", width: "6", height: "1", fill: "#1a1828" }),
378
+ /* @__PURE__ */ t("rect", { x: "5", y: "12", width: "6", height: "1", fill: "#1a1828" }),
379
+ /* @__PURE__ */ t("rect", { x: "3", y: "5", width: "1", height: "6", fill: "#1a1828" }),
380
+ /* @__PURE__ */ t("rect", { x: "12", y: "5", width: "1", height: "6", fill: "#1a1828" }),
381
+ /* @__PURE__ */ t("rect", { x: "6", y: "6", width: "4", height: "4", fill: "#4a44aa" }),
382
+ /* @__PURE__ */ t("rect", { x: "7", y: "5", width: "2", height: "1", fill: "#4a44aa" }),
383
+ /* @__PURE__ */ t("rect", { x: "7", y: "10", width: "2", height: "1", fill: "#4a44aa" }),
384
+ /* @__PURE__ */ t("rect", { x: "5", y: "7", width: "1", height: "2", fill: "#4a44aa" }),
385
+ /* @__PURE__ */ t("rect", { x: "10", y: "7", width: "1", height: "2", fill: "#4a44aa" }),
386
+ /* @__PURE__ */ t("rect", { x: "7", y: "7", width: "2", height: "2", fill: "#c8c0ff" })
387
+ ] });
388
+ }
389
+ function W() {
390
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
391
+ /* @__PURE__ */ t("rect", { x: "5", y: "1", width: "6", height: "5", fill: "#e8c87a" }),
392
+ /* @__PURE__ */ t("rect", { x: "7", y: "6", width: "2", height: "1", fill: "#d4a85a" }),
393
+ /* @__PURE__ */ t("rect", { x: "3", y: "7", width: "10", height: "5", fill: "#c8873a" }),
394
+ /* @__PURE__ */ t("rect", { x: "1", y: "7", width: "2", height: "4", fill: "#c8873a" }),
395
+ /* @__PURE__ */ t("rect", { x: "13", y: "7", width: "2", height: "4", fill: "#c8873a" }),
396
+ /* @__PURE__ */ t("rect", { x: "4", y: "12", width: "3", height: "3", fill: "#8a5c2a" }),
397
+ /* @__PURE__ */ t("rect", { x: "9", y: "12", width: "3", height: "3", fill: "#8a5c2a" })
398
+ ] });
399
+ }
400
+ function $() {
401
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
402
+ /* @__PURE__ */ t("rect", { x: "2", y: "1", width: "3", height: "4", fill: "#c8a060" }),
403
+ /* @__PURE__ */ t("rect", { x: "11", y: "1", width: "3", height: "4", fill: "#c8a060" }),
404
+ /* @__PURE__ */ t("rect", { x: "3", y: "2", width: "1", height: "2", fill: "#e8886a" }),
405
+ /* @__PURE__ */ t("rect", { x: "12", y: "2", width: "1", height: "2", fill: "#e8886a" }),
406
+ /* @__PURE__ */ t("rect", { x: "3", y: "4", width: "10", height: "6", fill: "#c8a060" }),
407
+ /* @__PURE__ */ t("rect", { x: "5", y: "8", width: "6", height: "3", fill: "#d4b070" }),
408
+ /* @__PURE__ */ t("rect", { x: "7", y: "8", width: "2", height: "1", fill: "#5a3020" }),
409
+ /* @__PURE__ */ t("rect", { x: "4", y: "6", width: "3", height: "2", fill: "#e8a020" }),
410
+ /* @__PURE__ */ t("rect", { x: "9", y: "6", width: "3", height: "2", fill: "#e8a020" }),
411
+ /* @__PURE__ */ t("rect", { x: "5", y: "6", width: "1", height: "2", fill: "#1a1008" }),
412
+ /* @__PURE__ */ t("rect", { x: "10", y: "6", width: "1", height: "2", fill: "#1a1008" }),
413
+ /* @__PURE__ */ t("rect", { x: "3", y: "11", width: "10", height: "4", fill: "#a87840" }),
414
+ /* @__PURE__ */ t("rect", { x: "1", y: "11", width: "2", height: "3", fill: "#a87840" }),
415
+ /* @__PURE__ */ t("rect", { x: "13", y: "11", width: "2", height: "3", fill: "#a87840" })
416
+ ] });
417
+ }
418
+ function E() {
419
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
420
+ /* @__PURE__ */ t("rect", { x: "3", y: "1", width: "2", height: "5", fill: "#cc3030" }),
421
+ /* @__PURE__ */ t("rect", { x: "11", y: "1", width: "2", height: "5", fill: "#cc3030" }),
422
+ /* @__PURE__ */ t("rect", { x: "2", y: "1", width: "2", height: "2", fill: "#cc3030" }),
423
+ /* @__PURE__ */ t("rect", { x: "12", y: "1", width: "2", height: "2", fill: "#cc3030" }),
424
+ /* @__PURE__ */ t("rect", { x: "3", y: "5", width: "10", height: "6", fill: "#7a2a2a" }),
425
+ /* @__PURE__ */ t("rect", { x: "4", y: "7", width: "3", height: "2", fill: "#ff2020" }),
426
+ /* @__PURE__ */ t("rect", { x: "9", y: "7", width: "3", height: "2", fill: "#ff2020" }),
427
+ /* @__PURE__ */ t("rect", { x: "5", y: "7", width: "1", height: "2", fill: "#ff8080" }),
428
+ /* @__PURE__ */ t("rect", { x: "10", y: "7", width: "1", height: "2", fill: "#ff8080" }),
429
+ /* @__PURE__ */ t("rect", { x: "6", y: "11", width: "1", height: "2", fill: "#f0e8d0" }),
430
+ /* @__PURE__ */ t("rect", { x: "9", y: "11", width: "1", height: "2", fill: "#f0e8d0" }),
431
+ /* @__PURE__ */ t("rect", { x: "2", y: "12", width: "12", height: "4", fill: "#5a1a1a" }),
432
+ /* @__PURE__ */ t("rect", { x: "1", y: "12", width: "2", height: "3", fill: "#5a1a1a" }),
433
+ /* @__PURE__ */ t("rect", { x: "13", y: "12", width: "2", height: "3", fill: "#5a1a1a" })
434
+ ] });
435
+ }
436
+ function O() {
437
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
438
+ /* @__PURE__ */ t("rect", { x: "4", y: "1", width: "8", height: "1", fill: "#e6db74" }),
439
+ /* @__PURE__ */ t("rect", { x: "3", y: "2", width: "10", height: "1", fill: "#e6db74" }),
440
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "2", height: "1", fill: "#e6db74" }),
441
+ /* @__PURE__ */ t("rect", { x: "11", y: "3", width: "2", height: "1", fill: "#e6db74" }),
442
+ /* @__PURE__ */ t("rect", { x: "5", y: "4", width: "6", height: "5", fill: "#f4e4c0" }),
443
+ /* @__PURE__ */ t("rect", { x: "6", y: "6", width: "2", height: "1", fill: "#6090e0" }),
444
+ /* @__PURE__ */ t("rect", { x: "10", y: "6", width: "2", height: "1", fill: "#6090e0" }),
445
+ /* @__PURE__ */ t("rect", { x: "1", y: "9", width: "4", height: "5", fill: "#f0f0f8" }),
446
+ /* @__PURE__ */ t("rect", { x: "11", y: "9", width: "4", height: "5", fill: "#f0f0f8" }),
447
+ /* @__PURE__ */ t("rect", { x: "1", y: "9", width: "2", height: "3", fill: "#ffffff" }),
448
+ /* @__PURE__ */ t("rect", { x: "13", y: "9", width: "2", height: "3", fill: "#ffffff" }),
449
+ /* @__PURE__ */ t("rect", { x: "5", y: "9", width: "6", height: "6", fill: "#d4c8f0" }),
450
+ /* @__PURE__ */ t("rect", { x: "4", y: "10", width: "1", height: "4", fill: "#d4c8f0" }),
451
+ /* @__PURE__ */ t("rect", { x: "11", y: "10", width: "1", height: "4", fill: "#d4c8f0" })
452
+ ] });
453
+ }
454
+ function R() {
455
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
456
+ /* @__PURE__ */ t("rect", { x: "6", y: "1", width: "4", height: "2", fill: "#66d9e8" }),
457
+ /* @__PURE__ */ t("rect", { x: "5", y: "3", width: "6", height: "4", fill: "#66d9e8" }),
458
+ /* @__PURE__ */ t("rect", { x: "4", y: "7", width: "8", height: "4", fill: "#66d9e8" }),
459
+ /* @__PURE__ */ t("rect", { x: "5", y: "11", width: "6", height: "2", fill: "#66d9e8" }),
460
+ /* @__PURE__ */ t("rect", { x: "4", y: "13", width: "2", height: "2", fill: "#66d9e8" }),
461
+ /* @__PURE__ */ t("rect", { x: "7", y: "13", width: "2", height: "2", fill: "#66d9e8" }),
462
+ /* @__PURE__ */ t("rect", { x: "10", y: "13", width: "2", height: "2", fill: "#66d9e8" }),
463
+ /* @__PURE__ */ t("rect", { x: "6", y: "4", width: "4", height: "3", fill: "#b0eff6" }),
464
+ /* @__PURE__ */ t("rect", { x: "7", y: "3", width: "2", height: "1", fill: "#b0eff6" }),
465
+ /* @__PURE__ */ t("rect", { x: "6", y: "7", width: "2", height: "2", fill: "#ffffff" }),
466
+ /* @__PURE__ */ t("rect", { x: "9", y: "7", width: "2", height: "2", fill: "#ffffff" }),
467
+ /* @__PURE__ */ t("rect", { x: "7", y: "8", width: "1", height: "1", fill: "#66d9e8" }),
468
+ /* @__PURE__ */ t("rect", { x: "10", y: "8", width: "1", height: "1", fill: "#66d9e8" })
469
+ ] });
470
+ }
471
+ function z() {
472
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
473
+ /* @__PURE__ */ t("rect", { x: "1", y: "11", width: "3", height: "4", fill: "#cfd8e2" }),
474
+ /* @__PURE__ */ t("rect", { x: "6", y: "7", width: "4", height: "8", fill: "#4a4a5a" }),
475
+ /* @__PURE__ */ t("rect", { x: "12", y: "4", width: "3", height: "11", fill: "#4a4a5a" }),
476
+ /* @__PURE__ */ t("rect", { x: "1", y: "15", width: "14", height: "1", fill: "#5a5a6a" }),
477
+ /* @__PURE__ */ t("rect", { x: "1", y: "8", width: "1", height: "2", fill: "#e6db74" }),
478
+ /* @__PURE__ */ t("rect", { x: "3", y: "10", width: "1", height: "2", fill: "#e6db74" }),
479
+ /* @__PURE__ */ t("rect", { x: "2", y: "10", width: "1", height: "1", fill: "#e6db74" })
480
+ ] });
481
+ }
482
+ function G() {
483
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
484
+ /* @__PURE__ */ t("rect", { x: "1", y: "11", width: "3", height: "4", fill: "#4a4a5a" }),
485
+ /* @__PURE__ */ t("rect", { x: "6", y: "7", width: "4", height: "8", fill: "#cfd8e2" }),
486
+ /* @__PURE__ */ t("rect", { x: "12", y: "4", width: "3", height: "11", fill: "#4a4a5a" }),
487
+ /* @__PURE__ */ t("rect", { x: "1", y: "15", width: "14", height: "1", fill: "#5a5a6a" }),
488
+ /* @__PURE__ */ t("rect", { x: "6", y: "4", width: "1", height: "2", fill: "#e6db74" }),
489
+ /* @__PURE__ */ t("rect", { x: "9", y: "4", width: "1", height: "2", fill: "#e6db74" }),
490
+ /* @__PURE__ */ t("rect", { x: "7", y: "5", width: "2", height: "1", fill: "#e6db74" })
491
+ ] });
492
+ }
493
+ function M() {
494
+ return /* @__PURE__ */ i("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
495
+ /* @__PURE__ */ t("rect", { x: "1", y: "11", width: "3", height: "4", fill: "#4a4a5a" }),
496
+ /* @__PURE__ */ t("rect", { x: "6", y: "7", width: "4", height: "8", fill: "#4a4a5a" }),
497
+ /* @__PURE__ */ t("rect", { x: "12", y: "4", width: "3", height: "11", fill: "#cfd8e2" }),
498
+ /* @__PURE__ */ t("rect", { x: "1", y: "15", width: "14", height: "1", fill: "#5a5a6a" }),
499
+ /* @__PURE__ */ t("rect", { x: "13", y: "1", width: "1", height: "2", fill: "#e6db74" }),
500
+ /* @__PURE__ */ t("rect", { x: "14", y: "1", width: "1", height: "3", fill: "#e6db74" }),
501
+ /* @__PURE__ */ t("rect", { x: "13", y: "3", width: "1", height: "1", fill: "#e6db74" })
502
+ ] });
503
+ }
504
+ const o = {
505
+ /* Weapons (6) */
506
+ sword: y,
507
+ staff: L,
508
+ bow: _,
509
+ katar: q,
510
+ book: D,
511
+ hammer: A,
512
+ /* Elements (8) */
513
+ neutral: C,
514
+ earth: j,
515
+ wind: F,
516
+ water: H,
517
+ fire: P,
518
+ light: U,
519
+ dark: T,
520
+ void: V,
521
+ /* Races (5) */
522
+ human: W,
523
+ beast: $,
524
+ demon: E,
525
+ angel: O,
526
+ spirit: R,
527
+ /* Sizes (3) */
528
+ small: z,
529
+ medium: G,
530
+ large: M
531
+ }, J = Object.keys(o);
532
+ function u({ name: h = "sword", size: e = 22, style: c }) {
533
+ const l = o[h] || y;
534
+ return /* @__PURE__ */ t("span", { style: {
535
+ display: "inline-flex",
536
+ alignItems: "center",
537
+ justifyContent: "center",
538
+ width: e,
539
+ height: e,
540
+ imageRendering: "pixelated",
541
+ flexShrink: 0,
542
+ ...c
543
+ }, children: /* @__PURE__ */ t(l, {}) });
544
+ }
545
+ u.icons = J;
546
+ const ht = u;
547
+ function K() {
548
+ return /* @__PURE__ */ t(
549
+ "svg",
550
+ {
551
+ viewBox: "0 0 12 8",
552
+ width: 12,
553
+ height: 12,
554
+ "aria-hidden": "true",
555
+ fill: "none",
556
+ stroke: "currentColor",
557
+ strokeWidth: 2,
558
+ strokeLinecap: "round",
559
+ strokeLinejoin: "round",
560
+ children: /* @__PURE__ */ t("polyline", { points: "1,1.5 6,6.5 11,1.5" })
561
+ }
562
+ );
563
+ }
564
+ function lt({ href: h, label: e, className: c, children: l, ...d }) {
565
+ return /* @__PURE__ */ t(
566
+ "a",
567
+ {
568
+ ...d,
569
+ href: h,
570
+ "aria-label": e,
571
+ className: a("ns-section-arrow", c),
572
+ children: l || /* @__PURE__ */ t(K, {})
573
+ }
574
+ );
575
+ }
576
+ export {
577
+ Y as Button,
578
+ Z as FeatureCard,
579
+ tt as HUDBar,
580
+ it as HUDDivider,
581
+ ht as HUDIcon,
582
+ et as HUDLabel,
583
+ X as QuestCard,
584
+ u as RPGIcon,
585
+ lt as SectionArrow,
586
+ J as icons
587
+ };
@@ -8,5 +8,6 @@
8
8
  @import './tokens/typography.css';
9
9
  @import './tokens/spacing.css';
10
10
  @import './tokens/motion.css';
11
+ @import './tokens/hud.css';
11
12
  @import './tokens/base.css';
12
13
  @import './components/primitives.css';
@@ -0,0 +1 @@
1
+ { "type": "commonjs" }