@burdenoff/microfe-i18n 2026.830.1 → 2026.1013.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.
|
@@ -16,7 +16,7 @@ var g = ({ mode: g }) => {
|
|
|
16
16
|
C && (y(x, "job-123"), console.log("Starting import:", C.name, x));
|
|
17
17
|
}, D = () => {
|
|
18
18
|
console.log("Starting export:", x);
|
|
19
|
-
}, O = "w-full 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)]", k = "size-4 rounded border-border-seam text-primary focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]", A = /* @__PURE__ */ l(s, { children: [
|
|
19
|
+
}, O = "w-full 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", k = "size-4 rounded border-border-seam text-primary focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]", A = /* @__PURE__ */ l(s, { children: [
|
|
20
20
|
/* @__PURE__ */ c("option", {
|
|
21
21
|
value: "json",
|
|
22
22
|
children: _("i18n.shared.format.json", "JSON (i18next nested)")
|
|
@@ -137,7 +137,7 @@ var g = ({ mode: g }) => {
|
|
|
137
137
|
}),
|
|
138
138
|
/* @__PURE__ */ c("option", {
|
|
139
139
|
value: "botlit",
|
|
140
|
-
children: "
|
|
140
|
+
children: "BotManor"
|
|
141
141
|
})
|
|
142
142
|
]
|
|
143
143
|
})] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
|
|
@@ -26,7 +26,7 @@ var m = () => {
|
|
|
26
26
|
isDefault: !1
|
|
27
27
|
}], x = (e) => {
|
|
28
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)]", 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);
|
|
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);
|
|
30
30
|
return /* @__PURE__ */ s("div", {
|
|
31
31
|
className: "min-h-full w-full bg-bg-surface",
|
|
32
32
|
children: [/* @__PURE__ */ o("div", {
|
|
@@ -111,7 +111,7 @@ var g = () => {
|
|
|
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)]";
|
|
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";
|
|
115
115
|
return /* @__PURE__ */ c("div", {
|
|
116
116
|
className: "min-h-full w-full bg-bg-surface",
|
|
117
117
|
children: [/* @__PURE__ */ s("div", {
|
|
@@ -39,7 +39,7 @@ var h = () => {
|
|
|
39
39
|
_((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
40
40
|
}, x = (e) => {
|
|
41
41
|
console.log(`${e} translations:`, g), _([]);
|
|
42
|
-
}, 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)]", C = g.length > 0;
|
|
42
|
+
}, 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 = g.length > 0;
|
|
43
43
|
return /* @__PURE__ */ s("div", {
|
|
44
44
|
className: "min-h-full w-full bg-bg-surface",
|
|
45
45
|
children: [/* @__PURE__ */ o("div", {
|
|
@@ -23,7 +23,7 @@ var g = () => {
|
|
|
23
23
|
}, {
|
|
24
24
|
value: "Accede a tu cuenta",
|
|
25
25
|
similarity: 87
|
|
26
|
-
}], j = (e) => `rounded-lg border px-3 py-2 text-sm font-medium transition-colors ${e ? "border-action-primary-bg bg-action-primary-bg/10 text-primary" : "border-border-seam bg-bg-elevated text-text-secondary hover:bg-bg-sunken"}`, M = "w-full rounded-lg border border-border-seam bg-bg-surface p-3 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)]", N = "w-full appearance-none rounded-lg border border-border-seam bg-bg-elevated py-2 pl-10 pr-10 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)]";
|
|
26
|
+
}], j = (e) => `rounded-lg border px-3 py-2 text-sm font-medium transition-colors ${e ? "border-action-primary-bg bg-action-primary-bg/10 text-primary" : "border-border-seam bg-bg-elevated text-text-secondary hover:bg-bg-sunken"}`, M = "w-full rounded-lg border border-border-seam bg-bg-surface p-3 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)]", N = "w-full appearance-none rounded-lg border border-border-seam bg-bg-elevated py-2 pl-10 pr-10 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";
|
|
27
27
|
return /* @__PURE__ */ l("div", {
|
|
28
28
|
className: "flex h-full flex-col bg-bg-surface",
|
|
29
29
|
children: [
|
|
@@ -71,7 +71,7 @@ var g = () => {
|
|
|
71
71
|
value: _,
|
|
72
72
|
"aria-label": g("i18n.editor.mode.label", "Editor mode"),
|
|
73
73
|
onChange: (e) => x(e.target.value),
|
|
74
|
-
className: "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)]",
|
|
74
|
+
className: "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",
|
|
75
75
|
children: [/* @__PURE__ */ c("option", {
|
|
76
76
|
value: "simple",
|
|
77
77
|
children: g("i18n.editor.mode.simple", "Simple")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-i18n",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.1013.1",
|
|
4
4
|
"description": "Internationalization (i18n) micro-frontend module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@eslint/js": "^9.39.1",
|
|
49
|
+
"@types/bun": "^1.3.14",
|
|
49
50
|
"@types/react": "^19.0.2",
|
|
50
51
|
"@types/react-dom": "^19.0.2",
|
|
51
52
|
"@vitejs/plugin-react": "^4.3.4",
|