@linzjs/step-ag-grid 12.1.1 → 12.1.2

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 (145) hide show
  1. package/dist/src/components/GridCell.d.ts +2 -2
  2. package/dist/src/components/GridCellMultiEditor.d.ts +4 -4
  3. package/dist/src/components/gridFilter/GridFilterButtons.d.ts +3 -3
  4. package/dist/src/components/gridFilter/index.d.ts +3 -0
  5. package/dist/src/components/gridForm/GridFormSubComponentTextArea.d.ts +1 -1
  6. package/dist/src/components/gridForm/GridFormSubComponentTextInput.d.ts +1 -1
  7. package/dist/src/components/gridForm/GridFormTextArea.d.ts +1 -1
  8. package/dist/src/components/gridForm/GridFormTextInput.d.ts +1 -1
  9. package/dist/src/components/gridForm/index.d.ts +9 -0
  10. package/dist/src/components/gridHeader/index.d.ts +1 -0
  11. package/dist/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.d.ts +1 -1
  12. package/dist/src/components/gridPopoverEdit/GridPopoverEditBearing.d.ts +1 -1
  13. package/dist/src/components/gridPopoverEdit/GridPopoverEditDropDown.d.ts +1 -1
  14. package/dist/src/components/gridPopoverEdit/GridPopoverMessage.d.ts +1 -1
  15. package/dist/src/components/gridPopoverEdit/GridPopoverTextArea.d.ts +1 -1
  16. package/dist/src/components/gridPopoverEdit/GridPopoverTextInput.d.ts +1 -1
  17. package/dist/src/components/gridPopoverEdit/index.d.ts +8 -0
  18. package/dist/src/components/gridRender/GridRenderGenericCell.d.ts +1 -1
  19. package/dist/src/components/gridRender/index.d.ts +2 -0
  20. package/dist/src/components/index.d.ts +16 -0
  21. package/dist/src/contexts/GridPopoverContextProvider.d.ts +1 -1
  22. package/dist/src/index.d.ts +6 -38
  23. package/dist/src/lui/ActionButton.d.ts +2 -2
  24. package/dist/src/lui/TextInputFormatted.d.ts +1 -1
  25. package/dist/src/react-menu3/components/ControlledMenu.d.ts +1 -1
  26. package/dist/src/react-menu3/components/Menu.d.ts +1 -1
  27. package/dist/src/react-menu3/hooks/useCombinedRef.d.ts +1 -1
  28. package/dist/src/react-menu3/positionUtils/placeLeftorRight.d.ts +1 -1
  29. package/dist/src/react-menu3/positionUtils/placeToporBottom.d.ts +1 -1
  30. package/dist/src/react-menu3/positionUtils/positionContextMenu.d.ts +1 -1
  31. package/dist/src/react-menu3/positionUtils/positionMenu.d.ts +1 -1
  32. package/dist/src/react-menu3/utils/utils.d.ts +1 -1
  33. package/dist/step-ag-grid.esm.js +7248 -7238
  34. package/dist/step-ag-grid.esm.js.map +1 -1
  35. package/package.json +3 -2
  36. package/src/components/Grid.tsx +8 -7
  37. package/src/components/GridCell.tsx +8 -7
  38. package/src/components/GridCellMultiEditor.tsx +5 -4
  39. package/src/components/GridFilter.ts +1 -0
  40. package/src/components/GridIcon.tsx +1 -0
  41. package/src/components/GridLoadableCell.tsx +1 -0
  42. package/src/components/GridPopoverHook.tsx +3 -2
  43. package/src/components/PostSortRowsHook.ts +4 -3
  44. package/src/components/gridFilter/GridFilterButtons.tsx +4 -2
  45. package/src/components/gridFilter/GridFilterQuick.tsx +1 -0
  46. package/src/components/gridFilter/index.ts +3 -0
  47. package/src/components/gridForm/GridFormDropDown.tsx +10 -9
  48. package/src/components/gridForm/GridFormEditBearing.tsx +4 -3
  49. package/src/components/gridForm/GridFormMessage.tsx +3 -2
  50. package/src/components/gridForm/GridFormMultiSelect.tsx +15 -13
  51. package/src/components/gridForm/GridFormPopoverMenu.tsx +7 -6
  52. package/src/components/gridForm/GridFormSubComponentTextArea.tsx +3 -2
  53. package/src/components/gridForm/GridFormSubComponentTextInput.tsx +2 -1
  54. package/src/components/gridForm/GridFormTextArea.tsx +4 -3
  55. package/src/components/gridForm/GridFormTextInput.tsx +4 -3
  56. package/src/components/gridForm/index.ts +9 -0
  57. package/src/components/gridHeader/GridHeaderSelect.tsx +1 -1
  58. package/src/components/gridHeader/index.ts +1 -0
  59. package/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.ts +1 -1
  60. package/src/components/gridPopoverEdit/GridPopoverEditBearing.ts +3 -2
  61. package/src/components/gridPopoverEdit/GridPopoverEditDropDown.ts +1 -1
  62. package/src/components/gridPopoverEdit/GridPopoverMenu.tsx +1 -1
  63. package/src/components/gridPopoverEdit/GridPopoverMessage.ts +1 -1
  64. package/src/components/gridPopoverEdit/GridPopoverTextArea.ts +1 -1
  65. package/src/components/gridPopoverEdit/GridPopoverTextInput.ts +1 -1
  66. package/src/components/gridPopoverEdit/index.ts +8 -0
  67. package/src/components/gridRender/GridRenderGenericCell.tsx +3 -2
  68. package/src/components/gridRender/GridRenderPopoutMenuCell.tsx +2 -0
  69. package/src/components/gridRender/index.ts +2 -0
  70. package/src/components/index.ts +16 -0
  71. package/src/contexts/GridContext.tsx +2 -1
  72. package/src/contexts/GridContextProvider.tsx +5 -4
  73. package/src/contexts/GridPopoverContext.tsx +2 -1
  74. package/src/contexts/GridPopoverContextProvider.tsx +4 -3
  75. package/src/contexts/GridUpdatingContextProvider.tsx +2 -1
  76. package/src/index.ts +7 -45
  77. package/src/lui/ActionButton.tsx +5 -4
  78. package/src/lui/TextAreaInput.tsx +3 -2
  79. package/src/lui/TextInputFormatted.tsx +3 -4
  80. package/src/lui/reactUtils.test.tsx +4 -3
  81. package/src/lui/stateDeferredHook.tsx +1 -0
  82. package/src/lui/timeoutHook.test.tsx +2 -1
  83. package/src/react-menu3/components/ControlledMenu.tsx +7 -6
  84. package/src/react-menu3/components/FocusableItem.tsx +3 -2
  85. package/src/react-menu3/components/Menu.tsx +8 -7
  86. package/src/react-menu3/components/MenuButton.tsx +3 -2
  87. package/src/react-menu3/components/MenuDivider.tsx +3 -2
  88. package/src/react-menu3/components/MenuGroup.tsx +5 -4
  89. package/src/react-menu3/components/MenuHeader.tsx +3 -2
  90. package/src/react-menu3/components/MenuItem.tsx +5 -4
  91. package/src/react-menu3/components/MenuList.tsx +11 -10
  92. package/src/react-menu3/components/MenuRadioGroup.tsx +4 -3
  93. package/src/react-menu3/components/SubMenu.tsx +26 -25
  94. package/src/react-menu3/contexts/EventHandlersContext.ts +1 -0
  95. package/src/react-menu3/contexts/MenuListContext.ts +2 -1
  96. package/src/react-menu3/contexts/MenuListItemContext.ts +2 -1
  97. package/src/react-menu3/contexts/RadioGroupContext.ts +1 -0
  98. package/src/react-menu3/contexts/SettingsContext.ts +2 -1
  99. package/src/react-menu3/hooks/useBEM.ts +1 -0
  100. package/src/react-menu3/hooks/useCombinedRef.ts +1 -1
  101. package/src/react-menu3/hooks/useItemEffect.ts +1 -0
  102. package/src/react-menu3/hooks/useItemState.ts +4 -3
  103. package/src/react-menu3/hooks/useItems.ts +3 -2
  104. package/src/react-menu3/hooks/useMenuChange.ts +3 -2
  105. package/src/react-menu3/hooks/useMenuState.ts +2 -1
  106. package/src/react-menu3/hooks/useMenuStateAndFocus.ts +2 -1
  107. package/src/react-menu3/positionUtils/getPositionHelpers.ts +2 -1
  108. package/src/react-menu3/positionUtils/placeLeftorRight.ts +3 -2
  109. package/src/react-menu3/positionUtils/placeToporBottom.ts +3 -2
  110. package/src/react-menu3/positionUtils/positionContextMenu.ts +1 -1
  111. package/src/react-menu3/positionUtils/positionMenu.ts +4 -3
  112. package/src/react-menu3/style-utils/index.ts +4 -4
  113. package/src/react-menu3/utils/propTypes2.ts +1 -1
  114. package/src/react-menu3/utils/utils.ts +3 -2
  115. package/src/react-menu3/utils/withHovering.tsx +2 -1
  116. package/src/stories/components/ActionButton.stories.tsx +4 -3
  117. package/src/stories/grid/FormTest.tsx +4 -7
  118. package/src/stories/grid/GridFilterButtons.stories.tsx +110 -0
  119. package/src/stories/grid/GridKeyboardInteractions.stories.tsx +23 -18
  120. package/src/stories/grid/GridNonEditableRow.stories.tsx +22 -17
  121. package/src/stories/grid/GridPopoutEditGeneric.stories.tsx +7 -9
  122. package/src/stories/grid/GridPopoutEditGenericTextArea.stories.tsx +25 -18
  123. package/src/stories/grid/GridPopoverEditBearing.stories.tsx +14 -11
  124. package/src/stories/grid/GridPopoverEditDropDown.stories.tsx +22 -15
  125. package/src/stories/grid/GridPopoverEditMultiSelect.stories.tsx +20 -15
  126. package/src/stories/grid/GridReadOnly.stories.tsx +25 -20
  127. package/src/stories/grid/gridFormInteraction/GridFormDropDownInteraction.stories.tsx +10 -9
  128. package/src/stories/grid/gridFormInteraction/GridFormEditBearingCorrectionInteraction.stories.tsx +7 -8
  129. package/src/stories/grid/gridFormInteraction/GridFormEditBearingInteraction.stories.tsx +7 -8
  130. package/src/stories/grid/gridFormInteraction/GridFormMultiSelectInteraction.stories.tsx +11 -10
  131. package/src/stories/grid/gridFormInteraction/GridFormPopoverMenuInteraction.stories.tsx +12 -11
  132. package/src/stories/grid/gridFormInteraction/GridFormTextAreaInteraction.stories.tsx +7 -7
  133. package/src/stories/grid/gridFormInteraction/GridFormTextInputInteraction.stories.tsx +7 -7
  134. package/src/stories/grid/gridFormStatic/GridFormDropDown.stories.tsx +5 -6
  135. package/src/stories/grid/gridFormStatic/GridFormEditBearing.stories.tsx +10 -6
  136. package/src/stories/grid/gridFormStatic/GridFormEditBearingCorrection.stories.tsx +10 -6
  137. package/src/stories/grid/gridFormStatic/GridFormMessage.stories.tsx +5 -5
  138. package/src/stories/grid/gridFormStatic/GridFormMultiSelect.stories.tsx +5 -6
  139. package/src/stories/grid/gridFormStatic/GridFormPopoverMenu.stories.tsx +8 -7
  140. package/src/stories/grid/gridFormStatic/GridFormTextArea.stories.tsx +5 -6
  141. package/src/stories/grid/gridFormStatic/GridFormTextInput.stories.tsx +5 -6
  142. package/src/stories/react-menu/ReactMenu.stories.tsx +3 -2
  143. package/src/utils/testQuick.ts +1 -0
  144. package/src/utils/testUtil.ts +2 -1
  145. package/src/utils/textValidator.test.ts +1 -1
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { GridBaseRow } from "./Grid";
3
- import { GenericCellColDef, RowValueFormatterParams, RowValueGetterParams } from "./gridRender/GridRenderGenericCell";
4
2
  import { ColDef, ICellEditorParams, ICellRendererParams } from "ag-grid-community";
5
3
  import { SuppressKeyboardEventParams } from "ag-grid-community/dist/lib/entities/colDef";
4
+ import { GridBaseRow } from "./Grid";
5
+ import { GenericCellColDef, RowValueFormatterParams, RowValueGetterParams } from "./gridRender/GridRenderGenericCell";
6
6
  export interface GenericCellEditorProps<E> {
7
7
  multiEdit?: boolean;
8
8
  editor?: (editorProps: E) => JSX.Element;
@@ -1,9 +1,9 @@
1
- import { GridBaseRow } from "./Grid";
2
- import { GenericCellColDef } from "./gridRender/GridRenderGenericCell";
3
1
  import { CellEditorSelectorResult } from "ag-grid-community/dist/lib/entities/colDef";
4
- import { ColDefT } from "./GridCell";
5
- import { ComponentProps } from "react";
6
2
  import { ICellEditorParams } from "ag-grid-community/dist/lib/interfaces/iCellEditor";
3
+ import { ComponentProps } from "react";
4
+ import { GridBaseRow } from "./Grid";
5
+ import { ColDefT } from "./GridCell";
6
+ import { GenericCellColDef } from "./gridRender/GridRenderGenericCell";
7
7
  export declare const Editor: <FN extends (param: any) => JSX.Element>(props: {
8
8
  multiEdit: boolean;
9
9
  editor: FN;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import { ClassValue } from "clsx";
2
3
  import { LuiButtonProps } from "@linzjs/lui/dist/components/LuiButton/LuiButton";
3
- import { GridBaseRow } from "../Grid";
4
4
  import { GridFilterExternal } from "../../contexts/GridContext";
5
- interface GridFilterButtonsOption<RowType extends GridBaseRow> {
5
+ import { GridBaseRow } from "../Grid";
6
+ export interface GridFilterButtonsOption<RowType extends GridBaseRow> {
6
7
  defaultSelected?: boolean;
7
8
  filter?: GridFilterExternal<RowType>;
8
9
  label: string;
@@ -13,4 +14,3 @@ export type GridFilterButtonsProps<RowType extends GridBaseRow> = {
13
14
  options: GridFilterButtonsOption<RowType>[];
14
15
  };
15
16
  export declare const GridFilterButtons: <RowType extends GridBaseRow>({ className, luiButtonProps, options, }: GridFilterButtonsProps<RowType>) => JSX.Element;
16
- export {};
@@ -0,0 +1,3 @@
1
+ export * from "./GridFilterButtons";
2
+ export * from "./GridFilterQuick";
3
+ export * from "./GridFilters";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { CellEditorCommon } from "../GridCell";
3
2
  import { TextInputValidatorProps } from "../../utils/textValidator";
4
3
  import { GridBaseRow } from "../Grid";
4
+ import { CellEditorCommon } from "../GridCell";
5
5
  export interface GridSubComponentTextAreaProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
6
  placeholder?: string;
7
7
  width?: string | number;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { TextInputValidatorProps } from "../../utils/textValidator";
3
- import { CellEditorCommon } from "../GridCell";
4
3
  import { GridBaseRow } from "../Grid";
4
+ import { CellEditorCommon } from "../GridCell";
5
5
  export interface GridFormSubComponentTextInputProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
6
  placeholder?: string;
7
7
  width?: string | number;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
+ import { TextInputValidatorProps } from "../../utils/textValidator";
2
3
  import { GridBaseRow } from "../Grid";
3
4
  import { CellEditorCommon } from "../GridCell";
4
- import { TextInputValidatorProps } from "../../utils/textValidator";
5
5
  export interface GridFormTextAreaProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
6
  placeholder?: string;
7
7
  width?: string | number;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
+ import { TextInputValidatorProps } from "../../utils/textValidator";
2
3
  import { GridBaseRow } from "../Grid";
3
4
  import { CellEditorCommon } from "../GridCell";
4
- import { TextInputValidatorProps } from "../../utils/textValidator";
5
5
  export interface GridFormTextInputProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
6
  placeholder?: string;
7
7
  units?: string;
@@ -0,0 +1,9 @@
1
+ export * from "./GridFormDropDown";
2
+ export * from "./GridFormEditBearing";
3
+ export * from "./GridFormMessage";
4
+ export * from "./GridFormMultiSelect";
5
+ export * from "./GridFormPopoverMenu";
6
+ export * from "./GridFormSubComponentTextArea";
7
+ export * from "./GridFormSubComponentTextInput";
8
+ export * from "./GridFormTextArea";
9
+ export * from "./GridFormTextInput";
@@ -0,0 +1 @@
1
+ export * from "./GridHeaderSelect";
@@ -1,5 +1,5 @@
1
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
2
1
  import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
3
  import { GridFormMultiSelectProps } from "../gridForm/GridFormMultiSelect";
4
4
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
5
  export declare const GridPopoutEditMultiSelect: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormMultiSelectProps<RowType>>) => ColDefT<RowType>;
@@ -1,6 +1,6 @@
1
+ import { GridBaseRow } from "../Grid";
1
2
  import { ColDefT, GenericCellEditorProps } from "../GridCell";
2
3
  import { GridFormEditBearingProps } from "../gridForm/GridFormEditBearing";
3
- import { GridBaseRow } from "../Grid";
4
4
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
5
  export declare const GridPopoverEditBearingEditorParams: {
6
6
  placeHolder: string;
@@ -1,5 +1,5 @@
1
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
2
1
  import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
3
  import { GridFormDropDownProps } from "../gridForm/GridFormDropDown";
4
4
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
5
  export declare const GridPopoverEditDropDown: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormDropDownProps<RowType>>) => ColDefT<RowType>;
@@ -1,5 +1,5 @@
1
+ import { GridBaseRow } from "../Grid";
1
2
  import { ColDefT, GenericCellEditorProps } from "../GridCell";
2
3
  import { GridFormMessageProps } from "../gridForm/GridFormMessage";
3
- import { GridBaseRow } from "../Grid";
4
4
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
5
  export declare const GridPopoverMessage: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormMessageProps<RowType>>) => ColDefT<RowType>;
@@ -1,5 +1,5 @@
1
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
2
1
  import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
3
  import { GridFormTextAreaProps } from "../gridForm/GridFormTextArea";
4
4
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
5
  export declare const GridPopoverTextArea: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, params: GenericCellEditorProps<GridFormTextAreaProps<RowType>>) => ColDefT<RowType>;
@@ -1,5 +1,5 @@
1
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
2
1
  import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
3
  import { GridFormTextInputProps } from "../gridForm/GridFormTextInput";
4
4
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
5
  export declare const GridPopoverTextInput: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, params: GenericCellEditorProps<GridFormTextInputProps<RowType>>) => ColDefT<RowType>;
@@ -0,0 +1,8 @@
1
+ export * from "./GridPopoutEditMultiSelect";
2
+ export * from "./GridPopoverMenu";
3
+ export * from "./GridPopoverEditBearing";
4
+ export * from "./GridPopoverEditBearing";
5
+ export * from "./GridPopoverEditDropDown";
6
+ export * from "./GridPopoverMessage";
7
+ export * from "./GridPopoverTextArea";
8
+ export * from "./GridPopoverTextInput";
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ICellRendererParams } from "ag-grid-community";
3
+ import { EditableCallbackParams, SuppressKeyboardEventParams, ValueFormatterParams, ValueGetterParams } from "ag-grid-community/dist/lib/entities/colDef";
3
4
  import { GridBaseRow } from "../Grid";
4
5
  import { ColDefT } from "../GridCell";
5
- import { EditableCallbackParams, SuppressKeyboardEventParams, ValueFormatterParams, ValueGetterParams } from "ag-grid-community/dist/lib/entities/colDef";
6
6
  export interface RowICellRendererParams<RowType extends GridBaseRow> extends ICellRendererParams {
7
7
  data: RowType;
8
8
  }
@@ -0,0 +1,2 @@
1
+ export * from "./GridRenderGenericCell";
2
+ export * from "./GridRenderPopoutMenuCell";
@@ -0,0 +1,16 @@
1
+ export * from "./ComponentLoadingWrapper";
2
+ export * from "./Grid";
3
+ export * from "./GridCell";
4
+ export * from "./GridCellMultiEditor";
5
+ export * from "./GridCellMultiSelectClassRules";
6
+ export * from "./gridFilter";
7
+ export * from "./GridFilter";
8
+ export * from "./gridForm";
9
+ export * from "./gridHeader";
10
+ export * from "./GridIcon";
11
+ export * from "./GridLoadableCell";
12
+ export * from "./gridPopoverEdit";
13
+ export * from "./GridPopoverHook";
14
+ export * from "./gridRender";
15
+ export * from "./GridWrapper";
16
+ export * from "./PostSortRowsHook";
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
1
  import { ICellEditorParams } from "ag-grid-community";
2
+ import { ReactNode } from "react";
3
3
  interface GridPopoverContextProps {
4
4
  props: ICellEditorParams;
5
5
  children: ReactNode;
@@ -1,5 +1,4 @@
1
- export * from "./react-menu3/index";
2
- export * from "./react-menu3/types";
1
+ export * from "./components";
3
2
  export * from "./contexts/GridContext";
4
3
  export * from "./contexts/GridContextProvider";
5
4
  export * from "./contexts/GridUpdatingContext";
@@ -7,43 +6,12 @@ export * from "./contexts/GridUpdatingContextProvider";
7
6
  export * from "./contexts/GridPopoverContext";
8
7
  export * from "./contexts/GridPopoverContextProvider";
9
8
  export * from "./contexts/GridSubComponentContext";
10
- export type { GridBaseRow } from "./components/Grid";
11
- export { Grid } from "./components/Grid";
12
- export * from "./components/GridCell";
13
- export * from "./components/GridCellMultiEditor";
14
- export { GridIcon } from "./components/GridIcon";
15
- export { ComponentLoadingWrapper } from "./components/ComponentLoadingWrapper";
16
- export { GridCellMultiSelectClassRules } from "./components/GridCellMultiSelectClassRules";
17
- export { GridLoadableCell } from "./components/GridLoadableCell";
18
- export { useGridPopoverHook } from "./components/GridPopoverHook";
19
- export { usePostSortRowsHook } from "./components/PostSortRowsHook";
20
- export * from "./components/gridRender/GridRenderGenericCell";
21
- export { GridRenderPopoutMenuCell } from "./components/gridRender/GridRenderPopoutMenuCell";
22
- export { GridPopoutEditMultiSelect } from "./components/gridPopoverEdit/GridPopoutEditMultiSelect";
23
- export { GridPopoverMenu } from "./components/gridPopoverEdit/GridPopoverMenu";
24
- export { GridPopoverEditBearing } from "./components/gridPopoverEdit/GridPopoverEditBearing";
25
- export { GridPopoverEditBearingCorrection } from "./components/gridPopoverEdit/GridPopoverEditBearing";
26
- export { GridPopoverEditDropDown } from "./components/gridPopoverEdit/GridPopoverEditDropDown";
27
- export { GridPopoverMessage } from "./components/gridPopoverEdit/GridPopoverMessage";
28
- export { GridPopoverTextArea } from "./components/gridPopoverEdit/GridPopoverTextArea";
29
- export { GridPopoverTextInput } from "./components/gridPopoverEdit/GridPopoverTextInput";
30
- export { GridFormSubComponentTextInput } from "./components/gridForm/GridFormSubComponentTextInput";
31
- export * from "./components/gridForm/GridFormDropDown";
32
- export * from "./components/gridForm/GridFormMultiSelect";
33
- export * from "./components/gridForm/GridFormPopoverMenu";
34
- export * from "./components/gridForm/GridFormTextInput";
35
- export * from "./components/gridForm/GridFormTextArea";
36
- export * from "./components/gridForm/GridFormMessage";
37
- export * from "./components/gridForm/GridFormEditBearing";
38
- export { useGridFilter } from "./components/GridFilter";
39
- export * from "./components/gridFilter/GridFilterQuick";
40
- export * from "./components/gridFilter/GridFilters";
41
- export * from "./components/GridWrapper";
42
- export { GridHeaderSelect } from "./components/gridHeader/GridHeaderSelect";
43
- export { TextAreaInput } from "./lui/TextAreaInput";
44
- export { TextInputFormatted } from "./lui/TextInputFormatted";
45
- export { GridFormSubComponentTextArea } from "./components/gridForm/GridFormSubComponentTextArea";
46
9
  export * from "./lui/ActionButton";
10
+ export * from "./lui/FormError";
11
+ export * from "./lui/TextAreaInput";
12
+ export * from "./lui/TextInputFormatted";
13
+ export * from "./react-menu3/index";
14
+ export * from "./react-menu3/types";
47
15
  export * from "./utils/bearing";
48
16
  export * from "./utils/util";
49
17
  export * from "./utils/deferredPromise";
@@ -1,7 +1,7 @@
1
- import "./ActionButton.scss";
2
1
  import { CSSProperties } from "react";
3
- import { IconName } from "@linzjs/lui/dist/components/LuiIcon/LuiIcon";
4
2
  import { LuiButtonProps } from "@linzjs/lui/dist/components/LuiButton/LuiButton";
3
+ import { IconName } from "@linzjs/lui/dist/components/LuiIcon/LuiIcon";
4
+ import "./ActionButton.scss";
5
5
  export interface ActionButtonProps {
6
6
  icon: IconName;
7
7
  name?: string;
@@ -1,5 +1,5 @@
1
- import "./TextInputFormatted.scss";
2
1
  import { DetailedHTMLProps, InputHTMLAttributes } from "react";
2
+ import "./TextInputFormatted.scss";
3
3
  export interface LuiTextInputProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
4
4
  value: string;
5
5
  helpText?: string;
@@ -1,4 +1,4 @@
1
- import { MutableRefObject, ForwardedRef } from "react";
1
+ import { ForwardedRef, MutableRefObject } from "react";
2
2
  import { ControlledMenuProps } from "../types";
3
3
  export declare const ControlledMenuFr: ({ "aria-label": ariaLabel, className, containerProps, initialMounted, unmountOnClose, transition, transitionTimeout, boundingBoxRef, boundingBoxPadding, reposition, submenuOpenDelay, submenuCloseDelay, skipOpen, viewScroll, portal, theming, onItemClick, onClose, saveButtonRef, closeMenuExclusionClassName, ...restProps }: ControlledMenuProps & {
4
4
  saveButtonRef?: MutableRefObject<HTMLButtonElement | null> | undefined;
@@ -1,4 +1,4 @@
1
- import { ReactElement, ForwardedRef } from "react";
1
+ import { ForwardedRef, ReactElement } from "react";
2
2
  import { MenuButtonModifiers, RenderProp, RootMenuProps, UncontrolledMenuProps } from "../types";
3
3
  export interface MenuProps extends RootMenuProps, UncontrolledMenuProps {
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { LegacyRef, ForwardedRef } from "react";
1
+ import { ForwardedRef, LegacyRef } from "react";
2
2
  export declare const useCombinedRef: <Instance>(refA: ForwardedRef<Instance> | undefined, refB: ForwardedRef<Instance> | undefined) => LegacyRef<Instance>;
@@ -1,6 +1,6 @@
1
- import { getPositionHelpers } from "./getPositionHelpers";
2
1
  import { MutableRefObject } from "react";
3
2
  import { MenuDirection } from "../types";
3
+ import { getPositionHelpers } from "./getPositionHelpers";
4
4
  export interface placeLeftorRightParams {
5
5
  anchorRect: DOMRect;
6
6
  placeLeftorRightY: number;
@@ -1,6 +1,6 @@
1
- import { getPositionHelpers } from "./getPositionHelpers";
2
1
  import { MutableRefObject } from "react";
3
2
  import { MenuDirection } from "../types";
3
+ import { getPositionHelpers } from "./getPositionHelpers";
4
4
  export interface placeToporBottomParams {
5
5
  anchorRect: DOMRect;
6
6
  placeToporBottomX: number;
@@ -1,5 +1,5 @@
1
- import { getPositionHelpers } from "./getPositionHelpers";
2
1
  import { MenuDirection } from "../types";
2
+ import { getPositionHelpers } from "./getPositionHelpers";
3
3
  export declare const positionContextMenu: ({ positionHelpers, anchorPoint, }: {
4
4
  positionHelpers: ReturnType<typeof getPositionHelpers>;
5
5
  anchorPoint: {
@@ -1,6 +1,6 @@
1
1
  import { MutableRefObject } from "react";
2
- import { getPositionHelpers } from "./getPositionHelpers";
3
2
  import { MenuDirection } from "../types";
3
+ import { getPositionHelpers } from "./getPositionHelpers";
4
4
  interface positionMenuProps {
5
5
  offsetX: number;
6
6
  offsetY: number;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { unstable_batchedUpdates } from "react-dom";
3
- import { MenuState, MenuStateOptions } from "../types";
4
3
  import { MenuButtonProps } from "../components/MenuButton";
4
+ import { MenuState, MenuStateOptions } from "../types";
5
5
  export declare const isMenuOpen: (state?: MenuState) => boolean;
6
6
  export declare const batchedUpdates: typeof unstable_batchedUpdates;
7
7
  export declare const values: {