@bigbinary/neeto-molecules 5.13.7 → 5.13.8

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": "@bigbinary/neeto-molecules",
3
- "version": "5.13.7",
3
+ "version": "5.13.8",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -210,6 +210,7 @@
210
210
  "rollup-plugin-dts": "^6.4.0",
211
211
  "rollup-plugin-peer-deps-external": "2.2.4",
212
212
  "rollup-plugin-styles": "4.0.0",
213
+ "rrule": "2.8.1",
213
214
  "sass": "1.89.0",
214
215
  "sass-loader": "^13.0.2",
215
216
  "shadcn": "^4.1.1",
@@ -1017,6 +1017,32 @@
1017
1017
  "success": "Thanks! Your slowness report has been sent.",
1018
1018
  "viewReplay": "View replay",
1019
1019
  "error": "Couldn't report slowness. Please try again."
1020
+ },
1021
+ "repeatPicker": {
1022
+ "label": "Repeat",
1023
+ "never": "Don't repeat",
1024
+ "daily": "Every day",
1025
+ "weekdays": "Every weekday (Mon–Fri)",
1026
+ "weekly": "Every week",
1027
+ "biweekly": "Every other week",
1028
+ "monthlyOn": "Every month on the {{day, anyCase}}",
1029
+ "yearly": "Every year",
1030
+ "monthlyCustom": "Monthly custom…",
1031
+ "dayOfMonth_one": "{{count}}st",
1032
+ "dayOfMonth_two": "{{count}}nd",
1033
+ "dayOfMonth_few": "{{count}}rd",
1034
+ "dayOfMonth_other": "{{count}}th",
1035
+ "weekdayOfMonth_one": "{{count}}st {{weekday, anyCase}}",
1036
+ "weekdayOfMonth_two": "{{count}}nd {{weekday, anyCase}}",
1037
+ "weekdayOfMonth_few": "{{count}}rd {{weekday, anyCase}}",
1038
+ "weekdayOfMonth_other": "{{count}}th {{weekday, anyCase}}",
1039
+ "lastWeekdayOfMonth": "last {{weekday, anyCase}}",
1040
+ "every": "Every",
1041
+ "months_one": "{{count}} month",
1042
+ "months_other": "{{count}} months",
1043
+ "onThe": "on the:",
1044
+ "forever": "Forever",
1045
+ "until": "Until"
1020
1046
  }
1021
1047
  }
1022
1048
  }
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+
3
+ import { Dayjs } from "dayjs";
4
+
5
+ type RepeatPickerProps = {
6
+ date: Dayjs | Date | string;
7
+ value?: string | null;
8
+ label?: string;
9
+ disabled?: boolean;
10
+ className?: string;
11
+ onChange: (rule: string | null) => void;
12
+ };
13
+
14
+ const RepeatPicker: React.FC<RepeatPickerProps>;
15
+
16
+ export function anchorRecurrenceRule(
17
+ rule: string | null,
18
+ date: Dayjs | Date | string
19
+ ): string | null;
20
+
21
+ export default RepeatPicker;