Skip to content

Releases: dev-family/admiral

v5.9.7

18 Oct 14:35
Compare
Choose a tag to compare

What's fixed:

  • Select component.
    Converting Boolean values to a number

v5.9.6

02 Sep 14:53
Compare
Choose a tag to compare

What's new:

  • Add baseAppUrl props in component to change the base path of the app.
    It's works with react-router

    Example:
    <Admin baseAppUrl="/app" />

v5.9.5

25 Mar 09:28
Compare
Choose a tag to compare

What's fixed:

  • A double request to get data when loading a crud using filters.
double-requests

v5.9.4

19 Mar 06:36
Compare
Choose a tag to compare

What's new:

  • Add DateRangePickerInput component (Demo is here).
  • Add the ColumnSpan prop to the Tab component, as in the Form.item that allows you to stretch the Tabs component to its full width.

v5.9.3

21 Dec 14:06
Compare
Choose a tag to compare

What's new:

  • export admiralLocales from entry point

What's fixed:

  • return to previous page in CRUD after edit Submit

v5.9.2

11 Dec 12:50
Compare
Choose a tag to compare

What's fixed?

  • SelectInput selectList is now accepting value === 0
  • SelectInput disabling drag&drop actions on disabled state of component

v5.9.1

23 Nov 13:54
Compare
Choose a tag to compare

What's fixed?

  • FilePictureInput component disabled state. Now it could work with preview and download active buttons in FileList.

V5.9.0

13 Nov 07:51
Compare
Choose a tag to compare

What’s new?

  • Debounce for quick filters
  • When adding a new block inside ArrayInput, shift the focus to the input field

What's fixed?

  • Page reloading after logout for reset all data
  • Change the styles of quick filters for better cross-browser compatibility

v5.8.0

28 Sep 12:41
Compare
Choose a tag to compare

What’s new??

  • Form Components:
    Connected onChange method to BooleanInput, ColorPicketInput, DatePickerInput, DraggerInput, EditorInput, MultilineTextInput, PasswordInput, RadioInput, SelectInput, SlugInput, TextInput, TimePickerInput.

v5.7.0

15 Sep 16:58
Compare
Choose a tag to compare

What’s new??

  • DataTable Component:
    Added 'refresh' parameter to the 'render' in the rowSelection prop that allows you to update data in the DataTable component.
Example:
     
     export const CRUD = createCRUD({
	index: {
	...
	tableConfig: {
            rowSelection: {
                render: ({ selectedRowKeys, refresh }) => (
                    <RowSelection selectedKeys={selectedRowKeys} refresh={refresh} />
                ),
            },
        },
    }
})

...

function RowSelection({ refresh }: { refresh: () => void }) {
    const onClick = () => {
        //...
        refresh()
    }

    return (
        <div>
            <Button onClick={onClick}>
                Delete
            </Button>
        </div>
    )
}

Full example

  • DeleteAction Component:
    We have added an error notification to the DeleteAction component in the table.

  • Filters Component:
    We've added locales for form components in filters.

type Locale = {
    filters: FiltersLocale
    form: FormLocale
}
  • Form Component:
    Added handling for unknown server errors and cleared previous validation errors. Server error messages will now be displayed in notifications.

    If there is no server error message, the user will see the following message: "An error occurred on the server."

  • AppliedFilters:
    We have added the display of the applied filter from the AjaxSelectInput component.

applied filters
  • Radio Component:
    Added Radio and RadioGroup components and ‘RadioInput’ form field.
radio component

What’s new??

  • SubMenu Component:
    Fixed an issue that caused the menu to automatically close when navigating to internal site links. Now, the menu will remain open, enhancing the user experience when navigating between different sections of the site.

  • Select Component:
    We have added clear icon and corrected the returned value in the Select component. Previously, it returned undefined, and now it returns null.

select Component
  • Added redirection to the home page if the route does not match