@jobber/components 6.61.4 → 6.61.5

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.
@@ -8,6 +8,9 @@ var styles$3 = {"container":"-R-TvZ9aU9g-","spinning":"SYARPwvkeO0-"};
8
8
 
9
9
  var checkboxStyles = {"checkboxWrapper":"HgFD6w2VXzo-","dayCheckboxInput":"XGjk9DHJAmw-","dayCheckbox":"zulupkPyEs8-","spinning":"jjJFVaCX4Zk-"};
10
10
 
11
+ /**
12
+ * @deprecated RecurringSelect will be removed in the next major version
13
+ */
11
14
  exports.WeekDay = void 0;
12
15
  (function (WeekDay) {
13
16
  WeekDay[WeekDay["Sunday"] = 0] = "Sunday";
@@ -18,6 +21,9 @@ exports.WeekDay = void 0;
18
21
  WeekDay[WeekDay["Friday"] = 5] = "Friday";
19
22
  WeekDay[WeekDay["Saturday"] = 6] = "Saturday";
20
23
  })(exports.WeekDay || (exports.WeekDay = {}));
24
+ /**
25
+ * @deprecated RecurringSelect will be removed in the next major version
26
+ */
21
27
  exports.DurationPeriod = void 0;
22
28
  (function (DurationPeriod) {
23
29
  DurationPeriod["Day"] = "Day";
@@ -6,6 +6,9 @@ var styles$3 = {"container":"-R-TvZ9aU9g-","spinning":"SYARPwvkeO0-"};
6
6
 
7
7
  var checkboxStyles = {"checkboxWrapper":"HgFD6w2VXzo-","dayCheckboxInput":"XGjk9DHJAmw-","dayCheckbox":"zulupkPyEs8-","spinning":"jjJFVaCX4Zk-"};
8
8
 
9
+ /**
10
+ * @deprecated RecurringSelect will be removed in the next major version
11
+ */
9
12
  var WeekDay;
10
13
  (function (WeekDay) {
11
14
  WeekDay[WeekDay["Sunday"] = 0] = "Sunday";
@@ -16,6 +19,9 @@ var WeekDay;
16
19
  WeekDay[WeekDay["Friday"] = 5] = "Friday";
17
20
  WeekDay[WeekDay["Saturday"] = 6] = "Saturday";
18
21
  })(WeekDay || (WeekDay = {}));
22
+ /**
23
+ * @deprecated RecurringSelect will be removed in the next major version
24
+ */
19
25
  var DurationPeriod;
20
26
  (function (DurationPeriod) {
21
27
  DurationPeriod["Day"] = "Day";
@@ -5,5 +5,8 @@ interface RecurringSelectProps {
5
5
  readonly value: RecurrenceRule;
6
6
  onChange(value: RecurrenceRule): void;
7
7
  }
8
+ /**
9
+ * @deprecated RecurringSelect will be removed in the next major version
10
+ */
8
11
  export declare function RecurringSelect({ value, disabled, onChange, }: RecurringSelectProps): React.JSX.Element;
9
12
  export {};
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @deprecated RecurringSelect will be removed in the next major version
3
+ */
1
4
  export declare enum WeekDay {
2
5
  Sunday = 0,
3
6
  Monday = 1,
@@ -7,7 +10,13 @@ export declare enum WeekDay {
7
10
  Friday = 5,
8
11
  Saturday = 6
9
12
  }
13
+ /**
14
+ * @deprecated RecurringSelect will be removed in the next major version
15
+ */
10
16
  export type DayOfMonth = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | "LAST";
17
+ /**
18
+ * @deprecated RecurringSelect will be removed in the next major version
19
+ */
11
20
  export declare enum DurationPeriod {
12
21
  Day = "Day",
13
22
  Week = "Week",
@@ -34,6 +43,9 @@ export interface RecurrenceRuleWeekDayOfMonth {
34
43
  type: DurationPeriod.WeekDayOfMonth;
35
44
  dayOfWeek: [Set<WeekDay>, Set<WeekDay>, Set<WeekDay>, Set<WeekDay>];
36
45
  }
46
+ /**
47
+ * @deprecated RecurringSelect will be removed in the next major version
48
+ */
37
49
  export type RecurrenceRule = {
38
50
  interval: number;
39
51
  } & (RecurrenceRuleDay | RecurrenceRuleWeek | RecurrenceRuleYear | RecurrenceRuleDayOfMonth | RecurrenceRuleWeekDayOfMonth);
@@ -36,6 +36,9 @@ function CurrentRecurrenceComponent({ recurrenceRule, disabled = false, onChange
36
36
 
37
37
  var styles = {"container":"v2xMxsPFwcM-","fullWidthWrapper":"cfDwOgEkPHQ-","spinning":"s4XnDjTR4Uw-"};
38
38
 
39
+ /**
40
+ * @deprecated RecurringSelect will be removed in the next major version
41
+ */
39
42
  function RecurringSelect({ value, disabled = false, onChange, }) {
40
43
  const disabledTextVariation = disabled ? "disabled" : undefined;
41
44
  // we must dynamically populate the select option based on which is selected
@@ -34,6 +34,9 @@ function CurrentRecurrenceComponent({ recurrenceRule, disabled = false, onChange
34
34
 
35
35
  var styles = {"container":"v2xMxsPFwcM-","fullWidthWrapper":"cfDwOgEkPHQ-","spinning":"s4XnDjTR4Uw-"};
36
36
 
37
+ /**
38
+ * @deprecated RecurringSelect will be removed in the next major version
39
+ */
37
40
  function RecurringSelect({ value, disabled = false, onChange, }) {
38
41
  const disabledTextVariation = disabled ? "disabled" : undefined;
39
42
  // we must dynamically populate the select option based on which is selected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.61.4",
3
+ "version": "6.61.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -542,5 +542,5 @@
542
542
  "> 1%",
543
543
  "IE 10"
544
544
  ],
545
- "gitHead": "0204231c09b6434b9989040555030fd6336725ca"
545
+ "gitHead": "753cf610cce067a76ce9da1947632a17df4c8609"
546
546
  }