@adaptavant/eds-core@1.48.0

Minor Changes​

  • ad3af47: Combobox & TimePicker now share the list navigation and dismissal behaviour of the other dropdowns. No prop or type changes.

    • Combobox: onClose now also fires after an option is selected, and no longer fires for Escape or Tab when the menu was already closed.
    • Combobox: filtering the highlighted option out of the list clears the highlight.
    • aria-activedescendant moves from the listbox to the input.
    • Home and End move the caret in the input rather than the highlight.
    • VoiceOver announces an already-selected option as "Selected" again.
  • e2c3c70: RichTextEditor: New component for authoring rich text, with a toolbar, file attachments and action bar composed as children.

    • useRichTextEditor owns the editor state; RichTextEditor renders it and must sit inside Field
    • Formatting, links, attachments and emoji are opt-in richTextEditor*() features, so unused ones stay out of the bundle
    • value/onChange support HTML (default) or JSON, and the initial value can be seeded from markdown
    • New @adaptavant/eds-core/tiptap entry point for building custom extensions
    • Content styles are registered by createPreset; opt out with shouldExcludeRichTextEditorStyles
  • b401c53: Calendar: Added isDualMonthMode for mode="range" - renders two months side by side, pages both together, moves previous/next onto the outer captions and hides the month picker. Added showOutsideDays (default true); when off, leading/trailing days are hidden and the grid drops its fixed six-week height, so no blank week renders.

  • b401c53: DateRangePicker : Added a dual-month range picker with an optional presets rail and an optional footer, both consumer-supplied slots. value/onValueChange are the single source of truth, bridged into the calendar slot's calendarProps so the calendar's range can never diverge from the picker's. Without a footer, the picker closes itself once the range is complete.

  • e2c3c70: AttachmentCard: New component that displays a file with its type icon, name and size, with an optional loading spinner and a removable close badge.

  • 662cd11: VirtualTable:

    • Added editMode with onCellValueUpdate for inline cell editing, columnVisibility for toggling columns, and rowSelection (accepts mode: 'multiple' only) with getRowId.
    • isLoading now renders a centred spinner in the table body.
    • An in-progress edit is committed when its row scrolls out of the virtual window. An invalid edit can't be committed, so it is kept instead and shown with its error when the row scrolls back into view.

    Table:

    • Fixed the aria-rowindex and aria-rowcount for the Table to show the proper count.
    • Fixed the loading and empty rows to span only the visible columns.
    • An in-progress edit is now committed if its cell unmounts before it loses focus, instead of being dropped.
  • b401c53: Calendar: Added range selection mode (mode="range") alongside the existing single-date mode.

    CalendarProps is deprecated and is now an alias of CalendarSingleProps, so existing usages keep working. Use CalendarSingleProps for single mode and CalendarRangeProps for range mode.

    Calendar: Passing onUnavailableDateClick now makes isDateUnavailable dates selectable - clicking one fires onValueChange as well as onUnavailableDateClick. Without the handler, unavailable dates stay disabled. Dates outside minValue/maxValue are always disabled.

    Calendar: Removed onOutOfRangeDateClick. Out-of-range dates are no longer clickable.

    DatePicker: the calendar prop is now typed CalendarSingleProps. DatePicker holds a single Date and does not support a mode="range" Calendar.

Patch Changes​

  • Updated dependencies [e2c3c70]
    • @adaptavant/eds-icons@1.17.0