@placesapp/appy-ui 0.0.334 → 0.0.336

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/index.d.ts CHANGED
@@ -215,36 +215,17 @@ declare const ChartStyle: ({ id, config }: {
215
215
  config: ChartConfig;
216
216
  }) => react_jsx_runtime.JSX.Element | null;
217
217
  declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
218
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: Omit<React$1.ComponentProps<typeof RechartsPrimitive.Tooltip>, 'payload' | 'label' | 'labelFormatter' | 'formatter'> & React$1.ComponentProps<'div'> & {
218
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<'div'> & {
219
219
  hideLabel?: boolean;
220
220
  hideIndicator?: boolean;
221
221
  indicator?: 'line' | 'dot' | 'dashed';
222
222
  nameKey?: string;
223
223
  labelKey?: string;
224
- payload?: Array<{
225
- type?: string;
226
- name?: string;
227
- dataKey?: string;
228
- value?: number | string;
229
- color?: string;
230
- payload?: Record<string, unknown>;
231
- fill?: string;
232
- }>;
233
- label?: string;
234
- labelFormatter?: (value: React$1.ReactNode, payload: unknown[]) => React$1.ReactNode;
235
- formatter?: (value: unknown, name: unknown, item: unknown, index: number, payload: unknown) => React$1.ReactNode;
236
224
  }): react_jsx_runtime.JSX.Element | null;
237
225
  declare const ChartLegend: typeof RechartsPrimitive.Legend;
238
- declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<'div'> & {
226
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<'div'> & Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {
239
227
  hideIcon?: boolean;
240
228
  nameKey?: string;
241
- verticalAlign?: 'top' | 'bottom' | 'middle';
242
- payload?: Array<{
243
- type?: string;
244
- value?: string;
245
- dataKey?: string;
246
- color?: string;
247
- }>;
248
229
  }): react_jsx_runtime.JSX.Element | null;
249
230
 
250
231
  declare function Checkbox({ className, ...props }: Checkbox$1.Root.Props): react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -1587,7 +1587,7 @@ function ChartTooltipContent({
1587
1587
  /* @__PURE__ */ jsx("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
1588
1588
  const key = `${nameKey || item.name || item.dataKey || "value"}`;
1589
1589
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
1590
- const indicatorColor = color || item.payload?.fill || item.color;
1590
+ const indicatorColor = color || item.payload.fill || item.color;
1591
1591
  return /* @__PURE__ */ jsx(
1592
1592
  "div",
1593
1593
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@placesapp/appy-ui",
3
- "version": "0.0.334",
3
+ "version": "0.0.336",
4
4
  "type": "module",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "motion": "^12.4.7",
33
33
  "react-day-picker": "^9.13.0",
34
34
  "react-resizable-panels": "^2.1.7",
35
- "recharts": "^3.7.0",
35
+ "recharts": "^2.15.4",
36
36
  "sonner": "^2.0.1",
37
37
  "tailwind-merge": "^3.0.1",
38
38
  "tanstack-theme-kit": "^0.2.1",
@@ -45,30 +45,31 @@
45
45
  }
46
46
 
47
47
  :root {
48
- --background: oklch(0.99 0.002 75);
49
- --foreground: oklch(0.15 0.01 75);
48
+ --radius: 0.875rem;
49
+ --background: oklch(1 0 0);
50
+ --foreground: oklch(0.145 0 0);
50
51
  --card: oklch(1 0 0);
51
52
  --card-foreground: oklch(0.145 0 0);
52
53
  --popover: oklch(1 0 0);
53
54
  --popover-foreground: oklch(0.145 0 0);
54
- --primary: oklch(0.65 0.18 45);
55
- --primary-foreground: oklch(0.99 0.002 75);
55
+ --primary: oklch(0.205 0 0);
56
+ --primary-foreground: oklch(0.985 0 0);
56
57
  --secondary: oklch(0.97 0 0);
57
58
  --secondary-foreground: oklch(0.205 0 0);
58
59
  --muted: oklch(0.97 0 0);
59
60
  --muted-foreground: oklch(0.556 0 0);
60
- --accent: oklch(0.65 0.18 45);
61
- --accent-foreground: oklch(0.99 0.002 75);
62
- --destructive: oklch(0.58 0.22 27);
61
+ --accent: oklch(0.97 0 0);
62
+ --accent-foreground: oklch(0.205 0 0);
63
+ --destructive: oklch(0.577 0.245 27.325);
64
+ --destructive-foreground: oklch(0.985 0 0);
63
65
  --border: oklch(0.922 0 0);
64
66
  --input: oklch(0.922 0 0);
65
- --ring: oklch(0.65 0.18 45);
66
- --chart-1: oklch(0.809 0.105 251.813);
67
- --chart-2: oklch(0.623 0.214 259.815);
68
- --chart-3: oklch(0.546 0.245 262.881);
69
- --chart-4: oklch(0.488 0.243 264.376);
70
- --chart-5: oklch(0.424 0.199 265.638);
71
- --radius: 0.875rem;
67
+ --ring: oklch(0.708 0 0);
68
+ --chart-1: oklch(0.646 0.222 41.116);
69
+ --chart-2: oklch(0.6 0.118 184.704);
70
+ --chart-3: oklch(0.398 0.07 227.392);
71
+ --chart-4: oklch(0.828 0.189 84.429);
72
+ --chart-5: oklch(0.769 0.188 70.08);
72
73
  --sidebar: oklch(0.985 0 0);
73
74
  --sidebar-foreground: oklch(0.145 0 0);
74
75
  --sidebar-primary: oklch(0.205 0 0);
@@ -80,37 +81,38 @@
80
81
  }
81
82
 
82
83
  .dark {
83
- --background: oklch(0.14 0.01 260);
84
- --foreground: oklch(0.92 0.01 75);
85
- --card: oklch(0.18 0.01 260);
86
- --card-foreground: oklch(0.92 0.01 75);
87
- --popover: oklch(0.18 0.01 260);
88
- --popover-foreground: oklch(0.92 0.01 75);
89
- --primary: oklch(0.72 0.18 45);
90
- --primary-foreground: oklch(0.14 0.01 260);
91
- --secondary: oklch(0.22 0.01 260);
92
- --secondary-foreground: oklch(0.92 0.01 75);
93
- --muted: oklch(0.22 0.01 260);
94
- --muted-foreground: oklch(0.65 0.01 75);
95
- --accent: oklch(0.72 0.18 45);
96
- --accent-foreground: oklch(0.14 0.01 260);
84
+ --background: oklch(0.145 0 0);
85
+ --foreground: oklch(0.985 0 0);
86
+ --card: oklch(0.205 0 0);
87
+ --card-foreground: oklch(0.985 0 0);
88
+ --popover: oklch(0.269 0 0);
89
+ --popover-foreground: oklch(0.985 0 0);
90
+ --primary: oklch(0.922 0 0);
91
+ --primary-foreground: oklch(0.205 0 0);
92
+ --secondary: oklch(0.269 0 0);
93
+ --secondary-foreground: oklch(0.985 0 0);
94
+ --muted: oklch(0.269 0 0);
95
+ --muted-foreground: oklch(0.708 0 0);
96
+ --accent: oklch(0.371 0 0);
97
+ --accent-foreground: oklch(0.985 0 0);
97
98
  --destructive: oklch(0.704 0.191 22.216);
99
+ --destructive-foreground: oklch(0.985 0 0);
98
100
  --border: oklch(1 0 0 / 10%);
99
101
  --input: oklch(1 0 0 / 15%);
100
- --ring: oklch(0.72 0.18 45);
101
- --chart-1: oklch(0.809 0.105 251.813);
102
- --chart-2: oklch(0.623 0.214 259.815);
103
- --chart-3: oklch(0.546 0.245 262.881);
104
- --chart-4: oklch(0.488 0.243 264.376);
105
- --chart-5: oklch(0.424 0.199 265.638);
106
- --sidebar: oklch(0.18 0.01 260);
107
- --sidebar-foreground: oklch(0.92 0.01 75);
108
- --sidebar-primary: oklch(0.72 0.18 45);
109
- --sidebar-primary-foreground: oklch(0.14 0.01 260);
110
- --sidebar-accent: oklch(0.22 0.01 260);
111
- --sidebar-accent-foreground: oklch(0.92 0.01 75);
102
+ --ring: oklch(0.556 0 0);
103
+ --chart-1: oklch(0.488 0.243 264.376);
104
+ --chart-2: oklch(0.696 0.17 162.48);
105
+ --chart-3: oklch(0.769 0.188 70.08);
106
+ --chart-4: oklch(0.627 0.265 303.9);
107
+ --chart-5: oklch(0.645 0.246 16.439);
108
+ --sidebar: oklch(0.205 0 0);
109
+ --sidebar-foreground: oklch(0.985 0 0);
110
+ --sidebar-primary: oklch(0.488 0.243 264.376);
111
+ --sidebar-primary-foreground: oklch(0.985 0 0);
112
+ --sidebar-accent: oklch(0.269 0 0);
113
+ --sidebar-accent-foreground: oklch(0.985 0 0);
112
114
  --sidebar-border: oklch(1 0 0 / 10%);
113
- --sidebar-ring: oklch(0.72 0.18 45);
115
+ --sidebar-ring: oklch(0.439 0 0);
114
116
  }
115
117
 
116
118
  .ios {