@linzjs/step-ag-grid 6.1.1 → 7.0.1

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 (46) hide show
  1. package/dist/index.css +12 -2
  2. package/dist/index.js +378 -203
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/components/GridPopoverHook.d.ts +1 -1
  5. package/dist/src/components/gridForm/GridFormMultiSelect.d.ts +17 -12
  6. package/dist/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.d.ts +1 -1
  7. package/dist/src/contexts/GridSubComponentContext.d.ts +1 -0
  8. package/dist/src/lui/ActionButton.d.ts +4 -2
  9. package/dist/src/lui/FormError.d.ts +2 -1
  10. package/dist/src/lui/TextAreaInput.d.ts +1 -1
  11. package/dist/src/lui/TextInputFormatted.d.ts +1 -1
  12. package/dist/src/react-menu3/utils/utils.d.ts +1 -0
  13. package/dist/src/utils/textMatcher.d.ts +13 -0
  14. package/dist/src/utils/textValidator.d.ts +3 -2
  15. package/dist/src/utils/util.d.ts +2 -1
  16. package/dist/step-ag-grid.esm.js +379 -205
  17. package/dist/step-ag-grid.esm.js.map +1 -1
  18. package/package.json +9 -8
  19. package/src/components/GridPopoverHook.tsx +7 -1
  20. package/src/components/gridForm/GridFormDropDown.tsx +1 -0
  21. package/src/components/gridForm/GridFormMultiSelect.tsx +290 -188
  22. package/src/components/gridForm/GridFormPopoverMenu.tsx +1 -0
  23. package/src/components/gridForm/GridFormSubComponentTextArea.tsx +2 -2
  24. package/src/components/gridForm/GridFormSubComponentTextInput.tsx +3 -5
  25. package/src/components/gridForm/GridFormTextArea.tsx +13 -13
  26. package/src/components/gridForm/GridFormTextInput.tsx +3 -8
  27. package/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.ts +3 -3
  28. package/src/contexts/GridSubComponentContext.ts +2 -0
  29. package/src/lui/ActionButton.scss +10 -0
  30. package/src/lui/ActionButton.tsx +36 -10
  31. package/src/lui/FormError.scss +7 -0
  32. package/src/lui/FormError.tsx +4 -13
  33. package/src/lui/TextAreaInput.tsx +1 -1
  34. package/src/lui/TextInputFormatted.tsx +1 -1
  35. package/src/react-menu3/components/ControlledMenu.tsx +3 -2
  36. package/src/react-menu3/components/MenuList.tsx +2 -12
  37. package/src/react-menu3/hooks/useItems.ts +5 -2
  38. package/src/react-menu3/utils/utils.ts +15 -0
  39. package/src/stories/components/ActionButton.stories.tsx +11 -0
  40. package/src/stories/grid/FormTest.tsx +1 -1
  41. package/src/stories/grid/GridPopoutEditMultiSelect.stories.tsx +93 -17
  42. package/src/styles/Grid.scss +12 -0
  43. package/src/styles/lui-overrides.scss +0 -2
  44. package/src/utils/textMatcher.ts +31 -0
  45. package/src/utils/textValidator.ts +6 -3
  46. package/src/utils/util.ts +6 -7
package/dist/index.css CHANGED
@@ -28,8 +28,6 @@
28
28
  margin-bottom: 0;
29
29
  }
30
30
  .step-ag-grid-react-menu .free-text-input {
31
- border: transparent;
32
- outline: transparent;
33
31
  line-height: 33px;
34
32
  padding-left: 4px;
35
33
  }
@@ -349,3 +347,15 @@
349
347
  padding: 4px 8px;
350
348
  max-width: 400px;
351
349
  }
350
+
351
+ .ag-cell:not(.ag-cell-focus) .Grid-displayWhenCellFocused {
352
+ visibility: hidden;
353
+ }
354
+
355
+ .ag-cell:hover .Grid-displayWhenCellFocused {
356
+ visibility: inherit;
357
+ }
358
+
359
+ .ag-cell-wrapper {
360
+ width: 100%;
361
+ }