@burdenoff/microfe-i18n 2026.530.2 → 2026.624.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.
- package/dist/i18n/pages/ImportExportPage.js +16 -16
- package/dist/i18n/pages/LanguagesListPage.js +6 -6
- package/dist/i18n/pages/LocaleConfigPage.js +17 -17
- package/dist/i18n/pages/ProductsListPage.js +5 -5
- package/dist/i18n/pages/ProgressDashboardPage.js +12 -12
- package/dist/i18n/pages/ReviewQueuePage.js +7 -7
- package/dist/i18n/pages/TranslationEditorPage.js +14 -14
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ var u = ({ mode: u }) => {
|
|
|
12
12
|
return /* @__PURE__ */ l("div", {
|
|
13
13
|
className: "flex h-full flex-col",
|
|
14
14
|
children: [/* @__PURE__ */ c("div", {
|
|
15
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
15
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
16
16
|
children: /* @__PURE__ */ c("div", {
|
|
17
17
|
className: "flex items-center gap-3",
|
|
18
18
|
children: u === "import" ? /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(r, { className: "size-6 text-accent-primary" }), /* @__PURE__ */ c("h1", {
|
|
@@ -38,7 +38,7 @@ var u = ({ mode: u }) => {
|
|
|
38
38
|
id: "import-format",
|
|
39
39
|
value: g,
|
|
40
40
|
onChange: (e) => _(e.target.value),
|
|
41
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
41
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
42
42
|
children: [
|
|
43
43
|
/* @__PURE__ */ c("option", {
|
|
44
44
|
value: "json",
|
|
@@ -67,7 +67,7 @@ var u = ({ mode: u }) => {
|
|
|
67
67
|
className: "mb-2 block text-sm font-medium text-content-primary",
|
|
68
68
|
children: f("i18n.import.fields.uploadFile", "Upload File")
|
|
69
69
|
}), /* @__PURE__ */ l("div", {
|
|
70
|
-
className: "relative rounded-lg border-2 border-dashed border-border bg-surface p-8 text-center transition-colors hover:border-accent-primary",
|
|
70
|
+
className: "relative rounded-lg border-2 border-dashed border-border-subtle bg-surface p-8 text-center transition-colors hover:border-accent-primary",
|
|
71
71
|
children: [
|
|
72
72
|
/* @__PURE__ */ c("input", {
|
|
73
73
|
id: "import-upload-file",
|
|
@@ -99,7 +99,7 @@ var u = ({ mode: u }) => {
|
|
|
99
99
|
children: f("i18n.import.fields.product", "Product")
|
|
100
100
|
}), /* @__PURE__ */ l("select", {
|
|
101
101
|
id: "import-product",
|
|
102
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
102
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
103
103
|
children: [
|
|
104
104
|
/* @__PURE__ */ c("option", {
|
|
105
105
|
value: "workspaces",
|
|
@@ -120,7 +120,7 @@ var u = ({ mode: u }) => {
|
|
|
120
120
|
children: f("i18n.import.fields.module", "Module")
|
|
121
121
|
}), /* @__PURE__ */ l("select", {
|
|
122
122
|
id: "import-module",
|
|
123
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
123
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
124
124
|
children: [
|
|
125
125
|
/* @__PURE__ */ c("option", {
|
|
126
126
|
value: "auth",
|
|
@@ -143,7 +143,7 @@ var u = ({ mode: u }) => {
|
|
|
143
143
|
children: f("i18n.import.fields.targetLanguage", "Target Language")
|
|
144
144
|
}), /* @__PURE__ */ l("select", {
|
|
145
145
|
id: "import-target-language",
|
|
146
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
146
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
147
147
|
children: [
|
|
148
148
|
/* @__PURE__ */ c("option", {
|
|
149
149
|
value: "es-ES",
|
|
@@ -169,7 +169,7 @@ var u = ({ mode: u }) => {
|
|
|
169
169
|
id: "create-namespaces",
|
|
170
170
|
"aria-label": f("i18n.import.options.createNamespaces", "Create missing namespaces automatically"),
|
|
171
171
|
defaultChecked: !0,
|
|
172
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
172
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
173
173
|
}), /* @__PURE__ */ c("label", {
|
|
174
174
|
htmlFor: "create-namespaces",
|
|
175
175
|
className: "text-sm text-content-primary",
|
|
@@ -183,7 +183,7 @@ var u = ({ mode: u }) => {
|
|
|
183
183
|
id: "update-existing",
|
|
184
184
|
"aria-label": f("i18n.import.options.updateExisting", "Update existing translations"),
|
|
185
185
|
defaultChecked: !0,
|
|
186
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
186
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
187
187
|
}), /* @__PURE__ */ c("label", {
|
|
188
188
|
htmlFor: "update-existing",
|
|
189
189
|
className: "text-sm text-content-primary",
|
|
@@ -196,7 +196,7 @@ var u = ({ mode: u }) => {
|
|
|
196
196
|
type: "checkbox",
|
|
197
197
|
id: "skip-errors",
|
|
198
198
|
"aria-label": f("i18n.import.options.skipErrors", "Skip validation errors (import valid only)"),
|
|
199
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
199
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
200
200
|
}), /* @__PURE__ */ c("label", {
|
|
201
201
|
htmlFor: "skip-errors",
|
|
202
202
|
className: "text-sm text-content-primary",
|
|
@@ -206,7 +206,7 @@ var u = ({ mode: u }) => {
|
|
|
206
206
|
]
|
|
207
207
|
}),
|
|
208
208
|
p.jobId && /* @__PURE__ */ l("div", {
|
|
209
|
-
className: "rounded-lg border border-border bg-surface-elevated p-4",
|
|
209
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-4",
|
|
210
210
|
children: [
|
|
211
211
|
/* @__PURE__ */ l("div", {
|
|
212
212
|
className: "mb-2 flex items-center justify-between text-sm",
|
|
@@ -247,7 +247,7 @@ var u = ({ mode: u }) => {
|
|
|
247
247
|
}), p.jobId && /* @__PURE__ */ c("button", {
|
|
248
248
|
type: "button",
|
|
249
249
|
onClick: h,
|
|
250
|
-
className: "rounded-md border border-border bg-surface px-4 py-2 text-sm font-medium text-content-primary hover:bg-surface-elevated",
|
|
250
|
+
className: "rounded-md border border-border-subtle bg-surface px-4 py-2 text-sm font-medium text-content-primary hover:bg-surface-elevated",
|
|
251
251
|
children: f("i18n.import.actions.reset", "Reset")
|
|
252
252
|
})]
|
|
253
253
|
})
|
|
@@ -263,7 +263,7 @@ var u = ({ mode: u }) => {
|
|
|
263
263
|
id: "export-format",
|
|
264
264
|
value: g,
|
|
265
265
|
onChange: (e) => _(e.target.value),
|
|
266
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
266
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
267
267
|
children: [
|
|
268
268
|
/* @__PURE__ */ c("option", {
|
|
269
269
|
value: "json",
|
|
@@ -295,7 +295,7 @@ var u = ({ mode: u }) => {
|
|
|
295
295
|
children: f("i18n.export.fields.product", "Product")
|
|
296
296
|
}), /* @__PURE__ */ l("select", {
|
|
297
297
|
id: "export-product",
|
|
298
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
298
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
299
299
|
children: [
|
|
300
300
|
/* @__PURE__ */ c("option", {
|
|
301
301
|
value: "",
|
|
@@ -316,7 +316,7 @@ var u = ({ mode: u }) => {
|
|
|
316
316
|
children: f("i18n.export.fields.language", "Language")
|
|
317
317
|
}), /* @__PURE__ */ l("select", {
|
|
318
318
|
id: "export-language",
|
|
319
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
319
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
320
320
|
children: [
|
|
321
321
|
/* @__PURE__ */ c("option", {
|
|
322
322
|
value: "",
|
|
@@ -341,7 +341,7 @@ var u = ({ mode: u }) => {
|
|
|
341
341
|
type: "checkbox",
|
|
342
342
|
id: "include-metadata",
|
|
343
343
|
"aria-label": f("i18n.export.options.includeMetadata", "Include metadata"),
|
|
344
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
344
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
345
345
|
}), /* @__PURE__ */ c("label", {
|
|
346
346
|
htmlFor: "include-metadata",
|
|
347
347
|
className: "text-sm text-content-primary",
|
|
@@ -354,7 +354,7 @@ var u = ({ mode: u }) => {
|
|
|
354
354
|
id: "published-only",
|
|
355
355
|
"aria-label": f("i18n.export.options.publishedOnly", "Published translations only"),
|
|
356
356
|
defaultChecked: !0,
|
|
357
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
357
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
358
358
|
}), /* @__PURE__ */ c("label", {
|
|
359
359
|
htmlFor: "published-only",
|
|
360
360
|
className: "text-sm text-content-primary",
|
|
@@ -30,7 +30,7 @@ var c = () => {
|
|
|
30
30
|
className: "flex h-full flex-col",
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ o("div", {
|
|
33
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
33
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
34
34
|
children: /* @__PURE__ */ s("div", {
|
|
35
35
|
className: "flex items-center justify-between",
|
|
36
36
|
children: [/* @__PURE__ */ s("div", {
|
|
@@ -47,7 +47,7 @@ var c = () => {
|
|
|
47
47
|
})
|
|
48
48
|
}),
|
|
49
49
|
/* @__PURE__ */ o("div", {
|
|
50
|
-
className: "border-b border-border bg-surface p-4",
|
|
50
|
+
className: "border-b border-border-subtle bg-surface p-4",
|
|
51
51
|
children: /* @__PURE__ */ s("div", {
|
|
52
52
|
className: "flex items-center gap-4",
|
|
53
53
|
children: [
|
|
@@ -59,14 +59,14 @@ var c = () => {
|
|
|
59
59
|
placeholder: l("i18n.languages.filters.searchPlaceholder", "Search languages..."),
|
|
60
60
|
value: p,
|
|
61
61
|
onChange: (e) => g(e.target.value),
|
|
62
|
-
className: "w-full rounded-md border border-border bg-surface-elevated py-2 pl-10 pr-4 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
62
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated py-2 pl-10 pr-4 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
63
63
|
})]
|
|
64
64
|
}),
|
|
65
65
|
/* @__PURE__ */ s("select", {
|
|
66
66
|
"aria-label": l("i18n.languages.filters.status.label", "Filter by status"),
|
|
67
67
|
value: u.status,
|
|
68
68
|
onChange: (e) => d({ status: e.target.value }),
|
|
69
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
69
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
70
70
|
children: [
|
|
71
71
|
/* @__PURE__ */ o("option", {
|
|
72
72
|
value: "all",
|
|
@@ -86,7 +86,7 @@ var c = () => {
|
|
|
86
86
|
"aria-label": l("i18n.languages.filters.direction.label", "Filter by direction"),
|
|
87
87
|
value: u.direction,
|
|
88
88
|
onChange: (e) => d({ direction: e.target.value }),
|
|
89
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
89
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
90
90
|
children: [
|
|
91
91
|
/* @__PURE__ */ o("option", {
|
|
92
92
|
value: "all",
|
|
@@ -112,7 +112,7 @@ var c = () => {
|
|
|
112
112
|
children: h.map((e) => /* @__PURE__ */ o("button", {
|
|
113
113
|
type: "button",
|
|
114
114
|
onClick: () => f(e),
|
|
115
|
-
className: "cursor-pointer rounded-lg border border-border bg-surface-elevated p-4 text-left transition-all hover:border-accent-primary hover:shadow-md",
|
|
115
|
+
className: "cursor-pointer rounded-lg border border-border-subtle bg-surface-elevated p-4 text-left transition-all hover:border-accent-primary hover:shadow-md",
|
|
116
116
|
children: /* @__PURE__ */ s("div", {
|
|
117
117
|
className: "flex items-start justify-between",
|
|
118
118
|
children: [/* @__PURE__ */ s("div", {
|
|
@@ -43,7 +43,7 @@ var s = () => {
|
|
|
43
43
|
return /* @__PURE__ */ a("div", {
|
|
44
44
|
className: "flex h-full flex-col",
|
|
45
45
|
children: [/* @__PURE__ */ i("div", {
|
|
46
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
46
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
47
47
|
children: /* @__PURE__ */ a("div", {
|
|
48
48
|
className: "flex items-center justify-between",
|
|
49
49
|
children: [/* @__PURE__ */ a("div", {
|
|
@@ -99,7 +99,7 @@ var s = () => {
|
|
|
99
99
|
"aria-label": "Language Code",
|
|
100
100
|
value: s.code,
|
|
101
101
|
onChange: (e) => l("code", e.target.value),
|
|
102
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
102
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
103
103
|
})] }),
|
|
104
104
|
/* @__PURE__ */ a("div", { children: [/* @__PURE__ */ i("label", {
|
|
105
105
|
htmlFor: "locale-name",
|
|
@@ -111,7 +111,7 @@ var s = () => {
|
|
|
111
111
|
"aria-label": "Name",
|
|
112
112
|
value: s.name,
|
|
113
113
|
onChange: (e) => l("name", e.target.value),
|
|
114
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
114
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
115
115
|
})] }),
|
|
116
116
|
/* @__PURE__ */ a("div", { children: [/* @__PURE__ */ i("label", {
|
|
117
117
|
htmlFor: "locale-native-name",
|
|
@@ -123,7 +123,7 @@ var s = () => {
|
|
|
123
123
|
"aria-label": "Native Name",
|
|
124
124
|
value: s.nativeName,
|
|
125
125
|
onChange: (e) => l("nativeName", e.target.value),
|
|
126
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
126
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
127
127
|
})] }),
|
|
128
128
|
/* @__PURE__ */ a("div", { children: [/* @__PURE__ */ i("label", {
|
|
129
129
|
htmlFor: "locale-region",
|
|
@@ -135,7 +135,7 @@ var s = () => {
|
|
|
135
135
|
"aria-label": "Region",
|
|
136
136
|
value: s.region,
|
|
137
137
|
onChange: (e) => l("region", e.target.value),
|
|
138
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
138
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
139
139
|
})] })
|
|
140
140
|
]
|
|
141
141
|
}),
|
|
@@ -147,7 +147,7 @@ var s = () => {
|
|
|
147
147
|
"aria-label": "Set as default language",
|
|
148
148
|
checked: s.isDefault,
|
|
149
149
|
onChange: (e) => l("isDefault", e.target.checked),
|
|
150
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
150
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
151
151
|
}), /* @__PURE__ */ i("label", {
|
|
152
152
|
htmlFor: "is-default",
|
|
153
153
|
className: "text-sm text-content-primary",
|
|
@@ -169,7 +169,7 @@ var s = () => {
|
|
|
169
169
|
"aria-label": "LTR (Left to Right)",
|
|
170
170
|
checked: s.direction === "ltr",
|
|
171
171
|
onChange: () => l("direction", "ltr"),
|
|
172
|
-
className: "size-4 border-border text-accent-primary focus:ring-accent-primary"
|
|
172
|
+
className: "size-4 border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
173
173
|
}), /* @__PURE__ */ i("label", {
|
|
174
174
|
htmlFor: "ltr",
|
|
175
175
|
className: "text-sm text-content-primary",
|
|
@@ -184,7 +184,7 @@ var s = () => {
|
|
|
184
184
|
"aria-label": "RTL (Right to Left)",
|
|
185
185
|
checked: s.direction === "rtl",
|
|
186
186
|
onChange: () => l("direction", "rtl"),
|
|
187
|
-
className: "size-4 border-border text-accent-primary focus:ring-accent-primary"
|
|
187
|
+
className: "size-4 border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
188
188
|
}), /* @__PURE__ */ i("label", {
|
|
189
189
|
htmlFor: "rtl",
|
|
190
190
|
className: "text-sm text-content-primary",
|
|
@@ -202,7 +202,7 @@ var s = () => {
|
|
|
202
202
|
className: "space-y-2",
|
|
203
203
|
children: [
|
|
204
204
|
/* @__PURE__ */ i("div", {
|
|
205
|
-
className: "rounded-lg border border-border bg-surface-elevated p-3",
|
|
205
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-3",
|
|
206
206
|
children: /* @__PURE__ */ a("div", {
|
|
207
207
|
className: "flex items-center justify-between",
|
|
208
208
|
children: [/* @__PURE__ */ i("span", {
|
|
@@ -215,7 +215,7 @@ var s = () => {
|
|
|
215
215
|
})
|
|
216
216
|
}),
|
|
217
217
|
s.fallbackLanguages.map((e, t) => /* @__PURE__ */ i("div", {
|
|
218
|
-
className: "rounded-lg border border-border bg-surface p-3",
|
|
218
|
+
className: "rounded-lg border border-border-subtle bg-surface p-3",
|
|
219
219
|
children: /* @__PURE__ */ a("div", {
|
|
220
220
|
className: "flex items-center justify-between",
|
|
221
221
|
children: [/* @__PURE__ */ a("span", {
|
|
@@ -235,7 +235,7 @@ var s = () => {
|
|
|
235
235
|
}, e)),
|
|
236
236
|
/* @__PURE__ */ i("button", {
|
|
237
237
|
type: "button",
|
|
238
|
-
className: "w-full rounded-lg border-2 border-dashed border-border bg-surface p-3 text-sm text-content-secondary transition-colors hover:border-accent-primary hover:text-accent-primary",
|
|
238
|
+
className: "w-full rounded-lg border-2 border-dashed border-border-subtle bg-surface p-3 text-sm text-content-secondary transition-colors hover:border-accent-primary hover:text-accent-primary",
|
|
239
239
|
children: "+ Add Fallback Language"
|
|
240
240
|
})
|
|
241
241
|
]
|
|
@@ -247,14 +247,14 @@ var s = () => {
|
|
|
247
247
|
}), /* @__PURE__ */ i("div", {
|
|
248
248
|
className: "grid grid-cols-3 gap-3",
|
|
249
249
|
children: Object.entries(s.pluralRules).map(([e, t]) => /* @__PURE__ */ a("div", {
|
|
250
|
-
className: "flex items-center gap-2 rounded-lg border border-border bg-surface-elevated p-3",
|
|
250
|
+
className: "flex items-center gap-2 rounded-lg border border-border-subtle bg-surface-elevated p-3",
|
|
251
251
|
children: [/* @__PURE__ */ i("input", {
|
|
252
252
|
type: "checkbox",
|
|
253
253
|
id: `plural-${e}`,
|
|
254
254
|
"aria-label": `Plural form: ${e}`,
|
|
255
255
|
checked: t,
|
|
256
256
|
onChange: (t) => u(e, t.target.checked),
|
|
257
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
257
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
258
258
|
}), /* @__PURE__ */ i("label", {
|
|
259
259
|
htmlFor: `plural-${e}`,
|
|
260
260
|
className: "text-sm text-content-primary",
|
|
@@ -282,7 +282,7 @@ var s = () => {
|
|
|
282
282
|
"aria-label": "Date Format",
|
|
283
283
|
value: s.dateFormat,
|
|
284
284
|
onChange: (e) => l("dateFormat", e.target.value),
|
|
285
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
285
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
286
286
|
}),
|
|
287
287
|
/* @__PURE__ */ i("p", {
|
|
288
288
|
className: "mt-1 text-xs text-content-tertiary",
|
|
@@ -301,7 +301,7 @@ var s = () => {
|
|
|
301
301
|
"aria-label": "Time Format",
|
|
302
302
|
value: s.timeFormat,
|
|
303
303
|
onChange: (e) => l("timeFormat", e.target.value),
|
|
304
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
304
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
305
305
|
}),
|
|
306
306
|
/* @__PURE__ */ i("p", {
|
|
307
307
|
className: "mt-1 text-xs text-content-tertiary",
|
|
@@ -320,7 +320,7 @@ var s = () => {
|
|
|
320
320
|
"aria-label": "Number Format",
|
|
321
321
|
value: s.numberFormat,
|
|
322
322
|
onChange: (e) => l("numberFormat", e.target.value),
|
|
323
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
323
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
324
324
|
}),
|
|
325
325
|
/* @__PURE__ */ i("p", {
|
|
326
326
|
className: "mt-1 text-xs text-content-tertiary",
|
|
@@ -339,7 +339,7 @@ var s = () => {
|
|
|
339
339
|
"aria-label": "Currency Code",
|
|
340
340
|
value: s.currencyCode,
|
|
341
341
|
onChange: (e) => l("currencyCode", e.target.value),
|
|
342
|
-
className: "w-full rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
342
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
343
343
|
}),
|
|
344
344
|
/* @__PURE__ */ i("p", {
|
|
345
345
|
className: "mt-1 text-xs text-content-tertiary",
|
|
@@ -51,7 +51,7 @@ var l = () => {
|
|
|
51
51
|
className: "flex h-full flex-col",
|
|
52
52
|
children: [
|
|
53
53
|
/* @__PURE__ */ s("div", {
|
|
54
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
54
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
55
55
|
children: /* @__PURE__ */ c("div", {
|
|
56
56
|
className: "flex items-center justify-between",
|
|
57
57
|
children: [/* @__PURE__ */ c("div", {
|
|
@@ -68,7 +68,7 @@ var l = () => {
|
|
|
68
68
|
})
|
|
69
69
|
}),
|
|
70
70
|
/* @__PURE__ */ s("div", {
|
|
71
|
-
className: "border-b border-border bg-surface p-4",
|
|
71
|
+
className: "border-b border-border-subtle bg-surface p-4",
|
|
72
72
|
children: /* @__PURE__ */ c("div", {
|
|
73
73
|
className: "relative",
|
|
74
74
|
children: [/* @__PURE__ */ s(r, { className: "absolute left-3 top-1/2 size-4 -translate-y-1/2 text-content-secondary" }), /* @__PURE__ */ s("input", {
|
|
@@ -77,7 +77,7 @@ var l = () => {
|
|
|
77
77
|
placeholder: u("i18n.products.search.placeholder", "Search products..."),
|
|
78
78
|
value: f,
|
|
79
79
|
onChange: (e) => p(e.target.value),
|
|
80
|
-
className: "w-full rounded-md border border-border bg-surface-elevated py-2 pl-10 pr-4 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
80
|
+
className: "w-full rounded-md border border-border-subtle bg-surface-elevated py-2 pl-10 pr-4 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary"
|
|
81
81
|
})]
|
|
82
82
|
})
|
|
83
83
|
}),
|
|
@@ -88,7 +88,7 @@ var l = () => {
|
|
|
88
88
|
children: m.map((t) => /* @__PURE__ */ s("button", {
|
|
89
89
|
type: "button",
|
|
90
90
|
onClick: () => d(t),
|
|
91
|
-
className: "block w-full cursor-pointer rounded-lg border border-border bg-surface-elevated p-6 text-left transition-all hover:border-accent-primary hover:shadow-md",
|
|
91
|
+
className: "block w-full cursor-pointer rounded-lg border border-border-subtle bg-surface-elevated p-6 text-left transition-all hover:border-accent-primary hover:shadow-md",
|
|
92
92
|
children: /* @__PURE__ */ s("div", {
|
|
93
93
|
className: "flex items-start justify-between",
|
|
94
94
|
children: /* @__PURE__ */ c("div", {
|
|
@@ -116,7 +116,7 @@ var l = () => {
|
|
|
116
116
|
}), /* @__PURE__ */ s("div", {
|
|
117
117
|
className: "flex flex-wrap gap-2",
|
|
118
118
|
children: t.modules.map((t) => /* @__PURE__ */ c("span", {
|
|
119
|
-
className: "inline-flex items-center gap-1 rounded-md border border-border bg-surface px-2 py-1 text-xs text-content-secondary",
|
|
119
|
+
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle bg-surface px-2 py-1 text-xs text-content-secondary",
|
|
120
120
|
children: [t.displayName, /* @__PURE__ */ s(e, { className: "size-3" })]
|
|
121
121
|
}, t.id))
|
|
122
122
|
})]
|
|
@@ -11,7 +11,7 @@ var s = () => {
|
|
|
11
11
|
className: "flex h-full flex-col",
|
|
12
12
|
children: [
|
|
13
13
|
/* @__PURE__ */ a("div", {
|
|
14
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
14
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
15
15
|
children: /* @__PURE__ */ o("div", {
|
|
16
16
|
className: "flex items-center justify-between",
|
|
17
17
|
children: [/* @__PURE__ */ o("div", {
|
|
@@ -24,7 +24,7 @@ var s = () => {
|
|
|
24
24
|
className: "flex items-center gap-2",
|
|
25
25
|
children: [/* @__PURE__ */ o("button", {
|
|
26
26
|
type: "button",
|
|
27
|
-
className: "flex items-center gap-2 rounded-md border border-border bg-surface px-4 py-2 text-sm font-medium text-content-primary hover:bg-surface-elevated",
|
|
27
|
+
className: "flex items-center gap-2 rounded-md border border-border-subtle bg-surface px-4 py-2 text-sm font-medium text-content-primary hover:bg-surface-elevated",
|
|
28
28
|
children: [/* @__PURE__ */ a(t, { className: "size-4" }), c("i18n.progress.actions.generateReport", "Generate Report")]
|
|
29
29
|
}), /* @__PURE__ */ o("button", {
|
|
30
30
|
type: "button",
|
|
@@ -35,7 +35,7 @@ var s = () => {
|
|
|
35
35
|
})
|
|
36
36
|
}),
|
|
37
37
|
/* @__PURE__ */ a("div", {
|
|
38
|
-
className: "border-b border-border bg-surface p-4",
|
|
38
|
+
className: "border-b border-border-subtle bg-surface p-4",
|
|
39
39
|
children: /* @__PURE__ */ o("div", {
|
|
40
40
|
className: "flex items-center gap-4",
|
|
41
41
|
children: [
|
|
@@ -45,7 +45,7 @@ var s = () => {
|
|
|
45
45
|
}), /* @__PURE__ */ o("select", {
|
|
46
46
|
value: l.groupBy,
|
|
47
47
|
onChange: (e) => u({ groupBy: e.target.value }),
|
|
48
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
48
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
49
49
|
children: [
|
|
50
50
|
/* @__PURE__ */ a("option", {
|
|
51
51
|
value: "language",
|
|
@@ -67,7 +67,7 @@ var s = () => {
|
|
|
67
67
|
}), /* @__PURE__ */ o("select", {
|
|
68
68
|
value: l.chartType,
|
|
69
69
|
onChange: (e) => u({ chartType: e.target.value }),
|
|
70
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
70
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
71
71
|
children: [
|
|
72
72
|
/* @__PURE__ */ a("option", {
|
|
73
73
|
value: "bar",
|
|
@@ -91,7 +91,7 @@ var s = () => {
|
|
|
91
91
|
"aria-label": c("i18n.progress.filters.showPercentages", "Show Percentages"),
|
|
92
92
|
checked: l.showPercentages,
|
|
93
93
|
onChange: (e) => u({ showPercentages: e.target.checked }),
|
|
94
|
-
className: "size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
94
|
+
className: "size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
95
95
|
}), /* @__PURE__ */ a("label", {
|
|
96
96
|
htmlFor: "show-percentages",
|
|
97
97
|
className: "text-sm text-content-primary",
|
|
@@ -108,7 +108,7 @@ var s = () => {
|
|
|
108
108
|
className: "mb-6 grid grid-cols-4 gap-4",
|
|
109
109
|
children: [
|
|
110
110
|
/* @__PURE__ */ o("div", {
|
|
111
|
-
className: "rounded-lg border border-border bg-surface-elevated p-4",
|
|
111
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-4",
|
|
112
112
|
children: [/* @__PURE__ */ a("p", {
|
|
113
113
|
className: "text-sm text-content-tertiary",
|
|
114
114
|
children: c("i18n.progress.stats.totalKeys", "Total Keys")
|
|
@@ -118,7 +118,7 @@ var s = () => {
|
|
|
118
118
|
})]
|
|
119
119
|
}),
|
|
120
120
|
/* @__PURE__ */ o("div", {
|
|
121
|
-
className: "rounded-lg border border-border bg-surface-elevated p-4",
|
|
121
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-4",
|
|
122
122
|
children: [/* @__PURE__ */ a("p", {
|
|
123
123
|
className: "text-sm text-content-tertiary",
|
|
124
124
|
children: c("i18n.progress.stats.translated", "Translated")
|
|
@@ -128,7 +128,7 @@ var s = () => {
|
|
|
128
128
|
})]
|
|
129
129
|
}),
|
|
130
130
|
/* @__PURE__ */ o("div", {
|
|
131
|
-
className: "rounded-lg border border-border bg-surface-elevated p-4",
|
|
131
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-4",
|
|
132
132
|
children: [/* @__PURE__ */ a("p", {
|
|
133
133
|
className: "text-sm text-content-tertiary",
|
|
134
134
|
children: c("i18n.progress.stats.overallCoverage", "Overall Coverage")
|
|
@@ -138,7 +138,7 @@ var s = () => {
|
|
|
138
138
|
})]
|
|
139
139
|
}),
|
|
140
140
|
/* @__PURE__ */ o("div", {
|
|
141
|
-
className: "rounded-lg border border-border bg-surface-elevated p-4",
|
|
141
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-4",
|
|
142
142
|
children: [/* @__PURE__ */ a("p", {
|
|
143
143
|
className: "text-sm text-content-tertiary",
|
|
144
144
|
children: c("i18n.progress.stats.languages", "Languages")
|
|
@@ -150,7 +150,7 @@ var s = () => {
|
|
|
150
150
|
]
|
|
151
151
|
}),
|
|
152
152
|
/* @__PURE__ */ o("div", {
|
|
153
|
-
className: "mb-6 rounded-lg border border-border bg-surface-elevated p-6",
|
|
153
|
+
className: "mb-6 rounded-lg border border-border-subtle bg-surface-elevated p-6",
|
|
154
154
|
children: [/* @__PURE__ */ a("h2", {
|
|
155
155
|
className: "mb-4 text-lg font-semibold text-content-primary",
|
|
156
156
|
children: c("i18n.progress.sections.coverageByLanguage", "Coverage by Language")
|
|
@@ -223,7 +223,7 @@ var s = () => {
|
|
|
223
223
|
})]
|
|
224
224
|
}),
|
|
225
225
|
/* @__PURE__ */ o("div", {
|
|
226
|
-
className: "rounded-lg border border-border bg-surface-elevated p-6",
|
|
226
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-6",
|
|
227
227
|
children: [/* @__PURE__ */ a("h2", {
|
|
228
228
|
className: "mb-4 text-lg font-semibold text-content-primary",
|
|
229
229
|
children: c("i18n.progress.sections.byStatus", "By Status")
|
|
@@ -42,7 +42,7 @@ var c = () => {
|
|
|
42
42
|
className: "flex h-full flex-col",
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ o("div", {
|
|
45
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
45
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
46
46
|
children: /* @__PURE__ */ s("div", {
|
|
47
47
|
className: "flex items-center justify-between",
|
|
48
48
|
children: [/* @__PURE__ */ s("div", {
|
|
@@ -78,12 +78,12 @@ var c = () => {
|
|
|
78
78
|
})
|
|
79
79
|
}),
|
|
80
80
|
/* @__PURE__ */ o("div", {
|
|
81
|
-
className: "border-b border-border bg-surface p-4",
|
|
81
|
+
className: "border-b border-border-subtle bg-surface p-4",
|
|
82
82
|
children: /* @__PURE__ */ s("div", {
|
|
83
83
|
className: "flex items-center gap-4",
|
|
84
84
|
children: [/* @__PURE__ */ s("select", {
|
|
85
85
|
"aria-label": "Filter by review status",
|
|
86
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
86
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
87
87
|
children: [
|
|
88
88
|
/* @__PURE__ */ o("option", {
|
|
89
89
|
value: "pending",
|
|
@@ -100,7 +100,7 @@ var c = () => {
|
|
|
100
100
|
]
|
|
101
101
|
}), /* @__PURE__ */ s("select", {
|
|
102
102
|
"aria-label": "Filter by language",
|
|
103
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
103
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
104
104
|
children: [
|
|
105
105
|
/* @__PURE__ */ o("option", {
|
|
106
106
|
value: "all",
|
|
@@ -127,7 +127,7 @@ var c = () => {
|
|
|
127
127
|
children: [/* @__PURE__ */ o("div", {
|
|
128
128
|
className: "space-y-4",
|
|
129
129
|
children: d.map((r) => /* @__PURE__ */ o("div", {
|
|
130
|
-
className: "rounded-lg border border-border bg-surface-elevated p-6 transition-all hover:border-accent-primary",
|
|
130
|
+
className: "rounded-lg border border-border-subtle bg-surface-elevated p-6 transition-all hover:border-accent-primary",
|
|
131
131
|
children: /* @__PURE__ */ s("div", {
|
|
132
132
|
className: "flex items-start gap-4",
|
|
133
133
|
children: [/* @__PURE__ */ o("input", {
|
|
@@ -135,7 +135,7 @@ var c = () => {
|
|
|
135
135
|
"aria-label": `Select translation ${r.key}`,
|
|
136
136
|
checked: c.includes(r.id),
|
|
137
137
|
onChange: () => f(r.id),
|
|
138
|
-
className: "mt-1 size-4 rounded border-border text-accent-primary focus:ring-accent-primary"
|
|
138
|
+
className: "mt-1 size-4 rounded border-border-subtle text-accent-primary focus:ring-accent-primary"
|
|
139
139
|
}), /* @__PURE__ */ s("div", {
|
|
140
140
|
className: "flex-1",
|
|
141
141
|
children: [
|
|
@@ -183,7 +183,7 @@ var c = () => {
|
|
|
183
183
|
onClick: () => {
|
|
184
184
|
u.current = !0;
|
|
185
185
|
},
|
|
186
|
-
className: "flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-xs font-medium text-content-primary hover:bg-surface-elevated",
|
|
186
|
+
className: "flex items-center gap-1 rounded-md border border-border-subtle bg-surface px-3 py-1.5 text-xs font-medium text-content-primary hover:bg-surface-elevated",
|
|
187
187
|
children: [/* @__PURE__ */ o(n, { className: "size-3" }), "Add Notes"]
|
|
188
188
|
}),
|
|
189
189
|
/* @__PURE__ */ s("button", {
|
|
@@ -21,7 +21,7 @@ var u = () => {
|
|
|
21
21
|
className: "flex h-full flex-col",
|
|
22
22
|
children: [
|
|
23
23
|
/* @__PURE__ */ c("div", {
|
|
24
|
-
className: "border-b border-border bg-surface-elevated p-6",
|
|
24
|
+
className: "border-b border-border-subtle bg-surface-elevated p-6",
|
|
25
25
|
children: /* @__PURE__ */ l("div", {
|
|
26
26
|
className: "flex items-center justify-between",
|
|
27
27
|
children: [/* @__PURE__ */ l("div", {
|
|
@@ -39,19 +39,19 @@ var u = () => {
|
|
|
39
39
|
/* @__PURE__ */ c("button", {
|
|
40
40
|
type: "button",
|
|
41
41
|
onClick: _,
|
|
42
|
-
className: `rounded-md border px-3 py-2 text-sm font-medium transition-colors ${p ? "border-accent-primary bg-accent-primary/10 text-accent-primary" : "border-border bg-surface text-content-secondary hover:bg-surface-elevated"}`,
|
|
42
|
+
className: `rounded-md border px-3 py-2 text-sm font-medium transition-colors ${p ? "border-accent-primary bg-accent-primary/10 text-accent-primary" : "border-border-subtle bg-surface text-content-secondary hover:bg-surface-elevated"}`,
|
|
43
43
|
children: d("i18n.editor.actions.pluralForms", "Plural Forms")
|
|
44
44
|
}),
|
|
45
45
|
/* @__PURE__ */ c("button", {
|
|
46
46
|
type: "button",
|
|
47
47
|
onClick: v,
|
|
48
|
-
className: `rounded-md border px-3 py-2 text-sm font-medium transition-colors ${m ? "border-accent-primary bg-accent-primary/10 text-accent-primary" : "border-border bg-surface text-content-secondary hover:bg-surface-elevated"}`,
|
|
48
|
+
className: `rounded-md border px-3 py-2 text-sm font-medium transition-colors ${m ? "border-accent-primary bg-accent-primary/10 text-accent-primary" : "border-border-subtle bg-surface text-content-secondary hover:bg-surface-elevated"}`,
|
|
49
49
|
children: d("i18n.editor.actions.suggestions", "Suggestions")
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ l("select", {
|
|
52
52
|
value: f,
|
|
53
53
|
onChange: (e) => g(e.target.value),
|
|
54
|
-
className: "rounded-md border border-border bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
54
|
+
className: "rounded-md border border-border-subtle bg-surface-elevated px-3 py-2 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
55
55
|
children: [/* @__PURE__ */ c("option", {
|
|
56
56
|
value: "simple",
|
|
57
57
|
children: d("i18n.editor.mode.simple", "Simple")
|
|
@@ -65,7 +65,7 @@ var u = () => {
|
|
|
65
65
|
})
|
|
66
66
|
}),
|
|
67
67
|
/* @__PURE__ */ c("div", {
|
|
68
|
-
className: "border-b border-border bg-surface px-6 py-3",
|
|
68
|
+
className: "border-b border-border-subtle bg-surface px-6 py-3",
|
|
69
69
|
children: /* @__PURE__ */ l("div", {
|
|
70
70
|
className: "flex items-center gap-2 text-sm text-content-secondary",
|
|
71
71
|
children: [
|
|
@@ -85,7 +85,7 @@ var u = () => {
|
|
|
85
85
|
/* @__PURE__ */ l("div", {
|
|
86
86
|
className: "flex flex-1 overflow-hidden",
|
|
87
87
|
children: [/* @__PURE__ */ c("div", {
|
|
88
|
-
className: "flex flex-1 flex-col overflow-auto border-r border-border",
|
|
88
|
+
className: "flex flex-1 flex-col overflow-auto border-r border-border-subtle",
|
|
89
89
|
children: /* @__PURE__ */ l("div", {
|
|
90
90
|
className: "p-6",
|
|
91
91
|
children: [
|
|
@@ -101,7 +101,7 @@ var u = () => {
|
|
|
101
101
|
children: [
|
|
102
102
|
/* @__PURE__ */ c(t, { className: "absolute left-3 top-1/2 size-4 -translate-y-1/2 text-content-secondary" }),
|
|
103
103
|
/* @__PURE__ */ l("select", {
|
|
104
|
-
className: "w-full appearance-none rounded-md border border-border bg-surface-elevated py-2 pl-10 pr-10 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
104
|
+
className: "w-full appearance-none rounded-md border border-border-subtle bg-surface-elevated py-2 pl-10 pr-10 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
105
105
|
children: [
|
|
106
106
|
/* @__PURE__ */ c("option", {
|
|
107
107
|
value: "es-ES",
|
|
@@ -132,7 +132,7 @@ var u = () => {
|
|
|
132
132
|
/* @__PURE__ */ l("select", {
|
|
133
133
|
value: h || "",
|
|
134
134
|
onChange: (e) => y(e.target.value || null),
|
|
135
|
-
className: "w-full appearance-none rounded-md border border-border bg-surface-elevated py-2 pl-10 pr-10 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
135
|
+
className: "w-full appearance-none rounded-md border border-border-subtle bg-surface-elevated py-2 pl-10 pr-10 text-sm text-content-primary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
136
136
|
children: [/* @__PURE__ */ c("option", {
|
|
137
137
|
value: "",
|
|
138
138
|
children: d("i18n.shared.empty.none", "None")
|
|
@@ -147,7 +147,7 @@ var u = () => {
|
|
|
147
147
|
})]
|
|
148
148
|
}),
|
|
149
149
|
h && /* @__PURE__ */ l("div", {
|
|
150
|
-
className: "mb-6 rounded-lg border border-border bg-surface-elevated p-4",
|
|
150
|
+
className: "mb-6 rounded-lg border border-border-subtle bg-surface-elevated p-4",
|
|
151
151
|
children: [
|
|
152
152
|
/* @__PURE__ */ c("p", {
|
|
153
153
|
className: "mb-2 text-sm font-medium text-content-primary",
|
|
@@ -185,7 +185,7 @@ var u = () => {
|
|
|
185
185
|
onChange: (e) => x(e.target.value),
|
|
186
186
|
placeholder: d("i18n.editor.fields.translationPlaceholder", "Enter translation..."),
|
|
187
187
|
maxLength: w.characterLimit,
|
|
188
|
-
className: "w-full rounded-md border border-border bg-surface p-3 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
188
|
+
className: "w-full rounded-md border border-border-subtle bg-surface p-3 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
189
189
|
rows: 4
|
|
190
190
|
})]
|
|
191
191
|
}),
|
|
@@ -201,7 +201,7 @@ var u = () => {
|
|
|
201
201
|
value: S,
|
|
202
202
|
onChange: (e) => C(e.target.value),
|
|
203
203
|
placeholder: d("i18n.editor.fields.notesPlaceholder", "Add notes for reviewers..."),
|
|
204
|
-
className: "w-full rounded-md border border-border bg-surface p-3 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
204
|
+
className: "w-full rounded-md border border-border-subtle bg-surface p-3 text-sm text-content-primary placeholder:text-content-tertiary focus:border-accent-primary focus:outline-none focus:ring-1 focus:ring-accent-primary",
|
|
205
205
|
rows: 3
|
|
206
206
|
})]
|
|
207
207
|
}),
|
|
@@ -213,14 +213,14 @@ var u = () => {
|
|
|
213
213
|
children: [/* @__PURE__ */ c(r, { className: "size-4" }), d("i18n.editor.actions.saveDraft", "Save Draft")]
|
|
214
214
|
}), /* @__PURE__ */ l("button", {
|
|
215
215
|
type: "button",
|
|
216
|
-
className: "flex items-center gap-2 rounded-md border border-border bg-surface px-4 py-2 text-sm font-medium text-content-primary hover:bg-surface-elevated",
|
|
216
|
+
className: "flex items-center gap-2 rounded-md border border-border-subtle bg-surface px-4 py-2 text-sm font-medium text-content-primary hover:bg-surface-elevated",
|
|
217
217
|
children: [/* @__PURE__ */ c(i, { className: "size-4" }), d("i18n.editor.actions.submitForReview", "Submit for Review")]
|
|
218
218
|
})]
|
|
219
219
|
})
|
|
220
220
|
]
|
|
221
221
|
})
|
|
222
222
|
}), m && /* @__PURE__ */ l("div", {
|
|
223
|
-
className: "w-80 overflow-auto border-l border-border bg-surface-elevated p-6",
|
|
223
|
+
className: "w-80 overflow-auto border-l border-border-subtle bg-surface-elevated p-6",
|
|
224
224
|
children: [/* @__PURE__ */ c("h3", {
|
|
225
225
|
className: "mb-4 text-sm font-medium text-content-primary",
|
|
226
226
|
children: d("i18n.editor.suggestions.title", "Suggestions")
|
|
@@ -234,7 +234,7 @@ var u = () => {
|
|
|
234
234
|
similarity: 87
|
|
235
235
|
}].map((e) => /* @__PURE__ */ l("button", {
|
|
236
236
|
type: "button",
|
|
237
|
-
className: "block w-full cursor-pointer rounded-md border border-border bg-surface p-3 text-left transition-all hover:border-accent-primary",
|
|
237
|
+
className: "block w-full cursor-pointer rounded-md border border-border-subtle bg-surface p-3 text-left transition-all hover:border-accent-primary",
|
|
238
238
|
onClick: () => x(e.value),
|
|
239
239
|
children: [/* @__PURE__ */ c("p", {
|
|
240
240
|
className: "text-sm text-content-primary",
|