Repository navigation
Releases
v0.7.0
What's Changed
Breaking changes
- refactor!: Bootstrap only, remove the Material and Tailwind looks by @bim-g in #111
- chore!: rename Celerik UI to Caelrik UI by @bim-g in #202
New features
- feat: File Manager (elFinder) with a locked-down configuration by @bim-g in #22
- feat(form): radio and checkbox groups, switch, range and color fields by @bim-g in #91
- feat(form): searchable, multiple and remote selects (Tom Select) by @bim-g in #92
- feat(form): date, time and date range fields on native pickers by @bim-g in #94
- feat(form): repeater for groups of fields users add, remove and reorder by @bim-g in #97
- feat(form): tags input with free text and suggestions by @bim-g in #102
- feat(form): star rating field by @bim-g in #104
- feat(form): one-time code field by @bim-g in #106
- feat(form): key-value list field by @bim-g in #108
- feat(theme): a flat design for every component by @bim-g in #115
- feat(grid): column filters, client-side and server-side by @bim-g in #129
- feat(grid): row actions, on actions usable anywhere by @bim-g in #131
- feat(grid): row selection and bulk actions by @bim-g in #133
- feat(grid): columns the user can show or hide by @bim-g in #135
- feat(grid): empty states by @bim-g in #137
- feat(grid): column totals and row groups by @bim-g in #139
- feat(grid): inline editing by @bim-g in #141
- feat(actions): open a form in a modal by @bim-g in #143
- feat(listview): a list of items with a pager by @bim-g in #145
- feat(treeview): a WAI-ARIA tree of nodes by @bim-g in #147
- feat(treelist): a table whose rows nest like a tree by @bim-g in #149
- feat(taskboard): a Kanban board, moved by drag, keyboard or form by @bim-g in #153
- feat(layout): admin layout, navigation, breadcrumb and user menu by @bim-g in #155
- feat(menus): menu button, split button, toolbar and context menu by @bim-g in #157
- feat(layout): accordion, card and splitter by @bim-g in #159
- feat(layout): tile layout for dashboards by @bim-g in #162
- feat(display): record view by @bim-g in #166
- feat(display): stat tiles, sparklines and dashboard widgets by @bim-g in #168
- feat(display): badge, avatar, chip, tooltip, popover, progress, loade… by @bim-g in #170
- feat(display): timeline and carousel by @bim-g in #172
- feat(display): gauges and sparklines by @bim-g in #176
- feat(display): Gantt chart by @bim-g in #178
- feat(display): map with Leaflet by @bim-g in #180
- feat(display): org chart by @bim-g in #182
- feat(display): flowchart diagram by @bim-g in #184
- feat(display): QR code and barcode by @bim-g in #187
- feat(form): signature field by @bim-g in #189
- feat(display): PDF viewer by @bim-g in #191
- feat(display): media player by @bim-g in #193
- feat(form): Markdown field by @bim-g in #195
- feat(form): code field by @bim-g in #197
- feat(form): image editor for picture uploads by @bim-g in #199
Bug fixes
- Doctrine tests, LIKE escaping fix, code-split bundle, doc links by @bim-g in #18
- Feat conformance statement and screen-reader test plan by @bim-g in #34
- Build the bundle at release time, and publish it to npm and the CDN by @bim-g in #56
- fix(scheduler): readable day numbers on today's cell by @bim-g in #59
- chore: commit the lockfiles and install from them in CI by @bim-g in #63
Documentation
- ThemeBuilder (theme tokens, Theme in PHP, builder component, celerik-theme CLI) by @bim-g in #45
- [DOC] documentation site (live demos, guides, API reference, GitHub Pages) by @bim-g in #55
- docs(roadmap): Phase 4 is components and usability by @bim-g in #81
- chore(release): CHANGELOG and release notes grouped by kind of change by @bim-g in #88
- docs(roadmap): a path to Telerik UI's breadth, with Filament's depth by @bim-g in #93
- docs(site): list the new form fields, drop the look picker text, date… by @bim-g in #113
- docs(site): a flat design for the documentation, like the components by @bim-g in #117
Dependencies
- chore(deps): bump squizlabs/php_codesniffer from 3.13.6 to 4.0.4 by @dependabot[bot] in #75
- chore(deps): bump the npm group across 1 directory with 2 updates by @dependabot[bot] in #76
- chore(deps): support jQuery 4 alongside jQuery 3 by @bim-g in #83
- chore(deps): bump globals from 15.15.0 to 17.14.0 by @dependabot[bot] in #80
- ci(deps): bump actions/github-script from 8 to 9 in the actions group by @dependabot[bot] in #89
- chore(deps): ESLint 10, with @eslint/js 10 by @bim-g in #119
- chore(deps): Jest 30, with jest-environment-jsdom and babel-jest 30 by @bim-g in #120
- ci(deps): Dependabot bumps packages that need each other together by @bim-g in #121
- chore(deps): bump doctrine/orm from 3.7.6 to 3.7.7 in the composer group by @dependabot[bot] in #123
- chore(deps): bump the npm group across 1 directory with 7 updates by @dependabot[bot] in #160
Maintenance
- chore: ignore the documentation folder by @bim-g in #58
- ci: move GitHub Actions to Node.js 24 by @bim-g in #61
- chore(release): 0.1.5 by @bim-g in #98
- ci(release): the workflow writes the CHANGELOG section by @bim-g in #100
- chore(release): 0.1.6 by @bim-g in #109
- chore(release): 0.2.0 by @bim-g in #112
- chore(release): 0.3.0 by @bim-g in #151
- chore(release): 0.4.0 by @bim-g in #164
- chore(release): 0.5.0 by @bim-g in #174
- chore(release): 0.6.0 by @bim-g in #201
- chore(release): 0.7.0 by @bim-g in #203
Other changes
- [FEAT] Scheduler component (FullCalendar) with Eloquent and Doctrine event sources by @bim-g in #19
- file uploads (FilePond) and rich text editor (Quill) for forms by @bim-g in #20
- feat: Modal, Tabs and Notification components by @bim-g in #21
- Material and Tailwind-inspired themes, with dark-mode and contrast fixes by @bim-g in #23
- chore(npm): publish as @celerikui/ui by @bim-g in #57
- test(browser): wait for animations instead of fixed delays, 4 workers… by @bim-g in #82
- Feat/form wizard by @bim-g in #95
- chore(release): 0.2.1 by @bim-g in #118
- Chore/deps datatables 3 by @bim-g in #122
New Contributors
- @dependabot[bot] made their first contribution in #75
Full Changelog: v0.0.1...v0.7.0
v0.6.0
Phase 8 (Visualization, media and specialized editors): gauges and sparklines, a Gantt chart, a map, an org chart and flowchart diagrams; QR codes and barcodes; a PDF viewer and a media player; and form fields for signatures, Markdown, code and picture editing. The charts, diagrams and codes are drawn by PHP as SVG with text alternatives; PDF.js, Plyr, CodeMirror, marked and DOMPurify are loaded only by pages that use them. It also fixes Url::safe(), which let javascript:0 and data:1 through, and Html::tag() closing <track>. Code fields need the page's nonce under a strict Content Security Policy (see the CSP guide).
Added
- Image editor (
Field::file()->imageEditor($ratios, $maxSize), native, 9 KB, loaded only by forms that use it): once a picture is chosen, crop it (free or in shapes such as 1:1 or 16:9), rotate and flip it, and the edited picture, at most$maxSizepixels, replaces the chosen file in the input. The crop area moves with the pointer (drag it or a corner), with the arrow keys (Shift resizes), or by its position and size in number fields; a status says the size sent. The camera's orientation is applied; the type and name are kept. No CSP change (createImageBitmap); without JavaScript the file is sent as chosen. Filerobot Image Editor was evaluated and not used: a beta that bundles React, Konva and styled-components (injected styles), with no keyboard or screen reader way. - Code field (
Field::code(), with CodeMirror 6, loaded only by forms that use it): line numbers, syntax colors (as classes, 4.5:1 in light and dark mode), brackets, folding, search and Undo, forlanguage()javascript, typescript, jsx, php, html, css, json, sql, python, markdown or xml (each grammar loaded on its own). The editor's text is a multi-line text box named by the label, with the field's description, required and error states; an error moves focus to it. Tab moves to the next field (no keyboard trap; Ctrl+] and Ctrl+[ indent), or indents withtabIndents()(Escape then Tab leaves), and the text under the editor says which. The textarea keeps the text for validation, submit and reset; without JavaScript it is a plain textarea. Under a CSP, CodeMirror's stylesheet takes the nonce of<meta name="csp-nonce">. - Markdown field (
Field::markdown()): the native textarea stays the field, with a WAI-ARIA toolbar (bold, italic, heading, link, lists, quote, code; one tab stop and the arrow keys; Ctrl+B, Ctrl+I, Ctrl+K) whose buttons style the selection or remove the style, through the browser's editing so Undo works; and Write and Preview tabs, the preview rendered by marked and sanitized by DOMPurify (loaded only by forms with a Markdown field). A field with an error goes back to Write; without JavaScript it is a plain textarea. It submits the Markdown text. EasyMDE was not used: its CodeMirror 5 editor is hard to use with a screen reader. - Media player (
MediaPlayer, with Plyr 3.8, loaded only by pages that use it): a native<video>or<audio>element (the browser's player without JavaScript) with sources, a poster, captions, subtitles and audio descriptions (WebVTT), given Plyr's accessible controls (named buttons, seek and volume sliders, keys when focused, controls that stay visible). A figure named by its label;transcript()writes the words under the player, each time a button that plays the media from there, the line being spoken marked while it plays. Plyr's icons are bundled (never its CDN);options(['i18n' => …])translates Plyr. It never autoplays. - PDF viewer (
PdfViewer, with PDF.js 6, loaded only by pages that use it): a region named by the document's title, its pages drawn near the visible area, each a group ("Page 2 of 12") with a text layer that screen readers read and the browser's search finds; previous and next, a page number, zoom by steps or by a select ("Fit width" follows the viewer's width), announced page changes, and a download link always there, which is also the fallback without JavaScript and when a document cannot be opened. Works under a strict Content Security Policy (no eval, no inline styles); pages stay white in dark mode. The PDF.js worker is built as a.jsfile, which every server sends as JavaScript. - Signature field (
Field::signature()): a pad to sign on with a mouse, a finger or a pen (pointer events, smoothed lines, sharp on any screen), and a name input, the way for keyboards and screen readers, whose name is drawn on the pad as handwriting. Either way it submits a 600 × 200 PNG as a data URL;Field::signatureImage()checks that it is a PNG and returns its bytes. A required signature needs a drawing or a name; Clear empties it; the pad is named "empty" or "signed"; it stays light with dark ink in dark mode and forced colors. Without JavaScript the typed name is submitted as text. No dependency (Components.md suggested signature_pad). - QR code (
QrCode) and barcode (Barcode), drawn by PHP as SVG (no JavaScript, no inline styles, no dependency). The QR code encoder (Support\QrMatrix) covers versions 1 to 40, levels L, M, Q and H, numeric, alphanumeric and UTF-8 text, and picks the smallest version and the best mask; barcodes are Code 128 (digits packed two by two) and EAN-13 (the check digit added or checked). Each is an image named by its label, with its value written under it (a link when the QR code holds a web address); codes stay dark on a light tile in dark mode and in forced colors. Every version and level is decoded by an independent reader (ZXing) in the tests. - Diagram (
Diagram): a flowchart drawn by PHP as an SVG (no JavaScript, no inline styles): boxes, terminals and decisions in six colors, wrapped texts, arrows with labels, downwards or to the right. Steps are placed in ranks; loops are dashed and drawn around the side; an arrow that skips ranks gets its own lane; each rank is ordered to cross fewer arrows. The drawing is an image named by its caption, and "Steps as text" lists every step, its start or end, and where each arrow leads, with links between steps. Mermaid was not used: its<style>elements break a strict Content Security Policy. - Org chart (
OrgChart): people in nested lists, named by the chart, drawn as a tree by CSS (borders for the lines, no inline styles, no JavaScript needed), and as an indented list in a narrow container; wide charts scroll sideways in a named region. People come fromnode()orfromRows()(database rows), with a job title, a picture or initials, and a link.collapsible()andexpandLevels()add a button on each manager ("Ada Lovelace's team, 3 people",aria-expanded) that shows or hides their team. Unknown managers and loops are reported. - Map (
Map, with Leaflet): markers with popups, and the same places written as a list under the map, the text alternative, with "Show on map" buttons that bring a marker into view, open its popup and move focus to it. The map is a named region whose keys are described; markers are buttons named after their place; Escape closes a popup wherever focus is in the map, and the zoom and close buttons answer Space. Popups are built from text. Wheel zoom is off unlessscrollZoom(), animations stop for reduced motion, and Leaflet's controls, popups and attribution follow the page's colors, with darkened tiles in dark mode. OpenStreetMap tiles by default, ortiles(). - Gantt chart (
Gantt): a table of tasks, named by its label, with each task's start and end (<time>elements), progress and the tasks it depends on; its last column is the timeline. Each row draws its bar as an SVG sized by attributes, so bars line up with their rows without inline styles. Milestones are diamonds and say "Milestone"; the scale is by day (weekends shaded), week or month; a line marks today. With JavaScript, decorative arrows join each task to the tasks that wait for it, and the first scroll brings today into view. The timeline scrolls sideways in a named, keyboard-scrollable region, with the task names kept in view. - Gauges and sparklines:
Gauge: a value on a scale, as a semicircle or a bar (linear()), drawn by PHP as an SVG. A meter (role="meter") named by its label, whose value text gives the value, its band and the target ("72%, High, target 90%"); colored bands whose name is written next to the value; a target mark;range(),format(),decimals(), sizes; colors kept at 3:1, and system colors in forced-colors mode.Sparkline: a line, area or bar chart the size of a word, for text, table cells and record views; an image named after its values' range, ordecorative()next to the written values.Stat::sparkline()now draws with it.
Fixed
Support\Html::tag()closed<track>(and<wbr>,<area>,<base>,<embed>), which are void elements.Support\Url::safe()and the image and link checks ofCard,ListView,TreeViewandUserMenu(now using it) let through a scheme followed only by digits, such asjavascript:0ordata:1, which PHP'sparse_url()reads as a host and a port; they also refused relative paths with a colon, such as/a:1. The scheme is now read as browsers read it.
What's Changed
New features
- feat(display): gauges and sparklines by @bim-g in #176
- feat(display): Gantt chart by @bim-g in #178
- feat(display): map with Leaflet by @bim-g in #180
- feat(display): org chart by @bim-g in #182
- feat(display): flowchart diagram by @bim-g in #184
- feat(display): QR code and barcode by @bim-g in #187
- feat(form): signature field by @bim-g in #189
- feat(di...
v0.5.0
Phase 7 (Display and feedback): a record view; stat tiles with trends and sparklines, and dashboard widgets; badges, avatars, chips, tooltips, popovers, progress bars and circles, loaders and skeletons; a timeline and a carousel. It also fixes charts that stopped growing with their container.
Added
-
Timeline and carousel:
Timeline: a named ordered list of events, each with a title, a date in a<time>element or a text, a description, a colored marker (with a short text such as "✓"), a link, and a current step (aria-current="step"and a ring);alternate()uses both sides of the line on wide screens. Plain HTML.Carousel: the WAI-ARIA carousel, with picture slides (cropped to a ratio, captioned, lazy after the first) or HTML slides; Previous, Next and a 24px button per slide; the new slide announced; touch swipe; the height of the tallest slide.autoplay()comes with a Stop button first, pauses for the pointer and focus, stops once the user picks a slide and does not start for reduced motion (WCAG 2.2.2). Without JavaScript the slides are shown one under the other.
-
Display elements:
Badge: a status or count in an AA color, with a text for screen readers only ("3 unread messages").Avatar: a picture or initials on a color from the name, named after the person, with a status dot told apart by its shape (online, away, busy, offline);decorative()next to a written name.Chip: plain; removable (a 24px Remove button that takes its hidden field away, moves focus to the next chip, announces it and fires a cancelablecelerik:remove); or a filter checkbox posted with its form.Tooltip: the WAI-ARIA tooltip, meeting WCAG 1.4.13 (hoverable, Escape hides it without moving focus, persistent); it describes its control and flips or slides to stay on screen.Popover: a native disclosure with a titled panel; Escape, focus and clicks elsewhere close it.Progress: a native<progress>bar or an SVG progressbar circle, determinate or not, with colors kept at 3:1, without inline styles.LoaderandSkeleton: status regions saying what is loading; their animations stop or slow for reduced motion.
-
Stat tiles and dashboards:
Stat: a label, a value, a trend against a previous period said in words ("Up 12.5% vs last month", green or red asgoodWhen()says), a description, a link covering the tile, and a sparkline: an SVG drawn by PHP, named after its values, with colors kept at 3:1 contrast.Stats: a named list of stat tiles in 1 to 6 columns.- Dashboard widgets: charts, grids and stats in a
TileLayout; a chart redraws when its tile is resized, and a stat in a tile has no second border.
-
Record view (
RecordView, Filament's infolists): a read-only layout of a record's fields, by sections, each a heading and a description list in 1 to 4 columns (one on small screens). The record is an array, an ArrayAccess (an Eloquent model) or an object, read with dot notation.RecordView\Entryshows text, e-mail and phone links, safe URLs, dates in<time>, formatted numbers, yes or no, colored badges, lists and pictures, withformat(),placeholder(),help()andspan(); empty values show a dash read as "Not set".
Fixed
- A chart without a fixed height grows again when its container gets wider (a wider window, a widened tile). Its container now keeps the chart's shape with a CSS aspect ratio (2:1, square for round charts) and the chart fills it; Chart.js' own ratio capped the height at the container's, so the chart kept its first width.
What's Changed
New features
- feat(display): record view by @bim-g in #166
- feat(display): stat tiles, sparklines and dashboard widgets by @bim-g in #168
- feat(display): badge, avatar, chip, tooltip, popover, progress, loade… by @bim-g in #170
- feat(display): timeline and carousel by @bim-g in #172
Maintenance
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Phase 6 (Navigation and layout): an admin layout with navigation, breadcrumb and user menu; menu and split buttons, toolbars and context menus; accordion, card, splitter and tile layout. It also brings the Kanban task board, the last item of Phase 5.
Added
-
Tile layout (
TileLayout, the Telerik TileLayout): dashboard tiles, titled regions spanning columns and rows of a grid (one column on small screens). Withreorderable()andresizable(), each tile's Arrange button shows one-click tools (move earlier or later, narrower, wider, shorter, taller), arrow keys move it and Shift arrows resize it, and it can be dragged by its button or its corner. Tiles move in the page, so the reading order follows the screen; each change is announced, kept in the browser withremember()and fired ascelerik:change. -
Accordion, card and splitter:
Accordion(the Telerik PanelBar): WAI-ARIA accordion headings and regions, one panel open at a time ormultiple(), arrow keys between headings; every panel shown without JavaScript.Card: title (a link covering the card, its actions above it), subtitle, text, picture, content and footer.Splitter: panes side by side or stacked, resized from WAI-ARIA window splitter dividers with the keyboard (arrows, Home, End, Enter) or any pointer, sizes remembered on request and set without inline styles.
-
Menus and toolbar (WAI-ARIA menu button and toolbar patterns):
MenuButton: a button that opens a menu of links, actions and dividers. Arrow keys, Home, End and type-ahead move; Escape returns focus; disabled items. Without JavaScript, a plain list.SplitButton: a main action and a "More options" menu.Toolbar: a named row of controls with one tab stop and arrow keys between them.ContextMenu: a menu for the elements matching a selector, opened by a right click, Shift+F10 or the Menu key, its{field}s filled from the element'sdata-*values.Navigation::horizontal(): a site's menu bar, its groups dropping down and closing with Escape or when focus leaves.
-
Admin layout:
AdminLayoutframes an admin screen with a skip link, an app bar, a sidebar and the main content.Navigation: links and groups (native disclosures). The current page hasaria-current="page", or its sectionaria-current="true", and its group starts open.Breadcrumb: a navigation landmark ending with the current page.UserMenu: the user's name and picture or initials, links and actions such as Sign out, in a disclosure that Escape closes.- On small screens the sidebar is Bootstrap's offcanvas, opened by the app bar's menu button; without JavaScript it is shown above the content.
-
TaskBoard: a Kanban board,
TaskBoard::make()->columns([...])->cards($tasks, column: 'status')->moveUrl('/tasks/{id}/move').- Cards move three ways: dragged (SortableJS), from the keyboard (Space, arrows, Space or Escape, each step announced), or with a Move form on each card that posts without JavaScript and moves cards without dragging (WCAG 2.5.7).
- Column limits, counts in the column headings, card titles, descriptions, meta texts and links.
TaskBoard::cardMove($_POST)reads a move (a column of the board and a position); a refused move (InvalidCardMove, 422) puts the card back and says why.
Changed
- The bundle includes SortableJS 1.15 (MIT), loaded only on pages with a task board.
What's Changed
New features
- feat(taskboard): a Kanban board, moved by drag, keyboard or form by @bim-g in #153
- feat(layout): admin layout, navigation, breadcrumb and user menu by @bim-g in #155
- feat(menus): menu button, split button, toolbar and context menu by @bim-g in #157
- feat(layout): accordion, card and splitter by @bim-g in #159
- feat(layout): tile layout for dashboards by @bim-g in #162
Maintenance
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Phase 5 (Data): grid filters, actions, selection, columns to show or hide, empty states, totals and groups, inline editing; actions that open a form in a modal; ListView, TreeView and TreeList. It also brings the flat design and field border contrast prepared as 0.2.1, which was not published.
Added
- Grid column filters:
Column::filter()withFilter::text(),Filter::select([...]),Filter::boolean()andFilter::dateRange(). They appear in a filter bar above the table (asearchlandmark with a labelled field per column and a Clear filters button) and work client-side, and server-side throughrespond()withArrayDataSource,EloquentDataSourceandDoctrineDataSource.Grid::labels()translates the bar. - Actions (
Celerik\Ui\Components\Action):Action::link()andAction::request(), buttons usable anywhere.- A request action is a form that posts without JavaScript, with
_methodand the CSRF token. - With JavaScript, it asks for confirmation in an accessible alert dialog (
confirm()), sends the request withfetch, shows the answer'smessagein a toast, and firescelerik:action.
- A request action is a form that posts without JavaScript, with
- Grid row actions:
Grid::actions()adds a last column with the actions for each row.- Each button is named with its label and the row's title, for example "Delete Ada Lovelace" (
Grid::rowTitle()). - After a request succeeds, a server-side grid reloads its page, and a client-side grid removes a deleted row. Focus moves to the next row's button.
- Exports leave the column out.
- Each button is named with its label and the row's title, for example "Delete Ada Lovelace" (
- TreeList: a table whose rows nest like a tree,
TreeList::make()->column(...)->rows($rows, 'id', 'parent_id')or nestedchildren.- A plain table without JavaScript; with it, a WAI-ARIA treegrid: rows open and close, one tab stop, arrow keys between rows and cells.
- Expand all and Collapse all, row actions (a deleted row goes with its descendants), indentation by classes for a strict CSP.
- TreeView: a WAI-ARIA tree,
TreeView::make()->nodes([...])orfromRows($rows, 'id', 'parent_id', 'name').- Nested lists that work without JavaScript; with it, one tab stop, arrow keys, Home and End, type-ahead and
*. - Nodes can be links, or radio buttons (
selectable()) or checkboxes (checkable(), with mixed parents) posted with the form. hasChildrennodes load their children fromurl()when they first open;TreeView::children()answers.
- Nested lists that work without JavaScript; with it, one tab stop, arrow keys, Home and End, type-ahead and
- ListView: a list of items with a pager,
ListView::make()->title('title')->link('/articles/{id}')->description('summary')->meta('author', 'published').- Client-side rows, or a server-side endpoint answered with
respond(). - Search, a choice of sorts, a list or cards layout, pictures, actions (with forms) and an empty state.
- The pager is a named
<nav>; changing page moves focus to the list and the status says which items are shown.
- Client-side rows, or a server-side endpoint answered with
- Actions that open a form in a modal:
Action::request(...)->form($form, 'Edit {name}', 'Save'), on a page or in a grid's rows.- In a grid, the form opens with the row's values and a title for the row; the modal is written once for all rows.
- The form's own checks run first, then its fields are sent to the action's URL with its method and CSRF token.
- A 2xx answer closes the modal, shows its message and refreshes the grid; a 422 answer's
errorsare shown on their fields. - Focus starts in the first field and returns to the action's button.
- Grid inline editing:
Column::editable(Editor::text()|number()|select()|boolean()|date())lets the user change a cell in place, andGrid::inlineEdit($url)says where changes are saved.- An edit button per cell, named after the column and the row, opens a labelled field: Enter or leaving it saves, Escape cancels, and focus returns to the button.
- The browser checks the value with the editor's rules, and
Grid::cellEdit($_POST)checks it again on the server: only editable columns, typed values.InvalidCellEdit::toArray()answers a refused value, which stays in the field with its message. - Client-side and server-side grids; client-side totals follow the change.
- Grid column totals and row groups:
Column::total('sum'|'avg'|'count'|'min'|'max', $decimals)adds a total in the footer, andGrid::groupBy($field)groups the rows, with a heading row per group that names it, counts its rows and gives its totals.- Totals and group counts cover every row that passes the search and filters, not only the page.
- Server-side,
respond()asks the data source for them (DataRequest::$totalsand$groupBy), and the Array, Eloquent and Doctrine sources compute them, in the database for the last two. Endpoints answer them inmeta.totalsandmeta.groups. - Translatable labels and number separators (
decimal,thousands).
- Grid empty states:
Grid::emptyState($title, $description, $action)for a grid without rows. When search or filters match nothing, the grid says so, with a Clear filters and search button that moves focus back to the search box. - Columns the user can show or hide:
Grid::columnToggle()adds a Columns menu, a disclosure with a checkbox per column.Column::toggleable(false)keeps a column always shown, andColumn::initiallyHidden()starts one hidden.- The choice is kept in
localStorageper grid, unlessremember: false. - The last shown column cannot be hidden.
- Grid row selection and bulk actions:
Grid::selectable($key, $name)adds a checkbox per row and a box for the page, andGrid::bulkActions()adds a bar with the number of rows selected and request actions for them.- The selection is kept across pages, filters and sorting.
- A bulk action posts the selected keys (
ids[]), and{count}in its confirmation is their number. - After it succeeds, a server-side grid reloads its page, and a client-side grid removes deleted rows.
- Without JavaScript, the bulk form posts the checked rows of a client-side grid.
DataRequest::$conditions(contains,gte,lt), read fromfilter[...]byDataRequest::fromArray(..., filterTypes: [...]), andDataRequest::containsPattern(). The response'smetalists them asconditions.
Changed
- A grid without rows, or without matches, shows Celerik's empty states instead of DataTables' "No data available in table" and "No matching records found".
- Column filters find their column by name, so they keep working when a selection column comes first.
ArrayDataSourcematches a true/false value with a1/0filter, as a database does, as well as with "Yes"/"No".- The grid runs on DataTables 3 (with the Buttons extension 4) instead of 2. Raw options passed with
Grid::options()follow DataTables 3. A server-side grid tells DataTables where its endpoint's row counts are (ajax.dataSrconmeta), as DataTables 3 makes its own requests rather than jQuery's. <html>gets acelerik-jsclass once the bundle runs, to show what needs JavaScript (such as actions that open a form).- A flat design for every component (
resources/scss/_flat.scss): 1px borders instead of drop shadows, and no bevels or gradients.- Toasts, searchable-select dropdowns and the calendar's popovers and event dialog have borders instead of shadows.
- The calendar toolbar has outline buttons; the current view and the New event button are filled with the primary color. Weekday names and day numbers are plain text, underlined on hover and focus.
- The file manager has a light, flat toolbar, sidebar and status bar, and borderless toolbar buttons.
- The upload area is a plain dashed panel that follows dark mode.
- Charts use a solid palette (
--celerik-chart-1to6, with 3:1 and more on the page in light and dark mode), and take their text, grid lines and font from Bootstrap. Colors set in PHP still win.
- Field borders have a 3:1 contrast on the page (WCAG 1.4.11) without a custom theme:
--celerik-input-border(#6c757d light, #8c959f dark) on inputs, selects, checkboxes, searchable selects, the rich text editor and one-time code boxes. Before, Bootstrap's #dee2e6 border (1.3:1) was used unless a custom theme set one. - A theme's stylesheet no longer fills the calendar's buttons: the calendar follows
--bs-primaryand--celerik-on-primarythrough celerik.css.
What's Changed
New features
- feat(theme): a flat design for every component by @bim-g in #115
- feat(grid): column filters, client-side and server-side by @bim-g in #129
- feat(grid): row actions, on actions usable anywhere by @bim-g in #131
- feat(grid): row selection and bulk actions by @bim-g in #133
- feat(grid): columns the user can show or hide by @bim-g in #135
- feat(grid): empty states by @bim-g in #137
- feat(grid): column totals and row groups by @bim-g in #139
- feat(grid): inline editing by @bim-g in #141
- feat(actions): open a form in a modal by @bim-g in #143
- feat(listview): a list of items with a pager by @bim-g in #145
- feat(treeview): a WAI-ARIA tree of nodes by @bim-g in #147
- feat(treelist): a table whose rows nest like a tree by @bim-g in #149
Documentation
- docs(site): list the new form fields, drop the look picker text, date… by @bim-g in #113
- docs(site): a flat design for the documentation, like the components by @bim-g in #117
Dependen...
v0.2.0
Removed
- The Material and Tailwind looks. Celerik UI is now Bootstrap only, which keeps it simple to maintain:
celerik-material.css,celerik-tailwind.css, their presets and their SCSS are gone, along with the ThemeBuilder's "Base look" and "Start from a preset" controls and the documentation's look picker. Your own colors, radius, font and shadow still work through a custom theme (Theme::toCss(), the ThemeBuilder,celerik-theme). To upgrade:- Remove
theme: 'material'/'tailwind'fromAssets::tags(),<x-celerik-assets>andcelerik_assets(); they now throw an exception that explains the change. Thethemeparameter is deprecated:bootstrapis its only value. - In a saved
theme.json, remove"base"(or keep"base": "bootstrap"); amaterialortailwindbase is refused with the same explanation. Themes no longer writebase. Theme::BASES,Theme::base(),Theme::getBase()andThemeBuilder::BASE_NAMESare removed;Theme::PRESETSlists the presets (bootstrap).ThemeBuilder::assetsUrl()is deprecated and has no effect, andlabels()ignores thebase,presetandloadPresetkeys.celerik-theme presettakesbootstraponly, andbuildprintsWrote <file>.
- Remove
Changed
- A theme's stylesheet starts with
/* Celerik UI theme "Acme". Load it after celerik.css. */and always binds Bootstrap's components to the theme colors. - The SCSS entry is
resources/scss/celerik.scss(it wasresources/scss/themes/bootstrap.scss).
What's Changed
Breaking changes
Maintenance
Full Changelog: v0.1.6...v0.2.0
v0.1.6
Added
- Key-value list:
Field::keyValue('headers')edits pairs (metadata, HTTP headers, settings), a row per pair with Add and Remove. Rows submit asheaders[0][key]andheaders[0][value];Field::keyValues()turns them into akey => valuearray, andvalue()takes one. A value needs a key and a key is used once (checked in the browser, the message in its row);keySuggestions()and translatablekeyValueLabels(). - One-time code field:
Field::otp('code')is one input shown as a box per character, so phones and browsers can fill the code they received (autocomplete="one-time-code"), a pasted123 456fills every box, and screen readers hear one text field.codeLength()(4 to 10),alphanumeric(), and a clear default message. - Tags input:
Field::tags('skills', ['PHP', 'Laravel'])takes free-text tags (Enter, a comma or paste) and offers suggestions, local orremote(). Submitsskills[];minTags(),maxTags()and a translatableaddText(). Case-insensitive duplicates are not added, and Enter does not submit the form while a tag is being typed. - Rating field:
Field::rating('score')shows 3 to 10 stars (stars()), which are native radio buttons: arrow keys, validation and old input work as for a radio group, and no JavaScript is needed. An optional rating has a "No rating" choice;ratingLabels()translates the texts. - Form repeater:
Repeater::make('lines')->schema(...)repeats a group of fields, submitted aslines[0][product]. Users add, remove and (withreorderable()) move rows;min(),max(),defaultItems(),value()and translatablelabels(). Row keys are kept, so old input, errors such aslines.3.qtyand the error summary find their row (#97).
Development
- Releasing is running the Release workflow with the version: the entries under
[Unreleased]become the version's section with the date and compare links, committed tomainby the workflow. A section written beforehand is used as it is.
What's Changed
New features
- feat(form): repeater for groups of fields users add, remove and reorder by @bim-g in #97
- feat(form): tags input with free text and suggestions by @bim-g in #102
- feat(form): star rating field by @bim-g in #104
- feat(form): one-time code field by @bim-g in #106
- feat(form): key-value list field by @bim-g in #108
Maintenance
- ci(release): the workflow writes the CHANGELOG section by @bim-g in #100
- chore(release): 0.1.6 by @bim-g in #109
Full Changelog: v0.1.5...v0.1.6
v0.1.5
Added
- Form wizard:
Form::wizard()shows the form's sections one at a time, with a step indicator and Back and Next buttons. Next checks the step's fields first, Enter means Next, and after a failed submit (browser or server) the form shows the first step with an error. Its texts can be translated (#95). - Form layout:
Section::make()(a card with a heading,collapsible()) andSection::fieldset()group fields;columns()on a form or section lays them out in 1 to 6 columns from a breakpoint, andcolumnSpan()widens a field or section. A collapsed section opens by itself when a field inside it has an error (#95). - Date and time fields:
Field::time(),Field::datetime(), andField::dateRange($name, $label, 'date'|'time'|'datetime-local'), two linked native inputs (name[start],name[end]) whose end must be on or after the start (#94). - Searchable selects (Tom Select):
Field::select()->searchable(),->multiple()(tags), and->remote($url)to load choices from an endpoint as the user types, answered by$field->respond($source, $_GET)with any data source (#92). - Form fields:
Field::radio()andField::checkboxes()(groups in a fieldset,inline()),Field::switch(),Field::range()(shows its value) andField::color();step()for number, range, date and time fields (#91).
Changed
- The roadmap aims at Telerik UI's breadth with Filament's depth for admin screens, in phases by family of components. Celerik UI stays free and open source, with no paid or premium editions (#93).
Fixed
- Client-side validation rejected every time and date-time field with a
min()ormax(): Parsley compared them as numbers. Bounds now compare numbers as numbers and ISO dates and times as text, and17:00:00equals17:00(#94). - Server errors reported on one item of a field that submits an array (Laravel:
tags.1,languages.0,photos.0) were not shown; they now show under the field and in the error summary (#94).
Development
- Release notes are grouped by kind of change, pull requests are labeled from their title, and a release needs its CHANGELOG section (#88).
What's Changed
New features
- feat(form): radio and checkbox groups, switch, range and color fields by @bim-g in #91
- feat(form): searchable, multiple and remote selects (Tom Select) by @bim-g in #92
- feat(form): date, time and date range fields on native pickers by @bim-g in #94
Documentation
- chore(release): CHANGELOG and release notes grouped by kind of change by @bim-g in #88
- docs(roadmap): a path to Telerik UI's breadth, with Filament's depth by @bim-g in #93
Maintenance
Other changes
Full Changelog: v0.1.3...v0.1.5
v0.1.3
What's Changed
- Doctrine tests, LIKE escaping fix, code-split bundle, doc links by @bim-g in #18
- [FEAT] Scheduler component (FullCalendar) with Eloquent and Doctrine event sources by @bim-g in #19
- file uploads (FilePond) and rich text editor (Quill) for forms by @bim-g in #20
- feat: Modal, Tabs and Notification components by @bim-g in #21
- feat: File Manager (elFinder) with a locked-down configuration by @bim-g in #22
- Material and Tailwind-inspired themes, with dark-mode and contrast fixes by @bim-g in #23
- Feat conformance statement and screen-reader test plan by @bim-g in #34
- ThemeBuilder (theme tokens, Theme in PHP, builder component, celerik-theme CLI) by @bim-g in #45
- [DOC] documentation site (live demos, guides, API reference, GitHub Pages) by @bim-g in #55
- Build the bundle at release time, and publish it to npm and the CDN by @bim-g in #56
- chore(npm): publish as @celerikui/ui by @bim-g in #57
- fix(scheduler): readable day numbers on today's cell by @bim-g in #59
- chore: ignore the documentation folder by @bim-g in #58
- ci: move GitHub Actions to Node.js 24 by @bim-g in #61
- chore: commit the lockfiles and install from them in CI by @bim-g in #63
- docs(roadmap): Phase 4 is components and usability by @bim-g in #81
- chore(deps): bump squizlabs/php_codesniffer from 3.13.6 to 4.0.4 by @dependabot[bot] in #75
- chore(deps): bump the npm group across 1 directory with 2 updates by @dependabot[bot] in #76
- test(browser): wait for animations instead of fixed delays, 4 workers… by @bim-g in #82
- chore(deps): support jQuery 4 alongside jQuery 3 by @bim-g in #83
- chore(deps): bump globals from 15.15.0 to 17.14.0 by @dependabot[bot] in #80
New Contributors
- @dependabot[bot] made their first contribution in #75
Full Changelog: v0.0.1...v0.1.3
v0.1.1
What's Changed
- Doctrine tests, LIKE escaping fix, code-split bundle, doc links by @bim-g in #18
- [FEAT] Scheduler component (FullCalendar) with Eloquent and Doctrine event sources by @bim-g in #19
- file uploads (FilePond) and rich text editor (Quill) for forms by @bim-g in #20
- feat: Modal, Tabs and Notification components by @bim-g in #21
- feat: File Manager (elFinder) with a locked-down configuration by @bim-g in #22
- Material and Tailwind-inspired themes, with dark-mode and contrast fixes by @bim-g in #23
- Feat conformance statement and screen-reader test plan by @bim-g in #34
- ThemeBuilder (theme tokens, Theme in PHP, builder component, celerik-theme CLI) by @bim-g in #45
- [DOC] documentation site (live demos, guides, API reference, GitHub Pages) by @bim-g in #55
- Build the bundle at release time, and publish it to npm and the CDN by @bim-g in #56
- chore(npm): publish as @celerikui/ui by @bim-g in #57
- fix(scheduler): readable day numbers on today's cell by @bim-g in #59
- chore: ignore the documentation folder by @bim-g in #58
- ci: move GitHub Actions to Node.js 24 by @bim-g in #61
Full Changelog: v0.0.1...v0.1.1