@almadar/orb 1.9.5 → 1.9.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/orb",
3
- "version": "1.9.5",
3
+ "version": "1.9.6",
4
4
  "description": "Orb CLI - Compile Orbital schemas to full-stack applications",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -49,10 +49,10 @@
49
49
  "node": ">=16.0.0"
50
50
  },
51
51
  "optionalDependencies": {
52
- "@almadar/orb-darwin-x64": "1.9.5",
53
- "@almadar/orb-darwin-arm64": "1.9.5",
54
- "@almadar/orb-linux-x64": "1.9.5",
55
- "@almadar/orb-linux-arm64": "1.9.5",
56
- "@almadar/orb-windows-x64": "1.9.5"
52
+ "@almadar/orb-darwin-x64": "1.9.6",
53
+ "@almadar/orb-darwin-arm64": "1.9.6",
54
+ "@almadar/orb-linux-x64": "1.9.6",
55
+ "@almadar/orb-linux-arm64": "1.9.6",
56
+ "@almadar/orb-windows-x64": "1.9.6"
57
57
  }
58
58
  }
@@ -31,7 +31,8 @@ import defaultLocale from '@almadar/ui/locales/en.json';
31
31
  const schema = { name: 'app', orbitals: [] }; // Placeholder - replaced by compiler
32
32
 
33
33
  // {{GENERATED_I18N_VALUE}}
34
- const i18nValue = { locale: 'en', direction: 'ltr' as const, t: createTranslate(defaultLocale) };
34
+ const { $meta: defaultMeta, ...defaultMessages } = defaultLocale;
35
+ const i18nValue = { locale: defaultMeta?.locale ?? 'en', direction: (defaultMeta?.direction ?? 'ltr') as 'ltr' | 'rtl', t: createTranslate(defaultMessages) };
35
36
 
36
37
  const queryClient = new QueryClient({
37
38
  defaultOptions: {
@@ -13,6 +13,18 @@
13
13
  module.exports = {
14
14
  darkMode: 'class',
15
15
  safelist: [
16
+ // Standard utilities used via dynamic className from .orb schemas
17
+ 'p-4', 'p-6', 'p-8',
18
+ 'px-4', 'px-6', 'py-4', 'py-6',
19
+ 'mx-auto',
20
+ 'w-full',
21
+ 'max-w-sm', 'max-w-md', 'max-w-lg', 'max-w-xl', 'max-w-2xl', 'max-w-3xl', 'max-w-4xl', 'max-w-5xl', 'max-w-6xl', 'max-w-7xl',
22
+ 'min-h-screen',
23
+ 'gap-1', 'gap-2', 'gap-3', 'gap-4', 'gap-6', 'gap-8',
24
+ 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4',
25
+ 'sm:grid-cols-2', 'md:grid-cols-2', 'md:grid-cols-3', 'lg:grid-cols-3', 'lg:grid-cols-4',
26
+ 'text-center', 'text-left', 'text-right',
27
+ // CSS variable-based classes from @almadar/ui components
16
28
  'accent-[var(--color-foreground)]',
17
29
  'accent-[var(--color-primary)]',
18
30
  'active:bg-[var(--color-muted)]',