@axium/client 0.23.6 → 0.23.7
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/locales.d.ts +1 -1
- package/lib/Icon.svelte +1 -1
- package/package.json +1 -1
- package/styles/account.css +1 -0
package/dist/locales.d.ts
CHANGED
|
@@ -266,7 +266,7 @@ export interface ReplacementOptions {
|
|
|
266
266
|
}
|
|
267
267
|
type _ArgsValue<V extends string[]> = UnionToIntersection<{
|
|
268
268
|
[I in keyof V]: Split<V[I], '}'> extends [infer Name extends string, string] ? {
|
|
269
|
-
[N in Name]: string;
|
|
269
|
+
[N in Name]: string | number | bigint | boolean;
|
|
270
270
|
} : {};
|
|
271
271
|
}[keyof V & number]>;
|
|
272
272
|
type Replacements<K extends string> = ReplacementOptions & (GetByString<Locale, K> extends string ? _ArgsValue<Split<GetByString<Locale, K> & string, '{'>> : Record<string, any>);
|
package/lib/Icon.svelte
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
const href = $derived(`/icons/${style}.svg#${id}`);
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
|
-
<svg
|
|
8
|
+
<svg {...rest} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" class={['Icon', rest.class]}>
|
|
9
9
|
<use {href} />
|
|
10
10
|
</svg>
|
|
11
11
|
|
package/package.json
CHANGED