Repository navigation
Releases
Releases · liorcodev/noofpi-ui
[1.9.2] - Tabs Pill Variant Color Fix
[1.9.2] - 2026-11-28
Fixed
- The
colorprop ofNTabsnow applies to thepillvariant: the selected pill is filled with the color and has white text. Before, only thelinevariant used it.--n-tabs-pill-active-bgno longer has a default (it falls back to the color), and the new--n-tabs-pill-active-fgsets the text color of the selected pill.
[1.9.1] - Floating Element Fixes and Improvements
[1.9.1] - 2026-11-27
Changed
- The option lists of
NSelectandNComboboxare teleported to thebodyand positioned next to the field (position: fixed), so an ancestor withoverflow(a card, a dialog body, a table) no longer clips them. They follow the field on scroll and resize, and are placed again when typing filters the options.
Fixed
Escapein an openNSelect,NCombobox,NMenuorNPopovercloses only that element, not a dialog around it.- A click on a
NSelectorNMenulist inside anNPopoverno longer counts as an outside click that closes the popover.
[1.9.0] - Workflow and Communication Components
[1.9.0] - 2026-11-27
Added
NKanban: a board of draggable cards in columns, moved by pointer or keyboard.v-model:columnsholds the columns, a columnlimitcan be enforced withenforceLimit, and it emitsmoveandadd.NChat: a chat thread with a composer, with grouped messages, day separators, a typing indicator and smart auto-scroll.v-modelis the draft, and it emitssend,attach,loadMoreandretry.NDateTimePicker:NDatePickerwith a time section.v-modelis aYYYY-MM-DDTHH:mmstring, and it hashour12,minuteStep,seconds,minandmax.NBanner: a dismissible, full-width announcement bar with the colors and variants ofNAlert, an optional link andactions.v-model:opencontrols it, andpersistKeyremembers a dismissal.NFieldArray: a repeatable group of form fields with add, remove and optionalsortablereordering.v-modelis an array, and per-row errors work insideNForm.NInbox: a three-pane mail layout of a collapsible folder rail, a message list and a reader. The list fills the inbox until a message opens, then the reader grows out of its edge (and can take the full width). It responds to its own width instead of the viewport, so it works inside a dashboard, and shows one pane at a time when narrow. Slots:rail-header,rail,rail-footer,list-header,list,reader-headerand the default one for the message.v-model:open,v-model:expandedandv-model:railcontrol it, andhideRailIconandshowRailIconchange the rail buttons' icons.NFilterBar: a toolbar of search, filters, sort and saved views that produces a typedv-model({ search, filters, sort }) and leaves the filtering to you. Active filters show as removable chips.NInfiniteScroll: emitsloadwhen its edge scrolls into view, withloading,finishedanderrorstates and a retry button.direction="up"loads at the start, for a chat history.NQRCode: an inline SVG QR code from a built-in encoder with no dependency. It haserrorCorrection,logoanddownloadable, and stays dark on light in both themes so it scans.
[1.8.0] - New UI Components
[1.8.0] - 2026-11-23
Added
NToggleGroup: a group of toggle buttons for a single choice (list/grid, day/week/month) or, withmultiple, any number of them. It is lighter thanNTabsandNRadioGroup, andNFileExploreruses it for its view toggle.NTagsInput: a field that turns typed text into removable tags.v-modelis a string array.NTimeline: a list of events along a line,verticalorhorizontal.NSeparator: a divider line,horizontalorvertical, with an optional label.NCollapsible: a single show/hide section, the lighter alternative toNAccordion.NColorPicker: a color field with a panel for picking a color, ashex,rgborhsl.NTextarea: a multiline text field that matchesNInput, withautoresizeandcounter.NBlobs: an automatic blob background.NShapes: an automatic background of modern shapes.NCarousel: a swipeable slideshow withautoplay,arrowsandindicators.NCopyButton: copiestextto the clipboard and shows a check for a moment, handy for code and API keys. It emitscopyanderror.NRating: a star rating,v-modelis a number. It hasmax,allow-half,clearable,readonly, a customicon, and works with the keyboard and insideNFormField.
[1.7.0] - Menu Variants and Accessibility Tools
[1.7.0] - 2026-11-23
Added
NMenuandNContextMenu: a menu item has avariant(solid,outline,soft,subtle,ghostorlink, as onNButton) that sets how the row looks at rest. It defaults toghost, the current look.NAccessibility: an accessibility button and menu (text size, contrast, grayscale, link and heading highlight, readable font, text spacing, cursor, focus, reading guide, no animations, hide images). It hasstatementUrlandskipToprops, andACCESSIBILITY_LABELS_HEfor Hebrew.
Fixed
NPageHeader: on phones the header wraps, so theactionsmove to their own line, right-aligned, instead of squeezing the title and description into a narrow column.
[1.6.0] - Menu Teleporting and Icon Reliability
[1.6.0] - 2026-11-22
Added
NMenu: atoprop sets where the panel is teleported. It defaults to"body";falserenders it in place.NHeader:sidebarIconandsidebarOpenIconprops replace the icon of the sidebar button shown inside anNDashboard, while the sidebar is closed and open. They default toi-lucide-panel-leftandi-lucide-panel-left-close.
Fixed
NSelect,NCombobox,NAccordion,NCalendar,NDatePicker,NPagination,NBreadcrumb,NDialog,NDrawer,NNumberInput,NStepper,NCommandPaletteandNFileUpload: the icons they draw themselves (chevrons, check, close, calendar, and so on) are now always generated, as the other components already did. Before, an app that didn't use the same icon class in its own code got a solid gray square instead of the icon.NMenu: the panel is teleported to thebodyand positioned withposition: fixed, so a menu in a table row, card or any other container that clips its overflow is no longer cut off. It follows its trigger on scroll and resize, and Tab continues from the trigger.NFileExplorer: downloading a file adds the temporary link withappendChildinstead ofappend, so apps that load the Cloudflare Workers types next to the DOM types no longer get a type error from the HTMLRewriterElement.appendoverload.
[1.5.0] - Auth Form Controls and Mobile Toolbar Improvements
[1.5.0] - 2026-11-21
Added
NAuthForm: aclearprop. Toggling it empties the inputs and clears the errors, e.g. after a failed sign in. Withformit calls that form'sreset().NAuthForm:AuthFieldacceptsiconandtrailingIcon, shown before and after the text of the input.NAuthForm:AuthFieldacceptsrevealableon apasswordfield, which adds an eye button that shows or hides the text.
Fixed
NHeader: thebuttonsand therightslot, e.g. an avatar menu, stay in the bar on phones instead of moving into the mobile menu, which now holds only the navigation. The menu button shows only when there areitemsor anavormobileslot.NFileExplorer: toolbar actions, including Sort and List/Grid view controls, wrap without overflowing on mobile.
[1.4.1] - Fixed NFileExplorer
[1.4.1] - 2026-11-19
Fixed
NFileExplorer: a click no longer selects an item. Folders and files open with a double click orEnter. Ctrl/Cmd-click, Shift-click andSpacestill select.NFileExplorer: starting a drag no longer selects the dragged item. It still moves that item, or the whole selection if the item is already selected.NFileExplorer: dragging several selected items shows one stacked "N items" badge beside the pointer instead of only the row under it.NFileExplorer: using any toolbar button (New folder, Paste, Upload, Select, Sort, List or Grid view) clears the selection.NFileExplorer: the Sort menu is shown in the list view too, not only in the grid, and every row has its own icon with the current choice in the primary color and a check at the end.
Added
NFileExplorer: a Select button in the toolbar (v-model:selecting) turns on click-to-select. While it is on, the button reads Done in the primary color, the explorer gets a primary outline and rows show a pointer cursor. Turning it off clears the selection.
[1.4.0] - Added Popover, Tree, File Explorer and Context Menu
[1.4.0] - 2026-11-19
Added
NContextMenu: wraps an area and opens a menu at the pointer on right click, on long press for touch, and withShift+F10or the context menu key. It takes the sameitemsasNMenuand stays inside the viewport.NPopover: anchored floating panel withclick,hoverormanualtriggers, 12 placements that flip and shift to stay in the viewport, optional arrow,offset,delayandhideDelay,maxWidth, dismissal onEscapeor outside interaction, teleport target, andv-model:open.NTree: accessible, keyboard-navigable tree with single or multiple selection,checkablecheckboxes, search, lazyloadChildren,droppablerows, andv-modelforselected,expanded,checkedandsearch. Items supportdescription,icon,badgeanddisabled.NFileExplorer: file manager with list and grid views, a folder tree, breadcrumbs, search, sorting by name, size or modified (folders first), multi-select, drag-and-drop moves, lazy folder loading, and an optional Upload button that also accepts files dropped from the computer. Built-in actions (new-folder,download,copy,cut,paste,rename,delete) are configurable withactions. It only reports changes:open,rename,delete,download,upload,move,copy,create-folderandloadare events you apply toitems.- Exported types and constants:
ContextMenuProps,PopoverProps,PopoverPlacement,PopoverTrigger,POPOVER_PLACEMENTS,POPOVER_TRIGGERS,TreeItem,TreeProps,TreeSelection,TreeValue,FileItem,FileExplorerProps,FileExplorerView,FileExplorerSort,FileExplorerSortKey,FileExplorerSortDirection,FileExplorerAction,FILE_EXPLORER_SORT_KEYSandFILE_EXPLORER_ACTIONS. NContextMenu,NPopover,NTreeandNFileExplorerare auto-imported by thenoofpi-ui/viteplugin and their styles are included inindex.css.
Changed
-
NHeader,NSidebarandNFootermark only one link as current. A link matching the current URL takes priority over theactivefallback, so a staleactive: trueno longer stays highlighted next to the real page.NFooternow marks its current link too (aria-current="page",data-active). -
NAuthFormis generic over itsschema: thesubmitevent carries the schema's output type instead ofunknown, so a handler typed withz.infer<typeof schema>no longer fails type checking. Without aschema, or with aform, the payload is stillunknown.
[1.3.0] - secondary follows the Color Theme Studio export:
[1.3.0] - 2026-11-18
Added
secondaryfollows the Color Theme Studio export:--ui-secondary-*reads--color-theme-secondary-50…--color-theme-secondary-950(set via the studio's Secondary Color panel) and switches withColorTheme.change()likeprimary. Without them it stays blue.