impact-nova 2.6.1 → 2.6.3

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.
@@ -1,33 +1,41 @@
1
- import { jsxs as g, jsx as o, Fragment as $ } from "react/jsx-runtime";
2
- import * as h from "react";
3
- import { createPortal as z } from "react-dom";
1
+ import { jsxs as u, jsx as o, Fragment as z } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import { createPortal as $ } from "react-dom";
4
4
  import { GuidanceStepPanel as A } from "./guidance-card-shared.js";
5
- import { useGuidanceOverlayGeometry as G } from "../hooks/useGuidanceOverlayGeometry.js";
6
- import { useAdvanceOnTargetClick as P, buildHighlightRectForTarget as T, computePopoverPosition as H } from "./guidance-renderer-shared.js";
7
- const _ = 220, i = `motion-safe:transition-[top,left,width,height] motion-safe:duration-[${_}ms] motion-safe:ease-[cubic-bezier(0.22,1,0.36,1)]`;
5
+ import { useGuidanceOverlayGeometry as T } from "../hooks/useGuidanceOverlayGeometry.js";
6
+ import { useAdvanceOnTargetClick as G, buildHighlightRectForTarget as M, computePopoverPosition as P } from "./guidance-renderer-shared.js";
7
+ const H = 220, g = `motion-safe:transition-[top,left,width,height] motion-safe:duration-[${H}ms] motion-safe:ease-[cubic-bezier(0.22,1,0.36,1)]`;
8
8
  function L({
9
9
  highlightRect: e,
10
- blocksPointerEvents: n = !0
10
+ blocksPointerEvents: l = !0
11
11
  }) {
12
- const a = typeof window < "u" ? window.innerWidth : 0, d = typeof window < "u" ? window.innerHeight : 0, l = e.x + e.width, c = e.y + e.height, r = n ? `pointer-events-auto absolute bg-[var(--guidance-backdrop-bg)] opacity-[var(--guidance-backdrop-opacity,0.6)] ${i}` : `pointer-events-none absolute bg-[var(--guidance-backdrop-bg)] opacity-[var(--guidance-backdrop-opacity,0.6)] ${i}`;
13
- return /* @__PURE__ */ g($, { children: [
12
+ if (!l)
13
+ return null;
14
+ const a = typeof window < "u" ? window.innerWidth : 0, i = typeof window < "u" ? window.innerHeight : 0, d = Math.max(0, e.y), m = Math.max(0, e.x), r = Math.min(
15
+ a,
16
+ e.x + e.width
17
+ ), c = Math.min(
18
+ i,
19
+ e.y + e.height
20
+ ), s = Math.max(0, c - d), n = `pointer-events-auto absolute ${g}`;
21
+ return /* @__PURE__ */ u(z, { children: [
14
22
  /* @__PURE__ */ o(
15
23
  "div",
16
24
  {
17
- className: r,
18
- style: { top: 0, left: 0, width: a, height: e.y },
25
+ className: n,
26
+ style: { top: 0, left: 0, width: a, height: d },
19
27
  "aria-hidden": "true"
20
28
  }
21
29
  ),
22
30
  /* @__PURE__ */ o(
23
31
  "div",
24
32
  {
25
- className: r,
33
+ className: n,
26
34
  style: {
27
35
  top: c,
28
36
  left: 0,
29
37
  width: a,
30
- height: Math.max(0, d - c)
38
+ height: Math.max(0, i - c)
31
39
  },
32
40
  "aria-hidden": "true"
33
41
  }
@@ -35,12 +43,12 @@ function L({
35
43
  /* @__PURE__ */ o(
36
44
  "div",
37
45
  {
38
- className: r,
46
+ className: n,
39
47
  style: {
40
- top: e.y,
48
+ top: d,
41
49
  left: 0,
42
- width: e.x,
43
- height: e.height
50
+ width: m,
51
+ height: s
44
52
  },
45
53
  "aria-hidden": "true"
46
54
  }
@@ -48,31 +56,30 @@ function L({
48
56
  /* @__PURE__ */ o(
49
57
  "div",
50
58
  {
51
- className: r,
59
+ className: n,
52
60
  style: {
53
- top: e.y,
54
- left: l,
55
- width: Math.max(0, a - l),
56
- height: e.height
61
+ top: d,
62
+ left: r,
63
+ width: Math.max(0, a - r),
64
+ height: s
57
65
  },
58
66
  "aria-hidden": "true"
59
67
  }
60
68
  )
61
69
  ] });
62
70
  }
63
- const C = 12, y = 20;
64
- function M(e) {
65
- const n = C / 2, a = e.placement === "left" || e.placement === "right", d = a ? e.highlightRect.y + e.highlightRect.height / 2 : e.highlightRect.x + e.highlightRect.width / 2, l = a ? e.popoverTop : e.popoverLeft, c = a ? e.popoverHeight : e.popoverWidth, r = d - l - n, m = Math.max(
66
- y,
67
- c - y - C
68
- );
69
- return Math.min(Math.max(r, y), m);
71
+ const w = 12, R = Math.ceil(
72
+ 16 + w * Math.SQRT2 / 2
73
+ );
74
+ function _(e) {
75
+ const l = w / 2, a = e.placement === "left" || e.placement === "right", i = a ? e.highlightRect.y + e.highlightRect.height / 2 : e.highlightRect.x + e.highlightRect.width / 2, d = a ? e.popoverTop : e.popoverLeft, m = a ? e.popoverHeight : e.popoverWidth, r = i - d - l, c = R, s = m - R - w;
76
+ return s < c || r < c || r > s ? null : r;
70
77
  }
71
78
  function B({
72
79
  placement: e,
73
- offset: n
80
+ offset: l
74
81
  }) {
75
- const a = e === "left" || e === "right" ? { top: n } : { left: n }, d = {
82
+ const a = e === "left" || e === "right" ? { top: l } : { left: l }, i = {
76
83
  bottom: "left-0 top-0 -translate-y-1/2 border-l border-t",
77
84
  top: "bottom-0 left-0 translate-y-1/2 border-b border-r",
78
85
  right: "left-0 top-0 -translate-x-1/2 border-b border-l",
@@ -82,72 +89,75 @@ function B({
82
89
  "span",
83
90
  {
84
91
  "aria-hidden": "true",
85
- className: `pointer-events-none absolute z-0 size-3 rotate-45 border border-[var(--color-border-accent-muted)] bg-[var(--color-border-accent-muted)] ${d}`,
92
+ className: `pointer-events-none absolute z-0 size-3 rotate-45 border border-[var(--color-border-accent-muted)] bg-[var(--color-border-accent-muted)] ${i}`,
86
93
  style: a
87
94
  }
88
95
  );
89
96
  }
90
97
  function j({
91
98
  instruction: e,
92
- overlayComponent: n,
99
+ overlayComponent: l,
93
100
  onNext: a,
94
- onSkip: d,
95
- onDismiss: l,
96
- onBack: c
101
+ onSkip: i,
102
+ onDismiss: d,
103
+ onBack: m
97
104
  }) {
98
- const r = e.target?.element, m = G(r, e.stepId), N = e.stepIndex + 1 >= e.totalSteps, f = P(e, a), u = f || e.advanceOn === "auto", w = h.useRef(null), k = h.useRef(null), [v, E] = h.useState({ width: 400, height: 240 }), R = h.useCallback(() => {
105
+ const r = e.target?.element, c = T(r, e.stepId), s = e.stepIndex + 1 >= e.totalSteps, n = G(e, a), y = n || e.advanceOn === "auto", x = f.useRef(null), k = f.useRef(null), [v, E] = f.useState({ width: 400, height: 240 }), S = f.useCallback(() => {
99
106
  r?.click();
100
107
  }, [r]);
101
- if (h.useLayoutEffect(() => {
108
+ if (f.useLayoutEffect(() => {
102
109
  const p = k.current;
103
110
  p?.parentElement === document.body && document.body.appendChild(p);
104
- }, [e.stepId, u]), h.useLayoutEffect(() => {
105
- const p = w.current;
111
+ }, [e.stepId, y]), f.useLayoutEffect(() => {
112
+ const p = x.current;
106
113
  if (!p)
107
114
  return;
108
- const I = () => {
115
+ const C = () => {
109
116
  const b = p.getBoundingClientRect();
110
117
  b.width > 0 && b.height > 0 && E({
111
118
  width: b.width,
112
119
  height: b.height
113
120
  });
114
121
  };
115
- I();
116
- const O = new ResizeObserver(I);
117
- return O.observe(p), () => {
118
- O.disconnect();
122
+ C();
123
+ const N = new ResizeObserver(C);
124
+ return N.observe(p), () => {
125
+ N.disconnect();
119
126
  };
120
- }, [e.stepId, e.content.title, e.content.body]), !m || !r || typeof document > "u")
127
+ }, [e.stepId, e.content.title, e.content.body]), !c || !r || typeof document > "u")
121
128
  return null;
122
- const t = T(r), s = H({
129
+ const t = M(r);
130
+ if (!t)
131
+ return null;
132
+ const h = P({
123
133
  targetRect: t,
124
134
  popoverWidth: v.width,
125
135
  popoverHeight: v.height,
126
136
  preferredPlacement: e.placement
127
- }), S = M({
128
- placement: s.placement,
129
- popoverTop: s.top,
130
- popoverLeft: s.left,
137
+ }), O = _({
138
+ placement: h.placement,
139
+ popoverTop: h.top,
140
+ popoverLeft: h.left,
131
141
  highlightRect: t,
132
142
  popoverWidth: v.width,
133
143
  popoverHeight: v.height
134
- }), x = `guidance-mask-${e.stepId}`;
135
- return z(
136
- /* @__PURE__ */ g(
144
+ }), I = `guidance-mask-${e.stepId}`;
145
+ return $(
146
+ /* @__PURE__ */ u(
137
147
  "div",
138
148
  {
139
149
  ref: k,
140
- "data-component": n,
150
+ "data-component": l,
141
151
  className: "fixed inset-0 z-[60] pointer-events-none",
142
152
  role: "presentation",
143
153
  children: [
144
- /* @__PURE__ */ g(
154
+ /* @__PURE__ */ u(
145
155
  "svg",
146
156
  {
147
- className: `pointer-events-none absolute inset-0 size-full ${i}`,
157
+ className: `pointer-events-none absolute inset-0 size-full ${g}`,
148
158
  "aria-hidden": "true",
149
159
  children: [
150
- /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ g("mask", { id: x, children: [
160
+ /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ u("mask", { id: I, children: [
151
161
  /* @__PURE__ */ o("rect", { width: "100%", height: "100%", fill: "white" }),
152
162
  /* @__PURE__ */ o(
153
163
  "rect",
@@ -158,7 +168,7 @@ function j({
158
168
  height: t.height,
159
169
  rx: "8",
160
170
  fill: "black",
161
- className: i
171
+ className: g
162
172
  }
163
173
  )
164
174
  ] }) }),
@@ -168,8 +178,8 @@ function j({
168
178
  width: "100%",
169
179
  height: "100%",
170
180
  fill: "var(--guidance-backdrop-bg)",
171
- fillOpacity: "var(--guidance-backdrop-opacity, 0.6)",
172
- mask: `url(#${x})`
181
+ fillOpacity: "var(--guidance-backdrop-opacity, 0.4)",
182
+ mask: `url(#${I})`
173
183
  }
174
184
  )
175
185
  ]
@@ -179,10 +189,10 @@ function j({
179
189
  L,
180
190
  {
181
191
  highlightRect: t,
182
- blocksPointerEvents: !u
192
+ blocksPointerEvents: !y
183
193
  }
184
194
  ),
185
- u ? null : /* @__PURE__ */ o(
195
+ y ? null : /* @__PURE__ */ o(
186
196
  "div",
187
197
  {
188
198
  className: "pointer-events-auto absolute z-10",
@@ -195,11 +205,11 @@ function j({
195
205
  "aria-hidden": "true"
196
206
  }
197
207
  ),
198
- f ? /* @__PURE__ */ o(
208
+ n ? /* @__PURE__ */ o(
199
209
  "button",
200
210
  {
201
211
  type: "button",
202
- className: `absolute z-10 cursor-pointer border-0 bg-transparent p-0 pointer-events-auto ${i}`,
212
+ className: `absolute z-10 cursor-pointer border-0 bg-transparent p-0 pointer-events-auto ${g}`,
203
213
  style: {
204
214
  top: t.y,
205
215
  left: t.x,
@@ -207,13 +217,13 @@ function j({
207
217
  height: t.height
208
218
  },
209
219
  "aria-label": `Click ${e.content.title}`,
210
- onClick: R
220
+ onClick: S
211
221
  }
212
222
  ) : null,
213
223
  /* @__PURE__ */ o(
214
224
  "div",
215
225
  {
216
- className: `pointer-events-none absolute rounded-lg ring-2 ring-[var(--guidance-highlight-ring,var(--color-primary))] ${i}`,
226
+ className: `pointer-events-none absolute rounded-lg ring-2 ring-[var(--guidance-highlight-ring,var(--color-primary))] ${g}`,
217
227
  style: {
218
228
  top: t.y,
219
229
  left: t.x,
@@ -222,26 +232,26 @@ function j({
222
232
  }
223
233
  }
224
234
  ),
225
- /* @__PURE__ */ g(
235
+ /* @__PURE__ */ u(
226
236
  "div",
227
237
  {
228
- ref: w,
229
- className: `pointer-events-auto absolute z-20 w-[min(400px,calc(100vw-2rem))] ${i}`,
238
+ ref: x,
239
+ className: `pointer-events-auto absolute z-20 w-[min(400px,calc(100vw-2rem))] ${g}`,
230
240
  style: {
231
- top: s.top,
232
- left: s.left
241
+ top: h.top,
242
+ left: h.left
233
243
  },
234
244
  role: "dialog",
235
245
  "aria-labelledby": `guidance-tour-title-${e.stepId}`,
236
246
  "aria-describedby": `guidance-tour-body-${e.stepId}`,
237
247
  children: [
238
- /* @__PURE__ */ o(
248
+ O !== null ? /* @__PURE__ */ o(
239
249
  B,
240
250
  {
241
- placement: s.placement,
242
- offset: S
251
+ placement: h.placement,
252
+ offset: O
243
253
  }
244
- ),
254
+ ) : null,
245
255
  /* @__PURE__ */ o("div", { className: "relative z-[1] overflow-hidden rounded-2xl border border-stroke bg-canvas shadow-elevation-floating", children: /* @__PURE__ */ o(
246
256
  A,
247
257
  {
@@ -251,15 +261,15 @@ function j({
251
261
  stepIndex: e.stepIndex,
252
262
  totalSteps: e.totalSteps,
253
263
  skippable: e.skippable,
254
- primaryActionLabel: N ? "Done" : "Next",
255
- onSkip: d,
256
- onDismiss: l,
257
- onBack: c,
264
+ primaryActionLabel: s ? "Done" : "Next",
265
+ onSkip: i,
266
+ onDismiss: d,
267
+ onBack: m,
258
268
  canGoBack: e.canGoBack,
259
269
  advanceOn: e.advanceOn,
260
270
  onPrimaryAction: a,
261
- showPrimaryAction: !f && e.advanceOn !== "auto",
262
- footerHint: f ? e.content.footer ?? "Click the highlighted button to continue." : e.advanceOn === "auto" ? e.content.footer ?? "Complete the action above to continue." : null,
271
+ showPrimaryAction: !n && e.advanceOn !== "auto",
272
+ footerHint: n ? e.content.footer ?? "Click the highlighted button to continue." : e.advanceOn === "auto" ? e.content.footer ?? "Complete the action above to continue." : null,
263
273
  footerKeybinding: e.content.keybinding,
264
274
  shortcutReferences: e.content.shortcutReferences,
265
275
  titleId: `guidance-tour-title-${e.stepId}`,
@@ -1,42 +1,42 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { Controller as S } from "react-hook-form";
4
- import { DateRangePicker as v } from "../../components/forms/date-picker/date-range-picker.js";
5
- import { toLocalDate as c } from "../utils/calendar-boundary.js";
6
- import { resolveDateRangeMinMax as P } from "../utils/date.utils.js";
7
- const Y = ({
4
+ import { DateRangePicker as F } from "../../components/forms/date-picker/date-range-picker.js";
5
+ import { toLocalDate as d } from "../utils/calendar-boundary.js";
6
+ import { resolveDateRangeMinMax as P, handleDateFnsFormat as x } from "../utils/date.utils.js";
7
+ const q = ({
8
8
  field: r,
9
- validationRules: d,
9
+ validationRules: c,
10
10
  isDisabled: l,
11
11
  formHelpers: n
12
12
  }) => {
13
13
  const t = r.fieldType === "date_range" ? r : null;
14
14
  if (!t) return null;
15
- const h = n.form.control, { minDate: m, maxDate: u, startMonth: p, endMonth: g } = P(t);
15
+ const m = n.form.control, { minDate: h, maxDate: u, startMonth: p, endMonth: f } = P(t), g = t.dateFormat ? x(t.dateFormat) : void 0;
16
16
  return /* @__PURE__ */ a(
17
17
  S,
18
18
  {
19
19
  name: r.id,
20
- control: h,
20
+ control: m,
21
21
  disabled: l,
22
- rules: d,
23
- render: ({ field: f, fieldState: s }) => {
24
- const i = !!s.error, o = f.value;
22
+ rules: c,
23
+ render: ({ field: D, fieldState: s }) => {
24
+ const i = !!s.error, o = D.value;
25
25
  return /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
26
- v,
26
+ F,
27
27
  {
28
28
  label: r.label,
29
- minDate: m,
29
+ minDate: h,
30
30
  maxDate: u,
31
31
  startMonth: p,
32
- endMonth: g,
32
+ endMonth: f,
33
33
  value: {
34
- from: o?.start ? c(o.start) : void 0,
35
- to: o?.end ? c(o.end) : void 0
34
+ from: o?.start ? d(o.start) : void 0,
35
+ to: o?.end ? d(o.end) : void 0
36
36
  },
37
37
  onChange: (e) => {
38
- const M = e?.from ? `${e.from.getFullYear()}-${String(e.from.getMonth() + 1).padStart(2, "0")}-${String(e.from.getDate()).padStart(2, "0")}` : null, D = e?.to ? `${e.to.getFullYear()}-${String(e.to.getMonth() + 1).padStart(2, "0")}-${String(e.to.getDate()).padStart(2, "0")}` : null;
39
- n.setValue(r.id, { start: M, end: D });
38
+ const M = e?.from ? `${e.from.getFullYear()}-${String(e.from.getMonth() + 1).padStart(2, "0")}-${String(e.from.getDate()).padStart(2, "0")}` : null, v = e?.to ? `${e.to.getFullYear()}-${String(e.to.getMonth() + 1).padStart(2, "0")}-${String(e.to.getDate()).padStart(2, "0")}` : null;
39
+ n.setValue(r.id, { start: M, end: v });
40
40
  },
41
41
  startPlaceholder: t.startPlaceholder || "Start Date",
42
42
  endPlaceholder: t.endPlaceholder || "End Date",
@@ -51,7 +51,8 @@ const Y = ({
51
51
  fiscalYearStartMonth: t.fiscalYearStartMonth,
52
52
  fiscalMonthPattern: t.fiscalMonthPattern,
53
53
  showPresets: t.showPresets,
54
- autoNavigateToAvailable: t.autoNavigateToAvailable
54
+ autoNavigateToAvailable: t.autoNavigateToAvailable,
55
+ format: g
55
56
  }
56
57
  ) });
57
58
  }
@@ -59,5 +60,5 @@ const Y = ({
59
60
  );
60
61
  };
61
62
  export {
62
- Y as DateRangeField
63
+ q as DateRangeField
63
64
  };
@@ -1,58 +1,58 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { Controller as T } from "react-hook-form";
3
- import { WeekRangePicker as b } from "../../components/forms/date-picker/week-range-picker.js";
2
+ import { Controller as b } from "react-hook-form";
3
+ import { WeekRangePicker as x } from "../../components/forms/date-picker/week-range-picker.js";
4
4
  import { toLocalDate as M } from "../utils/calendar-boundary.js";
5
- import { resolveWeekSelection as x } from "../../lib/fiscal-calendar/week-selection.js";
6
- import { resolveWeekRangeMinMax as Y } from "../utils/date.utils.js";
7
- const S = (e, a) => x(e, {
8
- calendarKind: a.calendarKind,
9
- fiscalMode: a.fiscalMode ?? "basic",
10
- granularity: a.granularity,
11
- fiscalMonthPattern: a.fiscalMonthPattern,
12
- fiscalYearStartMonth: a.fiscalYearStartMonth ?? 1,
13
- weekStartsOn: a.weekStartsOn,
14
- fiscalConfig: a.fiscalConfig
15
- }), B = ({
16
- field: e,
17
- validationRules: a,
5
+ import { resolveWeekSelection as Y } from "../../lib/fiscal-calendar/week-selection.js";
6
+ import { resolveWeekRangeMinMax as $, handleDateFnsFormat as y } from "../utils/date.utils.js";
7
+ const S = (a, e) => Y(a, {
8
+ calendarKind: e.calendarKind,
9
+ fiscalMode: e.fiscalMode ?? "basic",
10
+ granularity: e.granularity,
11
+ fiscalMonthPattern: e.fiscalMonthPattern,
12
+ fiscalYearStartMonth: e.fiscalYearStartMonth ?? 1,
13
+ weekStartsOn: e.weekStartsOn,
14
+ fiscalConfig: e.fiscalConfig
15
+ }), A = ({
16
+ field: a,
17
+ validationRules: e,
18
18
  isDisabled: p,
19
19
  formHelpers: d
20
20
  }) => {
21
- const t = e.fieldType === "week_range" ? e : null;
21
+ const t = a.fieldType === "week_range" ? a : null;
22
22
  if (!t) return null;
23
- const { minDate: u, maxDate: m, startMonth: D, endMonth: k } = Y(t), v = d.form.control;
23
+ const { minDate: m, maxDate: u, startMonth: D, endMonth: k } = $(t), v = t.dateFormat ? y(t.dateFormat) : void 0, w = d.form.control;
24
24
  return /* @__PURE__ */ c(
25
- T,
25
+ b,
26
26
  {
27
- name: e.id,
28
- control: v,
29
- rules: a,
30
- render: ({ field: w, fieldState: h }) => {
31
- const g = !!h.error, r = w.value, s = r?.start ? M(r.start) ?? null : null, i = r?.end ? M(r.end) ?? null : null, C = !!(s && i);
27
+ name: a.id,
28
+ control: w,
29
+ rules: e,
30
+ render: ({ field: F, fieldState: h }) => {
31
+ const g = !!h.error, o = F.value, s = o?.start ? M(o.start) ?? null : null, i = o?.end ? M(o.end) ?? null : null, C = !!(s && i);
32
32
  return /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(
33
- b,
33
+ x,
34
34
  {
35
- label: e.label,
35
+ label: a.label,
36
36
  value: C && s && i ? {
37
37
  from: S(s, t),
38
38
  to: S(i, t)
39
39
  } : void 0,
40
- onChange: (o) => {
41
- const f = o?.from ? { from: o.from, to: o.to ?? o.from } : void 0, n = f?.from?.startDate, l = f?.to?.endDate, F = n ? `${n.getFullYear()}-${String(n.getMonth() + 1).padStart(2, "0")}-${String(n.getDate()).padStart(2, "0")}` : null, P = l ? `${l.getFullYear()}-${String(l.getMonth() + 1).padStart(2, "0")}-${String(l.getDate()).padStart(2, "0")}` : null;
42
- d.setValue(e.id, { start: F, end: P });
40
+ onChange: (r) => {
41
+ const f = r?.from ? { from: r.from, to: r.to ?? r.from } : void 0, n = f?.from?.startDate, l = f?.to?.endDate, P = n ? `${n.getFullYear()}-${String(n.getMonth() + 1).padStart(2, "0")}-${String(n.getDate()).padStart(2, "0")}` : null, T = l ? `${l.getFullYear()}-${String(l.getMonth() + 1).padStart(2, "0")}-${String(l.getDate()).padStart(2, "0")}` : null;
42
+ d.setValue(a.id, { start: P, end: T });
43
43
  },
44
44
  placeholder: t.placeholder,
45
- startMonth: u ?? D,
46
- endMonth: m ?? k,
47
- required: e.isRequired,
45
+ startMonth: m ?? D,
46
+ endMonth: u ?? k,
47
+ required: a.isRequired,
48
48
  disabled: p,
49
49
  error: g,
50
- helperText: g ? h.error?.message : e.helpText,
50
+ helperText: g ? h.error?.message : a.helpText,
51
51
  calendarKind: t.calendarKind,
52
52
  fiscalMode: t.fiscalMode,
53
53
  weekStartsOn: t.weekStartsOn,
54
- minDate: u,
55
- maxDate: m,
54
+ minDate: m,
55
+ maxDate: u,
56
56
  granularity: t.granularity,
57
57
  fiscalMonthPattern: t.fiscalMonthPattern,
58
58
  fiscalYearStartMonth: t.fiscalYearStartMonth,
@@ -60,7 +60,7 @@ const S = (e, a) => x(e, {
60
60
  showFooter: t.showFooter,
61
61
  showPeriodBoundaries: t.showPeriodBoundaries,
62
62
  autoNavigateToAvailable: t.autoNavigateToAvailable,
63
- format: t.dateFormat
63
+ format: v
64
64
  }
65
65
  ) });
66
66
  }
@@ -68,5 +68,5 @@ const S = (e, a) => x(e, {
68
68
  );
69
69
  };
70
70
  export {
71
- B as WeekRangeField
71
+ A as WeekRangeField
72
72
  };
@@ -176,7 +176,7 @@
176
176
  /* —— Guidance (tours, coach marks, announcements) —— */
177
177
  --guidance-announcement-hero-bg: #eceefd;
178
178
  --guidance-backdrop-bg: #000000;
179
- --guidance-backdrop-opacity: 0.6;
179
+ --guidance-backdrop-opacity: 0.4;
180
180
  --guidance-coach-mark-bg: #ffffff;
181
181
  --guidance-coach-mark-border: #e8eaed;
182
182
  --guidance-highlight-ring: #5267f4;
@@ -412,7 +412,7 @@
412
412
  /* —— Guidance (tours, coach marks, announcements) —— */
413
413
  --guidance-announcement-hero-bg: #eceefd;
414
414
  --guidance-backdrop-bg: #000000;
415
- --guidance-backdrop-opacity: 0.6;
415
+ --guidance-backdrop-opacity: 0.4;
416
416
  --guidance-coach-mark-bg: #ffffff;
417
417
  --guidance-coach-mark-border: #e8eaed;
418
418
  --guidance-highlight-ring: #5267f4;