Skip to content

Commit aedee78

Browse files
authored
Merge pull request #40 from ErickXavier/fix/ELEM-47
fix: v1.14.1 — toast global fix, docs audit corrections
2 parents b8be3b7 + 7621730 commit aedee78

25 files changed

Lines changed: 3886 additions & 165 deletions

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to **NoJS Elements** will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.14.1](https://github.com/ErickXavier/nojs-elements/compare/v1.14.0...v1.14.1) — 2026-06-11
9+
10+
### Fixed
11+
12+
- `$toast()` now registered via `NoJS.global()` for expression scope access
13+
- Fixed bare `click=``on:click=` in toast documentation (7 instances)
14+
- Updated toast docs to document `$toast()` for expressions, `NoJS.toast()` for JS
15+
- Added `step-complete` event to stepper docs
16+
- Added element-level drag/drop events table (6 CustomEvents) to DnD docs
17+
- Fixed default `validate-on` from "input focusout" to "input change focusout"
18+
- Added 4 missing element rows (accordion, breadcrumb, scroll-spy, virtual-list) to README tables
19+
- Updated component count from 12 to 17 across all index surfaces
20+
- Fixed peer-dep from >=1.11.0 to >=1.13.0
21+
- Regenerated `llms-full.txt` from current 17 docs/md sources
22+
- Added 5 missing docs site routes and .tpl pages
23+
824
## [1.14.0](https://github.com/ErickXavier/nojs-elements/compare/v1.13.3...v1.14.0) — 2026-06-09
925

1026
### Added

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NoJS Elements
22

3-
![version](https://img.shields.io/badge/version-1.13.2-blue)
3+
![version](https://img.shields.io/badge/version-1.14.1-blue)
44
[![jsDelivr hits](https://data.jsdelivr.com/v1/package/gh/erickxavier/nojs-elements/badge)](https://www.jsdelivr.com/package/gh/erickxavier/nojs-elements)
55

66
**UI element plugins for No.JS** — declarative, accessible, zero JavaScript required.
@@ -58,11 +58,15 @@ When loaded via `<script>` tag, NoJS Elements auto-installs itself — no `NoJS.
5858
| [Dropdown](docs/md/dropdown.md) | `dropdown`, `dropdown-toggle`, `dropdown-menu`, `dropdown-item` | Keyboard-navigable dropdown menus |
5959
| [Toast](docs/md/toast.md) | `toast-container`, `toast` | Notification toasts with position, type, duration, and auto-dismiss |
6060
| [Tabs](docs/md/tabs.md) | `tabs`, `tab`, `panel`, `tab-disabled`, `tab-position` | Accessible tabbed interfaces with keyboard navigation |
61-
| [Tree](docs/md/tree.md) | `tree`, `branch`, `subtree` | Collapsible tree views with nested branches |
62-
| [Stepper](docs/md/stepper.md) | `stepper`, `step` | Multi-step wizards and progress indicators |
61+
| [Tree](docs/md/tree.md) | `tree`, `branch`, `subtree`, `tree-drag-mode` | Collapsible tree views with nested branches and drag-and-drop |
62+
| [Stepper](docs/md/stepper.md) | `stepper`, `step`, `stepper-validate` | Multi-step wizards with validation gate and progress indicators |
6363
| [Skeleton](docs/md/skeleton.md) | `skeleton` | Loading placeholder skeletons |
6464
| [Split / Pane](docs/md/split.md) | `split`, `pane` | Resizable split panels (horizontal or vertical) |
65-
| [Sortable Table](docs/md/table.md) | `sortable`, `sort`, `fixed-header`, `fixed-col` | Column sorting with fixed headers and columns |
65+
| [Sortable Table](docs/md/table.md) | `sortable`, `sort`, `fixed-header`, `fixed-col`, `table-reorder` | Column sorting with fixed headers, columns, and row reorder |
66+
| [Accordion](docs/md/accordion.md) | `accordion` | Animated expand/collapse on native `<details>` elements |
67+
| [Breadcrumb](docs/md/breadcrumb.md) | `breadcrumb` | Accessible breadcrumb trail with manual or auto-track mode |
68+
| [Scroll Spy](docs/md/scroll-spy.md) | `spy`, `spy-offset`, `spy-threshold` | Highlights navigation links based on visible sections |
69+
| [Virtual List](docs/md/virtual-list.md) | `virtual-height`, `virtual-buffer` | Efficient rendering of large datasets with DOM virtualization |
6670

6771
> `drag`, `drop`, `drag-list`, `drag-multiple`, and `validate` were migrated out of No.JS core in **v1.13.0**. Core retains deprecation stubs — install this plugin for full functionality.
6872

__tests__/toast.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ describe('$toast Global Function', () => {
108108

109109
test('7 — $toast is registered as a global via NoJS.global()', () => {
110110
expect(typeof NoJS.toast).toBe('function');
111+
expect(_globals.toast).toBe(NoJS.toast);
111112
});
112113

113114
test('8 — $toast creates a toast element in container', () => {

dist/cjs/nojs-elements.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cjs/nojs-elements.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/nojs-elements.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/nojs-elements.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)