design-system-silkhaus 3.12.0-beta.month-range-picker.1 → 3.12.0-beta.month-range-picker.2

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
@@ -500,6 +500,13 @@ export declare const DeleteIcon: FC<{
500
500
  className?: string;
501
501
  }>;
502
502
 
503
+ export declare const DesktopActionBar: ({ applyLabel, cancelLabel, onApply, onCancel, }: {
504
+ applyLabel: string;
505
+ cancelLabel: string;
506
+ onApply?: () => void;
507
+ onCancel?: () => void;
508
+ }) => JSX_2.Element;
509
+
503
510
  export declare const desktopMinWidth: number;
504
511
 
505
512
  export declare const DesktopMonthRangePicker: FC<PropsWithChildren<MonthRangePickerProps>>;
@@ -1028,6 +1035,9 @@ export declare type MonthRangePickerProps = {
1028
1035
  * By default the dropdown will display the selected dates in the format of "MMM YY - MMM YY"
1029
1036
  */
1030
1037
  getSelectedValueDisplayText?: (value?: MonthRange, placeholder?: string) => string;
1038
+ shortcutLabels: ShortcutsProps['labels'];
1039
+ applyLabel?: string;
1040
+ cancelLabel?: string;
1031
1041
  };
1032
1042
 
1033
1043
  export declare type MonthYear = {
@@ -1515,6 +1525,15 @@ export declare const ShareIcon: FC<{
1515
1525
  className?: string;
1516
1526
  }>;
1517
1527
 
1528
+ declare type ShortcutsKey = 'custom' | 'currentMonth' | 'lastMonth' | 'last3Months' | 'last12Months' | 'allTime';
1529
+
1530
+ declare type ShortcutsProps = {
1531
+ labels: Record<ShortcutsKey, string>;
1532
+ value?: ShortcutsKey;
1533
+ onChange?: (value: ShortcutsKey) => void;
1534
+ className?: string;
1535
+ };
1536
+
1518
1537
  export declare const SingleBuildingIcon: FC<{
1519
1538
  className?: string;
1520
1539
  }>;