Add i18n, use default imports for UI.
Showing
- .gitmodules 3 additions, 0 deletions.gitmodules
- external/lang 1 addition, 0 deletionsexternal/lang
- package.json 2 additions, 1 deletionpackage.json
- src/app.tsx 41 additions, 37 deletionssrc/app.tsx
- src/components/ui/Banner.tsx 1 addition, 1 deletionsrc/components/ui/Banner.tsx
- src/components/ui/Button.tsx 1 addition, 1 deletionsrc/components/ui/Button.tsx
- src/components/ui/Checkbox.tsx 1 addition, 1 deletionsrc/components/ui/Checkbox.tsx
- src/components/ui/ColourSwatches.tsx 1 addition, 1 deletionsrc/components/ui/ColourSwatches.tsx
- src/components/ui/ComboBox.tsx 1 addition, 1 deletionsrc/components/ui/ComboBox.tsx
- src/components/ui/InputBox.tsx 1 addition, 1 deletionsrc/components/ui/InputBox.tsx
- src/components/ui/LineDivider.tsx 1 addition, 1 deletionsrc/components/ui/LineDivider.tsx
- src/components/ui/Overline.tsx 1 addition, 1 deletionsrc/components/ui/Overline.tsx
- src/components/ui/Preloader.tsx 1 addition, 1 deletionsrc/components/ui/Preloader.tsx
- src/components/ui/Radio.tsx 1 addition, 1 deletionsrc/components/ui/Radio.tsx
- src/components/ui/Tip.tsx 1 addition, 1 deletionsrc/components/ui/Tip.tsx
- src/context/Locale.tsx 14 additions, 0 deletionssrc/context/Locale.tsx
- yarn.lock 18 additions, 5 deletionsyarn.lock
.gitmodules
0 → 100644
... | @@ -13,8 +13,9 @@ | ... | @@ -13,8 +13,9 @@ |
"@preact/preset-vite": "^2.0.0", | "@preact/preset-vite": "^2.0.0", | ||
"@styled-icons/bootstrap": "^10.34.0", | "@styled-icons/bootstrap": "^10.34.0", | ||
"@styled-icons/feather": "^10.34.0", | "@styled-icons/feather": "^10.34.0", | ||
"@types/preact-i18n": "^2.3.0", | |||
"@types/styled-components": "^5.1.10", | "@types/styled-components": "^5.1.10", | ||
"preact-i18n": "^1.5.0", | "preact-i18n": "^2.4.0-preactx", | ||
"react-overlapping-panels": "1.1.2-patch.0", | "react-overlapping-panels": "1.1.2-patch.0", | ||
"rimraf": "^3.0.2", | "rimraf": "^3.0.2", | ||
"sass": "^1.35.1", | "sass": "^1.35.1", | ||
... | ... |
src/context/Locale.tsx
0 → 100644
Please register or sign in to comment