@djangocfg/ui-core 2.1.374 → 2.1.375

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": "@djangocfg/ui-core",
3
- "version": "2.1.374",
3
+ "version": "2.1.375",
4
4
  "description": "Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps",
5
5
  "keywords": [
6
6
  "ui-components",
@@ -96,7 +96,7 @@
96
96
  "playground": "playground dev"
97
97
  },
98
98
  "peerDependencies": {
99
- "@djangocfg/i18n": "^2.1.374",
99
+ "@djangocfg/i18n": "^2.1.375",
100
100
  "consola": "^3.4.2",
101
101
  "lucide-react": "^0.545.0",
102
102
  "moment": "^2.30.1",
@@ -166,9 +166,9 @@
166
166
  "vaul": "1.1.2"
167
167
  },
168
168
  "devDependencies": {
169
- "@djangocfg/i18n": "^2.1.374",
169
+ "@djangocfg/i18n": "^2.1.375",
170
170
  "@djangocfg/playground": "workspace:*",
171
- "@djangocfg/typescript-config": "^2.1.374",
171
+ "@djangocfg/typescript-config": "^2.1.375",
172
172
  "@types/node": "^24.7.2",
173
173
  "@types/react": "^19.1.0",
174
174
  "@types/react-dom": "^19.1.0",
@@ -28,45 +28,46 @@ const appleTypography = {
28
28
 
29
29
  export const macosPreset: ThemePreset = {
30
30
  light: {
31
- // systemGroupedBackground #F2F2F7
31
+ // systemGroupedBackground #F2F2F7 — main page canvas
32
32
  background: '240 17% 97%',
33
- foreground: '0 0% 8%',
34
- // Cards sit on pure white — standard Apple elevated surface
33
+ foreground: '0 0% 7%',
34
+ // Cards: pure white elevated surface — standard Apple insetGrouped cell
35
35
  card: '0 0% 100%',
36
- 'card-foreground': '0 0% 8%',
37
- // Popovers / menus: white with system shadow
36
+ 'card-foreground': '0 0% 7%',
37
+ // Popovers / context menus: white with system drop shadow
38
38
  popover: '0 0% 100%',
39
- 'popover-foreground': '0 0% 8%',
39
+ 'popover-foreground': '0 0% 7%',
40
40
  // systemBlue #007AFF
41
41
  primary: '211 100% 50%',
42
42
  'primary-foreground': '0 0% 100%',
43
- // secondarySystemGroupedBackground #EFEFF4
44
- secondary: '240 14% 96%',
45
- 'secondary-foreground': '0 0% 8%',
46
- // tertiarySystemGroupedBackground #E5E5EA — muted fills, tag backgrounds
47
- muted: '240 6% 90%',
48
- 'muted-foreground': '220 4% 46%',
49
- // Light blue-tinted hover surface (not grey)
50
- accent: '211 55% 96%',
51
- 'accent-foreground': '211 100% 38%',
43
+ // secondarySystemGroupedBackground #EFEFF4 — section headers, nested surfaces
44
+ secondary: '240 12% 95%',
45
+ 'secondary-foreground': '0 0% 7%',
46
+ // tertiarySystemGroupedBackground #E5E5EA — chips, tag pills, disabled fills
47
+ muted: '240 8% 91%',
48
+ 'muted-foreground': '240 3% 44%',
49
+ // Blue-tinted hover state Apple uses a subtle blue wash, never plain grey
50
+ accent: '211 50% 96%',
51
+ 'accent-foreground': '211 100% 36%',
52
52
  // systemRed #FF3B30
53
53
  destructive: '2 100% 59%',
54
54
  'destructive-foreground': '0 0% 100%',
55
- // Separator: rgba(60,60,67,0.29) hairline only, not a thick line
56
- border: '240 5% 84%',
57
- input: '240 6% 92%',
55
+ // Apple opaque separator: rgba(60,60,67,0.29) on white #C6C6C8 HSL 240 3% 78%
56
+ // Kept intentionally light — Apple hairline, not a thick rule
57
+ border: '240 3% 78%',
58
+ input: '240 8% 93%',
58
59
  ring: '211 100% 50%',
59
60
  radius: '0.625rem',
60
- // Sidebar: secondarySystemGroupedBackground tinted slightly cooler
61
- 'sidebar-background': '240 14% 95%',
62
- 'sidebar-foreground': '0 0% 8%',
61
+ // Sidebar: slighly darker than page, matches macOS sidebar material
62
+ 'sidebar-background': '240 12% 94%',
63
+ 'sidebar-foreground': '0 0% 7%',
63
64
  'sidebar-primary': '211 100% 50%',
64
65
  'sidebar-primary-foreground': '0 0% 100%',
65
- 'sidebar-accent': '211 55% 94%',
66
- 'sidebar-accent-foreground': '211 100% 38%',
67
- 'sidebar-border': '240 5% 88%',
66
+ 'sidebar-accent': '211 50% 93%',
67
+ 'sidebar-accent-foreground': '211 100% 36%',
68
+ 'sidebar-border': '240 3% 82%',
68
69
  'sidebar-ring': '211 100% 50%',
69
- // Chart: systemBlue + Apple system colors
70
+ // Chart: systemBlue + Apple tint palette
70
71
  'chart-1': '211 100% 50%',
71
72
  'chart-2': '142 52% 40%',
72
73
  'chart-3': '262 60% 56%',