@sevenfold/setto-client 0.20.0 → 0.20.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/setto-client.js +7 -11
- package/dist/setto-client.js.map +1 -1
- package/package.json +1 -1
package/dist/setto-client.js
CHANGED
|
@@ -176,7 +176,7 @@ function SettoLanguages({ languages, inline = false }) {
|
|
|
176
176
|
"aria-label": `Språk: ${languageName(current)}`,
|
|
177
177
|
style: inline ? inlineTriggerStyle : floatingTriggerStyle,
|
|
178
178
|
children: [
|
|
179
|
-
/* @__PURE__ */ jsx(
|
|
179
|
+
/* @__PURE__ */ jsx(GlobeIcon, {}),
|
|
180
180
|
languageName(current)
|
|
181
181
|
]
|
|
182
182
|
}
|
|
@@ -212,26 +212,22 @@ function AutoLanguageSwitcher({ languages }) {
|
|
|
212
212
|
if (inlineElsewhere || languages.length < 2) return null;
|
|
213
213
|
return /* @__PURE__ */ jsx(SettoLanguages, { languages });
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function GlobeIcon() {
|
|
216
216
|
return /* @__PURE__ */ jsxs(
|
|
217
217
|
"svg",
|
|
218
218
|
{
|
|
219
|
-
width: "
|
|
220
|
-
height: "
|
|
219
|
+
width: "15",
|
|
220
|
+
height: "15",
|
|
221
221
|
viewBox: "0 0 24 24",
|
|
222
222
|
fill: "none",
|
|
223
223
|
stroke: "currentColor",
|
|
224
|
-
strokeWidth: "1.
|
|
224
|
+
strokeWidth: "1.8",
|
|
225
225
|
strokeLinecap: "round",
|
|
226
226
|
strokeLinejoin: "round",
|
|
227
227
|
"aria-hidden": "true",
|
|
228
228
|
children: [
|
|
229
|
-
/* @__PURE__ */ jsx("
|
|
230
|
-
/* @__PURE__ */ jsx("path", { d: "M3.
|
|
231
|
-
/* @__PURE__ */ jsx("path", { d: "M17.3 3.4 16.2 5.6" }),
|
|
232
|
-
/* @__PURE__ */ jsx("path", { d: "M12.8 8.2h9" }),
|
|
233
|
-
/* @__PURE__ */ jsx("path", { d: "M13.6 18.8 21 10.9" }),
|
|
234
|
-
/* @__PURE__ */ jsx("path", { d: "M14.7 10.9l7.1 7.9" })
|
|
229
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
230
|
+
/* @__PURE__ */ jsx("path", { d: "M3 12h18M12 3c2.4 2.6 3.6 5.6 3.6 9s-1.2 6.4-3.6 9c-2.4-2.6-3.6-5.6-3.6-9S9.6 5.6 12 3z" })
|
|
235
231
|
]
|
|
236
232
|
}
|
|
237
233
|
);
|