@getsoren/design-system 4.49.0 → 4.50.0

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.
@@ -37,6 +37,11 @@ export interface TimeScale {
37
37
  }
38
38
  /** Local-midnight start of the given day. */
39
39
  export declare const startOfDay: (date: Date | number) => Date;
40
+ /**
41
+ * Parse a date input, reading date-only strings ("2026-07-01") as LOCAL midnight — `new Date()`
42
+ * would read them as UTC midnight, which lands on the previous local day west of UTC.
43
+ */
44
+ export declare const parseLocalDate: (value: string | number | Date) => Date;
40
45
  /** Last millisecond of the given day (23:59:59.999, local time). */
41
46
  export declare const endOfDay: (date: Date | number) => Date;
42
47
  export declare const startOfMonth: (date: Date | number) => Date;
@@ -5,6 +5,10 @@ export type ObjectNavigationItem = {
5
5
  label?: string;
6
6
  count?: number;
7
7
  countColor?: ChipProps["color"];
8
+ /** Small highlight chip rendered next to the label (e.g. "New"). Hidden when the sidebar is collapsed to the icon rail. */
9
+ tag?: string;
10
+ /** Color of the `tag` chip. @default "info" */
11
+ tagColor?: ChipProps["color"];
8
12
  icon?: ReactNode;
9
13
  active?: boolean;
10
14
  state?: any;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.49.0",
5
+ "version": "4.50.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",