@octaviaflow/core 3.1.0-beta.86 → 3.1.0-beta.88

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.
Files changed (91) hide show
  1. package/dist/chunk-7VHJRHJA.js +5725 -0
  2. package/dist/chunk-7VHJRHJA.js.map +1 -0
  3. package/dist/chunk-BZA2F4V6.js +5722 -0
  4. package/dist/chunk-BZA2F4V6.js.map +1 -0
  5. package/dist/chunk-IOJPMFBQ.js +5725 -0
  6. package/dist/chunk-IOJPMFBQ.js.map +1 -0
  7. package/dist/chunk-JRFIAQHQ.js +5725 -0
  8. package/dist/chunk-JRFIAQHQ.js.map +1 -0
  9. package/dist/chunk-KKVGM7AQ.js +5723 -0
  10. package/dist/chunk-KKVGM7AQ.js.map +1 -0
  11. package/dist/chunk-NPGWV47J.js +5725 -0
  12. package/dist/chunk-NPGWV47J.js.map +1 -0
  13. package/dist/chunk-TCWVOHEZ.js +1646 -0
  14. package/dist/chunk-TCWVOHEZ.js.map +1 -0
  15. package/dist/chunk-WR7VLFZS.js +5722 -0
  16. package/dist/chunk-WR7VLFZS.js.map +1 -0
  17. package/dist/chunk-WYYXHBFE.js +5722 -0
  18. package/dist/chunk-WYYXHBFE.js.map +1 -0
  19. package/dist/components/Combobox/Combobox.d.ts +14 -1
  20. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  21. package/dist/components/ConditionBuilder/ConditionBuilder.d.ts +8 -0
  22. package/dist/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
  23. package/dist/components/Popover/Popover.d.ts +48 -1
  24. package/dist/components/Popover/Popover.d.ts.map +1 -1
  25. package/dist/components/Popover/index.d.ts +1 -1
  26. package/dist/components/Popover/index.d.ts.map +1 -1
  27. package/dist/components/ScheduleBuilder/ScheduleBuilder.d.ts +90 -0
  28. package/dist/components/ScheduleBuilder/ScheduleBuilder.d.ts.map +1 -0
  29. package/dist/components/ScheduleBuilder/index.d.ts +2 -0
  30. package/dist/components/ScheduleBuilder/index.d.ts.map +1 -0
  31. package/dist/components/Sheet/Sheet.d.ts +10 -0
  32. package/dist/components/Sheet/Sheet.d.ts.map +1 -1
  33. package/dist/components/Sheet/index.d.ts +1 -1
  34. package/dist/components/Sheet/index.d.ts.map +1 -1
  35. package/dist/components/TimezonePicker/TimezonePicker.d.ts +9 -0
  36. package/dist/components/TimezonePicker/TimezonePicker.d.ts.map +1 -1
  37. package/dist/components/TimezonePicker/index.d.ts +1 -1
  38. package/dist/components/TimezonePicker/index.d.ts.map +1 -1
  39. package/dist/index.cjs +17749 -14481
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.ts +3 -1
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +14851 -11654
  44. package/dist/index.js.map +1 -1
  45. package/dist/notifications/components/AlertConditionComposer/AlertConditionComposer.d.ts +38 -0
  46. package/dist/notifications/components/AlertConditionComposer/AlertConditionComposer.d.ts.map +1 -0
  47. package/dist/notifications/components/DeliveryFrequencyControl/DeliveryFrequencyControl.d.ts +33 -0
  48. package/dist/notifications/components/DeliveryFrequencyControl/DeliveryFrequencyControl.d.ts.map +1 -0
  49. package/dist/notifications/components/EventCatalogPicker/EventCatalogPicker.d.ts +34 -0
  50. package/dist/notifications/components/EventCatalogPicker/EventCatalogPicker.d.ts.map +1 -0
  51. package/dist/notifications/components/NotificationBell/NotificationBell.d.ts +47 -0
  52. package/dist/notifications/components/NotificationBell/NotificationBell.d.ts.map +1 -0
  53. package/dist/notifications/components/NotificationChannelCard/NotificationChannelCard.d.ts +39 -0
  54. package/dist/notifications/components/NotificationChannelCard/NotificationChannelCard.d.ts.map +1 -0
  55. package/dist/notifications/components/NotificationChannelDialog/NotificationChannelDialog.d.ts +48 -0
  56. package/dist/notifications/components/NotificationChannelDialog/NotificationChannelDialog.d.ts.map +1 -0
  57. package/dist/notifications/components/NotificationChannelForm/NotificationChannelForm.d.ts +55 -0
  58. package/dist/notifications/components/NotificationChannelForm/NotificationChannelForm.d.ts.map +1 -0
  59. package/dist/notifications/components/NotificationChannelList/NotificationChannelList.d.ts +31 -0
  60. package/dist/notifications/components/NotificationChannelList/NotificationChannelList.d.ts.map +1 -0
  61. package/dist/notifications/components/NotificationDetailDialog/NotificationDetailDialog.d.ts +30 -0
  62. package/dist/notifications/components/NotificationDetailDialog/NotificationDetailDialog.d.ts.map +1 -0
  63. package/dist/notifications/components/NotificationInbox/NotificationInbox.d.ts +65 -0
  64. package/dist/notifications/components/NotificationInbox/NotificationInbox.d.ts.map +1 -0
  65. package/dist/notifications/components/NotificationPreferenceMatrix/NotificationPreferenceMatrix.d.ts +37 -0
  66. package/dist/notifications/components/NotificationPreferenceMatrix/NotificationPreferenceMatrix.d.ts.map +1 -0
  67. package/dist/notifications/components/NotificationRuleEditor/NotificationRuleEditor.d.ts +52 -0
  68. package/dist/notifications/components/NotificationRuleEditor/NotificationRuleEditor.d.ts.map +1 -0
  69. package/dist/notifications/components/NotificationRuleList/NotificationRuleList.d.ts +37 -0
  70. package/dist/notifications/components/NotificationRuleList/NotificationRuleList.d.ts.map +1 -0
  71. package/dist/notifications/components/meta.d.ts +32 -0
  72. package/dist/notifications/components/meta.d.ts.map +1 -0
  73. package/dist/notifications/engine/catalog.d.ts +27 -0
  74. package/dist/notifications/engine/catalog.d.ts.map +1 -0
  75. package/dist/notifications/engine/channels.d.ts +31 -0
  76. package/dist/notifications/engine/channels.d.ts.map +1 -0
  77. package/dist/notifications/engine/describeRule.d.ts +44 -0
  78. package/dist/notifications/engine/describeRule.d.ts.map +1 -0
  79. package/dist/notifications/engine/inbox.d.ts +29 -0
  80. package/dist/notifications/engine/inbox.d.ts.map +1 -0
  81. package/dist/notifications/engine/preferences.d.ts +48 -0
  82. package/dist/notifications/engine/preferences.d.ts.map +1 -0
  83. package/dist/notifications/index.d.ts +34 -0
  84. package/dist/notifications/index.d.ts.map +1 -0
  85. package/dist/notifications/types.d.ts +236 -0
  86. package/dist/notifications/types.d.ts.map +1 -0
  87. package/dist/styles.css +1 -1
  88. package/dist/workflow.cjs +25 -1
  89. package/dist/workflow.cjs.map +1 -1
  90. package/dist/workflow.js +1 -1
  91. package/package.json +1 -1
@@ -35,6 +35,19 @@ export interface ComboboxProps {
35
35
  emptyMessage?: ReactNode;
36
36
  /** Override the default substring match. Receives the option and typed query. */
37
37
  filter?: (option: ComboboxOption, query: string) => boolean;
38
+ /**
39
+ * Render a value that exactly matches a known option as a token showing the
40
+ * option's LABEL, with a clear button, instead of the raw value text.
41
+ *
42
+ * For fields whose values are opaque machine strings — dynamic tokens,
43
+ * URNs, ids — the raw form overflows the input and the user reads a clipped
44
+ * fragment with no signal that the value is bound rather than typed.
45
+ *
46
+ * Off by default: every existing consumer keeps the plain editable input.
47
+ * Free-typing is unaffected — anything that is not an exact option match
48
+ * still renders as ordinary text.
49
+ */
50
+ tokenizeKnownValue?: boolean;
38
51
  id?: string;
39
52
  name?: string;
40
53
  required?: boolean;
@@ -51,7 +64,7 @@ export interface ComboboxProps {
51
64
  * Free-type-OR-pick is the core behaviour — use it wherever a field accepts
52
65
  * both known values and arbitrary input (dynamic tokens, custom identifiers).
53
66
  */
54
- export declare function Combobox({ value, onChange, options, placeholder, ariaLabel, label, helperText, size, disabled, loading, error, errorMessage, creatable, emptyMessage, filter, id, name, required, className, onBlur, }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
67
+ export declare function Combobox({ value, onChange, options, placeholder, ariaLabel, label, helperText, size, disabled, loading, error, errorMessage, creatable, emptyMessage, filter, tokenizeKnownValue, id, name, required, className, onBlur, }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
55
68
  export declare namespace Combobox {
56
69
  var displayName: string;
57
70
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,SAAS,EAQf,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MA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D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,iFAAiF;IACjF,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5D;;;;;;;;;;;OAWG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AASD;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,WAA+B,EAC/B,SAAS,EACT,KAAK,EACL,UAAU,EACV,IAAW,EACX,QAAgB,EAChB,OAAe,EACf,KAAa,EACb,YAAY,EACZ,SAAiB,EACjB,YAAoC,EACpC,MAAsB,EACtB,kBAA0B,EAC1B,EAAE,EACF,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,MAAM,GACP,EAAE,aAAa,2CA0Tf;yBAhVe,QAAQ"}
@@ -41,6 +41,14 @@ export interface ConditionBuilderProps extends Omit<ComponentPropsWithoutRef<"di
41
41
  * clicking one fills the input, and the user can still type any value not in
42
42
  * the list. Omit / return [] to keep a plain text input. */
43
43
  getValueOptions?: (condition: Condition, index: number) => ConditionValueOption[];
44
+ /** Show a value that exactly matches one of `getValueOptions` as a token
45
+ * displaying the option's LABEL, instead of its raw value text.
46
+ *
47
+ * For option values that are opaque machine strings — dynamic tokens,
48
+ * URNs — the raw form overflows the field and the user reads a clipped
49
+ * fragment ("session/lastSuccessRun}}") with no signal that the value is
50
+ * bound rather than typed. Off by default; free-typing is unaffected. */
51
+ tokenizeValueOptions?: boolean;
44
52
  /** Auto-enables search above 8 options. Force on/off via boolean. */
45
53
  searchable?: boolean;
46
54
  allowGroups?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ConditionBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/ConditionBuilder/ConditionBuilder.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAQf,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd;;4DAEwD;IACxD,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,CAAC,SAAS,GAAG,cAAc,CAAC,EAAE,CAAC;CAC5C;AAED,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzD,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B;;;;iEAI6D;IAC7D,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,oBAAoB,EAAE,CAAC;IAClF,qEAAqE;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;4EACwE;IACxE,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B;yEACqE;IACrE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5C,mDAAmD;IACnD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;mEAI+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA0OD,eAAO,MAAM,gBAAgB,kHA6N3B,CAAC"}
1
+ {"version":3,"file":"ConditionBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/ConditionBuilder/ConditionBuilder.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAQf,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;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E,MAAM,CAAC;IACrB;;;;mEAI+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA0OD,eAAO,MAAM,gBAAgB,kHA+N3B,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { type ReactNode } from "react";
2
2
  export type PopoverPlacement = "top" | "bottom" | "left" | "right";
3
+ /**
4
+ * Where the popover sits along the trigger's cross axis. `center` is the
5
+ * classic tooltip-style placement; `start` / `end` line the popover's leading
6
+ * or trailing edge up with the trigger's — what an anchored panel opened from
7
+ * a top-right control (a bell, an avatar menu) needs so it grows inward
8
+ * rather than off the viewport.
9
+ */
10
+ export type PopoverAlign = "start" | "center" | "end";
3
11
  export interface PopoverProps {
4
12
  content: ReactNode;
5
13
  placement?: PopoverPlacement;
14
+ /** Cross-axis alignment against the trigger. Default `center`. */
15
+ align?: PopoverAlign;
6
16
  offset?: number;
17
+ /**
18
+ * Minimum distance kept from the viewport edges. The popover is shifted
19
+ * (and flipped to the opposite side when it would not fit) so it stays on
20
+ * screen; the arrow keeps pointing at the trigger. Default 8.
21
+ */
22
+ viewportPadding?: number;
7
23
  open?: boolean;
8
24
  defaultOpen?: boolean;
9
25
  onOpenChange?: (open: boolean) => void;
@@ -18,5 +34,36 @@ export interface PopoverProps {
18
34
  children: ReactNode;
19
35
  className?: string;
20
36
  }
21
- export declare function Popover({ content, placement, offset, open: openProp, defaultOpen, onOpenChange, trigger, closeOnClickOutside, closeOnEsc, arrow, "aria-label": ariaLabel, children, className, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
37
+ export interface PopoverCoords {
38
+ top: number;
39
+ left: number;
40
+ /** The side the popover actually opened on, after any flip. */
41
+ placement: PopoverPlacement;
42
+ /** Arrow offset along the popover's cross axis, in px from its top-left. */
43
+ arrow: number;
44
+ }
45
+ interface RectLike {
46
+ top: number;
47
+ left: number;
48
+ right: number;
49
+ bottom: number;
50
+ width: number;
51
+ height: number;
52
+ }
53
+ /**
54
+ * Pure placement maths, exported for tests.
55
+ *
56
+ * Steps: place on the requested side · align along the cross axis · flip to
57
+ * the opposite side when the preferred one cannot fit but the other can ·
58
+ * clamp inside the viewport · point the arrow back at the trigger's centre.
59
+ */
60
+ export declare function computePopoverPosition(rect: RectLike, popRect: {
61
+ width: number;
62
+ height: number;
63
+ }, placement: PopoverPlacement, offset: number, align?: PopoverAlign, viewport?: {
64
+ width: number;
65
+ height: number;
66
+ }, pad?: number): PopoverCoords;
67
+ export declare function Popover({ content, placement, align, offset, viewportPadding, open: openProp, defaultOpen, onOpenChange, trigger, closeOnClickOutside, closeOnEsc, arrow, "aria-label": ariaLabel, children, className, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
68
+ export {};
22
69
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAA6D,MAAM,OAAO,CAAC;AAIlG,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnE,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;sDAEkD;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,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W,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,SAAS,EAAE,gBAAgB,CAAC;IAC5B,4EAA4E;IAC5E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,QAAQ;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAQD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC1C,SAAS,EAAE,gBAAgB,EAC3B,MAAM,EAAE,MAAM,EACd,KAAK,GAAE,YAAuB,EAC9B,QAAQ,GAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAGxC,EACD,GAAG,SAAI,GACN,aAAa,CAoDf;AAED,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,SAAoB,EACpB,KAAgB,EAChB,MAAU,EACV,eAAmB,EACnB,IAAI,EAAE,QAAQ,EACd,WAAmB,EACnB,YAAY,EACZ,OAAiB,EACjB,mBAA0B,EAC1B,UAAiB,EACjB,KAAY,EACZ,YAAY,EAAE,SAAqB,EACnC,QAAQ,EACR,SAAS,GACV,EAAE,YAAY,2CAqId"}
@@ -1,2 +1,2 @@
1
- export { Popover, type PopoverPlacement, type PopoverProps } from "./Popover";
1
+ export { computePopoverPosition, Popover, type PopoverAlign, type PopoverCoords, type PopoverPlacement, type PopoverProps, } from "./Popover";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,MAAM,WAAW,CAAC"}
@@ -0,0 +1,90 @@
1
+ import { type ReactNode } from "react";
2
+ import { type TimeValue } from "../TimePicker";
3
+ import "./ScheduleBuilder.module.scss";
4
+ export type ScheduleFrequency = "immediate" | "hourly" | "daily" | "weekly" | "monthly";
5
+ /**
6
+ * A normalised recurrence.
7
+ *
8
+ * `timezone` is an IANA zone name, never an offset. An offset breaks twice a
9
+ * year for any DST zone, silently, and the symptom — "the digest arrives an
10
+ * hour late in summer" — is hard to trace back to the stored value.
11
+ *
12
+ * `time`, `weekdays` and `dayOfMonth` are only meaningful for the frequencies
13
+ * that use them, and are preserved rather than cleared when the frequency
14
+ * changes: someone toggling weekly → monthly → weekly should not have to
15
+ * re-enter the days they already chose.
16
+ */
17
+ export interface ScheduleValue {
18
+ frequency: ScheduleFrequency;
19
+ /** Time of day. Unused when frequency is `immediate` or `hourly`. */
20
+ time?: TimeValue;
21
+ /**
22
+ * Days to run on, 0 = Sunday … 6 = Saturday. Used when frequency is
23
+ * `weekly`.
24
+ *
25
+ * An ARRAY, not a single day: "every Monday, Wednesday and Friday" is the
26
+ * common shape for a digest, and a single-day field forces the caller to
27
+ * create three separate schedules that then drift apart independently.
28
+ * Stored sorted so two equivalent selections compare equal.
29
+ */
30
+ weekdays?: number[];
31
+ /** 1–31. Used when frequency is `monthly`. See the clamping note below. */
32
+ dayOfMonth?: number;
33
+ /** IANA zone, e.g. `Asia/Kolkata`. Unused when frequency is `immediate`. */
34
+ timezone?: string;
35
+ }
36
+ export interface ScheduleBuilderProps {
37
+ value: ScheduleValue;
38
+ onChange: (value: ScheduleValue) => void;
39
+ /** Frequencies to offer. Defaults to all five. */
40
+ frequencies?: ScheduleFrequency[];
41
+ label?: ReactNode;
42
+ helperText?: ReactNode;
43
+ size?: "sm" | "md" | "lg";
44
+ disabled?: boolean;
45
+ /** Hide the timezone control when the caller pins the zone itself. */
46
+ showTimezone?: boolean;
47
+ /**
48
+ * Echo the schedule back in words — "Every Monday and Friday at 09:00
49
+ * (Asia/Kolkata)".
50
+ *
51
+ * On by default. A recurrence assembled from four controls is easy to build
52
+ * wrong and hard to re-read, and every caller would otherwise wire
53
+ * `describeSchedule` itself — or, more likely, not bother, leaving the user
54
+ * to verify by mentally recombining the fields.
55
+ */
56
+ showSummary?: boolean;
57
+ /** Validation message. Rendered in place of the summary when present. */
58
+ error?: ReactNode;
59
+ className?: string;
60
+ id?: string;
61
+ }
62
+ /**
63
+ * ScheduleBuilder — composes a recurrence from frequency, time, day and zone.
64
+ *
65
+ * `TimePicker` answers "what time" and `TimezonePicker` answers "which zone",
66
+ * but nothing composed *"every Monday at 09:00 Asia/Kolkata"* — the frequency
67
+ * switch, the day selector that appears only for weekly, the day-of-month for
68
+ * monthly. Every consumer would otherwise hand-roll that conditional and get
69
+ * it subtly different.
70
+ *
71
+ * Controlled, like the other builders here: the component holds no copy of the
72
+ * schedule, so the caller decides where it is persisted and can normalise or
73
+ * validate before saving.
74
+ *
75
+ * Fields appear only when the chosen frequency uses them — `immediate` shows
76
+ * nothing further, `hourly` shows only a zone (the minute past the hour is not
77
+ * worth a control). That keeps the default state minimal, matching the
78
+ * progressive-disclosure convention used across config surfaces.
79
+ */
80
+ export declare function ScheduleBuilder({ value, onChange, frequencies, label, helperText, size, disabled, showTimezone, showSummary, error, className, id, }: ScheduleBuilderProps): import("react/jsx-runtime").JSX.Element;
81
+ /**
82
+ * Human-readable summary of a schedule — "Every Monday at 09:00 (Asia/Kolkata)".
83
+ *
84
+ * Exported because a schedule is almost always echoed back somewhere the
85
+ * builder is not: a row in a table, a confirmation dialog, a digest header.
86
+ * Keeping the phrasing here stops each surface inventing its own.
87
+ */
88
+ export declare function describeSchedule(value: ScheduleValue): string;
89
+ export default ScheduleBuilder;
90
+ //# sourceMappingURL=ScheduleBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduleBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduleBuilder/ScheduleBuilder.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAsB,MAAM,OAAO,CAAC;AAO3D,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAM3D,OAAO,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExF;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,qEAAqE;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,kDAAkD;IAClD,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,yEAAyE;IACzE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AA+FD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,WAAmE,EACnE,KAAK,EACL,UAAU,EACV,IAAW,EACX,QAAgB,EAChB,YAAmB,EACnB,WAAkB,EAClB,KAAK,EACL,SAAS,EACT,EAAE,GACH,EAAE,oBAAoB,2CA0HtB;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CA4B7D;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ScheduleBuilder, describeSchedule, type ScheduleBuilderProps, type ScheduleValue, type ScheduleFrequency, } from "./ScheduleBuilder";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduleBuilder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC"}
@@ -14,5 +14,15 @@ export interface SheetProps {
14
14
  dragHandle?: boolean;
15
15
  className?: string;
16
16
  }
17
+ /**
18
+ * Turn `size` into a CSS length for the panel's cross axis.
19
+ *
20
+ * Named sizes are checked FIRST. The previous order returned any string
21
+ * verbatim, so `"md"` reached the DOM as `width: md` — invalid CSS that the
22
+ * browser dropped — and every sheet using a named size silently took its
23
+ * content's intrinsic width instead, growing and shrinking as sections
24
+ * opened. Exported for the regression test.
25
+ */
26
+ export declare function resolveSheetSize(side: SheetSide, size: SheetProps["size"]): string;
17
27
  export declare function Sheet({ open, onClose, side, size, title, description, children, footer, closeOnOverlayClick, closeOnEsc, dragHandle, className, }: SheetProps): import("react").ReactPortal;
18
28
  //# sourceMappingURL=Sheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAC;AAIlD,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACrD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsBD,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAO,EACP,IAAe,EACf,IAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,mBAA0B,EAC1B,UAAiB,EACjB,UAAiB,EACjB,SAAS,GACV,EAAE,UAAU,+BA8DZ"}
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAC;AAIlD,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACrD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAeD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,MAAM,CAUlF;AAED,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAO,EACP,IAAe,EACf,IAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,mBAA0B,EAC1B,UAAiB,EACjB,UAAiB,EACjB,SAAS,GACV,EAAE,UAAU,+BA4DZ"}
@@ -1,2 +1,2 @@
1
- export { Sheet, type SheetProps, type SheetSide } from "./Sheet";
1
+ export { resolveSheetSize, Sheet, type SheetProps, type SheetSide } from "./Sheet";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC"}
@@ -23,6 +23,15 @@ export interface TimezonePickerProps extends DivPropsBase {
23
23
  helperText?: ReactNode;
24
24
  placeholder?: string;
25
25
  }
26
+ /**
27
+ * Curated default zones.
28
+ *
29
+ * Exported so a composing component can EXTEND the list rather than replace
30
+ * it: passing a bare `options` array to cover one extra zone would silently
31
+ * drop the other fifteen. A value outside this list otherwise renders as the
32
+ * placeholder, which reads as "nothing selected" while a value is in fact set.
33
+ */
34
+ export declare const DEFAULT_TIMEZONE_OPTIONS: TimezoneOption[];
26
35
  export declare const TimezonePicker: import("react").ForwardRefExoticComponent<TimezonePickerProps & import("react").RefAttributes<HTMLDivElement>>;
27
36
  export {};
28
37
  //# sourceMappingURL=TimezonePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimezonePicker.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/TimezonePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AASf,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,KAAK,YAAY,GAAG,IAAI,CACtB,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,UAAU,GAAG,cAAc,CACzC,CAAC;AAEF,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,KAAK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,kBAAkB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,EAAE,cAAc,EAapD,CAAC;AAEF,eAAO,MAAM,cAAc,gHAwU1B,CAAC"}
@@ -1,2 +1,2 @@
1
- export { type TimezoneOption, TimezonePicker, type TimezonePickerProps, type TimezonePickerSize, } from "./TimezonePicker";
1
+ export { DEFAULT_TIMEZONE_OPTIONS, type TimezoneOption, TimezonePicker, type TimezonePickerProps, type TimezonePickerSize, } from "./TimezonePicker";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimezonePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,cAAc,EACnB,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,kBAAkB,CAAC"}