@linzjs/step-ag-grid 2.0.0 → 2.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.
- package/README.md +117 -2
- package/{src/components → dist}/GridTheme.scss +37 -23
- package/dist/index.css +351 -0
- package/dist/index.js +462 -210
- package/dist/index.js.map +1 -1
- package/dist/src/components/ComponentLoadingWrapper.d.ts +1 -0
- package/dist/src/components/Grid.d.ts +0 -2
- package/dist/src/components/GridCell.d.ts +3 -0
- package/dist/src/components/GridPopoverHook.d.ts +2 -1
- package/dist/src/components/gridForm/GridFormDropDown.d.ts +4 -3
- package/dist/src/components/gridForm/GridFormEditBearing.d.ts +3 -2
- package/dist/src/components/gridForm/GridFormMessage.d.ts +2 -2
- package/dist/src/components/gridForm/GridFormMultiSelect.d.ts +4 -2
- package/dist/src/components/gridForm/GridFormPopoutMenu.d.ts +2 -1
- package/dist/src/components/gridForm/GridFormTextArea.d.ts +2 -1
- package/dist/src/components/gridForm/GridFormTextInput.d.ts +2 -1
- package/dist/src/components/gridPopoverEdit/GridPopoverEditBearing.d.ts +4 -4
- package/dist/src/components/gridPopoverEdit/GridPopoverEditDropDown.d.ts +2 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverMenu.d.ts +2 -3
- package/dist/src/components/gridPopoverEdit/GridPopoverMessage.d.ts +2 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverTextArea.d.ts +2 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverTextInput.d.ts +2 -2
- package/dist/src/components/gridRender/GridRenderGenericCell.d.ts +4 -3
- package/dist/src/contexts/GridContext.d.ts +1 -1
- package/dist/src/contexts/GridPopoverContext.d.ts +1 -1
- package/dist/src/index.d.ts +31 -0
- package/dist/src/react-menu3/components/MenuRadioGroup.d.ts +2 -21
- package/dist/src/react-menu3/contexts/EventHandlersContext.d.ts +7 -0
- package/dist/src/react-menu3/contexts/HoverItemContext.d.ts +2 -0
- package/dist/src/react-menu3/contexts/ItemSettingsContext.d.ts +5 -0
- package/dist/src/react-menu3/contexts/MenuListContext.d.ts +9 -0
- package/dist/src/react-menu3/contexts/MenuListItemContext.d.ts +11 -0
- package/dist/src/react-menu3/contexts/RadioGroupContext.d.ts +7 -0
- package/dist/src/react-menu3/contexts/SettingsContext.d.ts +20 -0
- package/dist/src/react-menu3/index.d.ts +0 -1
- package/dist/src/react-menu3/utils/constants.d.ts +1 -50
- package/dist/step-ag-grid.esm.js +461 -191
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +39 -26
- package/src/components/ComponentLoadingWrapper.tsx +2 -1
- package/src/components/Grid.tsx +1 -6
- package/src/components/GridCell.tsx +5 -0
- package/src/components/GridLoadableCell.tsx +0 -4
- package/src/components/GridPopoverHook.tsx +13 -7
- package/src/components/gridForm/GridFormDropDown.tsx +17 -13
- package/src/components/gridForm/GridFormEditBearing.tsx +4 -4
- package/src/components/gridForm/GridFormMessage.tsx +6 -7
- package/src/components/gridForm/GridFormMultiSelect.tsx +73 -63
- package/src/components/gridForm/GridFormPopoutMenu.tsx +6 -6
- package/src/components/gridForm/GridFormTextArea.tsx +4 -4
- package/src/components/gridForm/GridFormTextInput.tsx +3 -3
- package/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.ts +4 -0
- package/src/components/gridPopoverEdit/GridPopoverEditBearing.ts +4 -4
- package/src/components/gridPopoverEdit/GridPopoverEditDropDown.ts +7 -2
- package/src/components/gridPopoverEdit/GridPopoverMenu.scss +4 -4
- package/src/components/gridPopoverEdit/GridPopoverMenu.tsx +2 -3
- package/src/components/gridPopoverEdit/GridPopoverMessage.ts +2 -2
- package/src/components/gridPopoverEdit/GridPopoverTextArea.ts +2 -2
- package/src/components/gridPopoverEdit/GridPopoverTextInput.ts +2 -2
- package/src/components/gridRender/GridRenderGenericCell.tsx +3 -2
- package/src/contexts/GridContext.tsx +1 -1
- package/src/contexts/GridPopoverContext.tsx +1 -7
- package/src/contexts/GridPopoverContextProvider.tsx +23 -22
- package/src/index.ts +38 -0
- package/src/lui/TextInputFormatted.scss +1 -1
- package/src/react-menu3/README.md +66 -0
- package/src/react-menu3/components/ControlledMenu.tsx +9 -17
- package/src/react-menu3/components/FocusableItem.tsx +2 -9
- package/src/react-menu3/components/MenuGroup.tsx +2 -1
- package/src/react-menu3/components/MenuItem.tsx +3 -12
- package/src/react-menu3/components/MenuList.tsx +4 -4
- package/src/react-menu3/components/MenuRadioGroup.tsx +3 -22
- package/src/react-menu3/components/SubMenu.tsx +4 -4
- package/src/react-menu3/contexts/EventHandlersContext.ts +11 -0
- package/src/react-menu3/contexts/HoverItemContext.ts +3 -0
- package/src/react-menu3/contexts/ItemSettingsContext.ts +6 -0
- package/src/react-menu3/contexts/MenuListContext.ts +10 -0
- package/src/react-menu3/contexts/MenuListItemContext.ts +16 -0
- package/src/react-menu3/contexts/RadioGroupContext.ts +8 -0
- package/src/react-menu3/contexts/SettingsContext.ts +20 -0
- package/src/react-menu3/hooks/useItemState.ts +3 -1
- package/src/react-menu3/index.ts +0 -1
- package/src/react-menu3/styles/_var.scss +4 -4
- package/src/react-menu3/styles/core.scss +6 -6
- package/src/react-menu3/styles/index.scss +10 -7
- package/src/react-menu3/styles/theme-dark.scss +4 -2
- package/src/react-menu3/styles/transitions/slide.scss +8 -8
- package/src/react-menu3/utils/constants.ts +1 -74
- package/src/react-menu3/utils/withHovering.tsx +1 -1
- package/src/stories/components/FormTest.scss +1 -2
- package/src/stories/components/FormTest.tsx +3 -3
- package/src/stories/components/GridPopoutBearing.stories.tsx +2 -1
- package/src/stories/components/GridPopoutEditDropDown.stories.tsx +4 -2
- package/src/stories/components/GridPopoutEditGeneric.stories.tsx +3 -4
- package/src/stories/components/GridPopoutEditGenericTextArea.stories.tsx +2 -1
- package/src/stories/components/GridPopoutEditMultiSelect.stories.tsx +2 -1
- package/src/stories/components/GridReadOnly.stories.tsx +10 -13
- package/src/stories/components/ReactMenu.stories.tsx +0 -4
- package/src/{components → styles}/Grid.scss +9 -6
- package/src/styles/GridFormDropDown.scss +18 -0
- package/src/{components/gridForm → styles}/GridFormEditBearing.scss +0 -0
- package/src/styles/GridFormMultiSelect.scss +18 -0
- package/src/styles/GridRenderGenericCell.scss +15 -0
- package/src/styles/GridTheme.scss +108 -0
- package/src/styles/index.scss +2 -0
- package/src/styles/lui-overrides.scss +49 -0
- package/src/styles/react-menu-customisations.scss +135 -0
- package/dist/index.d.ts +0 -38
- package/dist/src/stories/components/FormTest.d.ts +0 -12
- package/dist/src/stories/components/GridPopoutBearing.stories.d.ts +0 -9
- package/dist/src/stories/components/GridPopoutEditDropDown.stories.d.ts +0 -9
- package/dist/src/stories/components/GridPopoutEditGeneric.stories.d.ts +0 -9
- package/dist/src/stories/components/GridPopoutEditGenericTextArea.stories.d.ts +0 -9
- package/dist/src/stories/components/GridPopoutEditMultiSelect.stories.d.ts +0 -9
- package/dist/src/stories/components/GridReadOnly.stories.d.ts +0 -9
- package/dist/src/stories/components/ReactMenu.stories.d.ts +0 -8
- package/src/components/gridRender/GridRenderGenericCell.scss +0 -15
- package/src/lui-overrides.scss +0 -163
- package/src/react-menu3/style-utils.d.ts +0 -110
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
interface Base {
|
|
2
|
-
/**
|
|
3
|
-
* CSS selector for the element itself
|
|
4
|
-
*/
|
|
5
|
-
name: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
interface Directions {
|
|
9
|
-
/**
|
|
10
|
-
* Menu opens to the left
|
|
11
|
-
*/
|
|
12
|
-
dirLeft: string;
|
|
13
|
-
/**
|
|
14
|
-
* Menu opens to the right
|
|
15
|
-
*/
|
|
16
|
-
dirRight: string;
|
|
17
|
-
/**
|
|
18
|
-
* Menu opens to the top
|
|
19
|
-
*/
|
|
20
|
-
dirTop: string;
|
|
21
|
-
/**
|
|
22
|
-
* Menu opens to the bottom
|
|
23
|
-
*/
|
|
24
|
-
dirBottom: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const menuSelector: Readonly<
|
|
28
|
-
Base &
|
|
29
|
-
Directions & {
|
|
30
|
-
/**
|
|
31
|
-
* Menu transitions from closed to open
|
|
32
|
-
*/
|
|
33
|
-
stateOpening: string;
|
|
34
|
-
/**
|
|
35
|
-
* Menu is open
|
|
36
|
-
*/
|
|
37
|
-
stateOpen: string;
|
|
38
|
-
/**
|
|
39
|
-
* Menu transitions from open to closed
|
|
40
|
-
*/
|
|
41
|
-
stateClosing: string;
|
|
42
|
-
/**
|
|
43
|
-
* Menu is closed
|
|
44
|
-
*/
|
|
45
|
-
stateClosed: string;
|
|
46
|
-
}
|
|
47
|
-
>;
|
|
48
|
-
|
|
49
|
-
export const menuArrowSelector: Readonly<Base & Directions>;
|
|
50
|
-
|
|
51
|
-
export const menuItemSelector: Readonly<
|
|
52
|
-
Base & {
|
|
53
|
-
/**
|
|
54
|
-
* Menu item is hovered and focused
|
|
55
|
-
*/
|
|
56
|
-
hover: string;
|
|
57
|
-
/**
|
|
58
|
-
* Menu item is disabled
|
|
59
|
-
*/
|
|
60
|
-
disabled: string;
|
|
61
|
-
/**
|
|
62
|
-
* Menu item is a URL link (when the `href` prop is set)
|
|
63
|
-
*/
|
|
64
|
-
anchor: string;
|
|
65
|
-
/**
|
|
66
|
-
* Menu item is checked (only for a radio or checkbox item)
|
|
67
|
-
*/
|
|
68
|
-
checked: string;
|
|
69
|
-
/**
|
|
70
|
-
* Present on a submenu item when it's submenu is open
|
|
71
|
-
*/
|
|
72
|
-
open: string;
|
|
73
|
-
/**
|
|
74
|
-
* Present on a submenu item, which is set by the `label` prop on `SubMenu` component
|
|
75
|
-
*/
|
|
76
|
-
submenu: string;
|
|
77
|
-
/**
|
|
78
|
-
* Present on a `FocusableItem`
|
|
79
|
-
*/
|
|
80
|
-
focusable: string;
|
|
81
|
-
/**
|
|
82
|
-
* Menu item is a radio item
|
|
83
|
-
*/
|
|
84
|
-
typeRadio: string;
|
|
85
|
-
/**
|
|
86
|
-
* Menu item is a checkbox item
|
|
87
|
-
*/
|
|
88
|
-
typeCheckbox: string;
|
|
89
|
-
}
|
|
90
|
-
>;
|
|
91
|
-
|
|
92
|
-
export const menuDividerSelector: Readonly<Base>;
|
|
93
|
-
export const menuHeaderSelector: Readonly<Base>;
|
|
94
|
-
export const menuGroupSelector: Readonly<Base>;
|
|
95
|
-
export const radioGroupSelector: Readonly<Base>;
|
|
96
|
-
export const submenuSelector: Readonly<Base>;
|
|
97
|
-
|
|
98
|
-
export const menuContainerSelector: Readonly<
|
|
99
|
-
Base & {
|
|
100
|
-
itemTransition: string;
|
|
101
|
-
}
|
|
102
|
-
>;
|
|
103
|
-
|
|
104
|
-
export const menuButtonSelector: Readonly<
|
|
105
|
-
Base & {
|
|
106
|
-
open: string;
|
|
107
|
-
}
|
|
108
|
-
>;
|
|
109
|
-
|
|
110
|
-
export {};
|