@layerfi/components 0.1.126 → 0.1.128-alpha

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
@@ -1072,7 +1072,7 @@ declare interface TasksStringOverrides {
1072
1072
  header?: string;
1073
1073
  }
1074
1074
 
1075
- export declare const TaxEstimatesView: () => JSX_2.Element;
1075
+ export declare const TaxEstimates: () => JSX_2.Element;
1076
1076
 
1077
1077
  declare type TimeRangePickerConfig = {
1078
1078
  /**
@@ -1095,6 +1095,16 @@ declare type TimeRangePickerConfig = {
1095
1095
  csvMoneyFormat?: MoneyFormat;
1096
1096
  };
1097
1097
 
1098
+ declare interface TimeTrackingProps {
1099
+ showTitle?: boolean;
1100
+ onReportsClick?: () => void;
1101
+ stringOverrides?: TimeTrackingStringOverrides;
1102
+ }
1103
+
1104
+ declare interface TimeTrackingStringOverrides {
1105
+ title?: string;
1106
+ }
1107
+
1098
1108
  declare interface ToastProps {
1099
1109
  id?: string;
1100
1110
  content: string;
@@ -1115,6 +1125,8 @@ export declare const unstable_MileageTracking: ({ showTitle }: {
1115
1125
  showTitle?: boolean;
1116
1126
  }) => JSX_2.Element;
1117
1127
 
1128
+ export declare const unstable_TimeTracking: ({ showTitle, onReportsClick, stringOverrides }: TimeTrackingProps) => JSX_2.Element;
1129
+
1118
1130
  export declare const unstable_UnifiedReports: ({ dateSelectionMode }: UnifiedReportProps) => JSX_2.Element;
1119
1131
 
1120
1132
  export declare const useLayerContext: () => LayerContextShape;
@@ -1133,5 +1145,6 @@ export { }
1133
1145
  declare module '@tanstack/react-table' {
1134
1146
  interface ColumnMeta<TData extends RowData, TValue> {
1135
1147
  isRowHeader: boolean;
1148
+ alignment?: Alignment;
1136
1149
  }
1137
1150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.126",
3
+ "version": "0.1.128-alpha",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",
@@ -94,6 +94,7 @@
94
94
  },
95
95
  "dependencies": {
96
96
  "@floating-ui/react": "^0.27.8",
97
+ "@formatjs/intl-durationformat": "^0.10.4",
97
98
  "@internationalized/date": "^3.8.2",
98
99
  "@react-hook/resize-observer": "^2.0.2",
99
100
  "@tanstack/react-form": "^1.19.0",