@datum-cloud/datum-ui 0.6.0-alpha.b817c77 → 0.6.0

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 (152) hide show
  1. package/README.md +4 -0
  2. package/dist/autocomplete/index.mjs +1 -1
  3. package/dist/{autocomplete-V5-qslzS.mjs → autocomplete-CkYJueBL.mjs} +2 -2
  4. package/dist/autosearch/index.mjs +199 -0
  5. package/dist/{calendar-date-picker-DWK94_DC.mjs → calendar-date-picker-CDT-8Ha8.mjs} +2 -1
  6. package/dist/combobox/index.mjs +2 -0
  7. package/dist/combobox-B-C9lJeD.mjs +97 -0
  8. package/dist/components/features/autocomplete/autocomplete.d.ts +1 -1
  9. package/dist/components/features/autocomplete/autocomplete.d.ts.map +1 -1
  10. package/dist/components/features/autocomplete/autocomplete.types.d.ts +2 -0
  11. package/dist/components/features/autocomplete/autocomplete.types.d.ts.map +1 -1
  12. package/dist/components/features/autosearch/autosearch.d.ts +35 -0
  13. package/dist/components/features/autosearch/autosearch.d.ts.map +1 -0
  14. package/dist/components/features/autosearch/autosearch.types.d.ts +51 -0
  15. package/dist/components/features/autosearch/autosearch.types.d.ts.map +1 -0
  16. package/dist/components/features/autosearch/index.d.ts +3 -0
  17. package/dist/components/features/autosearch/index.d.ts.map +1 -0
  18. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +2 -1
  19. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -1
  20. package/dist/components/features/combobox/combobox.d.ts +27 -0
  21. package/dist/components/features/combobox/combobox.d.ts.map +1 -0
  22. package/dist/components/features/combobox/index.d.ts +3 -0
  23. package/dist/components/features/combobox/index.d.ts.map +1 -0
  24. package/dist/components/features/combobox/types.d.ts +84 -0
  25. package/dist/components/features/combobox/types.d.ts.map +1 -0
  26. package/dist/components/features/date-time-picker/date-time-picker.d.ts +9 -0
  27. package/dist/components/features/date-time-picker/date-time-picker.d.ts.map +1 -0
  28. package/dist/components/features/date-time-picker/index.d.ts +3 -0
  29. package/dist/components/features/date-time-picker/index.d.ts.map +1 -0
  30. package/dist/components/features/date-time-picker/types.d.ts +59 -0
  31. package/dist/components/features/date-time-picker/types.d.ts.map +1 -0
  32. package/dist/components/features/date-time-picker/utils/format.d.ts +13 -0
  33. package/dist/components/features/date-time-picker/utils/format.d.ts.map +1 -0
  34. package/dist/components/features/date-time-picker/utils/index.d.ts +3 -0
  35. package/dist/components/features/date-time-picker/utils/index.d.ts.map +1 -0
  36. package/dist/components/features/date-time-picker/utils/timezone.d.ts +23 -0
  37. package/dist/components/features/date-time-picker/utils/timezone.d.ts.map +1 -0
  38. package/dist/components/features/form/adapter-types.d.ts +26 -0
  39. package/dist/components/features/form/adapter-types.d.ts.map +1 -1
  40. package/dist/components/features/form/adapters/conform/conform-adapter.d.ts.map +1 -1
  41. package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts.map +1 -1
  42. package/dist/components/features/form/components/form-autocomplete.d.ts.map +1 -1
  43. package/dist/components/features/form/components/form-autosearch.d.ts +37 -0
  44. package/dist/components/features/form/components/form-autosearch.d.ts.map +1 -0
  45. package/dist/components/features/form/components/form-checkbox.d.ts.map +1 -1
  46. package/dist/components/features/form/components/form-combobox.d.ts +80 -0
  47. package/dist/components/features/form/components/form-combobox.d.ts.map +1 -0
  48. package/dist/components/features/form/components/form-copy-box.d.ts +3 -0
  49. package/dist/components/features/form/components/form-copy-box.d.ts.map +1 -1
  50. package/dist/components/features/form/components/form-custom.d.ts.map +1 -1
  51. package/dist/components/features/form/components/form-date-picker.d.ts +40 -0
  52. package/dist/components/features/form/components/form-date-picker.d.ts.map +1 -0
  53. package/dist/components/features/form/components/form-date-time-picker.d.ts +39 -0
  54. package/dist/components/features/form/components/form-date-time-picker.d.ts.map +1 -0
  55. package/dist/components/features/form/components/form-dialog.d.ts.map +1 -1
  56. package/dist/components/features/form/components/form-field.d.ts.map +1 -1
  57. package/dist/components/features/form/components/form-radio-group.d.ts.map +1 -1
  58. package/dist/components/features/form/components/form-root.d.ts.map +1 -1
  59. package/dist/components/features/form/components/form-switch.d.ts.map +1 -1
  60. package/dist/components/features/form/components/form-time-picker.d.ts +21 -0
  61. package/dist/components/features/form/components/form-time-picker.d.ts.map +1 -0
  62. package/dist/components/features/form/components/form-transfer.d.ts +37 -0
  63. package/dist/components/features/form/components/form-transfer.d.ts.map +1 -0
  64. package/dist/components/features/form/components/index.d.ts +7 -1
  65. package/dist/components/features/form/components/index.d.ts.map +1 -1
  66. package/dist/components/features/form/components/stepper/form-stepper.d.ts +3 -1
  67. package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +1 -1
  68. package/dist/components/features/form/hooks/index.d.ts +1 -1
  69. package/dist/components/features/form/hooks/index.d.ts.map +1 -1
  70. package/dist/components/features/form/hooks/use-display-touched.d.ts +20 -0
  71. package/dist/components/features/form/hooks/use-display-touched.d.ts.map +1 -0
  72. package/dist/components/features/form/hooks/use-field.d.ts +4 -0
  73. package/dist/components/features/form/hooks/use-field.d.ts.map +1 -1
  74. package/dist/components/features/form/hooks/use-form-state.d.ts +36 -0
  75. package/dist/components/features/form/hooks/use-form-state.d.ts.map +1 -0
  76. package/dist/components/features/form/index.d.ts +39 -21
  77. package/dist/components/features/form/index.d.ts.map +1 -1
  78. package/dist/components/features/form/stepper/index.d.ts +17 -0
  79. package/dist/components/features/form/stepper/index.d.ts.map +1 -0
  80. package/dist/components/features/form/types/index.d.ts +46 -0
  81. package/dist/components/features/form/types/index.d.ts.map +1 -1
  82. package/dist/components/features/form/utils/get-field-constraints.d.ts +23 -1
  83. package/dist/components/features/form/utils/get-field-constraints.d.ts.map +1 -1
  84. package/dist/components/features/form/utils/get-schema-defaults.d.ts +24 -0
  85. package/dist/components/features/form/utils/get-schema-defaults.d.ts.map +1 -0
  86. package/dist/components/features/form/utils/zod-helpers.d.ts +12 -0
  87. package/dist/components/features/form/utils/zod-helpers.d.ts.map +1 -0
  88. package/dist/components/features/time-picker/index.d.ts +3 -0
  89. package/dist/components/features/time-picker/index.d.ts.map +1 -0
  90. package/dist/components/features/time-picker/time-picker.d.ts +22 -0
  91. package/dist/components/features/time-picker/time-picker.d.ts.map +1 -0
  92. package/dist/components/features/time-picker/types.d.ts +31 -0
  93. package/dist/components/features/time-picker/types.d.ts.map +1 -0
  94. package/dist/components/features/transfer/components/index.d.ts +9 -0
  95. package/dist/components/features/transfer/components/index.d.ts.map +1 -0
  96. package/dist/components/features/transfer/components/transfer-group.d.ts +7 -0
  97. package/dist/components/features/transfer/components/transfer-group.d.ts.map +1 -0
  98. package/dist/components/features/transfer/components/transfer-item.d.ts +10 -0
  99. package/dist/components/features/transfer/components/transfer-item.d.ts.map +1 -0
  100. package/dist/components/features/transfer/components/transfer-panel.d.ts +18 -0
  101. package/dist/components/features/transfer/components/transfer-panel.d.ts.map +1 -0
  102. package/dist/components/features/transfer/components/transfer-search.d.ts +9 -0
  103. package/dist/components/features/transfer/components/transfer-search.d.ts.map +1 -0
  104. package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts +26 -0
  105. package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts.map +1 -0
  106. package/dist/components/features/transfer/hooks/use-transfer-state.d.ts +20 -0
  107. package/dist/components/features/transfer/hooks/use-transfer-state.d.ts.map +1 -0
  108. package/dist/components/features/transfer/index.d.ts +3 -0
  109. package/dist/components/features/transfer/index.d.ts.map +1 -0
  110. package/dist/components/features/transfer/transfer.d.ts +6 -0
  111. package/dist/components/features/transfer/transfer.d.ts.map +1 -0
  112. package/dist/components/features/transfer/types.d.ts +69 -0
  113. package/dist/components/features/transfer/types.d.ts.map +1 -0
  114. package/dist/data-table/index.mjs +1 -1
  115. package/dist/date-picker/index.mjs +2 -2
  116. package/dist/date-time-picker/index.mjs +2 -0
  117. package/dist/date-time-picker-BomrW07W.mjs +178 -0
  118. package/dist/form/adapters/conform/index.mjs +110 -13
  119. package/dist/form/adapters/rhf/index.mjs +116 -27
  120. package/dist/form/index.mjs +3 -3
  121. package/dist/form/stepper/index.mjs +519 -0
  122. package/dist/{form-BE1xBne4.mjs → form-B3rQ4CH9.mjs} +447 -605
  123. package/dist/form-context-Ccxm-wqL.mjs +17 -0
  124. package/dist/grid/index.mjs +1 -1
  125. package/dist/hooks/index.mjs +2 -2
  126. package/dist/index.mjs +16 -16
  127. package/dist/input-number/index.mjs +1 -1
  128. package/dist/map/index.mjs +1 -1
  129. package/dist/{map-Cw7u8r6E.mjs → map-CWIQ-eql.mjs} +1 -1
  130. package/dist/more-actions/index.mjs +1 -1
  131. package/dist/page-title/index.mjs +1 -1
  132. package/dist/stepper/index.mjs +1 -320
  133. package/dist/stepper-DvIOp0hh.mjs +321 -0
  134. package/dist/tag-input/index.mjs +1 -1
  135. package/dist/task-queue/index.mjs +1 -1
  136. package/dist/time-picker/index.mjs +2 -0
  137. package/dist/time-picker-BoF7pZZ2.mjs +43 -0
  138. package/dist/transfer/index.mjs +2 -0
  139. package/dist/transfer-46C-rFFW.mjs +264 -0
  140. package/dist/{get-field-constraints-BPMW8VvY.mjs → use-display-touched-I39aXEBD.mjs} +51 -16
  141. package/package.json +42 -1
  142. /package/dist/{adapter-context-B7L2ucTr.mjs → adapter-context-rWveHhDd.mjs} +0 -0
  143. /package/dist/{col-YBbQ5wlb.mjs → col-1T0Q3SlH.mjs} +0 -0
  144. /package/dist/{hooks-DYjN7lvC.mjs → hooks-D8r2M2U6.mjs} +0 -0
  145. /package/dist/{input-number-DEjXG2I6.mjs → input-number-a7uydAsw.mjs} +0 -0
  146. /package/dist/{map-leaflet-imports-D6nTEOIh.mjs → map-leaflet-imports-CRSKA79m.mjs} +0 -0
  147. /package/dist/{more-actions-BNQ2yfWZ.mjs → more-actions-ILnEZq_E.mjs} +0 -0
  148. /package/dist/{page-title-CNiRNZ7p.mjs → page-title-ChsnpBiH.mjs} +0 -0
  149. /package/dist/{tag-input-BKed-cul.mjs → tag-input-T9cUX9-G.mjs} +0 -0
  150. /package/dist/{task-queue-dropdown-Di_Wjspz.mjs → task-queue-dropdown-Wcbj-f0V.mjs} +0 -0
  151. /package/dist/{to-api-format-Cq4prffn.mjs → to-api-format-Bh3c01gr.mjs} +0 -0
  152. /package/dist/{use-copy-to-clipboard-BGdTmkFV.mjs → use-copy-to-clipboard-uNeeVHC4.mjs} +0 -0
@@ -0,0 +1,84 @@
1
+ export interface ComboboxOption {
2
+ value: string;
3
+ label: string;
4
+ disabled?: boolean;
5
+ }
6
+ export interface ComboboxGroup {
7
+ label: string;
8
+ options: ComboboxOption[];
9
+ }
10
+ export interface ComboboxProps {
11
+ /**
12
+ * Available options (flat or grouped)
13
+ */
14
+ 'options': ComboboxOption[] | ComboboxGroup[];
15
+ /**
16
+ * Selected value
17
+ */
18
+ 'value'?: string;
19
+ /**
20
+ * Called when selection changes
21
+ */
22
+ 'onChange'?: (value: string | undefined) => void;
23
+ /**
24
+ * Placeholder for trigger button
25
+ * @default "Select option..."
26
+ */
27
+ 'placeholder'?: string;
28
+ /**
29
+ * Placeholder for search input
30
+ * @default "Search..."
31
+ */
32
+ 'searchPlaceholder'?: string;
33
+ /**
34
+ * Message shown when no options match
35
+ * @default "No options found."
36
+ */
37
+ 'emptyMessage'?: string;
38
+ /**
39
+ * Disable the combobox
40
+ */
41
+ 'disabled'?: boolean;
42
+ /**
43
+ * Additional CSS classes for container
44
+ */
45
+ 'className'?: string;
46
+ /**
47
+ * Additional CSS classes for trigger button
48
+ */
49
+ 'triggerClassName'?: string;
50
+ /**
51
+ * Additional CSS classes for popover content
52
+ */
53
+ 'contentClassName'?: string;
54
+ /**
55
+ * Enable search functionality
56
+ * @default true
57
+ */
58
+ 'searchable'?: boolean;
59
+ /**
60
+ * Show dropdown arrow icon
61
+ * @default true
62
+ */
63
+ 'showDropdownArrow'?: boolean;
64
+ /**
65
+ * Allow clearing the selection
66
+ * @default false
67
+ */
68
+ 'clearable'?: boolean;
69
+ /**
70
+ * ID for the combobox
71
+ */
72
+ 'id'?: string;
73
+ /**
74
+ * Test ID
75
+ */
76
+ 'data-testid'?: string;
77
+ /**
78
+ * Whether the popover is modal (prevents interaction with elements outside)
79
+ * Required when using inside a Dialog/Modal component
80
+ * @default true
81
+ */
82
+ 'modal'?: boolean;
83
+ }
84
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/combobox/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,cAAc,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,cAAc,EAAE,GAAG,aAAa,EAAE,CAAA;IAE7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAEhD;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -0,0 +1,9 @@
1
+ import type { DateTimePickerProps } from './types';
2
+ import * as React from 'react';
3
+ export declare function DateTimePicker({ ref, value, onChange, minDate, maxDate, disabledDates, timezone, showTimezoneIndicator, placeholder, disabled, className, modal }: DateTimePickerProps & {
4
+ ref?: React.RefObject<HTMLDivElement | null>;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export declare namespace DateTimePicker {
7
+ var displayName: string;
8
+ }
9
+ //# sourceMappingURL=date-time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-time-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/date-time-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAiB,MAAM,SAAS,CAAA;AAIjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,wBAAgB,cAAc,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,QAA2B,EAAE,qBAA6B,EAAE,WAAoC,EAAE,QAAgB,EAAE,SAAS,EAAE,KAAa,EAAE,EAAE,mBAAmB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CAAE,2CAkH7S;yBAlHe,cAAc"}
@@ -0,0 +1,3 @@
1
+ export { DateTimePicker } from './date-time-picker';
2
+ export type { DateTimePickerProps, DateTimeState } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,59 @@
1
+ export interface DateTimePickerProps {
2
+ /**
3
+ * Current value (UTC ISO string)
4
+ * @example "2024-01-15T14:30:00Z"
5
+ */
6
+ value?: string;
7
+ /**
8
+ * Called when value changes
9
+ */
10
+ onChange?: (value: string) => void;
11
+ /**
12
+ * Minimum selectable date
13
+ */
14
+ minDate?: Date;
15
+ /**
16
+ * Maximum selectable date
17
+ */
18
+ maxDate?: Date;
19
+ /**
20
+ * Dates that should be disabled
21
+ */
22
+ disabledDates?: Date[] | ((date: Date) => boolean);
23
+ /**
24
+ * Timezone for display (defaults to browser timezone)
25
+ * @example "America/New_York"
26
+ */
27
+ timezone?: string;
28
+ /**
29
+ * Show timezone indicator below input
30
+ * @default false
31
+ */
32
+ showTimezoneIndicator?: boolean;
33
+ /**
34
+ * Input placeholder text
35
+ */
36
+ placeholder?: string;
37
+ /**
38
+ * Disable the input
39
+ */
40
+ disabled?: boolean;
41
+ /**
42
+ * Additional CSS class
43
+ */
44
+ className?: string;
45
+ /**
46
+ * Whether the popover is modal (prevents interaction with elements outside)
47
+ * Required when using inside a Dialog/Modal component
48
+ * @default true
49
+ */
50
+ modal?: boolean;
51
+ }
52
+ /**
53
+ * Internal state for date + time selection
54
+ */
55
+ export interface DateTimeState {
56
+ date: Date | undefined;
57
+ time: string;
58
+ }
59
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAA;IAElD;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,IAAI,GAAG,SAAS,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Format date for display
3
+ */
4
+ export declare function formatDate(date: Date | undefined): string;
5
+ /**
6
+ * Format time for display
7
+ */
8
+ export declare function formatTime(time: string): string;
9
+ /**
10
+ * Format full date-time for display
11
+ */
12
+ export declare function formatDateTime(date: Date | undefined, time: string): string;
13
+ //# sourceMappingURL=format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/date-time-picker/utils/format.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,GAAG,MAAM,CAIzD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAI/C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAI3E"}
@@ -0,0 +1,3 @@
1
+ export * from './format';
2
+ export * from './timezone';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/date-time-picker/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Get the browser's timezone
3
+ */
4
+ export declare function getBrowserTimezone(): string;
5
+ /**
6
+ * Convert local date + time to UTC ISO string
7
+ * @param date - Date object (date part)
8
+ * @param time - Time string in HH:mm format
9
+ * @param timezone - IANA timezone (e.g., "America/New_York")
10
+ * @returns UTC ISO string
11
+ */
12
+ export declare function localDateTimeToUtc(date: Date, time: string, timezone: string): string;
13
+ /**
14
+ * Convert UTC ISO string to local date + time
15
+ * @param utcString - UTC ISO string
16
+ * @param timezone - IANA timezone
17
+ * @returns Object with date and time (HH:mm)
18
+ */
19
+ export declare function utcToLocalDateTime(utcString: string, timezone: string): {
20
+ date: Date;
21
+ time: string;
22
+ };
23
+ //# sourceMappingURL=timezone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timezone.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/date-time-picker/utils/timezone.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAwBR;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,GACf;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CA4B9B"}
@@ -6,6 +6,10 @@ export interface NormalizedFieldMeta {
6
6
  errors: string[];
7
7
  /** Whether the field is required (derived from schema) */
8
8
  required: boolean;
9
+ /** Whether the field value differs from its default value */
10
+ isDirty: boolean;
11
+ /** Whether the field has been focused and blurred */
12
+ isTouched: boolean;
9
13
  }
10
14
  export interface NormalizedFieldState extends NormalizedFieldMeta {
11
15
  /** Field name (supports dot-notation paths) */
@@ -39,6 +43,20 @@ export interface NormalizedFieldArray {
39
43
  /** Move an item from one index to another */
40
44
  move: (from: number, to: number) => void;
41
45
  }
46
+ export interface NormalizedFormState {
47
+ /** Whether any field value differs from its default value */
48
+ isDirty: boolean;
49
+ /** Whether the form currently passes validation */
50
+ isValid: boolean;
51
+ /** Whether the form has been submitted at least once */
52
+ isSubmitted: boolean;
53
+ /** Number of times the form has been submitted */
54
+ submitCount: number;
55
+ /** Record of which fields have been modified from defaults */
56
+ dirtyFields: Record<string, boolean>;
57
+ /** Record of which fields have been focused and blurred */
58
+ touchedFields: Record<string, boolean>;
59
+ }
42
60
  export interface NormalizedFormInstance {
43
61
  /** Form ID */
44
62
  id: string;
@@ -46,12 +64,20 @@ export interface NormalizedFormInstance {
46
64
  fields: Record<string, NormalizedFieldMeta>;
47
65
  /** Props to spread on the <form> element (id, onSubmit, noValidate, etc.) */
48
66
  formProps: Record<string, unknown>;
67
+ /** Reactive form-level state (dirty, valid, submitted, etc.) */
68
+ formState: NormalizedFormState;
49
69
  /** Programmatically submit the form */
50
70
  submit: () => void;
51
71
  /** Reset the form to default values */
52
72
  reset: () => void;
53
73
  /** Get all current form values (for stepper prev() save-without-validate) */
54
74
  getValues: () => Record<string, unknown>;
75
+ /** Array of field names that have been touched (focused and blurred or modified) */
76
+ touchedFields: string[];
77
+ /** Mark a field as touched */
78
+ markFieldTouched: (fieldName: string) => void;
79
+ /** Mark all fields as touched (used when submit is clicked with validation errors) */
80
+ markAllFieldsTouched: () => void;
55
81
  /** The raw underlying library instance (opaque - never read by shared components) */
56
82
  raw: unknown;
57
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/form/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO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CAAA;IAEzD,4DAA4D;IAC5D,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,oBAAoB,CAAA;IAErD;;;OAGG;IACH,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,QAAQ,EAAE,sBAAsB,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,CAAC,CAAA;CACnG"}
1
+ {"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/form/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAM5B,MAAM,WAAW,mBAAmB;IAClC,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,uCAAuC;IACvC,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,0DAA0D;IAC1D,QAAQ,EAAE,OAAO,CAAA;IACjB,6DAA6D;IAC7D,OAAO,EAAE,OAAO,CAAA;IAChB,qDAAqD;IACrD,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,0EAA0E;IAC1E,KAAK,EAAE,OAAO,CAAA;IACd,6BAA6B;IAC7B,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAChC,iEAAiE;IACjE,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,sBAAsB;IACtB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACrC;AAED,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,KAAK,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvD,qCA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AS,CAAA;KAAE,CAAC,CAAA;CACnG"}
@@ -1 +1 @@
1
- {"version":3,"file":"conform-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/adapters/conform/conform-adapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAKZ,MAAM,qBAAqB,CAAA;AAwT5B;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,WAQ5B,CAAA"}
1
+ {"version":3,"file":"conform-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/adapters/conform/conform-adapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAMZ,MAAM,qBAAqB,CAAA;AAod5B;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,WAQ5B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"rhf-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/adapters/rhf/rhf-adapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAKZ,MAAM,qBAAqB,CAAA;AA8L5B;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,WAQxB,CAAA"}
1
+ {"version":3,"file":"rhf-adapter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/adapters/rhf/rhf-adapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAMZ,MAAM,qBAAqB,CAAA;AA6N5B;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,WAQxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAKtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,EAAE,EAClF,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAmB1B;yBAvBe,gBAAgB"}
1
+ {"version":3,"file":"form-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAKtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,EAAE,EAClF,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAsB1B;yBA1Be,gBAAgB"}
@@ -0,0 +1,37 @@
1
+ import type { FormAutosearchProps } from '../../autosearch/autosearch.types';
2
+ /**
3
+ * Form.Autosearch - Search-first input with dropdown results
4
+ *
5
+ * Automatically wired to the parent Form.Field context.
6
+ * Shows a text input that triggers search and displays results in a popover.
7
+ * Different from Form.Autocomplete which shows all options upfront.
8
+ *
9
+ * @example Basic usage
10
+ * ```tsx
11
+ * <Form.Field name="userId" label="User" required>
12
+ * <Form.Autosearch
13
+ * options={users}
14
+ * onSearch={handleSearch}
15
+ * loading={isSearching}
16
+ * placeholder="Search users..."
17
+ * />
18
+ * </Form.Field>
19
+ * ```
20
+ *
21
+ * @example With debounce control
22
+ * ```tsx
23
+ * <Form.Field name="email" label="Email">
24
+ * <Form.Autosearch
25
+ * options={searchResults}
26
+ * onSearch={debouncedSearch}
27
+ * searchDebounceMs={500}
28
+ * placeholder="Type email to search..."
29
+ * />
30
+ * </Form.Field>
31
+ * ```
32
+ */
33
+ export declare function FormAutosearch({ disabled, className, inputClassName, ...props }: FormAutosearchProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare namespace FormAutosearch {
35
+ var displayName: string;
36
+ }
37
+ //# sourceMappingURL=form-autosearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-autosearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-autosearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAK5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,cAAc,EACd,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAsBrB;yBA3Be,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAOjD;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CA+B7E;yBA/Be,YAAY"}
1
+ {"version":3,"file":"form-checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAOjD;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CAkC7E;yBAlCe,YAAY"}
@@ -0,0 +1,80 @@
1
+ import type { ComboboxGroup, ComboboxOption } from '../../combobox';
2
+ /**
3
+ * Form.Combobox - Single-select dropdown with search for forms
4
+ *
5
+ * Automatically wired to the parent Form.Field context.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * const options = [
10
+ * { value: '1', label: 'Option 1' },
11
+ * { value: '2', label: 'Option 2' },
12
+ * ]
13
+ *
14
+ * <Form.Field name="country" label="Country" required>
15
+ * <Form.Combobox options={options} placeholder="Select a country" />
16
+ * </Form.Field>
17
+ * ```
18
+ */
19
+ export interface FormComboboxProps {
20
+ /**
21
+ * Available options (flat or grouped)
22
+ */
23
+ 'options': ComboboxOption[] | ComboboxGroup[];
24
+ /**
25
+ * Placeholder for trigger button
26
+ */
27
+ 'placeholder'?: string;
28
+ /**
29
+ * Placeholder for search input
30
+ */
31
+ 'searchPlaceholder'?: string;
32
+ /**
33
+ * Message shown when no options match
34
+ */
35
+ 'emptyMessage'?: string;
36
+ /**
37
+ * Disable the combobox
38
+ */
39
+ 'disabled'?: boolean;
40
+ /**
41
+ * Additional CSS classes
42
+ */
43
+ 'className'?: string;
44
+ /**
45
+ * Additional CSS classes for trigger button
46
+ */
47
+ 'triggerClassName'?: string;
48
+ /**
49
+ * Additional CSS classes for popover content
50
+ */
51
+ 'contentClassName'?: string;
52
+ /**
53
+ * Enable search functionality
54
+ * @default true
55
+ */
56
+ 'searchable'?: boolean;
57
+ /**
58
+ * Show dropdown arrow icon
59
+ * @default true
60
+ */
61
+ 'showDropdownArrow'?: boolean;
62
+ /**
63
+ * Allow clearing the selection
64
+ * @default false
65
+ */
66
+ 'clearable'?: boolean;
67
+ /**
68
+ * Test ID
69
+ */
70
+ 'data-testid'?: string;
71
+ /**
72
+ * Whether the popover is modal (required when using inside a Dialog/Modal)
73
+ */
74
+ 'modal'?: boolean;
75
+ }
76
+ export declare function FormCombobox({ options, placeholder, searchPlaceholder, emptyMessage, disabled, className, triggerClassName, contentClassName, searchable, showDropdownArrow, clearable, 'data-testid': testId, modal, }: FormComboboxProps): import("react/jsx-runtime").JSX.Element;
77
+ export declare namespace FormCombobox {
78
+ var displayName: string;
79
+ }
80
+ //# sourceMappingURL=form-combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAMnE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,EAAE,cAAc,EAAE,GAAG,aAAa,EAAE,CAAA;IAE7C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,UAAiB,EACjB,iBAAwB,EACxB,SAAiB,EACjB,aAAa,EAAE,MAAM,EACrB,KAAK,GACN,EAAE,iBAAiB,2CAiCnB;yBA/Ce,YAAY"}
@@ -38,4 +38,7 @@ export interface FormCopyBoxProps {
38
38
  * ```
39
39
  */
40
40
  export declare function FormCopyBox({ variant, className, contentClassName, buttonClassName, placeholder, }: FormCopyBoxProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare namespace FormCopyBox {
42
+ var displayName: string;
43
+ }
41
44
  //# sourceMappingURL=form-copy-box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-copy-box.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-copy-box.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,gBAAgB;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACjC,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sCAAsC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAgB,GACjB,EAAE,gBAAgB,2CA6DlB"}
1
+ {"version":3,"file":"form-copy-box.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-copy-box.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,gBAAgB;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACjC,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sCAAsC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAgB,GACjB,EAAE,gBAAgB,2CA6DlB;yBAnEe,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-custom.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-custom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAyB,MAAM,UAAU,CAAA;AAItE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAYvD;yBAZe,UAAU"}
1
+ {"version":3,"file":"form-custom.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-custom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAyB,MAAM,UAAU,CAAA;AAItE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAkBvD;yBAlBe,UAAU"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Form.DatePicker - Date picker component for forms
3
+ *
4
+ * Automatically wired to the parent Form.Field context.
5
+ * Extracts minDate/maxDate constraints from Zod schema.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <Form.Field name="startDate" label="Start Date" required>
10
+ * <Form.DatePicker />
11
+ * </Form.Field>
12
+ * ```
13
+ */
14
+ export interface FormDatePickerProps {
15
+ /** Placeholder text */
16
+ placeholder?: string;
17
+ /** Disable the picker */
18
+ disabled?: boolean;
19
+ /** Additional CSS classes */
20
+ className?: string;
21
+ /** Custom trigger button className */
22
+ triggerClassName?: string;
23
+ /** Number of months to display (1 = single date, 2 = date range) */
24
+ numberOfMonths?: 1 | 2;
25
+ /** Minimum selectable date (overrides schema) */
26
+ minDate?: Date;
27
+ /** Maximum selectable date (overrides schema) */
28
+ maxDate?: Date;
29
+ /** Disable future dates */
30
+ disableFuture?: boolean;
31
+ /** Disable past dates */
32
+ disablePast?: boolean;
33
+ /** Whether the popover is modal (required when using inside a Dialog/Modal) */
34
+ modal?: boolean;
35
+ }
36
+ export declare function FormDatePicker({ placeholder, disabled, className, triggerClassName, numberOfMonths, minDate: minDateProp, maxDate: maxDateProp, disableFuture, disablePast, modal, }: FormDatePickerProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare namespace FormDatePicker {
38
+ var displayName: string;
39
+ }
40
+ //# sourceMappingURL=form-date-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-date-picker.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-date-picker.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,mBAAmB;IAClC,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sCAAsC;IACtC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,oEAAoE;IACpE,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACtB,iDAAiD;IACjD,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,iDAAiD;IACjD,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,2BAA2B;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,yBAAyB;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,cAAkB,EAClB,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,WAAW,EACpB,aAAa,EACb,WAAW,EACX,KAAK,GACN,EAAE,mBAAmB,2CAkFrB;yBA7Fe,cAAc"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Form.DateTimePicker - Date and time picker component for forms
3
+ *
4
+ * Automatically wired to the parent Form.Field context.
5
+ * Extracts minDate/maxDate constraints from Zod schema.
6
+ * Value is stored as UTC ISO string.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Form.Field name="scheduledAt" label="Scheduled At" required>
11
+ * <Form.DateTimePicker />
12
+ * </Form.Field>
13
+ * ```
14
+ */
15
+ export interface FormDateTimePickerProps {
16
+ /** Minimum selectable date (overrides schema) */
17
+ minDate?: Date;
18
+ /** Maximum selectable date (overrides schema) */
19
+ maxDate?: Date;
20
+ /** Function to disable specific dates */
21
+ disabledDates?: (date: Date) => boolean;
22
+ /** User's timezone (defaults to browser timezone) */
23
+ timezone?: string;
24
+ /** Show timezone indicator */
25
+ showTimezoneIndicator?: boolean;
26
+ /** Placeholder text */
27
+ placeholder?: string;
28
+ /** Disable the picker */
29
+ disabled?: boolean;
30
+ /** Additional CSS classes */
31
+ className?: string;
32
+ /** Whether the popover is modal (required when using inside a Dialog/Modal) */
33
+ modal?: boolean;
34
+ }
35
+ export declare function FormDateTimePicker({ minDate: minDateProp, maxDate: maxDateProp, disabledDates, timezone, showTimezoneIndicator, placeholder, disabled, className, modal, }: FormDateTimePickerProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare namespace FormDateTimePicker {
37
+ var displayName: string;
38
+ }
39
+ //# sourceMappingURL=form-date-time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-date-time-picker.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-date-time-picker.tsx"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,uBAAuB;IACtC,iDAAiD;IACjD,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,iDAAiD;IACjD,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,yCAAyC;IACzC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAA;IACvC,qDAAqD;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8BAA8B;IAC9B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,WAAW,EACpB,aAAa,EACb,QAAQ,EACR,qBAAqB,EACrB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,uBAAuB,2CA+CzB;yBAzDe,kBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,UAAU,CAAA;AAMpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAE9C,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,KAAK,EACL,WAAW,EACX,OAAO,EAGP,MAAM,EACN,aAAa,EACb,QAAQ,EACR,SAAS,EACT,OAAO,EAGP,UAAqB,EACrB,iBAAmC,EACnC,UAAqB,EACrB,UAAiB,EACjB,UAAsB,EAGtB,OAAO,EAGP,aAAa,EACb,SAAS,EAGT,SAAS,EACT,aAAa,EAGb,QAAQ,GACT,EAAE,eAAe,CAAC,CAAC,CAAC,2CAwGpB;yBA5Ie,UAAU"}
1
+ {"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,UAAU,CAAA;AAMpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAE9C,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,KAAK,EACL,WAAW,EACX,OAAO,EAGP,MAAM,EACN,aAAa,EACb,QAAQ,EACR,SAAS,EACT,OAAO,EAGP,UAAqB,EACrB,iBAAmC,EACnC,UAAqB,EACrB,UAAiB,EACjB,UAAsB,EAGtB,OAAO,EAGP,aAAa,EACb,SAAS,EAGT,SAAS,EACT,aAAa,EAGb,QAAQ,GACT,EAAE,eAAe,CAAC,CAAC,CAAC,2CAoGpB;yBAxIe,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,cAAc,EAAwB,MAAM,UAAU,CAAA;AAyE3F;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAgB,EAChB,QAAgB,EAChB,SAAS,EACT,cAAc,GACf,EAAE,cAAc,2CAyGhB;yBAnHe,SAAS"}
1
+ {"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,cAAc,EAAwB,MAAM,UAAU,CAAA;AAyE3F;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAgB,EAChB,QAAgB,EAChB,SAAS,EACT,cAAc,GACf,EAAE,cAAc,2CA+IhB;yBAzJe,SAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-radio-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAOvE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,EAC7B,WAAwB,EACxB,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CAsBrB;yBA3Be,cAAc;;;AA+B9B;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAoBxF;yBApBe,aAAa"}
1
+ {"version":3,"file":"form-radio-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAOvE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,EAC7B,WAAwB,EACxB,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CAyBrB;yBA9Be,cAAc;;;AAkC9B;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAqBxF;yBArBe,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-root.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAuB,MAAM,UAAU,CAAA;AAMlE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAC5C,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAe,EACf,aAAa,EAAE,QAAiB,EAChC,EAAE,EACF,IAAI,EACJ,aAAa,EACb,IAAe,EACf,YAAY,EAAE,oBAAoB,EAClC,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACV,EAAE,aAAa,CAAC,CAAC,CAAC,2CA+FlB;yBA/Ge,QAAQ"}
1
+ {"version":3,"file":"form-root.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAuB,MAAM,UAAU,CAAA;AAMlE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAC5C,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAe,EACf,aAAa,EAAE,QAAiB,EAChC,EAAE,EACF,IAAI,EACJ,aAAa,EACb,IAAiB,EACjB,YAAY,EAAE,oBAAoB,EAClC,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACV,EAAE,aAAa,CAAC,CAAC,CAAC,2CAoIlB;yBApJe,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAO/C;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,2CA+BzE;yBA/Be,UAAU"}
1
+ {"version":3,"file":"form-switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAO/C;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,2CAkCzE;yBAlCe,UAAU"}
@@ -0,0 +1,21 @@
1
+ import type { TimePickerProps } from '../../time-picker/types';
2
+ /**
3
+ * Form.TimePicker - Simple time input component for forms
4
+ *
5
+ * Automatically wired to the parent Form.Field context.
6
+ * Value format: "HH:mm" (e.g., "14:30")
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Form.Field name="time" label="Time">
11
+ * <Form.TimePicker />
12
+ * </Form.Field>
13
+ * ```
14
+ */
15
+ export interface FormTimePickerProps extends Omit<TimePickerProps, 'value' | 'onChange' | 'id' | 'aria-invalid' | 'aria-describedby'> {
16
+ }
17
+ export declare function FormTimePicker({ min, max, step, placeholder, disabled, className, }: FormTimePickerProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace FormTimePicker {
19
+ var displayName: string;
20
+ }
21
+ //# sourceMappingURL=form-time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-time-picker.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-time-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAM9D;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,UAAU,GAAG,IAAI,GAAG,cAAc,GAAG,kBAAkB,CAAC;CAEpI;AAED,wBAAgB,cAAc,CAAC,EAC7B,GAAG,EACH,GAAG,EACH,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB,2CAgCrB;yBAvCe,cAAc"}