@vuu-ui/vuu-data-react 0.13.46 → 0.13.48

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 (254) hide show
  1. package/cjs/hooks/useVuuMenuActions.js +2 -2
  2. package/cjs/hooks/useVuuMenuActions.js.map +1 -1
  3. package/esm/hooks/useVuuMenuActions.js +2 -2
  4. package/esm/hooks/useVuuMenuActions.js.map +1 -1
  5. package/package.json +15 -15
  6. package/types/{vuu-data-react/src/hooks → hooks}/useConnectionStatus.d.ts +1 -1
  7. package/types/vuu-context-menu/src/ContextMenu.d.ts +0 -10
  8. package/types/vuu-context-menu/src/ContextMenuProvider.d.ts +0 -16
  9. package/types/vuu-context-menu/src/index.d.ts +0 -3
  10. package/types/vuu-context-menu/src/menu-utils.d.ts +0 -17
  11. package/types/vuu-context-menu/src/useContextMenu.d.ts +0 -10
  12. package/types/vuu-popups/src/index.d.ts +0 -5
  13. package/types/vuu-popups/src/notifications/NotificationsCenter.d.ts +0 -5
  14. package/types/vuu-popups/src/notifications/NotificationsContext.d.ts +0 -36
  15. package/types/vuu-popups/src/notifications/NotificationsProvider.d.ts +0 -9
  16. package/types/vuu-popups/src/notifications/ToastNotification.d.ts +0 -7
  17. package/types/vuu-popups/src/notifications/WorkspaceNotification.d.ts +0 -5
  18. package/types/vuu-popups/src/notifications/index.d.ts +0 -3
  19. package/types/vuu-popups/src/popup/Popup.d.ts +0 -12
  20. package/types/vuu-popups/src/popup/getPositionRelativeToAnchor.d.ts +0 -19
  21. package/types/vuu-popups/src/popup/index.d.ts +0 -2
  22. package/types/vuu-popups/src/popup/useAnchoredPosition.d.ts +0 -7
  23. package/types/vuu-popups/src/popup-menu/PopupMenu.d.ts +0 -45
  24. package/types/vuu-popups/src/popup-menu/index.d.ts +0 -1
  25. package/types/vuu-popups/src/popup-menu/usePopupMenu.d.ts +0 -19
  26. package/types/vuu-popups/src/portal/Portal.d.ts +0 -42
  27. package/types/vuu-popups/src/portal/index.d.ts +0 -1
  28. package/types/vuu-popups/src/tooltip/Tooltip.d.ts +0 -15
  29. package/types/vuu-popups/src/tooltip/index.d.ts +0 -2
  30. package/types/vuu-popups/src/tooltip/useTooltip.d.ts +0 -19
  31. package/types/vuu-popups/src/tooltip/useTooltipAnchoredPosition.d.ts +0 -7
  32. package/types/vuu-ui-controls/src/calendar/Calendar.d.ts +0 -13
  33. package/types/vuu-ui-controls/src/calendar/index.d.ts +0 -4
  34. package/types/vuu-ui-controls/src/calendar/internal/CalendarCarousel.d.ts +0 -3
  35. package/types/vuu-ui-controls/src/calendar/internal/CalendarContext.d.ts +0 -8
  36. package/types/vuu-ui-controls/src/calendar/internal/CalendarDay.d.ts +0 -14
  37. package/types/vuu-ui-controls/src/calendar/internal/CalendarMonth.d.ts +0 -10
  38. package/types/vuu-ui-controls/src/calendar/internal/CalendarNavigation.d.ts +0 -16
  39. package/types/vuu-ui-controls/src/calendar/internal/CalendarWeekHeader.d.ts +0 -3
  40. package/types/vuu-ui-controls/src/calendar/internal/useFocusManagement.d.ts +0 -9
  41. package/types/vuu-ui-controls/src/calendar/internal/utils.d.ts +0 -15
  42. package/types/vuu-ui-controls/src/calendar/useCalendar.d.ts +0 -54
  43. package/types/vuu-ui-controls/src/calendar/useCalendarDay.d.ts +0 -22
  44. package/types/vuu-ui-controls/src/calendar/useSelection.d.ts +0 -78
  45. package/types/vuu-ui-controls/src/column-picker/ColumnPicker.d.ts +0 -7
  46. package/types/vuu-ui-controls/src/column-picker/ColumnSearch.d.ts +0 -12
  47. package/types/vuu-ui-controls/src/column-picker/index.d.ts +0 -2
  48. package/types/vuu-ui-controls/src/common-hooks/index.d.ts +0 -3
  49. package/types/vuu-ui-controls/src/common-hooks/selectionTypes.d.ts +0 -70
  50. package/types/vuu-ui-controls/src/common-hooks/use-resize-observer.d.ts +0 -16
  51. package/types/vuu-ui-controls/src/common-hooks/useControlled.d.ts +0 -24
  52. package/types/vuu-ui-controls/src/context-panel-provider/ContextPanelProvider.d.ts +0 -17
  53. package/types/vuu-ui-controls/src/cycle-state-button/CycleStateButton.d.ts +0 -11
  54. package/types/vuu-ui-controls/src/cycle-state-button/index.d.ts +0 -1
  55. package/types/vuu-ui-controls/src/date-input/DateInput.d.ts +0 -60
  56. package/types/vuu-ui-controls/src/date-input/index.d.ts +0 -1
  57. package/types/vuu-ui-controls/src/date-picker/DatePicker.d.ts +0 -66
  58. package/types/vuu-ui-controls/src/date-picker/DatePickerContext.d.ts +0 -19
  59. package/types/vuu-ui-controls/src/date-picker/DatePickerPanel.d.ts +0 -10
  60. package/types/vuu-ui-controls/src/date-picker/index.d.ts +0 -1
  61. package/types/vuu-ui-controls/src/drag-drop/DragDropProvider.d.ts +0 -38
  62. package/types/vuu-ui-controls/src/drag-drop/DragDropState.d.ts +0 -15
  63. package/types/vuu-ui-controls/src/drag-drop/Draggable.d.ts +0 -13
  64. package/types/vuu-ui-controls/src/drag-drop/dragDropTypes.d.ts +0 -100
  65. package/types/vuu-ui-controls/src/drag-drop/drop-target-utils.d.ts +0 -82
  66. package/types/vuu-ui-controls/src/drag-drop/index.d.ts +0 -6
  67. package/types/vuu-ui-controls/src/drag-drop/useAutoScroll.d.ts +0 -11
  68. package/types/vuu-ui-controls/src/drag-drop/useDragDisplacers.d.ts +0 -17
  69. package/types/vuu-ui-controls/src/drag-drop/useDragDrop.d.ts +0 -2
  70. package/types/vuu-ui-controls/src/drag-drop/useDragDropCopy.d.ts +0 -6
  71. package/types/vuu-ui-controls/src/drag-drop/useDragDropIndicator.d.ts +0 -2
  72. package/types/vuu-ui-controls/src/drag-drop/useDragDropNaturalMovement.d.ts +0 -2
  73. package/types/vuu-ui-controls/src/drag-drop/useDropIndicator.d.ts +0 -8
  74. package/types/vuu-ui-controls/src/drag-drop/useGlobalDragDrop.d.ts +0 -11
  75. package/types/vuu-ui-controls/src/editable/index.d.ts +0 -1
  76. package/types/vuu-ui-controls/src/editable/useEditableText.d.ts +0 -19
  77. package/types/vuu-ui-controls/src/editable-label/EditableLabel.d.ts +0 -19
  78. package/types/vuu-ui-controls/src/editable-label/index.d.ts +0 -1
  79. package/types/vuu-ui-controls/src/expando-input/ExpandoInput.d.ts +0 -6
  80. package/types/vuu-ui-controls/src/expando-input/index.d.ts +0 -1
  81. package/types/vuu-ui-controls/src/icon-button/Icon.d.ts +0 -6
  82. package/types/vuu-ui-controls/src/icon-button/IconButton.d.ts +0 -6
  83. package/types/vuu-ui-controls/src/icon-button/ToggleIconButton.d.ts +0 -5
  84. package/types/vuu-ui-controls/src/icon-button/index.d.ts +0 -3
  85. package/types/vuu-ui-controls/src/index.d.ts +0 -30
  86. package/types/vuu-ui-controls/src/instrument-picker/TablePicker.d.ts +0 -10
  87. package/types/vuu-ui-controls/src/instrument-picker/index.d.ts +0 -1
  88. package/types/vuu-ui-controls/src/instrument-picker/useTablePicker.d.ts +0 -47
  89. package/types/vuu-ui-controls/src/measured-container/MeasuredContainer.d.ts +0 -14
  90. package/types/vuu-ui-controls/src/measured-container/index.d.ts +0 -2
  91. package/types/vuu-ui-controls/src/measured-container/useMeasuredContainer.d.ts +0 -23
  92. package/types/vuu-ui-controls/src/measured-container/useResizeObserver.d.ts +0 -15
  93. package/types/vuu-ui-controls/src/modal-provider/ModalProvider.d.ts +0 -13
  94. package/types/vuu-ui-controls/src/overflow-container/OverflowContainer.d.ts +0 -15
  95. package/types/vuu-ui-controls/src/overflow-container/index.d.ts +0 -2
  96. package/types/vuu-ui-controls/src/overflow-container/overflow-utils.d.ts +0 -48
  97. package/types/vuu-ui-controls/src/overflow-container/useOverflowContainer.d.ts +0 -19
  98. package/types/vuu-ui-controls/src/price-ticker/PriceTicker.d.ts +0 -7
  99. package/types/vuu-ui-controls/src/price-ticker/index.d.ts +0 -1
  100. package/types/vuu-ui-controls/src/prompt/Prompt.d.ts +0 -48
  101. package/types/vuu-ui-controls/src/sortable-list/SortableList.d.ts +0 -8
  102. package/types/vuu-ui-controls/src/split-button/SplitButton.d.ts +0 -11
  103. package/types/vuu-ui-controls/src/split-button/SplitStateButton.d.ts +0 -5
  104. package/types/vuu-ui-controls/src/split-button/index.d.ts +0 -2
  105. package/types/vuu-ui-controls/src/split-button/useSplitButton.d.ts +0 -311
  106. package/types/vuu-ui-controls/src/table-search/SearchCell.d.ts +0 -2
  107. package/types/vuu-ui-controls/src/table-search/TableSearch.d.ts +0 -9
  108. package/types/vuu-ui-controls/src/table-search/index.d.ts +0 -1
  109. package/types/vuu-ui-controls/src/table-search/useTableSearch.d.ts +0 -15
  110. package/types/vuu-ui-controls/src/tabs-next/TabBar.d.ts +0 -12
  111. package/types/vuu-ui-controls/src/tabs-next/TabListNext.d.ts +0 -12
  112. package/types/vuu-ui-controls/src/tabs-next/TabNext.d.ts +0 -12
  113. package/types/vuu-ui-controls/src/tabs-next/TabNextAction.d.ts +0 -5
  114. package/types/vuu-ui-controls/src/tabs-next/TabNextContext.d.ts +0 -12
  115. package/types/vuu-ui-controls/src/tabs-next/TabNextPanel.d.ts +0 -8
  116. package/types/vuu-ui-controls/src/tabs-next/TabNextTrigger.d.ts +0 -5
  117. package/types/vuu-ui-controls/src/tabs-next/TabOverflowList.d.ts +0 -11
  118. package/types/vuu-ui-controls/src/tabs-next/TabsNext.d.ts +0 -17
  119. package/types/vuu-ui-controls/src/tabs-next/TabsNextContext.d.ts +0 -21
  120. package/types/vuu-ui-controls/src/tabs-next/hooks/useCollection.d.ts +0 -18
  121. package/types/vuu-ui-controls/src/tabs-next/hooks/useFocusOutside.d.ts +0 -2
  122. package/types/vuu-ui-controls/src/tabs-next/hooks/useOverflow.d.ts +0 -11
  123. package/types/vuu-ui-controls/src/tabs-next/index.d.ts +0 -7
  124. package/types/vuu-ui-controls/src/tabstrip/Tab.d.ts +0 -27
  125. package/types/vuu-ui-controls/src/tabstrip/TabMenu.d.ts +0 -23
  126. package/types/vuu-ui-controls/src/tabstrip/TabMenuOptions.d.ts +0 -10
  127. package/types/vuu-ui-controls/src/tabstrip/TabsTypes.d.ts +0 -127
  128. package/types/vuu-ui-controls/src/tabstrip/Tabstrip.d.ts +0 -2
  129. package/types/vuu-ui-controls/src/tabstrip/index.d.ts +0 -5
  130. package/types/vuu-ui-controls/src/tabstrip/tabstrip-dom-utils.d.ts +0 -2
  131. package/types/vuu-ui-controls/src/tabstrip/useAnimatedSelectionThumb.d.ts +0 -7
  132. package/types/vuu-ui-controls/src/tabstrip/useKeyboardNavigation.d.ts +0 -29
  133. package/types/vuu-ui-controls/src/tabstrip/useSelection.d.ts +0 -13
  134. package/types/vuu-ui-controls/src/tabstrip/useTabstrip.d.ts +0 -55
  135. package/types/vuu-ui-controls/src/time-input/MaskedInput.d.ts +0 -49
  136. package/types/vuu-ui-controls/src/time-input/TimeInput.d.ts +0 -5
  137. package/types/vuu-ui-controls/src/time-input/useTimeInput.d.ts +0 -21
  138. package/types/vuu-ui-controls/src/toolbar/Toolbar.d.ts +0 -19
  139. package/types/vuu-ui-controls/src/toolbar/index.d.ts +0 -1
  140. package/types/vuu-ui-controls/src/toolbar/toolbar-dom-utils.d.ts +0 -3
  141. package/types/vuu-ui-controls/src/toolbar/useKeyboardNavigation.d.ts +0 -32
  142. package/types/vuu-ui-controls/src/toolbar/useSelection.d.ts +0 -22
  143. package/types/vuu-ui-controls/src/toolbar/useToolbar.d.ts +0 -28
  144. package/types/vuu-ui-controls/src/utils/deprecated-types.d.ts +0 -2
  145. package/types/vuu-ui-controls/src/utils/escapeRegExp.d.ts +0 -1
  146. package/types/vuu-ui-controls/src/utils/forwardCallbackProps.d.ts +0 -3
  147. package/types/vuu-ui-controls/src/utils/index.d.ts +0 -5
  148. package/types/vuu-ui-controls/src/utils/isOverflowElement.d.ts +0 -1
  149. package/types/vuu-ui-controls/src/utils/isPlainObject.d.ts +0 -1
  150. package/types/vuu-ui-controls/src/vuu-date-picker/VuuDatePicker.d.ts +0 -7
  151. package/types/vuu-ui-controls/src/vuu-date-picker/index.d.ts +0 -1
  152. package/types/vuu-ui-controls/src/vuu-input/VuuInput.d.ts +0 -18
  153. package/types/vuu-ui-controls/src/vuu-input/index.d.ts +0 -1
  154. package/types/vuu-ui-controls/src/vuu-time-picker/VuuTimePicker.d.ts +0 -7
  155. package/types/vuu-ui-controls/src/vuu-typeahead-input/VuuTypeaheadInput.d.ts +0 -6
  156. package/types/vuu-ui-controls/src/vuu-typeahead-input/index.d.ts +0 -1
  157. package/types/vuu-ui-controls/src/vuu-typeahead-input/useVuuTypeaheadInput.d.ts +0 -49
  158. package/types/vuu-utils/src/Clock.d.ts +0 -20
  159. package/types/vuu-utils/src/DataWindow.d.ts +0 -39
  160. package/types/vuu-utils/src/ShellContext.d.ts +0 -11
  161. package/types/vuu-utils/src/ThemeProvider.d.ts +0 -32
  162. package/types/vuu-utils/src/array-utils.d.ts +0 -8
  163. package/types/vuu-utils/src/box-utils.d.ts +0 -24
  164. package/types/vuu-utils/src/broadcast-channel.d.ts +0 -16
  165. package/types/vuu-utils/src/column-utils.d.ts +0 -181
  166. package/types/vuu-utils/src/common-types.d.ts +0 -6
  167. package/types/vuu-utils/src/component-registry.d.ts +0 -65
  168. package/types/vuu-utils/src/context-definitions/DataContext.d.ts +0 -18
  169. package/types/vuu-utils/src/context-definitions/DataProvider.d.ts +0 -7
  170. package/types/vuu-utils/src/context-definitions/DataSourceProvider.d.ts +0 -12
  171. package/types/vuu-utils/src/context-definitions/WorkspaceContext.d.ts +0 -17
  172. package/types/vuu-utils/src/cookie-utils.d.ts +0 -1
  173. package/types/vuu-utils/src/css-utils.d.ts +0 -1
  174. package/types/vuu-utils/src/data-utils.d.ts +0 -19
  175. package/types/vuu-utils/src/datasource/BaseDataSource.d.ts +0 -60
  176. package/types/vuu-utils/src/datasource/datasource-action-utils.d.ts +0 -7
  177. package/types/vuu-utils/src/datasource/datasource-filter-utils.d.ts +0 -2
  178. package/types/vuu-utils/src/datasource/datasource-utils.d.ts +0 -49
  179. package/types/vuu-utils/src/date/date-utils.d.ts +0 -36
  180. package/types/vuu-utils/src/date/dateTimePattern.d.ts +0 -8
  181. package/types/vuu-utils/src/date/formatter.d.ts +0 -4
  182. package/types/vuu-utils/src/date/index.d.ts +0 -4
  183. package/types/vuu-utils/src/date/types.d.ts +0 -24
  184. package/types/vuu-utils/src/debug-utils.d.ts +0 -9
  185. package/types/vuu-utils/src/event-emitter.d.ts +0 -21
  186. package/types/vuu-utils/src/feature-utils.d.ts +0 -110
  187. package/types/vuu-utils/src/filters/filter-utils.d.ts +0 -82
  188. package/types/vuu-utils/src/filters/filterAsQuery.d.ts +0 -7
  189. package/types/vuu-utils/src/filters/index.d.ts +0 -2
  190. package/types/vuu-utils/src/form-utils.d.ts +0 -23
  191. package/types/vuu-utils/src/formatting-utils.d.ts +0 -14
  192. package/types/vuu-utils/src/getUniqueId.d.ts +0 -1
  193. package/types/vuu-utils/src/group-utils.d.ts +0 -10
  194. package/types/vuu-utils/src/html-utils.d.ts +0 -21
  195. package/types/vuu-utils/src/index.d.ts +0 -74
  196. package/types/vuu-utils/src/input-utils.d.ts +0 -2
  197. package/types/vuu-utils/src/invariant.d.ts +0 -1
  198. package/types/vuu-utils/src/itemToString.d.ts +0 -2
  199. package/types/vuu-utils/src/json-types.d.ts +0 -52
  200. package/types/vuu-utils/src/json-utils.d.ts +0 -6
  201. package/types/vuu-utils/src/keyboard-utils.d.ts +0 -15
  202. package/types/vuu-utils/src/keyset.d.ts +0 -16
  203. package/types/vuu-utils/src/layout-types.d.ts +0 -22
  204. package/types/vuu-utils/src/list-utils.d.ts +0 -2
  205. package/types/vuu-utils/src/local-storage-utils.d.ts +0 -3
  206. package/types/vuu-utils/src/logging-utils.d.ts +0 -45
  207. package/types/vuu-utils/src/menu-utils.d.ts +0 -6
  208. package/types/vuu-utils/src/module-utils.d.ts +0 -8
  209. package/types/vuu-utils/src/moving-window.d.ts +0 -18
  210. package/types/vuu-utils/src/nanoid/index.d.ts +0 -1
  211. package/types/vuu-utils/src/perf-utils.d.ts +0 -5
  212. package/types/vuu-utils/src/promise-utils.d.ts +0 -8
  213. package/types/vuu-utils/src/protocol-message-utils.d.ts +0 -34
  214. package/types/vuu-utils/src/range-utils.d.ts +0 -31
  215. package/types/vuu-utils/src/react-utils.d.ts +0 -8
  216. package/types/vuu-utils/src/round-decimal.d.ts +0 -1
  217. package/types/vuu-utils/src/row-utils.d.ts +0 -27
  218. package/types/vuu-utils/src/selection-utils.d.ts +0 -4
  219. package/types/vuu-utils/src/shell-layout-types.d.ts +0 -15
  220. package/types/vuu-utils/src/sort-utils.d.ts +0 -11
  221. package/types/vuu-utils/src/table-schema-utils.d.ts +0 -3
  222. package/types/vuu-utils/src/text-utils.d.ts +0 -2
  223. package/types/vuu-utils/src/tree-types.d.ts +0 -9
  224. package/types/vuu-utils/src/tree-utils.d.ts +0 -9
  225. package/types/vuu-utils/src/ts-utils.d.ts +0 -20
  226. package/types/vuu-utils/src/typeahead-utils.d.ts +0 -1
  227. package/types/vuu-utils/src/url-utils.d.ts +0 -2
  228. package/types/vuu-utils/src/useId.d.ts +0 -1
  229. package/types/vuu-utils/src/useLayoutEffectSkipFirst.d.ts +0 -2
  230. package/types/vuu-utils/src/useStateRef.d.ts +0 -2
  231. package/types/vuu-utils/src/user-types.d.ts +0 -4
  232. /package/types/{vuu-data-react/src/data-editing → data-editing}/EditForm.d.ts +0 -0
  233. /package/types/{vuu-data-react/src/data-editing → data-editing}/UnsavedChangesReport.d.ts +0 -0
  234. /package/types/{vuu-data-react/src/data-editing → data-editing}/edit-rule-validation-checker.d.ts +0 -0
  235. /package/types/{vuu-data-react/src/data-editing → data-editing}/edit-validation-rules.d.ts +0 -0
  236. /package/types/{vuu-data-react/src/data-editing → data-editing}/form-edit-state.d.ts +0 -0
  237. /package/types/{vuu-data-react/src/data-editing → data-editing}/get-data-item-edit-control.d.ts +0 -0
  238. /package/types/{vuu-data-react/src/data-editing → data-editing}/index.d.ts +0 -0
  239. /package/types/{vuu-data-react/src/data-editing → data-editing}/useEditForm.d.ts +0 -0
  240. /package/types/{vuu-data-react/src/datasource-provider → datasource-provider}/VuuDataSourceProvider.d.ts +0 -0
  241. /package/types/{vuu-data-react/src/datasource-provider → datasource-provider}/index.d.ts +0 -0
  242. /package/types/{vuu-data-react/src/datasource-provider → datasource-provider}/useAutoLoginToVuuServer.d.ts +0 -0
  243. /package/types/{vuu-data-react/src/hooks → hooks}/index.d.ts +0 -0
  244. /package/types/{vuu-data-react/src/hooks → hooks}/useLookupValues.d.ts +0 -0
  245. /package/types/{vuu-data-react/src/hooks → hooks}/useRemoteConnection.d.ts +0 -0
  246. /package/types/{vuu-data-react/src/hooks → hooks}/useSessionDataSource.d.ts +0 -0
  247. /package/types/{vuu-data-react/src/hooks → hooks}/useTypeaheadSuggestions.d.ts +0 -0
  248. /package/types/{vuu-data-react/src/hooks → hooks}/useVisualLinks.d.ts +0 -0
  249. /package/types/{vuu-data-react/src/hooks → hooks}/useVuuMenuActions.d.ts +0 -0
  250. /package/types/{vuu-data-react/src/hooks → hooks}/useVuuTables.d.ts +0 -0
  251. /package/types/{vuu-data-react/src/index.d.ts → index.d.ts} +0 -0
  252. /package/types/{vuu-data-react/src/lost-connection-indicator → lost-connection-indicator}/LostConnectionIndicator.d.ts +0 -0
  253. /package/types/{vuu-data-react/src/session-editing-form → session-editing-form}/SessionEditingForm.d.ts +0 -0
  254. /package/types/{vuu-data-react/src/session-editing-form → session-editing-form}/index.d.ts +0 -0
@@ -1,66 +0,0 @@
1
- import { type ChangeEvent, type SyntheticEvent } from "react";
2
- import { type DateValue } from "@internationalized/date";
3
- import { type CalendarProps, type RangeSelectionValueType, type SingleSelectionValueType } from "../calendar";
4
- import { type DateInputProps } from "../date-input";
5
- export interface DatePickerProps<SelectionVariantType> extends DateInputProps<SelectionVariantType> {
6
- /**
7
- * Selection variant. Defaults to single select.
8
- */
9
- selectionVariant?: "default" | "range";
10
- /**
11
- * If `true`, the component will be disabled.
12
- */
13
- disabled?: boolean;
14
- /**
15
- * The selected date value. Use when the component is controlled.
16
- * Can be a single date or an object with start and end dates for range selection.
17
- */
18
- selectedDate?: SelectionVariantType;
19
- /**
20
- * The default date value. Use when the component is not controlled.
21
- * Can be a single date or an object with start and end dates for range selection.
22
- */
23
- defaultSelectedDate?: SelectionVariantType;
24
- /**
25
- * Props to be passed to the Calendar component.
26
- */
27
- CalendarProps?: Partial<Omit<CalendarProps, "selectionVariant" | "selectedDate" | "defaultSelectedDate" | "onSelectedDateChange">>;
28
- /**
29
- * Function to format the input value.
30
- */
31
- dateFormatter?: (input: DateValue | undefined) => string;
32
- /**
33
- * Callback function triggered when open state changes.
34
- */
35
- onOpenChange?: (newOpen: boolean) => void;
36
- /**
37
- * Display or hide the component.
38
- */
39
- open?: boolean;
40
- /**
41
- * The default open value. Use when the component is not controlled.
42
- */
43
- defaultOpen?: boolean;
44
- /**
45
- * Helper text to display in the panel
46
- */
47
- helperText?: string;
48
- /**
49
- * Validation status.
50
- */
51
- validationStatus?: "error" | "warning" | "success";
52
- /**
53
- * Callback fired when the selected date change.
54
- */
55
- onSelectionChange?: (event: SyntheticEvent, selectedDate?: SelectionVariantType) => void;
56
- /**
57
- * Callback fired when the input value change.
58
- */
59
- onChange?: SelectionVariantType extends SingleSelectionValueType ? (event: ChangeEvent<HTMLInputElement>, selectedDateInputValue?: string) => void : (event: ChangeEvent<HTMLInputElement>, startDateInputValue?: string, endDateInputValue?: string) => void;
60
- /**
61
- * Number of Calendars to be shown if selectionVariant is range.
62
- * 2 is the default value.
63
- */
64
- visibleMonths?: 1 | 2;
65
- }
66
- export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps<DateValue | RangeSelectionValueType> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,19 +0,0 @@
1
- import type { DateValue } from "@internationalized/date";
2
- import { type UseFloatingUIReturn } from "@salt-ds/core";
3
- import type { RangeSelectionValueType } from "../calendar";
4
- export interface DatePickerContextValue<SelectionVariantType> extends Partial<Pick<UseFloatingUIReturn, "context">> {
5
- openState: boolean;
6
- setOpen: (newOpen: boolean) => void;
7
- disabled: boolean;
8
- selectedDate: SelectionVariantType | undefined;
9
- defaultSelectedDate: SelectionVariantType | undefined;
10
- setSelectedDate: (newStartDate: SelectionVariantType | undefined) => void;
11
- startVisibleMonth: DateValue | undefined;
12
- setStartVisibleMonth: (newStartDate: DateValue | undefined) => void;
13
- endVisibleMonth: DateValue | undefined;
14
- setEndVisibleMonth: (newStartDate: DateValue | undefined) => void;
15
- selectionVariant: "default" | "range";
16
- getPanelPosition: () => Record<string, unknown>;
17
- }
18
- export declare const DatePickerContext: import("react").Context<DatePickerContextValue<DateValue | RangeSelectionValueType>>;
19
- export declare function useDatePickerContext(): DatePickerContextValue<DateValue | RangeSelectionValueType>;
@@ -1,10 +0,0 @@
1
- import { type DateValue } from "@internationalized/date";
2
- import { type ComponentPropsWithoutRef, type SyntheticEvent } from "react";
3
- import { type CalendarProps, type RangeSelectionValueType } from "../calendar";
4
- export interface DatePickerPanelProps<SelectionVariantType> extends ComponentPropsWithoutRef<"div"> {
5
- onSelect?: (event: SyntheticEvent, selectedDate?: SelectionVariantType) => void;
6
- helperText?: string;
7
- visibleMonths?: 1 | 2;
8
- CalendarProps?: Partial<Omit<CalendarProps, "selectionVariant" | "selectedDate" | "defaultSelectedDate" | "onSelectedDateChange">>;
9
- }
10
- export declare const DatePickerPanel: import("react").ForwardRefExoticComponent<DatePickerPanelProps<DateValue | RangeSelectionValueType> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export * from "./DatePicker";
@@ -1,38 +0,0 @@
1
- import { ReactNode } from "react";
2
- import { DragDropState } from "./DragDropState";
3
- import { GlobalDropHandler, ResumeDragHandler } from "./useGlobalDragDrop";
4
- export type DragOutHandler = (id: string, dragDropState: DragDropState) => boolean;
5
- export type DragDropRegistrationFn = (id: string, resumeDrag: ResumeDragHandler | false, onDrop?: GlobalDropHandler) => void;
6
- export type EndOfDragOperationHandler = (id: string) => void;
7
- export interface DragDropContextProps {
8
- dragSources?: Map<string, string[]>;
9
- dropTargets?: Map<string, string[]>;
10
- onDragOut?: DragOutHandler;
11
- onEndOfDragOperation?: EndOfDragOperationHandler;
12
- registerDragDropParty: DragDropRegistrationFn;
13
- }
14
- export type DragSources = {
15
- [key: string]: {
16
- dropTargets: string | string[];
17
- payloadType?: string;
18
- };
19
- };
20
- export interface DragDropProviderProps {
21
- children: ReactNode;
22
- dragSources: DragSources;
23
- }
24
- export type MeasuredTarget = {
25
- bottom: number;
26
- left: number;
27
- right: number;
28
- top: number;
29
- };
30
- export declare const DragDropProvider: ({ children, dragSources: dragSourcesProp, }: DragDropProviderProps) => import("react/jsx-runtime").JSX.Element;
31
- export interface DragDropProviderResult {
32
- isDragSource?: boolean;
33
- isDropTarget?: boolean;
34
- onDragOut?: DragOutHandler;
35
- onEndOfDragOperation?: (id: string) => void;
36
- register: DragDropRegistrationFn;
37
- }
38
- export declare const useDragDropProvider: (id?: string) => DragDropProviderResult;
@@ -1,15 +0,0 @@
1
- import { MouseOffset, MousePosition } from "./dragDropTypes";
2
- export declare class DragDropState {
3
- /** Distance between start (top | left) of dragged element and point where user pressed to drag */
4
- readonly mouseOffset: MouseOffset;
5
- /** Element where the initial mousedown triggered the drag operation */
6
- readonly initialDragElement: HTMLElement;
7
- /** Element being dragged, (initial element cloned and rendered in portal). */
8
- draggableElement: HTMLElement | null;
9
- payload: unknown;
10
- constructor(mousePosition: MousePosition, dragElement: HTMLElement);
11
- /** Used to capture a ref to the Draggable ReactElement */
12
- setDraggable: (el: HTMLElement | null) => void;
13
- setPayload(payload: unknown): void;
14
- private getMouseOffset;
15
- }
@@ -1,13 +0,0 @@
1
- import { CSSProperties, HTMLAttributes, MutableRefObject, TransitionEventHandler } from "react";
2
- export interface DraggableProps extends HTMLAttributes<HTMLDivElement> {
3
- wrapperClassName: string;
4
- element: HTMLElement;
5
- onDropped?: () => void;
6
- onTransitionEnd?: TransitionEventHandler;
7
- scale?: number;
8
- style: CSSProperties;
9
- }
10
- export declare const Draggable: import("react").ForwardRefExoticComponent<DraggableProps & import("react").RefAttributes<HTMLDivElement>>;
11
- export declare const createDragSpacer: (transitioning?: MutableRefObject<boolean>) => HTMLElement;
12
- export declare const createDropIndicatorPosition: () => HTMLElement;
13
- export declare const createDropIndicator: (transitioning?: MutableRefObject<boolean>) => HTMLElement;
@@ -1,100 +0,0 @@
1
- import { MouseEventHandler, ReactElement, RefObject } from "react";
2
- import type { orientationType } from "@vuu-ui/vuu-utils";
3
- import { DragDropState } from "./DragDropState";
4
- export type ViewportRange = {
5
- atEnd: boolean;
6
- atStart: boolean;
7
- from: number;
8
- to: number;
9
- };
10
- type dimension = "width" | "height" | "scrollWidth" | "scrollHeight";
11
- type dimensions = {
12
- size: dimension;
13
- depth: dimension;
14
- scrollDepth: dimension;
15
- };
16
- export type dimensionsType = {
17
- horizontal: dimensions;
18
- vertical: dimensions;
19
- };
20
- export type dragStrategy = "drop-indicator" | "natural-movement" | "drag-copy" | "drop-only";
21
- export type Direction = "fwd" | "bwd";
22
- export declare const FWD: Direction;
23
- export declare const BWD: Direction;
24
- export interface MousePosition {
25
- clientX: number;
26
- clientY: number;
27
- }
28
- export interface MouseOffset {
29
- x: number;
30
- y: number;
31
- }
32
- export type Rect = {
33
- height: number;
34
- left: number;
35
- top: number;
36
- width: number;
37
- };
38
- export interface DragHookResult {
39
- draggable?: ReactElement;
40
- dropIndicator?: ReactElement;
41
- draggedItemIndex?: number;
42
- isDragging: boolean;
43
- isScrolling: RefObject<boolean>;
44
- onMouseDown?: MouseEventHandler;
45
- revealOverflowedItems?: boolean;
46
- }
47
- export interface InternalDragHookResult extends Omit<DragHookResult, "isDragging" | "isScrolling"> {
48
- beginDrag: (dragElement: HTMLElement) => void;
49
- drag: (dragPos: number, mouseMoveDirection: "fwd" | "bwd") => void;
50
- drop: () => DropOptions;
51
- handleScrollStart?: (scrollDirection: "fwd" | "bwd") => void;
52
- handleScrollStop?: (scrollDirection: "fwd" | "bwd", _scrollPos: number, atEnd: boolean) => void;
53
- /**
54
- * Draggable item has been dragged out of container. Remove any local drop
55
- * indicators. Dragged element itself should not yet be removed from DOM.
56
- */
57
- releaseDrag?: () => void;
58
- }
59
- export interface DropOptions {
60
- fromIndex: number;
61
- toIndex: number;
62
- isExternal?: boolean;
63
- payload?: unknown;
64
- }
65
- export type DragStartHandler = (dragDropState: DragDropState) => void;
66
- export type DropHandler = (options: DropOptions) => void;
67
- export interface DragDropProps {
68
- allowDragDrop?: boolean | dragStrategy;
69
- containerRef: RefObject<HTMLElement | null>;
70
- /** this is the className that will be assigned during drag to the dragged element */
71
- draggableClassName: string;
72
- extendedDropZone?: boolean;
73
- getDragPayload?: (dragElement: HTMLElement) => unknown;
74
- id?: string;
75
- isDragSource?: boolean;
76
- isDropTarget?: boolean;
77
- itemQuery?: string;
78
- onDragStart?: DragStartHandler;
79
- onDrop: DropHandler;
80
- onDropSettle?: (toIndex: number) => void;
81
- orientation: orientationType;
82
- /**
83
- * The scrolling container does not necessarily have to be a
84
- * descendant of the container, it may be an ancestor element;
85
- */
86
- scrollingContainerRef?: RefObject<HTMLElement | null>;
87
- viewportRange?: ViewportRange;
88
- }
89
- export type DragDropHook = (props: DragDropProps) => DragHookResult;
90
- export interface InternalDragDropProps extends Omit<DragDropProps, "draggableClassName" | "id" | "onDrop"> {
91
- isDragSource?: boolean;
92
- isDropTarget?: boolean;
93
- selected?: unknown;
94
- }
95
- export type DragDropContext = {
96
- dragElement: HTMLElement;
97
- dragPayload: unknown;
98
- mouseOffset: MouseOffset;
99
- };
100
- export {};
@@ -1,82 +0,0 @@
1
- import { orientationType } from "@vuu-ui/vuu-utils";
2
- import { ViewportRange } from "./dragDropTypes";
3
- import { Direction, Rect } from "./dragDropTypes";
4
- export declare const NOT_OVERFLOWED = ":not(.wrapped)";
5
- export declare const NOT_HIDDEN = ":not([aria-hidden=\"true\"])";
6
- export type MeasuredDropTarget = {
7
- /**
8
- The index position currently occupied by this item. If draggable
9
- is dropped here, this will be the destination drop position.
10
- */
11
- currentIndex: number;
12
- element: HTMLElement;
13
- id: string;
14
- index: number;
15
- isDraggedItem: boolean;
16
- isExternal?: boolean;
17
- isLast?: boolean;
18
- isOverflowIndicator?: boolean;
19
- start: number;
20
- end: number;
21
- mid: number;
22
- size: number;
23
- };
24
- export type targetType = {
25
- element: HTMLElement | null;
26
- index: number;
27
- isLast?: boolean;
28
- };
29
- /** clones and removes id */
30
- export declare const cloneElement: <T extends HTMLElement>(element: T) => T;
31
- type MousePosKey = keyof Pick<MouseEvent, "clientX" | "clientY">;
32
- type DOMRectKey = keyof Omit<DOMRect, "toJSON">;
33
- type DOMRectDimensionKey = keyof Pick<DOMRect, "width" | "height">;
34
- type Dimension = keyof Pick<DOMRect, "width" | "height">;
35
- type ElementDimension = keyof Pick<HTMLElement, "scrollHeight" | "scrollWidth" | "clientHeight" | "clientWidth" | "scrollTop" | "scrollLeft">;
36
- type ElementPosition = "x" | "y";
37
- export declare const measureElementSizeAndPosition: (element: HTMLElement, dimension?: Dimension, includeAutoMargin?: boolean) => number[];
38
- export declare const dimensions: (orientation: orientationType) => {
39
- CLIENT_POS: MousePosKey;
40
- CLIENT_SIZE: ElementDimension;
41
- CONTRA: DOMRectKey;
42
- CONTRA_CLIENT_POS: MousePosKey;
43
- CONTRA_END: DOMRectDimensionKey;
44
- CONTRA_POS: ElementPosition;
45
- DIMENSION: DOMRectDimensionKey;
46
- END: DOMRectKey;
47
- POS: ElementPosition;
48
- SCROLL_POS: ElementDimension;
49
- SCROLL_SIZE: ElementDimension;
50
- START: DOMRectKey;
51
- } | {
52
- CLIENT_POS: MousePosKey;
53
- CLIENT_SIZE: ElementDimension;
54
- CONTRA: DOMRectKey;
55
- CONTRA_CLIENT_POS: MousePosKey;
56
- CONTRA_END: DOMRectDimensionKey;
57
- CONTRA_POS: ElementPosition;
58
- DIMENSION: DOMRectDimensionKey;
59
- END: DOMRectKey;
60
- POS: ElementPosition;
61
- SCROLL_POS: ElementDimension;
62
- SCROLL_SIZE: ElementDimension;
63
- START: DOMRectKey;
64
- };
65
- export declare const getItemById: (measuredItems: MeasuredDropTarget[], id: string) => MeasuredDropTarget | undefined;
66
- export declare const removeDraggedItem: (measuredItems: MeasuredDropTarget[], index: number) => void;
67
- export type dropZone = "start" | "end";
68
- export declare const measureDropTargets: (container: HTMLElement, orientation: orientationType, itemQuery?: string, viewportRange?: ViewportRange, draggedItemId?: string) => MeasuredDropTarget[];
69
- export declare const getIndexOfDraggedItem: (dropTargets: MeasuredDropTarget[]) => number;
70
- export declare const mutateDropTargetsSwitchDropTargetPosition: (dropTargets: MeasuredDropTarget[], direction: Direction) => void;
71
- export declare const getNextDropTarget: (dropTargets: MeasuredDropTarget[], pos: number, draggedItemSize: number, mouseMoveDirection: Direction) => MeasuredDropTarget;
72
- /**
73
- * An item within a scrollable container might have a width or height greater than that of
74
- * the container. If we drag such an item, we don't want the draggable to be larger than
75
- * the container.
76
- */
77
- export declare function constrainRect(targetRect: Rect, constraintRect: Rect): Rect;
78
- export declare const dropTargetsDebugString: (dropTargets: MeasuredDropTarget[]) => string;
79
- export declare const getItemParentContainer: (container: HTMLElement | null, itemQuery: string) => HTMLElement | null;
80
- export declare const getScrollableContainer: (container: HTMLElement | null, itemQuery: string) => HTMLElement | null;
81
- export declare const isContainerScrollable: (scrollableContainer: HTMLElement | null, orientation: orientationType) => boolean;
82
- export {};
@@ -1,6 +0,0 @@
1
- export * from "./dragDropTypes";
2
- export * from "./DragDropProvider";
3
- export * from "./DragDropState";
4
- export * from "./useDragDrop";
5
- export * from "./drop-target-utils";
6
- export * from "./useGlobalDragDrop";
@@ -1,11 +0,0 @@
1
- import { RefObject } from "react";
2
- export type ScrollStopHandler = (scrollDirection: "fwd" | "bwd", scrollPos: number, atEnd: boolean) => void;
3
- export declare const useAutoScroll: ({ containerRef, onScrollingStopped, orientation, }: {
4
- containerRef: RefObject<HTMLElement | null>;
5
- onScrollingStopped?: ScrollStopHandler;
6
- orientation?: "horizontal" | "vertical";
7
- }) => {
8
- isScrolling: RefObject<boolean>;
9
- startScrolling: (direction: "fwd" | "bwd", scrollRate: number, scrollUnit?: number) => void;
10
- stopScrolling: (atEnd?: boolean) => void;
11
- };
@@ -1,17 +0,0 @@
1
- import type { orientationType } from "@vuu-ui/vuu-utils";
2
- import { Direction } from "./dragDropTypes";
3
- import { MeasuredDropTarget } from "./drop-target-utils";
4
- export type DragDisplacersHookResult = {
5
- displaceItem: (dropTargets: MeasuredDropTarget[], dropTarget: MeasuredDropTarget, size: number, useTransition?: boolean, direction?: Direction | "static", orientation?: "horizontal" | "vertical") => number;
6
- displaceLastItem: (dropTargets: MeasuredDropTarget[], dropTarget: MeasuredDropTarget, size: number, useTransition?: boolean, direction?: Direction | "static", orientation?: "horizontal" | "vertical") => number;
7
- clearSpacers: (useAnimation?: boolean) => void;
8
- /** Insert the sized spacer at start or end of collection */
9
- setTerminalSpacer: (container: HTMLElement, position: "start" | "end", size: number) => void;
10
- };
11
- export type DragDisplacersHook = (orientation: orientationType) => DragDisplacersHookResult;
12
- /**
13
- * Manage a pair of displacer elements to smoothly display a moving gap between
14
- * list items of any kind. Designed to be used in a drag drop operation. The 'static'
15
- * direction option should be used at drag start or following scroll.
16
- */
17
- export declare const useDragDisplacers: DragDisplacersHook;
@@ -1,2 +0,0 @@
1
- import { DragDropHook } from "./dragDropTypes";
2
- export declare const useDragDrop: DragDropHook;
@@ -1,6 +0,0 @@
1
- import type { InternalDragDropProps, InternalDragHookResult } from "./dragDropTypes";
2
- export declare const NULL_DROP_OPTIONS: {
3
- readonly fromIndex: -1;
4
- readonly toIndex: -1;
5
- };
6
- export declare const useDragDropCopy: ({ selected, viewportRange, }: InternalDragDropProps) => InternalDragHookResult;
@@ -1,2 +0,0 @@
1
- import { InternalDragDropProps, InternalDragHookResult } from "./dragDropTypes";
2
- export declare const useDragDropIndicator: ({ orientation, containerRef, itemQuery, selected, viewportRange, }: InternalDragDropProps) => InternalDragHookResult;
@@ -1,2 +0,0 @@
1
- import { InternalDragDropProps, InternalDragHookResult } from "./dragDropTypes";
2
- export declare const useDragDropNaturalMovement: ({ containerRef, orientation, itemQuery, selected, viewportRange, }: InternalDragDropProps) => InternalDragHookResult;
@@ -1,8 +0,0 @@
1
- import { dropZone, MeasuredDropTarget } from "./drop-target-utils";
2
- export declare const SPACER_SIZE = 0;
3
- export type DropIndicatorHookResult = {
4
- positionDropIndicator: (dropTarget: MeasuredDropTarget, dropZone: dropZone) => HTMLElement;
5
- clearSpacer: () => void;
6
- };
7
- export type DropIndicatorHook = () => DropIndicatorHookResult;
8
- export declare const useDropIndicator: DropIndicatorHook;
@@ -1,11 +0,0 @@
1
- import { MeasuredTarget } from "./DragDropProvider";
2
- import { DragDropState } from "./DragDropState";
3
- export type ResumeDragHandler = (dragDropState: DragDropState) => boolean;
4
- export type GlobalDropHandler = (dragDropState: DragDropState) => void;
5
- export declare const useGlobalDragDrop: ({ onDragOverDropTarget, onDrop, }: {
6
- onDragOverDropTarget: (dropTargetId: string, dragDropState: DragDropState) => boolean;
7
- onDrop: (dropTargetId: string, dragDropState: DragDropState) => void;
8
- }) => {
9
- measuredDropTargetsRef: import("react").RefObject<Record<string, MeasuredTarget> | undefined>;
10
- resumeDrag: ResumeDragHandler;
11
- };
@@ -1 +0,0 @@
1
- export * from "./useEditableText";
@@ -1,19 +0,0 @@
1
- import type { DataValueValidationChecker } from "@vuu-ui/vuu-data-types";
2
- import { VuuRowDataItemType } from "@vuu-ui/vuu-protocol-types";
3
- import type { DataItemEditHandler } from "@vuu-ui/vuu-table-types";
4
- import { FocusEventHandler, FormEventHandler, KeyboardEvent } from "react";
5
- export interface EditableTextHookProps<T extends VuuRowDataItemType = VuuRowDataItemType> {
6
- clientSideEditValidationCheck?: DataValueValidationChecker;
7
- value?: T;
8
- onEdit?: DataItemEditHandler;
9
- type?: "string" | "number" | "boolean";
10
- }
11
- export declare const useEditableText: <T extends string | number | boolean = string>({ clientSideEditValidationCheck, value, onEdit, type, }: EditableTextHookProps<T>) => {
12
- inputProps: {
13
- onBlur: FocusEventHandler<HTMLElement>;
14
- onKeyDown: (evt: KeyboardEvent<HTMLElement>) => void;
15
- };
16
- onChange: FormEventHandler;
17
- value: string;
18
- warningMessage: string | undefined;
19
- };
@@ -1,19 +0,0 @@
1
- import { ForwardedRef, HTMLAttributes } from "react";
2
- export type ExitEditModeHandler = (originalLabel: string | undefined, editedLabel: string | undefined, allowDeactivation?: boolean, editCancelled?: boolean) => void;
3
- export interface EditAPI {
4
- beginEdit: () => void;
5
- }
6
- export declare const NullEditAPI: EditAPI;
7
- export interface EditableLabelProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
8
- className?: string;
9
- defaultEditing?: boolean;
10
- defaultValue?: string;
11
- editLabelApiRef?: ForwardedRef<EditAPI>;
12
- editing?: boolean;
13
- onEnterEditMode?: () => void;
14
- onChange?: (value: string) => void;
15
- onExitEditMode: ExitEditModeHandler;
16
- defaultIsEditing?: boolean;
17
- value?: string;
18
- }
19
- export declare const EditableLabel: import("react").ForwardRefExoticComponent<EditableLabelProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export * from "./EditableLabel";
@@ -1,6 +0,0 @@
1
- import { CommitHandler } from "@vuu-ui/vuu-utils";
2
- import { VuuInputProps } from "../vuu-input";
3
- export interface ExpandoInputProps extends Omit<VuuInputProps, "onCommit"> {
4
- onCommit?: CommitHandler;
5
- }
6
- export declare const ExpandoInput: import("react").ForwardRefExoticComponent<ExpandoInputProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export * from "./ExpandoInput";
@@ -1,6 +0,0 @@
1
- import { HTMLAttributes } from "react";
2
- export interface IconProps extends HTMLAttributes<HTMLSpanElement> {
3
- name: string;
4
- size?: number;
5
- }
6
- export declare const Icon: ({ className, name, size, style: styleProp, ...htmlAttributes }: IconProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ButtonProps } from "@salt-ds/core";
2
- export interface IconButtonProps extends Omit<ButtonProps, "children"> {
3
- icon: string;
4
- size?: number;
5
- }
6
- export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,5 +0,0 @@
1
- import { IconButtonProps } from "./IconButton";
2
- export interface ToggleIconButtonProps extends Omit<IconButtonProps, "icon"> {
3
- isExpanded: boolean;
4
- }
5
- export declare const ToggleIconButton: ({ className, isExpanded, size, variant, ...props }: ToggleIconButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
1
- export * from "./Icon";
2
- export * from "./IconButton";
3
- export * from "./ToggleIconButton";
@@ -1,30 +0,0 @@
1
- export * from "./calendar";
2
- export * from "./column-picker";
3
- export * from "./common-hooks";
4
- export { ContextPanelProvider, useContextPanel, useHideContextPanel, } from "./context-panel-provider/ContextPanelProvider";
5
- export * from "./cycle-state-button";
6
- export * from "./date-input";
7
- export * from "./date-picker";
8
- export * from "./drag-drop";
9
- export * from "./editable";
10
- export * from "./editable-label";
11
- export * from "./expando-input";
12
- export * from "./icon-button";
13
- export * from "./instrument-picker";
14
- export * from "./measured-container";
15
- export { ModalProvider, useModal } from "./modal-provider/ModalProvider";
16
- export * from "./overflow-container";
17
- export * from "./price-ticker";
18
- export { Prompt, type PromptProps } from "./prompt/Prompt";
19
- export { SortableList, SortableOption } from "./sortable-list/SortableList";
20
- export * from "./split-button";
21
- export * from "./table-search";
22
- export * from "./tabs-next";
23
- export * from "./tabstrip";
24
- export { TimeInput, type TimeInputProps } from "./time-input/TimeInput";
25
- export * from "./toolbar";
26
- export * from "./utils";
27
- export * from "./vuu-date-picker";
28
- export * from "./vuu-input";
29
- export { VuuTimePicker, type VuuTimePickerProps, } from "./vuu-time-picker/VuuTimePicker";
30
- export * from "./vuu-typeahead-input";
@@ -1,10 +0,0 @@
1
- import type { DataSourceRowObject, TableSchema } from "@vuu-ui/vuu-data-types";
2
- import { type TableProps } from "@vuu-ui/vuu-table";
3
- import { type HTMLAttributes } from "react";
4
- export interface TablePickerProps extends Omit<HTMLAttributes<HTMLElement>, "onSelect">, Pick<TableProps, "onSelect"> {
5
- TableProps?: Pick<TableProps, "config">;
6
- rowToString?: (row: DataSourceRowObject) => string;
7
- schema: TableSchema;
8
- searchColumns?: string[];
9
- }
10
- export declare const TablePicker: ({ TableProps, onSelect, rowToString, schema, searchColumns, ...htmlAttributes }: TablePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./TablePicker";
@@ -1,47 +0,0 @@
1
- import { ChangeEvent, KeyboardEventHandler, RefCallback } from "react";
2
- import type { TableConfig, TableRowSelectHandler } from "@vuu-ui/vuu-table-types";
3
- import type { TablePickerProps } from "./TablePicker";
4
- export interface TablePickerHookProps extends Pick<TablePickerProps, "TableProps" | "onSelect" | "rowToString" | "schema" | "searchColumns"> {
5
- defaultIsOpen?: boolean;
6
- isOpen?: boolean;
7
- }
8
- export declare const useTablePicker: ({ TableProps, onSelect, rowToString, schema, searchColumns, }: TablePickerHookProps) => {
9
- containerRef: RefCallback<HTMLDivElement>;
10
- dataSource: import("@vuu-ui/vuu-data-types").DataSource;
11
- highlightedIndex: number | undefined;
12
- floatingUIProps: {
13
- reference: ((node: import("@floating-ui/react-dom").ReferenceType | null) => void) & ((node: import("@floating-ui/react").ReferenceType | null) => void);
14
- floating: ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);
15
- placement: import("@floating-ui/utils").Placement;
16
- strategy: import("@floating-ui/utils").Strategy;
17
- middlewareData: import("@floating-ui/core").MiddlewareData;
18
- x: number;
19
- y: number;
20
- isPositioned: boolean;
21
- update: () => void;
22
- floatingStyles: React.CSSProperties;
23
- refs: {
24
- reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
25
- floating: React.MutableRefObject<HTMLElement | null>;
26
- setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
27
- setFloating: (node: HTMLElement | null) => void;
28
- } & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
29
- };
30
- inputProps: {
31
- inputProps: {
32
- autoComplete: string;
33
- onKeyDown: KeyboardEventHandler<HTMLElement>;
34
- };
35
- onChange: (evt: ChangeEvent<HTMLInputElement>) => void;
36
- };
37
- interactionPropGetters: import("@floating-ui/react").UseInteractionsReturn;
38
- onKeyDown: KeyboardEventHandler<HTMLElement>;
39
- open: boolean;
40
- tableConfig: TableConfig;
41
- tableHandlers: {
42
- onSelect: TableRowSelectHandler;
43
- };
44
- tableRef: import("react").RefObject<HTMLDivElement | null>;
45
- value: string;
46
- width: number;
47
- };
@@ -1,14 +0,0 @@
1
- import { HTMLAttributes } from "react";
2
- import { MeasuredSize } from "./useMeasuredContainer";
3
- export interface MeasuredContainerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onResize"> {
4
- /**
5
- * A numeric value for height will result in a fixed height. To adapt to container
6
- * use either a percentage height or 'auto'. Always use 'auto' when rendering
7
- * within a column based flex container, together with a flex value (use the
8
- * --vuuMeasuredContainer-flex CSS custom property))
9
- */
10
- height?: number | string;
11
- onResize?: (size: MeasuredSize) => void;
12
- width?: number | string;
13
- }
14
- export declare const MeasuredContainer: import("react").ForwardRefExoticComponent<MeasuredContainerProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,2 +0,0 @@
1
- export * from "./MeasuredContainer";
2
- export * from "./useMeasuredContainer";