@stenajs-webui/grid-export
Advanced tools
Changelog
11.2.0
onClick
now has same type as HTML a-tag onClick.Heading
now supports as
prop, which can be h1
-h6
.Changelog
11.1.0
SideMenuLink
.FlatButton
is inverted.Changelog
11.0.0
Banner
instead of icon and text.LoadingModal
has been redesigned. The props are the same as before.LoadingModal
.New components for creating cards, Card
, CardHeader
and CardBody
.
Example:
<Card>
<CardHeader text={"Overview"} />
<CardBody>
<Text>Lorem ipsavablasfasofofa</Text>
</CardBody>
</Card>
NavBarButton
icon now has same color as the text.ButtonGroup
no longer has outer margin.Add helper function for wrapping actions with reducerIdGate action.
export const myActionsWithGate = wrapActionsWithReducerIdGate(reducerId, {
...myActions,
};
It returns the same actions, but wrapped with reducerIdGate action.
ActionMenuButton
support keyboard navigation, whether portalTarget
is used or notActionMenuItem
has new props id
and loading
ActionMenuItem
receives the HTML disabled
prop when disabledActionMenuLink
can be triggered with Space, just like ActionMenuItem
ActionMenuLink
has border radius if first or last child, just like ActionMenuItem
ActionMenuItem
and ActionMenuLink
does not wrapActionMenuLinkContent
which can be used to display an item that is not a button.ActionMenu
no longer has default width, it is flexed instead.amount
variant now has inverted arrow direction.editorValue
was not always reset and could
become inconsistent with the value of the data.
editorValue
is now always reset when editor for a cell is opened.rowBackgroundResolver
can now return color or object containing background
and hoverBackground
fields.headerRowOffsetTop
does now also set the offset for grouped rows if headerRowOffsetTop
& stickyHeader
are trueRadioButton
has fixed width, i.e. will not be squashed when content is competing for spaceFont awesome icons have been updated to 5.15.3
.
ActionMenu
no longer has default width.Changelog
10.1.2
rowBackgroundResolver
function now gets selected
as second argument.
This makes it possible to change background color depending on
the checkbox being checked or not.Changelog
10.1.1
Changelog
10.1.0
zIndex
prop.Changelog
10.0.0
Txt
.
This makes auto-import work properly, since Text
is already defined globally.Banner
to show no items available message.noItemsContentRight
, noItemsContentBottom
and noItemsHeader
to customize the banner.react-select
to 4.3.0.MultiSelect
and AsyncMultiSelect
replaces isMulti
prop.ChipMultiSelect
component.Select
no longer supports isMulti
prop.AsyncSelect
no longer supports isMulti
prop.DateTextInput
is now slightly wider by default.Emotion has been updated to major 11.
React has been updated to major 17.
If any of these dependencies are included in your applications package.json, you should update them.
@emotion/core
is removed.@emotion/react@11.1.5
is added.@emotion/styled@11.3.0
react@17.0.2
react-dom@17.0.2
lodash@4.17.21
csstype@3.0.8
@types/lodash@4.14.168
@types/react@17.0.5
@types/react-dom@17.0.3
Changelog
9.1.3
ActionMenuItem
.Changelog
9.1.2
stickyCheckboxColumn
which is a boolean.stickyCheckboxColumn
is true or not.stickyCheckboxColumn
which is a boolean.stickyCheckboxColumn
is true or not.ActionMenuItem
have a fixed width, aligning the text between items.ActionMenuLink
has the same indent as ActionMenuItem
.portalTarget
prop.Changelog
9.1.1
variant
prop with values "relaxed", "standard", "condensed", "compact".