@burdenoff/microfe-i18n 2026.1115.1 → 2026.1120.1

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.
@@ -5,10 +5,10 @@ import { useTr as r } from "../hooks/useTr.js";
5
5
  import { useI18nStore as i } from "../store/i18nStore.js";
6
6
  import { useState as a } from "react";
7
7
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
- import { CTAOverflowMenu as c, EmphasisPanel as l, GlassCard as u, GradientText as d, IllustratedEmptyState as f, PagePurpose as p } from "@burdenoff/fe-libs/ui";
8
+ import { CTAOverflowMenu as c, EmphasisPanel as l, GlassCard as u, GradientText as d, IllustratedEmptyState as f, PagePurpose as p, ThemedSelect as m } from "@burdenoff/fe-libs/ui";
9
9
  // src/i18n/pages/LanguagesListPage.tsx
10
- var m = () => {
11
- let m = r(), { languageFilter: h, updateLanguageFilter: g, setSelectedLanguage: _ } = i(), [v, y] = a(h.search), b = [{
10
+ var h = () => {
11
+ let h = r(), { languageFilter: g, updateLanguageFilter: _, setSelectedLanguage: v } = i(), [y, b] = a(g.search), x = [{
12
12
  id: "1",
13
13
  code: "en",
14
14
  name: "English",
@@ -24,9 +24,9 @@ var m = () => {
24
24
  direction: "ltr",
25
25
  status: "active",
26
26
  isDefault: !1
27
- }], x = (e) => {
28
- y(e), g({ search: e });
29
- }, S = "rounded-lg border border-border-seam bg-bg-elevated px-3 py-2.5 text-sm text-text-primary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary", C = (v ?? "").trim().length > 0 || h.status !== "all" || h.direction !== "all", w = b.filter((e) => e.status === "active").length, T = b.find((e) => e.isDefault);
27
+ }], S = (e) => {
28
+ b(e), _({ search: e });
29
+ }, C = "rounded-lg border border-border-seam bg-bg-elevated px-3 py-2.5 text-sm text-text-primary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary", w = (y ?? "").trim().length > 0 || g.status !== "all" || g.direction !== "all", T = x.filter((e) => e.status === "active").length, E = x.find((e) => e.isDefault);
30
30
  return /* @__PURE__ */ s("div", {
31
31
  className: "min-h-full w-full bg-bg-surface",
32
32
  children: [/* @__PURE__ */ o("div", {
@@ -43,14 +43,14 @@ var m = () => {
43
43
  })
44
44
  }), /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ o("h1", {
45
45
  className: "text-2xl font-bold tracking-tight text-text-primary",
46
- children: /* @__PURE__ */ o(d, { children: m("i18n.languages.title", "Languages") })
46
+ children: /* @__PURE__ */ o(d, { children: h("i18n.languages.title", "Languages") })
47
47
  }), /* @__PURE__ */ o("p", {
48
48
  className: "mt-0.5 text-sm text-text-secondary",
49
- children: m("i18n.languages.subtitle", "Configure the locales your products ship in")
49
+ children: h("i18n.languages.subtitle", "Configure the locales your products ship in")
50
50
  })] })]
51
51
  }), /* @__PURE__ */ o(c, {
52
52
  primary: {
53
- label: m("i18n.languages.actions.add", "Add Language"),
53
+ label: h("i18n.languages.actions.add", "Add Language"),
54
54
  onSelect: () => void 0,
55
55
  icon: /* @__PURE__ */ o(t, {
56
56
  className: "size-4",
@@ -63,7 +63,7 @@ var m = () => {
63
63
  }), /* @__PURE__ */ s("div", {
64
64
  className: "mx-auto max-w-screen-xl space-y-6 px-6 py-8 sm:px-8 lg:px-10",
65
65
  children: [
66
- /* @__PURE__ */ o(p, { children: m("i18n.languages.purpose", "This is the master list of every locale your products can ship in — the set of languages translators can work in and users can switch to. Add a language here before any of its translations can be entered, set which one is the default fallback, and configure its formatting and text direction.") }),
66
+ /* @__PURE__ */ o(p, { children: h("i18n.languages.purpose", "This is the master list of every locale your products can ship in — the set of languages translators can work in and users can switch to. Add a language here before any of its translations can be entered, set which one is the default fallback, and configure its formatting and text direction.") }),
67
67
  /* @__PURE__ */ s(l, {
68
68
  className: "flex flex-col gap-4 sm:flex-row sm:items-center",
69
69
  children: [/* @__PURE__ */ s("div", {
@@ -76,10 +76,10 @@ var m = () => {
76
76
  })
77
77
  }), /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ o("p", {
78
78
  className: "text-sm font-medium text-text-secondary",
79
- children: m("i18n.languages.summary.label", "Languages configured")
79
+ children: h("i18n.languages.summary.label", "Languages configured")
80
80
  }), /* @__PURE__ */ o("p", {
81
81
  className: "text-4xl font-bold tracking-tight text-text-primary tabular-nums",
82
- children: b.length
82
+ children: x.length
83
83
  })] })]
84
84
  }), /* @__PURE__ */ s("div", {
85
85
  className: "flex flex-wrap gap-3 sm:justify-end",
@@ -88,10 +88,10 @@ var m = () => {
88
88
  children: [/* @__PURE__ */ o("span", {
89
89
  className: "size-1.5 rounded-full bg-status-success-text motion-safe:animate-vc-glow-pulse",
90
90
  "aria-hidden": "true"
91
- }), m("i18n.languages.summary.active", "{{count}} active", { count: w })]
92
- }), T && /* @__PURE__ */ o("div", {
91
+ }), h("i18n.languages.summary.active", "{{count}} active", { count: T })]
92
+ }), E && /* @__PURE__ */ o("div", {
93
93
  className: "rounded-lg border border-border-seam bg-bg-sunken/60 px-3 py-1.5 text-xs text-text-secondary",
94
- children: m("i18n.languages.summary.default", "Default: {{name}}", { name: T.name })
94
+ children: h("i18n.languages.summary.default", "Default: {{name}}", { name: E.name })
95
95
  })]
96
96
  })]
97
97
  }),
@@ -105,69 +105,70 @@ var m = () => {
105
105
  "aria-hidden": "true"
106
106
  }), /* @__PURE__ */ o("input", {
107
107
  type: "text",
108
- "aria-label": m("i18n.languages.filters.searchAriaLabel", "Search languages"),
109
- placeholder: m("i18n.languages.filters.searchPlaceholder", "Search languages..."),
110
- value: v,
111
- onChange: (e) => x(e.target.value),
108
+ "aria-label": h("i18n.languages.filters.searchAriaLabel", "Search languages"),
109
+ placeholder: h("i18n.languages.filters.searchPlaceholder", "Search languages..."),
110
+ value: y,
111
+ onChange: (e) => S(e.target.value),
112
112
  className: "w-full rounded-lg border border-border-seam bg-bg-elevated py-2.5 pl-10 pr-4 text-sm text-text-primary placeholder:text-text-tertiary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]"
113
113
  })]
114
114
  }),
115
- /* @__PURE__ */ s("select", {
116
- "aria-label": m("i18n.languages.filters.status.label", "Filter by status"),
117
- value: h.status,
118
- onChange: (e) => g({ status: e.target.value }),
119
- className: S,
115
+ /* @__PURE__ */ s(m, {
116
+ "aria-label": h("i18n.languages.filters.status.label", "Filter by status"),
117
+ value: g.status,
118
+ onChange: (e) => _({ status: e.target.value }),
119
+ className: C,
120
120
  children: [
121
121
  /* @__PURE__ */ o("option", {
122
122
  value: "all",
123
- children: m("i18n.languages.filters.status.all", "All Status")
123
+ children: h("i18n.languages.filters.status.all", "All Status")
124
124
  }),
125
125
  /* @__PURE__ */ o("option", {
126
126
  value: "active",
127
- children: m("i18n.shared.status.active", "Active")
127
+ children: h("i18n.shared.status.active", "Active")
128
128
  }),
129
129
  /* @__PURE__ */ o("option", {
130
130
  value: "inactive",
131
- children: m("i18n.shared.status.inactive", "Inactive")
131
+ children: h("i18n.shared.status.inactive", "Inactive")
132
132
  })
133
133
  ]
134
134
  }),
135
- /* @__PURE__ */ s("select", {
136
- "aria-label": m("i18n.languages.filters.direction.label", "Filter by direction"),
137
- value: h.direction,
138
- onChange: (e) => g({ direction: e.target.value }),
139
- className: S,
135
+ /* @__PURE__ */ s(m, {
136
+ "aria-label": h("i18n.languages.filters.direction.label", "Filter by direction"),
137
+ value: g.direction,
138
+ onChange: (e) => _({ direction: e.target.value }),
139
+ className: C,
140
140
  children: [
141
141
  /* @__PURE__ */ o("option", {
142
142
  value: "all",
143
- children: m("i18n.languages.filters.direction.all", "All Directions")
143
+ children: h("i18n.languages.filters.direction.all", "All Directions")
144
144
  }),
145
145
  /* @__PURE__ */ o("option", {
146
146
  value: "ltr",
147
- children: m("i18n.shared.direction.ltr", "LTR")
147
+ children: h("i18n.shared.direction.ltr", "LTR")
148
148
  }),
149
149
  /* @__PURE__ */ o("option", {
150
150
  value: "rtl",
151
- children: m("i18n.shared.direction.rtl", "RTL")
151
+ children: h("i18n.shared.direction.rtl", "RTL")
152
152
  })
153
153
  ]
154
154
  })
155
155
  ]
156
156
  }),
157
- b.length === 0 && /* @__PURE__ */ o(f, {
158
- illustration: C ? "empty-search" : "empty-data",
159
- title: C ? m("i18n.languages.empty.search.title", "No languages match") : m("i18n.languages.empty.title", "No languages yet"),
160
- description: C ? m("i18n.languages.empty.search.description", "Adjust your filters to see more languages.") : m("i18n.languages.empty.description", "Add a language to begin localizing your products.")
157
+ x.length === 0 && /* @__PURE__ */ o(f, {
158
+ illustration: w ? "empty-search" : "empty-data",
159
+ title: w ? h("i18n.languages.empty.search.title", "No languages match") : h("i18n.languages.empty.title", "No languages yet"),
160
+ description: w ? h("i18n.languages.empty.search.description", "Adjust your filters to see more languages.") : h("i18n.languages.empty.description", "Add a language to begin localizing your products."),
161
+ kind: (y ?? "").trim().length > 0 ? "no-results" : w ? "filtered" : "first-use"
161
162
  }),
162
- b.length > 0 && /* @__PURE__ */ o("div", {
163
+ x.length > 0 && /* @__PURE__ */ o("div", {
163
164
  className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
164
- children: b.map((e, t) => /* @__PURE__ */ o(u, {
165
+ children: x.map((e, t) => /* @__PURE__ */ o(u, {
165
166
  treatment: "metric",
166
167
  glow: t === 0,
167
168
  className: "border-border-seam",
168
169
  children: /* @__PURE__ */ o("button", {
169
170
  type: "button",
170
- onClick: () => _(e),
171
+ onClick: () => v(e),
171
172
  className: "block w-full cursor-pointer rounded-[inherit] p-5 text-left focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]",
172
173
  children: /* @__PURE__ */ s("div", {
173
174
  className: "flex items-start justify-between gap-3",
@@ -181,7 +182,7 @@ var m = () => {
181
182
  children: e.name
182
183
  }), e.isDefault && /* @__PURE__ */ o("span", {
183
184
  className: "rounded-full bg-action-primary-bg/10 px-2 py-0.5 text-xs font-medium text-primary",
184
- children: m("i18n.languages.badges.default", "Default")
185
+ children: h("i18n.languages.badges.default", "Default")
185
186
  })]
186
187
  }),
187
188
  /* @__PURE__ */ o("p", {
@@ -191,19 +192,19 @@ var m = () => {
191
192
  /* @__PURE__ */ s("div", {
192
193
  className: "mt-2 flex items-center gap-3 text-xs text-text-tertiary tabular-nums",
193
194
  children: [
194
- /* @__PURE__ */ o("span", { children: m("i18n.languages.card.code", "Code: {{code}}", { code: e.code }) }),
195
+ /* @__PURE__ */ o("span", { children: h("i18n.languages.card.code", "Code: {{code}}", { code: e.code }) }),
195
196
  /* @__PURE__ */ o("span", {
196
197
  "aria-hidden": "true",
197
198
  children: "•"
198
199
  }),
199
- /* @__PURE__ */ o("span", { children: e.direction === "ltr" ? m("i18n.shared.direction.ltr", "LTR") : m("i18n.shared.direction.rtl", "RTL") })
200
+ /* @__PURE__ */ o("span", { children: e.direction === "ltr" ? h("i18n.shared.direction.ltr", "LTR") : h("i18n.shared.direction.rtl", "RTL") })
200
201
  ]
201
202
  })
202
203
  ]
203
204
  }), /* @__PURE__ */ o("span", {
204
205
  className: `mt-1 size-2 rounded-full ${e.status === "active" ? "bg-status-success-text motion-safe:animate-vc-glow-pulse" : "bg-text-tertiary"}`,
205
- title: e.status === "active" ? m("i18n.shared.status.active", "Active") : m("i18n.shared.status.inactive", "Inactive"),
206
- "aria-label": e.status === "active" ? m("i18n.shared.status.active", "Active") : m("i18n.shared.status.inactive", "Inactive")
206
+ title: e.status === "active" ? h("i18n.shared.status.active", "Active") : h("i18n.shared.status.inactive", "Inactive"),
207
+ "aria-label": e.status === "active" ? h("i18n.shared.status.active", "Active") : h("i18n.shared.status.inactive", "Inactive")
207
208
  })]
208
209
  })
209
210
  })
@@ -213,4 +214,4 @@ var m = () => {
213
214
  })]
214
215
  });
215
216
  };
216
- export { m as LanguagesListPage };
217
+ export { h as LanguagesListPage };
@@ -134,7 +134,8 @@ var _ = () => {
134
134
  S.length === 0 && /* @__PURE__ */ c(h, {
135
135
  illustration: w ? "empty-search" : "empty-data",
136
136
  title: w ? _("i18n.products.empty.search.title", "No products found") : _("i18n.products.empty.title", "No products yet"),
137
- description: w ? _("i18n.products.empty.search.description", "Try a different search term to find a product.") : _("i18n.products.empty.description", "Add your first product to start managing translations.")
137
+ description: w ? _("i18n.products.empty.search.description", "Try a different search term to find a product.") : _("i18n.products.empty.description", "Add your first product to start managing translations."),
138
+ kind: w ? "no-results" : "first-use"
138
139
  }),
139
140
  S.length > 0 && /* @__PURE__ */ c("div", {
140
141
  className: "space-y-4",
@@ -6,10 +6,10 @@ import { useTr as i } from "../hooks/useTr.js";
6
6
  import { useI18nStore as a } from "../store/i18nStore.js";
7
7
  import { useNavigate as o } from "react-router";
8
8
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
9
- import { CTAOverflowMenu as l, EmphasisPanel as u, GlassCard as d, GradientText as f, NextSteps as p, PagePurpose as m, ShowMore as h } from "@burdenoff/fe-libs/ui";
9
+ import { CTAOverflowMenu as l, EmphasisPanel as u, GlassCard as d, GradientText as f, NextSteps as p, PagePurpose as m, ShowMore as h, ThemedSelect as g } from "@burdenoff/fe-libs/ui";
10
10
  // src/i18n/pages/ProgressDashboardPage.tsx
11
- var g = () => {
12
- let g = i(), { progressView: _, updateProgressView: v } = a(), y = o(), b = [
11
+ var _ = () => {
12
+ let _ = i(), { progressView: v, updateProgressView: y } = a(), b = o(), x = [
13
13
  {
14
14
  languageKey: "i18n.shared.language.en",
15
15
  languageFallback: "English (en)",
@@ -50,7 +50,7 @@ var g = () => {
50
50
  translated: 187,
51
51
  percentage: 15
52
52
  }
53
- ], x = [
53
+ ], S = [
54
54
  {
55
55
  statusKey: "i18n.progress.status.published",
56
56
  statusFallback: "Published",
@@ -86,32 +86,32 @@ var g = () => {
86
86
  percentage: 32,
87
87
  color: "bg-status-danger-text"
88
88
  }
89
- ], S = [
89
+ ], C = [
90
90
  {
91
91
  key: "totalKeys",
92
- label: g("i18n.progress.stats.totalKeys", "Total Keys"),
92
+ label: _("i18n.progress.stats.totalKeys", "Total Keys"),
93
93
  value: "6,225",
94
94
  valueClass: "text-text-primary"
95
95
  },
96
96
  {
97
97
  key: "translated",
98
- label: g("i18n.progress.stats.translated", "Translated"),
98
+ label: _("i18n.progress.stats.translated", "Translated"),
99
99
  value: "3,735",
100
100
  valueClass: "text-status-success-text"
101
101
  },
102
102
  {
103
103
  key: "overallCoverage",
104
- label: g("i18n.progress.stats.overallCoverage", "Overall Coverage"),
104
+ label: _("i18n.progress.stats.overallCoverage", "Overall Coverage"),
105
105
  value: "68%",
106
106
  valueClass: "text-primary"
107
107
  },
108
108
  {
109
109
  key: "languages",
110
- label: g("i18n.progress.stats.languages", "Languages"),
110
+ label: _("i18n.progress.stats.languages", "Languages"),
111
111
  value: "5",
112
112
  valueClass: "text-text-primary"
113
113
  }
114
- ], C = "rounded-lg border border-border-seam bg-bg-elevated px-3 py-2 text-sm text-text-primary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary";
114
+ ], w = "rounded-lg border border-border-seam bg-bg-elevated px-3 py-2 text-sm text-text-primary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary";
115
115
  return /* @__PURE__ */ c("div", {
116
116
  className: "min-h-full w-full bg-bg-surface",
117
117
  children: [/* @__PURE__ */ s("div", {
@@ -128,14 +128,14 @@ var g = () => {
128
128
  })
129
129
  }), /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("h1", {
130
130
  className: "text-2xl font-bold tracking-tight text-text-primary",
131
- children: /* @__PURE__ */ s(f, { children: g("i18n.progress.title", "Translation Progress") })
131
+ children: /* @__PURE__ */ s(f, { children: _("i18n.progress.title", "Translation Progress") })
132
132
  }), /* @__PURE__ */ s("p", {
133
133
  className: "mt-0.5 text-sm text-text-secondary",
134
- children: g("i18n.progress.subtitle", "Coverage and status across every locale")
134
+ children: _("i18n.progress.subtitle", "Coverage and status across every locale")
135
135
  })] })]
136
136
  }), /* @__PURE__ */ s(l, {
137
137
  primary: {
138
- label: g("i18n.progress.actions.export", "Export"),
138
+ label: _("i18n.progress.actions.export", "Export"),
139
139
  onSelect: () => void 0,
140
140
  icon: /* @__PURE__ */ s(t, {
141
141
  className: "size-4",
@@ -143,7 +143,7 @@ var g = () => {
143
143
  })
144
144
  },
145
145
  actions: [{
146
- label: g("i18n.progress.actions.generateReport", "Generate Report"),
146
+ label: _("i18n.progress.actions.generateReport", "Generate Report"),
147
147
  onSelect: () => void 0,
148
148
  icon: /* @__PURE__ */ s(n, {
149
149
  className: "size-4",
@@ -155,27 +155,27 @@ var g = () => {
155
155
  }), /* @__PURE__ */ c("div", {
156
156
  className: "mx-auto max-w-screen-xl space-y-8 px-6 py-8 sm:px-8 lg:px-10",
157
157
  children: [
158
- /* @__PURE__ */ s(m, { children: g("i18n.progress.purpose", "See at a glance how complete your localization is — what share of keys are translated, approved, and published for each language and status. Use it to spot the locales that are lagging, decide where translators should focus next, and confirm you are ready to ship a language before release.") }),
158
+ /* @__PURE__ */ s(m, { children: _("i18n.progress.purpose", "See at a glance how complete your localization is — what share of keys are translated, approved, and published for each language and status. Use it to spot the locales that are lagging, decide where translators should focus next, and confirm you are ready to ship a language before release.") }),
159
159
  /* @__PURE__ */ s(p, {
160
160
  storageKey: "i18n-progress",
161
161
  steps: [
162
162
  {
163
163
  id: "focus-language",
164
- label: g("i18n.progress.next.groupByLanguage", "Group coverage by language"),
165
- description: g("i18n.progress.next.groupByLanguage.desc", "Find the locales that are furthest behind so you can prioritise them."),
166
- onClick: () => v({ groupBy: "language" })
164
+ label: _("i18n.progress.next.groupByLanguage", "Group coverage by language"),
165
+ description: _("i18n.progress.next.groupByLanguage.desc", "Find the locales that are furthest behind so you can prioritise them."),
166
+ onClick: () => y({ groupBy: "language" })
167
167
  },
168
168
  {
169
169
  id: "review-status",
170
- label: g("i18n.progress.next.reviewQueue", "Clear the pending review backlog"),
171
- description: g("i18n.progress.next.reviewQueue.desc", "Approve translations waiting in the queue to lift your published coverage."),
172
- onClick: () => y("../review")
170
+ label: _("i18n.progress.next.reviewQueue", "Clear the pending review backlog"),
171
+ description: _("i18n.progress.next.reviewQueue.desc", "Approve translations waiting in the queue to lift your published coverage."),
172
+ onClick: () => b("../review")
173
173
  },
174
174
  {
175
175
  id: "export-snapshot",
176
- label: g("i18n.progress.next.export", "Export a coverage snapshot"),
177
- description: g("i18n.progress.next.export.desc", "Download the current numbers to share progress with your team."),
178
- onClick: () => y("../export")
176
+ label: _("i18n.progress.next.export", "Export a coverage snapshot"),
177
+ description: _("i18n.progress.next.export.desc", "Download the current numbers to share progress with your team."),
178
+ onClick: () => b("../export")
179
179
  }
180
180
  ]
181
181
  }),
@@ -191,7 +191,7 @@ var g = () => {
191
191
  })
192
192
  }), /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("p", {
193
193
  className: "text-sm font-medium text-text-secondary",
194
- children: g("i18n.progress.stats.overallCoverage", "Overall Coverage")
194
+ children: _("i18n.progress.stats.overallCoverage", "Overall Coverage")
195
195
  }), /* @__PURE__ */ s("p", {
196
196
  className: "text-4xl font-bold tracking-tight text-text-primary tabular-nums",
197
197
  children: "68%"
@@ -200,19 +200,19 @@ var g = () => {
200
200
  className: "flex flex-wrap gap-3 sm:justify-end",
201
201
  children: [/* @__PURE__ */ s("div", {
202
202
  className: "rounded-lg border border-border-seam bg-bg-sunken/60 px-3 py-1.5 text-xs text-text-secondary tabular-nums",
203
- children: g("i18n.progress.summary.translatedOfTotal", "3,735 / 6,225 keys")
203
+ children: _("i18n.progress.summary.translatedOfTotal", "3,735 / 6,225 keys")
204
204
  }), /* @__PURE__ */ c("div", {
205
205
  className: "flex items-center gap-1.5 rounded-lg border border-border-seam bg-bg-sunken/60 px-3 py-1.5 text-xs text-text-secondary",
206
206
  children: [/* @__PURE__ */ s("span", {
207
207
  className: "size-1.5 rounded-full bg-status-success-text motion-safe:animate-vc-glow-pulse",
208
208
  "aria-hidden": "true"
209
- }), g("i18n.progress.summary.languages", "5 languages")]
209
+ }), _("i18n.progress.summary.languages", "5 languages")]
210
210
  })]
211
211
  })]
212
212
  }),
213
213
  /* @__PURE__ */ s("div", {
214
214
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
215
- children: S.map((e, t) => /* @__PURE__ */ c(d, {
215
+ children: C.map((e, t) => /* @__PURE__ */ c(d, {
216
216
  treatment: "metric",
217
217
  glow: t === 2,
218
218
  className: "border-border-seam p-5",
@@ -227,55 +227,55 @@ var g = () => {
227
227
  }),
228
228
  /* @__PURE__ */ s(h, {
229
229
  collapsedHeight: 0,
230
- label: g("i18n.progress.controls.show", "Display options"),
230
+ label: _("i18n.progress.controls.show", "Display options"),
231
231
  children: /* @__PURE__ */ c("div", {
232
232
  className: "flex flex-col gap-4 pt-4 sm:flex-row sm:items-end",
233
233
  children: [
234
234
  /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("label", {
235
235
  htmlFor: "progress-group-by",
236
236
  className: "mb-1 block text-xs font-medium text-text-tertiary",
237
- children: g("i18n.progress.filters.groupBy", "Group By")
238
- }), /* @__PURE__ */ c("select", {
237
+ children: _("i18n.progress.filters.groupBy", "Group By")
238
+ }), /* @__PURE__ */ c(g, {
239
239
  id: "progress-group-by",
240
- value: _.groupBy,
241
- onChange: (e) => v({ groupBy: e.target.value }),
242
- className: C,
240
+ value: v.groupBy,
241
+ onChange: (e) => y({ groupBy: e.target.value }),
242
+ className: w,
243
243
  children: [
244
244
  /* @__PURE__ */ s("option", {
245
245
  value: "language",
246
- children: g("i18n.progress.filters.groupBy.language", "Language")
246
+ children: _("i18n.progress.filters.groupBy.language", "Language")
247
247
  }),
248
248
  /* @__PURE__ */ s("option", {
249
249
  value: "product",
250
- children: g("i18n.progress.filters.groupBy.product", "Product")
250
+ children: _("i18n.progress.filters.groupBy.product", "Product")
251
251
  }),
252
252
  /* @__PURE__ */ s("option", {
253
253
  value: "module",
254
- children: g("i18n.progress.filters.groupBy.module", "Module")
254
+ children: _("i18n.progress.filters.groupBy.module", "Module")
255
255
  })
256
256
  ]
257
257
  })] }),
258
258
  /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("label", {
259
259
  htmlFor: "progress-chart-type",
260
260
  className: "mb-1 block text-xs font-medium text-text-tertiary",
261
- children: g("i18n.progress.filters.chartType", "Chart Type")
262
- }), /* @__PURE__ */ c("select", {
261
+ children: _("i18n.progress.filters.chartType", "Chart Type")
262
+ }), /* @__PURE__ */ c(g, {
263
263
  id: "progress-chart-type",
264
- value: _.chartType,
265
- onChange: (e) => v({ chartType: e.target.value }),
266
- className: C,
264
+ value: v.chartType,
265
+ onChange: (e) => y({ chartType: e.target.value }),
266
+ className: w,
267
267
  children: [
268
268
  /* @__PURE__ */ s("option", {
269
269
  value: "bar",
270
- children: g("i18n.progress.filters.chartType.bar", "Bar Chart")
270
+ children: _("i18n.progress.filters.chartType.bar", "Bar Chart")
271
271
  }),
272
272
  /* @__PURE__ */ s("option", {
273
273
  value: "pie",
274
- children: g("i18n.progress.filters.chartType.pie", "Pie Chart")
274
+ children: _("i18n.progress.filters.chartType.pie", "Pie Chart")
275
275
  }),
276
276
  /* @__PURE__ */ s("option", {
277
277
  value: "heatmap",
278
- children: g("i18n.progress.filters.chartType.heatmap", "Heatmap")
278
+ children: _("i18n.progress.filters.chartType.heatmap", "Heatmap")
279
279
  })
280
280
  ]
281
281
  })] }),
@@ -284,14 +284,14 @@ var g = () => {
284
284
  children: [/* @__PURE__ */ s("input", {
285
285
  type: "checkbox",
286
286
  id: "show-percentages",
287
- "aria-label": g("i18n.progress.filters.showPercentages", "Show Percentages"),
288
- checked: _.showPercentages,
289
- onChange: (e) => v({ showPercentages: e.target.checked }),
287
+ "aria-label": _("i18n.progress.filters.showPercentages", "Show Percentages"),
288
+ checked: v.showPercentages,
289
+ onChange: (e) => y({ showPercentages: e.target.checked }),
290
290
  className: "size-4 rounded border-border-seam text-primary focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]"
291
291
  }), /* @__PURE__ */ s("label", {
292
292
  htmlFor: "show-percentages",
293
293
  className: "text-sm text-text-primary",
294
- children: g("i18n.progress.filters.showPercentages", "Show Percentages")
294
+ children: _("i18n.progress.filters.showPercentages", "Show Percentages")
295
295
  })]
296
296
  })
297
297
  ]
@@ -302,14 +302,14 @@ var g = () => {
302
302
  className: "border-border-seam p-6",
303
303
  children: [/* @__PURE__ */ s("h2", {
304
304
  className: "mb-4 text-lg font-semibold text-text-primary",
305
- children: g("i18n.progress.sections.coverageByLanguage", "Coverage by Language")
305
+ children: _("i18n.progress.sections.coverageByLanguage", "Coverage by Language")
306
306
  }), /* @__PURE__ */ s("div", {
307
307
  className: "space-y-3",
308
- children: b.map((e) => /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ c("div", {
308
+ children: x.map((e) => /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ c("div", {
309
309
  className: "mb-1 flex items-center justify-between text-sm",
310
310
  children: [/* @__PURE__ */ s("span", {
311
311
  className: "text-text-primary",
312
- children: g(e.languageKey, e.languageFallback)
312
+ children: _(e.languageKey, e.languageFallback)
313
313
  }), /* @__PURE__ */ c("span", {
314
314
  className: "text-text-tertiary tabular-nums",
315
315
  children: [
@@ -327,7 +327,7 @@ var g = () => {
327
327
  "aria-valuenow": e.percentage,
328
328
  "aria-valuemin": 0,
329
329
  "aria-valuemax": 100,
330
- "aria-label": g(e.languageKey, e.languageFallback),
330
+ "aria-label": _(e.languageKey, e.languageFallback),
331
331
  children: /* @__PURE__ */ s("div", {
332
332
  className: "h-full rounded-full bg-action-primary-bg shadow-[var(--shadow-glow)] transition-all",
333
333
  style: { width: `${e.percentage}%` }
@@ -340,14 +340,14 @@ var g = () => {
340
340
  className: "border-border-seam p-6",
341
341
  children: [/* @__PURE__ */ s("h2", {
342
342
  className: "mb-4 text-lg font-semibold text-text-primary",
343
- children: g("i18n.progress.sections.byStatus", "By Status")
343
+ children: _("i18n.progress.sections.byStatus", "By Status")
344
344
  }), /* @__PURE__ */ s("div", {
345
345
  className: "space-y-3",
346
- children: x.map((e) => /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ c("div", {
346
+ children: S.map((e) => /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ c("div", {
347
347
  className: "mb-1 flex items-center justify-between text-sm",
348
348
  children: [/* @__PURE__ */ s("span", {
349
349
  className: "text-text-primary",
350
- children: g(e.statusKey, e.statusFallback)
350
+ children: _(e.statusKey, e.statusFallback)
351
351
  }), /* @__PURE__ */ c("span", {
352
352
  className: "text-text-tertiary tabular-nums",
353
353
  children: [
@@ -363,7 +363,7 @@ var g = () => {
363
363
  "aria-valuenow": e.percentage,
364
364
  "aria-valuemin": 0,
365
365
  "aria-valuemax": 100,
366
- "aria-label": g(e.statusKey, e.statusFallback),
366
+ "aria-label": _(e.statusKey, e.statusFallback),
367
367
  children: /* @__PURE__ */ s("div", {
368
368
  className: `h-full rounded-full transition-all ${e.color}`,
369
369
  style: { width: `${e.percentage}%` }
@@ -375,4 +375,4 @@ var g = () => {
375
375
  })]
376
376
  });
377
377
  };
378
- export { g as ProgressDashboardPage };
378
+ export { _ as ProgressDashboardPage };