commit a53b78919cb063750e653a1c9e37bf575f19a72c
parent 526e07783633788394198699a226202a67ebb51e
Author: triesap <137732411+triesap@users.noreply.github.com>
Date: Fri, 11 Oct 2024 09:45:14 +0000
apps-lib: edit style maps, edit static css, edit types, add locales
Diffstat:
5 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/apps-lib/src/lib/locales/en/common.json b/apps-lib/src/lib/locales/en/common.json
@@ -6,6 +6,8 @@
"add_new_location": "Add new location",
"authenticated": "Authenticated",
"back": "Back",
+ "bank_account": "Bank account",
+ "business_name": "Business name",
"cancel": "Cancel",
"configure": "Configure",
"connect": "Connect",
@@ -39,6 +41,8 @@
"optional": "Optional",
"other": "Other",
"per": "Per",
+ "personal": "Personal",
+ "photos": "Photos",
"price": "Price",
"product": "Product",
"product_name": "Product name",
@@ -53,6 +57,7 @@
"secret_key": "Secret key",
"settings": "Settings",
"setup": "Setup",
+ "socials": "Socials",
"status": "Status",
"subject": "Subject",
"submit": "Submit",
@@ -61,5 +66,8 @@
"to": "To",
"unlock": "Unlock",
"update": "Update",
- "url": "URL"
+ "url": "URL",
+ "wallet": "Wallet",
+ "website": "Website",
+ "your_name": "Your name"
}
\ No newline at end of file
diff --git a/apps-lib/src/lib/locales/en/icu.json b/apps-lib/src/lib/locales/en/icu.json
@@ -3,6 +3,7 @@
"*_available": "{value} Available",
"*_copied": "{value} copied",
"*_details": "{value} details",
+ "*_name": "{value} name",
"*_your_device": "{value} your device",
"add_*": "Add {value}",
"add_a_*": "Add a {value}",
@@ -14,6 +15,7 @@
"disconnect_*": "Disconnect {value}",
"edit_*": "Edit {value}",
"enter_*": "Enter {value}",
+ "enter_a_*": "Enter a {value}",
"enter_new_*": "Enter new {value}",
"enter_number_of_*_per_order": "Enter number of {value} per order",
"enter_the_*": "Enter the {value}",
diff --git a/apps-lib/src/lib/types/ui.ts b/apps-lib/src/lib/types/ui.ts
@@ -4,6 +4,7 @@ import type { ThemeLayer } from "@radroots/theme";
export type GlyphKeyCurrency = `dollar` | `eur`;
export type GlyphKey = |
+ `cardholder` |
`globe-x` |
`exclamation-mark` |
`network-x` |
diff --git a/apps-lib/src/lib/ui/css_styles.svelte b/apps-lib/src/lib/ui/css_styles.svelte
@@ -1,2 +1,2 @@
<div class="hidden h-[12px] w-[12px] h-[16px] w-[16px] h-[17px] w-[17px] h-[18px] w-[18px] h-[20px] w-[20px] h-[24px] w-[24px] h-[28px] w-[28px] h-[36px] w-[36px]"></div>
-<div class="hidden text-[12px] text-[15px] text-[16px] text-[18px] text-[20px] text-[21px] text-[23px] text-[24px] text-[27px] text-[28px] text-[30px] text-[36px] text-[40px]"></div>
-\ No newline at end of file
+<div class="hidden text-[12px] text-[15px] text-[16px] text-[18px] text-[20px] text-[21px] text-[23px] text-[24px] text-[26px] text-[28px] text-[30px] text-[36px] text-[40px]"></div>
+\ No newline at end of file
diff --git a/apps-lib/src/lib/utils/styles.ts b/apps-lib/src/lib/utils/styles.ts
@@ -9,7 +9,8 @@ export const glyph_style_map: Map<GeometryGlyphDimension, { gl_1: number; dim_1?
["sm+", { gl_1: 21 }],
["md-", { gl_1: 23 }],
["md", { gl_1: 24 }],
- ["md+", { gl_1: 27 }],
+ ["md+", { gl_1: 26 }],
+ ["lg-", { gl_1: 28 }],
["lg", { gl_1: 28 }],
["xl", { gl_1: 30 }],
["xl+", { gl_1: 40 }],